/* ================================================================
   KenyaTyres.com — Global Stylesheet v3.0
   /assets/css/style.css
   Used by: ALL pages — index, brands/*, pages/*, 404
   ================================================================ */

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

html {
  font-size: 16px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Barlow', 'Segoe UI', Arial, sans-serif;
  background: #F8F8F6;
  color: #1a1a1a;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  min-width: 320px;
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── DESIGN TOKENS ── */
:root {
  --red:       #E02020;
  --red-dk:    #B81A1A;
  --black:     #0C0C0C;
  --dark:      #161616;
  --dark2:     #1E1E1E;
  --dark3:     #2A2A2A;
  --gray-light:#F8F8F6;
  --gray-mid:  #EBEBEB;
  --border:    #E2E2DC;
  --muted:     #888;
  --muted2:    #555;
  --wa-green:  #25D366;
  --wa-dk:     #1DAE52;
  --gold:      #C9A84C;
  --blue:      #2563EB;
  --orange:    #F97316;
  --teal:      #22C55E;
  --accent:    var(--red);        /* overridden per-page */
  --accent-bg: #1a1a2a;          /* overridden per-page */
  --container: 1280px;
  --radius:    8px;
  --radius-lg: 14px;
  --shadow:    0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.14);
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', 'Barlow', Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

/* ── LAYOUT UTILITIES ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ──────────────────────────────────────────────
   TOPBAR
────────────────────────────────────────────── */
.topbar {
  background: var(--red);
  padding: 8px 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}
.topbar-left { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.topbar-item {
  font-size: 12px; color: rgba(255,255,255,.9);
  display: flex; align-items: center; gap: 5px;
}
.topbar-item strong { color: #fff; }
.topbar-badge {
  background: rgba(0,0,0,.2); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  border-radius: 20px; letter-spacing: .06em; text-transform: uppercase;
  animation: topbar-pulse 2.5s ease-in-out infinite;
}
@keyframes topbar-pulse {
  0%,100%{ box-shadow: 0 0 0 0 rgba(255,255,255,.25); }
  50%    { box-shadow: 0 0 0 5px rgba(255,255,255,0); }
}

/* ──────────────────────────────────────────────
   NAVIGATION
────────────────────────────────────────────── */
.site-nav {
  background: var(--black);
  border-bottom: 2px solid var(--red);
  position: sticky; top: 0; z-index: 500;
  width: 100%;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center;
  justify-content: space-between;
  height: 64px; gap: 1rem;
}
.nav-logo {
  display: flex; flex-direction: column;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-main {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px; font-weight: 900;
  color: #fff; letter-spacing: -1px; line-height: 1;
}
.nav-logo-main span { color: var(--red); }
.nav-logo-sub {
  font-size: 10px; font-weight: 600;
  color: #666; letter-spacing: .06em;
  text-transform: uppercase;
}
.nav-menu {
  display: flex; align-items: center; gap: 0; flex: 1;
  justify-content: center;
}
.nav-menu a {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,.6);
  padding: 0 .85rem; height: 64px;
  display: flex; align-items: center;
  text-transform: uppercase; letter-spacing: .04em;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu a.active { color: #fff; border-bottom-color: var(--red); }
.nav-right {
  display: flex; align-items: center; gap: .65rem; flex-shrink: 0;
}
.nav-phone {
  font-size: 13px; font-weight: 700;
  color: var(--red); white-space: nowrap;
  display: flex; align-items: center; gap: 4px;
}
.btn-nav-wa {
  background: var(--wa-green); color: #fff;
  border: none; padding: 8px 14px; border-radius: var(--radius);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; gap: 5px;
  transition: background .2s; white-space: nowrap;
  text-decoration: none;
}
.btn-nav-wa:hover { background: var(--wa-dk); }
.btn-nav-wa svg { width: 16px; height: 16px; fill: #fff; flex-shrink: 0; }

/* Mobile burger */
.nav-burger {
  display: none; flex-direction: column;
  gap: 5px; background: none; border: none;
  padding: 6px; cursor: pointer;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px; transition: all .25s;
}

/* ──────────────────────────────────────────────
   BUTTONS
────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; padding: 13px 24px; border-radius: var(--radius);
  font-family: 'Barlow', sans-serif; font-size: 14px; font-weight: 700;
  border: none; cursor: pointer; transition: all .2s;
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-sm { padding: 9px 16px; font-size: 12px; }
.btn-full { width: 100%; }

.btn-wa { background: var(--wa-green); color: #fff; }
.btn-wa:hover {
  background: var(--wa-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,.3);
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dk); transform: translateY(-1px); }
.btn-outline-red {
  background: transparent; color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline-red:hover { background: var(--red); color: #fff; }
.btn-dark { background: var(--dark2); color: #fff; border: 1px solid #333; }
.btn-dark:hover { border-color: var(--red); color: var(--red); }

/* ──────────────────────────────────────────────
   TRUST BAR
────────────────────────────────────────────── */
.trust-bar { background: var(--black); padding: 16px 1.5rem; width: 100%; }
.trust-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; justify-content: space-around;
  align-items: center; flex-wrap: wrap; gap: .75rem;
}
.trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: rgba(255,255,255,.65);
  font-weight: 500; white-space: nowrap;
}
.trust-icon { font-size: 15px; }

/* ──────────────────────────────────────────────
   BREADCRUMB
────────────────────────────────────────────── */
.breadcrumb {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 10px 1.5rem; font-size: 12px; color: #888;
  width: 100%;
}
.breadcrumb .bc-inner { max-width: var(--container); margin: 0 auto; }
.breadcrumb a { color: var(--red); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 5px; }

/* ──────────────────────────────────────────────
   BRAND HERO (brand pages)
────────────────────────────────────────────── */
.brand-hero {
  background: var(--accent-bg);
  padding: 52px 1.5rem 44px;
  position: relative; overflow: hidden; width: 100%;
}
.brand-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.brand-hero::after {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,255,255,.04), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 200px 1fr;
  gap: 2.5rem; align-items: center;
  position: relative; z-index: 1;
}
/* Logo box */
.brand-logo-box {
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem; flex-shrink: 0;
}
.logo-frame {
  width: 170px; height: 85px;
  background: rgba(255,255,255,.09);
  border: 1.5px solid rgba(255,255,255,.16);
  border-radius: 12px;
  display: flex; align-items: center;
  justify-content: center; padding: 1rem;
  overflow: hidden;
}
.logo-frame img {
  max-width: 130px; max-height: 56px;
  width: auto; height: auto; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .9;
}
.logo-wordmark {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 900;
  color: rgba(255,255,255,.65); letter-spacing: 1px;
  text-align: center; display: none;
}
.tier-badge {
  font-size: 10px; font-weight: 700;
  padding: 4px 14px; border-radius: 20px;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--accent); color: #fff;
}
.origin-label { font-size: 11px; color: rgba(255,255,255,.42); font-weight: 500; }
/* Hero text */
.hero-text { min-width: 0; }
.hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: #fff; margin-bottom: .35rem;
}
.hero-tagline {
  font-size: 15px; color: var(--accent);
  font-weight: 600; font-style: italic;
  margin-bottom: .85rem;
  font-family: Georgia, serif;
}
.hero-desc {
  font-size: 15px; color: rgba(255,255,255,.6);
  line-height: 1.72; margin-bottom: 1.75rem;
  font-weight: 300; max-width: 620px;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ──────────────────────────────────────────────
   PAGE CONTENT GRID (brand pages)
────────────────────────────────────────────── */
.page-content {
  max-width: var(--container); margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: grid; grid-template-columns: 1fr 300px;
  gap: 2rem; align-items: start;
}
.main-col { min-width: 0; }
.sidebar-col { min-width: 0; }

/* Content cards */
.content-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  margin-bottom: 1.5rem; overflow: hidden;
}
.content-card:last-child { margin-bottom: 0; }
.content-card h2 {
  font-size: 1.2rem; color: var(--black);
  margin-bottom: 1rem; padding-bottom: .75rem;
  border-bottom: 2px solid var(--accent);
  display: flex; align-items: center; gap: .5rem;
}
.content-card h2 em { color: var(--accent); font-style: normal; }

/* Highlights */
.highlights { display: flex; flex-direction: column; gap: .75rem; }
.hl-item {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: 14px; color: #444; line-height: 1.55;
}
.hl-check {
  color: var(--accent); font-size: 15px; font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}

/* Tyre size chips */
.sizes-wrap { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.size-chip {
  background: var(--black); color: #fff;
  padding: 7px 14px; border-radius: 6px;
  font-size: 12px; font-weight: 700;
  font-family: 'Barlow Condensed', monospace;
  letter-spacing: .04em; text-decoration: none;
  display: inline-block; transition: all .2s;
  white-space: nowrap;
}
.size-chip:hover { background: var(--red); transform: translateY(-1px); }

/* Vehicle list */
.vehicles-text { font-size: 14px; color: #555; line-height: 1.72; }
.vehicles-text strong { color: var(--black); }

/* CTA block inside cards */
.cta-block {
  background: var(--black); border-radius: var(--radius);
  padding: 1.5rem; margin-top: 1.25rem;
  display: flex; flex-direction: column; gap: .75rem;
}

/* Sidebar */
.sidebar-card {
  background: var(--black); border-radius: var(--radius-lg);
  padding: 1.5rem; margin-bottom: 1.25rem; overflow: hidden;
}
.sidebar-card:last-child { margin-bottom: 0; }
.sidebar-card h3 {
  font-size: .95rem; color: #fff;
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 1rem;
}
.sidebar-meta {
  font-size: 12px; color: rgba(255,255,255,.42);
  margin-top: 1rem; line-height: 2;
}
.sidebar-meta strong { color: #fff; }
.sidebar-card .btn { margin-bottom: .6rem; }
.sidebar-card .btn:last-child { margin-bottom: 0; }

.related-list { display: flex; flex-direction: column; gap: 6px; }
.related-link {
  font-size: 13px; color: rgba(255,255,255,.55);
  display: flex; align-items: center; gap: 5px;
  transition: color .2s; text-decoration: none;
}
.related-link::before { content: '→'; font-size: 11px; opacity: .6; }
.related-link:hover { color: var(--red); }

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--red);
  margin-bottom: 1.25rem; text-decoration: none;
  transition: color .2s;
}
.back-link:hover { color: var(--red-dk); }

/* ──────────────────────────────────────────────
   BRANDS GRID (brands/index.html)
────────────────────────────────────────────── */
.brands-index-grid {
  max-width: var(--container); margin: 0 auto;
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
}
.brand-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.brand-card:hover {
  border-color: rgba(224,32,32,.45);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,.35);
}
.brand-card-inner {
  padding: 1.25rem 1rem 1rem;
  text-align: center; text-decoration: none;
  display: block; flex: 1;
}
.bc-logo-wrap {
  height: 50px; display: flex;
  align-items: center; justify-content: center;
  margin-bottom: .75rem;
}
.bc-logo-wrap img {
  max-width: 108px; max-height: 46px;
  object-fit: contain;
  filter: brightness(0) invert(1); opacity: .5;
  transition: opacity .25s;
}
.brand-card:hover .bc-logo-wrap img { opacity: 1; }
.bc-fallback {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 900;
  color: rgba(255,255,255,.45); letter-spacing: .5px;
  display: none;
}
.bc-name { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.bc-tier-badge {
  font-size: 9px; font-weight: 700;
  padding: 2px 8px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: .06em;
  display: inline-block;
}
.bc-order-btn {
  display: block; background: var(--red); color: #fff;
  text-align: center; padding: 9px;
  font-family: 'Barlow', sans-serif;
  font-size: 12px; font-weight: 700;
  text-decoration: none; transition: background .2s;
}
.bc-order-btn:hover { background: var(--red-dk); }

/* Filter bar */
.filter-bar {
  display: flex; justify-content: center;
  gap: .5rem; flex-wrap: wrap; padding: 1.25rem 1.5rem 0;
}
.filter-btn {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.6);
  padding: 7px 18px; border-radius: 20px;
  font-family: 'Barlow', sans-serif;
  font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.filter-btn:hover,
.filter-btn.active { background: var(--red); color: #fff; border-color: var(--red); }

/* ──────────────────────────────────────────────
   HOMEPAGE SECTIONS (index.html only)
────────────────────────────────────────────── */

/* Ticker */
.ticker { background: var(--red); padding: 11px 0; overflow: hidden; white-space: nowrap; }
.ticker-track {
  display: inline-flex; gap: 2.5rem;
  animation: ticker-scroll 28s linear infinite;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.ticker-sep { color: rgba(255,255,255,.4); margin: 0 .4rem; }

/* Homepage brand cells */
.hp-brands-section { background: var(--black); padding: 56px 0; }
.hp-brands-label {
  text-align: center; font-size: 11px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: #666; margin-bottom: .75rem;
}
.hp-brands-sub {
  text-align: center; font-size: 12px;
  color: rgba(255,255,255,.25); margin-bottom: 1.5rem;
}
.hp-brands-row {
  display: grid; grid-template-columns: repeat(8,1fr); gap: 0;
}
.hp-brand-cell {
  border: 0.5px solid rgba(255,255,255,.07);
  padding: 1.1rem .75rem .9rem;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  cursor: pointer; transition: all .25s;
  text-align: center; text-decoration: none;
  gap: 6px; position: relative; overflow: hidden;
}
.hp-brand-cell::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 0;
  background: var(--red); transition: height .2s;
}
.hp-brand-cell:hover { background: rgba(255,255,255,.05); }
.hp-brand-cell:hover::after { height: 2px; }
.hp-brand-cell img {
  max-width: 88px; max-height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1); opacity: .45;
  transition: opacity .25s;
}
.hp-brand-cell:hover img { opacity: 1; }
.hp-brand-cell-name { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.3); transition: color .2s; }
.hp-brand-cell:hover .hp-brand-cell-name { color: rgba(255,255,255,.7); }
.hp-brand-cell-tier { font-size: 9px; color: var(--red); font-weight: 700; text-transform: uppercase; opacity: 0; transition: opacity .2s; }
.hp-brand-cell:hover .hp-brand-cell-tier { opacity: 1; }

/* ──────────────────────────────────────────────
   STANDALONE PAGES (fleet, tyres, sizes, reviews, contact)
────────────────────────────────────────────── */
.page-hero {
  background: var(--black); padding: 56px 1.5rem 48px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.page-hero-inner { max-width: var(--container); margin: 0 auto; position: relative; z-index: 1; }
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(224,32,32,.15); border: 1px solid rgba(224,32,32,.3);
  border-radius: 20px; padding: 5px 14px; margin-bottom: 1rem;
  font-size: 11px; font-weight: 700; color: var(--red);
  letter-spacing: .1em; text-transform: uppercase;
}
.page-hero h1 {
  font-size: clamp(2.5rem,5vw,4rem);
  color: #fff; margin-bottom: .75rem;
}
.page-hero h1 span { color: var(--red); font-style: italic; font-family: Georgia, serif; font-weight: 300; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,.55); line-height: 1.72; max-width: 560px; font-weight: 300; }
.page-stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); }
.ps-num { font-family: 'Barlow Condensed',sans-serif; font-size: 2.2rem; font-weight: 900; color: var(--red); line-height: 1; }
.ps-label { font-size: 11px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .07em; margin-top: 3px; font-weight: 500; }

/* Generic content section */
.content-section { background: #fff; }
.content-section-alt { background: var(--gray-light); }
.content-section-dark { background: var(--black); }
.content-section-dark h2,
.content-section-dark h3 { color: #fff; }
.content-section-dark p { color: rgba(255,255,255,.55); }

/* Perk / feature grid */
.perks-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 1.5rem; margin-top: 2rem; }
.perk-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: border-color .2s, transform .2s;
}
.perk-card:hover { border-color: rgba(224,32,32,.3); transform: translateY(-2px); }
.perk-icon { font-size: 2rem; margin-bottom: .75rem; display: block; }
.perk-title { font-size: 15px; font-weight: 700; color: var(--black); margin-bottom: .4rem; }
.perk-body { font-size: 13px; color: #555; line-height: 1.62; }

/* How-it-works steps */
.steps-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--border);
  border-radius: var(--radius-lg); overflow: hidden; margin-top: 2.5rem;
}
.step {
  background: #fff; padding: 2rem 1.5rem;
  transition: background .2s; position: relative;
}
.step:hover { background: #fff9f9; }
.step-num {
  font-family: 'Barlow Condensed',sans-serif;
  font-size: 4rem; font-weight: 900;
  color: rgba(224,32,32,.08); line-height: 1; margin-bottom: .75rem;
}
.step-icon { font-size: 1.75rem; margin-bottom: .6rem; display: block; }
.step-title { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: .35rem; }
.step-body { font-size: 13px; color: #666; line-height: 1.6; }

/* Fleet form */
.fleet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 2.5rem; }
.form-wrap {
  background: var(--gray-light); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
}
.form-wrap-dark {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 2rem;
}
.form-group { margin-bottom: 1rem; }
.form-label {
  display: block; font-size: 11px; font-weight: 700;
  color: #888; text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 6px;
}
.form-label-dark { color: rgba(255,255,255,.4); }
.form-input, .form-select, .form-textarea {
  width: 100%; background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px; color: #1a1a1a;
  font-family: 'Barlow', sans-serif;
  font-size: 14px; outline: none;
  transition: border-color .2s;
}
.form-input:focus,.form-select:focus,.form-textarea:focus { border-color: var(--red); }
.form-input-dark, .form-select-dark, .form-textarea-dark {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12);
  color: #fff;
}
.form-input-dark::placeholder { color: rgba(255,255,255,.25); }
.form-input-dark:focus,.form-select-dark:focus { border-color: var(--red); }
.form-textarea { min-height: 90px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 1.25rem; margin-top: 2rem; }
.review-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: all .2s;
}
.review-card:hover { border-color: rgba(224,32,32,.2); box-shadow: var(--shadow); }
.review-stars { color: #F59E0B; font-size: 14px; letter-spacing: 2px; margin-bottom: .75rem; }
.review-text { font-size: 14px; color: #555; line-height: 1.65; font-style: italic; margin-bottom: 1rem; }
.review-author { display: flex; align-items: center; gap: .75rem; padding-top: .85rem; border-top: 1px solid var(--border); }
.review-av {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(224,32,32,.1); display: flex;
  align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--red); flex-shrink: 0;
}
.review-name { font-size: 13px; font-weight: 700; color: var(--black); }
.review-car { font-size: 11px; color: #888; }
.review-badge { margin-left: auto; font-size: 10px; background: #E8F5E9; color: #2E7D32; padding: 3px 8px; border-radius: 3px; font-weight: 700; white-space: nowrap; }

/* Stars summary */
.stars-summary {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; gap: 2.5rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.75rem;
}
.stars-big { font-size: 4rem; font-weight: 900; color: var(--black); line-height: 1; }
.stars-row { color: #F59E0B; font-size: 20px; letter-spacing: 2px; margin-bottom: 4px; }
.stars-count { font-size: 13px; color: #888; }
.stars-bars { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.bar-row { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #888; }
.bar-label { min-width: 28px; text-align: right; font-weight: 600; }
.bar-track { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 3px; background: #F59E0B; }
.bar-pct { min-width: 30px; }

/* M-Pesa box */
.mpesa-box {
  background: var(--black); border-radius: var(--radius-lg);
  padding: 1.5rem; margin-top: 1.5rem;
}
.mpesa-title { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.mpesa-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: 13px;
}
.mpesa-row:last-child { border-bottom: none; }
.mpesa-key { color: rgba(255,255,255,.4); }
.mpesa-val { color: #fff; font-weight: 700; font-family: 'Barlow Condensed',monospace; font-size: 1.1rem; }

/* Stats banner */
.stats-banner { background: var(--red); padding: 52px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.stat-big { font-family: 'Barlow Condensed',sans-serif; font-size: 3rem; font-weight: 900; color: #fff; letter-spacing: -.02em; }
.stat-label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .07em; margin-top: 3px; }

/* Contact grid */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3.5rem; align-items: start; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.75rem; }
.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(224,32,32,.12); border: 1px solid rgba(224,32,32,.2);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.4); margin-bottom: 3px; font-weight: 600; }
.contact-value { font-size: 14px; color: #fff; font-weight: 600; line-height: 1.5; }

/* Tyre size guide table */
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.size-table th { background: var(--black); color: #fff; padding: 12px 14px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.size-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); color: #444; }
.size-table tr:hover td { background: rgba(224,32,32,.04); }
.size-table tr:last-child td { border-bottom: none; }

/* ──────────────────────────────────────────────
   FOOTER
────────────────────────────────────────────── */
.site-footer { background: var(--black); padding: 56px 0 24px; }
.footer-grid {
  max-width: var(--container); margin: 0 auto;
  padding: 0 1.5rem; display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 2.5rem;
}
.footer-brand-desc { font-size: 13px; color: rgba(255,255,255,.35); line-height: 1.72; margin-top: .85rem; max-width: 280px; font-weight: 300; }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.35); transition: color .2s; }
.footer-links a:hover { color: var(--red); }
.footer-bottom {
  max-width: var(--container); margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.2); }
.footer-pay { display: flex; gap: 6px; }
.pay-tag {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.35); font-size: 11px;
  font-weight: 700; padding: 4px 10px; border-radius: 4px;
}
.footer-socials { display: flex; gap: 8px; }
.social-btn {
  width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; font-size: 13px; color: rgba(255,255,255,.35);
  transition: all .2s;
}
.social-btn:hover { border-color: var(--red); color: var(--red); }

/* ──────────────────────────────────────────────
   WA FLOAT BUTTON
────────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 800;
  width: 54px; height: 54px; background: var(--wa-green);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  text-decoration: none; transition: transform .2s;
  animation: wa-pulse 3s ease-in-out infinite;
}
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%      { box-shadow: 0 4px 32px rgba(37,211,102,.65); }
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ──────────────────────────────────────────────
   404 PAGE
────────────────────────────────────────────── */
.page-404 {
  min-height: 65vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 3rem 1.5rem;
}
.err-num {
  font-family: 'Barlow Condensed',sans-serif;
  font-size: 8rem; font-weight: 900;
  color: var(--red); line-height: 1; margin-bottom: .25rem;
}
.err-title { font-size: 1.5rem; font-family: 'Barlow Condensed',sans-serif; text-transform: uppercase; color: var(--black); margin-bottom: .5rem; }
.err-body { font-size: 15px; color: #666; max-width: 480px; margin: 0 auto 2rem; line-height: 1.65; }
.err-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ──────────────────────────────────────────────
   FADE-UP ANIMATION
────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

/* ──────────────────────────────────────────────
   RESPONSIVE BREAKPOINTS
────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hp-brands-row { grid-template-columns: repeat(6,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .brand-logo-box { flex-direction: row; justify-content: center; }
  .hero-desc { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .page-content { grid-template-columns: 1fr; }
  .sidebar-col { order: -1; }
  .nav-menu { display: none; }
  .nav-burger { display: flex; }
  .nav-phone { display: none; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .hp-brands-row { grid-template-columns: repeat(4,1fr); }
  .trust-inner { gap: .6rem; }
  .trust-item { font-size: 11px; }
}

@media (max-width: 640px) {
  .topbar { justify-content: center; }
  .topbar-left { gap: .85rem; }
  .topbar-item { font-size: 11px; }
  .brand-hero { padding: 36px 1rem 30px; }
  .hero-text h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .page-content { padding: 1.5rem 1rem; }
  .content-card { padding: 1.25rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .hp-brands-row { grid-template-columns: repeat(3,1fr); }
  .brands-index-grid { grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); }
  .filter-btn { font-size: 11px; padding: 6px 12px; }
  .stars-summary { flex-direction: column; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .perks-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}

@media (max-width: 400px) {
  .hp-brands-row { grid-template-columns: repeat(2,1fr); }
  .err-num { font-size: 6rem; }
  .nav-logo-main { font-size: 20px; }
}

/* Mobile nav drawer */
.mobile-nav {
  display: none; position: fixed;
  inset: 0; background: rgba(0,0,0,.9);
  z-index: 600; padding: 80px 2rem 2rem;
  flex-direction: column; gap: 1rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.75rem; font-weight: 900;
  color: rgba(255,255,255,.7); text-transform: uppercase;
  letter-spacing: .02em; padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--red); }
.mobile-nav-close {
  position: absolute; top: 1.25rem; right: 1.5rem;
  background: none; border: none; color: #fff;
  font-size: 1.5rem; cursor: pointer;
}
