/* =========================================================
   VARIABLES
========================================================= */
:root {
    --primary: #0900b9;
    --primary-light: #3a72f6;
    --primary-dark: #07008f;
    --accent: #ffffff;
    --dark: #1a1a2e;
    --gray-100: #f8f9fc;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --success: #10b981;
    --warning: #f59e0b;
    --gradient-blue: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--gray-100);
    overflow-x: hidden;
}

/* =========================================================
   HERO (se mantiene igual - ya está increíble)
========================================================= */
.socios-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(145deg, rgba(9, 0, 185, 0.9) 0%, rgba(26, 26, 78, 0.95) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(9, 0, 185, 0.7), rgba(26, 26, 78, 0.85));
    z-index: 1;
}

.hero-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
}

.hero-title .titulo {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(124, 245, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 600px;
    opacity: 0.9;
}



/* =========================================================
   SECCIONES GENERALES
========================================================= */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 100px 5%;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gray-800);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-blue);
    border-radius: 3px;
}

.section-desc {
    max-width: 700px;
    margin: 30px auto 0;
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* =========================================================
   EMPRESAS RESPALDO (MEJORADO)
========================================================= */
.empresas-respaldo {
    background: white;
    position: relative;
    overflow: hidden;
}

.empresas-respaldo::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(58, 114, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.empresas-respaldo .container {
    position: relative;
    z-index: 1;
}

.stats-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--gray-100);
    padding: 15px 30px;
    border-radius: 60px;
    margin-bottom: 30px;
    border: 1px solid var(--gray-200);
}

.stat-item-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-800);
    font-weight: 500;
}

.stat-item-badge i {
    color: var(--primary);
    font-size: 1.2rem;
}

.stat-number-badge {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
}

.divider-badge {
    width: 1px;
    height: 30px;
    background: var(--gray-300);
}

/* =========================================================
   CARRUSEL 
========================================================= */
.mdSwiper {
    margin-top: 60px;
    padding: 20px 0;
}

.mdSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mdSwiper img {
    height: 75px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.mdSwiper img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* =========================================================
   momentos
========================================================= */
.vida-amci {
    background: var(--gray-100);
    position: relative;
}

.section-header {
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.vidaSwiper {
    margin-top: 60px;
    padding-bottom: 50px;
}

.vidaSwiper .swiper-slide {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
}

.vidaSwiper img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.vidaSwiper .swiper-slide:hover img {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, transparent 80%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vidaSwiper .swiper-slide:hover .slide-overlay {
    opacity: 1;
}

.slide-overlay h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.slide-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.vidaSwiper .swiper-slide:hover .slide-overlay h4,
.vidaSwiper .swiper-slide:hover .slide-overlay p {
    transform: translateY(0);
}


.vida-next,
.vida-prev {
    color: var(--primary);
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.vida-next::after,
.vida-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* Paginación (se mantiene) */
.vida-pagination .swiper-pagination-bullet {
    background: var(--primary);
    opacity: 0.4;
}

.vida-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}


/* =========================================================
   BENEFICIOS AMCI (MEJORADO)
========================================================= */
.beneficios-amci {
    background: white;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.beneficio-item {
    background: var(--gray-100);
    padding: 50px 35px;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(9, 0, 185, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.beneficio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.beneficio-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(9, 0, 185, 0.1);
}

.beneficio-item:hover::before {
    transform: scaleX(1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--gradient-blue);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 15px 25px rgba(9, 0, 185, 0.2);
    transition: all 0.4s ease;
}

.beneficio-item:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.beneficio-item i {
    font-size: 2.3rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.beneficio-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--gray-800);
}

.beneficio-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

.beneficio-footer {
    margin-top: 25px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.beneficio-footer i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.beneficio-item:hover .beneficio-footer i {
    transform: translateX(5px);
}



@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== BANNER AFILIATE ===== */
.afiliate-banner {
    padding: 80px 5%;
    background: #020024;
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 74%, rgba(0, 116, 173, 1) 97%);
    color: white;
    text-align: center;
}

.afiliate-banner h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.afiliate-banner p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-afiliate {
    background-color: var(--primary-light);
    font-size: 1.1rem;
    padding: 18px 50px;
    color: white;
    text-decoration: none;
    border-radius: 60px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-afiliate:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(9, 0, 185, 0.3);
}



/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1200px) {
    .presencia-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .container {
        padding: 70px 5%;
    }

    .cta-afiliacion {
        padding: 90px 5%;
    }
    
    .cta-afiliacion h2 {
        font-size: 2rem;
    }
    
    .event-stats {
        gap: 25px;
    }
    
    .event-stat-number {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-badge {
        flex-direction: column;
        gap: 10px;
    }
    
    .divider-badge {
        display: none;
    }
    
    .mapa-icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}