/* ==========================================================================
   HEBE ACADEMIA · Sistema de diseño de marca
   Colores corporativos: Verde #075B3B · Dorado #F4D989 · Tipografía: Raleway
   ========================================================================== */

:root {
    /* Verdes corporativos */
    --verde: #075B3B;
    --verde-900: #033524;
    --verde-800: #054a31;
    --verde-700: #075B3B;
    --verde-600: #0a6e47;
    --verde-500: #0f8a59;
    --verde-400: #2aa676;
    --verde-300: #6cc7a3;
    --verde-100: #d7eee4;
    --verde-50:  #eef8f3;

    /* Dorados / cremas */
    --dorado: #F4D989;
    --dorado-osc: #e6c25f;
    --dorado-claro: #f9e9b8;
    --crema: #FBF8EF;
    --crema-2: #F4EFE0;

    /* Neutros */
    --tinta: #16241d;
    --gris-texto: #4a5a52;
    --gris-suave: #8a978f;
    --linea: #e6ebe7;
    --blanco: #ffffff;

    /* Utilidades */
    --sombra-sm: 0 4px 14px rgba(7, 91, 59, .08);
    --sombra: 0 12px 34px rgba(7, 91, 59, .12);
    --sombra-lg: 0 26px 60px rgba(3, 53, 36, .22);
    --sombra-dorada: 0 16px 40px rgba(230, 194, 95, .35);
    --radio: 18px;
    --radio-lg: 28px;
    --contenedor: 1200px;
    --transicion: .35s cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset y base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
    font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--tinta);
    background: var(--crema);
    line-height: 1.65;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }

::selection { background: var(--verde); color: var(--dorado); }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--verde-50); }
::-webkit-scrollbar-thumb { background: var(--verde-400); border-radius: 10px; border: 2px solid var(--verde-50); }
::-webkit-scrollbar-thumb:hover { background: var(--verde); }

/* ---------- Layout helpers ---------- */
.contenedor { width: 100%; max-width: var(--contenedor); margin-inline: auto; padding-inline: 22px; }
.seccion { padding: clamp(56px, 9vw, 120px) 0; position: relative; }
.text-center { text-align: center; }
.relleno { flex: 1; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--verde-600); background: var(--verde-50);
    padding: 8px 16px; border-radius: 100px; border: 1px solid var(--verde-100);
}
.eyebrow.oscuro { color: var(--dorado); background: rgba(244, 217, 137, .12); border-color: rgba(244, 217, 137, .25); }
.eyebrow .punto { width: 7px; height: 7px; border-radius: 50%; background: var(--dorado-osc); box-shadow: 0 0 0 4px rgba(244,217,137,.3); }

.titulo-seccion {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin: 18px 0 14px;
    color: var(--verde);
}
.titulo-seccion .resalta { color: var(--dorado-osc); position: relative; }
.subtitulo-seccion {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--gris-texto); max-width: 620px; font-weight: 500;
}
.centrado { margin-inline: auto; }
.encabezado-seccion { margin-bottom: 54px; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: inherit; font-weight: 700; font-size: .98rem; line-height: 1;
    padding: 16px 30px; border-radius: 100px; border: 2px solid transparent;
    cursor: pointer; transition: var(--transicion); position: relative; overflow: hidden;
    text-align: center;
}
.btn svg { width: 19px; height: 19px; transition: transform .35s ease; }
.btn-dorado { background: var(--dorado); color: var(--verde-900); box-shadow: var(--sombra-dorada); }
.btn-dorado:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 22px 48px rgba(230,194,95,.5); }
.btn-dorado:hover svg { transform: translateX(4px); }
.btn-verde { background: var(--verde); color: #fff; box-shadow: var(--sombra); }
.btn-verde:hover { background: var(--verde-800); transform: translateY(-3px); box-shadow: var(--sombra-lg); }
.btn-borde { background: transparent; border-color: var(--verde); color: var(--verde); }
.btn-borde:hover { background: var(--verde); color: #fff; transform: translateY(-3px); }
.btn-borde-claro { background: rgba(255,255,255,.06); border-color: rgba(244,217,137,.45); color: var(--dorado); backdrop-filter: blur(6px); }
.btn-borde-claro:hover { background: var(--dorado); color: var(--verde-900); border-color: var(--dorado); transform: translateY(-3px); }
.btn-grande { padding: 19px 38px; font-size: 1.05rem; }
.btn-bloque { width: 100%; }
.btn-wsp { background: #25D366; color: #fff; box-shadow: 0 14px 30px rgba(37,211,102,.35); }
.btn-wsp:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(37,211,102,.5); }

/* Brillo que cruza el botón */
.btn::after {
    content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
    transform: skewX(-20deg); transition: left .7s ease;
}
.btn:hover::after { left: 140%; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: fixed; inset: 0 0 auto 0; z-index: 1000;
    padding: 16px 0; transition: var(--transicion);
}
.navbar .contenedor { display: flex; align-items: center; gap: 24px; }
.navbar.solido, .navbar.siempre-solido {
    background: rgba(4, 58, 39, .9);
    backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 8px 30px rgba(3, 53, 36, .25);
    padding: 11px 0;
}
.nav-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.nav-logo img {
    height: 46px;
    max-height: 46px;
    width: auto;
    max-width: none;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    transition: height .35s ease;
}
.navbar.solido .nav-logo img, .navbar.siempre-solido .nav-logo img {
    height: 40px;
    max-height: 40px;
    width: auto;
}
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a {
    color: rgba(255,255,255,.86); font-weight: 600; font-size: .96rem;
    padding: 9px 15px; border-radius: 100px; transition: var(--transicion); position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; left: 15px; right: 15px; bottom: 5px; height: 2px;
    background: var(--dorado); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; border-radius: 2px;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { margin-left: 10px; }
/* El CTA dorado debe llevar texto verde oscuro (no el blanco de .nav-links a) */
.nav-links a.nav-cta { color: var(--verde-900); }
.nav-links a.nav-cta:hover { color: var(--verde-900); }
/* Acceso al panel (botón fantasma dorado, bien visible) */
.nav-links a.nav-acceso {
    display: inline-flex; align-items: center; gap: 7px; color: var(--dorado);
    font-weight: 700; font-size: .92rem; padding: 8px 15px; margin-left: 6px;
    border: 1.5px solid rgba(244, 217, 137, .45); border-radius: 100px; transition: var(--transicion);
}
.nav-links a.nav-acceso svg { width: 16px; height: 16px; }
.nav-links a.nav-acceso::after { display: none; }
.nav-links a.nav-acceso:hover { background: rgba(244, 217, 137, .16); border-color: var(--dorado); color: var(--dorado); transform: translateY(-2px); }
.nav-links a { padding: 9px 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; position: relative; z-index: 1003; }
.nav-toggle span { width: 26px; height: 3px; background: var(--dorado); border-radius: 3px; transition: .3s; }
.nav-toggle.activo span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.activo span:nth-child(2) { opacity: 0; }
.nav-toggle.activo span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background:
        radial-gradient(1100px 700px at 78% -8%, rgba(244,217,137,.20), transparent 60%),
        radial-gradient(900px 600px at -5% 110%, rgba(15,138,89,.45), transparent 55%),
        linear-gradient(160deg, #064d33 0%, #075B3B 45%, #043826 100%);
    color: #fff; overflow: hidden; padding: 130px 0 80px;
}
.hero-grid {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center;
}
.hero-tag {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
    background: rgba(244,217,137,.13); border: 1px solid rgba(244,217,137,.3);
    color: var(--dorado); padding: 9px 18px; border-radius: 100px;
    font-weight: 700; font-size: .85rem; letter-spacing: .04em;
}
.hero-tag .pulso { width: 9px; height: 9px; border-radius: 50%; background: var(--dorado); animation: pulso 1.8s infinite; }
.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; margin-bottom: 22px;
    letter-spacing: -.03em;
}
.hero h1 .dorado { color: var(--dorado); display: inline-block; }
.hero h1 .subrayado { position: relative; white-space: nowrap; }
.hero h1 .subrayado svg { position: absolute; left: 0; bottom: -14px; width: 100%; }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.85); max-width: 540px; margin-bottom: 34px; font-weight: 500; }
.hero-acciones { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stat .num { font-size: 2.1rem; font-weight: 900; color: var(--dorado); line-height: 1; }
.hero-stat .lbl { font-size: .82rem; color: rgba(255,255,255,.72); margin-top: 6px; font-weight: 600; letter-spacing: .03em; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(255,255,255,.16); padding-left: 34px; }

/* Mockup de teléfono (estilo plantilla) */
.hero-mock { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }
.telefono {
    position: relative; width: 280px; height: 560px; border-radius: 44px;
    background: linear-gradient(150deg, #0a6e47, #043826);
    border: 10px solid #02281a; box-shadow: var(--sombra-lg), inset 0 0 0 2px rgba(244,217,137,.15);
    padding: 26px 22px; display: flex; flex-direction: column; justify-content: center;
    z-index: 2;
}
.telefono::before {
    content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
    width: 110px; height: 24px; background: #02281a; border-radius: 0 0 16px 16px;
}
.telefono .tel-logo { width: 78px; margin-bottom: 26px; opacity: .96; }
.telefono .tel-titulo { font-size: 2.1rem; font-weight: 900; color: #fff; line-height: 1.05; }
.telefono .tel-titulo b { color: var(--dorado); }
.telefono .tel-dcto {
    display: inline-block; margin-top: 14px; background: var(--dorado); color: var(--verde-900);
    font-weight: 900; font-size: 1rem; padding: 7px 16px; border-radius: 100px;
}
.telefono .tel-pie { margin-top: auto; font-size: .8rem; letter-spacing: .25em; color: var(--dorado); font-weight: 700; text-transform: uppercase; }
.telefono.tel-2 {
    position: absolute; right: 2px; top: 40px; width: 230px; height: 470px; transform: rotate(7deg);
    background: linear-gradient(150deg, var(--dorado), var(--dorado-osc)); z-index: 1; opacity: .96;
    border-color: var(--dorado-osc);
}
.telefono.tel-2 .examen { font-size: 2rem; font-weight: 900; color: var(--verde-900); line-height: 1; text-align: center; }
.telefono.tel-2 .examen .de { display: block; font-size: 1.1rem; margin: 6px 0; }

/* Burbujas decorativas flotantes */
.hero-burbuja { position: absolute; border-radius: 50%; filter: blur(2px); z-index: 1; }
.hero-burbuja.b1 { width: 120px; height: 120px; background: rgba(244,217,137,.18); top: 12%; right: 8%; animation: flotar 7s ease-in-out infinite; }
.hero-burbuja.b2 { width: 70px; height: 70px; background: rgba(255,255,255,.08); bottom: 16%; left: 6%; animation: flotar 5s ease-in-out infinite reverse; }
.hero-onda { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 3; line-height: 0; }
.hero-onda svg { width: 100%; height: auto; display: block; }

/* Tira de chips bajo el hero */
.tira-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(244,217,137,.22);
    border-radius: 100px; font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.9);
}
.chip svg { width: 15px; height: 15px; color: var(--dorado); }

/* ==========================================================================
   MARQUESINA (logos / frases en movimiento)
   ========================================================================== */
.marquesina { background: var(--verde-900); padding: 18px 0; overflow: hidden; white-space: nowrap; }
.marquesina-pista { display: inline-flex; gap: 50px; animation: desplazar 26s linear infinite; }
.marquesina:hover .marquesina-pista { animation-play-state: paused; }
.marquesina-item { display: inline-flex; align-items: center; gap: 12px; color: var(--dorado); font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; }
.marquesina-item .estrella { color: rgba(244,217,137,.5); }

/* ==========================================================================
   TARJETAS / GRIDS GENÉRICOS
   ========================================================================== */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.tarjeta {
    background: #fff; border-radius: var(--radio-lg); padding: 32px;
    box-shadow: var(--sombra-sm); border: 1px solid var(--linea);
    transition: var(--transicion); position: relative; overflow: hidden;
}
.tarjeta:hover { transform: translateY(-8px); box-shadow: var(--sombra); border-color: var(--verde-100); }
.tarjeta-icono {
    width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
    background: var(--verde-50); color: var(--verde); margin-bottom: 20px; transition: var(--transicion);
}
.tarjeta-icono svg { width: 30px; height: 30px; }
.tarjeta:hover .tarjeta-icono { background: var(--verde); color: var(--dorado); transform: rotate(-6deg) scale(1.06); }
.tarjeta h3 { font-size: 1.25rem; color: var(--verde); margin-bottom: 10px; }
.tarjeta p { color: var(--gris-texto); font-size: .97rem; }
.tarjeta .deco-num {
    position: absolute; top: -10px; right: 14px; font-size: 5rem; font-weight: 900;
    color: var(--verde-50); z-index: 0; line-height: 1;
}
.tarjeta > * { position: relative; z-index: 1; }

/* ==========================================================================
   MATERIAS
   ========================================================================== */
.materias { background: linear-gradient(180deg, #075B3B, #043826); color: #fff; }
.materias .titulo-seccion { color: #fff; }
.materias .titulo-seccion .resalta { color: var(--dorado); }
.materias .subtitulo-seccion { color: rgba(255, 255, 255, .82); }
.materias-bloques { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.materia-grupo {
    background: rgba(255,255,255,.05); border: 1px solid rgba(244,217,137,.25);
    border-radius: var(--radio-lg); padding: 30px;
}
.materia-grupo h3 {
    color: var(--dorado); font-size: .85rem; letter-spacing: .2em; text-transform: uppercase;
    text-align: center; padding-bottom: 16px; margin-bottom: 12px; border-bottom: 1px solid rgba(244,217,137,.25); font-weight: 700;
}
.materia-lista { display: flex; flex-direction: column; }
.materia-item {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 16px 14px; border-bottom: 1px dashed rgba(255,255,255,.1);
    transition: var(--transicion); cursor: default; position: relative; overflow: hidden;
    border-radius: 12px;
}
.materia-item:last-child { border-bottom: 0; }
.materia-item:hover { padding-left: 22px; background: rgba(244,217,137,.08); }
/* Ícono de la materia/carrera como imagen de fondo (marca de agua) */
.materia-item .mat-bg {
    position: absolute; right: -14px; top: 50%; transform: translateY(-50%) rotate(-8deg);
    width: 104px; height: 104px; color: rgba(244,217,137,.13);
    z-index: 0; pointer-events: none; transition: var(--transicion);
}
.materia-item:hover .mat-bg { color: rgba(244,217,137,.22); transform: translateY(-50%) rotate(0) scale(1.08); right: 4px; }
.materia-item > div, .materia-item .mat-flecha { position: relative; z-index: 1; }
.materia-item .mat-nombre { font-size: 1.45rem; font-weight: 800; }
.materia-item .mat-uni { font-size: .72rem; color: rgba(244,217,137,.8); font-weight: 600; letter-spacing: .05em; }
.materia-item .mat-flecha { color: var(--dorado); opacity: 0; transform: translateX(-8px); transition: var(--transicion); }
.materia-item:hover .mat-flecha { opacity: 1; transform: translateX(0); }

/* --- Materias en ESCRITORIO: grilla de tarjetas (en móvil queda como lista) --- */
@media (min-width: 1025px) {
    .materias-bloques { grid-template-columns: 1fr 1fr; gap: 28px; }
    .materia-grupo { padding: 38px 34px; }
    .materia-grupo h3 { margin-bottom: 26px; }
    .materia-lista { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .materia-item, .materia-item:last-child {
        border: 1px solid rgba(244, 217, 137, .2); border-radius: 16px;
        background: rgba(255, 255, 255, .04); padding: 22px 20px; min-height: 118px;
    }
    .materia-item > div { display: flex; flex-direction: column; gap: 6px; }
    .materia-item .mat-nombre { font-size: 1.4rem; line-height: 1.05; }
    .materia-item:hover {
        background: rgba(244, 217, 137, .1); transform: translateY(-6px);
        box-shadow: 0 18px 38px rgba(3, 40, 26, .32); padding-left: 20px; border-color: rgba(244, 217, 137, .4);
    }
    .materia-item .mat-bg { width: 84px; height: 84px; top: 50%; right: -10px; }
    .materia-item:hover .mat-bg { right: 2px; }
}

/* ==========================================================================
   PASOS / METODOLOGÍA
   ========================================================================== */
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: paso; }
.paso { text-align: center; position: relative; padding: 16px; }
.paso .paso-circulo {
    width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
    background: var(--verde); color: var(--dorado); font-size: 1.7rem; font-weight: 900;
    box-shadow: var(--sombra); position: relative; z-index: 2; transition: var(--transicion);
}
.paso:hover .paso-circulo { transform: translateY(-6px) scale(1.05); background: var(--dorado); color: var(--verde-900); }
.paso h4 { color: var(--verde); font-size: 1.1rem; margin-bottom: 8px; }
.paso p { font-size: .92rem; color: var(--gris-texto); }
.pasos .paso:not(:last-child)::after {
    content: ''; position: absolute; top: 39px; left: 60%; width: 80%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--verde-300) 0 8px, transparent 8px 16px); z-index: 1;
}

/* ==========================================================================
   HISTORIA / NOSOTROS
   ========================================================================== */
.historia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.historia-media { position: relative; }
.historia-foto {
    border-radius: var(--radio-lg); overflow: hidden; box-shadow: var(--sombra-lg);
    aspect-ratio: 4/4.4; background: linear-gradient(150deg, var(--verde), var(--verde-900));
    display: grid; place-items: center;
}
.historia-foto img { width: 64%; opacity: .96; }
.historia-badge {
    position: absolute; bottom: -24px; right: -20px; background: var(--dorado); color: var(--verde-900);
    border-radius: 20px; padding: 20px 26px; box-shadow: var(--sombra); text-align: center;
}
.historia-badge .n { font-size: 2.4rem; font-weight: 900; line-height: 1; }
.historia-badge .t { font-size: .82rem; font-weight: 700; }
.historia-texto h2 { color: var(--verde); margin-bottom: 18px; }
.historia-texto p { color: var(--gris-texto); margin-bottom: 16px; }
.valores-lista { display: grid; gap: 14px; margin-top: 24px; }
.valor-item { display: flex; gap: 14px; align-items: flex-start; }
.valor-item .check {
    flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--verde-50);
    color: var(--verde); display: grid; place-items: center;
}
.valor-item .check svg { width: 17px; height: 17px; }
.valor-item b { color: var(--verde); }

/* ==========================================================================
   PROFESORES
   ========================================================================== */
.profe-card { text-align: center; padding-top: 0; overflow: hidden; }
.profe-foto {
    aspect-ratio: 1; background: linear-gradient(160deg, var(--verde-100), var(--verde-50));
    display: grid; place-items: center; position: relative; overflow: hidden;
}
.profe-foto img { width: 100%; height: 100%; object-fit: cover; }
.profe-foto .iniciales { font-size: 3rem; font-weight: 900; color: var(--verde); }
.profe-card .profe-info { padding: 22px; }
.profe-card h3 { font-size: 1.2rem; color: var(--verde); margin-bottom: 4px; }
.profe-card .profe-mat { color: var(--dorado-osc); font-weight: 700; font-size: .9rem; }
.profe-redes { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
.profe-redes a { width: 36px; height: 36px; border-radius: 50%; background: var(--verde-50); color: var(--verde); display: grid; place-items: center; transition: var(--transicion); }
.profe-redes a:hover { background: var(--verde); color: var(--dorado); transform: translateY(-3px); }
.profe-redes svg { width: 17px; height: 17px; }

/* ==========================================================================
   FRANJA CTA
   ========================================================================== */
.cta-franja {
    background:
        radial-gradient(700px 400px at 85% 20%, rgba(244,217,137,.2), transparent 60%),
        linear-gradient(150deg, var(--verde-800), var(--verde-900));
    color: #fff; border-radius: var(--radio-lg); padding: clamp(40px, 6vw, 72px);
    text-align: center; position: relative; overflow: hidden;
}
.cta-franja h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; margin-bottom: 16px; }
.cta-franja h2 b { color: var(--dorado); }
.cta-franja p { color: rgba(255,255,255,.85); max-width: 540px; margin: 0 auto 30px; }
.cta-franja .cta-acciones { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   BANNER PROMO · Tarjetas de llamado a la acción (Profesores / FAQ)
   ========================================================================== */
.banner-promo {
    display: flex; align-items: center; gap: 30px; background: #fff; border-radius: var(--radio-lg);
    padding: clamp(28px, 4vw, 46px); box-shadow: var(--sombra-sm); border: 1px solid var(--linea);
    transition: var(--transicion); flex-wrap: wrap;
}
.banner-promo:hover { box-shadow: var(--sombra); transform: translateY(-4px); }
.banner-promo-icono {
    width: 78px; height: 78px; border-radius: 22px; background: var(--verde-50); color: var(--verde);
    display: grid; place-items: center; flex: 0 0 auto; transition: var(--transicion);
}
.banner-promo-icono svg { width: 36px; height: 36px; }
.banner-promo:hover .banner-promo-icono { transform: rotate(-6deg) scale(1.06); }
.banner-promo-texto { flex: 1; min-width: 240px; }
.banner-promo-texto h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--verde); margin: 6px 0 8px; }
.banner-promo-texto p { color: var(--gris-texto); font-size: .98rem; max-width: 480px; }
.banner-promo > .btn { flex: 0 0 auto; }

/* Variante oscura (verde) para la tarjeta de FAQ */
.banner-promo.oscuro {
    background: radial-gradient(650px 380px at 85% 15%, rgba(244,217,137,.16), transparent 60%), linear-gradient(150deg, var(--verde-800), var(--verde-900));
    border: 0;
}

/* Mini stack de avatares (vista previa del equipo docente) */
.banner-avatares { display: flex; align-items: center; margin-top: 16px; }
.banner-avatar {
    width: 42px; height: 42px; border-radius: 50%; background: var(--verde); color: var(--dorado);
    display: grid; place-items: center; font-weight: 800; font-size: .8rem; border: 3px solid #fff;
    margin-left: -12px; box-shadow: 0 3px 8px rgba(3,53,36,.18);
}
.banner-avatar:first-child { margin-left: 0; }
.banner-avatar.mas { background: var(--dorado); color: var(--verde-900); }

@media (max-width: 720px) {
    .banner-promo { flex-direction: column; text-align: center; padding: 32px 26px; }
    .banner-promo-texto { min-width: 0; }
    .banner-promo-texto p { max-width: none; }
    .banner-avatares { justify-content: center; }
    .tira-chips { justify-content: center; }
}

.tira-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255, 255, 255, .92); color: var(--verde-900);
    padding: 6px 14px; border-radius: 100px; font-weight: 700; font-size: .85rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.chip svg { width: 16px; height: 16px; color: var(--verde-900); }

/* ==========================================================================
   TESTIMONIOS
   ========================================================================== */
.testi-card { background: #fff; border-radius: var(--radio-lg); padding: 32px; box-shadow: var(--sombra-sm); border: 1px solid var(--linea); transition: var(--transicion); }
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.testi-estrellas { color: var(--dorado-osc); margin-bottom: 14px; display: flex; gap: 3px; }
.testi-estrellas svg { width: 18px; height: 18px; }
.testi-card p { color: var(--gris-texto); font-style: italic; margin-bottom: 20px; }
.testi-autor { display: flex; align-items: center; gap: 14px; }
.testi-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--verde); color: var(--dorado); display: grid; place-items: center; font-weight: 800; }
.testi-autor b { color: var(--verde); display: block; }
.testi-autor span { font-size: .85rem; color: var(--gris-suave); }

/* ==========================================================================
   BLOG / NOVEDADES (home)
   ========================================================================== */
.blog-card {
    background: #fff; border-radius: var(--radio-lg); overflow: hidden;
    box-shadow: var(--sombra-sm); border: 1px solid var(--linea);
    transition: var(--transicion); display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--sombra); border-color: var(--verde-100); }
.blog-img { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(150deg, var(--verde), var(--verde-900)); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.blog-img .blog-img-logo { width: 84px; height: auto; margin: auto; object-fit: contain; opacity: .9; position: absolute; inset: 0; }
.blog-card:hover .blog-img img:not(.blog-img-logo) { transform: scale(1.07); }
.blog-cat {
    position: absolute; top: 14px; left: 14px; background: var(--dorado); color: var(--verde-900);
    font-size: .72rem; font-weight: 800; letter-spacing: .04em; padding: 5px 13px; border-radius: 100px;
    text-transform: uppercase; box-shadow: 0 6px 14px rgba(230,194,95,.35);
}
.blog-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-fecha { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--gris-suave); font-weight: 600; margin-bottom: 12px; }
.blog-fecha svg { width: 15px; height: 15px; color: var(--dorado-osc); }
.blog-body h3 { font-size: 1.18rem; line-height: 1.3; margin-bottom: 10px; }
.blog-body h3 a { color: var(--verde); transition: var(--transicion); }
.blog-body h3 a:hover { color: var(--dorado-osc); }
.blog-body p { color: var(--gris-texto); font-size: .95rem; margin-bottom: 18px; flex: 1; }
.blog-leer { display: inline-flex; align-items: center; gap: 7px; color: var(--verde); font-weight: 700; font-size: .92rem; transition: var(--transicion); }
.blog-leer svg { width: 17px; height: 17px; transition: transform .3s ease; }
.blog-leer:hover { color: var(--dorado-osc); }
.blog-leer:hover svg { transform: translateX(5px); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-item { background: #fff; border: 1px solid var(--linea); border-radius: 16px; margin-bottom: 14px; overflow: hidden; transition: var(--transicion); }
.faq-item.abierto { border-color: var(--verde-300); box-shadow: var(--sombra-sm); }
.faq-pregunta { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; cursor: pointer; font-weight: 700; color: var(--verde); }
.faq-pregunta .faq-mas { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--verde-50); color: var(--verde); display: grid; place-items: center; transition: var(--transicion); }
.faq-item.abierto .faq-mas { background: var(--verde); color: var(--dorado); transform: rotate(135deg); }
.faq-respuesta { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-respuesta div { padding: 0 26px 24px; color: var(--gris-texto); }

/* ==========================================================================
   FORMULARIO INSCRIPCIÓN
   ========================================================================== */
.form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; border-radius: var(--radio-lg); overflow: hidden; box-shadow: var(--sombra-lg); }
.form-aside {
    background:
        radial-gradient(500px 300px at 20% 10%, rgba(244,217,137,.18), transparent 60%),
        linear-gradient(160deg, var(--verde), var(--verde-900));
    color: #fff; padding: 46px;
}
.form-aside h2 { color: #fff; font-size: 2rem; margin-bottom: 16px; }
.form-aside h2 b { color: var(--dorado); }
.form-aside p { color: rgba(255,255,255,.82); margin-bottom: 28px; }
.form-aside .bene { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.form-aside .bene .ic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; background: rgba(244,217,137,.16); color: var(--dorado); display: grid; place-items: center; }
.form-aside .bene .ic svg { width: 19px; height: 19px; }
.form-aside .bene b { display: block; }
.form-aside .bene span { font-size: .88rem; color: rgba(255,255,255,.72); }
.form-cuerpo { background: #fff; padding: 46px; }

.campo { margin-bottom: 20px; }
.campo label { display: block; font-weight: 700; color: var(--verde); margin-bottom: 8px; font-size: .92rem; }
.campo label .req { color: #d14; }
.campo input, .campo select, .campo textarea {
    width: 100%; font-family: inherit; font-size: 1rem; color: var(--tinta);
    padding: 14px 16px; border: 2px solid var(--linea); border-radius: 13px; background: var(--crema);
    transition: var(--transicion);
}
.campo input:focus, .campo select:focus, .campo textarea:focus {
    outline: none; border-color: var(--verde-400); background: #fff; box-shadow: 0 0 0 4px var(--verde-50);
}
.campo textarea { resize: vertical; min-height: 110px; }
.campo .ayuda { font-size: .8rem; color: var(--gris-suave); margin-top: 6px; }
.campo.error input, .campo.error select, .campo.error textarea { border-color: #e0584b; }
.campo .msg-error { color: #d14; font-size: .82rem; margin-top: 6px; font-weight: 600; }
.fila-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.radio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card label {
    display: flex; align-items: center; gap: 10px; padding: 14px; border: 2px solid var(--linea);
    border-radius: 13px; cursor: pointer; margin: 0; font-weight: 600; color: var(--gris-texto); transition: var(--transicion);
}
.radio-card input:checked + label { border-color: var(--verde); background: var(--verde-50); color: var(--verde); }
.radio-card label .punto { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--gris-suave); flex: 0 0 auto; transition: var(--transicion); }
.radio-card input:checked + label .punto { border-color: var(--verde); background: var(--verde); box-shadow: inset 0 0 0 3px #fff; }

/* ==========================================================================
   CONTACTO / MAPA
   ========================================================================== */
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contacto-info .info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--linea); align-items: flex-start; }
.contacto-info .info-item .ic { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; background: var(--verde-50); color: var(--verde); display: grid; place-items: center; transition: var(--transicion); }
.contacto-info .info-item:hover .ic { background: var(--verde); color: var(--dorado); }
.contacto-info .info-item .ic svg { width: 22px; height: 22px; }
.contacto-info .info-item b { color: var(--verde); display: block; }
.contacto-info .info-item span, .contacto-info .info-item a { color: var(--gris-texto); }
.mapa-wrap { border-radius: var(--radio-lg); overflow: hidden; box-shadow: var(--sombra); min-height: 380px; border: 4px solid #fff; }
.mapa-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--verde-900); color: rgba(255,255,255,.8); padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 46px; }
.footer-logo { height: 50px; margin-bottom: 20px; }
.footer p { font-size: .92rem; color: rgba(255,255,255,.65); margin-bottom: 18px; }
.footer h4 { color: var(--dorado); font-size: 1rem; margin-bottom: 18px; letter-spacing: .03em; }
.footer-links a { display: block; padding: 6px 0; color: rgba(255,255,255,.7); font-size: .93rem; transition: var(--transicion); }
.footer-links a:hover { color: var(--dorado); padding-left: 6px; }
.footer-redes { display: flex; gap: 12px; }
.footer-redes a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.07); color: var(--dorado); display: grid; place-items: center; transition: var(--transicion); }
.footer-redes a:hover { background: var(--dorado); color: var(--verde-900); transform: translateY(-4px); }
.footer-redes svg { width: 19px; height: 19px; }
.footer-base { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-base a { color: var(--dorado); }

/* Créditos de identidad y desarrollo, integrados en la misma línea inferior */
.footer-creditos { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-punto { opacity: .4; }
.footer-dev-badge {
    display: inline-flex; align-items: center; gap: 7px; background: #fff; border-radius: 100px;
    padding: 4px 14px 4px 5px; transition: var(--transicion); box-shadow: 0 4px 12px rgba(0,0,0,.14);
}
.footer-dev-badge img { height: 15px; width: auto; display: block; }
.footer-dev-badge span { color: var(--verde-900); font-weight: 700; font-size: .76rem; white-space: nowrap; }
.footer-dev-badge:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(244,217,137,.35); }
@media (max-width: 560px) { .footer-base { justify-content: center; text-align: center; } .footer-creditos { justify-content: center; } }

/* Botón flotante WhatsApp */
.wsp-flotante {
    position: fixed; right: 22px; bottom: 22px; z-index: 900;
    width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff;
    display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.5);
    animation: latido 2.4s infinite; transition: transform .3s ease;
}
.wsp-flotante:hover { transform: scale(1.1); }
.wsp-flotante svg { width: 32px; height: 32px; }

/* Barra de progreso de scroll */
.barra-progreso { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--dorado), var(--dorado-osc)); z-index: 1100; transition: width .1s linear; }

/* ==========================================================================
   ALERTAS / MENSAJES
   ========================================================================== */
.alerta { padding: 16px 20px; border-radius: 14px; margin-bottom: 22px; display: flex; gap: 12px; align-items: center; font-weight: 600; }
.alerta svg { width: 22px; height: 22px; flex: 0 0 auto; }
.alerta-ok { background: var(--verde-50); color: var(--verde-700); border: 1px solid var(--verde-100); }
.alerta-error { background: #fdeceb; color: #b3261e; border: 1px solid #f6c9c4; }

/* ==========================================================================
   ANIMACIONES (keyframes)
   ========================================================================== */
@keyframes pulso { 0%, 100% { box-shadow: 0 0 0 0 rgba(244,217,137,.6); } 70% { box-shadow: 0 0 0 12px rgba(244,217,137,0); } }
@keyframes latido { 0%, 100% { box-shadow: 0 12px 30px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 12px 30px rgba(37,211,102,.5), 0 0 0 16px rgba(37,211,102,0); } }
@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
@keyframes desplazar { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes aparecer { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes brillo { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ---------- Animaciones al hacer scroll (reveal) ---------- */
[data-anim] { opacity: 0; transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); will-change: opacity, transform; }
[data-anim="abajo"] { transform: translateY(48px); }
[data-anim="arriba"] { transform: translateY(-48px); }
[data-anim="izq"]   { transform: translateX(-60px); }
[data-anim="der"]   { transform: translateX(60px); }
[data-anim="zoom"]  { transform: scale(.86); }
[data-anim="flip"]  { transform: perspective(900px) rotateX(-22deg); transform-origin: top; }
[data-anim].visible { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .5s; }
[data-delay="6"] { transition-delay: .6s; }

@media (prefers-reduced-motion: reduce) {
    *, [data-anim] { animation: none !important; transition: none !important; }
    [data-anim] { opacity: 1 !important; transform: none !important; }
    html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVE  ·  Versión móvil
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-mock { min-height: 480px; }
    .historia-grid, .contacto-grid, .form-wrap, .materias-bloques { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .pasos { grid-template-columns: repeat(2, 1fr); }
    .pasos .paso::after { display: none; }
    .form-aside { padding: 36px; }
}
@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; right: 0; bottom: 0;
        height: 100vh; height: 100dvh; width: min(84vw, 330px);
        background: #064a31; /* color sólido opaco de respaldo */
        background: linear-gradient(165deg, #075B3B 0%, #043826 100%);
        flex-direction: column; align-items: stretch; justify-content: flex-start;
        padding: 88px 24px 40px; gap: 4px; transform: translateX(100%);
        transition: transform .4s cubic-bezier(.22,1,.36,1);
        box-shadow: -22px 0 60px rgba(3,53,36,.5);
        margin-left: 0; z-index: 1002; overflow-y: auto; -webkit-overflow-scrolling: touch;
    }
    .nav-links.abierto { transform: translateX(0); }
    .nav-links a { color: #fff; font-size: 1.05rem; padding: 15px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
    .nav-links a::after { display: none; }
    .nav-links a.nav-cta { color: var(--verde-900); margin: 16px 0 0; justify-content: center; }
    .nav-links a.nav-acceso { justify-content: center; margin: 18px 0 0; border-bottom: 1.5px solid rgba(244,217,137,.45); }
    .nav-links a { padding: 15px 16px; }
    .nav-toggle { display: flex; }
    .nav-overlay { position: fixed; inset: 0; background: rgba(3,40,26,.55); backdrop-filter: blur(3px); z-index: 990; opacity: 0; visibility: hidden; transition: .3s; }
    .nav-overlay.activo { opacity: 1; visibility: visible; }

    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero-stat + .hero-stat { border-left: 0; padding-left: 0; }
    .hero-stats { gap: 22px; }
    .fila-2, .radio-grid { grid-template-columns: 1fr; }
    .form-cuerpo, .form-aside { padding: 30px 24px; }
    .telefono.tel-2 { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .seccion { padding: 60px 0; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .pasos { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.4rem; }
    .btn-grande { width: 100%; }
    .hero-acciones .btn { width: 100%; }
}

/* ==========================================================================
   PÓSTER MÓVIL  ·  Hero estilo flyer del diseñador (solo en celulares)
   ========================================================================== */
.poster-mobile { display: none; }

@media (max-width: 768px) {
    /* En celular el hero se convierte en el póster del flyer */
    .hero { min-height: auto; padding: 100px 0 64px; }
    .hero .hero-grid { display: none; }

    .poster-mobile {
        display: flex; flex-direction: column; align-items: center; text-align: center;
        width: 100%; max-width: 440px; margin: 0 auto; position: relative; z-index: 2;
        animation: aparecer .8s ease both;
    }
    .poster-logo { width: 134px; margin-bottom: 24px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.25)); }

    .poster-titulo {
        font-weight: 900; color: #fff; line-height: .9; letter-spacing: -.02em;
        font-size: clamp(2.8rem, 14vw, 4rem); margin-bottom: 6px;
        text-shadow: 0 6px 22px rgba(0,0,0,.22);
    }
    .poster-titulo .g { color: var(--dorado); }
    .poster-titulo .cursiva {
        font-family: 'Pacifico', cursive; font-weight: 400; color: var(--dorado);
        font-size: .6em; vertical-align: -.04em;
    }

    .poster-dcto {
        display: inline-flex; align-items: baseline; gap: 6px; background: var(--dorado);
        color: var(--verde-900); font-weight: 900; padding: 10px 26px; border-radius: 100px;
        margin: 16px 0 24px; font-size: 1.45rem; box-shadow: var(--sombra-dorada);
    }
    .poster-dcto small { font-size: .6em; font-weight: 800; letter-spacing: .03em; }

    .poster-sub {
        color: rgba(255,255,255,.92); font-weight: 800; letter-spacing: .12em;
        font-size: .8rem; text-transform: uppercase; line-height: 1.7; margin-bottom: 26px;
    }
    .poster-sub b { color: var(--dorado); }

    .poster-check { display: grid; gap: 11px; margin-bottom: 30px; }
    .poster-check li {
        display: flex; align-items: center; gap: 12px; justify-content: flex-start;
        color: #fff; font-weight: 800; letter-spacing: .1em; font-size: 1rem; text-transform: uppercase;
    }
    .poster-check .ic {
        width: 27px; height: 27px; border-radius: 8px; background: var(--dorado);
        color: var(--verde-900); display: grid; place-items: center; flex: 0 0 auto;
    }
    .poster-check .ic svg { width: 16px; height: 16px; stroke-width: 3; }

    .poster-cta { box-shadow: var(--sombra-dorada); }
    .poster-wsp { display: inline-flex; align-items: center; gap: 8px; color: var(--dorado); font-weight: 700; margin-top: 16px; font-size: .95rem; }
    .poster-wsp svg { width: 18px; height: 18px; }

    /* Bloque "Semana de Exámenes" (segundo teléfono del flyer) */
    .poster-examenes {
        width: 100%; margin-top: 36px; border-radius: 26px; overflow: hidden;
        box-shadow: var(--sombra-lg); background: var(--verde-800); position: relative;
    }
    .pe-top { background: linear-gradient(160deg, #f9e9b8, var(--dorado)); padding: 28px 16px 32px; }
    .pe-semana { color: var(--verde); font-weight: 900; font-size: clamp(2.2rem, 12vw, 3rem); line-height: .85; }
    .pe-de {
        display: inline-block; font-family: 'Pacifico', cursive; color: #fff;
        font-size: clamp(1.8rem, 9vw, 2.4rem); margin: -22px 0 -16px; position: relative; z-index: 3;
        text-shadow: 0 6px 14px rgba(0,0,0,.25);
    }
    .pe-bot { padding: 18px 16px 4px; }
    .pe-examenes { color: var(--dorado); font-weight: 900; font-size: clamp(2.2rem, 12vw, 3rem); line-height: .85; }
    .pe-sub { color: rgba(255,255,255,.78); font-size: .8rem; padding: 6px 18px 20px; margin: 0; }

    /* Stats compactas */
    .poster-stats {
        display: flex; width: 100%; margin-top: 28px; background: rgba(255,255,255,.06);
        border: 1px solid rgba(244,217,137,.22); border-radius: 18px; padding: 16px 0;
    }
    .poster-stats > div { flex: 1; text-align: center; }
    .poster-stats > div + div { border-left: 1px solid rgba(255,255,255,.14); }
    .poster-stats b { display: block; font-size: 1.55rem; font-weight: 900; color: var(--dorado); line-height: 1; }
    .poster-stats span { font-size: .72rem; color: rgba(255,255,255,.72); font-weight: 600; }
}

/* ==========================================================================
   ESTILOS: SECUNDARIO Y UNIVERSIDADES (4 CARDS)
   ========================================================================== */
.grupo-nivel {
    margin-bottom: 48px;
}
.grupo-nivel-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.grupo-nivel-header h3 {
    font-size: 1.6rem;
    color: var(--dorado);
    margin: 0;
}
.grupo-nivel-header .badge-nivel {
    background: rgba(244, 217, 137, .15);
    color: var(--dorado);
    border: 1px solid rgba(244, 217, 137, .3);
    font-size: .8rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.universidades-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (max-width: 900px) {
    .universidades-grid {
        grid-template-columns: 1fr;
    }
}

.uni-card {
    position: relative;
    background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
    border: 1.5px solid rgba(244, 217, 137, .25);
    border-radius: var(--radio-lg);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transicion);
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.uni-card:hover {
    transform: translateY(-6px);
    border-color: var(--dorado);
    box-shadow: 0 20px 45px rgba(3, 40, 26, .45);
    background: linear-gradient(160deg, rgba(255,255,255,.11), rgba(255,255,255,.04));
}
.uni-card .uni-num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(244, 217, 137, .18);
    line-height: 1;
    font-family: inherit;
    pointer-events: none;
}
.uni-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.uni-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(244, 217, 137, .16);
    color: var(--dorado);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.uni-icon-wrap svg {
    width: 24px;
    height: 24px;
}
.uni-card h4 {
    font-size: 1.25rem;
    color: #fff;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}
.uni-card h4 span {
    color: var(--dorado);
    display: block;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .05em;
    margin-top: 2px;
}

.carreras-mini-lista {
    margin: 16px 0 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.carrera-mini-item {
    background: rgba(0, 0, 0, .2);
    border-radius: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .06);
}
.carrera-mini-nombre {
    font-size: .88rem;
    font-weight: 800;
    color: var(--dorado-claro);
    display: flex;
    align-items: center;
    gap: 6px;
}
.carrera-mini-materias {
    font-size: .78rem;
    color: rgba(255, 255, 255, .72);
    margin-top: 3px;
    line-height: 1.35;
}

.uni-card-acciones {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.uni-card-acciones .btn {
    flex: 1;
    padding: 12px 18px;
    font-size: .88rem;
}

/* ==========================================================================
   GALERÍA "NOSOTROS"
   ========================================================================== */
.nosotros-galeria {
    margin-top: 48px;
}
.nosotros-galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
@media (max-width: 900px) {
    .nosotros-galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}
@media (max-width: 480px) {
    .nosotros-galeria-grid {
        grid-template-columns: 1fr;
    }
}
.nosotros-foto-card {
    position: relative;
    border-radius: var(--radio);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--sombra);
    background: var(--verde-800);
    transition: var(--transicion);
}
.nosotros-foto-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.nosotros-foto-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-lg);
}
.nosotros-foto-card:hover img {
    transform: scale(1.06);
}
.nosotros-foto-card .foto-pie {
    position: absolute;
    inset: auto 0 0 0;
    padding: 18px 14px 12px;
    background: linear-gradient(to top, rgba(3,40,26,.85) 0%, transparent 100%);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .02em;
}

/* ==========================================================================
   PÁGINA DETALLE UNIVERSIDAD
   ========================================================================== */
.uni-detalle-header {
    background: linear-gradient(160deg, #064d33 0%, #075B3B 50%, #043826 100%);
    color: #fff;
    padding: 130px 0 60px;
    position: relative;
}
.uni-detalle-header .volver-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dorado);
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: 20px;
    transition: transform .25s ease;
}
.uni-detalle-header .volver-link:hover {
    transform: translateX(-4px);
}
.uni-detalle-titulo {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
}
.uni-detalle-titulo span {
    color: var(--dorado);
}
.uni-carreras-grid-detalle {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 36px;
}
.carrera-detalle-card {
    background: #fff;
    border-radius: var(--radio-lg);
    border: 1.5px solid var(--linea);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--sombra-sm);
    transition: var(--transicion);
}
.carrera-detalle-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra);
    border-color: var(--verde-300);
}
.carrera-detalle-card h3 {
    font-size: 1.4rem;
    color: var(--verde);
    margin-bottom: 12px;
    font-weight: 900;
}
.carrera-detalle-card .carrera-materias-bloque {
    margin: 18px 0 24px;
    flex: 1;
}
.carrera-detalle-card .carrera-materias-bloque h5 {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gris-suave);
    font-weight: 800;
    margin-bottom: 10px;
}
.carrera-detalle-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.carrera-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--verde-50);
    color: var(--verde-700);
    border: 1px solid var(--verde-100);
    font-size: .84rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 100px;
}

