﻿/* ===================================================================
   09) HERO FULLSCREEN (Animado)
   =================================================================== */
/* ===================================================================
   09) HERO FULLSCREEN (Animado sin filtro de color)
   =================================================================== */
.hero-fullscreen {
    width: 100%;
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    overflow: hidden;
}

    .hero-fullscreen::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('/recursos/imagenes/fondowebfinal.png') center/cover no-repeat;
        z-index: 0;
        /* La animación de zoom se mantiene intacta */
        animation: zoomSuave 20s infinite alternate ease-in-out;
    }

    /* El filtro oscuro fue eliminado para no manchar los colores originales */
    .hero-fullscreen::after {
        display: none;
    }

@keyframes zoomSuave {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* ... (El resto de tu CSS hero-fullscreen-content queda igual) ... */

.hero-fullscreen-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #FFFFFF;
    padding: 0 20px;
    max-width: 800px;
}

    .hero-fullscreen-content h1 {
        font-size: clamp(38px, 6vw, 72px);
        font-weight: 900;
        line-height: 1.1;
        margin-bottom: 16px;
        color: #FFFFFF;
        text-shadow: 0 4px 16px rgba(0,0,0,0.4);
    }

    .hero-fullscreen-content p {
        font-size: clamp(16px, 2.5vw, 24px);
        margin: 0 auto;
        text-shadow: 0 2px 8px rgba(0,0,0,0.4);
        color: rgba(255, 255, 255, 0.95);
    }

/* Responsive del Fullscreen */
@media (max-width: 768px) {
    .hero-fullscreen {
        height: 45vh;
        min-height: 250px;
    }

        .hero-fullscreen::before {
            background-image: url('/recursos/imagenes/fondomobilefinal.png');
        }

    .hero-fullscreen-content h1 {
        font-size: clamp(28px, 8vw, 36px);
    }

    .hero-fullscreen-content p {
        font-size: 16px;
    }
}

/* ===================================================================
   10) HERO GRID (Tarjetas Bento Premium)
   =================================================================== */
/* ===================================================================
   10) HERO PREMIUM FULL-WIDTH (Abanico 3D Coloreado WOW)
   =================================================================== */
.hero-fw-section {
    position: relative;
    width: 100%;
    padding: 60px 5%;
    background: #ffffff;
    overflow: hidden;
    z-index: 1;
}

/* Orbes 3D flotantes de fondo */
.orb-3d {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    opacity: 0.5;
    animation: floatOrb 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(0, 174, 239, 0.15);
    top: -100px;
    left: -150px;
}

.orb-2 {
    width: 450px;
    height: 450px;
    background: rgba(58, 152, 154, 0.12);
    bottom: -100px;
    right: 10%;
    animation-delay: -5s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(60px, 40px) scale(1.1);
    }
}

/* Grilla Principal */
.hero-fw-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

/* --- COLUMNA IZQUIERDA (Textos Editorial) --- */
.hero-fw-content {
    position: relative;
    z-index: 2;
}

/* Insignia Flotante */
.floating-badge {
    position: absolute;
    top: -50px;
    right: 20%;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: 0 12px 24px rgba(16,24,40,.06);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: var(--brandDark);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: levitate 4s infinite ease-in-out;
    pointer-events: none;
}

.pulse-green {
    width: 8px;
    height: 8px;
    background: #6DBB43;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(109,187,67,0.4);
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    70% {
        box-shadow: 0 0 0 6px rgba(109,187,67,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(109,187,67,0);
    }
}

@keyframes levitate {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Cabecera y Kickers */
.hero-top-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.pill-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(47,93,115,.08);
    color: var(--brandDark);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dot-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E03C31;
    box-shadow: 0 0 0 0 rgba(224,60,49, 0.4);
    animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
    70% {
        box-shadow: 0 0 0 6px rgba(224,60,49, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(224,60,49, 0);
    }
}

.btn-audio-sleek {
    background: #fff;
    color: var(--brandDark);
    border: 1px solid rgba(36,75,92,.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .btn-audio-sleek:hover {
        background: var(--brandDark);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    }

.hero-title-massive {
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 900;
    color: var(--brandDark);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--brandDark), #00AEEF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description-large {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-hero-primary {
    background: var(--brandDark);
    color: #fff;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 12px 28px rgba(47,93,115,.25);
    transition: all 0.3s ease;
}

    .btn-hero-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 32px rgba(47,93,115,.35);
        color: #fff;
    }

.btn-hero-secondary {
    background: transparent;
    color: var(--brandDark);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 16px;
    border: 2px solid rgba(36,75,92,.15);
    transition: all 0.3s ease;
}

    .btn-hero-secondary:hover {
        background: #fff;
        border-color: transparent;
        box-shadow: 0 12px 28px rgba(0,0,0,.08);
    }


/* --- COLUMNA DERECHA (Abanico de Tarjetas 3D WOW) --- */
.hero-fw-fan-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Juntamos flechas */
}

/* Flechas Flotantes minimalistas */
.fan-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(36,75,92,.1);
    color: var(--brandDark);
    box-shadow: 0 6px 16px rgba(16,24,40,.06);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

    .fan-nav:hover {
        background: var(--brandDark);
        color: #fff;
        transform: scale(1.1);
        border-color: var(--brandDark);
    }

    .fan-nav svg {
        width: 22px;
        height: 22px;
    }

/* Contenedor 3D */
.hero-fw-fan {
    position: relative;
    height: 440px;
    width: 100%;
    max-width: 380px;
    perspective: 1500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sombra en el piso coloreada base (Turquesa sutil) */
.fan-floor-shadow {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 25px;
    background: radial-gradient(ellipse at center, rgba(58,152,154,0.25) 0%, transparent 75%);
    filter: blur(12px);
    z-index: 0;
}

/* Tarjetas Base WoW (Glassmorphism + Contorno sólido de color) */
.fan-card {
    position: absolute;
    width: 310px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 24px;
    /* BORDE DE 2PX DE COLOR (Se define en clases abajo) */
    border: 2px solid transparent;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease, box-shadow 0.6s ease, border-color 0.6s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
}

/* --- NUEVO LAYOUT INTERNO UNIFICADO (Fila) --- */
.card-header-horizontal {
    display: flex;
    flex-direction: row; /* Fuerza el flujo horizontal */
    align-items: center; /* Alinea ícono, h3 y span verticalmente */
    gap: 12px;
    margin-bottom: 18px; /* Espacio antes del texto descriptivo */
    position: relative;
    z-index: 2;
}

.fan-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fondo muy suave del color acento (se define abajo) */
}

    .fan-icon svg {
        width: 24px;
        height: 24px;
    }
/* Color lo define el padre (currentColor) */

.fan-card h3 {
    font-size: 18px;
    font-weight: 850;
    color: var(--brandDark);
    margin: 0;
    line-height: 1.2;
}

.fan-subtitle {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--muted2);
    letter-spacing: 0.5px;
    margin: 0;
    display: block;
}

/* Texto descriptivo debajo */
.fan-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}


/* ===================================================================
   DEFINICIÓN DE PALETAS DE COLOR VIBRANTES (Para destacar)
   =================================================================== */

/* 1. Tarjeta Azul Eléctrico (Default Centro) */
/* ===================================================================
   DEFINICIÓN DE PALETAS DE COLOR (Suaves / Premium / Pastel)
   =================================================================== */

/* 1. Tarjeta Centro (Azul Acero Suave) */
.color-blue {
    border-color: rgba(56, 161, 219, 0.4); /* Contorno sutil */
    box-shadow: 0 15px 35px rgba(56, 161, 219, 0.08); /* Sombra muy suave */
}

    .color-blue .fan-icon {
        color: #38A1DB;
        background: rgba(56, 161, 219, 0.08);
    }

    .color-blue .fan-subtitle {
        color: #38A1DB;
    }

/* 2. Tarjeta Derecha (Verde Menta / Turquesa Corporativo) */
.color-turq {
    border-color: rgba(58, 152, 154, 0.4);
    box-shadow: 0 15px 35px rgba(58, 152, 154, 0.08);
}

    .color-turq .fan-icon {
        color: #3A989A;
        background: rgba(58, 152, 154, 0.08);
    }

    .color-turq .fan-subtitle {
        color: #3A989A;
    }

/* 3. Tarjeta Izquierda (Coral Pastel / Salmón) */
.color-red {
    border-color: rgba(235, 104, 100, 0.4);
    box-shadow: 0 15px 35px rgba(235, 104, 100, 0.08);
}

    .color-red .fan-icon {
        color: #EB6864;
        background: rgba(235, 104, 100, 0.08);
    }

    .color-red .fan-subtitle {
        color: #EB6864;
    }

/* POSICIONES DEL ABANICO (Interactivas vía JS) */
.card-center {
    z-index: 3;
    transform: translateZ(60px) scale(1.05);
    background: #fff;
    box-shadow: 0 30px 60px rgba(16,24,40, 0.18); /* Sombra central más fuerte */
    opacity: 1;
    cursor: default;
}

.card-left {
    z-index: 2;
    transform: translateX(-65%) translateZ(-30px) rotateY(15deg);
    opacity: 0.85;
}

.card-right {
    z-index: 2;
    transform: translateX(65%) translateZ(-30px) rotateY(-15deg);
    opacity: 0.85;
}

/* Efecto hover en las tarjetas de atrás para que resalten contorno */
.fan-card:not(.card-center):hover {
    opacity: 1;
    border-color: currentColor; /* Resalta el borde al color full al pasar mouse */
}


/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .hero-fw-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-fw-content {
        align-items: center;
    }

    .hero-top-bar {
        justify-content: center;
    }

    .hero-description-large {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .floating-badge {
        right: auto;
        left: 10%;
        top: -30px;
    }
}

/* --- RESPONSIVE DEL HERO MÓVIL --- */
@media (max-width: 768px) {
    .hero-fw-section {
        padding: 40px 0; /* Manejamos el ancho desde los elementos internos */
    }

    .hero-fw-grid {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .hero-fw-content {
        width: 90%; /* 90% del ancho centrado */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }

    .hero-title-massive {
        font-size: clamp(34px, 9vw, 42px);
    }

    .floating-badge {
        display: none;
    }

    /* Botones centrados y ocupando todo el ancho disponible del 90% */
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
    }

    /* Contenedor de tarjetas */
    .hero-fw-fan-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .fan-nav,
    .fan-floor-shadow {
        display: none;
    }

    /* Anulamos el 3D/Scroll y pasamos a una columna limpia y centrada */
    .hero-fw-fan {
        height: auto;
        perspective: none;
        display: flex;
        flex-direction: column; /* Apiladas hacia abajo */
        align-items: center;
        justify-content: center;
        overflow: visible; /* Quitamos el scroll horizontal roto */
        gap: 20px;
        padding-bottom: 20px;
        width: 100%;
        max-width: 100%;
    }

    /* Tarjetas al 90% del ancho */
    .fan-card {
        position: relative;
        width: 90%; /* Usa el 90% del ancho de la pantalla */
        max-width: 400px; /* Límite de seguridad */
        min-width: 0;
        transform: none !important; /* Resetea el 3D */
        opacity: 1 !important;
        z-index: 1 !important;
        margin: 0 auto;
        border-width: 2px;
        box-shadow: 0 10px 25px rgba(16, 24, 40, 0.08) !important;
    }

        /* En móvil, le forzamos el color del borde para que no dependa del hover */
        .fan-card.color-blue {
            border-color: rgba(56, 161, 219, 0.6) !important;
        }

        .fan-card.color-turq {
            border-color: rgba(58, 152, 154, 0.6) !important;
        }

        .fan-card.color-red {
            border-color: rgba(235, 104, 100, 0.6) !important;
        }
}