       /* ============================================
RESET CRÍTICO - DEBE ESTAR AL INICIO (LIMPIO)
============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;

    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
}

/* ============================================
VARIABLES
============================================ */
:root {
    --dark: #000000;
    --gold: #d4af37;
    --light: #ffffff;
    --text-dark: #2d2d2d;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --white-bg: #f9f9f9;
}

/* ============================================
TEXTURAS Y UTILIDADES
============================================ */
.section-white {
    background-image:
        linear-gradient(rgba(249, 249, 249, 0.8), rgba(249, 249, 249, 0.8)),
        radial-gradient(circle, rgba(240, 240, 240, 0.2) 1px, transparent 1px);
    background-size: 100% 100%, 20px 20px;
}

/* ============================================
HEADER Y NAVBAR (NO MODIFICADO)
============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1000;
    padding: 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.85);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header.scrolled {
    background: rgba(0, 0, 0, 0.95);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.9rem;
    color: var(--light);
    position: relative;
    z-index: 1002;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo img {
    height: 45px;
    width: auto;
    max-width: 100%;
}

nav {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.2rem;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.7rem 0;
    transition: var(--transition);
    font-size: 1.05rem;
    white-space: nowrap;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

nav a:hover:after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.7rem;
    cursor: pointer;
    margin-left: auto;
    position: relative;
    z-index: 1003;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-toggle:hover {
    transform: scale(1.1);
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

/* IMPORTANTE: esto evita que el icono desaparezca */
.mobile-toggle i {
    font-size: 1.7rem;
    color: var(--light);
    display: inline-block;
    line-height: 1;
}

@media (max-width: 768px) {
    header {
        padding: 16px 16px;
        width: 100vw;
        max-width: 100vw;
    }

    .logo {
        font-size: 1.4rem;
    }

    .logo img {
        height: 38px;
    }

    .mobile-toggle {
        display: flex;
    }

    nav {
        margin: 0;
        padding: 0;
    }

    nav ul {
        display: flex;
        position: fixed;
        top: 74px;
        right: -100%;
        flex-direction: column;
        background: var(--dark);
        width: 85%;
        max-width: 320px;
        height: calc(100vh - 74px);
        padding: 18px 18px;
        transition: right 0.35s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        z-index: 999;
        overflow-y: auto;
        box-sizing: border-box;
    }

    nav ul.active {
        right: 0;
    }

    nav a {
        display: block;
        padding: 1rem 0;
        font-size: 1.2rem;
        text-align: left;
        width: 100%;
        position: relative;
        white-space: normal;
    }

    nav ul::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
    }

    @supports (-webkit-overflow-scrolling: touch) {
        nav ul {
            -webkit-overflow-scrolling: touch;
        }
    }
}

@media (-webkit-min-device-pixel-ratio: 1) {
    .mobile-toggle {
        -webkit-tap-highlight-color: transparent;
    }

    nav a {
        -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
    }

    input, textarea, select {
        font-size: 16px;
    }
}

/* ============================================
HERO SECTION (CORREGIDO PARA HEADER FIXED)
============================================ */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1592768496779-0c5e3f4a665f?ixlib=rb-4.0.3') center/cover no-repeat;

    display: flex;
    align-items: center;
    text-align: center;
    padding: 110px 5% 0; /* <-- ESTA ES LA CLAVE */
    position: relative;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 95px;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1.2s ease-out;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
}

.hero p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.45rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}


/* ======================================
   COURSES - PREMIUM LIMPIO
====================================== */
/* ============================= */
/* CURSOS - VERSIÓN SOBRIA      */
/* ============================= */

.cursos-section {
  padding: 6rem 5%;
  background: #ffffff;
  font-family: 'Montserrat', sans-serif;
}

.cursos-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ================= HEADER ================= */

.cursos-header {
  text-align: center;
  margin-bottom: 4rem;
}

.cursos-tag {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background:var(--gold);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 30px;
  margin-bottom: 1.2rem;
}

.cursos-titulo {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #000;
}

.cursos-subtitulo {
  font-size: 1.05rem;
  color: #555;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ================= GRID ================= */

.cursos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

/* ================= CARD ================= */

.curso-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eaeaea;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.curso-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: #dcdcdc;
}

/* Línea superior elegante */
.curso-header-img {
  height: 6px;
  background: #000;
}

/* Quita colores fuertes */
.placeholder-1,
.placeholder-2 {
  background: #000;
  opacity: 0.7;
}

/* Badge más minimal */
.curso-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: #000;
  color: #fff;
  padding: 0.35rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 20px;
}

/* ================= CONTENT ================= */

.curso-content {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.curso-nombre {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #000;
}

.curso-desc {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

/* ================= INFO ================= */

.curso-info h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #000;
  letter-spacing: 1px;
}

.curso-lista {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.curso-lista li {
  font-size: 0.9rem;
  color: #333;
  padding-left: 1.5rem;
  position: relative;
}

.curso-lista li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: #000;
  border-radius: 50%;
}

/* ================= TAGS ================= */

.curso-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2rem 0;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.tag {
  font-size: 0.75rem;
  padding: 0.45rem 0.9rem;
  background: #f3f3f3;
  border-radius: 20px;
  color: #333;
  font-weight: 500;
}

/* ================= BOTÓN ================= */

.curso-btn {
  display: block;
  padding: 0.95rem;
  background: #000;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
  transition: all 0.3s ease;
}

.curso-btn:hover {
  background: #333;
}

.curso-btn.disabled {
  background: #e5e5e5;
  color: #888;
  cursor: not-allowed;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 968px) {
  .cursos-grid {
    grid-template-columns: 1fr;
  }

  .cursos-titulo {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .cursos-section {
    padding: 4rem 5%;
  }

  .curso-content {
    padding: 1.6rem;
  }
}


        /* ============================================
        GRADUATES SECTION - "Nuestros Graduados"
        ============================================ */
        .graduates {
            padding: 10rem 5%;
            background: #000000;
            position: relative;
            overflow: hidden;
        }

        .graduates::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
            z-index: 0;
        }

        /* Título "Transformando sueños en realidad" - CLASE ÚNICA */
        .graduates-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 2.8rem; /* ← Tamaño del título */
            font-weight: 700;
            color: var(--light);
            margin-bottom: 1.5rem;
            line-height: 1.2;
            letter-spacing: -0.5px;
        }

        /* Contenido de la sección */
        .graduates-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .graduates-image {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
            transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .graduates-image:hover {
            transform: scale(1.03);
        }

        .graduates-image img {
            width: 100%;
            height: 550px;
            object-fit: cover;
            transition: transform 0.8s ease;
        }

        .graduates-image:hover img {
            transform: scale(1.1);
        }

        .graduates-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(transparent, rgba(0, 0, 0, 1));
            padding: 2.5rem;
            color: var(--light);
            transform: translateY(100%);
            transition: transform 0.5s ease;
        }

        .graduates-image:hover .graduates-overlay {
            transform: translateY(0);
        }

        .overlay-content {
            text-align: center;
        }

        .graduates-year {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--gold);
            margin-bottom: 0.5rem;
            letter-spacing: 2px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 1);
        }

        .graduates-count {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.3rem;
            color: #aaa;
            font-weight: 500;
        }

        .graduates-text {
            display: flex;
            align-items: center;
        }

        .text-content {
            max-width: 600px;
            animation: fadeInLeft 1s ease;
        }

        .subtitle {
            display: block;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 3px;
            color: var(--gold);
            margin-bottom: 1rem;
            font-weight: 500;
        }

        .description {
            font-family: 'Montserrat', sans-serif;
            color: #ccc;
            line-height: 1.8;
            margin-bottom: 2rem;
        }

        /* ============================================
        STATS SECTION - "Nuestras Metas"
        ============================================ */
        .stats {
            padding: 9rem 5% 7rem;
            background: var(--dark);
            position: relative;
        }

        /* Contenedor del título - CLASE ÚNICA */
        .stats-title {
            text-align: center;
            margin-bottom: 4rem;
            position: relative;
        }

        /* Título "Nuestras Metas" - CLASE ÚNICA */
        .stats-heading {
            font-family: 'Montserrat', sans-serif;
            font-size: 2rem !important; /* ← Tamaño personalizado - AHORA SÍ FUNCIONA */
            font-weight: 700;
            color: #eeebeb;
            margin-bottom: 1.2rem;
            letter-spacing: 1px;
            position: relative;
            display: inline-block;
        }

        .stats-heading:after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: var(--gold);
        }

        .stats-title p {
            color: #aaa;
            max-width: 600px;
            margin: 0 auto;
            font-family: 'Montserrat', sans-serif;
            font-size: 1.1rem;
        }

        /* Contenedor de estadísticas */
        .stats-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 2.2rem;
        }

        .stat-item {
            text-align: center;
            padding: 2.2rem;
            background: rgba(25, 25, 25, 0.7);
            border-radius: 12px;
            transition: var(--transition);
            border: 1px solid rgba(212, 175, 55, 0.15);
            backdrop-filter: blur(10px);
        }

        .stat-item:hover {
            transform: translateY(-8px);
            border-color: var(--gold);
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }

        .stat-number {
            font-family: 'Montserrat', sans-serif;
            font-size: 3.8rem;
            font-weight: 700;
            color: var(--gold);
            margin-bottom: 1rem;
            line-height: 1;
        }

        .stat-label {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.3rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--gold);
            margin-bottom: 0.7rem;
            font-weight: 600;
        }

        .stat-description {
            font-family: 'Montserrat', sans-serif;
            color: #aaa;
            font-size: 1rem;
            line-height: 1.6;
        }

        /* ============================================
        INSTAGRAM SECTION 
        ============================================ */
        .instagram-section{
        max-width:1200px;
        margin:auto;
        padding:100px 20px;
        text-align:center;
        }

        .instagram-header h2{
        font-size:2.2rem;
        font-weight:600;
        margin-bottom:10px;
        }

        .instagram-header p{
        color:#666;
        margin-bottom:40px;
        }

        .elfsight-app-e56e0084-28cb-49e2-8f9d-fea4df65f0cb{
        border-radius:16px;
        overflow:hidden;
        }


        /* ============================================
        ABOUT SECTION - "¿Por qué elegirnos?"
        ============================================ */
        .about {
            padding: 6rem 5%;
            background: #fff;
            font-family: 'Montserrat', sans-serif;
        }

        .about-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5rem;
            align-items: center;
        }

        /* Imagen */
        .about-img {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 8px 30px rgba(0,0,0,0.08);
            height: 500px;
            background: #f0f0f0;
        }

        .about-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* Placeholder (mientras no tengas imagen) */
        .about-img-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #e8e8e8 0%, #d8d8d8 100%);
            color: #999;
        }

        .about-img-placeholder i {
            font-size: 8rem;
            opacity: 0.3;
        }

        /* Cuando tengas imagen, oculta el placeholder */
        .about-img img[src] + .about-img-placeholder {
            display: none;
        }

        /* Tag */
        .about-tag {
            display: inline-block;
            padding: 0.5rem 1.25rem;
            background: #4a4a4a;
            color: #fff;
            font-family: 'Montserrat', sans-serif;
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 1.25rem;
            border-radius: 6px;
        }

        /* Título */
        .about-heading {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.8rem;
            font-weight: 800;
            color: #1a1a1a;
            margin: 0 0 2rem 0;
            line-height: 1.2;
            letter-spacing: -0.5px;
        }

        /* Textos */
        .about-textos {
            margin-bottom: 2.5rem;
        }

        .about-textos p {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.05rem;
            line-height: 1.8;
            color: #555;
            margin: 0 0 1.25rem 0;
        }

        /* Features */
        .about-features {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            font-family: 'Montserrat', sans-serif;
            font-size: 1rem;
            font-weight: 600;
            color: #333;
        }

        .feature-item i {
            color: #667eea;
            font-size: 1.25rem;
            width: 24px;
        }

        /* Responsive */
        @media (max-width: 968px) {
            .about-container {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
            
            .about-img {
                height: 400px;
                order: -1;
            }
            
            .about-heading {
                font-size: 1.75rem;
            }
        }

        @media (max-width: 640px) {
            .about {
                padding: 4rem 5%;
            }
            
            .about-img {
                height: 300px;
            }
            
            .about-heading {
                font-size: 1.5rem;
            }
            
            .about-textos p {
                font-size: 1rem;
            }
        }
        /* ============================================
        BENEFITS SECTION - "Beneficios"
        ============================================ */
        .benefits {
            padding: 9rem 5%;
            background: var(--white-bg);
            color: var(--text-dark);
        }

        /* Contenedor del título - CLASE ÚNICA */
        .benefits-title {
            text-align: center;
            margin-bottom: 4rem;
            position: relative;
        }

        /* Título "Beneficios" - CLASE ÚNICA */
        .benefits-heading {
            font-family: 'Montserrat', sans-serif;
            font-size: 2rem !important;; /* ← Tamaño personalizado */
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 1.2rem;
            letter-spacing: 1px;
            position: relative;
            display: inline-block;
        }

        .benefits-heading:after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: var(--gold);
        }

        .benefits-title p {
            color: #666;
            max-width: 600px;
            margin: 0 auto;
            font-family: 'Montserrat', sans-serif;
            font-size: 1.1rem;
        }

        /* Tarjetas de beneficios */
        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2.5rem;
        }

        .benefit-card {
            background: var(--light);
            border-radius: 12px;
            padding: 2.5rem;
            text-align: center;
            transition: var(--transition);
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
            border: 1px solid #f0f0f0;
            position: relative;
            overflow: hidden;
        }

        .benefit-card:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, transparent, var(--gold), transparent);
        }

        .benefit-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
            border-color: #e0e0e0;
        }

        .benefit-icon {
            font-size: 3.2rem;
            color: var(--gold);
            margin-bottom: 1.8rem;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .benefit-card h3 {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 1.3rem;
            color: var(--text-dark);
            letter-spacing: -0.5px;
        }

        .benefit-card p {
            font-family: 'Montserrat', sans-serif;
            color: #666;
            line-height: 1.7;
        }

        /* ============================================
        FOOTER - Pie de página
        ============================================ */
        footer {
            background: var(--dark);
            padding: 5rem 5% 3rem;
            border-top: 1px solid rgba(212, 175, 55, 0.2);
        }

        .footer-container {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 3.5rem;
            margin-bottom: 4rem;
        }

        .footer-logo {
            font-family: 'Montserrat', sans-serif;
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 1.8rem;
            color: var(--light);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .footer-logo img {
            height: 45px;
        }

        .footer-text {
            font-family: 'Montserrat', sans-serif;
            color: #aaa;
            margin-bottom: 1.8rem;
            max-width: 500px;
            line-height: 1.8;
            font-size: 1.05rem;
        }

        .footer-contact, .footer-hours {
            display: flex;
            flex-direction: column;
            gap: 1.8rem;
        }

        .contact-item, .hours-item {
            display: flex;
            align-items: flex-start;
            gap: 1.2rem;
        }

        .contact-item i, .hours-item i {
            color: var(--gold);
            font-size: 1.3rem;
            min-width: 25px;
        }

        .social-links {
            display: flex;
            gap: 1.5rem;
            margin-top: 1.8rem;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 10px;
            color: var(--light);
            transition: var(--transition);
            font-size: 1.1rem;
        }

        .social-links a:hover {
            background: var(--gold);
            color: var(--dark);
            transform: translateY(-3px);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            color: #777;
            font-size: 1rem;
        }

        /* ============================================
        ANIMACIONES
        ============================================ */
        @keyframes fadeIn {
            from { 
                opacity: 0; 
                transform: translateY(20px); 
            }
            to { 
                opacity: 1; 
                transform: translateY(0); 
            }
        }

        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* ============================================
        RESPONSIVE DESIGN - TABLETS Y MÓVILES
        ============================================ */

        /* Tablets - Pantallas menores a 992px */
        @media (max-width: 992px) {
            .about-container,
            .footer-container,
            .graduates-container {
                grid-template-columns: 1fr;
            }
            
            .hero h1 {
                font-size: 3.2rem;
            }
            
            .graduates-image {
                max-width: 600px;
                margin: 0 auto;
            }
            
            .graduates-image img {
                height: 450px;
            }
            
            .text-content {
                text-align: center;
                margin: 0 auto;
            }
            
            .graduates-title {
                font-size: 2.5rem;
            }
            
            .about-heading {
                font-size: 2.8rem;
            }
            
            .stats-heading {
                font-size: 3.0rem;
            }
            
            .benefits-heading {
                font-size: 2.8rem;
            }
        }

        /* Móviles - Pantallas menores a 768px */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.7rem;
            }
            
            .hero p {
                font-size: 1.2rem;
            }
            
            .stats,
            .about,
            .benefits,
            .graduates {
                padding: 6rem 5%;
            }
            
            .graduates-container {
                gap: 2.5rem;
            }
            
            .graduates-image img {
                height: 400px;
            }
            
            .graduates-year {
                font-size: 1.5rem !important;
            }
            
            .graduates-title {
                font-size: 2.2rem;
            }
            
            .about-heading {
                font-size: 2.4rem;
            }
            
            .stats-heading {
                font-size: 2.8rem;
            }
            
            .benefits-heading {
                font-size: 2.6rem;
            }
        }

        /* Móviles pequeños - Pantallas menores a 576px */
        @media (max-width: 576px) {
            .stats-container,
            .benefits-grid {
                grid-template-columns: 1fr;
            }
            
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .stat-number {
                font-size: 2.8rem;
            }
            
            .stats-heading {
                font-size: 2.4rem;
            }
            
            .benefits-heading {
                font-size: 2.4rem;
            }
            
            .about-heading {
                font-size: 2.2rem;
            }
            
            .graduates-title {
                font-size: 2.0rem;
            }
            
            .graduates-image img {
                height: 350px;
            }
            
            .graduates-year {
                font-size: 1.5rem;
            }
            
            .graduates-count {
                font-size: 1.1rem;
            }
            
            .subtitle {
                font-size: 0.8rem;
            }
            
            .btn-primary {
                width: 100%;
                text-align: center;
            }
        }

/* ============================================
   SOBRE NOSOTROS - ESTILOS OPTIMIZADOS
   ============================================ */
/* ============================================
   ABOUT SECTION - (Tu HTML real)
   ============================================ */

.about-section-plain {
    padding: 8rem 5%;
    background: var(--dark);
    color: var(--light);
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

/* TITULO */
.about-title {
    text-align: center;
    margin-bottom: 4rem;
}

.about-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: var(--light);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.about-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

.about-title p {
    font-family: 'Montserrat', sans-serif;
    color: #aaa;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    margin-top: 1.5rem;
}

/* GRID */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.3fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* TEXTO */
.about-description {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.75;
    color: #ccc;
    font-size: 1.15rem;
    text-align: justify;
    text-justify: inter-word;
}

.about-description p {
    margin-bottom: 1.6rem;
}

/* IMAGEN */
.about-image-box {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.35);
    background: #111;
}

/* 🔥 Fix real: proporción estable sin depender de height */
.about-image-box::before {
    content: "";
    display: block;
    padding-top: 62%;
}

/* El div .about-image se vuelve overlay */
.about-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Hover */
.about-image-box:hover .about-image img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-description {
        text-align: center;
        font-size: 1.1rem;
    }

    .about-title h2 {
        font-size: 2.4rem;
    }

    .about-title p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .about-section-plain {
        padding: 5rem 5%;
    }

    .about-title h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .about-title p {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .about-description {
        font-size: 1.02rem;
    }
}


/* ============================================
   SECCIÓN DEL FUNDADOR - (Tu HTML real)
   ============================================ */

.founder-section {
    padding: 8rem 5%;
    background: var(--dark);
    color: var(--light);
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

/* TITULO */
.founder-title {
    text-align: center;
    margin-bottom: 4rem;
}

.founder-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.founder-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

/* GRID */
.founder-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* IMAGEN */
.founder-image {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 40px rgba(255, 255, 255, 0.08);
    background: #111;
}

/* Proporción estable */
.founder-image::before {
    content: "";
    display: block;
    padding-top: 60%;
}

.founder-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.founder-image:hover img {
    transform: scale(1.03);
}

/* Nombre */
.founder-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.75);
    transition: 0.3s ease;
    border-top: 2px solid var(--gold);
}

.founder-image:hover .founder-name {
    background: rgba(0, 0, 0, 0.9);
}

.founder-name h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--light);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.35);
}

/* TEXTO */
.founder-text {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.85;
    color: #ccc;
    font-size: 1.15rem;
}

.founder-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    color: var(--light);
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    line-height: 1.1;
}

.founder-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gold);
}

.founder-text p {
    margin-bottom: 1.6rem;
    text-align: justify;
    text-justify: inter-word;
}

/* Responsive */
@media (max-width: 992px) {
    .founder-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .founder-text {
        text-align: center;
    }

    .founder-text p {
        text-align: center;
    }

    .founder-title h2 {
        font-size: 2.2rem;
    }

    .founder-text h2 {
        font-size: 2rem;
    }

    .founder-name h3 {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 576px) {
    .founder-section {
        padding: 5rem 5%;
    }

    .founder-title h2 {
        font-size: 1.9rem;
    }

    .founder-text h2 {
        font-size: 1.7rem;
    }

    .founder-name h3 {
        font-size: 1.1rem;
    }

    .founder-text {
        font-size: 1.02rem;
    }
}


/* ============================================
   VALUES SECTION (Tu HTML real)
   ============================================ */

.values-section-centered {
    padding: 8rem 5%;
    background: var(--white-bg);
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
}

.section-title-valores {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-valores h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.section-title-valores h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

.section-title-valores p {
    font-family: 'Montserrat', sans-serif;
    color: #666;
    font-size: 1.15rem;
    margin-top: 1.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.values-grid-centered {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card-centered {
    background: #fff;
    border-radius: 14px;
    padding: 2.5rem;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.value-card-centered::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.value-card-centered:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-color: #e5e5e5;
}

.value-icon-centered {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.8rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-card-centered h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1.3rem;
    color: var(--text-dark);
    font-size: 1.5rem;
    letter-spacing: -0.3px;
}

.value-card-centered p {
    font-family: 'Montserrat', sans-serif;
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .values-section-centered {
        padding: 5rem 5%;
    }

    .section-title-valores h2 {
        font-size: 2.2rem;
    }

    .section-title-valores p {
        font-size: 1rem;
    }

    .value-card-centered {
        padding: 2rem;
    }
}



    