/* FEDORISTOV v5 — темна кінематографічна база, жовтий лише як акцент */
:root {
  --rv-e: cubic-bezier(.16, 1, .3, 1);
  --bg: #09090A;
  --s1: #121214;
  --s2: #19191C;
  --s3: #232327;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F2F2EF;
  --mute: #8E8E96;
  --mute-2: #64646C;
  --sun: #FFC72C;
  --sun-2: #F2B705;
  --ink: #0B0B0C;

  --f: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --wrap: 1360px;
  --gut: clamp(16px, 2.6vw, 40px);
  --sec: clamp(96px, 10vw, 152px);   /* відстань між секціями — однакова скрізь */
  --head: clamp(32px, 3.6vw, 56px);  /* від заголовка секції до контенту */
  --r: 28px;
  --gap: 14px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --drawer: cubic-bezier(.32, .72, 0, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; background: var(--bg); }
body { position: relative; margin: 0; background: transparent; color: var(--text); font: 400 16px/1.55 var(--f); letter-spacing: -.01em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
/* текстура фону: дрібна сітка точок + плівкове зерно */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.3px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, #000 20%, rgba(0,0,0,.35) 100%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, #000 20%, rgba(0,0,0,.35) 100%); }
body::after { content: ""; position: fixed; inset: 0; z-index: 250; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 8px; }
html { scrollbar-color: var(--s3) var(--bg); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--sun); color: var(--ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.sun { color: var(--sun); }
.mute { color: var(--mute-2); }
svg path, svg circle, svg rect { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.h-xl { margin: 0; font-weight: 500; font-size: clamp(64px, 11vw, 184px); line-height: .82; letter-spacing: -.065em; }
.h-l { margin: 0; font-weight: 500; font-size: clamp(40px, 5.6vw, 88px); line-height: .92; letter-spacing: -.055em; text-wrap: balance; }
.h-m { margin: 0; font-weight: 500; font-size: clamp(28px, 3.2vw, 48px); line-height: 1; letter-spacing: -.05em; text-wrap: balance; }
.kicker { margin: 0 0 14px; font: 500 13px var(--mono); color: var(--sun); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- секції: одна система відступів ---------- */
.sec { position: relative; padding: var(--sec) 0 0; overflow-x: clip; }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 48px; flex-wrap: wrap; margin-bottom: var(--head); }
.sec__head .h-l { max-width: 12em; }
.sec__lead { margin: 0; max-width: 28em; color: var(--mute); font-size: 17px; line-height: 1.5; }
/* м’яке світло на фоні окремих секцій */
.services::before, .cases::before, .calc::before, .team::before { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 199, 44, .055), transparent 62%); }
.services::before { right: -30vw; top: -10vw; }
.cases::before { left: -34vw; top: 10vw; }
.calc::before { right: -30vw; top: 0; }
.team::before { left: -30vw; top: 0; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 0 28px; border: 0; border-radius: 18px; font-weight: 500; font-size: 16px; letter-spacing: -.01em; cursor: pointer; transition: transform 180ms var(--ease), background-color 220ms ease, box-shadow 300ms ease; -webkit-tap-highlight-color: transparent; }
.btn svg { width: 20px; height: 20px; transition: transform 300ms var(--ease); }
.btn:active { transform: scale(.97); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--block { width: 100%; }
.btn--lg { min-height: 64px; padding: 0 30px; font-size: 17px; }
@media (hover: hover) and (pointer: fine) {
  .btn--sun:hover { background: #FFD24F; }
  .btn:hover svg { transform: translateX(4px); }
}
.pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 100px; background: var(--sun); color: var(--ink); font-weight: 500; font-size: 15px; transition: transform 160ms var(--ease); }
.pill:active { transform: scale(.96); }

/* ---------- навігація ---------- */
.nav { position: fixed; z-index: 100; inset: 0 0 auto; height: 76px; display: flex; align-items: center; gap: 28px; padding: 0 max(var(--gut), (100% - var(--wrap)) / 2); transition: background-color 300ms ease, transform 450ms var(--ease), backdrop-filter 300ms ease; }
.nav.is-solid { background: rgba(9, 9, 10, .72); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; letter-spacing: -.05em; }
.logo i { width: 14px; height: 14px; border-radius: 4px; background: var(--sun); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); }
.nav__links { display: flex; gap: 2px; margin: 0 auto; }
.nav__links a { padding: 8px 14px; border-radius: 100px; font-size: 15px; color: var(--mute); transition: color 200ms ease, background-color 200ms ease; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav__end { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { display: inline-flex; padding: 3px; border-radius: 100px; background: rgba(255, 255, 255, .06); }
.lang button { border: 0; background: none; padding: 7px 11px; border-radius: 100px; font-size: 13px; color: var(--mute); cursor: pointer; transition: background-color 200ms ease, color 200ms ease; }
.lang button[aria-pressed="true"] { background: var(--text); color: var(--ink); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 7px 14px 7px 10px; border-radius: 100px; font-size: 13.5px; color: var(--mute); box-shadow: inset 0 0 0 1px var(--line-2); background: rgba(9, 9, 10, .4); }
.eyebrow i { width: 8px; height: 8px; border-radius: 2px; background: var(--sun); box-shadow: 0 0 12px var(--sun); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 116px 0 0; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 20% 40%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 20% 40%, #000 10%, transparent 75%); }
.hero__beam { position: absolute; right: 10%; top: -10%; width: 50vw; height: 120%; background: radial-gradient(ellipse 50% 45% at 50% 35%, rgba(255, 199, 44, .14), transparent 70%); filter: blur(10px); }
.hero__in { flex: 1; width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 3vw, 48px); align-items: center; padding-bottom: 36px; }
.hero__title { margin: 0; font-weight: 500; font-size: clamp(56px, 8vw, 132px); line-height: .86; letter-spacing: -.065em; text-shadow: 0 2px 40px rgba(9, 9, 10, .5); }
.hero__title .ln { display: block; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .ln > span { display: inline-block; }
.hero__title .ln--pill { overflow: visible; padding-top: .06em; }
.pill-h { position: relative; display: inline-block; padding: .06em .34em .16em; margin: .06em 0 0 -.04em; border-radius: .32em; color: var(--ink); isolation: isolate; }
.pill-h::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--sun); box-shadow: 0 .2em .6em -.2em rgba(255, 199, 44, .55); }
.pill-h::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .32) 50%, transparent 65%) -150% 0 / 220% 100% no-repeat; }
.pill-h > span { display: inline-block; }
.pill-h { transform: rotate(-1.5deg); }
.js .pill-h::before { opacity: 0; transform: scale(.9); filter: blur(10px); transition: opacity 1000ms var(--rv-e), transform 1300ms var(--rv-e), filter 1100ms var(--rv-e); transition-delay: 380ms; }
.js .rv-t.is-in .pill-h::before { opacity: 1; transform: none; filter: none; }
.js .pill-h::after { animation: pill-shine 3200ms cubic-bezier(.45, 0, .2, 1) 2000ms, pill-shine 3200ms cubic-bezier(.45, 0, .2, 1) 9s infinite; }
@keyframes pill-shine { from { background-position: -150% 0; } to { background-position: 250% 0; } }
.hero__sub { margin: 30px 0 0; max-width: 32em; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; color: #C3C3CA; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 34px; }
/* Влад виглядає з-за кнопки: низ фото обрізаний по середині кнопки, кнопка перекриває решту */
.hero__copy { --man-w: 210px; --man-h: calc(var(--man-w) * 1.098); --btn-h: 64px; }
.hero .hero__ctas { margin-top: calc(var(--man-h) - var(--btn-h) / 2 + 14px); }
.cta-v { position: relative; display: inline-flex; isolation: isolate; }
.cta-v .btn { position: relative; z-index: 1; }
.cta-v__man { position: absolute; z-index: 0; left: 50%; bottom: 50%; width: var(--man-w); height: var(--man-h); margin-left: calc(var(--man-w) / -2); overflow: hidden; pointer-events: none; }
.cta-v__man::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: -30%; height: 70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 199, 44, .28), transparent); }
.cta-v__man img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45)); }
/* рукави у фото обрізані рамкою — розчиняємо краї знизу, щоб не було рівних зрізів */
.cta-v__man img { -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 100%), linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); -webkit-mask-composite: source-over; mask-image: linear-gradient(180deg, #000 52%, transparent 100%), linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%); mask-composite: add; }
@media (max-width: 1180px) { .ch-chip--1 { display: none; } }
@media (max-width: 380px) { .hero__ctas .btn--lg { font-size: 15px; padding: 0 18px; gap: 8px; } }
.js .cta-v__man img { transform: translateY(78%); transition: transform 1400ms var(--rv-e) 650ms; }
.js .hero__ctas.is-in .cta-v__man img { transform: none; }
.hero__proof { display: inline-flex; align-items: center; gap: 8px; padding: 10px 2px; font-size: 16px; color: var(--text); border-bottom: 1px solid var(--line-2); transition: border-color 200ms ease; }
.hero__proof svg { width: 16px; height: 16px; transition: transform 300ms var(--ease); }
.hero__proof:hover { border-color: var(--sun); }
.hero__proof:hover svg { transform: translateY(3px); }
.hero__stats { width: min(var(--wrap), 100% - 2 * var(--gut)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.hero__stats > div { padding: 22px 20px 26px 0; display: flex; flex-direction: column-reverse; gap: 2px; }
.hero__stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.hero__stats dt { font-size: 13px; color: var(--mute); }
.hero__stats dd { margin: 0; font-weight: 500; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.045em; line-height: 1; }

.hero__side { display: flex; align-items: center; justify-content: flex-end; }
/* графік виручки в hero */
.hero__chart { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 74%; pointer-events: none; --mx: linear-gradient(90deg, rgba(0,0,0,.3) 0%, #000 48%); --my: linear-gradient(0deg, transparent 0, rgba(0,0,0,.25) 90px, #000 46%); -webkit-mask-image: var(--mx), var(--my); -webkit-mask-composite: source-in; mask-image: var(--mx), var(--my); mask-composite: intersect; transform: translateZ(0); will-change: transform; contain: strict; }
.hero__chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ch-area { stroke: none; fill: url(#ch-fill); }
.ch-line { fill: none; stroke: url(#ch-stroke); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ch-glow { fill: none; stroke: #FFC72C; stroke-width: 12; stroke-opacity: .12; stroke-linecap: round; } /* без CSS-blur: розмиття перемальовувалось при скролі на телефонах */
.ch-bars rect { stroke: none; fill: url(#ch-bar); transform-box: fill-box; transform-origin: 50% 100%; }
.js .ch-bars rect { transform: scaleY(0); transition: transform 1100ms var(--ease); }
.js .hero__chart.is-on .ch-bars rect { transform: none; }
.ch-dot { position: absolute; left: var(--dx, 100%); top: var(--dy, 0%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 6px rgba(255, 199, 44, .18), 0 0 30px 6px rgba(255, 199, 44, .55); opacity: 0; }
.ch-dot::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255, 199, 44, .55); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
.hero__chart.is-done .ch-dot { opacity: 1; transition: opacity 400ms ease; }
.ch-chips { position: absolute; inset: 0; }
.ch-chip { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, calc(-100% - 18px)) scale(.9); opacity: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px 8px 9px; border-radius: 100px; white-space: nowrap; font-size: 13px; color: var(--text); background: rgba(18, 18, 20, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 199, 44, .28), 0 18px 40px -18px rgba(0, 0, 0, .9); transition: opacity 500ms var(--ease), transform 700ms cubic-bezier(.34, 1.5, .64, 1); }
.ch-chip b { font-weight: 600; color: var(--sun); letter-spacing: -.02em; }
.ch-chip img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.ch-chip::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 14px; background: linear-gradient(rgba(255, 199, 44, .6), transparent); }
.ch-chip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 18px)); }

.hero__side .till { position: relative; }


/* каса */
.till { position: relative; width: 100%; max-width: 350px; flex: 0 1 350px; }
.till__head { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px; border-radius: 20px 20px 10px 10px; background: linear-gradient(180deg, #26262B, #18181C); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 40px -20px rgba(0,0,0,.9); font: 500 12px var(--mono); color: var(--mute); text-transform: uppercase; letter-spacing: .05em; }
.till__led { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 10px var(--sun); animation: blink 1.2s ease-in-out infinite; }
.till__name { color: var(--text); }
.till__live { margin-left: auto; color: var(--sun); }
.till__mouth { position: relative; z-index: 3; height: 10px; margin: -4px 16px 0; border-radius: 0 0 8px 8px; background: #050506; box-shadow: inset 0 3px 6px rgba(0,0,0,.9); }
.till__paper { position: relative; z-index: 1; margin: -6px 22px 0; padding: 18px 18px 16px; background: #F4F2EC; color: var(--ink); filter: drop-shadow(0 40px 50px rgba(0,0,0,.6)); }
.till__paper::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; background: conic-gradient(from -45deg at 50% 100%, #F4F2EC 90deg, transparent 0) 0 0 / 22px 12px repeat-x; }
.till__top { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 4px; padding-bottom: 10px; border-bottom: 1px dashed rgba(11,11,12,.25); font: 500 10.5px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: #6A6A70; }
.till__top span:first-child { color: var(--ink); font-weight: 600; }
.till__tape { position: relative; height: 232px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24%); mask-image: linear-gradient(180deg, transparent 0, #000 24%); }
.tline { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; width: 100%; padding: 8px 6px; margin: 0 -6px; border-radius: 8px; cursor: pointer; transition: background-color 200ms ease; }
.tline:hover, .tline:focus-visible { background: rgba(255, 199, 44, .35); }
.tline__n { font-weight: 600; font-size: 13.5px; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tline__d { grid-column: 1; font: 400 11px var(--mono); color: #6A6A70; }
.tline__v { grid-row: 1 / span 2; grid-column: 2; align-self: center; font: 500 14px var(--mono); letter-spacing: -.03em; text-align: right; white-space: nowrap; }
.tline.is-new .tline__n, .tline.is-new .tline__d, .tline.is-new .tline__v { animation: print 700ms steps(14, end) both; }
.tline.is-new .tline__v { animation-delay: 250ms; }
@keyframes print { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.till__total { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 8px 0 0; padding-top: 12px; border-top: 2px solid var(--ink); font-weight: 500; font-size: 13px; line-height: 1.25; }
.till__total span { max-width: 10em; }
.till__total b { font-weight: 500; font-size: 42px; line-height: .8; letter-spacing: -.06em; }
.till__hint { margin: 10px 0 0; font: 400 10.5px var(--mono); color: #8A8A90; text-align: center; }

/* інтро */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- з нами працюють ---------- */
.clients__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 64px; align-items: end; margin-bottom: var(--head); }
.clients__aside { max-width: 22em; padding-bottom: .6em; }
.clients__lead { margin: 0; font-size: 18px; line-height: 1.45; color: #C9C9CF; }
.clients__sum { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }
.clients__sum b { font-weight: 500; font-size: 34px; letter-spacing: -.05em; color: var(--sun); white-space: nowrap; }
.marquee { position: relative; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; padding: 8px 0 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee::-webkit-scrollbar { display: none; }
.marquee__track { display: flex; align-items: stretch; gap: var(--gap); width: max-content; }
.marquee.is-drag { cursor: grabbing; }
.marquee.is-drag .ig { pointer-events: none; }
.marquee { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
.ig { position: relative; flex: none; width: 320px; display: flex; flex-direction: column; padding: 18px; border-radius: 24px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); transition: transform 500ms var(--ease), box-shadow 300ms ease, background-color 300ms ease; }
.ig:nth-child(even) { margin-top: 28px; }
.ig__top { display: flex; align-items: center; gap: 12px; }
.ig__ava { flex: none; width: 58px; height: 58px; padding: 2.5px; border-radius: 50%; background: conic-gradient(from 200deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5, #FEDA75); }
.ig__ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--s1); background: #fff; }
.ig__who { min-width: 0; }
.ig__handle { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; font-weight: 600; font-size: 14.5px; letter-spacing: -.01em; }
.ig__handle span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig__ver { flex: none; width: 15px; height: 15px; }
.ig__ver path { fill: #3897F0; stroke: none; }
.ig__ver path + path { fill: #fff; }
.ig__handle:hover span { text-decoration: underline; text-underline-offset: 3px; }
.ig__name { margin: 2px 0 0; font-size: 12.5px; color: var(--mute); line-height: 1.3; }
.ig__stats { display: flex; gap: 18px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--mute); }
.ig__stats b { display: block; font-weight: 600; font-size: 17px; color: var(--text); letter-spacing: -.03em; }
.ig__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 16px -4px 0; border-radius: 12px; overflow: hidden; }
.ig__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 700ms var(--ease), filter 400ms ease; filter: saturate(.85); }
.ig__case { all: unset; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; margin: 14px 0 0; padding: 10px 14px; border-radius: 14px; background: var(--s2); font-size: 13.5px; line-height: 1.3; cursor: pointer; transition: background-color 250ms ease, color 250ms ease; }
.ig__case b { font-weight: 600; color: var(--sun); transition: color 250ms ease; }
.ig__case svg { width: 16px; height: 16px; flex: none; transition: transform 300ms var(--ease); }
.ig__case:hover, .ig__case:focus-visible { background: var(--sun); color: var(--ink); }
.ig__case:hover b, .ig__case:focus-visible b { color: var(--ink); }
.ig__case:hover svg { transform: translateX(3px); }
.ig__case--q { cursor: default; color: #C9C9CF; font-style: italic; }
.ig__case--q:hover { background: var(--s2); color: #C9C9CF; }
@media (hover: hover) and (pointer: fine) {
  .ig:hover { transform: translateY(-6px) rotate(-.6deg); background: var(--s2); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 60px -40px rgba(0,0,0,.9); }
  .ig:hover .ig__grid img { filter: none; }
  .ig__grid img:hover { transform: scale(1.06); }
}
.clients__more { margin-top: 6px; font-size: 14.5px; color: var(--mute); }

/* ---------- послуги ---------- */
.svc__head { align-items: flex-end; }
.svc__aside { max-width: 26em; }
.svc__sub { margin: 0; font-weight: 500; font-size: clamp(21px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -.035em; }
.svc__lead { margin: 16px 0 0; color: var(--mute); font-size: 16px; line-height: 1.5; }
.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.svc__card { --mx: 50%; --my: 0%; position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 340px; padding: 24px; border-radius: var(--r); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: opacity 800ms var(--ease), transform 400ms var(--ease), background-color 300ms ease, box-shadow 300ms ease; }
.svc__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 199, 44, .09), transparent 45%); opacity: 0; transition: opacity 400ms ease; }
.svc__card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(240px circle at var(--mx) var(--my), rgba(255, 199, 44, .55), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 400ms ease; pointer-events: none; }
.svc__top { display: flex; justify-content: space-between; align-items: center; }
.svc__ico { width: 28px; height: 28px; color: var(--mute-2); transition: color 300ms ease, transform 500ms var(--ease); }
.svc__ico path, .svc__ico circle, .svc__ico rect { stroke-width: 1.6; }
.svc__card h3 { margin: 30px 0 0; font-weight: 500; font-size: 24px; line-height: 1.05; letter-spacing: -.045em; text-wrap: balance; }
.svc__card > p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--mute); }
.tags { list-style: none; margin: auto 0 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 6px 11px; border-radius: 100px; font-size: 12.5px; line-height: 1.2; color: #BDBDC4; box-shadow: inset 0 0 0 1px var(--line-2); transition: color 300ms ease, box-shadow 300ms ease; }
.svc__card--all { background: var(--sun); color: var(--ink); box-shadow: none; }
.svc__card--all::before { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 255, 255, .35), transparent 45%); }
.svc__card--all::after { display: none; }
.svc__card--all > p { color: rgba(11, 11, 12, .72); }
.svc__card--all h3 { margin-top: 26px; }
.svc__go { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 500; font-size: 17px; letter-spacing: -.02em; }
.svc__go svg { width: 48px; height: 48px; padding: 14px; border-radius: 50%; background: var(--ink); color: var(--sun); transition: transform 400ms var(--ease); }
.chain { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chain li { position: relative; padding: 5px 10px; border-radius: 100px; font: 500 12px var(--mono); background: rgba(11, 11, 12, .08); color: rgba(11, 11, 12, .55); transition: background-color 300ms ease, color 300ms ease; }
.chain li.is-on { background: var(--ink); color: var(--sun); }
.svc__card.is-active::before, .svc__card.is-active::after { opacity: 1; }
.svc__card.is-active::after { background: linear-gradient(160deg, rgba(255, 199, 44, .75), rgba(255, 199, 44, .2) 60%, rgba(255, 199, 44, .45)); }
.svc__card.is-active::before { background: radial-gradient(420px circle at 20% 0%, rgba(255, 199, 44, .1), transparent 55%); }
.svc__card.is-active:not(.svc__card--all) { background: #151517; }
.svc__card.is-active .svc__ico { color: var(--sun); transform: translateY(-2px) rotate(-6deg) scale(1.08); }
.svc__card.is-active .tags li { color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.svc__card.is-active .key:not(.key--ink) { color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(140, 90, 0, .45), 0 6px 14px -8px rgba(255, 199, 44, .6), 0 0 0 1px rgba(120, 80, 0, .35); transform: translateY(2px); }
.svc__card .key { position: relative; isolation: isolate; transition: transform 900ms var(--ease), color 900ms ease, box-shadow 900ms ease; }
.svc__card .key::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, #FFD65C 0%, #F6B800 100%); opacity: 0; transform: scale(.6); transition: opacity 900ms ease, transform 1000ms cubic-bezier(.34, 1.4, .64, 1); }
.svc__card.is-active .key::before { opacity: 1; transform: none; }
.svc__card--all .key::before { display: none; }
.svc__card--all .key, .svc__card--all.is-active .key { transform: none; transition: none; }
.svc__card::before, .svc__card::after { transition: opacity 1100ms ease !important; }
.svc__ico { transition: color 1000ms ease, transform 1400ms cubic-bezier(.34, 1.4, .64, 1) !important; }
.svc__card .tags li { transition: color 900ms ease, box-shadow 900ms ease; }
.svc__card:not(.svc__card--all) { transition: opacity 800ms var(--ease), transform 400ms var(--ease), background-color 1100ms ease, box-shadow 300ms ease; }
@media (hover: hover) and (pointer: fine) {
  .svc__card:hover::before, .svc__card:hover::after { opacity: 1; }
  .svc__card:not(.svc__card--all):hover { background: #151517; }
  .svc__card:hover .svc__ico { color: var(--sun); transform: translateY(-2px) rotate(-6deg); }
  .svc__card:hover .tags li { color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
  .svc__card:hover .key { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 -2px 0 rgba(0, 0, 0, .45), 0 4px 10px -6px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .6); }
  .svc__card:hover .key--sun { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(140, 90, 0, .45), 0 6px 14px -8px rgba(255, 199, 44, .6), 0 0 0 1px rgba(120, 80, 0, .35); }
  .svc__card--all:hover .key--ink { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -2px 0 rgba(0, 0, 0, .6), 0 4px 10px -6px rgba(0, 0, 0, .5); }
  .svc__go:hover svg { transform: rotate(-45deg); }
}

/* клавіші: цифри й іконки точно по центру грані */
.key { display: grid; place-items: center; width: 52px; height: 52px; padding-bottom: 4px; border-radius: 13px; font: 500 18px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--text); text-align: center;
  background: linear-gradient(180deg, #2C2C31 0%, #1C1C20 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -4px 0 rgba(0, 0, 0, .45), 0 10px 20px -8px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .6);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.key--sun { color: var(--ink); background: linear-gradient(180deg, #FFD65C 0%, #F6B800 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -4px 0 rgba(140, 90, 0, .45), 0 12px 24px -10px rgba(255, 199, 44, .6), 0 0 0 1px rgba(120, 80, 0, .35); }
.key--ink { color: var(--sun); background: linear-gradient(180deg, #232326 0%, #0E0E10 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -4px 0 rgba(0, 0, 0, .6), 0 10px 18px -8px rgba(0, 0, 0, .5); }
.key--sm { width: 44px; height: 44px; border-radius: 12px; font-size: 15px; }
.key svg { width: 20px; height: 20px; }

/* ---------- кейси: вітрина ---------- */
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.fc { position: relative; display: flex; flex-direction: column; min-height: 520px; padding: 28px; border: 0; border-radius: var(--r); background: var(--s1); color: inherit; text-align: left; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; overflow: hidden; transition: transform 500ms var(--ease), box-shadow 300ms ease, background-color 300ms ease, opacity 700ms var(--ease); }
.fc--wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.feat > .fc:nth-child(3) { grid-column: 1; }
.fc__main { display: flex; flex-direction: column; min-height: 100%; }
.fc__top { display: flex; align-items: center; gap: 12px; }
.fc__ava { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--s1), 0 0 0 3px var(--line-2); }
.fc__niche { font-size: 15px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.fc__niche small { display: block; font-size: 13px; color: var(--mute); font-weight: 400; margin-top: 2px; }
.fc__title { margin: 26px 0 0; font-weight: 500; font-size: clamp(24px, 2.1vw, 32px); line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.fc__big { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 28px 0 0; }
.fc__big b { font-weight: 500; font-size: clamp(56px, 5.6vw, 88px); line-height: .8; letter-spacing: -.065em; color: var(--sun); }
.fc__big span { font-size: 14.5px; color: var(--mute); max-width: 12em; line-height: 1.3; }
.fc__bars { display: grid; gap: 12px; margin: 30px 0 0; }
.bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: baseline; }
.bar__l { font-size: 13px; color: var(--mute); }
.bar b { grid-row: 1; grid-column: 2; font: 500 14px var(--mono); letter-spacing: -.02em; }
.bar__t { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: var(--s3); overflow: hidden; }
.bar__t i { display: block; height: 100%; width: var(--w); border-radius: 8px; background: #5A5A62; transform-origin: left; transform: scaleX(0); transition: transform 1400ms var(--ease) 300ms; }
.bar.is-hot .bar__t i { background: linear-gradient(90deg, #F2B705, var(--sun)); transition-delay: 500ms; }
.bar.is-hot b { color: var(--sun); }
.fc.is-in .bar__t i, .no-io .bar__t i { transform: none; }
.fc__kpis { list-style: none; margin: auto 0 0; padding: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fc__kpis li { padding-top: 12px; border-top: 1px solid var(--line); }
.fc__kpis b { display: block; font-weight: 500; font-size: 22px; letter-spacing: -.04em; }
.fc__kpis span { display: block; margin-top: 2px; font-size: 13px; color: var(--mute); line-height: 1.3; }
.fc__more { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; font-size: 14px; color: var(--mute); }
.fc__media { position: relative; border-radius: 18px; overflow: hidden; background: var(--s2); }
.fc__media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; filter: grayscale(.2) brightness(.9); transition: transform 900ms var(--ease), filter 500ms ease; }
.fc__media--grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; background: var(--bg); min-height: 360px; }
.fc__media--grid img:nth-child(n+5) { display: none; }
.fc__media--grid img { min-height: 0; height: 100%; aspect-ratio: auto; object-position: center; filter: saturate(.9) brightness(.92); }
.fc__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line); border-radius: inherit; }
.card__arrow { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--s3); color: var(--text); transition: background-color 250ms ease, color 250ms ease, transform 400ms var(--ease); }
.card__arrow svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .fc:hover { transform: translateY(-4px); background: var(--s2); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(0, 0, 0, .8); }
  .fc:hover .card__arrow, .mc:hover .card__arrow { background: var(--sun); color: var(--ink); transform: rotate(-45deg); }
  .fc:hover .fc__media img { transform: scale(1.04); filter: none; }
  .has-cursor .fc, .has-cursor .mc[data-id] { cursor: none; }
}
.fc:active, .mc:active { transform: scale(.99); }

/* кейси: стрічка */
.mc__head { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; margin: clamp(56px, 6vw, 88px) 0 20px; }
.mc__title { margin: 0; font-weight: 500; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.045em; line-height: 1; }
.mc__count { font: 500 15px var(--mono); color: var(--sun); vertical-align: super; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { border: 0; padding: 10px 16px; border-radius: 100px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); color: var(--mute); font-size: 14px; cursor: pointer; transition: background-color 220ms ease, color 220ms ease, transform 160ms var(--ease); }
.filters button:hover { color: var(--text); }
.filters button:active { transform: scale(.96); }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--ink); box-shadow: none; }
.rail-nav { display: flex; gap: 8px; margin-left: auto; }
.rail-nav button { width: 48px; height: 48px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--s2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background-color 200ms ease, color 200ms ease, opacity 200ms ease, transform 160ms var(--ease); }
.rail-nav button svg { width: 18px; height: 18px; }
.rail-nav button:hover:not(:disabled) { background: var(--sun); color: var(--ink); }
.rail-nav button:active:not(:disabled) { transform: scale(.94); }
.rail-nav button:disabled { opacity: .35; cursor: default; }
.rail { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(var(--gut), (100% - var(--wrap)) / 2) 18px; scroll-padding-inline: max(var(--gut), (100% - var(--wrap)) / 2); scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
@media (hover: hover) and (pointer: fine) { .rail { cursor: grab; } .rail.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; } .rail.is-drag * { pointer-events: none; } }
.mc { position: relative; flex: none; width: 300px; min-height: 320px; display: flex; flex-direction: column; padding: 22px; border: 0; border-radius: 24px; background: var(--s1); color: inherit; text-align: left; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; scroll-snap-align: start; transition: transform 400ms var(--ease), background-color 300ms ease, box-shadow 300ms ease; }
.mc[hidden] { display: none; }
.mc__top { display: flex; align-items: center; gap: 10px; min-height: 32px; }
.mc__ava { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.mc__niche { font-size: 13.5px; font-weight: 500; line-height: 1.25; color: #C9C9CF; }
.mc__title { display: block; margin-top: 18px; font-weight: 500; font-size: 20px; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.mc__kpi { display: block; margin-top: auto; padding-top: 22px; }
.mc__kpi b { display: block; font-weight: 500; font-size: 40px; line-height: .9; letter-spacing: -.06em; color: var(--sun); }
.mc__kpi span { display: block; margin-top: 6px; font-size: 13px; color: var(--mute); line-height: 1.3; max-width: 15em; }
.mc__geo { display: block; margin-top: 16px; padding-top: 14px; padding-right: 56px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mute-2); line-height: 1.3; }
.mc > .card__arrow { position: absolute; right: 18px; bottom: 16px; width: 40px; height: 40px; }
.mc--cta { background: var(--sun); color: var(--ink); box-shadow: none; }
.mc--cta .mc__title { margin-top: 0; font-size: 28px; line-height: 1; }
.mc__head .mc__title { margin: 0; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; letter-spacing: -.045em; }
.mc--cta .mc__geo { margin-top: auto; border-color: rgba(11, 11, 12, .15); color: rgba(11, 11, 12, .65); }
.mc--cta .card__arrow { background: var(--ink); color: var(--sun); }
@media (hover: hover) and (pointer: fine) { .mc:hover { transform: translateY(-4px); background: var(--s2); box-shadow: inset 0 0 0 1px var(--line-2); } .mc--cta:hover { background: #FFD24F; } .mc--cta:hover .card__arrow { background: var(--ink); color: var(--sun); } }

/* курсор-бульбашка */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-size: 14px; font-weight: 500; pointer-events: none; transform: translate3d(var(--x, -200px), var(--y, -200px), 0) scale(var(--s, 0)); transition: transform 0s, opacity 200ms ease; will-change: transform; }

/* ---------- лист кейсу ---------- */
.sheet { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(920px, 100%); height: 100%; max-height: none; max-width: none; padding: 0; border: 0; background: var(--s1); color: var(--text); overflow: hidden; box-shadow: -40px 0 80px rgba(0, 0, 0, .5); }
.sheet[open] { display: flex; flex-direction: column; animation: sheet-in 560ms var(--drawer); }
.sheet.is-closing { animation: sheet-out 360ms var(--drawer) forwards; }
.sheet::backdrop { background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade 400ms ease; }
.sheet.is-closing::backdrop { opacity: 0; transition: opacity 300ms ease; }
@keyframes sheet-in { from { transform: translateX(100%); } }
@keyframes sheet-out { to { transform: translateX(100%); } }
.sheet__bar { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 28px; border-bottom: 1px solid var(--line); }
.sheet__niche { font-size: 14px; color: var(--mute); }
.sheet__x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--s3); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background-color 200ms ease, transform 160ms var(--ease); }
.sheet__x:hover { background: #2E2E33; }
.sheet__x:active { transform: scale(.94); }
.sheet__x svg { width: 20px; height: 20px; }
.sheet__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 40px 28px 48px; }
.sheet__body > * { max-width: 760px; }
.sh-geo { margin: 0; font-size: 14px; color: var(--mute); }
.sh-title { margin: 10px 0 0; font-weight: 500; font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: -.055em; }
.sh-lead { margin: 22px 0 0; font-size: 18px; line-height: 1.5; color: #C9C9CF; }
.sh-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 32px; }
.sh-kpi { padding: 20px; border-radius: 20px; background: var(--s2); }
.sh-kpi:first-child { background: var(--sun); color: var(--ink); }
.sh-kpi b { display: block; font-weight: 500; font-size: 30px; letter-spacing: -.045em; line-height: 1; }
.sh-kpi span { display: block; margin-top: 10px; font-size: 13px; line-height: 1.3; opacity: .7; }
.sh-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.sh-meta div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.sh-meta div:nth-child(odd) { padding-right: 16px; }
.sh-meta dt { font-size: 12.5px; color: var(--mute); }
.sh-meta dd { margin: 3px 0 0; font-size: 15px; }
.sh-img { margin: 32px 0 0; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.sh-img img { width: 100%; }
.sh-img figcaption { padding: 10px 14px; background: var(--s2); color: var(--mute); font-size: 13px; }
.sh-block { margin-top: 40px; }
.sh-block h3 { margin: 0 0 14px; font-weight: 500; font-size: 22px; letter-spacing: -.035em; }
.sh-block p { margin: 0; color: #C9C9CF; font-size: 16px; }
.sh-block ul { list-style: none; margin: 0; padding: 0; }
.sh-block li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--line); color: #C9C9CF; font-size: 15.5px; line-height: 1.45; }
.sh-block li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; border-radius: 2px; background: var(--sun); }
.sh-table { width: 100%; overflow-x: auto; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.sh-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 460px; }
.sh-table th, .sh-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sh-table thead th { font-size: 12.5px; font-weight: 400; color: var(--mute); background: var(--s2); }
.sh-table tbody tr:last-child td { border-bottom: 0; }
.sh-table td:not(:first-child) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sh-table td:first-child { color: #C9C9CF; }
.sh-note { margin-top: 12px !important; padding: 14px 16px; border-radius: 14px; background: var(--s2); font-size: 14.5px !important; color: var(--mute) !important; }
.sh-cta { margin-top: 48px; padding: 28px; border-radius: 24px; background: var(--sun); color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.sh-cta p { margin: 0; font-weight: 500; font-size: 24px; letter-spacing: -.04em; line-height: 1.1; max-width: 14em; }
.sh-cta .btn { background: var(--ink); color: var(--text); }
.sh-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.sh-nav button { flex: 1; text-align: left; border: 0; padding: 18px 20px; border-radius: 18px; background: var(--s2); cursor: pointer; transition: background-color 200ms ease; }
.sh-nav button:hover { background: var(--s3); }
.sh-nav button:last-child { text-align: right; }
.sh-nav small { display: block; font-size: 12.5px; color: var(--mute); }
.sh-nav span { font-size: 15px; }
.sh-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sh-gal figure { margin: 0; border-radius: 16px; overflow: hidden; background: var(--s2); box-shadow: inset 0 0 0 1px var(--line); align-self: start; }
.sh-gal figure.is-wide { grid-column: 1 / -1; }
.sh-gal figure.is-chat { padding: 14px 14px 0; background: var(--bg); }
.sh-gal img { width: 100%; }
.sh-gal figcaption { padding: 10px 14px; font-size: 13px; color: var(--mute); }
.sh-gal figure.is-chat figcaption { padding: 12px 0; }

/* ---------- відгуки ---------- */
.voices__head { align-items: flex-end; }
.voices__rail { align-items: flex-start; }
.voice { flex: none; width: 360px; margin: 0; padding: 16px; border-radius: 26px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); scroll-snap-align: start; transition: box-shadow 300ms ease, transform 400ms var(--ease); }
.voice__msg { position: relative; max-height: 540px; overflow: hidden; }
.voice__msg img { width: 100%; height: auto; pointer-events: none; }
.voice.is-long .voice__msg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(0deg, var(--s1) 8%, transparent); transition: opacity 300ms ease; }
.voice.is-open .voice__msg { max-height: none; }
.voice.is-open .voice__msg::after { opacity: 0; }
.voice__more { all: unset; display: block; margin: 10px auto 0; padding: 7px 14px; border-radius: 100px; font-size: 13px; color: var(--text); background: var(--s3); cursor: pointer; transition: background-color 200ms ease; }
.voice__more:hover { background: #2E2E33; }
.voice__cap { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; margin-top: 14px; padding: 14px 4px 2px; border-top: 1px solid var(--line); }
.voice__cap b { grid-column: 1; font-weight: 500; font-size: 14.5px; letter-spacing: -.01em; }
.voice__cap > span { grid-column: 1; font-size: 13.5px; color: var(--sun); line-height: 1.35; }
.voice__case { all: unset; grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 100px; font-size: 13px; background: var(--s2); cursor: pointer; transition: background-color 200ms ease, color 200ms ease; }
.voice__case svg { width: 14px; height: 14px; }
.voice__case:hover, .voice__case:focus-visible { background: var(--sun); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .voice:hover { box-shadow: inset 0 0 0 1px var(--line-2); } }

/* ---------- правила ---------- */
.rules__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.rcard { position: relative; padding: 28px; border-radius: var(--r); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.rcard__top { display: flex; align-items: center; gap: 18px; }
.rcard__top .key { flex: none; }
.rcard h3 { margin: 0; font-weight: 500; font-size: clamp(21px, 1.8vw, 25px); line-height: 1.1; letter-spacing: -.04em; text-wrap: balance; }
.rcard p { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--mute); line-height: 1.55; }

/* ---------- калькулятор ---------- */
.widget { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); }
.widget__in, .widget__out { padding: clamp(22px, 2.6vw, 34px); border-radius: var(--r); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); }
.widget__in { display: flex; flex-direction: column; gap: 34px; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px; border-radius: 18px; background: var(--bg); }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 50px; padding: 8px 12px; border-radius: 13px; font-size: 14px; line-height: 1.2; color: var(--mute); transition: background-color 250ms ease, color 250ms ease; }
.seg input:checked + span { background: var(--s3); color: var(--text); }
.seg label.is-all input:checked + span { background: var(--sun); color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--sun); }
@media (max-width: 520px) { .seg { gap: 4px; padding: 4px; } .seg span { min-height: 56px; padding: 6px 4px; font-size: 12.5px; border-radius: 12px; } }
.range__top { display: flex; justify-content: space-between; align-items: baseline; }
.range label { font-size: 14.5px; color: var(--mute); }
.range output { font-weight: 500; font-size: 28px; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; background: transparent; cursor: pointer; margin: 4px 0 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(var(--sun), var(--sun)) 0 0 / var(--p, 30%) 100% no-repeat, var(--s3); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--s3); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--sun); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: var(--text); box-shadow: 0 4px 12px rgba(0, 0, 0, .5); transition: transform 160ms var(--ease); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--text); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.widget__out { display: flex; flex-direction: column; }
.out { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.out:first-child { padding-top: 0; }
.out__k { color: var(--mute); }
.out__v { font-weight: 500; font-size: 28px; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.roi { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin: 22px 0; padding: 22px 24px; border-radius: 20px; background: var(--s2); }
.roi__k { color: var(--mute); max-width: 10em; line-height: 1.3; }
.roi__v { font-weight: 500; font-size: clamp(40px, 4.4vw, 60px); letter-spacing: -.055em; line-height: 1; color: var(--sun); font-variant-numeric: tabular-nums; }
.roi__bar { flex-basis: 100%; height: 6px; border-radius: 6px; background: var(--s3); position: relative; overflow: hidden; }
.roi__bar i { position: absolute; top: 0; bottom: 0; left: var(--a, 20%); width: var(--w, 40%); border-radius: 6px; background: linear-gradient(90deg, #F2B705, var(--sun)); transition: left 500ms var(--ease), width 500ms var(--ease); }
.verdict { margin: 0 0 18px; padding: 14px 16px 14px 44px; border-radius: 16px; font-size: 14.5px; line-height: 1.4; position: relative; background: rgba(46, 204, 113, .1); color: #C7F2D6; }
.verdict::before { content: ""; position: absolute; left: 16px; top: 17px; width: 14px; height: 14px; border-radius: 50%; background: #2ECC71; box-shadow: 0 0 10px rgba(46, 204, 113, .6); }
.verdict[data-tone="warn"] { background: rgba(255, 199, 44, .1); color: #FFE3A0; }
.verdict[data-tone="warn"]::before { background: var(--sun); box-shadow: 0 0 10px rgba(255, 199, 44, .6); }
.verdict[data-tone="stop"] { background: rgba(255, 107, 87, .12); color: #FFC4B8; }
.verdict[data-tone="stop"]::before { background: #FF6B57; box-shadow: 0 0 10px rgba(255, 107, 87, .6); }
.verdict b { color: #fff; font-weight: 600; }
.widget__out .btn { margin-top: auto; }
.out.is-dim .out__v, .roi.is-dim .roi__v { opacity: .45; }

/* ---------- шлях клієнта ---------- */
.jr { list-style: none; margin: 0; padding: 0; }
.jr__step { --sp: 0; display: grid; grid-template-columns: minmax(0, 4fr) 56px minmax(0, 7fr); }
.jr__when, .jr__card { margin-bottom: 16px; }
.jr__when { text-align: right; }
.jr__t { font: 500 13px var(--mono); color: var(--sun); }
.jr__when h3 { margin: 6px 0 0; font-weight: 500; font-size: clamp(28px, 3vw, 44px); line-height: 1; letter-spacing: -.055em; color: var(--mute-2); transition: color 500ms ease; }
.jr__step.is-lit .jr__when h3 { color: var(--text); }
.jr__node { position: relative; display: block; }
.jr__node::before { content: ""; position: absolute; left: 50%; top: 4px; width: 16px; height: 16px; margin-left: -8px; border-radius: 5px; background: var(--bg); box-shadow: inset 0 0 0 2px var(--s3); z-index: 1; transition: background-color 400ms ease, box-shadow 400ms ease, transform 500ms var(--ease); }
.jr__node::after { content: ""; position: absolute; left: 50%; top: 20px; bottom: -4px; width: 2px; margin-left: -1px; background: linear-gradient(var(--sun), var(--sun)) 0 0 / 100% calc(var(--sp) * 100%) no-repeat, var(--s3); }
.jr__step:last-child .jr__node::after { display: none; }
.jr__step.is-lit .jr__node::before { background: var(--sun); box-shadow: 0 0 0 6px rgba(255, 199, 44, .14), 0 0 24px rgba(255, 199, 44, .45); transform: rotate(45deg); }
.jr__card { padding: 22px 24px; border-radius: 22px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 12px; transition: box-shadow 500ms ease; }
.jr__step.is-lit .jr__card { box-shadow: inset 0 0 0 1px var(--line-2); }
.jr__row { margin: 0; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: baseline; font-size: 15.5px; line-height: 1.45; }
.jr__row b { justify-self: start; padding: 3px 10px; border-radius: 100px; font: 500 12px var(--mono); background: var(--s3); color: var(--text); }
.jr__row + .jr__row b { background: var(--sun); color: var(--ink); }
.jr__row span { color: var(--mute); }
.jr__row + .jr__row span { color: var(--text); }
.jr__out { margin: 4px 0 0; padding-top: 14px; border-top: 1px dashed var(--line-2); display: grid; gap: 4px; font-size: 15px; line-height: 1.4; }
.jr__out span:first-child { font: 500 12px var(--mono); color: var(--mute); }
.jr__out span:last-child { color: var(--sun); }
.jr__note { margin: 18px 0 0; font: 400 13px var(--mono); color: var(--mute-2); text-align: center; }

/* ---------- засновник ---------- */
.fs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 104px); align-items: center; }
.fs__photo { margin: 0; position: relative; }
.fs__frame { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--s2); }
.fs__frame img { width: 100%; height: 108%; object-fit: cover; object-position: 50% 30%; transform: translateY(var(--py, 0px)); }
.fs__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); background: linear-gradient(0deg, rgba(9,9,10,.35), transparent 30%); }
.fs__name { max-width: 6em; }
.fs__quote { margin: 34px 0 0; padding-left: 20px; border-left: 3px solid var(--sun); }
.fs__quote p { margin: 0; font-weight: 500; font-size: clamp(20px, 2vw, 28px); line-height: 1.2; letter-spacing: -.035em; max-width: 20em; }
.fs__path { list-style: none; margin: 36px 0 34px; padding: 0; display: grid; gap: 0; }
.fs__path li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: #C9C9CF; }
.fs__path li:last-child { border-bottom: 1px solid var(--line); }
.fs__path b { font: 500 14px var(--mono); color: var(--sun); }
.fs__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.play { display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border: 0; border-radius: 100px; background: var(--s2); color: var(--text); font-size: 14.5px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 200ms ease; }
.play:hover { background: var(--s3); }
.play__i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); }
.play__i svg { width: 15px; height: 15px; margin-left: 2px; }
.play__i path { fill: var(--ink); stroke: none; }

/* ---------- команда ---------- */
.crew { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.mate { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.mate__ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate; background: radial-gradient(120% 90% at 50% 100%, #1F1F23 0%, #141416 60%); }
.mate__ph::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 16%; width: 84%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #FFD65C 0%, var(--sun) 55%, #E9A800 100%); box-shadow: 0 0 80px 10px rgba(255, 199, 44, .22); transform: translateX(-50%) scale(var(--sc, 1)); transition: transform 1000ms cubic-bezier(.34, 1.4, .64, 1); }
.mate__ph img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform-origin: 50% 100%; transition: transform 900ms var(--ease), filter 900ms ease, opacity 700ms ease; }
.mate__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--s1) 0%, rgba(18,18,20,.82) 9%, rgba(18,18,20,.5) 18%, rgba(18,18,20,.24) 27%, rgba(18,18,20,.08) 35%, rgba(18,18,20,0) 42%); pointer-events: none; }
.mate__tag { transition: background-color 300ms ease, color 300ms ease; position: absolute; z-index: 1; left: 14px; top: 14px; padding: 6px 11px; border-radius: 100px; font: 500 12px var(--mono); color: var(--text); background: rgba(9, 9, 10, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line-2); }
.mate__body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; padding: 0 20px 20px; margin-top: -34px; }
.mate__name { margin: 0; font-weight: 500; font-size: 24px; letter-spacing: -.045em; line-height: 1.05; }
.mate__role { margin: 4px 0 0; font-size: 14px; color: var(--mute); line-height: 1.35; }
.mate__fact { margin: 12px 0 0; font-size: 14px; color: var(--sun); line-height: 1.35; }
.mate .tags { margin: 0; padding-top: 14px; }
.mate .tags li { font-size: 12px; padding: 5px 10px; }
.mate__ig { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 16px; padding: 8px 14px 8px 10px; border-radius: 100px; font: 400 12.5px var(--mono); color: var(--text); background: var(--s2); box-shadow: inset 0 0 0 1px var(--line); transition: background-color 200ms ease, color 200ms ease; }
.mate__ig[hidden] { display: none; }
.mate__body > .mate__ig, .lab__links { margin-top: auto; }
.mate__body > .tags { margin-bottom: 18px; }
.mate__ig svg { width: 16px; height: 16px; }
.mate__ig:hover { background: var(--sun); color: var(--ink); }
.mate--lead { grid-column: span 2; flex-direction: row; }
.mate--lead .mate__ph { flex: 0 0 50%; aspect-ratio: auto; }
.mate--lead .mate__ph::after { background: linear-gradient(270deg, var(--s1) 0%, rgba(18,18,20,.9) 8%, rgba(18,18,20,.62) 18%, rgba(18,18,20,.3) 30%, rgba(18,18,20,.1) 40%, rgba(18,18,20,0) 50%), linear-gradient(0deg, var(--s1) 0%, rgba(18,18,20,.5) 12%, rgba(18,18,20,0) 30%); }
.mate--lead .mate__body { margin: 0; justify-content: flex-end; padding: 28px; }
.mate--lead .mate__name { font-size: clamp(28px, 2.4vw, 36px); }
.mate--lab { background: radial-gradient(ellipse 80% 60% at 50% 18%, rgba(255, 199, 44, .14), transparent 70%), #0E0E10; }
.lab__head { position: relative; aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.lab__mark { width: 42%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6)); transition: transform 900ms var(--ease); }
.lab__word { margin: 0; font-weight: 600; font-size: clamp(22px, 1.9vw, 28px); letter-spacing: .14em; }
.lab__word span { color: var(--sun); }
.mate--lab .mate__body { margin-top: -54px; }
.mate--lab .mate__role { color: #C9C9CF; font-size: 14.5px; }
.tags--lab li { color: var(--text); }
.lab__links { display: flex; flex-wrap: wrap; gap: 8px; }
.lab__links .mate__ig { margin-top: 0; }
@media (hover: hover) and (pointer: fine) {
  .mate:hover .mate__ph img { transform: scale(1.04) translateY(-2%); }
  .mate:hover .mate__ph::before { --sc: 1.1; }
  .mate:hover .mate__tag { background: var(--sun); color: var(--ink); box-shadow: none; }
  .mate--lab:hover .lab__mark { transform: rotate(-12deg) scale(1.04); }
}

/* ---------- оффер ---------- */
.offer__card { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(28px, 6vw, 88px); border-radius: 36px; background: radial-gradient(ellipse 60% 80% at 85% 50%, rgba(255, 199, 44, .16), transparent 70%), var(--s1); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.offer__k { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 7px 14px; border-radius: 100px; font: 500 13px var(--mono); color: var(--sun); box-shadow: inset 0 0 0 1px rgba(255, 199, 44, .35); }
.offer__k i { width: 8px; height: 8px; border-radius: 2px; background: var(--sun); animation: blink 1.6s ease-in-out infinite; }
.offer__sub { margin: 26px 0 34px; max-width: 28em; font-size: 17px; color: var(--mute); }
.receipt { position: relative; background: #F6F5F1; color: var(--ink); padding: 26px 26px 30px; border-radius: 18px 18px 0 0; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .55)); rotate: -2deg; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; background: conic-gradient(from -45deg at 50% 100%, #F6F5F1 90deg, transparent 0) 0 0 / 24px 12px repeat-x; }
.receipt__top { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px dashed rgba(11, 11, 12, .22); font: 500 12px var(--mono); color: #6A6A70; text-transform: uppercase; letter-spacing: .04em; }
.receipt__top span:first-child { color: var(--ink); font-weight: 600; }
.receipt__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.receipt__list li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: -.015em; }
.receipt__list li::after { content: ""; order: 1; flex: 1 1 24px; min-width: 24px; border-bottom: 1.5px dotted rgba(11, 11, 12, .3); transform: translateY(-4px); }
.receipt__list li > span { order: 0; min-width: 0; }
.receipt__list li > b { order: 2; flex: none; font: 500 12.5px var(--mono); white-space: nowrap; }
.receipt__gift { margin: 4px -12px 0; padding: 12px !important; border-radius: 12px; background: var(--sun); }
.receipt__gift::after { border-color: rgba(11, 11, 12, .35) !important; }
.receipt__gift s { opacity: .55; margin-right: 4px; }
.receipt__total { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 18px 0 0; padding-top: 16px; border-top: 2px solid var(--ink); font-weight: 500; font-size: 14.5px; line-height: 1.3; }
.receipt__total b { font-weight: 500; font-size: clamp(44px, 4vw, 60px); line-height: .85; letter-spacing: -.06em; }
.receipt__note { margin: 14px 0 0; font: 400 12.5px/1.5 var(--mono); color: #6A6A70; }
.receipt { rotate: -2deg; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -.025em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--s2); position: relative; transition: background-color 250ms ease; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; background: var(--text); transform: translate(-50%, -50%); transition: transform 300ms var(--ease); }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] summary i { background: var(--sun); }
.qa[open] summary i::before, .qa[open] summary i::after { background: var(--ink); }
.qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.qa__a p { margin: 0 0 26px; max-width: 38em; color: var(--mute); }
.qa[open] .qa__a { animation: rise 400ms var(--ease); }

/* ---------- заявка ---------- */
.audit { padding: var(--sec) var(--gut) var(--gut); }
.audit__card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); max-width: calc(var(--wrap) + 2 * 56px); margin-inline: auto; padding: clamp(28px, 5vw, 64px); border-radius: 36px; background: var(--sun); color: var(--ink); }
.audit__title { margin: 0; font-weight: 500; font-size: clamp(40px, 5.2vw, 80px); line-height: .9; letter-spacing: -.06em; text-wrap: balance; }
.audit__sub { margin: 24px 0 0; font-size: 17px; line-height: 1.45; max-width: 26em; }
.gets { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid rgba(11, 11, 12, .15); }
.gets li { padding: 14px 0; border-bottom: 1px solid rgba(11, 11, 12, .15); font-size: 17px; display: flex; gap: 12px; align-items: center; }
.gets li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--ink); flex: none; }
.audit__alt { margin: 30px 0 0; font-size: 15px; }
.audit__alt b { padding: 2px 8px; border-radius: 6px; background: var(--ink); color: var(--sun); font-weight: 500; }
.audit__alt a { text-decoration: underline; text-underline-offset: 3px; }
.form { background: var(--ink); color: var(--text); border-radius: 26px; padding: clamp(20px, 2.8vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--mute); }
.field input { min-height: 54px; padding: 0 16px; border-radius: 14px; border: 0; background: var(--s2); color: var(--text); font-size: 16px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 200ms ease; }
.field input::placeholder { color: #8A8A92; }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--sun); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #FF6B57; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; padding: 0; margin-bottom: 8px; font-size: 13.5px; color: var(--mute); }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 100px; background: var(--s2); font-size: 14.5px; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease); }
.chips label:active span { transform: scale(.96); }
.chips input:checked + span { background: var(--sun); color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 2px; }
.form__err { margin: 0; color: #FF8A78; }
.form__hint { margin: -4px 0 0; font-size: 13px; color: var(--mute); text-align: center; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.btn.is-busy { pointer-events: none; opacity: .7; }

/* ---------- футер ---------- */
.foot { padding: calc(var(--sec) * .5) 0 0; overflow: hidden; }
.foot__row { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; font-size: 14.5px; color: var(--mute); }
.foot__row p { margin: 0; }
.foot__row ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.foot__row a:hover { color: var(--text); }
.foot__made { position: relative; z-index: 1; margin: 0; padding: 18px var(--gut) 22px; text-align: center; font-size: 13px; letter-spacing: .01em; color: var(--mute-2); background: var(--bg); border-top: 1px solid var(--s2); }
.foot__made a { color: var(--text); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(255, 199, 44, .55); text-underline-offset: 4px; transition: color 200ms ease, text-decoration-color 200ms ease; }
.foot__made a:hover { color: var(--sun); text-decoration-color: var(--sun); }
.foot__word { margin: 32px 0 0; text-align: center; font-weight: 500; font-size: 23vw; line-height: .74; letter-spacing: -.08em; color: var(--s2); user-select: none; transform: translateY(10%); }

.dock { display: none; }
.toast { position: fixed; left: 50%; bottom: 100px; z-index: 400; transform: translate(-50%, 16px); opacity: 0; background: var(--text); color: var(--ink); padding: 12px 18px; border-radius: 100px; font-size: 14.5px; pointer-events: none; transition: opacity 240ms ease, transform 320ms var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ===== єдина система появи =====
   текст: слова проявляються з легкого розмиття й підйому; блоки: м’яко спливають. Одна крива, одна тривалість. */
.rv-t .w { display: inline-block; }
.js .rv-t .w { opacity: 0; filter: blur(12px); transform: translateY(.38em); transition: opacity 1000ms var(--rv-e), filter 1100ms var(--rv-e), transform 1300ms var(--rv-e); transition-delay: calc(var(--d0, 0ms) + var(--i, 0) * var(--st, 50ms)); }
.js .rv-t.is-in .w { opacity: 1; filter: blur(0); transform: none; }
.js .rv-b { opacity: 0; transform: translateY(40px) scale(.985); transition: opacity 1000ms var(--rv-e), transform 1300ms var(--rv-e); transition-delay: var(--d, 0ms); }
.js .rv-b.is-in { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc__card { min-height: 0; }
  .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat { grid-template-columns: 1fr 1fr; }
  .fc--wide { grid-column: 1 / -1; }
  .feat > .fc:nth-child(3) { grid-column: auto; }
  .feat > .fc:nth-child(2) { grid-column: 1; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__side .till { width: 300px; }
}
@media (max-width: 900px) {
  :root { --sec: 88px; --head: 30px; --gap: 10px; }
  .nav { height: 64px; gap: 12px; }
  .hero { padding-top: 96px; min-height: 0; }
  .hero__grid { -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 10%, transparent 75%); }
  .hero__in { grid-template-columns: 1fr; padding-bottom: 34px; gap: 40px; }
  .hero__ctas .btn { width: 100%; }
  .hero__ctas .cta-v { width: 100%; }
  .hero__copy { --man-w: 220px; }
  .hero__side { justify-content: flex-start; }
  .hero__side .till { width: 100%; max-width: 380px; }
  .till__paper { margin: -6px 14px 0; padding: 16px 14px 14px; }
  .till__tape { height: 214px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero__sub { margin-top: 22px; font-size: 16px; }
  /* висота від ширини, а не від висоти екрана: коли на телефоні ховається адресний рядок, графік не тягнеться */
  .hero__chart { top: 150px; bottom: auto; height: clamp(420px, 150vw, 640px); --mx: linear-gradient(90deg, rgba(0,0,0,.45) 0%, #000 60%); --my: linear-gradient(180deg, rgba(0,0,0,.35) 0%, #000 45%, #000 80%, transparent 100%); }
  .ch-chips { display: none; }
  .hero__title { font-size: clamp(54px, 17vw, 96px); line-height: .88; }
  .clients__head { grid-template-columns: 1fr; gap: 20px; }
  .clients__aside { padding: 0; }
  .clients__lead { font-size: 16px; }
  .ig { width: 284px; padding: 16px; }
  .ig:nth-child(even) { margin-top: 18px; }
    .svc { grid-template-columns: 1fr; }
  .svc__card { padding: 22px; }
  .svc__card h3 { margin-top: 22px; font-size: 22px; }
  .sec__lead, .svc__lead { font-size: 16px; }
  .feat { grid-template-columns: 1fr; }
  .fc, .fc--wide { grid-column: auto !important; min-height: 0; padding: 22px; }
  .fc--wide { display: flex; flex-direction: column-reverse; gap: 20px; }
  .fc__media { aspect-ratio: 16 / 10; }
  .fc__media--grid { aspect-ratio: 1; min-height: 0; }
  .fc__main { min-height: 0; }
  .fc__kpis { margin-top: 0; }
  .fc__title { margin-top: 20px; }
  .fc__big { margin-top: 22px; }
  .fc__big b { font-size: 60px; }
  .fc__kpis { padding-top: 24px; }
  .mc__head { gap: 14px; }
  .mc__head .rail-nav { display: none; }
  .filters { width: 100%; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding: 0 var(--gut) 4px; width: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
  .mc { width: 78vw; max-width: 300px; }
  .voices__head .rail-nav { display: none; }
  .voice { width: 84vw; max-width: 360px; padding: 14px; }
  .voice__msg { max-height: 480px; }
  .rules__cards, .widget, .faq__grid, .audit__card, .offer__card { grid-template-columns: 1fr; }
  .rcard { padding: 22px; }
  .jr__step { grid-template-columns: 24px minmax(0, 1fr); column-gap: 14px; }
  .jr__node { grid-column: 1; grid-row: 1 / span 2; }
  .jr__when { grid-column: 2; grid-row: 1; text-align: left; margin-bottom: 12px; }
  .jr__card { grid-column: 2; grid-row: 2; margin-bottom: 28px; padding: 18px; }
  .jr__node::before { top: 2px; }
  .jr__node::after { top: 18px; bottom: -2px; }
  .jr__row { grid-template-columns: 38px 1fr; gap: 10px; font-size: 15px; }
  .jr__note { text-align: left; }
  .fs { grid-template-columns: 1fr; }
  .fs__path li { grid-template-columns: 52px 1fr; font-size: 14.5px; }
  .fs__ctas .btn { width: 100%; }
  .crew { grid-template-columns: 1fr 1fr; }
  .mate--lead { grid-column: 1 / -1; flex-direction: column; }
  .mate--lead .mate__ph { flex: none; aspect-ratio: 4 / 5; }
  .mate--lead .mate__ph::after { background: linear-gradient(0deg, var(--s1) 0%, rgba(18,18,20,.82) 9%, rgba(18,18,20,.5) 18%, rgba(18,18,20,.24) 27%, rgba(18,18,20,.08) 35%, rgba(18,18,20,0) 42%); }
  .mate--lead .mate__body { margin-top: -34px; padding: 0 16px 18px; }
  .mate__body { padding: 0 14px 16px; margin-top: -28px; }
  .mate__name { font-size: 19px; }
  .mate__role, .mate__fact { font-size: 13px; }
  .mate .tags li { font-size: 11px; padding: 4px 8px; }
  .mate__tag { left: 10px; top: 10px; font-size: 11px; padding: 5px 9px; }
  .mate__ig { font-size: 11.5px; padding: 7px 11px 7px 8px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .mate--lab { grid-column: 1 / -1; }
  .mate--lab .lab__head { aspect-ratio: auto; padding: 34px 0 22px; gap: 16px; }
  .mate--lab .lab__mark { width: 96px; }
  .mate--lab .mate__body { margin-top: 0; padding: 0 16px 18px; }
  .crew > .mate:nth-child(6) { grid-column: 1 / -1; flex-direction: row; }
  .crew > .mate:nth-child(6) .mate__ph { flex: 0 0 46%; aspect-ratio: 4 / 5; }
  .crew > .mate:nth-child(6) .mate__ph::after { background: linear-gradient(270deg, var(--s1) 0%, transparent 40%); }
  .crew > .mate:nth-child(6) .mate__body { margin-top: 0; padding: 16px 14px; justify-content: center; }
  .mate__ig svg { display: none; }
  .mate__ig { padding: 7px 10px; font-size: 10.5px; }
  .offer__card { padding: 28px 16px 40px; border-radius: 28px; gap: 44px; }
  .offer__intro .btn { width: 100%; }
  .receipt { padding: 20px 18px 24px; rotate: -1deg; }
  .receipt { rotate: -1deg; }
  .receipt__list li { font-size: 14px; gap: 8px; }
  .receipt__list li::after { min-width: 12px; flex-basis: 12px; }
  .receipt__total { flex-direction: column; align-items: flex-start; }
  .form__row { grid-template-columns: 1fr; }
  .audit { padding: var(--sec) 10px 10px; }
  .audit__card { border-radius: 28px; padding: 28px 16px 16px; }
  .form { padding: 18px; }
  .sheet { width: 100%; }
  .sheet__bar { padding: 14px 16px; }
  .sheet__body { padding: 28px 16px 40px; }
  .sh-kpis { grid-template-columns: 1fr; }
  .sh-meta { grid-template-columns: 1fr; }
  .sh-meta div:nth-child(odd) { padding-right: 0; }
  .roi { flex-direction: column; align-items: flex-start; }
  .verdict { font-size: 14px; }
  .foot { padding-bottom: 0; }
  .foot__made { padding-bottom: 96px; }
  .dock { display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; transform: translateY(160%); transition: transform 420ms var(--ease); }
  .dock .btn { min-height: 56px; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .8); }
  .dock.is-on { transform: none; }
  .dock.is-hidden { transform: translateY(160%); }
  .cursor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .js .rv-t .w, .js .rv-b, .js .pill-h::before, .js .ch-chip, .js .cta-v__man img { opacity: 1 !important; transform: none !important; translate: none !important; filter: none !important; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-inline: var(--gut); }
  .bar__t i { transform: none !important; }
}
@media (hover: hover) and (pointer: fine) { .js .fc.is-in:hover { transform: translateY(-4px); } }

/* відгуки-колажі зі сторіс: скріни Telegram на фірмовій підкладці */
.collage { position: relative; width: 100%; border-radius: 18px; overflow: hidden; background:
  radial-gradient(90% 70% at 85% 10%, rgba(255, 199, 44, .2), transparent 60%),
  radial-gradient(80% 60% at 0% 100%, rgba(84, 120, 255, .12), transparent 60%),
  radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px) 0 0 / 14px 14px,
  #17171A; box-shadow: inset 0 0 0 1px var(--line); }
.collage__in { position: relative; margin: 7%; }
.collage__in img { position: absolute; height: auto; border-radius: 12px; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .55)); }
.collage__in img:only-child { position: relative; width: 100% !important; left: 0 !important; top: 0 !important; }
.collage__in img:not(:only-child) { transform: rotate(var(--rf, 0deg)); }
.voice--collage .voice__msg { max-height: none; }
@media (prefers-reduced-motion: reduce) { .hero__chart .ch-dot { opacity: 1; } }

/* ================= Влад над формою заявки ================= */
.fwrap { position: relative; padding-top: 150px; align-self: start; }
.fwrap .form { position: relative; z-index: 1; }
.fwrap__vlad { position: absolute; z-index: 0; top: 0; left: 50%; width: 210px; margin-left: -105px; pointer-events: none; }
.fwrap__vlad img { display: block; width: 100%; height: auto; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .25)); }
.fwrap__vlad::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 40%; width: 170%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 60%); }
.js .fwrap__vlad img { transform: translateY(46%); transition: transform 1300ms var(--rv-e) 250ms; }
.js .fwrap.is-in .fwrap__vlad img { transform: none; }
.fstat { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 2px; padding: 11px 16px; border-radius: 100px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; color: #D9D9DE; text-align: center; }
.fstat i { position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #2ECC71; box-shadow: 0 0 12px rgba(46, 204, 113, .8); animation: fstat-blink 1.4s ease-in-out infinite; }
.fstat i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(46, 204, 113, .55); animation: ping 1.8s var(--ease) infinite; }
.fstat[data-s="typing"] i { background: var(--sun); box-shadow: 0 0 12px rgba(255, 199, 44, .8); animation-duration: .7s; }
.fstat[data-s="typing"] i::after { box-shadow: 0 0 0 1.5px rgba(255, 199, 44, .55); animation-duration: 1s; }
.fstat[data-s="ready"] { color: var(--sun); box-shadow: inset 0 0 0 1px rgba(255, 199, 44, .35); }
.fstat[data-s="ready"] i { background: var(--sun); box-shadow: 0 0 14px var(--sun); }
.fstat[data-s="ready"] i::after { box-shadow: 0 0 0 1.5px rgba(255, 199, 44, .6); }
.fstat[data-s="got"] { color: #C7F2D6; }
.fstat.is-swap span { animation: fstat-in 450ms var(--rv-e); }
@keyframes fstat-blink { 50% { opacity: .35; } }
@keyframes fstat-in { from { opacity: 0; transform: translateY(6px); filter: blur(4px); } }
@media (max-width: 900px) {
  .fwrap { padding-top: 132px; }
  .fwrap__vlad { width: 180px; margin-left: -90px; }
  .fstat { font-size: 13.5px; padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) { .js .fwrap__vlad img { transform: none; } .fstat i, .fstat i::after { animation: none; } }
