/* --- Hero Slider Container --- */
.hero-slider {
    position: relative;
    width: 100%;
    min-height: 92vh;
    overflow: hidden;
    background: #0a1f44;
}

/* --- Slides --- */
.hero-slider__track {
    display: flex;
    width: 400%;
    height: 100%;
    min-height: 92vh;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.hero-slide {
    position: relative;
    width: 25%;
    min-height: 92vh;
    display: grid;
    grid-template-columns: 55% 45%;
    overflow: hidden;
}

/* --- Imagen lado izquierdo --- */
.hero-slide__image {
    position: relative;
    overflow: hidden;
}

.hero-slide__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 6s ease-out;
}

.hero-slide--active .hero-slide__image img {
    transform: scale(1.06);
}

.hero-slide__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(10, 31, 68, 0) 60%,
            rgba(10, 31, 68, 0.95) 100%
        ),
        linear-gradient(
            180deg,
            rgba(10, 31, 68, 0.15) 0%,
            rgba(10, 31, 68, 0.4) 100%
        );
    pointer-events: none;
}

/* --- Contenido lado derecho --- */
.hero-slide__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 4rem 5rem 3rem;
    background: linear-gradient(135deg, #0a1f44 0%, #132d54 60%, #1e3a5f 100%);
    position: relative;
    z-index: 2;
}

/* Decoración sutil en el panel de contenido */
.hero-slide__content::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(0, 188, 212, 0.06) 0%,
        transparent 70%
    );
    pointer-events: none;
}

/* --- Badge de línea --- */
.hero-slide__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 1.75rem;
    letter-spacing: 0.03em;
}

/* --- Número de slide (ancla visual) --- */
.hero-slide__number {
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;
    -webkit-text-stroke: 2px rgba(212, 175, 55, 0.3);
    color: transparent;
    position: absolute;
    top: 2rem;
    right: 3rem;
    opacity: 0.4;
    pointer-events: none;
    user-select: none;
}

/* --- Tipografía --- */
.hero-slide__title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero-slide__title em {
    font-style: normal;
    background: linear-gradient(135deg, #d4af37 0%, #e8c968 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-slide__desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-slide__desc strong {
    color: #ffffff;
}

/* --- Tags de producto --- */
.hero-slide__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.25rem;
}

.hero-slide__tags span {
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-slide__tags span.tag-highlight {
    background: rgba(0, 188, 212, 0.15);
    color: #00bcd4;
    border-color: rgba(0, 188, 212, 0.25);
    font-weight: 700;
}

/* --- CTAs --- */
.hero-slide__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-slide__cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.125rem 2.25rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #ffffff;
    background: #10b981;
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
    transition: all 0.3s;
    text-decoration: none;
    gap: 0.625rem;
}

.hero-slide__cta-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.45);
}

.hero-slide__cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.125rem 2.25rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    transition: all 0.3s;
    text-decoration: none;
    gap: 0.5rem;
}

.hero-slide__cta-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
}

/* --- Trust micro-signals --- */
.hero-slide__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-slide__trust span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* --- Indicadores / Dots --- */
.hero-slider__indicators {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.hero-slider__dot {
    width: 48px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.4s;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-slider__dot::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: #d4af37;
    border-radius: 2px;
    transition: width 0s;
}

.hero-slider__dot--active {
    background: rgba(255, 255, 255, 0.15);
}

.hero-slider__dot--active::after {
    width: 100%;
    transition: width 6s linear;
}

/* --- Flechas de navegación --- */
.hero-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.hero-slider__arrow:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
}

.hero-slider__arrow--prev {
    left: 1.5rem;
}
.hero-slider__arrow--next {
    right: 1.5rem;
}

/* --- Barra de líneas lateral (mini-nav) --- */
.hero-slider__line-nav {
    position: absolute;
    right: 4.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    z-index: 20;
}

.hero-slider__line-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    transition: all 0.3s;
}

.hero-slider__line-pip {
    width: 3px;
    height: 28px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s;
}

.hero-slider__line-item--active .hero-slider__line-pip {
    height: 40px;
    background: #d4af37;
}

.hero-slider__line-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s;
}

.hero-slider__line-item:hover .hero-slider__line-label,
.hero-slider__line-item--active .hero-slider__line-label {
    opacity: 1;
    transform: translateX(0);
    color: rgba(255, 255, 255, 0.8);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
    .hero-slide {
        grid-template-columns: 1fr;
    }
    .hero-slide__image {
        position: absolute;
        inset: 0;
        z-index: 1;
    }
    .hero-slide__image::after {
        background: linear-gradient(
            180deg,
            rgba(10, 31, 68, 0.5) 0%,
            rgba(10, 31, 68, 0.92) 60%,
            #0a1f44 100%
        );
    }
    .hero-slide__content {
        position: relative;
        z-index: 2;
        background: transparent;
        padding: 8rem 2rem 6rem;
        align-items: center;
        text-align: center;
    }
    .hero-slide__content::before {
        display: none;
    }
    .hero-slide__number {
        display: none;
    }
    .hero-slide__desc {
        max-width: 600px;
    }
    .hero-slide__tags {
        justify-content: center;
    }
    .hero-slide__ctas {
        justify-content: center;
    }
    .hero-slide__trust {
        justify-content: center;
    }
    .hero-slider__line-nav {
        display: none;
    }
    .hero-slider__arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-slider,
    .hero-slider__track,
    .hero-slide {
        min-height: 100vh;
    }
    .hero-slide__content {
        padding: 7rem 1.25rem 5rem;
    }
    .hero-slide__ctas {
        flex-direction: column;
        width: 100%;
    }
    .hero-slide__cta-primary,
    .hero-slide__cta-secondary {
        width: 100%;
        justify-content: center;
    }
}
