/* ============================================================
   Autometrix - Main Stylesheet
   Express Service • Tyres • Wheels
   ============================================================

   1.  Variables
   2.  Reset & Base
   3.  Typography
   4.  Utilities & Buttons
   5.  Navigation (transparent → frosted)
   6.  Hero Slideshow
   7.  Services Strip (home quick-view)
   8.  About Section
   9.  Stats Section
   10. Feature Callout - Free 20-Point Check
   11. Partners Marquee
   12. Clients Section
   13. Branches Section
   14. Testimonials
   15. Footer
   16. Scroll-to-top & Scroll Reveal
   17. Services Page
   18. Service Detail Page
   19. About Page
   20. Contact Page
   21. Responsive
   22. Reduced Motion

   ============================================================ */


/* ============================================================
   1. Variables
   ============================================================ */

:root {
  /* Brand */
  --red:        #9a0418;
  --red-dark:   #7a0312;
  --red-glow:   rgba(154, 4, 24, 0.14);
  --red-light:  rgba(154, 4, 24, 0.08);

  /* Palette - light theme */
  --white:      #FFFFFF;
  --warm:       #F8F6F2;
  --warm-2:     #F0EDE6;
  --dark:       #0E0F11;
  --charcoal:   #111218;
  --grey:       #6B7280;
  --grey-lt:    #9CA3AF;

  /* Borders */
  --border:     rgba(0, 0, 0, 0.07);
  --border-dk:  rgba(255, 255, 255, 0.09);

  /* Glass */
  --glass-bg:   rgba(255, 255, 255, 0.92);

  /* Layout */
  --topbar-h:   40px;
  --nav-h:      72px;
  --wrap:       1280px;
  --pad:        clamp(20px, 5vw, 80px);
  --sec-y:      100px;
  --sec-y-sm:   64px;

  /* Easing */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io:    cubic-bezier(0.65, 0, 0.35, 1);
}


/* ============================================================
   2. Reset & Base
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }


/* ============================================================
   3. Typography
   ============================================================ */

.overline {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.section-title--light { color: var(--white); }

.section-sub {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--grey);
  max-width: 520px;
}

.section-sub--light { color: rgba(255,255,255,0.72); }


/* ============================================================
   4. Utilities & Buttons
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header--center .section-sub { margin: 0 auto; }

/* --- Primary button --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border-radius: 5px;
  padding: 14px 28px;
  cursor: pointer;
  border: none;
  transition: all 220ms ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(204, 14, 45, 0.30);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-ghost:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn-ghost--white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  text-shadow: 0 1px 8px rgba(0,0,0,0.40);
}
.btn-ghost--white:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0,0,0,0.40);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.32);
}

.btn-text {
  background: none;
  border: none;
  padding: 0;
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: gap 200ms ease;
}
.btn-text:hover { gap: 10px; }

.btn-text--dark {
  color: var(--charcoal);
}
.btn-text--dark:hover { color: var(--red); }


/* ============================================================
   5. Navigation
   ============================================================ */

/* ── Sticky nav wrapper (topbar is separate, scrolls away) ── */
.amx-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* ── Topbar (normal flow, scrolls with page) ─────────────── */
.amx-topbar {
  position: relative;
  z-index: 5;
  height: var(--topbar-h);
  background: var(--red);
  color: rgba(255,255,255,0.92);
}

/* On the hero/home page the topbar overlays the hero image */
.amx-topbar.topbar-hero { background: rgba(0, 0, 0, 0.32); }

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar-h);
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-left .fa-map-marker-alt { font-size: 11px; }

.topbar-branch { white-space: nowrap; }

a.topbar-branch {
  text-decoration: none;
}
a.topbar-branch:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topbar-sep { opacity: 0.45; }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 200ms ease;
}
.topbar-phone:hover { opacity: 0.75; }
.topbar-phone .fas { font-size: 11px; }

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-socials a {
  font-size: 13px;
  transition: opacity 200ms ease;
}
.topbar-socials a:hover { opacity: 0.7; }

.amx-topbar a { color: rgba(255,255,255,0.90); }
.amx-topbar a:hover { color: #fff; }

/* ── Main nav ─────────────────────────────────────────────── */
.amx-nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition:
    background 200ms ease,
    backdrop-filter 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

/* Transparent state (over hero) */
.amx-nav.is-transparent {
  background: transparent;
  border-bottom: 1px solid transparent;
}

.amx-nav.is-transparent .nav-link         { color: rgba(255,255,255,0.90); text-shadow: 0 1px 6px rgba(0,0,0,0.45); }
.amx-nav.is-transparent .nav-link::after  { background: rgba(255,255,255,0.9); }
.amx-nav.is-transparent .nav-link:hover   { color: #fff; }
.amx-nav.is-transparent .nav-link.is-active { color: #fff; }
.amx-nav.is-transparent .nav-logo img     { filter: brightness(0) invert(1); }
.amx-nav.is-transparent .nav-burger span  { background: #fff; }
.amx-nav.is-transparent .nav-parts-btn {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.45);
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}
.amx-nav.is-transparent .nav-parts-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
}

/* Scrolled / frosted state */
.amx-nav.is-scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.amx-nav.is-scrolled .nav-link         { color: var(--charcoal); }
.amx-nav.is-scrolled .nav-logo img     { filter: none; }
.amx-nav.is-scrolled .nav-burger span  { background: var(--charcoal); }
.amx-nav.is-scrolled .nav-parts-btn {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.amx-nav.is-scrolled .nav-parts-btn:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

/* Nav inner layout */
.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 42px;
  width: auto;
  display: block;
  transition: filter 380ms ease;
}

/* Links centred */
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-actions { display: flex; align-items: center; margin-left: auto; gap: 12px; }

.nav-link {
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
  transition: color 250ms ease;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--red);
  transition: left 220ms var(--ease-out), right 220ms var(--ease-out);
}
.amx-nav.is-scrolled .nav-link.is-active::after { background: var(--red); }
.amx-nav.is-transparent .nav-link.is-active::after { background: #fff; }

.nav-link:hover::after,
.nav-link.is-active::after { left: 0; right: 0; }

.amx-nav.is-scrolled .nav-link.is-active { color: var(--red); }

/* Auto Parts Shop CTA in nav */
.nav-parts-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 5px;
  border: 1.5px solid var(--red);
  background: var(--red);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
  white-space: nowrap;
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 300ms ease, opacity 300ms ease, background 300ms ease;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  z-index: 999;
  flex-direction: column;
  align-items: stretch;
  opacity: 0;
  transition: opacity 300ms ease;
}
.nav-overlay.is-open { opacity: 1; }
.nav-overlay-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-overlay .nav-link {
  font-size: 26px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  padding: 14px 0;
  color: var(--charcoal);
}
.nav-overlay .nav-link:hover,
.nav-overlay .nav-link.is-active { color: var(--red); }
.nav-overlay .nav-link::after { display: none; }

.nav-overlay .nav-parts-btn {
  margin-top: 20px;
  font-size: 15px;
  padding: 14px 36px;
}

.nav-overlay-footer {
  flex-shrink: 0;
  padding: 16px 24px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.nav-overlay-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--grey);
}
.nav-overlay-contact a {
  color: var(--charcoal);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-overlay-contact a i { color: var(--red); font-size: 12px; }

.nav-overlay-socials {
  display: flex;
  gap: 10px;
}
.nav-overlay-socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.07);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 220ms, color 220ms, transform 220ms;
}
.nav-overlay-socials a:hover { background: var(--red); color: #fff; border-color: var(--red); transform: scale(1.05); }


/* ============================================================
   6. Hero Slideshow
   ============================================================ */

.amx-hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: var(--dark);
  margin-top: calc(-1 * (var(--topbar-h) + var(--nav-h)));
  margin-bottom: calc(-1 * (var(--topbar-h) + var(--nav-h)));
}

/* Background slides */
.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(var(--slide-scale, 1.0));
}

/* Top vignette - only covers nav area, fades to nothing below it */
.hero-top-vignette {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.20) 55%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Full overlay - uniform tint for text legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 2;
  pointer-events: none;
}

/* Content block */
.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding-bottom: 80px;
}

.hero-text-group {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  max-width: 680px;
}

.hero-text-group.is-active {
  display: flex;
  animation: heroTextIn 700ms var(--ease-out) both;
}

@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 18px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.50);
}

.hero-overline::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-headline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.45);
}

.hero-sub {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.72;
  color: rgba(255,255,255,0.80);
  margin-bottom: 36px;
  max-width: 500px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.40);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Navigation arrows + dots row */
.hero-nav {
  position: absolute;
  bottom: 32px;
  right: var(--pad);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  transition: background 220ms ease, border-color 220ms ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-arrow:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.55);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.30);
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    width 320ms cubic-bezier(0.34, 1.56, 0.64, 1),
    border-radius 320ms ease,
    background 320ms ease;
  flex-shrink: 0;
}

.hero-dot.is-active {
  width: 28px;
  border-radius: 4px;
  background: rgba(255,255,255,0.25);
}

.hero-dot.is-active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--white);
  border-radius: inherit;
  transform-origin: left center;
  transform: scaleX(var(--dot-progress, 0));
}

/* Scroll indicator */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hero-scroll-hint i {
  color: #fff;
  font-size: 16.5px;
  opacity: 0;
}


/* ============================================================
   7. Services Strip (Home quick-view)
   ============================================================ */

.services-section {
  background: var(--white);
  padding: var(--sec-y) 0;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition:
    transform 280ms var(--ease-out),
    box-shadow 280ms var(--ease-out),
    border-color 280ms ease;
  cursor: default;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.09);
  border-color: rgba(204,14,45,0.20);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--red);
  margin-bottom: 22px;
  transition: background 250ms ease, color 250ms ease, transform 250ms ease;
  flex-shrink: 0;
}

.service-card:hover .service-card-icon {
  background: var(--red);
  color: #fff;
  transform: scale(1.06);
}

.service-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.2;
}

.service-card-text {
  font-size: 15.5px;
  line-height: 1.75;
  color: #4a5263;
  margin-bottom: 24px;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  transition: gap 200ms ease;
  margin-top: auto;
}
.service-card-link:hover { gap: 10px; }
.service-card-link i { font-size: 11px; }


/* ============================================================
   7b. Services Bento Grid (home page)
   ============================================================ */

.services-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 340px 340px auto;
  gap: 20px;
}

.svc-bento-card {
  border-radius: 14px;
  overflow: hidden;
  background: var(--warm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition:
    transform 300ms var(--ease-out),
    box-shadow 300ms var(--ease-out),
    border-color 300ms ease;
}

.svc-bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 44px rgba(0,0,0,0.10);
  border-color: rgba(204,14,45,0.20);
}

/* Card 1 - featured: 2 cols x 2 rows */
.svc-bento-card:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

/* Card 7 - horizontal featured: 2 cols x 1 row */
.svc-bento-card:nth-child(4) {
  grid-column: span 2;
  flex-direction: row;
}

.svc-bento-photo {
  flex: 0 0 155px;
  position: relative;
  overflow: hidden;
}

/* Featured card (card 1): photo grows to fill the tall card */
.svc-bento-card:nth-child(1) .svc-bento-photo {
  flex: 1;
}

/* Horizontal card (card 7): photo fills left half */
.svc-bento-card:nth-child(4) .svc-bento-photo {
  flex: 0 0 52%;
  height: auto;
}

.svc-bento-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 500ms var(--ease-out);
}

.svc-bento-card:hover .svc-bento-photo img {
  transform: scale(1.05);
}

.svc-bento-svg-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32%;
  height: auto;
  pointer-events: none;
  transform: scaleX(-1);
}

.svc-bento-body {
  flex: 0 0 auto;
  padding: 20px 22px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

/* Horizontal card (card 7): body is right-side panel */
.svc-bento-card:nth-child(4) .svc-bento-body {
  flex: 1;
  border-top: none;
  border-left: 1px solid var(--border);
  justify-content: center;
  padding: 28px 28px;
}

.svc-bento-title {
  font-family: 'Outfit', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 200ms ease;
}
.svc-bento-card:hover .svc-bento-title {
  text-decoration-color: var(--red);
}

.svc-bento-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--grey);
  flex: 1;
}



/* ============================================================
   8. About Section (Home)
   ============================================================ */

.about-section {
  background: var(--warm);
  padding: var(--sec-y) 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

/* --- LEFT: Image Collage --- */

.about-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
  align-self: start;
}

/* Col 1 */
.about-col-images {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-img {
  border-radius: 12px;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-img--top { height: 220px; }
.about-img--bot { height: 200px; }

/* Col 2: stat → float photo → phone */
.about-col-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.about-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 4px;
}

.about-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 84px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  white-space: nowrap;
}

.about-stat-sup {
  font-size: 48px;
  vertical-align: super;
}

.about-stat-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Float image bleeds left over col 1 */
.about-img--float {
  width: calc(100% + 72px); /* 16px gap + 56px overlap into col 1 */
  margin-left: -72px;
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.22);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.about-phone-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 4px;
}

.about-phone-icon {
  width: 46px;
  height: 46px;
  background: var(--red-light);
  border: 2px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 16px;
  flex-shrink: 0;
}

.about-phone-num {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.about-phone-num:hover { color: var(--red); }

.about-phone-num:hover { color: var(--red); }

/* --- RIGHT: Text Content --- */

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--grey);
  margin-bottom: 24px;
  max-width: 460px;
}

.about-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(0,0,0,0.09);
  border-bottom: 1px solid rgba(0,0,0,0.09);
  margin-bottom: 24px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-feature-icon {
  width: 52px;
  height: 52px;
  background: var(--red-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 22px;
  flex-shrink: 0;
}

.about-feature span {
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
}

.about-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
}

.about-check-list li i {
  color: var(--red);
  font-size: 18px;
  flex-shrink: 0;
}

.about-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.about-founder {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-founder-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--red);
  flex-shrink: 0;
}

.about-founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-founder-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--charcoal);
  margin: 0 0 2px;
}

.about-founder-title {
  font-size: 13px;
  color: var(--grey);
  margin: 0;
}


/* ============================================================
   9. Stats Section
   ============================================================ */

.stats-section {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}

.stats-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,8,10,0.88) 0%,
    rgba(8,8,10,0.72) 100%
  );
}

.stats-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: var(--sec-y-sm) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.stat-item {
  padding: 44px 32px;
  text-align: center;
  background: rgba(255,255,255,0.06);
  transition: background 250ms ease;
}
.stat-item:hover { background: rgba(255,255,255,0.12); }

.stat-number {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 4.5vw, 68px);
  line-height: 1;
  color: var(--white);
  margin-bottom: 10px;
}

.stat-number span.red { color: var(--red); }

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.60);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}


/* ============================================================
   10. Feature Callout - Free 20-Point Check
   ============================================================ */

.feature-callout {
  background: var(--white);
  padding: var(--sec-y) 0;
}

.feature-callout-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.feature-callout-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--red-light);
  border: 1px solid rgba(204,14,45,0.15);
  border-radius: 100px;
  padding: 8px 20px 8px 8px;
  margin-bottom: 28px;
}

.feature-callout-badge-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.feature-callout-badge span {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.feature-callout .section-sub {
  margin-bottom: 32px;
}

.feature-mascots {
  display: flex;
  align-items: flex-end;
  gap: 0;
  margin-bottom: 28px;
}

.feature-mascot {
  height: 145px;
  width: auto;
  display: block;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--charcoal);
}

.feature-list li i {
  color: var(--red);
  font-size: 12px;
  flex-shrink: 0;
}

.feature-callout-img {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--warm);
}

.feature-callout-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.feature-callout-img-overlay {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(204,14,45,0.35);
}

.feature-callout-img-overlay .big {
  font-family: 'Outfit', sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.feature-callout-img-overlay .small {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
}


/* ── 20-Point Check Interactive Diagram ──────────────────── */

.check-diagram-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-diagram {
  position: relative;
  border-radius: 14px;
  overflow: visible;
  background: var(--warm);
  border: 1px solid var(--border);
  line-height: 0;
}

.check-diagram img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  user-select: none;
}

.check-dot {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: 2px solid #fff;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  transform-origin: 0% 0%;
  transition: scale 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(204,14,45,0.45);
  z-index: 2;
  padding: 0;
}

@keyframes dotPopIn {
  0%   { scale: 0;   opacity: 0; }
  60%  { scale: 1.3; opacity: 1; }
  100% { scale: 1;   opacity: 1; }
}

.check-dot.is-intro {
  animation: dotPopIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.check-dot:hover,
.check-dot.is-active {
  scale: 1.45;
  box-shadow: 0 0 0 4px rgba(204,14,45,0.2), 0 4px 16px rgba(204,14,45,0.55);
  z-index: 4;
}

.check-tooltip {
  position: absolute;
  background: #3a3f51;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  padding: 10px 10px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.15s;
}

.check-tooltip.is-visible { opacity: 1; }

.check-tooltip::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
}

.check-tooltip.tip-above {
  transform: translate(-50%, calc(-100% - 18px));
}
.check-tooltip.tip-above::after {
  top: 100%;
  border-top-color: #3a3f51;
}
.check-tooltip.tip-below {
  transform: translate(-50%, 18px);
}
.check-tooltip.tip-below::after {
  bottom: 100%;
  border-bottom-color: #3a3f51;
}

.check-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px 6px;
  padding: 12px 14px;
  background: var(--warm);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.check-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--charcoal);
  padding: 5px 6px;
  border-radius: 6px;
  cursor: default;
  transition: background 0.15s, color 0.15s;
}

.check-legend-item:hover,
.check-legend-item.is-active {
  background: var(--red-light);
  color: var(--red);
  cursor: pointer;
}

.check-legend-item:hover .check-legend-num,
.check-legend-item.is-active .check-legend-num {
  background: var(--red-dark);
}

.check-legend-num {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}


/* ============================================================
   11. Partners Marquee
   ============================================================ */

.partners-marquee {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
  overflow: hidden;
  position: relative;
  /* Counteract the hero's negative margin-bottom */
  margin-top: calc(var(--topbar-h) + var(--nav-h));
}

/* Fade edges */
.partners-marquee::before,
.partners-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.partners-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}
.partners-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 44px;
  flex-shrink: 0;
}

.marquee-item img {
  height: 38px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ============================================================
   12. Clients Section
   ============================================================ */

.clients-section {
  background: var(--white);
  padding: var(--sec-y) 0;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 8px;
}

.client-cell {
  background: var(--white);
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: background 200ms ease;
}
.client-cell:hover { background: var(--warm); }

.client-logo {
  max-width: 120px;
  max-height: 60px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.client-name {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey-lt);
  text-align: center;
  line-height: 1.3;
  transition: color 200ms ease;
}
.client-cell:hover .client-name { color: var(--charcoal); }


/* ============================================================
   13. Branches Section
   ============================================================ */

.branches-section {
  background: var(--warm);
  padding: var(--sec-y) 0;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

/* Card shell */
.branch-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: visible;
  border: 1px solid var(--border);
  background: var(--warm);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: box-shadow 280ms ease, transform 280ms ease;
  position: relative;
  margin-top: 30px;
}

.branch-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.13);
  transform: translateY(-5px);
}

/* Map area */
.branch-card-map {
  height: 220px;
  border-radius: 13px 13px 0 0;
  overflow: hidden;
  background: #e8e6e1;
  flex-shrink: 0;
  position: relative;
}

.branch-card-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  transition: transform 500ms ease;
}

.branch-card:hover .branch-card-map iframe {
  transform: scale(1.05);
}

.branch-map-gradient { display: none; }

/* Name badge - centered above card, clears Google Maps button */
.branch-name-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--charcoal);
  background: #ffffff;
  border-top: 3px solid var(--red);
  border-radius: 8px;
  padding: 8px 20px;
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  line-height: 1.2;
}

/* Card body */
.branch-card-body {
  padding: 14px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

/* Detail rows */
.branch-detail {
  display: flex;
  align-items: center;
  gap: 12px;
}

.branch-detail-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 13px;
  flex-shrink: 0;
}

.branch-detail-text {
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.5;
}

.branch-detail-text a {
  color: var(--charcoal);
  text-decoration: none;
  transition: color 180ms ease;
}
.branch-detail-text a:hover { color: var(--red); }

/* Hours inset block */
.branch-hours {
  background: #ffffff;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 4px;
  border: 1px solid var(--border);
}

.branch-hours .hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  margin-top: 0;
}

.branch-hours .hours-day { font-size: 14px; color: var(--charcoal); }
.branch-hours .hours-time { font-size: 14px; font-weight: 600; color: var(--charcoal); }


/* ============================================================
   14. Testimonials
   ============================================================ */

.testimonials-section {
  background: var(--white);
  padding: var(--sec-y) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.testimonial-card {
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  position: relative;
  transition: box-shadow 280ms ease;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
}

.testimonial-quote-icon {
  font-size: 28px;
  color: var(--red);
  opacity: 0.4;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.72;
  color: var(--charcoal);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--red);
  flex-shrink: 0;
}

.testimonial-name {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 12px;
  margin-top: 2px;
}


/* ============================================================
   15. Footer
   ============================================================ */

.amx-footer {
  background: #F8F6F2;
  overflow: hidden;
  position: relative;
}

/* --- CTA section --- */
.footer-cta {
  padding: 32px 0 28px;
  text-align: center;
}

.footer-cta-heading {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  white-space: nowrap;
  text-transform: uppercase;
  background: linear-gradient(
    90deg,
    #111218 0%,
    #111218 30%,
    #CC0E2D 43%,
    #ff3a58 50%,
    #CC0E2D 57%,
    #111218 70%,
    #111218 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer-sweep 4s linear infinite;
}

@keyframes shimmer-sweep {
  0%   { background-position: 100% center; }
  55%  { background-position: 0% center; }
  100% { background-position: 0% center; }
}

/* --- Branch tiles --- */
.footer-branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.branch-tile {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  text-decoration: none;
}

.branch-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 480ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

.branch-tile:hover::before {
  transform: scale(1.06);
}

.branch-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.35) 45%,
    rgba(0,0,0,0.08) 100%
  );
}





.branch-tile-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.branch-tile-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 16px rgba(0,0,0,1), 0 4px 32px rgba(0,0,0,0.9);
}

.branch-tile-address {
  font-size: 13px;
  color: #fff;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0,0,0,1), 0 4px 24px rgba(0,0,0,0.9);
}

.branch-tile-map-link {
  color: #fff;
  text-decoration: none;
  transition: opacity 200ms ease;
}
.branch-tile-map-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.branch-tile-map-link .fa-map-marker-alt {
  font-size: 11px;
  opacity: 0.75;
}

.branch-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 7px 16px;
  border-radius: 5px;
  transition: background 220ms ease, border-color 220ms ease;
  backdrop-filter: blur(4px);
}

.branch-tile:hover .branch-tile-cta,
.branch-tile-cta:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.35);
}

/* --- Bottom bar --- */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.footer-bottom-col { display: flex; align-items: center; }

.footer-bottom-brand { gap: 0; }

.footer-logo {
  display: inline-block;
  height: 26px;
  width: auto;
  filter: brightness(0);
  opacity: 0.75;
}

.footer-socials {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-size: 13px;
  transition: background 220ms, color 220ms, border-color 220ms;
}
.footer-socials a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.footer-bottom-copy {
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-copy {
  font-size: 16px;
  color: var(--charcoal);
}

.footer-bottom-credit { justify-content: flex-end; }

.footer-credit {
  font-size: 16px;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer-credit a {
  color: var(--charcoal);
  font-weight: 600;
  text-decoration: underline;
  transition: opacity 200ms ease;
}
.footer-credit a:hover { opacity: 0.75; }
.footer-heart { color: var(--red); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .footer-branches {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .branch-tile-name { font-size: 18px; }
  .branch-tile-body { padding: 24px 20px; }
}

@media (max-width: 640px) {
  .footer-cta { padding: 60px 0 52px; }
  .footer-branches {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
  .branch-tile { aspect-ratio: 16 / 9; }
  .footer-bottom-credit { justify-content: center; }
}


/* ============================================================
   16. Scroll-to-top & Scroll Reveal
   ============================================================ */

.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 280ms ease, transform 280ms ease, visibility 280ms ease;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.scroll-top-btn.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--red-dark); }

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 80ms; }
[data-reveal][data-delay="2"] { transition-delay: 160ms; }
[data-reveal][data-delay="3"] { transition-delay: 240ms; }
[data-reveal][data-delay="4"] { transition-delay: 320ms; }


/* ============================================================
   17. Services Page
   ============================================================ */

.services-page-hero {
  padding-top: 0;
  background: var(--warm);
  padding-bottom: 0;
}

.services-page-hero-inner {
  padding-top: 20px;
  padding-bottom: 16px;
}


.services-full-grid {
  background: var(--white);
  padding: 40px 0 var(--sec-y);
}

.services-full-grid-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.services-full-grid-inner .service-card--full {
  flex: 0 0 calc((100% - 48px) / 3);
}

/* Image-based card variant for the full services page */
.service-card--full {
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: var(--warm);
}

.service-card--full:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 44px rgba(0,0,0,0.10);
  border-color: rgba(204, 14, 45, 0.20);
}

.service-card-img {
  height: 185px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 500ms var(--ease-out);
}

.service-card--full:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.service-card--full .service-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 200ms ease;
}

.service-card--full:hover .service-card-title {
  text-decoration-color: var(--red);
}

/* Services CTA strip */
.services-cta-strip {
  background: var(--red);
  padding: 56px 0;
}

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

.services-cta-text {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}

.services-cta-text span {
  opacity: 0.70;
  font-weight: 400;
}

.services-cta-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.services-cta-btns .btn-primary {
  background: #fff;
  color: var(--red);
}
.services-cta-btns .btn-primary:hover {
  background: var(--dark);
  color: #fff;
  box-shadow: none;
}


/* ============================================================
   18. Service Detail Page
   ============================================================ */

.service-detail-hero {
  padding-top: 0;
  background: var(--warm);
  padding-bottom: 0;
}

.service-detail-hero-inner {
  padding-top: 20px;
  padding-bottom: 20px;
}

.service-detail-body {
  background: var(--white);
  padding: 56px 0 var(--sec-y);
}

.service-detail-inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 72px;
  align-items: start;
}

.service-detail-description {
  font-size: 17px;
  line-height: 1.80;
  color: var(--grey);
  margin-bottom: 40px;
}

.service-detail-includes-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.service-detail-includes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.service-detail-includes li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--charcoal);
  line-height: 1.5;
}

.service-detail-includes li i {
  color: var(--red);
  font-size: 13px;
  margin-top: 3px;
  flex-shrink: 0;
}

.service-detail-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}

.service-sidebar-img {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.service-sidebar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Breadcrumb */
.amx-breadcrumb {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  background: var(--warm);
}

.amx-breadcrumb nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.breadcrumb-link { color: var(--grey); transition: color 180ms ease; }
.breadcrumb-link:hover { color: var(--charcoal); }
.breadcrumb-sep { color: var(--grey-lt); }
.breadcrumb-current { color: var(--charcoal); font-weight: 500; }


/* ============================================================
   19. About Page
   ============================================================ */

.about-page-hero {
  padding-top: 0;
  background: var(--warm);
  padding-bottom: 0;
}

.about-page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  padding-bottom: 0;
}

.about-page-hero-text { padding: 64px 0 64px; }

.about-hero-img {
  align-self: stretch;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  min-height: 400px;
}

.about-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.about-story-section {
  background: var(--white);
  padding: var(--sec-y) 0;
}

.about-story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-story-text p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--grey);
  margin-bottom: 22px;
}

.about-story-img {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  border-radius: 16px;
  overflow: hidden;
}

.about-story-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.vmo-section {
  background: var(--warm);
  padding: var(--sec-y) 0;
}

.vmo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.vmo-item {
  background: var(--warm);
  padding: 48px 40px;
  transition: background 250ms ease;
}
.vmo-item:hover { background: var(--white); }

.vmo-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
  margin-bottom: 16px;
}

.vmo-title {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.vmo-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--grey);
}

/* About page gallery */
.about-gallery-section {
  background: var(--white);
  padding: var(--sec-y) 0;
}

.about-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 10px;
  margin-top: 48px;
  border-radius: 16px;
  overflow: hidden;
}

.mosaic-cell { overflow: hidden; }
.mosaic-cell a { display: block; width: 100%; height: 100%; }
.mosaic-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.mosaic-cell:hover img { transform: scale(1.04); }
.mosaic-cell--tall   { grid-row: span 2; }
.mosaic-cell--wide   { grid-column: span 2; }


/* ============================================================
   20. Contact Page
   ============================================================ */

.contact-page-hero {
  padding-top: 0;
  background: var(--warm);
  padding-bottom: 0;
}

.contact-page-hero-inner {
  padding-top: 20px;
  padding-bottom: 16px;
}

.contact-layout {
  background: var(--white);
  padding: 40px 0 var(--sec-y);
}

.contact-inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 72px;
  align-items: start;
}

.contact-form-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.contact-form-section > p {
  font-size: 15px;
  color: var(--grey);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* Form elements */
.form-group { margin-bottom: 22px; }

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--grey);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  outline: none;
  appearance: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,14,45,0.09);
}
.form-control::placeholder { color: var(--grey-lt); }
textarea.form-control { resize: vertical; min-height: 130px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-submit {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-feedback {
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  background: #eaf6ea;
  color: #1a5c1a;
  border: 1px solid #a8d5a8;
  margin-bottom: 16px;
  display: none;
}
.form-feedback.error {
  background: #fdecea;
  color: #7a1a1a;
  border: 1px solid #f0a8a8;
}

.contact-sidebar-info {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
}

.contact-info-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.contact-info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-item i {
  color: var(--red);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
  width: 18px;
}

.contact-info-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--grey);
}
.contact-info-text a { color: var(--charcoal); font-weight: 500; }
.contact-info-text a:hover { color: var(--red); }

.contact-wa-card {
  background: var(--dark);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
}
.contact-wa-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.contact-wa-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
  line-height: 1.6;
}
.contact-wa-card .btn-whatsapp { width: 100%; justify-content: center; }

/* Branches on contact page */
.contact-branches {
  background: #ffffff;
  padding: var(--sec-y) 0;
}

/* Contact form layout - image left, form right */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.contact-image-col {
  position: relative;
  min-height: 600px;
  border-radius: 16px;
  overflow: hidden;
  margin: 32px 0 32px 0;
}

.contact-col-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-right-col {
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Hours grid (reusable) */
.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  margin-top: 4px;
}

.hours-day  { font-size: 14px; color: var(--grey); }
.hours-time { font-size: 14px; font-weight: 500; color: var(--charcoal); }


/* ============================================================
   21. Responsive
   ============================================================ */

@media (max-width: 1100px) {
  .services-grid             { grid-template-columns: repeat(2, 1fr); }

  .footer-body-inner         { grid-template-columns: 1fr 1fr; gap: 36px; }
  .clients-grid              { grid-template-columns: repeat(3, 1fr); }
  .client-logo               { max-width: 100px; max-height: 52px; }
  .services-bento            { grid-template-rows: 300px 300px auto; }
}

@media (max-width: 960px) {
  :root { --sec-y: 72px; --sec-y-sm: 48px; }

  .about-layout              { grid-template-columns: 1fr; gap: 48px; }
  .about-text                { order: -1; }
  .about-collage             { grid-template-columns: 1fr 1fr; gap: 12px; }
  .about-img--top            { height: 200px; }
  .about-img--bot            { height: 180px; }
  .about-img--float          { width: 100%; margin-left: 0; height: 200px; }
  .feature-callout-inner     { grid-template-columns: 1fr; gap: 48px; }
  .feature-callout-img       { order: -1; }
  .feature-callout-img img   { height: 360px; }
  .check-legend              { grid-template-columns: repeat(2, 1fr); }
  .stats-grid                { grid-template-columns: repeat(2, 1fr); }
  .branches-grid             { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .testimonials-grid         { grid-template-columns: 1fr; }
  .about-story-layout        { grid-template-columns: 1fr; }
  .about-story-img           { position: static; }
  .about-story-img img       { height: 380px; }
  .vmo-grid                  { grid-template-columns: 1fr; }
  .about-mosaic              { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .mosaic-cell--tall, .mosaic-cell--wide { grid-row: auto; grid-column: auto; }
  .contact-inner             { grid-template-columns: 1fr; }
  .contact-image-col         { min-height: 280px; }
  .contact-right-col         { padding: 40px 28px; }
  .contact-sidebar-info      { position: static; }
  .service-detail-inner      { grid-template-columns: 1fr; }
  .service-detail-sidebar    { position: static; }
  .about-page-hero-inner     { grid-template-columns: 1fr; }
  .about-hero-img            { display: none; }
  .services-cta-inner        { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-body-inner         { grid-template-columns: 1fr 1fr; gap: 32px; }
  .services-full-grid-inner .service-card--full { flex: 0 0 calc((100% - 24px) / 2); }
}

@media (max-width: 768px) {
  .amx-topbar    { display: none; }
  .nav-links     { display: none; }
  .nav-actions   { display: none; }
  .nav-burger    { display: flex; }

  .hero-content  { padding-bottom: 110px; }
  .hero-scroll-hint { display: none; }

  /* Left-align hero nav controls on mobile and prevent overlap with text */
  .hero-nav {
    right: unset;
    left: var(--pad);
    transform: none;
    bottom: 24px;
    gap: 16px;
  }

  /* topbar hidden on mobile - adjust hero margins accordingly */
  .amx-hero {
    margin-top: calc(-1 * var(--nav-h));
    margin-bottom: calc(-1 * var(--nav-h));
  }
  .partners-marquee { margin-top: var(--nav-h); }

  .services-grid             { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .services-full-grid-inner                    { gap: 16px; }
  .services-full-grid-inner .service-card--full { flex: 0 0 calc((100% - 16px) / 2); }

  /* Bento: collapse to 2-col, drop fixed row heights */
  .services-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 16px;
  }
  .svc-bento-card:nth-child(1) { grid-column: 1 / 3; grid-row: auto; }
  .svc-bento-card:nth-child(4) { grid-column: 1 / 3; flex-direction: column; }
  .svc-bento-card:nth-child(4) .svc-bento-photo { flex: 0 0 220px; height: 220px; }
  .svc-bento-card:nth-child(4) .svc-bento-body  { border-left: none; border-top: 1px solid var(--border); justify-content: flex-start; position: relative; z-index: 1; }
  .svc-bento-svg-accent { width: 55%; opacity: 0.1; z-index: 0; }
  .svc-bento-photo { flex: 0 0 200px; }
  .svc-bento-card:nth-child(1) .svc-bento-photo { flex: 0 0 280px; }

  .clients-grid              { grid-template-columns: repeat(2, 1fr); }
  .branches-grid             { grid-template-columns: 1fr; }
  .testimonials-grid         { grid-template-columns: 1fr; }
  .stats-grid                { grid-template-columns: repeat(2, 1fr); }

  .about-stat-num            { font-size: 48px; }
  .about-stat-sup            { font-size: 28px; }
  .about-phone-num           { font-size: 18px; }
  .about-cta-row             { flex-direction: column; align-items: center; gap: 16px; }

  .about-page-hero-text        { padding: 40px 0; }
  .services-page-hero-inner    { padding-top: 14px; padding-bottom: 12px; }
  .contact-page-hero-inner     { padding-top: 14px; padding-bottom: 12px; }

  .form-submit { justify-content: center; }
  .form-group .g-recaptcha { display: flex; justify-content: center; }

  /* Services section - center header text */
  .services-section .section-header { text-align: center; }
  .services-section .section-sub    { margin: 0 auto; }

  /* About section - center text content, keep checklist left-aligned */
  .about-text                { text-align: center; }
  .about-text p              { max-width: 100%; }
  .about-feature             { flex-direction: column; align-items: center; }
  .about-check-list          { text-align: left; display: inline-flex; }

  /* Feature callout - center text, keep diagram after text */
  .feature-callout .feature-callout-inner > div:first-child { text-align: center; }
  .feature-callout .feature-mascots { justify-content: center; }
  .feature-callout .section-sub { margin-left: auto; margin-right: auto; }

  /* CMS Auto Parts section - center all text content on mobile */
  .cms-parts-left                     { align-items: center; text-align: center; }
  .cms-parts-left .overline,
  .cms-parts-left .section-title,
  .cms-parts-left .section-sub        { width: 100%; text-align: center; }
  .cms-parts-btns                     { justify-content: center; }

  /* Footer heading - allow wrapping on small screens */
  .footer-cta-heading        { white-space: normal; }

  /* Footer bottom - center all three columns */
  .footer-bottom-inner       { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
  .footer-socials            { justify-content: center; }
  .footer-bottom-credit      { justify-content: center; }

  .footer-body-inner         { grid-template-columns: 1fr; gap: 28px; }
  .footer-top-inner          { flex-direction: column; align-items: flex-start; }

  .form-row { grid-template-columns: 1fr; }
}


@media (max-width: 540px) {
  .services-grid             { grid-template-columns: 1fr; }
  .services-full-grid-inner .service-card--full { flex: 0 0 100%; }

  /* Bento: single column on small mobile */
  .services-bento            { grid-template-columns: 1fr; }
  .svc-bento-card:nth-child(1),
  .svc-bento-card:nth-child(4) { grid-column: 1; }
  .hero-headline             { font-size: clamp(34px, 9vw, 52px); }
  .stat-item                 { padding: 28px 20px; }
  .clients-grid              { grid-template-columns: repeat(2, 1fr); }
  .about-mosaic              { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   22. CMS Parts Promo
   ============================================================ */

.cms-parts-section {
  padding: var(--sec-y) 0;
}

/* Two-column layout */
.cms-parts-layout {
  display: grid;
  grid-template-columns: 1.4fr 1.5fr;
  gap: 80px;
  align-items: start;
}

/* LEFT */
.cms-parts-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.cms-parts-left .section-title {
  margin: 0;
}

.cms-parts-left .section-sub {
  margin: 0;
  color: var(--grey);
}

.cms-parts-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* RIGHT */
.cms-parts-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Search bar */
.cms-parts-search {
  width: 100%;
}

.cms-parts-search-inner {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.cms-parts-search-inner:focus-within {
  border-color: var(--red);
  box-shadow: 0 4px 24px var(--red-glow);
}

.cms-parts-search-icon {
  color: var(--grey-lt);
  font-size: 15px;
  flex-shrink: 0;
  transition: color 220ms ease;
}

.cms-parts-search-inner:focus-within .cms-parts-search-icon {
  color: var(--red);
}

.cms-parts-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--dark);
  min-width: 0;
}

.cms-parts-search-input::placeholder {
  color: var(--grey-lt);
}

.cms-parts-search-btn {
  flex-shrink: 0;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 12px 26px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 220ms ease, box-shadow 220ms ease;
  white-space: nowrap;
}

.cms-parts-search-btn:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 18px rgba(204, 14, 45, 0.30);
}

/* Part category tiles grid */
.cms-parts-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.cms-part-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px 8px 12px;
  text-decoration: none;
  color: var(--dark);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.cms-part-tile:hover {
  border-color: var(--red);
  box-shadow: 0 4px 16px var(--red-glow);
  transform: translateY(-2px);
  color: var(--red);
}

.cms-part-tile-img {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cms-part-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Premises photo */
.cms-parts-photo {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  height: 180px;
}

.cms-parts-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .cms-parts-layout { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 600px) {
  .cms-parts-categories { grid-template-columns: repeat(3, 1fr); }
}


/* ============================================================
   23. Reduced Motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-slide   { transition: none; }
  .hero-scroll-hint i { opacity: 0.55; }

  /* Shimmer: restore animation - overrides the blanket * rule above */
  .footer-cta-heading {
    animation-name: shimmer-sweep !important;
    animation-duration: 4s !important;
    animation-iteration-count: infinite !important;
    animation-timing-function: linear !important;
    animation-play-state: running !important;
  }

  /* Marquee: restore animation - overrides the blanket * rule above */
  .marquee-track {
    animation-name: marquee-scroll !important;
    animation-duration: 40s !important;
    animation-iteration-count: infinite !important;
    animation-timing-function: linear !important;
    animation-play-state: running !important;
    width: max-content !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
  }
  .marquee-item[aria-hidden="true"] { display: flex !important; }
}
