/* ==================== Reset & Base ==================== */
* {
    box-sizing: border-box;
}

.privacy-page h1 {
  font-size: 2.1rem;
  margin-bottom: 24px;
}

.privacy-page {
  background: #fff;
  color: #222;
  padding: 40px 12px;
  max-width: 700px;
  margin: 0 auto;
  font-family: 'Montserrat', Arial, sans-serif;
}

.privacy-page a {
  color: #a16eff;
}


html, body {
    margin: 0;
    overflow-x: hidden;
    touch-action: manipulation;
 /* обрабатываем только клики/скролл, двойной зум отключён */
}

html {
    scroll-behavior: smooth;
}

/* Отступ для якорного скролла: 20px сверху */
#about-loft,
#reviews,
#equipment,
#faq-block {
    scroll-margin-top: 30px;
}

/* Отключаем синий прямоугольник при тапе */
button,
a,
.burger,
img {
    -webkit-tap-highlight-color: transparent;
 /* для iOS и старых Android */
    outline: none;
                            /* уберёт рамку при фокусе */
}

/* Если нужно полностью гасить outline при любом фокусе */
button:focus,
a:focus,
.burger:focus,
img:focus {
    outline: none;
}

.reviews__track,
.carousel-container,
button,
a {
    touch-action: manipulation;
}

body {
    background-color: #3d2d2d;
    font-family: 'Raleway', sans-serif;
    color: #333;
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==================== Typography ==================== */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.75rem;
 /* 28px */
    margin: 0 0 16px;
}

/* ==================== Buttons ==================== */
.button,
.reviews-button,
.manager-button {
    display: block;
    width: 240px;
    max-width: 240px;
    margin: 12px auto 20px;
    padding: 12px 20px;
    background-color: #762cff;
    border: none;
    border-radius: 20px;
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
    font-weight: 700;
}

.reviews-button {
    margin: 50px auto 0 auto;
 /* ← Меняй первое значение для отступа сверху */
  /* другие стили кнопки */
}

/* ==================== Hero Block ==================== */
.hero {
    position: relative !important;
    display: block !important;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    min-height: calc(var(--hero-vh, 1vh) * 100);
    height: 95vh;
    background: url('Images/DSC04514.webp') center/cover no-repeat;
    color: #fff;
    z-index: auto !important;
  /* сбрасываем старые значения */
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
  /* был auto, теперь точно ниже меню */
}

.hero__content {
    position: absolute !important;
    top: 50% !important;
       /* центрируем по вертикали */
    left: 50% !important;
      /* и по горизонтали */
    transform: translate(-50%, -50%) !important;
    width: 100% !important;
    max-width: 500px;
          /* или ваш прежний max-width */
    text-align: center;
    z-index: 1;
                /* над фоном, но под sticky-хэдером */
}

.hero__top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 56px;
    background: transparent;
    padding: 0 24px;
    transition: background 0.3s, box-shadow 0.3s, height 0.3s;
    z-index: 1000;
}

#hero-header-placeholder {
    width: 100%;
    height: 0;
}

/*
.hero__top .hero-logo {
  max-height: 40px;
  transform: translate(-50%, -50%) scale(0.95);
}
*/

.hero::before {
    z-index: auto !important;
  /* сбрасываем старые значения */
}

.hero__top.sticky .hero-logo-big {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero__top.sticky .hero-logo-small {
    opacity: 1;
    visibility: visible;
}

/* При скролле вверх - плавно исчезает */
.hero__top.sticky ~ .hero-logo-big {
    opacity: 0;
    visibility: hidden;
}

.hero__top.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #3d2d2d;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 8px 16px;
    z-index: 10000;
}


/* ---- БОЛЬШОЙ логотип (показывается только до скролла) ---- */
.hero-logo-big {
    display: block;
    position: absolute;
    left: 50%;
    top: 80px;
           /* отступ 50px сверху */
    transform: translateX(-50%);
    width: 400px;
    max-width: 95vw;
     /* на маленьких экранах не вылазить за край */
    height: auto;
    transition: opacity 0.35s, visibility 0.35s;
    opacity: 1;
    visibility: visible;
    z-index: 5;
    pointer-events: none;
 /* чтобы не мешал кликам по бургеру */
    margin-top: -30px;
}

/* МАЛЕНЬКИЙ логотип, внутри .hero__top, по центру шапки */
.hero-logo-small {
    max-height: 44px;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
}

.hero__book-btn {
    order: 2;
    flex: 0 0 auto;
    background-color: #762cff;
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    /* прижать к правому краю шапки */
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.hero__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-top: 40px;
}

/* Новая кнопка внизу геро-блока */
.hero-cta {
    position: absolute;
    bottom: 50px;
               /* отступ от низа hero */
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
                  /* сброс любых внешних отступов */
  /* Скопируйте сюда стили из .button, если нужно */
}

.hero__content .button {
    margin-top: auto;
    margin: 20px auto 0 !important;
    width: 100%;
}

.hero__title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    max-width: 500px;
    margin: 4px auto;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 0.04em;
 /* <- расстояние между буквами */
}

.hero__tags {
    margin: 24px 0;
 /* чуть больше отступ сверху/снизу */
  /* убираем обрезку и фиксированную высоту */
    overflow: visible;
    height: auto;
  /* выравниваем всё по центру */
    display: flex;
    justify-content: center;
    margin: 16px 0;
 /* отступы по вкусу */
}

.tag-wrapper {
  /* отключаем прокрутку */
    animation: none !important;
    transform: none !important;
  /* теперь просто flex-контейнер */
    display: flex;
    gap: 20px;
      /* увеличиваем расстояние между плашками */
    margin-top: 30px;
}

.tag {
    background: #3d2d2d;
    color: #fff;
    padding: 10px 20px;
    /* увеличенные внутренние отступы */
    font-size: 1rem;
       /* чуть больший размер текста */
    border-radius: 24px;
   /* чуть более мягкое скругление */
    white-space: nowrap;
 /* чтобы теги не переносились */
}

/* ===== Бургер ===== */
/* ====== Бургер-кнопка ===== */
.burger {
    order: 0;
    flex: 0 0 auto;
    position: absolute;
    top: 50%;
              /* отступ от верха окна */
    left: 20px;
             /* отступ от левого края экрана */
    background: none;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10001;
         /* над всеми остальными элементами */
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 30px;
    /* чуть шире для наглядности */
    height: 30px;
   /* чуть выше */
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* ====== Линии бургера ===== */
.burger__line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
              /* чуть толще */
    background-color: #ffffff;
 /* белый цвет будет хорошо контрастировать с затемнённым фоном */
    border-radius: 2px;
    transform-origin: center center;
 /* вращаемся из середины линии */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Задаём явные позиции закрытого состояния */
.burger .burger__line:nth-child(1) {
    top: 6px;
    /* 6px от верха контейнера */
}

.burger .burger__line:nth-child(2) {
    top: calc(100% - 6px - 3px);
 /* 6px от низа контейнера */
}

/* Анимация в крестик */
.burger.open .burger__line:nth-child(1),
.burger.open .burger__line:nth-child(2) {
    top: 50%;
                /* обе на середине контейнера */
    transform-origin: center;
}

.burger.open .burger__line:nth-child(1) {
    transform: translateY(-50%) rotate(45deg);
}

.burger.open .burger__line:nth-child(2) {
    transform: translateY(-50%) rotate(-45deg);
}
/* ===== Выезжающее меню ===== */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 240px;
    background: rgba(61, 45, 45, 0.38);
 /* #3d2d2d + прозрачность */
    border: 1px solid rgba(200,200,200,0.18);
    padding-top: 80px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 9999 !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li + li {
    margin-top: 24px;
}

.nav-menu a {
    display: block;
    padding: 8px 20px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}

/* Когда меню открыто */
.nav-menu.open {
    transform: translateX(0);
}

/* Затемняющий фон при открытом меню */
.nav-menu.open ~ .hero__content::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    z-index: 999;
}

/*
@keyframes scroll-left {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}
*/

/* ==================== About Loft ==================== */
.about-loft {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 20px 0 20px;
 /* если нужен левый паддинг */
    max-width: 700px;
         /* или другое значение */
    margin: 30px auto 0 auto;
 /* 30px отступ сверху, по центру */
    color: #FFFFFF;
}

.section-title, .section-title-format {
    text-align: left;
        /* по левому краю */
    margin-left: 0;
          /* обнуляем возможный автоцентр */
    width: 100%;
}

.section-title-format {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.75rem;
 /* 28px */
    margin-bottom: 16px;
    color: #835555;
    margin-top: 80px;
}

.about-loft__content {
    width: 100%;
    margin: 0 0 20px 0;
    font-size: 0.95rem;
}

.about-loft {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.33,1.23,.56,1), transform 0.7s cubic-bezier(.33,1.23,.56,1);
}

/* Когда блок видим */
.about-loft.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== Carousel ==================== */
.event-carousel {
    padding-bottom: 60px
}

.carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding: 40px 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(.8,0,.2,1);
    will-change: transform;
}

.event-slide {
    flex: 0 0 calc((100% - 69px) / 3);
    min-width: 300px;
    max-width: 440px;
    margin: 0 12px;
    height: 50vh;
    min-height: 300px;
    position: relative;
    overflow: hidden;
    /* clip-path убираем! */
    border-radius: 20px; /* как у других карточек */
    transition: filter 0.3s;
}

.event-slide__image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.event-slide__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
 /* ← регулируй прозрачность здесь */
    pointer-events: none;
}

.event-slide__content {
    position: absolute;
    inset: 16px;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.event-slide__title {
    font-size: 44px;
    color: #FFF1E4;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.event-slide__text {
    font-size: 0,95rem;
    margin-bottom: 8px;
}


/*
.event-slide__link {
  align-self: flex-end;
  margin-top: auto;
  color: #FFF1E4;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
}
*/

.timeline-custom {
    max-width: 1200px;
    margin: 0 auto 60px auto;
 /* центрирует и даёт отступ снизу */
    padding: 0 16px;
          /* небольшой внутренний паддинг */
    position: relative;
       /* для позиционирования псевдоэлементов */
}

.timeline-custom__title {
    text-transform: uppercase;
}

.timeline-custom__header {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
 /* как на скрине, можно подогнать */
    font-weight: 900;
    margin-bottom: 38px;
    margin-left: 0;
    flex-wrap: wrap;
    line-height: 1.06;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.timeline-custom__highlight {
    color: #ffffff;
 /* твой цвет для "мероприятие в нашем лофте" */
    font-weight: 700;
    display: inline-block;
    margin-top: 6px;
    text-transform: uppercase;
    padding: 35px 8px 50px 5px;
}

.timeline-custom__plain {
    color: #835555;
 /* твой цвет для "мероприятие в нашем лофте" */
    font-weight: 700;
    display: inline-block;
    margin-top: 6px;
}

@media (max-width: 900px) {
    .timeline-custom__header {
        font-size: 2.1rem;
        margin-bottom: 22px;
    }

    .timeline-custom__highlight {
        padding: 35px 12px 50px 8px;
    }
}

@media (max-width: 650px) {
    .timeline-custom__header {
        font-size: 2rem;
        margin-bottom: 14px;
    }

    .timeline-custom__highlight {
        padding: 35px 8px 50px 5px;
    }

    .timeline-custom__plain {
        margin-top: 2px;
    }
}

.timeline-custom__wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto 60px auto;
}
/* Пунктирная линия на всю высоту блока */
.timeline-custom__wrapper::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    width: 5px;
    height: 100%;
    background: repeating-linear-gradient(
    to bottom,
    #927575,
    #927575 8px,
    transparent 8px,
    transparent 18px
  );
    border-radius: 2px;
    z-index: 0;
    pointer-events: none;
  /* Добавляем перекрытие через ::after ниже */
}

.timeline-custom__wrapper::before {
    content: '';
    position: absolute;
    left: 47px;
    top: 0;
    width: 5px;
    height: 100%;
    background: repeating-linear-gradient(
    to bottom,
    #927575,
    #927575 8px,
    transparent 8px,
    transparent 18px
  );
    border-radius: 2px;
    z-index: 0;
    transform: scaleY(0);
            /* спрятано по высоте */
    transform-origin: top;
    transition: transform 1.3s cubic-bezier(.7,0,.3,1);
}

.timeline-custom__wrapper.line-animated::before {
    transform: scaleY(1);
            /* появляется по высоте */
}

.timeline-custom__item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    margin: 20px;
}

.timeline-custom__line {
    width: 60px;
    min-width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background: none;
}

.timeline-custom__star {
    position: relative;
    width: 51px;
    height: 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background: transparent;
}

.timeline-custom__star img {
    width: 51px;
    height: 51px;
    display: block;
}

.timeline-custom__num {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-48%);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.07rem;
    color: #fff;
    pointer-events: none;
    user-select: none;
}

/* Контент справа */
.timeline-custom__content {
    flex: 1 1 0;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
}

.timeline-custom__card {
    display: inline-flex;
 /* ! --- автоширина --- */
    align-items: center;
    background: #3d2d2d;
    border-radius: 13px;
    font-size: 1.07rem;
    font-weight: 600;
    min-width: 0;
    padding: 8px 18px 8px 0px;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    margin-bottom: 8px;
    width: auto;
    max-width: 100%;
}

.timeline-custom__icon {
    font-size: 1.45em;
    margin-right: 7px;
}

.timeline-custom__desc {
    color: #fff;
    font-family: 'Raleway',sans-serif;
    font-size: 1rem;
    line-height: 1.38;
    padding: 0px 10px 0px 0px;
}

/* Мобила */
@media (max-width: 600px) {
    .timeline-custom__wrapper::before {
        left: 39px;
        width: 4px;
    }

    .timeline-custom__line {
        width: 42px;
        min-width: 42px;
    }

    .timeline-custom__star, .timeline-custom__star img {
        width: 38px;
        height: 38px;
    }

    .timeline-custom__num {
        font-size: 0.92rem;
    }

    .timeline-custom__content {
        margin-left: 9px;
    }

    .timeline-custom__card {
        font-size: 1.2rem;
        padding: 0px 12px 6px 0px;
    }
}



/* ==================== Reviews ==================== */
.reviews {
    padding: 60px 20px;
}

.reviews-carousel {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    margin-bottom: 12px;
}

.section-title {
    text-align: center;
    color: #fff;
      /* Белый цвет */
    font-size: 2.1rem;
 /* По желанию, если надо крупнее */
    margin-bottom: 32px;
 /* Отступ снизу, если нужно */
}

.reviews__track {
    display: flex;
    overflow: hidden;
    flex: 1 1 0;
    gap: 16px;
    scroll-behavior: smooth;
    position: relative;
}

.review-card {
    flex: 0 0 calc((100% - 32px) / 3);
 /* 3 карточки + 2*16px gap */
    max-width: 340px;
    min-width: 250px;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    padding: 32px 20px;
    text-align: left;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.review-card {
  opacity: 0;
  transform: scale(0.93) translateY(30px);
  transition: opacity 0.7s cubic-bezier(.66,0,.36,1), transform 0.7s cubic-bezier(.66,0,.36,1);
}

.review-card.reviews-animate-in {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.reviews-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 54px;
    background: rgba(255,255,255,0.02);
 /* Почти невидимы, можно сделать чуть темнее */
    border: none;
    outline: none;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: background 0.2s, opacity 0.2s;
    font-size: 2.7rem;
    color: #762cff;
    pointer-events: auto;
}

.reviews-arrow.left {
    left: -18px;
    border-radius: 20px 0 0 20px;
}

.reviews-arrow.right {
    right: -18px;
    border-radius: 0 20px 20px 0;
}

.reviews-arrow:hover {
    background: rgba(255, 255, 255, 0);
    opacity: 1;
}

.reviews-arrow span {
    pointer-events: none;
 /* чтобы клик не ловил текст стрелки */
    user-select: none;
}

.review-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
      /* обрезает/масштабирует по центру */
    display: block;
}

/* Скрываем скроллбар в Firefox */
.reviews__track {
    scrollbar-width: none;
        /* Firefox */
    -ms-overflow-style: none;
     /* IE и Edge */
    scroll-behavior: smooth;
}

/* Скрываем скроллбар в WebKit-браузерах */
.reviews__track::-webkit-scrollbar {
    display: none;
                /* Chrome, Safari, Opera */
}

.yandex-link {
    color: #ffcc00;
    /* Яндекс-жёлтый, можешь выбрать любой цвет */
    font-weight: 700;
  /* Жирный */
    text-decoration: underline;
    transition: color 0.2s;
}

.yandex-link:hover {
    color: #ffa000;
    /* Потемнее при наведении */
}

.review-card--more {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.07rem;
    background: #3d2d2d;
   /* Светлый фон, если нужно выделить */
    color: #ffffff;
    text-align: center;
    min-height: 160px;
     /* Чтобы не было слишком плоско */
}


/* =========== Celebration Block =========== */
.celebration-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #3d2d2d;
    padding: 60px 24px 40px 24px;
    margin: 0 auto 0 auto;
    max-width: 700px;
    border-radius: 30px;
    box-shadow: 0 4px 32px rgba(80, 40, 70, 0.07);
}

.celebration-title {
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #835555;
    text-align: center;
    margin-bottom: 36px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.celebration-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 18px;
    justify-content: center;
    width: 100%;
    margin-bottom: 22px;
}

.celebration-item {
    background: #762cff;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    border-radius: 18px;
    padding: 18px 26px;
    margin: 0;
    font-weight: 700;
    min-width: 220px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(80,40,80,0.07);
    letter-spacing: 0.02em;
    transition: transform 0.2s, box-shadow 0.2s;
}

.celebration-item:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 40px rgba(120,80,150,0.18);
}

.celebration-note {
    margin-top: 14px;
    text-align: center;
    font-size: 0.92rem;
    color: #ffffff;
    font-family: 'Raleway', sans-serif;
    opacity: 0.94;
}


/* ==================== Equipment ==================== */
.equipment__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 4px;
 /* чуть плотнее столбцы */
    max-width: 470px;
    margin: 0 auto 22px auto;
 /* авто — идеально центрирует! */
    justify-content: center;
    align-items: start;
}

.equipment-section-center {
    width: 100%;
    display: flex;
    justify-content: center;
}

.equipment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.equipment-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.65s cubic-bezier(.33,1.23,.56,1), transform 0.65s cubic-bezier(.33,1.23,.56,1);
}

/* Анимация запускается по отдельному классу */
.equipment-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.equipment-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.equipment__list:first-of-type .equipment-item:nth-child(6) .equipment-icon {
  width: 70px;
  height: auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

.equipment-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.91rem;
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.01em;
    margin: 0;
    line-height: 1.15;
    word-break: break-word;
}

.equipment-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 800;
    text-align: center;
    margin: 65px 0 45px 0;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

/* Мобильная адаптация */

@media (max-width: 1000px) and (min-width: 601px) {
    .equipment__list {
        max-width: 96vw;
        grid-template-columns: 1fr 1fr;
        gap: 10px 6px;
 /* ближе друг к другу */
        max-width: 470px;
        margin: 0 auto 22px auto;
 /* авто — идеально центрирует! */
        margin: 0 auto 18px auto;
    }

    .equipment-item {
        padding: 0 3px;
    }

    .equipment-icon {
        margin-bottom: 3px;
    }

    .equipment-text {
        font-size: 0.88rem;
        padding: 0 2px;
    }

    .equipment-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .equipment__list {
        grid-template-columns: 1fr 1fr;
        gap: 13px 3px;
  /* максимально компактно! */
    }

    .equipment-text {
        font-size: 0.89rem;
    }

    .equipment-subtitle {
        font-size: 1rem;
    }

    .equipment-item {
        padding: 16px 2px;
    }
}

@media (max-width: 400px) {
    .equipment__list {
        gap: 8px 1px;
    }

    .equipment-text {
        font-size: 0.7rem;
    }
}


/* ——— Compatibility Short Block ——— */
.compatibility-short-block {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 90px 0 50px 0;
}

.compatibility-title {
    margin: 0 auto;
    font-size: 1.75rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: #835555;
    text-align: left;
    line-height: 1.1;
    letter-spacing: 0.01em;
    max-width: 700px;
    width: 100%;
    padding: 0 10px;
}

.gallery-masonry {
    column-count: 3;
    column-gap: 18px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 0;
}



.gallery-masonry img {
    width: 100%;
    margin-bottom: 18px;
    border-radius: 20px;
    display: block;
    box-shadow: 0 2px 16px rgba(61,45,45,0.09);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    break-inside: avoid;
}

.gallery-masonry img:hover {
    transform: scale(1.025);
    box-shadow: 0 8px 36px rgba(118,44,255,0.12);
}

/* Адаптив для планшета */
@media (max-width: 900px) {
    .gallery-masonry {
        column-count: 2;
        column-gap: 10px;
        padding: 24px 0;
    }

    .gallery-masonry img {
        border-radius: 14px;
        margin-bottom: 10px;
    }
}

/* Адаптив для мобилки: 2 фотки в ширину */
@media (max-width: 600px) {
    .gallery-masonry {
        column-count: 2;
        column-gap: 6px;
        padding: 16px 0;
    }

    .gallery-masonry img {
        border-radius: 10px;
        margin-bottom: 6px;
    }
}

/* Для очень маленьких экранов — 3 в ряд */
@media (max-width: 400px) {
    .gallery-masonry {
        column-count: 3;
        column-gap: 4px;
        padding: 8px 0;
    }

    .gallery-masonry img {
        border-radius: 8px;
        margin-bottom: 4px;
    }
}

.modal-img {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30,18,30,0.93);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s;
    opacity: 0;
    pointer-events: none;
}

.modal-img.open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    animation: modal-fade-in 0.35s cubic-bezier(.25,.8,.25,1);
}

@keyframes modal-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    max-width: 92vw;
    max-height: 84vh;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.23);
    transition: transform 0.32s cubic-bezier(.19,1,.22,1), opacity 0.32s;
    opacity: 0;
    transform: scale(0.97);
}

.modal-img.open .modal-content {
    opacity: 1;
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 50px;
    right: 32px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    z-index: 99999;
    font-family: Arial, sans-serif;
    transition: color 0.16s;
}

.modal-close:hover {
    color: #835555;
}




/* ==================== FAQ & Rules Blocks ==================== */
/* ===== Центрируем весь FAQ-блок ===== */
.faq-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    background-color: #3d2d2d;
}

/* ===== Одинаковая ширина «плашек» ===== */
.faq-item {
    width: 100%;
    max-width: 600px;
    margin-bottom: 16px;
}

/* ===== Кнопка (вопрос) ===== */
.faq-question {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: #F5A45A;
    color: #3F2D2D;
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    padding-right: 48px;
    text-align: left;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #e89b40;
}

/* ===== Панель (ответ) ===== */
.faq-answer {
    overflow: hidden;
    max-height: 0;
    font-size: 0.95rem;
    padding: 0 40px;
    background-color: rgba(245,164,90,0.15);
    border-radius: 0 0 8px 8px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

/* ===== Когда открыто ===== */
.faq-item.open .faq-answer {
  /* max-height ставим «достаточно большое», чтобы вместить текст */
    padding: 12px 40px;
}

.faq-block,
.rules-block {
    background-color: #3d2d2d;
    padding: 40px 20px;
}

.faq-block .section-title,
.rules-block .section-title {
    font-size: 1.75rem;
    margin-bottom: 36px;
    margin-top: 50px;
    color: #ffffff;
}

.faq-item,
.rules-item {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 16px;
}

.faq-question,
.rules-question {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
    width: 100%;
    background-color: #524040;
    color: #ffffff;
    border: none;
    font-size: 1.1rem !important;
    font-weight: 700;
    border-radius: 8px;
    padding: 12px 40px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.rules-question {
    font-size: 1.5rem !important;
 /* Увеличиваем размер шрифта для вопросов в правилах */
}

.faq-text {
    flex: 1 1 auto;
    margin-right: 16px;
 /* расстояние до стрелки */
    word-break: break-word;
    min-width: 0;
    line-height: 1.4;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rules-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    margin-top: 20px;
    color: #fff;
 /* белый текст, если у тебя тёмный фон */
    font-family: 'Raleway', sans-serif;
    font-size: 0.97rem;
}

.rules-bullet {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 14px;
    margin-top: 8px;
    border-radius: 50%;
    background: #835555;
    flex-shrink: 0;
    box-shadow: 0 1px 6px #83555544;
}

.faq-icon,
.rules-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    /* ← ширина блока под стрелку */
    font-size: 1.3rem;
    margin-left: 0;
     /* можно добавить отступ при желании */
    position: absolute;
    right: 8px;
    font-size: 1rem;
    top: 50%;
    color: #FFFFFF;
    transition: transform 0.4s ease;
    transform: translateY(-50%);
}

.faq-answer,
.rules-answer {
    overflow: hidden;
    max-height: 0;
    padding: 0 40px;
                       /* только горизонтальные паддинги */
    background-color: #362828;
    color: #FFFFFF;
    font-size: 0.95rem;
    border-radius: 0 0 8px 8px;
    transition: max-height 0.3s ease,
              padding    0.3s ease;
}

.faq-item.open .faq-answer {
    padding: 12px 40px;
    min-height: 0px;
 /* минимальная высота, чтобы текст не прилипал к верху */
    max-height: 2000px;
}

.faq-item.open .faq-icon {
    transform: translateY(-50%) rotate(180deg);
}



/* Центрирование блока «Основные правила» */
.rules-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rules-item {
    width: 100%;
    max-width: 600px;
    /* та же максимальная ширина */
    margin: 0 auto 16px;
 /* по центру с нижним отступом */
}

.rules-answer {
    background-color: #362828;
    border-radius: 0 0 20px 20px;
    width: 100%;
    max-width: 100%;
    margin: 8px auto 0;
}

.rules-item.open .rules-answer {
    padding: 12px 40px;
    max-height: 2000px;
}

.rules-item.open .rules-icon {
    transform: translateY(-50%) rotate(180deg);
}

.fixed-actions {
    position: fixed;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10000;
}

.action-btn {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(200,200,200,0.24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    backdrop-filter: blur(4px);
    transition: background 0.18s, border-color 0.18s, transform 0.25s cubic-bezier(.3,.7,.4,1);
    padding: 0;
}

.action-btn:hover {
    background: rgba(255,255,255,0.35);
    border-color: rgba(200,200,200,0.35);
}

.action-btn img,
.action-btn svg {
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 0 1px #fff4) drop-shadow(0 1px 4px #0001);
}

/* Попап соцсетей */
.social-popup {
    position: absolute;
    right: 60px;
    bottom: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(200,200,200,0.24);
    border-radius: 20px;
    padding: 5px 15px 0px;
    box-shadow: 0 4px 24px #3d2d2d17;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.22s, transform 0.22s;
    z-index: 10001;
}

.social-popup.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(61, 45, 45, 0.38);
    backdrop-filter: blur(5px);
}

.social-popup a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    text-decoration: none;
    margin-bottom: 7px;
    padding: 5px 5px;
    border-radius: 8px;
    transition: background 0.15s;
}

.social-popup img {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain;
    display: inline-block;
    box-shadow: 0 1px 4px #0001;
    background: none;
}

.social-popup a:hover img {
    box-shadow: 0 4px 18px #83555522;
}

/* Сдвиг кнопки "вверх", когда открыт попап */
.fixed-actions.popup-open .btn-top {
    transform: translateY(0px);
}

.manager-button {
    margin-bottom: 50px;
}

/* Обычный десктопный стиль — твой оригинал */

.site-footer {
    background: #201419;
    color: #fff;
    font-family: 'Raleway', 'Montserrat', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.footer-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 38px 40px 30px 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.footer-headline-row {
    display: flex;
    align-items: center;
    gap: 28px;
}

.footer-logo {
    width: 200px;
    height: 68px;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px #2d181333);
}

.footer-slogan-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.06em;
}

.footer-slogan {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 400;
    max-width: 290px;
    line-height: 1.3;
}

.footer-content-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-left: 60px;
}

.footer-phone {
    color: #fff;
    font-weight: 700;
    font-size: 1.23em;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.18s;
}

.footer-phone:hover {
    color: #835555;
}

.footer-address {
    font-size: 1.03rem;
    color: #fff;
    font-family: 'Raleway', sans-serif;
}

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 6px;
}

.footer-social-btn {
    background: #23181c;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.18s, background 0.18s;
    box-shadow: 0 1px 8px #0002;
    border: none;
}

.footer-social-btn img {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 1px #fff3) drop-shadow(0 1px 4px #0001);
}

.footer-social-btn:hover {
    background: #835555;
    box-shadow: 0 4px 18px #83555533;
}

.footer-bottom {
    background: #181214;
    color: #fff;
    font-size: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 7px 40px 4px 40px;
    min-height: 24px;
}

.footer-copy {
    color: #fff;
}

.footer-divider {
    width: 2px;
    height: 56px;
    background: #835555;
    border-radius: 8px;
    margin: 0 18px;
    flex-shrink: 0;
}



/* ------ Адаптив для мобильных ------ */
@media (max-width: 700px) {
    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px 8px 12px 8px;
    }

    .footer-headline-row {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        width: 100%;
        justify-content: center;
    }

    .footer-logo {
        width: 180px;
        height: 100px;
    }

    .footer-slogan-block {
        flex-direction: column;
        gap: 4px;
    }

    .footer-title {
        font-size: 1rem;
        display: none !important;
    }

    .footer-slogan {
        font-size: 0.9rem;
        max-width: 140px;
    }

    .footer-content-row {
        margin-left: 0;
        margin-top: 10px;
        align-items: center;
        width: 100%;
        gap: 8px;
    }

    .footer-phone {
        font-size: 0.95em;
    }

    .footer-address {
        font-size: 0.75rem;
    }

    .footer-socials {
        gap: 16px;
        margin-top: 0;
    }
}

@media (max-width: 440px) {
    .footer-logo {
        width: 100px;
        height: 60px;
    }

    .footer-title {
        font-size: 0.88rem;
    }

    .footer-slogan {
        font-size: 0.85rem;
        max-width: 170px;
    }
}



/* Для ровных цифр */
.footer-content-row, .footer-address, .footer-copy {
    font-family: 'Montserrat', 'Raleway', Arial, sans-serif;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

@media (max-width: 600px) {
    .social-popup {
        right: 0;
        bottom: 60px;
        flex-direction: column;
        padding: 0px 0px;
    }

    .fixed-actions.popup-open .btn-top {
        transform: translateY(-200px);
    }

    .social-popup img {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }
}

.map-block {
    padding: 60px 20px 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.02);
  z-index: 2000;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.map-overlay-text {
  background: rgba(255,255,255,0.93);
  color: #835555;
  padding: 10px 18px;
  border-radius: 0 0 18px 0;
  font-size: 1rem;
  pointer-events: none;
  box-shadow: 0 2px 12px #83555518;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
}


.map-block .section-title {
    color: #fff;
    margin-bottom: 24px;
}

.map-container {
  position: relative;
    width: 100%;
    max-width: 1100px;
      /* как блок отзывов/карусели */
    margin: 0 auto;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
    background: #fff;
      /* белый фон, карта будет занимать всё */
    min-height: 320px;
    transition: box-shadow 0.3s;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* Для всех заголовков, кроме заголовка в слайде карусели */
h1, h2, h3,
.section-title, .section-title-format, .equipment-subtitle {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 2.5rem !important;
    text-align: center !important;
    line-height: 1;
}

/* Исключаем заголовки карусели! */
.event-slide__title {
    font-size: 32px !important;
      /* ← твой исходный размер */
    font-family: 'Montserrat', sans-serif !important;
    text-align: left !important;
     /* если был по левому краю */
    line-height: 1 !important;
    /* по вкусу */
}

.map-bottom {
    margin-top: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.map-slogan {
    color: #835555;
 /* стиль как .section-title-format */
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.35rem;
    margin: 35px 0 50px 0;
    letter-spacing: 0.03em;
}

.map-wa-btn {
    margin: 0 auto;
    width: 260px;
    max-width: 100%;
    font-size: 1rem;
    padding: 14px 24px;
    border-radius: 22px;
    background: #762cff;
    color: #fff;
    font-weight: 700;
    transition: background 0.18s, box-shadow 0.15s;
    box-shadow: 0 1px 8px rgba(118,44,255,0.09);
    border: none;
    cursor: pointer;
}

.map-wa-btn:hover,
.map-wa-btn:focus {
    background: #5d22cc;
}

/* ==================== АНИМАЦИИ ==================== */



/* ==================== Responsive ==================== */

@media (max-width: 1200px) {
    .map-container {
        max-width: 98vw;
    }
}

@media (max-width: 1023px), (max-width: 479px) {
    h1, h2, h3, .section-title, .section-title-format, .equipment-subtitle {
        font-size: 2rem !important;
    }
}
/* Объединил дубли для мобильных <=480px и планшетов <=768px */
@media (max-width: 1023px) {
  /* Hero adjustments */
    .hero {
        padding: 20px;
        min-height: 50vh;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__tags {
        overflow: visible;
    /* на всякий случай */
        height: auto;
    }

    .hero {
        padding-top: 0;
    }
  
  /* обычный header растягиваем во всю ширину, но с паддингом как на десктопе */
    .hero__top {
        width: 100%;
        position: relative;
        left: 0;
        margin: 0;
    }

  /* Неприлипшая шапка: боковые отступы 20px, чтобы совпадали с .hero */
    .hero__top:not(.sticky) {
        padding: 0 20px;
    }

  /* Прилипшая шапка: оригинальные 8px/16px */
    .hero__top.sticky {
        padding: 8px 16px;
    }

    .tag-wrapper {
        display: flex;
        flex-wrap: wrap;
      /* разрешаем перенос строк */
        justify-content: center;
        gap: 12px;
            /* чуть меньше расстояние */
    }

  /* Сжимаем сами плашки */
    .tag {
        padding: 8px 16px;
    /* поменьше отступы */
        font-size: 0.875rem;
  /* чуть меньше шрифт */
        border-radius: 20px;
  /* слегка уменьшенный радиус */
        white-space: normal;
  /* позволяем переносить слова */
    }

  /* About */
    .about-loft {
        padding: 50px 16px;
    }

    .about-loft__content {
        font-size: 0.9rem;
    }

  /* Carousel */
    .carousel-container {
        max-width: 98vw;
    }

    .event-slide {
        flex: 0 0 calc((100% - 16px) / 2);
 /* 2*margin */
        min-width: 240px;
        max-width: 94vw;
        margin: 0 8px;
    }

    .event-slide__title {
        font-size: 1.1rem;
    }

    .event-slide__text {
        font-size: 0.9rem;
    }

  /* Reviews */
    .reviews {
        padding: 50px 16px;
    }

    .review-card {
        flex: 0 0 calc((100% - 16px) / 2);
 /* 2 карточки + 1*16px gap */
        max-width: 90vw;
    }



  /* Collab */
    .collab-block {
        padding: 50px 16px;
    }

    .collab-container {
        max-width: 280px;
        padding: 16px;
    }

    .collab-text {
        font-size: 0.9rem;
    }

    .collab-arrow--top-left {
        top: -28px;
        left: -8px;
        width: 40px;
    }

    .collab-arrow--bottom-right {
        bottom: -20px;
        right: -6px;
        width: 36px;
    }

  /* FAQ & Rules */
    .faq-block,
  .rules-block {
        padding: 32px 16px;
    }

    .faq-block .section-title,
  .rules-block .section-title {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .faq-question,
  .rules-question {
        font-size: 0.85rem;
        padding: 10px 16px;
        width: 100%;
        max-width: none;
    }

    .faq-icon,
  .rules-icon {
        font-size: 0.95rem;
    }

    .faq-answer,
  .rules-answer {
        font-size: 0.85rem;
        margin: 6px auto 0;
        padding: 0 16px;
        width: 100%;
        max-width: none;
    }

    .faq-item.open .faq-answer,
  .rules-item.open .rules-answer {
        padding: 10px 16px;
    }
}

@media (max-width: 700px) {
    .map-block {
        padding: 32px 6px 16px 6px;
    }

    .map-container {
        min-height: 180px;
        border-radius: 16px;
    }

    .map-container iframe {
        height: 240px;
    }

    .map-bottom {
        gap: 12px;
        margin-top: 18px;
    }

    .map-slogan {
        font-size: 1.1rem;
    }

    .map-wa-btn {
        width: 100%;
        font-size: 0.98rem;
        padding: 12px 0;
    }
}

@media (max-width: 600px) {
    .reviews__track {
        gap: 16px;
    }

    .review-card {
        flex: 0 0 100%;
        max-width: 98vw;
        min-width: 0;
    }

    .review-card img {
        height: 310px;
    }

    .celebration-block {
        padding: 32px 8px 24px 8px;
    }

    .celebration-list {
        gap: 14px 6px;
    }

    .celebration-item {
        font-size: 0.91rem;
        padding: 12px 10px;
        min-width: 150px;
    }

    .celebration-title {
        font-size: 1rem;
    }

    .celebration-note {
        font-size: 0.9rem;
    }
}

@media (max-width: 479px) {
    .hero {
        min-height: 575px;
        padding: 12px;
    }

    .hero__book-btn {
        display: none;
    }

    .hero__content {
        margin-top: -24px;
     /* Регулирует высоту блока — меньше значит выше */
    }

    .hero-logo-big {
        width: 260px;
    }

    .hero__title {
        font-size: 2rem;
        max-width: 90%;
        margin: 16px auto;
        margin-bottom: 8px;
   /* Регулирует отступ после заголовка */
    }
   /* Делаем контейнер тегов гибким: erlauben перенос */
    .hero {
        padding-top: 0;
    }
   /* статичный header во всю ширину экрана */
    .hero__top:not(.sticky) {
        position: relative;
        width: 100vw;
        left: 50%;
        margin-left: -50vw;
        padding: 0 12px;
 /* подгоните под ваш горизонтальный padding */
    }

  /* отменяем вытягивание для прилипшего состояния */
    .hero__top.sticky {
        width: 100%;
        left: 0;
        margin-left: 0;
    }

    .hero__tags {
        overflow: visible;
    /* на всякий случай */
        height: auto;
        margin-top: 65px;
    }

    .tag-wrapper {
        display: flex;
        flex-wrap: wrap;
      /* разрешаем перенос строк */
        justify-content: center;
        gap: 12px;
            /* чуть меньше расстояние */
        margin-top: -50px;
     /* Чем меньше — тем ближе к заголовку */
    }

  /* Сжимаем сами плашки */
    .tag {
        padding: 8px 16px;
    /* поменьше отступы */
        font-size: 0.875rem;
  /* чуть меньше шрифт */
        border-radius: 20px;
  /* слегка уменьшенный радиус */
        white-space: normal;
  /* позволяем переносить слова */
    }

    .about-loft {
        padding: 30px 30px;
    }

    .about-loft__content {
        font-size: 1rem;
    }

    .carousel-container {
        max-width: 100vw;
        padding: 16px 0;
    }

    .event-slide {
        flex: 0 0 100%;
        min-width: 90vw;
        max-width: 100vw;
        margin: 0 2px;
    }

    .event-slide__title {
        font-size: 0.85rem;
    }

    .event-slide__text {
        font-size: 0.95rem;
    }

    .reviews {
        padding: 30px 30px;
    }

    .collab-block {
        padding: 30px 8px;
    }

    .collab-arrow--top-left {
        top: -18px;
        left: -6px;
        width: 28px;
    }

    .collab-arrow--bottom-right {
        bottom: -12px;
        right: -4px;
        width: 24px;
    }

    .faq-block,
  .rules-block {
        padding: 24px 12px;
    }

    .faq-block .section-title,
  .rules-block .section-title {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }

    .faq-question {
        font-size: 1.2rem !important;
        padding: 8px 20px;
        text-align: left !important;
    }

    .faq-icon {
        font-size: 0.9rem;
    }

    .faq-answer,
  .rules-answer {
        font-size: 0.95rem;
        margin: 4px auto 0;
        padding: 0px 20px !important;
        text-align: left !important;
    }

    .faq-item.open .faq-answer,
  .rules-item.open .rules-answer {
        padding: 8px 20px;
    }
}

@media (max-width: 400px) {
    .review-card {
        max-width: 96vw;
        padding: 20px 8px;
    }
}

@media (max-width: 375px) {
    .hero__content {
        margin-top: 0px;
     /* Регулирует высоту блока — меньше значит выше */
    }

    .hero__title {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .hero__tags {
        height: 20px;
    }

    .tag {
        font-size: 0.875rem;
     /* такой же, как до 479px */
        padding: 8px 16px;
       /* такой же, как до 479px */
        border-radius: 20px;
        margin: 0 4px;
    }

    .tag-wrapper {
        margin-top: -50px;
     /* Чем меньше — тем ближе к заголовку */
    }

    .event-slide {
        height: 30vh;
        min-height: 180px;
    }

    .event-slide__title {
        font-size: 0.75rem;
    }

    .event-slide__text {
        font-size: 0.85rem;
    }

    .equipment-subtitle {
        font-size: 0.85rem;
    }
}

@media (max-width: 320px) {
    .review-card {
        flex: 0 0 80vw;
        width: 80vw;
        height: auto;
        padding: 14px 4px;
        font-size: 0.93rem;
    }

    .reviews-arrow {
        width: 32px;
        height: 32px;
        font-size: 1.5rem;
    }

    .review-card img {
        height: 280px;
    }
}

.header-number {
    position: absolute;
    left: 70px;
    margin: 0;
    top: 30%;
    font-family: 'Montserrat', 'Raleway', Arial, sans-serif;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    transition: 250ms;
    font-weight: 600;
    font-size: 15px;
}
.header-number:hover {
    color: #ffffff8c;
}
@media (max-width: 479px) {
    .header-number {
        display: none;
    }
}