/* ====================================================================
   Tharaka Motors — Hero MotoCorp Dealer, Walasmulla, Sri Lanka
   Main Stylesheet — dark automotive theme
   ====================================================================
   Fonts:
     - Transducer (regular) — self-hosted, CC BY 4.0
       Font made from https://www.onlinewebfonts.com/fonts (Web Fonts)
       is licensed by CC BY 4.0  |  designer: James Hultquist-Todd
     - Inter / Poppins (Google Fonts) — fallbacks
   ==================================================================== */

@font-face {
  font-family: "Transducer";
  src: url("../assets/fonts/transducer-regular.woff2") format("woff2"),
       url("../assets/fonts/transducer-regular.woff") format("woff"),
       url("../assets/fonts/transducer-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --red: #E41D2D;
  --red-2: #FF3B49;
  --red-dark: #B71C1C;
  --red-soft: rgba(228, 29, 45, 0.14);
  --red-glow: rgba(228, 29, 45, 0.35);

  --bg0: #0B0E13;          /* page background */
  --bg1: #12161F;          /* card / surface */
  --bg2: #0F131C;          /* alternate section band */
  --bg3: #181D29;          /* raised surface / hover */
  --ink: #E9ECF2;          /* primary text */
  --ink-soft: #B3BAC8;     /* secondary text */
  --muted: #7B8394;        /* tertiary text */
  --border: #232A37;       /* borders */
  --white: #FFFFFF;        /* for text on red */
  --on-red: #FFFFFF;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.30);
  --shadow-hover: 0 16px 44px rgba(0, 0, 0, 0.50);
  --radius: 12px;
  --max-width: 1180px;
  --header-h: 68px;
  --transition: 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Transducer", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  opacity: 0;
  animation: pageFadeIn 0.45s ease-out forwards;
}

@keyframes pageFadeIn {
  to { opacity: 1; }
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Transducer", "Poppins", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.16;
  color: var(--ink);
  letter-spacing: -0.01em;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
}

input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid rgba(228, 29, 45, 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: rgba(228, 29, 45, 0.35); color: var(--white); }

/* ---------- Layout & Utilities ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
  background:
    linear-gradient(115deg, rgba(228, 29, 45, 0.035), transparent 38%, transparent 62%, rgba(228, 29, 45, 0.030)),
    var(--bg0);
  background-size: 220% 220%;
  background-position: 0% 0%;
}

.section--light {
  background:
    linear-gradient(115deg, rgba(228, 29, 45, 0.045), transparent 40%, transparent 62%, rgba(228, 29, 45, 0.038)),
    var(--bg2);
  background-size: 220% 220%;
  background-position: 0% 0%;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }

.section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--red-2);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head .eyebrow::before,
.section-head .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red));
}

.section-head .eyebrow::after { background: linear-gradient(90deg, var(--red), transparent); }

.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 12px; }

.section-head p { color: var(--muted); font-size: 1.02rem; }

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

.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }

/* ---------- Reveal (scroll animations) ---------- */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.reveal      { transform: translateY(28px); }
.reveal-left { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }

.reveal.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: none;
}

/* ---------- Hero entrance animations ---------- */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-48px); }
  to   { opacity: 1; transform: none; }
}

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

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

.animate-left  { animation: slideInLeft 0.8s ease-out both; }
.animate-right { animation: slideInRight 0.9s ease-out both; }
.animate-rise  { animation: riseIn 0.7s ease-out both; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn .arrow {
  transition: transform var(--transition);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn-red {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--on-red);
  box-shadow: 0 6px 20px rgba(228, 29, 45, 0.30);
}

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(228, 29, 45, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--red-2);
  border-color: var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(228, 29, 45, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red-2);
}

.btn-dark {
  background: var(--ink);
  color: var(--bg0);
}

.btn-dark:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #1DA851;
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 16px; font-size: 0.84rem; }
.btn-lg { padding: 16px 34px; font-size: 1rem; }

.btn-block { width: 100%; }

/* ====================================================================
   Header / Navigation  (modern, blurred, dark)
   ==================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(11, 14, 19, 0.82);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.is-scrolled {
  background: rgba(8, 10, 15, 0.94);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.42);
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: height 0.32s ease;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.header__logo-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  font-family: "Transducer", "Poppins", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(228, 29, 45, 0.4);
  letter-spacing: 0.02em;
}

.header__logo-img {
  width: auto;
  height: 51px;
  object-fit: contain;
}

.header__logo-text {
  font-family: "Transducer", "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.header__logo-text small {
  display: block;
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--red-2);
}

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

.nav a {
  position: relative;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  color: var(--ink-soft);
  transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transition: width var(--transition);
}

.nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.nav a.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 6px 20px rgba(228, 29, 45, 0.38);
}

.nav a.active::after {
  width: 40%;
}

.nav a:hover::after {
  width: 40%;
}

/* Bikes dropdown */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 190px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow-hover);
  z-index: 100;
  flex-direction: column;
  gap: 4px;
}

.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-dropdown__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-dropdown__menu a:hover {
  color: var(--white);
  background: var(--red-soft);
}

.nav-dropdown__menu a.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  display: flex;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__phonenumber {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  transition: var(--transition);
}

.header__phonenumber:hover {
  border-color: var(--red);
  color: var(--red-2);
}

.header__phonenumber svg {
  color: var(--red);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition: var(--transition);
}

.icon-btn:hover {
  border-color: var(--red);
  color: var(--red-2);
}

.icon-btn svg { width: 20px; height: 20px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  align-items: center;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu (full overlay) */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg0);
  z-index: 890;
  padding: 26px 20px;
  border-top: 1px solid var(--border);
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.open { display: flex; animation: slideInDown 0.26s ease-out both; }

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: none; }
}

.mobile-menu a {
  padding: 17px 14px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), padding-left var(--transition);
}

.mobile-menu a:hover { color: var(--red-2); padding-left: 20px; }

.mobile-menu a.active { color: var(--red-2); }

.mobile-menu a.mobile-menu__sub {
  padding: 12px 14px 12px 34px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--border);
  border-left: 2px solid var(--red);
  background: rgba(228, 29, 45, 0.05);
}

.mobile-menu a.mobile-menu__sub:hover { color: var(--red-2); padding-left: 40px; }

.mobile-menu__cta { display: flex; gap: 10px; margin-top: 22px; }
.mobile-menu__cta .btn { flex: 1; }

/* ====================================================================
   Hero  (dark)
   ==================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 88% 12%, rgba(228, 29, 45, 0.20), transparent 60%),
    radial-gradient(720px 460px at 6% 96%, rgba(228, 29, 45, 0.12), transparent 55%),
    linear-gradient(140deg, #0D1119 0%, #10141F 55%, #0A0D12 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 30%, rgba(0, 0, 0, 0.7), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 20px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  min-height: calc(100vh - var(--header-h));
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-2);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  border: 1px solid rgba(228, 29, 45, 0.35);
  background: rgba(228, 29, 45, 0.10);
  padding: 7px 14px;
  border-radius: 999px;
}

.hero__title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 18px;
}

.hero__title em {
  font-style: normal;
  color: var(--red-2);
}

.hero__lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 500px;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__visual {
  position: relative;
}

.hero__slider {
  position: relative;
  isolation: isolate;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg3);
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

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

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(13, 17, 25, 0.55);
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.hero__arrow:hover {
  background: var(--red);
  border-color: var(--red);
}

.hero__arrow--prev { left: 14px; }
.hero__arrow--next { right: 14px; }

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.hero__dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: var(--transition);
}

.hero__dots button.is-active {
  background: var(--red);
  width: 26px;
}

.hero__road {
  height: 6px;
  width: 100%;
  position: relative;
  background: linear-gradient(90deg, var(--red), var(--red-2), var(--red));
  overflow: hidden;
}

.hero__road::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 90px;
  background: linear-gradient(90deg, transparent, var(--white), transparent);
  animation: roadSweep 2.6s linear infinite;
}

@keyframes roadSweep {
  from { left: -90px; }
  to   { left: 100%; }
}

/* Speed-line decorative bar (used in sections) */
.speedline {
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  position: relative;
  overflow: hidden;
}

.speedline::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--red-2), transparent);
  animation: roadSweep 3.2s linear infinite;
}

/* ====================================================================
   Category tabs
   ==================================================================== */
.tabs {
  display: inline-flex;
  gap: 4px;
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px;
  margin-bottom: 8px;
  overflow-x: auto;
}

.tab {
  position: relative;
  background: none;
  border: none;
  border-radius: 40px;
  padding: 11px 26px;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.tab.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 6px 18px rgba(228, 29, 45, 0.35);
}

.tab:hover:not(.active) { color: var(--red-2); }

.tabbar-wrap { text-align: center; margin-bottom: 32px; }

/* ====================================================================
   Bike cards
   ==================================================================== */
.bike-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.bike-card {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.bike-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(228, 29, 45, 0.45);
}

.bike-card.fade-in {
  animation: cardIn 0.45s ease-out both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.bike-card__media {
  position: relative;
  overflow: hidden;
  background: var(--bg3);
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--border);
}

.bike-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.bike-card:hover .bike-card__media img {
  transform: scale(1.06);
}

.bike-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(8, 10, 15, 0.72);
  color: var(--red-2);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 30px;
  border: 1px solid rgba(228, 29, 45, 0.4);
  backdrop-filter: blur(6px);
}

.bike-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.bike-card__name {
  font-size: 1.12rem;
  font-weight: 700;
}

.bike-card__tagline { color: var(--muted); font-size: 0.88rem; }

.bike-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 2px;
}

.bike-card__meta span {
  font-size: 0.82rem;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.bike-card__meta svg { width: 14px; height: 14px; color: var(--red); }

.bike-card__price {
  font-family: "Transducer", "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--red-2);
  margin-top: 4px;
}

/* Actions — two buttons, never cropped: wrap to stacked lines when narrow */
.bike-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}

.bike-card__actions .btn {
  flex: 1 1 132px;
  min-width: 124px;
}

/* ====================================================================
   Filter bar
   ==================================================================== */
.filter-bar {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  align-items: end;
}

.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input,
.field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  background: var(--bg0);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B3BAC8' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.field input:focus,
.field select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(228, 29, 45, 0.16);
}

.filter-clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--red-2);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 12px;
}

.filter-results { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.filter-results strong { color: var(--ink); }

/* ====================================================================
   Why choose / feature items
   ==================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(228, 29, 45, 0.4);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red-soft);
  color: var(--red-2);
  border-radius: 12px;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.04rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-card h3 svg {
  color: var(--red-2);
  flex-shrink: 0;
}

.feature-card p { color: var(--muted); font-size: 0.9rem; }

/* ====================================================================
   Browse-by-category tiles
   ==================================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.cat-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg1);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: block;
}

.cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: rgba(228, 29, 45, 0.45); }

.cat-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  background: var(--bg3);
  transition: transform 0.5s ease;
}

.cat-tile:hover img { transform: scale(1.05); }

.cat-tile__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--bg1);
  border-top: 1px solid var(--border);
}

.cat-tile__label strong {
  font-family: "Transducer", "Poppins", sans-serif;
  font-size: 1rem;
  letter-spacing: 1.6px;
  color: var(--ink);
}

.cat-tile__label span { color: var(--red-2); font-weight: 700; }

/* ====================================================================
   Contact CTA strip
   ==================================================================== */
.cta-strip {
  background:
    radial-gradient(700px 320px at 20% 0%, rgba(255, 255, 255, 0.10), transparent 60%),
    linear-gradient(120deg, var(--red) 0%, #EA2A3B 55%, var(--red-dark) 100%);
  color: var(--white);
  padding: 56px 0;
}

.cta-strip__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.cta-strip h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 10px; }
.cta-strip p { color: rgba(255, 255, 255, 0.92); margin-bottom: 20px; }

.cta-strip__actions { display: flex; flex-wrap: wrap; gap: 12px; }

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

.cta-strip .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.cta-strip .btn-ghost-white {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.cta-strip .btn-ghost-white:hover { background: var(--white); color: var(--red); }

.cta-strip__info {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 24px;
}

.cta-strip__info h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 6px; }
.cta-strip__info p { color: rgba(255, 255, 255, 0.92); margin: 0; font-size: 0.95rem; }
.cta-strip__info a { color: var(--white); font-weight: 600; }

.cta-strip__row { display: flex; gap: 14px; margin-bottom: 16px; align-items: flex-start; }
.cta-strip__row:last-child { margin-bottom: 0; }
.cta-strip__row svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }

/* ====================================================================
   Bike detail page
   ==================================================================== */
.detail-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.gallery { position: relative; }

.gallery__main {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg3);
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
  position: relative;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.gallery__main img.loaded { opacity: 1; }

.gallery__main.loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 3px solid var(--border);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.gallery__thumb {
  width: 84px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg3);
  padding: 0;
  transition: var(--transition);
  position: relative;
}

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

.gallery__thumb.active,
.gallery__thumb:hover {
  border-color: var(--red);
}

.detail-info .crumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 10px;
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}

.detail-info .crumb a:hover { color: var(--red-2); }

.detail-info .crumb .here { color: var(--ink); font-weight: 600; }

.detail-info__cat {
  display: inline-block;
  color: var(--red-2);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.detail-info h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 8px; }

.detail-info__tagline { color: var(--muted); margin-bottom: 16px; }

.detail-info__price { font-family: "Transducer", "Poppins", sans-serif; font-size: 1.7rem; font-weight: 700; color: var(--red-2); margin-bottom: 4px; }

.detail-info__price-note { font-size: 0.82rem; color: var(--muted); margin-bottom: 20px; }

.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }

/* Key stat strip (animated counters) */
.key-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 30px 0;
}

.key-stat {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}

.key-stat:hover { border-color: rgba(228, 29, 45, 0.5); transform: translateY(-2px); }

.key-stat__icon { color: var(--red-2); font-size: 1.3rem; margin-bottom: 6px; }
.key-stat__icon svg { display: block; margin: 0 auto; }

.key-stat__value {
  font-family: "Transducer", "Poppins", sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--ink);
}

.key-stat__label { font-size: 0.74rem; color: var(--muted); letter-spacing: 0.8px; text-transform: uppercase; margin-top: 2px; }

/* Intro paragraph */
.detail-info__intro { color: var(--ink-soft); background: var(--bg1); border-left: 4px solid var(--red); padding: 16px 18px; border-radius: 0 8px 8px 0; font-size: 0.95rem; margin-bottom: 26px; }

/* Specification tables */
.specs-section { margin-top: 56px; }

.specs-section__head {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 3px solid var(--red);
  padding-bottom: 12px;
  margin-bottom: 26px;
}

.specs-section__head h2 { font-size: 1.4rem; color: var(--red-2); }

.spec-group { margin-bottom: 30px; }

.spec-group h3 {
  font-size: 1.05rem;
  color: var(--red-2);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-group h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-table tr:nth-child(odd) td { background: var(--bg2); }

.spec-table td {
  padding: 11px 14px;
  font-size: 0.9rem;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.spec-table tr:last-child td { border-bottom: none; }

.spec-table td:first-child {
  width: 42%;
  font-weight: 600;
  color: var(--ink-soft);
}

.spec-table td:last-child { color: var(--muted); }

/* Brochure button icon */
.btn-brochure { display: inline-flex; align-items: center; gap: 9px; }

/* ====================================================================
   Forms
   ==================================================================== */
.form-card {
  background: var(--bg1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.form-card--center { max-width: 720px; margin: 0 auto; }

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

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--ink-soft);
}

.form-group label .req { color: var(--red-2); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--bg0);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(228, 29, 45, 0.16);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B3BAC8' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-group .hint { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }

/* Honeypot - visually hidden from humans */
.hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* ====================================================================
   Footer
   ==================================================================== */
.footer {
  background: #090C11;
  border-top: 3px solid var(--red);
  padding: 52px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 40px;
}

.footer__brand p { color: var(--muted); font-size: 0.92rem; margin-top: 14px; max-width: 280px; }

.footer h4 {
  font-family: "Transducer", "Poppins", sans-serif;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 16px;
  color: var(--ink);
}

.footer__col ul li { margin-bottom: 9px; }

.footer__col a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color var(--transition), padding-left var(--transition);
}

.footer__col a:hover { color: var(--red-2); padding-left: 4px; }

.footer__contact a { color: var(--muted); }

.footer__contact a:hover { color: var(--red-2); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ====================================================================
   Thank you / error pages
   ==================================================================== */
.state-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 60px;
}

.state-page__icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
}

.state-page--ok .state-page__icon { background: rgba(31, 163, 92, 0.16); color: #35D07F; }
.state-page--err .state-page__icon { background: var(--red-soft); color: var(--red-2); }

.state-page h1 { font-size: 1.9rem; margin-bottom: 10px; }
.state-page p { color: var(--muted); max-width: 460px; margin: 0 auto 24px; }

.state-page__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ====================================================================
   Page header (inner pages)
   ==================================================================== */
.inner-header {
  background: linear-gradient(120deg, #10141F, var(--bg0));
  border-bottom: 1px solid var(--border);
  padding: 46px 0 40px;
  text-align: center;
}

.inner-header .crumb {
  font-size: 0.84rem;
  color: var(--muted);
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}

.inner-header .crumb a:hover { color: var(--red-2); }
.inner-header .crumb .here { color: var(--ink); font-weight: 600; }

.inner-header h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 10px; }
.inner-header p { color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ====================================================================
   Modern motion & micro-interactions
   ==================================================================== */
/* Ambient animated backgrounds */

/* Slowly drifting red glow across the hero backdrop */
.hero { animation: heroGlow 26s ease-in-out infinite alternate; }

@keyframes heroGlow {
  0%   { background-position: 88% 12%, 6% 96%, 0 0; }
  50%  { background-position: 82% 18%, 12% 90%, 0 0; }
  100% { background-position: 93% 8%, 2% 102%, 0 0; }
}

/* Hero grid slowly floats by */
.hero::before { animation: gridDrift 20s linear infinite; }

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 46px 46px, 46px 46px; }
}

/* Soft ambient orbs drifting inside the hero */
.hero::after {
  content: "";
  position: absolute;
  inset: -12% -8%;
  pointer-events: none;
  background:
    radial-gradient(460px 460px at 72% 28%, rgba(228, 29, 45, 0.16), transparent 65%),
    radial-gradient(380px 380px at 22% 78%, rgba(228, 29, 45, 0.10), transparent 65%);
  animation: orbFloat 26s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes orbFloat {
  0%   { transform: translate3d(-1.2%, -0.6%, 0) scale(1); }
  100% { transform: translate3d(1.4%, 0.8%, 0) scale(1.06); }
}

/* Section bands shimmer gently as you scroll */
.section, .section--light { animation: bandShift 34s ease-in-out infinite alternate; }

@keyframes bandShift {
  0%   { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

/* Scroll progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 1001;
  background: linear-gradient(90deg, var(--red), var(--red-2));
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 14px rgba(228, 29, 45, 0.55);
  pointer-events: none;
}

/* Header compacts slightly on scroll */
.header.is-scrolled .header__inner { height: 58px; }

/* Button shine sweep on hover */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  transform: translateX(-220%) skewX(-20deg);
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.30), transparent);
  transition: transform 0.72s ease;
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(420%) skewX(-20deg);
}

/* Bike card media: soft gradient overlay on hover */
.bike-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 10, 15, 0.45), transparent 45%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  z-index: 1;
}

.bike-card:hover .bike-card__media::after { opacity: 1; }

/* Feature card icon lift */
.feature-card__icon {
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover .feature-card__icon {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 10px 24px var(--red-glow);
}

/* Category tile arrow nudge */
.cat-tile__label span { transition: transform var(--transition); }
.cat-tile:hover .cat-tile__label span { transform: translateX(4px); }

/* Logo gentle scale on hover */
.header__logo img {
  transition: transform var(--transition);
}

a.header__logo:hover img { transform: scale(1.06); }

/* Image load fade-in (JS guarded via html.js) */
html.js .bike-card__media img,
html.js .cat-tile img {
  opacity: 0;
  transition: opacity 0.55s ease;
}

html.js .bike-card__media img.img-loaded,
html.js .cat-tile img.img-loaded { opacity: 1; }

/* Staggered reveal for grids marked [data-stagger] */
[data-stagger].stagger-ready > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-stagger] > *.stagger-in {
  opacity: 1;
  transform: none;
}

/* Inner page header content cascade */
.inner-header .crumb,
.inner-header h1,
.inner-header p {
  animation: riseIn 0.6s ease-out both;
}

.inner-header h1 { animation-delay: 0.12s; }
.inner-header p { animation-delay: 0.24s; }

/* Mobile menu link cascade */
.mobile-menu.open > a { animation: riseIn 0.4s ease-out both; }
.mobile-menu.open > a:nth-child(1) { animation-delay: 0.03s; }
.mobile-menu.open > a:nth-child(2) { animation-delay: 0.07s; }
.mobile-menu.open > a:nth-child(3) { animation-delay: 0.11s; }
.mobile-menu.open > a:nth-child(4) { animation-delay: 0.15s; }
.mobile-menu.open > a:nth-child(5) { animation-delay: 0.19s; }
.mobile-menu.open > a:nth-child(6) { animation-delay: 0.23s; }
.mobile-menu.open > a:nth-child(7) { animation-delay: 0.27s; }
.mobile-menu.open > a:nth-child(8) { animation-delay: 0.31s; }
.mobile-menu.open > a:nth-child(9) { animation-delay: 0.35s; }

/* CTA strip: slow sheen sweep */
.cta-strip {
  position: relative;
  overflow: hidden;
}

.cta-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 44%, rgba(255, 255, 255, 0.10) 50%, transparent 56%);
  transform: translateX(-130%);
  animation: ctaSweep 6.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ctaSweep {
  0%        { transform: translateX(-130%); }
  55%, 100% { transform: translateX(130%); }
}

/* Form field focus pulse */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  animation: focusPulse 1.8s ease-out infinite;
}

@keyframes focusPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(228, 29, 45, 0.16); }
  50%      { box-shadow: 0 0 0 7px rgba(228, 29, 45, 0.08); }
}

/* ====================================================================
   Reduced motion
   ==================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  body { animation: none; opacity: 1; }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .animate-left, .animate-right, .animate-rise { animation: none; opacity: 1; }

  .hero__road::after,
  .speedline::after { animation: none; display: none; }

  .bike-card, .feature-card, .cat-tile { transition: none; }
  .bike-card:hover, .feature-card:hover, .cat-tile:hover { transform: none; }

  .bike-card:hover .bike-card__media img { transform: none; }

  .btn:hover .arrow { transform: none; }

  .scroll-progress { display: none; }
  .header.is-scrolled .header__inner { height: var(--header-h); }
  .btn::after { display: none; }
  .bike-card__media::after { display: none; }
  .hero,
  .hero::before,
  .hero::after,
  .section,
  .section--light {
    animation: none;
    background-position: 0 0;
  }
  .hero::after { transform: none; }
  .feature-card__icon, .cat-tile__label span, .header__logo img { transition: none; }
  .feature-card:hover .feature-card__icon { transform: none; box-shadow: none; }
  .cat-tile:hover .cat-tile__label span { transform: none; }
  a.header__logo:hover img { transform: none; }
  html.js .bike-card__media img,
  html.js .cat-tile img { opacity: 1; transition: none; }
  [data-stagger].stagger-ready > * { opacity: 1; transform: none; transition: none; }
  .inner-header .crumb,
  .inner-header h1,
  .inner-header p { animation: none; }
  .mobile-menu.open > a { animation: none; }
  .cta-strip::after { animation: none; display: none; }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus { animation: none; }
}

/* ====================================================================
   Responsive
   ==================================================================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 34px; padding: 52px 20px; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__slider { max-width: 620px; margin: 0 auto; }

  .footer__grid { grid-template-columns: 1fr 1fr; }

  .cta-strip__grid { grid-template-columns: 1fr; }

  .detail-grid,
  .split-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .header__phonenumber { display: none; }
  .hamburger { display: inline-flex; }

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

  .section { padding: 54px 0; }

  .footer__grid { grid-template-columns: 1fr; gap: 26px; }

  .tabs { max-width: 100%; }

  .hero__inner { min-height: auto; }
}

@media (max-width: 480px) {
  .btn-lg { padding: 14px 22px; font-size: 0.92rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .bike-grid { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .hero__dots { display: flex; bottom: 10px; }
  .hero__dots button { width: 7px; height: 7px; }
}

/* ====================================================================
   Cinematic entrance & high-tech motion
   ==================================================================== */

/* Body lock while the preloader is on screen (JS adds body.loading) */
body.loading { overflow: hidden; }

/* ---------- A1 / A2: Preloader + site-ready gating ---------- */
/* Visible only when JS is running; without JS the page loads instantly */
.preloader { display: none; }
html.js .preloader {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 3000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background:
    radial-gradient(560px 380px at 50% 38%, rgba(228, 29, 45, 0.14), transparent 65%),
    var(--bg0);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.preloader.is-done { opacity: 0; visibility: hidden; }

.preloader__streak {
  position: absolute;
  top: 45%;
  left: 0;
  width: 42vw;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red-2), transparent);
  filter: drop-shadow(0 0 10px var(--red-glow));
  animation: preStreak 1.15s ease-in infinite;
}
@keyframes preStreak {
  from { transform: translateX(-46vw); }
  to   { transform: translateX(115vw); }
}

.preloader__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: preLogoPulse 1.1s ease-in-out infinite alternate;
}
.preloader__logo span {
  font-family: "Transducer", "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.04;
  letter-spacing: 2px;
  color: var(--ink);
}
.preloader__logo em { font-style: normal; color: var(--red-2); }
@keyframes preLogoPulse {
  from { transform: scale(0.99); }
  to   { transform: scale(1.04); }
}

.preloader__track {
  width: min(320px, 70vw);
  height: 5px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}
.preloader__fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--red-2));
  box-shadow: 0 0 18px var(--red-glow);
}

.preloader__pct {
  font-family: "Transducer", "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--red-2);
  font-variant-numeric: tabular-nums;
}
.preloader__tag {
  font-size: 0.7rem;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* Gate the hero entrance until the preloader hands over (JS adds .site-ready) */
html.js body:not(.site-ready) .animate-left,
html.js body:not(.site-ready) .animate-right { opacity: 0; }
html.js body.site-ready .animate-left  { animation: slideInLeft 0.8s cubic-bezier(0.22, 0.68, 0.36, 1.1) backwards; }
html.js body.site-ready .animate-right { animation: heroRev 1.0s cubic-bezier(0.22, 0.68, 0.36, 1.12) backwards; }

@keyframes heroRev {
  from { opacity: 0; transform: translateX(60px) scale(0.92); }
  55%  { opacity: 1; }
  to   { opacity: 1; transform: none; }
}

/* ---------- C1: Speed-line parallax layer ---------- */
.speed-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, var(--py, 0), 0);
}
.speed-lines i {
  position: absolute;
  left: 0;
  top: var(--y, 50%);
  height: var(--h, 2px);
  width: var(--w, 160px);
  border-radius: 2px;
  opacity: var(--o, 0.4);
  background: linear-gradient(90deg, transparent, var(--red-2), transparent);
  animation: streakMove var(--d, 3s) linear infinite;
  animation-delay: var(--dl, 0s);
}
@keyframes streakMove {
  from { transform: translateX(-35vw); }
  to   { transform: translateX(115vw); }
}
/* Tachometer feel — hover the hero and the streaks sprint */
.hero:hover .speed-lines i { animation-duration: 1.2s; }

/* Bring hero content above the speed layer */
.hero__inner { position: relative; z-index: 2; }

/* ---------- B1: 3D mouse tilt ---------- */
.bike-card,
.hero__visual { transform-style: preserve-3d; }

.hero__visual { transition: transform 0.16s ease-out; }
.bike-card { transition: transform 0.16s ease-out, box-shadow var(--transition), border-color var(--transition); }

/* ---------- B2: Glassmorphism panels ---------- */
.hero__plate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 12px;
  padding: 11px 15px;
  border-radius: 12px;
  background: rgba(13, 17, 25, 0.42);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.40);
}
.hero__plate svg { width: 30px; height: 30px; color: var(--red-2); flex-shrink: 0; }
.hero__plate-txt { line-height: 1.25; }
.hero__plate-name { display: block; font-weight: 700; font-size: 0.95rem; color: var(--white); }
.hero__plate-sub {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  list-style: none;
  justify-content: flex-start;
}
.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 7px 13px;
  border-radius: 999px;
}
.hero__chips li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-2);
  box-shadow: 0 0 8px var(--red-glow);
}

/* ---------- C2: Live stats strip (rev-up counters) ---------- */
.stats-band {
  position: relative;
  background:
    radial-gradient(720px 300px at 85% 0%, rgba(228, 29, 45, 0.10), transparent 60%),
    var(--bg2);
  padding: 0 0 56px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  padding-top: 0;
}
.stat-tile {
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 28px 18px 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.stat-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(228, 29, 45, 0.45);
}
.stat-tile__icon { display: block; color: var(--red-2); font-size: 1.5rem; margin-bottom: 12px; }
.stat-tile__value {
  display: block;
  font-family: "Transducer", "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.15rem;
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.stat-tile__label {
  display: block;
  margin-top: 10px;
  font-size: 0.76rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Prefers-reduced-motion: kill the cinematic layer ---------- */
@media (prefers-reduced-motion: reduce) {
  body.loading { overflow: visible; }
  .preloader { display: none !important; }
  .preloader__streak { animation: none; display: none; }

  html.js body:not(.site-ready) .animate-left,
  html.js body:not(.site-ready) .animate-right { opacity: 1; }
  html.js body.site-ready .animate-left,
  html.js body.site-ready .animate-right { animation: none; }

  .speed-lines { display: none; }

  .hero__visual,
  .bike-card { transform: none !important; transition: none !important; }

  .hero__plate,
  .hero__chips li,
  .stat-tile { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Responsive tweaks for the new layers ---------- */
@media (max-width: 1024px) {
  .hero__chips { justify-content: center; }
  .hero__plate { max-width: 620px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  .hero__plate { padding: 9px 12px; }
  .hero__plate svg { width: 24px; height: 24px; }
  .stats-band { padding-bottom: 44px; }
}