/* =====================================================
   NEXA HERO - VERSIÓN CORREGIDA
===================================================== */

/* ============================================
   CONTENEDOR PRINCIPAL
============================================= */

.nexa-hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    width: 100%;
}

/* ============================================
   OVERLAY
============================================= */

.nexa-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* ============================================
   CONTENIDO
============================================= */

.nexa-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
}

/* ============================================
   SUBTÍTULO
============================================= */

.nexa-hero-subtitle {
    display: inline-block;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 600;
    opacity: 0.9;
}

/* ============================================
   TÍTULO
============================================= */

.nexa-hero h1 {
    font-size: 64px;
    line-height: 1.1;
    margin: 0 0 25px;
    font-weight: 800;
}

/* ============================================
   DESCRIPCIÓN
============================================= */

.nexa-hero p {
    max-width: 650px;
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* ============================================
   BOTONES - CONTENEDOR
============================================= */

.nexa-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* ============================================
   BOTONES
============================================= */

.nexa-button {
    display: inline-block;
    padding: 16px 38px;
    background: #ffffff;
    color: #111111;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    min-width: 140px;
}

.nexa-button.primary {
    background: #ffffff;
    color: #111111;
    border-color: #ffffff;
}

.nexa-button.primary:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.nexa-button.secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.nexa-button.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    border-color: #ffffff;
}

/* ============================================
   SWIPER
============================================= */

.nexa-hero-slider {
    width: 100%;
}

.swiper-slide {
    width: 100%;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.swiper-pagination-bullet-active {
    background: #ffffff;
}

.swiper-button-next,
.swiper-button-prev {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.4);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
}

/* ============================================
   RESPONSIVE
============================================= */

/* Tablet */
@media (max-width: 992px) {
    .nexa-hero {
        min-height: 550px;
        padding: 80px 30px;
    }
    
    .nexa-hero h1 {
        font-size: 46px;
    }
    
    .nexa-hero p {
        font-size: 18px;
        max-width: 550px;
    }
    
    .nexa-button {
        padding: 14px 30px;
        font-size: 15px;
        min-width: 120px;
    }
}

/* Móvil Grande */
@media (max-width: 768px) {
    .nexa-hero {
        min-height: 500px;
        padding: 60px 25px;
        text-align: center;
    }
    
    .nexa-hero-content {
        text-align: center;
    }
    
    .nexa-hero h1 {
        font-size: 34px;
        margin: 0 0 15px;
    }
    
    .nexa-hero p {
        font-size: 16px;
        line-height: 1.6;
        margin: 0 auto 30px;
        max-width: 100%;
    }
    
    .nexa-hero-subtitle {
        font-size: 14px;
        letter-spacing: 1.5px;
        margin-bottom: 10px;
    }
    
    /* ============================================
       BOTONES EN MÓVIL - CORREGIDO
    ============================================= */
    
    .nexa-hero-buttons {
        flex-direction: column;
        gap: 14px;
        align-items: center;
        width: 100%;
    }
    
    .nexa-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 14px 24px;
        font-size: 15px;
        display: block;
        min-width: unset;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
}

/* Móvil Pequeño */
@media (max-width: 480px) {
    .nexa-hero {
        min-height: 420px;
        padding: 50px 20px;
    }
    
    .nexa-hero h1 {
        font-size: 28px;
        margin: 0 0 12px;
    }
    
    .nexa-hero p {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .nexa-hero-subtitle {
        font-size: 12px;
        letter-spacing: 1px;
    }
    
    .nexa-button {
        padding: 12px 20px;
        font-size: 14px;
        max-width: 250px;
    }
    
    .nexa-hero-buttons {
        gap: 12px;
    }
}