/* ================================================================
   NATIONAL COVERAGE CENTER — styles.css
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --forest:       #0a3d35;
  --pine:         #0d5445;
  --emerald:      #167a5e;
  --sage:         #c8e6dc;
  --mint:         #f0faf6;
  --amber:        #f59e0b;
  --amber-hover:  #d97706;
  --amber-light:  #fef9ec;
  --ink:          #0f1a16;
  --slate:        #4a5a53;
  --muted:        #7a8a82;
  --border:       #dce8e2;
  --surface:      #f5f9f7;
  --white:        #ffffff;

  /* legacy aliases kept so thank-you.html snippets still work */
  --line:         var(--border);
  --paper:        var(--surface);
  --panel:        var(--white);
  --pine-dark:    var(--forest);
  --aqua:         var(--mint);
  --gold:         var(--amber);
  --gold-dark:    var(--amber-hover);
  --error:        #8c2f24;

  --shadow-sm:    0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:    0 4px 16px rgba(10,60,50,.08);
  --shadow-lg:    0 8px 32px rgba(10,60,50,.12);
  --shadow-xl:    0 20px 48px rgba(10,60,50,.16);
  --shadow:       var(--shadow-xl);

  --r-sm:   10px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
img { display: block; max-width: 100%; }

/* ── Layout wrapper ─────────────────────────────────────────── */
.site-header,
.hero-outer,
.trust-marks,
.trust-band,
.steps-section,
.callout,
.site-footer,
.thanks-main {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
}

.brand strong,
.brand small { display: block; }

.brand strong {
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--forest);
}

.brand small {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 500;
}

/* header call button */
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--r-full);
  background: var(--forest);
  color: #fff;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  transition: background .15s, transform .12s;
}

.header-call:hover,
.header-call:focus-visible {
  background: var(--pine);
  transform: translateY(-1px);
}

.header-call .phone-icon { color: var(--amber); }

/* ── Phone icon ─────────────────────────────────────────────── */
.phone-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.cta-arrow {
  display: inline-block;
  font-weight: 900;
  opacity: .7;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero-outer {
  margin-bottom: 48px;
}

.hero {
  position: relative;
  background: url('hero-family.png') center 38% / cover no-repeat;
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding: clamp(48px, 7vw, 88px) clamp(28px, 5vw, 64px);
}

.hero-medicare {
  background: url('hero-medicare-senior-couple.png') center 45% / cover no-repeat;
}

/* dark gradient overlay — heaviest on the left where text lives */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(10, 61, 53, .97)  0%,
    rgba(10, 61, 53, .90) 38%,
    rgba(10, 61, 53, .65) 62%,
    rgba(10, 61, 53, .30) 100%
  );
}

.hero-copy,
.form-panel {
  position: relative;
  z-index: 1;
}

/* ── Hero copy ───────────────────────────────────────────────── */
.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--white);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.hero-lede {
  max-width: 580px;
  margin-bottom: 32px;
  color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 500;
  line-height: 1.7;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: var(--r-full);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .12s, box-shadow .15s;
}

.button:hover, .button:focus-visible { transform: translateY(-1px); }
.button:focus-visible { outline: 3px solid rgba(245,158,11,.5); outline-offset: 2px; }

.button-primary {
  background: var(--amber);
  color: var(--forest);
  box-shadow: 0 6px 20px rgba(245,158,11,.35);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--amber-hover);
  box-shadow: 0 8px 24px rgba(245,158,11,.45);
}

.button-secondary {
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.14);
}

/* secondary variant on light background (thank-you page) */
.btn-outline {
  border-color: var(--border);
  background: var(--white);
  color: var(--pine);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--pine);
  background: var(--mint);
}

/* ── Primary actions row ─────────────────────────────────────── */
.primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

/* ── Quick points ────────────────────────────────────────────── */
.quick-points {
  display: grid;
  gap: 12px;
  max-width: 600px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-points li {
  position: relative;
  padding-left: 28px;
  color: rgba(255,255,255,.72);
  font-weight: 500;
}

.quick-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--amber);
}

/* ── Form panel ──────────────────────────────────────────────── */
.form-panel {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,.22), 0 4px 12px rgba(0,0,0,.1);
  padding: clamp(22px, 3.5vw, 32px);
}

.panel-heading { margin-bottom: 22px; }

.panel-heading .eyebrow {
  color: var(--emerald);
}

.panel-heading h2 {
  margin-bottom: 6px;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--forest);
}

.panel-heading p {
  color: var(--slate);
  font-size: .92rem;
  margin: 0;
}

/* ── Form ────────────────────────────────────────────────────── */
.lead-form { display: grid; gap: 14px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: .95rem;
  padding: 11px 14px;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a5a53' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

input:focus,
select:focus {
  border-color: var(--pine);
  outline: 3px solid rgba(13,84,69,.15);
}

.form-submit {
  width: 100%;
  margin-top: 4px;
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(10,61,53,.28);
}

.form-submit:hover,
.form-submit:focus-visible {
  background: var(--pine);
  box-shadow: 0 8px 24px rgba(10,61,53,.36);
}

.consent {
  margin: 0;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.5;
}

/* ── Trust marks ─────────────────────────────────────────────── */
.trust-marks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.trust-mark {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  transition: box-shadow .2s, border-color .2s;
}

.trust-mark:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--sage);
}

.trust-mark-icon {
  display: block;
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  object-fit: contain;
}

.trust-mark strong,
.trust-mark span { display: block; }

.trust-mark strong {
  margin-bottom: 4px;
  color: var(--forest);
  font-size: 1rem;
  font-weight: 800;
}

.trust-mark span {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 500;
}

/* ── Trust band ──────────────────────────────────────────────── */
.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--border);
  margin-bottom: 4px;
}

.trust-band div {
  min-height: 118px;
  background: var(--white);
  padding: 24px 26px;
}

.trust-band strong,
.trust-band span { display: block; }

.trust-band strong {
  margin-bottom: 7px;
  color: var(--pine);
  font-size: 1rem;
  font-weight: 800;
}

.trust-band span {
  color: var(--slate);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.5;
}

/* ── Steps section ───────────────────────────────────────────── */
.steps-section {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-copy h2 { color: var(--forest); }

.section-copy p {
  color: var(--slate);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
}

.steps-grid { display: grid; gap: 14px; }

.steps-grid article,
.next-steps article {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  padding: 20px;
  transition: box-shadow .2s, border-color .2s;
}

.steps-grid article:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--sage);
}

.steps-grid span,
.next-steps span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--mint);
  color: var(--forest);
  font-size: .9rem;
  font-weight: 800;
}

.steps-grid p,
.next-steps p {
  margin: 0;
  color: var(--slate);
  font-weight: 500;
  line-height: 1.6;
}

.steps-grid article p,
.steps-grid h3 { grid-column: 2; }

.steps-grid h3 {
  color: var(--forest);
  margin-bottom: 6px;
}

/* ── Callout banner ──────────────────────────────────────────── */
.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
  border-radius: var(--r-xl);
  background: linear-gradient(118deg, var(--forest) 0%, var(--pine) 100%);
  color: var(--white);
  padding: clamp(28px, 4.5vw, 48px);
  box-shadow: 0 16px 48px rgba(10,61,53,.28);
}

.callout .eyebrow { color: var(--amber); }

.callout h2 {
  max-width: 680px;
  margin-bottom: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  color: var(--white);
}

.callout .button-primary {
  background: var(--amber);
  color: var(--forest);
  flex: 0 0 auto;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(245,158,11,.4);
}

.callout .button-primary:hover {
  background: var(--amber-hover);
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.65;
  font-weight: 500;
}

.site-footer p { max-width: 900px; }

/* ── Thank-you page ──────────────────────────────────────────── */
.thanks-main {
  min-height: calc(100vh - 210px);
  display: grid;
  place-items: center;
  padding: 48px 0 64px;
}

.thanks-panel {
  width: min(760px, 100%);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-xl);
  padding: clamp(28px, 5vw, 56px);
}

.thanks-panel h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--forest);
  letter-spacing: -.02em;
}

.thanks-panel > p {
  color: var(--slate);
  font-size: 1.06rem;
  font-weight: 500;
}

.thanks-call {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--mint);
  padding: 20px 22px;
}

.thanks-call span {
  color: var(--pine);
  font-weight: 700;
}

.thanks-call a {
  color: var(--forest);
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.01em;
}

.thanks-call a:hover { color: var(--pine); }

.next-steps {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: clamp(36px, 6vw, 64px) clamp(22px, 4vw, 40px);
  }

  .hero::before {
    background: linear-gradient(
      to bottom,
      rgba(10, 61, 53, .96) 0%,
      rgba(10, 61, 53, .90) 60%,
      rgba(10, 61, 53, .75) 100%
    );
  }

  .trust-marks,
  .steps-section {
    grid-template-columns: 1fr;
  }

  .trust-band {
    grid-template-columns: 1fr;
  }

  .callout {
    flex-direction: column;
    align-items: stretch;
  }

  .callout .button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero-outer,
  .trust-marks,
  .trust-band,
  .steps-section,
  .callout,
  .site-footer,
  .thanks-main {
    width: min(100% - 24px, 1180px);
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .primary-actions .button {
    width: 100%;
    justify-content: center;
  }

  .steps-grid article,
  .next-steps article {
    padding: 16px;
  }

  .trust-mark { min-height: auto; }

  .header-call .cta-arrow,
  .header-call span:last-of-type { display: none; }
}
