/* ============================================================
   Clean Premium Tech — дизайн-система (ТЗ раздел 5)
   Шрифты — локальные .woff2 (см. fonts.css). Google Fonts CDN не используется.
   ============================================================ */

:root {
  /* Тёмная палитра — основной цвет чёрный, акцент изумрудный.
     Светлая версия (бэкап): --bg:#F7F8F7; --surface:#FFF; --text:#0E1512;
     --border:#E6E8E4; --primary-deep:#064E3B; --primary-soft:#E8F6F0; --on-primary:#FFF */
  --bg: #0A0B0C;
  --bg-soft: #101214;
  --surface: #16191C;
  --surface-2: #1C2024;
  --text: #F2F4F3;
  --text-soft: #C2C8C4;
  --text-muted: #899088;
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .18);

  /* Акцент — изумрудный */
  --primary: #10B981;
  --primary-deep: #34D399;      /* светлее — для читаемых акцентных надписей на чёрном */
  --primary-ink: #06140F;       /* фон финального CTA */
  --primary-soft: rgba(52, 211, 153, .14);
  --primary-glow: rgba(16, 185, 129, .40);
  --on-primary: #04130D;        /* тёмный текст на ярком изумруде */

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  --container: 1200px;
  --gutter: 24px;
  --header-h: 76px;

  /* Тени — глубокий чёрный для отделения карточек на тёмном фоне */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .45);
  --shadow: 0 16px 40px -10px rgba(0, 0, 0, .6);
  --shadow-lg: 0 32px 70px -14px rgba(0, 0, 0, .7);
  --shadow-primary: 0 16px 36px -10px var(--primary-glow);

  --font-head: 'Manrope', 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.62;
  font-feature-settings: "ss01", "cv05", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Тонкая зернистость для премиум-фактуры (поверх всего, не мешает кликам) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--primary-deep); color: #fff; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.025em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--primary-deep); }
.muted { color: var(--text-muted); }
section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }

/* ---------- Eyebrow / заголовки секций ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--primary-deep);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.section-head--left { align-items: flex-start; text-align: left; margin: 0 0 36px; }
.section-title { font-size: clamp(1.75rem, 1rem + 2.8vw, 3rem); margin: 0; }
.section-title--left { text-align: left; }

/* ---------- Кнопки ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 15px 26px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn--lg { padding: 18px 32px; font-size: 1.02rem; }
.btn--sm { padding: 11px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.btn--primary { background: linear-gradient(135deg, var(--primary), #0FA876); color: var(--on-primary); box-shadow: var(--shadow-primary); }
.btn--primary:hover { background: linear-gradient(135deg, #0FA876, var(--primary-deep)); box-shadow: 0 18px 40px -10px var(--primary-glow); transform: translateY(-2px); }
.btn--secondary { background: var(--text); color: var(--bg); }
.btn--secondary:hover { background: #fff; transform: translateY(-2px); }
.btn--ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Шапка ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: height .3s var(--ease), background .3s, box-shadow .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { height: calc(var(--header-h) * .82); background: rgba(10, 11, 12, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--border); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.header__logo { display: flex; align-items: center; }
.header__logo img { height: 30px; width: auto; display: block; }
.footer__brand img { height: 26px; width: auto; display: block; }
.header__nav { display: flex; gap: 30px; }
.header__nav a { position: relative; font-weight: 500; font-size: .96rem; color: var(--text-soft); transition: color .2s; }
.header__nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--primary); border-radius: 2px; transition: width .25s var(--ease); }
.header__nav a:hover { color: var(--text); }
.header__nav a:hover::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { font-weight: 700; font-size: .82rem; color: var(--text-soft); border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm); padding: 7px 12px; transition: .2s; }
.lang-switch:hover { color: var(--primary-deep); border-color: var(--primary); }
.header__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.header__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s var(--ease); }
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

main { padding-top: var(--header-h); }

/* ============================================================
   БЛОК 1 — Hero
   ============================================================ */
.hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(64px, 9vw, 120px); overflow: clip; }
.hero__bg { position: absolute; inset: -10% -5% auto -5%; height: 130%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 50% at 78% 18%, rgba(16,185,129,.16), transparent 70%),
    radial-gradient(45% 45% at 12% 8%, rgba(6,78,59,.10), transparent 70%);
}
.hero__bg::before { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 62%);
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 62%); }
.hero__inner { display: grid; grid-template-columns: 1.05fr minmax(420px, .95fr); gap: 56px; align-items: center; }
.hero__text { min-width: 0; }
.hero__eyebrow { margin-bottom: 22px; }
.hero__title { font-size: clamp(2.1rem, 1rem + 4.4vw, 4.1rem); letter-spacing: -.035em; overflow-wrap: break-word; }
/* подчёркивание через фон — корректно работает при переносе на несколько строк */
.accent-underline { color: var(--primary-deep);
  background-image: linear-gradient(rgba(16,185,129,.24), rgba(16,185,129,.24));
  background-size: 100% .3em; background-position: 0 88%; background-repeat: no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); color: var(--text-muted); max-width: 520px; margin: 24px 0 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__proof { display: flex; align-items: center; gap: 14px; margin-top: 38px; }
.hero__avatars { display: flex; }
.hero__avatars span { width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--bg); margin-left: -12px; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); box-shadow: var(--shadow-xs); }
.hero__avatars span:first-child { margin-left: 0; }
.hero__avatars span:nth-child(2) { background: linear-gradient(135deg, #34D399, #059669); }
.hero__avatars span:nth-child(3) { background: linear-gradient(135deg, #0E1512, #374151); }
.hero__avatars span:nth-child(4) { background: linear-gradient(135deg, #6EE7B7, #10B981); }
.hero__proof p { font-size: .92rem; color: var(--text-muted); margin: 0; }
.hero__proof strong { color: var(--text); }

/* ---------- Визуал: живая карта роста ---------- */
.hero__visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 var(--primary-glow); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); } 70% { box-shadow: 0 0 0 8px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
.eyebrow .pulse-dot { margin-right: 2px; }
.eyebrow:has(.pulse-dot)::before { display: none; }

.growth-card { position: relative; width: min(100%, 460px); background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 26px 26px 22px; overflow: hidden; animation: float 8s var(--ease) infinite; }
.growth-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--primary-deep)); }
.growth-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.growth-card__label { font-size: .8rem; color: var(--text-muted); font-weight: 600; }
.growth-card__big { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 2px; }
.growth-card__delta { color: var(--primary); font-size: .9rem; }
.growth-card__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.1rem, 1rem + 3vw, 2.9rem); color: var(--primary-deep); letter-spacing: -.03em; line-height: 1; }
.growth-card__sub { font-size: .82rem; color: var(--text-muted); }
.growth-card__live { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary-deep); background: var(--primary-soft); padding: 6px 11px; border-radius: 99px; }
.growth-card__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); animation: pulse 2s var(--ease) infinite; }
.growth-card__chart { position: relative; margin: 14px 0 6px; }
.growth-card__chart .spark { width: 100%; height: 170px; display: block; }
.growth-card__months { display: flex; justify-content: space-between; font-size: .72rem; color: var(--text-muted); margin-top: 6px; padding: 0 2px; }
.growth-card__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.kpi { display: flex; flex-direction: column; gap: 2px; }
.kpi__v { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--text); letter-spacing: -.02em; }
.kpi__k { font-size: .74rem; color: var(--text-muted); font-weight: 500; }

/* SVG spark — общие стили */
.spark__grid line { stroke: var(--border); stroke-width: 1; stroke-dasharray: 2 4; }
.spark__dot-pulse { fill: var(--primary); opacity: .25; animation: dotpulse 2s var(--ease) infinite; }
.spark__dot-core { fill: var(--primary); stroke: #fff; stroke-width: 2; }
@keyframes dotpulse { 0% { r: 6; opacity: .35; } 70% { r: 13; opacity: 0; } 100% { r: 6; opacity: 0; } }
.spark--mini .spark__dot-pulse { animation: dotpulse-s 2s var(--ease) infinite; }
@keyframes dotpulse-s { 0% { r: 5; opacity: .35; } 70% { r: 11; opacity: 0; } 100% { r: 5; opacity: 0; } }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Появление hero при загрузке */
.hero__text > * { opacity: 0; transform: translateY(20px); animation: rise .8s var(--ease-out) forwards; }
.hero__eyebrow { animation-delay: .05s; }
.hero__title { animation-delay: .14s; }
.hero__lead { animation-delay: .24s; }
.hero__cta { animation-delay: .34s; }
.hero__proof { animation-delay: .44s; }
.hero__visual { opacity: 0; animation: rise 1s var(--ease-out) .3s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ============================================================
   БЛОК 2 — Живой калькулятор
   ============================================================ */
.section-sub { color: var(--text-muted); font-size: 1.05rem; margin: 0; max-width: 560px; }
/* --- тёмная иммерсивная сцена с колесом --- */
.calc--wheel { position: relative; overflow: hidden; color: #E8F2ED;
  background: radial-gradient(110% 100% at 82% 0%, #0E2A20 0%, #0B130F 48%, var(--bg) 100%); }
.calc__bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 10% 100%, rgba(16,185,129,.16), transparent 70%),
    radial-gradient(35% 45% at 95% 60%, rgba(52,211,153,.12), transparent 70%); }
.calc__bg::before { content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 52px 52px; -webkit-mask-image: radial-gradient(circle at 70% 40%, #000, transparent 75%); mask-image: radial-gradient(circle at 70% 40%, #000, transparent 75%); }
.calc__grid { position: relative; z-index: 1; display: grid; grid-template-columns: .68fr 1.32fr; gap: 8px 36px; align-items: start; min-height: 600px; }
.calc__rail { grid-column: 1; grid-row: 1; }
.calc__panel { grid-column: 1; grid-row: 2; }
.calc__stage { grid-column: 2; grid-row: 1 / span 2; align-self: center; }

/* --- рельс шагов --- */
.calc__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 1rem + 2.4vw, 2.6rem); color: #fff; letter-spacing: -.03em; margin: 16px 0 32px; }
.csteps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.cstep { display: flex; align-items: flex-start; gap: 14px; opacity: .4; transition: opacity .3s; }
.cstep.is-active { opacity: 1; }
.cstep.is-done { opacity: .8; }
.cstep__no { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; transition: .3s var(--ease); }
.cstep.is-active .cstep__no { background: linear-gradient(135deg, #34D399, var(--primary)); border-color: transparent; box-shadow: 0 0 0 6px rgba(16,185,129,.18), 0 10px 24px -8px var(--primary-glow); color: #06231A; }
.cstep.is-done .cstep__no { background: rgba(16,185,129,.2); border-color: var(--primary); color: #6EE7B7; }
.cstep__txt { display: flex; flex-direction: column; line-height: 1.3; padding-top: 4px; }
.cstep__txt strong { font-family: var(--font-head); font-weight: 700; color: #fff; }
.cstep__txt small { color: rgba(232,242,237,.55); font-size: .85rem; }

.calc__back { margin-top: 4px; background: none; border: 1.5px solid rgba(255,255,255,.2); color: #E8F2ED; font-family: var(--font-head); font-weight: 600; padding: 10px 18px; border-radius: 99px; cursor: pointer; transition: .2s var(--ease); }
.calc__back:hover { border-color: var(--primary); color: #fff; }

/* --- панель шага 3 --- */
.calc__panel { display: grid; gap: 18px; margin-bottom: 22px; animation: fadeUp .4s var(--ease-out); }
.calc__budget-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.calc__budget-head span { color: rgba(232,242,237,.7); font-size: .92rem; }
.calc__budget-head b { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: #6EE7B7; }
#budget { width: 100%; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 99px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, #34D399, var(--primary)) no-repeat, rgba(255,255,255,.12);
  background-size: var(--fill, 25%) 100%; }
#budget::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 5px solid var(--primary); box-shadow: 0 6px 18px rgba(0,0,0,.4); cursor: grab; }
#budget::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--primary); }
.calc__budget-scale { display: flex; justify-content: space-between; font-size: .76rem; color: rgba(232,242,237,.5); margin-top: 10px; font-weight: 600; }
.calc__forecast-line { font-size: .92rem; color: rgba(232,242,237,.8); }
.calc__forecast-line b { color: #6EE7B7; font-family: var(--font-head); }

.calc__capture { display: grid; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--ease), opacity .3s, margin-top .3s; background: var(--surface); color: var(--text); border-radius: var(--radius-lg); }
.calc__panel.is-locked .calc__capture { max-height: 380px; opacity: 1; margin-top: 4px; padding: 22px; }
.calc__panel.is-locked .calc__cta { display: none; }
.calc__capture-title { font-family: var(--font-head); font-weight: 700; font-size: .98rem; margin: 0 0 14px; }

/* --- сцена --- */
.calc__stage { position: relative; display: grid; place-items: center; min-height: 560px; }

/* колесо */
.wheel { position: relative; width: min(100%, 680px); aspect-ratio: 1; }
.wheel__svg { width: 100%; height: 100%; overflow: visible; animation: wheelIn .9s var(--ease-out) both; }
@keyframes wheelIn { from { opacity: 0; transform: rotate(-14deg) scale(.92); } to { opacity: 1; transform: none; } }
.wheel__rot { transform-box: view-box; transform-origin: 300px 300px; transition: transform .62s cubic-bezier(.16,1,.3,1); }
.wedge { cursor: pointer; transform-box: view-box; transform-origin: 300px 300px; transition: transform .28s var(--ease); }
/* обводка цветом фона + round-стыки → равномерные мягкие зазоры со скруглёнными углами */
.wedge__path { stroke: var(--bg); stroke-width: 9; stroke-linejoin: round; stroke-linecap: round; transition: fill .25s, filter .25s, stroke-width .25s; }
.wedge.s0 .wedge__path { fill: #0F3528; }
.wedge.s1 .wedge__path { fill: #154B3A; }
.wedge.s2 .wedge__path { fill: #1C654F; }
.wedge.s3 .wedge__path { fill: #237A60; }
.wedge:hover { transform: scale(1.05); }
.wedge:hover .wedge__path { filter: brightness(1.32) drop-shadow(0 0 18px rgba(52,224,166,.55)); }
.wedge:hover .wedge__label { fill: #fff; }
.wedge.is-active .wedge__path { fill: #34E0A6; filter: drop-shadow(0 0 24px rgba(52,224,166,.65)); }
.wedge.is-active .wedge__label { fill: #052b20; }
.wedge__label { fill: rgba(232,242,237,.92); font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .01em; pointer-events: none; user-select: none; }

.wheel__core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 41%; height: 41%; border-radius: 50%;
  display: grid; place-items: center; align-content: center; text-align: center; gap: 12px; padding: 0 22px;
  background: radial-gradient(circle at 50% 36%, #14402F 0%, #0A2018 45%, #060F0B 78%);
  box-shadow:
    0 0 0 1px rgba(110,231,183,.22),
    inset 0 1px 0 rgba(255,255,255,.06),
    inset 0 0 60px rgba(0,0,0,.65),
    0 0 80px rgba(16,185,129,.22);
  animation: corePulse 5s var(--ease) infinite; }
@keyframes corePulse { 0%,100% { box-shadow: 0 0 0 1px rgba(110,231,183,.22), inset 0 1px 0 rgba(255,255,255,.06), inset 0 0 60px rgba(0,0,0,.65), 0 0 70px rgba(16,185,129,.18); } 50% { box-shadow: 0 0 0 1px rgba(110,231,183,.32), inset 0 1px 0 rgba(255,255,255,.06), inset 0 0 60px rgba(0,0,0,.65), 0 0 100px rgba(16,185,129,.3); } }
.wheel__core-kick { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #6EE7B7; background: rgba(52,211,153,.12); border: 1px solid rgba(110,231,183,.25); padding: 6px 16px; border-radius: 99px; }
.wheel__core-label { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.25rem, 1rem + 1.1vw, 1.85rem); color: #fff; line-height: 1.1; letter-spacing: -.02em; }

/* донат «ваш сплит» */
.split { display: grid; place-items: center; gap: 22px; animation: fadeUp .45s var(--ease-out); width: 100%; }
.split__chart { position: relative; width: min(100%, 360px); aspect-ratio: 1; }
.split__svg { width: 100%; height: 100%; overflow: visible; }
.slice { fill: none; cursor: pointer; transition: stroke-dasharray .55s var(--ease), stroke-dashoffset .55s var(--ease), stroke-width .25s var(--ease), opacity .35s; }
.slice.s0 { stroke: #34E0A6; }
.slice.s1 { stroke: #1FB587; }
.slice.s2 { stroke: #178B6A; }
.slice.s3 { stroke: #1A7A5E; }
.slice.s4 { stroke: #0F5C46; }
.slice.is-hi { stroke-width: 64; filter: drop-shadow(0 0 12px rgba(52,224,166,.55)); }
.split__svg.has-hi .slice:not(.is-hi) { opacity: .32 !important; }
.slice__pct { fill: #042019; font-family: var(--font-head); font-weight: 800; font-size: 15px; pointer-events: none; transition: opacity .35s; }
.slice__pct.s3, .slice__pct.s4 { fill: #DFF7EE; }
.split__center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; display: grid; }
.split__center span { font-size: .72rem; letter-spacing: .12em; color: #6EE7B7; font-weight: 700; }
.split__center strong { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: #fff; letter-spacing: -.01em; }
.split__legend { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; width: min(100%, 420px); }
.split__legend li { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 6px 10px; font-size: .9rem; padding: 3px 6px; border-radius: 7px; cursor: default; transition: background .2s; }
.split__legend li.is-hi { background: rgba(255,255,255,.07); }
.split__legend i { width: 11px; height: 11px; border-radius: 3px; transition: transform .2s; }
.split__legend li.is-hi i { transform: scale(1.25); }
.split__legend i.s0 { background: #34E0A6; } .split__legend i.s1 { background: #1FB587; } .split__legend i.s2 { background: #178B6A; } .split__legend i.s3 { background: #1A7A5E; } .split__legend i.s4 { background: #0F5C46; }
.split__legend span { color: rgba(232,242,237,.85); }
.split__legend b { color: #fff; font-family: var(--font-head); min-width: 38px; text-align: right; }
.split__legend em { color: var(--primary-deep); font-style: normal; font-size: .82rem; font-weight: 600; min-width: 56px; text-align: right; }

/* ---------- Поля ---------- */
.field { margin-bottom: 16px; }
.field input { width: 100%; padding: 15px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); font: inherit; transition: border-color .15s, box-shadow .15s; background: var(--surface); color: var(--text); }
.field input::placeholder { color: #9AA1A9; }
.field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field__error { display: none; color: #DC2626; font-size: .82rem; margin-top: 6px; }
.field.is-invalid input { border-color: #DC2626; box-shadow: 0 0 0 4px rgba(220,38,38,.08); }
.field.is-invalid .field__error { display: block; }

/* ============================================================
   БЛОК 3 — Портфолио
   ============================================================ */
.portfolio__filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: clamp(32px, 5vw, 52px); }
.filter { font-family: var(--font-head); font-weight: 600; font-size: .92rem; padding: 11px 22px; border: 1.5px solid var(--border-strong); background: var(--surface); border-radius: 99px; cursor: pointer; transition: .22s var(--ease); color: var(--text-soft); }
.filter:hover { border-color: var(--primary); color: var(--text); }
.filter.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.portfolio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xs); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.case-card.is-hidden { display: none; }
.case-card__cover { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg, var(--surface-2), #0E1113); overflow: hidden; }
.case-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.case-card:hover .case-card__cover img { transform: scale(1.06); }
.case-card__cover-placeholder { width: 100%; height: 100%; background: radial-gradient(circle at 70% 20%, rgba(16,185,129,.22), transparent 60%), linear-gradient(135deg, var(--surface-2), #0D1012); }
.case-card__body { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.case-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.case-card__logo { width: 30px; height: 30px; object-fit: contain; border-radius: 6px; }
.case-card__client { font-weight: 600; color: var(--text-soft); font-size: .95rem; }
.case-card__highlight { font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; color: var(--primary-deep); letter-spacing: -.02em; line-height: 1.1; }
.case-card__metric { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; font-size: .85rem; color: var(--primary-deep); font-weight: 600; background: var(--primary-soft); padding: 5px 11px; border-radius: 99px; }

/* ============================================================
   БЛОК 4 — Услуги (аккордеон)
   ============================================================ */
.accordion { max-width: 900px; margin: 0 auto; display: grid; gap: 14px; }
.accordion__item { position: relative; border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.accordion__item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--primary), var(--primary-deep)); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease); }
.accordion__item:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.accordion__item.is-open { border-color: var(--primary); box-shadow: var(--shadow); }
.accordion__item.is-open::before { transform: scaleY(1); }
.accordion__head { width: 100%; display: flex; align-items: center; gap: 18px; padding: 22px 26px; background: none; border: 0; cursor: pointer; text-align: left; color: var(--text); }
.accordion__no { flex: none; font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: var(--primary-deep); opacity: .55; min-width: 26px; }
.accordion__title { flex: 1; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.08rem, 1rem + .6vw, 1.38rem); color: var(--text); transition: color .2s; }
.accordion__item.is-open .accordion__title { color: var(--primary-deep); }
.accordion__price { flex: none; color: var(--text-muted); font-weight: 600; font-size: .92rem; transition: opacity .25s; }
.accordion__item.is-open .accordion__price { opacity: 0; }
.accordion__icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-deep); font-size: 1.5rem; line-height: 1; transition: transform .3s var(--ease), background .25s, color .25s; }
.accordion__item.is-open .accordion__icon { transform: rotate(135deg); background: var(--primary); color: var(--on-primary); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.accordion__panel-inner { padding: 0 26px 26px 70px; color: var(--text-soft); }
.accordion__desc { margin: 0 0 16px; max-width: 640px; }
.accordion__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.achip { display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 15px; border-radius: 99px; background: var(--bg-soft); border: 1px solid var(--border); font-size: .9rem; color: var(--text-soft); }
.achip b { font-family: var(--font-head); font-weight: 700; color: var(--text-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; }
.achip--accent { background: var(--primary-soft); border-color: rgba(52,211,153,.25); color: var(--primary-deep); }
.achip--accent b { color: var(--primary-deep); opacity: .8; }
@media (max-width: 520px) { .accordion__price { display: none; } .accordion__panel-inner { padding-left: 26px; } }

/* ============================================================
   БЛОК 5 — Траст (цифры + команда)
   ============================================================ */
.trust__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.trust__stats { display: flex; flex-direction: column; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; flex: 1; }
.stat { display: flex; flex-direction: column; justify-content: center; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 1rem + 2.4vw, 2.9rem); color: var(--primary-deep); letter-spacing: -.03em; line-height: 1; }
.stat__prefix, .stat__suffix { font-size: .62em; }
.stat__label { color: var(--text-muted); font-weight: 500; margin-top: 8px; font-size: .95rem; }

/* команда — аккуратная сетка 2×2 */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; height: 100%; }
.team-card { position: relative; margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xs); transition: transform .28s var(--ease), box-shadow .28s, border-color .28s; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.team-card__media { position: relative; aspect-ratio: 5/4; overflow: hidden; }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.team-card:hover .team-card__media img { transform: scale(1.06); }
.team-card__ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(140deg, #34D399, var(--primary-deep)); }
.team-card:nth-child(2) .team-card__ph { background: linear-gradient(140deg, #10B981, #065F46); }
.team-card:nth-child(3) .team-card__ph { background: linear-gradient(140deg, #2BB47E, #064E3B); }
.team-card:nth-child(4) .team-card__ph { background: linear-gradient(140deg, #6EE7B7, #059669); }
.team-card__ph span { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: rgba(255,255,255,.95); text-shadow: 0 2px 12px rgba(2,28,20,.3); }
.team-card__cap { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; }
.team-card__cap strong { font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.team-card__cap span { font-size: .85rem; color: var(--text-muted); }

/* ============================================================
   БЛОК 6 — Лента доверия (двойная «саша», бесшовный цикл)
   ============================================================ */
.clients { background: var(--bg); overflow: hidden; position: relative; }

.ribbons { position: relative; margin-top: 10px; padding: 26px 0; }
.ribbon { position: relative; width: 112%; margin-left: -6%; overflow: hidden; }
.ribbon--primary { background: linear-gradient(100deg, var(--primary-deep), var(--primary) 48%, var(--primary-deep)); padding: 18px 0; transform: rotate(-2.4deg); box-shadow: 0 22px 44px -22px rgba(5,40,30,.55); z-index: 2; }
.ribbon--ghost { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; transform: rotate(2.4deg); margin-top: -14px; z-index: 1; }

.ribbon__track { display: flex; width: max-content; will-change: transform; }
.ribbon--primary .ribbon__track { animation: ribbon-l 36s linear infinite; }
.ribbon--ghost .ribbon__track { animation: ribbon-r 48s linear infinite; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
/* две одинаковые последовательности → сдвиг ровно на 50% = бесшовно */
.ribbon__seq { display: flex; align-items: center; flex: none; }
@keyframes ribbon-l { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ribbon-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.ribbon__item { font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em; padding: 0 28px; white-space: nowrap; transition: opacity .25s, transform .25s var(--ease); }
.ribbon__img { padding: 0 28px; flex: none; }
.ribbon__star { font-size: .85em; opacity: .55; flex: none; }
.ribbon--primary .ribbon__item { color: #fff; font-size: clamp(1.15rem, 1rem + 1.1vw, 1.7rem); }
.ribbon--primary .ribbon__img { height: 34px; filter: brightness(0) invert(1) opacity(.92); }
.ribbon--primary .ribbon__star { color: #6EE7B7; }
.ribbon--primary .ribbon__item:hover { opacity: 1; transform: scale(1.06); text-shadow: 0 4px 18px rgba(0,0,0,.25); }
.ribbon--ghost .ribbon__item { color: #A2A99F; font-size: clamp(1rem, 1rem + .7vw, 1.4rem); }
.ribbon--ghost .ribbon__img { height: 28px; filter: grayscale(1) opacity(.5); }
.ribbon--ghost .ribbon__star { color: var(--border-strong); }
.ribbon--ghost .ribbon__item:hover { color: var(--primary-deep); }

/* рейтинг-строка */
.trust-rating { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 26px; margin-top: 36px; }
.trust-rating__stars { color: #F5B301; letter-spacing: 2px; font-size: 1.15rem; }
.trust-rating__item { display: flex; align-items: baseline; gap: 8px; }
.trust-rating__item b { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--primary-deep); letter-spacing: -.02em; }
.trust-rating__item span { color: var(--text-muted); font-size: .92rem; }
.trust-rating__sep { width: 1px; height: 22px; background: var(--border-strong); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   БЛОК 7 — FAQ + финальный CTA
   ============================================================ */
/* --- FAQ: две колонки (sticky aside + аккордеон) --- */
.faq__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__aside .section-title { margin: 16px 0 14px; }
.faq__aside .section-sub { margin-bottom: 28px; }
.faq__ask { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.faq__ask:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.faq__ask-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); }
.faq__ask-txt { display: flex; flex-direction: column; line-height: 1.25; }
.faq__ask-txt strong { font-family: var(--font-head); font-weight: 700; }
.faq__ask-txt small { color: var(--text-muted); font-size: .85rem; }
.faq__ask-arrow { margin-left: auto; color: var(--primary-deep); font-size: 1.2rem; transition: transform .25s var(--ease); }
.faq__ask:hover .faq__ask-arrow { transform: translateX(4px); }

.faq__list { display: grid; gap: 12px; }
.faq__item { border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 2px 24px; transition: border-color .25s, box-shadow .25s; }
.faq__item[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.06rem; display: flex; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q-no { flex: none; font-size: .82rem; font-weight: 800; color: var(--primary-deep); opacity: .55; min-width: 26px; }
.faq__q-text { flex: 1; }
.faq__item summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-deep); font-size: 1.3rem; transition: transform .25s var(--ease), background .25s, color .25s; }
.faq__item[open] summary::after { content: '−'; background: var(--primary); color: #fff; transform: rotate(180deg); }
.faq__answer { padding: 0 0 22px 42px; color: var(--text-muted); }

/* --- Финальный CTA --- */
.eyebrow--light { color: #6EE7B7; }
.eyebrow--light::before { background: #6EE7B7; }
.footer-cta { background: var(--primary-ink); color: #fff; position: relative; overflow: hidden; }
.footer-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 10%, rgba(16,185,129,.35), transparent 60%), radial-gradient(50% 60% at 5% 100%, rgba(110,231,183,.18), transparent 60%); }
.footer-cta::after { content: ""; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(circle at 80% 20%, #000, transparent 60%); mask-image: radial-gradient(circle at 80% 20%, #000, transparent 60%); }
.footer-cta__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.footer-cta h2 { font-size: clamp(1.8rem, 1rem + 3vw, 2.9rem); margin: 16px 0 14px; }
.footer-cta__text p { color: rgba(255,255,255,.8); font-size: 1.08rem; max-width: 440px; margin: 0 0 26px; }
.footer-cta__benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer-cta__benefits li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: rgba(255,255,255,.92); }
.footer-cta__benefits li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(110,231,183,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236EE7B7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.footer-cta__form { background: var(--surface); border: 1px solid var(--border-strong); padding: 28px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); color: var(--text); }
.footer-cta__form-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.footer-cta__form-head strong { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; }
.footer-cta__form-time { font-size: .82rem; color: var(--primary-deep); font-weight: 700; background: var(--primary-soft); padding: 5px 11px; border-radius: 99px; }
.footer-cta__form .field input { background: var(--surface); }
.footer-cta__privacy { font-size: .78rem; color: var(--text-muted); text-align: center; margin: 14px 0 0; }
.footer-cta__privacy a { color: var(--primary-deep); text-decoration: underline; }

/* ---------- Подвал ---------- */
.site-footer { padding: 56px 0; border-top: 1px solid var(--border); background: var(--bg); }
.footer__inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer__brand p { color: var(--text-muted); margin: 14px 0 0; font-size: .9rem; }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__links a { color: var(--text-muted); font-size: .94rem; transition: color .2s; }
.footer__links a:hover { color: var(--text); }

/* ---------- Служебные / контентные страницы ---------- */
.status-page, .legal-page, .case-page { min-height: 62vh; padding-top: clamp(48px, 8vw, 96px); }
.status-page__inner { text-align: center; max-width: 540px; margin: 0 auto; }
.status-page__icon { width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; font-size: 2.4rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); box-shadow: var(--shadow-primary); }
.status-page__icon--muted { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.prose { max-width: 760px; color: var(--text-soft); }
.prose h1 { font-size: clamp(1.9rem, 1rem + 3vw, 2.7rem); }
.case-page__inner { max-width: 860px; margin: 0 auto; }
.case-page__back { color: var(--text-muted); font-weight: 600; display: inline-block; margin-bottom: 28px; transition: color .2s; }
.case-page__back:hover { color: var(--primary-deep); }
.case-page__client { color: var(--primary-deep); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.case-page__header h1 { font-size: clamp(1.9rem, 1rem + 3.4vw, 3rem); margin: 10px 0 0; }
.case-page__metrics { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.case-page__cover { width: 100%; border-radius: var(--radius-lg); margin: 36px 0; box-shadow: var(--shadow); }
.case-page__cta { margin-top: 44px; }

/* ---------- Reveal при скролле ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ============================================================
   Адаптив (Mobile First уточнения)
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner, .trust__inner, .footer-cta__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { min-height: auto; order: -1; }
  .trust__inner { gap: 44px; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .calc__grid { grid-template-columns: 1fr; gap: 20px; min-height: auto; }
  /* мобильный порядок: шаги → результат (колесо/донат) → бюджет/CTA */
  .calc__rail, .calc__panel, .calc__stage { grid-column: 1; grid-row: auto; align-self: auto; min-width: 0; }
  .calc__stage { min-height: auto; }
  .wheel, .split__chart { width: min(96%, 440px); }
  .calc__title { font-size: clamp(1.55rem, 1rem + 3.4vw, 2.2rem); margin-bottom: 24px; }
  .csteps { margin-bottom: 8px; }
  .calc__panel { max-width: 440px; margin-left: auto; margin-right: auto; width: 100%; }
  .split__legend { grid-template-columns: 1fr; max-width: 260px; gap: 11px; }
  .split__legend em { display: none; }
  .split__legend b { min-width: 0; }
  .calc__panel .calc__cta { display: block; text-align: center; white-space: normal; line-height: 1.3; height: auto; min-height: 54px; padding: 14px 16px; font-size: .95rem; }
  .faq__inner { grid-template-columns: 1fr; gap: 32px; }
  .faq__aside { position: static; }
  .faq__aside .section-title br { display: none; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .header__nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: flex-start; background: var(--surface); padding: 24px var(--gutter) 30px; gap: 20px; box-shadow: var(--shadow-lg); border-bottom: 1px solid var(--border); transform: translateY(-130%); transition: transform .35s var(--ease); }
  .header__nav.is-open { transform: none; }
  .header__nav a { font-size: 1.1rem; }
  .header__burger { display: flex; }
  .header__actions .btn--secondary { display: none; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1; }
  .calc__services { grid-template-columns: repeat(2, 1fr); }
  .portfolio__grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .calc__services { grid-template-columns: 1fr 1fr; }
  .seg__opt { font-size: .82rem; padding: 10px 4px; }
  .stats-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__text > *, .hero__visual { opacity: 1; transform: none; }
}
