/* ==========================================================================
   Get SSDI Benefits — Global Stylesheet
   Palette derived from the brand logo:
   Navy #123A63 · Deep Blue #1E5A8A · Teal #2E7D7B · Gold #E8A31E · Sand #F7F5F0
   ========================================================================== */

:root {
  --navy:        #123A63;
  --navy-deep:   #0D2C4B;
  --blue:        #1E5A8A;
  --teal:        #2E7D7B;
  --teal-light:  #3E9E97;
  --gold:        #E8A31E;
  --gold-deep:   #C8871A;
  --sand:        #F7F5F0;
  --paper:       #FFFFFF;
  --ink:         #14304A;
  --muted:       #5B6B7A;
  --line:        #E2E1DA;
  --ok:          #2E7D7B;

  --shadow-sm: 0 1px 3px rgba(18, 58, 99, .08);
  --shadow-md: 0 8px 30px rgba(18, 58, 99, .12);
  --shadow-lg: 0 24px 60px rgba(13, 44, 75, .18);

  --radius:    14px;
  --radius-lg: 22px;

  --max: 1180px;

  --font-display: "Poppins", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.3rem; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600; font-size: .78rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block; }
.section { padding: clamp(60px, 9vw, 110px) 0; }
.text-center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 15px 30px; border-radius: 100px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 8px 24px rgba(232, 163, 30, .35); }
.btn-gold:hover { transform: translateY(-2px); background: var(--gold-deep); box-shadow: 0 12px 30px rgba(232, 163, 30, .45); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { transform: translateY(-2px); background: var(--navy-deep); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-full { width: 100%; }
.btn-lg { padding: 18px 38px; font-size: 1.05rem; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 100px; width: auto; }
.brand-txt { font-family: var(--font-display); font-weight: 700; color: var(--navy); line-height: 1; font-size: 1.15rem; }
.brand-txt span { color: var(--gold); }
.brand-txt small { display: block; font-size: .58rem; letter-spacing: .22em; color: var(--muted); font-weight: 500; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > li > a {
  font-family: var(--font-display); font-weight: 500; font-size: .96rem;
  padding: 10px 16px; border-radius: 10px; color: var(--ink);
  transition: color .18s ease, background .18s ease; display: inline-flex; align-items: center; gap: 6px;
}
.nav-links > li > a:hover, .nav-links > li.active > a { color: var(--teal); background: rgba(46, 125, 123, .08); }

/* dropdown */
.has-drop { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 8px; min-width: 240px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .2s ease;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 12px 14px; border-radius: 9px; font-size: .95rem; font-family: var(--font-display); font-weight: 500; }
.dropdown a small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .8rem; }
.dropdown a:hover { background: var(--sand); color: var(--teal); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: .95rem; display: inline-flex; align-items: center; gap: 7px; }
.nav-phone:hover { color: var(--teal); }

.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 82% 18%, rgba(232, 163, 30, .16), transparent 42%),
    radial-gradient(circle at 12% 90%, rgba(46, 125, 123, .16), transparent 45%),
    linear-gradient(160deg, #0D2C4B 0%, #123A63 48%, #1E5A8A 100%);
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px; pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: clamp(50px, 8vw, 92px) 0; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--gold); }
.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--gold); }
.hero-sub { color: rgba(255,255,255,.85); font-size: 1.15rem; margin: 22px 0 32px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust .stat strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--gold); display: block; line-height: 1; }
.hero-trust .stat span { font-size: .85rem; color: rgba(255,255,255,.72); }

/* Hero form card */
.form-card {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.5);
}
.form-card .form-head { text-align: center; margin-bottom: 20px; }
.form-card .form-head h3 { color: var(--navy); font-size: 1.35rem; }
.form-card .form-head p { color: var(--muted); font-size: .92rem; margin-top: 4px; }

/* ==========================================================================
   Forms
   ========================================================================== */
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: .8rem; font-weight: 600; font-family: var(--font-display); color: var(--navy); margin-bottom: 5px; }
.field input, .field select {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  background: #fff; transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46, 125, 123, .15);
}
.field input.invalid, .field select.invalid { border-color: #d64545; box-shadow: 0 0 0 3px rgba(214,69,69,.12); }
.err { color: #d64545; font-size: .75rem; margin-top: 4px; display: none; }
.err.show { display: block; }

.tcpa { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 16px; }
.tcpa input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--teal); }
.tcpa label { font-size: .72rem; color: var(--muted); line-height: 1.5; }
.form-note { text-align: center; font-size: .75rem; color: var(--muted); margin-top: 12px; }
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success.show { display: block; }
.form-success .check {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  background: rgba(46,125,123,.12); color: var(--teal);
  display: grid; place-items: center; font-size: 30px;
}
.form-success h3 { color: var(--teal); }

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trustbar { background: var(--sand); border-block: 1px solid var(--line); padding: 26px 0; }
.trustbar .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 500; color: var(--navy); font-size: .95rem; }
.trust-item .ico { color: var(--teal); font-size: 1.4rem; }

/* ==========================================================================
   Services cards
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--gold)); transform: scaleX(0);
  transform-origin: left; transition: transform .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .card-ico {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  font-size: 28px; margin-bottom: 20px; color: #fff;
}
.card:nth-child(1) .card-ico { background: linear-gradient(135deg, var(--blue), var(--navy)); }
.card:nth-child(2) .card-ico { background: linear-gradient(135deg, var(--teal), var(--teal-light)); }
.card:nth-child(3) .card-ico { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.card .card-link { font-family: var(--font-display); font-weight: 600; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; }
.card .card-link:hover { gap: 11px; }

/* ==========================================================================
   Steps / process
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .92rem; }

/* ==========================================================================
   Why / features
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-list { display: grid; gap: 20px; margin-top: 26px; }
.feature { display: flex; gap: 16px; }
.feature .fx {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(46,125,123,.1); color: var(--teal); display: grid; place-items: center; font-size: 20px;
}
.feature h4 { font-family: var(--font-display); color: var(--navy); font-size: 1.05rem; margin-bottom: 3px; }
.feature p { color: var(--muted); font-size: .92rem; }
.media-frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, var(--navy), var(--blue)); aspect-ratio: 4/3;
  display: grid; place-items: center; color: #fff; position: relative;
}
.media-frame .badge-float {
  position: absolute; bottom: 20px; left: 20px; background: #fff; color: var(--navy);
  padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-md);
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; display: flex; align-items: center; gap: 10px;
}
.media-frame .badge-float .ring { width: 34px; height: 34px; border-radius: 50%; background: rgba(46,125,123,.15); color: var(--teal); display: grid; place-items: center; }

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats-band { background: linear-gradient(160deg, var(--navy-deep), var(--navy)); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stats-grid .s strong { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--gold); display: block; line-height: 1; }
.stats-grid .s span { color: rgba(255,255,255,.75); font-size: .92rem; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--gold); font-size: 1rem; letter-spacing: 3px; margin-bottom: 14px; }
.quote p { color: var(--ink); font-size: .96rem; margin-bottom: 18px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--blue)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; }
.quote .who b { font-family: var(--font-display); color: var(--navy); font-size: .95rem; display: block; }
.quote .who small { color: var(--muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .pm { color: var(--teal); font-size: 1.4rem; transition: transform .25s ease; flex-shrink: 0; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--muted); font-size: .96rem; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { padding-bottom: 22px; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { background: linear-gradient(120deg, var(--teal), var(--navy)); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 66px); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 14px auto 26px; }
.cta-band::before { content: ""; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(232,163,30,.2); }

/* ==========================================================================
   Page banner (inner pages)
   ========================================================================== */
.page-banner {
  background:
    radial-gradient(circle at 85% 30%, rgba(232,163,30,.16), transparent 45%),
    linear-gradient(160deg, #0D2C4B, #123A63 55%, #1E5A8A);
  color: #fff; padding: clamp(50px, 7vw, 86px) 0; position: relative; overflow: hidden;
}
.page-banner::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; max-width: 720px; }
.page-banner .eyebrow { color: var(--gold); }
.page-banner .eyebrow::before { background: var(--gold); }
.page-banner p { color: rgba(255,255,255,.85); max-width: 620px; margin-top: 16px; font-size: 1.1rem; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.crumbs a:hover { color: var(--gold); }

/* two-col service body */
.service-layout { display: grid; grid-template-columns: 1.4fr .9fr; gap: 50px; align-items: start; }
.prose h2 { margin: 34px 0 14px; }
.prose h3 { margin: 24px 0 10px; color: var(--teal); }
.prose p { color: var(--muted); margin-bottom: 16px; }
.prose ul.ticks { display: grid; gap: 12px; margin: 8px 0 20px; }
.prose ul.ticks li { display: flex; gap: 12px; color: var(--ink); }
.prose ul.ticks li::before { content: "✓"; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.callout { background: var(--sand); border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; padding: 22px 24px; margin: 24px 0; }
.callout p { margin: 0; color: var(--navy); }

.sidebar-form { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md); }
.sidebar-form h3 { text-align: center; }
.sidebar-form .form-head p { text-align: center; color: var(--muted); font-size: .9rem; margin: 4px 0 18px; }

/* eligibility chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.chip { background: rgba(46,125,123,.1); color: var(--teal); font-family: var(--font-display); font-weight: 600; font-size: .85rem; padding: 8px 16px; border-radius: 100px; }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-body { max-width: 820px; margin-inline: auto; }
.legal-body h2 { font-size: 1.4rem; margin: 32px 0 12px; }
.legal-body h3 { font-size: 1.1rem; color: var(--teal); margin: 20px 0 8px; }
.legal-body p, .legal-body li { color: var(--muted); margin-bottom: 12px; }
.legal-body ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal-body ul li { margin-bottom: 8px; }
.legal-updated { color: var(--muted); font-size: .9rem; font-style: italic; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand img { height: 52px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { font-size: .92rem; max-width: 320px; margin-bottom: 18px; }
.footer-brand .fcontact a { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); font-size: .92rem; margin-bottom: 8px; }
.footer-brand .fcontact a:hover { color: var(--gold); }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col a { display: block; font-size: .92rem; padding: 6px 0; transition: color .15s, padding-left .15s; }
.footer-col a:hover { color: var(--gold); padding-left: 5px; }
.footer-legal-note { border-top: 1px solid rgba(255,255,255,.12); padding: 28px 0; font-size: .8rem; color: rgba(255,255,255,.55); }
.footer-legal-note p { margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
.footer-bottom .fb-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom .fb-links a:hover { color: var(--gold); }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid, .split, .service-layout { grid-template-columns: 1fr; }
  .split .media-frame { order: -1; }
  .service-layout .sidebar-form { position: static; }
  .cards, .quotes { grid-template-columns: 1fr 1fr; }
  .steps, .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-phone { display: none; }
  .nav-links.show {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 78px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 12px; gap: 2px; box-shadow: var(--shadow-md);
  }
  .nav-links.show .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 16px; }
  .burger { display: block; }
  .cards, .quotes, .steps, .stats-grid, .footer-grid, .lead-form .row { grid-template-columns: 1fr; }
  .hero-trust { gap: 20px; }
  .footer-bottom { flex-direction: column; }
}
