/* RankivoAI — site styles
   Brand: navy + gold (from the Rankivo AI brochure). Light, airy surfaces. */

:root {
  /* Brand */
  --navy-950: #070C2E;
  --navy-900: #0B1240;
  --navy: #121A4A;
  --navy-700: #24306A;
  --navy-500: #43518C;
  --navy-200: #C9CEE4;
  --navy-100: #E6E9F4;
  --navy-50: #F3F4F9;
  --gold: #D1A935;
  --gold-600: #B8901F;
  --gold-ink: #7A5C0E;      /* gold for text on light backgrounds (AA) */
  --gold-100: #F6ECCB;
  --gold-50: #FBF6E6;

  /* Semantic */
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --surface-2: var(--navy-50);
  --ink: var(--navy);
  --ink-2: #454C6E;
  --ink-3: #5F6688;
  --line: #E3E5EE;
  --focus: #2F6BFF;
  --success: #1F7A4D;
  --danger: #B42318;

  /* Type */
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Space & shape */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(18, 26, 74, .06), 0 1px 1px rgba(18, 26, 74, .04);
  --shadow-md: 0 10px 30px -12px rgba(18, 26, 74, .18), 0 2px 6px rgba(18, 26, 74, .05);
  --shadow-lg: 0 30px 60px -24px rgba(18, 26, 74, .28), 0 8px 20px -8px rgba(18, 26, 74, .10);

  /* Motion */
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --t-fast: 150ms;
  --t-med: 260ms;

  /* Layers */
  --z-header: 50;
  --z-menu: 60;
  --z-skip: 100;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -0.015em; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 1em; }
ul { margin: 0; }
strong { color: var(--ink); font-weight: 700; }
::selection { background: var(--gold-100); color: var(--navy); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: var(--z-skip);
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: var(--r-sm); font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

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

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--white { background: var(--surface); }
.section--tint { background: var(--surface-2); }
.section--navy { background: var(--navy); color: #C9CEE4; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--gold); }
.section--navy .eyebrow { color: var(--gold); }

.lede { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }
.gold-text { color: var(--gold-ink); }
.section--navy .gold-text, .hero--navy .gold-text { color: var(--gold); }
.underline-gold { background: linear-gradient(transparent 68%, var(--gold-100) 68%); padding: 0 .08em; }

/* ---------- Icons ---------- */
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-tile {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: var(--navy-50); color: var(--navy); border: 1px solid var(--navy-100);
}
.icon-tile .icon { width: 24px; height: 24px; }
.icon-tile--gold { background: var(--gold-50); color: var(--gold-ink); border-color: var(--gold-100); }
.icon-tile--navy { background: var(--navy); color: var(--gold); border-color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 1rem/1 var(--font); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-bd);
  cursor: pointer; touch-action: manipulation;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-med), border-color var(--t-med), color var(--t-med), box-shadow var(--t-med);
}
.btn:hover { color: var(--btn-fg); background: var(--navy-700); border-color: var(--navy-700); box-shadow: var(--shadow-md); }
.btn:active { transform: scale(.97); }
.btn .icon { width: 20px; height: 20px; transition: transform var(--t-med) var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--navy); --btn-bd: var(--gold); }
.btn--gold:hover { background: #DDB848; border-color: #DDB848; color: var(--navy); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--navy-200); }
.btn--ghost:hover { background: var(--surface); border-color: var(--navy); color: var(--navy); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); }
.btn--ghost-light:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); text-decoration: none; }
.text-link .icon { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease-out); }
.text-link:hover .icon { transform: translateX(3px); }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(251, 250, 247, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color var(--t-med), box-shadow var(--t-med);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(18,26,74,.4); }
.topbar { background: var(--navy); color: #DDE1F0; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold); }
.topbar__tag { display: flex; align-items: center; gap: 8px; }
.topbar__tag b { color: var(--gold); font-weight: 800; letter-spacing: .08em; font-size: .72rem; border: 1px solid rgba(209,169,53,.5); padding: 2px 8px; border-radius: 999px; }
.topbar__contact { display: flex; gap: 20px; }
.topbar__contact a { display: inline-flex; gap: 6px; align-items: center; }
.topbar__contact .icon { width: 15px; height: 15px; color: var(--gold); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 8px; }
.brand img { height: 42px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.nav__links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; color: var(--ink-2); text-decoration: none;
  transition: color var(--t-fast), background-color var(--t-fast);
}
.nav__links a:hover { color: var(--navy); background: var(--navy-50); }
.nav__links a[aria-current="page"] { color: var(--navy); background: var(--navy-50); box-shadow: inset 0 -2px 0 var(--gold); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--navy); cursor: pointer; place-items: center;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon--close { display: none; }
.menu-toggle[aria-expanded="true"] .icon--open { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }

.mobile-menu { display: none; }

@media (max-width: 980px) {
  .nav__links, .nav__actions .btn--ghost { display: none; }
  .menu-toggle { display: grid; }
  .topbar__tag span { display: none; }
  .mobile-menu {
    display: block; position: fixed; inset: 0; top: var(--header-h, 116px); z-index: var(--z-menu);
    background: var(--bg); padding: 24px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .mobile-menu ul { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--line); }
  .mobile-menu li a {
    display: flex; justify-content: space-between; align-items: center; min-height: 60px;
    border-bottom: 1px solid var(--line); font-size: 1.25rem; font-weight: 700; color: var(--navy); text-decoration: none;
  }
  .mobile-menu li a[aria-current="page"] { color: var(--gold-ink); }
  .mobile-menu .btn { width: 100%; margin-bottom: 12px; }
  .mobile-menu__contact { margin-top: 20px; font-size: .95rem; }
  .mobile-menu__contact a { display: block; padding: 6px 0; font-weight: 600; }
}
@media (max-width: 560px) {
  .topbar__contact a:nth-child(2) { display: none; }
  .nav__actions .btn--gold { display: none; }
  .brand img { height: 36px; }
  .nav { min-height: 68px; }
}
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(209,169,53,.14), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(67,81,140,.10), transparent 60%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
  font-size: .85rem; font-weight: 700; color: var(--navy);
}
.hero__kicker b { background: var(--navy); color: var(--gold); border-radius: 999px; padding: 3px 10px; font-size: .72rem; letter-spacing: .1em; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .line { display: block; }
.hero h1 .gold { color: var(--gold-600); }
.hero__rule { width: 84px; height: 5px; border-radius: 3px; background: var(--gold); margin: 0 0 24px; }
.hero .lede { margin-bottom: 32px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; padding: 0; list-style: none; font-size: .95rem; font-weight: 600; color: var(--ink-2); }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .icon { color: var(--gold-600); width: 18px; height: 18px; }

/* Hero visual: local search mock */
.search-mock { position: relative; }
.search-mock__card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 18px; overflow: hidden;
}
.search-mock__bar {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 999px;
  background: var(--navy-50); border: 1px solid var(--navy-100); color: var(--navy); font-weight: 600; font-size: .95rem;
}
.search-mock__bar .icon { color: var(--navy-500); width: 18px; height: 18px; }
.search-mock__caret { width: 2px; height: 18px; background: var(--navy); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.search-mock__map {
  position: relative; margin: 14px 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 9;
  background: #EEF0F6;
}
.search-mock__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.geo-grid { position: absolute; inset: 8% 10%; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, 1fr); place-items: center; }
.geo-dot {
  width: clamp(24px, 3vw, 32px); height: clamp(24px, 3vw, 32px); border-radius: 50%;
  display: grid; place-items: center; font-size: .72rem; font-weight: 800; box-shadow: 0 2px 6px rgba(18,26,74,.25);
  background: var(--gold); color: var(--navy); border: 2px solid #fff;
}
.geo-dot--mid { background: var(--navy-500); color: #fff; }
.geo-dot--low { background: #fff; color: var(--ink-3); }
.geo-pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); color: var(--navy);
  filter: drop-shadow(0 6px 8px rgba(18,26,74,.35));
}
.geo-pin svg { width: 40px; height: 40px; position: static; }
.search-mock__legend { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 4px 10px; font-size: .7rem; font-weight: 700; color: var(--ink-2); }
.pack { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pack li {
  display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
}
.pack__rank { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: .85rem; background: var(--navy-50); color: var(--navy); }
.pack__name { font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.25; }
.pack__meta { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--ink-3); }
.pack__stars { display: inline-flex; color: var(--gold-600); }
.pack__stars .icon { width: 12px; height: 12px; fill: currentColor; stroke-width: 1.5; }
.pack li.is-you { border-color: var(--gold); background: var(--gold-50); box-shadow: 0 0 0 3px rgba(209,169,53,.18); }
.pack li.is-you .pack__rank { background: var(--gold); }
.pack__tag { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: var(--gold); padding: 4px 8px; border-radius: 999px; }
.pack__bar { height: 8px; border-radius: 4px; background: var(--navy-100); width: 60%; }
.pack__bar--short { width: 40%; }

.ai-bubble {
  position: absolute; right: -18px; bottom: -34px; width: min(300px, 78%);
  background: var(--navy); color: #DDE1F0; border-radius: 20px 20px 6px 20px; padding: 16px 18px;
  box-shadow: var(--shadow-lg); font-size: .9rem; line-height: 1.5;
}
.ai-bubble__label { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.ai-bubble__label .icon { width: 16px; height: 16px; }
.ai-bubble strong { color: #fff; }
.review-chip {
  position: absolute; left: -28px; bottom: 150px; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow-md);
  font-size: .82rem; font-weight: 700; color: var(--ink);
}
.review-chip .icon-tile { width: 36px; height: 36px; border-radius: 10px; }
.review-chip .icon-tile .icon { width: 18px; height: 18px; }
.review-chip small { display: block; font-weight: 600; color: var(--ink-3); font-size: .75rem; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .search-mock { max-width: 560px; margin: 0 auto 30px; width: 100%; }
}
@media (max-width: 560px) {
  .review-chip, .search-mock__legend { display: none; }
  .ai-bubble { right: 8px; bottom: -40px; }
  .hero .btn-row .btn { width: 100%; }
}

/* ---------- Channel strip (how customers decide) ---------- */
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.channel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.channel__query {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 8px 14px; border-radius: 999px; background: var(--navy-50); color: var(--navy); font-weight: 600; font-size: .9rem;
}
.channel__query .icon { width: 16px; height: 16px; color: var(--navy-500); }
.channel p { margin: 0; }
.stat-callout {
  margin-top: 28px; display: flex; gap: 20px; align-items: center; padding: 24px 28px; border-radius: var(--r-lg);
  background: var(--navy); color: #DDE1F0;
}
.stat-callout__num { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; color: var(--gold); line-height: 1; letter-spacing: -0.03em; flex: none; }
.stat-callout p { margin: 0; font-size: 1.05rem; }
.stat-callout strong { color: #fff; }
@media (max-width: 860px) { .channels { grid-template-columns: 1fr; } .stat-callout { flex-direction: column; align-items: flex-start; } }

/* ---------- Pillars (found / chosen / answer) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); overflow: hidden; }
.pillar { padding: clamp(28px, 3.5vw, 44px); position: relative; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar__num { font-size: .8rem; font-weight: 800; letter-spacing: .14em; color: var(--gold-ink); margin-bottom: 18px; display: block; }
.pillar h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 12px; letter-spacing: -0.025em; font-weight: 800; }
.pillar ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.pillar li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink); font-size: .98rem; }
.pillar li .icon { color: var(--gold-600); width: 20px; height: 20px; margin-top: 2px; }
.pillar--accent { background: var(--navy); color: #C9CEE4; }
.pillar--accent h3, .pillar--accent li { color: #fff; }
.pillar--accent .pillar__num { color: var(--gold); }
.pillar--accent li .icon { color: var(--gold); }
.badge-new { display: inline-block; margin-left: 8px; vertical-align: middle; font-size: .68rem; font-weight: 800; letter-spacing: .1em; background: var(--gold); color: var(--navy); padding: 4px 10px; border-radius: 999px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Services list ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service {
  display: flex; gap: 20px; align-items: flex-start; padding: 28px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med) var(--ease-out);
}
.service:hover { border-color: var(--navy-200); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service__num { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-weight: 800; flex: none; }
.service h3 { margin-bottom: 8px; }
.service p { margin: 0; font-size: 1rem; }
.service--wide { grid-column: 1 / -1; }
@media (max-width: 820px) { .services { grid-template-columns: 1fr; } .service { padding: 22px; } }

/* ---------- AEO / GEO ---------- */
.engines { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.engine { border-radius: var(--r-xl); padding: clamp(28px, 3.5vw, 44px); background: var(--surface); border: 1px solid var(--line); border-top: 8px solid var(--navy); }
.engine--gold { border-top-color: var(--gold); }
.engine__tag { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 14px; }
.engine h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; font-weight: 800; margin-bottom: 16px; }
.engine__rule { width: 52px; height: 4px; background: var(--gold); border-radius: 2px; margin-bottom: 18px; }
.engine h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 24px 0 12px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checklist li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .55em; border-radius: 2px; background: var(--gold); }
.section--navy .checklist li { color: #fff; }
.ai-demo {
  margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
  padding: 22px 26px; border-radius: var(--r-lg); background: var(--gold-50); border: 1px dashed var(--gold);
}
.ai-demo p { margin: 0; color: var(--ink); font-weight: 600; }
.ai-demo p span { display: block; font-weight: 500; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) { .engines { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry {
  display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); min-height: 100%;
}
.industry h3 { margin: 6px 0 0; }
.industry p { margin: 0; font-size: .98rem; }
.industry__searches { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.industry__searches span { font-size: .8rem; font-weight: 600; color: var(--navy); background: var(--navy-50); padding: 5px 10px; border-radius: 999px; }
.industry__searches span::before { content: "“"; } .industry__searches span::after { content: "”"; }
@media (max-width: 1080px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .industries { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 28px 24px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); }
.step__n { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-weight: 800; margin-bottom: 20px; }
.step h3 { color: #fff; margin-bottom: 8px; }
.step p { margin: 0; font-size: .98rem; color: #C9CEE4; }
.section:not(.section--navy) .step { background: var(--surface); border-color: var(--line); }
.section:not(.section--navy) .step h3 { color: var(--ink); }
.section:not(.section--navy) .step p { color: var(--ink-2); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 460px)); gap: 24px; justify-content: center; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3.5vw, 40px);
  border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.plan--featured { background: var(--navy); border-color: var(--navy); color: #C9CEE4; box-shadow: var(--shadow-lg); }
.plan__flag { position: absolute; top: -14px; left: 32px; background: var(--gold); color: var(--navy); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan__name { font-size: .85rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 18px; }
.plan--featured .plan__name { color: var(--gold); }
.plan__was { font-size: 1rem; color: var(--ink-3); font-weight: 600; }
.plan__was s { text-decoration-thickness: 2px; text-decoration-color: rgba(180, 35, 24, .7); }
.plan--featured .plan__was { color: #A8AFD0; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 4px 0 4px; }
.plan__amount { font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 800; color: var(--ink); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan--featured .plan__amount { color: #fff; }
.plan__per { font-weight: 600; color: var(--ink-2); }
.plan--featured .plan__per { color: #C9CEE4; }
.plan__save { display: inline-block; margin: 10px 0 24px; font-size: .82rem; font-weight: 800; color: var(--success); background: #E7F4ED; padding: 5px 10px; border-radius: 999px; align-self: flex-start; }
.plan--featured .plan__save { color: var(--navy); background: var(--gold); }
.plan ul { list-style: none; padding: 24px 0 0; margin: 0 0 28px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan--featured ul { border-top-color: rgba(255,255,255,.14); }
.plan li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; font-size: .98rem; }
.plan--featured li { color: #fff; }
.plan li .icon { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--gold-100); color: var(--gold-ink); stroke-width: 3; margin-top: 1px; }
.plan--featured li .icon { background: var(--gold); color: var(--navy); }
.plan .btn { margin-top: auto; }
.plan__fine { margin-top: 12px; font-size: .82rem; text-align: center; color: var(--ink-3); }
.plan--featured .plan__fine { color: #A8AFD0; }
.pricing-note { text-align: center; margin-top: 32px; color: var(--ink-2); }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- Audit (form) ---------- */
.audit { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.audit__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.audit__list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.audit__list h3 { font-size: 1.05rem; margin-bottom: 4px; }
.audit__list p { margin: 0; font-size: .98rem; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow-lg); position: relative; }
.form-card { border-top: 6px solid var(--gold); }
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; letter-spacing: -0.02em; font-weight: 800; }
.form-card > p { font-size: .98rem; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; color: var(--ink); }
.field label .req { color: var(--danger); margin-left: 2px; }
.field input, .field textarea {
  font: 500 1rem/1.4 var(--font); color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; min-height: 50px; width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--navy-200); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(47,107,255,.18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field__hint { font-size: .82rem; color: var(--ink-3); }
.field__error { font-size: .85rem; color: var(--danger); font-weight: 600; min-height: 0; }
.field__error:empty { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--ink-3); margin: 16px 0 0; }
.form-privacy .icon { color: var(--success); width: 18px; height: 18px; margin-top: 1px; }
.form-status { margin-top: 18px; }
.form-status:empty { display: none; }
.notice { border-radius: var(--r-md); padding: 20px; }
.notice h4 { margin: 0 0 6px; font-size: 1.1rem; letter-spacing: -0.01em; }
.notice p { margin: 0 0 14px; font-size: .95rem; }
.notice--success { background: #E7F4ED; border: 1px solid #B9DEC9; }
.notice--success h4 { color: var(--success); }
.notice--warn { background: var(--gold-50); border: 1px solid var(--gold-100); }
.notice .btn-row .btn { flex: 1 1 200px; }
.error-summary { background: #FDECEA; border: 1px solid #F5C2BC; border-radius: var(--r-md); padding: 14px 18px; margin-bottom: 18px; color: var(--danger); font-weight: 600; }
.error-summary:empty { display: none; }
.error-summary ul { margin: 6px 0 0; padding-left: 18px; font-weight: 500; }
.error-summary a { color: var(--danger); }
@media (max-width: 980px) { .audit { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Why / commitment ---------- */
.why { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.why__card { border-radius: var(--r-xl); padding: clamp(28px, 3.5vw, 44px); }
.why__card--navy { background: var(--navy); color: #C9CEE4; }
.why__card--navy h2 { color: var(--gold); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.why__card--navy .checklist li { color: #fff; }
.why__card--gold { background: var(--gold); color: var(--navy); }
.why__card--gold h2 { color: var(--navy); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.why__card--gold p { color: var(--navy); }
.why__card--gold .btn { --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: var(--navy); }
.why__card--gold .btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: rgba(18,26,74,.4); }
.why__card--gold .btn--ghost:hover { background: rgba(255,255,255,.25); border-color: var(--navy); }
.why__contact { margin: 20px 0 24px; display: grid; gap: 6px; font-weight: 700; }
.why__contact a { color: var(--navy); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }

.commitment { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; padding: 28px 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.commitment p { margin: 0; }
.commitment h3 { margin-bottom: 6px; }
@media (max-width: 600px) { .commitment { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color var(--t-med), box-shadow var(--t-med); }
.faq details[open] { border-color: var(--navy-200); box-shadow: var(--shadow-md); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-weight: 700; font-size: 1.08rem; color: var(--ink); min-height: 64px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; flex: none; color: var(--navy); transition: transform var(--t-med) var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq summary:hover { color: var(--navy-700); }
.faq__a { padding: 0 24px 22px; }
.faq__a p:last-child { margin: 0; }
.faq-group { margin-top: 48px; }
.faq-group:first-child { margin-top: 0; }
.faq-group > h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); max-width: 860px; margin: 0 auto 18px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--navy); padding: clamp(40px, 6vw, 72px); color: #C9CEE4; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(209,169,53,.12); pointer-events: none; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .btn-row { position: relative; z-index: 1; flex-direction: column; align-items: stretch; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 90% 0%, rgba(209,169,53,.14), transparent 60%); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); max-width: 18ch; }
.page-hero .lede { margin-bottom: 28px; }
.crumbs { display: flex; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--ink-3); margin-bottom: 20px; list-style: none; padding: 0; }
.crumbs a { color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--navy-200); }

/* ---------- Split / two-col ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.sticky-col { position: sticky; top: 120px; }
@media (max-width: 900px) { .split, .split--even { grid-template-columns: 1fr; } .sticky-col { position: static; } }

.feature-list { display: grid; gap: 16px; }
.feature { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; font-size: 1rem; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.card h3 { margin: 18px 0 8px; }
.card p { margin: 0; font-size: 1rem; }
.section--navy .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.section--navy .card p { color: #C9CEE4; }
@media (max-width: 980px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards-3 { grid-template-columns: 1fr; } }

.who-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.who-list li { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.who-list .icon { color: var(--gold-600); }
@media (max-width: 600px) { .who-list { grid-template-columns: 1fr; } }

/* ---------- Legal (prose) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); margin: 2.2em 0 .6em; letter-spacing: -0.02em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold-600); }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.toc { position: sticky; top: 120px; font-size: .92rem; }
.toc h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 14px; color: var(--ink-2); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--navy); border-left-color: var(--gold); }
.contact-block { margin-top: 1em; padding: 22px 24px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.contact-block p { margin: 0 0 .4em; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .toc { position: static; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #B9BFDB; padding: clamp(56px, 8vw, 88px) 0 28px; margin-top: 0; font-size: .97rem; }
.site-footer a { color: #E4E7F4; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-tagline { color: var(--gold); font-weight: 800; letter-spacing: -0.01em; font-size: 1.05rem; }
.site-footer h2 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); color: #fff; }
.socials a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); text-decoration: none; }
.socials .icon { width: 20px; height: 20px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: #1F7A4D; color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 12px 30px -10px rgba(10, 60, 35, .55);
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-med);
}
.wa-float:hover { background: #17633E; color: #fff; }
.wa-float:active { transform: scale(.96); }
.wa-float .icon { width: 24px; height: 24px; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { width: 56px; padding: 0; justify-content: center; } }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

@media print {
  .site-header, .wa-float, .site-footer .socials, .mobile-menu { display: none !important; }
  body { background: #fff; }
}

/* Comfortable hit areas for standalone text links */
.topbar a { display: inline-flex; padding: 4px 0; min-height: 24px; }
.site-footer ul a, .crumbs a, .footer-bottom a { display: inline-block; padding: 4px 0; min-height: 24px; }

/* Pricing groups (added: Social Media Management plans) */
.pricing-group { text-align: center; font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 800; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 32px; }
.pricing-group .badge-new { vertical-align: 3px; }
.pricing-group-head { max-width: 720px; margin: clamp(56px, 7vw, 88px) auto 32px; text-align: center; padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.pricing-group-head .pricing-group { margin-bottom: 12px; }
.pricing-group-head p { margin: 0; color: var(--ink-2); }
.plan__note { flex-basis: 100%; font-size: .82rem; font-weight: 700; letter-spacing: .02em; color: var(--gold-ink); }
.plan--featured .plan__note { color: var(--gold); }
.pricing--social .plan { border-color: var(--gold-100); }
.pricing--social .plan--featured { border-color: var(--navy); }
.plan li strong { font-weight: 800; }
.plan--featured li strong { color: #fff; }
