/* Торнадо-PLUS — лендинги под рекламу Meta
   Токены: чернила / ватман / межа (линия участка) / кнопка WhatsApp */

:root {
  --ink: #111a3a;
  --ink-2: #1a2450;
  --ink-line: #33407a;
  --paper: #f3f4f0;
  --paper-2: #e8ebe5;
  --white: #ffffff;
  --steel: #59616f;
  --rule: #c6ccd2;
  --mezha: #4be38a;        /* линия участка на фото и тёмном фоне */
  --mezha-ink: #12703f;    /* тот же акцент для текста на светлом фоне */
  --wa: #25d366;
  --wa-ink: #062b15;
  --danger: #b3261e;

  --f-display: "Geologica", "Golos Text", system-ui, sans-serif;
  --f-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1160px;
  --gutter: 16px;
  --band: clamp(56px, 9vw, 112px);
  --radius: 4px;
}

body[data-offer="baza"] {
  --mezha: #ffb547;
  --mezha-ink: #9a5206;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--mezha);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* ---------- Типографика ---------- */

.display, h1, h2, h3 {
  font-family: var(--f-display);
  font-variation-settings: "SHRP" 100;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-weight: 800;
  font-size: clamp(2.05rem, 6.2vw, 3.9rem);
  line-height: 1.02;
  text-wrap: balance;
}

h2 {
  font-weight: 750;
  font-size: clamp(1.65rem, 4.4vw, 2.6rem);
  line-height: 1.06;
  text-wrap: balance;
  margin-bottom: 0.6em;
}

h3 {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.15;
  margin-bottom: 0.5em;
}

.kicker {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mezha-ink);
  margin-bottom: 14px;
}
.on-ink .kicker { color: var(--mezha); }

.lede {
  font-size: clamp(1.08rem, 2.4vw, 1.25rem);
  line-height: 1.5;
  max-width: 36em;
}

.note {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--steel);
  max-width: 62ch;
}
.on-ink .note { color: rgba(243, 244, 240, 0.66); }

.mono { font-family: var(--f-mono); }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 0;
  font: 600 1rem/1.2 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: #3be07a; }
.btn--wa svg { width: 20px; height: 20px; flex: none; }

.btn--line {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.btn--line:hover { background: rgba(127, 127, 127, 0.12); }

.btn--block { width: 100%; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
@media (max-width: 479px) {
  .cta-row .btn { width: 100%; }
}

/* ---------- Шапка ---------- */

.top {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--ink-line);
}
.top__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__name {
  font-family: var(--f-display);
  font-variation-settings: "SHRP" 100;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.brand__place {
  display: none;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: rgba(243, 244, 240, 0.7);
  padding-left: 10px;
  border-left: 1px solid var(--ink-line);
}
.brand__mark { width: 22px; height: 22px; color: var(--mezha); }
.top .btn { min-height: 40px; padding: 8px 14px; font-size: 0.9rem; }
@media (max-width: 599px) { .top .btn { display: none; } }

@media (min-width: 720px) {
  .brand__place { display: inline; }
}
@media (min-width: 960px) {
  .top { position: sticky; top: 0; z-index: 20; }
}

/* ---------- Первый экран и контур участка ---------- */

.hero {
  background: var(--ink);
  color: var(--paper);
}
.hero__grid { display: grid; }
.hero__text {
  padding: 28px var(--gutter) 44px;
}
.hero__text .lede { color: rgba(243, 244, 240, 0.86); margin-top: 18px; }
.hero__fine {
  margin-top: 16px;
  font-size: 0.875rem;
  color: rgba(243, 244, 240, 0.66);
}

.plot {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;          /* на телефоне — квадрат, чтобы заголовок был на первом экране */
  overflow: hidden;
  background: #2a3150;
}
.plot__canvas {                  /* полный кадр 4:5; сдвиг подобран так, чтобы были видны участок и ул. Саина */
  position: absolute;
  left: 0;
  right: 0;
  top: -7.5%;
  aspect-ratio: 4 / 5;
}
.plot__canvas img,
.plot__canvas svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.plot__canvas img { object-fit: cover; }
.plot__canvas svg { z-index: 1; overflow: visible; }
.plot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(17, 26, 58, 0.62), rgba(17, 26, 58, 0) 30%);
  pointer-events: none;
}
.plot__edge {
  fill: var(--mezha);
  fill-opacity: 0;
  stroke: var(--mezha);
  stroke-width: 11;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.plot__pt {
  fill: var(--ink);
  stroke: var(--mezha);
  stroke-width: 7;
  opacity: 0;
}
.plot__label {
  font-family: var(--f-mono);
  font-weight: 500;
  fill: #fff;
  paint-order: stroke;
  stroke: rgba(17, 26, 58, 0.85);
  stroke-width: 14;
  stroke-linejoin: round;
  opacity: 0;
}
.plot__area {
  font-family: var(--f-display);
  font-variation-settings: "SHRP" 100;
  font-weight: 800;
}
.plot__cap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  margin: 0;
  font-family: var(--f-mono);
  font-size: 0.625rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
}

.plot.is-drawn .plot__edge {
  animation: draw-edge 1.9s cubic-bezier(0.55, 0.1, 0.25, 1) 0.25s forwards,
             fill-in 0.8s ease 2.05s forwards;
}
.plot.is-drawn .plot__pt { animation: fade-in 0.4s ease 1.9s forwards; }
.plot.is-drawn .plot__label { animation: fade-in 0.6s ease 2.2s forwards; }

@keyframes draw-edge { to { stroke-dashoffset: 0; } }
@keyframes fill-in { to { fill-opacity: 0.16; } }
@keyframes fade-in { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .plot__edge { stroke-dashoffset: 0; fill-opacity: 0.16; }
  .plot__pt, .plot__label { opacity: 1; }
  .plot.is-drawn .plot__edge,
  .plot.is-drawn .plot__pt,
  .plot.is-drawn .plot__label { animation: none; }
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: center;
    width: min(var(--wrap), 100% - 2 * var(--gutter));
    margin-inline: auto;
    gap: 56px;
    padding-block: 40px 56px;
  }
  .hero__text { padding: 0; order: -1; }
  .plot {
    aspect-ratio: 4 / 5;
    width: min(100%, calc((100vh - 150px) * 0.8));
    justify-self: end;
    border-radius: var(--radius);
  }
  .plot__canvas { top: 0; }
  .plot__cap { left: 16px; bottom: 14px; }
}

/* ---------- Штамп: сведения об объекте ---------- */

.sheet-band { padding-block: clamp(36px, 6vw, 64px) 0; }

.sheet {
  border: 2px solid var(--ink);
  background: var(--white);
}
.sheet__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 10px 14px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sheet__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  margin: 0;
}
.cell {
  background: var(--white);
  padding: 14px 14px 16px;
  margin: 0;
  min-width: 0;
}
.cell dt {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}
.cell__v {
  display: block;
  margin: 6px 0 4px;
  font-family: var(--f-display);
  font-variation-settings: "SHRP" 100;
  font-weight: 750;
  font-size: clamp(1.45rem, 4.4vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.cell__n { display: block; margin: 0; font-size: 0.8125rem; line-height: 1.35; color: var(--steel); overflow-wrap: anywhere; }

@media (min-width: 760px) {
  .sheet__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cell { padding: 18px 18px 20px; }
}

/* ---------- Секции ---------- */

.band { padding-block: var(--band); }
.band--alt { background: var(--paper-2); }
.band--ink { background: var(--ink); color: var(--paper); }

.split { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
  .split--wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

.prose { max-width: 40em; }

.points { list-style: none; margin: 20px 0 0; padding: 0; }
.points li {
  position: relative;
  padding: 0 0 0 26px;
  margin-bottom: 12px;
}
.points li::before {           /* точка межи — маркер, как вершина участка */
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 9px;
  height: 9px;
  border: 2px solid var(--mezha-ink);
  background: var(--paper);
}
.band--alt .points li::before { background: var(--paper-2); }
.on-ink .points li::before { border-color: var(--mezha); background: var(--ink); }

.photo { margin: 0; }
.photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--paper-2);
}
.photo--wide img { aspect-ratio: 2144 / 1010; }
.photo figcaption {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--steel);
}
.on-ink .photo figcaption { color: rgba(243, 244, 240, 0.66); }

.facts-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
}
.facts-inline b {
  font-family: var(--f-display);
  font-variation-settings: "SHRP" 100;
  font-weight: 750;
  font-size: 1.15rem;
  margin-right: 4px;
}

/* ---------- Владелец и видео ---------- */

.owner { display: grid; gap: 32px; align-items: center; }
.owner__video {
  width: min(100%, 360px);
  margin-inline: auto;
}
.owner__video video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius);
  background: #000;
}
.quote {
  margin: 0;
  font-family: var(--f-display);
  font-variation-settings: "SHRP" 100;
  font-weight: 650;
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.quote__who {
  display: block;
  margin-top: 18px;
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--mezha);
}
@media (min-width: 900px) {
  .owner { grid-template-columns: 360px minmax(0, 1fr); gap: 72px; }
  .owner__video { margin: 0; }
}

/* ---------- Модель: два источника дохода ---------- */

.duo { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: 24px; } }

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px 20px 24px;
}
.card--accent { border-top-color: var(--mezha-ink); }
.card__tag {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}
.card h3 { margin-top: 6px; }
.nums { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin: 18px 0; }
.nums div { min-width: 0; }
.nums b {
  display: block;
  font-family: var(--f-display);
  font-variation-settings: "SHRP" 100;
  font-weight: 750;
  font-size: clamp(1.35rem, 3.6vw, 1.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.nums span { display: block; font-size: 0.8125rem; line-height: 1.35; color: var(--steel); margin-top: 4px; }

/* ---------- Структура сделки ---------- */

.deal-bar {
  display: flex;
  margin: 28px 0 0;
  min-height: 64px;
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--f-mono);
  font-size: 0.8125rem;
}
.deal-bar > div {
  display: flex;
  align-items: center;
  padding: 10px 14px;
}
.deal-bar__a { flex: 800 1 0; background: var(--ink); color: var(--paper); }
.deal-bar__b { flex: 500 1 0; background: var(--mezha); color: var(--wa-ink); }

.deal-legend { display: grid; gap: 20px; margin-top: 22px; }
.deal-legend b {
  display: block;
  font-family: var(--f-display);
  font-variation-settings: "SHRP" 100;
  font-weight: 750;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}
.deal-legend .swatch {
  display: inline-block;
  width: 12px; height: 12px;
  margin-right: 8px;
  vertical-align: -1px;
  background: var(--ink);
}
.deal-legend .swatch--b { background: var(--mezha); }
@media (min-width: 760px) { .deal-legend { grid-template-columns: 1fr 1fr; gap: 32px; } }

.governance {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 36px;
}
.governance > div { background: var(--paper); padding: 16px 18px; }
.band--alt .governance > div { background: var(--paper-2); }
.governance dt {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 6px;
}
.governance dd { margin: 0; font-size: 0.9375rem; }
@media (min-width: 760px) { .governance { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Сценарии: диапазоны на оси ---------- */

.ranges { margin-top: 28px; }
.range {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.range__name { font-weight: 600; }
.range__name small { display: block; font-weight: 400; color: var(--steel); font-size: 0.8125rem; }
.range__track {
  position: relative;
  height: 34px;
  /* сетка оси: 2,0 · 2,5 млрд ₸ при шкале 1,2–2,7, вход 1,3 */
  background:
    linear-gradient(var(--rule), var(--rule)) 53.3333% 0 / 1px 100% no-repeat,
    linear-gradient(var(--rule), var(--rule)) 86.6667% 0 / 1px 100% no-repeat;
}
.range__bar {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: var(--from);
  width: calc(var(--to) - var(--from));
  background: var(--ink);
  border-radius: 2px;
}
.range--base .range__bar { background: var(--mezha-ink); }
.range__val {
  position: absolute;
  top: 50%;
  left: calc(var(--to) + 8px);
  transform: translateY(-50%);
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  white-space: nowrap;
}
.range--target .range__val { left: auto; right: calc(100% - var(--from) + 8px); }
.range__entry {
  position: absolute;
  top: -4px; bottom: -4px;
  left: 6.6667%;
  width: 2px;
  background: var(--danger);
}
.axis {
  position: relative;
  height: 22px;
  margin-top: 4px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--steel);
}
.axis span { position: absolute; transform: translateX(-50%); }
.axis__entry { color: var(--danger); }
@media (min-width: 760px) {
  .range { grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 24px; }
  .axis { margin-left: 224px; }
}

/* ---------- План на 36 месяцев ---------- */

.stages { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.stage {
  position: relative;
  padding: 0 0 28px 28px;
  border-left: 2px solid var(--rule);
}
.stage::before {
  content: "";
  position: absolute;
  left: -7px; top: 3px;
  width: 12px; height: 12px;
  background: var(--paper);
  border: 2px solid var(--ink);
}
.stage:last-child { padding-bottom: 0; }
.stage__when {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mezha-ink);
}
.stage h3 { margin: 6px 0 8px; }
.stage ul { margin: 0; padding-left: 18px; font-size: 0.9375rem; }
.stage li { margin-bottom: 4px; }
.stage__result { margin-top: 10px; font-size: 0.875rem; color: var(--steel); }
@media (min-width: 960px) {
  .stages { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .stage { border-left: 0; border-top: 2px solid var(--rule); padding: 22px 0 0; }
  .stage::before { left: 0; top: -7px; }
}

/* ---------- Таблица активов ---------- */

details.more {
  margin-top: 36px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
details.more summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  list-style-position: inside;
}
.assets { width: 100%; border-collapse: collapse; margin: 4px 0 18px; font-size: 0.9375rem; }
.assets th, .assets td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.assets td:last-child, .assets th:last-child { text-align: right; font-family: var(--f-mono); white-space: nowrap; padding-left: 16px; }
.assets tfoot td { font-weight: 700; border-bottom: 0; }
.assets th { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel); }

/* ---------- Периметр сделки (база) ---------- */

.perimeter { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 760px) { .perimeter { grid-template-columns: 1fr 1fr; } }
.perimeter > div { border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 20px; background: var(--white); }
.perimeter h3 { font-size: 1.05rem; }
.perimeter .out { background: transparent; border-style: dashed; }

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin: 8px 0 4px;
}
.price b {
  font-family: var(--f-display);
  font-variation-settings: "SHRP" 100;
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

/* ---------- Лента фото ---------- */

.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 74%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  margin-top: 28px;
  -webkit-overflow-scrolling: touch;
}
.strip .photo { scroll-snap-align: start; }
@media (min-width: 900px) {
  .strip { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; }
}

/* ---------- Форма → WhatsApp ---------- */

.request { display: grid; gap: 32px; }
@media (min-width: 960px) { .request { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; } }

.form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 22px 18px 24px;
}
@media (min-width: 560px) { .form { padding: 30px 30px 32px; } }

.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field > label, .field legend {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 8px;
  padding: 0;
}
.field legend small, .field > label small { font-weight: 400; color: var(--steel); }

.input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
  font: 400 1rem/1.4 var(--f-body);
  color: var(--ink);
}
textarea.input { min-height: 88px; resize: vertical; }
.input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(17, 26, 58, 0.16); }
.input[aria-invalid="true"] { border-color: var(--danger); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1.5px solid var(--rule);
  border-radius: 999px;
  font-size: 0.9375rem;
  cursor: pointer;
  user-select: none;
}
.chip input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.chip input:focus-visible + span { outline: 3px solid var(--mezha-ink); outline-offset: 2px; }

.form__status { min-height: 1.4em; margin-top: 12px; font-size: 0.9rem; color: var(--steel); }
.form__status a { color: var(--ink); font-weight: 600; }
.form__privacy { margin-top: 14px; font-size: 0.8125rem; color: var(--steel); }

/* ---------- Выбор предложения (главная) ---------- */

.doors { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 760px) { .doors { grid-template-columns: 1fr 1fr; } }
.door {
  display: block;
  text-decoration: none;
  background: var(--ink-2);
  color: var(--paper);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 20px 20px 22px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.door:hover { border-color: var(--mezha); transform: translateY(-2px); }
.door__tag { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mezha); }
.door__title { display: block; margin: 8px 0 6px; font-family: var(--f-display); font-variation-settings: "SHRP" 100; font-weight: 800; font-size: 1.6rem; line-height: 1.05; letter-spacing: -0.02em; }
.door__text { display: block; font-size: 0.9375rem; color: rgba(243, 244, 240, 0.78); }
.door__go { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--mezha); }
.door--amber { --mezha: #ffb547; }

/* ---------- Подвал ---------- */

.foot {
  background: var(--ink-2);
  color: var(--paper);
  padding-block: 48px 120px;
  font-size: 0.9375rem;
}
@media (min-width: 960px) { .foot { padding-bottom: 48px; } }
.foot__grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.foot a { color: var(--paper); }
.foot__name { font-weight: 600; }
.foot__cross {
  display: block;
  text-decoration: none;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.foot__cross:hover { border-color: var(--paper); }
.foot .note { color: rgba(243, 244, 240, 0.66); }
.foot__cross b { display: block; margin-top: 4px; }
.foot__legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--ink-line); font-size: 0.8125rem; color: rgba(243, 244, 240, 0.62); }

/* ---------- Нижняя кнопка (телефон) ---------- */

.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(17, 26, 58, 0.96);
  border-top: 1px solid var(--ink-line);
  transition: transform 0.25s ease;
}
.dock.is-hidden { transform: translateY(110%); }
@media (min-width: 960px) { .dock { display: none; } }
@media (prefers-reduced-motion: reduce) { .dock { transition: none; } }
