/* =========================================================
   Дельта — одностраничный сайт
   1. Токены          7. Калькулятор     13. Отзывы
   2. База            8. Шаги            14. FAQ
   3. Утилиты         9. Магазины        15. Финальный CTA
   4. Кнопки         10. Категории       16. Подвал
   5. Шапка          11. Кейс            17. Модальное окно
   6. Герой          12. Бренды          18. Анимация и адаптив
   ========================================================= */

/* ---------------- 1. токены ---------------- */
:root {
  color-scheme: light;
  /* поверхности */
  --ink:      #f3f6f8;
  --ink-1:    #e8eef2;
  --ink-2:    #ffffff;
  --ink-3:    #f7fafb;
  --veil:     243, 246, 248;
  --fade:     255, 255, 255;
  --line:     rgba(16, 36, 48, .08);
  --line-2:   rgba(16, 36, 48, .14);
  --wash:     rgba(16, 36, 48, .04);
  --head-stuck: rgba(255, 255, 255, .88);
  --nav-sheet:  rgba(255, 255, 255, .98);
  --modal-dim:  rgba(16, 36, 48, .4);
  --strike:     rgba(16, 36, 48, .35);
  --theme:      #f3f6f8;

  /* текст */
  --fg:       #102028;
  --fg-2:     #4d606c;
  --fg-3:     #6b7c87;

  /* акцент */
  --br:       #0b9f54;
  --br-hi:    #14c46a;
  --br-lo:    #087a41;
  --on-br:    #042810;

  /* шрифты */
  --f-display: "Inter Tight", "Segoe UI", system-ui, sans-serif;
  --f-text:    "Golos Text", "Segoe UI", system-ui, sans-serif;

  /* типографическая шкала */
  --t-h1:    clamp(2.5rem, 5.4vw, 4.5rem);
  --t-h2:    clamp(1.9rem, 3.4vw, 3.25rem);
  --t-h3:    clamp(1.15rem, 1.35vw, 1.4rem);
  --t-lead:  clamp(1.02rem, 1.15vw, 1.28rem);
  --t-body:  1rem;
  --t-sm:    .925rem;
  --t-xs:    .8rem;

  /* геометрия */
  --shell:   1240px;
  --gutter:  clamp(20px, 4.2vw, 44px);
  --sec:     clamp(72px, 9vw, 132px);
  --r-sm:    10px;
  --r:       16px;
  --r-lg:    24px;
  --r-xl:    32px;

  /* тени */
  --sh:    0 18px 48px -24px rgba(16, 36, 48, .18);
  --sh-lg: 0 28px 64px -28px rgba(16, 36, 48, .22);
  --glow:  0 12px 36px -10px rgba(11, 159, 84, .32);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink:      #02090e;
  --ink-1:    #050d13;
  --ink-2:    #08131a;
  --ink-3:    #0c1a23;
  --veil:     2, 9, 14;
  --fade:     8, 19, 26;
  --line:     rgba(255, 255, 255, .07);
  --line-2:   rgba(255, 255, 255, .13);
  --wash:     rgba(255, 255, 255, .04);
  --head-stuck: rgba(3, 11, 16, .82);
  --nav-sheet:  rgba(3, 11, 16, .97);
  --modal-dim:  rgba(1, 5, 8, .78);
  --strike:     rgba(255, 255, 255, .45);
  --theme:      #02090e;
  --fg:       #eef3f6;
  --fg-2:     #9aa7b1;
  --fg-3:     #6d7a85;
  --br:       #1ef08a;
  --br-hi:    #62ffbb;
  --br-lo:    #07b563;
  --on-br:    #022615;
  --sh:    0 24px 60px -28px rgba(0, 0, 0, .9);
  --sh-lg: 0 40px 100px -40px rgba(0, 0, 0, .95);
  --glow:  0 12px 44px -10px rgba(30, 240, 138, .5);
}

/* ---------------- 2. база ---------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  background: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: calc(96px + env(safe-area-inset-top, 0px));
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--f-text);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--fg);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
  overscroll-behavior-x: none;
}

h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

ul, ol { list-style: none; }

table { border-collapse: collapse; width: 100%; }

s { text-decoration-color: var(--strike); }

::selection { background: rgba(30, 240, 138, .28); }

:focus-visible { outline: 2px solid var(--br); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------------- 3. утилиты ---------------- */
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }

.sr, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: fixed; z-index: 90; top: 12px; left: 12px;
  padding: 10px 18px; border-radius: var(--r-sm);
  background: var(--br); color: var(--on-br); font-weight: 600;
}

.i { width: 1.25em; height: 1.25em; fill: none; }

.grad {
  background: linear-gradient(94deg, var(--br-hi), var(--br) 42%, var(--br-lo));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-size: var(--t-xs); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--br);
}

.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--br); box-shadow: 0 0 0 4px rgba(30, 240, 138, .16);
}

.h2 { font-size: var(--t-h2); font-weight: 800; letter-spacing: -.03em; }

.lead { font-size: var(--t-lead); line-height: 1.58; color: var(--fg-2); }

/* ритм: каждая секция задаёт только верхний отступ — между соседними
   секциями получается ровно --sec, без сложения полей */
.sec { padding-top: var(--sec); }
.sec--tight { padding-top: calc(var(--sec) * .68); }
#faq { padding-bottom: var(--sec); }

.sec__head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 64px); }
.sec__head .eyebrow { margin-bottom: 18px; }
.sec__head .lead { margin-top: 20px; }

.ticks { display: grid; gap: 12px; margin-top: 28px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-sm); color: var(--fg-2); }
.ticks .i { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--br); }

/* ---------------- 4. кнопки ---------------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 26px;
  border: 0; border-radius: 999px;
  font-family: var(--f-display); font-size: var(--t-sm); font-weight: 700;
  letter-spacing: -.01em; white-space: nowrap; cursor: pointer;
  background: linear-gradient(180deg, var(--br-hi), var(--br) 48%, #0fd07c);
  color: var(--on-br);
  box-shadow: var(--glow);
  transition: transform .18s, box-shadow .25s, filter .2s;
}

.btn .i { width: 18px; height: 18px; transition: transform .22s; }

.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -8px rgba(30, 240, 138, .62); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn--lg { --h: 62px; padding: 0 34px; font-size: 1.02rem; }
.btn--sm { --h: 44px; padding: 0 20px; font-size: .875rem; }
.btn--full { width: 100%; }

.btn--ghost {
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  color: var(--fg);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--ink-1); border-color: rgba(16, 36, 48, .22); box-shadow: none; }
.btn--ghost .i { color: var(--br); }

/* ---------------- 5. шапка ---------------- */
.head {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
  background: var(--ink);
  transition: background .3s, border-color .3s, -webkit-backdrop-filter .3s, backdrop-filter .3s;
}

.head.is-stuck {
  background: var(--head-stuck);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

.head__in { display: flex; align-items: center; gap: 18px; height: 84px; min-width: 0; transition: height .3s; }
.head.is-stuck .head__in { height: 70px; }

.logo { display: flex; align-items: center; gap: 14px; flex: none; min-width: 0; }
.logo__mark { width: 30px; height: 26px; }
.logo__name { font-family: var(--f-display); font-size: 1.32rem; font-weight: 800; letter-spacing: .12em; }
.logo__tag {
  display: none;
}

.nav { display: flex; gap: 2px; margin-left: auto; min-width: 0; }

.nav-cta { display: none; }

.head.is-open .nav-cta {
  display: flex; align-items: center; justify-content: center;
  margin-top: 6px;
}
.head.is-open .nav-cta--btn {
  margin-top: 10px;
  height: 48px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--br); color: var(--on-br);
  font-family: var(--f-display); font-weight: 700;
}

.nav a {
  position: relative; padding: 9px 11px; border-radius: 999px;
  font-size: var(--t-sm); white-space: nowrap; color: var(--fg-2);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--fg); background: var(--wash); }
.nav a.is-active { color: var(--fg); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--br);
}

.head__act { display: flex; align-items: center; gap: 10px; flex: none; z-index: 1; }

.head__tel { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: var(--t-sm); color: var(--fg-2); transition: color .2s; }
.head__tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.head__tel:hover { color: var(--fg); }
.head__tel .i { width: 17px; height: 17px; color: var(--br); }

.burger {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--ink-2); color: var(--fg);
  place-items: center; cursor: pointer;
}
.burger .i { width: 22px; height: 22px; }

.theme {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--ink-2); color: var(--fg);
  cursor: pointer;
}
.theme .i { width: 20px; height: 20px; }
.theme .i-sun { display: none; }
html[data-theme="dark"] .theme .i-sun { display: block; }
html[data-theme="dark"] .theme .i-moon { display: none; }

/* ---------------- 6. герой ---------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }

.hero__art { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 66%; }

.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 46%; }

.hero__art::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 2%, rgba(var(--veil), .92) 20%, rgba(var(--veil), .5) 42%, rgba(var(--veil), .12) 68%, rgba(var(--veil), .4) 100%),
    linear-gradient(0deg, var(--ink) 1%, rgba(var(--veil), .55) 14%, transparent 42%),
    linear-gradient(180deg, rgba(var(--veil), .75) 0%, transparent 22%);
}

.hero__in {
  --pad-b: clamp(56px, 7vw, 108px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 760px);
  align-content: end;
  padding-top: clamp(48px, 7vw, 104px);
  padding-bottom: var(--pad-b);
  min-height: min(84vh, 820px);
  min-width: 0;
}

.hero__h1 {
  margin-top: 26px;
  font-size: var(--t-h1); font-weight: 800; letter-spacing: -.035em; line-height: 1.02;
}

.hero__lead { max-width: 30em; margin-top: 26px; font-size: var(--t-lead); line-height: 1.6; color: var(--fg-2); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero__facts {
  display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(44px, 5vw, 66px);
  padding-top: 30px; border-top: 1px solid var(--line);
}
.hero__facts dt {
  font-family: var(--f-display); font-size: clamp(1.5rem, 2.1vw, 2rem); font-weight: 800;
  letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.hero__facts dd { margin-top: 4px; font-size: var(--t-sm); color: var(--fg-3); }

.hero__card {
  position: absolute; right: var(--gutter); bottom: var(--pad-b);
  width: min(300px, 100%); padding: 22px 24px 20px;
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: var(--ink-2);
  box-shadow: var(--sh-lg);
}

.hero__card-top {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 16px; margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3);
}
.hero__card-top .i { width: 16px; height: 16px; color: var(--br); }

.hero__card-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-top: 13px; font-size: var(--t-sm); color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
.hero__card-row s { color: var(--fg-2); }
.hero__card-row--main b {
  font-family: var(--f-display); font-size: 1.62rem; font-weight: 800; letter-spacing: -.03em; color: var(--fg);
}

.hero__card-save {
  display: flex; align-items: center; gap: 9px;
  margin-top: 16px; padding: 10px 14px;
  border-radius: 999px; background: rgba(30, 240, 138, .1);
  font-size: var(--t-sm); font-weight: 600; color: var(--br);
}
.hero__card-save .i { width: 16px; height: 16px; }

/* ---------------- 12. бренды ---------------- */
.brands { border-block: 1px solid var(--line); background: var(--ink-1); }

.brands__in {
  display: flex; align-items: center; gap: clamp(24px, 4vw, 56px);
  padding-block: 26px;
}

.brands__note {
  flex: none; font-size: var(--t-xs); line-height: 1.5;
  letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3);
}

.brands__list {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px 28px;
  font-family: var(--f-display); font-size: clamp(.9rem, 1.2vw, 1.15rem); font-weight: 600;
  letter-spacing: .02em; color: #55636d;
  min-width: 0;
}
.brands__list li { transition: color .25s; }
.brands__list li:hover { color: var(--fg-2); }

/* ---------------- карточки «почему» ---------------- */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  position: relative; padding: 30px 26px 32px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(170deg, var(--ink-3), var(--ink-2) 70%);
  transition: border-color .28s, transform .28s;
}
.card:hover { border-color: rgba(30, 240, 138, .35); transform: translateY(-4px); }

.card__ico {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 24px;
  border: 1px solid rgba(30, 240, 138, .28); border-radius: 15px;
  background: rgba(30, 240, 138, .07);
  color: var(--br);
}
.card__ico .i { width: 24px; height: 24px; }

.card h3 { font-size: var(--t-h3); margin-bottom: 10px; }
.card p { font-size: var(--t-sm); color: var(--fg-2); }

/* ---------------- 7. калькулятор ---------------- */
.calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  border: 1px solid var(--line-2); border-radius: var(--r-xl);
  background: var(--line);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}

.calc__panel {
  display: grid; gap: clamp(28px, 3vw, 40px); align-content: start;
  padding: clamp(28px, 3.4vw, 46px);
  background: var(--ink-2);
}

.calc__out {
  position: relative;
  padding: clamp(28px, 3.4vw, 46px);
  background:
    radial-gradient(120% 90% at 82% 0%, rgba(30, 240, 138, .14), transparent 62%),
    linear-gradient(180deg, var(--ink-3), var(--ink-1));
}

.field__lab {
  display: block; margin-bottom: 14px;
  font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3);
}

.calc__sum {
  display: block; margin-bottom: 18px;
  font-family: var(--f-display); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 800;
  letter-spacing: -.035em; font-variant-numeric: tabular-nums;
}

.range {
  --p: 6.8%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 99px; cursor: pointer;
  background: linear-gradient(90deg, var(--br) var(--p), rgba(16, 36, 48, .12) var(--p));
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 6px solid var(--br); box-shadow: 0 4px 16px rgba(0, 0, 0, .6);
  cursor: grab;
}
.range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 6px solid var(--br); box-shadow: 0 4px 16px rgba(0, 0, 0, .6);
}

.field__hint {
  display: flex; justify-content: space-between;
  margin-top: 12px; font-size: var(--t-xs); color: var(--fg-3);
}

.seg {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  padding: 4px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--ink);
}
.seg button {
  height: 44px; border: 0; border-radius: 10px; cursor: pointer;
  background: transparent; color: var(--fg-2);
  font-size: var(--t-sm); font-weight: 500;
  transition: background .2s, color .2s;
}
.seg button:hover { color: var(--fg); background: var(--wash); }
.seg button.is-on {
  background: linear-gradient(180deg, rgba(30, 240, 138, .18), rgba(30, 240, 138, .1));
  color: var(--br); font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(30, 240, 138, .4);
}

.select { position: relative; display: block; }
.select select {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 52px; padding: 0 46px 0 16px;
  border: 1px solid var(--line-2); border-radius: 13px;
  background: var(--ink); color: var(--fg);
  font-size: var(--t-sm); cursor: pointer;
}
.select .i {
  position: absolute; top: 50%; right: 16px; translate: 0 -50%;
  width: 18px; height: 18px; color: var(--fg-3); pointer-events: none;
}

.calc__pct {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--f-display); font-weight: 800; letter-spacing: -.04em;
  font-size: clamp(3.4rem, 6vw, 5.2rem); line-height: 1;
  color: var(--br);
  font-variant-numeric: tabular-nums;
}
.calc__pct i {
  font-size: clamp(.95rem, 1.2vw, 1.1rem); font-style: normal; font-weight: 600;
  letter-spacing: 0; color: var(--fg-2);
}

.calc__rows { margin-top: clamp(26px, 3vw, 38px); border-top: 1px solid var(--line); }

.calc__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  font-size: var(--t-sm); color: var(--fg-2);
  font-variant-numeric: tabular-nums;
}
.calc__row b, .calc__row s { font-family: var(--f-display); letter-spacing: -.02em; }
.calc__row--main b { font-size: clamp(1.45rem, 2.1vw, 1.9rem); font-weight: 800; color: var(--fg); }
.calc__row--save b { font-size: 1.16rem; font-weight: 700; color: var(--br); }

.calc__small { margin-top: 18px; font-size: var(--t-xs); line-height: 1.55; color: var(--fg-3); }
.calc__small b { color: var(--br); font-weight: 600; }

.calc__out .btn { margin-top: 24px; }

.calc__legal { margin-top: 14px; text-align: center; font-size: var(--t-xs); color: var(--fg-3); }

/* ---------------- 8. шаги ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 34px); }

.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line-2); }

.step::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 34%; height: 2px;
  background: var(--br); box-shadow: 0 0 14px rgba(30, 240, 138, .7);
}

.step__num {
  font-family: var(--f-display); font-size: var(--t-xs); font-weight: 700;
  letter-spacing: .18em; color: var(--br);
}

.step__ico {
  display: grid; place-items: center;
  width: 58px; height: 58px; margin: 20px 0 22px;
  border: 1px solid var(--line-2); border-radius: 50%;
  background: var(--ink-2); color: var(--br);
  transition: border-color .28s, background .28s;
}
.step__ico .i { width: 25px; height: 25px; }
.step:hover .step__ico { border-color: rgba(30, 240, 138, .5); background: rgba(30, 240, 138, .08); }

.step h3 { font-size: var(--t-h3); margin-bottom: 10px; }
.step p { font-size: var(--t-sm); color: var(--fg-2); }

/* ---------------- 9. магазины ---------------- */
.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; min-width: 0; }

.store {
  --shot: 200px;
  display: flex; flex-direction: column;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line-2); border-radius: var(--r-xl);
  background: var(--ink-2);
}

.store--a { border-color: rgba(30, 240, 138, .5); box-shadow: 0 0 0 1px rgba(30, 240, 138, .1), var(--sh-lg); }
.store--b { box-shadow: var(--sh); }

.store__img {
  display: block; flex: none;
  width: 100%; height: var(--shot);
  object-fit: cover;
}

.store::before {
  content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0;
  height: var(--shot); pointer-events: none;
  background: linear-gradient(to top, var(--ink-2) 0%, rgba(var(--fade), 0) 48%);
}

.store__body {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; flex: 1;
  padding: 22px 22px 24px;
  background: var(--ink-2);
}
.store__body .btn { margin-top: auto; }

.store__brand { display: flex; align-items: center; gap: 14px; min-height: 48px; margin-bottom: 16px; }

.mark-a { display: block; width: 46px; }
.mark-a__txt { font-family: var(--f-display); line-height: 1; }
.mark-a__txt b { display: block; font-size: 1.55rem; font-weight: 800; letter-spacing: .01em; }
.mark-a__txt i { display: block; margin-top: 3px; font-size: 1.28rem; font-weight: 800; font-style: normal; color: #ffba00; }

.mark-b {
  font-family: var(--f-display); font-size: 2.05rem; font-weight: 800; font-style: italic;
  letter-spacing: -.02em; text-transform: uppercase; color: #ff2a20;
  text-shadow: 0 2px 20px rgba(255, 42, 32, .45);
}

.store__title { font-size: clamp(1.28rem, 1.7vw, 1.62rem); max-width: 19em; margin-bottom: 16px; color: var(--fg); }

.store__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.store__tags li {
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--wash);
  font-size: var(--t-xs); color: var(--fg-2);
}

.store__meta {
  display: flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-size: var(--t-sm); font-weight: 600; color: var(--br);
}
.store__meta .i { width: 17px; height: 17px; }

/* ---------------- 10. категории ---------------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.cat {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  aspect-ratio: 4 / 3;
  isolation: isolate;
  background: var(--ink-1);
}

.cat img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

.cat::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(16, 24, 32, .9) 4%, rgba(16, 24, 32, .5) 28%, transparent 62%);
}

.cat__body {
  position: absolute; z-index: 1; inset: auto 0 0;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 22px clamp(18px, 1.8vw, 26px);
  color: #fff;
}
.cat__body b { font-family: var(--f-display); font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; }
.cat__body i {
  flex: none; padding: 6px 12px; border-radius: 999px;
  background: rgba(30, 240, 138, .14); border: 1px solid rgba(30, 240, 138, .3);
  font-size: var(--t-xs); font-style: normal; font-weight: 600; color: var(--br);
}

/* ---------------- 11. кейс ---------------- */
.case { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }

.case__txt .eyebrow { margin-bottom: 18px; }
.case__txt .lead { margin-top: 20px; }

.bill {
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid var(--line-2); border-radius: var(--r-xl);
  background: linear-gradient(170deg, var(--ink-3), var(--ink-1));
  box-shadow: var(--sh-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.bill table { width: max(100%, 32rem); }
.bill th, .bill td { padding: 15px 0; text-align: right; font-variant-numeric: tabular-nums; }
.bill thead th, .bill td { white-space: nowrap; }
.bill thead th {
  font-family: var(--f-display); font-size: var(--t-xs); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3);
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.bill thead th:first-child { text-align: left; }
.bill tbody th, .bill tfoot th { text-align: left; font-weight: 500; font-size: var(--t-sm); color: var(--fg-2); padding-right: 16px; }
.bill tbody tr { border-bottom: 1px solid var(--line); }
.bill tbody td { font-size: var(--t-sm); font-family: var(--f-display); }
.bill tbody td:last-child { color: var(--fg); font-weight: 600; }
.bill td s { color: var(--fg-3); }

.bill tfoot th, .bill tfoot td { padding-top: 20px; font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em; }
.bill tfoot th { font-size: var(--t-sm); color: var(--fg); }
.bill tfoot td { font-size: 1.16rem; }
.bill tfoot td:last-child { color: var(--br); }

.bill__sum {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 20px;
  margin-top: 24px; padding: 18px 22px;
  border-radius: var(--r); background: rgba(30, 240, 138, .1);
  border: 1px solid rgba(30, 240, 138, .22);
}
.bill__sum span {
  grid-row: 1 / 3; align-self: center;
  font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2);
}
.bill__sum b {
  font-family: var(--f-display); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.1; color: var(--br); text-align: right;
  font-variant-numeric: tabular-nums;
}
.bill__sum i { font-size: var(--t-xs); font-style: normal; color: var(--fg-3); text-align: right; }

/* ---------------- 13. отзывы с Авито ---------------- */
.revs { display: none; }

#reviews { scroll-margin-top: calc(88px + env(safe-area-inset-top, 0px)); }

.rev-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.rev__card { min-width: 0; height: 100%; }
.rev__card a {
  display: flex; flex-direction: column; height: 100%; padding: 26px 24px 24px; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(170deg, var(--ink-3), var(--ink-2) 70%);
  transition: border-color .28s, transform .28s;
}
.rev__card a:hover { border-color: rgba(30, 240, 138, .35); transform: translateY(-4px); }
.rev__card a:hover .rev__go { color: var(--br); }
.rev__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; font-size: var(--t-xs); color: var(--fg-3); }
.rev__stars { color: #f5b301; letter-spacing: 2px; font-size: 1rem; flex: none; }
.rev__text {
  flex: 1; font-size: var(--t-sm); line-height: 1.6; color: var(--fg);
  display: -webkit-box; -webkit-line-clamp: 6; line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.rev__who { margin-top: 16px; display: flex; flex-direction: column; gap: 2px; font-size: var(--t-xs); color: var(--fg-3); min-width: 0; }
.rev__who b { font-size: var(--t-sm); color: var(--fg); }
.rev__who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rev__go {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--line); font-size: var(--t-xs); font-weight: 600; color: var(--fg-2); transition: color .2s;
}
.rev__go .i { width: 14px; height: 14px; }
.rev__more { margin-top: 28px; text-align: center; }
.rev__total {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  margin-top: 18px; font-size: var(--t-sm); color: var(--fg-3);
}
.rev__score { font: 800 1.35rem var(--f-display); color: var(--br); letter-spacing: -.02em; }

/* ---------------- 14. FAQ ---------------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: start; }

.faq__head { position: sticky; top: 120px; }
.faq__head .eyebrow { margin-bottom: 18px; }
.faq__head .lead { margin-top: 20px; margin-bottom: 28px; }

.acc { border-top: 1px solid var(--line); }

.acc__item { border-bottom: 1px solid var(--line); }

.acc__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: 24px 4px; border: 0; background: none; cursor: pointer;
  text-align: left;
  font-family: var(--f-display); font-size: clamp(1.02rem, 1.25vw, 1.2rem); font-weight: 600;
  letter-spacing: -.015em; color: var(--fg);
  transition: color .2s;
}
.acc__btn:hover { color: var(--br); }
.acc__btn .i { flex: none; width: 20px; height: 20px; color: var(--fg-3); transition: rotate .3s, color .2s; }
.acc__item.is-open .acc__btn .i { rotate: 180deg; color: var(--br); }

.acc__body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .34s cubic-bezier(.3, .7, .2, 1);
}
.acc__item.is-open .acc__body { grid-template-rows: 1fr; }
.acc__body > div { overflow: hidden; min-height: 0; }
.acc__body p { padding: 0 44px 26px 4px; font-size: var(--t-sm); line-height: 1.68; color: var(--fg-2); }

/* ---------------- 15. финальный CTA ---------------- */
.final { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid var(--line); }

.final__img { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

.final::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 14%, rgba(var(--veil), .9) 46%, rgba(var(--veil), .55) 100%),
    linear-gradient(0deg, var(--ink) 2%, transparent 44%);
}

.final__in { padding: clamp(72px, 8vw, 128px) var(--gutter); max-width: var(--shell); }
.final__in h2 { font-size: var(--t-h2); font-weight: 800; letter-spacing: -.03em; max-width: 16em; }
.final__in > p { max-width: 34em; margin-top: 22px; font-size: var(--t-lead); line-height: 1.58; color: var(--fg-2); }

.final__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.final__note { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: var(--t-xs); color: var(--fg-3); }
.final__note .i { width: 16px; height: 16px; color: var(--br); }

/* ---------------- 16. подвал ---------------- */
.foot { background: var(--ink-1); border-top: 1px solid var(--line); }

.foot__in {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 60px);
  padding-top: clamp(52px, 6vw, 84px); padding-bottom: clamp(40px, 4vw, 56px);
}

.foot__brand p { margin-top: 20px; max-width: 30em; font-size: var(--t-sm); color: var(--fg-3); }

.foot__soc { display: flex; gap: 10px; margin-top: 24px; }
.foot__soc a {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line-2); border-radius: 12px; color: var(--fg-2);
  transition: color .2s, border-color .2s, background .2s;
}
.foot__soc a:hover { color: var(--br); border-color: rgba(30, 240, 138, .45); background: rgba(30, 240, 138, .07); }
.foot__soc .i { width: 20px; height: 20px; }

.foot__col h3 {
  margin-bottom: 20px;
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3);
}
.foot__col li + li { margin-top: 13px; }
.foot__col a, .foot__col span {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--t-sm); color: var(--fg-2); transition: color .2s;
}
.foot__col a:hover { color: var(--br); }
.foot__col .i { flex: none; width: 16px; height: 16px; color: var(--fg-3); }

.foot__bot {
  display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between;
  padding-top: 26px; padding-bottom: 34px;
  border-top: 1px solid var(--line);
  font-size: var(--t-xs); line-height: 1.6; color: var(--fg-3);
}
.foot__bot p:last-child { max-width: 46em; }

/* ---------------- 17. модальное окно ---------------- */
.modal { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }

.modal__bg {
  position: absolute; inset: 0;
  background: var(--modal-dim);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: fade .25s ease;
}

.modal__card {
  position: relative; z-index: 1;
  width: min(580px, 100%); max-height: min(92vh, 900px); overflow-y: auto;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line-2); border-radius: var(--r-xl);
  background: linear-gradient(170deg, var(--ink-3), var(--ink-1));
  box-shadow: var(--sh-lg);
  animation: pop .3s cubic-bezier(.2, .8, .3, 1);
  scrollbar-width: thin;
}

.modal__x {
  position: absolute; top: 18px; right: 18px;
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--ink-1); color: var(--fg-2); cursor: pointer;
  transition: color .2s, border-color .2s;
}
.modal__x:hover { color: var(--fg); border-color: var(--line-2); }

.modal__card h2 { margin-top: 16px; font-size: clamp(1.6rem, 2.4vw, 2.05rem); font-weight: 800; }
.modal__sub { margin-top: 12px; font-size: var(--t-sm); color: var(--fg-2); }

#form { display: grid; gap: 16px; margin-top: 28px; position: relative; }

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.f { display: grid; gap: 8px; }
.f > span { font-size: var(--t-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }

.f input[type="text"], .f input[type="tel"] {
  height: 52px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 13px;
  background: var(--ink); color: var(--fg); font-size: var(--t-sm);
  transition: border-color .2s, box-shadow .2s;
}
.f input::placeholder { color: var(--fg-3); }
.f input:focus-visible, .select select:focus-visible {
  outline: 0; border-color: rgba(30, 240, 138, .6);
  box-shadow: 0 0 0 4px rgba(30, 240, 138, .12);
}

.f.is-bad input, .f.is-bad .select select { border-color: #ff5f56; }

.f__err { font-size: var(--t-xs); font-style: normal; color: #ff7a72; }

.f--check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; margin-top: 4px; }
.f--check input {
  appearance: none; -webkit-appearance: none;
  width: 22px; height: 22px; margin-top: 1px;
  border: 1px solid var(--line-2); border-radius: 7px;
  background: var(--ink); cursor: pointer;
  transition: background .2s, border-color .2s;
}
.f--check input:checked { background: var(--br); border-color: var(--br); }
.f--check input:checked::after {
  content: ""; display: block; width: 100%; height: 100%;
  background: no-repeat center/13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23022615' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.8 4.4 4.4L19 6.6'/%3E%3C/svg%3E");
}
.f--check > span { font-size: var(--t-xs); line-height: 1.55; color: var(--fg-3); text-transform: none; letter-spacing: 0; }
.f--check a { color: var(--fg-2); text-decoration: underline; text-decoration-color: var(--line-2); }
.f--check a:hover { color: var(--br); }
.f--check .f__err { grid-column: 1 / -1; }

.modal__legal { display: flex; align-items: center; gap: 10px; font-size: var(--t-xs); color: var(--fg-3); }
.modal__legal .i { flex: none; width: 16px; height: 16px; color: var(--br); }

.modal__done { padding: 18px 0 8px; text-align: center; }
.modal__done-ico {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 26px;
  border-radius: 50%; background: rgba(30, 240, 138, .14);
  border: 1px solid rgba(30, 240, 138, .4); color: var(--br);
}
.modal__done-ico .i { width: 30px; height: 30px; }
.modal__done h2 { margin: 0; }
.modal__done p { margin: 14px auto 28px; max-width: 34em; font-size: var(--t-sm); color: var(--fg-2); }

@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.985); } }

/* ---------------- 18. анимация появления ---------------- */
[data-reveal] { opacity: 0; }

.is-in[data-reveal] {
  opacity: 1;
  transition: opacity .55s ease;
  transition-delay: var(--d, 0ms);
}

body.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------------- адаптив ---------------- */
@media (max-width: 1400px) {
  .nav { display: none; }
  .burger { display: grid; }

  .head.is-open .nav {
    position: absolute; top: 100%; left: 0; width: 100%;
    display: grid; gap: 4px;
    padding: 12px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    background: var(--ink-2);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-lg);
  }
  .head.is-open .nav a { padding: 13px 14px; font-size: 1rem; }
  .head.is-open .nav a.is-active::after { display: none; }

  .grid4, .steps { grid-template-columns: repeat(2, 1fr); gap: 20px 18px; }
  .hero__art { width: 76%; }
}

@media (max-width: 1100px) {
  .rev-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .hero { background: var(--ink); }
  .hero__in { grid-template-columns: 1fr; min-height: 0; }
  .hero__art {
    position: relative; z-index: 0;
    width: 100%; height: min(38vw, 200px); margin: 0;
  }
  .hero__art::after {
    background: linear-gradient(to top, var(--ink) 0%, rgba(var(--veil), .35) 45%, transparent 70%);
  }
  .hero__in { padding-top: 20px; --pad-b: 36px; background: var(--ink); }
  .hero__card { position: static; width: 100%; max-width: 340px; margin-top: 28px; }
  .hero__facts { gap: 24px 36px; }

  .calc, .stores, .case, .faq, .cats { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr 1fr; }
  .store { --shot: 180px; }
  .faq__head { position: static; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: calc(88px + env(safe-area-inset-top, 0px)); }
  .head__in { height: 68px; gap: 8px; }
  .head.is-stuck .head__in { height: 62px; }
  .head__tel,
  .head__act > .btn { display: none; }
  .head__act { gap: 8px; margin-left: auto; }
  .theme, .burger { width: 44px; height: 44px; }

  .hero__art { height: 168px; }
  .hero__in {
    --pad-b: 28px;
    padding-top: 16px;
  }
  .hero__in .eyebrow { order: 1; }
  .hero__h1 { order: 2; margin-top: 12px; }
  .hero__cta {
    order: 3;
    flex-direction: column;
    align-items: stretch;
    margin-top: 20px;
    gap: 10px;
  }
  .hero__cta .btn { width: 100%; }
  .hero__cta .btn--lg { --h: 52px; padding: 0 20px; }
  .hero__lead { order: 4; margin-top: 16px; }
  .hero__facts {
    order: 5;
    margin-top: 28px;
    padding-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 10px;
  }
  .hero__facts > div { min-width: 0; }
  .hero__facts dt { font-size: clamp(1.15rem, 5vw, 1.5rem); }
  .hero__card { order: 6; }

  .brands__in { display: grid; gap: 18px; }
  .brands__note br { display: none; }
  .brands__list { gap: 12px 20px; font-size: 1rem; }

  .grid4, .steps, .cats, .rev-list { grid-template-columns: 1fr; }
  .steps { gap: 30px; }

  .seg { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .bill th, .bill td { padding: 12px 0; }
  .bill tbody th { font-size: var(--t-xs); }
  .bill__sum b { margin-left: 0; }
  .bill table { width: 100%; }
  .bill thead { display: none; }
  .bill tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
    padding: 12px 0;
  }
  .bill tbody th, .bill tfoot th {
    grid-column: 1 / -1;
    padding: 0;
    white-space: normal;
  }
  .bill td { padding: 0; white-space: nowrap; text-align: left; }
  .bill td:last-child { text-align: right; }
  .bill tbody td:nth-child(2)::before,
  .bill tfoot td:nth-child(2)::before { content: "В магазине"; display: block; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 2px; }
  .bill tbody td:nth-child(3)::before,
  .bill tfoot td:nth-child(3)::before { content: "У нас"; display: block; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 2px; }
  .store__brand { margin-bottom: 20px; }
  .modal { padding: 0; place-items: stretch; }
  .modal__card {
    width: 100%; max-height: 100dvh; border: 0; border-radius: 0;
    padding: 26px 20px calc(34px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 380px) {
  .logo__name { font-size: 1.05rem; letter-spacing: .08em; }
  .head__act .btn { padding: 0 10px; font-size: .72rem; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
}

.hp {
  position: absolute; inset: 0 auto auto 0; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%);
}

.form-net { margin-top: 8px; font-size: var(--t-xs); color: #ff7a72; }

.doc { padding: 40px 0 88px; max-width: 720px; }
.doc h1 { margin: 18px 0 20px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.doc h2 { margin: 28px 0 10px; font-size: 1.15rem; }
.doc p, .doc li { margin: 0 0 12px; color: var(--fg-2); font-size: var(--t-sm); line-height: 1.65; }
.doc ul { padding-left: 1.1em; list-style: disc; }
.doc a { color: var(--br); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- пресеты калькулятора и ступень ---------------- */
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.presets button {
  padding: 7px 12px; font: 600 var(--t-xs) var(--f-text); color: var(--fg-2);
  border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.presets button:hover { color: var(--fg); background: var(--wash); }
.presets button.is-on { color: var(--on-br); background: var(--br); border-color: var(--br); }
.calc__tier {
  margin-top: 6px; padding: 14px 16px; font-size: var(--t-sm); line-height: 1.5; color: var(--fg-2);
  border: 1px dashed rgba(30, 240, 138, .4); border-radius: var(--r-sm); background: rgba(30, 240, 138, .06);
}

@media (hover: none) {
  .head.is-stuck {
    background: var(--ink);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .rev__card a:hover { transform: none; }
}
