/* ==========================================================================
   MotoGate - Ultra-Precision Hero Section Stylesheet
   Matches original_reference.jpg 1:1 with 10px navbar border,
   dimmed speedometer, grounded bike, slider support & perfect LTR alignment.
   ========================================================================== */

:root {
  --primary-orange: #ff6a00;
  --primary-orange-light: #ff7d1a;
  --primary-orange-glow: rgba(255, 106, 0, 0.5);
  --primary-orange-subtle: rgba(255, 106, 0, 0.2);

  --bg-dark: #000000;
  --bg-glass-nav: rgba(24, 25, 32, 0.72);
  --border-glass-nav: rgba(255, 255, 255, 0.16);

  --font-arabic: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-display: 'Montserrat', sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-dark);
  color: #ffffff;
  font-family: var(--font-arabic);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Hero Section with Isolated Background (الباكجراوند .png) */
.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--bg-dark);
  background-image: url('../images/الباكجراوند .png');
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  padding-bottom: 1.5rem;
}

/* Fallback for encoded space in path */
@supports not (background-image: url('../images/الباكجراوند .png')) {
  .hero-section {
    background-image: url('../images/%D8%A7%D9%84%D8%A8%D8%A7%D9%83%D8%AC%D8%B1%D8%A7%D9%88%D9%86%D8%AF%20.png');
  }
}

/* ==========================================================================
   Top Header & Navigation Bar
   Matches reference: Button on Left, 10px Border Nav in Center, Logo on Right
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 100;
  padding: 1.5rem 0 1rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Right: Logo */
.brand-logo-wrapper {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand-logo:hover {
  transform: scale(1.03);
}

/* Center: Glassmorphism Nav (10px Border-Radius as requested) */
.nav-pill-wrapper {
  background: var(--bg-glass-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass-nav);
  border-radius: 10px;
  /* Exact 10px border instead of pill */
  padding: 0.5rem 1.6rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.nav-pill-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  direction: rtl;
  /* Maintains order: الرئيسية | المعرض | اعرف قسطك | نبذة عنا | تواصل معنا */
  gap: 0.95rem;
}

.nav-pill-item {
  display: flex;
  align-items: center;
}

.nav-pill-item:not(:last-child)::after {
  content: "|";
  color: rgba(255, 255, 255, 0.22);
  margin-right: 0.95rem;
  font-size: 0.85rem;
  font-weight: 300;
}

.nav-pill-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  white-space: nowrap;
  position: relative;
  padding-bottom: 3px;
}

.nav-pill-link:hover {
  color: var(--primary-orange);
  text-shadow: 0 0 10px var(--primary-orange-glow);
}

/* Active Link (الرئيسية) */
.nav-pill-link.active {
  color: var(--primary-orange);
  font-weight: 700;
}

.nav-pill-link.active::after {
  content: "";
  position: absolute;
  bottom: -3px;
  right: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--primary-orange);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--primary-orange);
}

/* Left: "احسب قسطك الآن" Button */
.btn-calc-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 15, 18, 0.7);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.55rem 1.4rem;
  border-radius: 12px;
  border: 1.5px solid var(--primary-orange);
  box-shadow: 0 0 16px var(--primary-orange-glow),
    inset 0 0 8px rgba(255, 106, 0, 0.15);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.btn-calc-pill:hover {
  color: #ffffff;
  background: rgba(255, 106, 0, 0.15);
  box-shadow: 0 0 24px rgba(255, 106, 0, 0.75),
    inset 0 0 12px rgba(255, 106, 0, 0.3);
  transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: var(--bg-glass-nav);
  border: 1px solid var(--border-glass-nav);
  color: #ffffff;
  border-radius: 10px;
  padding: 0.45rem 0.75rem;
  font-size: 1.35rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.mobile-nav-toggle:hover {
  color: var(--primary-orange);
  border-color: var(--primary-orange);
}

/* Mobile Offcanvas - Opens from RIGHT to LEFT (offcanvas-end) */
.mobile-offcanvas {
  background: rgba(12, 13, 17, 0.97) !important;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-left: 1px solid rgba(255, 106, 0, 0.3) !important;
  color: #ffffff;
  width: 290px !important;
}

.mobile-offcanvas .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  direction: rtl;
  text-align: right;
}

.mobile-nav-list li {
  margin-bottom: 0.8rem;
}

.mobile-nav-list a {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
  background: rgba(255, 106, 0, 0.15);
  color: var(--primary-orange);
}

/* ==========================================================================
   Hero Main Content & Stage
   Matches Reference: Left is Arabic Text (Left Aligned), Right is Visual Stage
   ========================================================================== */
.hero-main-wrapper {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 1.5rem 0;
}

/* Left Column: Arabic Text Block with Exact Reference Alignment (Left-to-Right LTR container) */
.hero-text-side {
  direction: ltr;
  text-align: left;
  padding-left: 0.5rem;
}

.hero-main-title {
  direction: rtl;
  text-align: left;
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.6rem;
  letter-spacing: -0.5px;
}

.hero-brand-title {
  direction: ltr;
  text-align: left;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 900;
  color: var(--primary-orange);
  line-height: 1.2;
  margin-bottom: 1.4rem;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-shadow: 0 0 25px rgba(255, 106, 0, 0.45);
}

.hero-brand-title .en-brand {
  font-family: var(--font-display);
}

.hero-subtext {
  direction: rtl;
  text-align: left;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  color: #e5e7eb;
  line-height: 1.85;
  margin-bottom: 2.2rem;
  font-weight: 400;
  max-width: 520px;
}

.hero-btn-wrapper {
  text-align: left;
}

/* Primary CTA Button ("اكتشف الدراجات") */
.btn-hero-discover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-orange);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 0.85rem 2.5rem;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  box-shadow: 0 0 28px rgba(255, 106, 0, 0.65),
    0 4px 10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
}

.btn-hero-discover:hover {
  background: var(--primary-orange-light);
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 35px rgba(255, 106, 0, 0.85),
    0 6px 14px rgba(0, 0, 0, 0.6);
}

.btn-hero-discover:active {
  transform: translateY(0) scale(0.98);
}

/* ==========================================================================
   Right Column: Visual Stage (Speedometer shifted up, Grounded Bike Slider)
   ========================================================================== */
.hero-visual-side {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  /* Bike firmly touches the ground */
  justify-content: center;
}

/* Speedometer Dial (العداد.png) - Shifted UP higher & Dimmed Filter (No animations) */
.visual-tachometer-wrapper {
  position: absolute;
  top: 36%;
  /* Raised higher as requested */
  left: 48%;
  transform: translate(-50%, -50%);
  width: 110%;
  max-width: 680px;
  pointer-events: none;
  z-index: 1;
}

.visual-tachometer-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  /* Soft darkening filter to tone down flare */
  filter: brightness(0.8) contrast(1.06) saturate(0.92);
  opacity: 0.94;
  /* Zero animations as requested */
}

/* Motorcycle Slider Container (Layer 2 In Front of Speedometer) */
.bike-slider-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.bike-slides-wrapper {
  position: relative;
  width: 100%;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  /* Grounded */
  justify-content: center;
}

.bike-slide {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.bike-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.visual-motorcycle-img {
  width: 92%;
  max-width: 560px;
  height: auto;
  display: block;
  vertical-align: bottom;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.95));
  /* Zero animation as requested */
}

/* Slider Controls (Minimalist Dots & Arrows) */
.slider-controls {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(18, 19, 25, 0.75);
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.slider-arrow {
  background: transparent;
  border: none;

  /* Floating Sleek Side Navigation Arrows */
  .slider-side-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(18, 20, 26, 0.78);
    border: 1.5px solid rgba(255, 106, 0, 0.6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    z-index: 20;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.65),
      0 0 16px rgba(255, 106, 0, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .slider-side-nav-btn:hover {
    background: rgba(255, 106, 0, 0.28);
    border-color: #ff7d1a;
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(255, 106, 0, 0.75);
    transform: translateY(-50%) scale(1.12);
  }

  .slider-side-nav-btn:active {
    transform: translateY(-50%) scale(0.96);
  }

  .slider-side-nav-btn.btn-prev {
    right: -20px;
  }

  .slider-side-nav-btn.btn-next {
    left: -20px;
  }

  /* Modern Luxury Dash Indicators */
  .slider-dashes-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.2rem;
    z-index: 10;
  }

  .slider-dashes-bar .dash-dot {
    width: 26px;
    height: 4px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.22);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .slider-dashes-bar .dash-dot:hover {
    background: rgba(255, 255, 255, 0.55);
  }

  .slider-dashes-bar .dash-dot.active {
    width: 48px;
    background: var(--primary-orange);
    box-shadow: 0 0 12px var(--primary-orange);
  }

  /* Specs Badge (Keeway RKZ200) on the Far Right - Dynamic with Slider */
  .visual-specs-badge {
    position: absolute;
    right: 0;
    top: 52%;
    transform: translateY(-50%);
    z-index: 5;
    text-align: left;
    direction: ltr;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .specs-brand {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.4vw, 1.35rem);
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  }

  .specs-model {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.2vw, 2.2rem);
    font-weight: 900;
    font-style: italic;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(255, 106, 0, 0.35),
      0 2px 10px rgba(0, 0, 0, 0.9);
  }

  /* ==========================================================================
   Responsive Adaptations
   - Text is on TOP on mobile/tablet (order-1)
   - "احسب قسطك الآن" button is HIDDEN on mobile/tablet
   - Speedometer & bike scaled proportionally and reach button
   ========================================================================== */

  /* Laptop / Medium Desktops (992px - 1199px) */
  @media (max-width: 1199px) {
    .nav-pill-wrapper {
      padding: 0.45rem 1.2rem;
    }

    .nav-pill-list {
      gap: 0.7rem;
    }

    .nav-pill-item:not(:last-child)::after {
      margin-right: 0.7rem;
    }

    .visual-tachometer-wrapper {
      max-width: 580px;
    }

    .bike-slider-container {
      max-width: 500px;
    }

    .slider-side-nav-btn.btn-prev {
      right: -10px;
    }

    .slider-side-nav-btn.btn-next {
      left: -10px;
    }
  }

  /* Tablet Screens (768px - 991px) */
  @media (max-width: 991px) {

    /* Hide desktop nav pill & hide "احسب قسطك الآن" button in header */
    .nav-pill-wrapper {
      display: none !important;
    }

    .btn-calc-pill-header {
      display: none !important;
      /* Hide button on responsive */
    }

    .mobile-nav-toggle {
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .hero-main-wrapper {
      padding: 1.5rem 0 3rem;
    }

    /* Text on Top in responsive with proper spacing from edges */
    .hero-text-side {
      text-align: center;
      padding: 0 1.5rem;
      margin-bottom: 2rem;
    }

    .hero-main-title {
      text-align: center;
    }

    .hero-brand-title {
      justify-content: center;
    }

    .hero-subtext {
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    }

    .hero-btn-wrapper {
      text-align: center;
    }

    .hero-visual-side {
      min-height: 440px;
    }

    .visual-tachometer-wrapper {
      max-width: 520px;
      top: 32%;
      left: 50%;
    }

    .bike-slider-container {
      max-width: 480px;
    }

    .bike-slides-wrapper {
      min-height: 380px;
    }

    .visual-specs-badge {
      right: 4%;
      top: 42%;
    }
  }

  /* Mobile Screens (< 768px) */
  @media (max-width: 767px) {
    .site-header {
      padding: 1rem 0 0.5rem;
    }

    .brand-logo {
      height: 38px;
    }

    .btn-calc-pill-header {
      display: none !important;
    }

    .hero-main-wrapper {
      padding: 0.5rem 0 2rem;
    }

    /* 1. Text on TOP with comfortable padding (never sticks to edges) */
    .hero-text-side {
      text-align: center;
      padding: 0 1.5rem;
      max-width: 520px;
      margin: 0 auto 0.6rem;
    }

    .hero-main-title {
      font-size: clamp(1.4rem, 5.5vw, 1.85rem);
      line-height: 1.35;
      margin-bottom: 0.4rem;
      text-align: center;
    }

    .hero-brand-title {
      font-size: clamp(1.65rem, 6.5vw, 2.15rem);
      line-height: 1.25;
      margin-bottom: 0.9rem;
      justify-content: center;
      text-align: center;
    }

    .hero-subtext {
      font-size: clamp(0.92rem, 3.6vw, 1.05rem);
      line-height: 1.75;
      margin-bottom: 1.4rem;
      padding: 0 0.8rem;
      text-align: center;
    }

    .hero-btn-wrapper {
      text-align: center;
    }

    .btn-hero-discover {
      font-size: 1.05rem;
      padding: 0.85rem 2rem;
      width: 100%;
      max-width: 320px;
    }

    /* 2. Visual Stage: Speedometer LARGE, reaching up near the button */
    .hero-visual-side {
      position: relative;
      width: 100%;
      min-height: 420px;
      margin-top: -15px;
      /* Pulls speedometer right up to the CTA button */
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
    }

    .visual-tachometer-wrapper {
      position: absolute;
      top: 22%;
      /* Raised high to reach the button area */
      left: 50%;
      transform: translate(-50%, -50%);
      width: 135%;
      max-width: 520px;
      z-index: 1;
      pointer-events: none;
    }

    .visual-tachometer-img {
      width: 100%;
      height: auto;
      filter: brightness(0.82) contrast(1.06) saturate(0.92);
    }

    /* 3. Motorcycle Slider: Large, prominent, reaching up into the speedometer */
    .bike-slider-container {
      position: relative;
      z-index: 2;
      width: 100%;
      max-width: 440px;
      margin: 0 auto;
      padding: 0 10px;
    }

    .bike-slides-wrapper {
      position: relative;
      width: 100%;
      min-height: 330px;
      display: flex;
      align-items: flex-end;
      justify-content: center;
    }

    .bike-slide {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      display: flex;
      align-items: flex-end;
      justify-content: center;
    }

    .visual-motorcycle-img {
      width: 100%;
      max-width: 420px;
      height: auto;
      display: block;
      vertical-align: bottom;
    }

    /* 4. Sleek Floating Side Navigation Buttons */
    .slider-side-nav-btn {
      width: 38px;
      height: 38px;
      font-size: 1rem;
      top: 50%;
    }

    .slider-side-nav-btn.btn-prev {
      right: 5px;
    }

    .slider-side-nav-btn.btn-next {
      left: 5px;
    }

    /* 5. Specs Badge: Centered, clean, no word wrap */
    .visual-specs-badge {
      position: static;
      transform: none;
      text-align: center;
      margin-top: 0.8rem;
      margin-bottom: 0.3rem;
      display: flex;
      justify-content: center;
      align-items: baseline;
      gap: 0.5rem;
      white-space: nowrap;
      z-index: 5;
    }

    .specs-brand {
      font-size: 1.15rem;
      font-weight: 600;
    }

    .specs-model {
      font-size: 1.5rem;
      font-weight: 900;
      font-style: italic;
    }

    /* 6. Dash Indicators */
    .slider-dashes-bar {
      margin-top: 0.6rem;
      margin-bottom: 0.5rem;
    }

    .slider-dashes-bar .dash-dot {
      width: 22px;
      height: 4px;
    }

    .slider-dashes-bar .dash-dot.active {
      width: 40px;
    }
  }

  /* Extra small screens (< 400px) */
  @media (max-width: 400px) {
    .hero-main-title {
      font-size: 1.55rem;
    }

    .hero-brand-title {
      font-size: 1.85rem;
    }

    .visual-tachometer-wrapper {
      width: 145%;
    }

    .visual-motorcycle-img {
      max-width: 360px;
    }
  }}

  /* MotoGate slider polish: load AFTER style.css and responsive fix */

/* Cleaner glass slider controls */
.slider-capsule-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(28, 29, 36, .94), rgba(8, 9, 12, .88));
    box-shadow: 0 8px 24px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.capsule-arrow {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.capsule-arrow:hover,
.capsule-arrow:focus-visible {
    color: #fff;
    background: rgba(255, 106, 0, .18);
    border-color: rgba(255, 106, 0, .65);
    outline: none;
}

.capsule-arrow:active { transform: scale(.92); }

.capsule-dots { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.capsule-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, .38);
    transition: width .25s ease, background .25s ease, box-shadow .25s ease;
}
.capsule-dot.active {
    width: 25px;
    height: 7px;
    border-radius: 99px;
    background: var(--primary-orange, #ff6a00);
    box-shadow: 0 0 12px rgba(255, 106, 0, .6);
}

/* Bike size: larger while keeping its proportions */
.visual-motorcycle-img {
    width: 100%;
    max-width: 660px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 25px rgba(0, 0, 0, .82));
}

@media (min-width: 992px) {
    .bike-slider-container { max-width: 660px; }
    .bike-slides-wrapper { min-height: clamp(440px, 38vw, 560px); }
    .bike-slide { width: 108%; }
    .visual-bottom-bar { gap: 16px; }
}

/* Progress track + numeric counter */
.slider-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 118px;
    color: #fff;
    font-family: var(--font-display, Montserrat, sans-serif);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    direction: ltr;
}

.slider-progress-count { min-width: 20px; text-align: center; }
.slider-progress-count.current { color: var(--primary-orange, #ff6a00); }
.slider-progress-track {
    position: relative;
    width: clamp(48px, 7vw, 100px);
    height: 4px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, .23);
}
.slider-progress-fill {
    display: block;
    width: 33.333%;
    height: 100%;
    border-radius: inherit;
    background: var(--primary-orange, #ff6a00);
    box-shadow: 0 0 10px rgba(255, 106, 0, .7);
    transition: width .35s ease;
}

@media (max-width: 767px) {
    .visual-motorcycle-img { max-width: none; max-height: 350px; }
    .bike-slide, .bike-slide.active { width: min(98%, 440px); }
    .slider-capsule-pill { min-height: 43px; gap: 8px; padding: 5px 9px; }
    .capsule-arrow { width: 27px; height: 27px; flex-basis: 27px; }
    .capsule-dot.active { width: 22px; }
    .slider-progress { min-width: 90px; gap: 6px; font-size: .68rem; }
    .slider-progress-track { width: 42px; }
    .visual-bottom-bar { gap: 7px; }
}

@media (max-width: 380px) {
    .slider-progress { min-width: 76px; gap: 4px; }
    .slider-progress-track { width: 30px; }
    .slider-capsule-pill { gap: 5px; padding-inline: 7px; }
    .visual-motorcycle-img { max-height: 300px; }
}
