/* =================================================================
   PRIME CRS — DESIGN TOKENS
   ================================================================= */
:root {
  /* Color */
  --ink: #0d0f12;
  --charcoal: #1e242b;
  --charcoal-soft: #2a323b;
  --blue-deep: #0f3d91;
  --blue: #1e5fd9;
  --blue-bright: #3e7bff;
  --white: #ffffff;
  --fog: #f5f7fa;
  --line: #e2e6ea;
  --success: #1f8a4c;
  --error: #c0392b;

  /* Type */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --max-width: 1240px;
  --radius: 6px;
  --shadow-card: 0 4px 24px rgba(13, 15, 18, 0.08);
  --shadow-float: 0 12px 32px rgba(13, 15, 18, 0.18);
}

/* =================================================================
   RESET / BASE
   ================================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.nav-open,
body.popup-open {
  overflow: hidden;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

.accent {
  color: var(--blue-bright);
}

:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: var(--white);
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* =================================================================
   BUTTONS
   ================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-deep);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--ink);
}

.btn-phone {
  background: var(--blue);
  color: var(--white);
  padding: 10px 18px;
  font-size: 0.9rem;
  border-radius: 999px;
}
.btn-phone:hover {
  background: var(--blue-deep);
}

.btn-block {
  width: 100%;
}

/* =================================================================
   HAIL-DIMPLE TEXTURE (signature motif)
   Subtle recurring dot-grid used inside blue accent panels to tie
   the diagonal-blue visual language back to the actual subject.
   ================================================================= */
.dimple-texture {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.14) 1.5px, transparent 1.6px);
  background-size: 18px 18px;
}

/* =================================================================
   HEADER
   ================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(13, 15, 18, 0.08);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo span.mark {
  color: var(--blue);
}
.logo small {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  margin-top: 3px;
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
  font-size: 0.87rem;
  white-space: nowrap;
}

.main-nav a {
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.main-nav a:hover,
.main-nav a.is-active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 84px 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: 24px;
  overflow-y: auto;
}
.mobile-nav.is-open {
  display: block;
}
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.mobile-nav a {
  display: block;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn {
  margin-top: 20px;
}

@media (min-width: 1180px) {
  .main-nav {
    display: block;
  }
  .nav-toggle {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--fog);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 40px;
  padding: 56px 0 0;
}

.hero-content h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-sub {
  margin-top: 18px;
  font-size: 1.08rem;
  color: var(--charcoal);
  max-width: 46ch;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.hero-benefit {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-benefit .icon {
  width: 34px;
  height: 34px;
  color: var(--blue);
}
.hero-benefit strong {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.hero-benefit p {
  font-size: 0.85rem;
  color: var(--charcoal-soft);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-visual {
  /* No clip-path here — it lives on .hero-visual-inner instead, so the
     floating badge below can overflow the diagonal panel without being
     clipped along with it (clip-path clips anything rendered outside
     its own shape, including content pushed out by negative margin). */
  position: relative;
  min-height: 320px;
  padding-bottom: 24px;
}

.hero-visual-inner {
  position: relative;
  min-height: 320px;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(160deg, var(--blue-deep), var(--ink));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  height: 100%;
}

.hero-visual .dimple-layer {
  position: absolute;
  inset: 0;
}

.hero-visual svg.hero-car {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
}

.hero-badge {
  position: relative;
  z-index: 2;
  margin-left: auto;
  margin-top: -20px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 280px;
  box-shadow: var(--shadow-float);
}
.hero-badge .icon {
  width: 26px;
  height: 26px;
  color: var(--blue-bright);
  flex-shrink: 0;
}
.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  margin-bottom: 4px;
}
.hero-badge p {
  font-size: 0.78rem;
  color: #cfd8e6;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 72px 0 0;
  }
  .hero-visual {
    min-height: 460px;
    align-self: stretch;
  }
}

/* =================================================================
   SPLIT — HAIL vs COLLISION
   ================================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr;
}

.split-panel {
  padding: 56px 24px;
  color: var(--white);
}
.split-panel.hail {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
}
.split-panel.collision {
  background: var(--ink);
}

.split-panel .split-inner {
  max-width: 480px;
  margin: 0 auto;
}

.split-panel .eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.split-panel h2 {
  font-size: 1.9rem;
  margin-top: 8px;
}

.split-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.split-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
}
.split-list .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--blue-bright);
}
.split-panel.hail .split-list .icon {
  color: #cfe0ff;
}

.split-panel .btn {
  margin-top: 32px;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split-panel {
    padding: 80px 40px;
  }
}

/* =================================================================
   TRUST SECTION
   ================================================================= */
.section {
  padding: 72px 0;
}
.section-fog {
  background: var(--fog);
}
.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.section-heading h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}
.section-heading p {
  margin-top: 14px;
  color: var(--charcoal-soft);
}
.section-dark .section-heading p {
  color: #b9c2cf;
}

.trust-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.trust-item,
.why-item {
  text-align: center;
  padding: 0 8px;
}
.trust-item .icon-wrap,
.why-item .icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1.5px solid rgba(62, 123, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.trust-item .icon-wrap svg,
.why-item .icon-wrap svg {
  width: 26px;
  height: 26px;
  color: var(--blue-bright);
}
.trust-item h3,
.why-item h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.trust-item p,
.why-item p {
  font-size: 0.85rem;
  color: #b9c2cf;
}

.why-grid {
  grid-template-columns: repeat(2, 1fr);
}
.why-item p {
  color: var(--charcoal-soft);
}

@media (min-width: 700px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =================================================================
   HOW IT WORKS (tabs + steps)
   ================================================================= */
.tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 0 auto 48px;
  max-width: 480px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 4px;
}
.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #b9c2cf;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px 10px;
  border-radius: 4px;
  transition: background 0.15s ease, color 0.15s ease;
}
.tab-btn.is-active {
  background: var(--blue);
  color: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.steps[hidden] {
  display: none;
}

.step {
  text-align: center;
}
.step .step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.step h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.step p {
  font-size: 0.85rem;
  color: #b9c2cf;
}

.steps-cta {
  text-align: center;
  margin-top: 48px;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* =================================================================
   GALLERY PREVIEW
   ================================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--charcoal), var(--charcoal-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8fa0b5;
  font-size: 0.78rem;
  text-align: center;
  padding: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.gallery-cta {
  text-align: center;
  margin-top: 40px;
}

@media (min-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =================================================================
   INSURANCE SECTION
   ================================================================= */
.insurance-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.insurance-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.insurance-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.insurance-list .icon {
  width: 18px;
  height: 18px;
  color: var(--blue);
  margin-top: 3px;
  flex-shrink: 0;
}
.insurance-disclaimer {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--charcoal-soft);
}

@media (min-width: 900px) {
  .insurance-layout {
    grid-template-columns: 1fr 1fr;
  }
}

/* =================================================================
   TESTIMONIALS
   ================================================================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.testimonial-card p.quote {
  font-size: 0.95rem;
  color: var(--charcoal);
}
.testimonial-card .attribution {
  margin-top: 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--charcoal-soft);
}
.testimonial-card.placeholder {
  border-style: dashed;
  color: #97a1ab;
}
.testimonial-card.placeholder p.quote {
  color: #97a1ab;
  font-style: italic;
}

.testimonials-cta {
  text-align: center;
  margin-top: 36px;
}

@media (min-width: 900px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .testimonial-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .testimonial-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Star rating row for real reviews */
.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}
.stars svg {
  width: 16px;
  height: 16px;
  color: #f5b400;
}
.testimonial-card .review-source {
  font-weight: 400;
  color: var(--charcoal-soft);
}
.testimonial-card .review-meta {
  margin-top: 2px;
  font-size: 0.76rem;
  font-weight: 400;
  color: #97a1ab;
}

/* Aggregate rating badge — small trust chip pairing the star row
   with the overall Google rating and review count. */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: var(--shadow-card);
}
.rating-badge .stars {
  margin-bottom: 0;
}
.rating-badge strong {
  font-family: var(--font-display);
  font-size: 1rem;
}
.rating-badge span.count {
  color: var(--charcoal-soft);
  font-size: 0.85rem;
}

/* =================================================================
   SERVICE AREA
   ================================================================= */
.service-area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}
.service-area-list span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* =================================================================
   FAQ
   ================================================================= */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question .chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-question[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 20px 20px;
  font-size: 0.9rem;
  color: var(--charcoal-soft);
}

/* =================================================================
   FINAL CTA BAND
   ================================================================= */
.final-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-deep), var(--ink));
  color: var(--white);
  text-align: center;
  padding: 72px 24px;
}
.final-cta .dimple-layer {
  position: absolute;
  inset: 0;
}
.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.final-cta h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.5rem);
}
.final-cta p {
  margin-top: 14px;
  color: #cfd8e6;
}
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

/* =================================================================
   INLINE LEAD FORM (embedded section)
   ================================================================= */
.lead-form-section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  padding: 28px;
  margin-top: -60px;
  position: relative;
  z-index: 3;
}
.lead-form-section h2 {
  font-size: 1.3rem;
}
.lead-form-section > p {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--charcoal-soft);
}

.lead-form {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.lead-form .field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--charcoal);
}
.field input,
.field select {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 11px 12px;
  font-size: 0.92rem;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
}
.field input:focus,
.field select:focus {
  border-color: var(--blue);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--error);
}
.field-error {
  font-size: 0.76rem;
  color: var(--error);
}

.form-status {
  font-size: 0.85rem;
  padding: 10px 12px;
  border-radius: 4px;
}
.form-status--success {
  background: rgba(31, 138, 76, 0.1);
  color: var(--success);
}
.form-status--error {
  background: rgba(192, 57, 43, 0.1);
  color: var(--error);
}

@media (min-width: 700px) {
  .lead-form .field-row-2 {
    grid-template-columns: 1fr 1fr;
  }
  .lead-form .field-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* =================================================================
   LEAD POPUP (modal)
   ================================================================= */
.lead-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 15, 18, 0.55);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}
.lead-popup-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.lead-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-float);
  z-index: 151;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  padding: 28px;
}
.lead-popup.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

.lead-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lead-popup-close svg {
  width: 16px;
  height: 16px;
}

.lead-popup .eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.lead-popup h2 {
  font-size: 1.3rem;
  margin-top: 6px;
}
.lead-popup > p {
  margin-top: 6px;
  font-size: 0.86rem;
  color: var(--charcoal-soft);
}

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer {
  background: var(--ink);
  color: #b9c2cf;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.footer-brand .logo {
  color: var(--white);
}
.footer-brand p {
  margin-top: 14px;
  font-size: 0.88rem;
  max-width: 320px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}
.footer-col a:hover {
  color: var(--white);
}

.footer-contact li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.footer-contact .icon {
  width: 16px;
  height: 16px;
  color: var(--blue-bright);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.8rem;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

/* =================================================================
   PHASE 2 — SERVICE PAGE COMPONENTS
   ================================================================= */

/* Page hero (used on Hail / PDR / Collision / other inner pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-deep), var(--ink));
  color: var(--white);
  padding: 40px 0 64px;
}
.page-hero .dimple-layer {
  position: absolute;
  inset: 0;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  margin-top: 14px;
  max-width: 20ch;
}
.page-hero p {
  margin-top: 16px;
  max-width: 56ch;
  color: #cfd8e6;
  font-size: 1.02rem;
}
.page-hero .hero-ctas {
  margin-top: 28px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: #b9c2cf;
}
.breadcrumb a {
  color: #cfd8e6;
}
.breadcrumb a:hover {
  color: var(--white);
}
.breadcrumb span[aria-hidden] {
  color: #6b7684;
}
.breadcrumb .current {
  color: var(--white);
  font-weight: 600;
}

/* Two-column content + sticky sidebar CTA, used on service pages */
.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.content-main {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.content-main h2 {
  font-size: 1.6rem;
}
.content-main .lede {
  margin-top: 12px;
  color: var(--charcoal-soft);
  max-width: 68ch;
}

.sidebar-cta {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  padding: 26px;
}
.sidebar-cta h3 {
  font-size: 1.05rem;
}
.sidebar-cta p {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--charcoal-soft);
}
.sidebar-cta .btn {
  margin-top: 18px;
}
.sidebar-cta .sidebar-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue);
}
.sidebar-cta .sidebar-phone .icon {
  width: 16px;
  height: 16px;
}
.sidebar-quick-facts {
  list-style: none;
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
}
.sidebar-quick-facts li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.sidebar-quick-facts .icon {
  width: 15px;
  height: 15px;
  color: var(--blue);
  margin-top: 3px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .content-layout {
    grid-template-columns: 2fr 1fr;
  }
  .sidebar-cta {
    position: sticky;
    top: 104px;
  }
}

/* Generic icon-checklist — alias of .insurance-list, reused across service pages */
.icon-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.icon-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.icon-list .icon {
  width: 18px;
  height: 18px;
  color: var(--blue);
  margin-top: 3px;
  flex-shrink: 0;
}

/* Damage / benefit icon grid — reuses why-grid visual rhythm on light sections */
.damage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.damage-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.damage-item .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--fog);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.damage-item .icon-wrap svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
}
.damage-item h3 {
  font-size: 0.92rem;
}
.damage-item p {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--charcoal-soft);
}

@media (min-width: 700px) {
  .damage-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Related-services strip, used at the end of service pages for internal linking */
.related-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.related-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.related-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}
.related-card .eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.related-card h3 {
  font-size: 1.02rem;
  margin-top: 6px;
}
.related-card p {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--charcoal-soft);
}

@media (min-width: 700px) {
  .related-services {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =================================================================
   PHASE 3 — GALLERY, MAP, CONTACT PAGE COMPONENTS
   ================================================================= */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}
.filter-btn {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--charcoal);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.filter-btn.is-active,
.filter-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.gallery-grid-full {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 700px) {
  .gallery-grid-full {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-info-card .icon {
  width: 22px;
  height: 22px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-card h3 {
  font-size: 0.95rem;
}
.contact-info-card p,
.contact-info-card a {
  font-size: 0.88rem;
  color: var(--charcoal-soft);
  margin-top: 4px;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  padding: 28px;
}
.contact-form-card h2 {
  font-size: 1.3rem;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

/* FAQ page — grouped categories */
.faq-category {
  margin-bottom: 44px;
}
.faq-category h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--blue);
}

/* =================================================================
   PHASE 2 CORRECTIONS
   ================================================================= */

/* Branded before/after placeholder (replaces raw visible file paths).
   The real asset path lives only in a data-attribute for developer
   reference — never rendered as visible text. */
.ba-placeholder {
  aspect-ratio: 4 / 3;
  min-width: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--charcoal), var(--charcoal-soft));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  color: #cfd8e6;
}
.ba-placeholder-tag {
  overflow-wrap: break-word;
}
.ba-placeholder-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(62, 123, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-placeholder-icon svg {
  width: 20px;
  height: 20px;
  color: var(--blue-bright);
}
.ba-placeholder-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--white);
}
.ba-placeholder-tag {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8fa0b5;
}

/* Feature-card grid — replaces plain bullet lists for service-overview
   content, so services read as designed cards rather than floating text. */
.feature-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
.feature-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.feature-card .icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fog);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-card .icon-wrap svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}
.feature-card h3 {
  font-size: 0.95rem;
}
.feature-card p {
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--charcoal-soft);
}

@media (min-width: 700px) {
  .feature-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Page-hero trust badges — mirrors homepage hero-benefits so service
   page heroes carry the same visual weight instead of hero + link text. */
.page-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.page-hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cfd8e6;
}
.page-hero-badge .icon {
  width: 20px;
  height: 20px;
  color: var(--blue-bright);
  flex-shrink: 0;
}

/* Step connector line — desktop only, gives the process section a
   visible sequential thread instead of five floating circles. */
@media (min-width: 900px) {
  .steps {
    position: relative;
  }
  .step {
    position: relative;
  }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20px;
    left: calc(50% + 34px);
    width: calc(100% - 68px);
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
  }
  .section:not(.section-dark) .step:not(:last-child)::after {
    background: var(--line);
  }
}

/* =================================================================
   PHASE 3.1 — IMAGE-LED SERVICE PAGE COMPONENTS
   Additive only. Nothing below modifies an existing selector, so
   pages that don't opt into these classes render exactly as before.
   ================================================================= */

/* Media frame — aspect-ratio image container with a branded fallback
   layer underneath. If the <img> 404s, its inline onerror hides it,
   revealing the fallback rather than a broken-image icon. */
.media-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  max-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--charcoal), var(--charcoal-soft));
}
.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  color: #cfd8e6;
}
.media-fallback .media-fallback-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(62, 123, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.media-fallback .media-fallback-icon svg {
  width: 26px;
  height: 26px;
  color: var(--blue-bright);
}
.media-fallback-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
}
.media-fallback-tag {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8fa0b5;
}

/* Hero variant — 16:9, shorter than the 4:3 default so it never
   dominates the top of the page, especially on mobile where the
   image stacks above the H1. */
.media-frame.frame-16x9 {
  aspect-ratio: 16 / 9;
  max-height: 300px;
}

/* Gallery variant — 3:2, deliberately compact for grids of several
   before/after tiles side by side. */
.media-frame.frame-3x2 {
  aspect-ratio: 3 / 2;
  max-height: 220px;
}

/* Page hero grid — opt-in two-column variant of .page-hero-inner for
   service pages that lead with a large image. Pages that keep using
   plain .page-hero-inner (no grid class) are completely unaffected. */
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.page-hero-grid .page-hero-media {
  order: -1;
}
.page-hero-grid .media-frame {
  box-shadow: var(--shadow-float);
}
@media (min-width: 1024px) {
  .page-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .page-hero-grid .page-hero-media {
    order: 0;
  }
}


/* Generic two-column text + media split, reusable across any section
   that needs to pair a paragraph block with a supporting image. */
.split-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .split-content {
    grid-template-columns: 1fr 1fr;
  }
  .split-content.media-first .split-content-media {
    order: -1;
  }
}

/* Blue-tinted section — an alternative to .section-dark for content
   that should visually echo the homepage's hail split-panel blue. */
.section-blue {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: var(--white);
}
.section-blue .section-heading p {
  color: #dbe6ff;
}
.section-blue p {
  color: #e4ecff;
}
.section-blue a:not(.btn) {
  color: var(--white);
  text-decoration: underline;
}

/* PDR-vs-conventional comparison cards */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 28px;
}
.comparison-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.comparison-card-header {
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}
.comparison-card.pdr .comparison-card-header {
  background: var(--blue);
}
.comparison-card.conventional .comparison-card-header {
  background: var(--charcoal);
}
.comparison-card-header .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.comparison-card-body {
  padding: 22px;
}
.comparison-card-body .icon-list {
  margin-top: 0;
}
@media (min-width: 900px) {
  .comparison-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Insurance / short-copy callout card — for approved copy blocks that
   are intentionally brief and shouldn't be padded with invented text. */
.callout-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
}
.callout-card p {
  color: var(--charcoal);
}
.callout-card p + p {
  margin-top: 12px;
}

/* =================================================================
   PHASE 3.2 — COLLISION PAGE COMPONENTS
   Additive only. Nothing below modifies an existing selector.
   ================================================================= */

/* 7-step process variant — higher specificity than the base .steps
   media-query rule, so it safely overrides column count without
   touching the 5-step layout used on the hail page or homepage. */
/* 4-step process variant (used on the insurance claims page) — same
   safe pattern as steps-7: higher specificity than the base .steps
   media query, single column on mobile, 2-up then 4-up as width grows. */
.steps.steps-4 {
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .steps.steps-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .steps.steps-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.steps.steps-7 {
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .steps.steps-7 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .steps.steps-7 {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1440px) {
  .steps.steps-7 {
    grid-template-columns: repeat(7, 1fr);
  }
}
/* Decorative connector lines assume a 5-item layout; suppress them
   for the 7-step variant rather than risk misaligned segments. */
.steps.steps-7 .step::after {
  display: none !important;
}

/* 3-column damage/service grid modifier for larger item counts. */
@media (min-width: 700px) {
  .damage-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Sub-feature grid — image + heading + copy, used inside dark/charcoal
   sections that group several related H3 subsections under one H2. */
.subfeature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 36px;
}
.subfeature-item h3 {
  margin-top: 16px;
  font-size: 1.02rem;
}
.subfeature-item p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #b9c2cf;
}
@media (min-width: 900px) {
  .subfeature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Towing callout modifier — visually distinct from the blue insurance
   callout so the two adjacent callouts don't read as identical. */
.callout-card.towing {
  border-left-color: var(--ink);
}
.callout-card .callout-safety-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--charcoal-soft);
}

/* Standalone safety strip — carries the towing safety note as a
   shared, full-width notice instead of buried inside one card, so
   it's both more visible and no longer the reason the two support
   cards above it were mismatched in height. */
.safety-strip {
  max-width: 820px;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff8ec;
  border: 1px solid #f0ddb3;
  border-radius: var(--radius);
  padding: 16px 20px;
}
.safety-strip .icon {
  width: 22px;
  height: 22px;
  color: #b5820a;
  flex-shrink: 0;
}
.safety-strip p {
  font-size: 0.85rem;
  color: #6b5518;
  margin: 0;
}
@media (max-width: 560px) {
  .safety-strip {
    flex-direction: column;
    text-align: center;
  }
}

/* =================================================================
   PHASE 2.5 — PREMIUM PRESENTATION LAYER (collision page)
   Every rule below is scoped to a new modifier class. Nothing here
   edits an existing selector, so hail-damage-repair.html and every
   other page keep rendering exactly as they did before this pass.
   ================================================================= */

/* ---- Premium photo-placeholder card ----
   The signature component: instead of apologizing for being a
   placeholder, it owns it — a confident "spec sheet" card with an
   eyebrow, a rounded-square camera glyph, a label, and a caption. */
.media-frame.premium {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
}
.media-frame.premium.on-light {
  border-color: var(--line);
}
.media-fallback.premium {
  gap: 10px;
}
.media-fallback.premium .media-fallback-icon.square {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(62, 123, 255, 0.14);
  border: 1px solid rgba(62, 123, 255, 0.3);
}
.media-fallback.premium .media-fallback-icon.square svg {
  width: 24px;
  height: 24px;
}
.media-fallback-eyebrow {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
/* On short frames (16:9 at narrow mobile widths), drop the eyebrow
   and shrink the icon slightly so nothing gets clipped by the
   frame's overflow:hidden boundary. */
@media (max-width: 480px) {
  .media-frame.frame-16x9 .media-fallback-eyebrow {
    display: none;
  }
  .media-frame.frame-16x9 .media-fallback.premium {
    gap: 8px;
  }
  .media-frame.frame-16x9 .media-fallback.premium .media-fallback-icon.square {
    width: 44px;
    height: 44px;
  }
  .media-frame.frame-16x9 .media-fallback.premium .media-fallback-icon.square svg {
    width: 20px;
    height: 20px;
  }
}
.media-fallback.premium .media-fallback-label {
  font-size: 0.92rem;
}
.media-fallback.premium .media-fallback-tag {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
  color: #8fa0b5;
}

/* ---- Hero diagonal accent ----
   Echoes the homepage's diagonal hero-visual language so this page's
   hero feels like it belongs to the same site, not a generic split. */
.page-hero-grid.diagonal .page-hero-media {
  position: relative;
}
.page-hero-grid.diagonal .media-frame {
  position: relative;
}
.page-hero-grid.diagonal .media-frame::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent 40%, rgba(62, 123, 255, 0.16) 100%);
  z-index: 2;
  pointer-events: none;
}
.page-hero-grid.diagonal .media-frame::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue-deep));
  z-index: 2;
}

/* ---- Elevated sub-feature cards (Body / Bumper / Structural) ----
   Cards get their own raised panel against the dark section instead
   of sitting flush with the background, so they read as cards. */
.subfeature-grid.elevated {
  gap: 24px;
}
.subfeature-item.elevated-card {
  background: var(--charcoal-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.subfeature-item.elevated-card:hover {
  transform: translateY(-3px);
  border-color: rgba(62, 123, 255, 0.35);
}
.subfeature-item.elevated-card .media-frame {
  margin: -22px -22px 18px;
  border-radius: 10px 10px 0 0;
}
.subfeature-item.elevated-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.subfeature-item.elevated-card .icon-wrap svg {
  width: 26px;
  height: 26px;
}

/* ---- Callout card header (icon + heading row) ----
   Gives the insurance/towing callouts a stronger focal point without
   changing their existing left-border-accent identity. */
.callout-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.callout-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(62, 123, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.callout-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}
.callout-card.towing .callout-card-icon {
  background: rgba(13, 15, 18, 0.06);
}
.callout-card.towing .callout-card-icon svg {
  color: var(--ink);
}
.callout-card-header h3 {
  font-size: 1.02rem;
}

/* ---- Fact strip (repair-timeline factors as compact chips) ----
   Replaces a bare bullet list with a scannable row of small cards. */
.fact-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.fact-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
}
.fact-chip .icon {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex-shrink: 0;
}
@media (min-width: 700px) {
  .fact-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- Trust cards (Why Choose) ----
   Elevated cards instead of floating icons. Scoped to .cards so the
   homepage's plain why-grid is completely unaffected. */
.why-grid.cards {
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.why-grid.cards .why-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.why-grid.cards .why-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
}
.why-grid.cards .why-item .icon-wrap {
  border: none;
  background: rgba(62, 123, 255, 0.1);
}
@media (min-width: 700px) {
  .why-grid.cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---- Mini banner (Warranty) ----
   A slim highlighted strip instead of bare text floating alone. */
.mini-banner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--fog);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 28px;
}
.mini-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(62, 123, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mini-banner-icon svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
}
.mini-banner h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.mini-banner p {
  color: var(--charcoal-soft);
  font-size: 0.92rem;
}

/* ---- Portfolio gallery ----
   A real multi-card portfolio grid instead of one lonely tile. */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.portfolio-card {
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}
.portfolio-card .media-frame {
  border-radius: 0;
  border: none;
  box-shadow: none;
}
.portfolio-card-body {
  padding: 16px 18px;
}
.portfolio-card-body h3 {
  font-size: 0.92rem;
}
.portfolio-card-body p {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--charcoal-soft);
}
@media (min-width: 700px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- Process rail connector (7-step variant) ----
   A single horizontal rail behind the step numbers, rather than
   per-segment lines whose math assumes a 5-item layout. */
.steps.steps-7.rail {
  position: relative;
}
@media (min-width: 700px) {
  .steps.steps-7.rail::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 0;
  }
  .steps.steps-7.rail .step {
    position: relative;
    z-index: 1;
  }
  .steps.steps-7.rail .step-number {
    box-shadow: 0 0 0 6px var(--ink);
  }
}

/* ---- Decorative "learn more" affordance ----
   Non-link visual cue on elevated cards; purely presentational. */
.card-affordance {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--blue-bright);
}
.card-affordance svg {
  width: 14px;
  height: 14px;
  transition: transform 0.18s ease;
}
.elevated-card:hover .card-affordance svg {
  transform: translateX(3px);
}

/* ---- Final CTA with media background ----
   Opt-in modifier so every other page's plain final-cta is untouched. */
.final-cta.media-bg {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
}
.final-cta.media-bg .final-cta-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.final-cta.media-bg .final-cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.final-cta.media-bg .final-cta-media-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--charcoal), var(--ink));
}
.final-cta.media-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 61, 145, 0.55), rgba(13, 15, 18, 0.88));
}
.final-cta.media-bg .final-cta-inner {
  position: relative;
  z-index: 2;
}
.final-cta.media-bg h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  max-width: 640px;
  margin: 0 auto;
}
.final-cta.media-bg p {
  max-width: 520px;
  margin: 16px auto 0;
}

@media (min-width: 700px) {
  .final-cta.media-bg {
    padding: 120px 0;
  }
}

/* ---- Narrow-viewport button safety net ----
   .btn uses white-space: nowrap sitewide, which is fine for short CTA
   labels but forces horizontal scroll if a longer approved CTA string
   (e.g. "Request a Collision Repair Estimate") doesn't fit a narrow
   screen. Allowing wrap only below 420px is a no-op for every shorter
   CTA already in use — text that already fits on one line renders
   identically either way — and prevents overflow for longer ones. */
@media (max-width: 420px) {
  .btn {
    white-space: normal;
    text-align: center;
  }
}

/* =================================================================
   ART DIRECTION PASS — new components only, nothing existing edited.
   ================================================================= */

/* Stat block — pairs with intro copy to fill wide-screen whitespace
   and add an early trust/emotional beat using only already-approved
   facts (Family Owned Since 1989). */
.stat-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 36px 32px;
  text-align: center;
}
.stat-block .stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--blue);
}
.stat-block .stat-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  margin-bottom: 6px;
}
.stat-block .stat-caption {
  display: block;
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
}
.stat-block hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}
.stat-block .stat-sub {
  font-size: 0.85rem;
  color: var(--charcoal-soft);
}

/* Pull-quote band — a full-width colored section that turns a short
   approved paragraph into a real typographic moment instead of a
   small centered block floating in whitespace. */
.pullquote-band {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  padding: 72px 0;
  text-align: center;
}
.pullquote-band .eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cfe0ff;
  margin-bottom: 18px;
}
.pullquote-band blockquote {
  margin: 0 auto;
  max-width: 780px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  line-height: 1.35;
  color: var(--white);
}
.pullquote-band .pullquote-heading {
  margin-top: 22px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #cfe0ff;
  text-transform: uppercase;
}

/* Support grid — Insurance + Towing side by side instead of stacked
   full-width sections, so the two related "support during your
   repair" topics read as one composed section, not two repeats. */
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .support-grid .callout-card {
    min-height: 300px;
  }
}

/* Card top-accent — fixes the "uneven empty space at the bottom"
   perception on cards with variable paragraph length by anchoring
   the eye to a consistent top edge instead. */
.elevated-card.top-accent {
  border-top: 3px solid var(--blue-bright);
  padding-top: 24px;
}

/* Process closing note — carries the approved Reassembly copy as a
   supporting detail directly under the process it describes, instead
   of a disconnected standalone section repeating the same beat. */
.process-note {
  max-width: 700px;
  margin: 32px auto 0;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.process-note p {
  color: #b9c2cf;
  font-size: 0.92rem;
}

/* Why-choose closing strip — carries the approved Warranty copy as a
   closing highlight inside the same section as the trust cards,
   instead of a separate section repeating a point already made. */
.why-closing-strip {
  margin-top: 40px;
}
