/* Мортадель — fullscreen interactive hero. */
:root {
  /* Зеленая палитра: сведена к нескольким оттенкам для единообразия */
  --green-950: #102011;       /* Самый тёмный зелёный — основной фон */
  --green-900: #183019;       /* Тёмный фон для блоков */
  --green-800: #244823;       /* Границы и делители */
  
  /* Основные оттенки зелёного */
  --primary-green: #4d7c32;    /* Базовый зелёный — кнопки и интерактивные элементы */
  --secondary-green: #d5e8a3;  /* Светлый зелёный — акценты и маркеры */
  /* Поддержка существующих переменных */
  --green-600: var(--primary-green);
  --green-300: var(--secondary-green);

  /*
   * Общие переменные для унификации внешнего вида секций.
   *
   * До рефакторинга каждая секция сайта имела свои собственные размеры
   * контейнера, отступы между колонками и отступы снизу. Это приводило
   * к заметной разрозненности: блок «генплан» выглядел уже остальных,
   * заголовки и кнопки сдвигались относительно друг друга, а расстояния
   * между элементами «гуляли» на широких экранах. В рамках стандартизации
   * вводим единый набор CSS‑переменных, который управляет максимальной
   * шириной оболочки секции, расстоянием между колонками внутри intro
   * и нижним отступом после intro. Другие блоки могут наследовать эти
   * значения или переопределять при необходимости.
   */
  --section-max-width: 1180px;
  --intro-gap: clamp(22px, 5vw, 74px);
  --intro-margin-bottom: clamp(28px, 4vw, 48px);
  --intro-columns: minmax(0, .94fr) minmax(320px, .62fr);
  
  /* Нейтральные цвета */
  --cream: #fff8e8;           /* Бежевый — основной светлый цвет */
  --white: #ffffff;           /* Белый — альтернативный светлый цвет */
  
  /* Брендовые цвета */
  --brand-blue: #052343;      /* Тёмно‑синий для фирменных элементов */
  --mortadel-red: #ed1023;    /* Единый красный Мортадель */
  --mortadel-cream: #f3dbb6;  /* Кремовый акцент — фоновые градиенты и подложки */
  
  /* Эффекты */
  --shadow: 0 22px 70px rgba(4, 12, 5, 0.38);  /* Тень для глубины и элевации элементов */
  
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Slide-out panel for Veteran-Agro */
.veteran-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100svh;
  width: 50vw;
  max-width: 50vw;
  transform: translateX(110%);
  transition: transform .32s cubic-bezier(.2,.9,.25,1);
  z-index: 140;
  padding: 26px;
  border-left: 1px solid rgba(16,32,17,0.06);
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(255,255,255,0.94));
  color: var(--green-950);
  backdrop-filter: blur(6px);
  box-shadow: -6px 18px 40px rgba(16,32,17,0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.veteran-panel[aria-hidden="false"], .veteran-panel.is-open {
  transform: translateX(0);
}
.veteran-panel__close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--green-950);
  margin-left: auto;
  padding: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.veteran-panel__body {
  overflow: auto;
  padding-top: 6px;
  margin-top: 8px;
  color: var(--green-900);
  font-size: 15px;
  line-height: 1.46;
}
.veteran-panel__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.42);
  z-index: 130;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.veteran-panel__backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 760px) {
  .veteran-panel {
    width: 100vw;
    max-width: 100vw;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    height: 100svh;
  }
  .veteran-panel__backdrop { display: block; }
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 320px; min-height: 100%; background: var(--green-950); }
body { overflow-x: hidden; overflow-y: auto; color: var(--white); }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 40;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--green-950);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }



.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(circle at 20% 15%, rgba(213, 232, 163, .18), transparent 32%), var(--green-950);
}

.hero__image-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #182916;
}
.hero__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 16, 8, .14) 0%, rgba(7, 16, 8, .02) 42%, rgba(7, 16, 8, .72) 100%),
    linear-gradient(90deg, rgba(7, 16, 8, .42) 0%, rgba(7, 16, 8, .06) 44%, rgba(7, 16, 8, .12) 100%);
}
.hero__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  filter: saturate(1.04) contrast(1.02);
  transition: opacity .24s ease, transform .7s ease;
}
.hero__image.is-changing {
  opacity: .42;
  transform: scale(1.025);
}

.hero__content {
  position: absolute;
  z-index: 4;
  bottom: clamp(100px, calc(10vh + 30px), 180px);
  top: auto;
  left: 22%;
  right: auto;
  transform: translateX(-50%);
  width: min(750px, calc(100% - clamp(48px, 10vw, 120px)));
  padding: clamp(18px, 2.6vw, 34px);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: clamp(22px, 3vw, 38px);
  color: var(--cream);
  background:
    radial-gradient(circle at 10% 0%, rgba(213, 232, 163, .22), transparent 34%),
    linear-gradient(135deg, rgba(16, 32, 17, .78), rgba(16, 32, 17, .36));
  box-shadow: 0 24px 70px rgba(4, 12, 5, .26);
  backdrop-filter: blur(14px);
  text-align: center;
}

/* Adjust hero offset to avoid overflow on medium and large screens */
@media (min-width: 761px) and (max-width: 1199px) {
  .hero__content {
    left: 6%;
    right: 6%;
    transform: none;
    width: auto;
    max-width: 750px;
  }
}
@media (min-width: 1200px) {
  .hero__content {
    left: 6%;
    right: 6%;
    transform: none;
    width: auto;
    max-width: 750px;
  }
}

.hero__title {
  margin: 0;
  /* Унифицированный светлый цвет для заголовка */
  color: var(--cream);
  font-size: clamp(44px, 6.8vw, 96px);
  line-height: .88;
  letter-spacing: -.075em;
  text-shadow: 0 0 42px rgba(16, 32, 17, .38);
}
.hero__facts {
  display: grid;
  gap: clamp(8px, 1vw, 12px);
  margin-top: clamp(16px, 2.2vw, 28px);
  text-align: left;
  justify-items: start;
}
.hero__facts p {
  position: relative;
  margin: 0;
  padding-left: 22px;
  color: var(--cream);
  font-size: clamp(16px, 1.7vw, 23px);
  line-height: 1.28;
  font-weight: 750;
  text-wrap: balance;
}
.hero__facts p::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-300);
  box-shadow: 0 0 20px rgba(213, 232, 163, .58);
}

.hero__clouds {
  position: absolute;
  inset: 0 0 auto;
  height: clamp(180px, 31vh, 350px);
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: .92;
  mix-blend-mode: normal;
  transform: translateZ(0);
}
.hero__clouds::before,
.hero__clouds::after {
  content: "";
  position: absolute;
  left: -24vw;
  right: -24vw;
  border-radius: 999px;
  pointer-events: none;
  opacity: .36;
  filter: blur(22px);
  background:
    radial-gradient(ellipse at 14% 50%, rgba(255,255,255,.26) 0 12%, transparent 27%),
    radial-gradient(ellipse at 46% 42%, rgba(255,255,255,.20) 0 10%, transparent 25%),
    radial-gradient(ellipse at 78% 60%, rgba(255,255,255,.18) 0 11%, transparent 28%),
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,.16) 18%, rgba(255,255,255,.22) 50%, rgba(255,255,255,.12) 82%, transparent 100%);
  animation: cloud-wisp-drift 112s linear infinite;
}
.hero__clouds::before {
  top: 14px;
  height: 64px;
}
.hero__clouds::after {
  top: clamp(112px, 16vh, 190px);
  height: 48px;
  opacity: .26;
  filter: blur(28px);
  animation-duration: 138s;
  animation-direction: reverse;
}
.hero__cloud {
  position: absolute;
  left: var(--cloud-start, -38vw);
  top: var(--cloud-top);
  width: var(--cloud-width);
  height: calc(var(--cloud-width) * var(--cloud-ratio, .34));
  opacity: var(--cloud-opacity);
  transform: translate3d(-115%, 0, 0) scale(var(--cloud-scale, 1));
  filter: blur(var(--cloud-blur, .2px)) drop-shadow(0 18px 24px rgba(255,255,255,.10));
  animation: cloud-drift var(--cloud-duration) linear infinite;
  will-change: transform;
}
.hero__cloud::before,
.hero__cloud::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__cloud::before {
  border-radius: 58% 64% 44% 52% / 64% 68% 42% 45%;
  background:
    radial-gradient(ellipse at 10% 66%, rgba(255,255,255,.80) 0 12%, transparent 25%),
    radial-gradient(ellipse at 25% 48%, rgba(255,255,255,.94) 0 18%, transparent 31%),
    radial-gradient(ellipse at 43% 37%, rgba(255,255,255,.88) 0 21%, transparent 34%),
    radial-gradient(ellipse at 61% 43%, rgba(255,255,255,.82) 0 18%, transparent 32%),
    radial-gradient(ellipse at 77% 59%, rgba(255,255,255,.72) 0 14%, transparent 28%),
    radial-gradient(ellipse at 34% 72%, rgba(255,255,255,.46) 0 25%, transparent 50%),
    radial-gradient(ellipse at 63% 73%, rgba(255,255,255,.38) 0 24%, transparent 52%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 88%, transparent 100%);
}
.hero__cloud::after {
  inset: 52% 10% 6% 12%;
  border-radius: 999px;
  opacity: .18;
  filter: blur(7px);
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255,255,255,.52) 0 32%, transparent 68%),
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,.38) 18%, rgba(255,255,255,.20) 78%, transparent 100%);
}
.hero__cloud--wisp {
  --cloud-ratio: .17;
  filter: blur(1.2px);
}
.hero__cloud--wisp::before {
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 18% 55%, rgba(255,255,255,.44) 0 12%, transparent 30%),
    radial-gradient(ellipse at 58% 47%, rgba(255,255,255,.36) 0 14%, transparent 34%),
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,.38) 18%, rgba(255,255,255,.30) 58%, transparent 100%);
}
.hero__cloud--wisp::after {
  inset: 38% 12% 0 18%;
  opacity: .24;
  filter: blur(12px);
}
.hero__cloud--one { --cloud-top: 26px; --cloud-width: clamp(160px, 20vw, 300px); --cloud-opacity: .44; --cloud-duration: 72s; --cloud-scale: 1; animation-delay: -30s; }
.hero__cloud--two { --cloud-top: 90px; --cloud-width: clamp(190px, 24vw, 360px); --cloud-opacity: .38; --cloud-duration: 96s; --cloud-scale: .94; animation-delay: -68s; }
.hero__cloud--three { --cloud-top: 134px; --cloud-width: clamp(140px, 17vw, 260px); --cloud-opacity: .32; --cloud-duration: 84s; --cloud-scale: .88; animation-delay: -12s; }
.hero__cloud--four { --cloud-top: 58px; --cloud-width: clamp(120px, 14vw, 220px); --cloud-opacity: .28; --cloud-duration: 64s; --cloud-scale: .78; animation-delay: -48s; }
.hero__cloud--five { --cloud-top: clamp(154px, 21vh, 232px); --cloud-width: clamp(250px, 32vw, 500px); --cloud-opacity: .18; --cloud-duration: 122s; --cloud-scale: 1; animation-delay: -92s; }
@keyframes cloud-drift {
  from { transform: translate3d(-115%, 0, 0) scale(var(--cloud-scale, 1)); }
  to { transform: translate3d(172vw, 0, 0) scale(var(--cloud-scale, 1)); }
}
@keyframes cloud-wisp-drift {
  from { transform: translate3d(-8vw, 0, 0); }
  to { transform: translate3d(10vw, 0, 0); }
}


.stage-bar {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 10px max(10px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-right));
  gap: 8px;
  background: linear-gradient(180deg, rgba(16, 32, 17, 0), rgba(16, 32, 17, .86) 23%, rgba(16, 32, 17, .98));
}
.stage-button {
  min-height: clamp(62px, 8.5vh, 86px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 24px;
  color: var(--cream);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(16px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: clamp(10px, 1.6vw, 18px);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.stage-button:hover { transform: translateY(-2px); border-color: var(--cream); }
.stage-button:focus-visible { outline: 3px solid var(--green-300); outline-offset: 3px; }
.stage-button.is-active {
  color: var(--green-950);
  /* Унифицированный градиент: кремовый и два зелёных оттенка */
  background: linear-gradient(135deg, var(--mortadel-cream), var(--green-300) 52%, var(--green-600));
  border-color: var(--cream);
  box-shadow: 0 16px 44px rgba(89, 137, 39, .34);
}
.stage-button__label {
  font-size: clamp(14px, 1.8vw, 23px);
  font-weight: 950;
}

/* Veteran-Agro: red button variant used on the stage bar (leftmost) */
.stage-button--veteran {
  background: linear-gradient(135deg, var(--mortadel-red), #c30d1f);
  border-color: rgba(255,255,255,0.06);
  color: var(--cream);
  box-shadow: 0 12px 36px rgba(237,16,35,.24);
}
.stage-button--veteran:hover { transform: translateY(-2px); filter: brightness(.98); border-color: var(--cream); }
.stage-button--veteran:focus-visible { outline: 3px solid rgba(237,16,35,.9); outline-offset: 3px; }


.about {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: clamp(72px, 10vw, 138px) clamp(18px, 4vw, 64px);
  background:
    radial-gradient(circle at 8% 8%, rgba(213, 232, 163, .22), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(118, 172, 58, .26), transparent 31%),
    linear-gradient(135deg, #102011 0%, #19351b 48%, #0b160c 100%);
  color: var(--white);
}
.about::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: clamp(28px, 4vw, 52px);
  pointer-events: none;
}
.about__shell {
  position: relative;
  z-index: 1;
  /* Единая максимальная ширина для всех оболочек секций */
  /* Используем унифицированную ширину секции. Значение берётся из
     переменной --section-shell, которая управляется глобальными
     переменными. */
  width: var(--section-shell);
  margin: 0 auto;
}
.about__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 9px 14px;
  border: 1px solid rgba(213, 232, 163, .32);
  border-radius: 999px;
  color: var(--green-300);
  background: rgba(255, 255, 255, .07);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 850;
}
.about__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  /* Используем унифицированные зелёные оттенки */
  background: var(--green-300);
  box-shadow: 0 0 24px rgba(213, 232, 163, .9);
}
.about__grid {
  display: grid;
  /* Применяем общий набор колонок и промежутков для intro‑секций,
     чтобы выровнять структуру по всему сайту. */
  grid-template-columns: var(--intro-columns);
  gap: var(--intro-gap);
  align-items: start;
}
.about__copy h2 {
  max-width: 650px;
  margin: 0 0 22px;
  font-size: clamp(38px, 5.1vw, 68px);
  line-height: .88;
  letter-spacing: -.07em;
}
.about__lead,
.about__support {
  max-width: 660px;
  margin: 0;
  color: var(--cream);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.45;
}
.about__support {
  margin-top: 18px;
  padding-left: 18px;
  border-left: 3px solid rgba(191, 227, 107, .72);
  color: var(--cream);
  font-size: clamp(15px, 1.28vw, 18px);
}
.about__lead--mobile { display: none; }
.about__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.stat-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)),
    rgba(255, 255, 255, .07);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
  backdrop-filter: blur(18px);
  transform: translateY(18px) scale(.98);
  opacity: .01;
}
.about.is-visible .stat-card {
  animation: card-rise .72s cubic-bezier(.2, .8, .2, 1) forwards;
}
.about.is-visible .stat-card:nth-child(1) { animation-delay: .06s; }
.about.is-visible .stat-card:nth-child(2) { animation-delay: .14s; }
.about.is-visible .stat-card:nth-child(3) { animation-delay: .22s; }
.about.is-visible .stat-card:nth-child(4) { animation-delay: .30s; }
.stat-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -48% 26%;
  height: 135px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 227, 107, .48), transparent 68%);
  filter: blur(10px);
}
.stat-card--wide {
  grid-column: span 2;
  min-height: 235px;
  background:
    linear-gradient(128deg, rgba(245, 255, 214, .24), rgba(118, 172, 58, .13) 48%, rgba(255, 255, 255, .07)),
    rgba(255, 255, 255, .08);
}
.stat-card__label,
.stat-card__hint {
  position: relative;
  z-index: 1;
  display: block;
}
.stat-card__label {
  margin-bottom: 22px;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12px;
  font-weight: 900;
}
.stat-card strong {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  /* Текст на карточке теперь использует унифицированный светлый оттенок */
  color: var(--cream);
  font-size: clamp(60px, 8vw, 122px);
  line-height: .82;
  letter-spacing: -.08em;
  text-shadow: 0 0 42px rgba(191, 227, 107, .24);
}
.stat-card:not(.stat-card--wide) strong { font-size: clamp(48px, 5.6vw, 82px); }
.stat-card small {
  font-size: .26em;
  letter-spacing: -.02em;
  color: var(--cream);
}
.stat-card__hint {
  margin-top: 20px;
  color: var(--cream);
  font-size: 15px;
  line-height: 1.35;
}
.residency {
  display: grid;
  grid-template-columns: minmax(220px, .34fr) 1fr;
  gap: clamp(20px, 4vw, 54px);
  margin-top: clamp(28px, 5vw, 64px);
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(213, 232, 163, .18);
  border-radius: 34px;
  background: rgba(255, 248, 232, .08);
}
.residency__title {
  /* Заголовок резидентства использует общий кремовый цвет */
  color: var(--cream);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.04em;
}
.residency__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.residency__list li {
  position: relative;
  min-height: 76px;
  padding: 16px 16px 16px 42px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .08);
  color: var(--cream);
  line-height: 1.35;
}
.residency__list li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  /* Маркеры списка теперь используют единый зелёный оттенок */
  background: var(--green-300);
  box-shadow: 0 0 22px rgba(213, 232, 163, .62);
}
@keyframes card-rise {
  to { opacity: 1; transform: translateY(0) scale(1); }
}


.team {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 9vw, 132px) clamp(18px, 4vw, 64px);
  color: var(--brand-blue);
  background:
    radial-gradient(circle at 10% 8%, rgba(237, 16, 35, .10), transparent 28%),
    radial-gradient(circle at 90% 14%, rgba(77, 124, 50, .16), transparent 30%),
    /* Унифицированный бежево‑зелёный градиент */
    linear-gradient(135deg, var(--cream) 0%, var(--mortadel-cream) 52%, var(--mortadel-cream) 100%);
}
.team::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(5, 35, 67, .12);
  border-radius: clamp(28px, 4vw, 52px);
  pointer-events: none;
}
.team__shell {
  position: relative;
  z-index: 1;
  /* Используем ту же максимальную ширину, что и для других секций */
  width: var(--section-shell);
  margin: 0 auto;
}
.team__intro {
  display: grid;
  /* Применяем единые размеры колонок и промежутков через
     глобальные переменные. Для колонки с текстом оставляем
     ограничение minmax(280px) для лучшей читаемости на малых экранах. */
  grid-template-columns: var(--intro-columns);
  gap: var(--intro-gap);
  align-items: end;
  margin-bottom: var(--intro-margin-bottom);
}
.team__eyebrow {
  color: var(--mortadel-red);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 900;
}
.team__intro h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: .88;
  letter-spacing: -.07em;
}
.team__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .42fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: stretch;
}
.team__story,
.team__founder {
  border: 1px solid rgba(5, 35, 67, .12);
  border-radius: clamp(26px, 3vw, 38px);
  box-shadow: 0 24px 70px rgba(42, 20, 10, .12);
}
.team__story {
  padding: clamp(24px, 4vw, 44px);
  background: rgba(255, 255, 255, .50);
}
.team__story p {
  max-width: 860px;
  margin: 0;
  color: rgba(5, 35, 67, .78);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.55;
}
.team__story p + p { margin-top: 18px; }
.team__lead {
  color: var(--brand-blue) !important;
  font-size: clamp(21px, 2vw, 30px) !important;
  line-height: 1.22 !important;
  font-weight: 850;
  letter-spacing: -.035em;
}
.team__founder {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  padding: clamp(24px, 3vw, 34px);
  color: var(--cream);
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 255, 255, .22), transparent 24%),
    linear-gradient(145deg, #052343 0%, #183019 58%, #102011 100%);
}
.team__founder::before {
  content: "1991";
  position: absolute;
  top: clamp(18px, 3vw, 32px);
  right: clamp(18px, 3vw, 32px);
  color: rgba(255, 248, 232, .12);
  font-size: clamp(64px, 7vw, 116px);
  line-height: .8;
  font-weight: 950;
  letter-spacing: -.08em;
}
.team__founder-label {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(237, 16, 35, .92);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 900;
}
.team__founder strong,
.team__founder p {
  position: relative;
  z-index: 1;
}
.team__founder strong {
  display: block;
  max-width: 360px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: .98;
  letter-spacing: -.055em;
}
.team__founder p {
  margin: 14px 0 0;
  color: var(--cream);
  font-size: 16px;
  line-height: 1.35;
}


.support {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 9vw, 132px) clamp(18px, 4vw, 64px);
  background:
    radial-gradient(circle at 12% 12%, rgba(237, 16, 35, .10), transparent 29%),
    radial-gradient(circle at 88% 6%, rgba(77, 124, 50, .18), transparent 32%),
    /* Унифицированный бежевый градиент */
    linear-gradient(135deg, var(--cream) 0%, var(--mortadel-cream) 56%, var(--mortadel-cream) 100%);
  color: var(--brand-blue);
}
.support::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(5, 35, 67, .12);
  border-radius: clamp(28px, 4vw, 52px);
  pointer-events: none;
}
.support__shell {
  position: relative;
  z-index: 1;
  width: var(--section-shell);
  margin: 0 auto;
}
.support__intro {
  display: grid;
  /* Унификация размеров intro: колонки, промежутки и отступы задаются
     глобальными переменными для одинакового поведения по всему сайту. */
  grid-template-columns: var(--intro-columns);
  gap: var(--intro-gap);
  align-items: end;
  margin-bottom: var(--intro-margin-bottom);
}
.support__eyebrow {
  grid-column: 1 / -1;
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(237, 16, 35, .24);
  border-radius: 999px;
  color: var(--mortadel-red);
  background: rgba(255, 255, 255, .42);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 900;
}
.support__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mortadel-red);
  box-shadow: 0 0 24px rgba(237, 16, 35, .48);
}
.support__intro h2 {
  margin: 0;
  max-width: 640px;
  font-size: clamp(36px, 5.4vw, 76px);
  line-height: .9;
  letter-spacing: -.075em;
}
.support__intro p {
  margin: 0;
  color: rgba(5, 35, 67, .74);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.45;
}
.support__note {
  margin-top: 14px !important;
  padding-left: 18px;
  border-left: 3px solid rgba(237, 16, 35, .44);
  font-size: clamp(14px, 1.08vw, 16px) !important;
  color: rgba(5, 35, 67, .62) !important;
}
.support__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(20px, 3.6vw, 46px);
  align-items: start;
}
.support-accordion {
  border-top: 1px solid rgba(5, 35, 67, .18);
}
.support-accordion__item {
  border-bottom: 1px solid rgba(5, 35, 67, .18);
}
.support-accordion__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 0;
  cursor: pointer;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: .075em;
  font-size: clamp(15px, 1.28vw, 19px);
  font-weight: 950;
}
.support-accordion__item summary::-webkit-details-marker { display: none; }
.support-accordion__item summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--mortadel-red);
  background: rgba(255, 255, 255, .52);
  box-shadow: inset 0 0 0 1px rgba(237, 16, 35, .20);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s ease, background .2s ease;
}
.support-accordion__item[open] summary::after {
  content: "×";
  transform: rotate(90deg);
  background: rgba(237, 16, 35, .10);
}
.support-accordion__item summary:focus-visible {
  outline: 3px solid rgba(237, 16, 35, .34);
  outline-offset: 5px;
  border-radius: 16px;
}
.support-accordion__body {
  padding: 0 56px 24px 0;
  color: rgba(5, 35, 67, .72);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.5;
}
.support-accordion__body ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.support-accordion__body li {
  position: relative;
  padding-left: 22px;
}
.support-accordion__body li::before {
  content: "";
  position: absolute;
  top: .66em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mortadel-red);
  box-shadow: 0 0 18px rgba(237, 16, 35, .32);
}
.support__doctrine {
  position: sticky;
  top: 104px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 34px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(5, 35, 67, .12), rgba(5, 35, 67, .86)),
    radial-gradient(circle at 70% 12%, rgba(191, 227, 107, .46), transparent 34%),
    linear-gradient(135deg, #244823, #102011);
  box-shadow: 0 24px 70px rgba(42, 20, 10, .18);
}
.support__doctrine::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 26px;
  pointer-events: none;
}

.support__flags {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: auto;
}
.support-flag {
  margin: 0;
  width: min(118px, 42%);
}
.support-flag picture,
.support-flag img {
  display: block;
}
.support-flag img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 22px;
  background: #36317e;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, .26),
    inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.support-flag figcaption {
  margin-top: 9px;
  color: var(--cream);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.support__doctrine span,
.support__doctrine strong,
.support__doctrine p {
  position: relative;
  z-index: 1;
}
.support__doctrine span {
  color: var(--green-300);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 900;
}
.support__doctrine strong {
  max-width: 260px;
  color: var(--cream);
  font-size: clamp(28px, 3vw, 40px);
  line-height: .95;
  letter-spacing: -.06em;
}
.support__doctrine p {
  margin: 0;
  color: var(--cream);
  line-height: 1.45;
}


.genplan {
  position: relative;
  padding: clamp(82px, 9vw, 126px) 24px clamp(76px, 8vw, 116px);
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(circle at 8% 12%, rgba(213, 232, 163, .20), transparent 31%),
    linear-gradient(180deg, #102011 0%, #183019 100%);
}
.genplan::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(213, 232, 163, .15);
  border-radius: 42px;
  pointer-events: none;
}
.genplan__shell {
  position: relative;
  z-index: 1;
  /*
   * Используем унифицированную ширину секции. Значение берётся из
   * переменной --section-shell (см. корневые переменные), что позволяет
   * управлять общей шириной из одного места и держит генплан в одном
   * масштабе с другими блоками.
   */
  width: var(--section-shell);
  margin: 0 auto;
}
.genplan__intro {
  display: grid;
  /*
   * Для унификации колонок, промежутков и отступов используем
   * глобальные переменные. Это позволяет легко контролировать
   * размеры для всех похожих интро‑групп и уменьшает различия
   * между блоками сайта.
   */
  grid-template-columns: var(--intro-columns);
  gap: var(--intro-gap);
  align-items: end;
  margin-bottom: var(--intro-margin-bottom);
}
.genplan__eyebrow {
  grid-column: 1 / -1;
  color: var(--green-300);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 900;
}
.genplan__intro h2 {
  margin: 0;
  max-width: 760px;
  color: var(--cream);
  font-size: clamp(46px, 7vw, 92px);
  line-height: .88;
  letter-spacing: -.07em;
}

.genplan__map-link {
  color: var(--green-300);
  text-decoration-color: var(--cream);
  text-decoration-thickness: .07em;
  text-underline-offset: .11em;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.genplan__map-link:hover {
  color: var(--cream);
  text-decoration-color: var(--mortadel-red);
}
.genplan__map-link:focus-visible {
  outline: 3px solid rgba(213, 232, 163, .38);
  outline-offset: 6px;
  border-radius: 10px;
}
.genplan__intro p {
  margin: 0;
  color: var(--cream);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.48;
}
.genplan__map {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: clamp(26px, 4vw, 44px);
  background: #132513;
  box-shadow: 0 34px 90px rgba(4, 12, 5, .42);
}
.genplan__map picture,
.genplan__map img,
.genplan__video {
  display: block;
  width: 100%;
}
.genplan__video {
  position: relative;
  z-index: 0;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #132513;
  filter: saturate(1.05) contrast(1.03);
}
.genplan__map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16, 32, 17, .04), rgba(16, 32, 17, .24)),
    radial-gradient(circle at 76% 26%, rgba(213, 232, 163, .13), transparent 32%);
}
.genplan__plot-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.neighbor {
  position: relative;
  padding: clamp(82px, 9vw, 126px) 24px clamp(78px, 8vw, 118px);
  overflow: hidden;
  color: var(--green-950);
  background:
    radial-gradient(circle at 86% 12%, rgba(237, 16, 35, .10), transparent 30%),
    radial-gradient(circle at 14% 82%, rgba(77, 124, 50, .14), transparent 34%),
    /* Унифицированный бежевый градиент */
    linear-gradient(180deg, var(--cream) 0%, var(--mortadel-cream) 100%);
}
.neighbor::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(16, 32, 17, .12);
  border-radius: 42px;
  pointer-events: none;
}
.neighbor__shell {
  position: relative;
  z-index: 1;
  width: var(--section-shell);
  margin: 0 auto;
}
.neighbor__intro {
  display: grid;
  /* Используем глобальные переменные для унифицированных колонок,
     промежутков и отступов. Это сокращает количество магических
     чисел и делает соседние блоки схожими по структуре. */
  grid-template-columns: var(--intro-columns);
  gap: var(--intro-gap);
  align-items: end;
  margin-bottom: var(--intro-margin-bottom);
}
.neighbor__eyebrow {
  grid-column: 1 / -1;
  color: var(--mortadel-red);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 950;
}
.neighbor__intro h2 {
  margin: 0;
  max-width: 790px;
  color: var(--green-950);
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: .9;
  letter-spacing: -.07em;
}
.neighbor__intro p {
  margin: 0;
  color: rgba(16, 32, 17, .72);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.5;
}
.neighbor__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(18px, 3vw, 28px);
}
.neighbor-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(16, 32, 17, .12);
  background: rgba(255, 255, 255, .56);
  box-shadow: 0 28px 70px rgba(44, 26, 10, .13);
}
.neighbor-card--housing::after {
  content: "";
  position: absolute;
  right: -76px;
  bottom: -92px;
  width: 270px;
  height: 270px;
  border-radius: 42% 58% 48% 52%;
  background:
    linear-gradient(135deg, rgba(77, 124, 50, .20), rgba(213, 232, 163, .34));
  transform: rotate(-12deg);
}
.neighbor-card--river {
  color: var(--cream);
  border-color: rgba(255, 248, 232, .16);
  background:
    radial-gradient(circle at 82% 12%, rgba(213, 232, 163, .22), transparent 32%),
    linear-gradient(145deg, #102011 0%, #183019 58%, #244823 100%);
  box-shadow: 0 32px 82px rgba(4, 12, 5, .30);
}
.neighbor-card--river::after {
  content: "";
  position: absolute;
  left: -18%;
  right: -18%;
  bottom: 34px;
  height: 92px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(180, 219, 215, .30), rgba(213, 232, 163, .18), transparent);
  transform: rotate(-7deg);
  filter: blur(.2px);
}
.neighbor-card__topline,
.neighbor-card h3,
.neighbor-card p,
.neighbor-card__list,
.neighbor-card__features {
  position: relative;
  z-index: 1;
}
.neighbor-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: clamp(28px, 5vw, 62px);
}
.neighbor-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--green-950);
  background: var(--green-300);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -.05em;
}
.neighbor-card--housing .neighbor-card__badge {
  color: var(--cream);
  background: var(--mortadel-red);
}
.neighbor-card__label {
  color: rgba(16, 32, 17, .58);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 900;
  text-align: right;
}
.neighbor-card--river .neighbor-card__label { color:var(--cream); }
.neighbor-card h3 {
  margin: 0 0 18px;
  max-width: 520px;
  color: inherit;
  font-size: clamp(31px, 4vw, 54px);
  line-height: .92;
  letter-spacing: -.06em;
}
.neighbor-card p {
  margin: 0;
  max-width: 620px;
  color: rgba(16, 32, 17, .74);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.48;
}
.neighbor-card--river p { color: var(--cream); }
.neighbor-card__list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(16, 32, 17, .76);
  line-height: 1.42;
}
.neighbor-card__list li {
  position: relative;
  padding-left: 24px;
}
.neighbor-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mortadel-red);
  box-shadow: 0 0 0 6px rgba(237, 16, 35, .10);
}
.neighbor-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.neighbor-card__features span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(213, 232, 163, .28);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(255, 248, 232, .08);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}


@media (max-width: 980px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__stats { max-width: 760px; }
  .residency { grid-template-columns: 1fr; }
}



@media (max-width: 980px) {
  .genplan__intro,
  .neighbor__intro,
  .neighbor__grid { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 760px) {
  .genplan,
  .neighbor { padding: 58px 14px 52px; }
  .genplan::before,
  .neighbor::before { inset: 10px; border-radius: 28px; }
  .genplan__intro,
  .neighbor__intro { margin-bottom: 24px; }
  .genplan__eyebrow,
  .neighbor__eyebrow { font-size: 10px; letter-spacing: .12em; }
  .genplan__intro h2,
  .neighbor__intro h2 { font-size: clamp(34px, 11vw, 48px); line-height: .92; }
  .genplan__intro p,
  .neighbor__intro p { font-size: 15px; line-height: 1.38; }
  .genplan__map { border-radius: 24px; }
  .genplan__map img { min-height: 360px; object-position: center; }
  .neighbor-card { min-height: auto; padding: 22px; border-radius: 24px; }
  .neighbor-card__topline { align-items: flex-start; margin-bottom: 28px; }
  .neighbor-card__badge { min-width: 78px; min-height: 42px; font-size: 19px; }
  .neighbor-card h3 { font-size: clamp(30px, 9.4vw, 42px); }
  .neighbor-card p,
  .neighbor-card__list { font-size: 14px; line-height: 1.42; }
  .neighbor-card__features { margin-top: 24px; }
  .neighbor-card__features span { min-height: 34px; font-size: 10px; }
}

@media (max-width: 980px) {
  .team__intro,
  .team__content,
  .support__intro,
  .support__content,
  .feedback__intro { grid-template-columns: 1fr; }
  .support__doctrine { position: relative; top: auto; min-height: 280px; }
}

@media (max-width: 760px) {

  .team { padding: 58px 14px 52px; }
  .team::before { inset: 10px; border-radius: 28px; }
  .team__intro { gap: 18px; margin-bottom: 24px; }
  .team__eyebrow { font-size: 10px; letter-spacing: .12em; }
  .team__intro h2 { font-size: clamp(34px, 11vw, 48px); line-height: .92; }
  .team__story { padding: 20px; border-radius: 24px; }
  .team__story p { font-size: 14px; line-height: 1.42; }
  .team__story p + p { margin-top: 13px; }
  .team__lead { font-size: 19px !important; line-height: 1.18 !important; }
  .team__founder { min-height: 244px; padding: 22px; border-radius: 24px; }
  .team__founder::before { font-size: 70px; }
  .team__founder strong { font-size: 30px; }
  .team__founder p { font-size: 14px; }

  .support { padding: 58px 14px 52px; }
  .support::before { inset: 10px; border-radius: 28px; }
  .support__intro { gap: 18px; margin-bottom: 24px; }
  .support__eyebrow { font-size: 10px; letter-spacing: .12em; }
  .support__intro h2 { font-size: clamp(31px, 10.2vw, 43px); line-height: .92; }
  .support__intro p { font-size: 15px; line-height: 1.38; }
  .support__note { padding-left: 12px; font-size: 12px !important; }
  .support-accordion__item summary { padding: 18px 0; gap: 14px; font-size: 13px; line-height: 1.22; letter-spacing: .045em; }
  .support-accordion__item summary::after { width: 32px; height: 32px; font-size: 25px; }
  .support-accordion__body { padding: 0 0 18px; font-size: 13px; line-height: 1.38; }
  .support-accordion__body ul { gap: 8px; }
  .support__doctrine { min-height: 260px; padding: 22px; border-radius: 24px; }
  .support__flags { gap: 10px; }
  .support-flag { width: min(96px, 44%); }
  .support-flag img { border-radius: 18px; }
  .support-flag figcaption { font-size: 9px; letter-spacing: .06em; }
  .support__doctrine strong { font-size: 28px; }
  .support__doctrine p { font-size: 13px; }
}


@media (max-width: 760px) {
  body { overflow-x: hidden; overflow-y: auto; }
  .about {
    min-height: auto;
    padding: 58px 14px 52px;
  }
  .about::before { inset: 10px; border-radius: 28px; }
  .about__eyebrow { margin-bottom: 16px; font-size: 10px; letter-spacing: .12em; }
  .about__copy h2 {
    max-width: 360px;
    margin-bottom: 14px;
    font-size: clamp(31px, 10.4vw, 42px);
    line-height: .92;
  }
  .about__lead--full { display: none; }
  .about__lead--mobile { display: block; }
  .about__lead { font-size: 16px; line-height: 1.34; }
  .about__support {
    margin-top: 14px;
    padding-left: 12px;
    font-size: 13px;
    line-height: 1.36;
  }
  .about__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .stat-card,
  .stat-card--wide {
    min-height: 132px;
    padding: 15px;
    border-radius: 22px;
  }
  .stat-card--wide { grid-column: span 2; min-height: 150px; }
  .stat-card__label { margin-bottom: 16px; font-size: 9px; letter-spacing: .11em; }
  .stat-card strong { font-size: clamp(56px, 18vw, 78px); gap: 6px; }
  .stat-card:not(.stat-card--wide) strong { font-size: clamp(37px, 12vw, 52px); }
  .stat-card__hint { margin-top: 12px; font-size: 12px; }
  .residency {
    margin-top: 20px;
    padding: 14px;
    border-radius: 24px;
  }
  .residency__title { font-size: 21px; }
  .residency__list { grid-template-columns: 1fr; gap: 8px; }
  .residency__list li {
    min-height: auto;
    padding: 12px 12px 12px 34px;
    font-size: 13px;
    line-height: 1.25;
  }
  .residency__list li::before { top: 17px; left: 15px; width: 8px; height: 8px; }
}

@media (max-width: 420px) {
  .about__stats { gap: 7px; }
  .stat-card,
  .stat-card--wide { padding: 13px; border-radius: 18px; }
  .stat-card__hint { font-size: 11px; }
}

@media (max-width: 760px) {
  body { overflow-x: hidden; overflow-y: auto; }
  .hero__image {
    object-position: 70% center;
  }
  .hero__content {
    top: 16px;
    bottom: auto;
    left: 50%;
    right: auto;
    width: auto;
    padding: 15px;
    border-radius: 22px;
    transform: translateX(-50%);
    text-align: center;
  }
  .hero__content > strong {
    display: none;
  }
  .hero__title {
    font-size: clamp(36px, 12vw, 54px);
    line-height: .9;
  }
  .hero__facts {
    gap: 7px;
    margin-top: 12px;
    display: none;
  }
  .hero__facts p {
    padding-left: 18px;
    font-size: clamp(13px, 3.6vw, 16px);
    line-height: 1.24;
  }
  .hero__facts p::before {
    top: .58em;
    width: 7px;
    height: 7px;
  }
  .hero__clouds {
    height: clamp(128px, 22vh, 210px);
    opacity: .84;
  }
  .hero__clouds::before { top: 18px; height: 44px; opacity: .30; filter: blur(18px); }
  .hero__clouds::after { top: 92px; height: 34px; opacity: .22; filter: blur(22px); }
  .hero__cloud--one { --cloud-top: 34px; --cloud-width: clamp(120px, 34vw, 170px); --cloud-opacity: .30; --cloud-scale: .82; }
  .hero__cloud--two { --cloud-top: 78px; --cloud-width: clamp(160px, 46vw, 230px); --cloud-opacity: .26; --cloud-scale: .78; }
  .hero__cloud--three { --cloud-top: 112px; --cloud-width: clamp(108px, 30vw, 150px); --cloud-opacity: .22; --cloud-scale: .72; }
  .hero__cloud--four { --cloud-top: 52px; --cloud-width: clamp(96px, 26vw, 132px); --cloud-opacity: .18; --cloud-scale: .66; }
  .hero__cloud--five { --cloud-top: 132px; --cloud-width: clamp(190px, 54vw, 270px); --cloud-opacity: .14; }
  .stage-bar {
    width: 100vw;
    gap: 5px;
    padding: 7px max(6px, env(safe-area-inset-left)) max(7px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-right));
  }
  .stage-button {
    min-height: 64px;
    border-radius: 16px;
    gap: 4px;
    padding: 9px 6px;
  }
  .stage-button__label { font-size: clamp(9px, 2.75vw, 15px); letter-spacing: 0; overflow-wrap: anywhere; }
}

/* Mobile tweak: allow wrapping and slightly smaller font for very narrow screens */
@media (max-width: 420px) {
  .stage-bar .stage-button__label {
    font-size: 8px !important;
    line-height: 1.02 !important;
    /* allow normal wrapping so words break naturally */
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    hyphens: auto !important;
    min-width: 0 !important;
  }
  .stage-bar .stage-button {
    padding: 3px 6px !important;
    min-height: 42px !important;
    gap: 4px !important;
    min-width: 0 !important;
  }
}

@media (max-height: 580px) {
  .stage-button { min-height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__image { transform: none; }
  .hero__clouds::before,
  .hero__clouds::after,
  .hero__cloud { animation: none !important; }
  .hero__cloud { transform: translate3d(20vw, 0, 0) scale(var(--cloud-scale, 1)); }
}

/* task12: единая система секций после hero.
   Правится централизованно: палитры секций, общий shell, eyebrow, h2, карточки и mobile ниже. */
.about,
.team,
.support,
.genplan,
.neighbor {
  --section-pad-y: clamp(72px, 10vw, 138px);
  --section-pad-x: clamp(18px, 4vw, 64px);
  /* Привязываем ширину к глобальной переменной, чтобы управлять
     максимальным размером сайта из одного места. */
  --section-shell: min(var(--section-max-width), 100%);
  --section-radius: clamp(28px, 4vw, 52px);
  --section-card-radius: 32px;
  --section-card-pad: clamp(22px, 3vw, 34px);
  --section-gap: clamp(24px, 4vw, 52px);
  --section-border-inset: 22px;
  --section-title: clamp(38px, 5.1vw, 68px);
  --section-lead: clamp(18px, 1.8vw, 24px);
  position: relative;
  overflow: hidden;
  padding: var(--section-pad-y) var(--section-pad-x);
  color: var(--section-fg);
  background: var(--section-bg);
}

.about,
.support,
.neighbor {
  --section-fg: var(--white);
  --section-muted: rgba(255, 255, 255, .78);
  --section-soft: rgba(255, 248, 232, .82);
  --section-accent: var(--green-300);
  --section-accent-strong: var(--green-300);
  --section-border: rgba(255, 255, 255, .10);
  --section-card-border: rgba(255, 255, 255, .14);
  --section-card-bg: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)), rgba(255, 255, 255, .07);
  --section-card-shadow: 0 24px 70px rgba(0, 0, 0, .24);
  --section-bg: radial-gradient(circle at 8% 8%, rgba(213, 232, 163, .22), transparent 28%), radial-gradient(circle at 88% 18%, rgba(118, 172, 58, .26), transparent 31%), linear-gradient(135deg, #102011 0%, #19351b 48%, #0b160c 100%);
}

/* Feedback section inherits the dark theme used for about/support/neighbor.
   It defines its own background gradient while reusing the same variable
   defaults for foreground, muted text and accents. */
.feedback {
  --section-pad-y: clamp(72px, 10vw, 138px);
  --section-pad-x: clamp(18px, 4vw, 64px);
  --section-shell: min(var(--section-max-width), 100%);
  --section-radius: clamp(28px, 4vw, 52px);
  --section-card-radius: 32px;
  --section-card-pad: clamp(22px, 3vw, 34px);
  --section-gap: clamp(24px, 4vw, 52px);
  --section-border-inset: 22px;
  --section-title: clamp(38px, 5.1vw, 68px);
  --section-lead: clamp(18px, 1.8vw, 24px);
  --section-fg: var(--white);
  --section-muted: rgba(255, 255, 255, .78);
  --section-soft: rgba(255, 248, 232, .82);
  --section-accent: var(--green-300);
  --section-accent-strong: var(--green-300);
  --section-border: rgba(255, 255, 255, .10);
  --section-card-border: rgba(255, 255, 255, .14);
  --section-card-bg: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)), rgba(255, 255, 255, .07);
  --section-card-shadow: 0 24px 70px rgba(0, 0, 0, .24);
  /* Для слайда обратной связи используем полностью непрозрачный фон без прозрачных радиальных градиентов, чтобы предыдущие слайды
     не просвечивали в презентационном режиме. */
  --section-bg: linear-gradient(135deg, #102011 0%, #19351b 50%, #0b160c 100%);

  position: relative;
  overflow: hidden;
  padding: var(--section-pad-y) var(--section-pad-x);
  color: var(--section-fg);
  background: var(--section-bg);
}
.feedback::before {
  content: "";
  position: absolute;
  inset: var(--section-border-inset);
  border: 1px solid var(--section-border);
  border-radius: var(--section-radius);
  pointer-events: none;
}
.feedback__shell {
  position: relative;
  z-index: 1;
  width: var(--section-shell);
  margin: 0 auto;
}
.feedback__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 9px 14px;
  border: 1px solid rgba(213, 232, 163, .32);
  border-radius: 999px;
  color: var(--green-300);
  background: rgba(255, 255, 255, .07);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 850;
}
.feedback__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-300);
  box-shadow: 0 0 24px rgba(213, 232, 163, .9);
}
.feedback__intro {
  display: grid;
  grid-template-columns: var(--intro-columns);
  gap: var(--intro-gap);
  align-items: end;
  margin-bottom: var(--intro-margin-bottom);
}
.feedback__intro h2 {
  margin: 0;
  max-width: 780px;
  font-size: var(--section-title);
  line-height: .88;
  letter-spacing: -.07em;
}
.feedback__intro p {
  margin: 0;
  max-width: 640px;
  color: var(--section-muted);
  font-size: var(--section-lead);
  line-height: 1.45;
}
.feedback__form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 4vw, 38px);
  margin-top: var(--section-gap);
}
.feedback__field {
  display: flex;
  flex-direction: column;
}
.feedback__field--full {
  grid-column: 1 / -1;
}
.feedback__field label {
  margin-bottom: 6px;
  color: var(--section-soft);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
}
.feedback__field input,
.feedback__field textarea {
  appearance: none;
  width: 100%;
  border: 1px solid var(--section-card-border);
  border-radius: 18px;
  background: var(--green-900);
  color: var(--white);
  padding: 14px 18px;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  resize: vertical;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.feedback__field input:focus,
.feedback__field textarea:focus {
  outline: none;
  border-color: var(--section-accent);
  box-shadow: 0 0 0 2px rgba(213, 232, 163, .32);
}
.feedback__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--section-muted);
  font-size: 14px;
  line-height: 1.4;
}
.feedback__consent input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid var(--section-card-border);
  border-radius: 4px;
  background: var(--green-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.feedback__consent input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  transform: scale(0);
  background: var(--section-accent);
  transition: transform .18s ease;
}
.feedback__consent input[type="checkbox"]:checked::before {
  transform: scale(1);
}
.feedback__consent a {
  color: var(--section-accent);
  text-decoration: underline;
  transition: color .18s ease;
}
.feedback__consent a:hover,
.feedback__consent a:focus-visible {
  color: var(--section-accent-strong);
}
.feedback__submit {
  grid-column: 1 / -1;
  justify-self: start;
  appearance: none;
  border: none;
  border-radius: 24px;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--green-600), var(--green-300) 60%, var(--green-300));
  color: var(--green-950);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(118, 172, 58, .24);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.feedback__submit:hover {
  transform: translateY(-2px);
  background: var(--green-300);
}
.feedback__submit:focus-visible {
  outline: 3px solid rgba(213, 232, 163, .72);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .feedback__form {
    grid-template-columns: 1fr;
  }
  .feedback__submit {
    width: 100%;
    justify-self: stretch;
    text-align: center;
  }
}

.team,
.genplan {
  --section-fg: var(--brand-blue);
  --section-muted: rgba(5, 35, 67, .74);
  --section-soft: rgba(5, 35, 67, .62);
  --section-accent: var(--mortadel-red);
  --section-accent-strong: var(--mortadel-red);
  --section-border: rgba(5, 35, 67, .12);
  --section-card-border: rgba(5, 35, 67, .12);
  --section-card-bg: rgba(255, 255, 255, .52);
  --section-card-shadow: 0 24px 70px rgba(42, 20, 10, .12);
  --section-bg: radial-gradient(circle at 10% 8%, rgba(237, 16, 35, .10), transparent 28%), radial-gradient(circle at 90% 14%, rgba(77, 124, 50, .16), transparent 30%), linear-gradient(135deg, var(--cream) 0%, var(--mortadel-cream) 52%, var(--mortadel-cream) 100%);
}

.about::before,
.team::before,
.support::before,
.genplan::before,
.neighbor::before {
  content: "";
  position: absolute;
  inset: var(--section-border-inset);
  border: 1px solid var(--section-border);
  border-radius: var(--section-radius);
  pointer-events: none;
}

.about__shell,
.team__shell,
.support__shell,
.genplan__shell,
.neighbor__shell {
  position: relative;
  z-index: 1;
  width: var(--section-shell);
  max-width: none;
  margin: 0 auto;
}

.about__eyebrow,
.team__eyebrow,
.support__eyebrow,
.genplan__eyebrow,
.neighbor__eyebrow {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 9px 14px;
  border: 1px solid color-mix(in srgb, var(--section-accent) 34%, transparent);
  border-radius: 999px;
  color: var(--section-accent);
  background: color-mix(in srgb, var(--section-fg) 7%, transparent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 900;
}
.team__eyebrow,
.support__eyebrow,
.genplan__eyebrow,
.neighbor__eyebrow { grid-column: 1 / -1; }

.about__eyebrow::before,
.team__eyebrow::before,
.support__eyebrow::before,
.genplan__eyebrow::before,
.neighbor__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--section-accent-strong);
  box-shadow: 0 0 24px color-mix(in srgb, var(--section-accent-strong) 62%, transparent);
}

/*
 * Unify the structure of the intro sections across all major blocks.
 *
 * Each intro uses a two‑column grid on wide screens: the first column
 * holds the headline and supporting copy, the second column can host
 * supplementary content or just leave empty space for balance. On narrow
 * screens the grid collapses to a single column (see the media queries
 * below). Including the feedback section here ensures that its
 * typography and spacing match the other sections on mobile and
 * desktop.
 */
.about__grid,
.team__intro,
.support__intro,
.genplan__intro,
.neighbor__intro,
.feedback__intro {
  display: grid;
  /* two columns: flexible first column and capped second column */
  grid-template-columns: minmax(0, 1fr) minmax(460px, .96fr);
  gap: var(--section-gap);
  align-items: start;
}

/* task24 restructure: the team intro now only contains the heading, so
   simplify the grid to a single column and remove inter-column spacing. */
.team__intro {
  grid-template-columns: 1fr;
  gap: 0;
}


/*
 * Heading styles for each intro. By grouping them together we ensure
 * consistent sizing, line height and colour across the site. The
 * feedback heading was added here so it benefits from the same
 * typographic rules as the other sections. The max‑width prevents
 * excessively long line lengths on very wide screens.
 */
.about__copy h2,
.team__intro h2,
.support__intro h2,
.genplan__intro h2,
.neighbor__intro h2,
.feedback__intro h2 {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--section-fg);
  font-size: var(--section-title);
  line-height: .88;
  letter-spacing: -.07em;
}
.team__intro h2,
.genplan__intro h2 { grid-column: 1 / -1; }

/*
 * Body copy styles for paragraphs in the intro sections and other
 * supporting text. The feedback introduction paragraph is included
 * here to harmonise its font size and colour with the rest of the
 * site. A slightly increased line height aids readability.
 */
.about__lead,
.about__support,
.team__story p,
.support__intro p,
.genplan__intro p,
.neighbor__intro p,
.feedback__intro p,
.neighbor-card p,
.support-accordion__body,
.support__doctrine p {
  color: var(--section-muted);
  font-size: var(--section-lead);
  line-height: 1.45;
}
.about__support,
.support__note {
  border-left: 3px solid color-mix(in srgb, var(--section-accent-strong) 68%, transparent);
  color: var(--section-soft) !important;
}

.stat-card { opacity: 1; transform: translateY(0) scale(1); }
.stat-card,
.residency,
.team__story,
.team__founder,
.support-accordion,
.support__doctrine,
.genplan__map,
.neighbor-card {
  border: 1px solid var(--section-card-border);
  border-radius: var(--section-card-radius);
  background: var(--section-card-bg);
  box-shadow: var(--section-card-shadow);
}

.team__story,
.support-accordion,
.support__doctrine,
.neighbor-card { padding: var(--section-card-pad); }

.team__content,
.support__content,
.neighbor__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .92fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: stretch;
}
.support__content { grid-template-columns: minmax(0, 1fr) minmax(300px, .48fr); gap: var(--section-gap); align-items: start; }
.team__content { gap: var(--section-gap); }

.team__story p { max-width: 880px; }
.team__lead {
  color: var(--section-fg) !important;
  font-size: clamp(21px, 2vw, 30px) !important;
  line-height: 1.22 !important;
  font-weight: 850;
  letter-spacing: -.035em;
}
.team__founder {
  color: var(--cream);
  border-color: rgba(5, 35, 67, .12);
  background: radial-gradient(circle at 78% 16%, rgba(255, 255, 255, .22), transparent 24%), linear-gradient(145deg, #052343 0%, #183019 58%, #102011 100%);
}

.support-accordion { border-top: 0; }
.support-accordion__item { border-bottom: 1px solid color-mix(in srgb, var(--section-fg) 16%, transparent); }
.support-accordion__item:first-child { border-top: 0; }
.support-accordion__item:last-child { border-bottom: 0; }
.support-accordion__item summary {
  color: var(--section-fg);
  padding: 23px 0;
}
.support-accordion__item summary::after {
  color: var(--section-accent-strong);
  background: color-mix(in srgb, var(--section-fg) 8%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--section-accent-strong) 24%, transparent);
}
.support-accordion__item[open] summary::after { background: color-mix(in srgb, var(--section-accent-strong) 10%, transparent); }
.support-accordion__body { padding-right: 48px; font-size: clamp(15px, 1.1vw, 17px); }
.support-accordion__body li::before { background: var(--section-accent-strong); box-shadow: 0 0 18px color-mix(in srgb, var(--section-accent-strong) 34%, transparent); }
.support__doctrine {
  color: var(--cream);
  background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)), rgba(255, 255, 255, .07);
  backdrop-filter: blur(18px);
}
.support__doctrine span { color: var(--green-300); }
.support__doctrine strong { color: var(--cream); }
.support__doctrine p { color: var(--cream); font-size: 16px; }

.genplan__map {
  overflow: hidden;
  background: rgba(255, 255, 255, .50);
}
.genplan__map-link { color: var(--mortadel-red); text-decoration-color: rgba(237, 16, 35, .36); }
.genplan__map-link:hover,
.genplan__map-link:focus-visible { color: var(--brand-blue); text-decoration-color: var(--mortadel-red); }

.neighbor-card {
  min-height: 360px;
  /* Единый светлый цвет для акцентного текста */
  color: var(--cream);
  background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)), rgba(255, 255, 255, .07);
  backdrop-filter: blur(18px);
}
.neighbor-card--housing::after { background: radial-gradient(circle, rgba(191, 227, 107, .42), transparent 68%); }
.neighbor-card--river {
  /* Текст карточек соседей — кремовый */
  color: var(--cream);
  border-color: var(--section-card-border);
  background: linear-gradient(145deg, rgba(245, 255, 214, .20), rgba(118, 172, 58, .11)), rgba(255, 255, 255, .08);
  box-shadow: var(--section-card-shadow);
}
.neighbor-card__label,
.neighbor-card--river .neighbor-card__label { color: var(--cream); }
.neighbor-card h3 { color: var(--cream); }
.neighbor-card p,
.neighbor-card--river p,
.neighbor-card__list { color: var(--cream); }
.neighbor-card__badge,
.neighbor-card--housing .neighbor-card__badge {
  color: var(--green-950);
  background: var(--green-300);
}
.neighbor-card__list li::before { background: var(--green-300); box-shadow: 0 0 0 6px rgba(213, 232, 163, .12); }
.neighbor-card__features span { border-color: rgba(213, 232, 163, .28); color: var(--cream); background: rgba(255, 248, 232, .08); }

@media (max-width: 980px) {
  .about__grid,
  .team__intro,
  .support__intro,
  .genplan__intro,
  .neighbor__intro,
  .team__content,
  .support__content,
  .neighbor__grid {
    grid-template-columns: 1fr;
  }
  .about__stats { max-width: 760px; }
  .residency { grid-template-columns: 1fr; }
  .support__doctrine { position: relative; top: auto; min-height: 280px; }
}

@media (max-width: 760px) {
  .about,
  .team,
  .support,
  .genplan,
  .neighbor {
    --section-border-inset: 10px;
    /* Единое скругление карточек даже на мобайле */
    --section-card-radius: 32px;
    --section-card-pad: 20px;
    --section-pad-y: 58px;
    --section-pad-x: 14px;
    padding: var(--section-pad-y) var(--section-pad-x) 52px;
  }
  .about__eyebrow,
  .team__eyebrow,
  .support__eyebrow,
  .genplan__eyebrow,
  .neighbor__eyebrow { margin-bottom: 16px; font-size: 10px; letter-spacing: .12em; }
  .about__copy h2,
  .team__intro h2,
  .support__intro h2,
  .genplan__intro h2,
  .neighbor__intro h2 { font-size: clamp(31px, 10.4vw, 42px); line-height: .92; margin-bottom: 14px; }
  .about__lead,
  .about__support,
  .team__story p,
  .support__intro p,
  .genplan__intro p,
  .neighbor__intro p,
  .neighbor-card p { font-size: 15px; line-height: 1.36; }
  .team__intro,
  .support__intro,
  .genplan__intro,
  .neighbor__intro { margin-bottom: 24px; gap: 18px; }
  .team__story,
  .support-accordion,
  .support__doctrine,
  .neighbor-card { padding: var(--section-card-pad); border-radius: var(--section-card-radius); }
  .support-accordion__body { padding-right: 0; font-size: 13px; line-height: 1.38; }
  .neighbor-card { min-height: auto; }
}

/* task17: block for the «Ветеран-Агро» adaptation program. */
.veteran-program {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 138px) clamp(18px, 4vw, 64px);
  color: var(--cream);
  background:
    radial-gradient(circle at 12% 10%, rgba(237, 16, 35, .18), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(213, 232, 163, .24), transparent 32%),
    linear-gradient(135deg, #052343 0%, #102011 55%, #183019 100%);
}
.veteran-program::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 248, 232, .13);
  border-radius: clamp(28px, 4vw, 52px);
  pointer-events: none;
}
.veteran-program__shell {
  position: relative;
  z-index: 1;
  width: var(--section-shell);
  margin: 0 auto;
}
.veteran-program__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, .92fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  margin-bottom: clamp(30px, 5vw, 64px);
}
.veteran-program__eyebrow {
  grid-column: 1 / -1;
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 9px 14px;
  border: 1px solid rgba(213, 232, 163, .34);
  border-radius: 999px;
  color: var(--green-300);
  background: rgba(255, 255, 255, .07);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: background .18s ease, transform .12s ease, box-shadow .12s ease;
  -webkit-tap-highlight-color: transparent;
  /* Stronger default elevation to make the eyebrow button clearly tappable */
  box-shadow: 0 22px 60px rgba(4, 12, 5, 0.34), 0 6px 18px rgba(4,12,5,0.14);
}
.veteran-program__eyebrow:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(77,124,50,0.14), 0 22px 60px rgba(4, 12, 5, 0.34), 0 6px 18px rgba(4,12,5,0.14);
  background: rgba(255,255,255,0.12);
}
.veteran-program__eyebrow:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
  /* Stronger shadow on hover for clearer elevation */
  box-shadow: 0 30px 86px rgba(4, 12, 5, 0.44), 0 10px 28px rgba(4,12,5,0.22);
}
.veteran-program__eyebrow:active {
  transform: translateY(0);
  box-shadow: 0 12px 36px rgba(4,12,5,0.22);
}
.veteran-program__eyebrow::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  mix-blend-mode: overlay;
}
.veteran-program__eyebrow-icon { width: 14px; height: 14px; flex: 0 0 14px; display: inline-block; color: var(--mortadel-red); }
.veteran-program__eyebrow span { display: inline-block; }
.veteran-program__more-btn {
  display: inline-block;
  grid-column: 1 / 2;
  justify-self: start;
  background: var(--green-800);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  margin-top: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.veteran-program__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mortadel-red);
  box-shadow: 0 0 24px rgba(237, 16, 35, .62);
}
.veteran-program__intro h2 {
  margin: 0;
  max-width: 780px;
  color: var(--cream);
  font-size: clamp(38px, 5.1vw, 68px);
  line-height: .88;
  letter-spacing: -.07em;
}
.veteran-program__lead {
  display: grid;
  gap: 14px;
}
.veteran-program__lead p {
  margin: 0;
  color: var(--cream);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.45;
}
.veteran-program__note {
  padding-left: 18px;
  border-left: 3px solid var(--cream);
  color: var(--cream) !important;
  font-size: clamp(14px, 1.08vw, 16px) !important;
}
.veteran-program__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .44fr);
  gap: clamp(20px, 3.6vw, 46px);
  align-items: stretch;
}
.veteran-program__offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.veteran-offer-card,
.veteran-program__summary {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 232, .14);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .055)), rgba(255, 255, 255, .07);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
  backdrop-filter: blur(18px);
}
.veteran-offer-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
}
.veteran-offer-card--wide { grid-column: span 2; }
/* task21: buyback card unified with sibling cards — no special background/border */
.veteran-offer-card__label,
.veteran-program__summary span {
  color: var(--green-300);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 900;
}
.veteran-offer-card strong {
  /* Основной текст предложения для ветеранов использует унифицированный кремовый */
  color: var(--cream);
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: .95;
  letter-spacing: -.06em;
}
.veteran-offer-card p,
.veteran-program__summary p {
  margin: 0;
  color: var(--cream);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.46;
}
.veteran-offer-card__price {
  width: max-content;
  max-width: 100%;
  margin-top: auto;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--green-950);
  background: var(--green-300);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: -.02em;
}
.veteran-program__summary {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: clamp(24px, 3.4vw, 38px);
}
.veteran-program__summary strong {
  color: var(--cream);
  font-size: clamp(44px, 5.8vw, 76px);
  line-height: .86;
  letter-spacing: -.075em;
}
.veteran-program__payback {
  display: grid;
  gap: 6px;
  margin-top: 8px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(213, 232, 163, .22);
  background: rgba(213, 232, 163, .10);
}
.veteran-program__payback small {
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
  font-weight: 900;
}
.veteran-program__payback b {
  color: var(--cream);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

@media (max-width: 980px) {
  .veteran-program__intro,
  .veteran-program__content { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .veteran-program { padding: 58px 14px 52px; }
  .veteran-program::before { inset: 10px; border-radius: 28px; }
  .veteran-program__eyebrow { margin-bottom: 16px; font-size: 10px; letter-spacing: .12em; }
  /* Stronger touch shadow on small screens where hover is not available */
  .veteran-program__eyebrow {
    box-shadow: 0 26px 72px rgba(4,12,5,0.40), 0 8px 22px rgba(4,12,5,0.18);
    background: rgba(255,255,255,0.10);
  }
  .veteran-program__intro { gap: 18px; margin-bottom: 24px; }
  .veteran-program__intro h2 { font-size: clamp(31px, 10.4vw, 42px); line-height: .92; }
  .veteran-program__lead p { font-size: 15px; line-height: 1.36; }
  .veteran-program__note { padding-left: 12px; font-size: 12px !important; }
  .veteran-program__offers { grid-template-columns: 1fr; }
  .veteran-offer-card,
  .veteran-offer-card--wide { grid-column: auto; min-height: auto; padding: 20px; border-radius: 24px; }
  .veteran-offer-card strong { font-size: clamp(28px, 9vw, 38px); }
  .veteran-offer-card p,
  .veteran-program__summary p { font-size: 14px; line-height: 1.38; }
  .veteran-program__summary { min-height: auto; padding: 20px; border-radius: 24px; }
  .veteran-program__summary strong { font-size: clamp(40px, 13vw, 56px); }
}


/* task18: strict green/beige alternation after hero.
   Rhythm from the first two sections is repeated site-wide:
   about green → team beige → support green → veteran beige → genplan green → neighbor beige. */
.about,
.support,
.genplan {
  --section-fg: var(--white);
  --section-muted: rgba(255, 255, 255, .78);
  --section-soft: rgba(255, 248, 232, .82);
  --section-accent: var(--green-300);
  --section-accent-strong: var(--green-300);
  --section-border: rgba(255, 255, 255, .10);
  --section-card-border: rgba(255, 255, 255, .14);
  --section-card-bg: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)), rgba(255, 255, 255, .07);
  --section-card-shadow: 0 24px 70px rgba(0, 0, 0, .24);
  --section-bg: radial-gradient(circle at 8% 8%, rgba(213, 232, 163, .22), transparent 28%), radial-gradient(circle at 88% 18%, rgba(118, 172, 58, .26), transparent 31%), linear-gradient(135deg, #102011 0%, #19351b 48%, #0b160c 100%);
}

.team,
.veteran-program,
.neighbor {
  --section-fg: var(--brand-blue);
  --section-muted: rgba(5, 35, 67, .74);
  --section-soft: rgba(5, 35, 67, .62);
  --section-accent: var(--mortadel-red);
  --section-accent-strong: var(--mortadel-red);
  --section-border: rgba(5, 35, 67, .12);
  --section-card-border: rgba(5, 35, 67, .12);
  --section-card-bg: rgba(255, 255, 255, .52);
  --section-card-shadow: 0 24px 70px rgba(42, 20, 10, .12);
  --section-bg: radial-gradient(circle at 10% 8%, rgba(237, 16, 35, .10), transparent 28%), radial-gradient(circle at 90% 14%, rgba(77, 124, 50, .16), transparent 30%), linear-gradient(135deg, var(--cream) 0%, var(--mortadel-cream) 52%, var(--mortadel-cream) 100%);
}

.veteran-program {
  --section-pad-y: clamp(72px, 10vw, 138px);
  --section-pad-x: clamp(18px, 4vw, 64px);
  /* Переиспользуем глобальную максимальную ширину для оболочки */
  --section-shell: min(var(--section-max-width), 100%);
  --section-radius: clamp(28px, 4vw, 52px);
  --section-card-radius: 32px;
  --section-card-pad: clamp(22px, 3vw, 34px);
  --section-gap: clamp(24px, 4vw, 52px);
  --section-border-inset: 22px;
  --section-title: clamp(38px, 5.1vw, 68px);
  --section-lead: clamp(18px, 1.8vw, 24px);
  padding: var(--section-pad-y) var(--section-pad-x);
  color: var(--section-fg);
  background: var(--section-bg);
}
.veteran-program::before { inset: var(--section-border-inset); border-color: var(--section-border); border-radius: var(--section-radius); }
.veteran-program__shell { width: var(--section-shell); }
.veteran-program__intro { gap: var(--section-gap); }
.veteran-program__eyebrow {
  border-color: color-mix(in srgb, var(--section-accent) 34%, transparent);
  color: var(--section-accent);
  background: color-mix(in srgb, var(--section-fg) 7%, transparent);
}
.veteran-program__eyebrow::before { background: var(--section-accent-strong); box-shadow: 0 0 24px color-mix(in srgb, var(--section-accent-strong) 62%, transparent); }
.veteran-program__intro h2 { color: var(--section-fg); font-size: var(--section-title); }
.veteran-program__lead p { color: var(--section-muted); font-size: var(--section-lead); }
.veteran-program__note { border-left-color: color-mix(in srgb, var(--section-accent-strong) 68%, transparent); color: var(--section-soft) !important; }
.veteran-offer-card,
.veteran-program__summary {
  border-color: var(--section-card-border);
  background: var(--section-card-bg);
  box-shadow: var(--section-card-shadow);
}
/* task21: buyback/summary cards unified — no special background/border override */
.veteran-offer-card__label,
.veteran-program__summary span { color: var(--section-accent); }
.veteran-offer-card strong,
.veteran-program__summary strong,
.veteran-program__payback b { color: var(--section-fg); }
.veteran-offer-card p,
.veteran-program__summary p { color: var(--section-muted); }
.veteran-offer-card__price { color: var(--white); background: var(--section-accent); }
.veteran-program__payback {
  border-color: color-mix(in srgb, var(--section-accent) 18%, transparent);
  background: color-mix(in srgb, var(--section-accent) 7%, rgba(255, 255, 255, .38));
}
.veteran-program__payback small { color: var(--section-soft); }

.genplan__map-link { color: var(--green-300); text-decoration-color: rgba(213, 232, 163, .42); }
.genplan__map-link:hover,
.genplan__map-link:focus-visible { color: var(--cream); text-decoration-color: var(--green-300); }

.neighbor-card,
.neighbor-card--river {
  color: var(--section-fg);
  border-color: var(--section-card-border);
  background: var(--section-card-bg);
  box-shadow: var(--section-card-shadow);
}
.neighbor-card--housing::after,
.neighbor-card--river::after { background: radial-gradient(circle, rgba(237, 16, 35, .12), transparent 68%); }
.neighbor-card__label,
.neighbor-card--river .neighbor-card__label { color: var(--section-soft); }
.neighbor-card h3 { color: var(--section-fg); }
.neighbor-card p,
.neighbor-card--river p,
.neighbor-card__list { color: var(--section-muted); }
.neighbor-card__badge,
.neighbor-card--housing .neighbor-card__badge {
  color: var(--white);
  background: var(--section-accent);
}
.neighbor-card__list li::before { background: var(--section-accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--section-accent) 10%, transparent); }
.neighbor-card__features span {
  border-color: color-mix(in srgb, var(--section-accent) 18%, transparent);
  color: var(--section-fg);
  background: rgba(255, 255, 255, .38);
}

/* task18 mobile veteran sizing after late overrides. */
@media (max-width: 760px) {
  .veteran-program { padding: 58px 14px 52px; }
  .veteran-program::before { inset: 10px; border-radius: 28px; }
  .veteran-program__eyebrow { margin-bottom: 16px; font-size: 10px; letter-spacing: .12em; }
  .veteran-program__intro { gap: 18px; margin-bottom: 24px; }
  .veteran-program__intro h2 { font-size: clamp(31px, 10.4vw, 42px); line-height: .92; }
  .veteran-program__lead p { font-size: 15px; line-height: 1.36; }
  .veteran-program__note { padding-left: 12px; font-size: 12px !important; }
  .veteran-program__summary p { font-size: 14px; line-height: 1.38; }
  .veteran-program__summary { min-height: auto; padding: 20px; border-radius: 24px; }
  .veteran-program__summary strong { font-size: clamp(40px, 13vw, 56px); }
}

/* Compact analytics notice for Yandex.Metrika disclosure. */
.privacy-toast {
  position: fixed;
  top: 18px;
  right: max(14px, env(safe-area-inset-right));
  z-index: 120;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: min(370px, calc(100vw - 28px));
  padding: 11px 11px 11px 14px;
  color: var(--cream);
  background:
    radial-gradient(circle at 12% 0%, rgba(213, 232, 163, .20), transparent 34%),
    linear-gradient(145deg, rgba(5, 35, 67, .92), rgba(16, 32, 17, .94));
  border: 1px solid rgba(255, 248, 232, .16);
  border-radius: 18px;
  box-shadow: 0 18px 52px rgba(5, 24, 16, .28), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px);
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease, transform .24s ease;
}
.privacy-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.privacy-toast[hidden] { display: none; }
.privacy-toast p {
  margin: 0;
  color: var(--cream);
  font-size: 11.5px;
  line-height: 1.34;
}
.privacy-toast__button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 9px 13px;
  color: #102011;
  background: var(--green-300);
  box-shadow: 0 8px 24px rgba(118, 172, 58, .22);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.privacy-toast__button:hover,
.privacy-toast__button:focus-visible {
  /* Кнопка уведомления при ховере и фокусе использует кремовый фон */
  background: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(213, 232, 163, .28);
}
.privacy-toast__button:focus-visible {
  /* Светлый кремовый outline для кнопки */
  outline: 2px solid rgba(255, 248, 232, .8);
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .privacy-toast {
    top: auto;
    right: 10px;
    bottom: 10px;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }
  .privacy-toast__button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-toast,
  .privacy-toast__button { transition: none; }
}

/* task20: genplan is a pure responsive video screen without visible text. */
.genplan.genplan--video-only {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(16px, 3vw, 40px);
}
.genplan.genplan--video-only::before {
  inset: clamp(8px, 1.6vw, 22px);
}
.genplan--video-only .genplan__shell {
  width: min(100%, 160svh, 1720px);
  max-width: none;
}
.genplan--video-only .genplan__map {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: clamp(22px, 3.2vw, 48px);
  border-color: rgba(255, 255, 255, .18);
  background: #071408;
  box-shadow: 0 38px 110px rgba(0, 0, 0, .36);
}
.genplan--video-only .genplan__video {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}
.genplan--video-only .genplan__map::after {
  background:
    linear-gradient(180deg, rgba(16, 32, 17, .02), rgba(16, 32, 17, .12)),
    radial-gradient(circle at 75% 20%, rgba(213, 232, 163, .10), transparent 30%);
}

@supports (height: 100dvh) {
  .genplan.genplan--video-only { min-height: 100dvh; }
  .genplan--video-only .genplan__shell { width: min(100%, 160dvh, 1720px); }
}

@media (orientation: portrait) and (max-width: 980px) {
  .genplan.genplan--video-only {
    min-height: 100svh;
    padding: 12px;
  }
  .genplan--video-only .genplan__shell {
    width: min(100%, 760px);
    height: calc(100svh - 24px);
  }
  .genplan--video-only .genplan__map {
    height: 100%;
    aspect-ratio: auto;
    border-radius: clamp(24px, 6vw, 42px);
  }
  @supports (height: 100dvh) {
    .genplan.genplan--video-only { min-height: 100dvh; }
    .genplan--video-only .genplan__shell { height: calc(100dvh - 24px); }
  }
}

@media (max-width: 760px) {
  .genplan.genplan--video-only {
    padding: 10px;
  }
  .genplan.genplan--video-only::before {
    inset: 6px;
    border-radius: 26px;
  }
  .genplan--video-only .genplan__shell {
    width: 100%;
    height: calc(100svh - 20px);
  }
  .genplan--video-only .genplan__map {
    border-radius: 24px;
  }
  @supports (height: 100dvh) {
    .genplan--video-only .genplan__shell { height: calc(100dvh - 20px); }
  }
}

/* task21: restore genplan copy/link and uncropped full-width video on small screens. */
.genplan--mobile-copy .genplan__intro {
  display: none;
}

@media (max-width: 980px) {
  .genplan.genplan--video-only.genplan--mobile-copy {
    min-height: auto;
    display: block;
    padding: clamp(58px, 10vw, 84px) 14px 52px;
  }
  .genplan.genplan--video-only.genplan--mobile-copy::before {
    inset: 10px;
    border-radius: 30px;
  }
  .genplan--mobile-copy .genplan__shell {
    width: min(100%, 760px);
    max-width: 760px;
    height: auto;
    margin: 0 auto;
  }
  .genplan--mobile-copy .genplan__intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    margin-bottom: 24px;
  }
  .genplan--mobile-copy .genplan__eyebrow {
    margin-bottom: 0;
  }
  .genplan--mobile-copy .genplan__intro h2 {
    margin: 0;
    max-width: 100%;
    font-size: clamp(31px, 9.8vw, 46px);
    line-height: .94;
  }
  .genplan--mobile-copy .genplan__map {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
  }
  .genplan--mobile-copy .genplan__video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }
}

@media (max-width: 560px) {
  .genplan.genplan--video-only.genplan--mobile-copy {
    padding: 56px 14px 48px;
  }
  .genplan--mobile-copy .genplan__intro {
    margin-bottom: 20px;
  }
  .genplan--mobile-copy .genplan__map {
    border-radius: 20px;
  }
}

/* task22: compact genplan copy on desktop and non-fullscreen video on every screen. */
.genplan.genplan--video-only.genplan--mobile-copy {
  min-height: auto;
  display: block;
  padding: clamp(76px, 8vw, 112px) 24px clamp(72px, 7vw, 104px);
}
.genplan.genplan--video-only.genplan--mobile-copy::before {
  inset: 22px;
  border-radius: 42px;
}
.genplan--mobile-copy .genplan__shell {
  width: min(100%, 1120px);
  max-width: 1120px;
  height: auto;
  margin: 0 auto;
}
.genplan--mobile-copy .genplan__intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 56px);
  margin-bottom: clamp(22px, 3vw, 36px);
}
.genplan--mobile-copy .genplan__eyebrow {
  flex: 0 0 auto;
  margin: 0;
}
.genplan--mobile-copy .genplan__intro h2 {
  flex: 1 1 auto;
  margin: 0;
  max-width: none;
  color: var(--section-fg);
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: .92;
  letter-spacing: -.065em;
  text-align: right;
}
.genplan--mobile-copy .genplan__map {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: clamp(24px, 3vw, 38px);
}
.genplan--mobile-copy .genplan__video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

@media (max-width: 980px) {
  .genplan.genplan--video-only.genplan--mobile-copy {
    padding: clamp(58px, 10vw, 84px) 14px 52px;
  }
  .genplan.genplan--video-only.genplan--mobile-copy::before {
    inset: 10px;
    border-radius: 30px;
  }
  .genplan--mobile-copy .genplan__shell {
    width: min(100%, 760px);
    max-width: 760px;
  }
  .genplan--mobile-copy .genplan__intro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    margin-bottom: 24px;
  }
  .genplan--mobile-copy .genplan__intro h2 {
    max-width: 100%;
    font-size: clamp(31px, 9.8vw, 46px);
    line-height: .94;
    text-align: left;
  }
  .genplan--mobile-copy .genplan__map {
    border-radius: 24px;
  }
}

/* task22 refinement: keep the desktop genplan video deliberately below fullscreen scale. */
@media (min-width: 981px) {
  .genplan.genplan--video-only.genplan--mobile-copy {
    padding-top: clamp(62px, 6vw, 84px);
    padding-bottom: clamp(62px, 6vw, 84px);
  }
  .genplan--mobile-copy .genplan__shell {
    width: min(100%, 980px);
    max-width: 980px;
  }
  .genplan--mobile-copy .genplan__intro {
    margin-bottom: clamp(18px, 2.4vw, 30px);
  }
  .genplan--mobile-copy .genplan__intro h2 {
    font-size: clamp(28px, 3.6vw, 50px);
  }
}

/* task23: no fixed header, so hash navigation only needs a small breathing room. */
.genplan.genplan--mobile-copy {
  scroll-margin-top: 24px;
}
@media (max-width: 760px) {
  .genplan.genplan--mobile-copy {
    scroll-margin-top: 14px;
  }
}



/* Service pages: thank-you and privacy */
.simple-page {
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 12%, rgba(213, 232, 163, .22), transparent 30%),
    radial-gradient(circle at 86% 78%, rgba(77, 124, 50, .20), transparent 34%),
    linear-gradient(135deg, #102011 0%, #19351b 50%, #0b160c 100%);
}
.simple-page-main {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 6vw, 72px) clamp(18px, 4vw, 64px);
}
.simple-page-card {
  position: relative;
  width: min(var(--section-max-width), 100%);
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: clamp(28px, 4vw, 52px);
  background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)), rgba(255, 255, 255, .07);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.simple-page-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(213, 232, 163, .12);
  border-radius: clamp(22px, 3vw, 42px);
  pointer-events: none;
}
.simple-page-card > * {
  position: relative;
  z-index: 1;
}
.simple-page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 9px 14px;
  border: 1px solid rgba(213, 232, 163, .32);
  border-radius: 999px;
  color: var(--green-300);
  background: rgba(255, 255, 255, .07);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 850;
}
.simple-page-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-300);
  box-shadow: 0 0 24px rgba(213, 232, 163, .9);
}
.simple-page-card h1 {
  max-width: 820px;
  margin: 0 0 22px;
  font-size: clamp(38px, 5.1vw, 68px);
  line-height: .88;
  letter-spacing: -.07em;
}
.simple-page-card p,
.simple-page-card li {
  max-width: 860px;
  color: rgba(255, 248, 232, .84);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
}
.simple-page-card ul,
.simple-page-card ol {
  padding-left: 1.25em;
}
.simple-page-card a {
  color: var(--green-300);
  text-decoration-thickness: .08em;
  text-underline-offset: .14em;
}
.simple-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(24px, 4vw, 42px);
}
.simple-page-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  color: var(--green-950) !important;
  background: linear-gradient(135deg, var(--green-600), var(--green-300) 60%, var(--green-300));
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(118, 172, 58, .24);
  transition: transform .18s ease, box-shadow .18s ease;
}
.simple-page-button:hover,
.simple-page-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(118, 172, 58, .32);
}
.simple-page-muted {
  margin-top: 24px;
  font-size: 14px !important;
  color: rgba(255, 248, 232, .68) !important;
}

/*
 * Mobile adjustments for the feedback section.
 *
 * On screens narrower than 760px the feedback block should mirror the
 * spacing and typographic scale used in other sections (about,
 * team, support, etc.). Without these overrides the feedback intro
 * remained in a two‑column layout, causing cramped text and uneven
 * spacing. These rules collapse the intro into a single column and
 * tighten the paddings, fonts and gaps for a more coherent mobile
 * experience.
 */
@media (max-width: 980px) {
  .feedback__intro {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .feedback__intro h2,
  .feedback__intro p {
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .feedback {
    padding: 58px 14px 52px;
  }
  .feedback::before {
    inset: 10px;
    border-radius: 28px;
  }
  .feedback__intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
    margin-bottom: 24px;
  }
  .feedback__intro h2,
  .feedback__intro p {
    max-width: 100%;
    min-width: 0;
  }
  .feedback__eyebrow {
    font-size: 10px;
    letter-spacing: .12em;
  }
  .feedback__intro h2 {
    font-size: clamp(34px, 11vw, 48px);
    line-height: .92;
  }
  .feedback__intro p {
    font-size: 15px;
    line-height: 1.38;
  }
}
