/* ========================================
   HERO SECTION - HEADER PRINCIPAL
======================================== */
.hero-afiliacion-main {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay-fallback {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.3) 100%);
}

/* Decoraciones flotantes */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.hero-decoration-1 {
    top: 15%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.25) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite;
}

.hero-decoration-2 {
    bottom: 20%;
    right: 8%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 122, 61, 0.2) 0%, transparent 70%);
    animation: float 12s ease-in-out infinite reverse;
}

.hero-decoration-3 {
    top: 50%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 51, 102, 0.2) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

/* Content Wrapper */
.hero-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.hero-text-content {
    padding-left: 2rem;
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.5), 0 0 60px rgba(255, 193, 7, 0.3);
}

.hero-badge span {
    color: #000;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

.hero-badge-icon {
    margin-right: 0.75rem;
    animation: pulse 2s ease-in-out infinite;
}

/* Hero Title */
.hero-title {
    color: #FFFFFF;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 1), 0 4px 20px rgba(0, 0, 0, 0.9), 5px 5px 15px rgba(0, 0, 0, 1);
    line-height: 1;
    letter-spacing: -2px;
}

/* Hero Subtitle */
.hero-subtitle {
    color: #FFFFFF;
    font-size: 1.35rem;
    margin: 0 0 2.5rem;
    line-height: 1.8;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 1), 3px 3px 10px rgba(0, 0, 0, 1);
    font-weight: 400;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.btn-hero i {
    font-size: 1.3rem;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #ffc107, #ffb300);
    color: #000;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.5);
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, #ffb300, #ff9500);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.6);
    color: #000;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #003366;
    transform: translateY(-3px);
}

/* Hero Decoration Line */
.hero-decoration-line {
    width: 140px;
    height: 5px;
    background: linear-gradient(90deg, #ffc107, #ff9500, transparent);
    border-radius: 3px;
    box-shadow: 0 0 40px rgba(255, 193, 7, 1), 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ========================================
   SCROLL INDICATOR
======================================== */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-link {
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.9;
    transition: all 0.3s;
}

.scroll-link:hover {
    opacity: 1;
    transform: translateY(8px);
    color: #FFFFFF;
}

.scroll-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 1);
}

.scroll-link i {
    font-size: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 1);
}

/* ========================================
   RAZONES SECTION - DISEÑO PREMIUM
======================================== */
.razones-section-premium {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.razones-section-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #003366, transparent);
}

/* Header Premium */
.razones-header-premium {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #fff, #f8f9fa);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: 2px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.header-badge i {
    color: #FF7A3D;
    font-size: 1.2rem;
}

.header-badge span {
    color: #003366;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.header-title {
    color: #003366;
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.header-subtitle {
    color: #6c757d;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Grid de Beneficios - Layout Moderno */
.beneficios-grid-premium {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Beneficio Card Base */
.beneficio-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 51, 102, 0.08);
}

.beneficio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #003366, #FF7A3D);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.beneficio-card:hover::before {
    transform: scaleX(1);
}

.beneficio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 122, 61, 0.2);
}

/* Beneficio Featured (Principal - Grande) */
.beneficio-featured {
    grid-column: span 12;
    background: linear-gradient(135deg, #003366 0%, #0056b3 100%);
    color: #fff;
    padding: 3.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
}

.beneficio-featured::before {
    display: none;
}

.beneficio-featured:hover {
    transform: translateY(-5px);
}

/* Beneficios Medianos */
.beneficio-card:nth-child(2),
.beneficio-card:nth-child(3) {
    grid-column: span 6;
}

/* Beneficios Pequeños */
.beneficio-card:nth-child(4),
.beneficio-card:nth-child(5),
.beneficio-card:nth-child(6) {
    grid-column: span 4;
}

/* Número de Beneficio */
.beneficio-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: #003366;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.beneficio-card:hover .beneficio-number {
    opacity: 1;
    transform: scale(1.1);
}

/* Icon Wrapper */
.beneficio-icon-wrapper {
    position: relative;
}

.beneficio-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.beneficio-card:hover .beneficio-icon {
    transform: scale(1.1) rotate(-5deg);
}

.beneficio-featured .beneficio-icon {
    width: 120px;
    height: 120px;
    font-size: 3.5rem;
    margin-bottom: 0;
}

/* Colores de Iconos */
.beneficio-icon-primary {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.4);
}

.beneficio-icon-orange {
    background: linear-gradient(135deg, #FF7A3D, #ff9500);
}

.beneficio-icon-blue {
    background: linear-gradient(135deg, #003366, #0056b3);
}

.beneficio-icon-green {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.beneficio-icon-purple {
    background: linear-gradient(135deg, #6f42c1, #5a32a3);
}

.beneficio-icon-cyan {
    background: linear-gradient(135deg, #17a2b8, #138496);
}

/* Contenido */
.beneficio-content h3 {
    color: #003366;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.beneficio-featured .beneficio-content h3 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
}

.beneficio-content p {
    color: #6c757d;
    line-height: 1.7;
    font-size: 1rem;
}

.beneficio-featured .beneficio-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    line-height: 1.8;
}

/* Stats en Featured Card */
.beneficio-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-item strong {
    color: #ffc107;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(255, 193, 7, 0.3);
}

.stat-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Extra */
.features-extra {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.03), rgba(255, 122, 61, 0.03));
    border-radius: 20px;
    border: 2px dashed rgba(0, 51, 102, 0.1);
}

.feature-extra-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-extra-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-extra-item i {
    color: #28a745;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-extra-item span {
    color: #495057;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ========================================
   RESPONSIVE - RAZONES SECTION
======================================== */
@media (max-width: 992px) {
    .header-title {
        font-size: 2.5rem;
    }
    
    .beneficio-featured {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .beneficio-featured .beneficio-icon {
        margin: 0 auto 1.5rem;
    }
    
    .beneficio-card:nth-child(2),
    .beneficio-card:nth-child(3) {
        grid-column: span 12;
    }
    
    .beneficio-card:nth-child(4),
    .beneficio-card:nth-child(5),
    .beneficio-card:nth-child(6) {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .razones-section-premium {
        padding: 4rem 0;
    }
    
    .header-title {
        font-size: 2rem;
    }
    
    .header-subtitle {
        font-size: 1.05rem;
    }
    
    .beneficios-grid-premium {
        gap: 1.5rem;
    }
    
    .beneficio-card {
        padding: 2rem;
    }
    
    .beneficio-featured {
        padding: 2.5rem;
    }
    
    .beneficio-featured .beneficio-content h3 {
        font-size: 1.8rem;
    }
    
    .beneficio-card:nth-child(n) {
        grid-column: span 12;
    }
    
    .beneficio-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-extra {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .header-badge {
        padding: 0.6rem 1.5rem;
    }
    
    .header-badge span {
        font-size: 0.85rem;
    }
    
    .header-title {
        font-size: 1.75rem;
    }
    
    .beneficio-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .beneficio-content h3 {
        font-size: 1.3rem;
    }
    
    .stat-item strong {
        font-size: 2rem;
    }
}