/* ─────────────────────────────────────────────────────
   Kaliber Asia — Shared Service Page Styles
   Applies to: google-ads.html, meta-ads.html,
   landing-pages.html, geo-ai-search.html,
   aesthetics-clinics.html
───────────────────────────────────────────────────── */

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: #111;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.page-header {
  text-align: center;
  padding: 2rem 2rem 1rem;
}
.page-header h1 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.page-header p { opacity: 0.35; font-size: 0.75rem; max-width: 480px; margin: 0 auto; }

.mockup-wrapper {
  max-width: 1100px;
  margin: 1.5rem auto 4rem;
  padding: 0 1.5rem;
}

.mockup {
  background: #FFFFFF;
  color: #1C1C1A;
  border-radius: 16px;
  overflow: clip;
  position: relative;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.mockup > * { position: relative; z-index: 1; }

/* ── Tokens ─────────────────────────── */
:root {
  --gold:     #FFC85E;
  --pink:     #FF84B0;
  --blue:     #73DDFF;
  --text:     #1C1C1A;
  --muted:    #6B6860;
  --dim:      #A09D96;
  --border:   #F0EDE6;
  --surface:  #FAFAF8;
  --surface-2:#FAF8F4;
}

/* ── Scroll Progress Bar ─────────────── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #FFC85E, #FF84B0, #73DDFF);
  z-index: 9999;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ── Top Bar ─────────────────────────── */
.topbar {
  background: rgba(247,245,240,0.97);
  padding: 0.55rem 2.5rem;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.topbar span { display: flex; align-items: center; gap: 0.35rem; }
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot-gold { background: var(--gold); }
.dot-pink { background: var(--pink); }
.dot-blue { background: var(--blue); }

/* ── Nav ─────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.93);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: padding 0.28s ease, box-shadow 0.28s ease;
}
.nav.scrolled {
  padding: 0.55rem 2.5rem;
  box-shadow: 0 2px 18px rgba(28,28,26,0.07);
}
.nav-logo {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-logo em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}
.nav-links span, .nav-links a {
  cursor: pointer;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ── Nav dropdown ────────────────────── */
.nav-svc-dd { position: relative; }
.nav-svc-trigger {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}
.nav-svc-dd:hover .nav-svc-trigger { color: var(--text); }
.nav-svc-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 0.5rem 0.5rem;
  box-shadow: 0 8px 32px rgba(28,28,26,0.1);
  min-width: 210px;
  display: flex;
  flex-direction: column;
  z-index: 200;
  /* Show immediately, hide with 600ms grace period */
  transition: opacity 0.2s, visibility 0.2s;
  transition-delay: 0.6s;
}
/* Larger bridge pseudo-element covers gap + surrounding area so cursor has room to maneuver */
.nav-svc-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  height: 24px;
}
/* Expand hover target on the trigger so cursor drift doesn't break hover */
.nav-svc-dd::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -40px;
  right: -40px;
  height: 20px;
  pointer-events: auto;
}
.nav-svc-dd:hover .nav-svc-menu,
.nav-svc-menu:hover {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}
.nav-svc-menu a {
  padding: 0.5rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text) !important;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s;
  opacity: 1 !important;
}
.nav-svc-menu a:hover { background: var(--surface); }

/* ── KaliOS nav item ─────────────────── */
.nav-kalios-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-new-badge {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.15em 0.45em;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  color: #fff;
  line-height: 1.3;
  vertical-align: middle;
  position: relative;
  top: -0.5px;
}

.btn-nav {
  background: var(--text);
  color: #fff;
  padding: 0.45rem 1.1rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

/* ── Shared typography ───────────────── */
.eyebrow {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #C4C0B8;
  font-weight: 700;
  margin-bottom: 0.55rem;
}
.section-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.section-sub {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.68;
  max-width: 520px;
  margin-bottom: 1.75rem;
}

/* ── Keyword gradient highlight ──────── */
.kw {
  color: #FF84B0; /* Brave fallback */
  background: linear-gradient(135deg, #FFC85E 0%, #FF84B0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
  display: inline-block;
  padding-right: 0.22em;  /* italic overhang fix — right edge clip */
  padding-bottom: 0.22em; /* descender fix — g, y, j, p, comma getting clipped at large sizes */
  line-height: 1.15;       /* tighten so the inline-block doesn't add unwanted line gap */
}

/* ── Shared buttons ──────────────────── */
.btn-pri {
  background: linear-gradient(135deg, var(--gold), var(--pink));
  color: var(--text);
  padding: 0.78rem 1.6rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-block;
  will-change: transform;
}
.btn-sec {
  background: #F7F5F0;
  color: var(--text);
  padding: 0.78rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid #E8E5DE;
  display: inline-block;
}
/* Promoted secondary CTA — gradient border, brand-accent treatment.
   Use when a secondary button should still feel actionable, e.g. "See the creative system →" */
.btn-sec.btn-sec--accent {
  position: relative;
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #FFC85E, #FF84B0) border-box;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-sec.btn-sec--accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -10px rgba(255, 132, 176, 0.45);
}
.btn-sec.btn-sec--accent::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,200,94,0.18), rgba(255,132,176,0.18));
  filter: blur(8px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.btn-sec.btn-sec--accent:hover::after { opacity: 1; }

/* ═══════════════════════════════════════
   SERVICE HERO
═══════════════════════════════════════ */
.svc-hero {
  padding: 4rem 2.5rem 3.5rem;
  background: #fff;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.svc-hero-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.blob { position: absolute; border-radius: 50%; filter: blur(72px); }
.blob-gold { width: 320px; height: 320px; background: var(--gold); opacity: 0.18; top: -80px; right: 6%; }
.blob-pink { width: 220px; height: 220px; background: var(--pink); opacity: 0.16; top: 20px; right: 24%; }
.blob-blue { width: 260px; height: 260px; background: var(--blue); opacity: 0.14; bottom: -60px; right: -4%; }
.svc-hero-content { position: relative; z-index: 1; max-width: 720px; }
.svc-breadcrumb {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--dim);
  margin-bottom: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.svc-breadcrumb a { color: var(--dim); text-decoration: none; }
.svc-breadcrumb span { color: #C4C0B8; }
.svc-hero h1 {
  font-size: 2.55rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 1.1rem;
}
.svc-hero-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.68;
  max-width: 560px;
  margin-bottom: 2rem;
}
.svc-hero-ctas {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}
.svc-trust-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.svc-trust-item {
  font-size: 0.67rem;
  color: var(--dim);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.svc-trust-item::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   PROBLEM SECTION
═══════════════════════════════════════ */
.svc-problem {
  padding: 3.5rem 2.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.problem-callout {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  max-width: 660px;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.svc-body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.72;
  max-width: 600px;
  margin-bottom: 0.9rem;
}
.svc-list {
  list-style: none;
  margin: 0.75rem 0 1rem;
}
.svc-list li {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.32rem 0 0.32rem 1.3rem;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px solid rgba(28,28,26,0.04);
}
.svc-list li:last-child { border-bottom: none; }
.svc-list li::before { content: '→'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.problem-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 700;
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  line-height: 1.6;
  max-width: 560px;
}

/* ═══════════════════════════════════════
   SYMPTOMS SECTION
═══════════════════════════════════════ */
.svc-symptoms {
  padding: 3rem 2.5rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.symptoms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 1.5rem;
  max-width: 680px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.symptom-item {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.7rem 1rem 0.7rem 2.2rem;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
}
.symptom-item:nth-last-child(-n+2) { border-bottom: none; }
.symptom-item::before {
  content: '×';
  position: absolute;
  left: 0.85rem;
  color: #D0CAC0;
  font-weight: 700;
  font-size: 0.9rem;
}
.symptoms-closer {
  font-size: 0.82rem;
  color: var(--dim);
  font-style: italic;
  margin-top: 1.25rem;
  max-width: 520px;
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   SYSTEM / HOW WE APPROACH
═══════════════════════════════════════ */
.svc-system {
  padding: 3.5rem 2.5rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.system-intro {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2rem;
}
.system-layers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.layer-card {
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 1.5rem;
  background: var(--surface);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}
.layer-card:hover { box-shadow: 0 8px 24px rgba(28,28,26,0.08); }
.layer-num {
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.layer-num span {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
}
.layer-card.gold .layer-num  { color: #B8860B; }
.layer-card.pink .layer-num  { color: #C4547E; }
.layer-card.blue .layer-num  { color: #0E7FA8; }
.layer-card.teal .layer-num  { color: #2A9D8F; }
.layer-card.gold { border-color: rgba(255,200,94,0.25); }
.layer-card.pink { border-color: rgba(255,132,176,0.22); }
.layer-card.blue { border-color: rgba(115,221,255,0.25); }
.layer-card.teal { border-color: rgba(42,157,143,0.2); }
.layer-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.45rem;
  line-height: 1.3;
}
.layer-intro {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0.9rem;
}
.layer-items {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.15rem;
}
.layer-items li {
  font-size: 0.76rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.layer-items li::before { content: '→'; position: absolute; left: 0; font-weight: 700; font-size: 0.75rem; }
.layer-card.gold .layer-items li::before { color: var(--gold); }
.layer-card.pink .layer-items li::before { color: var(--pink); }
.layer-card.blue .layer-items li::before { color: var(--blue); }
.layer-card.teal .layer-items li::before { color: #2A9D8F; }
.layer-note {
  font-size: 0.76rem;
  color: var(--dim);
  font-style: italic;
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   FIXES SECTION
═══════════════════════════════════════ */
.svc-fixes {
  padding: 3rem 2.5rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.fixes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.fix-card {
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  transition: box-shadow 0.22s ease;
  cursor: pointer;
}
.fix-card:hover { box-shadow: 0 6px 18px rgba(28,28,26,0.07); }
.fix-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.fix-desc {
  font-size: 0.77rem;
  color: var(--muted);
  line-height: 1.58;
}

/* ═══════════════════════════════════════
   WHY SECTION
═══════════════════════════════════════ */
.svc-why {
  padding: 3rem 2.5rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.why-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 680px;
  margin-top: 1.5rem;
}
.why-col h4 {
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.9rem;
}
.why-col.tired h4 { color: #C4C0B8; }
.why-col.want  h4 { color: var(--text); }
.why-col ul { list-style: none; }
.why-col li {
  font-size: 0.83rem;
  color: var(--muted);
  padding: 0.38rem 0 0.38rem 1.3rem;
  border-bottom: 1px solid rgba(28,28,26,0.05);
  position: relative;
  line-height: 1.5;
}
.why-col li:last-child { border-bottom: none; }
.why-col.tired li::before { content: '—'; position: absolute; left: 0; color: #D0CAC0; }
.why-col.want  li::before { content: '→'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ═══════════════════════════════════════
   PROOF DARK SECTION
═══════════════════════════════════════ */
.svc-proof {
  padding: 3.5rem 2.5rem;
  background: #1C1C1A;
  position: relative;
  overflow: hidden;
}
.proof-blobs { position: absolute; inset: 0; pointer-events: none; }
.proof-blob { position: absolute; border-radius: 50%; filter: blur(72px); }
.proof-blob-g { width: 280px; height: 280px; background: var(--gold); opacity: 0.12; top: -60px; left: 10%; }
.proof-blob-p { width: 220px; height: 220px; background: var(--pink); opacity: 0.1; bottom: -40px; right: 8%; }
.proof-inner { position: relative; z-index: 1; }
.proof-eyebrow {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.28);
  font-weight: 700;
  margin-bottom: 0.65rem;
}
.proof-headline {
  font-size: 1.55rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FFC85E 20%, #FF84B0 60%, #73DDFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.75rem;
  max-width: 560px;
}
.proof-metrics {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pm-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.pm-label {
  font-size: 0.66rem;
  color: rgba(255,255,255,0.38);
  margin-top: 0.15rem;
  font-weight: 500;
}
.proof-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.proof-note {
  font-size: 0.67rem;
  font-weight: 600;
  color: rgba(255,255,255,0.32);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ═══════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════ */
.svc-cta {
  padding: 4.5rem 2.5rem;
  background: #141412;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.cta-blobs { position: absolute; inset: 0; pointer-events: none; }
.cta-blob { position: absolute; border-radius: 50%; filter: blur(80px); }
.cta-blob-g { width: 300px; height: 300px; background: var(--gold); opacity: 0.1; top: -60px; left: 15%; }
.cta-blob-p { width: 240px; height: 240px; background: var(--pink); opacity: 0.1; top: 0; right: 10%; }
.cta-inner { position: relative; z-index: 1; }
.cta-eyebrow-txt {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.3);
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.svc-cta-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.022em;
  margin-bottom: 1.5rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.svc-cta-title em {
  font-style: normal;
  background: linear-gradient(135deg, #FFC85E, #FF84B0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}
.cta-trust-item { font-size: 0.67rem; font-weight: 600; color: rgba(255,255,255,0.28); }
.cta-trust-sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.14); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: #0E0E0C;
  padding: 4rem 3.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
}
.footer-logo {
  font-size: 1rem;
  font-weight: 800;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}
.footer-logo em {
  font-style: normal;
  background: linear-gradient(135deg, #FFC85E, #FF84B0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-tagline {
  font-size: 0.77rem;
  color: rgba(255,255,255,0.32);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 1.4rem;
}
.footer-certs { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-certs span {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.03em;
}
.footer-col { display: flex; flex-direction: column; gap: 0; }
.footer-col-title {
  font-size: 0.57rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.22);
  margin-bottom: 1rem;
}
.footer-col a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.42);
  text-decoration: none;
  padding: 0.28rem 0;
  transition: color 0.2s;
  font-weight: 500;
}
.footer-col a:hover { color: rgba(255,255,255,0.88); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-copy { font-size: 0.65rem; color: rgba(255,255,255,0.18); font-weight: 500; }
.footer-legal {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.18);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal:hover { color: rgba(255,255,255,0.5); }
.footer-links { display: none; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links span,
.footer-links a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* ── Animation helpers ───────────────── */
.layer-card, .fix-card {
  will-change: transform;
}
.btn-pri, .btn-nav { will-change: transform; cursor: pointer; }

/* ──────────────────────────────────────
   FAQ ACCORDION — shared across pages
   Native <details>/<summary> for accessibility,
   no JS required, fully keyboard-navigable.
   Backed by FAQPage JSON-LD schema for AI/SEO
   extraction (ChatGPT, Perplexity, Google AI).
────────────────────────────────────── */
.faq-list { margin-top: 1.5rem; max-width: 820px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  background: transparent;
  transition: background 0.2s ease;
}
.faq-item[open] { background: var(--surface); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 0.5rem 1.15rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.005em;
  line-height: 1.45;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  margin-top: 2px;
}
.faq-item[open] summary::after {
  content: '+';
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold), var(--pink));
  color: var(--text);
}
.faq-item[open] summary { color: var(--text); }
.faq-item summary:hover { color: var(--pink); }
.faq-item[open] summary:hover { color: var(--text); }
.faq-answer {
  padding: 0 0.5rem 1.4rem 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 720px;
  animation: faq-fade 0.3s ease;
}
.faq-answer p { margin-bottom: 0.75rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--text); border-bottom: 1px solid var(--pink); text-decoration: none; }
.faq-answer a:hover { color: var(--pink); }
@keyframes faq-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ──────────────────────────────────────
   FLOATING WHATSAPP BUTTON
────────────────────────────────────── */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #25D366;
  color: #fff;
  padding: 0.85rem 1.1rem 0.85rem 0.9rem;
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 4px 12px rgba(0,0,0,0.1);
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}
.wa-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45), 0 6px 14px rgba(0,0,0,0.12);
  color: #fff;
}
.wa-fab svg { width: 22px; height: 22px; flex-shrink: 0; fill: #fff; }
.wa-fab-label { white-space: nowrap; }

@media (max-width: 480px) {
  .wa-fab { bottom: 16px; right: 16px; padding: 0.85rem; }
  .wa-fab svg { width: 20px; height: 20px; }
  .wa-fab-label { display: none; }
}

/* ──────────────────────────────────────
   HUMAN / MACHINE TOGGLE (GEO signal)
   Sits in footer brand area. Toggling
   to MACHINE strips decorative chrome
   and exposes structured semantic content
   for AI crawlers and screen-reader-first
   consumption.
────────────────────────────────────── */

/* Smooth mode transitions — applied to body + all surface-level containers
   so HUMAN <-> MACHINE fades instead of snapping. */
body,
.mockup, .mockup-wrapper,
.nav, .topbar,
.footer,
.svc-hero, .svc-problem, .svc-symptoms, .svc-system, .svc-fixes, .svc-why, .svc-proof, .svc-cta,
.cs-hero, .cs-metrics, .cs-section, .cs-quote-section, .cs-related,
.hww-4e, .hww-models, .hww-timeline, .hww-principles,
.pricing-intro, .pricing-tiers, .how-40, .faq-section,
.ins-intro, .ins-coming, .ins-topics, .ins-external,
.contact-wrap, .contact-extra,
.layer-card, .fix-card, .tier-card, .sys-card, .why-card, .proof-card,
.pathway-card, .team-card, .t-card, .fit-col,
.cs-result-card, .cs-related-card, .cs-layer, .cs-callout,
.hww-4e-card, .hww-pr-card, .how-40-card, .faq-item,
.ins-topic-card, .extra-card, .ins-coming-card,
.tier-card, .ty-next, .contact-promise,
.pp-contact, .team-extended {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.3s ease;
}
/* Media (photos, logos) fade rather than snap */
.hero-photo, .hero-team-strip, .photo-strip, .logos-row,
.fit-photo, .team-photo, .t-author-photo, .proof-card-img,
.cs-hero-img, .why-photos,
.platform-icon, .why-icon, .ins-topic-icon, .extra-icon {
  transition: opacity 0.3s ease;
}

.hm-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 3px;
  margin-top: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  position: relative;
  user-select: none;
}
.hm-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease, background 0.25s ease;
  position: relative;
  z-index: 1;
}
.hm-btn.active {
  color: var(--text);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.hm-btn:not(.active):hover { color: rgba(255,255,255,0.75); }
.hm-meta {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.32);
  margin-top: 0.55rem;
  font-weight: 500;
  line-height: 1.5;
  max-width: 260px;
}

/* ─── MACHINE MODE: applied to <body> ─── */
body.machine-mode {
  background: #0E0E0C;
  color: #E5E3DD;
  font-family: 'JetBrains Mono', 'Fira Code', 'Menlo', 'Consolas', monospace;
  -webkit-font-smoothing: antialiased;
}
body.machine-mode .mockup,
body.machine-mode .mockup-wrapper {
  background: #0E0E0C !important;
  color: #E5E3DD !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  max-width: 920px !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
}
body.machine-mode .page-header { display: none; }
body.machine-mode .topbar,
body.machine-mode .nav,
body.machine-mode .mobile-menu,
body.machine-mode .blob,
body.machine-mode .cta-blobs,
body.machine-mode .hero-blobs,
body.machine-mode .svc-hero-blobs,
body.machine-mode .cs-hero-blobs,
body.machine-mode .proof-blobs,
body.machine-mode .cs-quote-blobs,
body.machine-mode .geo-hero-blobs,
body.machine-mode #progress-bar,
body.machine-mode .hamburger,
body.machine-mode .platform-icon,
body.machine-mode .why-icon,
body.machine-mode .ins-topic-icon,
body.machine-mode .extra-icon,
body.machine-mode .sys-card svg,
body.machine-mode .why-card svg,
body.machine-mode .platform-icon svg,
body.machine-mode .pathway-link svg { display: none !important; }
body.machine-mode .nav { display: flex; background: #0E0E0C; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 0.8rem 1.5rem; }
body.machine-mode .nav-logo-img { filter: invert(1) brightness(1.5); height: 22px; }
body.machine-mode .nav-links a,
body.machine-mode .nav-svc-trigger { color: rgba(255,255,255,0.65); font-family: inherit; font-size: 0.78rem; }
body.machine-mode .nav-svc-menu { background: #1A1A18; border-color: rgba(255,255,255,0.1); }
body.machine-mode .nav-svc-menu a { color: #E5E3DD !important; }
body.machine-mode .btn-nav { background: #fff; color: #0E0E0C; font-family: inherit; }
body.machine-mode h1, body.machine-mode h2, body.machine-mode h3, body.machine-mode h4 {
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -0.01em;
}
body.machine-mode .kw {
  color: #FFC85E !important;
  background: none !important;
  -webkit-text-fill-color: #FFC85E !important;
  font-style: normal !important;
}
body.machine-mode p,
body.machine-mode li,
body.machine-mode .svc-body,
body.machine-mode .cs-body,
body.machine-mode .section-sub {
  color: rgba(229,227,221,0.78) !important;
  font-family: inherit;
  line-height: 1.7 !important;
}
body.machine-mode .eyebrow,
body.machine-mode .cs-eyebrow,
body.machine-mode .cta-eyebrow,
body.machine-mode .cta-eyebrow-txt {
  color: #FF84B0 !important;
  background: none !important;
  -webkit-text-fill-color: #FF84B0 !important;
  font-family: inherit;
}
body.machine-mode .layer-card,
body.machine-mode .fix-card,
body.machine-mode .tier-card,
body.machine-mode .sys-card,
body.machine-mode .why-card,
body.machine-mode .proof-card,
body.machine-mode .pathway-card,
body.machine-mode .team-card,
body.machine-mode .t-card,
body.machine-mode .fit-col,
body.machine-mode .cs-result-card,
body.machine-mode .cs-related-card,
body.machine-mode .cs-layer,
body.machine-mode .cs-callout,
body.machine-mode .symptom-item,
body.machine-mode .ins-topic-card,
body.machine-mode .extra-card,
body.machine-mode .pp-contact,
body.machine-mode .hww-4e-card,
body.machine-mode .how-40-card,
body.machine-mode .faq-item,
body.machine-mode .ty-next,
body.machine-mode .contact-promise,
body.machine-mode .ins-coming-card {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  color: rgba(229,227,221,0.85) !important;
  transform: none !important;
}
body.machine-mode .footer { background: #0E0E0C; border-top: 1px solid rgba(255,255,255,0.1); }
body.machine-mode .footer-logo-img { filter: invert(1) brightness(1.5); height: 20px; }
body.machine-mode .pm-num,
body.machine-mode .cs-num,
body.machine-mode .cs-result-num,
body.machine-mode .cs-related-metric,
body.machine-mode .cs-layer-num,
body.machine-mode .cs-quote-mark {
  background: none !important;
  -webkit-text-fill-color: #FFC85E !important;
  color: #FFC85E !important;
  font-family: inherit;
  font-weight: 700;
}
body.machine-mode .btn-pri,
body.machine-mode .btn-sec,
body.machine-mode .btn-cta-pri {
  background: #fff !important;
  color: #0E0E0C !important;
  font-family: inherit !important;
  border-radius: 4px !important;
}
body.machine-mode .svc-cta,
body.machine-mode .ty-wrap,
body.machine-mode .cs-quote-section { background: #0E0E0C !important; }
body.machine-mode .ins-external-card,
body.machine-mode .contact-right { background: rgba(255,255,255,0.04) !important; }
/* MACHINE MODE machine notice — visible only in machine mode */
.machine-notice {
  display: none;
  background: rgba(255,200,94,0.08);
  border: 1px solid rgba(255,200,94,0.2);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-family: 'JetBrains Mono','Fira Code',monospace;
  font-size: 0.7rem;
  color: rgba(255,200,94,0.85);
  margin: 0.5rem 0 1.5rem;
  letter-spacing: 0.02em;
}
body.machine-mode .machine-notice { display: block; }

/* In machine mode, hide imagery (logos, hero photos) so the page is text-first */
body.machine-mode .hero-photo,
body.machine-mode .hero-team-strip,
body.machine-mode .photo-strip,
body.machine-mode .why-photos,
body.machine-mode .fit-photo,
body.machine-mode .cs-hero-img,
body.machine-mode .proof-card-img,
body.machine-mode .team-photo,
body.machine-mode .t-author-photo,
body.machine-mode .logos-row { display: none !important; }

body.machine-mode .team-card,
body.machine-mode .t-card { flex-direction: column !important; gap: 0.4rem !important; }

/* ── SVG Logo in Nav + Footer ────────── */
.nav-logo-img { height: 28px; display: block; }
.nav.scrolled .nav-logo-img { height: 24px; }
.footer-logo-img { height: 26px; display: block; margin-bottom: 0.3rem; }

/* ── Hamburger Button ────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 60;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Menu Overlay ─────────────── */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  padding: 1.5rem 2rem 2rem;
  border-bottom: 1px solid var(--border);
  gap: 0;
}
.mobile-menu.show { display: flex; }
.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu-sep {
  height: 0;
  margin: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-cta {
  margin-top: 0.75rem;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  color: var(--text) !important;
  text-align: center;
  padding: 0.85rem 1.5rem !important;
  border-radius: 10px;
  font-weight: 700 !important;
  border-bottom: none !important;
}

/* ── Anchor reset for btn-pri / btn-sec ── */
a.btn-pri, a.btn-sec, a.btn-nav {
  text-decoration: none;
  display: inline-block;
}

/* ══════════════════════════════════════
   RESPONSIVE — Tablet (≤ 768px)
══════════════════════════════════════ */
@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  .hamburger { display: flex; }
  .nav-links { display: none !important; }
  .btn-nav { display: none; }
  .nav { padding: 0.75rem 1.5rem; }
  .nav.scrolled { padding: 0.55rem 1.5rem; }

  /* Topbar: single line scroll */
  .topbar {
    padding: 0.45rem 1rem;
    font-size: 0.58rem;
    gap: 0.75rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .topbar::-webkit-scrollbar { display: none; }

  /* Hero section */
  .svc-hero { padding: 3rem 1.5rem; }
  .svc-hero h1 { font-size: 1.8rem; }
  .svc-hero-sub { font-size: 0.9rem; }
  .svc-hero-ctas { flex-wrap: wrap; }
  .svc-trust-row { flex-wrap: wrap; gap: 0.5rem; }

  /* Problem / Symptoms / System / Fixes / Why sections */
  .svc-problem,
  .svc-symptoms,
  .svc-system,
  .svc-fixes,
  .svc-why { padding: 3rem 1.5rem; }

  .problem-callout { font-size: 1.4rem; }
  .section-title { font-size: 1.4rem; }

  /* Grids → single column */
  .symptoms-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .system-layers { grid-template-columns: 1fr; }
  .fixes-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Why columns → stack */
  .why-cols { flex-direction: column; gap: 2rem; }

  /* Proof section */
  .svc-proof { padding: 3rem 1.5rem; }
  .proof-headline { font-size: 1.4rem; }
  .proof-metrics { flex-direction: column; gap: 1.5rem; text-align: center; }
  .proof-notes { flex-wrap: wrap; justify-content: center; }

  /* CTA section */
  .svc-cta { padding: 4rem 1.5rem; }
  .svc-cta-title { font-size: 1.5rem; }
  .cta-trust { flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
  .cta-trust-sep { display: none; }

  /* Footer → stack */
  .footer { padding: 2.5rem 1.5rem 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .footer-certs { flex-direction: row; flex-wrap: wrap; gap: 0.5rem 1rem; }

  /* Buttons: larger touch targets */
  .btn-pri { padding: 0.88rem 1.8rem; font-size: 0.92rem; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
  .btn-sec { padding: 0.88rem 1.8rem; font-size: 0.92rem; min-height: 48px; display: inline-flex; align-items: center; }
}

/* ══════════════════════════════════════
   RESPONSIVE — Mobile (≤ 480px)
══════════════════════════════════════ */
@media (max-width: 480px) {
  /* Topbar: hide entirely */
  .topbar { display: none; }

  /* Nav tighter */
  .nav { padding: 0.65rem 1rem; }
  .nav-logo-img { height: 24px; }

  /* Hero */
  .svc-hero { padding: 2.5rem 1rem; }
  .svc-hero h1 { font-size: 1.45rem; }
  .svc-hero-sub { font-size: 0.85rem; }
  .svc-hero-ctas { flex-direction: column; }
  .svc-hero-ctas .btn-pri,
  .svc-hero-ctas .btn-sec {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .svc-breadcrumb { font-size: 0.58rem; }
  .svc-trust-row { flex-direction: column; align-items: flex-start; gap: 0.35rem; }

  /* Sections */
  .svc-problem,
  .svc-symptoms,
  .svc-system,
  .svc-fixes,
  .svc-why { padding: 2.5rem 1rem; }

  .problem-callout { font-size: 1.2rem; }
  .section-title { font-size: 1.2rem; }
  .svc-body { font-size: 0.85rem; }

  /* Layer cards */
  .layer-card { padding: 1.5rem; }
  .layer-title { font-size: 1.1rem; }

  /* Fix cards */
  .fix-card { padding: 1.25rem; }

  /* Proof */
  .svc-proof { padding: 2.5rem 1rem; }
  .proof-headline { font-size: 1.2rem; }
  .pm-num { font-size: 2rem; }

  /* CTA */
  .svc-cta { padding: 3rem 1rem; }
  .svc-cta-title { font-size: 1.3rem; }
  .btn-pri { width: 100%; text-align: center; justify-content: center; }

  /* Footer */
  .footer { padding: 2rem 1rem 0; }
  .footer-tagline { font-size: 0.72rem; }
  .footer-certs span { font-size: 0.62rem; }
  .footer-bottom { padding: 1rem 0; }
}
