/* ============================================================
   HERO + PROMO GRID
   Hero: 480px tall
   Promo banners: 232 × 2 + 16px gap = 480px (matches hero)
   Uses global .container for width and gutter
   ============================================================ */

.hero-promo-section {
  width: 100%;
  padding: 16px 0 8px;
  background: #f8f9fb;
  box-sizing: border-box;
}

.hero-promo-grid {
  display: grid;
  grid-template-columns: 1fr 315px;
  gap: 14px;
  align-items: stretch;
  width: 100%;
}

/* ============================================================
   LEFT: HERO SLIDER (480px tall)
   ============================================================ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: #f3f0ff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---------- PROGRESS DOTS ---------- */
.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  border-radius: 999px;
}

.hero-dot {
  position: relative;
  width: 28px;
  height: 5px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot:hover { background: rgba(255, 255, 255, 0.6); }

.hero-dot.is-active {
  width: 44px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-dot-fill {
  position: absolute;
  inset: 0;
  background: #ffffff;
  border-radius: 999px;
  transform-origin: left center;
  transform: scaleX(0);
}

.hero-dot.is-active .hero-dot-fill {
  animation: heroDotFill 5s linear forwards;
}

@keyframes heroDotFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ============================================================
   RIGHT: 2 STACKED PROMO BANNERS (315 × 232 each)
   ============================================================ */
.hero-promo-side {
  width: 315px;
  height: 480px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.promo-banner {
  display: block;
  position: relative;
  width: 315px;
  height: 232px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  background: #f3f0ff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.promo-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.promo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.promo-banner:hover img {
  transform: scale(1.05);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Slightly narrower promo column on mid-size screens */
@media (max-width: 1200px) {
  .hero-promo-grid {
    grid-template-columns: 1fr 280px;
    gap: 12px;
  }
  .hero-promo-side,
  .promo-banner {
    width: 280px;
  }
  .hero-promo-side { height: 440px; }
  .promo-banner    { height: 212px; }   /* (440 - 16) / 2 */
  .hero-slider     { height: 440px; }
}

/* Tablet — stack hero and promos vertically */
@media (max-width: 992px) {
  .hero-promo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-slider {
    height: auto;
    aspect-ratio: 16 / 7;
  }
  .hero-promo-side {
    width: 100%;
    height: auto;
    flex-direction: row;
    gap: 12px;
  }
  .promo-banner {
    width: 100%;
    height: auto;
    aspect-ratio: 315 / 232;
  }
}

/* Mobile — stack everything vertically */
@media (max-width: 576px) {
  .hero-promo-section { padding: 10px 0 4px; }
  .hero-slider { border-radius: 10px; }
  .hero-promo-side {
    flex-direction: column;
    gap: 10px;
  }
  .promo-banner {
    aspect-ratio: 16 / 9;
    border-radius: 10px;
  }
  .hero-dots {
    bottom: 8px;
    padding: 5px 10px;
    gap: 6px;
  }
  .hero-dot { width: 22px; height: 4px; }
  .hero-dot.is-active { width: 34px; }
}