/* ============================================================
   CMS - Commercial Motor Spares
   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 CMS 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:  rgba(255, 255, 255, 0.82);
  --topbar-h:  38px;
  --nav-bar-h: 62px;
  --nav-h:     calc(var(--nav-bar-h) + var(--topbar-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: '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: 16px;
}

.section-title {
  font-family: 'Outfit', 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: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border-radius: 4px;
  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;
  transform: translateY(-2px);
  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;
  transform: translateY(-2px);
  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
   ============================================================ */

/* Top info bar */
.cms-topbar {
  position: relative;
  height: var(--topbar-h);
  background: #9a0418;
  display: flex;
  align-items: center;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(12px, 2vw, 32px);
}

.topbar-logo {
  display: none;
}

.topbar-logo img {
  height: 48px;
  width: auto;
  display: block;
}

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

.topbar-left span,
.topbar-left a {
  font-size: 13px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.topbar-left a:hover { opacity: 0.75; }

.topbar-left span i,
.topbar-left a i {
  color: var(--white);
  font-size: 11.5px;
}

.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.topbar-right a {
  color: var(--white);
  font-size: 15px;
  line-height: 1;
  transition: color 180ms ease;
}

.topbar-right a:hover {
  color: rgba(255,255,255,0.65);
}

.cms-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-bar-h);
  display: flex;
  align-items: center;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  background: var(--white);
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  clip-path: inset(0 0 -30px 0);
}

.cms-nav.topbar-gone {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.06);
}

.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: 46px; width: auto; display: block; }

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

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

.nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 2px;
}

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

.cms-nav.topbar-gone .nav-link        { color: var(--charcoal); }
.cms-nav.topbar-gone .nav-link:hover  { color: var(--charcoal); }
.cms-nav.topbar-gone .nav-link.is-active { color: var(--red); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--red);
  transition: left 200ms ease-out, right 200ms ease-out;
}

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

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


.nav-phone {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 20px;
  white-space: nowrap;
}

.nav-phone i {
  color: var(--red);
  font-size: 12.5px;
}

.nav-cta {
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 20px;
}

/* 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: 2px;
  transition: transform 300ms ease, opacity 300ms ease;
}

.cms-nav.topbar-gone .nav-burger span { background: var(--charcoal); }

.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: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 300ms ease;
}

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

.nav-overlay .nav-link {
  font-size: 24px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  padding: 12px 0;
  color: var(--charcoal);
}

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

.nav-overlay .nav-link:hover {
  color: var(--red);
}

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

.nav-overlay-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 24px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
}

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

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

.nav-overlay-contact a:hover { opacity: 1; }

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

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

.nav-overlay-socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.07);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: background 220ms, color 220ms, transform 220ms, border-color 220ms;
}

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

.nav-overlay-socials a[aria-label="Facebook"]:hover  { background: #1877F2; color: #fff; border-color: #1877F2; }
.nav-overlay-socials a[aria-label="Instagram"]:hover { background: radial-gradient(circle at 30% 110%, #ffdb8b, #ee652a 25%, #d62e9a 50%, #6c3ab8 75%, #3e5ac2); color: #fff; border-color: transparent; }
.nav-overlay-socials a[aria-label="TikTok"]:hover    { background: #010101; color: #fff; border-color: #010101; }
.nav-overlay-socials a[aria-label="WhatsApp"]:hover  { background: #25D366; color: #fff; border-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: 22px;
  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: 'Inter', 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: 'Outfit', 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: 6px;
  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: 'Inter', 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: 'Inter', 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);
  backdrop-filter: blur(10px);
}

.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: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: 'Inter', 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: 'Outfit', 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: 4px;
  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: 6px;
  padding: 12px 18px;
  transition: background 220ms ease, transform 220ms ease;
}

.card-brand-logo:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.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: width 320ms cubic-bezier(0.34, 1.56, 0.64, 1),
              border-radius 320ms ease,
              background 320ms ease;
  flex-shrink: 0;
}

.hero-dot-btn.is-active {
  width: 24px;
  border-radius: 4px;
  background: var(--charcoal);
}

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


/* ============================================================
   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: 'Outfit', 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: 8px;
  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: 'Outfit', 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;
}


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

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

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

/* Tabs */
.products-tabs-outer {
  position: relative;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.products-tabs-outer::-webkit-scrollbar {
  display: none;
}

.products-tabs {
  display: flex;
  gap: 0;
  position: relative;
}

.product-tab {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--grey);
  background: none;
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  transition: color 200ms ease;
  white-space: nowrap;
}

.product-tab:hover {
  color: var(--charcoal);
}

.product-tab.is-active {
  color: var(--charcoal);
  font-weight: 600;
}

.tab-indicator {
  position: absolute;
  bottom: -1px;
  height: 2px;
  background: var(--red);
  transition: left 250ms var(--ease-out), width 250ms var(--ease-out);
}

/* Rails */
.product-rails-container {
  position: relative;
}

.product-rail {
  display: none;
  grid-auto-flow: column;
  grid-auto-columns: 292px;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 4px 28px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.product-rail::-webkit-scrollbar {
  display: none;
}

.product-rail.is-active {
  display: grid;
  animation: railIn 400ms var(--ease-out) both;
}

@keyframes railIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: none; }
}

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: 10px;
  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 {
  transform: translateY(-8px);
  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 {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.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: 'Outfit', 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: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--black);
  background: var(--warm);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 10px;
}

.card-price {
  font-family: 'Outfit', 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;
}

/* Rail navigation arrows */
.rail-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.rail-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 200ms ease, transform 200ms ease;
  flex-shrink: 0;
}

.rail-btn:hover {
  background: var(--red);
  transform: scale(1.08);
}

.rail-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}


/* ============================================================
   10. Why CMS 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: 12px;
  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);
  transform: translateY(-3px);
}

.pillar-title {
  font-family: 'Outfit', 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;
}

.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: 8px;
  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: 'Outfit', 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: 10px;
  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: 'Outfit', 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: var(--sec-y) 0;
}

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

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(204,14,45,0.06);
  border: 1px solid rgba(204,14,45,0.15);
  border-radius: 100px;
  padding: 8px 16px 8px 10px;
  margin-bottom: 32px;
}

.service-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s ease-in-out infinite;
}

.service-badge-text {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

.service-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: var(--warm);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-placeholder {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: rgba(17,18,24,0.08);
  text-transform: uppercase;
}


/* ============================================================
   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;
  border-radius: 8px;
  background: var(--red-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 16px;
  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: 12px;
  overflow: hidden;
  height: 400px;
  background: #e8e6e1;
  border: 1px solid var(--border);
}

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

.cms-footer {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  margin: 0 16px 16px;
}

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

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

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

.footer-logo {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-tagline-sm {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
}

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

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

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

/* --- Hero CTA section --- */
.footer-hero {
  position: relative;
}

.footer-hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 44px;
  padding-bottom: 52px;
  gap: 40px;
}

.footer-watermark {
  position: absolute;
  bottom: -24px;
  left: calc(var(--pad) * -0.5);
  font-family: 'Outfit', sans-serif;
  font-size: clamp(90px, 16vw, 240px);
  font-weight: 800;
  color: rgba(255,255,255,0.035);
  letter-spacing: -3px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.footer-cta-text {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(52px, 9vw, 132px);
  font-weight: 800;
  color: var(--white);
  line-height: 0.9;
  letter-spacing: -2px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.footer-contact-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

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

.footer-contact-line i {
  color: var(--white);
  font-size: 14px;
  background: rgba(255,255,255,0.08);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact-line a {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  transition: opacity 200ms ease;
}

.footer-contact-line a:hover {
  opacity: 0.75;
}

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

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

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

.footer-credit {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

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

.footer-credit a:hover {
  opacity: 0.75;
}

/* --- 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: 'Outfit', 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: 12px;
  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: 12px;
  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);
}


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

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

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

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

.filter-btn {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--grey);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  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: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.products-grid .product-card {
  scroll-snap-align: none;
}

.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: 'Outfit', 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;
}

.products-search-bar .search-wrap {
  border-radius: 8px;
  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: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--grey);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  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 var(--sec-y);
}

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

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

.product-detail-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-detail-info {
  padding-top: 8px;
}

.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: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 8px;
}

.product-detail-partno {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--charcoal);
  background: var(--warm);
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 14px;
}

.product-detail-name {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.1;
  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: 100px;
}

.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 {
  display: none;
}

.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 {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .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-layout {
  background: var(--white);
  padding: var(--sec-y) 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-primary {
  background: var(--dark);
  border-radius: 16px;
  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: 'Outfit', 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: 'Outfit', 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: 'Outfit', 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: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  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-layout      { grid-template-columns: 1fr; }
  .story-img         { position: static; }
  .vmo-grid          { grid-template-columns: 1fr; }
  .service-inner     { grid-template-columns: 1fr; }
  .findus-inner      { grid-template-columns: 1fr; }
  .contact-inner     { grid-template-columns: 1fr; }
  .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) {
  /* Topbar - hidden on mobile (nav carries the logo instead) */
  .cms-topbar        { display: none; }
  :root              { --topbar-h: 0px; --nav-h: var(--nav-bar-h); }

  /* Nav - always use the sticky glass style on mobile (no dark pill) */
  .cms-nav {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.06);
  }
  .cms-nav .nav-logo         { max-width: 140px; opacity: 1; pointer-events: auto; }
  .cms-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; }
  .footer-hero-inner { flex-direction: column; align-items: flex-start; }
  .footer-contact-lines { align-self: flex-end; }

  .products-grid     { grid-template-columns: repeat(2, 1fr); }

  .footer-top-inner  { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-hero-inner { padding-top: 32px; padding-bottom: 40px; }
  .footer-contact-lines { align-self: flex-start; }
  .footer-bottom-inner { flex-direction: column; align-items: center; gap: 8px; text-align: center; }

  .contact-primary   { padding: 32px 24px; }

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

@media (max-width: 480px) {
  .products-grid     { grid-template-columns: 1fr; }
  .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; }
  .card-brand-logo   { padding: 10px 14px; }
  .card-brand-logo img { height: 24px; max-width: 80px; }
  .cms-footer        { margin: 0 8px 8px; border-radius: 16px; }
  .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;
  }
}


/* ============================================================
   21. 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: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
