/* ============================================================
   HISTORY — стили секций (Главная)
   ============================================================ */

/* ---------- Шапка (общая для страниц) ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  transform: translateY(0);
  transition: transform 0.3s var(--ease);
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
  padding: 16px 26px 0 16px;
  box-sizing: border-box;
}

.site-header__side {
  flex: 1;
  display: flex;
  align-items: center;
}

.site-header__side--right {
  justify-content: flex-end;
}

/* Логотип */
.brand {
  display: block;
}

.brand__ring {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid var(--brown-1);
  background: transparent;
}

.brand__ring img {
  width: 46px;
  height: 46px;
}

/* Навигация (десктоп) — тёмная пилюля */
.desk-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 4px 4px 4px 32px;
  background: var(--brown-2);
  border: 1px solid #705F50;
  border-radius: 1000px;
  box-shadow: var(--sh-menu);
}

.desk-nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.desk-nav__link {
  font-size: var(--fs-marker);
  line-height: var(--lh-marker);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bezh-2);
  transition: color var(--dur) var(--ease);
}

.desk-nav__link.is-active { color: var(--brown-1); }
.desk-nav__link:hover { color: var(--white); }

.lang {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  font-family: var(--font-text);
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  color: var(--brown-1);
}

/* CTA-кнопка: бежевый квадрат + внутреннее кольцо-рамка (отступ 6px) */
.btn-call {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 0 26px;
  background: var(--bezh-2);
  color: var(--brown-2);
}

.btn-call::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--brown-1);
  pointer-events: none;
  transition: border-color 0.3s var(--ease);
}

.btn-call {
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.btn-call:hover {
  background: var(--brown-1);
  color: var(--bezh-1);
}

.btn-call:hover::before { border-color: var(--bezh-2); }

.btn-call__label {
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
}

/* Мобильные элементы шапки — скрыты на десктопе */
.mob-cta,
.burger {
  display: none;
}

/* ---------- Мобильное меню (оверлей) ---------- */
.mob-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  background: var(--brown-2);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
  overflow-y: auto;
}

body.menu-open .mob-menu {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

.mob-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
}

.mob-menu__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 72px 32px 32px;
}

.mob-menu__links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mob-menu__link {
  font-family: var(--font-text);
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--bezh-2);
  transition: color var(--dur) var(--ease);
}

.mob-menu__link.is-active { color: var(--brown-1); }

.mob-menu__foot {
  margin-top: auto;
  padding-top: 48px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

/* ---------- Адаптив шапки ---------- */
@media (max-width: 767px) {
  .site-header__bar {
    height: 88px;
    padding: 16px;
  }

  .desk-nav {
    display: none;
  }

  .site-header__side {
    flex: 0 0 auto;
  }

  .site-header__side--right,
  .site-header__side--right .btn-call {
    display: none;
  }

  .brand__ring {
    width: 48px;
    height: 48px;
  }

  .brand__ring img {
    width: 36px;
    height: 36px;
  }

  .mob-cta {
    display: block;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--bezh-2);
  }

  .burger {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 48px;
    height: 48px;
    background: var(--brown-2);
  }

  .burger__line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--bezh-2);
  }

  /* Закрытие меню: крест из двух линий внутри квадрата */
  .burger--close {
    position: relative;
    padding: 0;
    background: var(--brown-2);
  }

  .burger--close .burger__line {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 2px;
    margin: -1px 0 0 -12px;
  }

  .burger--close .burger__line:first-child {
    transform: rotate(45deg);
  }

  .burger--close .burger__line:last-child {
    transform: rotate(-45deg);
  }
}

/* ============================================================
   INTRO — первый экран (Главная, десктоп-композиция)
   ============================================================ */

.intro {
  position: relative;
  display: flex;
  height: 920px;
  background: var(--back-warm-2);
  overflow: hidden;
}

.intro__media,
.intro__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro__media {
  background: url("../img/photo-intro.jpg") center / cover no-repeat;
}

.intro__shade {
  background: linear-gradient(
    180deg,
    rgba(74, 58, 53, 0.4) 0%,
    rgba(74, 58, 53, 0) 60%,
    var(--brown-2) 100%
  );
}

.intro__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 160px;
  padding-bottom: 40px;
}

/* Заголовочный блок — по центру */
.intro__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.intro__marker {
  color: #463732;
}

.intro__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--brown-2);
  width: 592px;
  max-width: 100%;
}

/* Карточки-метрики */
.intro__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.metric {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 151px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(246, 236, 222, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.metric__value {
  display: flex;
  align-items: baseline;
  color: var(--bezh-2);
}

.metric__num {
  font-size: 48px;
  line-height: 1;
  font-weight: 400;
}

.metric__unit {
  line-height: 1;
}

.metric__unit--l { font-size: 24px; } /* га */
.metric__unit--s { font-size: 30px; } /* м2 */

.metric__label {
  font-size: 16px;
  line-height: 1.3;
  color: var(--bezh-2);
}

/* ============================================================
   INTRO — мобильная версия (main-mob / FSCREEN, 390×860)
   ============================================================ */
@media (max-width: 767px) {
  .intro {
    height: 860px;
  }

  .intro__shade {
    /* мобильный градиент: изображение затемнено почти по всей высоте */
    background: linear-gradient(
      180deg,
      rgba(74, 58, 53, 0.70) 0%,
      rgba(74, 58, 53, 0.55) 54%,
      rgba(74, 58, 53, 0.71) 76%,
      var(--brown-2) 100%
    );
  }

  .intro__media {
    background: url("../img/photo-intro-mob.jpg") center / cover no-repeat;
  }

  .intro__inner {
    padding-top: 320px;
    padding-bottom: 0;
  }

  .intro__body { gap: 16px; }

  .intro__marker {
    color: var(--brown-1);
  }

  .intro__title {
    font-size: 26px;
    line-height: 1.2;
    color: var(--bezh-2);
    width: 100%;
  }

  /* сетка метрик 2×2 */
  .intro__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .metric {
    min-height: 148px;
    padding: 16px 20px;
  }

  .metric__num { font-size: 36px; }
  .metric__label { font-size: 14px; }
}

/* ============================================================
   Общая контентная зона (CONTENT из макета)
   ============================================================ */

.site-content {
  background: var(--brown-2);
  color: var(--bezh-2);
}

/* ============================================================
   ADDON — «Предмет сделки» (карточки + видео)
   ============================================================ */

.addon {
  padding-top: 96px;
}

/* --- Общий заголовок секции (переиспользуется другими секциями) --- */
.sec-head {
  margin-bottom: 64px;
}

.sec-head__marker {
  color: var(--brown-1);
  margin-bottom: 12px;
}

.sec-head__title {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.6;
  font-weight: 400;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--bezh-2);
  max-width: 900px;
}

.sec-head__rule {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
}

.sec-head__rule-line {
  flex: 1;
  height: 1px;
  background: var(--brown-1);
}

.sec-head__rule-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brown-1);
}

.sec-head__sub {
  font-size: 16px;
  line-height: 1.4;
  color: var(--bezh-2);
  text-wrap: balance;
  max-width: 1000px;
}

/* --- Карточки предложения --- */
.addon__cards {
  margin-bottom: 96px;
}

.addon__track {
  display: flex;
  gap: 12px;
}

.info-card {
  flex: 1 1 0;
  min-width: 0;
  background: var(--bezh-2);
  padding: 8px;
}

.info-card__inner {
  height: 100%;
  border: 1px solid var(--brown-1);
  padding: 32px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card__title {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--brown-2);
  margin-bottom: 8px;
}

.info-card__text {
  font-size: 16px;
  line-height: 1.4;
  color: var(--brown-2);
  text-wrap: balance;
}

.info-card__rule {
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card__rule-line {
  flex: 1;
  height: 1px;
  background: var(--brown-1);
}

.info-card__rule-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brown-1);
}

.info-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-card__item {
  display: flex;
  gap: 8px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--brown-2);
}

.info-card__dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--brown-1);
}

/* --- Видео --- */
.addon__video {
  border: 1px solid var(--brown-1);
  padding: 8px;
  height: 600px;
  box-sizing: border-box;
}

.addon__video-frame {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  background-color: #332317;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("../img/video-poster.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.vplay {
  position: relative;
  display: grid;
  place-items: center;
  width: 140px;
  height: 140px;
  border: 1px solid var(--bezh-2);
  border-radius: 50%;
  background: transparent;
}

.vplay__ring--inner {
  position: absolute;
  inset: 13px;
  border: 1px solid var(--bezh-2);
  border-radius: 50%;
}

.vplay__disc {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--bezh-2);
  display: grid;
  place-items: center;
}

.vplay__play {
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 24px solid var(--brown-2);
  transform: translateX(2px);
}

/* --- Пейджер (мобайл) --- */
.addon__pager {
  display: none;
}

/* ============================================================
   ADDON — мобильная версия (слайдер + пейджер)
   ============================================================ */
@media (max-width: 767px) {
  .addon {
    padding-top: 64px;
  }

  .addon .container {
    padding-inline: 16px;   /* мобильные поля как в макете */
  }

  .addon .sec-head {
    margin-bottom: 48px;
  }

  .sec-head__title {
    font-size: 24px;
    line-height: 1.4;
  }

  .addon__cards {
    overflow: hidden;
    margin-inline: -16px;      /* карусель на всю ширину экрана (оба края) */
    margin-bottom: 20px;
    cursor: grab;
    touch-action: pan-y;       /* вертикальный скролл нативный, свайп — горизонтальный */
  }

  .addon__cards.is-dragging {
    cursor: grabbing;
  }

  .addon__track {
    will-change: transform;
    transition: transform 0.45s var(--ease);
  }

  .addon__track.is-dragging {
    transition: none;
  }

  .addon__track .info-card {
    flex: 0 0 320px;
  }

  .addon__pager {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 64px;
  }

  .addon__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brown-1);
    padding: 0;
  }

  .addon__dot.is-active {
    background: var(--bezh-2);
  }

  .addon__video {
    height: 318px;
  }

  .vplay {
    width: 120px;
    height: 120px;
  }

  .vplay__ring--inner { inset: 11px; }
  .vplay__disc { width: 82px; height: 82px; }
  .vplay__play {
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 20px;
  }
}

/* ============================================================
   МОБИЛЬНАЯ ШАПКА + МЕНЮ — новый макет (тёмная капсула)
   ============================================================ */
@media (max-width: 767px) {
  /* Закрытая шапка: скруглённая капсула Brown-2 */
  .site-header__bar {
    height: 56px;
    padding: 0 16px;
    border-radius: 1000px;
    background: var(--brown-2);
    box-shadow: var(--sh-menu);
    max-width: none;
    margin: 8px 16px 0;
    gap: 12px;
    box-sizing: border-box;
  }

  .site-header__side { flex: 0 0 auto; }

  .brand__ring {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
  }

  .brand__ring img {
    width: 36px;
    height: 36px;
  }

  .mob-cta {
    font-size: 12px;
    line-height: 1;
  }

  /* Круглый бургер без фона */
  .burger {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    padding: 0;
    gap: 3px;
  }

  .burger__line {
    width: 24px;
    height: 2px;
  }

  /* Открытое меню: «лист» высотой до 536px */
  .mob-menu {
    top: 0;
    bottom: auto;
    height: min(536px, 100dvh);
  }

  /* Голова меню: капсула Brown-3 (чуть темнее фона) */
  .mob-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 56px;
    padding: 0 16px;
    margin: 8px 16px 0;
    border-radius: 1000px;
    background: var(--brown-3);
    box-shadow: var(--sh-menu);
  }

  .mob-menu__head .burger--close {
    background: transparent;
  }

  .mob-menu__body {
    padding: 96px 32px 0;
  }

  .mob-menu__links {
    gap: 24px;
  }

  .mob-menu__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding: 96px 0 32px;
  }

  .mob-menu__foot .lang {
    width: 52px;
    height: 52px;
    font-size: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    color: var(--brown-1);
  }
}

/* ============================================================
   Открытое меню — затемняющий оверлей + «лист» (финал)
   ============================================================ */
@media (max-width: 767px) {
  .mob-menu {
    inset: 0;
    height: auto;
    background: rgba(0, 0, 0, 0.55); /* затемнение всей страницы */
  }

  .mob-menu__sheet {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: min(536px, 100dvh);
    background: var(--brown-2);
    box-shadow: var(--sh-menu);
  }
}

/* ============================================================
   Анимация мобильного меню — лист выезжает сверху
   ============================================================ */
.mob-menu__sheet {
  transform: translateY(-110%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

body.menu-open .mob-menu__sheet {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .mob-menu__sheet {
    transition: none;
  }
}

/* ============================================================
   Фикс: не даём пилюле сжиматься по вертикали в листе меню
   ============================================================ */
@media (max-width: 767px) {
  .mob-menu__head {
    flex: 0 0 auto;            /* запрет flex-сжатия */
    min-height: 56px;
  }
}

/* ============================================================
   Единая пилюля: остаётся на экране, меню выезжает из-под неё
   ============================================================ */
@media (max-width: 767px) {
  .site-header {
    z-index: 60;                 /* пилюля всегда над листом и затемнением */
  }

  .mob-menu {
    z-index: 40;
  }

  /* При открытом меню пилюля становится темнее (Brown-3) */
  body.menu-open .site-header__bar {
    background: var(--brown-3);
  }

  /* Бургер → крест на одной пилюле */
  body.menu-open .site-header .burger__line {
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }

  body.menu-open .site-header .burger__line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  body.menu-open .site-header .burger__line:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .site-header .burger__line:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  /* Лист без собственной головы: контент начинается как в макете */
  .mob-menu__body {
    padding: 160px 32px 0;
  }
}
/* ============================================================
   3-AREAS — «Три эпохи, три архитектурных характера»
   (без анимаций: состояния переключаются резко)
   ============================================================ */
.areas {
  padding-top: 96px;
}

.areas__head {
  text-align: center;
}

.areas__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 60px;
  line-height: 1.4;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--brown-1);
}

.areas__rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 680px;
  margin: 28px auto;
}

.areas__rule-line {
  flex: 1;
  height: 1px;
  background: var(--brown-1);
}

.areas__rule-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brown-1);
}

.areas__sub {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--lines-bezh);
  max-width: 640px;
  margin: 0 auto;
  text-wrap: balance;
}

/* ---- Десктоп: ряд зон ---- */
.areas__mob { display: none; }

.areas__desk { margin-top: 64px; }

.areas__row {
  display: flex;
  gap: 20px;
  height: 568px;
}

.zone {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--zone-img) center / cover no-repeat;
  transition: flex-grow 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s var(--ease);
}

.areas__row.has-open .zone:not(.is-open) { opacity: 0.6; }

.areas__row.has-open .zone.is-open { flex-grow: 2.8; }

/* светлый градиент (обычное состояние) — гаснет при hover/открытии */
.zone::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.2) 100%);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* тёмный градиент (hover и открытая карточка) — мягко проявляется */
.zone__hov {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%, rgba(18, 12, 7, 0.8) 100%);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.zone:hover::before,
.zone.is-open::before { opacity: 0; }

.zone:hover .zone__hov,
.zone.is-open .zone__hov { opacity: 1; }

/* кольцо-рамка: Brown-1, в hover/открытой — бежевое (плавно) */
.zone::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--brown-1);
  pointer-events: none;
  transition: border-color 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.zone:hover::after,
.zone.is-open::after { border-color: var(--bezh-2); }

.zone__title {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  max-width: calc(100% - 60px);
  z-index: 1;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--bezh-1);
}

/* кнопка-стрелка в углу (hover); появляется чуть позже затемнения */
.zone__hovbtn {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 56px;
  z-index: 1;
  border: 1px solid var(--bezh-2);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transform: scale(0.94);
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.zone:hover .zone__hovbtn { opacity: 1; transform: scale(1); pointer-events: auto; }
.zone.is-open .zone__hovbtn { opacity: 0; transform: scale(0.94); }

/* собственный ховер кнопки: бежевая заливка + коричневая стрелка */
.zone__hovbtn:hover {
  background: var(--bezh-2);
  color: var(--brown-1);
}

.zone__hovbtn .arrow { width: 24px; height: 12px; }
.zone__hovbtn .arrow::before { width: 21px; }
.zone__hovbtn .arrow::after { right: 1px; width: 8px; height: 8px; }

/* контент открытой зоны */
.zone__open {
  display: flex;
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  align-items: flex-end;
  gap: 32px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.zone.is-open .zone__open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.zone__body {
  flex: 0 1 360px;
  min-width: 0;
  max-width: 360px;
}

.zone__lots {
  display: flex;
  flex-direction: column;
  width: 262px;
  max-width: 100%;
}

.zone__lot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--brown-3);
  font-size: var(--fs-marker);
  line-height: var(--lh-marker);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--bezh-1);
}

.zone__lot--alt { background: var(--brown-dark); }
.zone__lot-status { color: var(--brown-1); }

.zone__desc {
  margin-top: 16px;
  max-width: 360px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--bezh-1);
}

.zone__cta {
  flex: 0 0 auto;
  margin-left: auto;
}

/* стрелки */
.arrow {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 12px;
  flex: 0 0 auto;
}

.arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 21px;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
}

.arrow::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.arrow--big {
  width: 28px;
  height: 16px;
}

.arrow--big::before { width: 24px; }
.arrow--big::after { right: 2px; width: 9px; height: 9px; }

.areas__note {
  margin: 64px auto 0;
  max-width: 1000px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--brown-1);
}

/* ---- Мобайл: вкладки + раскрытый вид под табом ---- */
@media (max-width: 767px) {
  .areas { padding-top: 64px; }

  .areas__title { font-size: 26px; }
  .areas__sub { font-size: 12px; line-height: 1.6; }
  .areas__rule { max-width: 100%; margin: 24px auto; }

  .areas__desk { display: none; }
  .areas__mob { display: block; margin-top: 48px; }

  .mtabs {
    display: flex;
    height: 62px;
    margin-bottom: 12px;
  }

  .mtab {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border: 1px solid var(--brown-1);
    margin-left: -1px;
    font-family: var(--font-text);
    font-weight: 500;
    font-size: 13px;
    line-height: 1.4;
    text-transform: uppercase;
    text-align: center;
    color: var(--bezh-2);
  }

  .mtab:first-child { margin-left: 0; }
  .mtab.is-active { background: var(--brown-1); }

  .zpanel {
    position: relative;
    display: none;
    height: 520px;
    margin: 0;
    overflow: hidden;
    box-sizing: border-box;
    padding: 24px;
    background: var(--zone-img) center / cover no-repeat;
  }

  .zpanel.is-active {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .zpanel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%, rgba(18, 12, 7, 0.8) 100%);
  }

  .zpanel::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid var(--brown-1);
  }

  .zpanel__title {
    position: relative;
    z-index: 1;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    text-transform: uppercase;
    text-wrap: balance;
    color: var(--bezh-1);
  }

  .zpanel__lots {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
  }

  .zpanel__lot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--brown-3);
    font-size: var(--fs-marker);
    line-height: var(--lh-marker);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--bezh-1);
  }

  .zpanel__lot--alt { background: var(--brown-dark); }
  .zpanel__lot-status { color: var(--brown-1); }

  .zpanel__info { display: none; margin-top: 20px; }
  .zpanel__info.is-active { display: block; }

  .zpanel__text {
    font-size: 16px;
    line-height: 1.4;
    color: var(--bezh-2);
    margin-bottom: 20px;
  }

  .zpanel__cta { width: 100%; justify-content: center; }

  .areas__note { margin-top: 40px; font-size: 18px; }
}

/* ============================================================
   3-AREAS — появление левого контента открытой карточки
   Вариант A: сначала текст проступает, затем полоски ложатся
   ============================================================ */
.zone .zone__desc {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(5px);
  transition:
    opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0s,
    transform 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0s,
    filter 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0s;
}

.zone.is-open .zone__desc {
  opacity: 1;
  transform: none;
  filter: none;
}

.zone .zone__lot {
  opacity: 0;
  transform: translateY(-8px);
}

.zone.is-open .zone__lot { opacity: 1; transform: none; }

.zone.is-open .zone__lot:first-child {
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.zone.is-open .zone__lot:nth-child(2) {
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.42s,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.42s;
}

/* ============================================================
   3-AREAS — CTA «Подробнее» появляется последней
   (после текста и полосок; hover-стрелка успевает исчезнуть)
   ============================================================ */
.zone .zone__cta {
  opacity: 0;
  transform: translateY(12px);
}

.zone.is-open .zone__cta { opacity: 1; transform: none; }

.zone.is-open .zone__cta {
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.9s,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.9s;
}
