/* ============================================================
   ReviewLift — Clean Production CSS
   NO overflow:hidden on html/body — safe for iOS Safari
   All show/hide via visibility+opacity (never HTML hidden attr)
============================================================ */

:root {
  --navy:        #0E1B2E;
  --navy2:       #162338;
  --gold:        #D4A843;
  --gold2:       #E8C36A;
  --green:       #2BB575;
  --green-lt:    rgba(43,181,117,.12);
  --bg:          #F5F7FA;
  --bg2:         #EEF2F7;
  --white:       #FFFFFF;
  --fg:          #0E1B2E;
  --muted:       rgba(14,27,46,.62);
  --muted2:      rgba(14,27,46,.42);
  --line:        rgba(14,27,46,.09);
  --line2:       rgba(14,27,46,.14);
  --shadow-sm:   0 2px 8px rgba(14,27,46,.07);
  --shadow:      0 8px 32px rgba(14,27,46,.10);
  --shadow-lg:   0 20px 60px rgba(14,27,46,.14);
  --shadow-gold: 0 8px 32px rgba(212,168,67,.22);
  --r:           12px;
  --r2:          18px;
  --r3:          24px;
  --container:   1120px;
  --headerH:     60px;
}
@media (min-width: 900px) { :root { --headerH: 76px; } }

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
/* NO overflow on html or body — breaks iOS touch */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }
.muted  { color: var(--muted); }
.muted2 { color: var(--muted2); }
button, a { -webkit-tap-highlight-color: transparent; }

/* background gradient */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: -1;
  background:
    radial-gradient(ellipse 900px 600px at 0% 0%, rgba(212,168,67,.06), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 80%, rgba(43,181,117,.05), transparent 60%);
}

.skip-link {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  left: 12px; top: 12px; width: auto; height: auto;
  padding: 10px 14px; background: var(--white);
  border: 1px solid var(--line2); border-radius: var(--r); z-index: 9999;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.section { padding: 72px 0; scroll-margin-top: calc(var(--headerH) + 8px); }
@media (min-width: 900px) { .section { padding: 96px 0; } }

.section-head { margin-bottom: 48px; max-width: 680px; }
.section-head.tight { margin-bottom: 24px; }
.section-head .eyebrow-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.section-head .eyebrow-label::before {
  content: ""; display: block; width: 24px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.section-head h2 {
  margin: 0 0 12px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; color: var(--navy);
}
.section-head h2 em { font-style: italic; color: var(--gold); }
.section-head p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--headerH);
  background: rgba(245,247,250,.95);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--headerH);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; padding: 4px 0; }
.brand img {
  display: block;
  height: 60px;
  width: auto;
  max-width: min(90vw, 420px);
  object-fit: contain;
}

@media (min-width: 900px) {
  .brand img {
    height: 110px;
    max-width: 640px;
  }
}

.nav-desktop { display: none; align-items: center; gap: 4px; }
.nav-link {
  color: var(--muted); font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--navy); background: var(--bg2); }

.nav-toggle {
  height: 44px; width: 44px; border-radius: 10px;
  border: 1px solid var(--line2); background: var(--white);
  box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg); cursor: pointer;
  /* Larger tap target for mobile */
  padding: 0; -webkit-appearance: none;
}
.nav-toggle-lines { display: grid; gap: 5px; pointer-events: none; }
.nav-toggle-lines span {
  display: block; width: 18px; height: 2px;
  border-radius: 2px; background: var(--navy);
  transition: transform .2s ease;
}
.site-header[data-menu-open="true"] .nav-toggle-lines span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}
.site-header[data-menu-open="true"] .nav-toggle-lines span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Mobile drawer — fixed on mobile so no hidden layer blocks taps */
.mobile-drawer {
  position: fixed; left: 0; right: 0; top: var(--headerH); z-index: 150;
  background: rgba(245,247,250,.98);
  border-bottom: 1px solid var(--line);
  max-height: calc(100vh - var(--headerH)); overflow-y: auto;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.mobile-drawer.is-open {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear 0s;
}
.nav-mobile {
  display: flex; flex-direction: column;
  padding: 12px 20px 16px; gap: 8px;
}
.nav-mobile a {
  display: block; padding: 13px 16px;
  border-radius: var(--r); border: 1px solid var(--line);
  background: var(--white); font-size: 15px; font-weight: 500;
  color: var(--navy); text-decoration: none;
  /* Explicit touch target */
  -webkit-tap-highlight-color: rgba(0,0,0,.05);
}
.nav-mobile a:active { background: var(--bg2); }

@media (min-width: 900px) {
  .nav-toggle  { display: none; }
  .mobile-drawer { display: none !important; }
  .nav-desktop { display: flex; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 22px;
  border-radius: var(--r); border: 1.5px solid transparent;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 600; font-size: 14px; cursor: pointer;
  user-select: none; white-space: nowrap; text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
  -webkit-appearance: none;
}
.btn-primary {
  background: var(--navy); color: var(--white); border-color: var(--navy);
  box-shadow: 0 4px 16px rgba(14,27,46,.22);
}
.btn-primary:hover { background: var(--navy2); transform: translateY(-1px); }
.btn-gold {
  background: var(--gold); color: var(--navy); border-color: var(--gold);
  box-shadow: var(--shadow-gold); font-weight: 700;
}
.btn-gold:hover { background: var(--gold2); transform: translateY(-1px); }
.btn-secondary {
  background: var(--white); border-color: var(--line2); color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: rgba(14,27,46,.22); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--line2); color: var(--navy); }
.btn-ghost:hover { background: var(--bg2); transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; }

/* ── HERO ── */
.hero { padding: 80px 0 56px; scroll-margin-top: calc(var(--headerH) + 8px); }
@media (min-width: 900px) { .hero { padding: 104px 0 72px; } }

.hero-grid { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .9fr; gap: 56px; align-items: center; }
}

.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(212,168,67,.30); background: rgba(212,168,67,.10);
  font-weight: 700; font-size: 11px; letter-spacing: .07em;
  text-transform: uppercase; color: #9A6E10;
}
.pill::before {
  content: ""; display: block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 3px rgba(212,168,67,.22);
}
.eyebrow-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted2); }
.eyebrow-text { font-size: 13px; color: var(--muted); }

.hero h1 {
  margin: 0 0 18px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  line-height: 1.06; letter-spacing: -0.03em;
  font-weight: 400; color: var(--navy); max-width: 16ch;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-subtext { margin: 0 0 28px; color: var(--muted); line-height: 1.7; font-size: 16px; max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

.trust-row { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.trust-icon {
  width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
  background: var(--green-lt); border-radius: 6px; border: 1px solid rgba(43,181,117,.20);
  color: var(--green); flex: 0 0 auto;
}
.trust-icon svg { width: 12px; height: 12px; }
.compliance-line { margin: 16px 0 0; color: var(--muted2); font-size: 12.5px; }

/* Hero panel */
.hero-panel { position: relative; }
.panel-card {
  border-radius: var(--r3); border: 1px solid var(--line);
  background: var(--white); box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.panel-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold2)); pointer-events: none;
}
.panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 16px; border-bottom: 1px solid var(--line);
}
.panel-title { display: flex; align-items: center; gap: 10px; }
.panel-title h3 {
  margin: 0; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.spark { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(212,168,67,.18); }
.panel-badge {
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid rgba(43,181,117,.25); background: rgba(43,181,117,.10); color: #1A7A4A;
}
.panel-metrics { padding: 20px 20px 12px; display: grid; gap: 14px; }
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.metric-label { font-size: 13px; font-weight: 500; color: var(--muted); }
.metric-chip {
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg); color: var(--muted);
}
.metric-chip-alt { border-color: rgba(212,168,67,.25); background: rgba(212,168,67,.10); color: #8A6416; }
.metric-chip-ok  { border-color: rgba(43,181,117,.25); background: rgba(43,181,117,.10); color: #1A7A4A; }
.metric-bar { height: 7px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); overflow: hidden; }
.metric-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--navy2), var(--gold)); }
.panel-note { padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.panel-note p { margin: 0 0 14px; color: var(--muted); line-height: 1.55; font-size: 14px; }
.panel-foot { display: grid; gap: 8px; margin-top: 14px; }
.mini {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  border-radius: var(--r); border: 1px solid var(--line);
  background: var(--white); color: var(--muted); font-size: 13.5px; box-shadow: var(--shadow-sm);
}
.mini-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(212,168,67,.18); flex: 0 0 auto; }
.mini-dot-alt { background: var(--green); box-shadow: 0 0 0 4px rgba(43,181,117,.16); }

/* Stats */
.stat-strip {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r2);
  overflow: hidden; margin-top: 32px;
}
.stat-item { background: var(--white); padding: 20px 16px; text-align: center; }
.stat-num {
  display: block; font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.9rem; font-weight: 400; color: var(--navy); line-height: 1; margin-bottom: 5px;
}
.stat-num em { font-style: italic; color: var(--gold); }
.stat-label { font-size: 12px; color: var(--muted); font-weight: 500; }

/* ── PACKAGES ── */
.cards-3 { display: grid; gap: 16px; }
@media (min-width: 900px) { .cards-3 { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; } }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r2); padding: 24px; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-top { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.card-top h3 {
  margin: 0 0 4px; font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.3rem; font-weight: 400; color: var(--navy);
}
.card-top p { margin: 0; color: var(--muted); font-size: 13.5px; }
.card-subline { margin: 0 0 12px; font-size: 13px; color: var(--muted2); }
.card-flag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
  border-radius: 999px; border: 1px solid rgba(212,168,67,.30);
  background: rgba(212,168,67,.10); color: #9A6E10;
  font-weight: 700; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 10px;
}
.card-flag::before { content:""; display:block; width:5px; height:5px; border-radius:50%; background:var(--gold); }
.card-featured {
  border-color: var(--navy); border-width: 1.5px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.card-featured::before {
  content:""; position:absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg,var(--gold),var(--gold2)); pointer-events:none;
}
.card-featured:hover { box-shadow: var(--shadow-lg); }

.checklist { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 9px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.checklist li::before {
  content: ""; display: block; flex: 0 0 auto; margin-top: 3px; width: 16px; height: 16px;
  border-radius: 5px; background: var(--green-lt); border: 1px solid rgba(43,181,117,.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8l2.8 2.8L12 5.2' stroke='%232BB575' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
}

.note-row { margin-top: 24px; }
.note {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px;
  border-radius: var(--r2); border: 1px solid rgba(212,168,67,.22); background: rgba(212,168,67,.06);
}
.note-icon {
  width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line2); background: var(--white); color: var(--navy); flex: 0 0 auto; box-shadow: var(--shadow-sm);
}
.note-icon svg { width: 18px; height: 18px; }
.note p { margin: 0 0 6px; font-size: 14.5px; }
.note p:last-child { margin: 0; }

/* ── HOW IT WORKS ── */
.steps { display: grid; gap: 14px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; } }
.step {
  display: flex; gap: 16px; padding: 22px 20px; border-radius: var(--r2);
  border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.step:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.step-num {
  width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--gold); font-weight: 800; font-size: 14px; flex: 0 0 auto;
}
.step-body h3 { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--navy); }
.step-body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.industry-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.industry-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font-size: 13px; font-weight: 500; color: var(--muted); box-shadow: var(--shadow-sm);
}
.industry-pill::before { content:""; display:block; width:5px; height:5px; border-radius:50%; background:var(--gold); }
.industry-pill:last-child {
  border-color: rgba(212,168,67,.30); background: rgba(212,168,67,.08); color: #9A6E10; font-weight: 600;
}

/* ── DELIVERABLES ── */
.two-col { display: grid; gap: 16px; }
@media (min-width: 900px) { .two-col { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; } }
.col.card { display: flex; flex-direction: column; }
.col.card h3 { font-family:'DM Serif Display',Georgia,serif; font-size:1.15rem; font-weight:400; margin:0 0 14px; color:var(--navy); }
.bullets { margin: 0 0 auto; padding: 0; list-style: none; display: grid; gap: 9px; }
.bullets li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; padding-left: 18px; position: relative; }
.bullets li::before { content:"—"; position:absolute; left:0; color:var(--gold); font-weight:700; font-size:13px; top:1px; }
.callout { margin-top: 20px; padding: 16px 18px; border-radius: var(--r2); border: 1px solid rgba(43,181,117,.20); background: rgba(43,181,117,.07); }
.callout-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.callout-top p { margin: 0; font-weight: 600; font-size: 14.5px; }
.callout-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(43,181,117,.18); flex: 0 0 auto; }
.callout .muted { font-size: 13.5px; margin: 0 0 14px; display: block; }
.mini-proof { margin-top: auto; padding-top: 18px; display: grid; gap: 9px; border-top: 1px solid var(--line); }
.mini-proof-row { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted2); flex: 0 0 auto; }
.dot-a { background: var(--navy); box-shadow: 0 0 0 4px rgba(14,27,46,.12); }
.dot-b { background: var(--green); box-shadow: 0 0 0 4px rgba(43,181,117,.16); }
.dot-c { background: var(--gold);  box-shadow: 0 0 0 4px rgba(212,168,67,.18); }

/* ── FAQ ── */
.faq { padding: 8px; }
.faq details { border-radius: var(--r); border: 1px solid transparent; background: transparent; padding: 4px 8px; }
.faq details + details { border-top: 1px solid var(--line); border-radius: 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 40px 16px 14px;
  font-weight: 600; font-size: 15px; color: var(--navy); position: relative; user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 14px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-60%) rotate(45deg); transition: transform .15s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.details-body { padding: 0 14px 18px; color: var(--muted); line-height: 1.7; font-size: 14.5px; }
.details-body p { margin: 0; }

/* ── CONTACT ── */
.contact { padding-top: 80px; }
.contact-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; } }
.benefits { margin: 16px 0 20px; padding: 0; list-style: none; display: grid; gap: 10px; }
.benefits li { padding: 13px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: 14.5px; box-shadow: var(--shadow-sm); }
.compliance-box { padding: 16px 18px; border-radius: var(--r2); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.compliance-line { font-size: 13px; color: var(--muted2); margin: 14px 0 0; }

.form-card { padding: 26px; }
.form-head { margin-bottom: 20px; }
.form-head h3 { margin: 0 0 6px; font-family: 'DM Serif Display',Georgia,serif; font-size: 1.3rem; font-weight: 400; color: var(--navy); }
.form-head p { margin: 0; color: var(--muted); font-size: 14px; }

.flash { border-radius: var(--r); padding: 13px 16px; margin: 0 0 16px; border: 1px solid var(--line); background: var(--bg); color: var(--navy); font-size: 14px; }
.flash-success { border-color: rgba(43,181,117,.25); background: rgba(43,181,117,.08); color: #1A7A4A; }
.flash-error   { border-color: rgba(200,50,50,.20);   background: rgba(200,50,50,.06);  color: #8B1A1A; }

.contact-form { display: grid; gap: 14px; }
.field-row { display: grid; gap: 14px; }
@media (min-width: 540px) { .field-row { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin: 0 0 7px; }

/* Form inputs — NO font-size below 16px to prevent iOS zoom */
input, textarea, select {
  width: 100%; border-radius: var(--r); border: 1.5px solid var(--line2);
  background: var(--white); color: var(--navy); padding: 13px 14px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px; /* 16px prevents iOS auto-zoom on focus */
  outline: none; -webkit-appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 110px; }
input::placeholder, textarea::placeholder { color: var(--muted2); }
input:focus, textarea:focus, select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(14,27,46,.08);
}
[aria-invalid="true"] { border-color: rgba(200,50,50,.45); box-shadow: 0 0 0 3px rgba(200,50,50,.08); }
.field-error { margin-top: 7px; font-size: 12.5px; color: #8B1A1A; }
.form-foot { margin: 4px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--muted2); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; transition:none; } }

/* ── FOOTER ── */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 32px; background: var(--white); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-left img { height: 32px; width: auto; opacity: .85; }
.footer-right { display: flex; align-items: center; gap: 4px; }

/* ── LEGAL ── */
.legal-card p { margin: 0 0 14px; line-height: 1.75; color: var(--muted); font-size: 14.5px; }
.legal-card p:last-child { margin: 0; }

/* ── BACK TO TOP ── */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 200;
  height: 44px; width: 44px; border-radius: var(--r);
  border: 1px solid var(--line2); background: var(--white);
  box-shadow: var(--shadow); color: var(--navy);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, visibility 0s linear .2s, background .15s, transform .15s;
}
.to-top.is-visible { opacity: 1; visibility: visible; pointer-events: all; transition: opacity .2s, visibility 0s linear 0s, background .15s, transform .15s; }
.to-top:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.to-top svg { width: 18px; height: 18px; }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  padding: 12px 16px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility 0s linear .25s;
}
.cookie-banner.is-visible {
  opacity: 1; visibility: visible; pointer-events: all; transform: translateY(0);
  transition: opacity .25s, transform .25s, visibility 0s linear 0s;
}
.cookie-inner {
  max-width: var(--container); margin: 0 auto;
  border-radius: var(--r2); border: 1px solid var(--line2);
  background: var(--white); box-shadow: var(--shadow-lg);
  padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
}
.cookie-inner p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; flex: 1 1 200px; }
.cookie-inner a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; }

/* ── PROMO POPUP ── */
.popup-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(14,27,46,.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s, visibility 0s linear .25s;
}
.popup-overlay.is-open {
  display: flex;
  opacity: 1; visibility: visible; pointer-events: all;
  transition: opacity .25s, visibility 0s linear 0s;
}
.popup-card {
  background: var(--white); border-radius: 28px; padding: 40px 36px 32px;
  max-width: 420px; width: 100%; text-align: center; position: relative;
  box-shadow: 0 32px 80px rgba(14,27,46,.22);
  transform: scale(.94); transition: transform .3s cubic-bezier(.34,1.3,.64,1);
}
.popup-overlay.is-open .popup-card { transform: scale(1); }
.popup-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px;
  border-radius: 8px; border: 1px solid var(--line2); background: var(--bg);
  color: var(--muted); display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 18px; line-height: 1;
}
.popup-close:hover { background: var(--bg2); color: var(--navy); }
.popup-close svg { width: 16px; height: 16px; pointer-events: none; }
.popup-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
  border-radius: 999px; background: rgba(212,168,67,.12); border: 1px solid rgba(212,168,67,.28);
  color: #9A6E10; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px;
}
.popup-stars { display: flex; justify-content: center; gap: 3px; margin-bottom: 16px; color: var(--gold); }
.popup-stars svg { width: 18px; height: 18px; }
.popup-discount { font-family:'DM Serif Display',Georgia,serif; font-size: 5rem; line-height: 1; color: var(--navy); letter-spacing: -0.04em; margin-bottom: 8px; }
.popup-discount span { font-size: 2.5rem; vertical-align: super; color: var(--gold); }
.popup-discount em { display: block; font-size: 1rem; font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-family:'DM Sans',system-ui,sans-serif; font-weight: 700; margin-top: -8px; }
.popup-title { font-family:'DM Serif Display',Georgia,serif; font-size: 1.6rem; font-weight: 400; color: var(--navy); margin: 0 0 10px; }
.popup-sub { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin: 0 0 24px; }
.popup-cta { width: 100%; padding: 15px 24px; font-size: 15px; }
.popup-fine { margin: 14px 0 0; font-size: 11.5px; color: var(--muted2); }

/* ── CHAT WIDGET ── */
.chat-widget {
  position: fixed; left: 20px; bottom: 20px; z-index: 300;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.chat-bubble {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); border: none; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 8px 28px rgba(14,27,46,.28);
  position: relative; order: 2;
  transition: transform .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.chat-bubble:hover { transform: scale(1.08); }
.chat-bubble-icon svg { width: 22px; height: 22px; pointer-events: none; }
.chat-notif {
  position: absolute; top: -3px; right: -3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--white);
}
.chat-notif-pulse { animation: notifPulse 1.8s ease infinite; }
@keyframes notifPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.chat-panel {
  width: 320px; background: var(--white); border-radius: 20px;
  border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(14,27,46,.16);
  overflow: hidden; display: none; flex-direction: column; order: 1; max-height: 88vh;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s, transform .2s, visibility 0s linear .2s;
}
.chat-panel.is-open {
  display: flex;
  opacity: 1; visibility: visible; pointer-events: all; transform: translateY(0);
  transition: opacity .2s, transform .2s, visibility 0s linear 0s;
}
@media (max-width: 420px) {
  .chat-widget { left: 8px; right: 8px; bottom: 12px; align-items: stretch; }
  .chat-panel  { width: 100%; }
  .chat-bubble { align-self: flex-end; }
}
.chat-header { background: var(--navy); padding: 16px 14px; display: flex; align-items: center; gap: 12px; }
.chat-header-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex: 0 0 auto;
}
.chat-header-info { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.chat-header-info strong { font-size: 14px; color: var(--white); font-weight: 700; }
.chat-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.65); }
.chat-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }
.chat-header-close {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.75); display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex: 0 0 auto; -webkit-appearance: none;
}
.chat-header-close:hover { background: rgba(255,255,255,.2); color: var(--white); }
.chat-header-close svg { width: 14px; height: 14px; pointer-events: none; }
.chat-messages { padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; max-height: 150px; }
.chat-msg { display: flex; flex-direction: column; gap: 4px; }
.chat-msg-in { align-items: flex-start; }
.chat-msg-bubble { padding: 11px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.6; max-width: 90%; }
.chat-msg-in .chat-msg-bubble { background: var(--bg2); border-radius: 4px 14px 14px 14px; color: var(--navy); border: 1px solid var(--line); }
.chat-msg-time { font-size: 11px; color: var(--muted2); padding: 0 4px; }
.chat-offline-note {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px;
  background: rgba(212,168,67,.08); border-top: 1px solid rgba(212,168,67,.15);
  border-bottom: 1px solid var(--line); font-size: 12px; color: #9A6E10; font-weight: 500;
}
.chat-offline-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }
.chat-form { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.chat-field input, .chat-field textarea {
  width: 100%; border-radius: 10px; border: 1.5px solid var(--line2);
  background: var(--bg); color: var(--navy); padding: 11px 12px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px; /* 16px prevents iOS zoom */
  outline: none; transition: border-color .15s; resize: none;
  -webkit-appearance: none;
}
.chat-field textarea { min-height: 70px; }
.chat-field input::placeholder, .chat-field textarea::placeholder { color: var(--muted2); }
.chat-field input:focus, .chat-field textarea:focus { border-color: var(--navy); background: var(--white); }
.chat-field-error { font-size: 12px; color: #8B1A1A; padding: 0 2px; }
.chat-send {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px 16px; border-radius: 10px; border: none;
  background: var(--navy); color: var(--white);
  font-family: 'DM Sans', system-ui, sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background .15s; -webkit-appearance: none;
}
.chat-send:hover { background: var(--navy2); }
.chat-send:disabled { opacity: .6; cursor: not-allowed; }
.chat-send svg { width: 15px; height: 15px; pointer-events: none; }


/* Mobile tap reliability */
.nav-mobile a,
.cookie-actions .btn,
.chat-bubble,
.chat-header-close,
.contact-form input,
.contact-form textarea,
.contact-form select,
.chat-field input,
.chat-field textarea {
  touch-action: manipulation;
}

.contact-form,
.contact-form .field,
.contact-form input,
.contact-form textarea,
.contact-form select {
  position: relative;
  z-index: 1;
}

/* ── CLIENT INTAKE FORM ── */
.intake-hero {
  min-height: calc(100vh - var(--headerH));
  display: flex;
  align-items: center;
}
.intake-shell {
  display: grid;
  gap: 28px;
}
@media (min-width: 980px) {
  .intake-shell {
    grid-template-columns: .78fr 1.12fr;
    align-items: start;
    gap: 32px;
  }
}
.intake-intro {
  padding-top: 6px;
}
.intake-card {
  padding: 26px;
  border-radius: var(--r3);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 900px) {
  .intake-card { padding: 34px; }
}
.intake-head { max-width: 100%; }
.intake-points {
  margin: 0 0 22px;
  gap: 10px;
}
.intake-points li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}
.intake-proof {
  margin-top: 16px;
}
.form-flash {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.form-flash.is-success {
  background: rgba(43,181,117,.12);
  border: 1px solid rgba(43,181,117,.22);
  color: #176846;
}
.form-flash.is-error {
  background: rgba(211,76,76,.08);
  border: 1px solid rgba(211,76,76,.18);
  color: #8f1f1f;
}
.intake-form {
  display: grid;
  gap: 18px;
}
.form-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 760px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.field-span-2 {
  grid-column: 1 / -1;
}
.field-group {
  display: grid;
  gap: 8px;
}
.field-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line2);
  background: var(--white);
  color: var(--navy);
  padding: 13px 14px;
  font: inherit;
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.field-group input[type="file"] {
  padding: 12px;
  line-height: 1.3;
}
.field-group textarea {
  resize: vertical;
  min-height: 120px;
}
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: rgba(212,168,67,.8);
  box-shadow: 0 0 0 4px rgba(212,168,67,.16);
}
.field-group [aria-invalid="true"] {
  border-color: rgba(211,76,76,.58);
  box-shadow: 0 0 0 4px rgba(211,76,76,.08);
}
.field-help,
.field-error {
  font-size: 12px;
  line-height: 1.45;
}
.field-help { color: var(--muted); }
.field-error { color: #b42318; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 4px;
}
.form-actions p {
  margin: 0;
  flex: 1 1 280px;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.package-intake-note {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(212,168,67,.26);
  background: rgba(212,168,67,.08);
  color: var(--navy);
}
.package-intake-note p {
  margin: 0;
  font-size: 14px;
}
.package-intake-note a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Intake page should not depend on JS to reveal content */
.intake-hero .reveal { opacity: 1; transform: none; }

/* ── Discount code popup box ── */
.popup-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--navy);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 0 0 14px;
}
.popup-code {
  font-family: 'DM Sans', monospace, sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: .14em;
}
.popup-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(212,168,67,.40);
  background: rgba(212,168,67,.12);
  color: var(--gold);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
  -webkit-appearance: none;
}
.popup-copy-btn:hover {
  background: rgba(212,168,67,.22);
  border-color: rgba(212,168,67,.60);
}
.popup-copy-btn.copied {
  background: rgba(43,181,117,.15);
  border-color: rgba(43,181,117,.40);
  color: #1A7A4A;
}
.popup-copy-btn svg { width: 14px; height: 14px; pointer-events: none; }
.popup-instruction {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 20px;
  background: var(--bg2);
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  text-align: left;
}
