/* ═══════════════════════════════════════════════════════════
   RSN DIGITAL — Shared Styles
   Theme adapted from Three Chapter Media reference build
   ═══════════════════════════════════════════════════════════ */

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, video { display: block; max-width: 100%; }
button { font: inherit; }

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Warm near-blacks */
  --black:      #0e0b09;
  --surface:    #181412;
  --surface2:   #211e1b;
  --border:     #2e2a27;
  --border2:    #3d3733;

  /* Deep crimson section backgrounds */
  --crimson:    #130004;
  --crimson2:   #1c0006;
  --crimson-border: #320009;

  --red:        #E8001C;
  --red-dim:    #8a0010;
  --red-glow:   rgba(232, 0, 28, 0.22);
  --red-subtle: rgba(232, 0, 28, 0.08);

  /* WhatsApp green — reserved strictly for WhatsApp CTAs */
  --green:      #25D366;
  --green-dim:  #128c56;

  /* Warm whites */
  --white:      #f6f2f0;
  --body:       #e8e4e2;
  --muted:      #aba49f;

  --font-sans:  'Space Grotesk', sans-serif;
  --font-mono:  'Space Mono', monospace;
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── BASE ───────────────────────────────────────────────── */
body {
  background: var(--black);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
body.loading { overflow: hidden; }

strong { font-weight: 600; color: var(--white); }
a { color: inherit; text-decoration: none; }

@media (pointer: coarse) {
  body { cursor: auto; }
}

/* ─── CUSTOM CURSOR ──────────────────────────────────────── */
#cursor, #cursor-ring {
  position: fixed; pointer-events: none; border-radius: 50%;
  z-index: 2147483647; top: 0; left: 0; transform: translate(-50%,-50%);
}
#cursor {
  width: 10px; height: 10px; background: var(--red);
  transition: width .2s, height .2s, opacity .3s;
  box-shadow: 0 0 12px rgba(232,0,28,.6);
}
#cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(232,0,28,.5); z-index: 2147483646;
  transition: opacity .3s;
}
body:has(a:hover) #cursor,
body:has(button:hover) #cursor { width: 18px; height: 18px; }
@media (pointer: coarse) {
  #cursor, #cursor-ring { display: none; }
}

/* ─── LOADER ─────────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0; background: var(--black);
  z-index: 10000; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
  transition: opacity .7s var(--ease-out), visibility .7s;
}
#loader.gone { opacity: 0; visibility: hidden; }
#loader-wordmark {
  font-family: var(--font-mono); font-size: clamp(.85rem, 2vw, 1.1rem);
  letter-spacing: .35em; text-transform: uppercase; color: var(--white);
  display: flex; overflow: hidden;
}
#loader-wordmark span { display: inline-block; opacity: 0; animation: lPop .04s forwards; }
@keyframes lPop { to { opacity: 1; } }
#loader-track {
  width: 200px; height: 1px; background: var(--border2); position: relative; overflow: hidden;
}
#loader-fill {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--red-dim), var(--red));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 0 8px rgba(232,0,28,.5);
}

/* ─── NAV ────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 28px 0; transition: padding .4s, background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  padding: 18px 0;
  background: rgba(12, 9, 8, 0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
nav.nav-menu-open {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 36px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: var(--font-mono); font-size: .82rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: 2px;
}
.nav-logo-dot { color: var(--red); font-size: 1.1em; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-links a:not(.btn-nav) {
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); transition: color .2s; cursor: none;
}
.nav-links > li > a:not(.btn-nav) { display: inline-block; }
.nav-links a:not(.btn-nav):hover,
.nav-links a.active { color: var(--white); }
@media (min-width: 769px) {
  .nav-links > li { perspective: 300px; }
  .nav-links > li > a:not(.btn-nav):hover {
    animation: navSpin .38s cubic-bezier(.4,0,.2,1) forwards;
  }
}
@keyframes navSpin {
  0%   { transform: rotateX(0deg); }
  100% { transform: rotateX(360deg); }
}

/* ─── NAV DROPDOWN ──────────────────────────────────────── */
.has-dropdown { position: relative; }
.drop-caret {
  font-size: .55em; opacity: .5; margin-left: 3px;
  display: inline-block; transition: transform .2s;
  vertical-align: middle;
}
.has-dropdown:hover .drop-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #111010;
  border: 1px solid var(--border);
  min-width: 190px;
  list-style: none;
  padding: 0; margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 1010;
  box-shadow: 0 20px 48px rgba(0,0,0,.55);
  overflow: hidden;
}
.has-dropdown::after {
  content: '';
  position: absolute;
  left: -24px; right: -24px;
  top: 100%;
  height: 20px;
  background: transparent;
}
.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 2px;
  background: var(--red);
}
.nav-dropdown li a {
  display: block;
  padding: 13px 20px;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition: color .15s, background .15s;
  animation: none !important;
}
.nav-dropdown li:last-child a { border-bottom: none; }
.nav-dropdown li a:hover { color: var(--white); background: rgba(255,255,255,.04); }

@media (max-width: 768px) {
  .has-dropdown { flex-direction: column; align-items: center; }
  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: all;
    background: transparent;
    border: none;
    box-shadow: none;
    min-width: unset;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 0 0;
  }
  .nav-dropdown::before { display: none; }
  .nav-dropdown li { text-align: center; }
  .nav-dropdown li a {
    font-size: .9rem;
    border-bottom: none;
    padding: 6px 0;
    color: rgba(255,255,255,.35);
    text-align: center;
    display: block;
  }
  .nav-dropdown li a:hover { color: var(--white); background: none; }
  .drop-caret { display: none; }
  .has-dropdown:hover .nav-dropdown,
  .has-dropdown:focus-within .nav-dropdown { transform: none !important; }
}

.btn-nav {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: #04180f; background: var(--green);
  padding: 10px 22px; cursor: none; display: inline-block;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-nav:hover {
  background: #2fe07a; transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(37,211,102,.35);
}

.nav-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: none; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

body.nav-open { overflow: hidden; }
.nav-close-item { display: none !important; }

@media (max-width:768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed; inset: 0;
    background: var(--black); align-items: center; justify-content: center;
    gap: 36px; z-index: 899; overflow-y: auto;
  }
  .nav-links.open a:not(.btn-nav) { font-size: 1.3rem; }
  .nav-links.open .btn-nav { font-size: 1rem; padding: 14px 36px; }
  .nav-toggle { display: flex; position: relative; z-index: 1000; }
  .nav-inner { padding: 0 20px; }
  .nav-links.open .nav-close-item {
    display: block !important;
    list-style: none;
    margin-top: 4px;
  }
  .nav-close-btn {
    background: none;
    border: 1px solid var(--border2);
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: .62rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 10px 28px;
    transition: color .2s, border-color .2s;
  }
  .nav-close-btn:hover { color: var(--white); border-color: var(--white); }
}

/* ─── LAYOUT ─────────────────────────────────────────────── */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 36px; }
@media (max-width:768px) { .wrap { padding: 0 20px; } }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  cursor: none; display: inline-flex; align-items: center; gap: 10px;
  transition: transform .2s, background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  font-size: .8rem; color: var(--black); background: var(--red);
  padding: 16px 34px; border: 1px solid var(--red);
}
.btn-primary:hover {
  background: #ff1a34; border-color: #ff1a34;
  box-shadow: 0 8px 28px rgba(232,0,28,.35);
}
.btn-wa {
  font-size: .8rem; color: #04180f; background: var(--green);
  padding: 16px 34px; border: 1px solid var(--green);
}
.btn-wa:hover {
  background: #2fe07a; border-color: #2fe07a;
  box-shadow: 0 8px 28px rgba(37,211,102,.35);
}
.btn-outline {
  font-size: .8rem; color: var(--white); background: transparent;
  padding: 16px 34px; border: 1px solid var(--border2);
}
.btn-outline:hover { border-color: var(--white); }
.btn-icon { font-size: .9rem; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ─── SECTION LABEL ──────────────────────────────────────── */
.label {
  font-family: var(--font-mono); font-size: .65rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--red);
  display: block; margin-bottom: 16px;
}

/* ─── SECTION RULE ───────────────────────────────────────── */
.section-rule { height: 1px; background: var(--border); position: relative; margin: 0; }
.section-rule-accent {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 2px; background: var(--red);
}

/* ─── MARQUEE ────────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden; background: var(--red); padding: 13px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.marquee-track { display: flex; width: max-content; animation: marq 32s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 40px; padding-right: 40px;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(0,0,0,.75); font-weight: 700; white-space: nowrap;
}
.marquee-sep { width: 3px; height: 3px; background: rgba(0,0,0,.3); border-radius: 50%; flex-shrink: 0; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 768px) { .marquee-wrap { display: none; } }

/* ─── REVEAL ON SCROLL ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.left  { transform: translateX(-36px); }
.reveal.right { transform: translateX(36px); }
.reveal.visible { opacity: 1; transform: translate(0); }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ─── PATTERNS & TEXTURES ────────────────────────────────── */
.grid-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 52px 52px;
}
.grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px; opacity: .07;
}

/* ─── CRIMSON SECTION ────────────────────────────────────── */
.crimson-section {
  background: var(--crimson);
  border-top: 1px solid var(--crimson-border);
  border-bottom: 1px solid var(--crimson-border);
  position: relative;
  overflow: hidden;
}
.crimson-section .label { color: rgba(255,180,180,.7); }

/* ─── PAGE HERO ──────────────────────────────────────────── */
.page-hero {
  min-height: 46vh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px 0 80px; position: relative; overflow: hidden;
  background: var(--black);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at -10% 50%, rgba(232,0,28,.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 110% 0%, rgba(180,0,15,.13) 0%, transparent 60%);
}
.page-hero-label { margin-bottom: 20px; }
.page-hero-h1 {
  font-size: clamp(40px, 7.5vw, 100px); font-weight: 700;
  letter-spacing: -.03em; text-transform: uppercase;
  color: var(--white); line-height: .96;
}
.page-hero-sub { max-width: 560px; font-size: 1.05rem; line-height: 1.75; margin-top: 28px; color: var(--body); }

/* ─── CTA STRIP ──────────────────────────────────────────── */
.cta-strip {
  padding: 100px 0;
  background: var(--crimson);
  border-top: 1px solid var(--crimson-border);
  border-bottom: 1px solid var(--crimson-border);
  position: relative;
  overflow: hidden;
}
.cta-strip-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 50% 120%, rgba(232,0,28,.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80%  at 50% -20%, rgba(232,0,28,.12) 0%, transparent 60%);
}
.cta-strip-inner { position: relative; z-index: 1; text-align: center; }
.cta-strip h2 {
  font-size: clamp(32px, 5vw, 68px); font-weight: 700;
  letter-spacing: -.03em; text-transform: uppercase;
  color: var(--white); margin-bottom: 20px; line-height: 1.0;
}
.cta-strip p { color: rgba(255,220,210,.75); font-size: 1rem; margin-bottom: 44px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-strip .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-strip .btn-outline { border-color: rgba(255,220,210,.3); color: rgba(255,220,210,.9); }
.cta-strip .btn-outline:hover { border-color: var(--white); color: var(--white); }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 36px 0; background: var(--black); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.footer-logo { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.footer-logo span { color: var(--red); }
.footer-copy { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .07em; color: var(--muted); text-align: center; white-space: nowrap; }
.footer-links { display: flex; gap: 24px; justify-content: flex-end; }
.footer-legal {
  border-top: 1px solid var(--border); margin-top: 20px; padding-top: 20px;
  font-family: var(--font-mono); font-size: .56rem; letter-spacing: .1em;
  color: rgba(158,149,144,.75); line-height: 1.7;
}
.footer-legal a { color: inherit; transition: color .2s; }
.footer-legal a:hover { color: var(--muted); }
.footer-links a { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .2s; cursor: none; }
.footer-links a:hover { color: var(--white); }

@media (max-width:768px) {
  .footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 12px 20px; }
  .footer-logo { text-align: center; }
  .footer-copy { white-space: normal; }
  .footer-legal { font-size: .58rem; text-align: center; }
}

/* ─── DIVIDER LINE ───────────────────────────────────────── */
.line { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ─── GLOW UTILITIES ─────────────────────────────────────── */
.red-glow { box-shadow: 0 0 40px rgba(232,0,28,.2), 0 0 80px rgba(232,0,28,.1); }
.red-glow-sm { box-shadow: 0 4px 20px rgba(232,0,28,.25); }
.green-glow-sm { box-shadow: 0 4px 20px rgba(37,211,102,.25); }

/* ─── NAV BRAND MARK ─────────────────────────────────────── */
.nav-logo-mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--red); color: var(--white);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700; font-family: var(--font-sans);
}
.nav-logo-img { height: 100px; width: auto; display: block; transition: height .3s; }
nav.scrolled .nav-logo-img { height: 56px; }
@media (max-width: 768px) { .nav-logo-img { height: 60px; } }
.footer-logo-img { height: 22px; width: auto; opacity: .9; display: block; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
@media (max-width: 768px) { .footer-logo { justify-content: center; } }

/* ─── DASH FRAME (case-study screenshots) ────────────────── */
.dash-frame {
  border-radius: 12px;
  overflow: hidden;
  background: #0d0b0a;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 48px 96px rgba(0,0,0,.65),
    0 0 0 1px rgba(255,255,255,.03),
    inset 0 1px 0 rgba(255,255,255,.07);
  position: relative; z-index: 1;
}
.dash-chrome {
  height: 34px; background: #181311; border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; padding: 0 14px; gap: 7px;
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dash-dot.red { background: rgba(232,0,28,.75); }
.dash-dot.mid { background: rgba(255,255,255,.12); }
.dash-dot.dim { background: rgba(255,255,255,.07); }
.dash-url { flex: 1; margin: 0 12px; height: 20px; border-radius: 4px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.dash-frame img { width: 100%; height: auto; display: block; min-height: 120px; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.dash-footer {
  padding: 9px 14px; background: #181311; border-top: 1px solid rgba(255,255,255,.08);
  font-family: var(--font-mono); font-size: .54rem; letter-spacing: .13em;
  color: rgba(255,255,255,.6); text-transform: uppercase;
}
.glow-red { position: relative; }
.glow-red::after {
  content: ''; position: absolute; bottom: -40px; left: 10%; width: 80%; height: 80px;
  background: rgba(232,0,28,.15); filter: blur(40px); border-radius: 50%; pointer-events: none; z-index: 0;
}

/* ─── CASE STUDY SECTIONS ────────────────────────────────── */
.case-study { scroll-margin-top: 80px; padding: 120px 0; position: relative; overflow: hidden; }
.case-study.bg-a { background: var(--black); }
.case-study.bg-b { background: #0a0808; }
.case-study + .case-study { border-top: 1px solid var(--border); }
.case-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.case-inner.flipped .case-visual { order: -1; }
.case-tag { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .28em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: 20px; }
.case-stat-block { margin-bottom: 28px; }
.case-big-stat { display: flex; align-items: baseline; gap: 4px; line-height: .85; }
.case-big-stat .prefix, .case-big-stat .suffix { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700; color: var(--red); }
.case-big-stat .number { font-size: clamp(4.6rem, 8vw, 7.4rem); font-weight: 700; color: var(--white); letter-spacing: -.03em; }
.case-stat-descriptor { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 10px; display: block; }
.case-title { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 700; color: var(--white); line-height: 1.25; margin-bottom: 18px; }
.case-copy { font-size: .97rem; color: var(--muted); line-height: 1.8; margin-bottom: 36px; }
.case-copy .fill-note { color: rgba(232,0,28,.85); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .05em; }
.case-secondary { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--border); }
.sec-stat { display: flex; flex-direction: column; gap: 5px; }
.sec-val { font-size: 1.05rem; font-weight: 700; color: var(--white); }
.sec-lbl { font-family: var(--font-mono); font-size: .54rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.case-visual { position: relative; }

@media (max-width: 768px) {
  .case-study { padding: 64px 0; }
  .case-inner { grid-template-columns: 1fr; gap: 36px; }
  .case-inner.flipped .case-visual { order: 0; }
  .case-big-stat .number { font-size: clamp(3.2rem, 13vw, 5.2rem); }
  .case-big-stat .prefix, .case-big-stat .suffix { font-size: clamp(1.4rem, 5vw, 2rem); }
  .case-title { font-size: clamp(1.1rem, 4.5vw, 1.4rem); }
  .case-copy { font-size: .93rem; margin-bottom: 24px; }
  .case-secondary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 10px; }
  .sec-val { font-size: .88rem; white-space: normal; word-break: break-word; }
}

/* ─── REVIEWS SECTION ────────────────────────────────────── */
#reviews { padding: 100px 0; background: var(--black); position: relative; overflow: hidden; }
.reviews-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 50% 40%, rgba(232,0,28,.06) 0%, transparent 65%); pointer-events: none; }
.reviews-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 64px; flex-wrap: wrap; position: relative; z-index: 1; }
.reviews-h2 { font-size: clamp(30px, 4.2vw, 56px); font-weight: 700; letter-spacing: -.03em; text-transform: uppercase; color: var(--white); line-height: 1.0; }
.reviews-note { font-family: var(--font-mono); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); max-width: 300px; line-height: 1.7; }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); position: relative; z-index: 1; }
.review-card { background: rgba(255,248,245,.025); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 48px 44px; position: relative; overflow: hidden; }
.review-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; }
.review-quote { font-size: clamp(.95rem, 1.2vw, 1.08rem); font-weight: 600; color: var(--white); line-height: 1.65; margin-bottom: 28px; letter-spacing: -.01em; }
.review-divider { width: 28px; height: 1px; background: rgba(232,0,28,.4); margin-bottom: 18px; }
.review-role { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: 4px; }
.review-company { font-size: .88rem; font-weight: 600; color: var(--white); display: block; margin-bottom: 3px; }
.review-project { font-size: .75rem; color: var(--muted); font-family: var(--font-mono); letter-spacing: .04em; }
@media (max-width: 768px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card { padding: 36px 28px; }
  .reviews-top { flex-direction: column; align-items: flex-start; }
}

/* ─── PROBLEM GRID ────────────────────────────────────────── */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 64px; }
.pcard { background: var(--black); padding: 40px 34px; text-align: left; }
.pcard .pn { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .2em; color: var(--red); display: block; margin-bottom: 18px; }
.pcard h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 10px; letter-spacing: -.01em; }
.pcard p { font-size: .88rem; color: var(--muted); line-height: 1.75; }
@media (max-width: 900px) { .pgrid { grid-template-columns: 1fr; } }

/* ─── APPROACH (bad vs good) ─────────────────────────────── */
.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 56px; text-align: left; }
.ap-col { background: var(--black); padding: 40px 38px; }
.ap-col h3 { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 26px; }
.ap-col.bad h3 { color: var(--muted); }
.ap-col.good h3 { color: var(--red); }
.ap-item { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border); }
.ap-item:first-of-type { border-top: none; padding-top: 0; }
.ap-item .mk { flex: none; font-family: var(--font-mono); font-size: .9rem; margin-top: 2px; }
.ap-col.bad .ap-item .mk { color: rgba(255,255,255,.25); }
.ap-col.good .ap-item .mk { color: var(--red); }
.ap-item h4 { font-size: .98rem; font-weight: 700; margin-bottom: 4px; color: var(--white); }
.ap-item p { font-size: .85rem; color: var(--muted); line-height: 1.65; }
.ap-col.bad .ap-item h4 { color: rgba(255,255,255,.55); }
@media (max-width: 860px) { .approach { grid-template-columns: 1fr; } }

/* ─── OFFER BLOCK ─────────────────────────────────────────── */
.offer-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.offer-inner p { color: rgba(255,220,210,.78); font-size: .98rem; line-height: 1.85; margin-bottom: 20px; }
.offer-inner p b { color: var(--white); font-weight: 700; }
.offer-stat { text-align: center; padding: 44px 24px; border: 1px solid var(--crimson-border); background: rgba(255,255,255,.02); }
.offer-stat .n { font-size: clamp(4.5rem, 8vw, 7rem); font-weight: 700; line-height: 1; color: var(--white); letter-spacing: -.03em; }
.offer-stat .l { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,220,210,.7); margin-top: 14px; }
.offer-stat .d { width: 48px; height: 1px; background: var(--crimson-border); margin: 26px auto; }
.offer-stat .z { font-size: 1.8rem; font-weight: 700; color: var(--white); }
.offer-stat .zl { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,220,210,.6); margin-top: 8px; }
@media (max-width: 860px) { .offer-inner { grid-template-columns: 1fr; gap: 36px; } }

/* ─── PROCESS ─────────────────────────────────────────────── */
.proc { margin-top: 60px; display: flex; flex-direction: column; text-align: left; max-width: 860px; margin-left: auto; margin-right: auto; }
.pstep { display: grid; grid-template-columns: 90px 1fr; gap: 30px; padding: 40px 0; border-top: 1px solid var(--border); }
.pstep:first-child { border-top: none; padding-top: 0; }
.pstep-num { font-family: var(--font-mono); font-size: 2.2rem; font-weight: 700; color: var(--border2); line-height: 1; }
.pstep-num.ok { color: var(--green); }
.pstep h3 { font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.pstep .when { font-family: var(--font-mono); font-size: .6rem; font-weight: 700; color: var(--red); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.pstep ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin-top: 6px; }
.pstep li { font-size: .9rem; color: var(--muted); display: flex; gap: 10px; line-height: 1.6; }
.pstep li::before { content: ''; flex: none; width: 4px; height: 4px; border-radius: 50%; background: var(--red); margin-top: 9px; }
.pstep li b { color: var(--white); font-weight: 600; }
@media (max-width: 620px) { .pstep { grid-template-columns: 1fr; gap: 10px; } .pstep ul { grid-template-columns: 1fr; } }

/* ─── FIT COLUMNS ─────────────────────────────────────────── */
.fit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 56px; text-align: left; }
.fit-col { background: var(--black); padding: 38px 36px; }
.fit-col h3 { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.fit-col.yes h3 { color: var(--green); }
.fit-col.no h3 { color: var(--red); }
.fit-col ul { list-style: none; display: flex; flex-direction: column; }
.fit-col li { padding: 14px 0; border-top: 1px solid var(--border); font-size: .9rem; color: var(--muted); line-height: 1.6; }
.fit-col li:first-child { border-top: none; padding-top: 0; }
.fit-col li b { color: var(--white); font-weight: 700; display: block; margin-bottom: 2px; }
@media (max-width: 860px) { .fit-cols { grid-template-columns: 1fr; } }

/* ─── ABOUT ────────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; text-align: left; }
.about p { font-size: .96rem; color: var(--muted); line-height: 1.9; }
.about p b { color: var(--white); font-weight: 700; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 32px; }
.astat { background: var(--black); padding: 22px 18px; }
.astat h4 { font-size: 1.5rem; font-weight: 700; color: var(--red); margin-bottom: 4px; font-family: var(--font-mono); }
.astat p { font-size: .74rem; color: var(--muted); line-height: 1.5; }
.photo { border-radius: 14px; overflow: hidden; aspect-ratio: 4/5; position: relative; background: var(--surface); border: 1px solid var(--border2); display: grid; place-items: center; }
.photo img { width: 100%; height: 100%; object-fit: cover; grid-area: 1/1; }
.photo .ph { display: none; text-align: center; color: var(--muted); font-size: .78rem; padding: 20px; line-height: 1.7; font-family: var(--font-mono); }
.photo.empty .ph { display: block; }
.nameplate { grid-area: 1/1; align-self: end; justify-self: stretch; padding: 70px 22px 60px; background: linear-gradient(0deg, rgba(4,3,2,.97) 0%, rgba(4,3,2,.85) 50%, rgba(4,3,2,.35) 82%, transparent); color: #fff; }
.nameplate b { display: block; font-size: 1.05rem; font-weight: 700; text-shadow: 0 1px 12px rgba(0,0,0,.7); }
.nameplate span.role { display: block; font-size: .78rem; color: rgba(255,255,255,.8); margin-top: 3px; font-family: var(--font-mono); letter-spacing: .04em; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .about-stats { grid-template-columns: 1fr; } }

/* ─── FAQ ──────────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; text-align: left; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.fitem { border-bottom: 1px solid var(--border); }
.fq { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; text-align: left; padding: 22px 2px; font-size: 1rem; font-weight: 600; color: var(--white); background: none; border: none; cursor: none; }
.fq .ar { flex: none; transition: transform .3s; color: var(--muted); font-family: var(--font-mono); }
.fitem.open .fq .ar { transform: rotate(45deg); color: var(--red); }
.fa { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.3,.8,.3,1); }
.fa p { padding: 0 2px 24px; font-size: .92rem; color: var(--muted); line-height: 1.85; max-width: 62ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 36px; } }

/* ─── GOOGLE ADS / GMC CARD ───────────────────────────────── */
.gads { margin-top: 64px; text-align: left; border: 1px solid var(--border2); background: var(--surface); position: relative; overflow: hidden; }
.gads::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg,#4285F4 0 25%,#EA4335 0 50%,#FBBC05 0 75%,#34A853 0 100%); }
.gads-head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; padding: 44px 40px 0; }
.gads-logo { flex: none; width: 52px; height: 52px; border-radius: 12px; background: #fff; display: grid; place-items: center; }
.gads-head h3 { font-size: clamp(1.3rem, 2.4vw, 1.85rem); font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 8px; letter-spacing: -.01em; }
.gads-head p { font-size: .92rem; color: var(--muted); line-height: 1.75; max-width: 58ch; }
.gads-tag { display: inline-block; font-family: var(--font-mono); font-size: .6rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border2); padding: 5px 12px; margin-bottom: 12px; }
.gads-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.gads-item { padding: 28px 32px; border-right: 1px solid var(--border); }
.gads-item:last-child { border-right: none; }
.gads-item h4 { font-size: .98rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.gads-item p { font-size: .85rem; color: var(--muted); line-height: 1.7; }
.gads-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 28px 40px 40px; border-top: 1px solid var(--border); }
.gads-cta .note { font-family: var(--font-mono); font-size: .68rem; color: var(--muted); }

/* ─── TAG ROW (service capability strip) ─────────────────── */
.tag-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag-row .tag {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--border2); padding: 6px 14px;
}
@media (max-width: 820px) { .gads-grid { grid-template-columns: 1fr; } .gads-item { border-right: none; border-top: 1px solid var(--border); } .gads-item:first-child { border-top: none; } }
@media (max-width: 640px) { .gads-head, .gads-cta { padding-left: 24px; padding-right: 24px; } }

/* ─── PROOF (GMC approval screenshots) ───────────────────── */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 56px; }
.proof { background: var(--black); text-align: left; display: flex; flex-direction: column; }
.proof-top { display: flex; align-items: center; gap: 9px; padding: 14px 18px; border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-size: .62rem; letter-spacing: .05em; color: var(--muted); }
.proof-top .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.proof-img { background: #fff; }
.proof-img img { width: 100%; height: auto; }
.proof-cap { padding: 16px 18px; font-size: .78rem; color: var(--muted); line-height: 1.6; }
.proof-note { font-family: var(--font-mono); font-size: .62rem; color: var(--muted); text-align: center; margin-top: 28px; letter-spacing: .04em; }
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; } }

/* ─── HOME HERO ───────────────────────────────────────────── */
.home-hero { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 170px 0 70px; position: relative; overflow: hidden; background: var(--black); }
.home-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 90% at -10% 30%, rgba(232,0,28,.2) 0%, transparent 60%), radial-gradient(ellipse 50% 70% at 110% 10%, rgba(180,0,15,.14) 0%, transparent 60%); }
.home-hero-badge { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 8px 16px; border: 1px solid var(--border2); margin-bottom: 30px; }
.home-hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(37,211,102,.18); }
.home-hero h1 { font-size: clamp(2.4rem, 7vw, 6rem); font-weight: 700; color: var(--white); line-height: .96; letter-spacing: -.025em; max-width: 900px; text-transform: uppercase; }
.home-hero h1 em { font-style: normal; color: var(--red); }
.home-hero-sub { font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 560px; line-height: 1.75; margin-top: 26px; }
.home-hero-sub b { color: var(--white); font-weight: 600; }
.home-hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }

/* ─── GENERIC SECTION HEAD ───────────────────────────────── */
section.pad { padding: 120px 0; position: relative; }
.section-head { max-width: 640px; }
.section-head.center { max-width: 680px; margin: 0 auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4.2vw, 52px); font-weight: 700; color: var(--white); line-height: 1.08; letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 20px; }
.section-head p { font-size: .98rem; color: var(--muted); line-height: 1.8; }
@media (max-width: 768px) { section.pad { padding: 72px 0; } }

/* ─── HERO KPIS ───────────────────────────────────────────── */
.hero-kpis { display: flex; gap: 0; margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hk { flex: 1; min-width: 150px; padding-right: 40px; border-right: 1px solid var(--border); margin-right: 40px; }
.hk:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.hk-val { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; color: var(--white); display: block; line-height: 1; margin-bottom: 8px; font-family: var(--font-mono); }
.hk-label { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 768px) {
  .hero-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; padding-top: 32px; }
  .hk { border-right: none !important; padding-right: 0 !important; margin-right: 0 !important; min-width: auto !important; padding: 14px; border: 1px solid var(--border); }
  .hk-val { font-size: clamp(1.3rem, 6vw, 1.8rem); }
  .hk-label { font-size: .5rem; }
}
