:root {
  --navy-950: #071120;
  --navy-900: #0b192c;
  --navy-800: #132a4a;
  --navy-700: #1e3e62;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --accent-500: #f97316;
  --accent-600: #ea580c;
  --cta-500: #ff6b00;
  --cta-600: #e05300;
  --emerald-600: #059669;
  --emerald-50: #ecfdf5;
  --danger-600: #dc2626;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(11, 25, 44, 0.08);
  --shadow-md: 0 10px 25px -5px rgba(11, 25, 44, 0.1), 0 8px 10px -6px rgba(11, 25, 44, 0.06);
  --shadow-lg: 0 20px 40px -12px rgba(11, 25, 44, 0.18);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--slate-900);
  background-color: var(--slate-50);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Top Trust Bar */
.trust-topbar {
  background-color: #040a14;
  color: var(--slate-200);
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trust-pills {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  color: #cbd5e1;
}

.trust-pill svg {
  color: #fb923c;
  flex-shrink: 0;
}

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: #cbd5e1;
}

.topbar-divider {
  color: rgba(255, 255, 255, 0.2);
}

/* Header & Navigation */
.site-header {
  background: var(--navy-950);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.85rem;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #fb923c;
  margin-top: 0.18rem;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  list-style: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate-200);
  white-space: nowrap;
}

.nav-links li {
  white-space: nowrap;
}

.nav-links a {
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #fb923c;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.18s ease;
  border: none;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, #ff7a00, #ea580c);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.38);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.52);
}

.btn-navy {
  background-color: var(--navy-900);
  color: var(--white);
}

.btn-navy:hover {
  background-color: var(--navy-800);
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at top right, #1e3e62 0%, #0b192c 60%, #071120 100%);
  color: var(--white);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.15rem;
}

.hero p {
  font-size: 1.12rem;
  color: var(--slate-200);
  margin-bottom: 2rem;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.highlight-stat strong {
  display: block;
  font-size: 1.35rem;
  color: #38bdf8;
}

.highlight-stat span {
  font-size: 0.85rem;
  color: var(--slate-200);
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.hero-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.hero-card p {
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

.hero-line-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.hero-line-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 25, 44, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-line-list li span.tag {
  font-size: 0.75rem;
  color: #7dd3fc;
  background: rgba(2, 132, 199, 0.25);
  padding: 0.15rem 0.55rem;
  border-radius: 99px;
}

/* Section Headers */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.25rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-600);
  display: block;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: var(--navy-900);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--slate-600);
  font-size: 1.05rem;
}

/* Coverage Cards Grid */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.coverage-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.coverage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-500);
}

.coverage-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--slate-100);
  color: var(--navy-800);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.coverage-card h3 {
  font-size: 1.3rem;
  color: var(--navy-900);
  margin-bottom: 0.65rem;
}

.coverage-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.coverage-benefits {
  list-style: none;
  margin-bottom: 1.75rem;
  display: grid;
  gap: 0.45rem;
}

.coverage-benefits li {
  font-size: 0.88rem;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.coverage-benefits li::before {
  content: "✓";
  color: var(--emerald-600);
  font-weight: 800;
}

/* About / Why Choose Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.why-number {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-600);
  background: rgba(2, 132, 199, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.25rem;
  color: var(--navy-900);
  margin-bottom: 0.65rem;
}

.why-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
}

/* Lead Intake Form Section */
.form-section {
  background: linear-gradient(180deg, var(--slate-100) 0%, var(--slate-50) 100%);
}

.form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}

.form-banner {
  background: var(--navy-900);
  color: var(--white);
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-banner h2 {
  font-size: 1.65rem;
  margin-bottom: 0.25rem;
}

.form-banner p {
  color: var(--slate-200);
  font-size: 0.95rem;
}

.ssl-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
}

.intake-form {
  padding: 2.5rem;
}

.form-fieldset-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-800);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--slate-100);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.form-grid-4 {
  display: grid;
  grid-template-columns: 2fr 1.2fr 0.8fr 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
}

.required-star {
  color: var(--danger-600);
  margin-left: 2px;
}

.optional-tag {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--slate-500);
  margin-left: 0.25rem;
}

.form-control {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--slate-900);
  background: var(--slate-50);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

/* Insurance Type Checkboxes */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.checkbox-tile {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--slate-50);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-900);
  transition: all 0.15s ease;
}

.checkbox-tile:hover {
  border-color: var(--accent-500);
  background: var(--white);
}

.checkbox-tile input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy-900);
  cursor: pointer;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-200);
}

.routing-note {
  font-size: 0.82rem;
  color: var(--slate-500);
}

.success-alert {
  display: none;
  background: var(--emerald-50);
  border: 1px solid #34d399;
  color: #065f46;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.success-alert.visible {
  display: block;
}

.success-alert h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

/* Contact & Support Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-size: 1.15rem;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-200);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.footer-badge {
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.92rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--slate-500);
}

@media (max-width: 900px) {
  .hero-grid,
  .why-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-grid,
  .form-grid-4 {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}
