/* ============================================================
   SPOTLARK MEDIA — MAIN STYLESHEET
   Design system (step 8a). Light is the default theme; dark is [data-theme="dark"].
   Both themes share one layout: only the variables below change.
   ============================================================ */

/* ---------- Font: Plus Jakarta Sans, self-hosted (step 8b) ----------
   One variable file covers every weight the site uses (400–800). It is the Latin subset Google Fonts served before,
   so the same characters come from it; "→" and "✦" are not in the font and keep using the device font, as before.
   Preloaded in the <head> of every page. No italic file: nothing on the site is italic. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

/* ---------- 1. Light theme (default) ---------- */
:root {
  /* Brand */
  --coral: #E85D4A;                 /* buttons and accents. Brand color: never change it. */
  --coral-hover: #D44A38;
  --coral-text: #C7402D;            /* small coral text on light backgrounds (4.59:1 on #F5F5F7; brand coral is only 3.16:1) */
  --coral-light: rgba(232, 93, 74, 0.10);

  /* Surfaces and text */
  --bg: #F5F5F7;
  --surface: #FFFFFF;
  --surface-hover: #FAFAFB;
  --text: #1D1D1F;
  --text-2: #6E6E73;                /* secondary: also used for small notes (4.66:1) */
  --text-3: #86868B;                /* faint: large or non-essential text only (3.33:1) */
  --text-note: #6E6E73;
  --headline-muted: #8A8A8F;        /* first hero sentence (3.16:1, large text only) */
  --hairline: rgba(0, 0, 0, 0.08);
  --hairline-strong: rgba(0, 0, 0, 0.16);
  --ink: #1D1D1F;                   /* dark pill button (header) and neutral badges */
  --on-ink: #FFFFFF;
  --nav-glass: rgba(245, 245, 247, 0.72);
  --strip-bg: #1D1D1F;              /* slim announcement strip */
  --toggle-track: rgba(0, 0, 0, 0.07);
  --green-text: #0F7B40;            /* small green text on light (WhatsApp green is too pale to read there) */
  --error: #C4281C;                 /* error text and field outline */
  --placeholder: #737378;           /* example text inside fields (4.72:1 on white) */
  --field-border: #86868B;          /* field edges and slider track (3.6:1 on white, so the control is clear) */

  /* Shadows: soft and wide, no glow */
  --shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.22);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 32px -20px rgba(0, 0, 0, 0.14);
  --shadow-ad: 0 30px 60px -22px rgba(0, 0, 0, 0.35);
}

/* ---------- 2. Dark theme ---------- */
[data-theme="dark"] {
  --coral-text: #E85D4A;            /* brand coral passes on dark (5.48:1) */
  --coral-light: rgba(232, 93, 74, 0.14);
  --bg: #0F1117;
  --surface: #171A22;
  --surface-hover: #1D212B;
  --text: #FFFFFF;
  --text-2: #A9ADB7;
  --text-3: #7D828D;
  --text-note: #7D828D;
  --headline-muted: #6F7480;
  --hairline: rgba(255, 255, 255, 0.12);
  --hairline-strong: rgba(255, 255, 255, 0.22);
  --ink: #FFFFFF;
  --on-ink: #1D1D1F;
  --nav-glass: rgba(15, 17, 23, 0.72);
  --strip-bg: #171A22;
  --toggle-track: rgba(255, 255, 255, 0.12);
  --green-text: #25D366;
  --error: #FF8A80;
  --placeholder: #7D828D;
  --field-border: #7D828D;
  --shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 16px 32px -20px rgba(0, 0, 0, 0.5);
  --shadow-ad: 0 30px 60px -22px rgba(0, 0, 0, 0.7);
}

/* ---------- 3. Shared values + the old variable names (so every section picks up the new palette) ---------- */
:root {
  --bg-dark: var(--bg);
  --bg-surface: var(--surface);
  --bg-card: var(--surface);
  --bg-card-hover: var(--surface-hover);
  --bg-alt: var(--bg);
  --text-primary: var(--text);
  --text-secondary: var(--text-2);
  --text-muted: var(--text-note);
  --border: var(--hairline);
  --border-hover: var(--hairline-strong);
  --gradient-hero: var(--bg);
}
:root {
  --wa-green: #25D366;
  --wa-green-hover: #1ebe5a;

  /* Layout */
  --page-max: 1240px;
  --gutter: 40px;
  --ann-height: 36px;
  --nav-height: 72px;
  --offset: calc(var(--ann-height) + var(--nav-height));

  /* Shape */
  --radius: 18px;                   /* cards */
  --radius-sm: 12px;                /* fields and small boxes */
  --radius-pill: 999px;             /* buttons, chips, badges */

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --transition: 0.2s ease;

  --font: 'Plus Jakarta Sans', sans-serif;
}
@media (max-width: 767px) {
  :root { --gutter: 22px; --ann-height: 32px; --nav-height: 56px; }
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--offset);
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); color: inherit; }
input, select, textarea { font-family: var(--font); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

/* ---------- ICONS: inline SVG (step 8b). Sized by the text around them; line icons by default. ---------- */
.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- UTILITIES ---------- */
.container { width: 100%; max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); }
.text-coral { color: var(--coral-text) !important; }
.section { padding: 112px 0; }
.section-alt { background: var(--bg-alt); }
/* Small coral label above a heading (same look as the hero label) */
.section-label,
.section-label-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--coral-text);
  margin-bottom: 14px;
}
.section-heading {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text);
}
.section-sub {
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 580px;
  margin-bottom: 48px;
}

/* ============================================================
   ANNOUNCEMENT STRIP (slim, neutral)
============================================================ */
#announcement-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--ann-height);
  background: var(--strip-bg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.8125rem;
  z-index: 9999;
  padding: 0 16px;
  white-space: nowrap;
}
[data-theme="dark"] #announcement-bar { box-shadow: inset 0 -1px 0 var(--hairline); }
.ann-offer { font-weight: 600; }
.ann-cta { color: var(--coral); font-weight: 700; }
.ann-cta:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   HEADER
============================================================ */
#navbar {
  position: fixed;
  top: var(--ann-height);
  left: 0; right: 0;
  height: var(--nav-height);
  background: var(--nav-glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 9998;
  transition: background-color 0.3s ease, box-shadow 0.2s ease;
}
#navbar.is-scrolled { box-shadow: 0 1px 0 var(--hairline); }
.nav-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }

.nav-links { display: flex; gap: 2px; align-items: center; margin: 0 auto; }
.nav-links li a {
  font-size: 0.90625rem; /* 14.5px */
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
}
.nav-links li a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; margin-left: auto; }

/* Theme toggle: small neutral switch. Thumb on the right = light, on the left = dark. */
#theme-toggle { padding: 6px 0; display: flex; align-items: center; border-radius: var(--radius-pill); }
.theme-toggle-track {
  width: 46px; height: 26px;
  background: var(--toggle-track);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  position: relative;
  transition: background-color var(--transition);
}
.theme-toggle-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 3px; top: 3px;
  transform: translateX(20px);
  transition: transform 0.28s var(--ease-out);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}
[data-theme="dark"] .theme-toggle-thumb { transform: none; }
.theme-icon-moon, .theme-icon-sun {
  position: absolute;
  font-size: 0.66rem;
  color: var(--text-2);
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.theme-icon-moon { right: 7px; opacity: 0; }
.theme-icon-sun  { left: 7px; }
[data-theme="dark"] .theme-icon-moon { opacity: 1; }
[data-theme="dark"] .theme-icon-sun  { opacity: 0; }

/* Header button: dark pill on light, white pill on dark */
.btn.nav-cta { display: none; }
@media (min-width: 768px) { .btn.nav-cta { display: inline-flex; } }
.btn.nav-cta {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 9px 18px;
}

/* Hamburger */
.hamburger {
  width: 44px; height: 44px;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 5px;
  border-radius: 50%;
  margin-right: -10px;
}
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.15s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 992px) { .hamburger { display: none; } }

/* Phone menu */
.mobile-menu {
  position: fixed;
  top: var(--offset);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
  z-index: 9997;
  padding: 8px var(--gutter) 24px;
  transform: translateY(-110%);
  visibility: hidden;
  transition: transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
  box-shadow: var(--shadow);
}
.mobile-menu.open { transform: translateY(0); visibility: visible; transition: transform 0.32s var(--ease-out), visibility 0s; }
.mobile-menu ul { display: flex; flex-direction: column; }
.mobile-menu ul li a {
  display: block;
  padding: 14px 2px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--hairline);
}
.mobile-menu ul li a.btn { border-bottom: 2px solid var(--coral); color: #fff; text-align: center; margin-top: 18px; padding: 16px 28px; font-size: 1.1875rem; font-weight: 700; }

@media (min-width: 992px) {
  .mobile-menu { display: none !important; }
  .nav-links { display: flex; }
}
@media (max-width: 991px) {
  .nav-links { display: none; }
}

/* ============================================================
   BUTTONS (pills). Three levels (step 8b):
   1. .btn-coral    the one primary action in a section: coral, 19px bold (white on coral is 3.45:1, so it is only used at this size)
   2. .btn-dark     the next most important action: dark pill on light, white pill on dark
   3. .btn-outline  everything else: quiet outline pill
   .btn-whatsapp    WhatsApp green with dark text (8.5:1; white on that green is only 1.98:1)
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), opacity var(--transition), transform 0.16s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: scale(0.97); }
.btn-lg { padding: 14px 28px; }
.btn-xl { width: 100%; }
.btn-block { width: 100%; white-space: normal; }
.btn-coral {
  background: var(--coral);
  color: #fff;
  border: 2px solid var(--coral);
  font-size: 1.1875rem;
  font-weight: 700;
  padding: 16px 28px;
}
.btn-dark {
  background: var(--ink);
  color: var(--on-ink);
  border: 2px solid var(--ink);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--hairline-strong);
}
.btn-whatsapp {
  background: var(--wa-green);
  color: #1D1D1F;
  border: 2px solid var(--wa-green);
  font-weight: 700;
}
.btn .icon { font-size: 1.15em; }
.btn.nav-cta { min-height: 0; }
@media (hover: hover) and (pointer: fine) {
  .btn-coral:hover { background: var(--coral-hover); border-color: var(--coral-hover); }
  .btn-dark:hover { opacity: 0.84; }
  .btn-outline:hover { border-color: var(--text); }
  .btn-whatsapp:hover { background: var(--wa-green-hover); border-color: var(--wa-green-hover); }
  .btn.nav-cta:hover { background: var(--ink); border-color: var(--ink); opacity: 0.84; }
}

/* SVG check icon used instead of emoji checkmarks */
.chk-icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E85D4A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0.28em 8px 0 0; /* sits on the first line of the text beside it */
}
.deliverable-list li,
.price-features li,
.summary-deliverables li {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

/* ============================================================
   HERO (step 8a): text on the left, the "ad wall" on the right.
   Phones and tablets: text centered, the wall in a band below it.
============================================================ */
#hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 36px;
  min-height: clamp(620px, calc(100vh - var(--offset)), 820px);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 90px 0 72px;
}
.hero-badge {
  font-size: 0.8125rem; /* 13px */
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--coral-text);
  margin-bottom: 22px;
}
.hero-h1 {
  font-size: clamp(3rem, 4.6vw, 4.125rem); /* 66px on wide screens */
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  word-spacing: 0.05em; /* keeps the words apart at this tight tracking */
  margin-bottom: 26px;
}
.hero-h1 br { display: none; }
.hero-line-1, .hero-line-2 { display: block; text-wrap: balance; }
.hero-line-1 { color: var(--headline-muted); }
.hero-line-2 { color: var(--text); }
.hero-sub {
  font-size: 1.25rem; /* 20px */
  line-height: 1.5;
  color: var(--text-2);
  max-width: 520px;
  margin: 0 0 34px;
  text-wrap: balance;
  text-wrap: pretty; /* no single word alone on the last line; browsers without "pretty" use "balance" */
}
.hero-sub em { font-style: normal; }
.hero-ctas { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; margin-bottom: 40px; }
/* Primary action: coral pill. 19px bold counts as large text, so white on coral (3.45:1) passes WCAG AA. */
.hero-ctas .btn-coral { font-size: 1.1875rem; padding: 16px 28px; }
/* Secondary action: plain text link with a chevron */
.hero-ctas .btn-outline {
  border: 0;
  background: none;
  padding: 8px 2px;
  border-radius: 6px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  gap: 5px;
}
.hero-ctas .btn-outline::after {
  content: '›';
  font-size: 1.3em;
  font-weight: 500;
  line-height: 1;
  margin-top: -0.12em;
  transition: transform 0.2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .hero-ctas .btn-outline:hover::after { transform: translateX(3px); }
}

/* Hero facts: the small line under the buttons */
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
}
.trust-badges svg { color: var(--coral); flex-shrink: 0; }

/* ---------- Ad wall ----------
   Decoration only (aria-hidden, empty alt text, not clickable). Three columns of sample-ad thumbnails
   from assets/samples/thumbs/, tilted, fading into the page at the top and bottom.
   js/main.js doubles each column and adds .is-drifting for the slow loop (not for reduced-motion visitors). */
.hero-wall {
  --wall-card: 170px;
  --wall-gap: 18px;
  grid-column: 2;
  grid-row: 1;
  position: relative;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  /* reaches past the text column gap on the left and out to the screen edge on the right */
  margin: 0 calc(-1 * max(var(--gutter), (100vw - var(--page-max)) / 2 + var(--gutter))) 0 -24px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 15%, #000 80%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 15%, #000 80%, transparent 100%);
  opacity: 0; /* shown by js/main.js once the first thumbnails have loaded (they load after the hero text paints) */
}
.hero-wall.is-ready { opacity: 1; animation: wall-in 0.9s ease both; }
.wall-tilt {
  position: absolute;
  top: 40px;
  left: 72px;
  display: flex;
  align-items: flex-start;
  gap: var(--wall-gap);
  transform: rotate(-7deg);
  transform-origin: 50% 360px; /* turn around the middle of the visible part, not the middle of the long columns */
}
.wall-col { flex: 0 0 var(--wall-card); width: var(--wall-card); }
.wall-col:nth-child(2) { margin-top: -120px; }
.wall-col:nth-child(3) { margin-top: -40px; }
.wall-track img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: var(--wall-gap);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-ad);
}
.hero-wall.is-drifting .wall-track { animation: wall-drift 130s linear infinite; will-change: transform; }
.hero-wall.is-drifting .wall-col:nth-child(2) .wall-track { animation-duration: 150s; animation-direction: reverse; }
.hero-wall.is-drifting .wall-col:nth-child(3) .wall-track { animation-duration: 110s; }
.hero-wall.is-paused .wall-track { animation-play-state: paused; }
@keyframes wall-drift {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@keyframes wall-in { from { opacity: 0; } }

/* "Sample ads · fictional studios" pill: bottom left of the wall, clear of the WhatsApp float button (bottom right of the screen) */
.hero-wall-label {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: start;
  position: relative;
  z-index: 3;
  margin: 0 0 28px 30px;
  padding: 7px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
}

@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero-content { align-items: center; text-align: center; padding: 48px 0 28px; }
  .hero-h1 { font-size: clamp(2.5625rem, 7.2vw, 3.5rem); /* 41px on phones */ margin-bottom: 20px; }
  .hero-sub { font-size: 1.125rem; margin: 0 auto 28px; }
  .hero-ctas { flex-direction: column; gap: 10px; width: 100%; margin-bottom: 28px; }
  .hero-ctas .btn-coral { width: 100%; max-width: 440px; white-space: normal; }
  .trust-badges { justify-content: center; gap: 8px 18px; }
  .hero-wall {
    --wall-card: clamp(128px, 21vw, 170px);
    --wall-gap: 12px;
    height: clamp(300px, 46vw, 380px);
    margin: 0 calc(-1 * var(--gutter));
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
  }
  .wall-tilt { top: 24px; left: 50%; margin-left: calc(-1.5 * var(--wall-card) - var(--wall-gap)); transform: rotate(-5deg); transform-origin: 50% 160px; }
  .wall-col:nth-child(2) { margin-top: -90px; }
  .wall-col:nth-child(3) { margin-top: -30px; }
  .wall-track img { border-radius: 14px; }
  .hero-wall { grid-column: auto; grid-row: auto; }
  .hero-wall-label { grid-column: auto; grid-row: auto; position: absolute; left: var(--gutter); bottom: 14px; margin: 0; }
}
@media (max-width: 640px) {
  /* Tighter spacing on phones: on the first screen the three facts end above the WhatsApp float button,
     which then sits over the faded top of the wall, not over text. */
  .hero-content { padding: 30px 0 34px; }
  .hero-badge { margin-bottom: 14px; }
  .hero-h1 { margin-bottom: 14px; }
  .hero-sub { font-size: 1.0625rem; margin-bottom: 20px; }
  .hero-ctas { gap: 4px; margin-bottom: 18px; }
  .trust-badges { gap: 6px 18px; }
}
@media (max-width: 380px) {
  /* Narrow phones wrap onto more lines, so the type steps down slightly to keep the facts above the float button */
  .hero-content { padding-top: 24px; }
  .hero-h1 { font-size: 2.375rem; }
  .hero-sub { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-wall .wall-track { animation: none !important; }
}

/* ============================================================
   NICHE TICKER
============================================================ */
.marquee-wrap {
  background: var(--bg);
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.marquee-track { display: flex; overflow: hidden; }
.marquee-inner {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee-scroll 32s linear infinite;
  will-change: transform;
}
.marquee-inner span {
  color: var(--text-2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-inner { animation: none; }
}

/* ============================================================
   SECTIONS BELOW THE HERO (step 8b)
   One system: white cards on the page color (dark surfaces in dark mode), 18px radius, hairline borders,
   one soft shadow level (--shadow-card, used only where a card floats), one type scale:
   section title (.section-heading) · sub-text (.section-sub, 17px) · body (16px) · small (14px) · label (13px).
   Buttons: one coral button per section (19px bold); then a dark pill (.btn-dark); then a quiet outline pill.
============================================================ */

/* Shared card */
.cat-chip, .calc-tab, .summary-card, .hiw-card, .price-card, .pricing-quickwin, .agency-block,
.order-whatsapp, .free-sample-card, .other-input-wrap, .upsell-nudge {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}

/* ---------- Business-type chips ---------- */
.category-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border-color: var(--hairline-strong);
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition), transform 0.16s var(--ease-out);
}
.cat-chip:active { transform: scale(0.97); }
.cat-chip.active { border-color: var(--coral); background: var(--coral-light); box-shadow: inset 0 0 0 1px var(--coral); }
.cat-chip-other { border-style: dashed; color: var(--text-2); }
@media (hover: hover) and (pointer: fine) {
  .cat-chip:hover { border-color: var(--text); }
}
.other-input-wrap { padding: 20px; margin-bottom: 24px; max-width: 640px; }
.other-input-wrap label { display: block; font-weight: 600; margin-bottom: 10px; font-size: 0.875rem; color: var(--text-2); }
.other-input-wrap input { width: 100%; }
.cat-trust { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.cat-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.875rem; color: var(--text-2); font-weight: 500; }
.cat-trust svg { color: var(--coral); flex-shrink: 0; }

/* ---------- Fields (order form, "Other" box, niche box) ---------- */
.form-group input,
.form-group select,
.form-group textarea,
.other-input-wrap input,
.niche-other-input {
  width: 100%;
  min-height: 48px;
  background: var(--surface);
  border: 1px solid var(--field-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 1rem; /* 16px: iPhones don't zoom in on focus */
  line-height: 1.4;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-group select option { background: var(--surface); color: var(--text); }
.form-group input::placeholder, .form-group textarea::placeholder,
.other-input-wrap input::placeholder, .niche-other-input::placeholder { color: var(--placeholder); opacity: 1; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.other-input-wrap input:focus,
.niche-other-input:focus {
  outline: 2px solid var(--coral);
  outline-offset: 1px;
  border-color: var(--coral);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error,
.niche-other-input.error { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.form-error { font-size: 0.875rem; color: var(--error); font-weight: 600; min-height: 20px; }
.form-error:empty { min-height: 0; }

/* ---------- Calculator ---------- */
.calc-tabs-wrap { overflow-x: auto; overflow-y: visible; margin-bottom: 36px; padding: 14px 2px 6px; scrollbar-width: none; }
.calc-tabs-wrap::-webkit-scrollbar { display: none; }
.calc-tabs { display: flex; gap: 12px; min-width: max-content; }
.calc-tab {
  position: relative;
  min-width: 158px;
  padding: 20px 22px 16px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-2);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition), transform 0.16s var(--ease-out);
}
.calc-tab:active { transform: scale(0.98); }
.calc-tab strong { display: block; font-size: 1.125rem; font-weight: 700; color: var(--text); }
.calc-tab small { font-size: 0.8125rem; color: var(--text-2); }
.calc-tab.active { border-color: var(--coral); box-shadow: inset 0 0 0 1px var(--coral); background: var(--coral-light); color: var(--text); }
@media (hover: hover) and (pointer: fine) {
  .calc-tab:hover:not(.active) { border-color: var(--hairline-strong); }
}
/* "Start here" / "Best value": neutral pills */
.tab-badge, .price-badge, .summary-pkg-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  background: var(--ink);
  color: var(--on-ink);
}
.tab-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); z-index: 2; }

.calc-body { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
@media (max-width: 900px) { .calc-body { grid-template-columns: 1fr; } }
.calc-panel { display: none; }
.calc-panel.active { display: block; }
.panel-heading { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 20px; }
.deliverable-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.deliverable-list li { font-size: 1rem; color: var(--text-2); }

.upsell-nudge { border-radius: var(--radius-sm); padding: 14px 18px; font-size: 0.875rem; color: var(--text-2); }
.upsell-link, .os-switch { color: var(--coral-text); font-weight: 700; margin-left: 4px; white-space: nowrap; }
.upsell-link:hover, .os-switch:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Sliders */
.slider-group { margin-bottom: 24px; }
.slider-row { margin-bottom: 22px; }
.slider-row label { display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; font-weight: 600; color: var(--text-2); margin-bottom: 12px; }
.slider-val { color: var(--text); font-weight: 700; }
.slider { width: 100%; -webkit-appearance: none; appearance: none; height: 6px; border-radius: var(--radius-pill); background: var(--field-border); outline-offset: 6px; cursor: pointer; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); cursor: pointer; border: 3px solid var(--surface); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); }
.slider::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--coral); cursor: pointer; border: 3px solid var(--surface); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); }
.slider-info { font-size: 0.875rem; color: var(--text-2); margin-top: 8px; }

/* Choice pills (calculator, order box, gallery filters) */
.toggle-group { display: flex; flex-direction: column; gap: 16px; }
.toggle-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.toggle-label { font-size: 0.875rem; font-weight: 600; color: var(--text-2); min-width: 120px; }
.toggle-options { display: flex; gap: 8px; flex-wrap: wrap; }
.toggle-opt {
  min-height: 44px;
  padding: 9px 18px;
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-pill);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition), transform 0.16s var(--ease-out);
}
.toggle-opt:active { transform: scale(0.97); }
.toggle-opt.active { border-color: var(--coral); box-shadow: inset 0 0 0 1px var(--coral); background: var(--coral-light); }
@media (hover: hover) and (pointer: fine) {
  .toggle-opt:hover:not(.active) { border-color: var(--text); }
}

/* Summary card (the one floating card: it gets the one shadow) */
.summary-card { padding: 28px; position: sticky; top: calc(var(--offset) + 20px); box-shadow: var(--shadow-card); }
.summary-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.summary-pkg-name { font-size: 1.125rem; font-weight: 700; color: var(--text); }
.summary-deliverables { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--hairline); }
.summary-deliverables li { font-size: 0.875rem; color: var(--text-2); }
.summary-breakdown { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; font-size: 0.875rem; color: var(--text-2); }
.sum-row span:last-child { font-weight: 600; color: var(--text); text-align: right; }
.sum-row .text-coral { color: var(--text) !important; }
.sum-total { border-top: 1px solid var(--hairline); padding-top: 12px; font-size: 1rem; font-weight: 700; color: var(--text); }
.sum-total span:last-child { font-size: 1.25rem; font-weight: 700; }
.sum-addons { display: flex; flex-direction: column; gap: 8px; }
.sum-addons:empty { display: none; }
.sum-addon-row { display: flex; justify-content: space-between; gap: 16px; font-size: 0.875rem; color: var(--text-2); }
.summary-fine { font-size: 0.875rem; color: var(--text-2); text-align: center; margin-top: 14px; }

/* ---------- How it works ---------- */
.hiw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .hiw-grid { grid-template-columns: 1fr; } }
.hiw-card { padding: 32px 28px; }
.hiw-step-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--bg); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; color: var(--coral); }
.hiw-step-icon svg { width: 24px; height: 24px; }
.hiw-num { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.09em; color: var(--text-2); margin-bottom: 8px; }
.hiw-card h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 10px; }
.hiw-card p { font-size: 1rem; color: var(--text-2); line-height: 1.6; }

/* ---------- Sample ads gallery (step 6b-1) and clips (6b-2). Behavior unchanged; look only. ----------
   Every card uses the same 4:5 frame: feed ads fill it, story ads sit inside it whole.
   Desktop: 4-column grid. Phone: one swipe row with scroll-snap, the next card peeking in. */
.samples-label { margin-bottom: 24px; }
.samples-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.samples-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sample-card { margin: 0; }
.sample-card[hidden] { display: none; }
.sample-frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--hairline); }
.sample-frame img,
.sample-frame video { display: block; width: 100%; height: 100%; object-fit: contain; }
/* Clip play/pause button: small, bottom right, so it doesn't cover the clip. 44px tap area. */
.sample-play {
  position: absolute; right: 8px; bottom: 8px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 0.75rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.sample-play::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: rgba(15, 17, 23, 0.78); border: 1px solid rgba(255, 255, 255, 0.28); z-index: -1; }
.sample-play { z-index: 1; isolation: isolate; }
.sample-play[hidden] { display: none; }
.sample-tag { flex-shrink: 0; border: 1px solid var(--hairline-strong); color: var(--text-2); font-size: 0.75rem; font-weight: 600; padding: 2px 9px; border-radius: var(--radius-pill); }
.sample-card figcaption { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--text-2); font-weight: 500; }
.samples-cta { margin-top: 44px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.samples-own-photos { font-size: 1rem; color: var(--text-2); margin: 0; }
.samples-cta-question { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin: 0 0 10px; }
@media (max-width: 900px) { .samples-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .samples-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .samples-filters::-webkit-scrollbar { display: none; }
  .samples-filters .toggle-opt { flex: 0 0 auto; }
  .samples-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .samples-grid::-webkit-scrollbar { display: none; }
  .sample-card { flex: 0 0 80%; scroll-snap-align: start; }
}

/* ---------- Pricing ----------
   Quick Win and "Best value" stand out by layout and a thin coral outline, not by colored blocks. */
.pricing-quickwin { padding: 36px 40px; margin-bottom: 20px; border-color: var(--coral); box-shadow: inset 0 0 0 0.5px var(--coral); }
.pricing-qw-inner { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 48px; align-items: center; }
.pricing-qw-left { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pricing-qw-left .btn { margin-top: 10px; }
.pricing-quickwin .price-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
@media (max-width: 860px) {
  .pricing-quickwin { padding: 28px 22px; }
  .pricing-qw-inner { grid-template-columns: 1fr; gap: 24px; }
  .pricing-qw-left .btn { width: 100%; }
}
@media (max-width: 560px) { .pricing-quickwin .price-features { grid-template-columns: 1fr; } }
.price-pkg-name { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; }
.price-amount { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; color: var(--text); line-height: 1.05; }
.price-freq { font-size: 0.875rem; font-weight: 500; letter-spacing: 0; color: var(--text-2); }
.price-note { font-size: 0.875rem; color: var(--text-2); }
.price-badge { align-self: flex-start; margin-bottom: 4px; }
.price-features { display: flex; flex-direction: column; gap: 12px; }
.price-features li { font-size: 1rem; color: var(--text-2); line-height: 1.45; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { padding: 32px 28px 28px; position: relative; display: flex; flex-direction: column; gap: 14px; }
.price-card-featured { border-color: var(--coral); box-shadow: inset 0 0 0 0.5px var(--coral); }
.price-card .price-features { flex: 1; margin: 6px 0 14px; }
.price-cta { margin-top: auto; }
.pricing-times { text-align: center; color: var(--text-2); font-size: 0.875rem; max-width: 720px; margin: 24px auto 32px; }

/* Agencies strip: text on the left, WhatsApp on the right */
.agency-block { padding: 28px 32px; display: grid; grid-template-columns: 1fr auto; gap: 6px 32px; align-items: center; }
.agency-badge { grid-column: 1; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-2); }
.agency-sub { grid-column: 1; color: var(--text); font-size: 1.0625rem; font-weight: 500; }
.agency-block .btn { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 760px) {
  .agency-block { grid-template-columns: 1fr; padding: 24px 22px; gap: 10px; }
  .agency-block .btn { grid-column: 1; grid-row: auto; margin-top: 8px; }
}

/* Invite-list strip */
.media-suite-section { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.suite-sub { max-width: 720px; }
.suite-sub .text-coral { font-weight: 600; white-space: nowrap; }
.suite-sub .text-coral:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ: clean rows, smooth open/close (the row animates its own height) ---------- */
.faq-list { display: flex; flex-direction: column; margin-top: 12px; max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item:first-child { border-top: 1px solid var(--hairline); }
.faq-question {
  width: 100%;
  min-height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 2px;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  text-align: left;
  background: none;
  cursor: pointer;
}
.faq-icon { font-size: 1.125rem; color: var(--text-2); transition: transform 0.3s var(--ease-out); }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.3s var(--ease-out), visibility 0s linear 0.3s; }
.faq-answer.open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 0.3s var(--ease-out), visibility 0s; }
.faq-answer p { overflow: hidden; min-height: 0; font-size: 1rem; color: var(--text-2); line-height: 1.65; padding: 0 44px 0 2px; }
.faq-answer p::after { content: ''; display: block; height: 22px; }
.faq-answer p a { color: var(--coral-text); font-weight: 600; }
.faq-answer p a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .faq-question:hover .faq-icon { color: var(--text); }
}

/* ---------- Order form ---------- */
.order-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; max-width: 1000px; }
@media (max-width: 860px) { .order-wrap { grid-template-columns: 1fr; gap: 28px; } }
.order-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.form-submit-row { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.form-note { font-size: 0.875rem; color: var(--text-2); font-weight: 500; margin: 0; }
.form-trust { display: flex; gap: 8px 22px; flex-wrap: wrap; }
.form-trust span { display: inline-flex; align-items: center; font-size: 0.875rem; color: var(--text-2); font-weight: 500; }
.form-submit-error { display: none; width: 100%; padding: 14px 16px; border: 1px solid var(--error); border-radius: var(--radius-sm); color: var(--error); font-size: 0.875rem; font-weight: 600; }
.form-submit-error a { text-decoration: underline; font-weight: 700; }

/* Terms checkbox and credit checkbox: 44px rows, 20px boxes */
.terms-agree { display: flex; flex-direction: column; gap: 4px; }
.terms-check, .os-credit { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 1rem; font-weight: 600; color: var(--text); cursor: pointer; }
.terms-check input, .os-credit input { accent-color: var(--coral); width: 20px; height: 20px; flex-shrink: 0; }
.terms-check input:focus-visible, .os-credit input:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.terms-check input.error { outline: 2px solid var(--error); outline-offset: 2px; }
.terms-check a { text-decoration: underline; text-underline-offset: 3px; }

/* Order summary box at the top of the form (step 5): spacing only, it reuses the summary card */
.order-summary { position: static; top: auto; }
.order-summary .toggle-group { margin-bottom: 18px; }
.order-summary .toggle-group:empty { display: none; }
.order-summary .summary-breakdown { margin-bottom: 0; }
.order-summary .upsell-nudge { margin-top: 16px; }
.order-summary .form-group { margin-bottom: 14px; }
.order-summary-note { font-size: 0.875rem; color: var(--text-2); margin: 0 0 16px; }
.os-credit-note { display: block; font-size: 0.875rem; color: var(--text-2); margin: 0 0 16px 32px; }
.os-total-reminder { font-size: 1rem; font-weight: 700; color: var(--text); margin: 0; }

.spinner { width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* WhatsApp side card */
.order-whatsapp { padding: 28px 22px; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; position: sticky; top: calc(var(--offset) + 20px); }
.order-whatsapp p { font-size: 1rem; font-weight: 600; color: var(--text); }
.order-whatsapp small { font-size: 0.875rem; color: var(--text-2); }

/* ---------- Free forms card ---------- */
.free-sample-section { padding: 0 0 96px; }
.free-sample-card { max-width: 720px; margin: 0 auto; padding: 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.free-sample-text { margin: 0; font-size: 1.0625rem; font-weight: 600; color: var(--text); line-height: 1.5; }
.free-sample-note { font-size: 0.875rem; color: var(--text-2); }

/* ---------- Terms page and 404 ---------- */
.legal-page { padding: 88px 0 112px; }
.legal-page .container { max-width: 800px; }
.legal-page h1 { font-size: clamp(2.25rem, 4.6vw, 3.25rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 12px; }
.legal-updated { font-size: 0.875rem; color: var(--text-2); margin-bottom: 40px; }
.legal-page h2 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; margin: 40px 0 12px; color: var(--text); }
.legal-page p, .legal-page li { font-size: 1rem; line-height: 1.7; color: var(--text-2); }
.legal-page p { margin: 0 0 12px; }
.legal-page ul { padding-left: 22px; margin: 0 0 12px; list-style: disc; }
.legal-page a:not(.btn) { color: var(--coral-text); font-weight: 600; }
.legal-page a:not(.btn):hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   FOOTER: follows the theme (step 8b). Light logo on light, dark logo on dark.
============================================================ */
#footer { background: var(--bg); color: var(--text-2); border-top: 1px solid var(--hairline); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 300px 1fr; gap: 48px; margin-bottom: 48px; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr; gap: 36px; } }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-tagline { font-size: 0.875rem; color: var(--text-2); line-height: 1.55; max-width: 250px; }
.footer-about { font-size: 0.875rem; color: var(--text-2); line-height: 1.55; max-width: 280px; margin: 0; }
.footer-about a { color: var(--coral-text); font-weight: 600; }
.footer-about a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-social { display: flex; gap: 10px; }
.social-link { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hairline-strong); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--text-2); }
.social-link:hover { color: var(--text); border-color: var(--text); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 560px) { .footer-links { grid-template-columns: 1fr 1fr; } .footer-col:last-child { grid-column: 1 / -1; } }
.footer-col h4 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 4px; }
.footer-col ul li a { display: inline-flex; align-items: center; min-height: 32px; font-size: 0.875rem; color: var(--text-2); }
.footer-col ul li a:hover { color: var(--text); }
.footer-col ul li a.footer-wa-btn { gap: 7px; margin: 4px 0; padding: 6px 14px; min-height: 36px; border: 1px solid var(--hairline-strong); border-radius: var(--radius-pill); color: var(--text); font-weight: 600; white-space: nowrap; }
.footer-wa-btn .icon { color: var(--green-text); }
.footer-col ul li a.footer-wa-btn:hover { border-color: var(--text); }
.footer-bottom-wrap { border-top: 1px solid var(--hairline); }
.footer-bottom { padding: 20px var(--gutter); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; max-width: var(--page-max); margin: 0 auto; width: 100%; }
.footer-copy { font-size: 0.875rem; color: var(--text-2); margin: 0; }
.footer-policies { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.policy-link { background: none; border: none; font-family: var(--font); font-size: 0.875rem; color: var(--text-2); cursor: pointer; padding: 6px 0; }
.policy-link:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.policy-sep { color: var(--text-3); font-size: 0.875rem; }
@media (max-width: 640px) { .footer-bottom { flex-direction: column; text-align: center; } }

/* Brand logo (step 7b). Light logo by default, dark logo on the dark theme: header, footer and thank-you card. */
.brand-logo { display: block; height: 31px; width: auto; max-width: 100%; }
.logo-on-dark { display: none; }
.logo-on-light { display: block; }
[data-theme="dark"] .logo-on-dark { display: block; }
[data-theme="dark"] .logo-on-light { display: none; }
@media (max-width: 767px) { .nav-logo .brand-logo { height: 26px; } }

/* ============================================================
   FLOATING WHATSAPP BUTTON + BACK TO TOP
============================================================ */
.whatsapp-fab {
  position: fixed; bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff; /* white glyph on WhatsApp green: a brand mark, kept as is */
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.35);
  z-index: 9000;
  transition: transform var(--transition), background-color var(--transition), opacity 0.25s ease, visibility 0s;
}
.whatsapp-fab:hover { transform: scale(1.06); background: var(--wa-green-hover); }
.whatsapp-fab:active { transform: scale(0.96); }
/* Phones (step 8b): hidden while the hero is on screen, fades in once the hero has scrolled away (js/main.js adds .is-shown).
   While hidden it is out of the tab order and not announced. Without scripts it simply stays visible. */
@media (max-width: 767px) {
  .js .whatsapp-fab:not(.is-shown) { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.25s ease, visibility 0s linear 0.25s; }
}
.back-to-top {
  position: fixed; bottom: 100px; right: 35px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
  z-index: 9000;
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition), visibility 0s linear 0.2s, border-color var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; transition: opacity var(--transition), visibility 0s, border-color var(--transition); }
.back-to-top:hover { border-color: var(--text); }

/* ============================================================
   MOTION: small, calm reveals. Everything off for reduced motion.
============================================================ */
.fade-up { opacity: 0; transform: translateY(12px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.fade-up.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
  .btn, .cat-chip, .calc-tab, .toggle-opt, .faq-icon, .faq-answer, .faq-answer.open, .whatsapp-fab, .js .whatsapp-fab:not(.is-shown), .back-to-top, .back-to-top.visible,
  .theme-toggle-thumb, .mobile-menu, .mobile-menu.open, .modal-overlay, .modal-box, .hamburger span, .hero-ctas .btn-outline::after { transition: none; }
  .btn:active, .cat-chip:active, .calc-tab:active, .toggle-opt:active, .whatsapp-fab:hover, .whatsapp-fab:active { transform: none; }
  .hero-wall.is-ready, .spinner { animation: none; }
}

/* ============================================================
   PRIVACY POP-UP: follows the theme
============================================================ */
.modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0s linear 0.2s; }
.modal-overlay.open { opacity: 1; visibility: visible; transition: opacity 0.25s ease, visibility 0s; }
.modal-box { background: var(--surface); color: var(--text); border: 1px solid var(--hairline); border-radius: var(--radius); max-width: 600px; width: 100%; max-height: 82vh; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transform: scale(0.97); transition: transform 0.25s var(--ease-out); }
.modal-overlay.open .modal-box { transform: none; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px 28px; border-bottom: 1px solid var(--hairline); }
.modal-header h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin: 0; }
.modal-close { width: 44px; height: 44px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--text); font-size: 1.125rem; cursor: pointer; }
.modal-close:hover { background: var(--hairline-strong); }
.modal-body { padding: 24px 28px 28px; overflow-y: auto; font-size: 1rem; line-height: 1.65; color: var(--text-2); }
.modal-updated { font-size: 0.875rem; color: var(--text-2); margin-bottom: 18px; }
.modal-body h4 { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--text); margin: 22px 0 8px; }
.modal-body h4:first-of-type { margin-top: 0; }
.modal-body ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; list-style: disc; }
.modal-body p { margin-top: 16px; }
.modal-body a { color: var(--coral-text); font-weight: 600; }

/* ============================================================
   SCROLLBAR + RESPONSIVE
============================================================ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--hairline-strong); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .summary-card { position: static; padding: 24px 20px; }
  .order-whatsapp { position: static; }
  .calc-tab { min-width: 140px; padding: 18px 16px 14px; }
  .hiw-card { padding: 26px 22px; }
  .price-card { padding: 28px 22px 24px; }
  .faq-answer p { padding-right: 8px; }
}

/* Sections start below the fixed strip and header */
section[id], div[id="how-it-works"] { scroll-margin-top: var(--offset); }
/* Phone sizes for the announcement strip and header come from --ann-height / --nav-height / --gutter at the top of this file. */
