/* ГОРОД ГОР — лендинг. Палитра и шрифты по макету-концепту */
:root {
  --green: #13281f;
  --deep: #0f1a16;
  --brown: #281c16;
  --cream: #efede6;
  --light: #f8f6f0;
  --card: #f4f0e8;
  --gold: #b8a288;
  --ink: #291c16;
  --ink-green: #142820;
  --muted: #70736d;
  --white: #f8f6f1;
  --line-light: rgba(248, 246, 241, .28);
  --line-dark: rgba(41, 28, 22, .18);
  --sans: "Noto Sans Display", "Segoe UI", Arial, sans-serif;
  --serif: "Noto Serif Display", Georgia, serif;
  --gap: clamp(16px, 4vw, 56px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 300 17px/1.6 var(--sans); color: var(--ink); background: var(--deep); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gap); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 300; text-transform: uppercase; display: block; }

/* ---------- Типографика ---------- */
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; margin-bottom: clamp(20px, 3vw, 36px); opacity: .85; }
.eyebrow--gold { color: var(--gold); opacity: 1; }
.h2 { font-weight: 300; font-size: clamp(38px, 6.2vw, 84px); line-height: 1.02; text-transform: uppercase; letter-spacing: -.01em; color: var(--white); }
.h2 .serif { font-size: .72em; line-height: 1.15; margin-top: .08em; color: #e1ddd2; }
.h2--dark { color: var(--ink); }
.h2--dark .serif { color: var(--ink-green); }
.section__sub { margin-top: 20px; max-width: 620px; color: var(--muted); font-size: 18px; }
.section__sub--light { color: #ded8cd; }
.note { font-size: 12px; color: rgba(248, 246, 241, .6); margin-top: 20px; }
.note--dark { color: var(--muted); }
.num { font-size: 13px; font-weight: 400; color: var(--gold); letter-spacing: .05em; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 28px; font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn--light { background: var(--white); color: var(--deep); }
.btn--light:hover { background: var(--gold); }
.btn--line-light { border-color: var(--line-light); color: var(--white); }
.btn--line-light:hover { border-color: var(--white); background: rgba(248, 246, 241, .08); }
.btn--dark { background: var(--green); color: var(--white); }
.btn--dark:hover { background: var(--deep); }
.btn--green { background: #2f5a45; color: var(--white); }
.btn--green:hover { background: var(--green); }
.btn--full { width: 100%; }
.link { font-size: 15px; font-weight: 500; padding-bottom: 4px; border-bottom: 1px solid currentColor; transition: opacity .2s; }
.link:hover { opacity: .7; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-light); color: var(--white); }

/* ---------- Шапка ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--white); transition: background .3s, box-shadow .3s; }
.header.is-scrolled { background: rgba(15, 26, 22, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-light); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.logo { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.logo__name { font-size: 20px; font-weight: 500; letter-spacing: .14em; }
.logo__sub { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav a { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; opacity: .9; }
.nav a:hover { opacity: 1; color: var(--gold); }
.nav__phone, .nav__cta { display: none !important; }
.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone { font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.header__cta { min-height: 44px; padding: 10px 20px; font-size: 12px; }
.header__call, .burger { display: none; }
.burger { flex-direction: column; gap: 6px; }
.burger span { display: block; width: 18px; height: 1px; background: currentColor; transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- 1. Hero ---------- */
.hero { position: relative; min-height: 100svh; color: var(--white); display: flex; align-items: flex-end; overflow: hidden; background: var(--deep); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 26, 22, .55) 0%, rgba(15, 26, 22, .25) 35%, rgba(15, 26, 22, .85) 100%); }
.hero__inner { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 60px); padding-bottom: 48px; }
.hero__title { font-weight: 300; margin-bottom: 28px; }
.hero__brand { display: block; font-size: clamp(56px, 11vw, 150px); line-height: .95; letter-spacing: -.01em; }
.hero__title .serif { text-transform: none; font-size: clamp(30px, 4.6vw, 64px); margin-top: 16px; line-height: 1.1; }
.hero__line { display: block; font-size: clamp(26px, 4vw, 56px); line-height: 1.15; }
.hero__lead { max-width: 640px; font-size: clamp(16px, 1.4vw, 19px); margin-bottom: 32px; color: #edeae1; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.hero__facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.hero__facts li { padding: 20px 20px 0 0; display: flex; flex-direction: column; gap: 4px; }
.hero__facts b { font-weight: 400; font-size: clamp(20px, 2.2vw, 30px); text-transform: uppercase; }
.hero__facts span { font-size: 13px; opacity: .75; }

/* ---------- Секции ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--green { background: var(--green); color: var(--white); }
.section--cream { background: var(--cream); }
.section--light { background: var(--light); }
.section--brown { background: var(--brown); color: var(--white); }

/* ---------- 2. Для кого ---------- */
.goals { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 24px; margin-top: clamp(40px, 6vw, 72px); }
.goal { padding: 28px 0 0; border-top: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.goal h3 { font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); text-transform: uppercase; }
.goal p { color: #dee4db; font-size: 15px; max-width: 440px; }
.goal .link { margin-top: 12px; }
.goal--img { position: relative; padding: 0; border: 0; aspect-ratio: 16 / 9; overflow: hidden; justify-content: flex-end; }
.goal--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.goal--img:hover img { transform: scale(1.04); }
.goal--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(15, 26, 22, .85)); }
.goal__body { position: relative; z-index: 1; padding: 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* ---------- 3. О проекте ---------- */
.about { display: grid; grid-template-columns: 44% 56%; background: var(--brown); color: var(--white); }
.about__text { padding: clamp(72px, 8vw, 120px) var(--gap); display: flex; flex-direction: column; }
.about__lead { margin-top: 32px; color: #ded8cd; max-width: 480px; font-size: 16px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; margin: 48px 0 0; padding-top: 32px; border-top: 1px solid var(--line-light); }
.stats div { margin: 0; }
.stats dt { font-size: clamp(30px, 3.4vw, 46px); font-weight: 300; text-transform: uppercase; line-height: 1.1; }
.stats dd { margin: 4px 0 0; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); }
.about__img { position: relative; min-height: 520px; }
.about__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- 4. Очереди ---------- */
.queues { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--gold); }
.queue { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.queue__img { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; }
.queue__img img { width: 100%; height: 100%; object-fit: cover; }
.queue__head { position: absolute; inset: auto 0 0; padding: 18px 24px; background: rgba(40, 28, 22, .92); color: var(--white); display: flex; flex-direction: column; gap: 2px; }
.queue--accent .queue__head { background: rgba(19, 40, 31, .94); }
.queue__head h3 { font-weight: 400; font-size: clamp(20px, 2vw, 26px); text-transform: uppercase; }
.status { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7fc49a; }
.queue[data-status="soon"] .status::before { background: var(--gold); }
.queue[data-status="sold"] .status::before { background: #a86a5c; }
.queue[data-status="sold"] .btn { display: none; }
.queue--accent { outline: 1px solid rgba(47, 90, 69, .35); outline-offset: 12px; }
.queue__list { width: 100%; }
.queue__list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.queue__list span { color: var(--muted); }
.queue__list b { font-weight: 500; text-align: right; }

/* ---------- 5. Планировки ---------- */
.tabs { display: flex; gap: 8px 36px; flex-wrap: wrap; margin: 48px 0 40px; border-top: 1px solid var(--line-dark); padding-top: 20px; }
.tab { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 8px 0; border-bottom: 2px solid transparent; }
.tab.is-active { color: var(--ink-green); border-color: var(--ink-green); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.plan { background: var(--card); display: flex; flex-direction: column; animation: fade .4s; }
.plan[hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.plan__img { aspect-ratio: 4 / 3; padding: 18px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line-dark); }
.plan__img svg { width: 100%; height: 100%; }
.plan__body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.plan__body h3 { font-weight: 500; font-size: 17px; text-transform: uppercase; }
.plan__meta { font-size: 14px; color: var(--muted); }
.plan__price { font-size: 16px; font-weight: 500; color: var(--ink-green); margin: 6px 0 12px; }
.plan .link { margin-top: auto; align-self: flex-start; font-size: 14px; }
.plans__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.plans__foot .note { margin: 0; }

/* ---------- 6. Инвестиции ---------- */
.invest, .tour, .location { position: relative; color: var(--white); overflow: hidden; background: var(--deep); }
.invest__bg, .tour__bg, .location__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.invest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 26, 22, .95) 0%, rgba(15, 26, 22, .78) 55%, rgba(15, 26, 22, .5) 100%); }
.invest__inner, .tour__inner, .location__inner { position: relative; z-index: 1; padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(72px, 10vw, 140px); }
.invest__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 56px 0 48px; }
.icard { border-top: 1px solid var(--line-light); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.icard h3 { font-weight: 400; font-size: 22px; text-transform: uppercase; }
.icard p { font-size: 15px; color: #ded8cd; }
.invest__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.invest__cta .note { margin: 0; max-width: 420px; }

/* ---------- 7. Инфраструктура ---------- */
.legend { display: flex; gap: 12px; margin: 32px 0 40px; }
.tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; display: inline-flex; align-items: center; gap: 6px; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--exists { background: #dfe8de; color: #2f5a45; }
.tag--plan { background: #ece3d6; color: #7a5d3f; }
.infra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.infra__card { background: var(--light); display: flex; flex-direction: column; }
.infra__card--wide { grid-column: span 2; }
.infra__card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.infra__card--wide img { aspect-ratio: auto; height: 0; flex: 1 1 auto; min-height: 220px; }
.infra__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.infra__body h3 { font-weight: 500; font-size: 18px; text-transform: uppercase; }
.infra__body p { font-size: 15px; color: var(--muted); }

/* ---------- 7b. Расположение ---------- */
.location::after { content: ""; position: absolute; inset: 0; background: rgba(15, 26, 22, .72); }
.location__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.route { margin-top: 40px; }
.route li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line-light); }
.route h3 { font-weight: 400; font-size: 18px; text-transform: uppercase; margin-bottom: 4px; }
.route p { font-size: 15px; color: #ded8cd; }
.map { aspect-ratio: 1; background: var(--green); border: 1px solid var(--line-light); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.3) contrast(1.05); }

/* ---------- 8. Способы покупки ---------- */
.ways { margin-top: 48px; }
.ways li { display: grid; grid-template-columns: 60px 1fr 1fr; gap: 16px; align-items: baseline; padding: 26px 0; border-top: 1px solid rgba(184, 162, 136, .35); }
.ways li:last-child { border-bottom: 1px solid rgba(184, 162, 136, .35); }
.ways h3 { font-weight: 300; font-size: clamp(22px, 2.6vw, 34px); text-transform: uppercase; }
.ways p { color: #e1d7ca; font-size: 15px; }
.promo { margin-top: 48px; background: var(--green); padding: 32px clamp(20px, 3vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-left: 3px solid var(--gold); }
.promo__title { font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.promo__text { color: #c9d5c9; font-size: 15px; max-width: 560px; }

/* ---------- 9. Бизнес-туры ---------- */
.tour::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 26, 22, .88), rgba(15, 26, 22, .35)); }
.checks { margin: 36px 0 40px; display: grid; gap: 14px; max-width: 560px; }
.checks li { position: relative; padding-left: 30px; font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .7em; width: 16px; height: 1px; background: var(--gold); }
.checks--dark li { color: var(--ink); }
.checks--dark li::before { background: var(--ink-green); }

/* ---------- 10. Амбассадор ---------- */
.amb { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.amb__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.amb__logos { display: flex; align-items: center; gap: 16px; margin: 36px 0 24px; flex-wrap: wrap; }
.amb__x { color: var(--muted); }
.logo-ph { border: 1px dashed var(--line-dark); padding: 10px 18px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-green); }
.logo-ph--light { border-color: var(--line-light); color: var(--white); }
.amb__lead { font-size: 18px; }
.amb__lead b { font-weight: 600; }
.amb .checks { margin: 24px 0 36px; }

/* ---------- 11. FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); }
.faq__list details { border-top: 1px solid var(--line-light); }
.faq__list details:last-child { border-bottom: 1px solid var(--line-light); }
.faq__list summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-size: clamp(16px, 1.5vw, 19px); font-weight: 400; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--gold); transition: transform .25s; }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list details p { padding: 0 48px 24px 0; color: #dee4db; font-size: 15px; }

/* ---------- 12. Формы ---------- */
.final-form { margin-top: 48px; background: var(--light); padding: clamp(24px, 4vw, 48px); display: grid; gap: 28px; }
.final-form__title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 300; }
.final-form__text { color: var(--muted); margin-top: 8px; font-size: 15px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span, .radios legend { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.field input, .field select { font: 400 17px var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(41, 28, 22, .3); padding: 10px 0; border-radius: 0; outline: none; transition: border-color .2s; width: 100%; }
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2370736d'/%3E%3C/svg%3E") right 4px center no-repeat; }
.field input:focus, .field select:focus { border-color: var(--ink-green); }
.field.is-error input { border-color: #b4472f; }
.radios { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.radios legend { margin-bottom: 14px; padding: 0; }
.radios label, .check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 15px; }
.radios input, .check input { accent-color: var(--green); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.check { font-size: 13px; color: var(--muted); }
.check a { color: var(--ink-green); }
.check.is-error span { color: #b4472f; }
.final-form__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.consents { display: grid; gap: 12px; max-width: 560px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-size: 14px; min-height: 1em; }
.form-msg.is-error { color: #b4472f; }
.form-msg.is-ok { color: #2f5a45; font-weight: 500; }
button[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Модалка ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__overlay { position: absolute; inset: 0; background: rgba(15, 26, 22, .78); backdrop-filter: blur(4px); }
.modal__box { position: relative; width: 100%; max-width: 500px; max-height: calc(100svh - 32px); overflow: auto; background: var(--light); padding: clamp(28px, 4vw, 44px); transform: translateY(16px); transition: transform .25s; }
.modal.is-open .modal__box { transform: none; }
.modal__box form { display: grid; gap: 18px; }
.modal__box form[hidden] { display: none; }
.modal__box .eyebrow { margin-bottom: 0; color: var(--muted); }
.modal__close { position: absolute; top: 10px; right: 14px; font-size: 32px; line-height: 1; color: var(--muted); width: 44px; height: 44px; }
.modal__title { font-size: clamp(24px, 3vw, 30px); font-weight: 300; text-transform: uppercase; line-height: 1.15; }
.modal__text { color: var(--muted); font-size: 15px; }
.modal__extra { display: grid; gap: 18px; }
.modal__done { display: grid; gap: 18px; justify-items: start; }
.modal__done[hidden] { display: none; }

/* ---------- Подвал ---------- */
.footer { background: var(--deep); color: var(--white); padding: clamp(56px, 8vw, 96px) 0 32px; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line-light); }
.footer__brand { font-size: clamp(36px, 5vw, 64px); font-weight: 300; line-height: 1; text-transform: uppercase; }
.footer__brand .serif { font-size: .7em; color: #c7d1c7; margin-top: 6px; }
.footer__logos { display: flex; gap: 12px; margin: 28px 0 20px; flex-wrap: wrap; }
.footer__muted { color: rgba(248, 246, 241, .65); font-size: 14px; }
.footer__contacts { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.footer__phone { font-size: clamp(22px, 2.4vw, 30px); text-decoration: none; }
.socials { display: flex; gap: 24px; flex-wrap: wrap; }
.socials a { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; border-bottom: 1px solid var(--line-light); padding-bottom: 3px; }
.socials a:hover { border-color: var(--white); }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 28px; }
.footer__links a { font-size: 13px; color: rgba(248, 246, 241, .75); }
.footer__legal { padding-top: 24px; display: grid; gap: 8px; }
.footer__legal p { font-size: 12px; color: rgba(248, 246, 241, .5); max-width: 980px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
  .header__phone { display: none; }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .logo__sub { display: none; }
  .header__cta { display: none; }
  .header__call, .burger { display: inline-flex; }
  /* шапка с backdrop-filter — containing block для fixed, поэтому top:100% от шапки */
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100svh - var(--header-h)); background: var(--deep); flex-direction: column; gap: 0; padding: 16px var(--gap) 32px; transform: translateX(100%); transition: transform .3s; overflow: auto; }
  .nav.is-open { transform: none; }
  .nav a { font-size: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
  .nav__phone { display: block !important; font-size: 22px !important; border: 0 !important; margin-top: 16px; }
  .nav__cta { display: inline-flex !important; margin-top: 12px; }
  .header { background: rgba(15, 26, 22, .9); backdrop-filter: blur(10px); }
  .hero__facts { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about__img { min-height: 0; aspect-ratio: 1; }
  .invest__grid { grid-template-columns: repeat(2, 1fr); }
  .location__inner, .amb, .faq { grid-template-columns: 1fr; }
  .amb__img img { aspect-ratio: 16 / 10; }
  .map { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .goals, .queues, .infra { grid-template-columns: 1fr; }
  .goal--img { aspect-ratio: 4 / 3; }
  .infra__card--wide { grid-column: auto; grid-row: auto; }
  .infra__card--wide img { aspect-ratio: 16 / 10; flex: none; height: auto; min-height: 0; }
  .queue--accent { outline: 0; }
  .plans { grid-template-columns: 1fr 1fr; gap: 12px; }
  .plan__img { padding: 10px; }
  .plan__body { padding: 14px; }
  .plan__body h3 { font-size: 14px; }
  .plan__meta { font-size: 13px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; gap: 24px; margin-right: calc(var(--gap) * -1); padding-right: var(--gap); scrollbar-width: none; }
  .tab { white-space: nowrap; }
  .ways li { grid-template-columns: 40px 1fr; }
  .ways p { grid-column: 2; }
  .fields { grid-template-columns: 1fr; }
  .hero__btns .btn, .plans__foot .btn, .invest__cta .btn, .promo .btn, .tour .btn, .amb .btn, .final-form__foot .btn { width: 100%; }
  .hero__inner { padding-bottom: 32px; }
  .hero__btns { margin-bottom: 36px; }
  .hero__facts li { padding-right: 12px; }
  .btn { padding: 14px 20px; font-size: 13px; }
}
@media (max-width: 420px) {
  .invest__grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan__img { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- WordPress: логотипы, галерея, документы ---------- */
.logo__img { max-height: 40px; width: auto; }
.footer__logo img, .amb__logo img { max-height: 48px; width: auto; }
.plan__img--photo { padding: 0; background: #fff; }
.plan__img--photo img { width: 100%; height: 100%; object-fit: contain; }
.tour__date { margin-top: 20px; font-size: 18px; }
.tour__date b { font-weight: 500; color: var(--gold); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 48px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .2s; }
.gallery a:hover img { opacity: .85; }
.promo__text + .promo__text { margin-top: 4px; }
.promo__text b { font-weight: 500; color: var(--white); }
.promo__until { color: var(--gold); white-space: nowrap; }
.header--static { position: sticky; }
.doc { background: var(--light); min-height: 60vh; }
.doc__inner { max-width: 860px; padding-top: 72px; padding-bottom: 96px; }
.doc__title { font-weight: 300; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; text-transform: uppercase; margin-bottom: 32px; }
.doc__content p, .doc__content li { margin-bottom: 14px; }
.doc__content h2, .doc__content h3 { font-weight: 500; margin: 32px 0 12px; }
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
