/* ==========================================================================
   HARI HARA BIKE BAZAR — CORE STYLESHEET
   Design system: Red + White automotive marketplace identity.
   Signature element: diagonal "speed-cut" dividers + red motion accents.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --red: #D71920;
  --red-deep: #A90F15;
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --grey-light: #F4F4F4;
  --charcoal: #171717;
  --charcoal-soft: #2A2A2A;
  --text-muted: #666666;
  --border: #E7E5E4;
  --success: #1E8E3E;
  --warn: #B45309;

  --font-display: "Archivo", "Arial Black", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 3px rgba(23,23,23,0.08);
  --shadow-md: 0 6px 20px rgba(23,23,23,0.10);
  --shadow-lg: 0 16px 40px rgba(23,23,23,0.16);

  --container: 1240px;
  --header-h: 58px;
  --mobile-nav-h: 62px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.1; letter-spacing: -0.01em; }
p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.info-banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Type scale ---------- */
.h-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.h-eyebrow::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--red);
  display: inline-block;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-top: 10px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  margin-top: 10px;
  max-width: 60ch;
}
.section-head { margin-bottom: 36px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head .section-sub.center-sub { margin-left: auto; margin-right: auto; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.18s var(--ease); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:hover svg.icon-arrow { transform: translateX(3px); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--white); }
.btn-white { background: var(--white); color: var(--charcoal); }
.btn-white:hover { background: var(--grey-light); transform: translateY(-2px); }
.btn-whatsapp { background: #21A05A; color: var(--white); }
.btn-whatsapp:hover { background: #1c8c4d; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(0) scale(0.98); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}
.logo-link img { height: 34px; width: auto; }
.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--charcoal-soft);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--red);
  transition: width 0.25s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 10px 16px; font-size: 13.5px; }
.icon-btn-call { display: none; }

.demo-banner {
  background: var(--charcoal);
  color: #fff;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 7px 12px;
}
.demo-banner strong { color: #FFC107; }

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: none;
  background: var(--grey-light);
  border-radius: var(--radius-sm);
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--charcoal);
  position: relative;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { transform: rotate(45deg) translate(4px, 4px); }
.menu-toggle.open span::after { transform: rotate(-45deg) translate(4px, -4px); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  overflow-y: auto;
  padding: 20px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mobile-menu ul { display: flex; flex-direction: column; }
.mobile-menu a {
  display: block;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}
.mobile-menu-actions { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
  padding: 6px 0 24px;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; right: -10%;
  width: 65%;
  height: 100%;
  background: linear-gradient(115deg, transparent 0%, transparent 38%, var(--red) 38%, var(--red-deep) 100%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.94;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.hero-copy .h-eyebrow { color: #FFC7C9; }
.hero-copy .h-eyebrow::before { background: #FFC7C9; }
.hero-title {
  font-size: clamp(38px, 7vw, 68px);
  font-weight: 900;
  margin-top: 6px;
  letter-spacing: -0.02em;
}
.hero-sub {
  margin-top: 12px;
  font-size: 17px;
  color: #D8D8D8;
  max-width: 46ch;
}
.hero-ctas { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 22px;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #EDEDED;
}
.hero-trust svg { width: 18px; height: 18px; color: #FF6E72; flex-shrink: 0; }
.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* soft ambient glow behind the bike, no hard shape */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -14% -6% -14% -2%;
  background: radial-gradient(closest-side, rgba(0,0,0,0.5), rgba(0,0,0,0) 70%);
  z-index: -1;
}
.hero-visual img {
  display: block;
  width: 112%;
  max-width: 640px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 42%;
  margin: 0 auto;
  transform: translateX(3%);
  border: none;
  border-radius: 0;
  box-shadow: none;
  filter: contrast(1.12) saturate(1.05) brightness(0.9) grayscale(0.06);
  /* feathered mask: fully visible at the bike, dissolves into the hero
     background on every side so no rectangular photo edge is visible */
  -webkit-mask-image:
    radial-gradient(ellipse 62% 68% at 54% 46%, #000 40%, transparent 78%),
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 78%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 18%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in, source-in;
  mask-image:
    radial-gradient(ellipse 62% 68% at 54% 46%, #000 40%, transparent 78%),
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 78%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 18%, #000 88%, transparent 100%);
  mask-composite: intersect, intersect;
}
/* thin red rim-light glow following the same silhouette fade, to tie the
   bike's edge into the hero's red brand color instead of a hard border */
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 66% at 54% 46%, rgba(255,64,64,0.16), transparent 72%);
  mix-blend-mode: screen;
}

/* ---------- Diagonal section divider (signature) ---------- */
.speed-divider {
  position: relative;
  height: 46px;
  background: var(--charcoal);
}
.speed-divider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 40%, 100% 100%);
}

/* ---------- Bike Finder ---------- */
.finder-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  margin-top: -70px;
  position: relative;
  z-index: 5;
  border: 1px solid var(--border);
}
.finder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.finder-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.finder-field select, .finder-field input {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  background: var(--off-white);
  transition: border-color 0.18s var(--ease);
}
.finder-field select:focus, .finder-field input:focus { border-color: var(--red); outline: none; background: var(--white); }
.finder-submit { display: flex; align-items: flex-end; }

.budget-shortcuts {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip-btn {
  border: 1.5px solid var(--border);
  background: var(--off-white);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--charcoal-soft);
  transition: all 0.18s var(--ease);
}
.chip-btn:hover, .chip-btn.active { background: var(--red); color: var(--white); border-color: var(--red); }

/* ---------- Bike cards ---------- */
.bike-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.bike-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  display: flex;
  flex-direction: column;
}
.bike-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.bike-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--grey-light); }
.bike-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.bike-card:hover .bike-card-media img { transform: scale(1.06); }
/* No real photo available — CSS-only block (no image file). */
.bike-card-media.no-image {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #F4F4F4, #E7E5E4);
}
.bike-card-media.no-image::after {
  content: "Photo coming soon";
  font-family: var(--font-display);
  font-size: 14px; font-weight: 800; letter-spacing: 0.04em;
  color: var(--text-muted); text-transform: uppercase;
}
.badge-row { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 5px 9px;
  border-radius: 4px;
  text-transform: uppercase;
  color: #fff;
}
.badge-featured { background: var(--red); }
.badge-new { background: var(--charcoal); }
.badge-value { background: #0F766E; }
.badge-verify { background: #B45309; }
.badge-reserved { background: var(--warn); }
.badge-sold { background: #4B4B4B; }
.badge-demo { background: #FFC107; color: #171717; }
.status-overlay {
  position: absolute; inset: 0;
  background: rgba(23,23,23,0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
}
.status-overlay span {
  font-family: var(--font-display);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.1em;
  border: 3px solid #fff;
  padding: 6px 18px;
  transform: rotate(-8deg);
}
.bike-card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bike-card-title { font-size: 17px; font-weight: 800; font-family: var(--font-display); }
.bike-card-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 12.5px; color: var(--text-muted); }
.bike-card-meta span { display: flex; align-items: center; gap: 5px; }
.bike-card-meta svg { width: 14px; height: 14px; }
.bike-card-price-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 4px; }
.bike-card-price { font-size: 22px; font-weight: 900; color: var(--red); font-family: var(--font-display); }
.bike-card-emi { font-size: 11.5px; color: var(--text-muted); }
.bike-card-actions { display: flex; gap: 8px; margin-top: 10px; }
.bike-card-actions .btn { flex: 1; padding: 10px 10px; font-size: 12.5px; }

/* Image-only tiles (homepage Featured Rides) — no text, just the photo */
.bike-card--image-only { border: none; box-shadow: none; background: transparent; }
.bike-card--image-only .bike-card-media { border: 1px solid var(--border); border-radius: var(--radius-md); }
.bike-card--image-only:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* ---------- Featured Rides: image carousel ---------- */
.featured-wrap { margin-top: 30px; }
.featured-carousel { position: relative; }
.carousel-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 6px 6px 16px;
}
.carousel-viewport::-webkit-scrollbar { display: none; height: 0; }
.carousel-track {
  display: flex;
  gap: 22px;
  width: max-content;
}
.carousel-slide { flex: 0 0 auto; scroll-snap-align: start; }
.carousel-track > .skeleton-card { flex: 0 0 320px; }

.carousel-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--charcoal);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 5;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.carousel-nav svg { width: 22px; height: 22px; }
.carousel-nav:hover { background: var(--red); color: #fff; border-color: var(--red); }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #D6D6D6;
  cursor: pointer;
  transition: background 0.2s var(--ease), width 0.25s var(--ease);
}
.carousel-dot:hover { background: var(--red); }
.carousel-dot.active { width: 26px; background: var(--red); }

@media (max-width: 640px) {
  .carousel-nav { width: 40px; height: 40px; top: 40%; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-nav, .carousel-dot { transition: none; }
}

/* Skeleton loading */
.skeleton-card { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); }
.skeleton-media { aspect-ratio: 4/3; background: linear-gradient(90deg, #EFEFEF 25%, #F7F7F7 37%, #EFEFEF 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
.skeleton-line { height: 12px; background: linear-gradient(90deg, #EFEFEF 25%, #F7F7F7 37%, #EFEFEF 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 4px; margin: 10px 12px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* ---------- Budget / Brand chooser ---------- */
.budget-grid, .brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.budget-card {
  background: var(--charcoal);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease);
}
.budget-card:hover { transform: translateY(-4px); }
.budget-card::before {
  content: "";
  position: absolute; right: -30px; top: -30px;
  width: 100px; height: 100px;
  background: var(--red);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: 0.9;
}
.budget-card .label { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.05em; }
.budget-card .range { font-family: var(--font-display); font-size: 24px; font-weight: 900; margin-top: 8px; color: #fff; }
.budget-card .cta { margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
/* Budget explorer cards are buttons now — reset native button chrome. */
.budget-card { border: 0; font: inherit; color: #fff; cursor: pointer; width: 100%; text-align: left; }
.budget-explorer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.budget-explorer-head h3 { font-family: var(--font-display); font-size: 22px; font-weight: 900; }
.budget-back {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; margin-top: 4px;
  font: inherit; font-weight: 700; color: var(--text-muted); cursor: pointer;
}
.budget-back:hover { color: var(--red); }
.budget-explorer-head + .bike-grid { margin-top: 14px; }

.brand-tile {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  transition: all 0.2s var(--ease);
}
.brand-tile:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); transform: translateY(-3px); }

/* ---------- Benefit grid ---------- */
.benefit-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
.benefit-item {
  padding: 24px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.benefit-item:hover { border-color: var(--red); transform: translateY(-3px); }
.benefit-icon {
  width: 44px; height: 44px;
  background: var(--red);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.benefit-icon svg { width: 22px; height: 22px; color: #fff; }
.benefit-item h3 { font-size: 17px; font-weight: 800; }
.benefit-item p { margin-top: 8px; font-size: 14px; color: var(--text-muted); }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
.review-card {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  background: var(--off-white);
  color: var(--text-muted);
  font-style: italic;
  font-size: 14.5px;
}

/* ---------- Exchange banner ---------- */
.exchange-banner {
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.exchange-banner::after {
  content: "";
  position: absolute; right: -50px; bottom: -60px;
  width: 200px; height: 200px;
  border: 3px solid rgba(255,255,255,0.25);
  border-radius: 50%;
}
.exchange-banner h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 900; }
.exchange-banner p { margin-top: 8px; opacity: 0.9; max-width: 50ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #D8D8D8; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 34px; }
.footer-brand img { height: 38px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 13.5px; color: #A3A3A3; max-width: 40ch; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: #B8B8B8; transition: color 0.18s; }
.footer-col a:hover { color: var(--red); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: #2A2A2A; display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid #2E2E2E;
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12.5px;
  color: #8C8C8C;
}
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Mobile bottom nav ---------- */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--mobile-nav-h);
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: #fff;
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 250;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}
.mobile-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-muted);
}
.mobile-bottom-nav a.active, .mobile-bottom-nav a:hover { color: var(--red); }
.mobile-bottom-nav svg { width: 20px; height: 20px; }
.mobile-bottom-nav a.wa-link { color: #21A05A; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 12.5px; color: var(--text-muted); padding: 16px 0 0; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs span[aria-current] { color: var(--charcoal); font-weight: 600; }

/* ---------- Page header banner (interior pages) ---------- */
.page-banner {
  background: var(--charcoal);
  color: #fff;
  padding: 46px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: "";
  position: absolute; top: 0; right: -8%;
  width: 45%; height: 100%;
  background: var(--red);
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.9;
}
.page-banner-inner { position: relative; z-index: 2; }
.page-banner h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 900; }
.page-banner p { margin-top: 10px; color: #D6D6D6; max-width: 60ch; }

/* ---------- Inventory layout ---------- */
.inventory-layout { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 24px; }
.filter-sidebar { display: none; }
.filter-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; }
.filter-group { border-bottom: 1px solid var(--border); padding: 16px 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group:last-child { border-bottom: none; padding-bottom: 0; }
.filter-group h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.filter-option { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 6px 0; cursor: pointer; }
.filter-option input { accent-color: var(--red); width: 16px; height: 16px; }

.inventory-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}
.results-count { font-size: 14px; font-weight: 700; }
.results-count strong { color: var(--red); }
.toolbar-right { display: flex; gap: 10px; align-items: center; }
.sort-select {
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  background: var(--off-white);
}
.filter-trigger-mobile {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1.5px solid var(--charcoal);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13.5px;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 20px;
}
.search-bar svg { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }
.search-bar input { flex: 1; border: none; background: transparent; font-size: 14.5px; outline: none; }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--charcoal); color: #fff;
  padding: 6px 10px 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
}
.filter-chip button { background: none; border: none; color: #fff; font-size: 14px; line-height: 1; padding: 2px; }
.clear-all-link { font-size: 12.5px; font-weight: 700; color: var(--red); text-decoration: underline; }

/* Mobile filter drawer */
.filter-drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 400;
  opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease);
}
.filter-drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.filter-drawer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 401;
  background: #fff; border-radius: 18px 18px 0 0;
  max-height: 82vh; overflow-y: auto;
  transform: translateY(100%); transition: transform 0.3s var(--ease);
  padding: 20px;
}
.filter-drawer.open { transform: translateY(0); }
.filter-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.filter-drawer-foot { display: flex; gap: 10px; margin-top: 18px; position: sticky; bottom: 0; background: #fff; padding-top: 10px; }

/* pagination / load more */
.load-more-wrap { text-align: center; margin-top: 36px; }

/* empty / error states */
.empty-state { text-align: center; padding: 70px 20px; }
.empty-state h3 { font-size: 22px; font-weight: 800; margin-top: 16px; }
.empty-state p { color: var(--text-muted); margin-top: 8px; max-width: 46ch; margin-left: auto; margin-right: auto; }
.empty-state .empty-actions { display: flex; gap: 12px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.empty-icon { width: 64px; height: 64px; margin: 0 auto; color: var(--text-muted); }

/* ---------- Bike detail page ---------- */
.bike-detail-grid { display: grid; grid-template-columns: 1fr; gap: 34px; margin-top: 24px; }
.gallery-main { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-md); overflow: hidden; background: var(--grey-light); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main.no-image {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #F4F4F4, #E7E5E4);
}
.gallery-main.no-image::after {
  content: "Photo coming soon";
  font-family: var(--font-display);
  font-size: 16px; font-weight: 800; letter-spacing: 0.04em;
  color: var(--text-muted); text-transform: uppercase;
}
.gallery-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center; border: none; box-shadow: var(--shadow-sm);
}
.gallery-nav-btn.prev { left: 12px; }
.gallery-nav-btn.next { right: 12px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.gallery-thumbs img { width: 76px; height: 58px; object-fit: cover; border-radius: 6px; border: 2px solid transparent; cursor: pointer; flex-shrink: 0; }
.gallery-thumbs img.active { border-color: var(--red); }

.detail-info h1 { font-size: clamp(24px, 3.5vw, 32px); font-weight: 900; }
.detail-badges { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.detail-price { font-size: 34px; font-weight: 900; color: var(--red); font-family: var(--font-display); margin: 14px 0; }
.detail-id { font-size: 12.5px; color: var(--text-muted); }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 20px 0; }
.spec-item { background: var(--off-white); border-radius: var(--radius-sm); padding: 14px; }
.spec-item .k { font-size: 11.5px; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.05em; }
.spec-item .v { font-size: 15px; font-weight: 700; margin-top: 4px; }
.detail-ctas { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.detail-ctas .btn { flex: 1; min-width: 140px; }

.detail-section { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); }
.detail-section h2 { font-size: 22px; font-weight: 800; }

.sticky-mobile-cta {
  position: fixed; bottom: var(--mobile-nav-h); left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--border);
  display: none; gap: 8px; padding: 10px 14px; z-index: 240;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}
.sticky-mobile-cta.active { display: flex; }
.sticky-mobile-cta .btn { flex: 1; padding: 12px 6px; font-size: 12.5px; }

/* ---------- Floating WhatsApp (bottom-right) ---------- */
.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: calc(var(--mobile-nav-h) + 16px);
  z-index: 260;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #21A05A;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(33, 160, 90, 0.45);
  transition: background 0.2s ease, box-shadow 0.2s ease;
  animation: wa-bob 3s ease-in-out infinite;
}
/* expanding pulse ring that draws the eye */
.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(33, 160, 90, 0.45);
  z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}
.floating-whatsapp:hover {
  background: #1c8c4d;
  box-shadow: 0 10px 26px rgba(33, 160, 90, 0.6);
}
.floating-whatsapp:hover::before { animation-play-state: paused; }
.floating-whatsapp svg { transition: transform 0.2s ease; }
.floating-whatsapp:hover svg { transform: scale(1.12) rotate(-6deg); }

/* hover tooltip label */
.floating-whatsapp .wa-label {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #1c8c4d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 10px 15px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.floating-whatsapp:hover .wa-label {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(-3px);
}

/* gentle floating bob */
@keyframes wa-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
/* expanding pulse halo */
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  70% { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}



/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14.5px; background: var(--off-white);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--red); outline: none; background: #fff; }
.form-field .error-msg { color: var(--red); font-size: 12.5px; margin-top: 5px; display: none; }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: var(--red); }
.form-field.has-error .error-msg { display: block; }
.form-disclaimer { font-size: 12.5px; color: var(--text-muted); margin-top: 14px; }
.upload-note { background: var(--grey-light); border-radius: var(--radius-sm); padding: 14px; font-size: 13px; color: var(--text-muted); margin-top: 6px; }

/* ---------- EMI calculator ---------- */
.emi-wrap { display: grid; grid-template-columns: 1fr; gap: 26px; margin-top: 30px; }
.emi-result {
  background: var(--charcoal); color: #fff; border-radius: var(--radius-lg); padding: 28px;
}
.emi-result .big { font-family: var(--font-display); font-size: 40px; font-weight: 900; color: #FF6E72; }
.emi-result .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #2E2E2E; font-size: 14px; }
.emi-result .row:last-child { border-bottom: none; }
.range-value { font-weight: 800; color: var(--red); float: right; }

/* ---------- FAQ accordion ---------- */
.faq-list { margin-top: 26px; max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; font-weight: 700; font-family: var(--font-display);
}
.faq-question svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); flex-shrink: 0; }
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.faq-answer p { padding-bottom: 20px; color: var(--text-muted); font-size: 14.5px; max-width: 68ch; }

/* ---------- Branch: main branch (image) + name list ---------- */
.branch-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
  margin-bottom: 28px;
}
.branch-main-media { order: 0; }
.branch-main-media .info-banner-img { border-radius: var(--radius-md); }
.branch-main-info { order: 1; color: #fff; }
.branch-main-info h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 900;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.branch-main-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 5px 12px;
  border-radius: 999px;
}
.branch-main-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Name list for the other 9 branches */
.branch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.branch-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  background: var(--white);
}
.branch-list-name { font-family: var(--font-display); font-size: 18px; font-weight: 800; }

@media (max-width: 760px) {
  .branch-main { grid-template-columns: 1fr; gap: 22px; padding: 20px; }
  .branch-main-media { order: 0; }
  .branch-main-info { order: 1; }
}

/* Light button variant for dark banners */
.btn-outline-light { background: transparent; color: #fff; border: 1px solid }
.btn-outline-light:hover {border-color: #fff; }

/* Branch hero (reuses page-banner) */
.branch-hero { padding: 56px 0 60px; }
.branch-hero-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #fff; background: var(--red);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.branch-hero .page-banner-inner h1 { font-size: clamp(30px, 5vw, 48px); }
.branch-hero .page-banner-inner p { margin-top: 14px; max-width: 62ch; }
.branch-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.branch-hero-stats {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: flex; gap: 36px; flex-wrap: wrap;
}
.branch-hero-stats li { display: flex; flex-direction: column; }
.branch-hero-stats strong {
  font-family: var(--font-display); font-size: 30px; font-weight: 900; color: #fff; line-height: 1;
}
.branch-hero-stats span { font-size: 13px; color: #B9B9B9; margin-top: 6px; }

/* Section heading */
.section-head { margin-bottom: 26px; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; }
.section-head p { color: var(--text-muted); margin-top: 8px; font-size: 15px; }

/* Map block */
.branch-map {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: var(--grey-light);
}
.branch-map iframe { display: block; width: 100%; height: 380px; border: 0; }
.branch-map-cta {
  position: absolute; right: 16px; bottom: 16px;
  box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; gap: 8px;
}
@media (max-width: 600px) {
  .branch-map iframe { height: 300px; }
  .branch-map-cta { position: static; display: flex; margin: 12px; width: calc(100% - 24px); justify-content: center; }
}

/* ---------- Utility ---------- */
.hidden-state { display: none !important; }
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

.counter-num { font-family: var(--font-display); }
