/* Bob Weaver Collision — Auto Body & Collision Repair Theme */
:root {
  --bg: #f7f7f7;
  --bg-alt: #eef0f2;
  --card: #ffffff;
  --text: #1e2a3a;
  --heading: #0f1d3a;
  --muted: #5a6a85;
  --line: #e2e2e2;
  --brand: #F77E4C;
  --brand-light: #FF976B;
  --brand-dark: #e06835;
  --accent: #F77E4C;
  --accent-light: #FF976B;
  --success: #1a7a3a;
  --error: #b8242a;
  --header-bg: #1a1a2e;
  --shadow-sm: 0 2px 8px rgba(15, 29, 58, 0.06);
  --shadow: 0 8px 24px rgba(15, 29, 58, 0.09);
  --shadow-lg: 0 16px 48px rgba(15, 29, 58, 0.13);
  --radius: 10px;
  --radius-lg: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

/* --- Skip link (a11y) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--brand);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 100;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* --- Links --- */
a { color: var(--brand); transition: color 0.2s; }
a:hover { color: var(--brand-dark); }
a:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 2px;
  border-radius: 3px;
}

/* --- Container --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ==========  HEADER  ========== */
header {
  background: var(--header-bg);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  gap: 16px;
}
.site-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-title img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}
.site-title:hover { color: #fff; opacity: 0.88; }

.nav nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
.nav nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 7px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav nav a:hover,
.nav nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.phone-link {
  color: var(--accent-light) !important;
  font-weight: 700 !important;
  font-size: 0.88rem;
  padding: 7px 14px !important;
  border: 1px solid rgba(247, 126, 76, 0.4) !important;
  border-radius: 6px !important;
  text-decoration: none;
  margin-left: 6px;
  white-space: nowrap;
  background: transparent;
  transition: all 0.2s;
}
.phone-link:hover {
  background: rgba(247, 126, 76, 0.14) !important;
  color: #fff !important;
}

/* Hamburger button — hidden on desktop, shown on mobile via media query */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  width: 44px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==========  HERO (homepage)  ========== */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4a 40%, #F77E4C 100%);
  color: #fff;
  padding: 72px 0 64px;
  text-align: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  margin: 0 0 14px;
  line-height: 1.18;
}
.hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}
.hero .cta {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 15px 36px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  margin: 0 8px 12px;
}
.hero .cta:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
}
.hero .cta:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}
.hero .cta-secondary {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 28px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  margin: 0 8px 12px;
}
.hero .cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

/* ==========  PAGE HERO (inner pages)  ========== */
.page-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4a 70%, #F77E4C 100%);
  color: #fff;
  padding: 48px 0 40px;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  margin: 0 0 10px;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  margin: 0;
  max-width: 640px;
}

/* ==========  SECTIONS  ========== */
section { padding: 48px 0; }
section.container {
  padding-top: 48px !important;
  padding-bottom: 56px !important;
}

/* Alt section background */
.bg-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ==========  TYPOGRAPHY  ========== */
h1, h2, h3, h4 {
  color: var(--heading);
  line-height: 1.24;
  letter-spacing: -0.015em;
}
h1 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  margin: 0.2rem 0 0.7rem;
}
h2 {
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  margin: 1.8rem 0 0.7rem;
}
h3 {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  margin: 1.4rem 0 0.45rem;
}
h4 {
  font-size: 1rem;
  margin: 1.2rem 0 0.4rem;
}
p { margin: 0.6rem 0; }
p:last-child { margin-bottom: 0; }

.muted { color: var(--muted); }
.lead {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 66ch;
  line-height: 1.7;
}

/* Constrain prose width */
section.container > p:not(.muted),
section.container > h2,
section.container > h3 { max-width: 72ch; }

/* Subtitle pill */
section.container > .muted:first-of-type {
  display: inline-block;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Prose styling for inner content pages */
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; color: var(--brand-dark); }
.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.prose li { margin-bottom: 0.4rem; }
.prose img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 1rem 0;
}

/* ==========  GRID & CARDS  ========== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin: 1.2rem 0 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 28px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 1.2rem 0 1.5rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.card h3 { margin-top: 0; }
.card .muted { color: var(--muted); font-size: 0.94rem; }

/* Linked card */
a.card {
  text-decoration: none;
  color: inherit;
  display: block;
}
a.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: inherit;
}
a.card h3 { color: var(--brand-dark); margin-top: 0; }

figcaption.muted {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--muted);
}

/* ==========  SERVICE CARDS  ========== */
.service-card {
  border-left: 4px solid var(--brand);
  padding-left: 22px;
}
.service-card h3 { margin-top: 0; }
.service-card h3 a {
  text-decoration: none;
  color: var(--heading);
}
.service-card h3 a:hover { color: var(--brand); }
.service-card p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 0;
}

/* Service icon — circular container */
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.service-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ==========  HOW IT WORKS — STEP PROCESS  ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin: 2rem 0;
  counter-reset: step-counter;
}
.step {
  text-align: center;
  padding: 28px 20px;
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.step h3 {
  margin-top: 0;
  margin-bottom: 8px;
}
.step p {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0;
}

/* Connector line between steps (desktop only) */
@media (min-width: 761px) {
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -16px;
    width: 28px;
    height: 2px;
    background: var(--line);
  }
}

/* ==========  BEFORE / AFTER SLIDER  ========== */
.ba-slider {
  position: relative;
  max-width: 700px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.ba-slider img {
  display: block;
  width: 100%;
  height: auto;
}
.ba-slider .ba-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  resize: horizontal;
  min-width: 20%;
  max-width: 80%;
}
.ba-slider .ba-before img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-width: 0;
}
/* Resize handle styling */
.ba-slider .ba-before::-webkit-resizer {
  background: transparent;
}
.ba-slider .ba-before::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: var(--brand);
  cursor: ew-resize;
  box-shadow: 0 0 8px rgba(247, 126, 76, 0.4);
}
.ba-slider .ba-label {
  position: absolute;
  bottom: 12px;
  background: rgba(26, 26, 46, 0.8);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
}
.ba-slider .ba-label-before { left: 12px; }
.ba-slider .ba-label-after { right: 12px; }

/* ==========  TRUST BAR  ========== */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 18px 24px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
.trust-bar span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.trust-bar strong { color: var(--heading); font-weight: 700; }

/* Badge pill */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-dark);
  background: rgba(247, 126, 76, 0.1);
  border: 1px solid rgba(247, 126, 76, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
}
.badge--success {
  color: var(--success);
  background: rgba(26, 122, 58, 0.08);
  border-color: rgba(26, 122, 58, 0.2);
}

/* ==========  REVIEWS & STAR RATINGS  ========== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin: 1.5rem 0;
}
.review-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.review-card .stars {
  color: #f5a623;
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.review-card blockquote {
  margin: 0 0 12px;
  padding: 0;
  font-style: italic;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}
.review-card .reviewer {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--heading);
}
.review-card .review-source {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Star rating utility */
.stars { color: #f5a623; letter-spacing: 2px; }
.stars-muted { color: var(--line); }

/* ==========  INSURANCE / PARTNER LOGO BAR  ========== */
.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 28px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin: 1.5rem 0;
}
.logo-bar img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.25s;
}
.logo-bar img:hover {
  filter: grayscale(0%) opacity(1);
}
.logo-bar .logo-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: 100%;
  text-align: center;
  margin-bottom: 4px;
}

/* ==========  CTA BANNER — full-width call to action  ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.cta-banner h2 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto 24px;
}
.cta-banner .cta {
  display: inline-block;
  background: #fff;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  margin: 0 8px 10px;
}
.cta-banner .cta:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  color: var(--brand-dark);
}
.cta-banner .phone-big {
  display: inline-block;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.cta-banner .phone-big:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* ==========  FAQ ACCORDION  ========== */
.faq-list {
  max-width: 760px;
  margin: 1.5rem 0;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  background: var(--card);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item:hover {
  box-shadow: var(--shadow-sm);
}
.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--brand-light);
}
.faq-item summary {
  padding: 16px 20px;
  font-weight: 650;
  font-size: 0.97rem;
  color: var(--heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.15s;
}
.faq-item summary:hover {
  background: var(--bg-alt);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }
/* Chevron indicator */
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--brand);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '\2212'; /* minus sign */
}
.faq-item .faq-answer {
  padding: 0 20px 18px;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.7;
}
.faq-item .faq-answer p:first-child { margin-top: 0; }

/* ==========  GALLERY — responsive image grid  ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 1.5rem 0;
}
.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--line);
}
.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow);
}
.gallery-grid figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
  text-align: center;
}

/* ==========  FEATURED IMAGE  ========== */
.featured-img {
  margin: 0 0 1.5rem;
  max-width: 480px;
}
.featured-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
figure.featured-img figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px;
}

/* ==========  CTA LINK (button-style)  ========== */
.cta-link {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}
.cta-link:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
}
.cta-link:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 3px;
}
.cta-link--outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.cta-link--outline:hover {
  background: var(--brand);
  color: #fff;
}
.cta-link--white {
  background: #fff;
  color: var(--brand-dark);
}
.cta-link--white:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-dark);
}

/* ==========  CONTACT GRID & FORM  ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 1.2rem 0;
}
.contact-card { padding: 28px; }

/* Contact info cards */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.info-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.info-card .icon { font-size: 1.8rem; margin-bottom: 8px; }
.info-card h3 { font-size: 1rem; margin-bottom: 6px; margin-top: 0; }
.info-card p { color: var(--muted); font-size: 0.9rem; }
.info-card a { color: var(--brand); font-weight: 600; }

/* Lead capture form */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lead-form label {
  font-weight: 620;
  font-size: 0.93rem;
  color: var(--heading);
}
.lead-form .required { color: var(--error); }
.lead-form input,
.lead-form textarea,
.lead-form select {
  font: inherit;
  font-size: 0.95rem;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(247, 126, 76, 0.14);
}
.lead-form textarea {
  resize: vertical;
  min-height: 110px;
}

.lead-form button {
  align-self: flex-start;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 32px;
  border: none;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.lead-form button:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}
.lead-form button:disabled { opacity: 0.6; cursor: wait; }
.lead-form button:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 3px;
}

.form-msg { font-size: 0.93rem; min-height: 1.4em; }
.form-msg.success { color: var(--success); }
.form-msg.error { color: var(--error); }

/* Turnstile captcha wrapper */
.turnstile-wrap { margin: 8px 0 4px; }

/* ==========  PHOTO UPLOAD — estimate form  ========== */
.photo-upload {
  position: relative;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  background: var(--bg);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.photo-upload:hover,
.photo-upload.drag-over {
  border-color: var(--brand);
  background: rgba(247, 126, 76, 0.04);
}
.photo-upload input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.photo-upload .upload-icon {
  font-size: 2rem;
  color: var(--brand);
  margin-bottom: 8px;
}
.photo-upload .upload-text {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}
.photo-upload .upload-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ==========  HOURS TABLE  ========== */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 0.5rem 0;
}
.hours-table tr {
  border-bottom: 1px solid var(--line);
}
.hours-table tr:last-child { border-bottom: none; }
.hours-table td {
  padding: 8px 0;
}
.hours-table td:first-child {
  font-weight: 600;
  color: var(--heading);
  padding-right: 16px;
}
.hours-table td:last-child {
  color: var(--muted);
  text-align: right;
}
.hours-table .today {
  color: var(--brand);
  font-weight: 600;
}

/* ==========  MAP EMBED  ========== */
.map-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin: 1rem 0;
}
.map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========  CONTENT LAYOUT (sidebar)  ========== */
.content-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 80px;
}
.sidebar-cta {
  background: var(--header-bg);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 20px;
}
.sidebar-cta h3 { color: #fff; margin: 0 0 10px; }
.sidebar-cta p { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; margin-bottom: 16px; }
.sidebar-cta .btn {
  display: block;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 10px;
  transition: background 0.2s;
}
.sidebar-cta .btn:hover { background: var(--brand-dark); color: #fff; }
.sidebar-cta .phone-big {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-light);
  text-decoration: none;
}
.sidebar-cta .phone-big:hover { color: #fff; }

/* ==========  TAGS  ========== */
.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-dark);
  background: rgba(247, 126, 76, 0.08);
  border: 1px solid rgba(247, 126, 76, 0.2);
  padding: 2px 10px;
  border-radius: 999px;
  text-decoration: none;
}
.tag:hover {
  background: rgba(247, 126, 76, 0.16);
  color: var(--brand-dark);
}

/* ==========  ARTICLE CARDS  ========== */
.article-card h3 {
  margin-top: 0;
  margin-bottom: 4px;
}
.article-card h3 a {
  text-decoration: none;
  color: var(--heading);
}
.article-card h3 a:hover { color: var(--brand); }
.article-card .excerpt {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
  margin: 0;
}
.article-card .meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.article-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

/* ==========  SERVICE LIST (checklist style)  ========== */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-list li:last-child { border-bottom: none; }
.check { color: var(--success); font-weight: 700; }

/* ==========  RELATED ARTICLES  ========== */
.related-articles {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.related-articles h3 { margin-top: 0; }
.related-articles ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}
.related-articles li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.related-articles li:last-child { border-bottom: none; }
.related-articles a {
  text-decoration: none;
  font-weight: 500;
}

/* ==========  FOOTER  ========== */
footer {
  background: #121225;
  color: rgba(255, 255, 255, 0.72);
  padding: 48px 0 24px;
  margin-top: 0;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}
footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
footer a { color: rgba(255, 255, 255, 0.65); text-decoration: none; }
footer a:hover { color: #fff; }
.footer-brand {
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.footer-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 340px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 0.88rem;
  padding: 2px 0;
}
.footer-links a:hover { color: var(--accent-light); }
.footer-phone {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-light);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.footer-phone:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.45); }
.footer-bottom a:hover { color: #fff; }

/* Legacy footer layout (simple) */
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.86rem;
  transition: all 0.2s;
}
.footer-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.footer-info {
  width: 100%;
  text-align: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ==========  BUTTONS (.btn aliases for .cta-link)  ========== */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, color 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.4;
}
.btn:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn-white {
  background: #fff;
  color: var(--brand-dark);
  border-color: #fff;
}
.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-dark);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

/* ==========  CARD GRID  ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin: 1.2rem 0 1.5rem;
}

/* ==========  BREADCRUMB  ========== */
.breadcrumb {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-size: 0.85rem;
}
.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li:not(:last-child)::after {
  content: '/';
  color: var(--muted);
  font-size: 0.8rem;
}
.breadcrumb a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}
.breadcrumb a:hover { color: var(--brand-dark); text-decoration: underline; }
.breadcrumb [aria-current="page"] {
  color: var(--muted);
  font-weight: 500;
}

/* ==========  FORM GROUP (alias for form-field)  ========== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* ==========  GALLERY PLACEHOLDER  ========== */
.gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background: var(--bg-alt);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  padding: 20px;
  margin-bottom: 12px;
}

/* ==========  HERO SHORT (inner pages with hero class)  ========== */
.hero.hero-short {
  padding: 40px 0 32px;
}
.hero.hero-short h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  margin-bottom: 0;
}

/* ==========  HERO SUBTITLE  ========== */
.hero-subtitle {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}
.page-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  margin: 8px 0 0;
  max-width: 640px;
}

/* ==========  TRUST BAR INNER & BADGES  ========== */
.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 0.9rem;
}

/* ==========  CTA ACTIONS (button group)  ========== */
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ==========  INTRO TEXT  ========== */
.intro-text {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 72ch;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ==========  LINK ARROW (service card learn more)  ========== */
.link-arrow {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  margin-top: 8px;
  transition: color 0.2s;
}
.link-arrow::after {
  content: ' \2192';
  transition: margin-left 0.15s;
}
.link-arrow:hover { color: var(--brand-dark); }
.link-arrow:hover::after { margin-left: 4px; }

/* ==========  CTA SECTION  ========== */
.cta-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ==========  CTA PHONE  ========== */
.cta-phone {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  margin-top: 8px;
}
.cta-phone:hover { color: var(--brand-dark); }

/* ==========  RELATED SERVICES  ========== */
.related-services {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.related-services h3 { margin-top: 0; }

/* ==========  CONTENT PAGE  ========== */
.content-page {
  max-width: 72ch;
}

/* ==========  OEM LOGO GRID  ========== */
.cert-intro {
  max-width: 720px;
  margin: 0 0 1.5rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}
.oem-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 1rem 0 2rem;
  padding: 1.75rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.oem-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}
.oem-logo img {
  max-height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.oem-logo p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0;
  line-height: 1.4;
}
.oem-logo .oem-brands {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted, #666);
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .oem-logo-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.25rem;
  }
}

/* ==========  CERT LIST  ========== */
.cert-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cert-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--heading);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
}
.cert-list li::before {
  content: '\2713';
  color: var(--success);
  font-weight: 700;
}

/* ==========  CONTACT DETAIL  ========== */
.contact-detail {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.contact-detail:last-of-type { border-bottom: none; }
.contact-detail strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-detail p { margin: 0; }

/* ==========  UTILITIES  ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========  PRINT  ========== */
@media print {
  header, footer, .skip-link, .cta-banner,
  .trust-bar, .phone-link, .lead-form button,
  .turnstile-wrap, .photo-upload { display: none !important; }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
    line-height: 1.5;
  }
  .container { max-width: 100%; padding: 0; }

  a { color: #000; text-decoration: underline; }
  a[href]::after { content: ' (' attr(href) ')'; font-size: 0.8em; }
  a[href^="#"]::after,
  a[href^="tel:"]::after { content: ''; }

  .hero, .page-hero {
    background: none !important;
    color: #000 !important;
    padding: 20px 0;
  }
  .hero h1, .page-hero h1 { color: #000 !important; }
  .hero p, .page-hero p { color: #333 !important; }

  .card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  .grid { grid-template-columns: repeat(2, 1fr); }

  img { max-width: 100% !important; }
}

/* ==========  RESPONSIVE — Tablet (1024px)  ========== */
@media (max-width: 1024px) {
  .nav {
    min-height: 56px;
    padding: 10px 0;
    flex-wrap: wrap;
    align-items: center;
  }
  .site-title { font-size: 1rem; }
  .nav-toggle {
    display: flex;
  }
  .nav nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    margin-top: 10px;
    padding: 6px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-open nav {
    display: flex;
  }
  .nav nav a {
    width: 100%;
    padding: 12px 10px;
    font-size: 0.95rem;
    border-radius: 4px;
    white-space: nowrap;
  }
  .nav .phone-link {
    margin-left: auto;
    order: 0;
    font-size: 0.82rem;
    padding: 6px 10px !important;
  }

  .content-wrap {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* ==========  RESPONSIVE — Mobile (760px)  ========== */
@media (max-width: 760px) {
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 1.55rem; }
  .page-hero { padding: 36px 0 30px; }

  section { padding: 36px 0; }
  section.container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .cert-list { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; text-align: center; }

  .steps { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .lead-form button { width: 100%; }

  .reviews-grid { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .gallery-grid img { height: 150px; }

  .trust-bar { gap: 16px; font-size: 0.85rem; }
  .logo-bar { gap: 20px; }
  .logo-bar img { max-height: 36px; }

  .ba-slider { max-width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { flex-direction: column; text-align: center; }

  .nav .phone-link { margin-left: 0; }

  .content-wrap { grid-template-columns: 1fr; gap: 24px; }
}

/* ==========  PARTNER LOGOS BAR  ========== */
.partner-logos { padding: 2rem 0; background: #fff; border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; }
.partner-logo-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem 3rem; }
.partner-logo-item { color: var(--heading); font-size: 1.1rem; opacity: 0.7; }
.partner-logo-item img { max-height: 40px; filter: grayscale(100%); opacity: 0.7; transition: opacity 0.2s, filter 0.2s; }
.partner-logo-item img:hover { filter: grayscale(0%); opacity: 1; }

/* ==========  FEATURE GRID (6-box)  ========== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-box { text-align: center; padding: 1.5rem 1rem; }
.feature-box h4 { color: var(--heading); margin-bottom: 0.5rem; font-size: 1.05rem; }
.feature-box p { color: var(--text); font-size: 0.92rem; line-height: 1.5; }
@media (max-width: 760px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ==========  HOMEPAGE ESTIMATE FORM  ========== */
.estimate-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.estimate-info h2 { color: var(--heading); margin-bottom: 1rem; }
.estimate-contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.estimate-contact-list li { padding: 0.4rem 0; }
.estimate-contact-list a { color: var(--brand); }
.estimate-form-wrap .lead-form input,
.estimate-form-wrap .lead-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d0d0d0; border-radius: 6px;
  font-size: 0.95rem; font-family: inherit; background: #fff;
}
.estimate-form-wrap .lead-form textarea { resize: vertical; }
.estimate-form-wrap .lead-form .form-group { margin-bottom: 0.75rem; }
@media (max-width: 760px) {
  .estimate-form-grid { grid-template-columns: 1fr; }
}

/* ==========  RESPONSIVE — Small Mobile (480px)  ========== */
@media (max-width: 480px) {
  .site-title span { display: none; }
  .hero .cta { padding: 13px 24px; font-size: 0.95rem; }
  .hero .cta-secondary { padding: 11px 20px; font-size: 0.9rem; }
  .cta-banner .phone-big { font-size: 1.3rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .logo-bar img { max-height: 30px; }
  .step-number { width: 40px; height: 40px; font-size: 1.05rem; }
}

/* ==========  ESTIMATOR WIZARD  ========== */
.wizard {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  border: 1px solid var(--line);
}
@media (max-width: 600px) {
  .wizard { padding: 20px 16px; }
}

.wizard-progress {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  counter-reset: wstep;
}
.wizard-progress li {
  flex: 1;
  position: relative;
  height: 6px;
  background: var(--bg-alt);
  border-radius: 3px;
  counter-increment: wstep;
  overflow: hidden;
}
.wizard-progress li.done,
.wizard-progress li.active {
  background: var(--brand);
}
.wizard-progress-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 24px 0;
  font-weight: 500;
}
.wizard-progress-label b { color: var(--heading); font-weight: 700; }

.wizard-step { display: none; }
.wizard-step.active { display: block; animation: wizardFade 0.25s ease-out; }
@keyframes wizardFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.wizard-step h2 {
  margin: 0 0 6px 0;
  color: var(--heading);
  font-size: 1.6rem;
  line-height: 1.25;
}
.wizard-step .wizard-helper {
  margin: 0 0 24px 0;
  color: var(--muted);
  font-size: 1rem;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}
.choice-grid.two-up { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* Compact horizontal variant — icon left, label right, shorter cards */
.choice-grid.compact-row {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.choice-grid.compact-row .choice-card {
  flex-direction: row;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px 16px;
  min-height: 0;
  font-size: 0.95rem;
}
.choice-grid.compact-row .choice-card .choice-icon {
  font-size: 1.4rem;
}
.choice-grid.compact-row .choice-card .choice-sub { display: none; }
@media (max-width: 520px) {
  .choice-grid.compact-row { grid-template-columns: 1fr 1fr; }
  .choice-grid.compact-row .choice-card { padding: 10px 12px; font-size: 0.9rem; }
}

.choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 14px;
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  transition: all 0.18s ease;
  text-align: center;
  min-height: 110px;
  font-size: 0.98rem;
}
.choice-card:hover {
  border-color: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.choice-card.selected {
  border-color: var(--brand);
  background: #fff5ef;
  color: var(--heading);
}
.choice-card .choice-icon {
  font-size: 2rem;
  line-height: 1;
}
.choice-card .choice-sub {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

.wizard-banner {
  background: #fff5ef;
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 16px 0 12px 0;
}
.wizard-banner h3 {
  margin: 0 0 6px 0;
  color: var(--heading);
  font-size: 1.1rem;
}
.wizard-banner p { margin: 0 0 12px 0; color: var(--text); font-size: 0.95rem; }
.wizard-banner .btn { margin-top: 4px; }
.wizard-banner-skip {
  display: block;
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: underline;
}

.wizard-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-alt);
  padding: 4px;
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.wizard-tab {
  flex: 1;
  padding: 10px 14px;
  background: transparent;
  border: none;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.wizard-tab.active {
  background: var(--card);
  color: var(--heading);
  box-shadow: var(--shadow-sm);
}

.wizard-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 520px) {
  .wizard-grid-2 { grid-template-columns: 1fr; }
}

.vin-status {
  font-size: 0.88rem;
  margin-top: 6px;
  min-height: 18px;
}
.vin-status.success { color: var(--success); }
.vin-status.error { color: var(--error); }
.vin-status.loading { color: var(--muted); }

.conditional-block {
  display: none;
  margin-top: 18px;
  padding: 18px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-left: 3px solid var(--brand);
}
.conditional-block.show { display: block; }
.conditional-block h4 {
  margin: 0 0 4px 0;
  color: var(--heading);
  font-size: 1rem;
}
.conditional-block p {
  margin: 0 0 14px 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.text-photos-card {
  margin-top: 18px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #fff5ef 0%, #ffeadb 100%);
  border-radius: var(--radius);
  border: 1px solid var(--brand-light);
  display: flex;
  align-items: center;
  gap: 14px;
}
.text-photos-card .tp-icon { font-size: 2.2rem; line-height: 1; }
.text-photos-card .tp-text { flex: 1; }
.text-photos-card h4 {
  margin: 0 0 2px 0;
  color: var(--heading);
  font-size: 1rem;
}
.text-photos-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
}
.text-photos-card a { font-weight: 700; }

.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  gap: 12px;
}
.wizard-nav .btn { min-width: 110px; }
.wizard-nav .wiz-back {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--line);
}
.wizard-nav .wiz-back:hover {
  background: var(--bg-alt);
  color: var(--text);
  border-color: var(--muted);
}
.wizard-nav .wiz-next {
  background: var(--brand);
  color: #fff;
  border: 1.5px solid var(--brand);
}
.wizard-nav .wiz-next:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.wizard-nav .wiz-next:disabled { opacity: 0.5; cursor: not-allowed; }

.wizard-success {
  text-align: center;
  padding: 24px 12px;
}
.wizard-success .success-icon {
  font-size: 3.5rem;
  color: var(--success);
  line-height: 1;
}
.wizard-success h2 {
  margin: 12px 0 8px 0;
  color: var(--heading);
}
.wizard-success p { color: var(--muted); margin: 0 0 20px 0; }

.wiz-error-msg {
  color: var(--error);
  font-size: 0.9rem;
  margin: 8px 0 0 0;
  min-height: 18px;
}
