/* =========================================================
   «Подология» — франшиза. Лендинг
   Палитра взята с podologiya.clinic: #00B368 + графитовый текст.
   ========================================================= */

/* Manrope (SIL OFL, бесплатный): один вариативный файл на начертания 200–800,
   оставлены латиница, кириллица и типографские знаки. Лицензия — fonts/Manrope-OFL.txt */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2-variations"),
       url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --c-emerald: #00B368;          /* фирменный зелёный: заливки, графика, кнопки */
  --c-on-emerald: #FFFFFF;       /* текст и значки на зелёных кнопках — белые, как на сайте сети */
  --c-emerald-hover: #00A45F;    /* ховер заливки (с сайта сети) */
  --c-emerald-text: #00804B;     /* зелёный для текста на светлом фоне: 5.0:1 на белом */
  --c-glow: #6BF0B0;             /* свечение: только на тёмном фоне */

  /* Neutrals */
  --c-ink: #0F1C17;
  --c-ink-2: #2B3A34;
  --c-stone: #56655E;            /* вторичный текст: 6.1:1 на белом */
  --c-line: #DCE6E1;
  --c-line-strong: #C3D3CB;
  --c-white: #FFFFFF;
  --c-marble: #F4F7F5;
  --c-mint: #F0FAF6;             /* мятный фон с сайта сети */
  --c-mint-line: #D3EBDF;

  /* Dark */
  --c-forest: #062A1F;
  --c-on-dark: #E9F5EF;
  --c-on-dark-muted: #9FBDB0;    /* 7.6:1 на forest */
  --c-dark-line: rgba(233, 245, 239, .12);

  --c-error: #B42318;

  /* Type */
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-display: var(--f-body);
  --f-label: var(--f-body);      /* подписи-плашки: тот же шрифт, капсом с разрядкой */
  --fw-display: 600;
  --ls-num: .01em;               /* крупные цифры: без отрицательной разрядки нули не слипаются */

  --t-hero: clamp(2.6rem, 1.2rem + 4.6vw, 5rem);
  --t-h2: clamp(2rem, 1.25rem + 2.6vw, 3.4rem);
  --t-h3: clamp(1.3rem, 1.15rem + .5vw, 1.6rem);
  --t-lead: clamp(1.0625rem, 1rem + .3vw, 1.2rem);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 6vw + 40px, 136px);
  --header-h: 76px;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 30px;

  --shadow-card: 0 1px 2px rgba(15, 28, 23, .05);  /* карточки с рамкой: только лёгкий контакт, без широкой тени */
  --shadow-float: 0 30px 70px -30px rgba(6, 42, 31, .5);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-scan: cubic-bezier(.45, .05, .35, 1);
  --dur-fast: 160ms;
  --dur: 240ms;

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ol, ul { padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--c-emerald-text);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Поверхности браузера — в палитре бренда */
html { scrollbar-color: var(--c-line-strong) var(--c-marble); }
::selection { background: rgba(0, 179, 104, .22); color: var(--c-ink); }
.section--dark ::selection, .scan ::selection, .plan--featured ::selection,
.reserve__card ::selection, .footer ::selection, .bento__card--wide ::selection {
  background: rgba(107, 240, 176, .3);
  color: var(--c-white);
}
input, textarea { caret-color: var(--c-emerald-text); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--c-ink);
  color: var(--c-white);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: block;
  margin-bottom: 18px;
  color: var(--c-emerald-text);
  font-family: var(--f-label);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.3;
}
.eyebrow--on-dark { color: var(--c-glow); }

.h2 {
  font-family: var(--f-display);
  font-size: var(--t-h2);
  font-weight: var(--fw-display);
  line-height: 1.05;
  letter-spacing: -.022em;
  text-wrap: balance;
}

.h3 {
  font-family: var(--f-display);
  font-size: var(--t-h3);
  font-weight: var(--fw-display);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.lead {
  max-width: 58ch;
  color: var(--c-stone);
  font-size: var(--t-lead);
  line-height: 1.6;
}

.section { padding-block: var(--section-y); }

.section-head { max-width: 780px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head .lead { margin-top: 18px; }

.section-head--split {
  display: grid;
  gap: 18px;
  max-width: none;
}
.section-head--split .lead { margin-top: 0; }

@media (min-width: 960px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: end;
    gap: 64px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease,
    color var(--dur-fast) ease, transform var(--dur-fast) ease, box-shadow var(--dur) ease;
}
.btn:active { transform: scale(.98); }
.btn .icon { transition: transform var(--dur) var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary {
  background: var(--c-emerald);
  color: var(--c-on-emerald);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--primary:hover { background: var(--c-emerald-hover); }

.btn--ghost {
  background: transparent;
  border-color: var(--c-line-strong);
  color: var(--c-ink);
}
.btn--ghost:hover { border-color: var(--c-ink); background: var(--c-white); }

.btn--sm { min-height: 44px; padding: 0 16px; font-size: .9375rem; border-radius: 12px; }
.btn--lg { min-height: 58px; padding: 0 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; white-space: normal; text-wrap: balance; padding-block: 12px; line-height: 1.35; }

/* Одноколоночные сетки не должны раздвигаться содержимым шире экрана */
.hero__grid, .economics__grid, .launch__grid, .faq__grid, .apply__grid, .reserve__card,
.why__grid, .plans, .bento, .cases, .fit__list, .footer__grid, .pricelist {
  grid-template-columns: minmax(0, 1fr);
}

.text-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-emerald-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  cursor: pointer;
}
.text-button:hover { color: var(--c-ink); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-emerald-text);
  font-weight: 600;
  text-decoration: none;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(3px); }

.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.ticks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-ink-2);
  font-size: .9375rem;
  font-weight: 500;
}
.ticks .icon { width: 18px; height: 18px; color: var(--c-emerald-text); stroke-width: 2.2; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) ease;
}
.header.is-scrolled { border-bottom-color: var(--c-line); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--c-ink);
  text-decoration: none;
  flex: none;
}
.brand__mark { width: 40px; height: auto; }
.brand__text { display: grid; line-height: 1.1; }
.brand__name { font-family: var(--f-body); font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.brand__tag { color: var(--c-stone); font-size: .75rem; font-weight: 500; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--c-ink-2);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.nav__list a:hover { color: var(--c-emerald-text); background: var(--c-mint); }
.nav__mobile-extra { display: none; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--c-ink);
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  white-space: nowrap;
}
.header__phone .icon { width: 18px; height: 18px; color: var(--c-emerald-text); }
.header__phone:hover { color: var(--c-emerald-text); }

.header__burger {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1.5px solid var(--c-line-strong);
  border-radius: 12px;
  background: var(--c-white);
  color: var(--c-ink);
}
.header__burger .icon { width: 22px; height: 22px; }
.header__burger .icon--close { display: none; }
.header__burger[aria-expanded="true"] .icon--menu { display: none; }
.header__burger[aria-expanded="true"] .icon--close { display: block; }

@media (min-width: 1240px) { .header__phone { display: inline-flex; } }

@media (max-width: 1079.98px) {
  .header__actions { margin-left: auto; }
  .header__burger { display: grid; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 49;
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 0;
    padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: var(--c-white);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out), visibility 0s;
  }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a {
    width: 100%;
    min-height: 60px;
    padding: 0;
    border-bottom: 1px solid var(--c-line);
    border-radius: 0;
    font-family: var(--f-display);
    font-size: 1.5rem;
    color: var(--c-ink);
  }
  .nav__list a:hover { background: none; }
  .nav__mobile-extra { display: grid; gap: 16px; margin-top: auto; }
  .nav__phone { font-family: var(--f-display); font-size: 1.4rem; font-weight: var(--fw-display); text-decoration: none; }
}

@media (max-width: 599.98px) {
  .header__cta { display: none; }
  .brand__tag { font-size: .7rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(28px, 4vw, 64px) 0 var(--section-y);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(0, 179, 104, .10), rgba(0, 179, 104, 0));
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 48px;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
    gap: clamp(40px, 5vw, 80px);
  }
}
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
}

.hero__title {
  font-family: var(--f-display);
  font-size: var(--t-hero);
  font-weight: var(--fw-display);
  line-height: .98;
  letter-spacing: -.035em;
}
.hero__title .line { display: inline; }
@media (min-width: 640px) { .hero__title .line { display: block; } }

.hero__lead {
  max-width: 54ch;
  margin-top: 26px;
  color: var(--c-stone);
  font-size: var(--t-lead);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.facts__item {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 4px;
  padding: 18px 14px 18px 0;
}
.facts__item + .facts__item { padding-left: clamp(12px, 2vw, 24px); border-left: 1px solid var(--c-line); }
.facts dt { color: var(--c-stone); font-size: .875rem; line-height: 1.35; }
.facts dd {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, .8rem + 1.3vw, 1.9rem);
  font-weight: var(--fw-display);
  letter-spacing: var(--ls-num);
  line-height: 1.1;
  font-variant-numeric: proportional-nums;
  white-space: nowrap;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__ticks { margin-top: 24px; }

@media (max-width: 479.98px) {
  .hero__actions .btn { width: 100%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts__item:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--c-line);
  }
}

/* Hero entrance — CSS only, no JS dependency */
.hero [data-hero-step] { animation: rise .9s var(--ease-out) both; }
.hero [data-hero-step="1"] { animation-delay: .05s; }
.hero [data-hero-step="2"] { animation-delay: .12s; }
.hero [data-hero-step="3"] { animation-delay: .22s; }
.hero [data-hero-step="4"] { animation-delay: .32s; }
.hero [data-hero-step="5"] { animation-delay: .4s; }
.hero [data-hero-step="6"] { animation-delay: .48s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Signature: plantogram scan ---------- */
.scan { position: relative; max-width: 540px; width: 100%; justify-self: center; }

.scan__panel {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: var(--r-xl);
  background: var(--c-forest);
  color: var(--c-on-dark);
  box-shadow: var(--shadow-float), inset 0 0 0 1px rgba(107, 240, 176, .07);
  overflow: hidden;
}
.scan__panel::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(0, 179, 104, .22), transparent);
  pointer-events: none;
}

.scan__head, .scan__foot {
  position: relative;
  display: flex;
  align-items: center;
  font-family: var(--f-label);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.scan__head { justify-content: space-between; color: var(--c-on-dark-muted); padding: 2px 4px 0; }

.scan__live { display: inline-flex; align-items: center; gap: 8px; color: var(--c-glow); }
.scan__live i, .scan__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-glow);
}

.scan__screen {
  position: relative;
  margin: 14px 0;
  aspect-ratio: 480 / 540;
  border-radius: var(--r-md);
  background: var(--c-forest);
  border: 1px solid rgba(233, 245, 239, .07);
  overflow: hidden;
  isolation: isolate;
}
.scan__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background: radial-gradient(ellipse 70% 62% at 50% 48%, transparent 55%, rgba(3, 20, 15, .55));
  pointer-events: none;
}

.scan__layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.scan__heat { z-index: 1; }
.scan__heat-group { animation: breathe 5.5s ease-in-out 2.8s infinite; }
.scan__cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--c-forest);
  animation: scan-cover 2.3s var(--ease-scan) .45s both;
}
.scan__overlay { z-index: 3; }
.scan__outline use { fill: none; stroke: rgba(233, 245, 239, .34); stroke-width: 1.3; }
.scan__iso use { fill: none; stroke: rgba(107, 240, 176, .3); stroke-width: 1; stroke-dasharray: 2 5; }
.scan__axis { stroke: rgba(233, 245, 239, .16); stroke-width: 1; stroke-dasharray: 4 7; }
.scan__ticks path { stroke: rgba(233, 245, 239, .24); stroke-width: 1; }

.scan__beam {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  transform: translateY(-100%);
  animation: scan-beam 2.3s var(--ease-scan) .45s both, fade-out .6s ease 2.75s forwards;
}
.scan__beam::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 34%;
  background: linear-gradient(to bottom, rgba(107, 240, 176, 0), rgba(107, 240, 176, .16));
}
.scan__beam::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--c-glow);
  box-shadow: 0 0 16px 3px rgba(107, 240, 176, .6);
}

.scan__side {
  position: absolute;
  bottom: 12px;
  z-index: 6;
  color: var(--c-on-dark-muted);
  font-family: var(--f-label);
  font-size: .75rem;
  letter-spacing: .1em;
}
.scan__side--l { left: 24%; }
.scan__side--r { right: 24%; }

.scan__foot {
  display: grid;
  grid-template-columns: auto minmax(40px, 1fr) auto;
  gap: 10px 12px;
  padding: 0 4px 2px;
  color: var(--c-on-dark);
}
.scan__bar {
  position: relative;
  height: 6px;
  border-radius: 3px;
  background: rgba(233, 245, 239, .1);
  overflow: hidden;
}
.scan__bar i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--c-emerald) 0 49.4%, var(--c-forest) 49.4% 50.6%, var(--c-emerald) 50.6%);
  transform-origin: center;
  animation: bar-grow 1s var(--ease-out) 2.5s both;
}
.scan__status {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-glow);
}
@media (min-width: 420px) {
  .scan__foot { grid-template-columns: auto minmax(40px, 1fr) auto auto; }
  .scan__status { grid-column: auto; margin-left: 8px; }
}

.scan__caption {
  max-width: 46ch;
  margin-top: 16px;
  color: var(--c-stone);
  font-size: .875rem;
  line-height: 1.5;
}

@keyframes scan-cover { from { transform: translateY(0); } to { transform: translateY(100%); } }
@keyframes scan-beam { from { transform: translateY(-100%); } to { transform: translateY(0); } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .82; } }

/* ---------- Network ---------- */
.network { background: var(--c-marble); }

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
  padding-left: 28px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 16px; bottom: 16px;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--c-emerald) 0 78%, transparent 78%) no-repeat,
    repeating-linear-gradient(to bottom, var(--c-emerald) 0 5px, transparent 5px 11px);
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 10px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-white);
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 50%;
  width: 16px; height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--c-white);
  border: 4px solid var(--c-emerald);
}
.timeline__item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}
.timeline__year {
  display: block;
  color: var(--c-emerald-text);
  font-family: var(--f-label);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
}
.timeline__place {
  margin-top: 2px;
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: var(--fw-display);
  letter-spacing: -.02em;
  line-height: 1.2;
}
.timeline__addr { margin-top: 4px; color: var(--c-stone); font-size: .9rem; line-height: 1.45; }
.timeline__place, .timeline__addr { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 399.98px) {
  .timeline__item { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
  .timeline__place { font-size: 1.15rem; }
}

.timeline__item--next {
  display: block;
  padding: 20px;
  border-style: dashed;
  border-color: var(--c-emerald-text);
  background: var(--c-mint);
}
.timeline__item--next::before { background: var(--c-mint); border-width: 2px; border-style: dashed; border-color: var(--c-emerald-text); }
.timeline__next .link-arrow { display: inline-block; margin-top: 14px; line-height: 1.35; }
.timeline__next .link-arrow .icon { display: inline-block; margin-left: 4px; vertical-align: -3px; }

@media (min-width: 1100px) {
  .timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    padding: 34px 0 0;
  }
  .timeline::before {
    left: 0; right: 0; top: 7px; bottom: auto;
    width: auto; height: 1.5px;
    background: linear-gradient(to right, var(--c-emerald) 0 78%, transparent 78%) no-repeat,
      repeating-linear-gradient(to right, var(--c-emerald) 0 5px, transparent 5px 11px);
  }
  .timeline__item {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 14px;
    padding: 10px 10px 18px;
  }
  .timeline__item::before { left: 12px; top: -34px; margin-top: 0; }
  .timeline__item img { aspect-ratio: 5 / 4; }
  .timeline__body { padding: 0 6px; }
  .timeline__item--next { padding: 22px 18px; }
  .timeline__item--next::before { left: 12px; }
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
  margin-top: clamp(48px, 5vw, 72px);
}
.stats__item {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 18px;
  border-top: 1.5px solid var(--c-ink);
}
.stats dd {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.6rem);
  font-weight: var(--fw-display);
  letter-spacing: var(--ls-num);
  line-height: 1;
  font-variant-numeric: proportional-nums;
}
.stats__item--rating dd { line-height: 0; }
.stats__item--rating img { width: min(100%, 280px); height: auto; }
.stats dt { max-width: 28ch; color: var(--c-stone); font-size: .9375rem; line-height: 1.45; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Why ---------- */
.why__grid { display: grid; gap: 16px; }
@media (min-width: 860px) {
  .why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-card--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 40px;
  }
  .why-card--wide .chips { margin-top: 0; }
}
@media (min-width: 860px) and (max-width: 1023.98px) {
  .why-card--wide { grid-template-columns: 1fr; gap: 8px; }
  .why-card--wide .chips { margin-top: 10px; }
}

.why-card {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: var(--c-marble);
}
.why-card__title {
  margin-bottom: 12px;
  font-family: var(--f-display);
  font-size: var(--t-h3);
  font-weight: var(--fw-display);
  letter-spacing: -.02em;
  line-height: 1.15;
}
.why-card p { color: var(--c-ink-2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li {
  padding: 6px 12px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-white);
  color: var(--c-ink-2);
  font-size: .875rem;
  line-height: 1.35;
}

.pricelist {
  display: grid;
  gap: 24px;
  margin-top: 16px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
}
.pricelist__note { margin-top: 8px; color: var(--c-stone); font-size: .9375rem; }
.pricelist__list { display: grid; gap: 4px 48px; }
.pricelist__list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  font-size: 1rem;
}
.pricelist__list i {
  flex: 1;
  min-width: 16px;
  border-bottom: 1.5px dotted var(--c-line-strong);
  transform: translateY(-4px);
}
.pricelist__list b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 860px) {
  .pricelist__head { display: flex; justify-content: space-between; align-items: baseline; gap: 32px; }
  .pricelist__note { max-width: 44ch; margin-top: 0; text-align: right; }
  .pricelist__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 64px; }
}
@media (max-width: 479.98px) {
  .pricelist__list li { flex-wrap: wrap; gap: 2px 10px; }
  .pricelist__list i { display: none; }
  .pricelist__list span { flex: 1 1 100%; color: var(--c-ink-2); }
}

/* ---------- Formats ---------- */
.formats { background: var(--c-marble); }

.plans { display: grid; gap: 16px; }
@media (min-width: 1000px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
@media (min-width: 640px) and (max-width: 999.98px) { .plans { max-width: 600px; margin-inline: auto; } }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px 12px 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  background: var(--c-white);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease;
}
@media (hover: hover) {
  .plan:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(15, 28, 23, .04), 0 24px 48px -20px rgba(15, 28, 23, .2); }
}
.plan__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md); }
.plan__top { padding: 20px 10px 0; }
.plan__name {
  font-family: var(--f-display);
  font-size: 2.1rem;
  font-weight: var(--fw-display);
  letter-spacing: -.025em;
  line-height: 1;
}
.plan__services { margin-top: 8px; color: var(--c-stone); font-size: .9375rem; line-height: 1.45; min-height: 2.9em; }
.plan__profit {
  display: block;
  margin: 18px 10px 6px;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2rem);
  font-weight: var(--fw-display);
  letter-spacing: var(--ls-num);
  line-height: 1.05;
  font-variant-numeric: proportional-nums;
}
.plan__profit span {
  display: block;
  margin-bottom: 6px;
  color: var(--c-stone);
  font-family: var(--f-label);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.plan__profit small { color: var(--c-stone); font-size: .875rem; letter-spacing: 0; }
.plan__rows { margin: 12px 10px 22px; }
.plan__rows div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--c-line);
}
.plan__rows dt { color: var(--c-stone); font-size: .9375rem; }
.plan__rows dd { font-size: .9375rem; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.plan__rows dd small { display: block; margin-top: 2px; color: var(--c-stone); font-size: .8125rem; font-weight: 400; line-height: 1.35; }
.plan > .btn { margin: auto 10px 0; width: calc(100% - 20px); }

.plan--featured {
  border-color: transparent;
  background: var(--c-forest);
  color: var(--c-on-dark);
  box-shadow: var(--shadow-float);
}
.plan--featured .plan__services,
.plan--featured .plan__profit span,
.plan--featured .plan__profit small,
.plan--featured .plan__rows dt,
.plan--featured .plan__rows dd small { color: var(--c-on-dark-muted); }
.plan--featured .plan__profit { color: var(--c-glow); }
.plan--featured .plan__rows div { border-top-color: var(--c-dark-line); }
.plan__badge {
  position: absolute;
  top: 24px; right: 24px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--c-emerald);
  color: var(--c-on-emerald);
  font-family: var(--f-label);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.formats__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--c-ink-2);
  text-align: left;
}
.formats__note .icon { margin-top: 3px; color: var(--c-emerald-text); }

/* ---------- Economics (dark) ---------- */
.section--dark {
  position: relative;
  background-color: var(--c-forest);
  background-image:
    radial-gradient(60% 55% at 90% 0%, rgba(0, 179, 104, .22), transparent 70%),
    radial-gradient(45% 45% at 0% 100%, rgba(107, 240, 176, .07), transparent 70%);
  color: var(--c-on-dark);
}
.section--dark .lead { color: var(--c-on-dark-muted); }
.section--dark :focus-visible { outline-color: var(--c-glow); }

.economics__grid { display: grid; gap: 40px; }
.economics__intro .lead { margin-top: 18px; }
@media (min-width: 1024px) {
  .economics__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
  .economics__intro { position: sticky; top: calc(var(--header-h) + 40px); }
}

.calc {
  display: grid;
  gap: 26px;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--c-dark-line);
  border-radius: var(--r-xl);
  background: rgba(233, 245, 239, .035);
}
.calc__field { margin: 0; padding: 0; border: 0; min-width: 0; }
.calc__label {
  display: block;
  margin-bottom: 12px;
  padding: 0;
  color: var(--c-on-dark-muted);
  font-family: var(--f-label);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(233, 245, 239, .07);
}
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0 8px;
  border-radius: 11px;
  color: var(--c-on-dark-muted);
  font-weight: 600;
  font-size: .9375rem;
  text-align: center;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.segmented label:hover span { color: var(--c-on-dark); }
.segmented input:checked + span { background: var(--c-emerald); color: var(--c-on-emerald); }
.segmented input:focus-visible + span { outline: 3px solid var(--c-glow); outline-offset: 2px; }

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(233, 245, 239, .18);
  border-radius: 14px;
}
.stepper button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 13px;
  background: none;
  color: var(--c-on-dark);
  transition: background-color var(--dur-fast) ease;
}
.stepper button:hover:not(:disabled) { background: rgba(233, 245, 239, .08); }
.stepper button:disabled { opacity: .38; cursor: not-allowed; }
.stepper output {
  min-width: 56px;
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: var(--fw-display);
  text-align: center;
  font-variant-numeric: proportional-nums;
  letter-spacing: var(--ls-num);
}

.calc__results {
  padding: 24px 0;
  border-top: 1px solid var(--c-dark-line);
  border-bottom: 1px solid var(--c-dark-line);
}
.calc__k { display: block; color: var(--c-on-dark-muted); font-size: .9375rem; }
.calc__v--xl {
  display: block;
  margin-top: 6px;
  color: var(--c-glow);
  font-family: var(--f-display);
  font-size: clamp(2.3rem, 1.6rem + 3vw, 4rem);
  font-weight: var(--fw-display);
  letter-spacing: var(--ls-num);
  line-height: 1;
  font-variant-numeric: proportional-nums;
}
.calc__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin-top: 26px;
}
.calc__grid dt { color: var(--c-on-dark-muted); font-size: .875rem; }
.calc__grid dd {
  margin-top: 4px;
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem);
  font-weight: var(--fw-display);
  letter-spacing: var(--ls-num);
  font-variant-numeric: proportional-nums;
}

.royalty__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.royalty__head .calc__label { margin-bottom: 0; }
.royalty__value { font-family: var(--f-display); font-size: 1.25rem; font-weight: var(--fw-display); font-variant-numeric: proportional-nums; letter-spacing: var(--ls-num); }

.range { position: relative; margin: 18px 0 34px; }
.range input {
  --pct: 27%;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.range input::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--c-emerald) var(--pct), rgba(233, 245, 239, .16) var(--pct));
}
.range input::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(233, 245, 239, .16); }
.range input::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--c-emerald); }
.range input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -10px;
  border: 5px solid var(--c-emerald);
  border-radius: 50%;
  background: var(--c-white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.range input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 5px solid var(--c-emerald);
  border-radius: 50%;
  background: var(--c-white);
}
.range input:focus-visible { outline: none; }
.range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(107, 240, 176, .45); }
.range input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(107, 240, 176, .45); }

.range__mark {
  position: absolute;
  top: 30px;
  left: var(--mark, 50%);
  transform: translateX(-50%);
  color: var(--c-on-dark-muted);
  font-family: var(--f-label);
  font-size: .75rem;
  letter-spacing: .04em;
  white-space: nowrap;
  pointer-events: none;
}
.range__mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -20px;
  width: 1.5px;
  height: 16px;
  background: var(--c-glow);
}

.royalty__result { color: var(--c-on-dark); font-size: 1rem; }
.royalty__result b { color: var(--c-glow); font-weight: 600; }
.royalty__result span { color: var(--c-on-dark-muted); }

.calc__disclaimer { margin-top: -8px; color: var(--c-on-dark-muted); font-size: .8125rem; line-height: 1.5; }

/* ---------- Support (bento) ---------- */
.bento { display: grid; gap: 14px; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bento__photo { grid-column: span 2; grid-row: span 2; }
}

.bento__photo {
  position: relative;
  min-height: 380px;
  border-radius: var(--r-xl);
  overflow: hidden;
  color: var(--c-white);
  background: var(--c-forest);
}
@media (min-width: 700px) and (max-width: 1099.98px) { .bento__photo { grid-column: 1 / -1; } }
.bento__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6, 42, 31, 0) 30%, rgba(6, 42, 31, .85) 66%, rgba(6, 42, 31, .95) 100%);
}
.bento__photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: clamp(22px, 3vw, 34px);
}
.bento__photo p { max-width: 46ch; margin-top: 8px; color: rgba(255, 255, 255, .88); }

.bento__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--c-marble);
}
.bento__card p { color: var(--c-ink-2); font-size: .9688rem; line-height: 1.55; }
.bento__card .icon--lg {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background: var(--c-white);
  color: var(--c-emerald-text);
  stroke-width: 1.6;
}
.bento__card--wide {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px 48px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--c-forest);
  color: var(--c-on-dark);
}
.bento__card--wide p { color: var(--c-on-dark-muted); }
.bento__card--wide .icon--lg { border-color: var(--c-dark-line); background: rgba(233, 245, 239, .06); color: var(--c-glow); }
.bento__wide-main { display: flex; flex-direction: column; gap: 8px; }
.bento__wide-main p { max-width: 56ch; }
.bento__card--wide .bento__proof {
  align-self: end;
  padding-top: 16px;
  border-top: 1px solid var(--c-dark-line);
  font-size: .9375rem;
  line-height: 1.55;
}
@media (min-width: 900px) {
  .bento__card--wide { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; }
  .bento__card--wide .bento__proof { padding: 0 0 0 24px; border-top: 0; border-left: 1px solid var(--c-dark-line); }
}

.bento__title {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: var(--fw-display);
  letter-spacing: -.02em;
  line-height: 1.2;
}

/* ---------- Gallery ---------- */
.gallery { padding-bottom: var(--section-y); }
.gallery__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 24px;
}
.gallery__head .h3 { max-width: 34ch; }
.nowrap { white-space: nowrap; }
.num { letter-spacing: var(--ls-num); font-variant-numeric: proportional-nums; }
.gallery__strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.gallery__strip img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-md);
}
.gallery__strip img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .gallery__strip { grid-template-columns: 1.35fr 1fr 1fr 1.35fr 1fr; }
  .gallery__strip img, .gallery__strip img:first-child { grid-column: auto; aspect-ratio: auto; height: 300px; }
}

/* ---------- CRM (PodoCRM) ---------- */
.crm__stage { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .crm__stage { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
}

.crm__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.crm__tab {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--c-dark-line);
  border-radius: 999px;
  background: rgba(233, 245, 239, .04);
  color: var(--c-on-dark-muted);
  font-size: .9375rem;
  font-weight: 600;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.crm__tab:hover { color: var(--c-on-dark); border-color: rgba(233, 245, 239, .28); }
.crm__tab[aria-selected="true"] { background: var(--c-emerald); border-color: var(--c-emerald); color: var(--c-on-emerald); }

.browser {
  margin: 0;
  border-radius: 14px;
  background: #0B1D16;
  overflow: hidden;
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(233, 245, 239, .08);
}
.browser__bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
}
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(233, 245, 239, .18); }
.browser__address {
  position: absolute;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 24px;
  padding: 0 14px;
  border-radius: 8px;
  background: rgba(233, 245, 239, .06);
  color: var(--c-on-dark-muted);
  font-size: .75rem;
  font-weight: 600;
  transform: translateX(-50%);
}
.browser__address img { width: 8px; height: auto; }
.browser__demo { margin-left: auto; color: var(--c-on-dark-muted); font-size: .75rem; font-weight: 500; }
.browser__screen { position: relative; aspect-ratio: 16 / 10; background: #F4F7F5; }

.crm__panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease-out), visibility 0s linear .3s;
}
.crm__panel.is-active { opacity: 1; visibility: visible; transition: opacity .3s var(--ease-out); }

.crm__caption { min-height: 3.2em; margin-top: 16px; color: var(--c-on-dark-muted); }

/* Скриншот: светлый фон держит место, пока картинка грузится */
.shot { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; background: #F4F7F5; }

.crm__phones { display: flex; justify-content: center; gap: 16px; }
.phone { width: min(44vw, 188px); margin: 0; }
.phone__frame {
  position: relative;
  padding: 7px;
  border-radius: 30px;
  background: #0B1D16;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(233, 245, 239, .1);
}
.shot--phone { height: auto; aspect-ratio: 603 / 1311; border-radius: 23px; }
.phone figcaption { display: grid; gap: 2px; margin-top: 14px; color: var(--c-on-dark-muted); font-size: .875rem; line-height: 1.45; text-align: center; }
.phone figcaption b { color: var(--c-on-dark); font-weight: 600; }

.crm__more {
  display: grid;
  gap: 14px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--c-dark-line);
}
@media (min-width: 900px) { .crm__more { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 32px; } }
.crm__more-title { color: var(--c-on-dark); font-weight: 600; }
.crm__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.crm__chips li {
  padding: 6px 14px;
  border: 1px solid var(--c-dark-line);
  border-radius: 999px;
  color: var(--c-on-dark);
  font-size: .875rem;
}

/* ---------- Launch ---------- */
.launch { background: var(--c-mint); }
.launch__grid { display: grid; gap: 40px; }
.launch__aside .lead { margin: 18px 0 28px; }
@media (min-width: 1024px) {
  .launch__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: start; }
  .launch__aside { position: sticky; top: calc(var(--header-h) + 40px); }
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 30px;
}
.step::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 52px;
  bottom: 4px;
  width: 1.5px;
  background: repeating-linear-gradient(to bottom, var(--c-emerald-text) 0 4px, transparent 4px 10px);
  opacity: .55;
}
.step--last { padding-bottom: 0; }
.step--last::before { display: none; }
.step__num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--c-emerald-text);
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-emerald-text);
  font-family: var(--f-label);
  font-size: .875rem;
  font-weight: 600;
}
.step--last .step__num { background: var(--c-emerald); border-color: var(--c-emerald); color: var(--c-on-emerald); }
.step__title {
  padding-top: 9px;
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: var(--fw-display);
  letter-spacing: -.02em;
  line-height: 1.25;
}
.step p { margin-top: 6px; color: var(--c-ink-2); }

/* ---------- Partners ---------- */
.cases { display: grid; gap: 16px; }
@media (min-width: 760px) {
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case { min-height: 340px; }
}
@media (min-width: 1100px) { .cases { grid-template-columns: 1fr 1fr 1.15fr; } }

.case {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 260px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-xl);
  background: var(--c-marble);
}
.case__city {
  color: var(--c-emerald-text);
  font-family: var(--f-label);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.case__name {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 1.8rem + 1.5vw, 3rem);
  font-weight: var(--fw-display);
  letter-spacing: -.03em;
  line-height: 1;
}
.case__story { max-width: 36ch; color: var(--c-ink-2); }
.case__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
}
.case__facts dt { color: var(--c-stone); font-size: .875rem; }
.case__facts dd {
  margin-top: 2px;
  font-family: var(--f-display);
  font-size: 1.45rem;
  font-weight: var(--fw-display);
  letter-spacing: var(--ls-num);
  font-variant-numeric: proportional-nums;
}

.case--video {
  position: relative;
  justify-content: flex-end;
  padding: 0;
  border: 0;
  background: var(--c-forest);
  color: var(--c-white);
  text-align: left;
  overflow: hidden;
  cursor: pointer;
}
@media (min-width: 760px) and (max-width: 1099.98px) { .case--video { grid-column: 1 / -1; min-height: 300px; } }
.case--video img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.case--video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6, 42, 31, .15), rgba(6, 42, 31, .9) 60%, rgba(6, 42, 31, .95));
}
.case--video:hover img { transform: scale(1.04); }
.case__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: -58px 0 0 -38px;
  border-radius: 50%;
  background: var(--c-emerald);
  color: var(--c-on-emerald);
  box-shadow: 0 14px 30px -10px rgba(3, 20, 15, .6);
  transition: transform var(--dur) var(--ease-out);
}
.case--video:hover .case__play { transform: scale(1.06); }
.case__play .icon { width: 28px; height: 28px; margin-left: 3px; }
.case__video-text { position: relative; z-index: 1; display: grid; gap: 8px; padding: clamp(24px, 3vw, 32px); }
.case--video .case__city { color: var(--c-glow); }
.case__video-title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: var(--fw-display);
  letter-spacing: -.02em;
  line-height: 1.2;
}

/* ---------- Fit ---------- */
.fit { background: var(--c-marble); }
.fit__list { display: grid; gap: 28px 24px; }
@media (min-width: 700px) { .fit__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .fit__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fit__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 22px;
  border-top: 1.5px solid var(--c-ink);
}
.fit__title {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: var(--fw-display);
  letter-spacing: -.02em;
  line-height: 1.2;
}
.fit__item p { color: var(--c-ink-2); }
.fit__plan {
  align-self: flex-start;
  margin-top: auto;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--c-white);
  color: var(--c-emerald-text);
  font-family: var(--f-label);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Reserve ---------- */
.reserve { padding-block: var(--section-y) 0; }
.reserve__card {
  position: relative;
  display: grid;
  gap: 32px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: var(--c-forest);
  color: var(--c-on-dark);
  overflow: hidden;
  isolation: isolate;
}
.reserve__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}
.reserve__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(6, 42, 31, .97) 30%, rgba(6, 42, 31, .78) 100%);
}
.reserve__copy .lead { margin-top: 14px; color: var(--c-on-dark-muted); }
@media (min-width: 1024px) {
  .reserve__card { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 64px; }
}

/* ---------- Forms ---------- */
.lead-form { display: grid; }
.field { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.field__label { padding: 0; font-size: .875rem; font-weight: 600; }
.field__input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1.5px solid var(--c-line-strong);
  border-radius: var(--r-sm);
  background: var(--c-white);
  font-size: 1rem;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.field__input::placeholder { color: #66756E; }
.field__input:hover { border-color: #9DB3A8; }
.field__input:focus { outline: none; border-color: var(--c-emerald-text); box-shadow: 0 0 0 4px rgba(0, 179, 104, .2); }
.field__input[aria-invalid="true"] { border-color: var(--c-error); }
.field__error { min-height: 0; color: var(--c-error); font-size: .875rem; line-height: 1.4; }
.field__error:empty { display: none; }

.field-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--c-line-strong);
  border-radius: 999px;
  background: var(--c-white);
  font-size: .9375rem;
  font-weight: 500;
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.choice label:hover span { border-color: #9DB3A8; }
.choice input:checked + span { border-color: var(--c-emerald); background: var(--c-emerald); color: var(--c-on-emerald); }
.choice input:focus-visible + span { outline: 3px solid var(--c-emerald-text); outline-offset: 2px; }

.consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  margin: 4px 0 8px;
  color: var(--c-stone);
  font-size: .8125rem;
  line-height: 1.5;
  cursor: pointer;
}
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--c-emerald-text); cursor: pointer; }
.consent a { color: var(--c-emerald-text); }
.lead-form > .field__error { margin: -2px 0 10px 32px; }
.lead-form > .btn { margin-top: 10px; }

.form-status { margin-top: 12px; font-size: .9375rem; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--c-error); }

.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { display: grid; gap: 10px; padding: 12px 0; }
.form-success__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-emerald);
  color: var(--c-on-emerald);
}
.form-success__icon .icon { width: 28px; height: 28px; stroke-width: 2.4; }
.form-success__title { font-family: var(--f-display); font-size: 1.5rem; font-weight: var(--fw-display); letter-spacing: -.02em; }
.form-success p { color: var(--c-stone); }

/* forms on dark */
.reserve__form .field__label { color: var(--c-on-dark); }
.reserve__form .field__input {
  border-color: rgba(233, 245, 239, .22);
  background: rgba(233, 245, 239, .06);
  color: var(--c-on-dark);
}
.reserve__form .field__input::placeholder { color: rgba(233, 245, 239, .5); }
.reserve__form .field__input:hover { border-color: rgba(233, 245, 239, .4); }
.reserve__form .field__input:focus { border-color: var(--c-glow); box-shadow: 0 0 0 4px rgba(107, 240, 176, .2); }
.reserve__form .field__input { caret-color: var(--c-glow); }
.reserve__form .field__input[aria-invalid="true"] { border-color: #FF8A7A; }
.reserve__form .field__error { color: #FFB4A8; }
.reserve__form .consent { color: var(--c-on-dark-muted); }
.reserve__form .consent a { color: var(--c-glow); }
.reserve__form .consent input { accent-color: var(--c-emerald); }
.reserve__form .form-success p { color: var(--c-on-dark-muted); }
.reserve__form :focus-visible { outline-color: var(--c-glow); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
  .faq__aside { position: sticky; top: calc(var(--header-h) + 40px); }
}
.faq__aside .lead { margin-top: 18px; }
.faq__contacts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.faq__contacts .btn { padding-left: 14px; }
.messenger-icon { width: 26px; height: 26px; flex: none; border-radius: 7px; }

.qa { border-top: 1px solid var(--c-line); }
.qa:last-child { border-bottom: 1px solid var(--c-line); }
.qa summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 18px 0;
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem);
  font-weight: var(--fw-display);
  letter-spacing: -.015em;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
  transition: color var(--dur-fast) ease;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--c-emerald-text); }
.qa summary .icon {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 50%;
  background: var(--c-marble);
  color: var(--c-ink);
  transition: transform var(--dur) var(--ease-out), background-color var(--dur) ease;
}
.qa[open] summary .icon { transform: rotate(45deg); background: var(--c-emerald); color: var(--c-on-emerald); }
.qa__body { padding: 0 56px 24px 0; color: var(--c-ink-2); }
.qa[open] .qa__body { animation: rise .45s var(--ease-out); }

/* ---------- Apply ---------- */
.apply { background: var(--c-mint); }
.apply__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .apply__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 72px; align-items: start; } }
.apply__copy .lead { margin: 18px 0 26px; }
.apply__copy .ticks { flex-direction: column; gap: 12px; }
.apply__copy .ticks li { font-size: 1rem; }
.apply__contact { display: grid; gap: 6px; margin-top: 36px; color: var(--c-stone); font-size: .9375rem; }
.apply__contact a { color: inherit; }
.apply__phone {
  color: var(--c-ink) !important;
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: var(--fw-display);
  letter-spacing: var(--ls-num);
  text-decoration: none;
}
.apply__form {
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--c-mint-line);
  border-radius: var(--r-xl);
  background: var(--c-white);
  box-shadow: var(--shadow-card);
}

/* ---------- Footer ---------- */
.footer {
  padding: 72px 0 calc(32px + env(safe-area-inset-bottom));
  background: var(--c-forest);
  color: var(--c-on-dark-muted);
  font-size: .9375rem;
}
.footer :focus-visible { outline-color: var(--c-glow); }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.2fr 1.5fr 1fr; gap: 56px; } }
.brand--footer { color: var(--c-white); }
.brand--footer .brand__tag { color: var(--c-on-dark-muted); }
.footer__muted { margin: 18px 0 16px; max-width: 32ch; }
.footer .link-arrow { color: var(--c-glow); }
.footer__title {
  margin-bottom: 18px;
  color: var(--c-on-dark);
  font-family: var(--f-label);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer__centers { display: grid; gap: 16px; }
@media (min-width: 560px) { .footer__centers { grid-template-columns: 1fr 1fr; } }
.footer__centers li { display: grid; gap: 2px; line-height: 1.45; }
.footer__centers b { color: var(--c-on-dark); font-weight: 600; }
.footer__centers a, .footer__links a, .footer__social a, .footer__row a { color: var(--c-on-dark); text-decoration: none; }
.footer__centers a:hover, .footer__links a:hover, .footer__social a:hover, .footer__row a:hover { color: var(--c-glow); }
.footer__links { display: grid; gap: 8px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.footer__social a { display: inline-flex; min-height: 44px; align-items: center; }
.footer__legal {
  display: grid;
  gap: 8px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--c-dark-line);
  font-size: .8125rem;
  line-height: 1.55;
}
.footer__row { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -12px rgba(6, 42, 31, .35);
  transform: translateY(calc(100% + 24px));
  transition: transform .35s var(--ease-out);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--c-forest);
  color: var(--c-white);
}
@media (min-width: 768px) { .sticky-cta { display: none !important; } }

/* ---------- Modals ---------- */
.modal {
  width: min(560px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: var(--r-xl);
  background: var(--c-white);
  color: var(--c-ink);
  box-shadow: 0 40px 100px -30px rgba(6, 42, 31, .6);
  overflow: auto;
  overscroll-behavior: contain;
}
.modal::backdrop { background: rgba(6, 42, 31, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
html:has(dialog[open]), html.nav-open { overflow: hidden; }
.modal[open] { animation: modal-in .32s var(--ease-out); }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal__inner { position: relative; padding: clamp(24px, 4vw, 40px); }
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--c-marble);
  color: var(--c-ink);
}
.modal__close:hover { background: var(--c-line); }
.modal__title {
  padding-right: 44px;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
  font-weight: var(--fw-display);
  letter-spacing: -.022em;
  line-height: 1.1;
}
.modal__lead { margin: 12px 0 24px; color: var(--c-stone); }

.modal--video { width: min(960px, calc(100% - 24px)); background: #000; }
.modal__inner--video { padding: 0; }
.modal--video .modal__close { z-index: 2; background: rgba(255, 255, 255, .92); }
.video-frame { aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
  }
  .scan__cover, .scan__beam { display: none; }
}
