/* ============================================================
   base.css — alexdryclean.net shared foundation
   Load order on EVERY page:
     fonts → base.css → <page>.css → header.css → footer.css
   Owns: design tokens, reset, body/typography base, shared
   buttons + CTA section. Page CSS owns page-specific layout;
   header.css/footer.css own the site chrome.
   When editing, bump the ?v= on all pages + generators.
   ============================================================ */

/* ── Design tokens ───────────────────────────────────────────── */
:root {
  --navy:        #1a3c5a;
  --navy-dark:   #1a3c5a;
  --navy-mid:    #25395a;
  --navy-deep:   #0f172a;
  --slate:       #1e293b;
  --slate-mid:   #31425d;
  --muted:       #475569;
  --muted-light: #64748b;
  --gold:        #c9a96e;
  --gold-accent: #c9a96e;
  --gold-light:  #dfc28d;
  --cream:       #f5f5f0;
  --white:       #ffffff;
  --bg-page:     #f5f5f0;
  --bg-card:     #ffffff;
  --bg-soft:     #f8fafc;
  --border:      #e2e8f0;
  --border-light:#f1f5f9;
  --radius:      12px;
  --radius-sm:   8px;
  --radius-btn:  10px;
  --radius-card: 12px;
  --radius-img:  16px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.12);
  --max-w:       1120px;
  --section-py:  80px;
  /* Gap between the sticky header and the first content block.
     --hero-pt: compact (reviews, pricing) · --hero-pt-lg: roomier (faq, journal) */
  --hero-pt:     40px;
  --hero-pt-lg:  48px;
}

@media (max-width: 900px) {
  :root { --section-py: 56px; }
}

@media (max-width: 640px) {
  :root { --section-py: 44px; --hero-pt: 28px; --hero-pt-lg: 36px; }
}

/* ── Reset & base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--cream);
  color: var(--slate);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typography helpers ──────────────────────────────────────── */
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* ── Shared buttons ──────────────────────────────────────────── */
.btn-primary, .btn-primary-lg {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.18s, transform 0.12s;
}
.btn-primary    { padding: 0.65rem 1.5rem; font-size: 0.9rem; }
.btn-primary-lg { padding: 0.8rem 2rem;    font-size: 1rem; }
.btn-primary:hover, .btn-primary-lg:hover { background: var(--gold-light); transform: translateY(-1px); text-decoration: none; }

.btn-ghost-lg {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  padding: 0.8rem 2rem;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-ghost-lg:hover { background: rgba(255,255,255,0.12); text-decoration: none; }

/* ── Shared CTA section ──────────────────────────────────────── */
.cta-section {
  background: var(--navy-deep);
  padding: var(--section-py) 0;
  text-align: center;
}
.cta-inner { max-width: 680px; margin: 0 auto; padding: 0 32px; }
.cta-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.cta-sub { font-size: 1rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.2rem; }
.cta-note { font-size: 0.72rem; color: rgba(255,255,255,0.35); letter-spacing: 0.04em; }

@media (max-width: 640px) {
  .btn-primary-lg, .btn-ghost-lg { width: 100%; text-align: center; }
  .cta-inner { padding: 0 20px; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ── Review snippet cards (injected on FAQ pages + pricing) ──── */
.faq-rv-section { max-width: var(--max-w); margin: 0 auto; padding: 48px 24px 8px; }
.faq-rv-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: var(--navy-deep);
  text-align: center;
  margin-bottom: 1.6rem;
}
.faq-rv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.faq-rv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.faq-rv-header { display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; margin-bottom: 0.55rem; }
.faq-rv-name { font-weight: 700; font-size: 0.92rem; color: var(--navy-deep); }
.faq-rv-stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.1em; white-space: nowrap; }
.faq-rv-text { font-size: 0.88rem; color: var(--muted); line-height: 1.65; margin: 0 0 0.8rem; flex: 1; }
.faq-rv-date { font-size: 0.75rem; color: var(--muted-light); }
.faq-rv-more { text-align: center; margin: 1.4rem 0 0; }
.faq-rv-more a {
  display: inline-block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-sm);
  padding: 0.55rem 1.3rem;
  transition: background 0.15s, color 0.15s;
}
.faq-rv-more a:hover { background: var(--navy); color: #fff; text-decoration: none; }

@media (max-width: 900px) {
  .faq-rv-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .faq-rv-grid { grid-template-columns: 1fr; }
  .faq-rv-section { padding: 36px 20px 4px; }
}
