/* ── HOME FINISH LINE · SHARED STYLES ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --navy: #0D2240;
  --navy-mid: #1A3A5C;
  --navy-light: #1e4d7a;
  --gold: #C8952A;
  --gold-light: #E8B84B;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE1;
  --text: #1A1A1A;
  --text-mid: #3D3D3D;
  --text-muted: #6B6B6B;
  --border: #DDD6CA;
  --white: #FFFFFF;
  --green: #2A7A4B;
  --green-light: #EBF5EF;
  --radius: 12px;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

/* ── NAV ── */
nav {
  background: var(--navy);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-brand {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}
.nav-brand span { color: var(--gold-light); }
.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active { color: #fff; }
.nav-cta {
  background: var(--gold) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; transition: .3s; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  color: #fff;
  padding: 72px 32px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-badge {
  display: inline-block;
  background: rgba(200,149,42,.2);
  border: 1px solid rgba(200,149,42,.4);
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero p {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  max-width: 540px;
  margin: 0 auto 32px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold);
  color: #fff;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: background .15s, transform .1s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: border-color .15s, background .15s;
  display: inline-block;
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-navy {
  background: var(--navy);
  color: #fff;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: background .15s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-navy:hover { background: var(--navy-mid); }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: background .15s;
  display: inline-block;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 32px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-dot {
  width: 18px; height: 18px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 9px; flex-shrink: 0;
}

/* ── LAYOUT ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
section { padding: 64px 0; }
.section-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 10px;
}
.section-sub {
  font-size: .95rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.65;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

/* ── ABOUT STRIP ── */
.about-strip {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  flex-wrap: wrap;
}
.about-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--gold-light);
  flex-shrink: 0;
}
.about-text h3 { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--navy); margin-bottom: 3px; }
.about-text p { font-size: .85rem; color: var(--text-muted); margin-bottom: 6px; line-height: 1.5; }
.about-text .nmls { font-size: .75rem; color: var(--text-muted); }
.about-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* ── CTA STRIP ── */
.cta-strip { background: var(--cream-dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; padding: 44px 0;
}
.cta-text h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--navy); margin-bottom: 6px; }
.cta-text p { font-size: .88rem; color: var(--text-muted); max-width: 400px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.45);
  padding: 32px;
  font-size: .77rem;
  line-height: 1.8;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-col h4 { color: rgba(255,255,255,.8); font-size: .85rem; font-weight: 600; margin-bottom: 12px; }
.footer-col a { color: rgba(255,255,255,.5); text-decoration: none; display: block; margin-bottom: 6px; transition: color .15s; }
.footer-col a:hover { color: rgba(255,255,255,.85); }
.footer-bottom { max-width: 1080px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; }
.footer-bottom strong { color: rgba(255,255,255,.7); }
.footer-bottom a { color: rgba(255,255,255,.55); }

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 32px;
  font-size: .8rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span { margin: 0 6px; }

/* ── MOBILE UTILITY ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.two-col-wide { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.two-col-sidebar { display: grid; grid-template-columns: 1fr 260px; gap: 40px; align-items: start; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); padding: 16px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: block; }
  .container { padding: 0 20px; }
  section { padding: 48px 0; }
  .hero { padding: 52px 20px 48px; }
  .trust-bar { padding: 12px 20px; gap: 14px; }
  .cta-inner { flex-direction: column; }
  .about-actions { margin-left: 0; }
  .footer-inner { gap: 28px; }
  .breadcrumb { padding: 10px 20px; }

  .two-col,
  .two-col-wide,
  .two-col-sidebar { grid-template-columns: 1fr !important; }

  /* Force all two-column grids to single column on mobile */
  .program-layout,
  .calc-layout,
  .about-strip { flex-direction: column; }

  /* Any inline grid with two columns */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 300px"],
  [style*="grid-template-columns: 1fr 300px"],
  [style*="grid-template-columns:1fr 280px"],
  [style*="grid-template-columns: 1fr 280px"],
  [style*="grid-template-columns:1fr 260px"],
  [style*="grid-template-columns: 1fr 260px"],
  [style*="grid-template-columns:1fr 320px"],
  [style*="grid-template-columns: 1fr 320px"],
  [style*="grid-template-columns:380px 1fr"],
  [style*="grid-template-columns: 380px 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Unstick sidebars on mobile */
  [style*="position:sticky"],
  [style*="position: sticky"] {
    position: static !important;
  }

  /* Full width cards and elements on mobile */
  .specs-card { position: static; }
  .pro-con { grid-template-columns: 1fr; }
  .eligibility-grid { grid-template-columns: 1fr; }
  .heroes-list { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .result-grid { grid-template-columns: 1fr 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }

  /* Tab bar wraps nicely */
  .tab-bar { flex-direction: column; }
  .tab-btn { min-width: unset; text-align: center; }

  /* Timeline sidebar stacks below */
  .timeline { padding-left: 36px; }

  /* About strip stacks */
  .about-strip { flex-direction: column; align-items: flex-start; }
  .about-actions { width: 100%; }
  .about-actions a { flex: 1; text-align: center; }

  /* CTA actions stack */
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions a { text-align: center; }

  /* Hero actions stack */
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions a { width: 100%; text-align: center; max-width: 320px; }

  /* Donut chart wrap */
  .donut-wrap { flex-direction: column; align-items: center; }

  /* Footer columns */
  .footer-inner { flex-direction: column; gap: 24px; }

  /* Process page sidebar */
  .timeline-item { margin-bottom: 24px; }
}

@media (max-width: 480px) {
  .heroes-list { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .trust-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
}
