/* ROIX Agency — основной стиль */
:root {
  --ink: #111312;
  --ink-2: #191c1a;
  --ink-3: #232724;
  --paper: #f4f4ef;
  --paper-2: #eaeae3;
  --white: #fff;
  --green: #5e7458;
  --green-2: #7f9677;
  --green-3: #a9bba1;
  --green-dark: #465641;
  --muted: #666b66;
  --muted-d: #9ca39b;
  --line: rgba(17, 19, 18, .12);
  --line-d: rgba(255, 255, 255, .1);
  --r: 20px;
  --r-sm: 12px;
  --ff-head: 'Unbounded', system-ui, sans-serif;
  --ff: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--ff); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 2px solid var(--green-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Типографика ---------- */
.h2, .h3, .hero__title, .page-hero__title, .bignum { font-family: var(--ff-head); font-weight: 500; letter-spacing: -.02em; }
.h2 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.12; }
.h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; }
.h4 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 16px; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--muted); }
.muted { color: var(--muted); font-size: 14px; }
.section--dark .lead, .section--dark .muted { color: var(--muted-d); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green);
}
.eyebrow i { width: 22px; height: 2px; background: currentColor; transform: skewX(-45deg); }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta .eyebrow { color: var(--green-3); }
.kicker { font-family: var(--ff-head); font-size: 14px; color: var(--green); letter-spacing: .06em; }

/* ---------- Кнопки ---------- */
.btn {
  --bh: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn .ico-arrow { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 10px 30px -12px rgba(94, 116, 88, .8); }
.btn--primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .7s var(--ease);
}
.btn--primary:hover { background: var(--green-dark); }
.btn--primary:hover::before { transform: translateX(100%); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--sm { --bh: 42px; padding: 0 20px; font-size: 14px; }
.btn--lg { --bh: 58px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Логотип ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.logo__mark { width: 38px; height: auto; flex: none; transition: transform .5s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.05); }
.logo__text { display: flex; flex-direction: column; gap: 5px; }
.logo__word { width: 84px; height: auto; }
.logo__sub { font-size: 8.5px; letter-spacing: .62em; font-weight: 600; line-height: 1; opacity: .7; padding-left: 2px; }

/* ---------- Шапка ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: background .35s, box-shadow .35s, color .35s, transform .4s var(--ease); }
.header .logo { color: #fff; }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav__link { position: relative; padding: 10px 14px; font-size: 15px; font-weight: 600; opacity: .82; transition: opacity .2s; }
.nav__link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--green-2); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover, .nav__link.is-active { opacity: 1; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { font-weight: 700; font-size: 15px; white-space: nowrap; }
.header.is-scrolled { background: rgba(244, 244, 239, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header.is-scrolled .logo { color: var(--ink); }
.header.is-hidden { transform: translateY(-100%); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; background: none; position: relative; opacity: .9; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.mnav {
  position: fixed; inset: var(--header-h) 0 0; background: var(--ink); color: #fff; padding: 24px 24px 32px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s var(--ease), visibility 0s .5s;
}
.menu-open .mnav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease); }
.menu-open .header { background: var(--ink); color: #fff; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
.menu-open .header .logo { color: #fff; }
.mnav__links a { display: block; font-family: var(--ff-head); font-size: 28px; padding: 12px 0; border-bottom: 1px solid var(--line-d); opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); transition-delay: calc(var(--i) * 40ms + .1s); }
.menu-open .mnav__links a { opacity: 1; transform: none; }
.mnav__foot { display: grid; gap: 16px; margin-top: 32px; }
.mnav__phone { font-size: 20px; font-weight: 700; }
.mnav__msg { display: flex; gap: 10px; }
.menu-open { overflow: hidden; }

/* ---------- Мессенджеры ---------- */
.msg { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 14px; border: 1px solid var(--line-d); transition: background .25s, border-color .25s, transform .25s var(--ease); }
.msg .ico-brand { width: 20px; height: 20px; }
.msg--wa .ico-brand { color: #3fcf6c; } .msg--tg .ico-brand { color: #3aa7e0; }
.msg:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }

/* ---------- Фоновая сетка ---------- */
.grid-lines {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 20%, transparent 75%);
}

/* ---------- Hero-слайдер ---------- */
.hero { position: relative; min-height: 100svh; background: var(--ink); color: #fff; overflow: hidden; display: flex; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow { position: absolute; width: 60vw; height: 60vw; right: -12vw; top: -18vw; border-radius: 50%; background: radial-gradient(circle, rgba(127,150,119,.35), transparent 62%); filter: blur(10px); animation: glow 12s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(-6vw, 8vw) scale(1.1); } }
.hero__mark { position: absolute; right: -6vw; bottom: -8vw; width: 58vw; max-width: 900px; color: rgba(255,255,255,.028); transform: rotate(-4deg); }
.hero__mark path:last-child { opacity: .18; }
.hero__inner { position: relative; display: grid; grid-template-rows: 1fr auto auto; padding-top: calc(var(--header-h) + 40px); padding-bottom: 36px; min-height: 100svh; }
.hero__slides { display: grid; align-items: center; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; pointer-events: none; }
.slide.is-active { pointer-events: auto; }
.slide__text > * { opacity: 0; transform: translateY(28px); transition: opacity .5s, transform .7s var(--ease); }
.slide.is-active .slide__text > * { opacity: 1; transform: none; }
.slide.is-active .slide__text > :nth-child(2) { transition-delay: .08s; }
.slide.is-active .slide__text > :nth-child(3) { transition-delay: .16s; }
.slide.is-active .slide__text > :nth-child(4) { transition-delay: .24s; }
.hero__title { font-size: clamp(32px, 4.4vw, 64px); line-height: 1.05; max-width: 16ch; }
.hero__sub { font-size: clamp(17px, 1.5vw, 21px); color: rgba(255,255,255,.72); max-width: 520px; margin-top: 24px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero__chips li { padding: 8px 14px; border: 1px solid var(--line-d); border-radius: 999px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85); background: rgba(255,255,255,.03); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__controls { margin-top: 32px; border-top: 1px solid var(--line-d); }
.hero__dots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hero__dot { position: relative; text-align: left; background: none; border: 0; color: rgba(255,255,255,.5); padding: 18px 0 0; display: flex; gap: 12px; align-items: baseline; transition: color .3s; }
.hero__dot:hover, .hero__dot.is-active { color: #fff; }
.hero__dot-num { font-family: var(--ff-head); font-size: 13px; }
.hero__dot-label { font-size: 14px; font-weight: 600; }
.hero__bar { position: absolute; top: -1px; left: 0; right: 0; height: 2px; overflow: hidden; }
.hero__bar i { position: absolute; inset: 0; background: var(--green-2); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active .hero__bar i { animation: bar var(--dur, 6s) linear forwards; }
.hero__dot.is-done .hero__bar i { transform: scaleX(1); }
.hero[data-paused] .hero__dot.is-active .hero__bar i { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }

/* Визуалы слайдов */
.slide__visual { position: relative; height: min(460px, 52vh); opacity: 0; transform: translateX(40px) scale(.97); transition: opacity .6s, transform .9s var(--ease); }
.slide.is-active .slide__visual { opacity: 1; transform: none; transition-delay: .12s; }
.hv { position: absolute; inset: 0; display: grid; place-items: center; }
.hv__card { background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.hv__main { width: min(420px, 100%); padding: 24px; }
.hv__top { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.85); }
.hv__top .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 4px rgba(127,150,119,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(127,150,119,0); } }
.hv__tag { margin-left: auto; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(127,150,119,.2); color: var(--green-3); }
.hv__chart { display: flex; align-items: flex-end; gap: 8px; height: 130px; margin: 22px 0; padding-bottom: 1px; border-bottom: 1px solid var(--line-d); }
.hv__chart i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(to top, rgba(127,150,119,.35), var(--green-2)); transform-origin: bottom; transform: scaleY(0); }
.slide.is-active .hv__chart i { animation: grow .8s var(--ease) forwards; animation-delay: calc(var(--k) * 50ms + .3s); }
@keyframes grow { to { transform: scaleY(1); } }
.hv__rows { display: grid; gap: 12px; }
.hv__rows div { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 12px; font-size: 13px; color: rgba(255,255,255,.7); }
.hv__rows b { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.hv__rows b::after { content: ''; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--green-3)); transform: scaleX(0); transform-origin: left; }
.slide.is-active .hv__rows b::after { animation: grow-x 1s var(--ease) .5s forwards; }
@keyframes grow-x { to { transform: scaleX(1); } }
.hv__float { position: absolute; padding: 14px 18px; display: grid; gap: 2px; animation: float 6s ease-in-out infinite; }
.hv__float small { font-size: 12px; color: rgba(255,255,255,.6); }
.hv__float strong { font-size: 16px; }
.hv__float--a { top: 6%; right: 0; }
.hv__float--b { bottom: 8%; left: 0; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hv__accounts { display: grid; gap: 10px; margin: 22px 0; }
.hv__accounts li { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line-d); font-size: 14px; }
.hv__accounts .pl { font-weight: 700; }
.hv__accounts .ok { display: inline-flex; align-items: center; gap: 6px; color: var(--green-3); font-size: 13px; }
.hv__accounts .ok svg { width: 16px; }
.hv__accounts .pending { color: rgba(255,255,255,.5); font-size: 13px; }
.hv__sum { display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid var(--line-d); }
.hv__sum small { color: rgba(255,255,255,.55); font-size: 12px; }
.hv__sum strong { font-family: var(--ff-head); font-weight: 500; font-size: 20px; }
.hv__code { padding: 0; overflow: hidden; }
.hv__win { display: flex; align-items: center; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--line-d); font-size: 12px; color: rgba(255,255,255,.5); }
.hv__win i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.15); }
.hv__win span { margin-left: 10px; }
.hv__code pre { margin: 0; padding: 22px; font: 13.5px/1.8 ui-monospace, 'Cascadia Code', Consolas, monospace; color: rgba(255,255,255,.85); white-space: pre-wrap; }
.hv__code .c { color: rgba(255,255,255,.4); } .hv__code .k { color: var(--green-3); } .hv__code .f { color: #e8d9a8; } .hv__code .s { color: #9fd0c2; }
.hv__chat { max-width: 250px; bottom: 6%; top: auto; right: -2%; border-radius: 18px 18px 4px 18px; }
.hv__chat strong { font-size: 14px; font-weight: 600; line-height: 1.4; }

/* ---------- Бегущая строка ---------- */
.marquee { background: var(--green); color: #fff; overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--ff-head); font-size: 18px; white-space: nowrap; }
.marquee i { width: 10px; height: 10px; background: rgba(255,255,255,.5); transform: skewX(-45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section--dark { background: var(--ink); color: #fff; }
.section--soft { background: var(--paper-2); }
.section__head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.section__head--row { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }

/* О компании (главная) */
.about__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px 72px; }
.about__intro .lead { margin: 24px 0 32px; }
.about__stat { padding: 36px; border-radius: var(--r); background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.about__stat::after { content: ''; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; background: linear-gradient(135deg, var(--green), transparent 70%); transform: skewX(-45deg); opacity: .5; }
.bignum { display: flex; align-items: baseline; gap: 10px; font-size: clamp(72px, 9vw, 128px); line-height: .9; }
.bignum small { font-size: .28em; font-family: var(--ff); font-weight: 700; color: var(--green-3); }
.about__stat p { color: rgba(255,255,255,.7); margin-top: 16px; font-size: 17px; }
.about__pillars { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.about__pillars span { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-d); }
.about__clients { grid-column: 1 / -1; padding-top: 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; }
.about__clients .h4 { margin: 0; }
.about__grid--2 { grid-template-columns: 1fr 1.4fr; align-items: center; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 10px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: 15px; transition: background .25s, color .25s, border-color .25s; }
.tags li:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.tags--light li { background: var(--paper); }
.tags--big li { font-size: 18px; padding: 14px 24px; }

/* Карточки услуг */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc {
  position: relative; display: flex; flex-direction: column; min-height: 260px; padding: 28px; border-radius: var(--r);
  background: var(--white); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), color .4s, border-color .4s;
}
.svc::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); clip-path: circle(0% at 100% 0%); transition: clip-path .6s var(--ease); }
.svc:hover { transform: translateY(-6px); color: #fff; border-color: var(--ink); }
.svc:hover::before { clip-path: circle(150% at 100% 0%); }
.svc__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(94,116,88,.12); color: var(--green); transition: background .4s, color .4s; }
.svc__icon .ico { width: 26px; height: 26px; }
.svc:hover .svc__icon { background: var(--green); color: #fff; }
.svc__num { position: absolute; top: 28px; right: 28px; font-family: var(--ff-head); font-size: 13px; color: var(--muted); }
.svc__title { font-family: var(--ff-head); font-weight: 500; font-size: 19px; line-height: 1.25; margin-top: auto; padding-top: 32px; }
.svc__sub { margin-top: 10px; font-size: 14px; color: var(--muted); transition: color .4s; }
.svc:hover .svc__sub { color: rgba(255,255,255,.65); }
.svc__go { position: absolute; right: 24px; bottom: 24px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; opacity: 0; transform: scale(.6) rotate(-45deg); transition: opacity .4s, transform .5s var(--ease); }
.svc__go svg { width: 18px; }
.svc:hover .svc__go { opacity: 1; transform: none; }

/* Почему ROIX */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-d); border-left: 1px solid var(--line-d); }
.why__grid--4 { grid-template-columns: repeat(4, 1fr); }
.why__item { padding: 40px 32px; border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); position: relative; transition: background .4s; }
.why__item:hover { background: rgba(255,255,255,.03); }
.why__item::before { content: ''; position: absolute; left: -1px; top: -1px; width: 0; height: 2px; background: var(--green-2); transition: width .5s var(--ease); }
.why__item:hover::before { width: calc(100% + 2px); }
.why__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-d); color: var(--green-3); margin-bottom: 28px; }
.why__icon .ico { width: 24px; }
.why__item h3 { font-family: var(--ff-head); font-weight: 500; font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.why__item p { color: var(--muted-d); font-size: 15px; }

/* Этапы */
.steps__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; position: relative; }
.step { position: relative; padding: 28px 24px 32px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.step:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(17,19,18,.35); }
.step__num { display: flex; align-items: center; gap: 10px; font-family: var(--ff-head); font-size: 40px; color: var(--green); line-height: 1; margin-bottom: 40px; }
.step__num::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.step h3 { font-family: var(--ff-head); font-weight: 500; font-size: 18px; line-height: 1.25; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* Города */
.cities { padding-top: 0; }
.cities__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.city-chip { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.city-chip svg { width: 18px; flex: none; color: var(--green); transition: transform .3s var(--ease), color .3s; }
.city-chip:hover { background: var(--green); color: #fff; border-color: var(--green); }
.city-chip:hover svg { color: #fff; transform: translate(2px, -2px); }

/* CTA */
.cta { background: var(--ink); color: #fff; padding: clamp(72px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; left: -10%; bottom: -60%; width: 60%; height: 140%; background: linear-gradient(135deg, rgba(94,116,88,.45), transparent 60%); transform: skewX(-45deg); pointer-events: none; }
.cta__inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.cta__text .lead { color: rgba(255,255,255,.7); margin-top: 20px; }
.cta__points { display: grid; gap: 12px; margin: 32px 0; }
.cta__points li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.cta__points svg, .bullets svg { width: 22px; height: 22px; flex: none; padding: 3px; border-radius: 50%; background: var(--green); color: #fff; }
.cta__messengers { display: flex; flex-wrap: wrap; gap: 10px; }
.cta__form { padding: 36px; border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }

/* ---------- Формы ---------- */
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--wide, .field--select { grid-column: 1 / -1; }
.contacts .field--select { grid-column: auto; }
.field__label { font-size: 13px; font-weight: 700; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--white);
  font-size: 16px; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field--select select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666b66' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(94,116,88,.15); }
.field.is-invalid input { border-color: #c2553f; box-shadow: 0 0 0 4px rgba(194,85,63,.12); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 20px; }
.form__note { font-size: 12.5px; color: var(--muted); max-width: 260px; line-height: 1.45; }
.form__status:empty { display: none; }
.form__status { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-sm); font-weight: 600; font-size: 15px; }
.form__status.is-ok { background: rgba(94,116,88,.14); color: var(--green-dark); }
.form__status.is-err { background: rgba(194,85,63,.1); color: #9e3f2c; }
.form.is-sending button[type=submit] { opacity: .6; pointer-events: none; }
.form-done { text-align: center; padding: 24px 8px; }
.form-done__icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; animation: pop .5s var(--ease); }
.form-done__icon svg { width: 30px; }
.form-done h3 { font-family: var(--ff-head); font-weight: 500; font-size: 22px; margin-bottom: 8px; }
.form-done p { color: var(--muted); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- Модальные окна ---------- */
.modal { border: 0; padding: 0; background: transparent; max-width: min(640px, 100% - 24px); width: 100%; max-height: calc(100% - 24px); color: var(--ink); }
.modal::backdrop { background: rgba(10, 12, 11, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .45s var(--ease); }
.modal[open]::backdrop { animation: fade .3s; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }
.modal__box { position: relative; background: var(--paper); border-radius: 24px; padding: 40px; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); font-size: 24px; line-height: 1; transition: transform .3s var(--ease), background .3s; }
.modal__close:hover { transform: rotate(90deg); background: var(--paper-2); }
.modal__lead { color: var(--muted); margin: 10px 0 24px; }
.modal--calc { max-width: min(720px, 100% - 24px); }
.calc__step { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.calc__step legend { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 12px; padding: 0; }
.calc__step legend b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 13px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.choice-grid--row { display: flex; flex-wrap: wrap; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--white); font-size: 14.5px; font-weight: 600; transition: border-color .2s, background .2s, color .2s; }
.choice span::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line); background: var(--paper) no-repeat center / 12px; transition: background-color .2s, border-color .2s; }
.choice input:checked + span { border-color: var(--green); background: rgba(94,116,88,.08); }
.choice input:checked + span::before { background-color: var(--green); border-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.choice input:focus-visible + span { outline: 2px solid var(--green-2); outline-offset: 2px; }
.choice--pill span { border-radius: 999px; min-height: 44px; padding: 8px 18px; }
.choice--pill span::before { display: none; }
.choice--pill input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Внутренние страницы ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero__bg::before { content: ''; position: absolute; width: 50vw; height: 50vw; right: -10vw; top: -20vw; border-radius: 50%; background: radial-gradient(circle, rgba(127,150,119,.3), transparent 62%); }
.page-hero__mark { position: absolute; right: -4vw; top: 50%; width: min(44vw, 620px); color: rgba(255,255,255,.035); transform: translateY(-45%); animation: mark-in 1.4s var(--ease) both; }
.page-hero__mark path:last-child { opacity: .25; }
@keyframes mark-in { from { opacity: 0; transform: translate(40px, -45%); } }
.page-hero__inner { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 36px; }
.crumbs a:hover { color: #fff; }
.page-hero__title { font-size: clamp(32px, 5vw, 68px); line-height: 1.06; max-width: 18ch; animation: rise .8s var(--ease) both; }
.page-hero__lead { font-size: clamp(17px, 1.5vw, 21px); color: rgba(255,255,255,.7); max-width: 640px; margin-top: 24px; animation: rise .8s .1s var(--ease) both; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; animation: rise .8s .2s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-d); }
.anchor-nav a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-d); font-size: 14px; font-weight: 600; color: rgba(255,255,255,.8); transition: background .25s, color .25s; }
.anchor-nav a:hover { background: #fff; color: var(--ink); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.split__head { position: sticky; top: calc(var(--header-h) + 32px); }
.split__head .h2 { margin: 12px 0 14px; }
.split__head--wide { position: static; max-width: 760px; margin-bottom: 48px; }
.platforms { font-weight: 700; color: var(--green); font-size: 17px; }
.section--dark .platforms { color: var(--green-3); }
.split__body .lead { margin-bottom: 32px; color: var(--ink); }
.feature-list, .media-list { display: grid; gap: 12px; }
.feature, .media-item { display: flex; gap: 18px; padding: 22px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s; }
.feature:hover { transform: translateX(6px); border-color: var(--green); }
.feature__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(94,116,88,.12); color: var(--green); }
.feature__icon .ico { width: 23px; }
.feature h3, .media-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.feature p, .media-item p { color: var(--muted); font-size: 15px; }
.media-item { background: rgba(255,255,255,.04); border-color: var(--line-d); }
.media-item p { color: var(--muted-d); }
.media-item .feature__icon { color: var(--green-3); background: rgba(127,150,119,.14); }
.media-item:hover { transform: translateX(6px); border-color: var(--green-2); }
.fit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fit { display: flex; align-items: center; gap: 14px; padding: 22px; border-radius: 16px; background: var(--white); font-weight: 700; font-size: 17px; }
.fit .ico { width: 26px; color: var(--green); flex: none; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo__card { padding: 36px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); }
.duo__head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.duo__head h3 { font-family: var(--ff-head); font-weight: 500; font-size: 26px; }
.duo__logo { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--ff-head); font-size: 22px; }
.duo__logo--y { background: var(--green); }
.duo__list li { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 17px; }
.duo__list li::after { content: ''; width: 10px; height: 10px; background: var(--green); transform: skewX(-45deg); }

/* Пополнение */
.problem { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.problem__text .lead { margin: 24px 0 18px; color: var(--ink); }
.problem__text p:not(.lead) { color: var(--muted); font-size: 17px; }
.problem__num { padding: 40px; border-radius: 24px; background: var(--ink); color: #fff; display: grid; gap: 12px; }
.problem__small { color: rgba(255,255,255,.6); font-size: 15px; }
.bignum--accent { color: var(--green-3); font-size: clamp(50px, 8vw, 110px); }
.calc-block { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.calc-block__text .lead { margin: 20px 0 16px; }
.calc-card { padding: 32px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 20px; box-shadow: 0 30px 70px -45px rgba(17,19,18,.4); }
.calc-card .field input { font-family: var(--ff-head); font-size: 22px; }
.range { width: 100%; appearance: none; -webkit-appearance: none; height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--green) var(--p, 2%), var(--paper-2) var(--p, 2%)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 6px solid var(--green); cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 6px solid var(--green); cursor: pointer; }
.calc-card__rows { display: grid; }
.calc-card__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.calc-card__rows span { color: var(--muted); }
.calc-card__rows b { white-space: nowrap; }
.calc-card__rows .warn { color: #a5503c; }
.calc-card__rows .total b { font-family: var(--ff-head); font-weight: 500; font-size: 20px; }
.calc-card__rows .over span { color: var(--ink); font-weight: 600; }
.calc-card__rows .over b { font-family: var(--ff-head); font-weight: 500; font-size: 20px; }
.calc-card__rows .sub { border-top: 0; padding: 2px 0 2px 14px; font-size: 14px; }
.calc-card__rows .sub:last-of-type { padding-bottom: 14px; }
.calc-card__rows .sub b { font-weight: 600; color: var(--muted); }
.calc-card__roix { padding: 16px 18px; border-radius: var(--r-sm); background: rgba(94,116,88,.1); }
.calc-card__hint { font-size: 15px; color: var(--green-dark); font-weight: 700; }
.calc-card__platforms { font-size: 14px; color: var(--muted); margin-top: 2px; }
.problem__cta { margin-top: 18px; padding-left: 16px; border-left: 3px solid var(--green); color: var(--ink) !important; font-weight: 600; }
.tax-split { display: flex; align-items: center; gap: 18px; margin: 8px 0; }
.tax-split > div > span { display: block; margin-top: 8px; font-weight: 700; letter-spacing: .12em; color: rgba(255,255,255,.7); }
.tax-split i { font-style: normal; font-family: var(--ff-head); font-size: 36px; color: rgba(255,255,255,.35); }
.tax-split .bignum { font-size: clamp(48px, 5.5vw, 84px); }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.platform { padding: 32px 28px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .4s var(--ease); }
.platform::after { content: ''; position: absolute; right: -20px; bottom: -20px; width: 80px; height: 80px; background: var(--green); transform: skewX(-45deg); opacity: .1; transition: opacity .4s, transform .5s var(--ease); }
.platform:hover { transform: translateY(-6px); }
.platform:hover::after { opacity: .9; transform: skewX(-45deg) scale(1.4); }
.platform h3 { font-family: var(--ff-head); font-weight: 500; font-size: 22px; margin-bottom: 8px; }
.platform p { color: var(--muted); font-size: 14.5px; }

/* Разработка */
.dev-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dev-card { padding: 36px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; transition: transform .5s var(--ease), box-shadow .5s; }
.dev-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px rgba(17,19,18,.4); }
.dev-card--wide { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.dev-card--wide .dev-card__head { grid-column: 1 / -1; }
.dev-card--wide p { align-self: start; }
.dev-card--wide .tags { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
.dev-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.dev-card p { color: var(--muted); font-size: 16px; }
.system { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.system__text .lead { margin-top: 20px; }
.system__flow { display: grid; gap: 10px; }
.system__flow li { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 14px; border: 1px solid var(--line-d); font-family: var(--ff-head); font-size: 18px; position: relative; transition: background .3s, transform .4s var(--ease); }
.system__flow li:hover { background: rgba(127,150,119,.15); transform: translateX(8px); }
.system__flow span { font-size: 12px; color: var(--green-3); }
.system__flow li:not(:last-child)::after { content: ''; position: absolute; left: 32px; bottom: -11px; width: 1px; height: 12px; background: var(--green-2); }

/* О компании */
.mission { display: grid; gap: 64px; }
.mission__quote p { font-family: var(--ff-head); font-size: clamp(26px, 3.6vw, 50px); line-height: 1.18; letter-spacing: -.02em; max-width: 22ch; }
.mission__quote em { font-style: normal; color: var(--green); }
.mission__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { padding: 32px; border-top: 2px solid var(--ink); }
.stat .bignum { font-size: clamp(56px, 6vw, 88px); }
.stat p { color: var(--muted); margin-top: 12px; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar { position: relative; padding: 32px 28px; border-radius: var(--r); background: var(--white); display: grid; gap: 16px; align-content: start; }
.pillar__num { position: absolute; top: 28px; right: 28px; font-family: var(--ff-head); font-size: 13px; color: var(--muted); }
.pillar h3 { font-family: var(--ff-head); font-weight: 500; font-size: 22px; margin-top: 16px; }
.pillar p { color: var(--muted); font-size: 15px; }

/* Контакты */
.contacts { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.contacts__form { padding: 40px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); }
.contacts__form .h3 { margin-bottom: 28px; }
.contacts__form .field input, .contacts__form .field select, .contacts__form .field textarea { background: var(--paper); }
.contacts__info { display: grid; gap: 16px; }
.contacts__msg { display: grid; gap: 12px; }
.msg-big { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 20px; color: #fff; transition: transform .4s var(--ease), filter .3s; }
.msg-big:hover { transform: translateY(-4px); filter: brightness(1.08); }
.msg-big--wa { background: #1f9e4f; }
.msg-big--tg { background: #2a8bc4; }
.msg-big .ico-brand { width: 34px; height: 34px; flex: none; }
.msg-big span { display: grid; flex: 1; }
.msg-big b { font-size: 19px; }
.msg-big small { opacity: .8; }
.msg-big .ico-arrow { width: 22px; }
.contacts__list { padding: 12px 28px; border-radius: 20px; background: var(--ink); color: #fff; }
.contacts__list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line-d); }
.contacts__list li:last-child { border-bottom: 0; }
.contacts__list .ico { width: 22px; flex: none; color: var(--green-3); margin-top: 3px; }
.contacts__list small { display: block; color: var(--muted-d); font-size: 13px; }
.contacts__list a, .contacts__list span { font-weight: 600; font-size: 16px; }
.map-wrap { line-height: 0; background: var(--paper-2); }
.map { width: 100%; height: 460px; border: 0; filter: grayscale(1) contrast(1.05); transition: filter .5s; }
.map:hover { filter: none; }

/* Города */
.city-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; }
.city-intro .lead { color: var(--ink); margin-bottom: 18px; }
.city-intro p:not(.lead) { color: var(--muted); font-size: 17px; margin-bottom: 36px; }
.bullets { display: grid; gap: 12px; }
.bullets li { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 17px; }

/* ---------- Подвал ---------- */
.footer { background: #0b0d0c; color: rgba(255,255,255,.72); padding: 80px 0 32px; font-size: 15px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-d); }
.logo--footer { color: #fff; }
.logo--footer .logo__mark { width: 46px; }
.logo--footer .logo__word { width: 100px; }
.footer__brand p { margin: 24px 0; max-width: 340px; }
.footer__msg { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.footer__col a { transition: color .2s; width: fit-content; }
.footer__col a:hover { color: var(--green-3); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; font-size: 13px; color: rgba(255,255,255,.45); }

/* ---------- Анимация появления ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .header__phone { display: none; }
  .nav__link { padding: 10px 10px; }
  .nav__link::after { left: 10px; right: 10px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps__list { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .nav, .header__actions > .btn { display: none; }
  .burger { display: block; }
  .header__actions { margin-left: auto; }
  .slide { grid-template-columns: 1fr; gap: 32px; }
  .slide__visual { height: 300px; max-width: 460px; }
  .hero__inner { grid-template-rows: auto auto auto; }
  .hero__slides { align-items: start; }
  .hero__dot-label { display: none; }
  .about__grid, .about__grid--2, .cta__inner, .split, .problem, .calc-block, .system, .contacts, .city-intro { grid-template-columns: 1fr; gap: 40px; }
  .split__head { position: static; }
  .section__head--row { grid-template-columns: 1fr; gap: 20px; }
  .why__grid, .why__grid--4 { grid-template-columns: repeat(2, 1fr); }
  .platform-grid, .pillars { grid-template-columns: repeat(2, 1fr); }
  .cities__list { grid-template-columns: repeat(2, 1fr); }
  .mission__stats { grid-template-columns: 1fr 1fr 1fr; }
  .dev-card--wide { grid-template-columns: 1fr; }
  .dev-card--wide .tags { grid-column: auto; grid-row: auto; }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 32px); }
  .hero__inner { padding-top: calc(var(--header-h) + 28px); }
  .slide__visual { display: none; }
  .hero__chips { margin-top: 22px; }
  .hero__chips li { padding: 6px 12px; font-size: 13px; }
  .hero__actions { margin-top: 32px; }
  .hero__actions .btn { width: 100%; }
  .hero__controls { margin-top: 32px; }
  .svc-grid, .steps__list, .why__grid, .why__grid--4, .platform-grid, .pillars, .cities__list, .duo, .dev-grid, .fit-grid, .mission__stats { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .svc__title { padding-top: 24px; }
  .svc__go { opacity: 1; transform: none; width: 34px; height: 34px; }
  .about__clients { grid-template-columns: 1fr; }
  .form__grid, .choice-grid { grid-template-columns: 1fr; }
  .contacts .field--select { grid-column: 1 / -1; }
  .cta__form, .contacts__form, .modal__box, .calc-card, .duo__card, .dev-card, .problem__num, .about__stat { padding: 24px; }
  .modal__box { padding-top: 56px; }
  .form__foot .btn { width: 100%; }
  .form__note { max-width: none; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .stat { padding: 24px 0; }
  .map { height: 340px; }
  .tags--big li { font-size: 16px; padding: 12px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
}
