/* =============================================
   CFMOTO LANDING PAGE – STYLE.CSS
   ============================================= */

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

:root {
  --cf-primary:       #028ae4;
  --cf-primary-dark:  #0274c4;
  --cf-accent:    #006F62;   /* Pantone 2229 C · Deep Teal accent (logo/title highlights, focus rings) */
  --cf-white:     #ffffff;
  --cf-offwhite:  #f4f4f4;
  --cf-dark:      #0d0d0d;
  --cf-dark-2:    #111111;
  --cf-dark-3:    #1a1a1a;
  --cf-gray:      #888888;
  --cf-gray-lt:   #bbbbbb;
  --cf-border:    rgba(255,255,255,0.1);

  --font-main:    'Barlow', sans-serif;
  --font-cond:    'Barlow Condensed', sans-serif;

  --nav-h:        100px;
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--cf-dark);
  color: var(--cf-white);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; width: 100%; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cf-dark); }
::-webkit-scrollbar-thumb { background: var(--cf-primary); border-radius: 3px; }

/* ---------- PLACEHOLDER IMAGES ---------- */
.placeholder-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.placeholder-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-align: center;
  pointer-events: none;
  user-select: none;
  padding: 1rem;
  border: 1.5px dashed rgba(255,255,255,0.12);
  border-radius: 6px;
  backdrop-filter: blur(2px);
}

.placeholder-label.dark { color: rgba(0,0,0,0.35); border-color: rgba(0,0,0,0.15); }
.placeholder-label.small { font-size: 0.72rem; padding: 0.6rem 1rem; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--cf-primary);
  color: var(--cf-white);
  border-color: var(--cf-primary);
}
.btn-primary:hover {
  background: var(--cf-primary-dark);
  border-color: var(--cf-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227,6,19,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--cf-white);
  border-color: var(--cf-white);
}
.btn-outline:hover {
  background: var(--cf-white);
  color: var(--cf-dark);
  transform: translateY(-2px);
}

/* ---------- SECTION REUSABLES ---------- */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cf-primary);
  margin-bottom: 12px;
}
.section-eyebrow.light { color: rgba(255,255,255,0.55); }
.section-eyebrow.accent { color: var(--cf-accent); }

.section-title {
  font-family: var(--font-cond);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cf-dark);
  margin-bottom: 20px;
}
.section-title.light { color: var(--cf-white); }
.section-title strong { color: var(--cf-dark); }
.section-title.light strong { color: var(--cf-white); }

.section-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 14px;
  max-width: 520px;
}
.section-desc.light { color: var(--cf-gray-lt); }

/* =============================================
   NAVIGATION
   ============================================= */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(0,0,0,0.0);
  transition: background var(--transition), box-shadow var(--transition);
}
.nav-header.scrolled {
  background: rgba(0,0,0,0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo { flex-shrink: 0; display: flex; align-items: center; }
.nav-ext-link { flex-shrink: 0; margin-left: auto; font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.3); padding: 6px 14px; border-radius: 4px; text-decoration: none; letter-spacing: 0.03em; transition: background 0.3s, color 0.3s; white-space: nowrap; }
.nav-ext-link:hover { background: rgba(255,255,255,0.15); color: #fff; }
.nav-header.scrolled .nav-ext-link { color: var(--cf-dark); border-color: rgba(0,0,0,0.2); }
.nav-header.scrolled .nav-ext-link:hover { background: rgba(0,0,0,0.06); }
.nav-logo-img { height: 100px; width: auto; background: rgba(255,255,255,0.85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: 8px; padding: 8px 14px; box-sizing: border-box; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.nav-link {
  padding: 8px 14px;
  font-size: 1.07rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  border-radius: 3px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--cf-white); background: rgba(255,255,255,0.08); }

.nav-cta {
  flex-shrink: 0;
  padding: 9px 22px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--cf-primary);
  color: var(--cf-white);
  border-radius: 3px;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--cf-primary-dark); transform: translateY(-1px); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cf-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   HERO CAROUSEL
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.carousel { position: relative; width: 100%; height: 100%; }

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.04);
}
.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.slide-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0.05) 100%
  );
}

.slide-content {
  position: absolute;
  bottom: 15%;
  left: 8%;
  z-index: 2;
  max-width: 560px;
  animation: slideUp 0.9s ease both;
}
.carousel-slide:not(.active) .slide-content { animation: none; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cf-primary);
  margin-bottom: 8px;
  display: block;
}

.slide-title {
  font-family: var(--font-cond);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--cf-white);
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
  margin-bottom: 6px;
}

.title-accent { color: var(--cf-accent); }

.slide-subtitle {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-style: italic;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.slide-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Carousel Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}
.carousel-btn:hover { background: var(--cf-primary); border-color: var(--cf-primary); transform: translateY(-50%) scale(1.1); }
.carousel-btn.prev { left: 24px; }
.carousel-btn.next { right: 24px; }

/* Dots */
.carousel-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.dot.active { background: var(--cf-primary); width: 42px; }
.dot:hover { background: rgba(255,255,255,0.7); }

/* =============================================
   TAGLINE SECTION
   ============================================= */
.tagline-section {
  background: #e0e0e0;
  padding: 40px 24px;
  overflow: hidden;
}

.tagline-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.tagline-img {
  width: 100%;
  max-width: 1400px;
  height: auto;
  display: block;
}

/* =============================================
   CATEGORIES – Side-by-side Expand on Hover
   ============================================= */
.categories {
  background: var(--cf-dark-3);
  padding: 0;
}

.cat-grid {
  display: flex;
  height: 560px;
  gap: 3px;
}

/* Each card starts equal */
.cat-card {
  position: relative;
  flex: 1;
  overflow: visible;          /* allow overlap */
  display: block;
  cursor: pointer;
  z-index: 1;
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    z-index   0s linear 0.5s; /* delay z-index reset until transition ends */
}

/* Hovered card: scale 20% wider, float above neighbors */
.cat-card:hover {
  transform: scaleX(1.1);
  z-index: 10;
  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    z-index   0s linear 0s;
}

/* Counter-scale the text content so it stays undistorted */
.cat-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform-origin: left bottom;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.cat-card:hover .cat-content {
  transform: scaleX(calc(1 / 1.1));   /* neutralize the card's scaleX */
}



/* Background image fills the card */
.cat-card .cat-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
/* image stays natural — card scaleX already creates the expansion effect */

/* Dark gradient at the bottom */
.cat-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
  z-index: 1;
  transition: opacity 0.5s ease;
}
.cat-card:hover .cat-gradient-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.4) 55%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

/* UFORCE logo in buggy card */
.cat-buggys-logo {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  height: auto;
  width: 280px;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

/* Logo replacing cat-tag text */
.cat-tag-logo {
  height: 3rem;
  width: auto;
}

.cat-tag.motorraeder-tag {
  color: #000000 !important;
  background: #ffffff;
  padding: 4px 12px;
  border-radius: 3px;
  text-shadow: none;
  font-size: 2rem;
}

.uforce-logo {
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 3px;
}

/* cat-content defined above with counter-scaleX */

/* Category title */
.cat-tag {
  font-family: var(--font-cond);
  font-size: 3rem;
  font-weight: 900;
  color: var(--cf-white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  transition: letter-spacing 0.4s ease;
  white-space: nowrap;
}
.cat-card:hover .cat-tag { letter-spacing: 0.12em; }

/* Description – hidden until hover */
.cat-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 280px;

  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition:
    max-height 0.45s ease,
    opacity    0.4s ease 0.05s,
    transform  0.4s ease 0.05s;
}
.cat-card:hover .cat-desc {
  max-height: 100px;
  opacity: 1;
  transform: translateY(0);
}

/* CTA link – hidden until hover */
.cat-cta-link {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--cf-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;

  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity   0.35s ease 0.1s,
    transform 0.35s ease 0.1s;
  display: inline-block;
}
.cat-card:hover .cat-cta-link {
  opacity: 1;
  transform: translateY(0);
}

/* Red top-border accent on hover */
.cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cf-primary);
  z-index: 3;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.cat-card:hover::before { transform: scaleX(1); }

/* subtle border between cards */
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  z-index: 4;
}

/* Responsive – stack below 600px */
@media (max-width: 600px) {
  .cat-grid { flex-direction: column; height: auto; gap: 2px; }
  .cat-card  { flex: none !important; height: 220px; }
  .cat-grid:has(.cat-card:hover) .cat-card { flex: none; }
  .cat-desc  { max-height: 100px; opacity: 1; transform: none; }
  .cat-cta-link { opacity: 1; transform: none; }
}


/* =============================================
   OFFERS SECTION
   ============================================= */
.offers-section {
  background: var(--cf-offwhite);
  padding: 0;
  overflow: hidden;
}

.offers-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.offers-img-col { overflow: hidden; }
.offers-img { width: 100%; height: 100%; min-height: 500px; }

.offers-content {
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =============================================
   DEALER SECTION
   ============================================= */
.dealer-section {
  background: #111216;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.dealer-bg-text {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-cond);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.04em;
  z-index: 0;
}

.dealer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  position: relative;
  z-index: 1;
}

.dealer-img-col { overflow: hidden; }
.dealer-img { width: 100%; height: 100%; min-height: 500px; }

.dealer-content {
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =============================================
   RACING SECTION
   ============================================= */
.racing-section {
  position: relative;
  overflow: hidden;
  min-height: 540px;
}

.racing-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.racing-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.5) 60%,
    rgba(0,0,0,0.2) 100%
  );
}

.racing-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  align-items: center;
  padding: 80px 40px;
  gap: 60px;
}

.racing-content { display: flex; flex-direction: column; justify-content: center; }

.accent-text { color: var(--cf-accent); }

.racing-img { width: 120%; height: 380px; border-radius: 4px; overflow: hidden; }

/* =============================================
   APP SECTION
   ============================================= */
.app-section {
  background: var(--cf-offwhite);
  padding: 100px 24px;
}

.app-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.app-content { display: flex; flex-direction: column; }

.app-badges {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--cf-dark);
  color: var(--cf-white);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: var(--transition);
}
.app-badge:hover { background: #222; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

.app-img {
  width: 100%;
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}

/* =============================================
   STATS SECTION
   ============================================= */
.stats-section {
  position: relative;
  overflow: hidden;
  padding: 100px 24px;
  background: var(--cf-dark);
}

.stats-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}
.stats-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.stats-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.stats-since {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cf-gray);
  margin-bottom: 48px;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 40px;
}

.stat-number {
  font-family: var(--font-cond);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--cf-white);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--cf-gray-lt);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* =============================================
   FOOTER
   ============================================= */
.main-footer {
  background: #08080a;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 70px 40px 50px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
}

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

.footer-tagline {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cf-gray);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cf-gray-lt);
  transition: var(--transition);
}
.social-link:hover { border-color: var(--cf-primary); color: var(--cf-white); background: var(--cf-primary); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cf-white);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--cf-gray);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--cf-white); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.8rem; color: var(--cf-gray); }

.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 0.8rem;
  color: var(--cf-gray);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--cf-white); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .offers-content, .dealer-content { padding: 60px 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr; height: auto; }
  .cat-right { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
  .cat-motorraeder .cat-img, .cat-atv .cat-img, .cat-buggys .cat-img { min-height: 220px; }
  .cat-motorraeder { height: 300px; }
  .cat-right { height: 250px; }

  .offers-inner, .dealer-inner { grid-template-columns: 1fr; }
  .offers-img, .dealer-img { min-height: 300px; height: 300px; }
  .offers-content, .dealer-content { padding: 50px 30px; }

  .racing-inner { grid-template-columns: 1fr; gap: 30px; padding: 60px 24px; }
  .racing-img { height: 280px; }

  .app-inner { grid-template-columns: 1fr; gap: 40px; }
  .app-img { height: 320px; }

  .stats-grid { flex-direction: column; gap: 20px; }
  .stat-divider { width: 80px; height: 1px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(0,0,0,0.97);
    padding: 24px;
    gap: 4px;
    backdrop-filter: blur(10px);
  }
  .nav-links.open + .nav-cta { display: flex; }

  .slide-content { left: 5%; bottom: 18%; max-width: 90%; }
  .slide-title { font-size: clamp(3rem, 14vw, 6rem); }

  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .dealer-bg-text { font-size: 2.5rem; }
}

@media (max-width: 480px) {
  .cat-right { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .footer-cols { grid-template-columns: 1fr; }
  .stat-item { padding: 14px 20px; }
  .app-badges { flex-direction: column; align-items: flex-start; }
}

/* =============================================
   ANIMATIONS / INTERSECT OBSERVER
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* =============================================
   ACCESSIBILITY
   ============================================= */

/* ---------- Skip-to-Content Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--cf-primary);
  color: var(--cf-white);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: none;
}

/* ---------- Focus Rings ---------- */
*:focus-visible {
  outline: 2px solid var(--cf-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.btn:focus-visible {
  outline: 2px solid var(--cf-accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(200, 244, 0, 0.25);
}

.nav-link:focus-visible {
  outline: 2px solid var(--cf-accent);
  outline-offset: 2px;
  background: rgba(255,255,255,0.08);
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--cf-accent);
  outline-offset: 3px;
  background: var(--cf-primary);
  border-color: var(--cf-primary);
}

.dot:focus-visible {
  outline: 2px solid var(--cf-accent);
  outline-offset: 3px;
}

.social-link:focus-visible {
  outline: 2px solid var(--cf-accent);
  outline-offset: 3px;
  border-color: var(--cf-primary);
  color: var(--cf-white);
  background: var(--cf-primary);
}

.cat-card:focus-visible {
  outline: 2px solid var(--cf-accent);
  outline-offset: -2px;
}

.app-badge:focus-visible {
  outline: 2px solid var(--cf-accent);
  outline-offset: 3px;
}

.footer-col a:focus-visible,
.footer-legal a:focus-visible {
  outline: 2px solid var(--cf-accent);
  outline-offset: 2px;
  color: var(--cf-white);
}

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

  html { scroll-behavior: auto; }

  .carousel-slide {
    transition: opacity 0.01ms ease;
    transform: none;
  }
  .carousel-slide.active {
    transform: none;
  }

  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cat-card:hover {
    transform: none;
  }
  .cat-card:hover .cat-content {
    transform: none;
  }
}
