/* ══════════════════════════════════════════
   HERO SLIDER  —  BEM: .hero-slider__*
   ══════════════════════════════════════════ */

/* Bloque raíz */
#hero-slider {
     position: relative;
     overflow: hidden;
     height: 380px;
     background: var(--dark);
}

/* Track (contenedor de slides) */
.hero-slider__track {
     display: flex;
     height: 100%;
     transition: transform 0.5s ease;
}

/* Slide individual */
.hero-slider__slide {
     min-width: 100%;
     height: 100%;
     position: relative;
     overflow: hidden;
     flex-shrink: 0;
}

/* Imagen de fondo */
.hero-slider__img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
     transition: transform 8s ease;
}
.hero-slider__slide:hover .hero-slider__img {
     transform: scale(1.04);
}

/* Overlay oscuro en degradado */
.hero-slider__overlay {
     position: absolute;
     inset: 0;
     background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.2) 60%,
            transparent 100%
          );
}

/* Contenido del slide */
.hero-slider__content {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     padding: 28px 32px;
}

/* Etiqueta de categoría */
.hero-slider__category {
     display: inline-block;
     background: var(--accent);
     color: #fff;
     font-family: var(--font-head);
     font-size: 10px;
     text-transform: uppercase;
     padding: 3px 10px;
     letter-spacing: 0.1em;
     margin-bottom: 10px;
}

/* Título */
.hero-slider__title {
     font-family: var(--font-head);
     font-size: 26px;
     font-weight: 600;
     color: #fff;
     line-height: 1.3em;
     margin-bottom: 10px;
     max-width: 640px;
}
.hero-slider__title a { color: #fff; }
.hero-slider__title a:hover { color: var(--accent); }

/* Extracto */
.hero-slider__excerpt {
     color: rgba(255, 255, 255, 0.75);
     font-size: 12px;
     margin-bottom: 14px;
}

/* CTA */
.hero-slider__cta {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     font-size: 13px;
}

/* Controles prev/next */
.hero-slider__controls {
     position: absolute;
     bottom: 16px;
     right: 20px;
     display: flex;
     flex-direction: row;
     gap: 4px;
     opacity: 0;
     transition: opacity 0.3s;
}
#hero-slider:hover .hero-slider__controls {
     opacity: 1;
}

.hero-slider__btn {
     width: 36px;
     height: 36px;
     background: var(--accent);
     border: none;
     color: #fff;
     font-size: 14px;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: background 0.2s;
}
.hero-slider__btn:hover {
     background: var(--dark);
}

/* Indicadores (dots) */
.hero-slider__dots {
     position: absolute;
     bottom: 12px;
     right: 32px;
     display: flex;
     gap: 6px;
}

.hero-slider__dot {
     width: 8px;
     height: 8px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.4);
     border: none;
     cursor: pointer;
     transition: background 0.2s;
}
.hero-slider__dot--active {
     background: var(--accent);
}
