/* ConsultLink Design System */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg:        #FAFAF8;
  --surface:   #FFFFFF;
  --navy:      #0D1B2A;
  --navy-mid:  #162840;
  --gold:      #B8973D;
  --gold-lt:   #D4AF5A;
  --text:      #1A1A2E;
  --body:      #374151;
  --muted:     #6B7280;
  --border:    #E5E0D8;
  --beige:     #F0EDE6;
  --radius:    2px;
  --transition: 200ms ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p { line-height: 1.7; color: var(--body); }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

/* Typography scale */
.text-display   { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 600; }
.text-h1        { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 600; }
.text-h2        { font-size: clamp(1.6rem, 2.5vw, 2.25rem); font-weight: 500; }
.text-h3        { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 500; }
.text-h4        { font-size: 1.125rem; font-weight: 500; }
.text-lead      { font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 300; line-height: 1.75; }
.text-sm        { font-size: 0.875rem; }
.text-xs        { font-size: 0.8rem; }
.text-muted     { color: var(--muted); }
.text-gold      { color: var(--gold); }
.text-navy      { color: var(--navy); }
.text-white     { color: #fff; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-sm { max-width: 820px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }

/* Grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
  text-decoration: none;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(13,27,42,0.25); }

.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

.btn-lg { padding: 1.1rem 2.25rem; font-size: 1rem; }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: var(--radius);
  transition: box-shadow var(--transition);
}
.card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.07); }

.card-navy {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 2rem;
  border-radius: var(--radius);
}

/* Dividers */
.divider-gold {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}
.divider-gold-center {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
}

/* Label / Eyebrow */
.label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

/* Backgrounds */
.bg-navy { background: var(--navy); }
.bg-beige { background: var(--beige); }
.bg-surface { background: var(--surface); }

/* Utility */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.w-full { width: 100%; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--body);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }

/* FOOTER */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: 0.875rem; line-height: 1.7; }
.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.footer-disclaimer {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.75rem;
  line-height: 1.6;
}

/* TRUST BAR */
.trust-bar {
  background: var(--beige);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
}
.trust-icon { color: var(--gold); flex-shrink: 0; }

/* STAT ROW */
.stat-row { display: flex; gap: 3rem; flex-wrap: wrap; }
.stat-item {}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label { font-size: 0.875rem; color: var(--muted); }

/* STEP */
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  gap: 1rem;
  user-select: none;
}
.faq-question:hover { color: var(--navy); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition);
  font-size: 0.875rem;
  color: var(--gold);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold); color: #fff; border-color: var(--gold); }
.faq-answer {
  display: none;
  padding-bottom: 1.25rem;
  color: var(--body);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 720px;
}
.faq-item.open .faq-answer { display: block; }

/* Page hero */
.page-hero {
  background: var(--navy);
  padding: 5rem 0 4rem;
}

/* CTA section — shared across all pages */
.cta-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 100% 50%, rgba(184,151,61,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { gap: 2rem; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-items { gap: 1.5rem; justify-content: flex-start; }
  .container { padding: 0 1.25rem; }
}
