/* ============================================================
   SAF - Saf Auto Spares Ltd.
   Main Stylesheet
   ============================================================ */

/* 1. Variables
/* 2. Reset & Base
/* 3. Typography
/* 4. Utilities & Buttons
/* 5. Navigation
/* 6. Hero (Scroll Chapters)
/* 7. Trust Marquee
/* 8. Stats Section
/* 9. Product Showcase
/* 10. Why SAF Pillars
/* 11. Brands Section
/* 12. Client Wall
/* 13. Service Centres
/* 14. Find Us
/* 15. Footer
/* 16. Scroll Reveal
/* 17. About Page
/* 18. Products Page
/* 19. Contact Page
/* 20. Responsive
/* 21. Reduced Motion


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

:root {
  --white:    #FFFFFF;
  --warm:     #F7F5F1;
  --dark:     #0E0F11;
  --dark-2:   #161820;
  --red:      #CC0E2D;
  --red-glow: rgba(204, 14, 45, 0.18);
  --charcoal: #111218;
  --grey:     #6B7280;
  --grey-lt:  #9CA3AF;
  --border:   rgba(0, 0, 0, 0.07);
  --border-lt: rgba(255, 255, 255, 0.08);

  --glass-bg:  #ffffff;
  --topbar-h:  0px;
  --nav-bar-h: 70px;
  --nav-h:     var(--nav-bar-h);

  --sec-y:    120px;
  --sec-y-sm: 80px;
  --wrap:     1280px;
  --pad:      clamp(24px, 5vw, 80px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: 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: 'DM Sans', 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: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  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: var(--grey-lt);
}


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

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

.section-header {
  margin-bottom: 64px;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-sub {
  margin: 0 auto;
}

/* Buttons */

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

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: #E0102F;
  box-shadow: 0 8px 24px rgba(204, 14, 45, 0.32);
  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--light {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-ghost--light:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 10px 20px;
  font-size: 13px;
}

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

.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;
}


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

.saf-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-bar-h);
  display: flex;
  align-items: center;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}

.saf-nav.topbar-gone {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(12px, 2vw, 32px);
}

.nav-logo {
  flex-shrink: 0;
  overflow: hidden;
  max-width: 120px;
  opacity: 1;
  pointer-events: auto;
}

.nav-logo img { height: 44px; width: auto; display: block; }

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

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

.nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 7px 14px;
  border-radius: 0;
  transition: background 180ms ease, color 180ms ease;
}

.nav-link:hover {
  background: rgba(0,0,0,0.05);
  color: var(--charcoal);
}

.nav-link.is-active {
  background: var(--red);
  color: var(--white);
}

.nav-link::after { display: none; }

/* Social links cluster in the nav */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 15px;
  text-decoration: none;
  transition: color 200ms ease, transform 200ms ease, opacity 200ms ease;
}

.nav-social[aria-label="Facebook"]  { color: #1877F2; }
.nav-social[aria-label="Instagram"] { color: #E1306C; }
.nav-social[aria-label="TikTok"]    { color: #111; }
.nav-social[aria-label="WhatsApp"]  { color: #25D366; }

.nav-social:hover { opacity: 0.65; transform: translateY(-2px); }

.nav-divider {
  width: 1px;
  height: 22px;
  background: rgba(0,0,0,0.10);
  margin: 0 14px;
  flex-shrink: 0;
}

.nav-cta {
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 0;
}

/* Mobile 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;
}

.nav-burger span {
  display: block;
  height: 2px;
  background: var(--charcoal);
  border-radius: 0;
  transition: transform 300ms ease, opacity 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-bar-h) 0 0 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 300ms ease;
}

.nav-overlay.is-open {
  opacity: 1;
}

.nav-overlay .nav-link {
  font-size: 28px;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 10px 24px;
  border-radius: 6px;
  color: var(--charcoal);
  background: transparent;
  text-transform: uppercase;
}

.nav-overlay .nav-link.is-active {
  color: var(--white);
  background: var(--red);
}

.nav-overlay .nav-link:hover {
  color: var(--charcoal);
  background: rgba(0,0,0,0.04);
}

.nav-overlay .nav-cta {
  margin-top: 20px;
  font-size: 16px;
  padding: 14px 32px;
}

.nav-overlay-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.nav-overlay-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-overlay-contact span,
.nav-overlay-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--grey);
  text-decoration: none;
  transition: color 200ms;
}

.nav-overlay-contact a:hover { color: var(--charcoal); }

.nav-overlay-contact i {
  color: var(--red);
  font-size: 11px;
}

.nav-overlay-socials {
  display: flex;
  gap: 10px;
}

.nav-overlay-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 18px;
  color: var(--grey-lt);
  text-decoration: none;
  transition: color 180ms ease, transform 160ms ease;
}

.nav-overlay-socials a:active { transform: scale(0.92); }

.nav-overlay-socials a[aria-label="Phone"]:hover     { color: var(--red); }
.nav-overlay-socials a[aria-label="Facebook"]:hover  { color: #1877F2; }
.nav-overlay-socials a[aria-label="Instagram"]:hover { color: #E1306C; }
.nav-overlay-socials a[aria-label="TikTok"]:hover    { color: #111; }
.nav-overlay-socials a[aria-label="WhatsApp"]:hover  { color: #25D366; }


/* ============================================================
   6. Hero Carousel
   ============================================================ */

.hero-section {
  background: var(--white);
  padding-top: 0;
  padding-bottom: 52px;
  overflow: hidden;
}

/* Scrolling track */
.hero-carousel {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 16px;
  padding: 24px 7.5vw 32px;
  cursor: grab;
}

.hero-carousel::-webkit-scrollbar { display: none; }
.hero-carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }

/* Individual card */
.hero-card {
  flex: 0 0 85vw;
  height: calc(100svh - var(--nav-h) - 120px);
  /* min-height: 550px; */
  max-height: 840px;
  border-radius: 20px;
  scroll-snap-align: center;
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  flex-shrink: 0;
  user-select: none;
}

/* Full-bleed background image */
.hero-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

/* Gradient overlay - heavier at bottom for text legibility */
.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 12, 0.10) 0%,
    rgba(10, 10, 12, 0.18) 45%,
    rgba(10, 10, 12, 0.88) 100%
  );
}

/* Text anchored to bottom of card */
.hero-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 56px;
}

/* Overline label */
.card-overline {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

/* Card headline */
.card-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 5.5vw, 80px);
  line-height: 0.93;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Card sub-copy */
.card-sub {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 460px;
}

/* Search form inside card 1 */
.card-search {
  width: 100%;
  max-width: 480px;
  margin-bottom: 28px;
}

/* Search bar base styles (shared with products page) */
.search-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.search-wrap:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204, 14, 45, 0.10);
}

.search-icon {
  padding: 0 14px;
  color: var(--grey-lt);
  font-size: 14px;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  padding: 13px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--charcoal);
  background: none;
  border: none;
  outline: none;
  min-width: 0;
}

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

.search-btn {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 0 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  align-self: stretch;
  transition: background 200ms ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.search-btn:hover { background: #E0102F; }

/* Search bar dark-card override */
.hero-card .search-wrap {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.14);
}

.hero-card .search-wrap:focus-within {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.hero-card .search-input {
  color: var(--white);
}

.hero-card .search-input::placeholder { color: rgba(255, 255, 255, 0.38); }
.hero-card .search-icon              { color: rgba(255, 255, 255, 0.38); }

/* Card action row */
.card-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Ghost button for dark backgrounds */
.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

/* Card 2 - all-dark, centered layout */
.hero-card.card-dark {
  background: linear-gradient(140deg, #0E0F11 0%, #18191F 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-centered {
  padding: 60px 56px;
  text-align: center;
  width: 100%;
}

.card-centered .card-sub {
  margin-left: auto;
  margin-right: auto;
}

/* Brand pills inside card 2 */
.card-brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 36px;
}

.card-brand-pill {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.10);
  padding: 12px 22px;
  border-radius: 0;
  transition: border-color 220ms ease, color 220ms ease, background 220ms ease;
}

.card-brand-pill:hover {
  border-color: var(--red);
  color: var(--white);
  background: rgba(204, 14, 45, 0.08);
}

.card-brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.93);
  border-radius: 0;
  padding: 12px 18px;
  transition: background 220ms ease, transform 220ms ease;
}

.card-brand-logo:hover {
  background: #ffffff;
}

.card-brand-logo img {
  height: 32px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}

/* Slide counter below carousel */
.hero-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

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

.hero-dot-btn {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(17, 18, 24, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 220ms ease;
  flex-shrink: 0;
}

.hero-dot-btn.is-active {
  background: var(--charcoal);
}

.hero-slide-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(17, 18, 24, 0.36);
  letter-spacing: 1px;
  min-width: 36px;
}


/* ============================================================
   6b. Hero Grid & Side Banners
   ============================================================ */

/* Right column: two banners stacked below carousel on mobile */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 5vw 0;
  margin-top: 8px;
}

.hero-right .hero-banner { height: 200px; border-radius: 16px; }

.hero-right .hb-inner { padding: 20px 16px; }

.hero-right .hb-brands-grid { margin-top: 10px; gap: 4px; }

.hero-right .hb-brands-grid .card-brand-logo { padding: 5px 6px; }

.hero-right .hb-brands-grid .card-brand-logo img { height: 15px; max-width: 56px; }

.hero-right .hb-brands-grid--two .card-brand-logo img { height: 18px; max-width: 76px; }

/* Slide arrows - hidden on mobile, shown inside grid on desktop */
.hero-left { position: relative; }

.hero-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.40);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: var(--white);
  font-size: 13px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
  flex-shrink: 0;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.65);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(calc(-50% - 1px));
}

.hero-arrow--prev { left: 16px; }
.hero-arrow--next { right: 16px; }

.hero-banner {
  border-radius: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner .hero-card-overlay {
  background: rgba(10, 10, 12, 0.62);
}

.hero-banner--brands {
  background: linear-gradient(140deg, #0E0F11 0%, #18191F 100%);
}

.hero-banner--cta {
  background: var(--charcoal);
}

.hb-inner {
  position: relative;
  z-index: 1;
  padding: 28px 22px;
  text-align: center;
  width: 100%;
}

.hb-title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 0.95;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hb-brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 18px;
}

.hb-brands-grid .card-brand-logo {
  padding: 8px 10px;
}

.hb-brands-grid .card-brand-logo img {
  height: 22px;
  max-width: 80px;
}

.hb-brands-grid--two {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hb-brands-grid--two .card-brand-logo img {
  height: 26px;
  max-width: 110px;
}

.hb-cta-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
}


/* ============================================================
   7. Trust Marquee
   ============================================================ */

.trust-marquee {
  background: var(--dark);
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--border-lt);
}

.marquee-track-wrapper {
  display: flex;
  overflow: hidden;
  padding: 28px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: marquee 28s linear infinite;
  flex-shrink: 0;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 40px;
  white-space: nowrap;
}

.marquee-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.45);
  transition: color 250ms ease;
}

.marquee-logo:hover {
  color: rgba(255,255,255,0.9);
}

.marquee-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.6;
  flex-shrink: 0;
}

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


/* ============================================================
   8. Stats Section
   ============================================================ */

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

.stats-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.stats-text .section-sub {
  max-width: 440px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.stat-item {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--red);
}

.stat-number {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 800;
  font-size: clamp(44px, 3vw, 64px);
  line-height: 1;
  color: var(--red);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 8b. Story Collage */
.story-collage {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 100%;
  gap: 10px;
  height: 480px;
  position: relative;
  overflow: hidden;
}

.sc-main {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}

.sc-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease;
}

.sc-main:hover img {
  transform: scale(1.04);
}

.sc-year-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--red);
  color: #fff;
  padding: 14px 18px;
  text-align: center;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
}

.sc-year-num {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  letter-spacing: 2px;
}

.sc-year-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
  opacity: 0.85;
}

.sc-side {
  display: grid;
  grid-template-rows: 3fr 2fr;
  gap: 10px;
}

.sc-top,
.sc-bottom {
  overflow: hidden;
  position: relative;
  background: var(--charcoal);
}

.sc-top img,
.sc-bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s ease;
}

.sc-top:hover img,
.sc-bottom:hover img {
  transform: scale(1.05);
}

.sc-red-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
}


/* ============================================================
   9. Product Showcase
   ============================================================ */

.products-section {
  background: var(--warm);
  padding: 72px 0;
}

.products-section .section-header {
  margin-bottom: 48px;
}

/* Split layout */
.products-split {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0 56px;
  align-items: start;
}

/* Left: category list */
.ps-categories {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}

.ps-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 20px 16px;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  text-align: left;
  gap: 12px;
  transition: border-color 180ms ease;
  position: relative;
  overflow: hidden;
}

.ps-cat-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 12px;
  width: 56px;
  height: 56px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: 0.18;
  filter: grayscale(1);
  pointer-events: none;
}

.ps-cat-item[data-cat="spark-plugs"]::before {
  background-image: url('../parts/sparkplug-bg.webp');
}
.ps-cat-item[data-cat="oil-filters"]::before {
  background-image: url('../parts/oilfilter-bg.webp');
}
.ps-cat-item[data-cat="air-filters"]::before {
  background-image: url('../parts/airfilter-bg.webp');
}
.ps-cat-item[data-cat="lubricants"]::before {
  background-image: url('../parts/lubricant-bg.webp');
}

.ps-cat-item:last-child {
  border-bottom: none;
}

.ps-cat-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  color: var(--grey);
  line-height: 1;
  transition: color 180ms ease;
}

.ps-cat-item:hover .ps-cat-name {
  color: var(--charcoal);
}

.ps-cat-item.is-active {
  border-left-color: var(--red);
}

.ps-cat-item.is-active .ps-cat-name {
  color: var(--charcoal);
}

/* Right: panels */
.ps-panels {
  min-width: 0;
}

.ps-panel {
  display: none;
}

.ps-panel.is-active {
  display: block;
  animation: panelIn 360ms var(--ease-out) both;
}

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

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

.ps-see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  transition: opacity 200ms ease;
}

.ps-see-all:hover {
  opacity: 0.7;
}

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out), border-color 280ms ease;
  position: relative;
  cursor: default;
}

.product-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.05);
  border-color: rgba(204,14,45,0.2);
}

.card-img-wrap {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.card-name a {
  color: inherit;
  text-decoration: none;
}

.card-name a:hover {
  color: var(--red);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 400ms var(--ease-out);
}

.product-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-body {
  padding: 20px 22px 22px;
}

.card-brand {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 6px;
}

.card-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 10px;
}

.card-spec {
  display: none;
}

.card-partno {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--black);
  background: var(--warm);
  border-radius: 0;
  padding: 3px 8px;
  margin-bottom: 10px;
}

.card-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 16px;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #0e8a3b;
  transition: opacity 200ms ease;
}

.card-cta:hover {
  opacity: 0.7;
}

.card-cta .fa-whatsapp {
  font-size: 15px;
}

/* Products split - mobile */
@media (max-width: 767px) {
  .products-split {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ps-categories {
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 24px;
  }

  .ps-categories::-webkit-scrollbar { display: none; }

  .ps-cat-item {
    padding: 14px 20px;
    border-left: none;
    border-bottom: 3px solid transparent;
    border-right: 1px solid var(--border);
    white-space: nowrap;
    flex-shrink: 0;
    justify-content: center;
  }

  .ps-cat-item:last-child {
    border-right: none;
  }

  .ps-cat-item.is-active {
    border-left-color: transparent;
    border-bottom-color: var(--red);
  }

  .ps-cat-name { font-size: 24px; }

  .ps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}


/* ============================================================
   10. Why SAF Pillars
   ============================================================ */

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

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

.pillar {
  padding: 0;
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 0;
  background: var(--red-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
  color: var(--red);
  transition: background 200ms ease, transform 200ms ease;
}

.pillar:hover .pillar-icon {
  background: var(--red);
  color: var(--white);
}

.pillar-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}

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


/* ============================================================
   11. Brands Section
   ============================================================ */

.brands-section {
  background: var(--dark);
  padding: var(--sec-y) 0;
}

/* ── Supplier section (about page) ─────────────────────────── */
.suppliers-section {
  background: var(--warm);
  padding: var(--sec-y) 0;
}

.suppliers-section .section-title {
  color: var(--dark);
}

.suppliers-section .section-sub {
  color: var(--grey);
}

.supplier-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.supplier-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 300ms ease, box-shadow 300ms ease;
  background: #fff;
}

.supplier-card:hover {
  border-color: rgba(204,14,45,0.35);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.supplier-card-banner {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
}

.supplier-card-body {
  padding: 24px 28px 28px;
}

.supplier-card-body h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--dark);
  margin: 0 0 10px;
}

.supplier-card-body p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.7;
  margin: 0;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.brand-cell {
  border: 1px solid var(--border-lt);
  border-radius: 0;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100px;
  transition: border-color 250ms ease, background 250ms ease;
  cursor: default;
}

.brand-cell:hover {
  border-color: rgba(204,14,45,0.5);
  background: rgba(204,14,45,0.05);
}

.brand-cell img {
  max-height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity 250ms ease;
}

.brand-cell:hover img {
  opacity: 1;
}

.brand-cell-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  transition: color 250ms ease;
}

.brand-cell-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.25);
  margin-top: 4px;
  transition: color 250ms ease;
}

.brand-cell:hover .brand-cell-name {
  color: rgba(255,255,255,0.9);
}

.brand-cell:hover .brand-cell-sub {
  color: rgba(255,255,255,0.5);
}


/* ============================================================
   12. Client Wall
   ============================================================ */

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

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
}

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

.client-cell:hover {
  background: var(--warm);
}

.client-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey-lt);
  text-align: center;
  transition: color 200ms ease;
}

.client-cell:hover .client-name {
  color: var(--charcoal);
}

.client-logo {
  max-width: 160px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 250ms ease;
}

.client-cell:hover .client-logo {
  transform: scale(1.12);
}


/* ============================================================
   13. Service Centres
   ============================================================ */

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

.service-text-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.service-text-center .section-sub {
  margin: 0 auto;
}

.service-text-center .btn {
  margin-top: 28px;
}

.service-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 10px;
  grid-auto-flow: dense;
}

.service-masonry-tile {
  border-radius: 0;
  overflow: hidden;
}

.service-masonry-tile.tall {
  grid-row: span 2;
}

.service-masonry-tile.wide {
  grid-column: 2 / 5;
  grid-row: span 2;
}

.service-masonry-tile a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

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


/* ============================================================
   14. Find Us
   ============================================================ */

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

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

.findus-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.findus-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.findus-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.findus-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--grey-lt);
  margin-bottom: 4px;
}

.findus-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.5;
}

.findus-value a {
  color: var(--charcoal);
  transition: color 200ms ease;
}

.findus-value a:hover {
  color: var(--red);
}

.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);
}

.map-wrap {
  border-radius: 0;
  overflow: hidden;
  height: 400px;
  background: #e8e6e1;
  border: 1px solid var(--border);
}

.contact-map {
  height: 100%;
  min-height: 440px;
}

.findus-horizontal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: start;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--grey);
}

.map-placeholder i {
  font-size: 40px;
  color: var(--grey-lt);
}

.map-placeholder p {
  font-size: 14px;
}


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

.saf-footer {
  background: var(--warm);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 36px;
  padding-bottom: 36px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-logo {
  display: block;
  height: 26px;
  width: 120px;
  background-image: url('../logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}

.footer-tagline {
  font-size: 13px;
  color: var(--grey);
  letter-spacing: 0.3px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-nav a {
  font-size: 15px;
  color: var(--grey);
  font-weight: 500;
  transition: color 200ms ease;
}

.footer-nav a:hover {
  color: var(--dark);
}

.footer-contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  color: var(--dark);
}

.footer-contact a {
  transition: color 200ms ease;
}

.footer-contact a:hover {
  color: var(--dark);
}

.footer-contact a i,
.footer-contact span i {
  color: var(--red);
  font-size: 13px;
  width: 13px;
}

.footer-contact-sep {
  color: var(--grey-lt);
  font-size: 14px;
}

.footer-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-socials a {
  color: var(--dark);
  font-size: 18px;
  transition: color 200ms ease;
  line-height: 1;
}

.footer-socials a:hover {
  color: var(--red);
}

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

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 15px;
  color: var(--grey);
}

.footer-credit {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-heart {
  color: var(--red);
  font-size: 11px;
}

.footer-credit a {
  color: var(--dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 200ms ease;
}

.footer-credit a:hover {
  color: var(--red);
}

/* --- Scroll to top button --- */
.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, background 200ms ease;
  z-index: 900;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: #b00d25;
}


/* ============================================================
   16. Scroll Reveal
   ============================================================ */

[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. About Page
   ============================================================ */

.page-hero {
  display: flex;
  align-items: flex-end;
  padding-top: 0;
  position: relative;
  overflow: hidden;
  background: var(--warm);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 0;
}

.page-hero .hero-headline {
  font-size: clamp(48px, 6vw, 80px);
}

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

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

.story-text h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 32px 0 12px;
}

.story-text h3:first-child {
  margin-top: 0;
}

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

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

.story-img img {
  width: 100%;
  height: 480px;
  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: 0;
  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: 'Bebas Neue', 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);
}


/* ============================================================
   18. Products Page
   ============================================================ */

.products-page {
  padding-top: 0;
}

.products-page-header {
  background: var(--warm);
  padding: 20px 0 0 0;
}

.products-page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.1;
  text-align: center;
  margin-bottom: 0px;
}

.products-page-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 40px;
}

.filter-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--grey);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 200ms ease;
}

.filter-btn:hover {
  color: var(--charcoal);
  border-color: rgba(0,0,0,0.2);
}

.filter-btn.is-active {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.products-grid-section {
  background: var(--white);
  padding: 60px 0 var(--sec-y);
}

.products-grid {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

/* Shared column template for header + rows */
.products-list-header,
.products-grid .product-card {
  display: grid;
  grid-template-columns: 72px 140px 1fr 110px 1fr 100px 130px;
  align-items: center;
}

.products-list-header {
  border-bottom: 2px solid rgba(0,0,0,0.15);
}

.products-list-header > div {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--charcoal);
}

.products-grid {
  border-top: none;
}

.products-grid .product-card {
  border: none;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid transparent;
  transition: background 180ms ease, border-color 180ms ease;
}

.products-grid .product-card:hover {
  border-left-color: var(--red);
  background: var(--warm);
  box-shadow: none;
}

/* Thumbnail */
.card-thumb {
  width: 72px;
  height: 72px;
  overflow: hidden;
  background: var(--warm);
  flex-shrink: 0;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Column cells */
.card-col {
  padding: 14px 16px;
  min-width: 0;
}

.card-col-partno {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-col-name .card-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-col-brand {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
}

.card-col-fits {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-col-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--red);
  white-space: nowrap;
}

.card-col-action {
  display: flex;
  justify-content: flex-end;
  padding-right: 20px;
}

/* Keep card-price font-size for any remaining uses */
.products-grid .card-price {
  font-size: 18px;
  margin-bottom: 0;
}

.products-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--grey);
}

.products-empty > i {
  font-size: 48px;
  color: var(--grey-lt);
  margin-bottom: 20px;
}

.products-empty .btn i {
  font-size: 16px;
  color: inherit;
  margin-bottom: 0;
}

.products-empty h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--charcoal);
  margin-bottom: 12px;
}


/* Products page - search bar */
.products-search-bar {
  padding: 20px 0 28px;
  max-width: 640px;
  margin: 0 auto;
}

.products-search-bar .search-wrap {
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.products-search-bar .search-input {
  font-size: 15px;
  padding: 16px 0;
}

/* Products page - result count */
.products-count {
  display: none;
}

/* Product card - stretched overlay link */
.card-overlay-link {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: block;
}

.card-cta {
  position: relative;
  z-index: 2;
}

.product-card { cursor: pointer; }

/* Pagination */
.products-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--grey);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0;
  cursor: pointer;
  transition: all 180ms ease;
}

.page-btn:hover:not(:disabled) {
  color: var(--charcoal);
  border-color: rgba(0,0,0,0.2);
}

.page-btn.is-active {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.page-btn.is-disabled,
.page-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  font-size: 14px;
  color: var(--grey-lt);
  user-select: none;
}

.search-clear-btn {
  background: transparent;
  color: var(--grey);
  font-size: 12px;
  padding: 0 16px;
}

.search-cap-notice {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--grey);
  font-style: italic;
}

.search-clear-btn:hover {
  background: transparent;
  color: var(--charcoal);
}

/* ============================================================
   19. Product Detail Page
   ============================================================ */

.product-detail-page {
  padding-top: 0;
  min-height: 80vh;
}

.product-breadcrumb {
  padding: 20px 0;
}

.product-breadcrumb nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.breadcrumb-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--grey);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 180ms ease;
}

.breadcrumb-link:hover { color: var(--charcoal); }

.breadcrumb-sep {
  color: var(--grey-lt);
  font-size: 13px;
}

.breadcrumb-current {
  font-size: 13px;
  color: var(--charcoal);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 340px;
}

.product-detail-wrap {
  padding: 72px 0 40px;
}

.product-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 72px;
  row-gap: 0;
  align-items: start;
}

.product-detail-inner > .product-detail-brand {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 12px;
}

.product-detail-info-top {
  grid-column: 1;
  grid-row: 2;
  padding-top: 8px;
}

.product-detail-info-bottom {
  grid-column: 1;
  grid-row: 3;
}

.product-detail-img {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.product-detail-img-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 100%;
}

.product-detail-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 32px;
}


.product-detail-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 8px;
}

.product-detail-brand {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: var(--white);
}

.product-detail-brand-label {
  background: var(--charcoal);
  padding: 4px 10px;
}

.product-detail-brand-value {
  background: var(--red);
  padding: 4px 10px;
}

.product-detail-partno {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 10px;
}

.product-detail-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 12px;
}

.product-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.product-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 0;
}

.product-stock.in-stock {
  color: #166534;
  background: #dcfce7;
}

.product-stock.enquire {
  color: #92400e;
  background: #fef3c7;
}

.product-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--red);
}

.product-detail-spec {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 20px;
  padding: 10px 14px;
  background: var(--warm);
  border-left: 3px solid var(--red);
}

.product-detail-divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

.product-detail-note {
  font-size: 13px;
  color: var(--grey);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.product-detail-note i {
  color: var(--red);
  margin-top: 2px;
  flex-shrink: 0;
}

.product-detail-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.product-detail-cta {
  font-size: 15px;
  padding: 14px 28px;
}

@media (max-width: 768px) {
  .product-detail-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    row-gap: 8px;
  }

  .product-detail-inner > .product-detail-brand {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
  }

  .product-detail-info-top {
    grid-column: 1;
    grid-row: 2;
    padding-top: 0;
  }

  .product-detail-img {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .product-detail-info-bottom {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 12px;
  }

  .product-detail-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .product-detail-img-wrap img {
    padding: 0;
  }

  .product-detail-wrap { padding: 40px 0 80px; }
  .breadcrumb-current   { max-width: 200px; }
}

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

.contact-page {
  padding-top: 0;
}

.contact-hero {
  background: var(--warm);
  padding: 40px 0;
}

.contact-hero .section-title {
  margin-bottom: 0;
}

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

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.75fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-primary {
  background: var(--dark);
  border-radius: 0;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.contact-primary::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(204,14,45,0.12);
}

.contact-primary-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.contact-primary-sub {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  position: relative;
  z-index: 1;
}

.contact-primary .btn-primary {
  align-self: flex-start;
  font-size: 15px;
  padding: 16px 28px;
  position: relative;
  z-index: 1;
}

.contact-wa-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  position: relative;
  z-index: 1;
}

/* Contact form */
.contact-form-section h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}

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

.form-group {
  margin-bottom: 20px;
}

.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: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 0;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  appearance: none;
  outline: none;
}

.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,14,45,0.1);
}

.form-control::placeholder {
  color: var(--grey-lt);
}

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

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


/* ============================================================
   20. Responsive
   ============================================================ */

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

@media (max-width: 900px) {
  :root {
    --sec-y: 80px;
    --sec-y-sm: 60px;
  }

  .stats-layout      { grid-template-columns: 1fr; gap: 48px; }
  .story-collage     { height: 380px; }
  .story-layout      { grid-template-columns: 1fr; }
  .story-img         { position: static; }
  .vmo-grid          { grid-template-columns: 1fr; }
  .service-masonry              { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .service-masonry-tile.wide   { grid-column: span 2; grid-row: span 1; }
  .contact-inner     { grid-template-columns: 1fr; }
  .contact-form-section { order: -2; }
  .contact-map       { order: -1; min-height: 320px; }
  .brands-grid       { grid-template-columns: repeat(2, 1fr); }
  .clients-grid      { grid-template-columns: repeat(3, 1fr); }
  .form-row          { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .saf-nav .nav-logo         { max-width: 140px; opacity: 1; pointer-events: auto; }
  .saf-nav .nav-burger span  { background: var(--charcoal); }

  .nav-links         { display: none; }
  .nav-actions       { display: none; }
  .nav-burger        { display: flex; margin-left: auto; }

  /* Hero carousel - mobile */
  .hero-carousel     { padding: 16px 5vw 24px; gap: 12px; }
  .hero-card         { flex: 0 0 90vw; border-radius: 16px; }
  .hero-card-content { padding: 32px 28px; }
  .card-centered     { padding: 40px 28px; }
  .card-actions      { flex-direction: column; align-items: flex-start; }
  .hero-card--main .card-actions { display: none; }

  /* Sections */
  .pillars-grid      { grid-template-columns: 1fr; }
  .clients-grid      { grid-template-columns: repeat(2, 1fr); }
  .stats-grid        { grid-template-columns: 1fr; }
  .story-collage     { grid-template-columns: 1fr 1fr; height: 260px; }
  .sc-side           { grid-template-rows: 1fr 1fr; }
  .supplier-cards    { grid-template-columns: 1fr; }
  .footer-inner      { gap: 20px; }
  .footer-nav        { flex-wrap: wrap; gap: 16px; }

  .products-list-header > div:nth-child(5),
  .card-col-fits { display: none; }
  .products-list-header,
  .products-grid .product-card { grid-template-columns: 72px 130px 1fr 100px 90px 120px; }

  .footer-bottom-inner { flex-direction: column; align-items: center; gap: 4px; text-align: center; }

  .findus-horizontal { grid-template-columns: 1fr; }

  .map-wrap          { height: 280px; }
  .contact-map       { min-height: 280px; }
}

@media (max-width: 480px) {
  .products-list-header { display: none; }
  .products-list-header,
  .products-grid .product-card { grid-template-columns: 56px 1fr auto; }
  .card-col-partno,
  .card-col-brand,
  .card-col-fits,
  .card-col-price { display: none; }
  .card-col { padding: 12px 10px; }
  .card-thumb { width: 56px; height: 56px; }
  .card-col-action { padding-right: 12px; }
  .clients-grid      { grid-template-columns: repeat(2, 1fr); }
  .client-cell       { padding: 18px 12px; min-height: 72px; }
  .client-logo       { max-width: 90px; max-height: 50px; }
  .card-brands-grid  { gap: 8px; }
  .card-brand-pill   { font-size: 12px; padding: 10px 16px; }
  .story-collage     { grid-template-columns: 1fr 1fr; height: 200px; }
  .sc-year-badge     { bottom: 12px; left: 12px; padding: 10px 12px; }
  .sc-year-num       { font-size: 24px; }
  .card-brand-logo   { padding: 10px 14px; }
  .card-brand-logo img { height: 24px; max-width: 80px; }
  .saf-footer        { margin: 0; }
  .footer-contact    { display: none; }
  .product-tab       { padding: 12px 16px; font-size: 13px; }
}


/* ============================================================
   20b. 12V Electricals Banner
   ============================================================ */

.electricals-banner {
  padding: 28px 0;
  background: var(--red);
}

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

.electricals-img-wrap {
  flex-shrink: 0;
}

.electricals-img-wrap img {
  height: 110px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.25));
}

.electricals-text {
  flex: 1;
  text-align: center;
}

.electricals-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.electricals-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 auto;
  max-width: 400px;
  line-height: 1.6;
}

.electricals-cta {
  flex-shrink: 0;
  background: #fff;
  color: var(--red);
  border-color: #fff;
}

.electricals-cta:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

@media (max-width: 640px) {
  .electricals-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .electricals-img-wrap img {
    height: 80px;
  }
  .electricals-sub {
    max-width: 100%;
  }
  .electricals-cta {
    align-self: center;
  }
}


/* ============================================================
   20b. Hero - 2-column desktop grid
   ============================================================ */

@media (min-width: 1100px) {
  .hero-section {
    padding-bottom: 40px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 16px;
    padding: 24px 7.5vw 0;
    height: calc(100svh - var(--nav-h) - 64px);
    max-height: 820px;
    min-height: 520px;
  }

  /* Left: carousel fills the full column */
  .hero-left {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hero-left .hero-carousel {
    padding: 0;
    flex: 1;
    min-height: 0;
  }

  /* Cards fill the full column width & height */
  .hero-left .hero-card {
    flex: 0 0 100%;
    height: 100%;
    max-height: none;
  }

  /* Counter: overlaid bottom-right on the slide */
  .hero-left .hero-counter {
    position: absolute;
    bottom: 18px;
    right: 22px;
    justify-content: flex-end;
    gap: 0;
    z-index: 10;
    /* legibility over imagery */
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.55));
  }

  /* Dots turn white over the dark slide backgrounds */
  .hero-left .hero-dot-btn {
    background: rgba(255, 255, 255, 0.38);
  }

  .hero-left .hero-dot-btn.is-active {
    background: rgba(255, 255, 255, 0.95);
  }

  /* Show the arrows */
  .hero-arrow { display: flex; }

  /* Right: two banners stacked */
  .hero-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    padding: 0;
    margin-top: 0;
  }

  .hero-right .hero-banner { height: auto; border-radius: 22px; }

  .hero-right .hb-inner { padding: 28px 22px; }

  .hero-right .hb-brands-grid { margin-top: 18px; gap: 6px; }

  .hero-right .hb-brands-grid .card-brand-logo { padding: 8px 10px; }

  .hero-right .hb-brands-grid .card-brand-logo img { height: 22px; max-width: 80px; }

  .hero-banner {
    flex: 1;
    min-height: 0;
    border-radius: 22px;
  }
}


/* ============================================================
   21. TikTok Feed
   ============================================================ */

.tiktok-section {
  background: var(--white);
  padding: 64px 0;
}

.tiktok-sub {
  margin: 0 auto;
  max-width: 520px;
}

.tiktok-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 40px;
}

.tiktok-embed-wrap {
  width: 325px;
  flex-shrink: 0;
}

.tiktok-iframe {
  display: block;
  width: 100%;
  height: 739px;
  border: none;
}

.tiktok-follow {
  text-align: center;
}

.btn-tiktok {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
  padding: 14px 36px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.btn-tiktok:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.btn-tiktok .fab {
  font-size: 17px;
}

@media (max-width: 720px) {
  .tiktok-embed-wrap {
    width: min(325px, 100%);
  }
}


/* ============================================================
   22. 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;
  }

  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-carousel {
    scroll-behavior: auto;
  }
  .hero-dot-btn {
    transition: none;
  }
}

.form-feedback {
  background: #eaf6ea;
  color: #1a5c1a;
  border: 1px solid #a8d5a8;
  border-radius: 0;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
