/* ======================================================
   Vehicle Claim Center — Main Stylesheet
   Palette:
     Navy      #0B2447
     Steel Blue #1F6FB2
     Light BG  #EAF2FB
     Amber CTA #F2994A
     Body text  #4A5568
====================================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #4A5568;
  background: #ffffff;
}

img, svg { display: block; max-width: 100%; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, serif;
  color: #0B2447;
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.5rem; }
h4 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: #1F6FB2; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

ul { list-style: none; padding: 0; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }
.section-light { background: #EAF2FB; }

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1F6FB2;
  margin-bottom: 12px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  padding: 13px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s, border-color 0.18s;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid #F2994A;
  outline-offset: 3px;
}

.btn-amber {
  background: #F2994A;
  color: #0B2447;
  border-color: #F2994A;
}
.btn-amber:hover {
  background: #e8882e;
  border-color: #e8882e;
  box-shadow: 0 4px 16px rgba(242,153,74,0.35);
  transform: translateY(-1px);
  color: #0B2447;
}

.btn-primary {
  background: #1F6FB2;
  color: #ffffff;
  border-color: #1F6FB2;
}
.btn-primary:hover {
  background: #155d96;
  border-color: #155d96;
  box-shadow: 0 4px 14px rgba(31,111,178,0.3);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: #1F6FB2;
  border-color: #1F6FB2;
}
.btn-outline:hover {
  background: #EAF2FB;
  color: #0B2447;
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #D9E8F5;
  box-shadow: 0 2px 12px rgba(11,36,71,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}

.logo { flex-shrink: 0; }
.logo-svg { height: 44px; width: auto; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0B2447;
  text-decoration: none !important;
  white-space: nowrap;
}
.phone-link:hover { color: #1F6FB2; }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0B2447;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-top: 1px solid #D9E8F5;
  background: #ffffff;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer .phone-link { font-size: 1.1rem; }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #0B2447 0%, #1F6FB2 100%);
  padding: 80px 0 70px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text { color: #ffffff; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F2994A;
  margin-bottom: 14px;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 20px;
}
.hero h1 .accent { color: #F2994A; }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 28px;
  line-height: 1.65;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.trust-badge svg { color: #F2994A; flex-shrink: 0; }

.hero-illustration { display: flex; justify-content: center; align-items: center; }
.hero-svg { width: 100%; max-width: 400px; drop-shadow: 0 8px 32px rgba(0,0,0,0.15); }

/* --- What We Do --- */
.what-we-do h2 { margin-bottom: 36px; }

.what-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.what-text p { color: #4A5568; }

.what-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.what-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: #4A5568;
}
.what-list li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231F6FB2'%3E%3Cpath fill-rule='evenodd' d='M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 2px;
}

.what-svg { width: 100%; max-width: 320px; margin: 0 auto; filter: drop-shadow(0 8px 24px rgba(11,36,71,0.1)); }

/* --- How We Help cards --- */
.how-we-help h2 { margin-bottom: 40px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: #ffffff;
  border: 1px solid #D9E8F5;
  border-radius: 14px;
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(11,36,71,0.1);
  transform: translateY(-4px);
  border-color: #1F6FB2;
}

.card-icon { width: 48px; height: 48px; margin-bottom: 18px; }

.card h3 { color: #0B2447; margin-bottom: 10px; }
.card p { font-size: 0.9rem; color: #4A5568; }

/* --- Why Choose Us --- */
.why-us h2 { margin-bottom: 40px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(11,36,71,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.why-card:hover {
  box-shadow: 0 8px 28px rgba(11,36,71,0.12);
  transform: translateY(-3px);
}

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
}
.why-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.why-card p { font-size: 0.88rem; color: #4A5568; }

/* --- Trust Bar --- */
.trust-bar {
  background: #0B2447;
  padding: 48px 0;
  color: #ffffff;
}

.trust-bar-note {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #F2994A;
  margin-bottom: 24px;
  text-align: center;
}

.trust-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 40px;
  flex: 1;
  min-width: 160px;
}

.stat-number {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #F2994A;
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  text-align: center;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #1F6FB2 0%, #0B2447 100%);
  padding: 64px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-text h2 { color: #ffffff; margin-bottom: 10px; }
.cta-text p { color: rgba(255,255,255,0.85); max-width: 560px; }

/* --- Intake Form --- */
.intake-section {
  background: #EAF2FB;
  padding: 80px 0;
}
.intake-section h2 { margin-bottom: 10px; }
.form-intro {
  font-size: 0.95rem;
  color: #4A5568;
  margin-bottom: 36px;
  max-width: 560px;
}

.form-wrap {
  background: #ffffff;
  border-radius: 18px;
  padding: 40px 48px;
  box-shadow: 0 4px 40px rgba(11,36,71,0.1);
  max-width: 760px;
}

/* Progress indicator */
.form-progress { margin-bottom: 36px; }

.progress-steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.step-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #D9E8F5;
  background: #EAF2FB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #a0aec0;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.progress-step.active .step-dot {
  background: #1F6FB2;
  border-color: #1F6FB2;
  color: #ffffff;
}

.progress-step.completed .step-dot {
  background: #0B2447;
  border-color: #0B2447;
  color: #F2994A;
}

.step-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: #a0aec0;
  white-space: nowrap;
  text-align: center;
  transition: color 0.25s;
}
.progress-step.active .step-label { color: #1F6FB2; font-weight: 600; }
.progress-step.completed .step-label { color: #0B2447; }

.progress-connector {
  flex: 1;
  height: 2px;
  background: #D9E8F5;
  margin-bottom: 22px;
  transition: background 0.3s;
}
.progress-connector.filled { background: #0B2447; }

/* Fieldsets / Steps */
fieldset { border: none; padding: 0; }

.form-step { display: none; }
.form-step.active { display: block; }

.step-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #0B2447;
  margin-bottom: 24px;
}

/* Field groups */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.field-row.single { grid-template-columns: 1fr; max-width: 340px; }

.field-group { display: flex; flex-direction: column; gap: 6px; }

label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0B2447;
  line-height: 1.3;
}

.required { color: #E53E3E; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #C8D8E8;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #0B2447;
  background: #ffffff;
  transition: border-color 0.18s, box-shadow 0.18s;
  -webkit-appearance: none;
  appearance: none;
}

input:focus, select:focus {
  outline: none;
  border-color: #1F6FB2;
  box-shadow: 0 0 0 3px rgba(31,111,178,0.15);
}

input.error, select.error {
  border-color: #E53E3E;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.12);
}

.field-error {
  font-size: 0.8rem;
  color: #E53E3E;
  font-weight: 500;
  min-height: 1em;
  display: block;
}

/* Radio cards (vehicle type) */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.radio-card {
  cursor: pointer;
}
.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.radio-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border: 1.5px solid #C8D8E8;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #4A5568;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
  min-width: 80px;
  text-align: center;
}
.radio-card input:checked + .radio-label {
  border-color: #1F6FB2;
  background: #EAF2FB;
  color: #0B2447;
}
.radio-card input:focus-visible + .radio-label {
  outline: 3px solid #F2994A;
  outline-offset: 2px;
}
.radio-label svg { color: #1F6FB2; }

/* Y/N groups */
.yn-group, .select-group {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.yn-option {
  cursor: pointer;
}
.yn-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.yn-option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 22px;
  border: 1.5px solid #C8D8E8;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4A5568;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}
.yn-option input:checked + span {
  border-color: #1F6FB2;
  background: #EAF2FB;
  color: #0B2447;
  font-weight: 600;
}
.yn-option input:focus-visible + span {
  outline: 3px solid #F2994A;
  outline-offset: 2px;
}

/* Step nav */
.step-nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #EAF2FB;
}

/* Consent block */
.consent-block {
  background: #F7FAFC;
  border: 1px solid #C8D8E8;
  border-radius: 10px;
  padding: 20px 22px;
  margin: 20px 0;
}
.consent-block h4 { margin-bottom: 10px; }

.consent-text {
  font-size: 0.82rem;
  color: #4A5568;
  line-height: 1.6;
  margin-bottom: 14px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #0B2447;
  cursor: pointer;
  line-height: 1.4;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid #C8D8E8;
  border-radius: 4px;
  background: #ffffff;
  cursor: pointer;
  margin-top: 1px;
  accent-color: #1F6FB2;
}

.btn-submit { width: 100%; justify-content: center; }

.form-footnote {
  font-size: 0.75rem;
  color: #a0aec0;
  text-align: center;
  margin-top: 14px;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 48px 24px;
}
.success-icon { width: 72px; height: 72px; margin: 0 auto 20px; }
.form-success h3 { margin-bottom: 12px; }
.form-success p { color: #4A5568; font-size: 0.95rem; }

/* --- Footer --- */
.site-footer {
  background: #0B2447;
  color: rgba(255,255,255,0.75);
  padding: 56px 0 0;
}

.footer-inner {}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {}
.footer-logo { margin-bottom: 14px; }
.logo-svg-light text { fill: #EAF2FB; }
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
  line-height: 1.6;
}
.footer-phone {
  font-weight: 600;
  font-size: 1rem;
  color: #F2994A;
  text-decoration: none !important;
}
.footer-phone:hover { color: #ffffff; }

.footer-links h4, .footer-legal-links h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.footer-links ul li, .footer-legal-links ul li { margin-bottom: 10px; }
.footer-links a, .footer-legal-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none !important;
  transition: color 0.18s;
}
.footer-links a:hover, .footer-legal-links a:hover { color: #ffffff; }

.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 28px 0;
}
.disclaimer-warning {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #F2994A;
  margin-bottom: 10px;
}
.footer-disclaimer p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 8px;
}

/* ======================================================
   RESPONSIVE
====================================================== */

/* Large tablets */
@media (max-width: 1024px) {
  .cards-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Tablets */
@media (max-width: 768px) {
  section { padding: 56px 0; }

  .header-nav { display: none; }
  .mobile-menu-toggle { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .trust-badges { justify-content: center; }
  .hero-cta { margin: 0 auto; }
  .hero-illustration { order: -1; }
  .hero-svg { max-width: 280px; }

  .what-inner { grid-template-columns: 1fr; }
  .what-image { order: -1; }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .form-wrap { padding: 28px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .field-row.single { max-width: 100%; }

  .trust-stats { flex-direction: column; gap: 24px; align-items: flex-start; }
  .stat { align-items: flex-start; padding: 0 20px; }
  .stat-divider { display: none; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
}

/* Mobile */
@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  .cards-grid, .why-grid { grid-template-columns: 1fr; }
  .header-cta { display: none; }
  .radio-group { gap: 8px; }
  .radio-label { min-width: 70px; padding: 10px 12px; }
  .step-label { display: none; }
  .form-wrap { border-radius: 12px; }
  .progress-step { flex: 0 0 auto; }
}

/* Focus-visible outline for keyboard nav */
:focus-visible {
  outline: 3px solid #F2994A;
  outline-offset: 2px;
}
a:focus-visible, button:focus-visible { border-radius: 4px; }
