/* ============================================
   Hero Video Carousel
   ============================================ */

.hero-carousel-section {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  background: #fff;
}

@media (max-width: 640px) {
  .hero-carousel {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
  }
}

/* Track */
.hero-carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Slides */
.hero-carousel__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
}

/* Video (when clips are ready) */
.hero-carousel__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder (before videos exist) */
.hero-carousel__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-carousel__placeholder-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.hero-carousel__placeholder-label {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

/* Pips */
.hero-carousel__pips {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.hero-carousel__pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(160, 160, 160, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 0;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-carousel__pip.active {
  background: rgba(80, 80, 80, 0.8);
  border-color: rgba(255, 255, 255, 0.8);
  width: 20px;
  border-radius: 4px;
}

/* Caption below video */
.hero-carousel__caption {
  text-align: center;
  padding: 14px 16px 4px;
}

.hero-carousel__caption-title {
  margin: 0 0 2px;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  transition: opacity 0.35s ease;
  line-height: 1.3;
}

.hero-carousel__caption-sub {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  transition: opacity 0.35s ease;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .hero-carousel__caption {
    padding: 12px 12px 4px;
  }
  .hero-carousel__caption-title {
    font-size: 18px;
  }
  .hero-carousel__caption-sub {
    font-size: 16px;
  }
}

/* Controls */
.hero-carousel__controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.hero-carousel__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(128, 128, 128, 0.25);
  background: transparent;
  color: rgba(128, 128, 128, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-carousel__btn:hover {
  background: rgba(128, 128, 128, 0.1);
  color: rgba(128, 128, 128, 1);
}
