.banner {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 500px;
    background-image: url('/public/assets/img/mfbanner2.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(15, 23, 42, 0.9) 0%, 
        rgba(30, 41, 59, 0.6) 50%, 
        rgba(86, 213, 58, 0.2) 100%
    );
    z-index: 1;
}

/* ===== SLIDER ===== */
.banner__slider {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.banner__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 var(--spacing-md);
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.banner__slide--active {
    opacity: 1;
    visibility: visible;
}

/* ===== SLIDES SOLO CON IMAGEN ===== */
.banner__slide-image-only {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s ease 0.2s, transform 1s ease 0.2s;
}

.banner__slide--active .banner__slide-image-only {
    opacity: 1;
    transform: scale(1);
}

.banner__slide-image-only img {
    /* max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; */
    width: 18rem;

    @media (min-width: 768px) {
        
    }

    @media (min-width: 1024px) {
        
    }
}

/* ===== SLIDES SOLO CON TEXTO ===== */
.banner__slide-content {
    text-align: center;
    max-width: var(--container-wide);
}

.banner__slide-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;

    @media (min-width: 768px) {
        font-size: 3.5rem;
    }

    @media (min-width: 1024px) {
        font-size: 4rem;
    }
}

.banner__slide--active .banner__slide-title {
    opacity: 1;
    transform: translateY(0);
}

.banner__slide-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;

    @media (min-width: 768px) {
        font-size: 1.4rem;
    }
}

.banner__slide--active .banner__slide-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.banner__slide-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #56d53a 0%, #3aa856 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(86, 213, 58, 0.3);
    
    opacity: 0;
    transform: translateY(30px);
}

.banner__slide--active .banner__slide-button {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}

.banner__slide-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(86, 213, 58, 0.4);
}

/* ===== INDICADORES (DOTS) ===== */
.banner__indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 3;
}

.banner__indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.banner__indicator--active {
    width: 40px;
    border-radius: 6px;
    background: white;
}

.banner__indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (min-width: 768px) {
    .banner {
        height: 75vh;
        min-height: 600px;
    }

    .banner__slide {
        padding: 0 var(--spacing-lg);
    }
}

@media (min-width: 1024px) {
    .banner {
        height: 75vh;
        min-height: 650px;
    }
}

@media (min-width: 1280px) {
    .banner {
        height: 75vh;
        min-height: 700px;
    }
}

/* Transición suave para cambio de idioma */
.banner__slider,
.banner__indicators {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.banner--transitioning .banner__slider,
.banner--transitioning .banner__indicators {
    opacity: 0;
    transform: translateY(20px);
}