/* InjuryMatch — Trust + Urgency + Simplicity */
:root {
  --navy: #1b2a4a;
  --navy-dark: #0f1a2e;
  --navy-light: #2a3f6b;
  --gold: #c8982e;
  --gold-light: #e8c35a;
  --gold-bg: rgba(200,152,46,.08);
  --blue: #3b7dd8;
  --blue-light: #5a9bf0;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --green: #16a34a;
  --green-bg: rgba(22,163,74,.08);
  --red: #dc2626;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.18);
  --max-width: 1200px;
}

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

html {
  overflow-x: hidden;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.5vw, 38px); }
h3 { font-size: clamp(20px, 2.5vw, 26px); }
h4 { font-size: 18px; }
p { color: var(--gray-600); font-size: 17px; line-height: 1.7; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ── Sticky Call Bar (Mobile) ── */
.call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  padding: 12px 20px;
  text-align: center;
}
.call-bar a {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
@media (max-width: 768px) {
  .call-bar { display: block; }
  body { padding-bottom: 56px; }
}

/* ── Header ── */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
}
.logo span { color: var(--gold); }
.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.header-phone:hover { color: var(--blue); text-decoration: none; }
.header-phone .label {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 400;
  display: block;
  line-height: 1.2;
}
.header-phone .number { font-size: 20px; letter-spacing: .3px; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  color: var(--white);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: flex; gap: 60px; align-items: center; }
.hero-content { flex: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200,152,46,.15);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(200,152,46,.25);
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero-sub {
  color: rgba(255,255,255,.75);
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 520px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 30px;
}
.hero-stat .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold-light);
  font-family: 'Playfair Display', Georgia, serif;
}
.hero-stat .lbl {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-top: 2px;
}

/* ── Lead Form ── */
.lead-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-xl);
  min-width: 380px;
  max-width: 420px;
  overflow: hidden;
  width: 100%;
}
.lead-form-card h3 {
  text-align: center;
  margin-bottom: 6px;
  font-size: 22px;
}
.lead-form-card .form-sub {
  text-align: center;
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 24px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 5px;
}
.form-group select,
.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}
.form-group select:focus,
.form-group input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,125,216,.12); }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .1s;
  margin-top: 4px;
  font-family: inherit;
  letter-spacing: .2px;
}
.btn-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-submit:active { transform: translateY(0); }
.form-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--gray-500);
}
.form-trust span { display: flex; align-items: center; gap: 4px; }

/* ── Phone CTA banner ── */
.phone-banner {
  background: var(--gold-bg);
  border: 1px solid rgba(200,152,46,.2);
  border-radius: var(--radius);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}
.phone-banner p { color: var(--gray-700); font-size: 15px; margin: 0; }
.phone-banner a {
  background: var(--navy);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  text-decoration: none;
  transition: background .2s;
}
.phone-banner a:hover { background: var(--navy-light); text-decoration: none; }

/* ── Sections ── */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header p { max-width: 600px; margin: 12px auto 0; }

/* ── How It Works ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: box-shadow .2s, transform .2s;
}
.step:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step-num {
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 18px;
  font-family: 'Playfair Display', Georgia, serif;
}
.step h4 { margin-bottom: 10px; }
.step p { font-size: 15px; }

/* ── What To Do ── */
.todo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.todo-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.todo-icon {
  width: 44px;
  height: 44px;
  background: var(--green-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.todo-item h4 { margin-bottom: 6px; font-family: inherit; font-size: 16px; font-weight: 700; color: var(--gray-800); }
.todo-item p { font-size: 14px; margin: 0; }

/* ── Case Types ── */
.case-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-type {
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: box-shadow .2s, border-color .2s;
}
.case-type:hover { box-shadow: var(--shadow-md); border-color: var(--gold); }
.case-type .icon { font-size: 36px; margin-bottom: 12px; }
.case-type h4 { margin-bottom: 8px; font-family: inherit; font-weight: 700; color: var(--gray-800); }
.case-type p { font-size: 14px; }

/* ── Trust Bar ── */
.trust-bar {
  background: var(--navy);
  color: var(--white);
  padding: 40px 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  text-align: center;
}
.trust-item .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold-light);
  font-family: 'Playfair Display', Georgia, serif;
}
.trust-item .lbl {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  margin-top: 4px;
}

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}
.faq-q:hover { color: var(--navy); }
.faq-q .arrow { font-size: 20px; color: var(--gray-400); transition: transform .2s; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-a { max-height: 500px; }
.faq-a p { padding: 0 0 20px; font-size: 15px; }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.7); max-width: 500px; margin: 0 auto 30px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-cta {
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-cta-primary { background: var(--gold); color: var(--white); }
.btn-cta-primary:hover { background: var(--gold-light); text-decoration: none; }
.btn-cta-secondary { background: rgba(255,255,255,.1); color: var(--white); border: 1px solid rgba(255,255,255,.25); }
.btn-cta-secondary:hover { background: rgba(255,255,255,.2); text-decoration: none; }

/* ── Footer ── */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand .logo { color: var(--white); font-size: 22px; display: inline-block; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--gray-500); max-width: 320px; line-height: 1.6; }
.footer h4 { color: var(--gray-300); font-size: 14px; font-weight: 600; margin-bottom: 14px; font-family: inherit; text-transform: uppercase; letter-spacing: .5px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: var(--gray-400); font-size: 14px; text-decoration: none; }
.footer ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.7;
}
.footer-disclaimer { max-width: 800px; margin-top: 12px; font-size: 11px; color: var(--gray-600); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero .container { flex-direction: column; }
  .lead-form-card { min-width: auto; max-width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .todo-grid { grid-template-columns: 1fr; }
  .case-types { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 50px 0 60px; }
  .hero-stats { gap: 20px; }
  .phone-banner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .case-types { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; }
  .header-phone .label { display: none; }
  .trust-items { gap: 24px; }
}

/* ── Form success state ── */
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success .check { font-size: 48px; margin-bottom: 16px; }
.form-success h3 { color: var(--green); margin-bottom: 8px; }
.form-success p { font-size: 15px; }

/* ── Google Fonts preload ── */
