/* =========================================================
   OPUS Lab · публичный сайт
   ========================================================= */

@font-face { font-family: 'Unbounded'; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url(../fonts/unbounded-cyrillic-wght-normal.woff2) format('woff2-variations'), url(../fonts/unbounded-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url(../fonts/unbounded-latin-wght-normal.woff2) format('woff2-variations'), url(../fonts/unbounded-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(../fonts/manrope-cyrillic-wght-normal.woff2) format('woff2-variations'), url(../fonts/manrope-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(../fonts/manrope-latin-wght-normal.woff2) format('woff2-variations'), url(../fonts/manrope-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #FBF8F3;
  --bg-2: #F3EDE4;
  --card: #FFFFFF;
  --ink: #15121E;
  --ink-2: #474355;
  --muted: #8A8797;
  --line: rgba(21, 18, 30, .1);
  --violet: #6D3BFF;
  --pink: #FF3D7F;
  --orange: #FF8A1F;
  --yellow: #FFC700;
  --cyan: #00B8C9;
  --green: #22C55E;
  --grad: linear-gradient(115deg, #6D3BFF 0%, #B23BFF 30%, #FF3D7F 62%, #FF8A1F 100%);
  --grad-soft: linear-gradient(115deg, rgba(109,59,255,.14), rgba(255,61,127,.12), rgba(255,138,31,.14));
  --r: 28px;
  --r-sm: 16px;
  --f-d: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --f: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1260px;
  --gut: clamp(16px, 4vw, 40px);
  --hdr: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 500 17px/1.6 var(--f); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::after { /* зерно */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 999; opacity: .32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.45 0 0 0 0 0.4 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--violet); color: #fff; }
.ic { width: 1.2em; height: 1.2em; flex: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Кнопки ---------- */
.btn {
  --h: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
  isolation: isolate; overflow: hidden; will-change: transform;
}
.btn .ic { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn-lg { --h: 60px; padding: 0 32px; font-size: 16px; }
.btn-grad { color: #fff; background: var(--grad); background-size: 200% 100%; background-position: 0 0; box-shadow: 0 10px 30px -10px rgba(109, 59, 255, .6); }
.btn-grad::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, #FF8A1F, #FF3D7F, #6D3BFF); opacity: 0; transition: opacity .45s; }
.btn-grad:hover { box-shadow: 0 16px 40px -12px rgba(255, 61, 127, .7); }
.btn-grad:hover::before { opacity: 1; }
.btn-outline { border: 2px solid var(--ink); color: var(--ink); }
.btn-outline::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); border-radius: inherit; transition: transform .45s var(--ease-out); }
.btn-outline:hover { color: #fff; }
.btn-outline:hover::before { transform: none; }
.btn-ghost { background: rgba(21, 18, 30, .06); color: var(--ink); }
.btn-ghost:hover { background: rgba(21, 18, 30, .1); }
.btn-icon { width: var(--h); padding: 0; }
.btn-icon:hover .ic { transform: none; }

/* ---------- Прелоадер ---------- */
.loader { position: fixed; inset: 0; z-index: 1000; background: var(--ink); display: grid; place-items: center; align-content: center; gap: 26px;
  transition: clip-path .9s var(--ease-out) .05s; clip-path: inset(0 0 0 0); }
.loader-word { display: flex; font: 800 clamp(56px, 12vw, 140px)/1 var(--f-d); letter-spacing: -.04em; overflow: hidden; }
.loader-word span { display: inline-block; background: var(--grad); background-size: 400% 100%; background-position: calc(var(--i) * 30%) 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(110%); animation: ldIn .8s var(--ease-out) forwards; animation-delay: calc(var(--i) * .07s); }
.loader-bar { width: 180px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); animation: ldBar 1s var(--ease) .15s forwards; }
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader.is-skip { display: none; }
@keyframes ldIn { to { transform: none; } }
@keyframes ldBar { to { transform: scaleX(1); } }

/* ---------- Прогресс, курсор ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 300; }
  .cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
  .cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--ink); transition: opacity .2s, background-color .2s; }
  .cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid rgba(21, 18, 30, .35); display: grid; place-items: center;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .35s, opacity .3s; }
  .cursor-ring em { font: 700 12px var(--f); font-style: normal; color: #fff; opacity: 0; transform: scale(.6); transition: .3s var(--ease); letter-spacing: .02em; }
  .cursor.is-link .cursor-ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-color: var(--violet); background: rgba(109, 59, 255, .08); }
  .cursor.is-view .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--ink); border-color: var(--ink); }
  .cursor.is-view .cursor-ring em { opacity: 1; transform: none; }
  .cursor.is-view .cursor-dot, .cursor.is-hidden .cursor-dot, .cursor.is-hidden .cursor-ring { opacity: 0; }
  .cursor.is-dark .cursor-dot { background: #fff; }
  .cursor.is-dark .cursor-ring { border-color: rgba(255, 255, 255, .5); }
}

/* ---------- Шапка ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 14px 0; transition: padding .4s var(--ease), transform .45s var(--ease); }
.hdr-in { display: flex; align-items: center; gap: 24px; height: 60px; position: relative; }
.hdr-in::before { content: ''; position: absolute; inset: 0 calc(var(--gut) - 14px); border-radius: 999px; background: rgba(251, 248, 243, .72);
  backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); border: 1px solid rgba(21, 18, 30, .07);
  box-shadow: 0 10px 40px -20px rgba(21, 18, 30, .25); opacity: 0; transform: scale(.98); transition: opacity .4s, transform .4s var(--ease); z-index: -1; }
.hdr.is-scrolled { padding: 8px 0; }
.hdr.is-scrolled .hdr-in::before { opacity: 1; transform: none; }
.hdr.is-hidden { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand .logo-mark { transition: transform .8s var(--ease-out); }
.brand:hover .logo-mark { transform: rotate(200deg); }
.brand-name { display: inline-flex; align-items: baseline; gap: 5px; font-family: var(--f-d); }
.brand-name b { font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.brand-name i { font-style: normal; font-weight: 500; font-size: 14px; color: var(--violet); }
.nav { display: flex; gap: 6px; margin: 0 auto; }
.nav a { position: relative; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink-2); transition: color .25s, background-color .25s; }
.nav a:hover { color: var(--ink); background: rgba(21, 18, 30, .06); }
.hdr-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav + .hdr-actions { margin-left: 0; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22.5px; transform: rotate(-45deg); }

.mnav { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gut) 40px; clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .7s var(--ease-out); visibility: hidden; }
.menu-open .mnav { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.menu-open .hdr .brand, .menu-open .hdr .my-chat, .menu-open .hdr .hdr-cta { opacity: 0; pointer-events: none; }
.menu-open .burger { background: #fff; }
.menu-open .burger span { background: var(--ink); }
.mnav nav { display: flex; flex-direction: column; gap: 4px; }
.mnav nav a { font: 700 clamp(34px, 9vw, 56px)/1.15 var(--f-d); letter-spacing: -.03em; display: flex; align-items: baseline; gap: 14px;
  opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease-out); }
.mnav nav a span { font: 600 13px var(--f); color: var(--pink); }
.menu-open .mnav nav a { opacity: 1; transform: none; }
.menu-open .mnav nav a:nth-child(1) { transition-delay: .15s; }
.menu-open .mnav nav a:nth-child(2) { transition-delay: .2s; }
.menu-open .mnav nav a:nth-child(3) { transition-delay: .25s; }
.menu-open .mnav nav a:nth-child(4) { transition-delay: .3s; }
.menu-open .mnav nav a:nth-child(5) { transition-delay: .35s; }
.mnav-contacts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.mnav-contacts a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-weight: 700; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--hdr) + 50px) 0 170px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.b1 { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; background: #B7A2FF; top: -14%; left: -10%; animation: blob1 18s ease-in-out infinite alternate; }
.b2 { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; background: #FFB0CB; top: 8%; right: -12%; animation: blob2 20s ease-in-out infinite alternate; }
.b3 { width: 34vw; height: 34vw; max-width: 480px; max-height: 480px; background: #FFD9A8; bottom: -18%; left: 22%; animation: blob3 16s ease-in-out infinite alternate; }
.b4 { width: 22vw; height: 22vw; max-width: 320px; max-height: 320px; background: #9EEDF3; bottom: 4%; right: 12%; animation: blob1 22s ease-in-out infinite alternate-reverse; }
@keyframes blob1 { to { transform: translate(12%, 18%) scale(1.15); } }
@keyframes blob2 { to { transform: translate(-16%, 14%) scale(.9); } }
@keyframes blob3 { to { transform: translate(18%, -12%) scale(1.2); } }
.grid-lines { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(21, 18, 30, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 18, 30, .05) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%); }

.hero-in { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(21, 18, 30, .08); font-weight: 700; font-size: 14px; color: var(--ink-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

.hero-title { margin: 28px 0 0; font: 800 clamp(40px, 8.2vw, 124px)/.98 var(--f-d); letter-spacing: -.045em; display: flex; flex-direction: column; align-items: center; }
.ln { display: block; overflow: hidden; padding: .04em .08em .1em; margin: -.04em 0 -.1em; }
.ln-in { display: inline-block; position: relative; transform: translateY(105%) rotate(4deg); transform-origin: left bottom; transition: transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.is-ready .ln-in { transform: none; }
.ln-rot { font-size: calc(1em * var(--rot-scale, 1)); }
.rot { position: relative; display: inline-grid; justify-items: center; }
.rot-word { grid-area: 1/1; white-space: nowrap; background: var(--grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradMove 6s ease-in-out infinite alternate; padding: 0 .04em; opacity: 0; transform: translateY(100%) rotate(5deg); transform-origin: left bottom;
  transition: transform .9s var(--ease-out), opacity .6s var(--ease-out); }
.rot-word.is-in { opacity: 1; transform: none; }
.rot-word.is-out { opacity: 0; transform: translateY(-95%) rotate(-3deg); transition-duration: .6s, .4s; }
@keyframes gradMove { to { background-position: 100% 0; } }
.squiggle { position: absolute; left: 2%; right: 2%; bottom: -.06em; width: 96%; height: .22em; overflow: visible; }
.squiggle path { fill: none; stroke: var(--yellow); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.2s var(--ease-out) 1.1s; }
.is-ready .squiggle path { stroke-dashoffset: 0; }
.hero-title .ln:last-child .ln-in { z-index: 1; }
.hero-title .ln:last-child .squiggle { z-index: -1; }

.hero-text { max-width: 640px; margin: 30px auto 0; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.hero-channels { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 34px; font-size: 14px; font-weight: 600; color: var(--muted); }
.hc { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; transition: transform .3s var(--ease); }
.hc .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--c); color: #fff; }
.hc em { font-style: normal; font-size: 13px; }
.hc:hover { transform: translateY(-3px) rotate(-3deg); }

.reveal-up { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.is-ready .reveal-up { opacity: 1; transform: none; }

/* плавающие карточки */
.hero-float { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fcard { position: absolute; will-change: transform; transition: transform .9s var(--ease-out); }
.fcard-in { position: relative; border-radius: 22px; overflow: hidden; background: #fff; padding: 7px; box-shadow: 0 30px 60px -24px rgba(21, 18, 30, .35), 0 0 0 1px rgba(21, 18, 30, .05);
  opacity: 0; transform: scale(.7) rotate(var(--rot)); transition: opacity 1s var(--ease-out), transform 1.3s var(--ease-out); animation: floaty 7s ease-in-out infinite; }
.is-ready .fcard-in { opacity: 1; transform: rotate(var(--rot)); }
.fcard img, .fcard-ph { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; }
.fcard-ph { background: linear-gradient(135deg, var(--c), #fff 140%); }
.fcard-tag { position: absolute; left: 16px; bottom: 16px; padding: 5px 10px; border-radius: 999px; background: var(--c); color: #fff; font: 700 11px var(--f); letter-spacing: .01em; }
.p1 { width: clamp(150px, 15vw, 230px); left: 3%; top: 17%; --rot: -9deg; }
.p1 .fcard-in { transition-delay: .7s; animation-delay: -1s; }
.p2 { width: clamp(170px, 17vw, 260px); left: 6%; bottom: 10%; --rot: 7deg; }
.p2 .fcard-in { transition-delay: .85s; animation-delay: -3s; }
.p3 { width: clamp(170px, 17vw, 260px); right: 4%; top: 15%; --rot: 8deg; }
.p3 .fcard-in { transition-delay: .78s; animation-delay: -2s; }
.p4 { width: clamp(150px, 14vw, 220px); right: 7%; bottom: 12%; --rot: -6deg; }
.p4 .fcard-in { transition-delay: .95s; animation-delay: -4s; }
@keyframes floaty { 50% { translate: 0 -14px; } }

.shape { position: absolute; will-change: transform; transition: transform .9s var(--ease-out); }
.s-star { width: 64px; height: 64px; left: 22%; top: 20%; }
.s-star svg { width: 100%; height: 100%; fill: var(--yellow); animation: spin 14s linear infinite; filter: drop-shadow(0 8px 16px rgba(255, 199, 0, .4)); }
.s-ring { width: 74px; height: 74px; right: 25%; top: 13%; border-radius: 50%; border: 12px solid var(--violet); opacity: .9; animation: bob 6s ease-in-out infinite; }
.s-pill { width: 96px; height: 38px; left: 29%; top: 13%; border-radius: 999px; background: var(--cyan); transform: rotate(-24deg); animation: bob 5s ease-in-out -2s infinite; }
.s-dot { width: 26px; height: 26px; right: 24%; bottom: 23%; border-radius: 50%; background: var(--pink); animation: bob 4s ease-in-out -1s infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { translate: 0 -16px; } }

.scroll-hint { position: absolute; left: 50%; margin-left: -54px; bottom: 26px; width: 108px; height: 108px; z-index: 3; display: grid; place-items: center; }
.badge-rot { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge-rot text { font: 700 10.5px var(--f-d); letter-spacing: .14em; fill: var(--ink); }
.scroll-arrow { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .4s var(--ease), background-color .3s; }
.scroll-arrow .ic { transform: rotate(90deg); width: 20px; height: 20px; }
.scroll-hint:hover .scroll-arrow { transform: scale(1.12); background: var(--pink); }

/* ---------- Бегущие строки ---------- */
.marquees { position: relative; height: 250px; margin: -40px 0 0; overflow: hidden; }
.marquee { position: absolute; left: -5%; right: -5%; padding: 20px 0; overflow: hidden; }
.m1 { top: 50px; background: var(--ink); color: #fff; transform: rotate(-3deg); z-index: 2; box-shadow: 0 20px 40px -20px rgba(21, 18, 30, .5); }
.m2 { top: 125px; background: var(--yellow); color: var(--ink); transform: rotate(2deg); }
.mq-track { display: flex; width: max-content; animation: mq 50s linear infinite; }
.m2 .mq-track { animation-direction: reverse; animation-duration: 60s; }
.marquees:hover .mq-track { animation-play-state: paused; }
.mq-group { display: flex; align-items: center; flex: none; }
.mq-item { font: 700 clamp(20px, 2.4vw, 30px)/1 var(--f-d); letter-spacing: -.02em; padding: 0 22px; white-space: nowrap; }
.mq-star { color: var(--c); font-size: clamp(20px, 2.4vw, 30px); line-height: 1; display: inline-block; animation: spin 6s linear infinite; }
.m2 .mq-star { color: var(--ink); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.sec-head-row .sec-sub { max-width: 420px; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 13px var(--f); text-transform: uppercase; letter-spacing: .14em; color: var(--violet); }
.eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: var(--grad); }
.eyebrow.light { color: #C9B8FF; }
.h2 { margin: 16px 0 0; font: 800 clamp(34px, 5.6vw, 78px)/1.02 var(--f-d); letter-spacing: -.045em; }
.h2.light { color: #fff; }
.sec-sub { margin: 20px 0 0; font-size: 18px; color: var(--ink-2); }

/* разбивка заголовков по словам */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(110%) rotate(3deg); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * .06s); }
[data-split].in .w > span { transform: none; }

[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Направления ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1200px; }
.svc-grid > .svc:last-child:nth-child(3n+1) { grid-column: 1 / -1; min-height: 240px; }
.svc-grid > .svc:last-child:nth-child(3n+2) { grid-column: span 2; }
.svc { position: relative; display: flex; flex-direction: column; min-height: 330px; padding: 30px; border-radius: var(--r); background: var(--card);
  border: 1px solid var(--line); overflow: hidden; isolation: isolate; transform-style: preserve-3d;
  transition: opacity .9s var(--ease-out), transform .6s var(--ease-out), box-shadow .5s, color .5s, border-color .5s; }
.svc-fill { position: absolute; inset: 0; z-index: -1; background: var(--c); clip-path: circle(0 at 50px 50px); transition: clip-path .75s var(--ease-out); }
.svc-fill::after { content: ''; position: absolute; width: 260px; height: 260px; right: -80px; bottom: -110px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.svc:hover { color: #fff; border-color: transparent; box-shadow: 0 40px 70px -35px var(--c); }
.svc:hover .svc-fill { clip-path: circle(150% at 50px 50px); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--c); color: #fff; transition: transform .6s var(--ease-out), background-color .5s, color .5s; }
.svc-ic .ic { width: 28px; height: 28px; }
.svc:hover .svc-ic { background: #fff; color: var(--c); transform: rotate(-10deg) scale(1.05); }
.svc-num { font: 700 14px var(--f-d); color: var(--muted); transition: color .5s; }
.svc:hover .svc-num { color: rgba(255, 255, 255, .7); }
.svc h3 { margin: auto 0 0; padding-top: 40px; font: 700 clamp(21px, 2vw, 25px)/1.15 var(--f-d); letter-spacing: -.03em; }
.svc p { margin: 12px 0 0; color: var(--ink-2); font-size: 15.5px; transition: color .5s; }
.svc:hover p { color: rgba(255, 255, 255, .88); }
.svc-more { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 700; font-size: 15px; transition: border-color .5s; }
.svc:hover .svc-more { border-color: rgba(255, 255, 255, .25); }
.svc-arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(21, 18, 30, .06); transition: transform .5s var(--ease-out), background-color .5s, color .5s; }
.svc:hover .svc-arrow { background: #fff; color: var(--c); transform: rotate(45deg); }

/* ---------- Работы ---------- */
.works { background: var(--bg-2); border-radius: 48px 48px 0 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.flt { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-weight: 700; font-size: 15px; transition: background-color .3s, color .3s, transform .3s var(--ease), border-color .3s; }
.flt i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.flt sup { font-size: 11px; opacity: .55; top: -.45em; }
.flt:hover { transform: translateY(-2px); border-color: rgba(21, 18, 30, .25); }
.flt.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.flt.is-active i { box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }

.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 20px; }
.work { position: relative; display: flex; flex-direction: column; gap: 16px; transition: opacity .45s var(--ease), transform .6s var(--ease-out); }
.work.is-hidden { display: none; }
.work.is-out { opacity: 0; transform: scale(.94) translateY(20px); }
.work.pre { opacity: 0; transform: translateY(50px); }
.work-media { position: relative; display: block; height: clamp(230px, 24vw, 330px); border-radius: 24px; overflow: hidden; background: #F1ECE4;
  box-shadow: 0 0 0 1px rgba(21, 18, 30, .09), 0 26px 50px -36px rgba(21, 18, 30, .45); isolation: isolate; transition: box-shadow .45s var(--ease-out), transform .6s var(--ease-out); }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out), filter .6s; }
.work-media .cv-w { display: none; }
.work.is-wide .work-media .cv-w { display: block; }
.work.is-wide[data-wide] .work-media .cv-n { display: none; }
.work-media::before { content: ''; position: absolute; inset: 0; z-index: 4; border-radius: inherit; padding: 2px; background: var(--grad); pointer-events: none;
  -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 .45s var(--ease-out); }
.work-media::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); pointer-events: none; }
.work:hover .work-media { box-shadow: 0 0 0 1px rgba(21, 18, 30, 0), 0 34px 60px -34px rgba(109, 59, 255, .45); transform: translateY(-4px); }
.work:hover .work-media::before { opacity: 1; }
.work:hover .work-media img { transform: scale(1.035); }
.work-noimg { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--c), #fff); color: #fff; }
.work-noimg .ic { width: 48px; height: 48px; }
.work-view { position: absolute; right: 16px; top: 16px; z-index: 2; width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  transform: scale(0) rotate(-90deg); transition: transform .55s var(--ease-out); }
.work-view .ic { width: 22px; height: 22px; }
.work:hover .work-view { transform: none; }
.work-count { position: absolute; left: 14px; top: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px;
  background: rgba(21, 18, 30, .6); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.work-count + .work-count { left: auto; right: 14px; top: auto; bottom: 14px; }
.work-count .ic { width: 12px; height: 12px; }
.work-media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-media > video.work-pv { z-index: 1; opacity: 0; transition: opacity .5s; pointer-events: none; }
.work-media > video.work-pv.is-on { opacity: 1; }
.work-info { display: flex; flex-direction: column; gap: 6px; padding: 0 6px; }
.work-cat { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.work-cat i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.work-title { font: 700 clamp(18px, 1.6vw, 22px)/1.2 var(--f-d); letter-spacing: -.03em; transition: color .3s; }
.work:hover .work-title { color: var(--c); }
.work-short { color: var(--ink-2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.works-more { display: flex; justify-content: center; margin-top: 44px; }
.works-more .btn .ic { transform: none; }
.empty { text-align: center; padding: 60px 20px; border-radius: var(--r); background: #fff; border: 2px dashed var(--line); }
.empty > .ic { width: 48px; height: 48px; color: var(--violet); }
.empty p { font-size: 18px; color: var(--ink-2); margin: 16px 0 24px; }

/* ---------- Процесс ---------- */
.process { background: var(--bg-2); padding-top: 40px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 20px; }
.steps-line { position: absolute; left: 4%; right: 4%; top: 34px; width: 92%; height: 40px; z-index: 0; overflow: visible; }
.steps-line path { fill: none; stroke: var(--violet); stroke-width: 2.5; stroke-dasharray: 8 10; opacity: .5; }
.step { position: relative; z-index: 1; padding: 26px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); transition: transform .5s var(--ease-out), box-shadow .5s, opacity .9s var(--ease-out); }
.step:hover { transform: translateY(-8px) !important; box-shadow: 0 30px 60px -30px rgba(109, 59, 255, .45); }
.step-num { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 22px; background: var(--ink); color: #fff; font: 800 22px var(--f-d); letter-spacing: -.04em; transition: transform .6s var(--ease-out), background-color .4s; }
.step:nth-child(2) .step-num { background: var(--violet); }
.step:nth-child(3) .step-num { background: var(--pink); }
.step:nth-child(4) .step-num { background: var(--orange); }
.step:nth-child(5) .step-num { background: var(--cyan); }
.step:nth-child(6) .step-num { background: var(--green); }
.step:hover .step-num { transform: rotate(-12deg) scale(1.08); }
.step h3 { margin: 24px 0 8px; font: 700 22px/1.2 var(--f-d); letter-spacing: -.03em; }
.step p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* ---------- Цифры ---------- */
.stats-band { position: relative; overflow: hidden; background: var(--grad); background-size: 200% 100%; animation: gradMove 12s ease-in-out infinite alternate; color: #fff; padding: clamp(60px, 8vw, 100px) 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; z-index: 1; }
.stat b { display: block; font: 800 clamp(44px, 6vw, 84px)/1 var(--f-d); letter-spacing: -.05em; }
.stat span { display: block; margin-top: 10px; font-weight: 700; font-size: 16px; opacity: .9; }
.sb-shape { position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); }
.sb-shape.a { width: 420px; height: 420px; right: -120px; top: -200px; }
.sb-shape.b { width: 260px; height: 260px; left: -80px; bottom: -150px; background: rgba(255, 255, 255, .08); border: 0; }

/* ---------- Отзывы ---------- */
.rv-nav { display: flex; gap: 10px; }
.rv-btn { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.rv-btn[data-dir="-1"] .ic { transform: rotate(180deg); }
.rv-btn:hover { background: var(--ink); color: #fff; }
.rv-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 400px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv { scroll-snap-align: start; margin: 0; padding: 30px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.rv-q { width: 48px; height: 48px; border-radius: 14px; background: var(--c); color: #fff; display: grid; place-items: center; }
.rv-stars { color: var(--yellow); letter-spacing: 2px; font-size: 18px; }
.rv blockquote { margin: 0; font-size: 16.5px; color: var(--ink-2); flex: 1; }
.rv figcaption { display: flex; align-items: center; gap: 12px; }
.rv figcaption small { display: block; color: var(--muted); font-size: 13px; }
.rv-av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font: 700 17px var(--f-d); }


.no-scroll { overflow: hidden; }
.rv-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rv-ver { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 8px; border-radius: 999px; background: #E9F9EF; color: #0E9F5A; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.rv-ver .ic { width: 16px; height: 16px; }
.rv-sum { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; font-weight: 700; color: var(--ink-2); }
.rv-sum b { font: 800 30px/1 var(--f-d); letter-spacing: -.04em; color: var(--ink); }
.rv-sum-stars { color: var(--yellow); letter-spacing: 2px; font-size: 18px; }

/* ---------- Скриншоты отзывов с бирж ---------- */
.shots { margin-top: clamp(56px, 7vw, 96px); }
.shots-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap; margin-bottom: 28px; }
.shots-t { margin: 0; font: 800 clamp(22px, 2.6vw, 32px)/1.15 var(--f-d); letter-spacing: -.035em; max-width: 520px; }
.plat-row { display: flex; flex-wrap: wrap; gap: 10px; }
.plat { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px -18px rgba(21, 18, 30, .35); }
.plat > i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.plat-n { font-weight: 800; font-size: 14.5px; }
.plat b { font: 800 18px var(--f-d); letter-spacing: -.03em; }
.plat b em { font-style: normal; color: var(--yellow); font-size: 15px; margin-left: 2px; }
.plat small { color: var(--muted); font-weight: 700; font-size: 12.5px; }
.shots-rows { display: grid; gap: 22px; overflow: hidden; padding: 16px 0 20px; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.shots-row { overflow: hidden; }
.shots-track { display: flex; align-items: center; gap: 22px; width: max-content; animation: shotsMove var(--dur, 40s) linear infinite; }
.shots-row.is-rev .shots-track { animation-direction: reverse; }
.shots-row:hover .shots-track, .shots-row.is-paused .shots-track { animation-play-state: paused; }
@keyframes shotsMove { to { transform: translateX(calc(-50% - 11px)); } }
.shot { position: relative; flex: none; width: var(--w); padding: 10px 10px 12px; border-radius: 22px; background: #fff; border: 1px solid var(--line); text-align: left; cursor: zoom-in;
  box-shadow: 0 24px 40px -30px rgba(21, 18, 30, .5); transform: rotate(var(--rot)); transition: transform .45s var(--ease-out), box-shadow .45s; }
.shot:hover, .shot:focus-visible { transform: rotate(0) translateY(-6px) scale(1.03); box-shadow: 0 34px 50px -28px color-mix(in srgb, var(--c) 70%, #000); z-index: 2; }
.shot-pl { display: inline-flex; margin: 0 0 9px 2px; align-items: center; gap: 6px; padding: 5px 11px 5px 8px; border-radius: 999px; background: var(--c); color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 6px 14px -6px var(--c); }
.shot-pl i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.shot-img { display: block; height: var(--h); border-radius: 14px; overflow: hidden; background: #F4F1EC; }
.shot-img img { width: 100%; height: 100%; object-fit: cover; object-position: left top; display: block; }
.shot-cap { display: block; margin: 10px 4px 0; font-size: 13.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shots-note { margin-top: 6px; text-align: center; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.shot-lb { position: fixed; inset: 0; z-index: 450; display: flex; align-items: center; justify-content: center; padding: 3vh 3vw; visibility: hidden; pointer-events: none; }
.shot-lb.is-open { visibility: visible; pointer-events: auto; }
.shot-lb-bd { position: absolute; inset: 0; background: rgba(21, 18, 30, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .35s; }
.shot-lb.is-open .shot-lb-bd { opacity: 1; }
.shot-lb-box { position: relative; margin: 0; max-width: min(1100px, 100%); max-height: 94vh; display: flex; flex-direction: column; align-items: center; gap: 14px; opacity: 0; transform: scale(.94); transition: opacity .35s, transform .5s var(--ease-out); }
.shot-lb.is-open .shot-lb-box { opacity: 1; transform: none; }
.shot-lb-img { border-radius: 20px; overflow: auto; background: #fff; max-height: calc(94vh - 70px); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); }
.shot-lb-img img { display: block; max-width: 100%; height: auto; }
.shot-lb figcaption { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; color: #fff; font-size: 14.5px; }
.shot-lb figcaption span { opacity: .8; }
.shot-lb figcaption i { font-style: normal; opacity: .55; font-size: 13px; }
.shot-lb .modal-x { right: -8px; top: -8px; }
.shot-lb .m-nav { top: calc(50% - 60px); }
.shot-lb .m-nav.prev { left: -64px; } .shot-lb .m-nav.next { right: -64px; }

/* ---------- Приведи друга ---------- */
.reviews + .refband-sec { padding-top: 0; }
.refband { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(22px, 4vw, 56px);
  padding: clamp(28px, 4vw, 52px); border-radius: 36px; color: #fff; background: linear-gradient(125deg, #15121E 0%, #2A1760 45%, #6D3BFF 100%); }
.rb-glow { position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 61, 127, .7), transparent 65%); filter: blur(10px); animation: blob1 14s ease-in-out infinite alternate; }
.rb-left { display: grid; justify-items: center; text-align: center; }
.rb-pct { font: 800 clamp(64px, 9vw, 128px)/.9 var(--f-d); letter-spacing: -.06em; background: linear-gradient(180deg, #FFE27A, #FF8A1F 55%, #FF3D7F); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rb-sub { margin-top: 8px; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .7); }
.rb-mid h2 { margin: 12px 0 18px; font: 800 clamp(22px, 2.6vw, 34px)/1.15 var(--f-d); letter-spacing: -.035em; }
.rb-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rb-steps li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: rgba(255, 255, 255, .85); font-size: 15px; line-height: 1.45; }
.rb-steps li span { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); font: 800 13px var(--f-d); color: #FFC700; margin-top: -2px; }
.rb-cta { display: grid; gap: 10px; justify-items: center; text-align: center; max-width: 240px; }
.rb-btn { background: #fff; color: var(--ink); box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .6); }
.rb-btn .ic { color: var(--pink); }
.rb-btn:hover { transform: translateY(-2px); }
.rb-cta small { color: rgba(255, 255, 255, .65); font-size: 13px; font-weight: 600; }

/* ---------- Скидка на первый заказ ---------- */
.promo-note { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; padding: 12px 14px; border-radius: 16px; background: linear-gradient(100deg, #FFF3D6, #FFE7F0); border: 1px dashed #FFB36B; }
.promo-note[hidden] { display: none; }
.pn-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.pn-ic .ic { width: 20px; height: 20px; }
.promo-note > span:last-child { font-size: 13px; color: var(--ink-2); font-weight: 600; line-height: 1.35; }
.promo-note b { display: block; font-size: 15px; color: var(--ink); }
.promo-note + .btn-submit { margin-top: 14px; }
.os-disc { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 8px 14px; border-radius: 999px; background: #FFF3D6; color: #B45309; font-weight: 800; font-size: 14px; }
.os-disc[hidden] { display: none; }
.os-disc .ic { width: 18px; height: 18px; }

.pp { position: fixed; inset: 0; z-index: 420; display: flex; align-items: center; justify-content: center; padding: 20px; visibility: hidden; pointer-events: none; }
.pp.is-open { visibility: visible; pointer-events: auto; }
.pp-bd { position: absolute; inset: 0; background: rgba(21, 18, 30, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s; }
.pp.is-open .pp-bd { opacity: 1; }
.pp-box { position: relative; width: min(720px, 100%); display: grid; grid-template-columns: 250px 1fr; border-radius: 32px; overflow: hidden; background: #fff; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(40px) scale(.94) rotate(-1.5deg); transition: opacity .4s, transform .7s cubic-bezier(.34, 1.56, .64, 1); }
.pp.is-open .pp-box { opacity: 1; transform: none; }
.pp-x { position: absolute; right: 14px; top: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: #F4F1EC; display: grid; place-items: center; transition: transform .35s var(--ease-out); }
.pp-x:hover { transform: rotate(90deg); }
.pp-x .ic { width: 18px; height: 18px; }
.pp-ticket { position: relative; display: grid; place-content: center; justify-items: center; padding: 30px 20px; color: #fff; overflow: hidden; background: var(--grad); background-size: 200% 200%; animation: ppGrad 6s ease-in-out infinite alternate; }
.pp-ticket::after { content: ''; position: absolute; right: -12px; top: 0; bottom: 0; width: 24px; background: radial-gradient(circle at 12px 12px, #fff 8px, transparent 8.5px) 0 0 / 24px 24px repeat-y; }
@keyframes ppGrad { to { background-position: 100% 100%; } }
.pp-pct { position: relative; font: 800 96px/.9 var(--f-d); letter-spacing: -.07em; text-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.pp-pct em { font-style: normal; font-size: .5em; vertical-align: top; margin-left: 2px; }
.pp.is-open .pp-pct { animation: ppPop .9s .25s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes ppPop { from { transform: scale(.4) rotate(-12deg); opacity: 0; } }
.pp-lbl { position: relative; margin-top: 12px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.pp-conf i { position: absolute; width: 9px; height: 16px; border-radius: 3px; background: #FFE27A; opacity: .9; }
.pp-conf i:nth-child(1) { left: 12%; top: 14%; transform: rotate(20deg); }
.pp-conf i:nth-child(2) { left: 78%; top: 10%; background: #fff; transform: rotate(-30deg); }
.pp-conf i:nth-child(3) { left: 20%; top: 78%; background: #00E0F0; transform: rotate(60deg); }
.pp-conf i:nth-child(4) { left: 70%; top: 82%; transform: rotate(-10deg); width: 12px; height: 12px; border-radius: 50%; }
.pp-conf i:nth-child(5) { left: 8%; top: 46%; background: #fff; width: 8px; height: 8px; border-radius: 50%; }
.pp-conf i:nth-child(6) { left: 86%; top: 50%; background: #00E0F0; transform: rotate(40deg); }
.pp-conf i:nth-child(7) { left: 44%; top: 6%; background: #7CF0A6; transform: rotate(80deg); }
.pp-conf i:nth-child(8) { left: 50%; top: 90%; background: #fff; transform: rotate(-50deg); }
.pp.is-open .pp-conf i { animation: ppFloat 3s ease-in-out infinite alternate; }
.pp.is-open .pp-conf i:nth-child(2n) { animation-duration: 3.8s; animation-delay: -1s; }
@keyframes ppFloat { to { translate: 0 -10px; rotate: 25deg; } }
.pp-body { padding: 38px 36px 30px; display: flex; flex-direction: column; align-items: flex-start; }
.pp-kick { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: #FFF1D6; color: #B45309; font-weight: 800; font-size: 13px; }
.pp-kick .ic { width: 18px; height: 18px; }
.pp-body h3 { margin: 16px 0 10px; font: 800 clamp(24px, 3vw, 30px)/1.12 var(--f-d); letter-spacing: -.04em; }
.pp-body p { margin: 0 0 22px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.pp-go { width: 100%; }
.pp-later { align-self: center; margin-top: 12px; padding: 6px 10px; color: var(--muted); font-weight: 700; font-size: 14px; }
.pp-later:hover { color: var(--ink); }
.pp-pill { position: fixed; left: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 8px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px;
  box-shadow: 0 16px 34px -14px rgba(21, 18, 30, .7); animation: pillIn .6s var(--ease-out) both; transition: transform .4s var(--ease-out), opacity .3s; }
.pp-pill .ic { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--grad); }
.pp-pill:hover { transform: translateY(-3px); }
.pp-pill.is-away { opacity: 0; transform: translateY(20px); pointer-events: none; }
.pp-pill[hidden] { display: none; }
@keyframes pillIn { from { opacity: 0; transform: translateY(30px); } }

/* ---------- Заявка ---------- */
.order-sec { position: relative; background: var(--ink); color: #fff; padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; border-radius: 48px 48px 0 0; margin-top: -48px; isolation: isolate; }
.order-bg span { position: absolute; border-radius: 50%; filter: blur(90px); z-index: -1; }
.order-bg span:nth-child(1) { width: 520px; height: 520px; background: rgba(109, 59, 255, .55); left: -160px; top: -120px; animation: blob1 16s ease-in-out infinite alternate; }
.order-bg span:nth-child(2) { width: 460px; height: 460px; background: rgba(255, 61, 127, .38); left: 25%; bottom: -260px; animation: blob2 18s ease-in-out infinite alternate; }
.order-bg span:nth-child(3) { width: 300px; height: 300px; background: rgba(255, 138, 31, .3); right: 5%; top: 10%; animation: blob3 14s ease-in-out infinite alternate; }
.order-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.order-copy { position: sticky; top: 110px; }
.order-lead { margin: 22px 0 0; font-size: 18px; color: rgba(255, 255, 255, .75); }
.perks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: rgba(255, 255, 255, .88); }
.perks .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #7CF0A6; margin-top: -1px; }
.direct { margin-top: 38px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.direct > span { font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .55); text-transform: uppercase; letter-spacing: .1em; }
.direct-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.dbtn { display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 20px 0 8px; border-radius: 999px; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12); font-weight: 700; transition: background-color .3s, transform .3s var(--ease); }
.dbtn .ic { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--c); }
.dbtn:hover { background: rgba(255, 255, 255, .16); transform: translateY(-3px); }

.form-wrap { position: relative; }
.oform, .osuccess { background: #fff; color: var(--ink); border-radius: 32px; padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .6); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fld { display: block; margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.lbl { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14.5px; margin-bottom: 9px; color: var(--ink); padding: 0; }
.lbl i { font-style: normal; color: var(--pink); }
.lbl .ic { width: 16px; height: 16px; color: var(--muted); }
.fld input, .fld textarea { width: 100%; border: 2px solid transparent; background: #F4F1EC; border-radius: 16px; padding: 15px 18px; font-size: 16px; font-weight: 600;
  outline: none; transition: border-color .25s, background-color .25s, box-shadow .25s; }
.fld textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.fld input::placeholder, .fld textarea::placeholder { color: #A9A5B3; font-weight: 500; }
.fld input:focus, .fld textarea:focus { border-color: var(--violet); background: #fff; box-shadow: 0 0 0 5px rgba(109, 59, 255, .12); }
.fld.has-err input, .fld.has-err textarea { border-color: var(--pink); background: #FFF3F7; }
.err { display: block; color: #E11D63; font-size: 13.5px; font-weight: 700; min-height: 0; margin-top: 6px; }
.err:empty { display: none; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cchip { position: relative; cursor: pointer; }
.cchip input { position: absolute; opacity: 0; pointer-events: none; }
.cchip span { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 15px; border-radius: 999px; background: #F4F1EC; font-weight: 700; font-size: 14px; border: 2px solid transparent; transition: .25s var(--ease); }
.cchip span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c); transition: .25s; }
.cchip:hover span { border-color: rgba(21, 18, 30, .15); }
.cchip input:checked + span { background: var(--c); color: #fff; transform: scale(1.04); }
.cchip input:checked + span::before { background: #fff; }
.cchip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(109, 59, 255, .25); }

.drop { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 18px; border: 2px dashed rgba(21, 18, 30, .18); background: #FBFAF7; cursor: pointer; transition: border-color .25s, background-color .25s; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop:hover, .drop.is-over { border-color: var(--violet); background: rgba(109, 59, 255, .05); }
.drop-ic { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--grad-soft); display: grid; place-items: center; color: var(--violet); }
.drop-t { font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.drop-t b { color: var(--violet); }
.drop-t small { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.flist { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.flist li { display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 14px; border-radius: 12px; background: #F4F1EC; font-size: 14px; font-weight: 600; animation: pop .35s var(--ease-out); }
.flist li .ic { width: 18px; height: 18px; color: var(--violet); }
.flist li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flist li small { color: var(--muted); }
.flist li button { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.flist li button:hover { background: #fff; color: var(--pink); }
.flist li button .ic { color: inherit; width: 16px; height: 16px; }
@keyframes pop { from { opacity: 0; transform: scale(.9); } }

.ch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ch { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: #F4F1EC; border: 2px solid transparent; cursor: pointer;
  transition: border-color .3s, background-color .3s, transform .3s var(--ease), box-shadow .3s; }
.ch input { position: absolute; opacity: 0; pointer-events: none; }
.ch-ic { width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--c); color: #fff; display: grid; place-items: center; transition: transform .5s var(--ease-out); }
.ch-ic .ic { width: 24px; height: 24px; }
.ch-t { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ch-t b { font-size: 15.5px; }
.ch-t small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.ch-check { position: absolute; right: 10px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .4s var(--ease-out); }
.ch-check .ic { width: 13px; height: 13px; stroke-width: 3; }
.ch:hover { transform: translateY(-2px); }
.ch:has(input:checked) { border-color: var(--c); background: #fff; box-shadow: 0 16px 30px -18px var(--c); }
.ch.is-checked { border-color: var(--c); background: #fff; box-shadow: 0 16px 30px -18px var(--c); }
.ch input:checked ~ .ch-check { transform: scale(1); }
.ch input:checked ~ .ch-ic { transform: rotate(-10deg) scale(1.06); }
.ch input:focus-visible ~ .ch-ic { box-shadow: 0 0 0 4px rgba(109, 59, 255, .3); }
.channels.has-err .ch { border-color: rgba(255, 61, 127, .5); }
.contact-fld { max-height: 0; opacity: 0; overflow: hidden; margin: 0 -6px; padding: 0 6px; transition: max-height .5s var(--ease-out), opacity .35s, margin .5s var(--ease-out), padding .5s var(--ease-out); }
.contact-fld.is-open { max-height: 170px; opacity: 1; margin: -6px -6px 14px; padding: 6px 6px; }

.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; margin: 4px 0 0; }
.agree input { position: absolute; opacity: 0; }
.agree .box { width: 24px; height: 24px; flex: none; border-radius: 8px; border: 2px solid rgba(21, 18, 30, .25); display: grid; place-items: center; color: #fff; transition: .25s; margin-top: -1px; }
.agree .box .ic { width: 15px; height: 15px; stroke-width: 3; transform: scale(0); transition: transform .3s var(--ease-out); }
.agree input:checked + .box { background: var(--violet); border-color: var(--violet); }
.agree input:checked + .box .ic { transform: none; }
.agree input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(109, 59, 255, .25); }
.agree a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.agree-err { margin: 6px 0 0 36px; }
.btn-submit { width: 100%; margin-top: 24px; }
.btn-submit .bs-ic .ic { width: 20px; height: 20px; }
.btn-submit:hover .bs-ic .ic { transform: translate(3px, -3px) rotate(8deg); }
.spinner { display: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
.is-sending .spinner { display: block; }
.is-sending .bs-ic { display: none; }
.is-sending { pointer-events: none; opacity: .85; }
.form-note { margin: 14px 0 0; text-align: center; font-weight: 700; font-size: 14.5px; color: #E11D63; }
.form-note:empty { display: none; }
.ref-chip { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 14px; background: var(--grad-soft); margin-bottom: 20px; font-size: 14px; font-weight: 600; }
.ref-chip button { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.ref-chip .ic { width: 15px; height: 15px; }

.osuccess { text-align: center; padding-top: 50px; padding-bottom: 44px; animation: pop .6s var(--ease-out); }
.os-ic { width: 96px; height: 96px; margin: 0 auto 24px; }
.os-ic svg { width: 100%; height: 100%; }
.os-ic circle { fill: none; stroke: var(--green); stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .8s var(--ease-out) forwards; }
.os-ic path { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s var(--ease-out) .55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.osuccess h3 { margin: 0; font: 800 clamp(24px, 3vw, 32px)/1.15 var(--f-d); letter-spacing: -.03em; }
.osuccess > p { color: var(--ink-2); margin: 14px auto 0; max-width: 420px; }
.os-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.os-btns .btn .ic { transform: none; }
.os-note { font-size: 13px; color: var(--muted); margin: 22px 0 0 !important; }

/* ---------- Подвал ---------- */
.ftr { position: relative; background: var(--bg); padding: clamp(70px, 9vw, 120px) 0 30px; overflow: hidden; }
.ftr-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: clamp(50px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.ftr-cta h2 { margin: 0; font: 800 clamp(34px, 6vw, 84px)/1 var(--f-d); letter-spacing: -.05em; }
.big-round { position: relative; width: clamp(130px, 14vw, 180px); height: clamp(130px, 14vw, 180px); border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; flex: none; transition: transform .5s var(--ease-out); overflow: hidden; isolation: isolate; }
.big-round::before { content: ''; position: absolute; inset: 0; background: var(--grad); z-index: -1; opacity: 0; transition: opacity .5s; }
.big-round span .ic { width: 44px; height: 44px; transition: transform .5s var(--ease-out); }
.big-round em { position: absolute; bottom: 24%; font: 700 11px var(--f); font-style: normal; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.big-round:hover::before { opacity: 1; }
.big-round:hover span .ic { transform: rotate(45deg); }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding: 50px 0 20px; }
.ftr-brand p { color: var(--ink-2); max-width: 320px; margin: 16px 0 0; font-size: 15px; }
.ftr-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.ftr-col b { font: 700 13px var(--f); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 4px; }
.ftr-col a { color: var(--ink-2); font-weight: 600; transition: color .25s, transform .25s var(--ease); width: fit-content; }
.ftr-col a:hover { color: var(--violet); transform: translateX(4px); }
.ftr-giant { font: 900 min(21vw, 320px)/.8 var(--f-d); letter-spacing: -.07em; text-align: center; margin: 20px 0 10px;
  background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradMove 10s ease-in-out infinite alternate; user-select: none; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); font-weight: 600; }
.ftr-bottom a:hover { color: var(--ink); }

/* ---------- Модальное окно работы ---------- */
.modal { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 3vh 3vw; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal-bd { position: absolute; inset: 0; background: rgba(21, 18, 30, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .45s; }
.modal.is-open .modal-bd { opacity: 1; }
.modal-box { position: relative; width: min(1180px, 100%); max-height: 94vh; background: #fff; border-radius: 32px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr);
  opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .45s var(--ease-out), transform .6s var(--ease-out); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .6); }
.modal.is-open .modal-box { opacity: 1; transform: none; }
.modal-x { position: absolute; right: 16px; top: 16px; z-index: 5; width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15); transition: transform .4s var(--ease-out); }
.modal-x:hover { transform: rotate(90deg); }
.m-media { position: relative; background: #0E0C14; display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.m-stage { position: relative; flex: 1; min-height: 300px; display: grid; place-items: center; overflow: hidden; }
.m-stage img { max-width: 100%; max-height: calc(94vh - 110px); object-fit: contain; animation: fadeIn .5s var(--ease-out); }
.m-stage iframe { width: 100%; aspect-ratio: 16/9; border: 0; }
.m-stage > video { max-width: 100%; max-height: calc(94vh - 110px); background: #000; animation: fadeIn .5s var(--ease-out); }
.m-cap { position: absolute; left: 14px; top: 14px; z-index: 2; max-width: calc(100% - 28px); padding: 7px 14px; border-radius: 999px; background: rgba(14, 12, 20, .72);
  color: #fff; font-size: 13px; font-weight: 700; line-height: 1.3; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.cmp { position: relative; display: inline-block; max-width: 100%; line-height: 0; animation: fadeIn .5s var(--ease-out); user-select: none; -webkit-user-select: none; }
.cmp img { animation: none; }
.cmp .cmp-a { display: block; max-width: 100%; max-height: calc(94vh - 110px); }
.cmp .cmp-b { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 calc(100% - var(--p, 50%)) 0 0); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--p, 50%); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; box-shadow: 0 0 12px rgba(0, 0, 0, .35); }
.cmp-line i { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; gap: 0; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.cmp-line i .ic { width: 16px; height: 16px; }
.cmp-line i .ic:first-child { transform: rotate(180deg); }
.cmp-l, .cmp-r { position: absolute; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(14, 12, 20, .7); color: #fff; font-size: 12px; font-weight: 800; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; pointer-events: none; }
.cmp-l { left: 14px; }
.cmp-r { right: 14px; background: var(--c, #6D3BFF); }
.cmp input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.m-thumbs button.is-vid, .m-thumbs button.is-cmp { position: relative; }
.m-thumbs button.is-vid .ic { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; color: #fff; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .7)); }
.m-thumbs button.is-cmp::after { content: 'до/после'; position: absolute; left: 0; right: 0; bottom: 0; font-size: 9px; font-weight: 800; color: #fff; background: rgba(0, 0, 0, .55); text-align: center; line-height: 1.6; }
@keyframes fadeIn { from { opacity: 0; transform: scale(.98); } }
.m-nav { position: absolute; top: calc(50% - 50px); width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center; z-index: 3; transition: transform .3s var(--ease), opacity .3s; }
.m-nav.prev { left: 14px; }
.m-nav.prev .ic { transform: rotate(180deg); }
.m-nav.next { right: 14px; }
.m-nav:hover { transform: scale(1.1); }
.m-nav[hidden] { display: none; }
.m-lens { position: absolute; left: 0; top: 0; z-index: 6; width: 220px; height: 220px; border-radius: 50%; pointer-events: none; opacity: 0; background-color: #fff; background-repeat: no-repeat;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(109, 59, 255, .55), 0 20px 40px -10px rgba(0, 0, 0, .6); transition: opacity .2s; }
.m-lens.is-on { opacity: 1; }
.m-zoom { position: absolute; right: 14px; bottom: 14px; z-index: 7; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); transition: transform .3s var(--ease), background-color .2s; }
.m-zoom .ic { width: 22px; height: 22px; }
.m-zoom:hover { transform: scale(1.08); }
.m-zoom.is-on { background: var(--violet); color: #fff; }
.m-stage > img { transition: transform .35s var(--ease-out); cursor: zoom-in; touch-action: pan-y; }
.m-stage.is-zoomed { overflow: hidden; }
.m-stage.is-zoomed > img { transition: none; touch-action: none; cursor: grab; }
@media (hover: hover) and (pointer: fine) { .m-stage > img { cursor: crosshair; } }
.m-thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; scrollbar-width: none; flex: none; }
.m-thumbs:empty { display: none; }
.m-thumbs button { width: 72px; height: 54px; flex: none; border-radius: 10px; overflow: hidden; opacity: .45; border: 2px solid transparent; transition: opacity .3s, border-color .3s; }
.m-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.m-thumbs button.is-active { opacity: 1; border-color: #fff; }
.m-info { padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0; overflow-y: auto; display: flex; flex-direction: column; }
.m-cat { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; padding: 6px 12px 6px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c, #6D3BFF) 12%, #fff); color: var(--c, #6D3BFF); width: fit-content; }
.m-cat i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, #6D3BFF); }
.m-info h3 { margin: 16px 0 0; padding-right: 50px; font: 800 clamp(24px, 2.6vw, 34px)/1.1 var(--f-d); letter-spacing: -.04em; }
.m-desc { margin-top: 16px; color: var(--ink-2); font-size: 16px; }
.m-desc p { margin: 0 0 12px; }
.m-desc ul { margin: 0 0 14px; padding: 0; list-style: none; }
.m-desc li { position: relative; padding-left: 20px; margin: 0 0 6px; }
.m-desc li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--c, #6D3BFF); }
.m-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.m-tags span { padding: 6px 12px; border-radius: 999px; background: #F4F1EC; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.m-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 28px; padding-bottom: clamp(20px, 3vw, 36px); position: sticky; bottom: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 24px); }

/* ---------- Тост и конфетти ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 500; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 14px 22px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .4); transition: .45s var(--ease-out); max-width: calc(100% - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.confetti { position: fixed; inset: 0; z-index: 450; pointer-events: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .p1, .p4 { display: none; }
  .p2 { left: 2%; bottom: 6%; }
  .p3 { right: 2%; top: 12%; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid > .svc:last-child:nth-child(n) { grid-column: auto; min-height: 330px; }
  .svc-grid > .svc:last-child:nth-child(2n+1) { grid-column: 1 / -1; min-height: 240px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
  .steps-line { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: span 2; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr-cta { display: none; }
  .order-grid { grid-template-columns: 1fr; }
  .order-copy { position: static; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-box { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; max-height: 94vh; border-radius: 28px 28px 0 0; overflow-y: auto; transform: translateY(100%); }
  .modal.is-open .modal-box { transform: none; }
  .m-stage { min-height: 240px; }
  .m-stage img, .m-stage > video, .cmp .cmp-a { max-height: 58vh; }
  .m-info { overflow: visible; }
}
@media (max-width: 700px) {
  :root { --hdr: 64px; }
  body { font-size: 16px; }
  .hdr { padding: 8px 0; }
  .hdr-in { height: 56px; }
  .hero { padding: calc(var(--hdr) + 40px) 0 150px; min-height: auto; }
  .hero-title { margin-top: 22px; }
  .hero-float .fcard { display: none; }
  .hero-title { font-size: clamp(38px, 12.2vw, 64px); }
  .s-star { left: 3%; top: 176px; width: 34px; height: 34px; }
  .s-ring { right: 4%; top: 184px; width: 36px; height: 36px; border-width: 8px; }
  .s-pill { left: -26px; top: auto; bottom: 116px; width: 80px; height: 30px; }
  .s-dot { right: 16%; bottom: 128px; width: 18px; height: 18px; }
  .hero-channels { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 360px; }
  .hero-channels > span:first-child { grid-column: 1 / -1; }
  .hc { justify-content: flex-start; }
  .step { padding: 22px; }
  .step-num { width: 56px; height: 56px; border-radius: 18px; font-size: 18px; }
  .step h3 { margin-top: 16px; }
  .hero-cta { width: 100%; flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .scroll-hint { width: 96px; height: 96px; margin-left: -48px; bottom: 24px; }
  .marquees { height: 190px; margin-top: -20px; }
  .m1 { top: 40px; }
  .m2 { top: 100px; }
  .marquee { padding: 14px 0; }
  .svc-grid, .works-grid { grid-template-columns: 1fr; }
  .svc-grid > .svc:last-child:nth-child(n) { grid-column: auto; }
  .work-media { height: 64vw; }
  .svc { min-height: 0; padding: 24px; }
  .svc h3 { padding-top: 28px; }
  .steps { grid-template-columns: 1fr; }
  .works { border-radius: 32px 32px 0 0; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1) 28px; padding: 2px var(--gut) 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .flt { flex: none; }
  .fld-row { grid-template-columns: 1fr; gap: 0; }
  .ch-grid { grid-template-columns: 1fr 1fr; }
  .ch { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ch-t small { font-size: 12px; }
  .order-sec { border-radius: 32px 32px 0 0; margin-top: -32px; }
  .oform, .osuccess { border-radius: 26px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-cta { flex-direction: column; align-items: flex-start; }
  .rv-track { grid-auto-columns: 85%; }
  .big-round em { font-size: 9px; letter-spacing: .04em; bottom: 22%; }
}
@media (max-width: 380px) {
  .ch-grid { grid-template-columns: 1fr; }
  .ch { flex-direction: row; align-items: center; }
}


@media (max-width: 900px) {
  .refband { grid-template-columns: 1fr; text-align: left; }
  .rb-left { justify-items: start; text-align: left; grid-auto-flow: column; align-items: end; gap: 14px; justify-content: start; }
  .rb-sub { margin: 0 0 8px; }
  .rb-cta { justify-items: stretch; max-width: none; text-align: left; }
  .shot-lb .m-nav { top: auto; bottom: -62px; }
  .shot-lb .m-nav.prev { left: calc(50% - 60px); } .shot-lb .m-nav.next { right: calc(50% - 60px); }
  .shot-lb-box { padding-bottom: 60px; }
}
@media (max-width: 640px) {
  .pp { align-items: flex-end; padding: 0; }
  .pp-box { grid-template-columns: 1fr; border-radius: 28px 28px 0 0; transform: translateY(100%); }
  .pp-ticket { padding: 22px 64px 20px 22px; grid-auto-flow: column; align-items: center; justify-content: start; gap: 14px; }
  .pp-lbl { font-size: 11px; padding: 5px 11px; max-width: 120px; line-height: 1.3; }
  .pp-ticket::after { display: none; }
  .pp-pct { font-size: 64px; }
  .pp-lbl { margin: 0; }
  .pp-body { padding: 22px 20px max(22px, env(safe-area-inset-bottom)); }
  .pp-x { background: rgba(255, 255, 255, .25); color: #fff; }
  .pp-pill { left: 12px; bottom: 12px; }
  .shot { width: min(var(--w), 78vw); padding: 8px 8px 10px; }
  .shot-img { height: min(var(--h), 200px); }
  .shots-track { gap: 14px; }
  .shots-rows { gap: 14px; }
  .rv-ver { font-size: 11.5px; }
  .plat { padding: 7px 12px 7px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  .blob, .mq-track { animation: none !important; }
  .shots-track { animation: none !important; }
  .shots-row { overflow-x: auto; }
}
