
/* ======================================= */
/* 1. RESET Y VARIABLES GLOBALES */
/* ======================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;900&family=Montserrat:wght@700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #fefeff; /* Blanco (Texto claro) */
    --secondary-color: #00d4ff; /* Azul cian (Marca principal) */
    --primary-color-light: #00d4ff; /* Azul cian para efectos */
    --dark-bg: #0a0a0a; /* Negro vinilo */
    --text-light: #fefeff; /* Texto claro */
    --card-bg: #0f0f0f; /* Fondo de tarjetas (negro vinilo m�s oscuro) */
    --accent-dark: #0033cc; /* Azul el�ctrico oscuro */
    --accent-pink: #00d4ff; /* Azul cian secundario */
    --vinyl-black: #050505;
    --studio-blue: #00121a;
    --neon-cyan: #00e5ff;
    --glass-white: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif; 
    line-height: 1.6;
    color: #fefeff;
    background-color: #0a0a0a;
    overflow-x: hidden;
    border-top: none;
    .chatbot-window.open { display: block; }
    margin: 0;
    padding: 0;
}

/* ======================================= */
/* Helper rules moved to appropriate sections further below */

.cta-button {
    background: radial-gradient(circle at 30% 30%, #0f0f0f, #0a0a0a);
    color: #00d4ff;
    border: 2px solid #00d4ff;
    box-shadow: inset 0 2px 6px rgba(0,212,255,0.06), 0 8px 20px rgba(0,0,0,0.6), 0 0 10px rgba(0,212,255,0.12);
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 2px 6px rgba(0,212,255,0.08), 0 12px 30px rgba(0,0,0,0.7), 0 0 18px rgba(0,212,255,0.22);
}

.cta-primary {
    background: radial-gradient(circle at 30% 30%, #0f0f0f, #0a0a0a);
    color: #00d4ff;
    border: 2px solid #00d4ff;
    font-size: 1.1em;
    box-shadow: inset 0 2px 6px rgba(0,212,255,0.06), 0 8px 20px rgba(0,0,0,0.6);
}
.cta-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: inset 0 2px 6px rgba(0,212,255,0.1), 0 12px 35px rgba(0,0,0,0.75), 0 0 20px rgba(0,212,255,0.25);
}

/* Chatbot message bubble styles (top-level) */
.message.bot .message-text { background: linear-gradient(180deg,#092b24,#073f36); border-radius: 10px 10px 10px 2px; color: #dffaf6; }
.message.user .message-text { background: linear-gradient(180deg,#04d4ff,#00a3c6); color: #001417; border-radius: 10px 10px 2px 10px; }

.typing-indicator { display: inline-block; padding: 6px 10px; background: rgba(255,255,255,0.04); border-radius: 12px; }

.cta-secondary {
    background: transparent;
    border: 2px solid #00d4ff;
    color: #00d4ff;
    padding: 12px 32px;
    border-radius: 25px;
    width: fit-content;
    margin: 0 auto;
}
.cta-secondary:hover {
    background: radial-gradient(circle at 30% 30%, rgba(0,212,255,0.06), rgba(0,130,180,0.02));
    color: #00d4ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0,212,255,0.12);
}

.teacher-bio-cta {
    margin-top: 25px;
    align-self: flex-start;
    font-size: 1.1em;
    padding: 12px 28px;
    background: radial-gradient(circle at 30% 30%, #0f0f0f, #0a0a0a);
    color: var(--primary-color) !important;
    border: 2px solid rgba(0, 130, 180, 0.5);
    box-shadow: inset 0 2px 5px rgba(0, 130, 180, 0.12), 0 8px 20px rgba(0,0,0,0.7), 0 0 12px rgba(0,130,180,0.18);
    border-radius: 50px;
}

.teacher-bio-cta:hover {
    background: radial-gradient(circle at 30% 30%, #252525, #0f0f0f);
    border-color: #0033cc;
    box-shadow: inset 0 2px 5px rgba(0,130,180,0.18), 0 10px 25px rgba(0,0,0,0.8), 0 0 20px rgba(0,130,180,0.28);
    transform: translateY(-3px) scale(1.03);
}

/* BOT�N VINILO NEGRO CON DETALLES AZUL CIAN */
.vinyl-btn {
    background: radial-gradient(circle at 30% 30%, #0f0f0f, #0a0a0a);
    color: #00d4ff !important;
    border: 3px solid #00d4ff;
    box-shadow: 
        inset 0 2px 5px rgba(0, 212, 255, 0.12),
        0 8px 20px rgba(0, 0, 0, 0.7),
        0 0 14px rgba(0, 212, 255, 0.22);
}

.vinyl-btn:hover {
    background: radial-gradient(circle at 30% 30%, #252525, #0f0f0f);
    color: #00d4ff !important;
    border-color: #0033cc;
    box-shadow: 
        inset 0 2px 5px rgba(0, 212, 255, 0.18),
        0 10px 25px rgba(0, 0, 0, 0.8),
        0 0 22px rgba(0, 212, 255, 0.32);
    transform: translateY(-3px) scale(1.05);
}

/* BOT�N PASTILLA */
.vinyl-btn.pill {
    border-radius: 50px;
    padding: 14px 40px;
    font-weight: 600;
    font-size: 1.05em;
}

/* BOT�N HERO: Pastilla ne�n con borde cian y resplandor */
.hero-cta {
    display: inline-block;
    padding: 16px 45px;
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.3); /* Fondo oscuro translúcido para el video */
    backdrop-filter: blur(8px);    /* Efecto cristal sobre el video */
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;           /* Forma de pastilla perfecta */
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Resplandor sutil en blanco */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%; /* El 30% inferior del video se desvanece a negro */
    background: linear-gradient(to top, #050505, transparent);
    z-index: 1;
}
.hero-cta::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 60px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04), transparent 45%);
    filter: blur(12px);
    z-index: -1;
    pointer-events: none;
    transition: all 0.4s ease;
}
.hero-cta:hover::before {
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.12), transparent 45%);
}
.hero-cta:hover {
    background: radial-gradient(circle at 30% 30%, #1a1a1a, #050505);
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: 
        inset 0 0 10px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 255, 255, 0.25),
        0 15px 35px rgba(0, 0, 0, 0.8);
    transform: translateY(-4px) scale(1.08);
    filter: drop-shadow(0 8px 20px rgba(255, 255, 255, 0.15));
}
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8); /* Sombra para despegar del video */
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.hero-cta:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 
        inset 0 8px 20px rgba(0, 0, 0, 0.4),
        0 3px 8px rgba(255, 255, 255, 0.2);
}

.hero-cta:focus {
    outline: 3px solid rgba(255, 255, 255, 0.3);
    outline-offset: 3px;
}

/* HERO MOBILE RESPONSIVE IMPROVEMENTS */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
        line-height: 1.15;
        margin-bottom: 16px;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .hero-cta {
        padding: 14px 38px;
        font-size: 0.98em;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 14px;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .hero-cta {
        padding: 12px 32px;
        font-size: 0.95em;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.25;
        margin-bottom: 12px;
        font-weight: 800;
    }
    .hero-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    .hero-cta {
        padding: 11px 28px;
        font-size: 0.9em;
        letter-spacing: 1px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    .hero-content p {
        font-size: 0.85rem;
    }
    .hero-cta {
        padding: 10px 24px;
        font-size: 0.85em;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 420px) {
    .hero-content h1 {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    .hero-content p {
        font-size: 0.8rem;
        line-height: 1.35;
    }
    .hero-cta {
        padding: 9px 20px;
        font-size: 0.8em;
        letter-spacing: 0.5px;
    }
}

/* ======================================= */
/* 2.1 TIPOGRAF�A Y ESTILOS GENERALES */
/* ======================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-weight: 700;
}

h1 {
    font-size: 2.8em;
}

h2 {
    font-size: 2.3em;
}

h3 {
    font-size: 1.5em;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* ======================================= */
/* 3. LAYOUT GENERAL */
/* ======================================= */
section {
    padding: 30px 5%;
    max-width: none;
    margin: 0 auto;
}
/* ?? A�ADE ESTO: Aplicamos el ancho m�ximo S�LO a las secciones que deben tenerlo */
.mission-statement, .courses, .testimonials-section, .final-cta {
    max-width: 1200px;
}

/* ?? AJUSTE EN SECCI�N DE DOCENTE: Aseguramos que no tenga padding lateral y que no use el max-width de 1200px. */
.team-section {
    text-align: center;
    background: #050505; 
    color: #fefeff; 
    /* ?? CLAVE: Quitamos el padding lateral forzando padding-left/right a 0 */
    padding: 50px 0; /* Antes 80px 0 */ 
    position: relative; 
    overflow: hidden; 
    /* Mantenemos max-width: none por si acaso, pero con el cambio global no deber�a ser necesario */
    max-width: none; 
}
.team-section {
    max-width: none; /* Aseguramos que la secci�n de equipo ocupe todo el ancho */
}
/* HEADER Y NAVEGACI�N */
.main-header {
    background: radial-gradient(circle at 30% 30%, #1a1a1a, #0a0a0a);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #00d4ff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
}

.main-header .logo {
    font-size: 1.4em;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    color: #ffffff;
    display: flex;
    align-items: center;
    height: 60px;
}

.main-header .logo a {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.main-header .logo a:hover {
    transform: scale(1.05);
}

.main-header .logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    max-width: 200px;
}

.main-header nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.main-header nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
}

.main-header nav ul li a {
    color: #bbb;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.main-header nav ul li a:hover,
.main-header nav ul li a.active {
    color: white;
    background-color: rgba(0, 212, 255, 0.1);
    border-bottom: 2px solid #00d4ff;
}

/* ======================================= */
/* 4. HERO SECTION */
/* ======================================= */
.hero {
    height: 45vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    padding: 0 5%;
    position: relative; 
    overflow: hidden;
    z-index: 1; 
}

.hero h1 {
    font-size: 4em;
    margin-bottom: 25px; 
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 1);
}

.hero p {
    font-size: 1.4em;
    margin: 25px auto 60px auto; 
    max-width: 650px; 
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); 
}

/* Estilo para el contenedor del texto */
.hero-content {
    position: relative;
    z-index: 10; 
    text-align: center;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.hero-content h1, .hero-content p {
    color: white !important; 
}

/* Capa de Oscurecimiento (Overlay) */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 26, 26, 0.8), rgba(0, 0, 0, 0.6));
    z-index: 0; 
}

/* Estilo del elemento VIDEO para que act�e como fondo */
#video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1; 
    transform: translate(-50%, -50%);
    object-fit: cover; 
}

#video-bg-contacto {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1; 
    transform: translate(-50%, -50%);
    object-fit: cover; 
}


/* ======================================= */
/* 5. SECCI�N DE DIFERENCIACI�N (MISSION STATEMENT) */
/* ======================================= */
.mission-statement {
    position: relative;
    background-color: #050505; 
    /* Fondo con luces ambientales */
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(0, 229, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(0, 229, 255, 0.05) 0%, transparent 40%);
    padding: 100px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: visible; /* ?? CAMBIADO de hidden a visible para que el brillo de la l�nea no se corte */
    z-index: 10;
}

.mission-statement::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: url('images/composicion-de-disco-de-vinilo-de-vista-superior.png') no-repeat center center;
    background-size: contain;
    opacity: 0.13;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}
.mission-statement .methodology-glass-card {
    position: relative;
    z-index: 1;
}
.mission-statement h2 {
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #fff;
    margin-bottom: 10px;
}
/* ?? L�NEA INFERIOR (Haz de luz entre FILOSOF�A y EQUIPO) */
/* Usamos el div externo que tienes en el HTML */
.divider-fade-bottom {
    position: absolute;
    bottom: 0;        /* ?? Posici�n exacta al final de la secci�n padre */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    filter: blur(1.5px);
    box-shadow: 0 0 15px #00d4ff;
    z-index: 100;
}
/* --- RAYA DIFUMINADA NE�N (METODOLOG�A) --- */
.mission-statement .header-line {
    width: 65px;
    height: 3px;
    background-color: #00d4ff;
    margin: 15px auto 40px;
    border-radius: 10px;
    filter: blur(1px); /* Suavizado ligero */
    box-shadow: 0 0 15px #00d4ff;
}
/* ?? L�NEA SUPERIOR (Haz de luz entre HERO y FILOSOF�A) */
.mission-statement::after {
    content: "";
    position: absolute;
    top: 0;           /* ?? Posici�n exacta al inicio */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;      
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    filter: blur(1.5px);
    box-shadow: 0 0 15px #00d4ff;
    z-index: 100;     
}
/* ?? CUADR�CULA T�CNICA (Puntos de fondo) */
.mission-statement::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

/* El subt�tulo rotatorio en Cyan brillante */
.philosophy-subtitle {
    font-size: 4rem; /* ?? GIGANTE */
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
}
.philosophy-content-wrapper {
    position: relative;
    z-index: 5;
    max-width: 1000px;
    padding: 40px;
    /* Creamos una "nebulosa" de luz detr�s del texto para que se lea perfecto */
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
}
.philosophy-description {
    font-size: 1.2rem;
    color: #888;
    max-width: 600px;
    margin-left: 0;
    text-align: left;
    font-style: normal; /* Menos cursiva, m�s seriedad */
}
.philosophy-layout {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    max-width: 1000px;
    text-align: left; /* ?? Cambio clave: alineaci�n a la izquierda para look t�cnico */
}
/* Indicador de pasos estilo secuenciador */
.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    padding-top: 10px;
}

.current-step {
    font-size: 1.5rem;
    color: #00d4ff;
    font-weight: 900;
}

.step-line {
    width: 2px;
    height: 150px;
    background: linear-gradient(to bottom, #00d4ff, transparent);
    margin: 15px 0;
}

.total-steps {
    color: #444;
    font-weight: 700;
}

/* Zona de texto principal */
.section-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #666;
    margin-bottom: 20px;
    text-align: left;
}

/* El divisor de puntos cian */
.cyan-dots-divider {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}
/* Los puntos divisores tambi�n con brillo */
.cyan-dots-divider span {
    display: inline-block;
    width: 7px;
    height: 7px;
    background-color: #00d4ff;
    border-radius: 50%;
    margin: 0 8px;
    /* Efecto de luz LED encendida */
    box-shadow: 0 0 12px #00d4ff; 
}

/* La descripci�n en cursiva para elegancia */
.philosophy-description {
    font-size: 1.1rem;
    color: #ccc;
    font-style: italic;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* La raya ahora debe ser m�s et�rea */
.header-line-glow {
    width: 120px;
    height: 2px;
    background: #00d4ff;
    margin: 20px auto 50px;
    filter: blur(1.5px);
    box-shadow: 0 0 15px #00d4ff;
}
/* ======================================= */
/* DETALLES DE METODOLOG�A */
/* ======================================= */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 50px auto 0;
    padding: 0 20px;
}
.methodology-grid-new {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Fuerza las 2 columnas a la derecha */
    gap: 20px;
    max-width: 800px; /* Evita que las tarjetas se estiren demasiado hacia la derecha */
}
.methodology-header {
    flex: 0 0 300px;
    text-align: left;
    margin-bottom: 16px;
}

@media (max-width: 1024px) {
    .methodology-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .methodology-header {
        flex: 1 1 auto;
        text-align: center;
        width: 100%;
        margin-bottom: 12px;
    }

    .methodology-header h2 {
        text-align: center;
        font-size: 2.2rem;
        margin: 8px 0;
    }
    
    .section-description {
        font-size: 0.95em;
        padding: 0 12px;
    }
}

@media (max-width: 768px) {
    .practicas-hombrebala-galeria {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin: 20px auto;
        padding: 0 8px;
    }
    
    .practica-img {
        width: 100%;
        height: 200px;
    }
    
    .overlay-play {
        font-size: 0.95em;
    }
    
    .methodology-header {
        flex: 1 1 auto;
        text-align: center;
        margin-bottom: 14px;
        padding: 0 8px;
    }
    
    .methodology-header h2 {
        font-size: 1.65rem;
        line-height: 1.15;
        margin: 4px 0 6px 0;
    }
    
    .tech-id {
        font-size: 0.62rem;
        letter-spacing: 1.5px;
        margin-bottom: 5px;
    }
    
    .section-description {
        font-size: 0.90em;
        padding: 0 8px;
        line-height: 1.45;
        color: #999;
    }
}

@media (max-width: 600px) {
    .practicas-hombrebala-galeria {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 16px auto;
        padding: 0 12px;
    }
    
    .practica-img {
        width: 100%;
        height: 200px;
    }
    
    .overlay-play {
        font-size: 0.88em;
        padding: 16px 0 8px 0;
    }
    
    .methodology-header {
        margin-bottom: 12px;
        padding: 0 8px;
    }
    
    .methodology-header h2 {
        font-size: 1.4rem;
        margin: 2px 0 6px 0;
        line-height: 1.1;
    }
    
    .tech-id {
        font-size: 0.58rem;
        letter-spacing: 1px;
        margin-bottom: 3px;
    }
    
    .section-description {
        font-size: 0.85em;
        padding: 0 4px;
        line-height: 1.4;
        margin-bottom: 10px;
    }
}

@media (max-width: 420px) {
    .practicas-hombrebala-galeria {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 12px auto;
        padding: 0 8px;
    }
    
    .practica-img {
        width: 100%;
        height: 160px;
    }
    
    .overlay-play {
        font-size: 0.75em;
        padding: 12px 0 6px 0;
    }
    
    .methodology-header {
        margin-bottom: 10px;
        padding: 0 6px;
    }
    
    .methodology-header h2 {
        font-size: 1.15rem;
        margin: 0 0 4px 0;
        line-height: 1.05;
    }
    
    .tech-id {
        font-size: 0.52rem;
        letter-spacing: 0.5px;
        margin-bottom: 2px;
    }
    
    .section-description {
        font-size: 0.78em;
        padding: 0 2px;
        line-height: 1.35;
        margin-bottom: 8px;
    }
}

.methodology-header h2 {
    font-size: 2.2rem; /* ?? Reducido de 3.5rem a 2.2rem para que encaje mejor */
    line-height: 1.2;  /* Un poco m�s de espacio entre l�neas para legibilidad */
    text-align: left;
    margin: 0;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px; /* A�adimos un poco de aire entre letras */
    color: #ffffff;
}
/* Reducimos tambi�n el texto secundario superior si lo tienes */
.tech-id {
    font-size: 0.7rem; 
    letter-spacing: 3px;
    margin-bottom: 8px;
    opacity: 0.6;
}
/* Estilo para las tarjetas sin bordes y sin fondo */
.meth-pad {
    background: transparent !important; /* ?? Quitamos el fondo gris oscuro */
    border: none !important;           /* ?? Quitamos todas las l�neas de borde */
    border-radius: 0;                /* Opcional: quitamos las esquinas redondeadas si quieres */
    padding: 30px;
    min-height: 180px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Ajuste para m�viles: Aqu� s� las ponemos una debajo de otra */
.success-path-section {
    padding: 100px 5%;
    background-color: #050505;
    text-align: center;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.path-step {
    padding: 40px 20px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.4s ease;
    position: relative;
}

.step-icon {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(0, 212, 255, 0.2);
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.path-step h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.path-step p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* El �ltimo paso resaltado como 'Meta' */
.path-step.active {
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.path-step.active .step-icon {
    color: #00d4ff;
    text-shadow: 0 0 10px #00d4ff;
}

.path-step:hover {
    transform: translateY(-10px);
    background: rgba(0, 212, 255, 0.05);
}
.pad-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #00d4ff;
    margin-bottom: 20px;
    opacity: 0.6;
}

.meth-pad h3 {
    text-align: left;
    font-size: 1.1rem; /* ?? Reducido de 1.2rem a 1.1rem */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: #fff;
}
.meth-pad p {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.4;
    text-align: left;
    margin: 0;
}

/* MISSION STATEMENT MOBILE RESPONSIVE */
@media (max-width: 992px) {
    .methodology-grid-new {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .meth-pad {
        padding: 25px;
        min-height: 150px;
    }
}

@media (max-width: 768px) {
    .mission-statement {
        padding: 50px 5%;
    }
    .methodology-header h2 {
        font-size: 1.8rem;
    }
    .methodology-grid-new {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .meth-pad {
        padding: 22px;
        min-height: 140px;
    }
    .meth-pad h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    .meth-pad p {
        font-size: 0.85rem;
        line-height: 1.35;
    }
}

@media (max-width: 600px) {
    .mission-statement {
        padding: 35px 5%;
    }
    .methodology-header h2 {
        font-size: 1.5rem;
        margin: 0 0 6px 0;
    }
    .methodology-grid-new {
        gap: 10px;
    }
    .meth-pad {
        padding: 18px 15px;
        min-height: 130px;
    }
    .pad-number {
        font-size: 0.75rem;
        margin-bottom: 15px;
    }
    .meth-pad h3 {
        font-size: 0.95rem;
        margin-bottom: 8px;
        letter-spacing: 0.5px;
    }
    .meth-pad p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .mission-statement {
        padding: 30px 5%;
    }
    .methodology-header h2 {
        font-size: 1.35rem;
    }
    .meth-pad {
        padding: 16px 12px;
        min-height: 120px;
    }
    .meth-pad h3 {
        font-size: 0.9rem;
    }
    .meth-pad p {
        font-size: 0.75rem;
    }
}

@media (max-width: 420px) {
    .methodology-header h2 {
        font-size: 1.2rem;
    }
    .meth-pad {
        padding: 14px 10px;
        min-height: 110px;
    }
    .meth-pad h3 {
        font-size: 0.85rem;
    }
    .meth-pad p {
        font-size: 0.72rem;
    }
}
.achievements-section {
    padding: 100px 0;
    background: #000;
    text-align: center;
}

@media (max-width: 1024px) {
    .achievements-section {
        padding: 70px 5%;
    }
}

@media (max-width: 768px) {
    .achievements-section {
        padding: 50px 5%;
    }
}

@media (max-width: 600px) {
    .achievements-section {
        padding: 40px 5%;
    }
}

.achievement-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
}

.achievement-block.reverse {
    flex-direction: row-reverse; /* Alterna texto a la derecha/izquierda */
}

.achievement-info {
    flex: 1;
}

.achievement-info h2 {
    font-size: 2.2rem;
    margin: 10px 0 20px;
    color: #fff;
    letter-spacing: -1px;
}

.achievement-info p {
    color: #888;
    line-height: 1.6;
    font-size: 1rem;
}

/* Galer�a de fotos din�mica */
.achievement-gallery {
    flex: 1.2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.photo-slot {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #111; /* Color de carga */
}

.photo-slot.large {
    grid-column: span 2; /* Una foto ocupa todo el ancho */
    height: 350px;
}

.photo-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la foto sin deformarla */
    filter: grayscale(30%); /* Efecto visual pro */
    transition: 0.5s ease;
}

.photo-slot img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Responsive para m�vil */
@media (max-width: 900px) {
    .achievement-block, .achievement-block.reverse {
        flex-direction: column;
        gap: 30px;
    }
    .achievement-gallery {
        grid-template-columns: 1fr;
    }
    .photo-slot.large {
        grid-column: span 1;
    }
}
/* Opcional: Un peque�o efecto al pasar el mouse */
.meth-pad:hover {
    transform: translateY(-3px);
}

/* El "LED" del bot�n */
.pad-light {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 6px;
    height: 6px;
    background: #333;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Estado activo/hover: El pad se "enciende" */
.meth-pad:hover, .meth-pad.active {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.03);
    transform: translateY(-5px);
}

.meth-pad:hover .pad-light, .meth-pad.active .pad-light {
    background: #00d4ff;
    box-shadow: 0 0 10px #00d4ff;
}
/* ======= Estilos para carrusel de instalaciones ======= */
.instalaciones-section {
    padding: 50px 5%;
    background: linear-gradient(180deg, rgba(5,5,5,0.6), rgba(10,10,10,0.9));
    color: var(--primary-color);
    text-align: center;
}
.instalaciones-section h2 {
    margin-bottom: 20px;
    font-size: 2em;
}
.carousel {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: block;
}
.carousel-viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
}
.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
    width: 100%;
}
.carousel-slide {
    min-width: 100%;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.7), 0 0 18px rgba(0,212,255,0.06);
}
.carousel-btn {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.06);
    color: #00d4ff;
    padding: 12px 14px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.carousel-btn:hover { transform: translateY(-50%) scale(1.06); }
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }
.carousel-indicators { margin-top: 14px; display:flex; justify-content:center; gap:8px; }
.carousel-indicators .dot { width:12px; height:12px; border-radius:50%; background: rgba(255,255,255,0.12); border: 2px solid rgba(255,255,255,0.04); cursor:pointer; }
.carousel-indicators .dot.active { background: #00d4ff; box-shadow: 0 0 18px rgba(0,212,255,0.28); }

@media (max-width: 820px) {
    .carousel-slide img { max-height: 360px; }
    .carousel-btn { padding: 10px 11px; }
}


.methodology-card {
    padding: 30px 25px;
    border-bottom: 2px solid #00d4ff;
    text-align: center;
    transition: transform 0.3s ease;
}

.methodology-card:hover {
    transform: translateY(-5px);
}

.methodology-card h3 {
    font-size: 1.15em;
    color: #ffffff;
    margin: 0 0 12px 0;
    font-weight: 700;
}

.methodology-card p {
    font-size: 0.9em;
    color: #aaa;
    line-height: 1.6;
    margin: 0;
}
.methodology-container {
    display: flex;
    flex-direction: row;
    align-items: center; 
    justify-content: flex-start;
    gap: 60px; /* ?? Espacio constante de separaci�n */
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}
/* Paneles laterales t�cnicos */
.tech-tag {
    font-family: 'Courier New', monospace;
    color: #00d4ff;
    font-size: 0.7rem;
    letter-spacing: 2px;
    opacity: 0.6;
}
/* Mejoramos el bloque central */
.methodology-main-content {
    flex: 2;
    background: rgba(255, 255, 255, 0.02);
    padding: 60px 40px;
    border-radius: 40px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
}
.disc-icon {
    font-size: 2.5rem;
    color: #00d4ff;
    margin-bottom: 20px;
    animation: rotateDisc 5s linear infinite;
    opacity: 0.8;
}

@keyframes rotateDisc {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* Contenedor de las Caracter�sticas */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

/* Tarjetas de Caracter�sticas */
.feature-item {
    background-color: rgba(24, 20, 20, 0.973);
    padding: 35px 25px; 
    border-radius: 10px;
    position: relative; 
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid transparent;
}

/* Efecto de Hover (NE�N) */
.feature-item:hover {
    transform: translateY(-10px); 
    background-color: #1a1a1a; 
    box-shadow: 
        0 0 10px #00d4ff,
        0 0 20px #00d4ff,
        0 15px 30px rgba(0, 0, 0, 0.4); 
}

/* Encabezado del �tem */
.feature-item h3 {
    color: #00d4ff;
    margin-bottom: 15px;
    font-size: 1.5em;
    position: relative; 
    padding-top: 60px; 
}

/* Definici�n general del �cono */
.feature-item h3::before {
    position: absolute; 
    top: 5px; 
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.2em;
    line-height: 1;
    color: #00d4ff;
}

.feature-item p {
    font-size: 1em;
    color: var(--primary-color); 
}
/* ======================================= */
/* 6. SECCI�N EQUIPO DOCENTE - DISE�O TARJETA ANCHA Y OSCURA (40%/60%) */
/* ======================================= */
/* --- SECCI�N DOCENTE PREMIUM --- */
.team-section {
    padding: 100px 5%;
    /* ?? NUEVO FONDO: Degradado Radial */
    /* Crea un foco azul oscuro (#001a33) en el centro que se funde con el negro vinilo (#050505) */
    background: radial-gradient(circle at center, #001a33 0%, #050505 100%);
    
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: none; /* Asegura que ocupe todo el ancho de la pantalla */
}
/* --- RAYA DIFUMINADA NE�N SOBRE SECCI�N EQUIPO --- */
.team-section .header-line-centered {
    width: 80px;            /* Ancho controlado */
    height: 3px;            /* Grosor fino para el efecto luz */
    background-color: #00d4ff;
    margin: 15px auto 50px; /* Centrada y con espacio para que respire el dise�o */
    border-radius: 10px;
    
    /* ?? EL EFECTO DIFUMINADO ?? */
    filter: blur(2px);      /* Crea el efecto de filamento de luz */
    box-shadow: 
        0 0 10px #00d4ff, 
        0 0 20px rgba(0, 212, 255, 0.5); 
    
    position: relative;
    z-index: 5;
}
.team-section h2 {
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
    /* Un ligero resplandor que acompa�a a la l�nea */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    margin-bottom: 5px;
}
/* Ajuste del wrapper para que no se vea apelotonado */
.team-design-wrapper {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    background: #0a0a0a;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

/* Imagen con Filtro Dram�tico B/N */
.intro-image-block {
    flex: 1.2;
    position: relative;
    overflow: hidden;
}

.featured-dj-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Filtro dram�tico + sutil borrosidad inicial */
    filter: grayscale(100%) contrast(1.3) brightness(0.8) blur(1px);
    transition: all 0.6s ease;
}

/* Al pasar el mouse, la imagen cobra nitidez */
.team-design-wrapper:hover .featured-dj-image {
    filter: grayscale(0%) contrast(1.1) brightness(1) blur(0px);
    transform: scale(1.05);
}

/* Efecto de luz cian sobre la imagen */
.image-overlay-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(0, 212, 255, 0.05));
    z-index: 1;
}

/* Bloque de Contenido */
.director-pillars-container {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    background: linear-gradient(145deg, #0a0a0a, #050505);
}

/* TEAM SECTION MOBILE RESPONSIVE */
@media (max-width: 992px) {
    .team-design-wrapper {
        flex-direction: column-reverse;
    }
    .intro-image-block {
        height: 350px;
    }
    .director-pillars-container {
        padding: 45px 35px;
        text-align: center;
    }
    .director-profile-block {
        align-items: center;
    }
    .text-divider-cyan {
        margin: 20px auto;
    }
    .director-profile-block h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 40px 5%;
    }
    .team-section h2 {
        font-size: 2rem;
        margin-bottom: 4px;
    }
    .team-design-wrapper {
        border-radius: 15px;
    }
    .intro-image-block {
        height: 300px;
    }
    .director-pillars-container {
        padding: 35px 25px;
    }
    .director-profile-block h3 {
        font-size: 1.7rem;
    }
    .main-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 600px) {
    .team-section {
        padding: 30px 5%;
    }
    .team-section h2 {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }
    .header-line-centered {
        width: 50px;
        height: 3px;
        margin: 12px auto 30px;
    }
    .team-design-wrapper {
        flex-direction: column;
        border-radius: 12px;
    }
    .intro-image-block {
        height: 250px;
    }
    .director-pillars-container {
        padding: 25px 18px;
        text-align: left;
    }
    .director-profile-block {
        align-items: flex-start;
    }
    .director-profile-block h3 {
        font-size: 1.4rem;
        line-height: 1.2;
    }
    .badge-experience {
        font-size: 0.65rem;
        padding: 3px 10px;
    }
    .subtitle-passion {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    .main-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    .text-divider-cyan {
        width: 30px;
        height: 2px;
        margin: 15px 0;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 25px 5%;
    }
    .team-section h2 {
        font-size: 1.4rem;
        margin-bottom: 2px;
    }
    .intro-image-block {
        height: 220px;
    }
    .director-pillars-container {
        padding: 20px 15px;
    }
    .director-profile-block h3 {
        font-size: 1.2rem;
    }
    .main-description {
        font-size: 0.85rem;
        margin-bottom: 18px;
    }
    .btn-neon-pill {
        padding: 10px 24px;
        font-size: 0.85em;
    }
}

@media (max-width: 420px) {
    .team-section h2 {
        font-size: 1.2rem;
        letter-spacing: 1.5px;
    }
    .intro-image-block {
        height: 200px;
    }
    .director-pillars-container {
        padding: 18px 12px;
    }
    .director-profile-block h3 {
        font-size: 1.1rem;
    }
    .subtitle-passion {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    .main-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

.badge-experience {
    color: #00d4ff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 1px solid #00d4ff;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: inline-block;
}
/* Asegurar que el bloque de texto est� alineado a la izquierda dentro de la card */
.director-profile-block {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.director-profile-block h3 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.2;
}

.text-divider-cyan {
    width: 40px;
    height: 3px;
    background: #00d4ff;
    margin: 20px 0;
    box-shadow: 0 0 10px #00d4ff;
}
/* 1. Raya peque�a centrada debajo del t�tulo principal */
.header-line-centered {
    width: 60px;
    height: 4px;
    background-color: #00d4ff;
    margin: 10px auto 50px auto; /* El 'auto' horizontal la centra */
    border-radius: 2px;
    box-shadow: 0 0 10px #00d4ff;
}

/* 2. Poner pilares en azul (Experiencia � Dedicaci�n � Comunidad) */
.subtitle-passion {
    color: #00d4ff !important; /* Usamos el azul cian de tus variables */
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-size: 0.95rem;
}
/* 3. Espaciado entre p�rrafos de la descripci�n */
.text-description-container p {
    margin-bottom: 20px; /* Crea el espacio entre el primer y segundo p�rrafo */
    color: #ccc;
    line-height: 1.8;
}
.text-description-container p:last-child {
    margin-bottom: 35px; /* Espacio antes del bot�n */
}
.main-description {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 35px;
    font-size: 1.05rem;
}

/* Responsive */
@media (max-width: 992px) {
    .team-design-wrapper {
        flex-direction: column;
    }
    .intro-image-block {
        height: 300px;
    }
    .director-pillars-container {
        padding: 40px 20px;
        text-align: center;
    }
    .text-divider-cyan { margin: 20px auto; }
}
.mastermind-container {
    position: relative;
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px;
}

.mastermind-image {
    width: 75%; /* La imagen no ocupa todo, dejando aire */
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.mastermind-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.7);
}

.mastermind-card {
    position: absolute;
    right: 5%; /* Flota a la derecha */
    top: 50%;
    transform: translateY(-50%);
    width: 450px;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(15px); /* Efecto cristal */
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.industry-tag {
    color: #00d4ff;
    letter-spacing: 3px;
    font-size: 0.7em;
    border: 1px solid #00d4ff;
    padding: 5px 15px;
    display: inline-block;
    margin-bottom: 20px;
}
/* ======================================= */
/* 7. SECCI�N DE CURSOS (RENOVADA Y CENTRADA) */
/* ======================================= */

.courses-section {
    background-color: #080808;
    /* A�ade una textura de puntos muy sutil */
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px; 
    padding: 100px 5%;
    position: relative;
    border-bottom: 2px solid #00d4ff; /* L�nea base */
    border-top: 2px solid transparent; /* Base transparente para el degradado */
    /* Efecto de resplandor para que la l�nea "brille" contra el fondo negro */
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}
.courses-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%; /* No ocupa todo el ancho para un look m�s premium */
    height: 2px;
    /* Degradado de transparente a cyan y a transparente */
    background: linear-gradient(90deg, 
        transparent 0%, 
        #00d4ff 50%, 
        transparent 100%);
    /* Resplandor ne�n */
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    z-index: 10;
}
.courses-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 2px;
    margin-top: 40px; /* Espacio para que respire respecto a la nueva l�nea */
}

/* COURSES SECTION MOBILE RESPONSIVE */
@media (max-width: 992px) {
    .courses-section h2 {
        font-size: 2.2rem;
        margin-top: 30px;
    }
    .courses-container {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .courses-section {
        padding: 50px 5%;
    }
    .courses-section h2 {
        font-size: 2rem;
        margin-top: 20px;
    }
    .courses-container {
        flex-direction: column;
        gap: 30px;
    }
    .course-card-premium {
        flex: 1 1 100%;
    }
    .course-image-premium {
        flex: 1 1 100%;
    }
    .course-card-premium h3 {
        font-size: 1.6em;
    }
    .course-subtitle {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .courses-section {
        padding: 35px 5%;
    }
    .courses-section h2 {
        font-size: 1.6rem;
        margin-top: 15px;
        margin-bottom: 10px;
    }
    .courses-section::before {
        width: 60%;
    }
    .courses-container {
        max-width: 100%;
        gap: 20px;
    }
    .course-card-premium {
        padding: 25px 20px;
        border-radius: 12px;
    }
    .course-card-premium h3 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }
    .course-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    .benefits-grid-mini {
        gap: 10px;
        margin-bottom: 20px;
    }
    .benefit-item-mini {
        font-size: 0.9rem;
        padding: 7px 10px;
    }
    .benefit-item-mini i {
        min-width: 1rem;
    }
    .img-dramatic {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .courses-section {
        padding: 30px 5%;
    }
    .courses-section h2 {
        font-size: 1.4rem;
    }
    .course-card-premium {
        padding: 20px 15px;
    }
    .course-card-premium h3 {
        font-size: 1.2rem;
    }
    .benefit-item-mini {
        font-size: 0.8rem;
        gap: 10px;
    }
    .benefit-item-mini span {
        font-size: 0.8rem;
    }
    .img-dramatic {
        height: 220px;
    }
}

@media (max-width: 420px) {
    .courses-section h2 {
        font-size: 1.25rem;
    }
    .course-card-premium {
        padding: 18px 12px;
    }
    .course-card-premium h3 {
        font-size: 1.1rem;
    }
    .course-subtitle {
        font-size: 0.85rem;
    }
    .benefit-item-mini {
        font-size: 0.75rem;
        padding: 6px 8px;
    }
    .img-dramatic {
        height: 200px;
    }
}
.course-card-premium {
    flex: 0 1 450px;
    /* Un gris muy oscuro pero no negro, para diferenciarlo */
    background: rgba(20, 20, 20, 0.95); 
    padding: 35px;
    border-radius: 20px;
    
    /* El borde es clave: m�s brillante arriba para simular luz */
    border-top: 1px solid rgba(0, 212, 255, 0.4);
    border-left: 1px solid rgba(0, 212, 255, 0.1);
    border-right: 1px solid rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid rgba(0, 212, 255, 0.05);

    /* Sombra profunda para dar volumen */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

/* ?? NUEVA: La raya peque�a cyan debajo del t�tulo */
.courses-section .header-line {
    width: 60px; /* Raya peque�a */
    height: 4px;
    background-color: #00d4ff;
    margin: 0 auto 60px auto; /* Centrada y con espacio hacia abajo */
    border-radius: 2px;
    box-shadow: 0 0 10px #00d4ff;
}

/* ?? MODIFICADO: Contenedor m�s peque�o y cuadrado */
.courses-container {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Alineaci�n equilibrada */
    gap: 40px; 
    max-width: 1000px; /* Reducimos el ancho total para que no se estire demasiado */
    margin: 0 auto;
    text-align: left;
}

/* ?? MODIFICADO: La Card de texto m�s compacta */
.course-card-premium {
    flex: 0 1 450px; /* Tama�o base controlado */
    background: rgba(15, 15, 15, 0.9);
    padding: 35px; /* Reducido un poco para compacidad */
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-card-premium h3 {
    text-align: left; /* Alineado a su contenido */
    color: #00d4ff;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.course-subtitle {
    text-align: left;
    margin-bottom: 25px;
    font-size: 1rem;
}

/* ?? MODIFICADO: La Imagen m�s peque�a y cuadrada */
.course-image-premium {
    flex: 0 1 380px; /* Imagen m�s peque�a para equilibrar con la card */
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-dramatic {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantiene la foto cuadrada/proporcional sin deformar */
    border-radius: 15px;
    filter: grayscale(100%) contrast(1.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.5s ease;
}

/* Rejilla de beneficios con mejor espaciado */
.benefits-grid-mini {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px; /* Menos espacio para que no se vea "largo" */
    margin-bottom: 30px;
}

.benefit-item-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.benefit-item-mini i {
    color: #00d4ff;
    font-size: 1rem;
}

.benefit-item-mini span {
    font-size: 0.95rem;
}
/* ?? DISE�O DE BOT�N PROFESIONAL (ESTILO CONSOLA DJ) */
.btn-neon-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    background: linear-gradient(145deg, #0f0f0f, #050505); /* Fondo con ligera profundidad */
    color: #00d4ff;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    border: 1px solid rgba(0, 212, 255, 0.3); /* Borde sutil */
    
    /* Sombra exterior para dar volumen y sombra interior para hundirlo un poco */
    box-shadow: 
        6px 6px 12px rgba(0, 0, 0, 0.4), 
        -2px -2px 8px rgba(255, 255, 255, 0.02),
        inset 0 0 0 rgba(0, 212, 255, 0);
    
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}
/* Efecto de brillo (Glow) al pasar el rat�n */
.btn-neon-pill:hover {
    color: #fff;
    border-color: #00d4ff;
    transform: translateY(-3px) scale(1.02);
    
    /* Resplandor exterior intenso (Neon LED) */
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.6),
        0 0 40px rgba(0, 212, 255, 0.2),
        inset 0 0 10px rgba(0, 212, 255, 0.4);
    
    background: #00d4ff; /* El bot�n se ilumina por completo */
    color: #000; /* Texto negro para contraste m�ximo cuando brilla */
}
/* Animaci�n de "pulsaci�n" para que el usuario sepa d�nde hacer clic */
.btn-neon-pill::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 212, 255, 0.2);
    opacity: 0;
    transition: all 0.3s;
}

.btn-neon-pill:active {
    transform: translateY(1px);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.5);
}
/* --- Responsive para que no se rompa el centrado --- */
@media (max-width: 900px) {
    .courses-container {
        flex-direction: column;
        align-items: center;
    }
    .course-card-premium, .course-image-premium {
        flex: 1 1 auto;
        width: 100%;
        max-width: 500px;
    }
}
/* ?? MODIFICADO: Estilo de la Tarjeta */
.course-card {
    /* Quitamos max-width y margin: auto para que el grid lo gestione */
    max-width: none; 
    margin: 0;
    padding: 35px 25px; /* Ligeramente m�s padding */
    background-color: #0f0f0f; 
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    /* Borde sutil superior en lugar de inferior para un look m�s moderno */
    border-top: white; 
    border-bottom: 0;
    height: 100%; /* Asegura que todas las tarjetas tengan la misma altura */
    display: flex; /* Usamos flexbox para alinear el contenido */
    flex-direction: column;
    justify-content: space-between; /* Empuja el bot�n al fondo */
    text-align: center; /* Centramos el contenido interno */
}

.course-card-with-video {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 40px;
    padding: 40px;
    min-height: auto;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 0 15px #00d4ff, /* Efecto sutil de ne�n en hover */
        0 10px 30px rgba(0, 0, 0, 0.7);
}

.course-card h3 {
    color: #00d4ff; 
    font-size: 2em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.course-card p {
    color: #ddd;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.course-card-with-video .course-card-content > p {
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}
/* ======================================= */
/* 7.1 ESTILOS DE LISTA DE TEMARIO */
/* ======================================= */
.course-card-content {
    /* Contenedor flexible para alinear t�tulo, descripci�n y temario */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-card-with-video .course-card-content {
    flex: 1;
    min-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.course-card-with-video .course-card-content h3 {
    margin-bottom: 15px;
    font-size: 1.8em;
    line-height: 1.2;
}

/* Media queries responsive para cursos */
@media (max-width: 1024px) {
    .course-card-with-video {
        gap: 28px;
        padding: 32px;
    }
    
    .course-card-with-video .course-card-content {
        min-width: 350px;
    }
    
    .course-card-with-video .course-video-container {
        flex: 0 0 320px;
    }
    
    .course-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 16px;
    }
    
    .plans-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .section-courses-detail {
        padding: 40px 5%;
    }
    
    .course-card-with-video {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
    }
    
    .course-card-with-video .course-card-content {
        min-width: auto;
    }
    
    .course-card-with-video .course-card-content h3 {
        font-size: 1.4em;
        margin-bottom: 12px;
    }
    
    .course-card-with-video .course-video-container {
        flex: 1;
        min-height: 300px;
    }
    
    .course-card h3 {
        font-size: 1.6em;
    }
    
    .course-card-content {
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .section-courses-detail {
        padding: 30px 5%;
    }
    
    .course-card-with-video {
        padding: 20px;
        gap: 16px;
    }
    
    .course-card-with-video .course-card-content h3 {
        font-size: 1.2em;
    }
    
    .course-card-with-video .course-card-content > p {
        font-size: 0.95em;
    }
    
    .course-card-with-video .course-video-container {
        min-height: 250px;
        max-height: 300px;
    }
    
    .video-container {
        max-height: 350px;
    }
    
    .carousel-slide {
        max-height: 320px;
    }
    
    .course-details {
        padding-top: 8px;
    }
    
    .course-details p {
        font-size: 0.8em;
        margin: 4px 0;
    }
    
    .course-syllabus-list li {
        font-size: 0.85em;
        margin-bottom: 6px;
    }
    
    .cta-secondary {
        padding: 10px 24px;
        font-size: 0.9em;
    }
}

.course-card-with-video .course-card-content .course-details {
    margin-bottom: 16px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 200, 255, 0.2);
    text-align: center;
}

.course-details p {
    color: #a7a7a7;
    font-size: 0.85em;
    margin: 5px 0;
    line-height: 1.4;
}

.course-details strong {
    color: #ddd;
    font-weight: 600;
}

.course-video-container {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 200, 255, 0.2);
    border: 1px solid rgba(0, 200, 255, 0.3);
    flex-shrink: 0;
}

.course-card-with-video .course-video-container {
    flex: 0 0 420px;
    margin: 0;
    height: auto;
    min-height: 600px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.course-video-container {
    position: relative;
    overflow: hidden;
}

.course-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,212,255,0.1) 100%);
    z-index: 2;
    pointer-events: none;
}

.video-overlay-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.8);
}

.course-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

/* ======================================= */
/* REDISEÑO COMPLETO: LAYOUT ESTRUCTURADO */
/* ======================================= */

/* Card principal */
.course-card-premium-enhanced {
    background: linear-gradient(135deg, rgba(15,15,15,0.95), rgba(10,10,10,0.98)) !important;
    border: 2px solid rgba(0,212,255,0.15) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6), inset 0 1px 1px rgba(255,255,255,0.05) !important;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* SECCIÓN 1: INTRO + VIDEO (50/50) */
.curso-section-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    align-items: flex-start;
}

.intro-content-left {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.course-video-container-hero {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    min-height: 420px;
}

.course-video-container-hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.course-video-container-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,212,255,0.1) 100%);
    z-index: 2;
    pointer-events: none;
}

/* SECCIÓN 2: ESPECIFICACIONES */
.curso-section-specs {
    padding: 28px 40px;
    border-top: 1px solid rgba(0,212,255,0.1);
    background: rgba(0,212,255,0.01);
}

.course-specs-grid-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.spec-item {
    text-align: center;
    padding: 18px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    border: 1px solid rgba(0,212,255,0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.spec-item:hover {
    border-color: #00d4ff;
    background: rgba(0,212,255,0.05);
    transform: translateY(-2px);
}

.spec-icon {
    font-size: 1.2rem;
    color: #00d4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid #00d4ff;
    border-radius: 8px;
    background: rgba(0,212,255,0.05);
}

.spec-icon i {
    font-size: 1.4rem;
    font-weight: 300;
}

/* SECCIÓN 3: PLANES */
.curso-section-plans {
    padding: 32px 40px;
    border-top: 1px solid rgba(0,212,255,0.1);
}

.section-header-full {
    margin-bottom: 20px;
    margin-top: 0;
}

.plans-container-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.plan-card {
    padding: 24px 16px;
    background: rgba(15,15,15,0.8);
    border: 2px solid rgba(0,212,255,0.2);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.plan-card:hover {
    transform: translateY(-4px);
    border-color: #00d4ff;
    box-shadow: 0 8px 24px rgba(0,212,255,0.15);
}

.plan-card.highlighted {
    background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(0,212,255,0.02));
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0,212,255,0.2);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #00d4ff;
    color: #000;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.65em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-badge.best {
    background: linear-gradient(90deg, #ffaa00, #ff8800);
}

.plan-name {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 12px 0 8px;
}

.plan-price {
    font-size: 1.7rem;
    font-weight: 900;
    color: #00d4ff;
    margin: 8px 0;
}

.plan-desc {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}

/* SECCIÓN 4: HIGHLIGHTS + CTA */
.curso-section-footer {
    padding: 32px 40px;
    border-top: 1px solid rgba(0,212,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.course-highlights {
    padding: 16px;
    background: rgba(0,0,0,0.3);
    border-left: 4px solid #ffaa00;
    border-radius: 8px;
}

.course-highlights p {
    font-size: 0.95rem;
    color: #d0d0d0;
    margin: 8px 0;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-highlights i {
    color: #ffaa00;
    font-size: 1rem;
    min-width: 16px;
}

.course-highlights strong {
    color: #ffaa00;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* BOTÓN CTA */
.hero-cta-booking {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #00d4ff, #0084b4);
    color: #000 !important;
    border: none !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-cta-booking i {
    font-size: 1.1rem;
}

.hero-cta-booking:hover {
    background: linear-gradient(135deg, #00e5ff, #00a3c6);
    box-shadow: 0 8px 32px rgba(0,212,255,0.3);
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .curso-section-intro {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px;
    }
    
    .course-video-container-hero {
        min-height: 350px;
    }
    
    .course-specs-grid-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .plans-container-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .curso-section-specs,
    .curso-section-plans,
    .curso-section-footer {
        padding: 24px 32px;
    }
}

@media (max-width: 768px) {
    .curso-section-intro,
    .curso-section-specs,
    .curso-section-plans,
    .curso-section-footer {
        padding: 24px 16px;
    }
    
    .course-specs-grid-full,
    .plans-container-full {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .spec-item,
    .plan-card {
        padding: 16px;
        min-height: auto;
    }
    
    .course-video-container-hero {
        min-height: 280px;
    }
}

.course-badge {
    display: inline-block;
    background: linear-gradient(90deg, #00d4ff, #0084b4);
    color: #000;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.course-title-main {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.course-subtitle-premium {
    font-size: 1rem;
    color: #888888;
    margin-bottom: 24px;
    font-weight: 300;
    line-height: 1.5;
}

.section-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 12px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header i {
    font-size: 1.1rem;
    color: #00d4ff;
}

.course-premium-section {
    margin: 24px 0;
    padding: 20px;
    background: rgba(0,212,255,0.05);
    border-left: 4px solid #00d4ff;
    border-radius: 8px;
}

.premium-list {
    list-style: none !important;
    padding: 0 !important;
}

.premium-list li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #d0d0d0;
    margin-bottom: 12px;
    padding: 0 !important;
    position: relative !important;
}

.premium-list li:before {
    content: '' !important;
    margin-right: 0 !important;
}

.premium-list i {
    color: #00d4ff;
    margin-right: 12px;
    font-size: 1rem;
    min-width: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.premium-list li strong {
    color: #00d4ff;
    font-weight: 700;
    display: inline;
    margin-right: 4px;
}

.premium-list-compact {
    list-style: none !important;
    padding: 0 !important;
}

.premium-list-compact li {
    display: list-item;
    list-style: disc;
    list-style-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Ccircle cx='4' cy='4' r='4' fill='%2300d4ff'/%3E%3C/svg%3E");
    font-size: 0.9rem;
    color: #d0d0d0;
    margin-bottom: 18px;
    padding: 0 !important;
    position: relative !important;
    margin-left: 24px;
    text-align: left;
    line-height: 1.7;
}

.premium-list-compact li:before {
    content: none !important;
}

.premium-list-compact li strong {
    color: #00d4ff;
    font-weight: 700;
}

/* GRID DE ESPECIFICACIONES */
.course-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 28px 0;
    padding: 18px;
    background: rgba(0,212,255,0.02);
    border-radius: 8px;
    border: 1px solid rgba(0,212,255,0.08);
}

.spec-item {
    text-align: center;
    padding: 14px;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    border: 1px solid rgba(0,212,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.spec-icon {
    font-size: 1.6rem;
    color: #00d4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.spec-icon i {
    font-size: 1.4rem;
}

.spec-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.spec-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

/* PLANES DE PRICING */
.pricing-plans {
    margin: 28px 0;
    padding: 20px;
    background: rgba(0,212,255,0.03);
    border-radius: 12px;
    border: 1px solid rgba(0,212,255,0.1);
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.plan-card {
    padding: 24px 16px;
    background: rgba(15,15,15,0.8);
    border: 2px solid rgba(0,212,255,0.2);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.plan-card:hover {
    transform: translateY(-4px);
    border-color: #00d4ff;
    box-shadow: 0 8px 24px rgba(0,212,255,0.15);
}

.plan-card.highlighted {
    background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(0,212,255,0.02));
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0,212,255,0.2);
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #00d4ff;
    color: #000;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-badge.best {
    background: linear-gradient(90deg, #ffaa00, #ff8800);
}

.plan-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin: 8px 0 6px;
}

.plan-price {
    font-size: 1.6rem;
    font-weight: 900;
    color: #00d4ff;
    margin: 6px 0;
}

.plan-desc {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}

/* HIGHLIGHTS */
.course-highlights {
    margin: 24px 0;
    padding: 16px;
    background: rgba(0,0,0,0.3);
    border-left: 4px solid #ffaa00;
    border-radius: 8px;
}

.course-highlights p {
    font-size: 0.95rem;
    color: #d0d0d0;
    margin: 8px 0;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-highlights i {
    color: #00d4ff;
    font-size: 1rem;
    min-width: 16px;
}

.course-highlights strong {
    color: #ffaa00;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* BOTÓN CTA PARA BOOKING */
.hero-cta-booking {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-align: center;
    padding: 16px 32px;
    margin-top: 24px;
    background: linear-gradient(135deg, #00d4ff, #0084b4);
    color: #000 !important;
    border: none !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-cta-booking i {
    font-size: 1.1rem;
}

.hero-cta-booking:hover {
    background: linear-gradient(135deg, #00e5ff, #00a3c6);
    box-shadow: 0 8px 32px rgba(0,212,255,0.3);
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .course-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plans-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .course-card-with-video {
        flex-direction: column;
    }
    
    .course-card-with-video .course-video-container {
        flex: 0 0 300px;
    }
    
    .course-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 16px;
    }
    
    .plans-container {
        grid-template-columns: 1fr;
    }
    
    .course-title-main {
        font-size: 1.8rem;
    }
}

.course-syllabus-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 16px 0;
    text-align: center;
}

.course-syllabus-list li {
    font-size: 0.9em;
    color: #a7a7a7;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
    padding: 0;
    position: relative;
}

.course-syllabus-list li::before {
    content: '??';
    color: #00d4ff;
    font-size: 0.95em;
    margin-right: 10px;
    flex-shrink: 0;
    position: relative;
    left: auto;
}

/* ======================================= */
/* SECCI�N DE BENEFICIOS */
/* ======================================= */
.benefits-section {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    padding: 80px 5%;
}

.benefits-section h2 {
    color: white;
    margin-bottom: 60px;
    font-size: 2.8em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.benefits-section h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, transparent);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 200, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, transparent);
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: #00d4ff;
    box-shadow: 0 15px 50px rgba(0, 200, 255, 0.3);
}

.benefit-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
    display: inline-block;
    color: #00d4ff;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.8;
}

.benefit-card h3 {
    color: #00d4ff;
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 700;
}

.benefit-card p {
    color: #a7a7a7;
    font-size: 1.05em;
    line-height: 1.6;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 28px;
        margin-top: 40px;
    }
    
    .benefit-card {
        padding: 30px 20px;
    }
}

@media (max-width: 600px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .benefit-card {
        padding: 25px 15px;
    }
    
    .benefit-icon {
        font-size: 2.8em;
        margin-bottom: 12px;
    }
    
    .benefit-card h3 {
        font-size: 1.4em;
    }
    
    .benefit-card p {
        font-size: 0.9em;
    }
}

/* ======================================= */
/* 7.5. CARRUSEL DE GALER�A */
/* ======================================= */
.gallery-carousel-section {
    background: linear-gradient(135deg, #050505 0%, #0d0d0d 100%);
    padding: 35px 5%;
    text-align: center;
    color: white;
}

.gallery-carousel-section h2 {
    color: white;
    margin-bottom: 50px;
    font-size: 2.3em;
    font-weight: 700;
}

/* MOSAICO DE CASOS DE �XITO */
.success-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mosaic-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 45px rgba(0, 212, 255, 0.4);
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.mosaic-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.15);
}

.mosaic-item-lg {
    grid-column: span 2;
    grid-row: span 2;
}

.mosaic-item-lg:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.mosaic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 212, 255, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mosaic-item:hover .mosaic-overlay {
    opacity: 1;
}

.mosaic-overlay p {
    color: white;
    font-size: 1.1em;
    font-weight: 600;
    width: 100%;
    text-align: center;
}

/* RESPONSIVIDAD MOSAICO */
@media (max-width: 1024px) {
    .success-mosaic {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .mosaic-item-lg {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .success-mosaic {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .mosaic-item {
        aspect-ratio: auto;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .success-mosaic {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* CARRUSEL - CONTENEDOR PRINCIPAL */
.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    margin: 40px 0;
}

.carousel-container {
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2), 0 10px 40px rgba(0, 0, 0, 0.7);
    position: relative;
    background: #1a1a1a;
}

/* TRACK - CONTENEDOR DE SLIDES */
.carousel-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

/* SLIDES INDIVIDUALES */
.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease-out, filter 0.7s ease-out;
}

.carousel-slide:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* BOTONES DE NAVEGACI�N */
.carousel-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff 0%, #0033cc 100%);
    color: #0a0a0a;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    flex-shrink: 0;
}

.carousel-button:hover {
    background: linear-gradient(135deg, #0033cc 0%, #00d4ff 100%);
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.6);
}

.carousel-button:active {
    transform: scale(0.95);
}

.carousel-button.prev {
    order: -1;
}

/* INDICADORES - PUNTOS DE NAVEGACI�N */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    padding: 20px 0;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dot.active {
    background: #00d4ff;
    width: 18px;
    height: 18px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 40px rgba(0, 212, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(0, 212, 255, 0.7);
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.5);
}

/* RESPONSIVIDAD */
@media (max-width: 768px) {
    .carousel-wrapper {
        gap: 12px;
    }
    
    .carousel-button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .carousel-container {
        max-width: 100%;
        border-radius: 15px;
    }
    
    .carousel-slide {
        aspect-ratio: 4 / 3;
    }
    
    .carousel-indicators {
        gap: 8px;
        margin-top: 30px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .dot.active {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .carousel-wrapper {
        gap: 8px;
    }
    
    .carousel-button {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .carousel-slide {
        aspect-ratio: 1 / 1;
    }
    
    .carousel-indicators {
        gap: 6px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .dot.active {
        width: 12px;
        height: 12px;
    }
}

/* ======================================= */
/* 8. SECCI�N DE TESTIMONIOS */
/* ======================================= */
.testimonials-section {
    text-align: center;
    /* Usamos el fondo claro para contrastar con la secci�n de cursos oscura */
    background-color: #f8f8f8; 
    padding: 35px 5%; /* A�adimos m�s padding superior/inferior */
}

.testimonials-section h2 {
    color: #333; 
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.testimonials-section h2::after {
    content: '';
    position: absolute;
    width: 100px; 
    height: 4px;
    background-color: #00d4ff;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 2px;
}


.testimonial-grid {
    display: grid;
    /* Grid de 3 columnas en escritorio, adaptable */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.testimonial-card {
    background-color: white; 
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    /* Borde superior sutil con color de marca */
    border-top: 4px solid #00d4ff;
    position: relative;
    z-index: 1; /* Para controlar el pseudo-elemento */
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Pseudo-elemento para el �CONO de CITA */
.testimonial-card::before {
    content: '�'; /* Car�cter de comilla de apertura */
    position: absolute;
    top: -15px; /* Lo subimos fuera del padding */
    left: 10px;
    font-size: 6em; /* Tama�o grande */
    color: #00d4ff; /* Color ne�n/brillante */
    opacity: 0.15; /* Sutilmente visible */
    z-index: 0;
    line-height: 1;
}

/* Estilo de la Cita */
.quote {
    font-size: 1.1em;
    font-style: italic;
    color: #555;
    margin-bottom: 25px;
    position: relative;
    z-index: 2; /* Asegura que el texto est� por encima del �cono */
}

/* Contenedor de la informaci�n del Autor */
.author-info {
    border-top: 1px solid #eee;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.author-info .name {
    font-weight: bold;
    color: #333;
    font-size: 1.1em;
    margin-bottom: 3px;
}

.author-info .title {
    font-size: 0.9em;
    color: #00d4ff; /* Destacamos el t�tulo */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ======================================= */
/* SECCI�N DE EVENTOS CON VIDEO */
/* ======================================= */
.eventos-section {
    padding: 80px 5%;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
}

.eventos-section h2 {
    color: white;
    margin-bottom: 15px;
    font-size: 2.8em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.eventos-section p {
    color: #a7a7a7;
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 50px;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 200, 255, 0.2);
    border: 1px solid rgba(0, 200, 255, 0.3);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.instalaciones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.instalacion-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 200, 255, 0.2);
    border: 1px solid rgba(0, 200, 255, 0.3);
    transition: all 0.3s ease;
}

.instalacion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 200, 255, 0.3);
}

.instalacion-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* ======================================= */
/* CARRUSEL DE INSTALACIONES */
/* ======================================= */
.carousel-wrapper-instalaciones {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.carousel-container-instalaciones {
    flex: 1;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16/9; /* mantiene proporci�n y permite responsive */
    max-height: 520px;
    overflow: visible; /* permitir peek fuera del contenedor interno */
    padding: 0 30px; /* espacio para el peek (reducido) */
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 130, 180, 0.12);
    border: 1px solid rgba(0, 130, 180, 0.08);
    position: relative;
}

.carousel-track-instalaciones {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
    will-change: transform;
    gap: 20px; /* separacion visible entre slides para el peek */
}

.carousel-slide-instalaciones {
    min-width: calc(100% - 60px); /* deja espacio para peek (padding izquierdo+derecho) - reducido */
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide-instalaciones img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive tweaks: reducir altura en pantallas peque�as para que no se recorten fuera de viewport */
@media (max-width: 992px) {
    .carousel-container-instalaciones {
        aspect-ratio: 4/3;
        max-height: 420px;
    }
}

@media (max-width: 768px) {
    .carousel-container-instalaciones {
        aspect-ratio: 4/3;
        max-height: 360px;
    }
    .carousel-wrapper-instalaciones {
        gap: 12px;
    }
    .carousel-button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

.carousel-indicators-instalaciones {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot-instalaciones {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 200, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot-instalaciones.active {
    background: #00d4ff;
    width: 30px;
    border-radius: 6px;
}

.videos-grid .video-container {
    max-width: none;
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .instalaciones-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
}

@media (max-width: 600px) {
    .videos-grid {
        gap: 16px;
        margin-top: 30px;
    }
    
    .instalaciones-grid {
        gap: 16px;
        margin-top: 30px;
    }
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

/* ======================================= */
/* 9. SECCI�N LLAMADA A LA ACCI�N FINAL (CTA) */
/* ======================================= */
/* FINAL CTA SECTION MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .final-cta {
        padding: 120px 5%;
    }
    .final-cta h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .final-cta {
        padding: 80px 5%;
    }
    .final-cta h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    .cta-decoration-vinyl {
        width: 120px;
        height: 120px;
    }
    .vinyl-btn {
        padding: 12px 30px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .final-cta {
        padding: 60px 5%;
    }
    .final-cta h2 {
        font-size: 1.5rem;
    }
    .cta-decoration-vinyl {
        width: 100px;
        height: 100px;
    }
    .vinyl-btn {
        padding: 10px 26px;
        font-size: 0.9em;
    }
}

@media (max-width: 420px) {
    .final-cta {
        padding: 50px 5%;
    }
    .final-cta h2 {
        font-size: 1.3rem;
    }
    .cta-decoration-vinyl {
        width: 80px;
        height: 80px;
    }
    .vinyl-btn {
        padding: 9px 22px;
        font-size: 0.85em;
    }
}

.final-cta {
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 50%, #001a3d 100%);
    color: white; 
    padding: 180px 5%;
    position: relative; 
    overflow: hidden; 
    z-index: 1;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Contenedor de contenido de CTA */
.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Estilos del T�tulo Principal de la CTA */
.final-cta h2 {
    font-size: 3.2em; /* ?? AUMENTADO: T�tulo m�s grande */
    margin-bottom: 25px; /* M�s espacio debajo del t�tulo */
    font-weight: 700;
    line-height: 1.2;
    /* ?? NUEVO: Sombra de texto sutil para que resalte m�s */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); 
    position: relative; /* Asegura que h2 est� sobre el vinilo */
    z-index: 2; /* Mayor z-index que el vinilo */
}

/* Estilos del P�rrafo de la CTA (si lo hubiera, pero aqu� el bot�n es el texto) */
.final-cta p {
    font-size: 1.6em; /* ?? AUMENTADO: P�rrafo m�s grande */
    margin-bottom: 40px; /* M�s espacio antes del bot�n */
    position: relative;
    z-index: 2; /* Mayor z-index que el vinilo */
}

/* ?? MODIFICACI�N: Bot�n Principal de la CTA */
.final-cta .cta-primary {
    font-size: 1.3em;
    padding: 15px 35px;
    border-radius: 50px;
    background-color: #1a1a1a;
    color: #00d4ff;
    border: 2px solid #00d4ff;
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3); 
    position: relative;
    z-index: 2;
}

.final-cta .cta-primary:hover {
    background-color: #0033cc;
    color: white;
    border-color: #00d4ff;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 212, 255, 0.6);
}


/* ?? Vinilo de Decoraci�n - Ajuste final */
/* ?? MODIFICADO: Vinilo de Decoraci�n - �TAMA�O M�XIMO DEFINITIVO! */
.cta-decoration-vinyl {
    position: absolute;
    top: auto;
    right: auto;
    bottom: -100px;
    left: -250px;
    width: 1000px;
    height: auto;
    opacity: 0.25;
    transform: rotate(-35deg);
    z-index: 0;
    pointer-events: none;
    object-fit: contain;
}

@media (max-width: 992px) {
    .final-cta {
        padding: 120px 5%;
        min-height: 350px;
    }
    
    .cta-decoration-vinyl {
        width: 700px;
        opacity: 0.22;
        bottom: -60px;
        left: -150px;
        transform: rotate(-30deg);
    }
}

/* ?? RESPONSIVO PARA EL VINILO - M�vil */
@media (max-width: 768px) {
    .final-cta {
        padding: 100px 5%;
        min-height: 300px;
    }
    
    .cta-decoration-vinyl {
        width: 500px;
        opacity: 0.18;
        bottom: -50px;
        left: -100px;
        transform: rotate(-25deg);
    }
}

@media (max-width: 600px) {
    .final-cta {
        padding: 60px 5%;
        min-height: 350px;
    }
    
    .cta-decoration-vinyl {
        width: 450px;
        opacity: 0.18;
        bottom: -40px;
        left: -80px;
        transform: rotate(-22deg);
    }
}

@media (max-width: 480px) {
    .final-cta {
        padding: 60px 5%;
        min-height: 350px;
    }
    
    .cta-decoration-vinyl {
        width: 350px;
        opacity: 0.15;
        bottom: -30px;
        left: -50px;
        transform: rotate(-20deg);
    }
}
/* ======================================= */
/* 10. PIE DE P�GINA (FOOTER) - DISE�O MEJORADO */
/* ======================================= */
.main-footer {
    background-color: #050505; /* Fondo muy oscuro */
    color: #bbb; 
    padding: 50px 5%; /* M�s padding */
    font-size: 0.9em;
    border-top: 5px solid #00d4ff; /* Borde naranja de marca */
}

/* Estructura Grid del Contenido */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 30px auto;
    padding-bottom: 30px;
    border-bottom: 1px solid #222;
}

/* FOOTER MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .main-footer {
        padding: 40px 5%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 25px;
    }
    .footer-col h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    .footer-col p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 8px;
    }
    .footer-col ul li {
        margin-bottom: 8px;
    }
    .footer-col ul li a {
        font-size: 0.9rem;
    }
    .footer-cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .social-links-footer {
        gap: 12px;
        flex-wrap: wrap;
    }
    .social-links-footer a {
        font-size: 0.9rem;
    }
    .legal-links {
        gap: 8px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding: 30px 5%;
    }
    .footer-grid {
        gap: 25px;
    }
    .footer-col h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    .footer-col p {
        font-size: 0.85rem;
    }
    .footer-col ul li a {
        font-size: 0.85rem;
    }
    .social-links-footer a {
        font-size: 0.85rem;
    }
}

@media (max-width: 420px) {
    .main-footer {
        padding: 25px 4%;
    }
    .footer-grid {
        gap: 20px;
    }
    .footer-col h3 {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    .footer-col p {
        font-size: 0.8rem;
    }
    .footer-col ul li a {
        font-size: 0.8rem;
    }
}

.footer-col h3 {
    color: #00d4ff;
    font-size: 1.2em;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-col {
    text-align: center;
}

.quick-links {
    text-align: center;
}

/* Estilos para Enlaces R�pidos (Listas) */
.quick-links ul, .contact-info ul {
    list-style: none;
    padding: 0;
}

.quick-links li, .contact-info li {
    margin-bottom: 12px;
}

.quick-links a {
    color: #ccc;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease, transform 0.2s ease;
    font-size: 0.95em;
}

.quick-links a:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

/* Estilos de Contacto e Info */
.contact-info p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #ccc;
    font-size: 0.95em;
}

.contact-info strong {
    color: white;
    display: block;
    font-size: 0.85em;
    color: #00d4ff;
}

/* Bot�n CTA dentro del Footer */
.footer-cta-button {
    display: inline-block;
    background-color: #00d4ff;
    color: #0a0a0a;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 25px;
    margin-top: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.footer-cta-button:hover {
    background-color: #0033cc;
    color: white;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

/* Enlaces Sociales */
.social-links-footer {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
}

.social-links-footer a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-links-footer a:hover {
    color: #00d4ff
}

/* Enlaces Legales */
.legal-links {
    margin-top: 15px;
    font-size: 0.8em;
}

.legal-links a {
    color: #555;
    text-decoration: none;
    margin: 0 5px;
}
.legal-links a:hover {
    color: #00d4ff;
}


/* SECCI�N INFERIOR (Derechos de autor y Logo) */
.footer-bottom {
    text-align: center;
    padding-top: 15px;
}

.logo-footer {
    font-size: 1.6em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.footer-bottom p {
    color: #555;
}


/* ?? RESPONSIVO DEL FOOTER */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Una columna en m�vil */
        gap: 40px;
        text-align: center;
    }
    .footer-col {
        padding-bottom: 20px;
        border-bottom: 1px solid #222;
    }
    .footer-col:last-child {
        border-bottom: none;
    }
    .quick-links a, .contact-info p, .contact-info strong, .footer-cta-button {
        display: block; /* Centramos el texto y el bot�n en m�vil */
        margin-left: auto;
        margin-right: auto;
    }
    .legal-links {
        margin-top: 15px;
    }
    
    .social-links-footer {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}
/* ======================================= */
/* 11. DISE�O RESPONSIVO - AJUSTE FINAL */
/* ======================================= */
/* Ajustamos la columna de imagen en m�vil para que se vea bien apilada */
@media (max-width: 992px) {
    /* ... (c�digo existente para team-section) ... */

    /* ?? RESPONSIVO DEL HEADER */
    .main-header {
        padding: 15px 5%;
        flex-wrap: wrap;
    }

    .main-header nav {
        display: none;
        width: 100%;
        order: 3;
        flex-direction: column;
        text-align: center;
        background-color: #1a1a1a;
        margin-top: 10px;
        border-radius: 8px;
        border: 1px solid rgba(0, 212, 255, 0.2);
        overflow: hidden;
    }

    .main-header nav.active {
        display: flex;
    }

    .main-header nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    .main-header nav ul li {
        margin: 0;
    }

    .main-header nav ul li a {
        padding: 14px 16px;
        display: block;
        border-bottom: 1px solid rgba(0, 212, 255, 0.1);
        font-size: 0.95em;
        transition: all 0.2s ease;
    }
    
    .main-header nav ul li a:hover {
        background-color: rgba(0, 212, 255, 0.08);
        color: #00d4ff;
    }
    
    .main-header nav ul li:last-child a {
        border-bottom: none;
    }
    
    .menu-toggle {
        display: block;
        background: transparent;
        border: none;
        color: #00d4ff;
        font-size: 1.5em;
        cursor: pointer;
        padding: 8px 12px;
        margin-left: auto;
    }
    
    .menu-toggle:hover {
        color: white;
    }

    .cta-button {
        order: 2; /* Mantenemos el CTA en la l�nea superior */
    }

    .menu-toggle {
        display: block; /* Mostramos el bot�n de hamburguesa */
    }

    /* ?? Ajuste para el HERO */
    .hero h1 {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .hero p {
        font-size: 1.1em;
        margin-bottom: 30px;
    }
    
    .course-hero h2 {
        font-size: 1.8em;
    }
    
    .final-cta h2 {
        font-size: 1.8em;
    }
}

/* ======================================= */
/* CHATBOT — ESTÉTICA ELEGANTE             */
/* Reemplaza desde la línea 3734 hasta     */
/* la línea 4714 de tu style.css           */
/* ======================================= */

/* ── Contenedor flotante ── */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
}

/* ── Botón toggle ── */
.chatbot-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0a0a0a;
    border: 1.5px solid #00d4ff;
    color: #00d4ff;
    font-size: 1.6em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    z-index: 10000;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

.chatbot-button:hover {
    transform: scale(1.08);
    box-shadow: 0 0 22px rgba(0,212,255,0.45), 0 8px 28px rgba(0,0,0,0.65);
}

/* Anillo de pulso */
.chatbot-button::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,212,255,0.4);
    animation: cb-pulse 2.6s ease-out infinite;
    pointer-events: none;
}

@keyframes cb-pulse {
    0%   { transform: scale(1);   opacity: 0.7; }
    70%  { transform: scale(1.55); opacity: 0;  }
    100% { transform: scale(1.55); opacity: 0;  }
}

/* ── Ventana del chat ── */
.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-height: 580px;
    height: auto;
    background: #0a0a0a;
    border: 1px solid rgba(0,212,255,0.22);
    border-radius: 20px;
    box-shadow:
        0 0 0 1px rgba(0,212,255,0.06),
        0 24px 60px rgba(0,0,0,0.85);
    display: none;
    flex-direction: column;
    overflow: hidden;
    justify-content: flex-start;
}

/* Línea decorativa superior */
.chatbot-window::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    border-radius: 0 0 4px 4px;
    z-index: 1;
}

.chatbot-window.open {
    display: flex;
    animation: cb-open 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes cb-open {
    from { opacity: 0; transform: scale(0.9) translateY(12px); }
    to   { opacity: 1; transform: scale(1)   translateY(0);    }
}

/* ── Header ── */
.chatbot-header {
    background: #111;
    border-bottom: 1px solid rgba(0,212,255,0.18);
    padding: 14px 18px 12px;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    position: relative;
}

/* Punto online (verde) */
.chatbot-header::after {
    content: '';
    position: absolute;
    right: 18px; top: 50%;
    transform: translateY(-50%);
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #3DEB81;
    box-shadow: 0 0 8px rgba(61,235,129,0.7);
}

/* Avatar circular */
.chatbot-header-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,212,255,0.1);
    border: 1.5px solid rgba(0,212,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.chatbot-header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 0.95em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #00d4ff;
    text-align: left;
    text-transform: uppercase;
}

.chatbot-header-sub {
    font-size: 10.5px;
    color: #6B7A8A;
    letter-spacing: 0.3px;
}

/* Nav buttons (prev/next) — se mantienen funcionales */
.chatbot-nav-btn {
    background: rgba(0,212,255,0.06);
    border: 1px solid rgba(0,212,255,0.25);
    color: #00d4ff;
    padding: 5px 9px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85em;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-weight: 600;
}

.chatbot-nav-btn:hover:not(:disabled) {
    background: rgba(0,212,255,0.15);
    border-color: #00d4ff;
}

.chatbot-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ── Área de mensajes ── */
.chatbot-messages {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 16px 14px;
    background: #0a0a0a;
    min-height: 200px;
    max-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,212,255,0.2) transparent;
}

.chatbot-messages::-webkit-scrollbar { width: 3px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(0,212,255,0.22);
    border-radius: 3px;
}

/* ── Mensajes ── */
.message {
    margin-bottom: 6px;
    display: flex;
    gap: 10px;
    animation: cb-msg 0.22s ease both;
}

@keyframes cb-msg {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0);   }
}

.message.bot  { justify-content: flex-start; }
.message.user { justify-content: flex-end;   }

.message-text {
    max-width: 85%;
    padding: 11px 15px;
    border-radius: 14px;
    word-wrap: break-word;
    font-size: 0.95em;
    line-height: 1.55;
}

/* Bot: fondo oscuro con tinte */
.message.bot .message-text {
    background: #151c1a;
    border: 1px solid rgba(255,255,255,0.05);
    color: #dffaf6;
    border-bottom-left-radius: 4px;
}

/* User: relleno cyan */
.message.user .message-text {
    background: #00d4ff;
    color: #020e10;
    font-weight: 500;
    border-bottom-right-radius: 4px;
}

/* Markdown */
.message-text strong { font-weight: 600; }
.message-text em     { font-style: italic; }
.message-text code   {
    background: rgba(255,255,255,0.08);
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.88em;
}
.message-text ul { margin: 8px 0; padding-left: 18px; }
.message-text li { margin: 4px 0; }

/* ── Indicador de escritura ── */
.typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    font-size: 0.88em;
    color: #6B7A8A;
}

.typing-dots {
    display: inline-block;
    letter-spacing: 2px;
    animation: cb-blink 1.3s step-end infinite;
}

@keyframes cb-blink {
    0%, 100% { opacity: 1;   }
    50%       { opacity: 0.2; }
}

/* ── Área de entrada ── */
.chatbot-input-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 11px 12px 13px;
    background: #111;
    border-top: 1px solid rgba(0,212,255,0.18);
    flex-shrink: 0;
    position: relative;
    z-index: 101;
    width: 100%;
}

/* Botones de acción rápida */
.chatbot-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    padding: 0;
    margin: 0;
    align-items: center;
}

/* ── Botón estándar ── */
.chatbot-btn {
    background: #181c22;
    color: #00d4ff;
    border: 1px solid rgba(0,212,255,0.28);
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88em;
    transition: background 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.chatbot-btn:hover {
    background: rgba(0,212,255,0.1);
    border-color: #00d4ff;
    color: #00e5ff;
    transform: translateY(-1px);
}

.chatbot-btn:active { transform: translateY(0); }

/* ── Freeform row ── */
.chatbot-freeform-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    align-items: center;
    flex-shrink: 0;
    min-height: 46px;
    padding: 6px 0 0;
    border-top: 1px solid rgba(0,212,255,0.12);
    margin-top: 2px;
}

.chatbot-freeform-container #freeform-input-always {
    flex: 1;
    margin: 0;
}

.chatbot-freeform-container #chatbot-send-freeform {
    flex-shrink: 0;
    width: auto;
    min-width: 80px;
    margin: 0;
}

/* ── Campo de texto ── */
.chatbot-input-field {
    background: #181c22;
    border: 1px solid rgba(0,212,255,0.2);
    color: #dffaf6;
    padding: 10px 13px;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92em;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    flex: 1 1 auto;
    min-width: 0;
    box-sizing: border-box;
    height: 44px;
}

.chatbot-input-field::placeholder { color: #6B7A8A; }

.chatbot-input-field:focus {
    border-color: rgba(0,212,255,0.55);
    box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
    background: #1a1f28;
}

/* ── Botón Enviar ── */
.chatbot-btn-send {
    background: #00d4ff;
    color: #020e10;
    border: none;
    padding: 0 18px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88em;
    transition: opacity 0.16s ease, transform 0.12s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    white-space: nowrap;
    width: auto;
    min-width: 80px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-btn-send:hover  { opacity: 0.85; transform: translateY(-1px); }
.chatbot-btn-send:active { transform: translateY(0); opacity: 1; }

/* ── Botón de info elegante ── */
.chatbot-btn-info {
    background: transparent;
    color: #00d4ff;
    border: none;
    padding: 8px 0;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88em;
    transition: all 0.2s ease;
    white-space: normal;
    word-wrap: break-word;
    letter-spacing: 0.3px;
    position: relative;
    overflow: visible;
    line-height: 1.3;
    min-height: auto;
    display: inline-block;
    text-align: center;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}

.chatbot-btn-info::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 2px;
    background: #00d4ff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.chatbot-btn-info:hover::before { 
    transform: scaleX(1);
    transform-origin: left;
}

.chatbot-btn-info:hover {
    background: transparent;
    border-color: transparent;
    color: #00e5ff;
    transform: translateY(-1px);
    box-shadow: none;
}

.chatbot-btn-info:active { transform: translateY(0); }

/* Container info buttons */
#chatbot-buttons.info-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 0;
    width: 100%;
    justify-content: center;
    align-items: center;
}

/* ── Botón slot ── */
.chatbot-slot-btn {
    background: #181c22;
    color: #00d4ff;
    border: 1px solid rgba(0,212,255,0.3);
    padding: 10px 6px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85em;
    transition: all 0.2s ease;
    white-space: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 76px;
}

.chatbot-slot-btn:hover {
    background: rgba(0,212,255,0.1);
    border-color: #00d4ff;
    color: #00e5ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,212,255,0.22);
}

.chatbot-slot-btn:active { transform: translateY(0); }

/* ── Grid slots ── */
.chatbot-slots-grid {
    scrollbar-width: thin;
    scrollbar-color: rgba(0,212,255,0.3) transparent;
}

.chatbot-slots-grid::-webkit-scrollbar { width: 4px; }
.chatbot-slots-grid::-webkit-scrollbar-track { background: transparent; }
.chatbot-slots-grid::-webkit-scrollbar-thumb {
    background: rgba(0,212,255,0.3);
    border-radius: 4px;
}

/* ── Botones de fecha ── */
.chatbot-date-btn {
    background: transparent;
    color: #00d4ff;
    border: 1px solid rgba(0,212,255,0.25);
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8em;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: auto;
    height: 48px;
}

.chatbot-date-btn:hover {
    background: rgba(0,212,255,0.08);
    border-color: #00d4ff;
    color: #00e5ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,212,255,0.15);
}

.chatbot-date-btn.selected {
    background: rgba(0,212,255,0.2);
    border-color: #00d4ff;
    color: #00e5ff;
    box-shadow: 0 0 10px rgba(0,212,255,0.3);
}

.chatbot-date-btn:active { transform: translateY(0); }

/* Grid fechas */
.chatbot-date-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 6px;
    width: 100%;
    padding: 8px 0;
    max-height: 140px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,212,255,0.3) transparent;
}

.chatbot-date-grid::-webkit-scrollbar { width: 3px; }
.chatbot-date-grid::-webkit-scrollbar-track { background: transparent; }
.chatbot-date-grid::-webkit-scrollbar-thumb {
    background: rgba(0,212,255,0.3);
    border-radius: 3px;
}

/* ── Botones de hora ── */
.chatbot-time-btn {
    background: #181c22;
    color: #00d4ff;
    border: 1px solid rgba(0,212,255,0.3);
    padding: 10px 6px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9em;
    transition: all 0.2s ease;
    white-space: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 90px;
}

.chatbot-time-btn:hover {
    background: rgba(0,212,255,0.1);
    border-color: #00d4ff;
    color: #00e5ff;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 14px rgba(0,212,255,0.22);
}

.chatbot-time-btn:active { transform: translateY(0) scale(1); }

/* Grid horas */
.chatbot-time-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    padding: 8px 0;
    max-height: 280px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,212,255,0.3) transparent;
}

.chatbot-time-grid::-webkit-scrollbar { width: 4px; }
.chatbot-time-grid::-webkit-scrollbar-track { background: transparent; }
.chatbot-time-grid::-webkit-scrollbar-thumb {
    background: rgba(0,212,255,0.3);
    border-radius: 4px;
}

/* Encabezado franja horaria */
.chatbot-time-franja-header {
    grid-column: 1 / -1;
    color: #00d4ff;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88em;
    padding: 6px 0 4px;
    border-bottom: 1px solid rgba(0,212,255,0.22);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Slot y confirm buttons heredados */
.slot-btn {
    background: #181c22;
    color: #00d4ff;
    border: 1px solid rgba(0,212,255,0.3);
    padding: 10px 16px;
    border-radius: 10px;
    margin: 6px 6px 6px 0;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92em;
    transition: all 0.2s ease;
    box-shadow: none;
}

.slot-btn:hover {
    background: rgba(0,212,255,0.1);
    border-color: #00d4ff;
    color: #00e5ff;
    transform: translateY(-2px);
}

.slot-btn.selected {
    background: rgba(0,212,255,0.14);
    color: #00e5ff;
    border-color: #00d4ff;
    box-shadow: 0 0 12px rgba(0,212,255,0.25);
}

.send-confirm-btn {
    background: #00d4ff;
    color: #020e10;
    border: none;
    padding: 11px 20px;
    border-radius: 9px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-top: 8px;
    transition: opacity 0.2s ease, transform 0.12s ease;
}

.send-confirm-btn:hover  { opacity: 0.85; transform: translateY(-1px); }
.send-confirm-btn:active { transform: translateY(0); }

.send-confirm-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chatbot-send:hover {
    opacity: 0.85;
    transform: scale(1.04);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .chatbot-container {
        bottom: 20px;
        right: 20px;
    }
    .chatbot-window {
        width: 340px;
        bottom: 80px;
        max-height: 80vh;
    }
    .chatbot-messages {
        max-height: calc(80vh - 200px);
    }
    .chatbot-button {
        width: 54px;
        height: 54px;
        font-size: 1.4em;
    }
}

@media (max-width: 600px) {
    .chatbot-container {
        bottom: 15px;
        left: 12px;
        right: auto;
    }
    .chatbot-window {
        width: calc(100vw - 24px);
        max-width: 340px;
        bottom: 78px;
        left: 12px;
        right: auto;
        max-height: 80vh;
        border-radius: 16px;
    }
    .chatbot-messages {
        max-height: calc(80vh - 210px);
        padding: 12px;
    }
    .chatbot-button {
        width: 52px;
        height: 52px;
        font-size: 1.3em;
    }
    .chatbot-header {
        padding: 11px 14px;
        border-radius: 16px 16px 0 0;
    }
    .chatbot-header h3 { font-size: 0.88em; }
    .message-text { padding: 8px 12px; font-size: 0.88em; }
    .chatbot-input-container { padding: 9px 10px 11px; gap: 7px; }
    .chatbot-buttons { gap: 7px; }
    .chatbot-freeform-container { min-height: 44px; }
    .chatbot-input-field { height: 44px; font-size: 0.9em; }
    .chatbot-btn-send { height: 44px; min-width: 72px; font-size: 0.82em; }
    .chatbot-btn { padding: 9px 10px; font-size: 0.82em; }
}

@media (max-width: 480px) {
    .chatbot-container {
        bottom: 12px;
        left: 10px;
        right: auto;
    }
    .chatbot-window {
        width: calc(100vw - 20px);
        max-width: 360px;
        bottom: 76px;
        left: 10px;
        right: auto;
        max-height: 75vh;
    }
    .chatbot-messages { max-height: calc(75vh - 210px); padding: 10px; }
    .chatbot-button { width: 50px; height: 50px; font-size: 1.3em; }
    .chatbot-header { padding: 10px 12px; border-radius: 14px 14px 0 0; }
    .chatbot-header h3 { font-size: 0.85em; }
    .message-text { padding: 7px 10px; font-size: 0.86em; line-height: 1.45; }
    .chatbot-input-container { padding: 8px; }
    .chatbot-buttons { grid-template-columns: 1fr; gap: 6px; }
    .chatbot-input-field { padding: 8px 10px; font-size: 0.88em; height: 42px; }
    .chatbot-btn-send { padding: 0 12px; font-size: 0.8em; height: 42px; min-width: 70px; }
    .chatbot-btn { padding: 8px 10px; font-size: 0.78em; }
    .slot-btn { padding: 8px 12px; font-size: 0.82em; }
    .chatbot-freeform-container { gap: 6px; padding: 6px 0 0; }
}

@media (max-width: 420px) {
    .chatbot-container { bottom: 10px; left: 8px; right: auto; }
    .chatbot-window {
        width: calc(100vw - 16px);
        max-width: 300px;
        bottom: 70px;
        left: 8px;
        right: auto;
        max-height: 55vh;
    }
    .chatbot-button { width: 48px; height: 48px; font-size: 1.2em; }
    .chatbot-header { padding: 9px 11px; border-radius: 12px 12px 0 0; }
    .chatbot-header h3 { font-size: 0.8em; letter-spacing: 1px; }
    .chatbot-messages { max-height: 35vh; padding: 8px; }
    .message-text { max-width: 90%; padding: 6px 10px; font-size: 0.84em; }
    .chatbot-input-container { padding: 6px; }
    .chatbot-buttons { grid-template-columns: 1fr; gap: 5px; padding-bottom: 5px; }
    .chatbot-btn { padding: 8px 10px; font-size: 0.75em; }
    .chatbot-input-field { padding: 7px 9px; font-size: 0.85em; border-radius: 8px; }
    .chatbot-btn-send { padding: 7px 11px; font-size: 0.78em; border-radius: 8px; }
    .slot-btn { padding: 7px 10px; font-size: 0.78em; }
    .chatbot-freeform-container { gap: 5px; padding: 5px 0 0; }
}

/* ======================================= */
/* 13. ESTILOS PARA P�GINA DE EQUIPO */
/* ======================================= */
.team-profiles {
    background-color: #f8f8f8;
    padding: 80px 5%;
}

.team-profiles h2 {
    color: white;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.team-profiles h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background-color: #00d4ff;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.member-image {
    width: 100%;
    height: 300px;
    background-color: #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image {
    font-size: 5em;
    color: #555;
}

.member-info {
    padding: 30px;
}

.member-info h3 {
    color: #00d4ff;
    font-size: 1.6em;
    margin-bottom: 5px;
    text-align: left;
}

.member-info .role {
    color: #00d4ff;
    font-weight: 600;
    font-size: 0.95em;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.member-info .bio {
    color: #bbb;
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.specialties {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.specialties li {
    color: #aaa;
    font-size: 0.95em;
    padding: 8px 0;
    border-bottom: 1px solid #333;
}

.specialties li:last-child {
    border-bottom: none;
}

.member-info .social-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.member-info .social-links a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    margin-right: 15px;
    transition: color 0.3s;
}

.member-info .social-links a:hover {
    color: #00d4ff;
}

/* SECCI�N DE EQUIPO DESTACADO - FOTO Y DESCRIPCI�N */
.team-featured {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 100px;
    align-items: center;
    margin: 80px 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}

.featured-photo-wrapper {
    position: relative;
    perspective: 1000px;
    margin: 0;
    height: 100%;
}

.photo-frame {
    position: relative;
    z-index: 2;
    height: 100%;
}

.photo-border {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 30px 80px rgba(0, 200, 255, 0.4);
    border: none;
    background: #0f0f0f;
    height: 100%;
}

.photo-border img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

.featured-photo-wrapper:hover .photo-border img {
    transform: scale(1.03) rotate(0.3deg);
    filter: brightness(1.08);
}

/* Filtro blanco y negro elegante */
.bw-image {
    filter: grayscale(100%) contrast(1.15) brightness(0.92) saturate(0.8);
    transition: filter 0.6s ease;
}

.featured-photo-wrapper:hover .bw-image {
    filter: grayscale(70%) contrast(1.2) brightness(1.05) saturate(0.95);
}

/* Elemento decorativo detr�s de la foto */
.photo-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0, 200, 255, 0.3);
    border-radius: 25px;
    top: 20px;
    left: 20px;
    z-index: 1;
    opacity: 0.6;
}

.featured-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.description-accent-top {
    position: absolute;
    top: -20px;
    left: 0;
    width: 80px;
    height: 80px;
    border-top: 3px solid #00d4ff;
    border-left: 3px solid #00d4ff;
    border-radius: 20px;
    opacity: 0;
    display: none;
}

.featured-header {
    margin-bottom: 40px;
    margin-top: 20px;
}

.pre-title {
    color: #000000;
    font-size: 0.85em;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.featured-header h3 {
    color: #ffffff;
    font-size: 3.5em;
    margin-bottom: 12px;
    text-align: left;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.8px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6), 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-family: 'Montserrat', sans-serif;
}

.featured-header .role {
    color: #000000;
    font-weight: 700;
    font-size: 1.2em;
    text-align: left;
    text-transform: capitalize;
    letter-spacing: 1px;
    margin-bottom: 25px;
    font-style: normal;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.divider-line {
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, #00d4ff 0%, #00d4ff 80%, transparent 100%);
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0, 212, 255, 0.3);
}

.featured-bio {
    color: #000000;
    font-size: 1.15em;
    line-height: 1.95;
    margin-bottom: 35px;
    text-align: left;
    font-weight: 400;
    letter-spacing: 0.4px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.featured-description .specialties {
    margin: 40px 0;
    padding: 30px 35px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(15, 15, 15, 0.9) 100%);
    border-left: 5px solid #00d4ff;
    border-radius: 12px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.featured-description .specialties h4 {
    color: #00d4ff;
    font-size: 1.25em;
    margin-bottom: 20px;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.featured-description .specialties ul {
    list-style: none;
    padding: 0;
}

.specialty-icon {
    display: inline-block;
    margin-right: 12px;
    font-size: 1.2em;
}

.featured-description .specialties li {
    color: #bbb;
    font-size: 1em;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.08);
    transition: all 0.3s ease;
}

.featured-description .specialties li:hover {
    color: #00d4ff;
    padding-left: 8px;
}

.featured-description .specialties li:last-child {
    border-bottom: none;
}

.featured-social {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #000000 0%, #001a4d 100%);
    color: #00d4ff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    letter-spacing: 0.5px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    cursor: pointer;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
    border-color: rgba(0, 212, 255, 0.6);
}

/* Responsive para dispositivos m�viles */
@media (max-width: 768px) {
    .team-featured {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }
    
    .featured-header h3 {
        font-size: 1.8em;
    }
    
    .featured-bio {
        font-size: 0.95em;
    }
}

/* SECCI�N DE VALORES */
.our-values {
    background: linear-gradient(135deg, #050505 0%, #0d0d0d 100%);
    padding: 180px 5%;
    color: white;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.our-values h2 {
    color: white;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
}

.our-values h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background-color: #00d4ff;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 2px;
}

.philosophy-subtitle {
    font-size: 2.2em;
    color: #00d4ff;
    font-weight: 700;
    margin: 0 0 20px 0;
    min-height: 60px;
}

.rotating-philosophy {
    display: inline-block;
}

.rotating-methodology {
    display: inline-block;
}

.philosophy-description {
    font-size: 1.05em;
    color: #aaa;
    line-height: 1.8;
    margin: 0;
    width: 100%;
    min-height: 60px;
}

.rotating-philosophy-desc {
    display: inline-block;
}

.rotating-methodology-desc {
    display: inline-block;
}

/* ======================================= */
/* 14. ESTILOS PARA GALER�A */
/* ======================================= */
.gallery-section {
    background-color: #0a0a0a;
    padding: 35px 5%;
}

.gallery-section h2 {
    color: white;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.gallery-section h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background-color: #00d4ff;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 2px;
}

.gallery-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    height: 400px;
}

.gallery-item {
    position: relative;
    width: 500px;
    height: 400px;
    min-width: 500px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.6s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.05);
}

/* Ajuste: resplandor m�s apagado para tarjetas (cards) */
.card-muted-glow,
.benefit-card,
.mosaic-item,
.testimonial-card,
.team-member,
.location-box,
.direct-contact,
.contact-form-container,
.carousel-container,
.carousel-container-instalaciones,
.photo-border,
.gallery-item {
    box-shadow: 0 8px 25px rgba(0, 130, 180, 0.12) !important;
    border-color: rgba(0, 130, 180, 0.06) !important;
}

.card-muted-glow:hover,
.benefit-card:hover,
.mosaic-item:hover,
.testimonial-card:hover,
.team-member:hover,
.location-box:hover,
.direct-contact:hover,
.contact-form-container:hover,
.carousel-container:hover,
.carousel-container-instalaciones:hover,
.photo-border:hover,
.gallery-item:hover {
    box-shadow: 0 12px 35px rgba(0, 130, 180, 0.18) !important;
}

.placeholder-gallery {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.8) 0%, rgba(0, 51, 204, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(5px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    color: white;
    font-size: 1.3em;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ======================================= */
/* ROTACI�N DE IM�GENES EN GALER�A */
/* ======================================= */
.gallery-item {
    animation: fadeInOut 6s ease-in-out infinite;
}

.gallery-item:nth-child(1) {
    animation-delay: 0s;
}

.gallery-item:nth-child(2) {
    animation-delay: 1s;
}

.gallery-item:nth-child(3) {
    animation-delay: 2s;
}

.gallery-item:nth-child(4) {
    animation-delay: 3s;
}

.gallery-item:nth-child(5) {
    animation-delay: 4s;
}

.gallery-item:nth-child(6) {
    animation-delay: 5s;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
        transform: scale(0.9);
    }
    16%, 83% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ======================================= */
/* ROTATING TEXT EFFECT */
/* ======================================= */
.rotating-text {
    display: inline-block;
    min-height: 1.2em;
    animation: fadeInOut 4s infinite;
}

@keyframes fadeInOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    20%, 80% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================================= */
/* P�GINA DE CONTACTO */
/* ======================================= */

.page-intro {
    background: linear-gradient(135deg, #050505 0%, #0d0d0d 100%);
    color: white;
    text-align: center;
    padding: 60px 5%;
    margin-bottom: 0;
}

.page-intro h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.page-intro p {
    font-size: 1.1em;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
}

/* SECCI�N DE CONTACTO - GRID */
.contact-grid {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 50px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

/* FORMULARIO DE CONTACTO */
.contact-form-container {
    background: rgba(26, 26, 26, 0.8);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.contact-form-container h2 {
    color: white;
    font-size: 1.8em;
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form label {
    color: #aaa;
    font-weight: 600;
    font-size: 0.95em;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(0, 212, 255, 0.3);
    color: white;
    padding: 12px 15px;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95em;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.contact-form input::placeholder {
    color: #666;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a2540 100%);
    color: #00d4ff;
    border: 2px solid rgba(0, 212, 255, 0.4);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form button:hover {
    background: linear-gradient(135deg, #0a2540 0%, #1a1a1a 100%);
    color: #00d4ff;
    border-color: rgba(0, 212, 255, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.4);
}

/* INFORMACI�N DE UBICACIONES */
.location-info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.location-info-container h2 {
    color: white;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 10px;
}

.location-box {
    background: rgba(26, 26, 26, 0.8);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #00d4ff;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.15);
    transition: all 0.3s ease;
}

.location-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.3);
}

.location-box h3 {
    color: #00d4ff;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 700;
}

.location-box p {
    color: #bbb;
    margin: 8px 0;
    line-height: 1.6;
}

.location-box a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.location-box a:hover {
    color: #ff6b3d;
    text-decoration: underline;
}

.direct-contact {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 212, 255, 0.05) 100%);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.direct-contact h3 {
    color: white;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 700;
}

.direct-contact p {
    color: #bbb;
    margin: 12px 0;
}

.direct-contact a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.direct-contact a:hover {
    color: #00d4ff;
    text-decoration: underline;
}

.map-placeholder {
    background: rgba(26, 26, 26, 0.8);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    color: #666;
    border: 2px dashed rgba(0, 212, 255, 0.2);
}

/* RESPONSIVIDAD CONTACTO */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .page-intro h1 {
        font-size: 2em;
    }
    
    .contact-form-container,
    .location-box,
    .direct-contact {
        padding: 25px;
    }
    
    .contact-form {
        gap: 15px;
    }
}
/* ======================================= */
/* 15. ESTILOS PARA FORO */
:root {
    --vinyl-black: #080808;
    --deep-blue: #001220;
    --neon-cyan: #00e5ff;
    --text-gray: #b0b0b0;
}

.forum-section {
    position: relative;
    /* Fondo base negro profundo */
    background-color: #050505; 
    /* Efecto de luces ambientales en las esquinas */
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(0, 229, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(0, 229, 255, 0.05) 0%, transparent 40%);
    padding: 50px 5%;
    color: white;
    overflow: hidden;
}

/* FORUM SECTION MOBILE RESPONSIVE */
@media (max-width: 992px) {
    .forum-section {
        padding: 40px 5%;
    }
}

@media (max-width: 768px) {
    .forum-section {
        padding: 35px 5%;
    }
}

@media (max-width: 600px) {
    .forum-section {
        padding: 30px 5%;
    }
    .neon-divider {
        width: 80px;
        height: 2px;
        margin: 10px auto 30px;
    }
    .forum-post-box {
        padding: 20px 15px;
        gap: 15px;
        margin-bottom: 30px;
    }
    .user-avatar-placeholder {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
        flex-shrink: 0;
    }
    .forum-post-box form {
        flex: 1;
    }
    .forum-post-box input,
    .forum-post-box textarea {
        font-size: 0.9rem;
        padding: 10px;
    }
    .post-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .forum-item {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    .user-avatar {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    .item-header {
        gap: 10px;
        margin-bottom: 10px;
    }
    .user-name {
        font-size: 0.95rem;
    }
    .post-date {
        font-size: 0.8rem;
    }
    .user-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    .tag-rating {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .forum-section {
        padding: 25px 5%;
    }
    .forum-post-box {
        padding: 15px 12px;
        gap: 12px;
    }
    .forum-post-box input,
    .forum-post-box textarea {
        font-size: 0.85rem;
    }
    .user-avatar-placeholder {
        width: 36px;
        height: 36px;
    }
    .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
    .user-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 420px) {
    .neon-divider {
        width: 70px;
    }
    .forum-post-box {
        padding: 12px 10px;
        flex-direction: column;
    }
    .user-avatar-placeholder {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    .user-name {
        font-size: 0.9rem;
    }
    .user-text {
        font-size: 0.8rem;
    }
}
/* ?? CUADR�CULA T�CNICA (Grid de producci�n) */
.forum-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Crea un patr�n de puntos sutiles cada 40px */
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}
.forum-container {
    position: relative;
    z-index: 2; /* Para que el contenido est� sobre la textura */
    max-width: 850px;
    margin: 0 auto;
}

.neon-divider {
    width: 100px;
    height: 3px;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    margin: 10px auto 40px;
}

/* Caja de Post */
.forum-post-box {
    background: linear-gradient(145deg, #121212, var(--deep-blue));
    padding: 25px;
    border-radius: 12px;
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    border: 1px solid #1a1a1a;
}

.user-avatar-placeholder {
    width: 50px;
    height: 50px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
}

#forumForm {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#forumForm input, #forumForm textarea {
    background: #000;
    border: 1px solid #333;
    padding: 12px;
    border-radius: 6px;
    color: white;
    outline: none;
}

#forumForm input:focus, #forumForm textarea:focus {
    border-color: var(--neon-cyan);
}

.post-button {
    background: var(--neon-cyan);
    color: black;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    align-self: flex-end;
    transition: 0.3s;
}

.post-button:hover {
    box-shadow: 0 0 15px var(--neon-cyan);
    transform: scale(1.05);
}

/* Hilo de Mensajes */
.forum-thread {
    display: flex;
    flex-direction: column;
}

.forum-item {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.item-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.user-avatar {
    width: 45px;
    height: 45px;
    background: #0a0a0a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--neon-cyan);
    /* Borde ne�n y sombra externa */
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
    position: relative;
    z-index: 2;
}
/* Estilo para la l�nea que une los comentarios */
.vinyl-line {
    width: 2px;
    flex: 1;
    /* Degradado ne�n que se desvanece */
    background: linear-gradient(to bottom, 
        var(--neon-cyan) 0%, 
        rgba(0, 229, 255, 0.2) 50%, 
        transparent 100%);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
    margin: 10px 0;
}

.item-content {
    background: rgba(255, 255, 255, 0.03); /* Casi transparente */
    backdrop-filter: blur(10px); /* Desenfoque del fondo */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.item-content:hover {
    background: rgba(0, 229, 255, 0.02); /* Tinte cyan muy leve al pasar el mouse */
    border-color: rgba(0, 229, 255, 0.3);
    transform: scale(1.01);
}

.item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.user-name {
    font-weight: bold;
    color: var(--neon-cyan);
}

.post-date {
    font-size: 0.8rem;
    color: #666;
}

.user-text {
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.tag-rating {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--neon-cyan);
    background: rgba(0, 229, 255, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}
.carousel-practicas {
    flex: 1;
    position: relative;
    overflow: hidden;
    max-width: 800px;
}

.carousel-track-practicas {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-practica {
    min-width: 100%;
    position: relative;
}

.slide-practica img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    filter: brightness(0.8);
}

.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 242, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    font-size: 0.8rem;
    color: #00f2ff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.carousel-controls {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-end;
}

.btn-nav {
    background: transparent;
    border: 1px solid rgba(0, 242, 255, 0.3);
    color: #fff;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 0.7rem;
    letter-spacing: 2px;
    transition: 0.3s;
}

.btn-nav:hover {
    background: #00f2ff;
    color: #000;
}
/* Estilo para las miniaturas antes de hacer clic */
.practicas-hombrebala-galeria {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.practica-img {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
}

.practica-img:hover {
    border-color: #00d4ff;
    transform: translateY(-5px);
}

.overlay-play {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.practica-img:hover .overlay-play { opacity: 1; }

/* ======================================= */
/* SECCI�N CONTACTO DIRECTO - KIT DIGITAL */
/* ======================================= */
.contact-section {
    background: #050505;
    padding: 40px 5%;
    text-align: center;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.contact-section p {
    color: #ccc;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.footer-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-logos img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(80%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-logos img:hover {
    filter: grayscale(20%);
    opacity: 1;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 30px 5%;
    }
    
    .contact-section p {
        font-size: 0.88em;
        margin: 0 0 15px 0;
    }
    
    .footer-logos {
        gap: 15px;
    }
    
    .footer-logos img {
        height: 50px;
    }
}

@media (max-width: 600px) {
    .contact-section {
        padding: 25px 5%;
    }
    
    .contact-section p {
        font-size: 0.80em;
        margin: 0 0 12px 0;
        white-space: normal;
        overflow: visible;
    }
    
    .footer-logos {
        gap: 12px;
    }
    
    .footer-logos img {
        height: 40px;
    }
}

@media (max-width: 450px) {
    .contact-section {
        padding: 20px 5%;
    }
    
    .contact-section p {
        font-size: 0.75em;
        margin: 0 0 10px 0;
    }
    
    .footer-logos {
        gap: 10px;
    }
    
    .footer-logos img {
        height: 35px;
    }
}

/* ========== CAROUSEL SECTION - PR�CTICAS HOMBRE BALA ========== */

.practices-carousel-section {
    background: #050505;
    padding: 80px 5%;
    border-top: 1px solid rgba(0, 212, 255, 0.15);
}

.practices-header {
    text-align: center;
    margin-bottom: 50px;
}

.practices-header .tech-id {
    font-size: 0.7rem;
    letter-spacing: 3px;
    margin-bottom: 12px;
    opacity: 0.6;
    display: block;
}

.practices-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 16px 0;
    line-height: 1.2;
    color: #ffffff;
}

.practices-header h2 span {
    color: #00d4ff;
}

.practices-header .section-description {
    font-size: 0.95em;
    color: #999;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.carousel-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.carousel-wrapper {
    position: relative;
}

.carousel-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
    background: #0a0f1f;
    min-height: 500px;
    width: 100%;
}

.carousel-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image {
    position: absolute !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: opacity 0.4s ease;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.4);
    color: #00d4ff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(0, 212, 255, 0.4);
    border-color: rgba(0, 212, 255, 0.8);
    color: #ffffff;
}

.prev-btn {
    left: -70px;
}

.next-btn {
    right: -70px;
}

.carousel-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    color: #00d4ff;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 5;
}

.session-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.session-info h3 {
    font-size: 1.5em;
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.session-info p {
    font-size: 0.95em;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

.session-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 0.9em;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.detail-item .label {
    color: #00d4ff;
    font-weight: 700;
    letter-spacing: 1px;
    min-width: 100px;
}

.detail-item span:last-child {
    color: #999;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9em;
    padding: 12px 24px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    width: fit-content;
}

.instagram-link:hover {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    color: #ffffff;
}

/* RESPONSIVE: Tablet */
@media (max-width: 900px) {
    .practices-carousel-section {
        padding: 60px 5%;
    }
    
    .practices-header h2 {
        font-size: 1.8rem;
    }
    
    .carousel-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .carousel-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
}

/* RESPONSIVE: Mobile */
@media (max-width: 768px) {
    .practices-carousel-section {
        padding: 50px 5%;
    }
    
    .practices-header {
        margin-bottom: 40px;
    }
    
    .practices-header h2 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .practices-header .tech-id {
        font-size: 0.6rem;
        margin-bottom: 8px;
    }
    
    .practices-header .section-description {
        font-size: 0.85em;
    }
    
    .carousel-main {
        aspect-ratio: 3/4;
        max-width: 100%;
    }
    
    .session-info h3 {
        font-size: 1.2em;
    }
    
    .session-info p {
        font-size: 0.9em;
    }
    
    .prev-btn,
    .next-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
        left: 8px;
    }
    
    .next-btn {
        left: auto;
        right: 8px;
    }
}

@media (max-width: 600px) {
    .practices-carousel-section {
        padding: 40px 4%;
    }
    
    .carousel-container {
        gap: 30px;
    }
    
    .carousel-wrapper {
        max-width: 100%;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .prev-btn {
        left: 4px;
    }
    
    .next-btn {
        right: 4px;
    }
    
    .carousel-indicator {
        font-size: 0.8em;
        bottom: 12px;
        padding: 6px 12px;
    }
    
    .session-info {
        gap: 18px;
    }
    
    .session-info h3 {
        font-size: 1.1em;
    }
    
    .session-info p {
        font-size: 0.85em;
    }
    
    .detail-item {
        gap: 8px;
        font-size: 0.85em;
        padding-bottom: 10px;
    }
    
    .detail-item .label {
        min-width: 90px;
        font-size: 0.8em;
    }
}

@media (max-width: 420px) {
    .practices-carousel-section {
        padding: 30px 4%;
    }
    
    .practices-header h2 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .practices-header .tech-id {
        font-size: 0.52rem;
        margin-bottom: 6px;
    }
    
    .practices-header .section-description {
        font-size: 0.78em;
    }
    
    .carousel-container {
        gap: 24px;
    }
    
    .carousel-main {
        aspect-ratio: 2.5/3.5;
    }
    
    .session-info h3 {
        font-size: 1em;
    }
    
    .session-info p {
        font-size: 0.8em;
    }
    
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .carousel-indicator {
        font-size: 0.75em;
        bottom: 8px;
        padding: 5px 10px;
    }
}
