/* ================================================
   METANOIIA CORPORATION - DISEÑO EMPRESARIAL COMPACTO
   UI/UX Optimizado - Profesional y Versátil
================================================ */

/* ===== VARIABLES ===== */
:root {
    --primary: #00a99d;
    --primary-dark: #008c82;
    --secondary: #ff6b6b;
    --dark: #2c3e50;
    --gray: #5a6c7d;
    --light-gray: #e8ecef;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.12);
    
    --radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ===== NAVEGACIÓN COMPACTA ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 1001;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

/* Botón hamburguesa para móvil */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Menú de navegación */
.nav-menu {
    display: flex;
    gap: 8px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    position: relative;
}

.nav-link:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--primary);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Botón Aulas Virtuales */
.btn-aulas-virtuales {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 169, 157, 0.3);
}

.btn-aulas-virtuales:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 169, 157, 0.4);
}

.btn-aulas-virtuales::after {
    display: none;
}

/* Botón Inscripciones */
.nav-link-inscripciones {
    background: var(--secondary);
    color: white !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.nav-link-inscripciones:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.nav-link-inscripciones::after {
    display: none;
}

/* Botón Contacto */
.btn-contact {
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    font-weight: 600;
}

.btn-contact:hover {
    background: var(--primary);
    color: white !important;
}

.btn-contact::after {
    display: none;
}

/* ===== PRELOADER ELEGANTE Y PROFESIONAL ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.logo-container {
    position: relative;
    margin-bottom: 40px;
}

.preloader-logo {
    width: 120px;
    height: auto;
    animation: logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 169, 157, 0.2));
}

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

.logo-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shine 2.5s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.motto-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.motto-word {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    opacity: 0;
    animation: wordAppear 0.6s ease-out forwards;
}

.motto-word-1 {
    animation-delay: 0.3s;
    color: var(--primary);
}

.motto-word-2 {
    animation-delay: 0.6s;
    color: var(--dark);
}

.motto-word-3 {
    animation-delay: 0.9s;
    color: var(--secondary);
}

@keyframes wordAppear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.motto-separator {
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0;
    animation: separatorPulse 0.5s ease-out forwards;
}

.motto-container .motto-separator:nth-of-type(1) {
    animation-delay: 0.45s;
}

.motto-container .motto-separator:nth-of-type(2) {
    animation-delay: 0.75s;
}

@keyframes separatorPulse {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.loading-bar {
    width: 250px;
    height: 4px;
    background: rgba(0, 169, 157, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    animation: barAppear 0.5s ease-out forwards;
    animation-delay: 1.2s;
    opacity: 0;
}

@keyframes barAppear {
    to {
        opacity: 1;
    }
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% 100%;
    border-radius: 10px;
    animation: progressMove 1.5s ease-in-out infinite;
    width: 0;
    animation: progressGrow 2s ease-out forwards, progressMove 1.5s ease-in-out infinite;
    animation-delay: 1.2s, 1.2s;
}

@keyframes progressGrow {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

@keyframes progressMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

/* ===== HERO COMPACTO ===== */
.hero {
    padding: 100px 0 70px;
    background: linear-gradient(135deg, #e8f4f3 0%, #f0f9f8 50%, #e8f4f3 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0,169,157,0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(0,169,157,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-title .highlight {
    color: var(--primary);
    display: block;
    font-size: 3.2rem;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--primary), #008577);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-motto {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 25px 0;
    padding: 16px 35px;
    background: rgba(255,255,255,0.8);
    border-radius: 50px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 20px rgba(0,169,157,0.1);
}

.motto-icon {
    font-size: 1.6rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-motto h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    font-style: italic;
}

.hero-tagline {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 30px;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 35px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #008577);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,169,157,0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,169,157,0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,169,157,0.1);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,169,157,0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    position: relative;
    animation: mouse-scroll 2s infinite;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: mouse-wheel 2s infinite;
}

@keyframes mouse-scroll {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes mouse-wheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 24px; }
}

/* ===== SECTIONS COMPACTAS ===== */
section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-logo {
    margin-bottom: 15px;
}

.section-logo-img {
    width: 60px;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

.section-title-main {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.title-highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.motto-highlight {
    margin-top: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: linear-gradient(135deg, rgba(0,169,157,0.1), rgba(0,169,157,0.05));
    border-radius: 50px;
    border: 2px solid rgba(0,169,157,0.2);
}

.motto-text {
    font-style: italic;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.05rem;
}

/* ===== ABOUT SECTION COMPACTA ===== */
.about-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.about-card {
    background: white;
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,169,157,0.12);
    border-color: rgba(0,169,157,0.2);
}

.about-card .card-icon {
    margin-bottom: 15px;
}

.about-card .card-icon i {
    font-size: 2.5rem;
    color: var(--primary);
    display: inline-block;
    transition: var(--transition);
}

.about-card:hover .card-icon i {
    transform: scale(1.1) rotate(5deg);
}

.about-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.about-card p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.6;
}

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

.mission-card {
    background: white;
    padding: 40px 35px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.mission-card:hover::before {
    transform: scaleX(1);
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,169,157,0.15);
    border-color: rgba(0,169,157,0.2);
}

.mission-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    transition: var(--transition);
}

.mission-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.mission-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.mission-card p {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.7;
}

.card-icon-circle {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-icon-circle i {
    font-size: 2rem;
    color: white;
}

.mission-card h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.mission-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* ===== STATEMENT HERO CON CEREBRO MINDMAP ===== */
.statement-hero-ultra {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 50px 30px 60px;
    text-align: center;
    color: white;
    margin: 40px 0;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,169,157,0.25);
}

.statement-main-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

/* Título */
.statement-header {
    margin-bottom: 60px;
}

.statement-mega-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 15px;
}

.title-line-1 {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 8px;
}

.title-line-2 {
    display: block;
    font-size: 2.4rem;
}

.rotating-text {
    color: #ffd700;
    font-style: italic;
}

.statement-subtitle {
    font-size: 1.05rem;
    opacity: 0.9;
    margin: 0;
}

/* ===== CARRUSEL DE TARJETAS ===== */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 50px auto;
    padding: 0 60px;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-card {
    min-width: 100%;
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,169,157,0.15);
    border: 2px solid rgba(0,169,157,0.1);
    opacity: 0.3;
    transform: scale(0.95);
    transition: all 0.5s ease;
}

.carousel-card.active {
    opacity: 1;
    transform: scale(1);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0,169,157,0.25);
}

/* Icono del carrusel */
.card-icon-carousel {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 15px 40px rgba(0,169,157,0.35);
    animation: float 3s ease-in-out infinite;
}

.card-icon-carousel i {
    font-size: 2.8rem;
    color: white;
}

.carousel-card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    font-family: Georgia, serif;
}

.carousel-card p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Botones de navegación */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,169,157,0.2);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0,169,157,0.4);
}

.carousel-btn i {
    font-size: 1.2rem;
    color: var(--primary);
    transition: color 0.3s;
}

.carousel-btn:hover i {
    color: white;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

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

.indicator {
    width: 12px;
    height: 12px;
    background: rgba(0,169,157,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background: rgba(0,169,157,0.6);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--primary);
    width: 35px;
    border-radius: 10px;
}

/* Animación float */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== IMPACT BADGES COMPACTOS EN FILA ===== */
.statement-footer {
    margin-top: 35px;
}

.impact-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.impact-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.impact-badge i {
    font-size: 1.3rem;
}

.impact-badge:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.5);
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.badge-pulse {
    animation: pulse-badge 3s ease-in-out infinite;
}

.badge-1 {
    animation-delay: 0s;
}

.badge-2 {
    animation-delay: 0.5s;
}

.badge-3 {
    animation-delay: 1s;
}

/* ===== STATS COMPACTO ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 50px auto 0;
    max-width: 850px;
}

.stat-item,
.stat-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 2px solid rgba(0,169,157,0.1);
}

.stat-item::before,
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.stat-item:hover::before,
.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-item:hover,
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.18);
    border-color: var(--primary);
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--dark);
    display: block;
    margin-bottom: 12px;
    line-height: 1;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--dark);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-color: rgba(255,255,255,0.3);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    display: block;
    margin-bottom: 12px;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===== FEATURES SHOWCASE COMPACTO Y ELEGANTE ===== */
.features-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 35px 0;
}

.feature-item {
    background: rgba(255,255,255,0.15);
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.feature-item .feature-icon {
    margin-bottom: 12px;
}

.feature-item .feature-icon i {
    font-size: 2.2rem;
    color: white;
    display: inline-block;
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.feature-item:hover .feature-icon i {
    transform: scale(1.1);
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    font-weight: 700;
    color: white;
}

.feature-item p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
    margin: 0;
}

.feature-box-ultra {
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    padding: 35px 28px;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
}

.feature-box-ultra::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.feature-box-ultra:hover::before {
    left: 100%;
}

.feature-box-ultra:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.15));
    transform: translateY(-8px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

.feature-icon-ultra {
    font-size: 3rem;
    margin-bottom: 18px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

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

.feature-box-ultra h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-box-ultra p {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.6;
}

/* ===== CTA BUTTON COMPACTO ===== */
.cta-mega-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--primary);
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
    border: 2px solid transparent;
}

.cta-mega-button:hover {
    background: #ffd700;
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(255,215,0,0.4);
}

.cta-mega-button i {
    transition: var(--transition);
}

.cta-mega-button:hover i {
    transform: translateX(5px);
}

/* ===== FLOATING ELEMENTS (EMOJIS) ===== */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.float-element {
    position: absolute;
    font-size: 2.5rem;
    animation: float-random 6s ease-in-out infinite;
    opacity: 0.7;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.element-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 25%;
    right: 12%;
    animation-delay: 1s;
}

.element-3 {
    top: 45%;
    left: 8%;
    animation-delay: 2s;
}

.element-4 {
    top: 65%;
    right: 15%;
    animation-delay: 1.5s;
}

.element-5 {
    top: 80%;
    left: 20%;
    animation-delay: 0.5s;
}

.element-6 {
    top: 50%;
    right: 8%;
    animation-delay: 2.5s;
}

@keyframes float-random {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(-25px) rotate(-5deg);
    }
    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

/* ===== WORKSHOPS SECTION COMPACTA ===== */
.workshops-section {
    background: white;
    padding: 80px 0;
}

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

.workshop-card-modern {
    background: white;
    border-radius: 20px;
    padding: 35px;
    transition: all 0.3s ease;
    border: 2px solid rgba(0,169,157,0.1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

.workshop-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.workshop-card-modern:hover::before {
    transform: scaleX(1);
}

.workshop-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,169,157,0.2);
    border-color: var(--primary);
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.workshop-icon-modern {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,169,157,0.3);
}

.workshop-icon-modern i {
    font-size: 2rem;
    color: white;
}

.card-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0,169,157,0.12);
    font-family: Georgia, serif;
}

/* Card Content */
.card-content {
    margin-bottom: 25px;
}

.card-content h3 {
    font-size: 1.6rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.card-description {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.workshop-features-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.workshop-features-modern li {
    padding: 10px 0;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
}

.workshop-features-modern i {
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Card Footer */
.card-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,169,157,0.1);
}

.card-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,169,157,0.2);
}

.card-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,169,157,0.3);
}


/* ===== ADDITIONAL WORKSHOPS (Y MUCHOS MÁS) ===== */
.additional-workshops {
    margin-top: 70px;
    padding-top: 60px;
    border-top: 2px solid rgba(0,169,157,0.1);
}

.additional-workshops h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    margin-bottom: 15px;
}

.additional-workshops > p {
    text-align: center;
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 45px;
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.additional-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid rgba(0,169,157,0.1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.additional-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.additional-card:hover::before {
    transform: scaleX(1);
}

.additional-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,169,157,0.15);
    border-color: var(--primary);
}

.additional-card i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    transition: var(--transition);
}

.additional-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.additional-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.additional-card p {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ===== COURSES CTA COMPACTO ===== */
.courses-section {
    background: var(--bg-light);
    padding: 50px 0;
}

.courses-cta-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.cta-icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-icon-circle i {
    font-size: 2.5rem;
    color: white;
}

.cta-content-compact {
    flex-grow: 1;
    color: white;
}

.cta-content-compact h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.cta-content-compact p {
    font-size: 1rem;
    opacity: 0.95;
}

.btn-courses {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary);
    padding: 14px 30px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-courses:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== METHODOLOGY TIMELINE COMPACTO ===== */
.methodology-section {
    background: white;
}

/* ===== TIMELINE HORIZONTAL ===== */
.timeline-container {
    margin: 50px 0;
    position: relative;
    padding: 50px 0;
}

.timeline-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 35px;
    height: 4px;
    width: calc(100% - 100px);
    margin: 0 50px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.timeline-step {
    display: inline-block;
    width: calc(33.333% - 20px);
    margin: 0 10px;
    position: relative;
    vertical-align: top;
}

.timeline-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -15px;
    width: 30px;
    height: 30px;
    z-index: 2;
}

.dot-inner {
    width: 100%;
    height: 100%;
    background: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0,169,157,0.3);
}

.timeline-step:nth-child(2) .dot-inner {
    border-color: var(--secondary);
    color: var(--secondary);
}

.timeline-step:nth-child(3) .dot-inner {
    border-color: #ffa502;
    color: #ffa502;
}

.timeline-card {
    background: var(--bg-light);
    padding: 60px 25px 25px;
    border-radius: 16px;
    margin: 0;
    flex-grow: 1;
    transition: var(--transition);
    position: relative;
    border-top: 4px solid transparent;
}

.timeline-step:nth-child(1) .timeline-card {
    border-top-color: var(--primary);
}

.timeline-step:nth-child(2) .timeline-card {
    border-top-color: var(--secondary);
}

.timeline-step:nth-child(3) .timeline-card {
    border-top-color: #ffa502;
}

.timeline-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.card-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-icon-timeline {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
}

.card-icon-timeline i {
    font-size: 1.5rem;
    color: var(--primary);
}

.timeline-card h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.timeline-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray);
}

.card-features i {
    color: var(--primary);
}

/* ===== IKIGAI VENN - VERSIÓN COMPACTA ===== */
.ikigai-venn-section {
    margin: 60px 0;
    padding: 50px 30px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

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

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 15px;
}

.ikigai-header-venn h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.ikigai-subtitle-venn {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.venn-diagram-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 600px;
    margin: 0 auto;
}

.venn-circle {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

.circle-love {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 107, 107, 0.25), rgba(255, 107, 107, 0.05));
    border: 3px solid var(--secondary);
}

.circle-good {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0, 169, 157, 0.25), rgba(0, 169, 157, 0.05));
    border: 3px solid var(--primary);
}

.circle-paid {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.05));
    border: 3px solid #d4af37;
}

.circle-need {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(108, 99, 255, 0.25), rgba(108, 99, 255, 0.05));
    border: 3px solid #6c63ff;
}

.venn-circle:hover {
    z-index: 2;
}

.circle-love:hover {
    transform: translateX(-50%) scale(1.05);
}

.circle-good:hover {
    transform: translateX(-50%) scale(1.05);
}

.circle-paid:hover,
.circle-need:hover {
    transform: translateY(-50%) scale(1.05);
}

.circle-content {
    text-align: center;
    z-index: 2;
}

.circle-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    box-shadow: var(--shadow-sm);
}

.circle-love .circle-icon i {
    font-size: 1.8rem;
    color: var(--secondary);
}

.circle-good .circle-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.circle-paid .circle-icon i {
    font-size: 1.8rem;
    color: #d4af37;
}

.circle-need .circle-icon i {
    font-size: 1.8rem;
    color: #6c63ff;
}

.circle-content h4 {
    font-size: 1.15rem;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.3;
}

.ikigai-center-point {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.center-core {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.center-core i {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 8px;
}

.center-core span {
    font-size: 1.1rem;
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
}

.intersection-label {
    position: absolute;
    background: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark);
    box-shadow: var(--shadow-sm);
    z-index: 5;
}

.label-passion {
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--secondary);
}

.label-mission {
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
}

.label-vocation {
    top: 50%;
    left: 60px;
    transform: translateY(-50%);
    color: #d4af37;
}

.label-profession {
    top: 50%;
    right: 60px;
    transform: translateY(-50%);
    color: #6c63ff;
}

/* ===== CLIENTS SECTION COMPACTO ===== */
.clients-section {
    background: var(--bg-light);
}

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

.client-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--primary);
}

.client-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.client-card:hover .client-icon {
    transform: rotateY(360deg);
}

.client-icon i {
    font-size: 2rem;
    color: white;
}

.client-card h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.client-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* ===== TESTIMONIALS SECTION COMPACTO ===== */
.testimonials-section {
    background: white;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    min-height: 280px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    pointer-events: auto;
}

.testimonial-content {
    position: relative;
    margin-bottom: 25px;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -15px;
    left: -10px;
}

.testimonial-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray);
    font-style: italic;
    padding-left: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 4px;
    font-weight: 700;
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.slider-btn {
    width: 45px;
    height: 45px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary);
}

.slider-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #d0d0d0;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    width: 25px;
    border-radius: 10px;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    background: white;
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.85) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-overlay i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 3rem;
    color: white;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: translate(-50%, -50%) scale(1);
}

.gallery-info {
    position: relative;
    z-index: 1;
}

.gallery-category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-info h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.gallery-info p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    margin: 0;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gallery-modal-content {
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5);
}

.gallery-modal-info {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 30px 40px;
    margin-top: 30px;
    text-align: center;
    max-width: 600px;
}

.gallery-modal-category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-modal-info h3 {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    font-family: Georgia, serif;
}

.gallery-modal-info p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin: 8px 0;
}

/* Modal Navigation */
.gallery-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gallery-modal-close:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: rotate(90deg);
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gallery-modal-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.gallery-modal-nav.prev {
    left: 30px;
}

.gallery-modal-nav.next {
    right: 30px;
}

.gallery-modal-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 25px;
    border-radius: 30px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

/* ===== CONTACT SECTION COMPACTO ===== */
.contact-section {
    background: var(--bg-light);
}

.promo-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, #ff4757 100%);
    border-radius: 20px;
    padding: 35px 35px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255,75,87,0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.promo-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-badge i {
    font-size: 1.6rem;
    color: white;
}

.promo-content {
    color: white;
    max-width: 650px;
}

.promo-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.promo-title {
    font-size: 2rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.promo-highlight {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 20px;
    border-radius: 10px;
}

.promo-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.95;
}

.promo-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.promo-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.95rem;
}

.btn-promo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--secondary);
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-promo:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: start;
}

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

.info-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.info-card i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.info-card h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.info-card p {
    color: var(--gray);
    line-height: 1.6;
}

.service-area {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-top: 8px;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 35px;
    border-radius: var(--radius);
    color: white;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.cta-box h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.cta-box p {
    margin-bottom: 20px;
    opacity: 0.95;
    line-height: 1.7;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 18px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 169, 157, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 35px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== FOOTER COMPACTO ===== */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    position: relative;
    padding-top: 60px;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(-99%) rotate(180deg);
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.footer-wave .shape-fill {
    fill: #2c3e50;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-about {
    padding-right: 20px;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 65px;
    height: auto;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
}

.footer-logo-section h3 {
    font-size: 1.6rem;
    margin-bottom: 3px;
    font-weight: 800;
    color: white;
}

.logo-subtitle {
    font-size: 0.9rem;
    opacity: 0.75;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-description {
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-motto {
    background: rgba(0, 169, 157, 0.15);
    padding: 15px 18px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-motto i {
    font-size: 1.1rem;
    color: var(--primary);
    margin-top: 3px;
}

.footer-motto p {
    line-height: 1.6;
    font-style: italic;
    font-size: 0.9rem;
    margin: 0;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 800;
    position: relative;
    padding-bottom: 12px;
    color: white;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 5px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    padding: 5px 0;
    font-size: 0.95rem;
}

.footer-links li a:hover {
    color: var(--primary);
    transform: translateX(8px);
}

.footer-links i {
    font-size: 0.7rem;
    color: var(--primary);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.7;
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer-contact i {
    font-size: 1.1rem;
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
    width: 20px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-contact span {
    color: rgba(255, 255, 255, 0.9);
}

.phone-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-social {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social h5 {
    font-size: 1.05rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: white;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.15rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 169, 157, 0.3);
}

.social-handle {
    font-size: 0.9rem;
    opacity: 0.7;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.footer-bottom {
    padding: 30px 0;
}

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

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.9rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

.footer-bottom-links span {
    opacity: 0.5;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 169, 157, 0.4);
}

/* ===== MODALS ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    margin: 5% auto;
    max-width: 750px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: 30px 35px 20px;
    border-bottom: 2px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.8rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.modal-header i {
    color: var(--primary);
}

.modal-close {
    width: 35px;
    height: 35px;
    background: var(--light-gray);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--secondary);
    color: white;
}

.modal-body {
    padding: 30px 35px;
    overflow-y: auto;
    flex-grow: 1;
}

.modal-date {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.modal-section {
    margin-bottom: 25px;
}

.modal-section h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.modal-section p {
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 10px;
}

.modal-section ul {
    margin-left: 20px;
    line-height: 1.7;
    color: var(--gray);
}

.modal-section li {
    margin-bottom: 8px;
}

.modal-footer {
    padding: 20px 35px;
    border-top: 2px solid var(--light-gray);
    display: flex;
    justify-content: flex-end;
}

.modal-footer .btn {
    padding: 12px 30px;
    border-radius: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .container {
        padding: 0 25px;
    }
    
    .nav-container {
        padding: 12px 25px;
    }
    
    /* Mostrar botón hamburguesa en móvil */
    .nav-toggle {
        display: flex;
    }
    
    /* Menú móvil */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 5px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link,
    .btn-aulas-virtuales,
    .nav-link-inscripciones,
    .btn-contact {
        width: 100%;
        text-align: left;
        justify-content: flex-start;
        padding: 12px 18px;
    }
    
    .nav-link::after {
        display: none;
    }
    
    /* Animación botón hamburguesa */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Overlay cuando el menú está abierto */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }
    
    .nav-menu.active::before {
        opacity: 1;
        pointer-events: auto;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    /* Grids responsive */
    .features-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .additional-grid {
        grid-template-columns: 1fr;
    }
    
    /* Workshops responsive - 2 columnas en tablet */
    .featured-workshops {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Statement section responsive */
    .statement-hero-ultra {
        padding: 40px 25px;
    }
    
    .title-line-2 {
        font-size: 2rem;
    }
    
    /* Mindmap responsive para tablets */
    .brain-mindmap-container {
        height: 500px;
    }
    
    .brain-center {
        width: 120px;
        height: 120px;
    }
    
    .brain-icon i {
        font-size: 3rem;
    }
    
    .mindmap-node {
        width: 160px;
        padding: 15px;
    }
    
    .node-icon {
        width: 40px;
        height: 40px;
    }
    
    .node-icon i {
        font-size: 1.2rem;
    }
    
    .mindmap-node h4 {
        font-size: 1rem;
    }
    
    .mindmap-node p {
        font-size: 0.85rem;
    }
    
    /* Badges responsive */
    .impact-badges {
        flex-direction: column;
        gap: 12px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .impact-badge {
        justify-content: center;
    }
    
    /* Timeline responsive - stack vertical en tablets */
    .timeline-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .timeline-step {
        width: 100%;
        margin: 0;
    }
    
    .timeline-line {
        display: none;
    }
    
    .timeline-dot {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        margin-bottom: 15px;
        display: inline-block;
    }
    
    .timeline-card {
        padding: 25px;
    }
    
    .courses-cta-compact {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-dot {
        left: 8px;
    }
    
    .timeline-card {
        margin-left: 60px;
    }
    
    .venn-diagram-container {
        height: 500px;
    }
    
    .venn-circle {
        width: 280px;
        height: 280px;
    }
    
    .center-core {
        width: 100px;
        height: 100px;
    }
    
    .center-core i {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    /* Footer tablet */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-about {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
        text-align: center;
    }
    
    .footer-logo-section {
        align-items: center;
    }
    
    .footer-motto {
        text-align: left;
    }
    
    .footer-col h4 {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 10px 20px;
    }
    
    .hero {
        padding: 80px 0 50px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .section-title-main {
        font-size: 1.9rem;
    }
    
    .statement-hero-ultra {
        padding: 45px 25px;
    }
    
    .statement-hero-ultra h2 {
        font-size: 2rem;
    }
    
    .rotating-text {
        font-size: 1.6rem;
    }
    
    /* Responsive para grids en móvil */
    .features-showcase {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 4rem;
    }
    
    .additional-workshops h3 {
        font-size: 1.8rem;
    }
    
    /* Statement mobile */
    .statement-mega-title {
        font-size: 1.8rem;
    }
    
    .title-line-2 {
        font-size: 2rem;
    }
    
    .statement-subtitle {
        font-size: 0.95rem;
    }
    
    /* Workshops mobile - 1 columna apilada */
    .featured-workshops {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .workshop-icon-modern {
        width: 60px;
        height: 60px;
    }
    
    .workshop-icon-modern i {
        font-size: 1.6rem;
    }
    
    .card-number {
        font-size: 2rem;
    }
    
    .card-content h3 {
        font-size: 1.4rem;
    }
    
    .card-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    /* Carrusel mobile */
    .carousel-container {
        padding: 0 50px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn i {
        font-size: 1rem;
    }
    
    .carousel-card {
        padding: 40px 25px;
    }
    
    .card-icon-carousel {
        width: 80px;
        height: 80px;
    }
    
    .card-icon-carousel i {
        font-size: 2.2rem;
    }
    
    .carousel-card h3 {
        font-size: 1.6rem;
    }
    
    .carousel-card p {
        font-size: 1rem;
    }

    .stacked-card h3 {
        font-size: 1.3rem;
    }
    
    .stacked-card p {
        font-size: 0.95rem;
    }
    
    /* Gallery mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-modal-content {
        max-width: 95%;
    }
    
    .gallery-modal-content img {
        max-height: 50vh;
    }
    
    .gallery-modal-info {
        padding: 20px 25px;
        margin-top: 20px;
    }
    
    .gallery-modal-info h3 {
        font-size: 1.5rem;
    }
    
    .gallery-modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .gallery-modal-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .gallery-modal-nav.prev {
        left: 15px;
    }
    
    .gallery-modal-nav.next {
        right: 15px;
    }
    
    .gallery-modal-counter {
        bottom: 15px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Timeline mobile - completamente vertical */
    .timeline-container {
        padding: 30px 0;
    }
    
    .timeline-dot {
        margin-bottom: 10px;
    }
    
    .promo-banner {
        padding: 30px 25px;
    }
    
    .promo-title {
        font-size: 1.6rem;
    }

    
    .promo-title {
        font-size: 2rem;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    /* Footer mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-about {
        grid-column: 1;
        text-align: center;
    }
    
    .footer-logo-section {
        align-items: center;
    }
    
    .footer-col {
        text-align: left;
    }
    
    .footer-col h4 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .footer-links,
    .footer-contact {
        gap: 12px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-content {
        margin: 10% 15px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }
    
    .venn-diagram-container {
        height: 400px;
    }
    
    .venn-circle {
        width: 220px;
        height: 220px;
    }
    
    .circle-icon {
        width: 50px;
        height: 50px;
    }
    
    .circle-icon i {
        font-size: 1.5rem;
    }
    
    .circle-content h4 {
        font-size: 1rem;
    }
    
    .center-core {
        width: 90px;
        height: 90px;
    }
    
    .center-core i {
        font-size: 1.8rem;
    }
    
    .center-core span {
        font-size: 0.95rem;
    }
    
    .intersection-label {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title-main {
        font-size: 1.7rem;
    }
    
    .promo-title {
        font-size: 1.6rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-promo {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .venn-diagram-container {
        height: 350px;
    }
    
    .venn-circle {
        width: 180px;
        height: 180px;
    }
    
    .center-core {
        width: 75px;
        height: 75px;
    }
    
    .center-core i {
        font-size: 1.5rem;
    }
    
    .center-core span {
        font-size: 0.85rem;
    }
}
