/* ───────── Токены ───────── */
:root {
  --bg: #07070a;
  --bg-2: #0d0d12;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hi: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --text: #ededf2;
  --muted: #8d8d9a;
  --accent: #ff3355;
  --accent-2: #ff7a45;
  --ok: #3ddc97;
  --radius: 24px;
  --radius-sm: 14px;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 clamp(15px, 1.05vw, 17px) / 1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
[hidden] { display: none !important; }

svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ───────── Фон: зерно и индикатор прокрутки ───────── */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* ───────── Кнопки ───────── */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  height: var(--h); padding: 0 1.5em; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); text-decoration: none; cursor: pointer;
  font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; position: relative; overflow: hidden;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.35s var(--ease), box-shadow 0.3s var(--ease);
}
.btn svg { width: 1.15em; height: 1.15em; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { --h: 38px; padding: 0 1.1em; font-size: 0.875rem; }
.btn--lg { --h: 58px; padding: 0 2em; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--ghost:hover { background: var(--surface-hi); border-color: rgba(255, 255, 255, 0.22); }
.btn--accent {
  border-color: transparent; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 40px -10px rgba(255, 51, 85, 0.55);
}
.btn--accent:hover { box-shadow: 0 14px 52px -8px rgba(255, 70, 70, 0.75); }
.btn:active { transform: scale(0.97); }
.btn[disabled] { cursor: progress; opacity: 0.85; }

.btn__spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.7s linear infinite; }
.is-loading .btn__spinner { display: block; }
.is-loading .btn__label { opacity: 0.8; }
@keyframes spin { to { transform: rotate(360deg); } }

.link { display: inline-flex; align-items: center; gap: 0.4em; margin-top: 1rem; color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color 0.3s; }
.link:hover { border-color: var(--accent); }
.link svg { width: 1.1em; height: 1.1em; transition: transform 0.3s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ───────── Навигация (плавающий «остров») ───────── */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 80; translate: -50% 0;
  width: min(calc(100% - 28px), 980px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(14, 14, 20, 0.55); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  transition: transform 0.5s var(--ease), background 0.3s;
}
.nav.is-hidden { transform: translateY(-140%); }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 0.82rem var(--font-display); letter-spacing: 0.04em; }
.nav__logo b { color: var(--accent); margin-left: 0.35em; font-weight: 700; }
.logo-mark { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 18px rgba(255, 51, 85, 0.6); transform: rotate(12deg); }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 0.9rem; font-weight: 500; transition: color 0.25s, background 0.25s; }
.nav__links a:hover { color: var(--text); background: var(--surface-hi); }
.nav__right { display: flex; align-items: center; gap: 10px; }

.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 0.8rem; color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); display: inline-block; flex: none; }
.status-pill.is-up .dot, .eyebrow .dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.6); animation: pulse 2s infinite; }
.status-pill.is-down .dot { background: var(--accent); }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }

.burger { display: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); position: relative; cursor: pointer; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.burger span:first-child { top: 14px; }
.burger span:last-child { top: 22px; }
.burger[aria-expanded="true"] span:first-child { top: 18px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 18px; transform: rotate(-45deg); }

/* ───────── Hero ───────── */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; padding: 120px var(--gutter) 90px; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; background: radial-gradient(120% 80% at 50% 100%, #2a0a14 0%, var(--bg) 60%); }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(70% 55% at 50% 45%, rgba(7, 7, 10, 0.55), transparent 70%),
  linear-gradient(to bottom, rgba(7, 7, 10, 0.5), transparent 28%, transparent 62%, var(--bg) 100%); }
.hero__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 3vh, 30px); max-width: 1100px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10, 10, 14, 0.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--muted); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.hero__title { font: 800 clamp(3rem, 13.5vw, 11.5rem) / 0.9 var(--font-display); letter-spacing: -0.045em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; }
.line { display: block; overflow: hidden; padding: 0.04em 0.06em 0.12em; }
.line__in { display: block; }
.line--outline .line__in { color: transparent; background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; position: relative; }
.line--outline .line__in::after { content: attr(data-text); position: absolute; inset: 0; color: transparent; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.85) 50%, transparent 65%) 0 0 / 250% 100% no-repeat; -webkit-background-clip: text; background-clip: text; animation: sheen 5s 1.6s var(--ease) infinite; }
@keyframes sheen { 0% { background-position: 120% 0; } 45%, 100% { background-position: -80% 0; } }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.55rem); color: #c9c9d4; font-weight: 300; letter-spacing: 0.02em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.address { display: inline-flex; align-items: center; gap: 14px; padding: 10px 12px 10px 18px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, 0.22); background: rgba(10, 10, 14, 0.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); cursor: pointer; transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease); }
.address:hover { border-color: var(--accent); background: rgba(255, 51, 85, 0.08); }
.address:active { transform: scale(0.97); }
.address__label { font-size: 0.7rem; letter-spacing: 0.14em; color: var(--muted); font-weight: 700; }
.address__value { font: 600 1rem ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.02em; }
.address__icon { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-hi); display: grid; place-items: center; }
.address__icon svg { position: absolute; width: 17px; height: 17px; transition: opacity 0.25s, transform 0.4s var(--ease); }
.address .i-check { opacity: 0; transform: scale(0.4) rotate(-30deg); color: var(--ok); }
.address.is-copied .i-copy { opacity: 0; transform: scale(0.4); }
.address.is-copied .i-check { opacity: 1; transform: none; }
.address--sm { padding: 6px 8px 6px 16px; }
.address--sm .address__icon { width: 30px; height: 30px; }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, 0.3); }
.scroll-hint i { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Вход hero: строки «выезжают» из-под маски, остальное проявляется */
.js [data-hero] { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 150ms); }
.js .hero__title .line { opacity: 1; transform: none; }
.js .hero__title .line__in { transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 150ms); }
.js .is-ready [data-hero] { opacity: 1; transform: none; }
.js .is-ready .hero__title .line__in { transform: none; }

/* ───────── Бегущая строка ───────── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 20px 0; background: var(--bg-2); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 38s linear infinite; font: 600 clamp(1rem, 2vw, 1.4rem) var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; color: #b9b9c6; }
.marquee__track i { width: 10px; height: 10px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── Секции ───────── */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--gutter) 0; }
.section--bleed { max-width: none; padding-inline: 0; }
.section--bleed .section__head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: clamp(24px, 4vw, 48px); }
.h2 { font: 700 clamp(2rem, 5.2vw, 4.2rem) / 1.05 var(--font-display); letter-spacing: -0.035em; margin-bottom: clamp(28px, 4vw, 56px); }
.section__head .h2 { margin-bottom: 0; }
.h2 em { font-style: normal; color: var(--accent); }
.kicker { color: var(--accent); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 22px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #c3c3ce; max-width: 34ch; margin-bottom: 18px; }
a { text-underline-offset: 3px; }
.muted a, .step a, .apply a { color: var(--text); text-decoration-color: var(--accent); }

/* Раскрытие по скроллу */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Манифест: слова проявляются по мере прокрутки */
.statement { font: 600 clamp(1.5rem, 3.6vw, 3.1rem) / 1.25 var(--font-display); letter-spacing: -0.025em; max-width: 24em; }
.statement .w { opacity: 0.16; transition: opacity 0.25s linear; }
.statement .w.on { opacity: 1; }
.statement .w.em.on { color: var(--accent); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.stat { padding: 28px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font: 700 clamp(2.2rem, 5vw, 4rem) / 1 var(--font-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat b small { font-size: 0.4em; margin-left: 0.15em; color: var(--muted); letter-spacing: 0; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 0.9rem; }

/* ───────── Bento ───────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { grid-column: span 2; position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)); padding: clamp(22px, 2.4vw, 34px); min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; }
.card--wide { grid-column: span 4; }
.card h3 { font: 600 clamp(1.15rem, 1.7vw, 1.55rem) / 1.2 var(--font-display); letter-spacing: -0.02em; margin: 6px 0 10px; }
.card p { color: var(--muted); max-width: 44ch; }
.card__tag { font-size: 0.74rem !important; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent) !important; }
.card__body { position: relative; z-index: 1; }

/* Подсветка, следующая за курсором (карточки и отзывы) */
.spot { --mx: 50%; --my: 50%; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 90, 90, 0.85), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 51, 85, 0.09), transparent 60%); }
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* Графика внутри карточек — только CSS */
.art { position: absolute; pointer-events: none; }
.art--whitelist { right: clamp(18px, 3vw, 40px); top: clamp(18px, 3vw, 36px); display: grid; grid-template-columns: repeat(3, 44px); gap: 10px; }
.art--whitelist span { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); animation: tile 4.5s var(--ease) infinite; animation-delay: calc(var(--n, 0) * 0.35s); }
.art--whitelist span:nth-child(1) { --n: 0; } .art--whitelist span:nth-child(2) { --n: 1; } .art--whitelist span:nth-child(3) { --n: 2; }
.art--whitelist span:nth-child(4) { --n: 3; } .art--whitelist span:nth-child(5) { --n: 4; } .art--whitelist span:nth-child(6) { --n: 5; }
@keyframes tile { 0%, 70%, 100% { background: var(--surface); border-color: var(--line); } 15%, 40% { background: rgba(255, 51, 85, 0.35); border-color: rgba(255, 51, 85, 0.8); box-shadow: 0 0 24px rgba(255, 51, 85, 0.4); } }

.art--voice { position: relative; height: 84px; margin-bottom: auto; display: flex; align-items: center; justify-content: flex-start; gap: 7px; }
.art--voice i { width: 6px; height: 22px; border-radius: 4px; background: linear-gradient(to top, var(--accent), var(--accent-2)); animation: eq 1.2s ease-in-out infinite; transform-origin: 50% 50%; }
.art--voice i:nth-child(2) { animation-delay: -0.2s; } .art--voice i:nth-child(3) { animation-delay: -0.45s; } .art--voice i:nth-child(4) { animation-delay: -0.7s; }
.art--voice i:nth-child(5) { animation-delay: -0.3s; } .art--voice i:nth-child(6) { animation-delay: -0.9s; } .art--voice i:nth-child(7) { animation-delay: -0.1s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(2.6); } }

.art--grid { right: -10%; top: -20%; width: 60%; height: 140%; opacity: 0.55; transform: perspective(500px) rotateX(58deg) rotateZ(-18deg); background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 34px 34px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 34px 34px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); animation: gridmove 14s linear infinite; }
@keyframes gridmove { to { background-position: 0 34px, 34px 0; } }

/* ───────── Шаги ───────── */
.steps { list-style: none; counter-reset: s; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: clamp(80px, 12vw, 180px) 1fr; align-items: center; gap: 16px; padding: clamp(22px, 3vw, 38px) 0; border-bottom: 1px solid var(--line); transition: padding-left 0.5s var(--ease); }
.step:hover { padding-left: 14px; }
.step__n { font: 800 clamp(2.4rem, 7vw, 5.4rem) / 1 var(--font-display); color: rgba(255, 255, 255, 0.12); transition: color 0.4s; }
.step:hover .step__n { color: var(--accent); }
.step h3 { font: 600 clamp(1.15rem, 2vw, 1.6rem) var(--font-display); letter-spacing: -0.02em; margin-bottom: 6px; }
.step p { color: var(--muted); max-width: 60ch; }

/* ───────── Карта ───────── */
.mapframe { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: var(--bg-2); box-shadow: 0 40px 120px -40px rgba(255, 51, 85, 0.25); }
.mapframe__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.mapframe__bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.mapframe__bar span { margin-left: 12px; font: 500 0.8rem ui-monospace, Menlo, Consolas, monospace; color: var(--muted); }
.mapframe__body { position: relative; aspect-ratio: 16 / 9; min-height: 320px; }
.mapframe__body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; animation: fade 0.8s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.mapframe__poster { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 20px; }
.poster-grid { position: absolute; inset: -30%; opacity: 0.5; transform: perspective(700px) rotateX(62deg); background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent); mask-image: radial-gradient(closest-side, #000 20%, transparent); animation: gridmove2 10s linear infinite; }
@keyframes gridmove2 { to { background-position: 0 56px, 56px 0; } }
.mapframe__poster > :not(.poster-grid) { position: relative; }

/* ───────── Галерея ───────── */
.slider-ctrl { display: flex; gap: 8px; }
.slider-ctrl button, .lightbox__nav, .lightbox__close { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease); }
.slider-ctrl button:hover, .lightbox__nav:hover, .lightbox__close:hover { background: var(--surface-hi); border-color: rgba(255, 255, 255, 0.25); }
.slider-ctrl button:active { transform: scale(0.92); }
.slider-ctrl svg, .lightbox__nav svg { width: 20px; height: 20px; }
.gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 28px; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.gallery::-webkit-scrollbar { display: none; }
.gallery.is-drag { cursor: grabbing; scroll-snap-type: none; }
.gallery.is-drag .shot { pointer-events: none; }
.shot { flex: none; width: clamp(280px, 38vw, 560px); aspect-ratio: 16 / 10; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); scroll-snap-align: center; cursor: zoom-in; position: relative; transition: transform 0.6s var(--ease), border-color 0.3s; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.5s; filter: saturate(0.9) brightness(0.92); -webkit-user-drag: none; user-select: none; }
.shot:hover { border-color: rgba(255, 255, 255, 0.28); }
.shot:hover img { transform: scale(1.06); filter: none; }

.lightbox { border: 0; padding: 0; background: rgba(5, 5, 8, 0.94); color: var(--text); width: 100vw; height: 100vh; max-width: none; max-height: none; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.lightbox[open] { display: grid; place-items: center; animation: fade 0.35s var(--ease); }
.lightbox::backdrop { background: transparent; }
.lightbox > img { max-width: min(92vw, 1600px); max-height: 86vh; border-radius: var(--radius-sm); box-shadow: 0 30px 120px rgba(0, 0, 0, 0.7); animation: zoom 0.5s var(--ease); }
@keyframes zoom { from { opacity: 0; transform: scale(0.96); } }
.lightbox__close { position: fixed; top: 20px; right: 20px; font-size: 1.8rem; line-height: 1; z-index: 2; }
.lightbox__nav { position: fixed; top: 50%; translate: 0 -50%; z-index: 2; }
.lightbox__nav--prev { left: 20px; } .lightbox__nav--next { right: 20px; }
.video-wrap { width: min(92vw, 1100px); aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.video-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ───────── Отзывы ───────── */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.voice { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.voice blockquote { font-size: clamp(1rem, 1.25vw, 1.15rem); color: #d5d5de; position: relative; z-index: 1; }
.voice blockquote::before { content: "“"; display: block; font: 700 3.4rem / 0.7 var(--font-display); color: var(--accent); margin-bottom: 14px; }
.voice figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; position: relative; z-index: 1; }
.voice figcaption small { grid-column: 2; color: var(--muted); }
.voice figcaption b { grid-column: 2; font-weight: 600; }
.ava { grid-row: span 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 700 0.95rem var(--font-display); background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }

/* ───────── Форма ───────── */
.apply { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 7vw, 110px); align-items: start; }
.apply .h2 { margin-bottom: 24px; }
.form { display: grid; gap: 22px; position: relative; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)); }
.field { position: relative; padding-top: 8px; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid var(--line); color: var(--text); font: 500 1.05rem var(--font); padding: 18px 0 10px; border-radius: 0; resize: vertical; transition: border-color 0.3s; }
.field textarea { min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field label { position: absolute; left: 0; top: 24px; color: var(--muted); pointer-events: none; transition: transform 0.35s var(--ease), color 0.3s, font-size 0.35s var(--ease); transform-origin: 0 0; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-24px) scale(0.78); color: var(--accent); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--accent); }
.field__error { min-height: 0; color: #ff6b81; font-size: 0.82rem; margin-top: 6px; }
.field__error:empty { display: none; }
.form__error { color: #ff6b81; text-align: center; font-size: 0.9rem; }
.form__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.success { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 30px; border-radius: inherit; background: #0b0b10; animation: fade 0.5s var(--ease); }
.success svg { width: 84px; height: 84px; stroke: var(--ok); stroke-width: 2.5; }
.success circle { stroke-dasharray: 145; stroke-dashoffset: 145; animation: draw 0.8s 0.1s var(--ease) forwards; }
.success path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.5s 0.6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font: 700 1.5rem var(--font-display); letter-spacing: -0.02em; }
.success p { color: var(--muted); max-width: 32ch; }

/* ───────── Подвал ───────── */
.footer { margin-top: clamp(80px, 12vw, 160px); padding: 0 var(--gutter) 36px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__word { font: 800 clamp(2.2rem, 9.6vw, 14rem) / 0.95 var(--font-display); letter-spacing: -0.045em; text-align: center; white-space: nowrap; color: rgba(255, 255, 255, 0.07); padding: 0.1em 0 0.05em; user-select: none; -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%); mask-image: linear-gradient(to bottom, #000 30%, transparent 95%); }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; max-width: var(--max); margin: 0 auto; }
.social { display: flex; gap: 10px; }
.social a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: var(--surface); transition: background 0.25s, border-color 0.25s, transform 0.35s var(--ease), color 0.25s; }
.social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; stroke: none; fill: currentColor; }
.footer__copy { max-width: var(--max); margin: 28px auto 0; color: var(--muted); font-size: 0.82rem; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; translate: -50% 30px; opacity: 0; padding: 12px 22px; border-radius: 999px; background: #17171f; border: 1px solid var(--line); font-weight: 500; font-size: 0.92rem; pointer-events: none; transition: opacity 0.35s var(--ease), translate 0.45s var(--ease); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.toast.show { opacity: 1; translate: -50% 0; }

/* ───────── Адаптив ───────── */
@media (max-width: 900px) {
  .nav__links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 6px; background: rgba(7, 7, 10, 0.97); border-radius: 0; opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease); }
  .nav__links a { font: 700 clamp(1.8rem, 8vw, 2.6rem) var(--font-display); color: var(--text); padding: 10px 20px; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .burger { display: block; }
  .status-pill { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card, .card--wide { grid-column: span 1; min-height: 240px; }
  .card--wide:first-child { grid-column: span 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 28px; }
  .voices { grid-template-columns: 1fr; }
  .apply { grid-template-columns: 1fr; }
  .art--whitelist { grid-template-columns: repeat(3, 34px); } .art--whitelist span { width: 34px; height: 34px; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .card, .card--wide, .card--wide:first-child { grid-column: span 1; }
  .step { grid-template-columns: 70px 1fr; }
  .hero__cta .btn--lg { --h: 52px; padding: 0 1.5em; }
  .lightbox__nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; }
  .marquee__track { animation: none; }
  .js [data-reveal], .js [data-hero], .js .hero__title .line__in { opacity: 1; transform: none; }
  .statement .w { opacity: 1; }
}

/* Якоря не прячутся под плавающей навигацией */
section[id], main[id] { scroll-margin-top: 70px; }
