*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Custom scrollbar (Windows/Chrome/Edge) */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.18); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.32); }
html { scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.18) transparent; overscroll-behavior: contain; }
html, body { overflow-x: clip; }

/* Prevent any horizontal scroll site-wide — no element can push the layout past viewport width.
   Ctrl+ zoom will reflow via responsive breakpoints (tablet <1100px, mobile <700px), which is fine. */
html.lock-desktop,
html.lock-desktop body { overflow-x: clip; }

:root {
  --black: #0D0D0D;
  --ink:   #15161B;
  --ink-2: #1B1D24;
  --white: #FFFFFF;
  --pink:  #E8186D;
  --pink-2:#FF3D8A;
  --grad-pink: linear-gradient(135deg, #FF3D8A 0%, #E8186D 55%, #B8124F 100%);
  --grad-text: linear-gradient(135deg, #FF8DCB 0%, #FF2D86 50%, #E8186D 100%);
  --font-display: 'Syne', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.15s;
  position: relative;
}
/* Hard safety net — if JS fails to reveal body within 3s (network hang, unhandled throw,
   404 on a section/lang JSON), force-show it so user never sees a permanent white screen. */
@keyframes __rpk_body_safety_reveal { to { opacity: 1; } }
body { animation: __rpk_body_safety_reveal 0.01s linear 3s forwards; }

/* ── Site-wide ambient background — grid + soft blobs, fixed so it persists across scroll. ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(0,0,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 35%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 35%, transparent 95%);
}
body::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: -1;
  background:
    /* blobs scattered down the whole page (Y% of full body height) — skip top 12% so hero's own blobs stay clean */
    radial-gradient(circle 380px at 80% 15%, rgba(232,24,109,0.14), transparent 65%),
    radial-gradient(circle 340px at 18% 20%, rgba(120,80,255,0.12), transparent 65%),
    radial-gradient(circle 420px at 85% 28%, rgba(120,80,255,0.10), transparent 65%),
    radial-gradient(circle 360px at 12% 34%, rgba(232,24,109,0.13), transparent 65%),
    radial-gradient(circle 400px at 75% 42%, rgba(232,24,109,0.11), transparent 65%),
    radial-gradient(circle 320px at 22% 50%, rgba(120,80,255,0.12), transparent 65%),
    radial-gradient(circle 380px at 88% 58%, rgba(232,24,109,0.13), transparent 65%),
    radial-gradient(circle 360px at 10% 66%, rgba(120,80,255,0.10), transparent 65%),
    radial-gradient(circle 420px at 70% 74%, rgba(232,24,109,0.12), transparent 65%),
    radial-gradient(circle 340px at 25% 82%, rgba(120,80,255,0.11), transparent 65%),
    radial-gradient(circle 360px at 82% 90%, rgba(232,24,109,0.10), transparent 65%);
  filter: blur(30px);
}

main {
  flex: 1;
}

/* ── HEADER ── */
header {
  position: relative;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--black);
  text-transform: uppercase;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo-dot { color: var(--pink); }
.logo-img { height: 40px; width: auto; display: block; }
.footer-logo-img { height: 32px; width: auto; display: block; }

/* Nav */
nav { display: flex; align-items: center; }

nav a {
  color: rgba(0,0,0,0.78);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: color .2s;
  padding: 0 18px;
  white-space: nowrap;
}
nav a:hover { color: var(--black); }


/* Lang switcher */
.header-right {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-current {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--black);
  cursor: auto;
  user-select: text;
  text-transform: uppercase;
}

.globe-btn {
  background: none;
  border: 1.5px solid rgba(0,0,0,0.15);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s;
  color: var(--black);
}
.globe-btn:hover { border-color: var(--pink); }
.globe-btn svg { width: 18px; height: 18px; }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 200;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 14px;
  overflow: hidden;
  min-width: 130px;
  box-shadow:
    0 20px 50px -8px rgba(0,0,0,0.22),
    0 4px 12px rgba(0,0,0,0.08),
    0 0 0 1px rgba(0,0,0,0.05);
  padding: 6px;
  opacity: 0;
  transform: translateY(-6px) scale(0.97);
  transform-origin: top right;
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
  visibility: hidden;
}
.lang-dropdown.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}
.lang-dropdown button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(0,0,0,0.75);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 9px 12px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.lang-dropdown button:hover {
  background: rgba(0,0,0,0.06);
  color: var(--black);
}
.lang-dropdown button.active {
  color: var(--pink);
  background: rgba(232,24,109,0.08);
}
.lang-flag { font-size: 16px; border-radius: 3px; flex-shrink: 0; line-height: 1; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.1);
  padding: 0 32px 8px;
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 90;
  box-shadow: 0 16px 32px -16px rgba(0,0,0,0.18);
}
.mobile-menu a {
  color: rgba(0,0,0,0.7);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--black); }
.mobile-lang {
  display: flex;
  gap: 16px;
  padding-top: 20px;
}
.mobile-lang button {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(0,0,0,0.78);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: color .2s;
  padding: 0;
}
.mobile-lang button.active,
.mobile-lang button:hover { color: var(--pink); }

/* ── FOOTER (agency style — 3-col grid, copyright under logo) ── */
footer {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 32px 32px 28px;
  background: rgba(238,238,241,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* Top grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Brand col — logo + copyright stacked */
.footer-brand-block {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-brand { display: inline-block; text-decoration: none; }
.footer-logo-img { height: 34px; width: auto; display: block; }
.footer-brand-block .footer-copy {
  font-size: 12px;
  letter-spacing: 0.2px;
  color: rgba(0,0,0,0.5);
}
.footer-brand-block .footer-copy span { color: rgba(0,0,0,0.45); }

/* Section columns */
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  margin: 0 0 14px;
}
.footer-col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col-list a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(0,0,0,0.72);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1px;
  transition: color .2s;
}
.footer-col-list a:hover { color: var(--pink); }
.footer-col-list i,
.footer-col-list .footer-svg-icon {
  font-size: 17px;
  width: 17px;
  height: 17px;
  color: var(--pink);
  flex-shrink: 0;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.footer-col-list a:hover i,
.footer-col-list a:hover .footer-svg-icon { transform: scale(1.15); }

/* Bottom strip removed — copyright now inline under logo */
.footer-bottom { display: none; }

/* New: copyright bar at the very end of footer (both desktop + mobile) */
.footer-bottom-bar {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
  color: rgba(0, 0, 0, 0.5);
  text-align: center;
}
.footer-bottom-bar .footer-copy span { color: rgba(0, 0, 0, 0.4); }
@media (max-width: 700px) {
  .footer-bottom-bar { margin-top: 22px; padding-top: 16px; font-size: 11.5px; }
}

/* Backward compat — old classes still referenced somewhere are silent now */
.footer-logo { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-logo span { color: var(--pink); }
.footer-sep, .footer-row, .footer-row--top, .footer-row--bottom, .footer-contacts, .footer-contact, .footer-links { /* leftover hooks, no styling */ }

/* Tablet — 3 cols, tighter */
@media (max-width: 900px) {
  footer { padding: 28px 28px 22px; }
  .footer-grid { gap: 28px; }
}

/* Small tablet — brand on top, two link cols side-by-side */
@media (max-width: 700px) {
  footer { padding: 26px 22px 22px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "contact docs";
    gap: 22px 22px;
  }
  .footer-brand-block {
    grid-area: brand;
    max-width: none;
  }
  .footer-grid > .footer-col:nth-of-type(1) { grid-area: contact; }
  .footer-grid > .footer-col:nth-of-type(2) { grid-area: docs; }
  .footer-logo-img { height: 30px; }
  .footer-col-title { margin-bottom: 12px; }
  .footer-col-list { gap: 8px; }
  .footer-col-list a { font-size: 13px; }
}

/* Phone — tightest */
@media (max-width: 460px) {
  footer { padding: 22px 18px 18px; }
  .footer-grid { gap: 18px 16px; }
}

/* ── SIDENAV ── */
.sidenav {
  position: fixed;
  left: 20px;
  top: 50%;
  /* Hidden state: faded out + slid left a bit */
  transform: translateY(-50%) translateX(-24px);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s cubic-bezier(.22,1,.36,1),
              transform .45s cubic-bezier(.22,1,.36,1);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 16px 14px;
}
/* Visible state: faded in + slid back to its resting position */
.sidenav.visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

/* left column: unified SVG track */
.sidenav-track {
  line-height: 0; /* prevent inline gap under SVG */
}

/* arc is driven proportionally by scroll — no CSS transition needed */
.sn-arc {
  transition: none;
}

/* fill rect glow */
#snFillRect {
  filter: drop-shadow(0 0 3px rgba(232,24,109,0.5));
}

/* right column: labels */
.sidenav-labels {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 4px;
}

.sidenav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.75);
  white-space: nowrap;
  line-height: 24px;
  transition: color .2s;
  cursor: pointer;
}
.sidenav-label.active { color: var(--black); }
.sidenav-label.done   { color: rgba(0,0,0,0.78); }
.sidenav-label:hover  { color: var(--black); }

.sidenav-bar { display: none; }

@media (max-width: 1100px) { .sidenav { display: none; } }

@media (min-width: 1101px) {
  body { padding-left: 160px; }

  /* header and footer — full width, compensate for sidenav padding-left */
  header, footer {
    margin-left: -160px;
    width: calc(100% + 160px);
  }

  /* last section (#form) — bottom padding before footer */
  #form {
    padding-bottom: 180px;
  }
}

/* ── SHARED ── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 100px 0;
}

section + section {
  border-top: none;
}
/* Sections (except #creatives which has its own dark bg) are transparent so body bg shows through */
section { background: transparent; }
#creatives { background: var(--black); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(0,0,0,0.78);
  max-width: 640px;
}

.btn-cta {
  display: inline-block;
  background: var(--pink);
  color: var(--white);
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: opacity .2s, transform .15s;
}
.btn-cta:hover { opacity: .88; transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--black);
  text-decoration: none;
  border: 1.5px solid rgba(0,0,0,0.15);
  cursor: pointer;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--pink); color: var(--pink); }


/* ── HERO (light, floating glass-cards on transparent — body bg provides grid+blobs) ── */
#hero {
  position: relative;
  /* Dark radial fallback so white hero title stays readable even before the photo loads (slow / cold-cache visits).
     Once .hero-photo is on top (z-index 0), this bg is fully covered. */
  background:
    radial-gradient(120% 100% at 30% 40%, rgba(20,20,25,0.55) 0%, rgba(20,20,25,0.35) 40%, rgba(20,20,25,0.15) 70%, transparent 100%),
    #1a1a1e;
  color: var(--black);
  padding: 140px 0 130px;
  border-top: none;
  isolation: isolate;
  overflow: hidden;                   /* clip photo/blobs so nothing leaks past viewport edge */
  font-family: var(--font-body);
  /* Lock hero height so language switches (different text lengths) don't
     change the section size — keeps photo crop + card positions stable. */
  min-height: 820px;
}

/* Hero's own grid removed — site-wide body::before grid covers the hero too */
.hero-bg-grid { display: none; }

/* Blobs — kept but very soft on white so they look like ambient tint, not glow */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  animation: heroFloat 14s ease-in-out infinite alternate;
}
.hero-blob--a {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(232,24,109,0.22) 0%, rgba(232,24,109,0) 70%);
  top: -120px; right: -140px;
  opacity: 0.7;
}
.hero-blob--b {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(120,80,255,0.20) 0%, rgba(120,80,255,0) 70%);
  bottom: -160px; left: -120px;
  opacity: 0.6;
  animation-delay: -7s;
}
@keyframes heroFloat {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px,30px) scale(1.06); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 60px;
  align-items: center;
  min-height: 520px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 640px;
}

/* Eyebrow — editorial magazine label, no chip, no animation.
   Small pink rule + mono uppercase text. Magazine/agency convention. */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-eyebrow-mark {
  width: 28px;
  height: 2px;
  background: var(--pink);
  border-radius: 1px;
  flex-shrink: 0;
}

/* ── Title — strong hierarchy:
   ▸ line 1+2: huge Syne display (84px max), tightest spacing, italic gradient on the accent
   ▸ line 3 (tail): clearly subordinate — ~40% size, lighter weight, muted colour,
     clear top gap so it reads as a qualifier/subtitle, not a continuation. */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(46px, 5.8vw, 88px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.038em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35), 0 1px 3px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-wrap: balance;
  max-width: 12ch;
}
.hero-title > span { display: block; word-break: normal; overflow-wrap: break-word; }

/* Accent — solid brand pink (no gradient, no shadow) */
.hero-title-accent {
  color: #FF2D86;                     /* brighter pink than brand */
  font-style: italic;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: #FF2D86;
  text-shadow: none;
  animation: none;
}

/* Tail — visual subtitle: smaller, lighter, with breathing room above */
.hero-title-tail {
  font-size: clamp(18px, 2.1vw, 30px);
  font-weight: 500;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35), 0 1px 3px rgba(0,0,0,0.25);
  letter-spacing: -0.015em;
  line-height: 1.25;
  padding-top: 20px;
  max-width: 28ch;
  font-style: normal;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.65;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45), 0 1px 3px rgba(0,0,0,0.35);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;        /* keep both CTAs on one line on desktop (UA text is longer) */
  margin-top: 4px;
}
/* Desktop only: buttons keep natural size; text inside doesn't wrap.
   On mobile they stay full-width column layout, no nowrap. */
@media (min-width: 861px) {
  #hero .btn-cta,
  #hero .btn-cta--lg,
  #hero .btn-ghost {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

/* Primary CTA — gradient pink (same as before, works on light) */
#hero .btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--grad-pink);
  color: #fff;
  padding: 17px 34px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: none;
  text-decoration: none;
  cursor: pointer;
  min-width: unset;
  box-shadow: 0 14px 30px -10px rgba(232,24,109,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .25s, filter .2s;
  opacity: 1;
}
#hero .btn-cta::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform .25s;
}
#hero .btn-cta:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 20px 40px -10px rgba(232,24,109,0.6), inset 0 1px 0 rgba(255,255,255,0.25);
  filter: brightness(1.04);
}
#hero .btn-cta:hover::after { transform: translateX(4px); }
#hero .btn-cta--lg { padding: 19px 40px; }

/* Ghost button — opaque white pill, dark text — guaranteed readable on any photo bg */
#hero .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 26px;
  border-radius: 12px;
  background: rgba(255,255,255,0.92);
  color: var(--black);
  border: 1.5px solid rgba(255,255,255,1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color .2s, color .2s, background .2s, transform .2s;
}
#hero .btn-ghost::after {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  background: currentColor;
  opacity: 0.65;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M8 7h9v9'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M8 7h9v9'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform .25s, opacity .25s;
}
#hero .btn-ghost:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(232,24,109,0.18);
}
#hero .btn-ghost:hover::after { transform: translate(2px,-2px); opacity: 1; }

/* Trust strip — glass chips with subtle white border */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;       /* 3 chips always in a single row on desktop too */
  margin-top: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.hero-trust > .hero-trust-item { white-space: nowrap; }
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 100px;
  color: var(--black);
  font-weight: 600;
  text-shadow: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}
.hero-trust-item i { color: var(--pink); font-size: 15px; }
.hero-trust-sep {
  display: none;            /* chips no longer need a divider between them */
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
}

/* ── Floating cards — solid white with soft pink-tinted shadow on light ── */
.hero-cards {
  position: relative;
  height: 520px;
}

/* Wrapper <picture> — must not disrupt absolute positioning of the img */
#hero > picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block;
}
/* Person photo — fills the whole hero section as background */
#hero .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 30%;     /* keep face visible — biased right, slightly up */
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Desktop only: blur veil over the left half so text reads on the photo.
   Reduced blur (18px → 10px) — heavy backdrop-filter caused a visible band artifact during hero photo decode. */
@media (min-width: 1101px) {
  #hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    background: linear-gradient(to right, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.18) 30%, transparent 60%);
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 35%, transparent 65%);
            mask-image: linear-gradient(to right, #000 0%, #000 35%, transparent 65%);
    will-change: backdrop-filter;   /* hint GPU to pre-compose the filter layer — kills the paint stutter */
  }
  /* Shift hero text block further to the left on desktop */
  .hero-text { transform: translateX(-150px); }
  /* Make sure text/cards sit above the veil */
  .hero-inner { position: relative; z-index: 3; }
}
/* .hero-photo-fade removed — photo shows without any white scrim */
/* Cards + text sit above photo + fade */
.hero-inner { z-index: 3; }
.hero-card { z-index: 3; }
.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  min-width: 240px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    0 24px 50px -16px rgba(232,24,109,0.18),
    0 8px 22px -6px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.9);
  animation: heroCardFloat 6s ease-in-out infinite alternate;
}
/* JS-driven random drift — each tick (3–5.5s) picks new target position,
   CSS transitions there in 4s with easing. No keyframes, no sync, no repeat. */
.hero-card {
  --tx:    0px;
  --ty:    0px;
  --rot:   0deg;
  --scale: 1;
  animation: none;
  transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(var(--scale));
  transition:
    transform 4s cubic-bezier(.45, 0, .35, 1),
    box-shadow .25s;
}
/* All 3 stat cards float on the right edge — equal vertical spacing, pushed right */
/* Cards offset from the right of the centered .hero-inner.
   On wide screens (>1280) calc pushes them further right toward the
   viewport edge so they don't sit on top of the man's face. */
.hero-card--a { top: 20px;  left: auto;
  right: calc(-50px - max(0px, (100vw - 1280px) / 2 - 40px)); }   /* $235K+ top */
.hero-card--b { top: 220px; left: auto;
  right: calc(-50px - max(0px, (100vw - 1280px) / 2 - 40px)); }   /* 100% middle */
.hero-card--c { top: 420px; left: auto; bottom: auto;
  right: calc(-50px - max(0px, (100vw - 1280px) / 2 - 40px)); }   /* 1–5 days bottom */

.hero-card-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--grad-pink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 22px -6px rgba(232,24,109,0.5);
  flex-shrink: 0;
  white-space: nowrap;
}
.hero-card-body { display: flex; flex-direction: column; gap: 2px; }
.hero-card-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1;
}
.hero-card-value small {
  font-size: 14px;
  color: rgba(0,0,0,0.72);
  font-weight: 600;
}
.hero-card-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: rgba(0,0,0,0.72);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Desktop ≥1101 — hero bleeds across body's 160px sidenav-clearance padding */
@media (min-width: 1101px) {
  #hero {
    margin-left: -160px;
    width: calc(100% + 160px);
  }
  #hero .hero-inner {
    padding-left: max(40px, calc(840px - 50vw));
  }
}

/* Tablet 861–1100 — cards stacked, not absolute */
@media (max-width: 1100px) and (min-width: 861px) {
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; }
  .hero-cards {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .hero-card {
    position: static;
    min-width: 0;
    width: 100%;
    padding: 16px 18px;
    animation: heroCardTilt 6s ease-in-out infinite alternate;
  }
  .hero-card--a { animation-delay:  0s; }
  .hero-card--b { animation-delay: -2s; }
  .hero-card--c { animation-delay: -4s; }
  .hero-card-value { font-size: 22px; }
}
@keyframes heroCardTilt {
  0%   { transform: translateY(0)    rotate(-0.8deg); }
  100% { transform: translateY(-3px) rotate(0.8deg);  }
}

/* Mobile ≤860 */
@media (max-width: 860px) {
  #hero { padding: 110px 0 80px; }
  .hero-inner {
    grid-template-columns: 1fr;
    row-gap: 48px;
    min-height: auto;
  }
  .hero-text { max-width: 100%; }
  .hero-title { font-size: clamp(36px, 9vw, 56px); }
  .hero-cards {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 360px;
    margin: 0 auto;
  }
  .hero-card {
    position: static;
    animation: none;
    min-width: 0;
    width: 100%;
  }
}

/* Phone ≤600 */
@media (max-width: 600px) {
  #hero { padding: 100px 0 64px; }
  .hero-title { font-size: clamp(34px, 8.5vw, 48px); }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  #hero .btn-cta, #hero .btn-ghost { width: 100%; justify-content: center; }
  .hero-trust { gap: 10px 14px; font-size: 12px; }
  .hero-trust-sep { display: none; }
  .hero-card-value { font-size: 22px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-blob,
  .hero-card,
  .hero-title-accent { animation: none !important; }
  #hero .btn-cta:hover,
  #hero .btn-ghost:hover,
  .hero-card:hover { transform: none !important; }
}


/* ── WHY ── */
#why .section-inner {
  display: grid;
  gap: 64px;
}
#why .why-header { max-width: 700px; }
#why .why-intro {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(0,0,0,0.78);
  margin-top: 20px;
}
#why .why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
#why .why-card {
  padding: 28px;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 16px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  background: #fafafa;
}
#why .why-card:hover {
  border-color: rgba(232,24,109,0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  background: #fff;
}
#why .why-card--wide {
  grid-column: span 2;
}
.why-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: rgba(232,24,109,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--pink);
}
.why-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#why .why-card strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
#why .why-card span {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(0,0,0,0.75);
}
#why .why-approach {
  border-left: 3px solid var(--pink);
  padding-left: 28px;
}
#why .why-approach h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
#why .why-approach p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(0,0,0,0.78);
}

/* ── TEAM ── */
#team .section-inner { display: flex; flex-direction: column; gap: 56px; }
#team .team-header { max-width: 600px; }

.team-leads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  justify-content: center;
  gap: 16px;
  align-items: stretch;
}
.team-card-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card-img:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
}

/* Text block below the grid */
#team .team-also { max-width: 800px; margin-top: 8px; }
#team .team-also h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
#team .team-also > p {
  font-size: 15px;
  color: rgba(0,0,0,0.75);
  margin-bottom: 28px;
  line-height: 1.6;
}
#team .team-roles {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
#team .team-roles li {
  padding: 16px 0;
  font-size: 15px;
  color: rgba(0,0,0,0.78);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  line-height: 1.5;
}
#team .team-roles li::before {
  content: '→ ';
  color: var(--pink);
  font-weight: 700;
}

/* ── TRAFFIC ── */
#traffic .section-inner { display: flex; flex-direction: column; gap: 56px; }
#traffic .traffic-header { max-width: 600px; }
.traffic-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.traffic-card-wrap {
  position: relative;
  padding-top: 24px;
}

.traffic-icons {
  position: absolute;
  display: flex;
  gap: 6px;
  align-items: flex-end;
  z-index: 1;
}
.traffic-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  display: block;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}

/* Card 1 — FB+IG top right */
.traffic-card-wrap:nth-child(1) .traffic-icons {
  top: -10px;
  right: 24px;
}
.traffic-card-wrap:nth-child(1) .traffic-icon--1 { transform: rotate(-10deg) translateY(6px); margin-right: 26px; border-radius: 20%; box-shadow: none; width: 60px; height: 60px; }
.traffic-card-wrap:nth-child(1) .traffic-icon--2 { transform: rotate(7deg); border-radius: 20%; box-shadow: none; width: 60px; height: 60px; }

/* Card 2 — TikTok bottom right */
.traffic-card-wrap:nth-child(2) .traffic-icons {
  top: auto;
  bottom: 28px;
  right: -14px;
}
.traffic-card-wrap:nth-child(2) .traffic-icon--1 { transform: rotate(10deg); border-radius: 22%; box-shadow: none; width: 60px; height: 60px; }

/* Card 3 — Google Ads top left */
.traffic-card-wrap:nth-child(3) .traffic-icons {
  top: -8px;
  left: 24px;
}
.traffic-card-wrap:nth-child(3) .traffic-icon--1 { transform: rotate(-6deg) translateY(4px); width: 60px; height: 60px; background: #fff; padding: 10px; border-radius: 14px; box-shadow: 0 4px 14px rgba(0,0,0,0.12); }

/* Hover — icons react */
.traffic-card-wrap:hover .traffic-icon--1 {
  transform: rotate(-4deg) translateY(-6px) scale(1.08);
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}
.traffic-card-wrap:nth-child(1):hover .traffic-icon--1,
.traffic-card-wrap:nth-child(1):hover .traffic-icon--2,
.traffic-card-wrap:nth-child(2):hover .traffic-icon--1 {
  box-shadow: none;
}
.traffic-card-wrap:hover .traffic-icon--2 {
  transform: rotate(3deg) translateY(-8px) scale(1.1);
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}
.traffic-card {
  padding: 36px 28px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 16px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.traffic-card-wrap:hover .traffic-card {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  border-color: rgba(232,24,109,0.35);
}
.traffic-card h3 {
  font-size: 20px;
  font-weight: 700;
}
.traffic-card p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(0,0,0,0.75);
  flex: 1;
}
.traffic-quote {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(0,0,0,0.75);
  font-style: italic;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

/* ── NICHES ── */
#niches .section-inner { display: flex; flex-direction: column; gap: 40px; }
#niches .niches-header { max-width: 600px; margin-bottom: 40px; }

/* Category columns — niches grouped by industry */
.niches-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  max-width: 1040px;
}
.niches-cat-title {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.62);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.niches-cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.niches-cat-list li {
  font-size: 16px;
  font-weight: 500;
  color: rgba(0,0,0,0.78);
  line-height: 1.45;
  transition: color .2s;
}
.niches-cat-list li:hover { color: var(--pink); }

@media (max-width: 900px) {
  .niches-cats { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}
@media (max-width: 600px) {
  .niches-cats { grid-template-columns: 1fr; gap: 32px; }
}

/* Legacy pill list (kept for back-compat in case any old DOM still uses it) */
.niches-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 560px;
}
.niches-list li {
  padding: 7px 14px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(0,0,0,0.7);
  cursor: default;
  transition: border-color .2s, color .2s;
}
.niches-list li:hover { border-color: var(--pink); color: var(--black); }

.niches-extra {
  font-size: 13px;
  color: rgba(0,0,0,0.78);
  font-style: italic;
  margin-top: 4px;
}

/* ── CASES ── */
#cases .section-inner { display: flex; flex-direction: column; gap: 40px; }
#cases .cases-header { max-width: 700px; }
.cases-placeholder {
  text-align: center;
  padding: 80px 40px;
  border: 1px dashed rgba(0,0,0,0.12);
  border-radius: 16px;
  color: rgba(0,0,0,0.72);
  font-size: 15px;
}

/* ── Cases carousel ── */
.cases-carousel {
  position: relative;
}
.cases-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.cases-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.cases-track img {
  flex-shrink: 0;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.07);
  display: block;
  user-select: none;
  pointer-events: none;
  aspect-ratio: 1580 / 2120;
  object-fit: cover;
}
.cases-controls {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
}
.cases-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  display: block;
  flex-shrink: 0;
  width: 80px;
  height: 44px;
  position: relative;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .22s;
  margin: -12px;
}
.cases-arrow:focus { outline: none; }
.cases-arrow-svg {
  position: absolute;
  top: 0; left: 0;
  pointer-events: none;
}

.cases-sq {
  width: 58px;
  height: 58px;
  background: #222226;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, box-shadow .25s, border-color .25s;
  position: relative;
}
.cases-sq:hover {
  background: #E8186D;
  border-color: #ff2d7f;
  box-shadow: 0 0 10px 3px rgba(232,24,109,0.6);
}
.cases-sq:active {
  background: #E8186D;
  box-shadow: 0 0 6px 2px rgba(232,24,109,0.5);
}
.cases-sq.clicked {
  animation: sqClick 0.35s ease;
}
@keyframes sqClick {
  0%   { transform: translateX(0)  scale(1);    filter: blur(0px); }
  30%  { transform: translateX(6px) scale(0.93); filter: blur(1px); }
  55%  { transform: translateX(-3px) scale(1.04); filter: blur(0px); }
  100% { transform: translateX(0)  scale(1);    filter: blur(0px); }
}
.cases-arrow:hover .cases-arrow-bg { fill: var(--pink); }
.cases-arrow-bg { transition: fill .25s; }
.cases-arrow-svg { display: block; }
.cases-arrow.clicked {
  animation: arrowPress 0.25s ease;
}
@keyframes arrowPress {
  0%   { transform: scale(1); }
  40%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}
@media (max-width: 600px) {
  .cases-arrow { width: 36px; height: 36px; font-size: 15px; }
}

/* ── REVIEWS — iPhone-stage Stories cycle ── */
.reviews-header-wrap { padding-bottom: 56px; }
.reviews-eyebrow { color: var(--pink); }
.reviews-title   { color: var(--black); max-width: 680px; }
.reviews-subtitle {
  color: rgba(0,0,0,0.72);
  max-width: 560px;
  margin-top: 12px;
}

.reviews-stage-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  position: relative;
  padding: 0 32px;
  perspective: 2200px;
}

/* iPhone Pro Max-style mockup — thin titanium rail */
.review-phone {
  width: 300px;
  background: linear-gradient(135deg, #5a5a5c 0%, #2a2a2c 35%, #1a1a1c 50%, #0a0a0a 100%);
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    inset 0 0 0 0.5px rgba(255,255,255,0.18),
    inset 0 1.5px 2px rgba(255,255,255,0.16),
    inset 0 -2px 3px rgba(0,0,0,0.55),
    0 0 0 1px #000,
    0 38px 70px -16px rgba(0,0,0,0.45),
    0 22px 48px -22px rgba(0,0,0,0.3),
    0 6px 14px -8px rgba(0,0,0,0.25);
  position: relative;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
  flex-shrink: 0;
}

/* Left side buttons — small Action + tall Volume Up + tall Volume Down */
/* Left side — Action (short, top) + Volume Up + Volume Down (longer, below) */
.review-phone::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 84px;
  width: 3px;
  height: 18px;
  background: linear-gradient(to right, #2a2a2c, #0a0a0a);
  border-radius: 2px 0 0 2px;
  box-shadow:
    0 46px 0 0 #1a1a1c,
    0 50px 0 0 #1a1a1c,
    0 54px 0 0 #1a1a1c,
    0 58px 0 0 #1a1a1c,
    0 62px 0 0 #1a1a1c,
    0 84px 0 0 #1a1a1c,
    0 88px 0 0 #1a1a1c,
    0 92px 0 0 #1a1a1c,
    0 96px 0 0 #1a1a1c,
    0 100px 0 0 #1a1a1c;
}

/* Right side — Power/Sleep button */
.review-phone::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 100px;
  width: 3px;
  height: 44px;
  background: linear-gradient(to left, #2a2a2c, #0a0a0a);
  border-radius: 0 2px 2px 0;
}

/* Left phone — front faces right (toward center) */
.review-phone--left  { transform: rotateY(10deg)  rotateX(0deg); }
.review-phone--left:hover  { transform: translateY(-4px) rotateY(0deg) rotateX(2deg); }

/* Right phone — front faces left (toward center) */
.review-phone--right { transform: rotateY(-10deg) rotateX(0deg); }
.review-phone--right:hover { transform: translateY(-4px) rotateY(-0deg) rotateX(2deg); }

.review-phone-screen {
  width: 100%;
  aspect-ratio: 760 / 1446;   /* real photo pixel ratio — height derived, no % on descendants */
  border-radius: 34px;
  overflow: hidden;
  overflow: clip;              /* Safari clips more reliably than overflow: hidden */
  background: #000;
  position: relative;
  isolation: isolate;
  -webkit-clip-path: inset(0 round 34px);
          clip-path: inset(0 round 34px);
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  will-change: transform;
  contain: paint;
}

.review-phone-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #000;
  border-radius: 16px;
  z-index: 10;
}

.review-phone-progress {
  position: absolute;
  top: 50px;
  left: 12px;
  right: 12px;
  z-index: 12;
  display: flex;
  gap: 3px;
  pointer-events: none;
}
.review-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.45);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.25); /* subtle outline for visibility on bright content */
}
.review-progress-bar-fill {
  width: 0;
  height: 100%;
  background: #fff;
  border-radius: 2px;
}

.review-phone-content {
  position: absolute;
  inset: 0;                         /* stretched by inset, no % width/height needed */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  opacity: 1;
  transition: opacity .14s ease;
  overflow: hidden;
  border-radius: 34px;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
}
.review-phone-content img,
.review-phone-content video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  object-fit: cover;
  object-position: center;
}
/* Non-vertical (square) videos: show the whole frame and fill the gaps with white
   instead of cropping/stretching to fill the tall phone screen. */
.review-phone-content video.review-fit-contain {
  object-fit: contain;
  background: #fff;
}

.review-stage-hint {
  margin-top: 56px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.7);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .review-phone,
  .review-phone:hover,
  .review-phone--left, .review-phone--left:hover,
  .review-phone--right, .review-phone--right:hover { transform: none; }
}

@media (max-width: 1000px) {
  .reviews-stage-wrap { gap: 40px; }
  .review-phone--left  { transform: rotateY(15deg)  rotateX(2deg); }
  .review-phone--left:hover  { transform: translateY(-4px) rotateY(15deg) rotateX(2deg); }
  .review-phone--right { transform: rotateY(-15deg) rotateX(2deg); }
  .review-phone--right:hover { transform: translateY(-4px) rotateY(-15deg) rotateX(2deg); }
}

@media (max-width: 700px) {
  .reviews-stage-wrap {
    flex-direction: column;
    gap: 36px;
    padding: 0 18px;
    perspective: none;
  }
  .review-phone--left,
  .review-phone--right { transform: none; }
  .review-phone--left:hover,
  .review-phone--right:hover { transform: translateY(-3px); }
  .review-stage-hint { font-size: 10px; }
}

/* ── FACTS ── */
.facts-header { margin-bottom: 48px; }

.facts-bento {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.fact-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.fact-card:hover {
  border-color: rgba(232,24,109,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -16px rgba(232,24,109,0.15);
}

.fact-card--hero {
  grid-column: 1;
  grid-row: 1 / 3;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(232,24,109,0.18) 0%, rgba(232,24,109,0.04) 45%, transparent 75%),
    #fff;
  border-color: rgba(232,24,109,0.22);
  padding: 32px 36px;
  container-type: inline-size;
  position: relative;
  justify-content: space-between;
  gap: 0;
  overflow: hidden;
}
.fact-card--hero .fact-icon--top-right {
  position: absolute;
  top: 26px;
  right: 28px;
  font-size: 28px;
  margin: 0;
}
.fact-card--wide {
  grid-column: 2 / 4;
  grid-row: 2;
}

.fact-icon { font-size: 26px; margin-bottom: 6px; color: var(--pink); line-height: 1; }

.fact-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 600;
}
.fact-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--pink);
  line-height: 1;
}
.fact-value-big {
  font-size: min(120px, 18cqi);
  font-weight: 800;
  color: var(--pink);
  line-height: 0.95;
  letter-spacing: -0.03em;
  white-space: nowrap;
  margin: auto 0;
}
.fact-name  { font-size: 16px; font-weight: 700; color: var(--black); }
.fact-desc  { font-size: 13px; line-height: 1.6; color: rgba(0,0,0,0.72); margin-top: 4px; }
.fact-chart-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 4px auto 2px;
  pointer-events: none;
  user-select: none;
}
.fact-card--hero .fact-desc { max-width: 56%; margin-top: 0; }

@media (max-width: 1000px) {
  .facts-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .fact-card--hero { grid-column: 1 / 3; grid-row: auto; min-height: 280px; }
  .fact-card--wide { grid-column: 1 / 3; grid-row: auto; }
  .fact-value-big { font-size: min(96px, 16cqi); }
  .fact-card--hero .fact-desc { max-width: 70%; }
}
@media (max-width: 600px) {
  .facts-bento { grid-template-columns: 1fr; }
  .fact-card--hero, .fact-card--wide { grid-column: 1; }
  .fact-value-big { font-size: min(72px, 20cqi); }
  .fact-card--hero .fact-desc { max-width: 100%; }
}

/* ── PROCESS ── */
.process-header { margin-bottom: 56px; max-width: 640px; }
.process-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(0,0,0,0.72);
  margin-top: 12px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: relative;
}

.process-card {
  background: #f7f7f7;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 28px 22px;
  position: relative;
  overflow: visible;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.process-card .process-num {
  max-width: 100%;
  right: 0;
  clip-path: inset(0);
}
.process-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232,24,109,0.55) !important;
  box-shadow: 0 8px 24px rgba(232,24,109,0.12);
}
.process-card--start {
  border-color: rgba(232,24,109,0.15);
}
.process-card--final {
  border-color: rgba(232,24,109,0.45);
}

/* Progressive pink tint from step 01 → 08 (linear steps) */
.process-card[data-step="01"],
.process-card[data-step="02"],
.process-card[data-step="03"],
.process-card[data-step="04"],
.process-card[data-step="05"],
.process-card[data-step="06"],
.process-card[data-step="07"],
.process-card[data-step="08"] { background: #fdf6f9; border-color: rgba(232,24,109,0.12); }

.process-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  margin-bottom: 6px;
}
.process-badge--start {
  background: rgba(232,24,109,0.1);
  color: var(--pink);
  border: 1px solid rgba(232,24,109,0.2);
}
.process-badge--result {
  background: rgba(232,24,109,0.15);
  color: var(--pink);
  border: 1px solid rgba(232,24,109,0.3);
}

.process-num {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  color: rgba(0,0,0,0.12);
  position: absolute;
  top: 8px; right: 12px;
  pointer-events: none;
  user-select: none;
}

.process-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  position: relative;
}
.process-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(0,0,0,0.78);
  position: relative;
}

.process-arrow {
  position: absolute;
  bottom: 14px; right: 16px;
  font-size: 20px;
  color: var(--pink);
  opacity: 0.75;
  font-weight: 700;
}
.process-arrow--down {
  bottom: 14px;
  right: 16px;
  top: auto;
  font-size: 20px;
  font-weight: 700;
  opacity: 0.75;
}

@media (max-width: 1000px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .process-grid { grid-template-columns: 1fr; } .process-arrow { display: none; } }

/* ── FORM ── */
#form .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
#form .form-left h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
#form .form-left p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(0,0,0,0.75);
}

#leadForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#leadForm input,
#leadForm select {
  background: #f3f3f3;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--black);
  font-size: 15px;
  width: 100%;
  outline: none;
  transition: border-color .2s;
}
/* Custom chevron on the select — native arrow sits too far right on mobile */
#leadForm select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 44px;   /* room for the SVG arrow */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7' fill='none'><path d='M1 1L6 6L11 1' stroke='%230D0D0D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
#leadForm input:focus,
#leadForm select:focus { border-color: var(--pink); }
#leadForm select option { background: #F5F5F5; }

/* ── MESSENGER CHIPS ── */
.messenger-chips-wrap { display: flex; flex-direction: column; gap: 8px; }

.messenger-chips-label {
  font-size: 13px;
  color: rgba(0,0,0,0.78);
}

.messenger-chips {
  display: flex;
  gap: 10px;
}

.messenger-chip {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 10px;
  background: #f5f5f5;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: rgba(0,0,0,0.78);
  outline: none;
  transition: border-color .2s, color .2s, background .2s;
  white-space: nowrap;
}
.messenger-chip:hover {
  border-color: rgba(0,0,0,0.22);
  color: var(--black);
  background: rgba(0,0,0,0.06);
}
.messenger-chip.active {
  border-color: var(--pink);
  color: var(--black);
  background: rgba(232,24,109,0.06);
}

/* ── PHONE + USERNAME FIELDS ── */
.phone-fields {
  display: flex;
  gap: 10px;
  flex-direction: column;
}
.phone-fields-row {
  display: flex;
  gap: 10px;
  position: relative;
}
.phone-fields select { display: none; }

/* Custom phone code picker */
.phone-code-picker {
  position: relative;
  flex-shrink: 0;
}
.phone-code-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  height: 48px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
  transition: border-color .2s;
}
.phone-code-btn:hover { border-color: rgba(232,24,109,0.4); }
.phone-code-flag {
  font-size: 18px;
  border-radius: 3px;
  line-height: 1;
}
.phone-code-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  list-style: none;
  padding: 6px;
  min-width: 140px;
  max-height: 260px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  scrollbar-width: thin;
}
.phone-code-list.open { display: block; }
.phone-code-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  transition: background .15s;
}
.phone-code-list li:hover { background: rgba(0,0,0,0.05); }
.phone-code-list li.selected { background: rgba(232,24,109,0.08); color: var(--pink); }
.phone-code-list li .fi {
  font-size: 16px;
  border-radius: 3px;
  flex-shrink: 0;
}
.phone-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.phone-fields .phone-input {
  flex: 1;
  width: 100%;
  padding-right: 42px !important;
}
.phone-status {
  position: absolute;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.phone-status.valid   { opacity: 1; background: #22c55e; color: #fff; }
.phone-status.invalid { opacity: 1; background: #ef4444; color: #fff; }

/* E.164 preview badge */
.phone-preview {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all .2s;
}
.phone-preview.show-valid {
  display: flex;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  color: #16a34a;
}
.phone-preview.show-invalid {
  display: flex;
  background: rgba(239,68,68,0.07);
  border: 1px solid rgba(239,68,68,0.2);
  color: #dc2626;
}
.phone-preview-icon { font-size: 15px; flex-shrink: 0; }
.phone-preview-text { flex: 1; }
.phone-preview-e164 { font-weight: 700; font-family: monospace; }

/* Colored border on phone input */
#fieldPhone.valid   { border-color: #22c55e !important; }
#fieldPhone.invalid { border-color: #ef4444 !important; }

.contact-or-divider {
  text-align: center;
  font-size: 13px;
  color: rgba(0,0,0,0.75);
  position: relative;
}
.contact-or-divider::before,
.contact-or-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 44%;
  height: 1px;
  background: rgba(0,0,0,0.1);
}
.contact-or-divider::before { left: 0; }
.contact-or-divider::after  { right: 0; }

#usernameWrap { position: relative; }
#usernameWrap.field-disabled input {
  opacity: 0.4;
  cursor: not-allowed;
}
#usernameWrap.field-disabled::after {
  content: 'Недоступно для Viber';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: rgba(0,0,0,0.75);
  pointer-events: none;
}

#formSuccess { color: #4ade80; font-size: 14px; }
#formError   { color: #f87171; font-size: 14px; }

/* ── SUCCESS MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-box {
  background: #fff;
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.15);
  transform: translateY(20px) scale(0.97);
  transition: transform .25s;
}
.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}
.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.modal-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.modal-text {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(0,0,0,0.75);
  margin-bottom: 28px;
}
.modal-close {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ══════════════════════════════════════════
   CREATIVES SECTION
   ══════════════════════════════════════════ */
#creatives {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 80px;
  position: relative;
  /* No overflow:hidden — the ::before bleed strip would be clipped.
     Tickers stay clipped by their own .creatives-ticker-wrap. */
}

/* Desktop ≥1101 — extend ONLY the dark background 160px to the left
   (filling body's sidenav-clearance padding). Content stays in original
   position so tickers/header don't slide under the sidenav. */
@media (min-width: 1101px) {
  #creatives::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: -160px;
    width: 160px;
    background: var(--black);
    pointer-events: none;
    z-index: 0;
  }
}

.creatives-header-wrap { padding-bottom: 48px; }

.creatives-label-pink { color: var(--pink); }

.creatives-title {
  color: var(--white);
  max-width: 680px;
}
.creatives-subtitle {
  color: rgba(255,255,255,0.55);
  max-width: 560px;
}

/* ── Row label ── */
.creatives-row-wrap { margin-bottom: 40px; }
@media (max-width: 700px) {
  .creatives-header-wrap + .creatives-row-wrap { margin-top: 40px; }
}
.creatives-cta-wrap { padding-top: 56px; text-align: center; }
/* Reviews CTA sits under 3D-tilted phones whose drop-shadow paints above later
   in-flow siblings — lift the button into its own layer so the shadow can't cover it. */
#reviews .creatives-cta-wrap { position: relative; z-index: 2; }
.creatives-row-wrap:last-of-type { margin-bottom: 0; }

.creatives-row-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 0 0 16px 32px;
}
@media (max-width: 700px) {
  .creatives-row-label {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    padding-left: 20px;
    padding-bottom: 20px;
  }
}

/* ── Ticker wrap — only the items row, no extra padding ── */
.creatives-ticker-wrap {
  position: relative;
  overflow: hidden;
  height: 404px; /* 388px items + 8px ticker padding top + 8px bottom */
}

/* Fade edges */
.creatives-ticker-wrap::before,
.creatives-ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.creatives-ticker-wrap::before { left:  0; background: linear-gradient(to right, #0D0D0D, transparent); }
.creatives-ticker-wrap::after  { right: 0; background: linear-gradient(to left,  #0D0D0D, transparent); }

/* ── Ticker ── */
.creatives-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  will-change: transform;
  padding: 8px 0;  /* room for hover lift */
}
/* Pause via JS class only — no CSS hover on wrap */
.creatives-ticker.paused,
.creatives-ticker.lb-paused { animation-play-state: paused !important; }

@keyframes creativesLeft  { 0% { transform: translateX(0); }    100% { transform: translateX(-50%); } }
@keyframes creativesRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* ── Items ── */
/* outer = hitbox only — stays in place, no transform → no hover flicker */
.creative-item {
  flex-shrink: 0;
  cursor: pointer;
  height: 388px;          /* 380px visual + 8px buffer at top for lift */
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* visual anchored at bottom, lifts into buffer */
}
.creative-item--video { width: 213px; }

/* inner = visual — this is what moves and has rounded corners */
.creative-item-visual {
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1e;
  transition: transform .25s, box-shadow .25s;
}
.creative-item:hover .creative-item-visual {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.55);
}

/* Photo: image sizes the visual naturally */
.creative-item-visual > img {
  height: 380px;
  width: auto;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Video inner */
.creative-item--video .creative-item-visual {
  width: 213px;
  background: #111116;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
/* Poster image — fills visual */
.creative-poster {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Video preview */
.creative-video-preview {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.creative-item.preview-active .creative-video-preview { opacity: 1; }

/* Play icon */
.creative-play-icon {
  position: relative;
  z-index: 2;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(232,24,109,0.92);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .25s, transform .2s;
  flex-shrink: 0;
}
.creative-play-icon svg { margin-left: 3px; }
.creative-item.preview-active .creative-play-icon,
.creative-item--video:hover .creative-play-icon {
  opacity: 0;
  transform: scale(0.75);
}

/* ── Lightbox ── */
.creatives-lb {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.creatives-lb.open { display: flex; }

.creatives-lb-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  background: rgba(0,0,0,0.93);
  cursor: pointer;
}
/* Box sits above overlay */
.creatives-lb-box {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.creatives-lb-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}
.creatives-lb-content img {
  max-width: min(90vw, 720px);
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  display: block;
}
.creatives-lb-content video {
  max-width: min(90vw, 420px);
  max-height: 78vh;
  border-radius: 12px;
  display: block;
  background: #000;
}

/* Close button — absolute top-right (container is already fixed+inset:0) */
.creatives-lb-close {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 20;
  width: 44px; height: 44px;
  background: rgba(30,30,30,0.85);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.creatives-lb-close:hover { background: rgba(232,24,109,0.85); border-color: var(--pink); }

/* Counter */
.creatives-lb-counter {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  display: block;
  margin-top: 4px;
}

/* Arrows — absolute inside the fixed .creatives-lb container */
.creatives-lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 52px; height: 52px;
  background: rgba(20,20,20,0.8);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.creatives-lb-btn--prev { left: 16px; }
.creatives-lb-btn--next { right: 16px; }
.creatives-lb-btn:hover { background: var(--pink); border-color: var(--pink); }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  nav { display: none; }
  .burger { display: flex; }
  .traffic-cards { grid-template-columns: 1fr; }
  #form .section-inner { grid-template-columns: 1fr; gap: 40px; }
  /* Lang switcher stays in header on mobile, sits to the left of burger */
  .header-right { display: flex; gap: 8px; margin-left: auto; margin-right: 4px; }
  .header-right .lang-current { font-size: 12px; }
  .header-right .globe-btn { width: 36px; height: 36px; }
  /* Hide the duplicate language buttons from inside the mobile menu */
  .mobile-lang { display: none; }
}
@media (max-width: 860px) {
  .hero-inner { flex-direction: column; }
  .hero-visual { display: none; }
  .hero-text { max-width: 100%; }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .section-inner { padding: 0 20px; }
  #hero { padding-top: 120px; }
  .team-leads { grid-template-columns: 1fr 1fr; gap: 12px; }
  /* Lone 3rd card centered on its own row */
  #teamLeads .team-card-img:last-child { grid-column: 1 / -1; justify-self: center; width: calc((100% - 12px) / 2); }
  #team .team-also { grid-column: 1 / -1; align-self: start; margin-top: 8px; }
  #team .team-also h3 { font-size: 22px; }
  #team .team-also > p { font-size: 15px; }
  #team .team-roles li { font-size: 15px; padding: 14px 0; }
  /* Footer: stack rows + their children on phone */
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-contacts { gap: 14px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

/* ── COOKIE CONSENT BANNER — full-width bottom bar ───── */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9990;
  background: rgba(13, 13, 13, 0.97);
  color: #fff;
  padding: 20px 32px;
  box-shadow: 0 -8px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .35s;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-banner.shown {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner > * { /* inner wrap via direct children — there are 2 (text + actions) */
  flex-shrink: 0;
}
.cookie-banner {
  /* Layout: text on left, actions on right, constrained center */
  gap: 32px;
}
.cookie-banner-text {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 760px;
  flex: 1 1 auto;
}
.cookie-banner-text a {
  color: var(--pink);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 24, 109, 0.4);
  transition: border-color .2s;
}
.cookie-banner-text a:hover { border-bottom-color: var(--pink); }
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 11px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, opacity .2s, border-color .2s;
  white-space: nowrap;
}
.cookie-btn--primary {
  background: var(--pink);
  color: #fff;
}
.cookie-btn--primary:hover { background: #d11760; }
.cookie-btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.14);
}
.cookie-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Tablet — stack but keep horizontal feel */
@media (max-width: 900px) {
  .cookie-banner {
    padding: 18px 24px;
    gap: 18px;
    flex-wrap: wrap;
  }
  .cookie-banner-text { max-width: none; flex-basis: 100%; }
  .cookie-banner-actions { flex-basis: 100%; justify-content: flex-end; }
}

/* Mobile — full stack, buttons full width */
@media (max-width: 600px) {
  .cookie-banner {
    padding: 16px 18px;
    gap: 14px;
  }
  .cookie-banner-text { font-size: 13px; }
  .cookie-banner-actions {
    width: 100%;
    flex-direction: column-reverse;
    gap: 8px;
  }
  .cookie-btn { width: 100%; padding: 12px 16px; }
}

/* ─────────────────────────────────────────────────────── */
/* ── MOBILE OPTIMIZATIONS (≤700px) ─────────────────────  */
/* ─────────────────────────────────────────────────────── */

/* iOS safe-area support (notch + home indicator) */
@supports (padding: env(safe-area-inset-bottom)) {
  .cookie-banner {
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }
  .mobile-cta-bar {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 700px) {

  /* ── Tighter section vertical rhythm ── */
  section { padding: 56px 0; }
  .section-inner { padding: 0 18px; }

  /* ── Typography — readable but compact ── */
  .section-label { font-size: 10.5px; margin-bottom: 12px; }
  .section-title { font-size: clamp(28px, 8vw, 38px); line-height: 1.15; letter-spacing: -0.5px; }
  .section-subtitle { font-size: 15px; line-height: 1.6; }
  body { -webkit-text-size-adjust: 100%; }

  /* ── Hero compaction — fit fully on first screen ── */
  #hero { padding: 88px 0 48px !important; }
  .hero-inner { row-gap: 32px !important; }
  .hero-eyebrow { font-size: 13px; letter-spacing: 1.6px; }
  .hero-eyebrow-mark { width: 22px !important; }
  .hero-title {
    font-size: clamp(38px, 11vw, 56px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.6px;
    margin-bottom: 14px !important;
  }
  .hero-title-tail {
    font-size: clamp(20px, 5.5vw, 30px) !important;
    line-height: 1.2 !important;
  }
  .hero-desc {
    font-size: 17px !important;
    line-height: 1.55 !important;
    margin-bottom: 22px !important;
  }
  .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100%;
  }
  #hero .btn-cta,
  #hero .btn-cta--lg,
  #hero .btn-ghost {
    width: 100% !important;
    text-align: center;
    justify-content: center;
    padding: 14px 22px !important;
    font-size: 14px;
  }
  .hero-trust { display: none !important; }     /* trust strip — too cramped on mobile */
  .hero-cards { display: none !important; }     /* floating stat cards — eat 1 screen-height */
  .hero-blob { opacity: 0.4; }                  /* mute decorative blobs on mobile */

  /* When jumping to #form via sticky CTA — leave room above */
  #form { scroll-margin-top: 16px; }

  /* ── Form — prevent iOS zoom on focus (inputs ≥16px) ── */
  #form input,
  #form select,
  #form textarea,
  #form .input,
  #form .form-input,
  .messenger-chip,
  .phone-code-btn,
  #fieldPhone,
  #fieldName,
  #fieldUsername,
  #fieldNiche { font-size: 16px !important; }

  /* ── Tap targets — min 44px (Apple HIG / WCAG) ── */
  .btn-cta,
  .btn-ghost,
  .messenger-chip,
  .phone-code-btn,
  .cookie-btn,
  .cases-arrow,
  .footer-col-list a,
  nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .btn-cta { padding: 14px 24px; }

  /* ── Header ── */
  header { padding: 12px 0; }
  .header-inner { padding: 0 18px; height: 48px; }
  .logo-img { height: 36px; }

  /* ── Niches: single column on small phones — categories side-by-side too narrow ── */
  /* (handled in niches block, but tighter padding) */
  .niches-cats { gap: 36px; }
  .niches-cat-title { padding-bottom: 12px; margin-bottom: 14px; }

  /* ── Cases carousel — bigger touch zones for arrows ── */
  .cases-arrow { width: 44px; height: 44px; }

  /* ── Reviews stage — already responsive, just less vertical space ── */
  .reviews-stage-wrap { gap: 28px; padding: 0 12px; }

  /* ── Footer tight ── */
  footer { padding: 24px 18px 28px; }
  .footer-col-title { font-size: 10.5px; }
  .footer-col-list a { font-size: 14px; gap: 10px; }

  /* ── Form padding ── */
  #form .form-block { padding: 24px 20px !important; }

  /* Cookie always at the very bottom — covers CTA when shown (z-index higher) */
}

/* ── EXTRA SMALL (≤420px iPhone SE etc.) ── */
@media (max-width: 420px) {
  .section-title { font-size: clamp(26px, 9vw, 34px); }
  .section-inner { padding: 0 16px; }
  #hero { padding-top: 88px !important; }
  .footer-grid { gap: 18px 14px; }
  .niches-cats { gap: 28px; }
}

/* Traffic icon tap-wobble keyframes — go to the same pose as the PC hover, then return.
   Peak (45%) matches the desktop :hover transform, 0%/100% is each icon's resting transform. */
/* Only forward (rest → peak); the return is played back via `alternate`, so it's an exact reversal. */
@keyframes traffic-wobble-1a {
  from { transform: rotate(-10deg) translateY(6px) scale(1); }
  to   { transform: rotate(2deg) translateY(6px) scale(1.14); }
}
@keyframes traffic-wobble-1b {
  from { transform: rotate(7deg) scale(1); }
  to   { transform: rotate(-5deg) scale(1.14); }
}
@keyframes traffic-wobble-2 {
  from { transform: rotate(10deg) scale(1); }
  to   { transform: rotate(-4deg) scale(1.14); }
}
@keyframes traffic-wobble-3 {
  from { transform: rotate(-6deg) translateY(4px) scale(1); }
  to   { transform: rotate(6deg) translateY(4px) scale(1.14); }
}

/* ── Tap feedback — subtle press effect for buttons ── */
@media (hover: none) and (pointer: coarse) {
  .btn-cta:active,
  .btn-ghost:active,
  .cookie-btn:active,
  .messenger-chip:active { transform: scale(0.97); }

  /* Kill sticky :hover on touch devices — after a tap+scroll iOS/Android keep :hover applied
     until user taps somewhere else. Reset transform + shadow + border-color on cards so the
     "lifted" state doesn't linger while user is scrolling. */
  .case-card:hover,
  .why-card:hover,
  .fact-card:hover,
  .process-card:hover,
  .team-card-img:hover,
  .hero-card:hover,
  .review-phone:hover,
  .review-phone--left:hover,
  .review-phone--right:hover,
  .creative-item:hover,
  .creative-item:hover .creative-item-visual,
  .messenger-chip:hover,
  .cases-sq:hover,
  .traffic-card-wrap:hover .traffic-card {
    transform: none !important;
    box-shadow: none !important;
  }

  /* Phone: fully disable the desktop hover motion on the icons — no transition, and the
     lingering :hover just holds each icon at its resting transform. Only the tap keyframes
     below animate them, so the PC and phone animations never overlap. */
  /* Phone: drive the icon with a transition, so both the tap (→peak) and the release
     (peak→rest) interpolate smoothly. Neutralize the desktop hover lift when not active. */
  .traffic-icon { transition: transform .3s ease-in-out !important; }
  .traffic-card-wrap:not(.traffic-active):nth-child(1):hover .traffic-icon--1 { transform: rotate(-10deg) translateY(6px) !important; }
  .traffic-card-wrap:not(.traffic-active):nth-child(1):hover .traffic-icon--2 { transform: rotate(7deg) !important; }
  .traffic-card-wrap:not(.traffic-active):nth-child(2):hover .traffic-icon--1 { transform: rotate(10deg) !important; }
  .traffic-card-wrap:not(.traffic-active):nth-child(3):hover .traffic-icon--1 { transform: rotate(-6deg) translateY(4px) !important; }

  /* Card active (tapped) → icon eases to the enlarged/rotated pose and holds it.
     Removing .traffic-active lets the transition ease it back to rest — a smooth reverse. */
  .traffic-card-wrap.traffic-active:nth-child(1) .traffic-icon--1 { transform: rotate(2deg) translateY(6px) scale(1.32) !important; }
  .traffic-card-wrap.traffic-active:nth-child(1) .traffic-icon--2 { transform: rotate(-5deg) scale(1.32) !important; }
  .traffic-card-wrap.traffic-active:nth-child(2) .traffic-icon--1 { transform: rotate(-4deg) scale(1.32) !important; }
  .traffic-card-wrap.traffic-active:nth-child(3) .traffic-icon--1 { transform: rotate(6deg) translateY(4px) scale(1.32) !important; }

  /* Tapped card stays highlighted until you tap elsewhere */
  .traffic-card-wrap.traffic-active .traffic-card {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07) !important;
    border-color: rgba(232,24,109,0.35) !important;
  }

  /* Card border-color hover accents — revert to base border on tap */
  .why-card:hover,
  .fact-card:hover,
  .process-card:hover { border-color: rgba(0,0,0,0.08) !important; }
  .fact-card--hero:hover { border-color: rgba(232,24,109,0.22) !important; }

  /* Creative video play-icon reveal — reset */
  .creative-item--video:hover .creative-play-icon { opacity: 1 !important; }
}

/* ─────────────────────────────────────────────────────── */
/* ── STICKY MOBILE CTA BAR (appears after scroll past hero) ─ */
/* ─────────────────────────────────────────────────────── */
.mobile-cta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9985;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 16px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  display: none;
}
.mobile-cta-bar.shown { transform: translateY(0); }
.mobile-cta-bar .btn-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

@media (max-width: 700px) {
  .mobile-cta-bar { display: block; }
  body.has-sticky-cta { padding-bottom: 76px; } /* room for the bar */
}

/* ─────────────────────────────────────────────────────── */
/* ── MOBILE FIXES — text overflow, cards sizing, etc.   ── */
/* ─────────────────────────────────────────────────────── */
@media (max-width: 700px) {

  /* ── #why — text was overflowing because grid was 2-col on mobile ── */
  #why .section-inner { gap: 36px; }
  #why .why-grid { grid-template-columns: 1fr; gap: 10px; }
  #why .why-card { padding: 18px 20px; gap: 14px; }
  #why .why-card--wide { grid-column: span 1; } /* no longer needed */
  #why .why-card strong { font-size: 15px; }
  #why .why-card span { font-size: 13.5px; line-height: 1.55; }
  #why .why-intro { font-size: 15.5px; line-height: 1.6; margin-top: 14px; }
  #why .why-approach { padding-left: 18px; border-left-width: 2px; }
  #why .why-approach h3 { font-size: 18px; }
  #why .why-approach p { font-size: 14.5px; line-height: 1.6; }

  /* ── Reviews — make iPhones tighter, stack vertically ── */
  .reviews-stage-wrap { gap: 24px !important; padding: 0 !important; }
  .review-phone--left, .review-phone--right { transform: none !important; }
  .review-phone--left:hover, .review-phone--right:hover { transform: translateY(-2px) !important; }
  .review-phone-progress { top: 42px !important; }
  .review-phone-island { width: 76px !important; height: 22px !important; top: 12px !important; }
  .review-stage-hint { font-size: 10px; margin-top: 20px; }
  /* Extra breathing room above the CTA on phones so it clears the hint + phone shadow.
     !important because a later `.section-inner { padding: 0 ... !important }` rule would
     otherwise zero out the top padding (the wrap also carries the .section-inner class). */
  #reviews .creatives-cta-wrap { padding-top: 24px !important; }
  .reviews-header-wrap { padding-bottom: 28px; }

  /* ── Cases — bigger card on mobile (handled in JS now, but ensure padding right) ── */
  #cases .cases-header .section-subtitle { font-size: 14.5px; line-height: 1.55; }
}

/* ─────────────────────────────────────────────────────── */
/* ── SCROLL-TO-TOP BUTTON (mobile only) ────────────────── */
/* ─────────────────────────────────────────────────────── */
.scroll-top-btn {
  position: fixed;
  right: 14px;
  bottom: 84px; /* sit above sticky CTA bar */
  z-index: 9987;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0D0D0D;
  border: none;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
}
.scroll-top-btn.shown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top-btn:active { transform: translateY(0) scale(0.92); }
.scroll-top-btn svg { display: block; }

@media (max-width: 700px) {
  .scroll-top-btn { display: flex; }
}

/* Account for safe-area bottom (iPhone home indicator) */
@supports (padding: env(safe-area-inset-bottom)) {
  .scroll-top-btn {
    bottom: calc(84px + env(safe-area-inset-bottom));
  }
}

/* ─────────────────────────────────────────────────────── */
/* ── MOBILE: PROCESS ORDER + REVIEWS SINGLE PHONE ──────  */
/* ─────────────────────────────────────────────────────── */
@media (max-width: 700px) {

  /* Process cards on mobile: snake-shape doesn't translate to single column.
     Force linear 01→08 order via CSS `order`. */
  .process-grid { display: flex; flex-direction: column; gap: 12px; }
  .process-card[data-step="01"] { order: 1; }
  .process-card[data-step="02"] { order: 2; }
  .process-card[data-step="03"] { order: 3; }
  .process-card[data-step="04"] { order: 4; }
  .process-card[data-step="05"] { order: 5; }
  .process-card[data-step="06"] { order: 6; }
  .process-card[data-step="07"] { order: 7; }
  .process-card[data-step="08"] { order: 8; }
  .process-arrow { display: none !important; }

  /* Hide right phone in reviews; left phone becomes the single one with mixed content */
  .review-phone--right { display: none !important; }
  .reviews-stage-wrap {
    justify-content: center;
    align-items: center;
  }
  .review-phone--left {
    transform: none !important;   /* no tilt when alone */
    margin: 0 auto;
  }
  .review-phone--left:hover { transform: translateY(-2px) !important; }

  /* Remove body bottom-padding — it created visible empty space after footer.
     Sticky CTA hides when form section is in view, so no need to reserve room. */
  body.has-sticky-cta { padding-bottom: 0 !important; }
}

/* ─────────────────────────────────────────────────────── */
/* ── MOBILE PROCESS — vertical timeline tree (≤700px)    */
/* ─────────────────────────────────────────────────────── */
@media (max-width: 700px) {

  /* Container becomes a vertical timeline with a center line */
  .process-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    padding-left: 60px;          /* room for circle + line on the left */
  }

  /* Vertical line down the column — JS sets --process-line-top and --process-line-height
     so it starts at center of circle 01 and ends exactly at center of circle 08. */
  .process-grid::before {
    content: '';
    position: absolute;
    left: 26px;
    top: var(--process-line-top, 41px);
    height: var(--process-line-height, calc(100% - 82px));
    width: 2px;
    background: linear-gradient(
      to bottom,
      rgba(232,24,109,0.55) 0%,
      rgba(232,24,109,0.45) 70%,
      rgba(232,24,109,0.2) 100%
    );
    z-index: 0;
    border-radius: 2px;
  }

  /* Cards on the right side */
  .process-card {
    background: #fff !important;
    border: 1px solid rgba(0,0,0,0.07) !important;
    border-radius: 14px !important;
    padding: 18px 20px !important;
    margin: 0 !important;
    position: relative;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    overflow: visible !important;
  }
  .process-card:hover { transform: none; }

  /* Numbered circle on the left, aligned to top of each card so the line
     starts/ends exactly at the centre of the first/last circle (no protrusion) */
  .process-card .process-num {
    position: absolute !important;
    left: -54px !important;
    top: 20px !important;
    right: auto !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid rgba(232,24,109,0.35);
    font-family: var(--font-mono);
    font-size: 13px !important;
    font-weight: 700;
    color: rgba(0,0,0,0.7);
    letter-spacing: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
    z-index: 2;
    transform: none !important;
    clip-path: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }

  /* Final step (08) — pink filled circle, like in the reference */
  .process-card--final .process-num {
    background: var(--pink);
    color: #fff;
    border-color: var(--pink);
    box-shadow: 0 4px 14px rgba(232,24,109,0.35);
  }

  /* Step 01 — solid white bg with stronger pink border (so line doesn't show through) */
  .process-card--start .process-num {
    background: #fff !important;
    border-color: var(--pink) !important;
    border-width: 2px !important;
    color: var(--pink);
  }

  /* Linear order 01 → 08 */
  .process-card[data-step="01"] { order: 1; }
  .process-card[data-step="02"] { order: 2; }
  .process-card[data-step="03"] { order: 3; }
  .process-card[data-step="04"] { order: 4; }
  .process-card[data-step="05"] { order: 5; }
  .process-card[data-step="06"] { order: 6; }
  .process-card[data-step="07"] { order: 7; }
  .process-card[data-step="08"] { order: 8; }

  /* Hide directional arrows on mobile (they belong to the Z-shape) */
  .process-arrow,
  .process-arrow--down { display: none !important; }

  /* Badge inline above title */
  .process-card .process-badge {
    margin-bottom: 8px;
    font-size: 9px;
  }
}

/* ─────────────────────────────────────────────────────── */
/* ── MOBILE OVERFLOW SAFETY + FORM FIXES (≤700px) ────── */
/* ─────────────────────────────────────────────────────── */

/* Prevent any horizontal page scroll from rogue elements */
html, body { overflow-x: hidden; max-width: 100vw; }

@media (max-width: 700px) {

  /* ── Messenger chips — fit 3 chips in 339px viewport ── */
  .messenger-chips { gap: 6px !important; }
  .messenger-chip {
    padding: 11px 6px !important;
    font-size: 12.5px !important;
    gap: 6px !important;
    min-width: 0 !important;
    border-width: 1px !important;
  }
  .messenger-chip svg { width: 20px !important; height: 20px !important; flex-shrink: 0; }

  /* ── Form title — smaller on small phones ── */
  #form .form-left h2 {
    font-size: clamp(24px, 6vw, 32px) !important;
    line-height: 1.18 !important;
    overflow-wrap: break-word;
  }
  #form .form-left p { font-size: 14.5px !important; line-height: 1.55 !important; }

  /* Phone code button — keep compact */
  .phone-code-btn { padding: 12px 10px !important; }

  /* All form rows constrained to wrapper width */
  .messenger-chips-wrap,
  .phone-fields,
  .phone-fields-row { max-width: 100%; width: 100%; }
}

/* Extra small phones (iPhone SE) — shrink even more if needed */
@media (max-width: 380px) {
  .messenger-chip {
    padding: 10px 4px !important;
    font-size: 11.5px !important;
  }
  .messenger-chip svg { width: 18px !important; height: 18px !important; }
  #form .form-left h2 { font-size: 22px !important; }
}

/* ─────────────────────────────────────────────────────── */
/* ── MOBILE NICHES — chips layout (≤700px) ─────────────  */
/* ─────────────────────────────────────────────────────── */
@media (max-width: 700px) {
  .niches-cats { gap: 28px; }
  .niches-cat-title {
    font-size: 12.5px;
    padding-bottom: 10px;
    margin-bottom: 12px;
  }
  .niches-cat-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }
  .niches-cat-list li {
    padding: 7px 13px;
    background: rgba(0,0,0,0.035);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 100px;
    font-size: 13px !important;
    line-height: 1.3 !important;
    color: rgba(0,0,0,0.78);
    transition: border-color .2s, color .2s, background .2s;
  }
  .niches-cat-list li:hover {
    background: rgba(232,24,109,0.04);
    border-color: rgba(232,24,109,0.3);
    color: var(--pink);
  }
}

/* ── Cookie banner always at the very bottom, on top of everything ────── */
.cookie-banner {
  z-index: 9999 !important;
  bottom: 0 !important;
}

/* When cookie is shown, the sticky CTA hides behind it (cookie covers it).
   After user accepts/declines, CTA reappears. */
body.cookie-shown .mobile-cta-bar {
  transform: translateY(100%) !important;
  pointer-events: none !important;
}

/* ─────────────────────────────────────────────────────── */
/* ── FINAL MOBILE POLISH (≤700px / ≤500px / ≤380px)      */
/* ─────────────────────────────────────────────────────── */

/* Anchor scroll offset — when sticky CTA / cookie banner are in view,
   sections still land at top of viewport. */
html { scroll-padding-top: 12px; }

@media (max-width: 700px) {
  /* Section vertical rhythm — tight (user feedback: gaps between sections were too big) */
  section { padding: 40px 0 !important; }
  .section-inner { padding: 0 18px !important; }

  /* Hero compact top padding consistent across all phone widths */
  #hero { padding: 88px 0 48px !important; }

  /* On phone — man shifted slightly right so his torso fills the lower half */
  #hero .hero-photo { object-position: 65% 20% !important; }

  /* Hero side padding on phone — match section-inner (form section) */
  #hero .hero-inner { padding: 0 18px !important; }

  #hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.25);
  }
  /* Text/cards above the scrim */
  #hero .hero-inner { position: relative; z-index: 3; }

  /* Smaller gap between accent and tail */
  #hero .hero-title-tail { padding-top: 4px !important; }

  /* Frosted-glass rectangle around description only (title left clean) */
  #hero .hero-desc {
    padding: 16px 20px !important;
    border-radius: 22px !important;
    background: rgba(0,0,0,0.28) !important;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    max-width: 100% !important;
  }

  /* Description pushed down + extra gap before the buttons.
     translateY shifts the desc visually without affecting flow, so buttons stay put. */
  #hero .hero-desc {
    margin-top: 90px !important;
    margin-bottom: 28px !important;
    transform: translateY(55px);
  }
  #hero .hero-actions { margin-top: 15px !important;}

  /* Eyebrow chip on photo for readability */
  #hero .hero-eyebrow {
    padding: 7px 12px;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(255,255,255,0.95);
    border-radius: 100px;
    color: var(--black) !important;
    text-shadow: none !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  }
  #hero .hero-eyebrow-mark { background: var(--pink); }

  /* Trust chips — 3 in a row on phone */
  .hero-trust { gap: 6px !important; flex-wrap: nowrap !important; justify-content: flex-start; }
  .hero-trust-item {
    padding: 6px 10px !important;
    font-size: 10.5px !important;
    gap: 5px !important;
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
  }
  .hero-trust-item i { font-size: 12px !important; }

  /* Section header bottom margin compact on mobile (was 40-48px default, too airy) */
  .team-header,
  .niches-header,
  .facts-header,
  .cases-header,
  .traffic-header,
  .process-header,
  .reviews-header-wrap { margin-bottom: 20px !important; padding-bottom: 0 !important; }
  .reviews-header-wrap { padding-bottom: 12px !important; }

  /* ── Facts: mini-bento on phone — hero card full row (taller), then 2-col small, then wide ── */
  .facts-bento {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto !important;
    gap: 10px !important;
  }
  .fact-card--hero {
    grid-column: 1 / 3 !important;
    grid-row: auto !important;
    padding: 28px 22px !important;
    min-height: 200px !important;          /* user wanted card taller */
    justify-content: space-between !important;
  }
  .fact-card--hero .fact-icon--top-right { top: 18px !important; right: 20px !important; font-size: 24px !important; }
  .fact-card--hero .fact-desc { max-width: 100% !important; margin-top: 8px !important; }
  .fact-card--wide { grid-column: 1 / 3 !important; }
  .fact-value-big {
    font-size: clamp(44px, 15vw, 72px) !important;
    line-height: 0.95 !important;
    margin: 14px 0 !important;
  }
  .fact-card { padding: 18px 16px !important; }
  .fact-name { font-size: 14px !important; }
  .fact-value { font-size: 26px !important; }
  .fact-desc { font-size: 12.5px !important; line-height: 1.55 !important; }
  .fact-eyebrow { font-size: 10.5px !important; }
  .fact-chart-img { max-width: 100%; }

  /* ── Team image cards — 2 cols on phone (1 col was too sparse) ── */
  .team-leads { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  #teamLeads .team-card-img:last-child { width: calc((100% - 10px) / 2); }
  #team .team-also { grid-column: 1 / -1 !important; }
  .team-card-img { border-radius: 14px; }

  /* ── Why grid — 2 cols on phone (1 col looked sparse on small screens) ── */
  #why .why-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  #why .why-card { padding: 14px 14px !important; gap: 10px !important; flex-direction: column !important; }
  #why .why-card .why-icon { font-size: 22px !important; }
  #why .why-card strong { font-size: 14px !important; }
  #why .why-card span { font-size: 12.5px !important; line-height: 1.5 !important; }
  #why .why-card--wide { grid-column: 1 / 3 !important; }

  /* ── Review iPhone sized for phone (10-15px wider, 5-10px taller per user) ── */
  .review-phone--left {
    /* Fixed size on all phones — простой одинаковый размер */
    width: 280px !important;
    max-width: 280px !important;
    margin: 0 auto !important;
  }
  .review-phone--left .review-phone-island {
    width: 30% !important;
    height: auto !important;
    aspect-ratio: 90 / 26;
    top: 2.2% !important;
    border-radius: 20px !important;
  }

  /* ── Traffic cards — denser on phone so 1 card doesn't fill the screen ── */
  .traffic-cards { gap: 14px !important; }
  .traffic-card { padding: 22px 20px !important; gap: 12px !important; border-radius: 14px !important; }
  .traffic-card h3 { font-size: 17px !important; }
  .traffic-card p { font-size: 13px !important; line-height: 1.55 !important; }
  .traffic-icons {
    margin-bottom: 2px !important;
    transform: scale(0.78) !important;
    transform-origin: left center !important;
    height: 56px !important;
  }
  .traffic-card-wrap:nth-child(1) .traffic-icon--1,
  .traffic-card-wrap:nth-child(1) .traffic-icon--2,
  .traffic-card-wrap:nth-child(2) .traffic-icon--1,
  .traffic-card-wrap:nth-child(3) .traffic-icon--1 { width: 48px !important; height: 48px !important; }
  .traffic-card-wrap:nth-child(1) .traffic-icon--1 { margin-right: 18px !important; }
  .traffic-card .btn-cta,
  .traffic-card .btn-ghost,
  .traffic-card a.btn-cta { padding: 11px 16px !important; font-size: 12.5px !important; }

  /* ── Cases — slightly bigger card visible area (already handled mostly via JS, just rhythm) ── */
  #cases .cases-header { margin-bottom: 24px; }

  /* ── Footer rhythm tighter, contacts wrap nicely ── */
  footer { padding: 20px 18px 28px !important; }
  .footer-grid { gap: 24px 14px !important; }

  /* ── Sticky CTA does not overlap form submit button at bottom of #form ── */
  #form { padding-bottom: 32px !important; }
}

/* ── Tightest phones (≤380px iPhone SE / older Android) ── */
@media (max-width: 380px) {
  .section-inner { padding: 0 14px !important; }
  #hero { padding-top: 76px !important; }
  .hero-title { font-size: 36px !important; line-height: 1.1 !important; }
  .hero-desc { font-size: 14px !important; }
  .section-title { font-size: 26px !important; }
  .fact-value-big { font-size: clamp(38px, 14vw, 56px) !important; }
  .fact-value { font-size: 28px !important; }

  /* Form title doesn't crowd on smallest screens */
  #form .form-left h2 { font-size: 21px !important; }

  /* Tighter chip layout */
  .messenger-chip { letter-spacing: 0 !important; }
}

