/* 1. RESET & VARIABLES */
:root {
    --color-black: #0a0a0a;
    --color-dark: #121212;
    --color-gold: #c5a059;
    --color-gold-bright: #e5c185;
    --color-white: #ffffff;
    --color-grey: #a0a0a0;
    --font-main: 'Montserrat', sans-serif;
    --font-accent: 'Playfair Display', serif;
    --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --dark-bg: #0a0a0a;
    --card-bg: #141414;
    --text-gray: #8e8e8e;

    --gold: #c5a059;
    --transition-smooth: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.city-selector {

    top: 18px;
    left: 25px;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(8, 8, 8, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 50px; /* Скругленный вид "pill" */
    cursor: pointer;
    transition: var(--transition-smooth);
    opacity: 1;
    visibility: visible;
}

.city-selector i {
    color: var(--color-gold);
    font-size: 1.1rem;
    transition: transform 0.4s ease;
}

.city-selector:hover .city-icon {
    transform: translateY(-2px) scale(1.1);
    filter: drop-shadow(0 0 5px rgba(197, 160, 89, 0.5));
}

.city-selector span {
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--color-white);
    line-height: 1;
}

.city-selector:hover {
    border-color: var(--color-gold);
    background: rgba(197, 160, 89, 0.1);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.15);
}

.city-selector:hover i {
    transform: translateY(-2px);
}

/* Скрытие при открытой модалке (используем ваш body:has) */
body:has(#cityModal.active) .city-selector {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
    transition-delay: 0s;
}

/* --- СОВРЕМЕННОЕ МОДАЛЬНОЕ ОКНО --- */
#cityModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.city-icon {
    width: 18px;
    height: 18px;
    color: var(--color-gold); /* Управляем цветом через currentColor в SVG */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#cityModal.active {
    opacity: 1;
    pointer-events: auto;
}

.city-modal-content {
    width: 90%;
    max-width: 500px;
    padding: 60px 40px;
    background: var(--card-bg);
    border: 1px solid rgba(197, 160, 89, 0.2);
    text-align: center;
    position: relative;
    transform: scale(0.9) translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.3, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

#cityModal.active .city-modal-content {
    transform: scale(1) translateY(0);
}

.city-modal-content .modal-title {
    font-family: var(--font-accent);
    font-size: 2.2rem;
    color: var(--color-white);
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.city-modal-content p {
    color: var(--color-grey);
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

/* Список городов */
.city-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.city-link {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-white);
    text-decoration: none;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.city-link:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: rgba(197, 160, 89, 0.05);
    transform: translateY(-3px);
}

/* Кнопка закрытия внутри модалки (опционально) */
.modal-close-hint {
    margin-top: 30px;
    font-size: 0.7rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    opacity: 0.6;
}

.premium-carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-viewport {
    position: relative;
    aspect-ratio: 16 / 9; /* Соотношение сторон */
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: var(--transition-smooth);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    opacity: 0.3; /* Эффект уменьшения фокуса неактивных слайдов */
    transform: scale(0.95);
    transition: var(--transition-smooth);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: 0.5s;
}

/* Навигация (Золотые элементы) */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    gap: 20px;
}

.image-gallery {
  /* Mobile first */
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.image-gallery .column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  padding-top: 0;
  padding-right: 0;
}

.image-gallery .column {
  padding-top: 20px
}

.image-gallery .column:last-child {
      padding-right: 20px
    }

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 1s ease-out;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  -ms-transition: all 0.2s ease-out;
}

.image-item img:hover {
  outline: 1px solid #fcc278;
  outline-offset: -10px;
  opacity: 0.7;
}

@media only screen and (min-width: 768px) {
  .image-gallery {
    flex-direction: row;
  }
}

@media only screen and (max-width: 600px) {
    .image-gallery .column {
      padding-top: 0;
    gap: 20px;
    }
    .image-gallery .column:first-child {
      padding-top: 20px
    }
    .image-gallery .column {
      padding-right: 20px
    }
}

.image-item {
  position: relative;
  cursor: pointer;
  box-shadow: 0.3rem 0.4rem 0.4rem rgba(0, 0, 0, 1);
}

.nav-btn {
    background: transparent;
    border: 1px solid rgba(197, 160, 89, 0.3);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
}

.nav-btn:hover {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.2);
}

.nav-btn span::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 10px; height: 10px;
    border-left: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
}

.prev span::before { transform: translate(-30%, -50%) rotate(45deg); }
.next span::before { transform: translate(-70%, -50%) rotate(-135deg); }

/* Индикаторы (тонкие линии вместо точек) */
.carousel-indicators {
    display: flex;
    gap: 8px;
}

.indicator {
    width: 10px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: 0.3s;
}

.indicator.active {
    background: var(--gold);
    width: 20px; /* Удлинение активной линии */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-main);
    letter-spacing: 0.5px;
}

body.is-locked {
    overflow: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.img-responsive {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* 2. TYPOGRAPHY */
.club-logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 5px;
    color: var(--color-white);
    text-transform: uppercase;
}

.text-gold {
    color: var(--color-gold);
}

.hero-content {
    width: 80%;
}

.section-title {
    font-family: var(--font-accent);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-variant-numeric: lining-nums;
    margin-bottom: 2.5rem;
}

.section-subtitle {
    font-family: var(--font-main);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 0.8rem;
    font-weight: 400;
}

.equipment-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 30px; margin-top: 50px;
}

/* 3. BUTTONS */
.btn {
    position: relative;
    overflow: hidden;
    padding: 1.2rem 1.8rem;
    border: 1px solid var(--color-gold);
    background: transparent;
    color: var(--color-white);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 3px;
    transition: var(--transition);
}

.btn-gold {
    background: var(--color-gold);
    color: var(--color-black);
    font-weight: 700;
    border-radius: 10px;
}

.btn-outline {
    border-radius: 10px;
}

.btn:hover {
    background: var(--color-gold);
    color: var(--color-black);
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.4);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Центрирует контент по вертикали */
    align-items: center;     /* Центрирует по горизонтали */
    height: 100vh;           /* Занимает всю высоту окна */
    position: relative;
}

.hero-header-wrap {
    flex-shrink: 0;
    /* Можно добавить, если не нужна прокрутка */
}

.hero-logo-img {
    /* Лого по центру, обычно это уже в центре из-за flex */
    display: block;
    margin: 0 auto;
}

.hero-actions-main {
    position: absolute;
    bottom: 50px; /* Отступ от низа */
    transform: translateX(-50%);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.btn-full {
    width: 100%;
}

.features-section {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid #222;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.main-card {
    grid-column: span 2;
    grid-row: span 1;
}

.privacy-card {
    grid-column: span 2;
    background: linear-gradient(135deg, #141414 0%, #1a1a1a 100%);
    border-left: 4px solid var(--gold);
}

.card-icon svg {
    width: 40px;
    height: 40px;
    color: var(--gold);
    margin-bottom: 20px;
}

.card-tag {
    color: var(--gold);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 15px;
}

h3 { font-size: 32px; margin: 10px 0; font-weight: 300; letter-spacing: 1px; }
h4 { font-size: 18px; margin: 10px 0; color: #fff; text-transform: uppercase; letter-spacing: 1.5px; }
p { color: var(--text-gray); font-size: 14px; line-height: 1.6; }

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
}

.program-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.program-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    z-index: 1;
}

.program-content {
    position: relative;
    z-index: 2;
}

/* 4. AGE GATE */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-black);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    opacity: 1;
    transition: opacity 0.8s ease;
}

.age-gate.hidden {
    opacity: 0;
    pointer-events: none;
}

.age-gate-title {
    margin: 2rem 0;
    color: var(--color-grey);
    max-width: 400px;
}

.age-gate-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* 5. HEADER & NAV */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(5, 5, 5, 0.95);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn-reservations {
    border-bottom: 2px solid var(--color-gold);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.hamburger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition);
}

/* Обновленное меню */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050505;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    /* align-items: center; */
    padding-top: 30px;
    overflow-y: auto;
}

.nav-overlay.active {
    visibility: visible;
    opacity: 1;
}

.nav-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    min-height: 80vh;
}

/* Кнопка закрытия */
.nav-close {
    position: absolute;
    top: 0;
    right: 2rem;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.close-text {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--color-gold);
}

.close-icon {
    font-size: 3rem;
    line-height: 1;
}

/* Контентная сетка */
.nav-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 5;
    margin-top: 4rem;
}

/* Ссылки */
.nav-links {
    text-align: left;
}

.nav-links li {
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.nav-links a {
    font-size: clamp(2rem, 3.5vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: 0.4s;
}

.nav-links a::before {
    content: "•";
    font-size: 1rem;
    font-family: var(--font-main);
    color: var(--color-gold);
    font-weight: 400;
}

.nav-links a:hover {
    color: var(--color-gold);
    transform: translateX(20px);
}

/* Информационный блок */
.nav-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    border-left: 1px solid rgba(197, 160, 89, 0.2);
    padding-left: 4rem;
}

.info-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-grey);
    margin-bottom: 10px;
}

.info-value {
    font-size: 1.2rem;
    font-family: var(--font-accent);
}

.phone-link {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    transition: 0.3s;
}

.phone-link:hover {
    color: var(--color-gold);
}

/* Соцсети в меню */
.nav-social-block {
    margin-top: 1rem;
}

.nav-social-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 1rem 2rem;
    border: 1px solid var(--color-gold);
    font-size: 0.8rem;
    letter-spacing: 3px;
    transition: 0.3s;
}

.nav-social-link:hover {
    background: var(--color-gold);
    color: black;
}

/* Фоновый текст (водяной знак) */
.nav-bg-text {
    position: absolute;
    bottom: -50px;
    left: 0;
    font-size: 15vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
}

/* Адаптивность для гамбургера */
@media (max-width: 992px) {
    .nav-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .nav-info {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(197, 160, 89, 0.2);
        padding-top: 2rem;
    }
    .nav-links a {
        font-size: 2.5rem;
    }
    .phone-link {
        font-size: 1.5rem;
    }
}

/* 6. HERO */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 4rem;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
}

.logo {
  width: 90%; /* или любую нужную ширину */
  display: block;
  margin: 0 auto; /* авто отступы по горизонтали */
}

.hero-logo-img {
    width: 100%;
    height: auto;
    margin: 1.5rem auto;
    filter: drop-shadow(0 0 20px rgba(197, 160, 89, 0.2));
}

.hero-decor-line {
    position: absolute;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: rgba(197, 160, 89, 0.15);
    z-index: 2;
}
.line-left { left: 7%; }
.line-right { right: 7%; }

/* Вертикальный текст */
.hero-side-info {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}
.hero-side-info.left { left: 3%; }
.hero-side-info.right { right: 4%; }

.side-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 5px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

/* Центральный контент */
.hero-header-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.subtitle-line {
    width: 50px;
    height: 1px;
    background: var(--color-gold);
}

/* Нижняя панель Hero */
.hero-footer {
    position: absolute;
    bottom: 3rem;
    left: 5%;
    right: 5%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 5;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
}

.hero-coords {
    font-family: var(--font-main);
}

.hero-social-links {
    display: flex;
    align-items: center;
}

.tg-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5); /* Полупрозрачный белый в тон остальным элементам */
    transition: all 0.3s ease;
}

.tg-text {
    font-size: 0.7rem;
    letter-spacing: 2px;
    font-weight: 300;
}

.tg-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

/* Эффект при наведении */
.tg-link:hover {
    color: #c5a059; /* Ваш золотой цвет */
}

.tg-link:hover .tg-icon {
    transform: translateY(-2px) rotate(-10deg); /* Легкая анимация при наведении */
}

/* Обновленный скролл */
.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
}

.scroll-text {
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: var(--color-gold);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
}

.btn-outline-white {
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
}

.btn-outline-white:hover {
    background: white;
    color: black;
    border-color: white;
}

/* CONTACTS SECTION STYLES */
.contacts-section {
    padding-bottom: 0;
    overflow: hidden;
}

.contacts-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    background: #0d0d0d;
    border: 1px solid rgba(197, 160, 89, 0.15);
    min-height: 600px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.contacts-info-panel {
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-details {
    margin-top: 3rem;
}

.contact-detail-item {
    margin-bottom: 2.5rem;
    position: relative;
}

.detail-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-gold);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.detail-value {
    font-size: 1.4rem;
    font-family: var(--font-accent);
    color: #fff;
}

.phone-link-large {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    transition: var(--transition);
    display: inline-block;
}

.phone-link-large:hover {
    color: var(--color-gold);
    transform: translateX(5px);
}

.btn-reserve {
    margin-top: 1rem;
    padding: 1.2rem 4rem;
}

.contacts-section {
    padding: 100px 0;
    overflow: hidden;
}

.contacts-box {
    position: relative; /* Важно для позиционирования декора */
    background: #0d0d0d;
    border: 1px solid rgba(197, 160, 89, 0.2);
    min-height: 550px;
    display: flex;
    align-items: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.contacts-info-panel {
    position: relative;
    z-index: 5; /* Поверх декора */
    padding: 60px;
    width: 60%; /* Занимает чуть больше половины */
}

/* Декоративная панель под текстом */
.contacts-decor-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%; /* Занимает правую половину */
    z-index: 1;
}

/* Градиент, чтобы текст слева был читаемым */
.decor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #0d0d0d 0%, #0d0d0d 10%, rgba(13, 13, 13, 0.4) 100%);
}

.vertical-watermark {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(197, 160, 89, 0.05);
    letter-spacing: 15px;
    pointer-events: none;
    text-transform: uppercase;
}

/* Стили текста */
.detail-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 25px;
}

.phone-link-large {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}

.phone-link-large:hover {
    color: var(--color-gold);
}

/* МОБИЛЬНАЯ АДАПТАЦИЯ */
@media (max-width: 768px) {
    .contacts-box {
        min-height: auto;
        flex-direction: column;
    }

    .contacts-info-panel {
        width: 100%;
        padding: 40px 20px;
    }



    .decor-overlay {
        background: linear-gradient(to top, #0d0d0d 0%, transparent 100%);
    }

    .phone-link-large {
        font-size: 1.5rem;
    }

    .vertical-watermark {
        font-size: 4rem;
        right: 0;
        top: 20%;
    }
}

/* Глобальный фикс для предотвращения вылета за края */
html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Фикс для контейнера карусели */
.carousel, 
.owl-carousel, 
.swiper-container,
.slick-slider {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 auto !important;
    overflow: hidden !important; /* Обрезаем всё лишнее */
    box-sizing: border-box;
}

/* Фикс самих слайдов */
.carousel-item, 
.owl-item, 
.swiper-slide,
.slick-slide {
    height: auto !important;
    max-width: 100% !important;
}

/* Чтобы картинки внутри слайдов не распирали их */
.carousel img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Адаптивность */
@media (max-width: 992px) {
    .contacts-box {
        grid-template-columns: 1fr;
        margin: 15px;
    }
    .contacts-info-panel {
        padding: 4rem 2rem;
        order: 2;
    }
    .contacts-decor-panel {
        height: 300px;

    }
    .vertical-watermark {
        font-size: 6rem;
        right: 0;
        position: relative;
    }
    .phone-link-large {
        font-size: 1.8rem;
    }
    .decor-overlay {
        background: linear-gradient(to top, #0d0d0d 0%, transparent 100%);
    }
}

@media (max-width: 480px) {
    .tg-text {
        display: none; /* На совсем маленьких экранах оставляем только иконку */
    }
    .tg-icon {
        width: 24px;
        height: 24px;
    }
}

/* Мобильная адаптация для новых элементов */
@media (max-width: 992px) {
    .hero {
        padding: 0 1rem;
    }
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--color-grey);
    letter-spacing: 5px;
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--color-grey);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--color-gold);
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* 7. SECTIONS */
.section {
    padding: 40px 0;
}

.bg-dark {
    background-color: var(--color-dark);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.align-center {
    text-align: center;
}

/* 8. SERVICES */
.service-card {
    background-color: var(--color-black);
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.service-card:hover, .service-card.active {
    border-color: var(--color-gold);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.service-card p {
    color: var(--color-grey);
    font-size: 0.9rem;
}

/* 9. GALLERY */
.grid-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1rem;
}

.gallery-item {
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.item-wide {
    grid-column: span 2;
}

/* 10. CONTACT FORM */
.reservation-form .form-group {
    margin-bottom: 1.5rem;
}

.reservation-form input {
    width: 100%;
    padding: 1.2rem;
    background-color: var(--color-dark);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-family: var(--font-main);
    outline: none;
    transition: var(--transition);
}

.reservation-form input:focus {
    border-color: var(--color-gold);
}

.info-block {
    margin-bottom: 2.5rem;
}

.info-block h4 {
    color: var(--color-gold);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.form-status {
    margin-top: 1rem;
    font-weight: bold;
    text-align: center;
}

.title-footer {
    font-size: 1.5rem;
}

/* 11. FOOTER */
.footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal a {
    margin-left: 1.5rem;
}

/* 12. ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 13. RESPONSIVE */
@media (max-width: 992px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .grid-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .equipment-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 50px;
}
}

@media (max-width: 600px) {
    .hide-mobile {
        display: none;
    }
    .hero-actions-main {
    bottom: 170px; /* Отступ от низа */
}
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .nav-links a {
        font-size: 1.2rem;
    }
}


/* Казань: анонс открытия */
.opening-announcement {
    padding: 40px 0 0;
}

.opening-announcement-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 40px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    background: linear-gradient(120deg, rgba(197, 160, 89, 0.07), transparent 70%);
}

.opening-announcement .section-subtitle {
    display: block;
    margin-bottom: 12px;
    font-size: 0.65rem;
    letter-spacing: 4px;
}

.opening-announcement-title {
    margin: 0 0 10px;
    font-family: var(--font-accent);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.opening-announcement-address {
    color: var(--color-grey);
    font-size: 0.85rem;
    line-height: 1.7;
}

.opening-announcement-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    padding: 12px 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.45);
    color: var(--color-gold);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.opening-announcement-link:hover,
.opening-announcement-link:focus-visible {
    color: var(--color-gold-bright);
    border-color: var(--color-gold-bright);
}

@media (max-width: 600px) {
    .opening-announcement-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 26px 22px;
    }
}

/* Четыре города: окно выбора помещается на небольших экранах. */
.city-modal-content {
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
}

@media (max-width: 600px) {
    .city-modal-content {
        padding: 32px 20px;
    }

    .city-modal-content .modal-title {
        font-size: 1.8rem;
    }

    .city-modal-content p {
        margin-bottom: 24px;
    }

    .city-link {
        padding: 12px 10px;
        font-size: 0.95rem;
        letter-spacing: 2px;
    }

    .modal-close-hint {
        margin-top: 24px;
    }
}

/* Короткий переход с главной страницы: ручной выбор доступен сразу. */
.city-redirect-page {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 32px 24px;
}

.city-redirect-content {
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.city-redirect-content img {
    width: 220px;
    margin: 0 auto 28px;
    filter: brightness(0) invert(1);
}

.city-redirect-content p {
    margin-bottom: 24px;
    color: var(--color-grey);
    font-size: 0.85rem;
    line-height: 1.7;
}

.city-redirect-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 20px;
}

.city-redirect-links a {
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.35);
    color: var(--color-gold);
    font-size: 0.8rem;
}
