/* ============================================================
   USA CoverHub — ACA Health Insurance Marketplace landing site
   Mirrors ../americancoverconnect-autoinsurance's classic-theme
   structure, re-skinned with USA CoverHub's own navy/burgundy/gold
   on cream palette (same tokens as ../usacoverhub/app/globals.css)
   and Georgia serif, so this subdomain reads as the same brand.
   ============================================================ */

:root {
  --navy: #0e2c4c;
  --navy-2: #081b30;
  --accent: #7a1f2b;
  --accent-2: #5c1620;
  --gold: #c8992f;
  --gold-light: #e8c874;
  --bg: #faf6ea;
  --bg-alt: #f1e9d4;
  --text: #241f17;
  --text-muted: #6b6a62;
  --border: #d8cca6;
  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body: Arial, Helvetica, sans-serif;
}

* { margin: 0; padding: 0; outline: none; box-sizing: border-box; }
img { border: 0; max-width: 100%; }
input, button, select, textarea { font-family: inherit; font-size: inherit; line-height: inherit; }
html { scroll-behavior: smooth; }
body { background: var(--bg); font: 16px/1.6 var(--font-body); color: var(--text); }
ul { list-style: none; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); text-wrap: balance; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.container { max-width: 1170px; min-width: 320px; margin: 0 auto; padding: 0 20px; position: relative; }

/* ---------- Top utility bar ---------- */
.topbar { background: var(--navy-2); color: var(--gold-light); font-size: 13px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 38px; flex-wrap: wrap; gap: 6px 0; }
.topbar-tagline { font-weight: 400; color: #cdd3dc; }
.topbar-cta { color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.topbar-cta:hover { color: var(--gold-light); }

/* ---------- Header ---------- */
header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; transition: box-shadow .25s ease; }
header.is-scrolled { box-shadow: 0 6px 18px rgba(14,44,76,.14); }
header .container { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; letter-spacing: .01em; }
.logo .logo-bar { width: 5px; height: 30px; background: var(--gold); display: inline-block; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; gap: 3px; }
.logo-name { font-family: var(--font-display); font-weight: 900; font-size: 21px; color: var(--navy); line-height: 1; }
.logo-sub { font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); line-height: 1; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a:not(.btn) { text-decoration: none; color: var(--navy); font-weight: 700; font-size: 15px; letter-spacing: .01em; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s ease, border-color .2s ease; font-family: var(--font-body); }
.main-nav a:not(.btn):hover { color: var(--accent); border-color: var(--gold); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 30px; height: 52px; background: var(--accent); background-image: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%); background-size: 160% 100%; background-position: 0 0; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; text-decoration: none; border: 2px solid var(--accent-2); border-radius: 3px; cursor: pointer; box-shadow: 0 10px 22px rgba(122,31,43,.28); transition: background-position .45s ease, box-shadow .25s ease, transform .15s ease; font-family: var(--font-body); }
.btn:hover { background-position: 100% 0; box-shadow: 0 14px 28px rgba(122,31,43,.4); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { height: 58px; padding: 0 38px; font-size: 15px; }
.btn-outline { background: transparent; background-image: none; color: #fff; border: 2px solid rgba(255,255,255,.6); box-shadow: none; }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: 65% 55%; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,27,48,.93) 0%, rgba(8,27,48,.86) 45%, rgba(14,44,76,.62) 100%), linear-gradient(to bottom, transparent 75%, rgba(8,27,48,.9) 100%), radial-gradient(ellipse 65% 60% at 85% -10%, rgba(200,153,47,.18) 0%, transparent 65%); }
.hero .container { position: relative; padding: 100px 20px 90px; }
.hero-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; background: var(--accent); padding: 6px 14px; animation: fadeUp .6s ease both; }
.hero h1 { color: #fff; font-size: 50px; line-height: 1.15; max-width: 660px; margin-bottom: 20px; animation: fadeUp .6s .08s ease both; }
.hero p { font-size: 19px; line-height: 1.6; color: #d7dae6; max-width: 560px; margin-bottom: 30px; animation: fadeUp .6s .16s ease both; font-family: var(--font-body); }
.hero .btn-row { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp .6s .24s ease both; }
.hero-disclaimer { margin-top: 20px; max-width: 560px; font-size: 12px; line-height: 1.6; color: #a7adbb; font-family: var(--font-body); animation: fadeUp .6s .3s ease both; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Section heading ---------- */
.section-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-head .eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; font-family: var(--font-body); }
.section-head h2 { font-size: 34px; margin-bottom: 14px; border-bottom: 3px solid var(--gold); display: inline-block; padding-bottom: .25em; }
.section-head p { color: var(--text-muted); font-size: 17px; line-height: 1.6; font-family: var(--font-body); }

.section { padding: 86px 0; }
.section-alt { background: var(--bg-alt); }

/* ---------- Trust / feature strip ---------- */
.feature-strip { background: #fff; border-bottom: 1px solid var(--border); }
.feature-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.feature-item { text-align: center; padding: 42px 20px; border-left: 1px solid var(--border); transition: background .2s ease; }
.feature-item:first-child { border-left: none; }
.feature-item:hover { background: var(--bg-alt); }
.feature-item .ico { width: 56px; height: 56px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(122,31,43,.08); transition: transform .25s ease; }
.feature-item:hover .ico { transform: translateY(-3px) scale(1.05); }
.feature-item .ico img { width: 26px; height: 26px; }
.feature-item strong { display: block; font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; font-family: var(--font-body); }
.feature-item span { font-size: 13px; color: var(--text-muted); font-family: var(--font-body); }

/* ---------- Coverage card grid ---------- */
.coverage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.coverage-card { background: #fff; border: 1px solid var(--border-strong, var(--border)); border-radius: 3px; padding: 30px 22px; text-align: center; box-shadow: 0 3px 0 rgba(14,44,76,.06); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.coverage-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(14,44,76,.12); border-color: var(--gold); }
.coverage-card .ico { width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%; border: 2px solid rgba(122,31,43,.25); display: flex; align-items: center; justify-content: center; }
.coverage-card .ico img { width: 24px; height: 24px; }
.coverage-card h3 { font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.4; }
.coverage-note { text-align: center; color: var(--text-muted); font-size: 14px; margin-top: 36px; font-family: var(--font-body); }

/* ---------- Why-us panel ---------- */
.why-panel { display: flex; align-items: center; gap: 60px; }
.why-panel-media { flex: 1 1 420px; position: relative; }
.why-panel-media::before { content: ''; position: absolute; top: -16px; left: -16px; width: 100%; height: 100%; border: 6px solid rgba(200,153,47,.3); border-radius: 3px; z-index: 0; }
.why-panel-media .image-placeholder { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 3; border-radius: 3px; box-shadow: 0 25px 50px rgba(14,44,76,.2); background-image: repeating-linear-gradient(45deg, var(--bg-alt), var(--bg-alt) 10px, var(--border) 10px, var(--border) 11px); }
.why-panel-media img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%; border-radius: 3px; box-shadow: 0 25px 50px rgba(14,44,76,.2); }
.image-placeholder-label { background: #fff; border: 1px solid var(--border); padding: 7px 16px; font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.why-panel-badge { position: absolute; z-index: 2; bottom: -22px; right: -22px; background: var(--navy); color: #fff; border-radius: 3px; padding: 18px 24px; box-shadow: 0 16px 34px rgba(14,44,76,.3); text-align: center; border: 2px solid var(--gold); }
.why-panel-badge strong { display: block; font-family: var(--font-display); font-size: 24px; line-height: 1; margin-bottom: 4px; color: #fff; }
.why-panel-badge span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-light); font-family: var(--font-body); }
.why-panel-text { flex: 1 1 420px; }
.why-panel-text .eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; font-family: var(--font-body); }
.why-panel-text h2 { font-size: 32px; margin-bottom: 22px; }
.why-panel-text ul li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--border); font-size: 16px; color: var(--text); font-family: var(--font-body); }
.why-panel-text ul li:first-of-type { border-top: none; }
.why-panel-text ul li .check { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; margin-top: 2px; }

/* ---------- Lead form ---------- */
.lead-form-wrap { background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 56px; box-shadow: 0 25px 60px rgba(14,44,76,.1); transition: box-shadow .3s ease, border-color .3s ease; }
.lead-form-wrap:focus-within { border-color: var(--gold); box-shadow: 0 25px 60px rgba(14,44,76,.1), 0 0 0 4px rgba(200,153,47,.14); }
.lead-form { max-width: 720px; margin: 0 auto; }
.lead-form-row { display: flex; gap: 20px; margin-bottom: 18px; }
.lead-form-field { flex: 1; }
.lead-form-field-full { margin-bottom: 18px; }
.lead-form-field label, .lead-form-field-full label { display: block; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; color: var(--navy); font-family: var(--font-body); }
.lead-form input[type="text"], .lead-form input[type="tel"], .lead-form input[type="email"], .lead-form select, .lead-form textarea { width: 100%; padding: 13px 16px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 3px; color: var(--text); font-size: 15px; transition: border-color .2s ease, background .2s ease; font-family: var(--font-body); }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #9b9586; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--gold); background: #fff; }
.lead-form select { appearance: none; 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='%236b6a62' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.lead-form textarea { resize: vertical; }
.lead-form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.6; color: var(--text-muted); font-weight: 400; margin-bottom: 26px; cursor: pointer; font-family: var(--font-body); }
.lead-form-consent input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; }
.lead-form button[type="submit"] { display: block; width: 100%; }
.lead-form-status { margin-top: 16px; text-align: center; font-weight: 700; font-size: 15px; font-family: var(--font-body); }
.lead-form-status.success { color: var(--accent); }
.lead-form-status.error { color: #b02a2a; }

/* ---------- Process steps ---------- */
.process { position: relative; }
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.process-list::before { content: ''; position: absolute; top: 34px; left: calc(100% / 6); right: calc(100% / 6); height: 2px; background: repeating-linear-gradient(to right, var(--border) 0 10px, transparent 10px 20px); z-index: 0; }
.process-step { position: relative; z-index: 1; text-align: center; }
.process-step .num { width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); color: var(--accent); font-family: var(--font-display); font-weight: 900; font-size: 26px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(200,153,47,.2); transition: transform .25s ease, background .25s ease, color .25s ease; }
.process-step:hover .num { transform: translateY(-4px); background: var(--accent); color: #fff; border-color: var(--accent-2); }
.process-step h3 { font-size: 19px; margin-bottom: 10px; }
.process-step p { color: var(--text-muted); font-size: 15px; line-height: 1.6; max-width: 260px; margin: 0 auto; font-family: var(--font-body); }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; text-align: center; padding: 76px 0; border-top: 4px solid var(--gold); border-bottom: 4px solid var(--gold); }
.cta-banner h2 { color: #fff; font-size: 32px; margin-bottom: 16px; }
.cta-banner p { color: #d7dae6; font-size: 17px; margin-bottom: 32px; font-family: var(--font-body); }

/* ---------- Footer ---------- */
footer { background: var(--navy-2); color: #b9c0cf; }
.footer-main { padding: 70px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; }
.footer-col h4 { color: var(--gold-light); font-family: var(--font-body); font-size: 15px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 20px; }
.footer-col p { font-size: 14px; line-height: 1.7; margin-bottom: 18px; font-family: var(--font-body); }
.footer-col .logo { color: #fff; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 14px; text-decoration: none; color: #b9c0cf; transition: color .2s ease, padding-left .2s ease; font-family: var(--font-body); }
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(232,200,116,.2); padding: 26px 0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; color: #8891a3; font-family: var(--font-body); }
.footer-disclaimer { max-width: 820px; margin: 0 auto; padding: 24px 0 0; text-align: center; font-size: 12px; line-height: 1.7; color: #8891a3; font-family: var(--font-body); }
.footer-disclaimer strong { color: #cdd3dc; }
.footer-disclaimer p { margin-bottom: 10px; }

/* ---------- Simple header/footer (legal pages) ---------- */
.header-simple .container { justify-content: flex-start; gap: 24px; }
.header-simple .back-link { font-size: 14px; font-weight: 600; color: var(--text-muted); text-decoration: none; font-family: var(--font-body); }
.header-simple .back-link:hover { color: var(--accent); }
.footer-simple .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 30px 20px; }
.footer-simple ul { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-simple ul li a { font-size: 14px; color: #b9c0cf; text-decoration: none; font-family: var(--font-body); }
.footer-simple ul li a:hover { color: var(--gold-light); }

/* ---------- Legal pages ---------- */
.legal-page { padding: 70px 0 90px; max-width: 820px; margin: 0 auto; }
.legal-page h1 { font-size: 36px; margin-bottom: 10px; }
.legal-page .updated { color: var(--text-muted); font-size: 14px; margin-bottom: 40px; font-family: var(--font-body); }
.legal-page h2 { font-size: 21px; margin: 36px 0 14px; color: var(--accent); font-family: var(--font-body); font-weight: 700; }
.legal-page p, .legal-page li { font-size: 15px; line-height: 1.7; color: var(--text); margin-bottom: 14px; font-family: var(--font-body); }
.legal-page ul { list-style: disc; padding-left: 22px; }
.legal-page a { color: var(--accent); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero h1 { font-size: 42px; }
  .coverage-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .topbar .container { justify-content: center; text-align: center; }
  .main-nav { display: none; }
  header .container { min-height: 64px; }
  .hero .container { padding: 70px 20px; }
  .hero h1 { font-size: 34px; max-width: 100%; }
  .hero p { max-width: 100%; }
  .feature-strip .container { grid-template-columns: repeat(2, 1fr); }
  .feature-item { border-left: none; border-top: 1px solid var(--border); }
  .feature-item:nth-child(1), .feature-item:nth-child(2) { border-top: none; }
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .why-panel { flex-direction: column; }
  .why-panel-media { max-width: 420px; }
  .why-panel-badge { right: 0; }
  .process-list { grid-template-columns: 1fr; gap: 50px; }
  .process-list::before { display: none; }
  .lead-form-wrap { padding: 34px 24px; }
  .lead-form-row { flex-direction: column; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .coverage-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}
