@import url("/fonts/onest.css");

/* ============================================================== ТОКЕНЫ */
:root {
  /* Яркая тёплая схема: насыщенный оранжевый как основной,
     янтарный — как маркер-выделитель. Не жёлто-синяя схема франшизы. */
  --brand:        #E8481B;
  --brand-700:    #C43911;
  --brand-900:    #8E2A0D;
  --brand-400:    #FF7A45;
  --brand-300:    #FF9A6E;
  --brand-tint:   #FFEDE6;
  --brand-tint-2: #FFD9C9;

  --accent:       #FFC24B;   /* янтарь — маркер, бейджи, «горячие» CTA */
  --accent-ink:   #3A2400;
  --accent-tint:  #FFF4DC;
  --gold:         #F5A623;

  --trust:        #127A5F;   /* зелёный остался как цвет доверия: галочки, гарантия */
  --trust-tint:   #E4F3EE;

  --ink:      #101418;
  --ink-2:    #39434E;
  --muted:    #78838F;
  --muted-2:  #A3ACB6;
  --line:     #E6E2DA;
  --line-2:   #F1EEE8;

  --bg:       #FFFFFF;
  --surface:  #FFFFFF;
  --surface-2:#F6F3EE;
  --dark:     #14110F;
  --dark-2:   #201B17;
  --dark-3:   #2A231D;
  --on-dark:      rgba(255,255,255,.72);
  --on-dark-dim:  rgba(255,255,255,.45);
  --on-dark-line: rgba(255,255,255,.11);

  --radius-s: 10px;
  --radius:   16px;
  --radius-l: 24px;
  --radius-xl:32px;

  --shadow-s: 0 1px 2px rgba(16, 20, 24, .05), 0 2px 8px rgba(16, 20, 24, .04);
  --shadow:   0 2px 4px rgba(16, 20, 24, .05), 0 12px 32px rgba(16, 20, 24, .07);
  --shadow-l: 0 8px 24px rgba(16, 20, 24, .08), 0 32px 64px rgba(16, 20, 24, .10);

  --wrap: 1600px;
  --gutter: clamp(16px, 3.5vw, 56px);
  --section: clamp(56px, 8vw, 116px);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ============================================================== СБРОС */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 3px; border-radius: 4px; }

/* ============================================================== ТИПОГРАФИКА */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.2vw, 64px); letter-spacing: -0.042em; }
h2 { font-size: clamp(28px, 4.6vw, 56px); letter-spacing: -0.035em; }
h3 { font-size: clamp(20px, 2.3vw, 28px); letter-spacing: -0.025em; }
h4 { font-size: clamp(17px, 1.5vw, 19px); letter-spacing: -0.015em; }
p  { text-wrap: pretty; }

.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); line-height: 1.5; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.45; }
.nowrap { white-space: nowrap; }
.pre-line { white-space: pre-line; }

/* ============================================================== РАСКЛАДКА */
.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section--dark {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--dark); color: #fff;
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: var(--on-dark); }

/* Зерно + мягкое пятно света: плоская заливка выглядит дёшево, шум даёт «плотность». */
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.glow::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(900px, 80vw); aspect-ratio: 1; border-radius: 50%;
  top: -30%; right: -12%;
  background: radial-gradient(circle, rgba(46,154,124,.20), transparent 66%);
}
.glow--accent::after { background: radial-gradient(circle, rgba(217,98,47,.22), transparent 66%); }
.glow--left::after { right: auto; left: -14%; top: auto; bottom: -34%; }
.section--tinted { background: var(--surface-2); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head > div { max-width: 780px; }
.section-head p { margin-top: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow { color: var(--brand-400); }

.grid { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================== КНОПКИ */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-weight: 600; font-size: 16px; letter-spacing: -.01em; white-space: nowrap;
  cursor: pointer; transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
  box-shadow: 0 1px 2px rgba(142, 42, 13, .18), 0 6px 18px rgba(142, 42, 13, .18);
}
.btn:hover  { --btn-bg: var(--brand-700); transform: translateY(-2px); box-shadow: 0 2px 4px rgba(142,42,13,.22), 0 14px 30px rgba(142,42,13,.28); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); box-shadow: 0 2px 6px rgba(245,166,35,.35), 0 10px 26px rgba(245,166,35,.3); }
.btn--accent:hover { --btn-bg: #FFD068; box-shadow: 0 4px 10px rgba(245,166,35,.42), 0 16px 34px rgba(245,166,35,.36); }
.btn--ghost  { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); box-shadow: none; }
.btn--ghost:hover { --btn-bg: var(--surface); --btn-bd: var(--brand); --btn-fg: var(--brand); box-shadow: var(--shadow-s); }
.btn--light  { --btn-bg: #fff; --btn-fg: var(--ink); box-shadow: var(--shadow-s); }
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--brand); }
.btn--onDark { --btn-bg: rgba(255,255,255,.09); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.28); box-shadow: none; backdrop-filter: blur(8px); }
.btn--onDark:hover { --btn-bg: rgba(255,255,255,.16); --btn-bd: rgba(255,255,255,.5); }
.btn--lg { padding: 18px 34px; font-size: 17px; }
.btn--sm { padding: 11px 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); }
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================== ЧИПЫ И БЕЙДЖИ */
.badge {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: -.005em;
  background: var(--brand-tint); color: var(--brand-700);
}
.badge--accent { background: var(--accent-tint); color: #A8461C; }
.badge--dark { background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(6px); }
.badge--outline { background: transparent; border: 1px solid var(--line); color: var(--muted); }

.chip {
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--surface); font-weight: 600; font-size: 15px; color: var(--ink-2);
  transition: all .18s var(--ease);
}
.chip:hover { border-color: var(--brand-400); color: var(--brand); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* ============================================================== КАРТОЧКИ */
.card {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-l);
  padding: clamp(20px, 2.4vw, 30px);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }

/* ============================================================== ШАПКА */
.topbar {
  background: var(--dark); color: rgba(255,255,255,.72); font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 42px; }
.topbar__list { display: flex; gap: 22px; align-items: center; }
.topbar a:hover { color: #fff; }
@media (max-width: 900px) { .topbar { display: none; } }

.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 248, 244, .82); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(16,20,24,.06); }
.header__row { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 36px); height: 76px; }

.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo__mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(16,97,78,.28);
}
.logo__mark svg { width: 24px; height: 24px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.logo__name em { font-style: normal; color: var(--brand); }
.logo__tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

.nav { display: flex; align-items: center; gap: clamp(8px, 1.4vw, 22px); margin-inline: auto; }
.nav a { font-weight: 500; font-size: 16px; color: var(--ink-2); padding: 8px 2px; position: relative; transition: color .18s var(--ease); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--brand); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
@media (max-width: 1080px) { .nav { display: none; } }

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header__phone { font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.header__phone span { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
@media (max-width: 700px) { .header__phone { display: none; } }
@media (max-width: 560px) { .header__actions .btn { display: none; } }

.header__call { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); place-items: center; color: var(--brand); }
@media (max-width: 700px) { .header__call { display: grid; } }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); place-items: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .2s var(--ease); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after  { top: 0; transform: rotate(-45deg); }
@media (max-width: 1080px) { .burger { display: grid; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 70; background: var(--bg);
  padding: 90px var(--gutter) 40px; overflow-y: auto;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
body.menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
body.menu-open { overflow: hidden; }
.mobile-menu__close { position: absolute; top: 22px; right: var(--gutter); width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 22px; }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu nav a { font-size: 26px; font-weight: 700; letter-spacing: -.03em; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.mobile-menu__foot { margin-top: 28px; display: grid; gap: 12px; }

/* ============================================================== ГЕРОЙ */
.hero { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img, .hero__bg svg { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(7,20,17,.94) 0%, rgba(7,20,17,.86) 34%, rgba(7,20,17,.42) 62%, rgba(7,20,17,.28) 100%),
    linear-gradient(to top, rgba(7,20,17,.75), transparent 45%);
}
.hero__inner { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 72px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 940px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

.hero h1 { color: #fff; margin-bottom: 20px; white-space: pre-line; }
.hero__sub { font-size: clamp(16px, 1.7vw, 19px); color: rgba(255,255,255,.76); max-width: 540px; margin-bottom: 30px; }
.hero__bullets { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 22px; margin-bottom: 34px; }
@media (max-width: 520px) { .hero__bullets { grid-template-columns: minmax(0,1fr); } }
.hero__bullets li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,.9); }
.hero__bullets svg { flex: none; margin-top: 2px; color: #6FE3B0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 8px; }

/* карточка «акция» в герое */
.hero__promo {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(18px); border-radius: var(--radius-l); padding: clamp(22px, 2.6vw, 30px);
}
.hero__promo h3 { color: #fff; margin: 14px 0 10px; font-size: clamp(19px, 1.7vw, 23px); letter-spacing: -.025em; }
.hero__promo p { color: rgba(255,255,255,.72); font-size: 15px; margin-bottom: 20px; }
.hero__promo-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.hero__promo-price b { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.04em; color: var(--accent); }
.hero__timer { display: flex; gap: 8px; margin-bottom: 20px; }
.hero__timer div { flex: 1; text-align: center; background: rgba(0,0,0,.28); border-radius: 12px; padding: 10px 4px; }
.hero__timer b { display: block; font-size: 24px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero__timer span { font-size: 11px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; }

/* лента-счётчики под героем */
.counters { border-top: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.22); position: relative; }
.counters__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.counters__row > div { padding: 26px clamp(12px, 2vw, 28px); border-left: 1px solid rgba(255,255,255,.08); }
.counters__row > div:first-child { border-left: 0; }
.counters b { display: block; font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.counters span { font-size: 13px; color: rgba(255,255,255,.55); white-space: pre-line; line-height: 1.35; display: block; margin-top: 4px; }
@media (max-width: 760px) { .counters__row { grid-template-columns: repeat(2, 1fr); } .counters__row > div:nth-child(3) { border-left: 0; } .counters__row > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); } }

/* ============================================================== ФИШКА: ДО/ПОСЛЕ */
.ba {
  position: relative; border-radius: var(--radius-l); overflow: hidden;
  aspect-ratio: 16 / 10; background: var(--surface-2); user-select: none; touch-action: pan-y;
  cursor: ew-resize; box-shadow: var(--shadow);
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer img, .ba__layer svg { width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px;
  background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,.12), 0 0 22px rgba(0,0,0,.28);
}
.ba__knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; box-shadow: 0 4px 18px rgba(0,0,0,.28);
  color: var(--brand);
}
.ba__tag {
  position: absolute; top: 16px; padding: 7px 14px; border-radius: 999px;
  background: rgba(13,21,18,.66); backdrop-filter: blur(8px); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.ba__tag--before { left: 16px; } .ba__tag--after { right: 16px; }

/* ============================================================== УСЛУГИ */
.service-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-l);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line); }
.service-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.service-card__media img, .service-card__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-card:hover .service-card__media img, .service-card:hover .service-card__media svg { transform: scale(1.05); }
.service-card__price {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  font-weight: 700; font-size: 15px; letter-spacing: -.02em; box-shadow: var(--shadow-s);
}
.service-card__price em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 13px; }
.service-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-card__body h3 { font-size: 19px; }
.service-card__body p { font-size: 15px; color: var(--muted); flex: 1; }
.service-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }

/* ============================================================== ПРЕИМУЩЕСТВА */
.adv { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .adv { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .adv { grid-template-columns: 1fr; } }
.adv > div { background: var(--surface); padding: clamp(24px, 2.8vw, 34px); transition: background .2s var(--ease); }
.adv > div:hover { background: var(--brand-tint); }
.adv__icon { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; transition: background .2s var(--ease), color .2s var(--ease); }
.adv > div:hover .adv__icon { background: var(--brand); color: #fff; }
.adv h3 { font-size: 18px; margin-bottom: 8px; }
.adv p { font-size: 15px; color: var(--muted); }

/* ============================================================== ЭТАПЫ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 30px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.step::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 0; background: var(--brand); border-radius: 2px; transition: width .8s var(--ease); }
.step.is-in::after { width: 100%; }
.step b { font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .06em; display: block; margin-bottom: 12px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* ============================================================== КАЛЬКУЛЯТОР */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(20px, 2.6vw, 34px); align-items: start; }
@media (max-width: 1000px) { .calc { grid-template-columns: minmax(0, 1fr); } }

.calc__panel { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-l); padding: clamp(20px, 2.6vw, 34px); }
.calc__group + .calc__group { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.calc__label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 16px; margin-bottom: 14px; }
.calc__label span:last-child { font-weight: 500; color: var(--muted); font-size: 14px; }
.calc__label span:first-child { color: var(--ink); }

.calc__options { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label {
  display: flex; gap: 12px; align-items: flex-start; height: 100%;
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--surface); cursor: pointer; transition: all .18s var(--ease);
}
.opt label:hover { border-color: var(--brand-400); background: var(--brand-tint); }
.opt input:checked + label { border-color: var(--brand); background: var(--brand-tint); box-shadow: inset 0 0 0 1px var(--brand); }
.opt input:focus-visible + label { outline: 3px solid var(--brand-400); outline-offset: 2px; }
.opt__swatch { width: 34px; height: 34px; border-radius: 9px; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.opt__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.opt__txt b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.opt__txt em { font-style: normal; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.opt__price { font-size: 12.5px; color: var(--brand); font-weight: 600; }

/* ползунок длины */
.calc__range { display: flex; align-items: center; gap: 16px; }
.calc__range input[type="range"] { -webkit-appearance: none; appearance: none; flex: 1; height: 6px; border-radius: 999px; background: var(--line); outline: none; }
.calc__range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); border: 4px solid #fff; box-shadow: 0 2px 10px rgba(7,51,42,.35); cursor: grab; }
.calc__range input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); border: 4px solid #fff; box-shadow: 0 2px 10px rgba(7,51,42,.35); cursor: grab; }
.calc__range output { min-width: 92px; text-align: center; padding: 10px 12px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }

/* чекбоксы допов */
.calc__extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px; }
.check { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: all .18s var(--ease); }
.check:hover { border-color: var(--brand-400); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line); flex: none; display: grid; place-items: center; transition: all .16s var(--ease); }
.check__box svg { opacity: 0; transform: scale(.6); transition: all .16s var(--ease); color: #fff; }
.check input:checked ~ .check__box { background: var(--brand); border-color: var(--brand); }
.check input:checked ~ .check__box svg { opacity: 1; transform: none; }
.check input:checked ~ .check__txt { font-weight: 600; }
.check__txt { flex: 1; font-size: 15px; }
.check__price { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.check:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }

/* итоговая панель */
.calc__total { position: sticky; top: 96px; }
.calc__total-card { background: var(--dark); color: #fff; border-radius: var(--radius-l); padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--shadow-l); }
.calc__total-card h3 { color: #fff; font-size: 18px; margin-bottom: 4px; }
.calc__sum { font-size: clamp(36px, 5vw, 50px); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; margin: 14px 0 4px; font-variant-numeric: tabular-nums; }
.calc__old { font-size: 17px; color: rgba(255,255,255,.42); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.calc__save { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; padding: 7px 13px; border-radius: 999px; background: rgba(217,98,47,.2); color: #FFB48C; font-size: 13.5px; font-weight: 600; }
.calc__lines { margin: 22px 0; display: grid; gap: 9px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
.calc__lines li { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; color: rgba(255,255,255,.66); }
.calc__lines li b { font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__disclaimer { font-size: 12.5px; color: rgba(255,255,255,.42); margin-top: 16px; line-height: 1.45; }
/* сводка «Что входит в расчёт» */
.calc__more summary { list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.7); padding: 14px 0 0; display: flex; align-items: center; gap: 8px; }
.calc__more summary::-webkit-details-marker { display: none; }
.calc__more summary::after { content: "⌄"; margin-left: auto; transition: transform .2s var(--ease); }
.calc__more[open] summary::after { transform: rotate(180deg); }
.calc__more summary:hover { color: #fff; }

/* На мобильных итог поднимается наверх и «прилипает» под шапкой,
   иначе цена уезжает под длинный список опций и её не видно при выборе. */
@media (max-width: 1000px) {
  .calc { display: flex; flex-direction: column; }
  .calc__total { order: -1; position: sticky; top: 8px; z-index: 40; }
  .calc__total-card { padding: 18px 20px; }
  .calc__total-card > h3 + p { display: none; }
  .calc__sum { font-size: 34px; margin: 6px 0 2px; }
  .calc__lines { margin: 14px 0 4px; max-height: 34vh; overflow-y: auto; }
  .calc__disclaimer { display: none; }
}

/* ============================================================== КВИЗ */
.quiz { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); }
.quiz__head { padding: clamp(22px, 3vw, 36px) clamp(22px, 3vw, 40px) 0; }
.quiz__progress { height: 4px; background: var(--line-2); border-radius: 999px; overflow: hidden; margin: 18px 0 6px; }
.quiz__progress i { display: block; height: 100%; background: var(--brand); border-radius: 999px; transition: width .4s var(--ease); }
.quiz__meta { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.quiz__body { padding: clamp(20px, 3vw, 34px) clamp(22px, 3vw, 40px) clamp(24px, 3vw, 40px); }
.quiz__step { display: none; animation: slideIn .32s var(--ease); }
.quiz__step.is-active { display: block; }
@keyframes slideIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.quiz__q { font-size: clamp(20px, 2.4vw, 27px); font-weight: 700; letter-spacing: -.025em; margin-bottom: 20px; }
.quiz__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.quiz__opt {
  text-align: left; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--surface); transition: all .18s var(--ease); font-size: 16px; font-weight: 500; line-height: 1.35;
  display: flex; align-items: center; gap: 12px;
}
.quiz__opt:hover { border-color: var(--brand); background: var(--brand-tint); transform: translateY(-2px); }
.quiz__opt.is-picked { border-color: var(--brand); background: var(--brand-tint); box-shadow: inset 0 0 0 1px var(--brand); }
.quiz__opt--media { flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; gap: 0; }
.quiz__opt--media figure { aspect-ratio: 4/3; background: var(--surface-2); overflow: hidden; }
.quiz__opt--media figure img, .quiz__opt--media figure svg { width: 100%; height: 100%; object-fit: cover; }
.quiz__opt--media span { padding: 14px 16px; font-weight: 600; }
.quiz__nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; }
.quiz__back { font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.quiz__back:hover { color: var(--ink); }
.quiz__gift { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius); background: var(--accent-tint); color: #A8461C; font-size: 14.5px; font-weight: 500; margin-top: 18px; }

/* ============================================================== ПОДАРКИ */
.gifts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.gift {
  position: relative; overflow: hidden; border-radius: var(--radius-l); padding: 22px 22px 20px;
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-700) 100%); color: #fff;
  min-height: 148px; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.gift:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(7,51,42,.28); }
.gift::after { content: ""; position: absolute; right: -28px; bottom: -28px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.07); }
.gift { text-align: left; }
.gift__head { display: block; }
.gift b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.02em; position: relative; line-height: 1.25; }
.gift__value { display: block; font-size: 14px; color: rgba(255,255,255,.7); margin-top: 6px; position: relative; }
.gift__left { position: relative; margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(255,255,255,.85); background: rgba(0,0,0,.22); padding: 6px 11px; border-radius: 999px; align-self: flex-start; }
.gift__left i { width: 6px; height: 6px; border-radius: 50%; background: #6EE7B7; box-shadow: 0 0 0 3px rgba(110,231,183,.25); }

/* ============================================================== РАБОТЫ */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
@media (max-width: 940px) { .works { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .works { grid-template-columns: minmax(0,1fr); } }

.work {
  position: relative; display: block; border-radius: var(--radius-l); overflow: hidden;
  background: var(--dark); aspect-ratio: 4 / 3.4; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.work:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }
.work__media { position: absolute; inset: 0; }
.work__media img, .work__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work:hover .work__media img, .work:hover .work__media svg { transform: scale(1.06); }
.work::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,14,11,.97) 0%, rgba(6,14,11,.82) 22%, rgba(6,14,11,.42) 48%, rgba(6,14,11,.06) 78%);
  transition: opacity .35s var(--ease);
}
.work:hover::after { opacity: .88; }
.work__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 20px 22px 22px; color: #fff; }
.work__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.work__tags span { font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 6px; background: rgba(255,255,255,.2); backdrop-filter: blur(8px); letter-spacing: .01em; }
.work__body h3 { font-size: 18px; color: #fff; margin-bottom: 6px; }
.work__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13.5px; color: rgba(255,255,255,.7); }
.work__meta b { color: #fff; font-weight: 600; }
.work__count { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: rgba(13,21,18,.6); backdrop-filter: blur(8px); color: #fff; font-size: 12.5px; font-weight: 600; }

/* галерея объекта */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.gallery figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--surface-2); cursor: zoom-in; }
.gallery figure img, .gallery figure svg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery figure:hover img, .gallery figure:hover svg { transform: scale(1.05); }

/* лайтбокс */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(7,12,10,.94); display: none; place-items: center; padding: 24px; }
.lightbox.is-open { display: grid; }
.lightbox img, .lightbox svg { max-width: min(1100px, 92vw); max-height: 86vh; border-radius: var(--radius); width: auto; }
.lightbox__close { position: absolute; top: 20px; right: 24px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; font-size: 22px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.lightbox__nav--prev { left: 20px; } .lightbox__nav--next { right: 20px; }
.lightbox__counter { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.65); font-size: 14px; }

/* ============================================================== ОТЗЫВЫ */
.reviews-tabs { display: flex; gap: 8px; margin-bottom: 26px; }
.review { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.review__stars { display: flex; gap: 3px; color: var(--gold); }
.review__stars svg { fill: currentColor; stroke-width: 1; }
.review__text { font-size: 15.5px; color: var(--ink-2); flex: 1; }
.review__who { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.review__ava { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-weight: 700; flex: none; }
.review__who b { display: block; font-size: 15px; }
.review__who span { font-size: 13px; color: var(--muted); }
.review-demo { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #A8461C; background: var(--accent-tint); padding: 4px 9px; border-radius: 6px; align-self: flex-start; }

.ext-links { display: flex; flex-wrap: wrap; gap: 10px; }
.ext-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-size: 15px; transition: all .18s var(--ease); }
.ext-link:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

/* ============================================================== АККОРДЕОН */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; transition: border-color .2s var(--ease); }
.faq details[open] { border-color: var(--line); box-shadow: var(--shadow-s); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 17px; letter-spacing: -.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 24px; width: 14px; height: 14px;
  background: currentColor; transition: transform .25s var(--ease);
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  color: var(--brand);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; max-width: 74ch; }

/* ============================================================== АКЦИИ */
.promo {
  position: relative; overflow: hidden; border-radius: var(--radius-l); padding: clamp(24px, 3vw, 36px);
  background: var(--surface); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.promo:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.promo--featured { background: linear-gradient(140deg, var(--dark) 0%, #17281F 100%); color: #fff; border-color: transparent; }
.promo--featured h3 { color: #fff; }
.promo--featured p { color: rgba(255,255,255,.7); }
.promo--featured::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(217,98,47,.35), transparent 70%); }
.promo h3 { font-size: 22px; }
.promo p { color: var(--muted); font-size: 15.5px; flex: 1; }
.promo__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; flex-wrap: wrap; }

/* ============================================================== ФОРМА */
.form { display: grid; gap: 12px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 17px 18px 17px 48px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--surface); font-size: 16px; transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { padding-left: 18px; min-height: 108px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.field input[aria-invalid="true"] { border-color: #D64545; box-shadow: 0 0 0 4px #FCE9E9; }
.field__icon { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.field__error { font-size: 13px; color: #D64545; margin-top: 6px; display: none; }
.field.has-error .field__error { display: block; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.45; }
.consent input { margin-top: 2px; accent-color: var(--brand); width: 17px; height: 17px; flex: none; }
.consent a { text-decoration: underline; }
.trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-status { padding: 14px 18px; border-radius: var(--radius); font-size: 15px; display: none; }
.form-status.is-ok { display: block; background: var(--brand-tint); color: var(--brand-700); }
.form-status.is-err { display: block; background: #FCE9E9; color: #A32020; }

/* блок «оставьте заявку» */
.cta-band { background: var(--dark); color: #fff; border-radius: var(--radius-xl); overflow: hidden; position: relative; }
.cta-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(26px, 4vw, 60px); padding: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 860px) { .cta-band__grid { grid-template-columns: minmax(0,1fr); } }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.68); margin-top: 14px; }
.cta-band .field input, .cta-band .field textarea { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); color: #fff; }
.cta-band .field input::placeholder { color: rgba(255,255,255,.45); }
.cta-band .field input:focus { border-color: var(--brand-400); box-shadow: 0 0 0 4px rgba(46,154,124,.18); }
.cta-band .field__icon { color: rgba(255,255,255,.4); }
.cta-band .consent { color: rgba(255,255,255,.5); }
.cta-band__list { display: grid; gap: 12px; margin-top: 26px; }
.cta-band__list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,.8); }
.cta-band__list svg { flex: none; margin-top: 2px; color: var(--brand-400); }

/* ============================================================== МАТЕРИАЛЫ / ГАРАНТИЯ */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 64px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0,1fr); } }
.mat-list { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); }
.mat-list > div { background: var(--surface); padding: 22px 24px; }
.mat-list h4 { margin-bottom: 6px; }
.mat-list p { font-size: 14.5px; color: var(--muted); }

.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.check-list svg { flex: none; margin-top: 3px; color: var(--trust); }

.numbered { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px) clamp(20px, 3vw, 44px); }
@media (max-width: 860px) { .numbered { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .numbered { grid-template-columns: 1fr; } }
.numbered li { padding-top: 16px; border-top: 2px solid var(--line); position: relative; }
.numbered li::before {
  counter-increment: n; content: counter(n, decimal-leading-zero);
  position: absolute; top: -13px; left: 0; background: var(--bg); padding-right: 10px;
  font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .06em;
}
.numbered { counter-reset: n; }
.numbered li p { font-size: 15.5px; color: var(--ink-2); }

/* ============================================================== МОБИЛЬНАЯ ПАНЕЛЬ */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92); backdrop-filter: blur(16px) saturate(1.5);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.actionbar.is-visible { transform: none; }
.actionbar__row { display: grid; grid-template-columns: 52px 52px 1fr; gap: 8px; align-items: center; }
.actionbar__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); }
.actionbar__icon--wa { background: #25D366; border-color: #25D366; color: #fff; }
.actionbar__icon--tg { background: #229ED9; border-color: #229ED9; color: #fff; }
@media (max-width: 860px) { .actionbar { display: block; } body { padding-bottom: 84px; } }

/* плавающая кнопка «наверх» */
.to-top {
  position: fixed; right: 20px; bottom: 100px; z-index: 54;
  width: 46px; height: 46px; border-radius: 50%; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .25s var(--ease);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
@media (min-width: 861px) { .to-top { bottom: 24px; } }

/* ============================================================== ПОДВАЛ */
.footer { background: var(--dark); color: rgba(255,255,255,.62); padding-block: clamp(44px, 6vw, 72px) 28px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: minmax(0,1fr); } }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .01em; }
.footer a:hover { color: #fff; }
.footer ul { display: grid; gap: 10px; font-size: 15px; }
.footer .logo__name { color: #fff; }
.footer .logo__name em { color: var(--brand-400); }
.footer .logo__tag { color: rgba(255,255,255,.4); }
.footer__about { font-size: 14.5px; margin: 18px 0; max-width: 34ch; line-height: 1.5; }
.footer__phone { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -.02em; display: block; margin-bottom: 6px; }
.footer__socials { display: flex; gap: 10px; margin-top: 18px; }
.footer__socials a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: #fff; transition: all .18s var(--ease); }
.footer__socials a:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.footer__legal { margin-top: clamp(30px, 4vw, 52px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 13.5px; color: rgba(255,255,255,.42); }

/* ============================================================== АНИМАЦИИ ПОЯВЛЕНИЯ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1 !important; transform: none !important; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal-stagger.is-in > * { opacity: 1 !important; transform: none !important; }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .06s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .12s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .18s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .24s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .3s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: .36s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: .42s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .step::after { transition: none; }
}

/* ============================================================== СТРАНИЦЫ */
.page-head { padding-block: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { color: var(--muted-2); }

.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 36px 0 14px; }
.prose h3 { margin: 26px 0 10px; }
.prose p { margin-bottom: 14px; color: var(--ink-2); }
.prose ul { margin: 0 0 18px; display: grid; gap: 9px; }
.prose ul li { position: relative; padding-left: 24px; color: var(--ink-2); }
.prose ul li::before { content: ""; position: absolute; left: 6px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.spec { margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec > div { background: var(--surface); padding: 15px 20px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; text-align: right; }

.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: var(--accent-tint); color: #8A3A16; font-size: 15px; }
.notice svg { flex: none; margin-top: 2px; }

/* ============================================================== АДМИНКА */
.admin { background: #F5F6F7; min-height: 100vh; }
.admin__bar { background: var(--dark); color: #fff; padding: 14px 0; }
.admin__bar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.admin__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.admin__tabs a { padding: 7px 13px; border-radius: 8px; font-size: 14px; background: rgba(255,255,255,.09); }
.admin__tabs a:hover, .admin__tabs a.is-active { background: var(--brand); }
.admin table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; border-radius: var(--radius); overflow: hidden; }
.admin th, .admin td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.admin th { background: var(--surface-2); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.admin tr:last-child td { border-bottom: 0; }
.admin textarea { width: 100%; min-height: 62vh; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.55; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; tab-size: 2; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 26px; }
.admin-stats div { background: #fff; border-radius: var(--radius); padding: 20px; border: 1px solid var(--line-2); }
.admin-stats b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.admin-stats span { font-size: 13.5px; color: var(--muted); }
.status-new { color: var(--accent); font-weight: 600; }
.status-done { color: var(--brand); font-weight: 600; }
.login-box { max-width: 380px; margin: 12vh auto; background: #fff; padding: 34px; border-radius: var(--radius-l); box-shadow: var(--shadow); }
.uploads-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.uploads-grid a { display: block; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.uploads-grid img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================== УТИЛИТЫ */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; }
.mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 32px; }
.flex { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* =========================================================================
   V2 — КРУПНЫЕ БЛОКИ
   Секции строятся вокруг одного сильного элемента (цифра, цена, фото),
   а не вокруг ровной сетки одинаковых карточек.
   ========================================================================= */

/* ------------------------------------------------------- бегущая строка */
.ticker {
  background: var(--brand); color: #fff; overflow: hidden;
  padding-block: 15px; border-block: 1px solid rgba(255,255,255,.14);
}
.ticker__track { display: flex; width: max-content; animation: tickerRun 46s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.ticker span {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  font-size: clamp(15px, 1.5vw, 19px); font-weight: 600; letter-spacing: -.015em;
}
.ticker span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); flex: none; }
@keyframes tickerRun { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------------------------------------------- услуги: тёмные карточки */
/* Приём тот же, что в панели итога калькулятора: тёмная плита,
   огромная цена, всё остальное — подпись. */
.svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1080px) { .svc { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px)  { .svc { grid-template-columns: minmax(0,1fr); } }

.svc__item {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-l); background: var(--dark-2);
  border: 1px solid var(--on-dark-line); min-height: 340px; isolation: isolate;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.svc__item:hover { transform: translateY(-6px); border-color: rgba(46,154,124,.55); }
.svc__media { position: absolute; inset: 0; z-index: -2; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .35s var(--ease); opacity: .8; }
.svc__item:hover .svc__media img { transform: scale(1.08); opacity: 1; }
.svc__item::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, var(--dark) 6%, rgba(10,16,14,.92) 42%, rgba(10,16,14,.42) 76%, rgba(10,16,14,.18) 100%);
}
.svc__body { margin-top: auto; padding: 24px; }
.svc__price {
  display: block; font-size: clamp(28px, 3vw, 38px); font-weight: 800;
  letter-spacing: -.045em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums;
}
.svc__price small { display: block; margin-top: 7px; font-size: 12.5px; font-weight: 500; letter-spacing: 0; color: var(--on-dark-dim); }
.svc__name {
  margin-top: 16px; font-size: 20px; font-weight: 700; letter-spacing: -.025em; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.svc__desc {
  margin-top: 7px; font-size: 14.5px; color: var(--on-dark-dim); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.svc__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--on-dark-line); }
.svc__term { font-size: 13px; color: var(--on-dark-dim); display: inline-flex; align-items: center; gap: 6px; }
.svc__go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; transition: all .25s var(--ease); }
.svc__item:hover .svc__go { background: var(--brand-400); transform: translateX(3px); }

/* ------------------------------------------- этапы: гигантские цифры */
.flow { display: grid; gap: 0; }
.flow__row {
  display: grid; grid-template-columns: minmax(140px, 200px) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(18px, 3vw, 48px); align-items: start;
  padding-block: clamp(26px, 3.4vw, 44px); border-top: 1px solid var(--on-dark-line);
  transition: background .3s var(--ease);
}
.flow__row:last-child { border-bottom: 1px solid var(--on-dark-line); }
.flow__row:hover { background: rgba(255,255,255,.028); }
.flow__n {
  font-size: clamp(54px, 8vw, 104px); font-weight: 800; line-height: .85;
  letter-spacing: -.06em; color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.28);
  transition: color .35s var(--ease), -webkit-text-stroke-color .35s var(--ease);
}
.flow__row:hover .flow__n { color: var(--brand-400); -webkit-text-stroke-color: transparent; }
.flow__row h3 { font-size: clamp(20px, 2.2vw, 27px); }
.flow__row p { font-size: 15.5px; max-width: 52ch; }
@media (max-width: 760px) {
  .flow__row { grid-template-columns: 76px minmax(0, 1fr); gap: 18px; }
  .flow__row p { grid-column: 2; margin-top: 8px; }
  .flow__n { font-size: 46px; }
}

/* ------------------------------------------- работы: первая карточка крупная */
.works--feature { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.works--feature > .work:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.works--feature > .work:first-child .work__body { padding: 30px 32px 32px; }
.works--feature > .work:first-child h3 { font-size: clamp(24px, 2.6vw, 32px); }
@media (max-width: 940px) {
  .works--feature { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .works--feature > .work:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; }
}
@media (max-width: 600px) { .works--feature { grid-template-columns: minmax(0,1fr); } .works--feature > .work:first-child { grid-column: auto; } }

/* ------------------------------------------- преимущества: крупная сетка */
.adv2 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(14px, 1.6vw, 20px); }
@media (max-width: 900px) { .adv2 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .adv2 { grid-template-columns: minmax(0,1fr); } }
.adv2__item {
  position: relative; overflow: hidden; padding: clamp(26px, 3vw, 36px);
  border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line-2);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.adv2__item:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-300); }
.adv2__item::after {
  content: ""; position: absolute; right: -50px; bottom: -50px; width: 170px; height: 170px;
  border-radius: 50%; background: var(--brand-tint); opacity: 0; transition: opacity .35s var(--ease);
}
.adv2__item:hover::after { opacity: 1; }
.adv2__item > * { position: relative; z-index: 1; }
.adv2__icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--dark); color: var(--brand-400); margin-bottom: 22px;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.adv2__item:hover .adv2__icon { background: var(--brand); color: #fff; transform: rotate(-6deg) scale(1.06); }
.adv2__item h3 { font-size: 19px; margin-bottom: 9px; letter-spacing: -.02em; }
.adv2__item p { font-size: 15px; color: var(--muted); }

/* ------------------------------------------- подарки: карточки с номером */
.gift {
  background: var(--dark-2); border: 1px solid var(--on-dark-line); min-height: 168px;
  padding: 24px; overflow: hidden;
}
.gift::after {
  content: ""; position: absolute; right: -46px; bottom: -46px; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,154,124,.30), transparent 70%); transition: transform .4s var(--ease);
}
.gift:hover { background: var(--brand-700); border-color: var(--brand-400); box-shadow: 0 18px 44px rgba(7,51,42,.34); }
.gift:hover::after { transform: scale(1.35); }
.gift__value { color: var(--brand-400); font-weight: 600; }
.gift:hover .gift__value { color: rgba(255,255,255,.82); }

/* --------------------------------------- счётчики: крупнее и с разделителем */
.counters { background: var(--dark); border-top: 1px solid var(--on-dark-line); }
.counters b { font-size: clamp(30px, 4vw, 52px); letter-spacing: -.05em; }
.counters span { color: var(--on-dark-dim); font-size: 13.5px; }
.counters__row > div { padding: clamp(24px, 3vw, 38px) clamp(12px, 2vw, 30px); }

/* --------------------------------------------------- цитата-разделитель */
.pullquote {
  font-size: clamp(24px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.035em;
  line-height: 1.18; max-width: 20ch; text-wrap: balance;
}
.pullquote em { font-style: normal; color: var(--brand-400); }
.section--dark .pullquote { color: #fff; }

/* ------------------------------------------------- акции: крупный первый */
.promos { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(14px, 1.6vw, 20px); }
@media (max-width: 980px) { .promos { grid-template-columns: repeat(2, minmax(0,1fr)); } .promos > :first-child { grid-column: span 2; } }
@media (max-width: 640px) { .promos { grid-template-columns: minmax(0,1fr); } .promos > :first-child { grid-column: auto; } }
.promo--featured { min-height: 300px; justify-content: flex-end; }
.promo--featured h3 { font-size: clamp(24px, 2.6vw, 32px); }

/* ------------------------------------------- элементы на тёмном фоне */
.section--dark .card {
  background: var(--dark-2); border-color: var(--on-dark-line); color: #fff;
}
.section--dark .review__text { color: var(--on-dark); }
.section--dark .review__who { border-top-color: var(--on-dark-line); }
.section--dark .review__who span { color: var(--on-dark-dim); }
.section--dark .review__ava { background: rgba(46,154,124,.18); color: var(--brand-400); }
.section--dark .ext-link {
  background: rgba(255,255,255,.06); border-color: var(--on-dark-line); color: #fff;
  backdrop-filter: blur(8px);
}
.section--dark .ext-link:hover { border-color: var(--brand-400); color: var(--brand-400); background: rgba(46,154,124,.1); }
.section--dark .link-arrow { color: var(--brand-400); }
.section--dark .badge--outline { border-color: var(--on-dark-line); color: var(--on-dark-dim); }
.section--dark .check-list svg { color: var(--brand-400); }
.section--dark .muted, .section--dark .small.muted { color: var(--on-dark-dim); }

/* --------------------------------------------- материалы: фото + нумерация */
.split--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
.split--quote { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
@media (max-width: 900px) { .split--wide, .split--quote { grid-template-columns: minmax(0,1fr); } }

.mat-photo { position: relative; border-radius: var(--radius-l); overflow: hidden; }
.mat-photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.mat-photo figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 24px 22px; font-size: 14px; color: #fff;
  background: linear-gradient(to top, rgba(6,14,11,.94), rgba(6,14,11,0));
}

.mat2 { display: grid; gap: 0; }
.mat2__item {
  display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 20px; align-items: start;
  padding-block: clamp(20px, 2.4vw, 28px); border-top: 1px solid var(--on-dark-line);
}
.mat2__item:last-child { border-bottom: 1px solid var(--on-dark-line); }
.mat2__n { font-size: 15px; font-weight: 700; color: var(--brand-400); letter-spacing: .06em; padding-top: 4px; }
.mat2__item h3 { font-size: 19px; margin-bottom: 7px; }
.mat2__item p { font-size: 15px; color: var(--on-dark-dim); }

/* ----------------------------------------- «почему мы»: две колонки с чертой */
.numbered2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 44px); counter-reset: n2; }
@media (max-width: 620px) { .numbered2 { grid-template-columns: minmax(0,1fr); } }
.numbered2 li {
  counter-increment: n2; position: relative;
  padding: 22px 0 22px 46px; border-top: 1px solid var(--line);
  font-size: 16px; color: var(--ink-2); line-height: 1.45;
}
.numbered2 li::before {
  content: counter(n2, decimal-leading-zero);
  position: absolute; left: 0; top: 24px;
  font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .06em;
}
.numbered2 li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
@media (max-width: 620px) { .numbered2 li:nth-last-child(-n+2) { border-bottom: 0; } .numbered2 li:last-child { border-bottom: 1px solid var(--line); } }

/* ------------------------------------------- маркер-выделитель в заголовках */
/* Приём из исходного сайта: ключевые слова подчёркнуты цветной плашкой. */
.mark {
  position: relative; display: inline-block; z-index: 0; padding-inline: .12em;
  color: inherit;
}
.mark { color: var(--accent-ink); }
.mark::before {
  content: ""; position: absolute; z-index: -1; left: -.08em; right: -.08em;
  bottom: -.08em; height: 1.1em; border-radius: 5px;
  background: var(--accent); transform: skewX(-3deg);
}
/* вариант «только подчёркивание» — когда плашка спорит с фоном */
.mark--underline { color: inherit; }
.mark--underline::before { bottom: .02em; height: .34em; border-radius: 3px; }

/* ------------------------------------------- FAQ: заголовок слева, список справа */
.faq-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: minmax(0, 1fr); } }
.faq-layout__head { position: sticky; top: 108px; }
@media (max-width: 900px) { .faq-layout__head { position: static; } }
.faq { max-width: none; }

/* =========================================================================
   БЛОКИ ПОД ПУТЬ КЛИЕНТА
   ========================================================================= */

/* ----------------------------------------------- сценарии «моя задача» */
.scen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
@media (max-width: 1100px) { .scen { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 680px)  { .scen { grid-template-columns: minmax(0,1fr); } }

.scen__item {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.scen__item:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-300); }
.scen__media { aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.scen__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.scen__item:hover .scen__media img { transform: scale(1.05); }
.scen__body { padding: clamp(20px, 2vw, 26px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.scen__pain { font-size: 15px; font-weight: 600; color: var(--brand); font-style: italic; }
.scen__body h3 { font-size: 21px; }
.scen__what { font-size: 15px; color: var(--muted); }
.scen__meta { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-top: 2px; }
.scen__price { font-size: 26px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.scen__days { font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.scen__honest {
  display: flex; gap: 10px; align-items: flex-start; margin-top: auto;
  padding: 14px 16px; border-radius: var(--radius-s); background: var(--accent-tint);
  font-size: 13.5px; line-height: 1.45; color: #6B4A00;
}
.scen__honest svg { flex: none; margin-top: 1px; }
.scen__cta { align-self: flex-start; }

/* ----------------------------------------------------- тарифы-бюджеты */
.tariffs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); align-items: stretch; }
@media (max-width: 940px) { .tariffs { grid-template-columns: minmax(0,1fr); } }

.tariff {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius-l);
  background: var(--surface); border: 1.5px solid var(--line);
}
.tariff--best { border-color: var(--brand); box-shadow: 0 10px 40px rgba(232,72,27,.14); }
.tariff__flag {
  position: absolute; top: -13px; left: clamp(24px, 2.6vw, 34px);
  padding: 5px 14px; border-radius: 999px; background: var(--brand); color: #fff;
  font-size: 12.5px; font-weight: 700; letter-spacing: .01em;
}
.tariff__name { font-size: 21px; font-weight: 700; letter-spacing: -.025em; }
.tariff__sub { font-size: 14px; color: var(--muted); margin-top: -8px; }
.tariff__price {
  font-size: clamp(32px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.045em;
  line-height: 1.05; font-variant-numeric: tabular-nums; margin: 4px 0 6px;
}
.tariff__price small { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: 6px; }
.tariff__in, .tariff__out { display: grid; gap: 8px; }
.tariff__in { padding-top: 14px; border-top: 1px solid var(--line-2); }
.tariff__in li, .tariff__out li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; }
.tariff__in svg { flex: none; margin-top: 3px; color: var(--trust); }
.tariff__out { padding-top: 12px; }
.tariff__out li { color: var(--muted-2); }
.tariff__out svg { flex: none; margin-top: 4px; color: var(--muted-2); }
.tariff__result {
  margin-top: auto;
  padding: 14px 16px; border-radius: var(--radius-s); background: var(--surface-2);
  font-size: 14px; line-height: 1.45; color: var(--ink-2); margin-top: 4px;
}
.tariff--best .tariff__result { background: var(--brand-tint); color: #7A2A0C; }
.tariff .btn { margin-top: 4px; }

/* --------------------------------------------- таблица «где доплаты» */
.ptable { border: 1px solid var(--on-dark-line); border-radius: var(--radius-l); overflow: hidden; }
.ptable__head, .ptable__row {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, .9fr);
  gap: clamp(12px, 2vw, 28px); padding: 16px clamp(16px, 2vw, 26px); align-items: center;
}
.ptable__head {
  background: rgba(255,255,255,.05); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-dim);
}
.ptable__row { border-top: 1px solid var(--on-dark-line); transition: background .25s var(--ease); }
.ptable__row:hover { background: rgba(255,255,255,.035); }
.ptable__item { font-weight: 600; font-size: 15.5px; color: #fff; }
.ptable__usual { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; color: var(--on-dark-dim); }
.ptable__usual svg { flex: none; margin-top: 3px; color: #FF8A6B; }
.ptable__ours { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; font-weight: 600; color: #6FE3B0; }
.ptable__ours svg { flex: none; margin-top: 3px; }
@media (max-width: 820px) {
  .ptable__head { display: none; }
  .ptable__row { grid-template-columns: minmax(0,1fr); gap: 8px; padding-block: 18px; }
}
.ptable__footer {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 20px;
  font-size: 14.5px; color: var(--on-dark-dim); max-width: 90ch;
}
.ptable__footer svg { flex: none; margin-top: 2px; color: var(--accent); }

/* ------------------------------------------------------- разбор ошибок */
.mist { display: grid; gap: clamp(12px, 1.4vw, 18px); }
.mist__item {
  display: grid; grid-template-columns: 54px minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(16px, 2.4vw, 36px); align-items: start;
  padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius-l);
  background: var(--surface); border: 1px solid var(--line);
}
@media (max-width: 900px) { .mist__item { grid-template-columns: 40px minmax(0, 1fr); } .mist__col--good { grid-column: 2; } }
.mist__n { font-size: 28px; font-weight: 800; letter-spacing: -.05em; color: var(--line); line-height: 1; }
.mist__label {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.mist__col--bad .mist__label { color: #C2410C; }
.mist__col--good .mist__label { color: var(--trust); }
.mist__col--bad h3 { font-size: 19px; margin-bottom: 9px; }
.mist__col p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.mist__col--good { padding-left: clamp(16px, 2vw, 28px); border-left: 2px solid var(--trust-tint); }
@media (max-width: 900px) { .mist__col--good { padding-left: 0; border-left: 0; padding-top: 16px; border-top: 1px solid var(--line-2); margin-top: 4px; } }

/* --------------------------------------------------- хронология работ */
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1150px) { .days { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 760px)  { .days { grid-template-columns: minmax(0,1fr); } }
.day {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(20px, 2vw, 26px); border-radius: var(--radius-l);
  background: var(--dark-2); border: 1px solid var(--on-dark-line);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.day:hover { border-color: var(--brand-400); transform: translateY(-4px); }
.day__label {
  align-self: flex-start; padding: 5px 12px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 700;
}
.day h3 { font-size: 18px; }
.day__text { font-size: 14.5px; color: var(--on-dark-dim); line-height: 1.5; flex: 1; }
.day__facts { display: grid; gap: 7px; padding-top: 14px; border-top: 1px solid var(--on-dark-line); }
.day__fact { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--on-dark-dim); }
.day__fact svg { flex: none; }
.day__fact--noise[data-noise="high"] { color: #FFB08A; }
.day__fact--noise[data-noise="mid"]  { color: var(--accent); }
.day__fact--noise[data-noise="low"]  { color: #6FE3B0; }

/* ------------------------------------------------ можно / нельзя */
.legal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
@media (max-width: 820px) { .legal { grid-template-columns: minmax(0,1fr); } }
.legal__col { padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius-l); border: 1.5px solid; }
.legal__col h3 { display: flex; align-items: center; gap: 11px; font-size: 20px; margin-bottom: 18px; }
.legal__col ul { display: grid; gap: 12px; }
.legal__col li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.legal__col li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%; }
.legal__col--ok  { border-color: #BFE3D6; background: var(--trust-tint); }
.legal__col--ok h3 { color: var(--trust); }
.legal__col--ok li::before { background: var(--trust); }
.legal__col--no  { border-color: #F5CDBC; background: var(--brand-tint); }
.legal__col--no h3 { color: #C2410C; }
.legal__col--no li::before { background: #C2410C; }
