/* Adexion — статичний порт дизайну «Adexion Landing v3» (design/).
   Брейкпоінти дизайну: mobile < 1120px (бургер-меню), phone < 720px
   (карусель послуг, вертикальний процес, нижня CTA-панель). */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/inter-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/inter-latin.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: "Cormorant Garamond"; font-style: italic; font-weight: 500 600; font-display: swap; src: url(/assets/fonts/cormorant-italic-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500 600; font-display: swap; src: url(/assets/fonts/cormorant-italic-latin.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 {
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --serif: "Cormorant Garamond", Georgia, serif;
  --muted: #9a9a9a;
  --line: rgba(255, 255, 255, 0.1);
  --shine: linear-gradient(110deg, #d4d4d4 0%, #fff 30%, #eef2ff 45%, #fff 55%, #d4d4d4 100%);
  --pad-x: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: #000; color: #fff; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; text-wrap: pretty; background: #000; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
button, input, textarea { font-family: inherit; }
img, video { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, dl, dd, fieldset { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; }
::selection { background: rgba(186, 208, 255, 0.3); }
:focus-visible { outline: 2px solid rgba(220, 230, 255, 0.85); outline-offset: 3px; }
input::placeholder, textarea::placeholder { color: #5a5a5a; }
[hidden] { display: none !important; }

.skip { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: #fff; color: #000; transform: translateY(-200%); }
.skip:focus { transform: none; color: #000; }

@keyframes in-scale { from { opacity: 0; transform: scale(0.84); } to { opacity: 1; transform: none; } }
@keyframes in-soft { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes in-mask { from { transform: translateY(105%); } to { transform: none; } }
@keyframes in-pop { 0% { opacity: 0; transform: translateY(10px) scale(0.94); } 70% { opacity: 1; transform: scale(1.02); } 100% { opacity: 1; transform: none; } }
@keyframes in-em { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: none; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes dot { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(127, 209, 139, 0.6); } 100% { box-shadow: 0 0 0 8px rgba(127, 209, 139, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- shared ---------- */
.only-phone { display: none; }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: #2fb64a; animation: pulse 1.6s ease-out infinite; flex: none; }
.spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(480px circle at var(--mx, -999px) var(--my, -999px), rgba(170, 195, 240, 0.12), transparent 45%); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad-x); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 400; color: var(--muted); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: #6a6a6a; }
.h2 { font-weight: 500; font-size: clamp(40px, 5.6vw, 88px); line-height: 1; letter-spacing: -0.055em; }
.h2 em { color: #a8a8a8; letter-spacing: -0.02em; }
.h2--mb { margin-bottom: 20px; }
.h2--mb2 { margin-bottom: clamp(36px, 5vw, 56px); }
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec__head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.sec__lead { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 44ch; }
.sec__lead--mb { margin-bottom: 36px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); font-size: 12.5px; color: #d8d8d8; transition: background 0.3s, border-color 0.3s, color 0.3s; }
.tags li:hover { background: #fff; border-color: #fff; color: #000; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; cursor: pointer; border: 1px solid transparent; transition: background-position 0.9s var(--ease), box-shadow 0.4s ease, transform 0.4s var(--ease), border-color 0.4s ease, background-color 0.4s ease; }
.btn:active { transform: scale(0.97); }
.btn--shine { color: #0a0a0a; border-color: #fff; background: var(--shine); background-size: 250% 100%; background-position: 100% 0; }
.btn--shine:hover { color: #0a0a0a; background-position: 0 0; box-shadow: 0 0 32px rgba(186, 208, 255, 0.45); transform: translateY(-1px); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.btn--ghost:hover { border-color: rgba(220, 230, 255, 0.75); background-color: rgba(255, 255, 255, 0.12); box-shadow: 0 0 28px rgba(170, 200, 255, 0.25); transform: translateY(-1px); }
.btn--sm { height: 44px; padding: 0 8px 0 18px; font-size: 13.5px; }
.btn--md { height: 46px; padding: 0 22px; font-size: 14px; }
.btn--lg { height: 52px; padding: 0 24px; }
.btn--lg:has(.btn__ic) { justify-content: space-between; padding: 0 8px 0 24px; }
.btn__ic { width: 28px; height: 28px; border-radius: 50%; background: #0a0a0a; color: #fff; display: grid; place-content: center; flex: none; }
.btn__ic--lg { width: 36px; height: 36px; }
.btn__ic--xl { width: 38px; height: 38px; }

/* ---------- progress + header ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100; background: linear-gradient(90deg, #8aa6d6, #fff); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 22px clamp(16px, 3vw, 48px); border-bottom: 1px solid transparent; transition: padding 0.5s var(--ease), background 0.5s ease, border-color 0.5s ease; }
.hdr.is-scrolled { padding-top: 12px; padding-bottom: 12px; background: rgba(6, 6, 6, 0.62); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); border-color: rgba(255, 255, 255, 0.08); }
.logo { justify-self: start; display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 17px; font-weight: 600; letter-spacing: 0.06em; animation: in-scale 1.05s var(--ease) 0.08s both; transition: opacity 0.3s; }
.logo:hover { opacity: 0.75; }
.logo__mark { width: 28px; height: 28px; border-radius: 8px; display: grid; place-content: center; background: linear-gradient(140deg, #fff, #bfc8d8); color: #000; font-size: 14px; font-weight: 700; letter-spacing: 0; }
.hdr__nav { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(20, 20, 20, 0.5); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: in-soft 1.05s var(--ease) 0.2s both; }
.hdr__nav a { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; color: #cfcfcf; font-size: 13.5px; letter-spacing: -0.01em; white-space: nowrap; transition: background 0.3s ease, color 0.3s ease; }
.hdr__nav a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.hdr__end { grid-column: 3; justify-self: end; display: flex; gap: 8px; align-items: center; animation: in-scale 1.05s var(--ease) 0.34s both; }
.burger { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(20, 20, 20, 0.6); place-content: center; gap: 5px; cursor: pointer; position: relative; z-index: 80; transition: border-color 0.3s; }
.burger:hover { border-color: rgba(255, 255, 255, 0.5); }
.burger span { display: block; width: 16px; height: 1.5px; background: #fff; border-radius: 1px; transition: transform 0.3s, opacity 0.2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mnav { position: fixed; inset: 0; z-index: 55; background: rgba(6, 6, 6, 0.6); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 96px 28px 32px; animation: in-soft 0.5s var(--ease) both; }
.mnav > a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; min-height: 56px; border-bottom: 1px solid var(--line); font-size: clamp(30px, 8vw, 44px); font-weight: 500; letter-spacing: -0.04em; animation: in-soft 0.7s var(--ease) both; }
.mnav > a:nth-child(2) { animation-delay: 0.06s; } .mnav > a:nth-child(3) { animation-delay: 0.12s; } .mnav > a:nth-child(4) { animation-delay: 0.18s; } .mnav > a:nth-child(5) { animation-delay: 0.24s; }
.mnav > a span { font-size: 13px; color: #7a7a7a; letter-spacing: 0; }
.mnav__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; padding-bottom: env(safe-area-inset-bottom); animation: in-soft 0.7s var(--ease) 0.4s both; }
.mnav__btn { display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.24); font-size: 15px; }
.mnav__btn--fill { background: #fff; color: #0a0a0a; border-color: #fff; }
.mnav__btn--fill:hover { color: #0a0a0a; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; will-change: transform; background: #000 url(/assets/img/hero-poster.webp) center / cover no-repeat; }
.hero__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 28%; z-index: 1; background: linear-gradient(180deg, transparent, #000); pointer-events: none; }
.hero__inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding: 96px 20px clamp(32px, 7vh, 88px); will-change: transform, opacity; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; max-width: 100%; margin-bottom: 26px; padding: 7px 14px 7px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(10, 10, 10, 0.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #e8e8e8; font-size: 12.5px; letter-spacing: -0.01em; animation: in-pop 1.05s var(--ease) 0.22s both; }
.hero__live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: #fff; color: #000; font-weight: 600; font-size: 11px; }
.hero__title { display: flex; flex-direction: column; align-items: center; font-weight: 500; font-size: clamp(38px, 6.4vw, 112px); line-height: 0.98; letter-spacing: -0.055em; }
.mask { display: block; overflow: hidden; padding: 0.04em 0.12em 0.1em; }
.mask--2 { padding-bottom: 0.14em; }
.mask__in { display: block; animation: in-mask 1.2s var(--ease) 0.4s both; }
.mask--2 .mask__in { animation-delay: 0.56s; }
.hero__title em { font-size: 1.1em; letter-spacing: -0.025em; color: #b4b4b4; display: inline-block; animation: in-em 1.4s ease 0.9s both; }
.hero__lead { max-width: 540px; margin-top: 22px; color: #a8a8a8; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.55; letter-spacing: -0.015em; animation: in-soft 1.2s var(--ease) 0.85s both; }
.hero__ctas { display: grid; grid-template-columns: auto auto; gap: 10px; margin-top: 30px; animation: in-soft 1.2s var(--ease) 1s both; }
.hero__cue { position: absolute; z-index: 3; left: clamp(20px, 3vw, 48px); bottom: clamp(40px, 7vh, 88px); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #bdbdbd; writing-mode: vertical-rl; animation: in-soft 1.2s ease 1.4s both; }
.cue { display: block; width: 1px; height: 56px; background: rgba(255, 255, 255, 0.18); position: relative; overflow: hidden; }
.cue span { position: absolute; inset: 0; background: #fff; animation: cue 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite; }

/* ---------- marquee ---------- */
.marq { padding: clamp(24px, 4vw, 48px) 0; border-top: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 1px solid rgba(255, 255, 255, 0.08); overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.marq__row { display: flex; width: max-content; }
.marq__row:hover .marq__track { animation-play-state: paused; }
.marq__track { display: flex; flex: none; animation: marquee 38s linear infinite; }
.marq__row--r .marq__track { animation-duration: 46s; animation-direction: reverse; }
.marq__track li { display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px); font-size: clamp(36px, 5.4vw, 84px); font-weight: 500; letter-spacing: -0.05em; white-space: nowrap; color: #f2f2f2; transition: color 0.3s; }
.marq__track li:hover { color: #b9c9e6; }
.marq__track li::after { content: ""; width: 0.5em; height: 0.5em; background: #6a6a6a; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.marq__row--r li { font-family: var(--serif); font-style: italic; letter-spacing: -0.02em; color: #6f6f6f; }
.marq__row--r li:hover { color: #fff; }
.marq__row--r li::after { width: 0.18em; height: 0.18em; border-radius: 50%; background: #3a3a3a; clip-path: none; }

/* ---------- about ---------- */
.about { max-width: 1240px; margin: 0 auto; padding: clamp(96px, 14vw, 200px) var(--pad-x); }
.about .eyebrow { margin-bottom: 28px; }
.about__text { font-size: clamp(30px, 4.2vw, 64px); line-height: 1.12; letter-spacing: -0.045em; font-weight: 500; max-width: 22ch; }
.about__text em { color: #b9c9e6; }
.about__text .w { transition: opacity 0.25s linear; }

/* ---------- services (stacked cards / phone carousel) ---------- */
#services { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.svcs { display: flex; flex-direction: column; gap: 20px; padding-bottom: 40px; }
.svc { position: sticky; top: calc(104px + var(--i, 0) * 16px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 48px); min-height: min(440px, 70vh); border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.12); background: #0b0b0c; overflow: hidden; transform-origin: 50% 0; will-change: transform; transition: border-color 0.4s ease; scroll-margin-top: 104px; }
.svc:nth-child(2) { --i: 1; } .svc:nth-child(3) { --i: 2; } .svc:nth-child(4) { --i: 3; } .svc:nth-child(5) { --i: 4; } .svc:nth-child(6) { --i: 5; }
.svc:hover { border-color: rgba(200, 215, 245, 0.35); }
.svc .spot { background: radial-gradient(520px circle at var(--mx, -999px) var(--my, -999px), rgba(170, 195, 240, 0.12), transparent 45%); }
.svc__body { position: relative; display: flex; flex-direction: column; gap: 18px; }
.svc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc__n { font-family: var(--serif); font-style: italic; font-size: clamp(56px, 6vw, 96px); line-height: 0.8; color: #3c3c3c; }
.svc__count { font-size: 12px; color: #7a7a7a; }
.svc__title { margin-top: auto; font-size: clamp(28px, 3vw, 46px); font-weight: 500; line-height: 1.02; letter-spacing: -0.045em; }
.svc__text { font-size: 16px; line-height: 1.6; color: #a0a0a0; max-width: 46ch; }
.svc__vis { position: relative; min-height: 240px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.08); background-color: #060606; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 40px 40px; display: grid; place-items: center; overflow: hidden; }
.svc__glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(150, 180, 235, 0.22), transparent 65%); }
.svc__ring { position: absolute; width: 56%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.12); animation: spin 40s linear infinite; }
.svc__icon { position: relative; width: 112px; height: 112px; border-radius: 28px; display: grid; place-content: center; color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); background: linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02)); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 20px 60px rgba(0, 0, 0, 0.6); transition: transform 0.6s var(--ease), box-shadow 0.6s ease; }
.svc__icon svg { width: 48px; height: 48px; stroke-width: 1.2; }
.svc__vis:hover .svc__icon { transform: scale(1.08) rotate(-4deg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 60px rgba(170, 195, 240, 0.35); }
.car-nav { display: none; }

/* ---------- bots ---------- */
.bots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px clamp(32px, 6vw, 96px); align-items: center; }
.bots .sec__lead { max-width: 46ch; }
.flow li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 12px; margin: 0 -12px; border-top: 1px solid var(--line); border-radius: 12px; transition: background 0.35s ease, padding-left 0.35s var(--ease); }
.flow li:hover { background: rgba(255, 255, 255, 0.04); padding-left: 20px; }
.flow__n { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1; color: #8a8a8a; }
.flow h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.flow p { margin-top: 5px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

.chat { position: relative; border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.16); background: linear-gradient(160deg, #141416, #070707 60%); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08); overflow: hidden; transition: transform 0.5s var(--ease); }
.chat .spot { background: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(170, 195, 240, 0.12), transparent 45%); }
.chat__top { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 13.5px; }
.chat__who { display: flex; align-items: center; gap: 12px; }
.chat__who > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.chat__who b { font-weight: 500; }
.chat__who small { font-size: 12px; color: #8a8a8a; }
.chat__ava { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(140deg, #fff, #bfc8d8); color: #000; display: grid; place-content: center; font-weight: 700; font-size: 14px; }
.chat__on { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.chat__on .pulse { width: 7px; height: 7px; }
.chat__body { position: relative; padding: 24px 22px; min-height: 400px; display: flex; flex-direction: column; gap: 12px; }
.msg { padding: 12px 16px; border-radius: 16px 16px 16px 4px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); max-width: 86%; font-size: 14px; line-height: 1.45; color: #d8d8d8; animation: in-pop 0.6s var(--ease) both; }
.msg b { color: #fff; font-weight: 600; }
.msg--card { padding: 16px 18px; max-width: 92%; color: #fff; }
.msg__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.msg__grid { display: grid; grid-template-columns: auto 1fr; gap: 7px 18px; font-size: 14px; line-height: 1.4; }
.msg__grid dt { color: #8a8a8a; }
.msg__sum { font-weight: 600; font-size: 16px; }
.msg--typing { align-self: flex-start; display: flex; gap: 5px; padding: 12px 16px; }
.msg--typing span { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: dot 1.2s ease-in-out infinite; }
.msg--typing span:nth-child(2) { animation-delay: 0.15s; } .msg--typing span:nth-child(3) { animation-delay: 0.3s; }
.msg--me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: linear-gradient(180deg, #fff, #dcdcdc); border-color: transparent; color: #111; max-width: 84%; }
/* Без JS видно повну розмову; з JS кроки з'являються по черзі. */
html.js .msg:not(.is-on) { display: none; }
html:not(.js) .msg--typing { display: none; }
.chat__btns { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 12px; }
.btn--chat { height: 46px; font-size: 14px; }
html:not(.js) .chat__btns { display: none; }

/* ---------- before / after ---------- */
.ba { border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.12); background: #0a0a0b; overflow: hidden; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7); }
.ba__bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.seg { position: relative; display: flex; padding: 4px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); background: #050505; }
.seg__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: linear-gradient(180deg, #fff, #d8d8d8); transition: transform 0.45s var(--ease); }
.ba.is-h .seg__pill { transform: translateX(100%); }
.seg button { position: relative; flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer; font-size: 13px; background: transparent; color: #cfcfcf; transition: color 0.3s; }
.seg button svg { stroke-width: 1.6; }
.seg button[aria-pressed="true"] { color: #0a0a0a; }
html:not(.js) .seg { display: none; }

.ba__frame { --pos: 50%; position: relative; aspect-ratio: 16 / 10; overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: pan-y; background: #060606; }
.ba__layer { position: absolute; inset: 0; overflow: hidden; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba.is-h .ba__after { clip-path: inset(var(--pos) 0 0 0); }
.ba__tag { position: absolute; z-index: 1; pointer-events: none; padding: 7px 14px; border-radius: 999px; font-size: 12px; }
.ba__tag--before { top: 16px; left: 16px; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.14); color: #d8d8d8; }
.ba__tag--after { bottom: 16px; right: 16px; background: #fff; font-weight: 600; color: #111; }
.ba__handle { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 56px; margin-left: -28px; cursor: ew-resize; touch-action: none; outline: none; }
.ba.is-h .ba__handle { top: var(--pos); bottom: auto; left: 0; right: 0; width: auto; height: 56px; margin: -28px 0 0; cursor: ns-resize; }
.ba__line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 16px rgba(186, 208, 255, 0.7); }
.ba.is-h .ba__line { top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: 2px; margin: -1px 0 0; }
.ba__knob { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; color: #111; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.15), 0 0 30px rgba(186, 208, 255, 0.5), 0 8px 24px rgba(0, 0, 0, 0.5); transition: box-shadow 0.3s, transform 0.3s var(--ease); }
.ba__knob svg { stroke-width: 1.9; transition: transform 0.3s; }
.ba.is-h .ba__knob svg { transform: rotate(90deg); }
.ba__handle:hover .ba__knob, .ba__handle:focus-visible .ba__knob { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.18), 0 0 40px rgba(186, 208, 255, 0.7); }
.ba__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 14px 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 12px; color: #8a8a8a; }
.ba__pos { font-feature-settings: "tnum" 1; color: #cfcfcf; }

/* «До»: типовий застарілий сайт (ілюстрація, не реальний клієнт). Розміри в cqw,
   щоб макет масштабувався разом з рамкою. */
.ba__frame { container-type: inline-size; }
.old { position: absolute; inset: 0; background: #efe9d8; color: #222; font-family: "Times New Roman", Times, serif; font-size: 1.6cqw; line-height: 1.35; padding: 2.4cqw 3cqw; display: flex; flex-direction: column; gap: 1.2cqw; }
.old__top { display: flex; justify-content: space-between; align-items: center; padding: 1.4cqw 2cqw; background: linear-gradient(#3b5998, #1f3a7a); color: #ffd700; border: 2px outset #7a8fc0; }
.old__logo { font-size: 3cqw; font-weight: 700; text-shadow: 2px 2px 0 #000; }
.old__phone { font-size: 1.3cqw; color: #fff; }
.old__nav { display: flex; flex-wrap: wrap; gap: 0.4cqw; }
.old__nav span { padding: 0.5cqw 1.2cqw; background: #c0c0c0; border: 2px outset #eee; font-family: Arial, sans-serif; font-size: 1.3cqw; color: #00c; text-decoration: underline; }
.old__run { background: #ff0; color: #c00; font-weight: 700; padding: 0.5cqw 1cqw; font-family: Arial, sans-serif; white-space: nowrap; overflow: hidden; }
.old__cols { display: grid; grid-template-columns: 22% 1fr; gap: 1.6cqw; flex: 1; min-height: 0; }
.old__side { display: flex; flex-direction: column; gap: 0.6cqw; padding: 1.2cqw; background: #fff; border: 1px solid #999; }
.old__side b { background: #3b5998; color: #fff; padding: 0.3cqw 0.6cqw; }
.old__side u { color: #00c; }
.old__count { margin-top: auto; font-family: "Courier New", monospace; font-size: 1.1cqw; background: #000; color: #0f0; padding: 0.4cqw; text-align: center; }
.old__main { background: #fff; border: 1px solid #999; padding: 1.6cqw 2cqw; display: flex; flex-direction: column; gap: 1.2cqw; overflow: hidden; }
.old__main h4 { font-size: 2.2cqw; color: #800; text-decoration: underline; }
.old__main p { text-align: justify; }
.old__imgs { display: flex; gap: 1cqw; }
.old__imgs span { flex: 1; aspect-ratio: 4 / 3; display: grid; place-items: center; background: repeating-linear-gradient(45deg, #ddd 0 6px, #ccc 6px 12px); border: 2px ridge #999; color: #777; font-size: 1.2cqw; }
.old__table { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #000; font-family: Arial, sans-serif; font-size: 1.2cqw; }
.old__table span { padding: 0.4cqw 0.8cqw; border: 1px solid #888; }
.old__table span:nth-child(-n+2) { background: #3b5998; color: #fff; font-weight: 700; }

/* «Після»: прототип у стилі Adexion. */
.neo { position: absolute; inset: 0; background: radial-gradient(60cqw 40cqw at 70% 10%, rgba(120, 150, 220, 0.28), transparent 60%), #070708; color: #fff; padding: 2.4cqw 3.4cqw; display: flex; flex-direction: column; gap: 3cqw; font-size: 1.5cqw; }
.neo__top { display: flex; align-items: center; justify-content: space-between; }
.neo__logo { display: flex; align-items: center; gap: 0.8cqw; font-weight: 600; letter-spacing: 0.08em; font-size: 1.6cqw; }
.neo__logo i { width: 2.6cqw; height: 2.6cqw; border-radius: 0.7cqw; background: linear-gradient(140deg, #fff, #bfc8d8); color: #000; display: grid; place-content: center; font-style: normal; font-size: 1.3cqw; }
.neo__pill { display: flex; gap: 1.6cqw; padding: 1cqw 2.4cqw; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.14); }
.neo__pill i { width: 6cqw; height: 0.8cqw; border-radius: 99px; background: rgba(255, 255, 255, 0.25); }
.neo__cta { padding: 1cqw 2cqw; border-radius: 99px; background: #fff; color: #000; font-weight: 500; font-size: 1.3cqw; }
/* контент праворуч: при розподільнику посередині «після» має бути читабельним */
.neo__hero { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; text-align: right; gap: 1.8cqw; }
.neo__badge { padding: 0.6cqw 1.4cqw; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.2); color: #cfd8ea; font-size: 1.2cqw; }
.neo__h { font-size: 6cqw; line-height: 0.98; letter-spacing: -0.05em; font-weight: 500; max-width: 14ch; }
.neo__h em { color: #b9c9e6; }
.neo__p { color: #a8a8a8; max-width: 40ch; }
.neo__btns { display: flex; gap: 1cqw; }
.neo__btns span { padding: 1.2cqw 2.2cqw; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.24); font-size: 1.3cqw; }
.neo__btns span:first-child { background: #fff; color: #000; border-color: #fff; }
.neo__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqw; }
.neo__cards span { display: flex; flex-direction: column; gap: 0.4cqw; padding: 1.6cqw; border-radius: 1.4cqw; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); color: #9a9a9a; font-size: 1.2cqw; }
.neo__cards b { color: #fff; font-size: 2.4cqw; font-weight: 500; letter-spacing: -0.03em; }

/* ---------- cases ---------- */
.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.case { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 22px; border: 1px solid rgba(255, 255, 255, 0.12); overflow: hidden; background: #0a0a0b; transition: transform 0.5s var(--ease), border-color 0.4s ease, box-shadow 0.5s ease; }
.case:hover { border-color: rgba(200, 215, 245, 0.4); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(170, 195, 240, 0.08); }
.case:active { transform: scale(0.98); }
.case .spot { background: radial-gradient(380px circle at var(--mx, -999px) var(--my, -999px), rgba(170, 195, 240, 0.12), transparent 45%); }
.case__img { display: block; aspect-ratio: 4 / 3; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: #060606; overflow: hidden; }
.case__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.8s var(--ease); }
.case:hover .case__img img { transform: scale(1.03); }
.case__body { position: relative; padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case__kind { font-size: 12px; color: #8a8a8a; }
.case__title { font-size: 26px; font-weight: 500; letter-spacing: -0.04em; }
.case__text { font-size: 14.5px; line-height: 1.55; color: var(--muted); flex: 1; }
.case__link { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #e0e0e0; }
.case__arrow { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); display: grid; place-content: center; }

/* ---------- process ---------- */
.steps { position: relative; }
.steps__rail, .steps__fill { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, 0.12); }
.steps__fill { background: linear-gradient(90deg, #8aa6d6, #fff); transform-origin: 0 50%; transform: scaleX(var(--k, 1)); box-shadow: 0 0 12px rgba(186, 208, 255, 0.6); }
.steps__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 20px; }
.step { display: flex; flex-direction: column; gap: 12px; padding: 32px 4px 28px; }
.step__dot { display: none; }
.step h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.035em; }
.step__n { display: block; margin-bottom: 20px; font-family: var(--serif); font-style: italic; font-size: 56px; line-height: 0.9; font-weight: 500; color: #5a5a5a; letter-spacing: 0; }
.step p { flex: 1; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.step__time { align-self: flex-start; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); font-size: 12px; color: #d8d8d8; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid #bdbdbd; border-bottom: 1.5px solid #bdbdbd; transform: translateY(-3px) rotate(45deg); transition: transform 0.35s var(--ease); }
.faq__list details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq__list h3 { font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; }
.faq__list summary:hover h3 { color: #b9c9e6; }
.faq__list details p { padding: 0 0 24px; max-width: 62ch; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* ---------- contact ---------- */
.sec--contact { padding-bottom: clamp(48px, 7vw, 96px); }
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px clamp(32px, 6vw, 96px); }
.links { display: flex; flex-direction: column; }
.links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -0.03em; transition: padding 0.4s var(--ease), color 0.3s; }
.links a:last-child { border-bottom: 1px solid var(--line); }
.links a:hover { padding-left: 12px; color: #b9c9e6; }
.links svg { stroke-width: 1.6; flex: none; }
.form-card { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.14); background: linear-gradient(160deg, #121214, #070707 60%); overflow: hidden; }
.form-card .spot { background: radial-gradient(460px circle at var(--mx, -999px) var(--my, -999px), rgba(170, 195, 240, 0.1), transparent 45%); }
.form { position: relative; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 12px; color: var(--muted); }
.field input, .field textarea { height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.14); background: #050505; color: #fff; font-size: 16px; outline: none; transition: border-color 0.3s, box-shadow 0.3s; }
.field textarea { height: auto; min-height: 110px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: rgba(200, 215, 245, 0.7); box-shadow: 0 0 0 4px rgba(170, 195, 240, 0.12); }
.field input[aria-invalid="true"] { border-color: #e0736b; }
.field__err { margin-top: -10px; font-size: 12.5px; color: #f0a39c; }
.chips { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 9px; font-size: 12px; color: var(--muted); width: 100%; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px; font-size: 13px; border: 1px solid rgba(255, 255, 255, 0.16); color: #d8d8d8; transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.25s var(--ease); }
.chips label:hover span { border-color: rgba(255, 255, 255, 0.6); transform: translateY(-1px); }
.chips input:checked + span { background: #fff; color: #0a0a0a; border-color: #fff; }
.chips input:focus-visible + span { outline: 2px solid rgba(220, 230, 255, 0.85); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn--submit { justify-content: space-between; height: 54px; padding: 0 8px 0 24px; }
.btn--submit:disabled { opacity: 0.6; cursor: progress; }
.form__note { font-size: 12px; color: #7a7a7a; line-height: 1.5; }
.form__note a, .form__error a { text-decoration: underline; text-underline-offset: 2px; }
.form__error { font-size: 13.5px; line-height: 1.5; color: #f0a39c; }
.form__done { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 40px 0; animation: in-pop 0.7s var(--ease) both; outline: none; }
.form__check { width: 56px; height: 56px; border-radius: 50%; background: #fff; color: #000; display: grid; place-content: center; }
.form__done h3 { font-size: 32px; font-weight: 500; letter-spacing: -0.04em; }
.form__done p { font-size: 15px; color: var(--muted); }
.form__done .btn { align-self: flex-start; padding: 0 20px; }

/* ---------- mobile CTA bar + footer ---------- */
.mbar { display: none; }
.foot { border-top: 1px solid rgba(255, 255, 255, 0.08); overflow: hidden; }
.foot__row { max-width: 1240px; margin: 0 auto; padding: 32px var(--pad-x) 0; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; font-size: 13px; color: #8a8a8a; }
.foot__row a { transition: color 0.3s; }
.foot__up { display: inline-flex; align-items: center; gap: 8px; }
.foot__word { text-align: center; font-size: clamp(80px, 21vw, 340px); font-weight: 600; letter-spacing: -0.07em; line-height: 0.8; padding: clamp(24px, 4vw, 48px) 0 0; margin-bottom: -0.06em; background: linear-gradient(180deg, #3a3a3a 0%, #0a0a0a 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* ---------- reveal (лише з JS і без reduced-motion) ---------- */
html.rv [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(48px); filter: blur(10px); }
html.rv [data-reveal="scale"]:not(.is-in) { transform: scale(0.92) translateY(24px); }
html.rv [data-reveal].is-in { transition: opacity 1s var(--ease) var(--d, 0ms), transform 1.2s var(--ease) var(--d, 0ms), filter 1s ease var(--d, 0ms); }
html.rv [data-reveal].is-done { transition: none; }

/* ================= mobile < 1120 ================= */
@media (max-width: 1119.98px) {
  .hdr__nav { display: none; }
  .burger { display: grid; }
  .svc { top: calc(88px + var(--i, 0) * 16px); scroll-margin-top: 88px; }
}

/* ================= phone < 720 ================= */
@media (max-width: 719.98px) {
  .only-wide { display: none; }
  .only-phone { display: inline; }
  .hdr__cta { display: none; }
  .hero__ctas { grid-template-columns: 1fr; width: 100%; }
  .hero__cue { display: none; }
  html.rv [data-reveal]:not(.is-in) { transform: translateY(24px); filter: none; }
  html.rv [data-reveal="scale"]:not(.is-in) { transform: scale(0.96); }

  /* послуги → горизонтальна карусель */
  .svcs { flex-direction: row; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 8px; scroll-padding: 0 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .svcs::-webkit-scrollbar { display: none; }
  .svc { position: relative; top: auto; flex: 0 0 84%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; min-height: 0; padding: 24px; border-radius: 22px; background: linear-gradient(170deg, #121214, #070707 70%); transform: none !important; filter: none !important; will-change: auto; }
  .svc .spot { display: none; }
  /* body статичний, тож номер позиціюється відносно картки (праворуч від іконки) */
  .svc__body { position: static; gap: 14px; flex: 1; }
  .svc__head { position: absolute; top: 24px; right: 24px; }
  .svc__count { display: none; }
  .svc__n { font-size: 44px; }
  .svc__title { margin-top: 0; font-size: 26px; line-height: 1.05; letter-spacing: -0.04em; }
  .svc__text { flex: 1; font-size: 15px; line-height: 1.55; }
  .tags { gap: 6px; }
  .tags li { padding: 6px 11px; font-size: 12px; }
  .svc__vis { order: -1; min-height: 0; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02)); border-color: rgba(255, 255, 255, 0.2); }
  .svc__glow, .svc__ring { display: none; }
  .svc__icon { width: auto; height: auto; border: 0; background: none; box-shadow: none; backdrop-filter: none; }
  .svc__icon svg { width: 30px; height: 30px; stroke-width: 1.4; }
  .car-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
  .car-dots { display: flex; gap: 6px; align-items: center; }
  .car-dots span { height: 6px; width: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); transition: width 0.4s var(--ease), background 0.3s; }
  .car-dots span.on { width: 22px; background: #fff; }
  .car-label { font-size: 12px; color: #8a8a8a; font-feature-settings: "tnum" 1; }
  .car-label b { font-weight: 400; }

  .chat__body { min-height: 340px; }
  .ba__bar > * { flex: 1 1 100%; }
  .ba__frame { aspect-ratio: 4 / 5; }
  .ba.is-h .ba__frame { aspect-ratio: 3 / 4; }
  /* «до/після» на вузькому екрані: збільшуємо макет, щоб текст читався */
  .old { font-size: 3cqw; gap: 2cqw; padding: 3cqw; }
  .old__logo { font-size: 4.6cqw; } .old__phone { display: none; }
  .old__nav span { font-size: 2.6cqw; } .old__cols { grid-template-columns: 1fr; } .old__side { display: none; }
  .old__main h4 { font-size: 4cqw; } .old__imgs span, .old__table { font-size: 2.4cqw; }
  .neo { font-size: 3cqw; gap: 5cqw; padding: 4cqw 5cqw; }
  .neo__logo { font-size: 3.2cqw; } .neo__logo i { width: 5cqw; height: 5cqw; font-size: 2.6cqw; border-radius: 1.4cqw; }
  .neo__pill { display: none; } .neo__cta { font-size: 2.8cqw; padding: 1.6cqw 3.4cqw; }
  .neo__h { font-size: 8cqw; max-width: 11ch; } .neo__badge, .neo__btns span { font-size: 2.8cqw; padding: 1.6cqw 3cqw; } .neo__btns { gap: 2cqw; }
  .neo__cards { gap: 2cqw; } .neo__cards span { font-size: 2.4cqw; padding: 2.4cqw; border-radius: 2.4cqw; } .neo__cards b { font-size: 4.6cqw; }

  /* процес → вертикальна лінія з точками */
  .steps { padding-left: 40px; }
  .steps__rail, .steps__fill { left: 11px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .steps__fill { background: linear-gradient(180deg, #8aa6d6, #fff); transform-origin: 50% 0; transform: scaleY(var(--k, 1)); }
  .steps__list { display: block; }
  .step { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 8px 12px; padding: 4px 0 32px; }
  .step__dot { display: block; position: absolute; left: -35px; top: 6px; width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: #000; transition: background 0.4s, box-shadow 0.4s, border-color 0.4s; }
  .step__dot.lit { background: #fff; border-color: #fff; box-shadow: 0 0 14px rgba(186, 208, 255, 0.8); }
  .step h3 { grid-column: 1; }
  .step__n { display: inline; margin: 0 10px 0 0; font-size: inherit; color: #6a6a6a; }
  .step__time { grid-column: 2; grid-row: 1; padding: 4px 10px; font-size: 11.5px; }
  .step p { grid-column: 1 / -1; font-size: 15px; }

  .mbar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 50; display: grid; grid-template-columns: 1fr 52px; gap: 8px; padding: 6px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(14, 14, 14, 0.72); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6); transform: translateY(140%); opacity: 0; pointer-events: none; transition: transform 0.5s var(--ease), opacity 0.35s ease; }
  .mbar.is-on { transform: none; opacity: 1; pointer-events: auto; }
  .mbar a { display: grid; place-content: center; height: 48px; border-radius: 999px; transition: transform 0.2s; }
  .mbar a:active { transform: scale(0.96); }
  .mbar__main { background: #fff; color: #0a0a0a; font-size: 15px; font-weight: 500; letter-spacing: -0.02em; }
  .mbar__main:hover { color: #0a0a0a; }
  .mbar__tg { border: 1px solid rgba(255, 255, 255, 0.2); }
  .mbar__tg svg { stroke-width: 1.6; }
  .foot { padding-bottom: 88px; }
}

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

/* ---------- legal / 404 pages ---------- */
.page { max-width: 820px; margin: 0 auto; padding: 140px var(--pad-x) 96px; }
.page h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 500; letter-spacing: -0.05em; line-height: 1.02; margin-bottom: 28px; }
.page h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin: 36px 0 12px; }
.page p, .page li { font-size: 16px; line-height: 1.65; color: #b0b0b0; }
.page ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.page a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.page .btn { margin-top: 32px; }
.page__meta { font-size: 13px; color: #7a7a7a; }
.hdr--static { position: absolute; }
