/* ═══════════════════════════════════════
   GFS HOMEPAGE V3 — Senior-Optimized
   Traffic-Informed · Warm Editorial
   ═══════════════════════════════════════ */

:root {
  /* Core palette */
  --ink:       #152235;
  --ink-soft:  #3d4f63;
  --muted:     #637488;
  --cream:     #faf7f2;
  --warm:      #f3ede2;
  --border:    #e1d8c8;
  --white:     #ffffff;

  /* Brand colors */
  --navy:      #1a3558;
  --navy-dk:   #0f2240;
  --teal:      #1e7268;
  --teal-lt:   #e3f4f2;
  --teal-mid:  #c2e8e4;
  --gold:      #b07320;
  --gold-lt:   #fdf0dc;
  --gold-mid:  #f5d897;
  --sage:      #4a7c5f;
  --sage-lt:   #e8f3ec;
  --amber:     #9c5a00;
  --coral:     #b84240;

  /* Type scale — large for seniors */
  --fs-xs:   14px;
  --fs-sm:   16px;
  --fs-base: 19px;
  --fs-md:   22px;
  --fs-lg:   28px;
  --fs-xl:   36px;
  --fs-2xl:  46px;
  --fs-3xl:  58px;

  /* Spacing */
  --gap:    24px;
  --section: 80px;

  /* Shadows */
  --sh-sm:  0 2px 8px rgba(21,34,53,.07);
  --sh-md:  0 6px 24px rgba(21,34,53,.10);
  --sh-lg:  0 16px 56px rgba(21,34,53,.13);

  /* Radius */
  --r-sm:  10px;
  --r-md:  18px;
  --r-lg:  28px;
  --r-xl:  40px;
}

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

/* ─── Layout ─── */
.wrap       { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.wrap-tight { max-width: 900px;  margin: 0 auto; padding: 0 28px; }
.wrap-wide  { max-width: 1400px; margin: 0 auto; padding: 0 28px; }

/* ─── Typography ─── */
.serif { font-family: 'Playfair Display', Georgia, serif; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: start;
  gap: 9px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1;
  padding: 16px 26px;
  border-radius: 50px;
  border: 2.5px solid transparent;
  text-decoration: none !important;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn-lg { font-size: var(--fs-base); padding: 18px 32px; }

.btn-gold   { background: var(--gold);  color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: #955f18; border-color: #955f18; }

.btn-navy   { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dk); border-color: var(--navy-dk); }

.btn-teal   { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-teal:hover { background: #185e56; border-color: #185e56; }

.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); }

.btn-outline-navy  { background: var(--white); color: var(--navy); border-color: var(--border); }
.btn-outline-navy:hover { border-color: var(--navy); }

/* ─── Section labels ─── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
  flex-shrink: 0;
}
.eyebrow-gold  { color: var(--gold); }
.eyebrow-gold::before { background: var(--gold); }
.eyebrow-light { color: rgba(255,255,255,.6); }
.eyebrow-light::before { background: rgba(255,255,255,.4); }

.sec-head {
  font-family: 'Playfair Display', serif;
  font-size: clamp(var(--fs-xl), 3.5vw, var(--fs-2xl));
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 14px;
}
.sec-sub {
  font-size: var(--fs-md);
  color: var(--muted);
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: 48px;
}

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--border);
  box-shadow: 0 2px 14px rgba(21,34,53,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.15;
  flex-shrink: 0;
}
.site-logo em { font-style: normal; color: var(--teal); }
.site-logo small {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-list a {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-soft);
  padding: 7px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .14s, color .14s;
}
.nav-list a:hover { background: var(--warm); color: var(--navy); }
.nav-emergency {
  background: var(--coral) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 8px 15px !important;
}
.nav-emergency:hover { background: #9d3634 !important; }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  background: linear-gradient(150deg, #122944 0%, #1a3b5c 45%, #1f4870 100%);
  padding: 54px 0 72px;
  position: relative;
  overflow: hidden;
}
/* Warm glow accent */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 35%, rgba(180,115,32,.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 10% 80%, rgba(30,114,104,.2) 0%, transparent 55%);
  pointer-events: none;
}
/* Decorative ring */
.hero::after {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 80px solid rgba(255,255,255,.025);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* ── Hero left ── */
.hero-left { }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 22px;
}
.hero-kicker-dot {
  width: 6px; height: 6px;
  background: var(--gold-mid);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: #8ecfc9;
}

.hero-lead {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
  color: rgba(255,255,255,.78);
  max-width: 580px;
  margin-bottom: 38px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.48);
  font-weight: 400;
}
.hero-trust-check {
  width: 20px; height: 20px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: #8ecfc9;
  flex-shrink: 0;
}

/* ── Hero right panel ── */
.hero-panel {
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.13);
  border-radius: var(--r-lg);
  padding: 30px;
  backdrop-filter: blur(6px);
}
.hero-panel-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  color: rgba(255,255,255,.65);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.hero-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hero-links li a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background .15s, border-color .15s, transform .15s;
}
.hero-links li a:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.22);
  transform: translateX(3px);
}
.hero-link-icon {
  font-size: 20px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.1);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-link-text { font-size: var(--fs-sm); font-weight: 600; color: rgba(255,255,255,.86); line-height: 1.35; }
.hero-link-arrow { margin-left: auto; color: rgba(255,255,255,.35); font-size: 16px; flex-shrink: 0; }

/* ═══════════════════════════════════════
   EMERGENCY STRIP
═══════════════════════════════════════ */
.emergency-strip {
  background: #fff3cd;
  border-top: 1px solid #f5d897;
  border-bottom: 1px solid #f5d897;
  padding: 13px 0;
}
.emergency-inner {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: var(--fs-sm);
  color: #7a4e00;
  font-weight: 600;
}
.emergency-inner a { color: #7a4e00; font-weight: 700; text-decoration: underline; }
.emergency-badge {
  flex-shrink: 0;
  background: var(--amber);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 5px;
}

/* ═══════════════════════════════════════
   SECTIONS
═══════════════════════════════════════ */
.section          { padding: var(--section) 0; }
.section-white    { background: var(--white); }
.section-warm     { background: var(--warm); }
.section-cream    { background: var(--cream); }
.section-navy     { background: var(--navy-dk); }

/* ═══════════════════════════════════════
   PROBLEM CARDS (8 cards)
═══════════════════════════════════════ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pcard {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.pcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 2px 2px 0 0;
  opacity: 0;
  transition: opacity .18s;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: #c5d6e6;
  text-decoration: none;
}
.pcard:hover::before { opacity: 1; }

/* Color accents per card */
.pcard-teal::before  { background: var(--teal); }
.pcard-gold::before  { background: var(--gold); }
.pcard-navy::before  { background: var(--navy); }
.pcard-sage::before  { background: var(--sage); }
.pcard-coral::before { background: var(--coral); }
.pcard-amber::before { background: var(--amber); }

.pcard-icon {
  font-size: 26px;
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pcard-icon-teal  { background: var(--teal-lt); }
.pcard-icon-gold  { background: var(--gold-lt); }
.pcard-icon-navy  { background: #e8eef6; }
.pcard-icon-sage  { background: var(--sage-lt); }
.pcard-icon-coral { background: #fdeeed; }
.pcard-icon-amber { background: #fef3e2; }

.pcard-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.pcard-desc {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.6;
  flex: 1;
}
.pcard-cta {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex; align-items: center; gap: 5px;
  margin-top: 4px;
}
.pcard-cta::after { content: '→'; font-size: 13px; }


/* ═══════════════════════════════════════
   HOMEPAGE TOOLS
═══════════════════════════════════════ */
.section-tools {
  background: linear-gradient(180deg, #fffdf8 0%, var(--cream) 100%);
  padding: 58px 0 64px;
  border-bottom: 1px solid var(--border);
}
.tools-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.section-tools .sec-sub {
  margin-bottom: 0;
}
.tools-all-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: var(--fs-sm);
  font-weight: 800;
  text-decoration: none;
}
.tools-all-link:hover {
  border-color: var(--teal);
  text-decoration: none;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tool-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 245px;
  padding: 24px 22px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: var(--white);
  box-shadow: var(--sh-sm);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--teal-mid);
  text-decoration: none;
}
.tool-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--teal-lt);
  font-size: 25px;
}
.tool-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 5px;
  background: var(--gold-lt);
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.tool-card strong {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.25;
}
.tool-card span:not(.tool-icon):not(.tool-tag) {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  line-height: 1.55;
}
.tool-card em {
  margin-top: auto;
  color: var(--teal);
  font-style: normal;
  font-size: var(--fs-xs);
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════
   STAT BAR
═══════════════════════════════════════ */
.stat-bar {
  background: var(--navy);
  padding: 32px 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 10px 20px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.55);
  line-height: 1.4;
}

/* ═══════════════════════════════════════
   TWO-PATH FEATURE
═══════════════════════════════════════ */
.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.path-card {
  border-radius: var(--r-lg);
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.path-state  { background: linear-gradient(145deg, #16324e 0%, #1e4a72 100%); }
.path-problem{ background: linear-gradient(145deg, #1a5c52 0%, #217a6e 100%); }

/* Corner ring */
.path-card::after {
  content: '';
  position: absolute;
  bottom: -50px; right: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 40px solid rgba(255,255,255,.06);
  pointer-events: none;
}

.path-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 20px;
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.75);
  margin-bottom: 18px;
}

.path-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: #fff;
  line-height: 1.22;
  margin-bottom: 12px;
}
.path-card p {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  margin-bottom: 26px;
}

/* State finder */
.state-search-wrap {
  margin-bottom: 20px;
  position: relative;
}
.state-search {
  width: 100%;
  padding: 14px 44px 14px 16px;
  border-radius: var(--r-sm);
  border: 2px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: var(--fs-base);
  font-family: 'Source Sans 3', sans-serif;
  outline: none;
  transition: border-color .15s, background .15s;
}
.state-search::placeholder { color: rgba(255,255,255,.45); }
.state-search:focus { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.15); }
.state-search-icon {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.4);
  font-size: 18px;
  pointer-events: none;
}

.state-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  max-height: 228px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.2) transparent;
  margin-bottom: 20px;
}
.state-chip {
  display: block;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 7px;
  padding: 7px 8px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(255,255,255,.82);
  text-align: center;
  text-decoration: none;
  transition: background .13s;
  cursor: pointer;
}
.state-chip:hover { background: rgba(255,255,255,.2); text-decoration: none; }
.state-chip[hidden] { display: none; }
.no-results {
  grid-column: 1/-1;
  text-align: center;
  color: rgba(255,255,255,.4);
  font-size: var(--fs-sm);
  padding: 16px 0;
  display: none;
}

/* Problem path list */
.path-problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 24px;
}
.path-problem-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,.08);
  border-radius: 9px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgba(255,255,255,.86);
  text-decoration: none;
  transition: background .13s, transform .13s;
}
.path-problem-list li a:hover {
  background: rgba(255,255,255,.16);
  transform: translateX(4px);
  text-decoration: none;
}
.path-problem-list li a .pe { font-size: 18px; flex-shrink: 0; }

/* ═══════════════════════════════════════
   HOW-TO STEPS
═══════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: steps;
}
.step {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 24px;
  position: relative;
  counter-increment: steps;
}
.step::before {
  content: counter(steps);
  position: absolute;
  top: -14px; left: 24px;
  width: 30px; height: 30px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(30,114,104,.3);
}
.step-icon { font-size: 28px; margin-bottom: 14px; }
.step h3 {
  font-family: 'Playfair Display', serif;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 8px;
}
.step p { font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.62; }

/* ═══════════════════════════════════════
   TOP GUIDES (traffic-informed)
═══════════════════════════════════════ */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.guide-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .18s, box-shadow .18s;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }

/* Featured card (top traffic) */
.guide-card-featured {
  grid-column: span 1;
  border-color: var(--teal-mid);
  background: var(--teal-lt);
  position: relative;
}
.guide-featured-badge {
  position: absolute;
  top: -12px; left: 22px;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 5px;
}

.guide-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 5px;
  align-self: flex-start;
}
.tag-teal  { background: var(--teal-lt);  color: var(--teal); }
.tag-gold  { background: var(--gold-lt);  color: var(--gold); }
.tag-navy  { background: #e8eef6; color: var(--navy); }
.tag-sage  { background: var(--sage-lt);  color: var(--sage); }
.tag-amber { background: #fef3e2; color: var(--amber); }

.guide-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.32;
}
.guide-card p { font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.62; flex: 1; }
.guide-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.guide-read {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: gap .15s;
}
.guide-read:hover { gap: 9px; text-decoration: none; }
.guide-read::after { content: '→'; }
.guide-views {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ═══════════════════════════════════════
   LOCAL HELP (4 cards)
═══════════════════════════════════════ */
.local-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.local-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform .18s, box-shadow .18s;
}
.local-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.local-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  font-size: 26px;
  display: flex; align-items: center; justify-content: center;
}
.li-gold { background: var(--gold-lt); }
.li-teal { background: var(--teal-lt); }
.li-sage { background: var(--sage-lt); }
.li-navy { background: #e8eef6; }
.local-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.local-card p { font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.6; }
.local-link {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px;
}
.local-link::after { content: '→'; }
.local-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════
   TRUST PANEL
═══════════════════════════════════════ */
.trust-wrap {
  background: linear-gradient(145deg, #0e2038 0%, #162d4a 100%);
  border-radius: var(--r-xl);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.trust-wrap::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  border: 60px solid rgba(255,255,255,.03);
  pointer-events: none;
}
.trust-wrap::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 40%;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 40px solid rgba(255,255,255,.02);
  pointer-events: none;
}
.trust-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  color: #fff;
  line-height: 1.22;
  margin-bottom: 14px;
}
.trust-lead {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.68);
  line-height: 1.7;
  margin-bottom: 26px;
  max-width: 480px;
}
.trust-checks { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.trust-checks li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.78);
  line-height: 1.55;
}
.trust-check-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: rgba(30,114,104,.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  color: #8ecfc9;
  margin-top: 1px;
}

.trust-right {}
.trust-links-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 12px;
}
.trust-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 22px;
}
.trust-link-list a {
  display: block;
  padding: 12px 15px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9px;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.76);
  text-decoration: none;
  transition: background .14s;
}
.trust-link-list a:hover { background: rgba(255,255,255,.13); }
.trust-disclaimer {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  padding: 15px 16px;
  font-size: 13.5px;
  color: rgba(255,255,255,.46);
  line-height: 1.65;
}
.trust-disclaimer strong { color: rgba(255,255,255,.62); }

/* ═══════════════════════════════════════
   BOTTOM CTA
═══════════════════════════════════════ */
.bottom-cta { padding: 70px 0; }
.bottom-cta-box {
  background: var(--gold-lt);
  border: 2px solid var(--gold-mid);
  border-radius: var(--r-xl);
  padding: 52px;
  text-align: center;
}
.bottom-cta-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.bottom-cta-box p {
  font-size: var(--fs-md);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto 36px;
}
.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
  background: var(--navy-dk);
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,.65);
}
.footer-logo em { font-style: normal; color: #8ecfc9; }
.footer-links {
  display: flex; gap: 20px;
  list-style: none; flex-wrap: wrap;
}
.footer-links a {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.38);
  text-decoration: none;
}
.footer-links a:hover { color: rgba(255,255,255,.7); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.28); }

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-left  { animation: fadeUp .6s ease both; }
.hero-panel { animation: fadeUp .6s .14s ease both; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */

@media (max-width: 1080px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-head-row { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 720px) {
  .hero { padding: 40px 0 52px; }
  .tools-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 0; }
  .tools-all-link { width: 100%; }
}

@media (max-width: 1080px) {
  .hero-grid     { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel    { max-width: 540px; }
  .problem-grid  { grid-template-columns: repeat(2, 1fr); }
  .steps-grid    { grid-template-columns: repeat(2, 1fr); }
  .guides-grid   { grid-template-columns: repeat(2, 1fr); }
  .local-grid    { grid-template-columns: repeat(2, 1fr); }
  .stat-grid     { grid-template-columns: repeat(2, 1fr); }
  .stat-item     { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .trust-wrap    { grid-template-columns: 1fr; padding: 40px; }
  .path-card     { padding: 32px; }
}
@media (max-width: 720px) {
  :root { --section: 56px; }
  .hero           { padding: 52px 0 64px; }
  .problem-grid   { grid-template-columns: 1fr; gap: 14px; }
  .path-grid      { grid-template-columns: 1fr; }
  .guides-grid    { grid-template-columns: 1fr; }
  .local-grid     { grid-template-columns: 1fr 1fr; }
  .steps-grid     { grid-template-columns: 1fr; }
  .stat-grid      { grid-template-columns: 1fr 1fr; }
  .trust-wrap     { padding: 28px 22px; border-radius: var(--r-lg); }
  .bottom-cta-box { padding: 36px 24px; }
  .nav-list       { display: none; }
  .state-grid     { grid-template-columns: repeat(2, 1fr); }
  .sec-sub        { font-size: var(--fs-base); }
}

/* GFS enhancements by ChatGPT: safer focus states, mobile nav, reduced motion, and print cleanup */
.gfs-mobile-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--navy);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.gfs-mobile-toggle:focus-visible,
.btn:focus-visible,
.state-chip:focus-visible,
.pcard:focus-visible,
.guide-read:focus-visible,
.local-link:focus-visible,
.trust-link-list a:focus-visible,
.hero-links a:focus-visible,
.path-problem-list a:focus-visible,
.nav-list a:focus-visible {
  outline: 4px solid rgba(245, 216, 151, .95);
  outline-offset: 3px;
}
.gfs-screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.gfs-independent-note {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  font-size: 15px;
  line-height: 1.55;
  max-width: 650px;
}
.gfs-plain-warning {
  background: #fff8e8;
  border: 2px solid #ecd08f;
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 28px;
  color: #5f3b00;
  font-size: 18px;
  line-height: 1.55;
}
.gfs-plain-warning strong { color: #453000; }
.gfs-home-v3 a[href^="tel:"] { white-space: nowrap; }
@media (max-width: 720px) {
  .gfs-mobile-toggle { display: inline-flex; }
  .header-inner { height: auto; min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
  .site-header nav { width: 100%; order: 3; }
  .nav-list {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px 0 4px;
  }
  .site-header.gfs-nav-open .nav-list { display: flex; }
  .nav-list a { display: block; padding: 12px 14px; background: var(--warm); }
  .nav-emergency { text-align: center; }
  .hero h1 { font-size: clamp(34px, 9vw, 46px); }
  .hero-btns .btn { width: 100%; justify-content: center; white-space: normal; line-height: 1.25; }
  .emergency-inner { align-items: flex-start; }
  .emergency-badge { margin-top: 3px; }
  .guide-meta { align-items: flex-start; flex-direction: column; gap: 8px; }
  .local-grid { grid-template-columns: 1fr; }
  .stat-num { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
@media print {
  .site-header,
  .emergency-strip,
  .bottom-cta,
  .site-footer,
  .hero-panel,
  .hero-btns { display: none !important; }
  body { background: #fff; color: #111; font-size: 12pt; }
  .hero { background: #fff; padding: 20px 0; color: #111; }
  .hero h1,
  .hero-lead { color: #111; }
  a { color: #111; text-decoration: underline; }
}

/* Homepage hero image requested by GFS */
.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  align-items: start;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.hero-photo-card {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1.5px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}

.hero-photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-photo-card figcaption {
  padding: 10px 14px 12px;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255, 255, 255, .72);
}

.hero-side { animation: fadeUp .6s .14s ease both; }
.hero-panel { animation: none; }

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-side {
    max-width: 560px;
  }
}

@media (max-width: 720px) {
  .hero-photo-card img {
    height: 190px;
  }
}


/* v2.10: Fill hero dead space with compact tools, orange panel, and all states */
.hero-left {
  display: flex;
  flex-direction: column;
}
.hero-tool-panel {
  margin-top: 46px;
  max-width: 690px;
  padding: 20px;
  border: 1.5px solid rgba(255,255,255,.28);
  border-radius: 18px;
  background: linear-gradient(145deg, #A2AAB9 0%, #E58448 100%);
  box-shadow: 0 16px 42px rgba(0,0,0,.18);
}
.hero-tool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}
.hero-tool-head span {
  color: #1a3558;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero-tool-head a {
  color: #0f4f49;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.hero-tool-head a:hover,
.hero-tool-head a:focus {
  color: #0f2240;
  text-decoration: underline;
}
.hero-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}
.hero-tool-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 12px 13px;
  border: 1.5px solid rgba(255,255,255,.42);
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  color: #1a3558;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.hero-tool-card:hover,
.hero-tool-card:focus {
  background: #fff;
  border-color: rgba(255,255,255,.82);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(77,46,8,.16);
  text-decoration: none;
}
.hero-tool-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f6ead6;
  font-size: 21px;
}
.hero-tool-text strong {
  display: block;
  color: #132943;
  font-size: 15px;
  line-height: 1.25;
}
.hero-tool-text em {
  display: block;
  color: #5d6c7c;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 2px;
}

.path-card .state-search {
  background: #fff;
  color: #132943;
  border-color: rgba(255,255,255,.55);
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}
.path-card .state-search::placeholder {
  color: #68798c;
  opacity: 1;
}
.path-card .state-search:focus {
  background: #fff;
  border-color: #f5d897;
  box-shadow: 0 0 0 4px rgba(245,216,151,.18);
}
.path-card .state-search-icon {
  color: #526477;
}
.state-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  max-height: none !important;
  overflow: visible !important;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.state-chip {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 8px;
  line-height: 1.2;
}
.path-card .btn {
  position: relative;
  z-index: 2;
}

@media (max-width: 1080px) {
  .hero-tool-panel { max-width: 560px; }
}
@media (max-width: 720px) {
  .hero-tool-grid { grid-template-columns: 1fr; }
  .hero-tool-head { align-items: flex-start; flex-direction: column; }
  .hero-tool-card { min-height: 64px; }
  .state-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .state-grid { grid-template-columns: 1fr; }
}