/* =========================================================
   FERZ LAB — основной стиль
   ========================================================= */
:root {
  --bg: #0A0C09;
  --bg-2: #0F120D;
  --surface: #13170F;
  --surface-2: #1A1F15;
  --line: rgba(232, 255, 200, .09);
  --line-2: rgba(232, 255, 200, .16);
  --text: #F3F5EE;
  --muted: #A1A897;
  --dim: #6F766A;
  --accent: #B8FF1F;
  --accent-2: #D4FF5C;
  --accent-ink: #0A0C09;
  --accent-soft: rgba(184, 255, 31, .1);
  --danger: #FF6B5B;
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1200px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --header-h: 72px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
}

*, *::before, *::after { 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%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, textarea, select, button { font-family: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
.ic { width: 1.2em; height: 1.2em; flex: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.accent { color: var(--accent); }

/* ---------- typography ---------- */
.h1, .h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; margin: 0; }
.h1 { font-size: clamp(34px, 6vw, 68px); line-height: 1.04; font-weight: 600; }
.h2 { font-size: clamp(28px, 4.2vw, 48px); line-height: 1.1; font-weight: 600; }
h3 { font-weight: 600; font-size: 20px; line-height: 1.25; }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--accent);
  font: 600 13px/1 var(--font); letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .2s, background .2s, box-shadow .2s, border-color .2s, color .2s; white-space: nowrap;
  position: relative; isolation: isolate; -webkit-tap-highlight-color: transparent;
}
.btn .ic { transition: transform .2s; }
.btn:hover .ic { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 34px -10px rgba(184, 255, 31, .65); }
.btn--primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(184, 255, 31, .8); }
.btn--ghost { background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, .09); }
.btn--outline { border: 1.5px solid var(--line-2); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 16px; }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(10, 12, 9, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.header__logo { flex: none; color: var(--text); }
.logo { height: 40px; width: auto; color: var(--text); overflow: visible; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav > a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 15px; transition: color .2s, background .2s; }
.nav > a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav__mobile { display: none; }
.header__right { display: flex; align-items: center; gap: 14px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.header__phone .ic { color: var(--accent); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 56px) 0 40px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 60% 30%, #000 30%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow--1 { width: 520px; height: 520px; right: -120px; top: -80px; background: rgba(184, 255, 31, .16); }
.glow--2 { width: 380px; height: 380px; left: -160px; top: 40%; background: rgba(120, 200, 40, .08); }
.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid rgba(184, 255, 31, .25); color: var(--accent-2);
  font-weight: 600; font-size: 14px; margin-bottom: 22px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--accent); animation: pulse 1.8s infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.hero__sub { color: var(--muted); font-size: clamp(16px, 1.7vw, 19px); margin: 22px 0 0; max-width: 580px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); stroke-width: 3; margin-top: 1px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__note { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 14px; margin: 16px 0 0; }

.hero__visual { position: relative; }
.dash {
  background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2);
  border-radius: 26px; padding: 18px; box-shadow: var(--shadow), 0 0 0 1px rgba(184, 255, 31, .04) inset;
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); transition: transform .6s;
}
.hero__visual:hover .dash { transform: perspective(1200px) rotateY(0) rotateX(0); }
.dash__top { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.dash__url { margin-left: 10px; font-size: 12px; color: var(--dim); font-family: ui-monospace, monospace; }
.dash__head { display: flex; justify-content: space-between; align-items: flex-start; padding: 0 4px; }
.dash__label { color: var(--muted); font-size: 14px; font-weight: 600; }
.dash__value { font: 600 64px/1 var(--font-display); letter-spacing: -.03em; margin-top: 8px; display: flex; align-items: flex-start; gap: 10px; }
.dash__value small { font: 700 14px/1 var(--font); color: var(--accent-ink); background: var(--accent); padding: 5px 9px; border-radius: 999px; margin-top: 8px; }
.dash__sub { color: var(--dim); font-size: 13px; margin-top: 8px; }
.dash__live { display: flex; align-items: center; gap: 8px; font: 700 11px/1 var(--font); letter-spacing: .12em; color: var(--accent); padding: 7px 10px; border-radius: 999px; background: var(--accent-soft); }
.dash__chart { width: 100%; height: 170px; margin: 16px 0 8px; overflow: visible; }
.dash__bars rect { fill: rgba(184, 255, 31, .12); transform-origin: bottom; transform-box: fill-box; animation: grow .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 70ms + .2s); }
.dash__line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.8s .4s ease forwards; filter: drop-shadow(0 0 8px rgba(184, 255, 31, .6)); }
.dash__area { opacity: 0; animation: fade 1s 1.2s forwards; }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.dash__feed { display: grid; gap: 8px; }
.feed-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 14px; animation: slideIn .6s both; }
.feed-item:nth-child(1) { animation-delay: 1.4s; } .feed-item:nth-child(2) { animation-delay: 1.7s; }
.feed-item b { display: block; font-size: 14px; } .feed-item small { color: var(--dim); font-size: 12px; }
.feed-item time { margin-left: auto; color: var(--accent); font-size: 12px; font-weight: 700; white-space: nowrap; }
.feed-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px); } }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px;
  background: rgba(19, 23, 15, .9); border: 1px solid var(--line-2); backdrop-filter: blur(10px); box-shadow: var(--shadow);
  animation: floaty 5s ease-in-out infinite;
}
.float-card .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); }
.float-card b { display: block; font: 600 22px/1 var(--font-display); } .float-card small { color: var(--muted); font-size: 13px; }
.float-card--a { left: -36px; top: 46%; }
.float-card--b { right: -18px; bottom: -22px; animation-delay: -2.5s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.stats { margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(19, 23, 15, .6); }
.stat { padding: 26px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 600 clamp(24px, 3vw, 34px)/1.1 var(--font-display); color: var(--accent); letter-spacing: -.02em; }
.stat span { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.sec-head { max-width: 760px; margin: 0 auto 52px; display: grid; gap: 16px; }
.sec-head--center { text-align: center; justify-items: center; }
.sec-head--left { margin-left: 0; }

/* chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -20px 0 36px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-weight: 600; font-size: 14px; transition: .2s; }
.chip:hover { color: var(--text); }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.services > .svc { grid-column: span 2; }
.services > .svc.svc--w3 { grid-column: span 3; }
.services > .svc.svc--w6 { grid-column: 1 / -1; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 22px; padding: 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .3s, background .3s;
}
.svc:hover { border-color: rgba(184, 255, 31, .35); transform: translateY(-4px); }
.svc.is-hidden { display: none; }
.svc__badge { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.svc__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.svc__icon .ic { width: 28px; height: 28px; }
.svc__subtitle { color: var(--muted); margin: 8px 0 0; font-size: 15px; }
.svc__price { margin-top: 18px; display: grid; gap: 4px; }
.svc__price b { font: 600 28px/1.1 var(--font-display); color: var(--accent); letter-spacing: -.02em; }
.svc__price small { color: var(--dim); font-size: 13px; }
.svc__desc { color: var(--muted); margin: 14px 0 0; font-size: 15px; }
.svc__features { border-top: 1px solid var(--line); padding-top: 20px; flex: 1; }
.svc__fh { font-weight: 700; font-size: 14px; display: block; margin-bottom: 12px; }
.svc__features ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.svc__features li { display: flex; gap: 10px; font-size: 15px; color: #d9dfd2; }
.svc__features .ic { width: 18px; height: 18px; color: var(--accent); stroke-width: 2.6; margin-top: 3px; }
.svc__cta { align-self: stretch; }
.svc--featured {
  grid-column: 1 / -1 !important; display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px 48px; padding: 40px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(184, 255, 31, .12), transparent 55%), var(--surface);
  border-color: rgba(184, 255, 31, .3);
}
.svc--featured .svc__title { font-size: clamp(24px, 2.6vw, 32px); }
.svc--featured .svc__price b { font-size: clamp(34px, 4vw, 48px); }
.svc--featured .svc__features { border-top: 0; padding: 26px; border-radius: 18px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.svc--featured .svc__features ul { grid-template-columns: 1fr; }
.svc--featured .svc__cta { grid-column: 1; justify-self: start; }
.svc--featured .svc__badge { top: 40px; right: 40px; }

/* ---------- guarantee ---------- */
.guarantee {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(32px, 5vw, 64px);
  background: linear-gradient(135deg, #1a2410, #0f140b 60%); border: 1px solid rgba(184, 255, 31, .3);
}
.guarantee__glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: rgba(184, 255, 31, .14); filter: blur(100px); right: -200px; top: -300px; pointer-events: none; }
.guarantee__head { position: relative; display: grid; gap: 16px; max-width: 760px; }
.guarantee__seal { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.guarantee__seal .ic { width: 32px; height: 32px; }
.g-steps { position: relative; list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: g; }
.g-step { padding: 24px; border-radius: 20px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); position: relative; }
.g-step:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--accent); font-weight: 800; z-index: 1; }
.g-step__n { display: block; font: 600 14px/1 var(--font-display); color: var(--accent); margin-bottom: 14px; }
.g-step b { font: 600 18px/1.3 var(--font-display); display: block; }
.g-step p { color: var(--muted); margin: 8px 0 0; font-size: 15px; }
.g-step:last-child { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.g-step:last-child .g-step__n, .g-step:last-child p { color: rgba(10, 12, 9, .7); }
.guarantee__foot { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 36px; }
.guarantee__foot small { color: var(--dim); max-width: 420px; }

/* ---------- process ---------- */
.process { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; display: grid; gap: 0; position: relative; }
.process::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(var(--accent), rgba(184, 255, 31, .05)); }
.process__step { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 14px 0; position: relative; }
.process__n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--accent); color: var(--accent); font: 600 18px/1 var(--font-display); z-index: 1; }
.process__body { padding: 22px 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.process__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.process__body p { color: var(--muted); margin: 8px 0 0; }
.tag { padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; white-space: nowrap; }

/* ---------- cases ---------- */
.cases { display: grid; gap: 28px; }
.case { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s; }
.case:hover { border-color: rgba(184, 255, 31, .35); }
.case:nth-child(even) .case__shot { order: 2; }
.case__shot { position: relative; padding: 28px; background: radial-gradient(90% 90% at 30% 20%, rgba(184, 255, 31, .14), transparent 60%), var(--bg-2); display: grid; place-items: center; }
.browser { width: 100%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); transition: transform .5s; }
.case:hover .browser { transform: translateY(-6px) scale(1.01); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #1d211a; }
.browser__bar .dot:nth-child(1) { background: #ff5f57; } .browser__bar .dot:nth-child(2) { background: #febc2e; } .browser__bar .dot:nth-child(3) { background: #28c840; }
.browser__url { margin-left: 10px; flex: 1; display: flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 8px; background: rgba(255, 255, 255, .07); color: #b9c0b2; font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser__url .ic { width: 12px; height: 12px; color: var(--accent); }
.browser__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #20281a, #12160f); }
.browser__fallback { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; color: var(--text); }
.browser__fallback b { font: 600 24px/1.2 var(--font-display); } .browser__fallback span { color: var(--accent); font-size: 14px; }
.browser__fallback img { max-height: 80px; margin: 0 auto; }
.browser__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: object-position 3s ease; }
.case:hover .browser__img { object-position: bottom; }
.case__open { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); opacity: 0; transform: scale(.8); transition: .3s; }
.case:hover .case__open { opacity: 1; transform: none; }
.case__body { padding: clamp(26px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 18px; }
.case__meta { display: flex; align-items: center; gap: 14px; }
.case__logo { width: 52px; height: 52px; object-fit: contain; border-radius: 12px; background: #fff; padding: 6px; }
.case__meta h3 { font-size: 24px; } .case__meta small { color: var(--dim); font-size: 14px; }
.case__result { display: flex; align-items: baseline; gap: 14px; padding: 18px 22px; border-radius: 18px; background: var(--accent-soft); border: 1px solid rgba(184, 255, 31, .2); }
.case__result b { font: 600 clamp(40px, 5vw, 56px)/1 var(--font-display); color: var(--accent); letter-spacing: -.03em; white-space: nowrap; }
.case__result span { font-weight: 700; color: var(--text); }
.case__body p { color: var(--muted); margin: 0; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; }
.tags .ic { width: 14px; height: 14px; color: var(--accent); stroke-width: 3; }
.case__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }

/* ---------- author ---------- */
.author { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.author__photo { position: relative; }
.author__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line-2); }
.author__frame::before { content: ""; position: absolute; inset: auto -20% -30% -20%; height: 60%; background: radial-gradient(closest-side, rgba(184, 255, 31, .35), transparent); z-index: 0; }
.author__frame img { position: relative; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.author__ph { position: absolute; inset: 0; display: grid; place-items: end center; }
.author__ph svg { width: 80%; fill: rgba(184, 255, 31, .12); }
.author__ph small { position: absolute; top: 18px; left: 0; right: 0; text-align: center; color: var(--dim); font-size: 13px; }
.author__photo::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--accent); border-radius: 30px; z-index: -1; opacity: .6; }
.author__tag { position: absolute; left: 20px; bottom: 20px; right: 20px; z-index: 2; padding: 16px 20px; border-radius: 18px; background: rgba(10, 12, 9, .78); backdrop-filter: blur(12px); border: 1px solid var(--line-2); }
.author__tag b { display: block; font: 600 18px/1.2 var(--font-display); } .author__tag small { color: var(--accent); font-weight: 600; }
.author__content { display: grid; gap: 22px; justify-items: start; }
.author__text p { color: #cfd5c7; margin: 0 0 14px; font-size: 17px; }
.author__text p:last-child { margin: 0; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; }
.fact { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.fact b { display: block; font: 600 26px/1 var(--font-display); color: var(--accent); }
.fact span { display: block; color: var(--muted); font-size: 13px; margin-top: 8px; line-height: 1.4; }
.quote { margin: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); font: 500 19px/1.45 var(--font-display); letter-spacing: -.01em; }

/* ---------- advantages ---------- */
.adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.adv__item { padding: 34px 30px; background: var(--bg); transition: background .3s; }
.adv__item:hover { background: var(--surface); }
.adv__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 20px; }
.adv__icon .ic { width: 26px; height: 26px; }
.adv__item p { color: var(--muted); margin: 10px 0 0; font-size: 15px; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.review.is-hidden { display: none; }
.review__video { position: relative; aspect-ratio: 9 / 12; background: radial-gradient(circle at 50% 40%, rgba(184, 255, 31, .18), transparent 60%), var(--surface-2); cursor: pointer; }
.review__video img, .review__video iframe, .review__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.review__video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0, 0, 0, .6)); pointer-events: none; }
.review__video.is-playing::after { display: none; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); z-index: 2; box-shadow: 0 0 0 10px rgba(184, 255, 31, .2); transition: transform .2s; }
.play:hover { transform: translate(-50%, -50%) scale(1.08); }
.play .ic { width: 28px; height: 28px; fill: currentColor; margin-left: 4px; }
.review__novideo { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--dim); }
.review__novideo .ic { width: 40px; height: 40px; }
.review__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.review--video .review__body { gap: 10px; }
.review__body p { margin: 0; color: #d5dbcd; }
.stars { display: flex; gap: 2px; color: rgba(255, 255, 255, .15); font-size: 18px; line-height: 1; }
.stars .on { color: var(--accent); }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review__author b { display: block; } .review__author small { color: var(--dim); font-size: 13px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.empty { text-align: center; color: var(--dim); }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-wrap .sec-head { position: sticky; top: calc(var(--header-h) + 24px); margin-bottom: 0; }
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s; }
.faq__item[open] { border-color: rgba(184, 255, 31, .3); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; cursor: pointer; font-weight: 700; font-size: 17px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); flex: none; transition: transform .3s, background .3s, color .3s; }
.faq__item[open] summary i { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
.faq__a { padding: 0 24px 22px; color: var(--muted); }
.faq__a p { margin: 0; }

/* ---------- final cta ---------- */
.final {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 56px); border-radius: 32px; background: var(--accent); color: var(--accent-ink);
}
.final .accent { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.final .lead { color: rgba(10, 12, 9, .72); margin-top: 12px; }
.final__content { position: relative; max-width: 640px; }
.final .btn--primary { background: var(--accent-ink); color: var(--accent); box-shadow: none; position: relative; }
.final .btn--primary:hover { background: #1b2015; }
.final__bars { position: absolute; right: 22%; bottom: 0; top: 0; display: flex; align-items: flex-end; gap: 10px; opacity: .14; pointer-events: none; }
.final__bars span { width: 26px; height: var(--h); background: var(--accent-ink); border-radius: 6px 6px 0 0; }

/* ---------- contact & form ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__info { display: grid; gap: 22px; }
.contact__direct { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cline { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; min-width: 0; }
.cline:hover { border-color: rgba(184, 255, 31, .4); }
.cline > .ic { width: 22px; height: 22px; color: var(--accent); }
.cline span { display: grid; font-weight: 700; font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cline small { color: var(--dim); font-weight: 500; font-size: 12px; }

.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials--center { justify-content: center; }
.soc { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); transition: .2s; }
.soc .ic { width: 20px; height: 20px; }
.soc:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: translateY(-3px); }

.form-card { position: relative; padding: clamp(22px, 3.5vw, 36px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.form-card::before { content: ""; position: absolute; inset: -1px; border-radius: 29px; padding: 1px; background: linear-gradient(160deg, rgba(184, 255, 31, .55), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.form-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.form-card__head b { font: 600 22px/1.2 var(--font-display); }
.form-card__head span { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font-size: 13px; white-space: nowrap; }
.form-card__head .ic { color: var(--accent); width: 16px; height: 16px; }
.lead-form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field__label { font-weight: 700; font-size: 14px; }
.field__label i { color: var(--accent); font-style: normal; }
.field__label em { color: var(--dim); font-style: normal; font-weight: 500; font-size: 13px; margin-left: 6px; }

/* ВАЖНО: 16px на полях — iOS не зумит страницу при фокусе */
.lead-form input[type="text"], .lead-form input[type="tel"], .lead-form input[type="email"], .lead-form textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; font-size: 16px; line-height: 1.4;
  background: var(--bg); color: var(--text); border: 1.5px solid var(--line-2); outline: none;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.lead-form textarea { resize: vertical; min-height: 96px; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: var(--dim); }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(184, 255, 31, .12); }
.field.has-error input, .field.has-error .phone { border-color: var(--danger) !important; }
.field__err { color: var(--danger); font-size: 13px; min-height: 0; }
.field__err:empty { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* phone */
.phone { position: relative; display: flex; align-items: stretch; border-radius: 14px; background: var(--bg); border: 1.5px solid var(--line-2); transition: border-color .2s, box-shadow .2s; }
.phone:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(184, 255, 31, .12); }
.phone.is-valid { border-color: rgba(184, 255, 31, .6); }
.phone__country { display: flex; align-items: center; gap: 8px; padding: 0 12px 0 14px; border-right: 1px solid var(--line-2); flex: none; font-weight: 700; font-size: 16px; border-radius: 14px 0 0 14px; }
.phone__country:hover { background: rgba(255, 255, 255, .04); }
.phone__flag { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; background: rgba(255, 255, 255, .1); }
.phone__chev { width: 16px; height: 16px; color: var(--dim); transition: transform .2s; }
.phone__country[aria-expanded="true"] .phone__chev { transform: rotate(180deg); }
.lead-form .phone input[type="tel"] { border: 0; box-shadow: none !important; background: transparent; border-radius: 0 14px 14px 0; letter-spacing: .02em; }
.phone__drop { position: absolute; left: -1.5px; right: -1.5px; top: calc(100% + 8px); z-index: 20; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: var(--shadow); overflow: hidden; }
.phone__search { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.phone__search .ic { color: var(--dim); }
.lead-form .phone__search input { min-height: 40px; padding: 8px 0; border: 0; background: transparent; box-shadow: none !important; }
.phone__list { list-style: none; margin: 0; padding: 6px; max-height: 280px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.phone__list li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; cursor: pointer; font-size: 15px; }
.phone__list li:hover, .phone__list li.is-active { background: rgba(184, 255, 31, .1); }
.phone__list li img { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; flex: none; }
.phone__list li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone__list li small { color: var(--dim); font-weight: 700; }
.phone__list .phone__sep { height: 1px; padding: 0; margin: 6px 4px; background: var(--line); pointer-events: none; }

/* service picker */
.svc-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.svc-opt input { position: absolute; opacity: 0; pointer-events: none; }
.svc-opt span { display: flex; align-items: center; gap: 10px; height: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line-2); font-weight: 600; font-size: 14px; line-height: 1.3; cursor: pointer; transition: .2s; }
.svc-opt span .ic { color: var(--dim); width: 20px; height: 20px; }
.svc-opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.svc-opt input:checked + span .ic { color: var(--accent); }
.svc-opt input:focus-visible + span { box-shadow: 0 0 0 4px rgba(184, 255, 31, .2); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.consent input { position: absolute; opacity: 0; }
.consent__box { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; transition: .2s; }
.consent__box .ic { width: 14px; height: 14px; stroke-width: 3.2; opacity: 0; color: var(--accent-ink); }
.consent input:checked + .consent__box { background: var(--accent); border-color: var(--accent); }
.consent input:checked + .consent__box .ic { opacity: 1; }
.consent input:focus-visible + .consent__box { box-shadow: 0 0 0 4px rgba(184, 255, 31, .2); }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--dim); font-size: 13px; margin: 0; text-align: center; }
.form-note .ic { color: var(--accent); width: 16px; height: 16px; }
.form-alert { padding: 12px 16px; border-radius: 12px; background: rgba(255, 107, 91, .1); border: 1px solid rgba(255, 107, 91, .35); color: #ffb3aa; font-size: 14px; }
.spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(10, 12, 9, .25); border-top-color: var(--accent-ink); animation: spin .7s linear infinite; }
.is-loading .spinner { display: block; } .is-loading .btn__text { opacity: .6; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { text-align: center; padding: 40px 10px; display: grid; justify-items: center; gap: 14px; }
.form-success__ic { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
.form-success__ic .ic { width: 40px; height: 40px; stroke-width: 3; }
.form-success h3 { font-size: 26px; } .form-success p { color: var(--muted); margin: 0 0 8px; max-width: 380px; }
@keyframes pop { from { transform: scale(0); } }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--bg-2); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__brand p { color: var(--muted); margin: 0; max-width: 340px; font-size: 15px; }
.logo--footer { height: 46px; }
.footer__nav { display: grid; gap: 10px; align-content: start; }
.footer__nav b { font-family: var(--font-display); font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.footer__nav a { color: var(--muted); font-size: 15px; transition: color .2s; overflow-wrap: anywhere; }
.footer__nav a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.footer__bottom a:hover { color: var(--text); }

/* ---------- floating ---------- */
.float-chat { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; box-shadow: 0 14px 34px -8px rgba(184, 255, 31, .55); transition: transform .2s, box-shadow .2s; }
.float-chat::before { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid var(--accent); opacity: 0; animation: ring 2.6s ease-out infinite; }
@keyframes ring { 0% { opacity: .7; transform: scale(.94); } 100% { opacity: 0; transform: scale(1.12); } }
.float-chat:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -8px rgba(184, 255, 31, .75); }
.float-chat .ic { width: 22px; height: 22px; stroke-width: 2.2; }
.float-chat__label { font-size: 15px; white-space: nowrap; }
.sticky-cta { display: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .dash__line { stroke-dashoffset: 0; } .dash__area { opacity: 1; }
}

/* ---------- privacy page ---------- */
.page { padding: calc(var(--header-h) + 48px) 0 80px; }
.page .container { max-width: 820px; }
.prose { color: #d3d9cb; font-size: 17px; }
.prose h2 { font: 600 22px/1.3 var(--font-display); color: var(--text); margin: 36px 0 12px; }
.prose a { color: var(--accent); text-decoration: underline; }
.page-header { position: fixed; inset: 0 0 auto; height: var(--header-h); background: rgba(10, 12, 9, .85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); z-index: 50; }
.page-header .container { max-width: var(--container); height: 100%; display: flex; align-items: center; justify-content: space-between; }

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1100px) {
  .header__phone span { display: none; }
  .header__phone { width: 40px; height: 40px; justify-content: center; border-radius: 50%; border: 1px solid var(--line-2); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .float-card--a { left: -10px; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .logo { height: 34px; }
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 49; flex-direction: column; gap: 4px; padding: 20px;
    background: rgba(10, 12, 9, .97); backdrop-filter: blur(16px); margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .3s; overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a { font: 600 22px/1.2 var(--font-display); color: var(--text); padding: 16px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__mobile { display: grid; gap: 16px; margin-top: 24px; }
  .nav__phone { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 18px; }
  .nav__phone .ic { color: var(--accent); }
  body.nav-open { overflow: hidden; }

  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .dash { transform: none; }
  .hero__visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }

  .svc--featured { grid-template-columns: 1fr; padding: 30px; }
  .svc--featured .svc__cta { justify-self: stretch; }
  .svc--featured .svc__badge { top: 26px; right: 26px; }
  .g-steps { grid-template-columns: 1fr; }
  .g-step:not(:last-child)::after { content: "↓"; right: auto; left: 32px; top: auto; bottom: -19px; transform: none; }
  .case, .case:nth-child(even) { grid-template-columns: 1fr; }
  .case:nth-child(even) .case__shot { order: 0; }
  .case__open { opacity: 1; transform: none; }
  .author { grid-template-columns: 1fr; }
  .author__photo { max-width: 420px; width: 100%; margin: 0 auto; }
  .adv { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .faq-wrap { grid-template-columns: 1fr; gap: 0; }
  .faq-wrap .sec-head { position: static; margin-bottom: 36px; }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .h1 { font-size: clamp(30px, 9vw, 40px); }
  .hero__ctas .btn { width: 100%; }
  .float-card { padding: 10px 14px; } .float-card .ic { width: 34px; height: 34px; padding: 7px; }
  .float-card b { font-size: 18px; }
  .float-card--a { left: -6px; top: 38%; } .float-card--b { right: -4px; bottom: -18px; }
  .dash { padding: 14px; border-radius: 22px; } .dash__value { font-size: 52px; }
  .dash__chart { height: 130px; }
  .stat { padding: 20px 16px; }
  .sec-head { margin-bottom: 36px; }
  .services { grid-template-columns: 1fr; }
  .svc { padding: 24px; }
  .svc--featured { padding: 24px; } .svc--featured .svc__features { padding: 20px; }
  .svc__badge, .svc--featured .svc__badge { top: 20px; right: 20px; }
  .process::before { left: 21px; }
  .process__step { grid-template-columns: 44px 1fr; gap: 14px; }
  .process__n { width: 44px; height: 44px; font-size: 15px; }
  .process__body { padding: 18px; }
  .case { border-radius: 22px; } .case__shot { padding: 16px; }
  .facts { grid-template-columns: 1fr; }
  .fact { display: flex; align-items: center; gap: 16px; } .fact span { margin: 0; }
  .fact b { min-width: 76px; }
  .author__photo::after { inset: 12px -10px -12px 12px; }
  .adv { grid-template-columns: 1fr; }
  .reviews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
  .reviews::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 84%; scroll-snap-align: center; }
  .chips { margin-top: -12px; }
  .contact__direct { grid-template-columns: 1fr; }
  .svc-pick { grid-template-columns: 1fr; }
  .form-card { border-radius: 22px; }
  .form-card__head span { display: none; }
  .final { border-radius: 24px; } .final .btn { width: 100%; }
  .final__bars { right: 0; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer { padding-bottom: 110px; }

  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 10px; align-items: center;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(10, 12, 9, .9); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s;
  }
  .sticky-cta.is-visible { transform: none; }
  .sticky-cta .btn { --h: 50px; }
  .sticky-cta__ic { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); flex: none; }
  .sticky-cta__ic .ic { color: var(--accent); }
  body.has-sticky .float-chat { display: none; }
  .float-chat { bottom: 18px; right: 14px; height: 52px; padding: 0 16px; }
}


/* =========================================================
   v2: слайды в hero, языки, select, мелочи
   ========================================================= */
.dash__top { gap: 6px; min-width: 0; }
.dash__tabs { display: flex; gap: 4px; margin-left: 10px; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 1; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 16px; }
.dash__tabs::-webkit-scrollbar { display: none; }
.dash__tab { position: relative; flex: none; padding: 6px 11px; border-radius: 999px; font: 600 12px/1 var(--font); color: var(--dim); white-space: nowrap; overflow: hidden; transition: color .2s, background .2s; }
.dash__tab:hover { color: var(--text); }
.dash__tab.is-active { color: var(--accent); background: var(--accent-soft); }
.dash__tab i { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.dash__tab.is-active i { animation: tabprog var(--dur, 5000ms) linear forwards; }
.dash.is-paused .dash__tab.is-active i { animation-play-state: paused; }
@keyframes tabprog { to { transform: scaleX(1); } }
.dash__slides { display: grid; }
.dash__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease, visibility 0s .5s; }
.dash__slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease, transform .5s ease; }
.dash__dot { opacity: 0; animation: fade .4s 1.6s forwards; filter: drop-shadow(0 0 6px #C6FF2E); }
.dash__line { stroke-dasharray: 700; stroke-dashoffset: 700; }
.dash__value small { white-space: nowrap; }
.dash__label, .dash__sub { min-height: 1.4em; }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; transition: border-color .2s; }
.lang__btn:hover, .lang__btn[aria-expanded="true"] { border-color: var(--accent); }
.lang__btn > .ic:first-child { width: 17px; height: 17px; color: var(--accent); }
.lang__chev { width: 14px; height: 14px; color: var(--dim); transition: transform .2s; }
.lang__btn[aria-expanded="true"] .lang__chev { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; padding: 6px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: var(--shadow); z-index: 60; display: grid; gap: 2px; }
.lang__menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--muted); }
.lang__menu a b { font-size: 12px; width: 26px; color: var(--text); }
.lang__menu a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.lang__menu a.on { background: var(--accent-soft); color: var(--accent); }
.lang__menu a.on b { color: var(--accent); }
.lang-row { display: flex; gap: 6px; justify-content: center; }
.lang-row a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; color: var(--muted); }
.lang-row a.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.footer__links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer__links .lang-row a { padding: 4px 10px; font-size: 12px; }
.footer__geo { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); font-size: 14px; }
.footer__geo .ic { width: 16px; height: 16px; color: var(--accent); }

.select { position: relative; display: block; }
.select select {
  width: 100%; min-height: 54px; padding: 14px 44px 14px 16px; border-radius: 14px; font: 600 16px/1.3 var(--font);
  background: var(--bg); color: var(--text); border: 1.5px solid var(--line-2); outline: none; cursor: pointer;
  -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s; text-overflow: ellipsis;
}
.select select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(184, 255, 31, .12); }
.select select option, .select select optgroup { background: var(--surface-2); color: var(--text); }
.select > .ic { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--accent); pointer-events: none; }

.faq__item summary h3 { font: 700 17px/1.4 var(--font); letter-spacing: 0; margin: 0; }
.svc--w6:not(.svc--featured) { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px 48px; }
.svc--w6:not(.svc--featured) .svc__cta { grid-column: 1; justify-self: start; }

@media (max-width: 1100px) {
  .services > .svc, .services > .svc.svc--w3 { grid-column: span 3; }
  .services > .svc.svc--w6 { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .header__right .lang { display: none; }
  .svc--w6:not(.svc--featured) { grid-template-columns: 1fr; }
  .svc--w6:not(.svc--featured) .svc__cta { justify-self: stretch; }
}
@media (max-width: 640px) {
  .services > .svc, .services > .svc.svc--w3, .services > .svc.svc--w6 { grid-column: 1 / -1; }
  .dash__tab { padding: 6px 9px; font-size: 11px; }
  .dash__top .dot { display: none; }
  .dash__tabs { margin-left: 0; }
  .footer__bottom { flex-direction: column; }
}
.page-header .header__right { display: flex; align-items: center; gap: 10px; }
.page-header .lang { display: block !important; }
@media (max-width: 480px) { .page-header .header__cta-keep { display: none; } }

/* =========================================================
   v4: страницы услуг
   ========================================================= */
.svc__title a { color: inherit; } .svc__title a:hover { color: var(--accent); }
.svc__actions { display: grid; gap: 10px; }
.svc--featured .svc__actions { grid-column: 1; justify-self: start; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.svc__more { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--muted); padding: 4px; transition: color .2s; }
.svc__more:hover { color: var(--accent); }
.svc__more .ic { width: 16px; height: 16px; }
.svc--w6:not(.svc--featured) .svc__actions { grid-column: 1; justify-self: start; display: flex; gap: 20px; align-items: center; }

.page-inner main { padding-top: var(--header-h); }
.sp-hero { position: relative; padding: 40px 0 72px; overflow: hidden; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--dim); margin-bottom: 28px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--accent); }
.crumbs span[aria-current] { color: var(--text); }
.sp-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.sp-hero__content { display: grid; gap: 4px; justify-items: start; }
.sp-hero__content .eyebrow { margin-bottom: 14px; }
.sp-h1 { font-size: clamp(32px, 5vw, 58px); }
.sp-hero__content .hero__sub { margin-top: 18px; }
.sp-hero__content .hero__ctas { margin-top: 30px; }
.sp-card { position: sticky; top: calc(var(--header-h) + 20px); padding: 28px; border-radius: 26px; background: radial-gradient(120% 120% at 0% 0%, rgba(184, 255, 31, .1), transparent 55%), var(--surface); border: 1px solid rgba(184, 255, 31, .3); box-shadow: var(--shadow); display: grid; gap: 18px; }
.sp-card__head { display: flex; gap: 16px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.sp-card__head .svc__icon { margin: 0; flex: none; }
.sp-card__head small { display: block; color: var(--dim); font-size: 13px; font-weight: 600; }
.sp-card__head b { display: block; font: 600 30px/1.1 var(--font-display); color: var(--accent); letter-spacing: -.02em; }
.sp-card__head em { display: block; font-style: normal; color: var(--muted); font-size: 13px; margin-top: 4px; }
.sp-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sp-card__list li { display: flex; gap: 10px; font-size: 15px; color: #d9dfd2; }
.sp-card__list .ic { width: 18px; height: 18px; color: var(--accent); stroke-width: 2.6; margin-top: 3px; }

.sp-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sp-benefit { padding: 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.sp-benefit__n { display: block; font: 600 14px/1 var(--font-display); color: var(--accent); margin-bottom: 18px; }
.sp-benefit h3 { font-size: 18px; } .sp-benefit p { color: var(--muted); margin: 10px 0 0; font-size: 15px; }

.sp-examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sp-example { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .3s; }
.sp-example:hover { border-color: rgba(184, 255, 31, .35); transform: translateY(-4px); }
.sp-example__ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.sp-example__ic .ic { width: 24px; height: 24px; }
.sp-example h3 { font-size: 19px; } .sp-example p { color: var(--muted); margin: 0; font-size: 15px; flex: 1; }
.sp-example .link-arrow { font-size: 14px; margin-top: 4px; }

.sp-process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: sp; }
.sp-process li { position: relative; padding: 26px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); }
.sp-process li span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); font: 600 16px/1 var(--font-display); margin-bottom: 18px; }
.sp-process li:not(:last-child)::after { content: ""; position: absolute; top: 48px; right: -17px; width: 18px; height: 2px; background: var(--accent); opacity: .5; }
.sp-process h3 { font-size: 18px; } .sp-process p { color: var(--muted); margin: 10px 0 0; font-size: 15px; }

.sp-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.sp-case { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 18px; padding: 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s; }
.sp-case:hover { border-color: rgba(184, 255, 31, .35); }
.sp-case__img { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.sp-case__img b { font-size: 13px; color: var(--muted); padding: 8px; text-align: center; }
.sp-case__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sp-case__body { display: grid; gap: 2px; }
.sp-case__body strong { font: 600 30px/1 var(--font-display); color: var(--accent); }
.sp-case__body span { font-weight: 700; font-size: 14px; } .sp-case__body small { color: var(--dim); font-size: 13px; }

.sp-others { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.sp-other { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.sp-other:hover { border-color: rgba(184, 255, 31, .4); transform: translateY(-2px); }
.sp-other .svc__icon { width: 44px; height: 44px; margin: 0; flex: none; border-radius: 12px; } .sp-other .svc__icon .ic { width: 22px; height: 22px; }
.sp-other > span:nth-child(2) { flex: 1; display: grid; min-width: 0; }
.sp-other b { font-size: 15px; } .sp-other small { color: var(--accent); font-weight: 700; font-size: 13px; }
.sp-other > .ic { color: var(--dim); width: 18px; height: 18px; }

@media (max-width: 1100px) {
  .sp-benefits, .sp-process { grid-template-columns: repeat(2, 1fr); }
  .sp-process li:nth-child(2)::after { display: none; }
}
@media (max-width: 960px) {
  .sp-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .sp-card { position: static; }
  .sp-examples { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .sp-hero { padding: 24px 0 48px; }
  .sp-benefits, .sp-process, .sp-examples { grid-template-columns: 1fr; }
  .sp-process li::after { display: none; }
  .sp-case { grid-template-columns: 110px 1fr; }
  .sp-hero__content .hero__ctas .btn { width: 100%; }
}
