/* Долина на Обрывной — лендинг */

:root {
  --black: #000000;
  --white: #FFFFFF;
  --accent: #FF8562;
  --bronze: #C8996B;
  --graphite: #212224;
  --cream: #F9F0EB;
  --gray: #434548;
  --gold: #DFBE6A;
  --text-2: #E6E6E6;
  --text-3: #C5C5C5;
  --text-4: #9A9A9A;
  --line: rgba(255, 255, 255, 0.16);

  --f-head: 'Unbounded', sans-serif;
  --f-body: 'Manrope', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', monospace;
  --ease-out: cubic-bezier(.2, .7, .2, 1);

  --H: 900px; /* высота «экрана», задаёт app.js: min(innerHeight, 1000) */
  --pad-l: 24px; /* отступ ленты «Двери открыты», задаёт app.js */
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--f-body); -webkit-font-smoothing: antialiased; }
a { color: var(--white); }
a:hover { color: var(--accent); }
input, select, textarea, button { font: inherit; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { display: block; max-width: 100%; }

@keyframes dlRise { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes dlMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes dlHint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

#dl-root { position: relative; width: 100%; }
.content { position: relative; z-index: 1; }
.wrap { max-width: 1320px; margin: 0 auto; padding-left: 24px; padding-right: 24px; width: 100%; }
.screen { min-height: var(--H); }
.accent { color: var(--accent); }
.bronze { color: var(--bronze); }
.rise { animation: dlRise 1s var(--ease-out) var(--d, 0s) both; }

.stack-16 { display: flex; flex-direction: column; gap: 16px; }
.stack-20 { display: flex; flex-direction: column; gap: 20px; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }
.stack-48 { display: flex; flex-direction: column; gap: 48px; }

.eyebrow { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze); }
.eyebrow--dark { color: var(--black); }

.h2 { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.04; }
.h2--sm { font-size: clamp(30px, 3.8vw, 54px); line-height: 1.06; }
.h2--md { font-size: clamp(30px, 4vw, 56px); line-height: 1.06; }
.h2--lg { font-size: clamp(36px, 4.8vw, 72px); line-height: 1.02; }
.h2--xl { font-size: clamp(40px, 5.4vw, 84px); line-height: 0.98; }

.btn { display: inline-block; text-decoration: none; padding: 18px 28px; font-weight: 700; font-size: 16px; }
.btn--sm { padding: 12px 20px; font-size: 15px; }
.btn--accent { background: var(--accent); color: var(--black); }
.btn--accent:hover { color: var(--black); background: #ff9a7d; }
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.5); font-weight: 600; }
.btn--dark { background: var(--black); color: var(--white); padding: 16px 24px; align-self: flex-start; }
.btn--dark:hover { color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.outline-num { font-family: var(--f-head); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }

/* ===== Фон: видео ===== */
.stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--black); }
.stage__scenes { position: absolute; inset: 0; }
.stage__scenes video,
.stage__scenes .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.9s ease; }
.stage__scenes .is-on { opacity: 1; }
.stage__scenes .ph {
  inset: -8%; width: auto; height: auto;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 96px), repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 96px);
}
.stage__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.25); transition: background 0.8s ease; }
.stage__grain { position: absolute; inset: 0; opacity: 0.08; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 30; background: rgba(255, 255, 255, 0.08); }
.progress__bar { height: 100%; width: 0; background: var(--bronze); }

.hud { position: fixed; left: 24px; bottom: 24px; z-index: 20; width: 300px; display: flex; flex-direction: column; gap: 8px; font-family: var(--f-mono); font-size: 12px; color: rgba(255, 255, 255, 0.75); }
.hud__row { display: flex; justify-content: space-between; gap: 12px; }
.hud__title { font-size: 13px; color: var(--white); }
.hud__bar { height: 2px; background: rgba(255, 255, 255, 0.2); }
.hud__bar div { height: 100%; width: 0; background: var(--accent); }

/* Навигация по главам справа */
.rail { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 20; display: none; flex-direction: column; gap: 2px; }
.pin-on .rail { display: flex; }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 28px; text-decoration: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.rail span { opacity: 0; transition: opacity 0.3s; }
.rail i { display: block; width: 8px; height: 2px; background: rgba(255, 255, 255, 0.5); transition: width 0.3s; }
.rail a:hover span, .rail a.is-on span { opacity: 1; }
.rail a.is-on i { width: 24px; background: var(--accent); }

/* ===== Шапка ===== */
.header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.header__nav { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 48px; width: auto; }
.brand__name { font-family: var(--f-head); font-weight: 700; font-size: 16px; letter-spacing: 0.02em; }
.brand__name span { font-weight: 400; color: var(--text-3); }
.header__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 15px; }
.header__links a { text-decoration: none; padding: 12px 0; }
.header__links a.btn { padding: 12px 20px; }

/* ===== Герой ===== */
.hero { padding-top: 160px; padding-bottom: 64px; display: flex; flex-direction: column; justify-content: flex-end; gap: 40px; }
.hero > .eyebrow { animation-duration: .9s; }
.hero__title { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(44px, 8vw, 132px); line-height: 0.98; letter-spacing: -0.03em; }
.hero__title span { display: block; }
.hero__foot { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, 0.25); padding-top: 32px; }
.hero__foot p { flex: 1 1 480px; min-width: 0; margin: 0; max-width: 620px; font-size: 20px; line-height: 1.55; color: var(--text-2); }
.hero__hint { display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--text-3); }
.hero__hint span { display: inline-block; animation: dlHint 1.8s ease-in-out infinite; }

/* ===== Бегущая строка ===== */
.marquee { overflow: hidden; border-top: 1px solid rgba(255, 255, 255, 0.18); border-bottom: 1px solid rgba(255, 255, 255, 0.18); background: rgba(0, 0, 0, 0.55); padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: dlMarquee 40s linear infinite; font-family: var(--f-head); font-size: 22px; white-space: nowrap; }
.marquee__track span { padding-right: 48px; }
.marquee__track b { font-weight: inherit; color: var(--accent); }

/* ===== Закреплённые блоки ===== */
.pin { position: relative; }
.pin__sticky { display: flex; align-items: center; padding: 120px 0; }
.pin-on .pin__sticky { position: sticky; top: 0; height: var(--H); padding: 0; }

.section-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; }
.section-head__main { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.section-head__aside { flex: 1 1 360px; min-width: 0; margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.section-head__aside--narrow { flex: 0 1 400px; font-size: 17px; }

/* Идея */
.idea__text { margin: 0; max-width: 1160px; font-family: var(--f-head); font-weight: 500; font-size: clamp(28px, 3.8vw, 56px); line-height: 1.2; letter-spacing: -0.01em; }
.idea__text .w { opacity: 0.18; transition: opacity 0.35s ease; }
.idea__text .w.is-lit { opacity: 1; }
.idea__theses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; transition: opacity 0.6s ease, transform 0.6s ease; }
.pin-on .idea__theses { opacity: 0; transform: translateY(24px); }
.pin-on .idea__theses.is-on { opacity: 1; transform: none; }
.thesis { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--accent); padding-top: 20px; }
.thesis__title { font-family: var(--f-head); font-size: 20px; font-weight: 500; }
.thesis p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-3); }

/* Двери открыты */
.visit__sticky { flex-direction: column; align-items: stretch; gap: 40px; }
.visit-pin .visit__sticky { position: sticky; top: 0; height: var(--H); padding: 0; overflow: hidden; justify-content: center; gap: 48px; }
.visit__track { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; padding: 0 24px; max-width: 1320px; margin: 0 auto; width: 100%; }
.visit-pin .visit__track { display: flex; max-width: none; margin: 0; padding: 0 0 0 var(--pad-l); will-change: transform; }
.vcard { min-height: 380px; background: rgba(0, 0, 0, 0.82); border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.visit-pin .vcard { flex: 0 0 380px; }
.vcard .outline-num { font-size: 72px; }
.vcard__kicker { font-family: var(--f-mono); font-size: 13px; color: var(--accent); }
.vcard h3 { margin: 0; font-family: var(--f-head); font-size: 24px; font-weight: 500; }
.vcard p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-3); }
.vcard--cta { background: var(--accent); color: var(--black); border: 0; gap: 20px; }
.visit-pin .vcard--cta { flex-basis: 420px; }
.vcard .vcard__cta-text { margin: 0; color: var(--black); font-family: var(--f-head); font-size: 30px; line-height: 1.2; font-weight: 700; }
.vcard__note { font-size: 14px; }
.visit__spacer { display: none; }
.visit-pin .visit__spacer { display: block; flex: 0 0 24px; }

/* Экосистема */
.eco { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.eco__col { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.eco__mid { flex: 1 1 260px; min-width: 0; display: flex; }
.eco__item { flex-grow: 1; display: flex; flex-direction: column; transition: transform 0.15s linear, opacity 0.15s linear; }
.force { background: rgba(33, 34, 36, 0.92); padding: 28px; display: flex; flex-direction: column; gap: 10px; height: 100%; }
.force__kicker { font-family: var(--f-mono); font-size: 12px; color: var(--accent); }
.force h3 { margin: 0; font-family: var(--f-head); font-size: 20px; font-weight: 500; }
.force p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-3); }
.force .force__gives { font-size: 14px; color: var(--white); border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 10px; }
.eco__center { flex-grow: 1; min-height: 300px; background: var(--accent); color: var(--black); padding: 32px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 16px; }
.eco__center-title { font-family: var(--f-head); font-size: 34px; font-weight: 700; }
.eco__center p { margin: 0; font-size: 16px; line-height: 1.5; max-width: 240px; }

/* Путь роста */
.path__now { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; }
.path__num { font-family: var(--f-head); font-size: clamp(120px, 14vw, 220px); line-height: 0.8; font-weight: 700; color: transparent; -webkit-text-stroke: 2px var(--accent); }
.path__desc { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding-bottom: 8px; }
.path__title { font-family: var(--f-head); font-size: clamp(26px, 3vw, 40px); font-weight: 700; }
.path__desc p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 560px; }
.line { height: 2px; background: rgba(255, 255, 255, 0.2); }
.line__fill { height: 100%; width: 100%; background: var(--accent); }
.path__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.path__steps li { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; transition: opacity 0.4s, color 0.4s; }
.path__steps span { font-family: var(--f-mono); font-size: 13px; }
.path__steps b { font-size: 17px; }
.pin-on .path__steps li { opacity: 0.35; }
.pin-on .path__steps li.is-done { opacity: 1; }
.pin-on .path__steps li.is-now { color: var(--accent); }
/* Без закрепления путь показываем целиком: номер и описание текущего шага не нужны */
html:not(.pin-on) .path__now { display: none; }

/* ===== Зоны ===== */
.zones { position: relative; }
.zones__nav { position: sticky; top: 0; z-index: 5; background: rgba(0, 0, 0, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.zones__nav nav { padding-top: 12px; padding-bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.zones__label { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--bronze); }
.zones__nav a { text-decoration: none; padding: 10px 0; font-size: 14px; font-weight: 600; border-bottom: 2px solid transparent; }
.zones__nav a.is-on { color: var(--accent); border-bottom-color: var(--accent); }
.zones__intro { padding-top: 120px; padding-bottom: 40px; }
.zones__intro .h2 { max-width: 900px; font-size: clamp(36px, 5vw, 76px); line-height: 1.02; }

.zone { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; --zc: var(--accent); }
.zone--rev { flex-direction: row-reverse; }
.zone--bronze { --zc: var(--bronze); }
.zone__num { flex: 1 1 360px; font-family: var(--f-head); font-size: clamp(140px, 18vw, 280px); line-height: 0.82; font-weight: 700; color: transparent; -webkit-text-stroke: 2px var(--zc); }
.zone--rev .zone__num { text-align: right; }
.zone__card { flex: 1 1 600px; min-width: 0; background: rgba(0, 0, 0, 0.8); border-top: 2px solid var(--zc); padding: 48px; display: flex; flex-direction: column; gap: 24px; }
.zone__layer { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.12em; color: var(--bronze); }
.zone__card h3 { margin: 0; font-family: var(--f-head); font-size: clamp(26px, 2.8vw, 40px); font-weight: 700; line-height: 1.12; }
.zone__lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--text-2); }
.zone__card dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 32px; }
.zone__card dt { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.zone__card dd { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-3); }
.zone__stats { display: flex; flex-wrap: wrap; gap: 12px 48px; padding-top: 20px; border-top: 1px solid var(--line); }
.zone__stats b { display: block; font-family: var(--f-head); font-size: 26px; font-weight: 400; }
.zone__stats span { font-size: 14px; color: var(--text-4); }

/* ===== Выгоды ===== */
.benefits { padding-top: 120px; padding-bottom: 120px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 64px; align-items: center; }
.benefits__head { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.benefits__head .h2 { font-size: clamp(40px, 4.4vw, 72px); }
.benefits__head p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.roles { min-width: 0; background: rgba(0, 0, 0, 0.82); border: 1px solid var(--line); display: flex; flex-direction: column; }
.roles__tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.roles__tabs button { flex: 1 1 140px; min-height: 60px; padding: 0 20px; border: 0; cursor: pointer; font-weight: 700; font-size: 15px; background: transparent; color: var(--white); }
.roles__tabs button[aria-pressed="true"] { background: var(--accent); color: var(--black); }
.roles__body { padding: 40px; min-height: 340px; }
.roles__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 22px; font-family: var(--f-head); font-size: clamp(18px, 1.8vw, 24px); line-height: 1.3; }
.roles__list li { display: flex; gap: 16px; }
.roles__list li::before { content: '→'; color: var(--accent); }

/* ===== Кооперация ===== */
.coop { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; justify-content: center; gap: 56px; }
.coop__formula { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 28px; font-family: var(--f-head); font-weight: 700; font-size: clamp(40px, 6.4vw, 104px); line-height: 1.02; }
.coop__formula span { display: inline-block; transition: opacity 0.5s ease, transform 0.6s var(--ease-out); }
.anim .coop__formula span { opacity: 0; transform: translateY(40px); }
.anim .coop__formula span.is-on { opacity: 1; transform: none; }
.coop__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.coop__grid > div { background: rgba(0, 0, 0, 0.85); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.coop__title { font-family: var(--f-head); font-size: 19px; color: var(--accent); }
.coop__grid p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-3); }

/* ===== Форматы ===== */
.join { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 48px; }
.join__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.jcard { background: rgba(33, 34, 36, 0.94); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.jcard h3 { margin: 0; font-family: var(--f-head); font-size: 20px; font-weight: 500; }
.jcard p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-3); }
.jcard__price { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-family: var(--f-head); font-size: 18px; }
.jcard--accent { background: var(--accent); color: var(--black); }
.jcard--accent p { color: var(--black); }
.jcard--accent .jcard__price { border-top-color: rgba(0, 0, 0, 0.25); }

/* ===== Локация ===== */
.location { padding-top: 120px; padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 48px; }
.location__info { flex: 1 1 420px; min-width: 0; background: rgba(0, 0, 0, 0.82); padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.location__lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-2); }
.location__dev { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.location__kicker { font-family: var(--f-mono); font-size: 12px; color: var(--bronze); }
.location__dev-name { font-family: var(--f-head); font-size: 20px; }
.location__dev p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-3); }
.location__links { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; }
.location__links a { padding: 12px 0; }
.location__map { flex: 999 1 560px; min-width: 0; min-height: 460px; background: rgba(33, 34, 36, 0.92); position: relative; overflow: hidden; }
.location__map svg { position: absolute; inset: 0; }
.location__legend { position: absolute; left: 24px; top: 24px; display: flex; flex-direction: column; gap: 10px; font-family: var(--f-mono); font-size: 13px; }
.location__legend span { display: flex; align-items: center; gap: 10px; }
.location__legend i { width: 14px; height: 14px; }
.location__legend .line-i { height: 2px; background: var(--bronze); }
.location__todo { position: absolute; right: 24px; bottom: 24px; font-family: var(--f-mono); font-size: 12px; color: var(--text-4); }

/* ===== Контакты ===== */
.contact { background: var(--accent); color: var(--black); }
.contact a { color: var(--black); }
.contact__inner { padding-top: 120px; padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 56px; }
.contact__info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact__lead { margin: 0; font-size: 19px; line-height: 1.6; }
.contact__lines { display: flex; flex-direction: column; gap: 6px; font-size: 18px; }
.contact__lines > * { padding: 6px 0; }
.contact__phone { font-family: var(--f-head); font-size: 26px; text-decoration: none; }
.contact__social { display: flex; flex-wrap: wrap; gap: 8px; }
.contact__social a { text-decoration: none; padding: 12px 18px; border: 1.5px solid var(--black); font-weight: 600; }
.contact__social a:hover { background: var(--black); color: var(--accent); }

.form { flex: 999 1 520px; min-width: 0; background: var(--black); color: var(--white); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.form a { color: var(--white); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--text-3); }
.form input:not([type="checkbox"]), .form select, .form textarea { padding: 0 16px; background: var(--graphite); border: 1px solid rgba(255, 255, 255, 0.25); color: var(--white); font-size: 16px; border-radius: 0; }
.form input:not([type="checkbox"]), .form select { height: 52px; }
.form textarea { padding: 14px 16px; resize: vertical; }
.form .form__consent { flex-direction: row; gap: 12px; align-items: flex-start; line-height: 1.5; }
.form__consent input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--accent); }
.form button { height: 60px; border: 0; background: var(--accent); color: var(--black); font-family: var(--f-head); font-weight: 700; font-size: 16px; cursor: pointer; }
.form__note { margin: 0; font-size: 14px; color: var(--bronze); }

/* ===== Подвал ===== */
.footer { background: var(--black); }
.footer__inner { padding-top: 48px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; font-size: 13px; line-height: 1.6; color: var(--text-4); }
.footer__inner img { height: 56px; width: auto; flex: 0 0 auto; }
.footer__legal { flex: 1 1 420px; min-width: 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer__links a { color: var(--text-4); padding: 8px 0; }
.footer__note { flex: 1 1 100%; }

/* ===== Без закреплений (телефон, планшет): блоки появляются при прокрутке ===== */
.m-anim .reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.7s ease var(--rd, 0s), transform 0.8s var(--ease-out) var(--rd, 0s); }
.m-anim .eco__item.reveal[data-dir="-1"] { transform: translateX(-48px); }
.m-anim .eco__item.reveal[data-dir="1"] { transform: translateX(48px); }
.m-anim .eco__center.reveal { transform: scale(0.85); }
.m-anim .reveal.is-in { opacity: 1; transform: none; }
.pin { overflow-x: clip; }
.line__fill { transition: width 0.2s linear; }

/* Двери открыты на телефоне: лента тоже едет вбок при прокрутке, карточки уже */
html.visit-pin:not(.pin-on) .visit__sticky { gap: 28px; }
html.visit-pin:not(.pin-on) .visit__track { gap: 12px; }
html.visit-pin:not(.pin-on) .vcard { flex: 0 0 min(80vw, 380px); min-height: 0; height: min(400px, calc(var(--H) - 340px)); padding: 24px; }
html.visit-pin:not(.pin-on) .vcard .outline-num { font-size: 56px; }
html.visit-pin:not(.pin-on) .vcard--cta { flex-basis: min(80vw, 380px); }

/* ===== Телефон ===== */
@media (max-width: 899px) {
  .hero { padding-top: 140px; }
  .hero__foot p { font-size: 18px; }
  .header__links { gap: 4px 16px; font-size: 14px; }
  .brand img { height: 40px; }
  .zone { min-height: 0; padding-top: 56px; padding-bottom: 56px; }
  .zone--rev { flex-direction: row; }
  .zone--rev .zone__num { text-align: left; }
  .zone__num { flex-basis: 100%; font-size: clamp(96px, 30vw, 160px); }
  .zone__card { padding: 28px 20px; }
  .benefits { grid-template-columns: 1fr; }
  .roles__body { padding: 28px 20px; min-height: 0; }
  .location__info, .form { padding: 28px 20px; }
  .location__map { min-height: 340px; }
  .zones__intro { padding-top: 80px; }
  .benefits, .coop, .join, .location { padding-top: 80px; padding-bottom: 80px; }
  .contact__inner { padding-top: 80px; padding-bottom: 80px; }
  .hud { display: none; }
  /* Меню зон — одна строка с горизонтальной прокруткой, чтобы не закрывало контент */
  .zones__nav nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-top: 6px; padding-bottom: 6px;
    /* края меню плавно гаснут — видно, что строка продолжается */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); }
  .zones__nav nav::-webkit-scrollbar { display: none; }
  .zones__nav a, .zones__label { flex: 0 0 auto; white-space: nowrap; }
  .zones__label { display: none; }
}

@media (max-width: 599px) {
  .header__links a:not(.btn) { display: none; }
  .header__nav { flex-wrap: nowrap; }
  .brand__name span { display: none; }
  .hero { padding-top: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
