/* ═══════════════════════════════════════════════════════════════════════════
   HERO SLIDER STYLES - INGENOR
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --hero-color-amarillo: #FFD200;
    --hero-color-amarillo-hover: #e6be00;
    --hero-color-blanco: #ffffff;
    --hero-color-negro: #000000;
    --hero-color-gris-claro: rgba(255, 255, 255, 0.7);
    --hero-font-titulos: 'Plus Jakarta Sans', sans-serif;
    --hero-font-texto: 'Geist', 'Plus Jakarta Sans', sans-serif;
    --hero-content-width: 1280px;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 6s ease-out;
}

.swiper-slide-active .slide-bg {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    max-width: var(--hero-content-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
}

.slide-content-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    gap: 60px;
}

.slide-left {
    flex: 1;
    max-width: 700px;
}

.slide-title {
    font-family: var(--hero-font-titulos);
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 500;
    color: var(--hero-color-blanco);
    line-height: 1.15;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.swiper-slide-active .slide-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.slide-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--hero-color-amarillo);
    color: var(--hero-color-negro);
    font-family: var(--hero-font-titulos);
    font-size: 16px;
    font-weight: 600;
    padding: 16px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.swiper-slide-active .slide-cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.slide-cta:hover {
    background-color: var(--hero-color-amarillo-hover);
    color: var(--hero-color-negro);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 197, 24, 0.3);
}

.slide-cta svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.slide-cta:hover svg {
    transform: translateY(3px);
}

.slide-left.no-cta .slide-title {
    margin-bottom: 0;
}

/* Navegación fija */
.navigation-fixed {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--hero-content-width);
    padding: 0 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.navigation-inner {
    width: 380px;
}

.slider-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.slide-counter {
    font-family: var(--hero-font-titulos);
    font-size: 24px;
    font-weight: 600;
    color: var(--hero-color-blanco);
    min-width: 30px;
}

.progress-container {
    flex: 1;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--hero-color-amarillo);
    border-radius: 2px;
    transition: width 0.1s linear;
}

.nav-arrows {
    display: flex;
    gap: 12px;
}

.nav-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none;
    cursor: pointer;
    color: var(--hero-color-blanco);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.nav-arrow:hover,
.nav-arrow:focus,
.nav-arrow:active {
    opacity: 1;
    color: var(--hero-color-amarillo) !important;
    background: transparent !important;
    outline: none;
}

.nav-arrow svg {
    width: 24px;
    height: 24px;
}

.slide-description {
    font-family: var(--hero-font-texto);
    font-size: 15px;
    font-weight: 400;
    color: var(--hero-color-gris-claro);
    line-height: 1.7;
    margin: 0;
    transition: all 0.4s ease;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .navigation-inner {
        width: 320px;
    }
}

@media (max-width: 1024px) {
    .slide-content {
        padding: 0 30px;
        padding-bottom: 220px;
    }
    
    .slide-content-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    
    .slide-left {
        max-width: 100%;
    }
    
    .navigation-fixed {
        bottom: 40px;
        padding: 0 30px;
        align-items: flex-start;
    }
    
    .navigation-inner {
        width: 100%;
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    .hero-slider-container {
        min-height: 100svh;
    }
    
    .slide-content {
        padding: 0 20px;
        padding-bottom: 200px;
    }
    
    .slide-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .slide-cta {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .navigation-fixed {
        padding: 0 20px;
        bottom: 30px;
    }
    
    .navigation-inner {
        width: 100%;
        max-width: 100%;
    }
    
    .slider-navigation {
        gap: 15px;
    }
    
    .slide-counter {
        font-size: 20px;
    }
    
    .slide-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 28px;
    }
    
    .nav-arrows {
        gap: 8px;
    }
    
    .nav-arrow {
        width: 36px;
        height: 36px;
    }
}
