/* LeadVault — Dallas Hail Damage Roofing Landing Page
   Palette: Blue / White / Gray. Clean, professional, high-trust.
   Audience: Homeowners with storm damage, not contractors. */

:root {
  --blue-900: #0f2342;
  --blue-800: #1a3a6b;
  --blue-700: #1e4d9c;
  --blue-600: #2563b0;
  --blue-500: #3b82c4;
  --blue-400: #60a5e0;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  --gray-900: #111827;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;

  --white:    #ffffff;
  --amber:    #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.12);

  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.12);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);

  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-head: 'Fraunces', Georgia, serif;
}

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

body {
  background: var(--white);
  color: var(--gray-700);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ─────────────────────────────── */
.nav {
  background: var(--blue-900);
  padding: 0;
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo svg { color: var(--amber); }
.nav-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.3px;
}

/* ── Hero ────────────────────────────────────── */
.hero {
  background:
    linear-gradient(160deg, rgba(15,35,66,0.88) 0%, rgba(26,58,107,0.82) 60%, rgba(30,77,156,0.76) 100%),
    url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_162140/6b684ae5-d709-46dc-b267-c8b19ae1c228.jpg') center/cover no-repeat;
  padding: 72px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(37,99,176,0.20) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(37,99,176,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.35);
  color: var(--amber);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.hero-headline em {
  font-style: normal;
  color: var(--amber);
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-urgency {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 12px;
}
.hero-urgency strong { color: var(--amber); }

/* ── Lead Form ───────────────────────────────── */
.lead-form-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.form-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.form-sub {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 24px;
  line-height: 1.5;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--gray-50);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59,130,196,0.15);
  background: var(--white);
}
.form-group input::placeholder { color: var(--gray-400); }
textarea.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--gray-50);
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea.form-control:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59,130,196,0.15);
  background: var(--white);
}
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--blue-700);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.btn-submit:hover { background: var(--blue-600); transform: translateY(-1px); }
.btn-submit:active { transform: translateY(0); }
.form-note {
  font-size: 11px;
  color: var(--gray-400);
  text-align: center;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.form-note svg { flex-shrink: 0; }
.form-success {
  display: none;
  text-align: center;
  padding: 24px 0;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 56px;
  height: 56px;
  background: #ecfdf5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #10b981;
}
.form-success h3 {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.form-success p { font-size: 14px; color: var(--gray-500); }

/* ── Proof Bar ───────────────────────────────── */
.proof-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 24px;
}
.proof-bar-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}
.proof-stat {
  padding: 24px 28px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.proof-stat:last-child { border-right: none; }
.proof-stat-val {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 900;
  color: var(--blue-700);
  margin-bottom: 4px;
}
.proof-stat-lbl {
  font-size: 12px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ── How It Works ───────────────────────────── */
.how { padding: 80px 24px; background: var(--white); }
.how-inner { max-width: 1120px; margin: 0 auto; }
.section-header { margin-bottom: 48px; }
.section-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue-500);
  margin-bottom: 10px;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.section-header p { font-size: 16px; color: var(--gray-500); max-width: 520px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  text-align: center;
  padding: 28px 20px;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  background: var(--gray-50);
  position: relative;
}
.step-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-100);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--blue-600);
}
.step-num {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--blue-700);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.step h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.step p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ── Why LeadVault ──────────────────────────── */
.why {
  padding: 80px 24px;
  background: var(--blue-900);
  position: relative;
  overflow: hidden;
}
.why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(37,99,176,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.why-inner {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}
.why .section-header h2 { color: var(--white); }
.why .section-header p { color: rgba(255,255,255,0.6); }
.why .section-tag { color: var(--amber); }
.differentiators {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.diff-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px;
}
.diff-icon {
  width: 40px;
  height: 40px;
  background: rgba(245,158,11,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--amber);
}
.diff-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.diff-card p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.6; }
.diff-badge {
  display: inline-block;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  color: #6ee472;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* ── Insurance Section ───────────────────────── */
.insurance {
  padding: 80px 24px;
  background: var(--gray-50);
  border-top: 1px solid var(--border);
}
.insurance-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.insurance-content h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.insurance-content p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
}
.insurance-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.insurance-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-700);
}
.insurance-checklist li svg { color: var(--blue-500); flex-shrink: 0; margin-top: 1px; }
.insurance-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--blue-700);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s;
}
.insurance-cta:hover { background: var(--blue-600); }
.insurance-graphic {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.insurance-card {
  background: var(--white);
  border: 1.5px solid var(--border-strong);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.ins-card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  flex-shrink: 0;
}
.ins-card-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 3px;
}
.ins-card-text p { font-size: 13px; color: var(--gray-500); }

/* ── Closing CTA ────────────────────────────── */
.closing {
  padding: 100px 24px;
  background: linear-gradient(180deg, var(--blue-900) 0%, var(--blue-800) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59,130,196,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.closing h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.closing p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 36px;
}
.closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--amber);
  color: var(--gray-900);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.closing-cta:hover { background: #d97706; transform: translateY(-2px); }

/* ── Footer ─────────────────────────────────── */
.footer {
  background: var(--gray-900);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.footer-brand {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-tagline { font-size: 13px; color: var(--gray-500); margin-bottom: 12px; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.2); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 13px;
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { order: -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why .section-header { text-align: center; }
  .differentiators { grid-template-columns: 1fr; }
  .insurance-inner { grid-template-columns: 1fr; }
  .insurance-graphic { display: none; }
  .proof-bar-inner { grid-template-columns: 1fr 1fr; }
  .proof-stat { border-bottom: 1px solid var(--border); }
}

@media (max-width: 600px) {
  .hero { padding: 48px 20px 56px; }
  .proof-bar { padding: 24px 20px; }
  .proof-bar-inner { grid-template-columns: 1fr; }
  .proof-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .proof-stat:last-child { border-bottom: none; }
  .steps { grid-template-columns: 1fr; }
  .how, .why, .insurance { padding: 60px 20px; }
  .closing { padding: 72px 20px; }
  .nav-inner { padding: 0 20px; }
  .footer-inner { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
}