/* ==========================================================================
   🔥 SECCIÓN HERO (VISTA PRINCIPAL)
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../img/fondo.png') center/cover no-repeat;
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(28, 28, 30, 0.9) 20%, rgba(28, 28, 30, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: rgba(242, 242, 242, 0.8);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 35px auto;
}

/* Botones específicos del Hero */
.btn-primary-hero {
    background-color: var(--accent);
    color: #111111 !important;
    font-weight: 700;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    border: none;
    box-shadow: 0 8px 20px rgba(245, 180, 0, 0.25);
    transition: all 0.3s ease;
}

.btn-primary-hero:hover {
    background-color: var(--accent-2);
    box-shadow: 0 10px 24px rgba(255, 209, 0, 0.4);
    transform: translateY(-2px);
}

.btn-outline-hero {
    background: transparent;
    color: var(--text) !important;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-outline-hero:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* ==========================================================================
   OTRAS SECCIONES DE LA PÁGINA
   ========================================================================== */

/* ==========================================================================
   🔥 SECCIÓN PROGRAMAS PREMIUM (MÓDULO DE PAGES.CSS)
   ========================================================================== */
.programs-section {
    background: radial-gradient(circle at 50% 0%, rgba(245, 180, 0, 0.05), transparent 60%);
    position: relative;
}

/* Tarjeta Base Estilo Glassmorphism Oscuro */
.program-card {
    background: rgba(35, 35, 38, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

/* Efecto hover interactivo */
.program-card:hover {
    transform: translateY(-10px);
    background: rgba(40, 40, 45, 0.8);
    border-color: rgba(245, 180, 0, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Tarjeta Destacada (La del medio "Alto Rendimiento") */
.program-card.featured {
    border: 1px solid rgba(245, 180, 0, 0.15);
    background: rgba(38, 35, 30, 0.7);
}
.program-card.featured::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Etiqueta flotante para la tarjeta destacada */
.badge-featured {
    position: absolute;
    top: -12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #111111;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(245, 180, 0, 0.3);
}

/* Contenedor del Icono circular */
.program-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}
.program-card:hover .program-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: rgba(245, 180, 0, 0.1);
    border-color: var(--accent);
}
.program-icon {
    font-size: 2rem;
}

/* Textos internos de la Card */
.program-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}
.program-card-text {
    font-size: 0.95rem;
    color: rgba(242, 242, 242, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Enlace/Flecha interactiva inferior */
.btn-program-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none !important;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    margin-top: auto; /* Empuja el enlace siempre al fondo */
}
.btn-program-link:hover {
    color: var(--accent-2);
}

/* ==========================================================================
   🎬 SECCIÓN TESTIMONIOS (MÓDULO DE PAGES.CSS)
   ========================================================================== */
.testimonials-section {
    background: linear-gradient(180deg, var(--bg), rgba(35, 35, 38, 0.4));
}

/* Forzar que Swiper tenga espacio abajo para los puntos de paginación */
.testimonials-swiper {
    padding-bottom: 60px !important;
}

/* Tarjeta de Testimonio Estilo Premium */
.testimonial-card {
    background: rgba(35, 35, 38, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 180, 0, 0.3);
}

/* Contenedor inteligente del Video/Reel */
.video-container-wrapper {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Reset estético para suavizar el bloque iframe nativo de Instagram */
.video-container-wrapper iframe, 
.video-container-wrapper .instagram-media {
    min-width: 100% !important;
    width: 100% !important;
    border-radius: 16px !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Bloque de Textos e Info */
.testimonial-info {
    text-align: left;
    padding: 10px 5px 0 5px;
    margin-top: auto; /* Empuja el texto simétricamente al fondo */
}

.stars-rating {
    color: var(--accent-2);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: rgba(242, 242, 242, 0.8);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 10px;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* ==========================================================================
   🎛️ ESTILOS PERSONALIZADOS PARA CONTROLES DE SWIPER
   ========================================================================== */
.testimonials-section .swiper-button-next,
.testimonials-section .swiper-button-prev {
    color: var(--accent) !important;
    background: rgba(28, 28, 30, 0.8);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.testimonials-section .swiper-button-next::after,
.testimonials-section .swiper-button-prev::after {
    font-size: 1.2rem !important;
    font-weight: bold;
}

.testimonials-section .swiper-button-next:hover,
.testimonials-section .swiper-button-prev:hover {
    background: var(--accent);
    color: #111111 !important;
    transform: scale(1.1);
}

/* Ocultar flechas en pantallas móviles pequeñas para no tapar contenido */
@media (max-width: 767.98px) {
    .testimonials-section .swiper-button-next,
    .testimonials-section .swiper-button-prev {
        display: none;
    }
}

/* Puntos de paginación activos */
.testimonials-section .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3) !important;
    opacity: 1;
}

.testimonials-section .swiper-pagination-bullet-active {
    background: var(--accent) !important;
    width: 24px !important; /* Efecto píldora estirada para el punto activo */
    border-radius: 4px;
    transition: width 0.3s ease;
}
/* ==========================================================================
   📊 SECCIÓN ESTADÍSTICAS (MÓDULO DE PAGES.CSS)
   ========================================================================== */
.stats-section {
    position: relative;
    padding: 120px 0;
    /* Usamos el background que ya tenías configurado, pero añadimos el Fixed */
    background: url('../img/bg.jpg') center/cover no-repeat fixed; 
    overflow: hidden;
}

/* Overlay degradado ultra-premium para fundir la imagen con el modo oscuro */
.stats-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        var(--bg) 0%, 
        rgba(28, 28, 30, 0.85) 50%, 
        var(--bg) 100%
    );
    z-index: 1;
}

/* Tarjeta contenedora de cada número */
.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 35px 20px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.stat-card:hover {
    transform: scale(1.03);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(245, 180, 0, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* Contenedor del número animado */
.stat-number-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

/* Números Gigantes e Imponentes */
.counter {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem); /* Fluido y gigante */
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -1px;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 0 30px rgba(255, 209, 0, 0.15); /* Sutil brillo de fondo */
}

/* El símbolo + inyectado elegantemente a la izquierda */
.counter::before {
    content: "+";
    color: var(--accent-2); /* Tu amarillo brillante del :root */
    font-weight: 800;
    margin-right: 2px;
}

/* Textos descriptivos inferiores */
.stat-label {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: rgba(242, 242, 242, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Ajustes finos para celulares */
@media (max-width: 575.98px) {
    .stats-section {
        padding: 80px 0;
    }
    .stat-card {
        padding: 25px 10px;
    }
}/* ==========================================================================
   🙋‍♂️ SECCIÓN PREGUNTAS FRECUENTES (MÓDULO DE PAGES.CSS)
   ========================================================================== */
.faq-section {
    position: relative;
    background: radial-gradient(circle at 50% 100%, rgba(245, 180, 0, 0.03), transparent 70%);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px; /* Separación moderna entre bloques */
}

/* Bloque individual de la pregunta */
.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(245, 180, 0, 0.15);
}

/* Estado activo cuando la pregunta está abierta */
.faq-item.active {
    background: rgba(35, 35, 38, 0.7);
    border-color: rgba(245, 180, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Botón de la Pregunta */
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    outline: none !important;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
}

.faq-question span {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 600;
    color: #ffffff;
    padding-right: 15px;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question span {
    color: var(--accent-2); /* Se ilumina la pregunta abierta */
}

/* Contenedor del ícono interactivo (+ / -) con CSS puro */
.faq-icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-item:hover .faq-icon-wrapper {
    background: rgba(245, 180, 0, 0.1);
}

/* Líneas que forman el símbolo de más (+) */
.faq-icon-line {
    width: 12px;
    height: 2px;
    background-color: #ffffff;
    display: inline-block;
    position: relative;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-icon-line::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 12px;
    background-color: #ffffff;
    left: 5px;
    top: -5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Transformación animada a símbolo de menos (-) cuando se abre */
.faq-item.active .faq-icon-wrapper {
    background: var(--accent);
}

.faq-item.active .faq-icon-line {
    background-color: #111111;
    transform: rotate(180deg);
}

.faq-item.active .faq-icon-line::before {
    background-color: transparent; /* Hace desaparecer la línea vertical */
    transform: rotate(90deg);
}

/* Contenedor de la Respuesta con animación fluida */
.faq-answer {
    max-height: 0; /* Cerrado por defecto */
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    padding: 0 28px 24px 28px; /* Espaciado interno ordenado */
}

.faq-answer p {
    font-size: 0.98rem;
    color: rgba(242, 242, 242, 0.75);
    line-height: 1.6;
    margin: 0;
}

/* Sección Equipo */
.team-card {
    text-align: center;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
}
/* ==========================================================================
   🌑 SECCIÓN FOOTER & COMPONENTES FLOTANTES (MODULO PAGES.CSS)
   ========================================================================== */
.footer-pro {
    background-color: #111111; /* Negro profundo e institucional */
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-top-bar {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--accent, #F5B400), transparent);
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
}
.footer-brand span, .brand-yellow {
    color: var(--accent, #F5B400);
}

.footer-desc {
    color: rgba(242, 242, 242, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
}

/* Enlaces de Contacto */
.footer-contact-list li {
    margin-bottom: 12px;
}
.footer-contact-list a {
    color: rgba(242, 242, 242, 0.7);
    text-decoration: none !important;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
}
.footer-contact-list a:hover {
    color: var(--accent, #F5B400);
}
.footer-contact-list i {
    color: var(--accent, #F5B400);
}

/* Redes Sociales en Bloques Circulares */
.social-pro {
    display: flex;
    gap: 12px;
}
.social-pro a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.social-pro a:hover {
    background: var(--accent, #F5B400);
    color: #111111;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(245, 180, 0, 0.3);
}

.footer-line {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   🎯 INTERFACES INTERACTIVAS FLOTANTES (BOTONES ASINCRONOS)
   ========================================================================== */
.floating-btn {
    position: fixed;
    right: 25px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    cursor: pointer;
}

/* Botón de WhatsApp (Fijo abajo) */
.whatsapp-btn {
    bottom: 25px;
    background-color: #25D366;
}
.whatsapp-btn:hover {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
}

/* Botón Volver Arriba (Posicionado de forma inteligente arriba de WhatsApp) */
.scroll-top-btn {
    bottom: 92px;
    background-color: rgba(28, 28, 30, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    background-color: var(--accent, #F5B400);
    color: #111111 !important;
    transform: translateY(-3px);
}

/* Responsive para pantallas pequeñas */
@media (max-width: 767.98px) {
    .floating-btn {
        right: 15px;
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
    .whatsapp-btn { bottom: 15px; }
    .scroll-top-btn { bottom: 75px; }
}

