/*
 * Hero Carousel - Figma Design (real image bg, 3 slides, dots)
 */

.digi-hero {
  padding: 0;
}

.digi-hero__carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
}

.digi-hero__track {
  display: flex;
  transition: transform var(--transition-slow);
}

.digi-hero__slide {
  position: relative;
  min-width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.digi-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.digi-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.digi-hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: var(--space-8) var(--container-padding);
}

.digi-hero__tag {
  display: inline-block;
  padding: 4px var(--space-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  background: var(--digi-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
}

.digi-hero__title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-2);
  line-height: 1.2;
  max-width: 600px;
}

.digi-hero__subtitle {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-5);
  max-width: 500px;
}

.digi-hero__actions {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.digi-hero__actions .digi-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* Dots Navigation */
.digi-hero__dots {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-2);
  z-index: 3;
}

.digi-hero__dots button {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.digi-hero__dots button.is-active {
  background: var(--digi-primary);
  width: 28px;
  border-radius: 5px;
}

.digi-hero__dots button:hover {
  background: rgba(255,255,255,0.7);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 767px) {
  .digi-hero__slide {
    min-height: 220px;
  }
  .digi-hero__content {
    padding: var(--space-5) var(--container-padding);
  }
  .digi-hero__title {
    font-size: var(--fs-xl);
  }
  .digi-hero__subtitle {
    font-size: var(--fs-sm);
    margin-bottom: var(--space-4);
  }
  .digi-hero__tag {
    font-size: 10px;
    padding: 2px var(--space-2);
  }
  .digi-hero__dots {
    bottom: var(--space-3);
  }
}
