/* ============================================================================
   UNIVERSITAS — Design System
   Derivado de Portal Central (app.tuweb-ya.com). Misma gramática visual:
   minimalismo SaaS plano, un solo acento, mucho aire, esquinas suaves.
   Lo que cambia: el acento, el peso de la fotografía y la voz.

   Tokens muestreados del logotipo original, no estimados.
   ============================================================================ */

:root {
    --pc-brand-radius: 14px;

    /* Acento — azul marino del escudo CIMAC (la franja de abajo del logo) */
    --pc-accent:        #282165;
    --pc-accent-dark:   #1C1748;
    --pc-accent-soft:   rgba(40, 33, 101, .08);
    --pc-accent-softer: rgba(40, 33, 101, .045);

    /* Secundario — azul claro del escudo CIMAC. CONDIMENTO, NO INGREDIENTE.
       (El nombre --edu-bronze se quedó del sitio de Universitas para no tocar
       las reglas que lo usan; el color ya es el de CIMAC.)
       Subrayados, viñetas de logro, separadores. NUNCA en botones ni fondos
       grandes: en cuanto crece se ve barato. */
    --edu-bronze:       #1574CE;
    --edu-bronze-soft:  rgba(21, 116, 206, .10);

    /* Neutros */
    --pc-ink:     #0f172a;
    --pc-muted:   #64748b;
    --pc-border:  #e2e8f0;
    --pc-surface: #f8fafc;

    /* Apoyos */
    --pc-success:  #0ab39c;
    --pc-whatsapp: #25d366;
}

/* --- Base ------------------------------------------------------------------ */
body.public-site {
    background: #fff;
    color: var(--pc-ink);
    -webkit-font-smoothing: antialiased;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.public-site h1, .public-site h2, .public-site h3,
.public-site h4, .public-site h5 {
    color: var(--pc-ink);
    letter-spacing: -0.02em;
    font-weight: 700;
}
.public-site .text-muted { color: var(--pc-muted) !important; }
.card { border-radius: var(--pc-brand-radius); }

/* Espaciado entre secciones.
   Antes eran 5rem, y 6.5rem en escritorio. Como cada sección lleva padding
   arriba Y abajo, entre el contenido de dos secciones quedaban 13rem —más de
   200 px de nada— y había que hacer scroll para encontrar la siguiente idea.
   Ahora escala con el ancho de la pantalla en vez de saltar de golpe. */
.py-6 {
    padding-top: clamp(2rem, 3.6vw, 3.25rem) !important;
    padding-bottom: clamp(2rem, 3.6vw, 3.25rem) !important;
}

/* Dos secciones seguidas del mismo color no necesitan dos paddings: sin una
   línea ni un cambio de fondo en medio, ese doble espacio se lee como hueco. */
.public-surface + .public-surface { padding-top: 0 !important; }

/* --- Navbar: blanca translúcida con blur al hacer scroll ------------------- */
.public-site .navbar {
    background: rgba(255, 255, 255, .88) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent !important;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.public-site .navbar.is-scrolled {
    border-bottom-color: var(--pc-border) !important;
    box-shadow: 0 1px 12px rgba(15, 23, 42, .05);
}
.public-site nav.navbar ul.navbar-nav li.nav-item a.nav-link {
    display: flex !important;
    align-items: center !important;
    color: #475569 !important;
    font-size: .95rem !important;
    font-weight: 500 !important;
    padding: .55rem .9rem !important;
    transition: color .15s ease;
}
.public-site nav.navbar ul.navbar-nav li.nav-item a.nav-link:hover,
.public-site nav.navbar ul.navbar-nav li.nav-item a.nav-link.active {
    color: var(--pc-accent) !important;
}
.public-site .navbar-brand img { max-height: 46px; width: auto; }

@media (max-width: 991.98px) {
    .public-site .navbar .navbar-collapse {
        background: #fff;
        border: 1px solid var(--pc-border);
        border-radius: 12px;
        padding: .75rem 1rem;
        margin-top: .6rem;
        box-shadow: 0 .8rem 1.8rem rgba(15, 23, 42, .08);
    }
}

/* --- Hero a sangre con velo (la fotografía manda) -------------------------- */
.pc-hero-full {
    position: relative;
    width: 100%;
    /* 82vh dejaba la oferta educativa completamente abajo del pliegue: había
       que hacer scroll a ciegas para saber que el sitio seguía. Ahora el borde
       de la primera tarjeta ya asoma y se entiende que hay más. */
    min-height: clamp(420px, 64vh, 600px);
    background-size: cover;
    background-position: center right;
    display: flex;
    align-items: center;
}
.pc-hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(40, 33, 101, .88) 0%,
        rgba(40, 33, 101, .66) 45%,
        rgba(40, 33, 101, .14) 100%);
}
@media (max-width: 767.98px) {
    .pc-hero-veil { background: rgba(40, 33, 101, .74); }
}
.pc-hero-copy {
    position: relative;
    max-width: 660px;
    padding: clamp(2.5rem, 4vw, 3.5rem) 0;
    color: #fff;
}
.pc-hero-eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, .12);
    color: #dfe5f2;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    padding: .4rem 1rem;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.pc-hero-copy h1 {
    color: #fff;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
}
.pc-hero-copy .pc-hero-sub {
    /* blanco al ~82%, nunca gris: sobre el acento el gris se ensucia */
    color: rgba(255, 255, 255, .82);
    font-size: 1.1rem;
    max-width: 36rem;
}
.pc-hero-trust { color: rgba(255, 255, 255, .62); font-size: .85rem; margin-top: 1.25rem; }

/* --- Botones --------------------------------------------------------------- */
.btn-pc-primary {
    background: var(--pc-accent);
    border: 1px solid var(--pc-accent);
    color: #fff;
    font-weight: 600;
    padding: .7rem 1.5rem;
    border-radius: 10px;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-pc-primary:hover {
    background: #1C1748;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 .6rem 1.4rem rgba(40, 33, 101, .28);
}
.btn-pc-ghost {
    background: transparent;
    border: 1px solid var(--pc-border);
    color: var(--pc-ink);
    font-weight: 600;
    padding: .7rem 1.5rem;
    border-radius: 10px;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.btn-pc-ghost:hover {
    border-color: var(--pc-accent);
    color: var(--pc-accent);
    background: var(--pc-accent-softer);
}
.btn-pc-light {
    background: #fff; color: var(--pc-accent); font-weight: 700;
    border: 1px solid #fff; padding: .7rem 1.6rem; border-radius: 10px;
}
.btn-pc-light:hover { background: #e8ecf6; color: var(--pc-accent); }
.btn-pc-outline-light {
    background: transparent; color: #e6ebf7; font-weight: 600;
    border: 1px solid rgba(255,255,255,.45); padding: .7rem 1.6rem; border-radius: 10px;
}
.btn-pc-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* --- Secciones ------------------------------------------------------------- */
.public-section-label {
    color: var(--pc-accent);
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.public-surface { background: var(--pc-surface); }

/* --- Tarjetas de programa -------------------------------------------------- */
.public-card {
    border: 1px solid var(--pc-border) !important;
    box-shadow: none !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.public-card:hover {
    transform: translateY(-4px);
    border-color: rgba(40, 33, 101, .35) !important;
    box-shadow: 0 1.2rem 2.4rem rgba(15, 23, 42, .09) !important;
}
.public-card-thumb {
    height: 180px;
    border-radius: calc(var(--pc-brand-radius) - 2px) calc(var(--pc-brand-radius) - 2px) 0 0;
    background: var(--pc-accent-softer);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.public-card-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Tarjeta grande del programa base: es la decisión de vida, va sola */
.edu-card-hero .public-card-thumb { height: 100%; min-height: 260px; border-radius: 0; }

/* Ficha de dato dentro de la tarjeta */
.edu-meta { display: flex; flex-wrap: wrap; gap: .45rem 1.1rem; font-size: .88rem; color: var(--pc-muted); }
.edu-meta i { color: var(--pc-accent); }

/* Precio: se muestra la colegiatura, NO el total.
   "$400 semanales" alguien se lo imagina pagando; "$24,000" la manda
   a cotizar a otra escuela. El total vive en la FAQ. */
.edu-price { font-size: 1.5rem; font-weight: 800; color: var(--pc-accent); line-height: 1; }
.edu-price small { font-size: .82rem; font-weight: 500; color: var(--pc-muted); }

/* Requisito de ingreso — va visible, nunca en letra chica */
.edu-requisito {
    display: flex; gap: .5rem; align-items: flex-start;
    background: var(--edu-bronze-soft);
    border-left: 3px solid var(--edu-bronze);
    border-radius: 8px;
    padding: .6rem .8rem;
    font-size: .86rem;
    color: #0B4A8B;
}

/* --- Lista de documentos que se expiden (el argumento más desaprovechado) --- */
.edu-docs { list-style: none; padding: 0; margin: 0; }
.edu-docs li {
    display: flex; gap: .6rem; align-items: flex-start;
    padding: .45rem 0;
    border-bottom: 1px dashed var(--pc-border);
    font-size: .92rem;
}
.edu-docs li:last-child { border-bottom: 0; }
.edu-docs i { color: var(--edu-bronze); margin-top: .15rem; flex: 0 0 auto; }
.edu-docs .edu-doc-qty {
    background: var(--pc-accent); color: #fff;
    border-radius: 999px; font-size: .72rem; font-weight: 700;
    padding: .05rem .45rem; margin-right: .1rem;
}

/* --- Plan de estudios por módulos ----------------------------------------- */
.edu-modulos { list-style: none; padding: 0; margin: 0; counter-reset: modulo; }
.edu-modulos li {
    display: flex; gap: .9rem; align-items: flex-start;
    padding: .8rem 0;
    border-bottom: 1px solid var(--pc-border);
}
.edu-modulos li:last-child { border-bottom: 0; }
.edu-modulo-num {
    flex: 0 0 auto;
    width: 2rem; height: 2rem;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--pc-accent-soft);
    color: var(--pc-accent);
    font-weight: 700; font-size: .85rem;
}

/* --- Chips de valor -------------------------------------------------------- */
.public-feature-chip {
    display: flex; align-items: center; gap: .6rem;
    padding: .9rem 1rem;
    border: 1px solid var(--pc-border);
    border-radius: 12px;
    background: #fff;
    font-weight: 600;
    transition: border-color .15s ease, transform .15s ease;
}
.public-feature-chip:hover { border-color: rgba(19,32,67,.4); transform: translateY(-2px); }
.public-feature-chip i { font-size: 1.15rem; color: var(--edu-bronze); }

/* --- Sello de acreditación (nunca en el hero: va donde ya hay duda) -------- */
.edu-badge-oficial {
    display: inline-flex; align-items: center; gap: .5rem;
    border: 1px solid var(--pc-border);
    border-left: 3px solid var(--edu-bronze);
    border-radius: 10px;
    background: #fff;
    padding: .55rem .9rem;
    font-size: .82rem;
    color: var(--pc-muted);
}
.edu-badge-oficial strong { color: var(--pc-ink); font-weight: 600; }

/* --- WhatsApp flotante ----------------------------------------------------- */
.edu-wa {
    position: fixed; right: 18px; bottom: 18px; z-index: 1040;
    display: inline-flex; align-items: center; gap: .55rem;
    background: var(--pc-whatsapp); color: #fff;
    border-radius: 999px;
    padding: .7rem 1.1rem;
    font-weight: 600; text-decoration: none;
    box-shadow: 0 .8rem 1.8rem rgba(37, 211, 102, .35);
    transition: transform .15s ease;
}
.edu-wa:hover { color: #fff; transform: translateY(-2px); }
.edu-wa i { font-size: 1.3rem; }
@media (max-width: 575.98px) { .edu-wa span { display: none; } .edu-wa { padding: .85rem; } }

/* --- Footer ---------------------------------------------------------------- */
.public-footer { background: var(--pc-surface); border-top: 1px solid var(--pc-border); }
.public-footer a { color: var(--pc-muted); text-decoration: none; }
.public-footer a:hover { color: var(--pc-accent); }
.public-footer .edu-legal { font-size: .78rem; color: var(--pc-muted); line-height: 1.7; }

/* --- Animación de entrada --------------------------------------------------
   Solo se ocultan los elementos si el JS cargó y agregó .pc-js al <html>.
   Sin JS, todo el contenido es visible. */
.pc-js .pc-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}
.pc-js .pc-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .pc-js .pc-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------------------
   FOTOGRAFÍA
   La imagen del hero va como <img> detrás del velo, no como background:
   un background no acepta srcset y ésta es la imagen que debe cargar primero.
--------------------------------------------------------------------------- */
.pc-hero-full { background: var(--pc-accent); overflow: hidden; }
.pc-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}
@media (max-width: 767.98px) {
    /* En vertical el encuadre útil está al centro, no a la derecha */
    .pc-hero-img { object-position: 60% center; }
}

/* Galería ------------------------------------------------------------------ */
.edu-foto {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: var(--pc-radius, 14px);
    overflow: hidden;
    background: var(--pc-surface);
    cursor: zoom-in;
}
.edu-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.edu-foto:hover img,
.edu-foto:focus-visible img { transform: scale(1.05); }
.edu-foto:focus-visible { outline: 3px solid var(--pc-accent); outline-offset: 3px; }

.edu-foto-lupa {
    position: absolute;
    right: .6rem;
    bottom: .6rem;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(40, 33, 101, .72);
    color: #fff;
    font-size: 1rem;
    opacity: 0;
    transition: opacity .25s ease;
}
.edu-foto:hover .edu-foto-lupa,
.edu-foto:focus-visible .edu-foto-lupa { opacity: 1; }

/* Visor: fondo oscuro y la foto entera, sin recorte */
#eduVisor .modal-content { background: transparent; border: 0; }
#eduVisor .modal-body { padding: 0; }
#eduVisor img {
    width: 100%;
    max-height: 86vh;
    object-fit: contain;
    border-radius: var(--pc-radius, 14px);
}
#eduVisor .btn-close {
    position: absolute;
    top: -2.6rem;
    right: 0;
    filter: invert(1) grayscale(1) brightness(2);
    opacity: .9;
}

@media (prefers-reduced-motion: reduce) {
    .edu-foto img { transition: none; }
    .edu-foto:hover img { transform: none; }
}

/* ---------------------------------------------------------------------------
   MINIATURAS DE PROGRAMA
--------------------------------------------------------------------------- */
/* Ícono de respaldo cuando un programa todavía no tiene foto */
.public-card-thumb i { font-size: 2.6rem; color: var(--pc-accent); opacity: .3; }
.edu-card-hero .public-card-thumb i { font-size: 4rem; opacity: .35; }

/* La tarjeta de taller es compacta: la foto acompaña, no manda */
.public-card-thumb-sm { height: 132px; }

/* La foto se acerca un poco al pasar el cursor, igual que en la galería */
.public-card-thumb img { transition: transform .5s ease; }
.public-card:hover .public-card-thumb img { transform: scale(1.04); }

/* Banda de la ficha: ancha y baja, para que el título se lea debajo sin scroll */
.edu-ficha-banner {
    position: relative;
    height: clamp(200px, 32vw, 340px);
    overflow: hidden;
    background: var(--pc-accent);
}
.edu-ficha-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }

@media (prefers-reduced-motion: reduce) {
    .public-card-thumb img { transition: none; }
    .public-card:hover .public-card-thumb img { transform: none; }
}

/* ---------------------------------------------------------------------------
   CONTACTO
--------------------------------------------------------------------------- */
.edu-contacto-dato {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.15rem 0; border-bottom: 1px solid var(--pc-border);
}
.edu-contacto-dato:first-child { padding-top: 0; }
.edu-contacto-dato i { font-size: 1.35rem; color: var(--pc-accent); line-height: 1.4; }
.edu-contacto-dato p { margin: 0; }
.edu-contacto-dato a { color: var(--pc-accent); text-decoration: none; }
.edu-contacto-dato a:hover { text-decoration: underline; }
.edu-contacto-etiqueta {
    display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: .06em; color: var(--pc-muted); margin-bottom: .25rem;
}

/* Lista del horario */
.edu-horario li {
    display: flex; justify-content: space-between; gap: 1rem;
    padding: .6rem 0; border-bottom: 1px dashed var(--pc-border); font-size: .95rem;
}
.edu-horario li:last-child { border-bottom: 0; }
.edu-horario li.es-hoy { font-weight: 700; color: var(--pc-accent); }

/* El aviso de hoy: es lo único que la mayoría va a leer de esta tarjeta */
.edu-hoy {
    font-size: .8rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px;
    background: var(--pc-accent-softer); color: var(--pc-accent); white-space: nowrap;
}
.edu-hoy-cerrado { background: rgba(21, 116, 206, .12); color: var(--edu-bronze); }

/* Mapa a lo ancho */
.edu-mapa { line-height: 0; background: var(--pc-surface); }
.edu-mapa iframe { width: 100%; height: clamp(260px, 38vw, 420px); border: 0; }

/* ===========================================================================
   FASE 17 — secciones que ahora administra el panel
   =========================================================================== */

/* --- grupos en formación ------------------------------------------------- */
.edu-inicio {
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-brand-radius);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.edu-inicio-promo {
    position: absolute;
    top: -.7rem;
    left: 1.25rem;
    background: var(--pc-success);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
    padding: .25rem .7rem;
    border-radius: 999px;
}
.edu-inicio-programa { font-size: 1.05rem; font-weight: 700; margin: .25rem 0 .9rem; }
.edu-inicio-cuando,
.edu-inicio-fecha {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    margin-bottom: .45rem;
    color: var(--pc-ink);
}
.edu-inicio-cuando i, .edu-inicio-fecha i { color: var(--pc-accent); }
.edu-inicio-formando { color: var(--pc-muted); }

/* "Faltan 6" es lo único de la tarjeta que hace hablar hoy en vez de
   "ahorita lo pienso". Por eso es lo que resalta. */
.edu-inicio-faltan {
    margin: .75rem 0 0;
    padding: .55rem .75rem;
    background: rgba(40, 33, 101, .05);
    border-radius: 9px;
    font-size: .85rem;
    color: var(--pc-accent);
}
.edu-inicio-faltan strong { font-size: 1.05rem; }
.edu-inicio .btn { margin-top: auto; }

/* --- testimonios --------------------------------------------------------- */
.edu-testimonio {
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-brand-radius);
    padding: 1.5rem;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}
.edu-testimonio blockquote {
    font-size: .95rem;
    line-height: 1.6;
    color: var(--pc-ink);
    margin: 0 0 1.25rem;
}
.edu-testimonio blockquote::before { content: '“'; font-size: 2rem; line-height: 0; color: var(--pc-accent); }
.edu-testimonio figcaption { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.edu-testimonio figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.edu-testimonio figcaption strong { display: block; font-size: .9rem; }
.edu-testimonio figcaption em { font-style: normal; font-size: .8rem; color: var(--pc-muted); }
.edu-testimonio-video {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: .9rem;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--pc-accent);
}

/* --- asesores ------------------------------------------------------------ */
.edu-asesor {
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-brand-radius);
    padding: 1.75rem 1.5rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.edu-asesor-foto {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto .9rem;
    border: 3px solid rgba(40, 33, 101, .08);
}
.edu-asesor-inicial {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pc-accent-soft);
    color: var(--pc-accent);
    font-size: 2rem;
    font-weight: 700;
}
.edu-asesor-nombre { font-size: 1.05rem; font-weight: 700; margin-bottom: .15rem; }
.edu-asesor-puesto { font-size: .85rem; color: var(--pc-muted); margin-bottom: .35rem; }
.edu-asesor-horario { font-size: .82rem; color: var(--pc-muted); margin-bottom: 0; }
.edu-asesor .d-flex { margin-top: auto; }

.btn-pc-whatsapp {
    background: var(--pc-whatsapp);
    color: #fff;
    border: 1px solid var(--pc-whatsapp);
    font-weight: 600;
    border-radius: 9px;
}
.btn-pc-whatsapp:hover { background: #1fb955; border-color: #1fb955; color: #fff; }

/* ===========================================================================
   FASE 21 — preguntas frecuentes
   =========================================================================== */

.edu-faq-indice {
    position: sticky;
    top: 5.5rem;
    display: flex;
    flex-direction: column;
    gap: .15rem;
    border-left: 2px solid var(--pc-border);
    padding-left: 1rem;
}
.edu-faq-indice a {
    font-size: .88rem;
    color: var(--pc-muted);
    text-decoration: none;
    padding: .35rem 0;
}
.edu-faq-indice a:hover { color: var(--pc-accent); }

/* En celular el índice se vuelve una fila que se desliza. Una columna de
   enlaces arriba de todo empuja el contenido fuera de la pantalla. */
@media (max-width: 991px) {
    .edu-faq-indice {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        gap: .5rem;
        border-left: 0;
        border-bottom: 1px solid var(--pc-border);
        padding: 0 0 .75rem;
    }
    .edu-faq-indice a { white-space: nowrap; font-weight: 600; }
}

.edu-faq-grupo { margin-bottom: 2.5rem; }
.edu-faq-grupo:last-child { margin-bottom: 0; }
.edu-faq-grupo h2 { color: var(--pc-accent); }

.edu-faq {
    border-bottom: 1px solid var(--pc-border);
}
.edu-faq summary {
    cursor: pointer;
    padding: 1rem 2rem 1rem 0;
    font-weight: 600;
    font-size: .98rem;
    list-style: none;
    position: relative;
}
.edu-faq summary::-webkit-details-marker { display: none; }

/* La flechita se dibuja con CSS y gira al abrir: sin iconos, sin JS. */
.edu-faq summary::after {
    content: '';
    position: absolute;
    right: .35rem;
    top: 1.35rem;
    width: 8px; height: 8px;
    border-right: 2px solid var(--pc-accent);
    border-bottom: 2px solid var(--pc-accent);
    transform: rotate(45deg);
    transition: transform .18s;
}
.edu-faq[open] summary::after { transform: rotate(-135deg); }
.edu-faq summary:hover { color: var(--pc-accent); }

.edu-faq-respuesta {
    padding: 0 2rem 1.25rem 0;
    color: var(--pc-muted);
    font-size: .93rem;
    line-height: 1.7;
}
.edu-faq-respuesta strong { color: var(--pc-ink); }

/* ===========================================================================
   FASE 22 — becas
   =========================================================================== */

.edu-beca {
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-brand-radius);
    padding: 2.25rem 1.5rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* El descuento es lo primero que se ve. No es decoración: es la única cifra
   que decide si alguien sigue leyendo. */
.edu-beca-monto {
    position: absolute;
    top: -.85rem;
    left: 1.5rem;
    background: var(--pc-accent);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.01em;
    padding: .3rem .9rem;
    border-radius: 999px;
}
.edu-beca-nombre { font-size: 1.05rem; font-weight: 700; margin: .35rem 0 .4rem; }
.edu-beca-para { font-size: .88rem; color: var(--pc-muted); margin-bottom: 1.1rem; }

.edu-beca-etiqueta {
    display: block;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--pc-muted);
    font-weight: 700;
    margin-bottom: .5rem;
}
.edu-beca-lista { list-style: none; padding: 0; margin: 0 0 .5rem; }
.edu-beca-lista li {
    position: relative;
    padding-left: 1.4rem;
    font-size: .88rem;
    line-height: 1.5;
    margin-bottom: .45rem;
}
/* Palomita dibujada con CSS: dice "ya casi lo tienes" en vez de "falta esto". */
.edu-beca-lista li::before {
    content: '';
    position: absolute;
    left: 0; top: .35rem;
    width: 5px; height: 9px;
    border-right: 2px solid var(--pc-success);
    border-bottom: 2px solid var(--pc-success);
    transform: rotate(45deg);
}
.edu-beca-nota {
    font-size: .8rem;
    color: var(--pc-muted);
    font-style: italic;
    margin: .5rem 0 0;
}
.edu-beca .btn { margin-top: auto; }

.edu-beca-regla {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    background: var(--pc-accent-softer);
    border-radius: var(--pc-brand-radius);
    padding: 1.1rem 1.35rem;
    margin-top: 2rem;
    font-size: .88rem;
    color: var(--pc-muted);
}
.edu-beca-regla i { color: var(--pc-accent); font-size: 1.1rem; flex: none; }

/* ===========================================================================
   FASE 23 — nosotros
   =========================================================================== */

.edu-cifra {
    padding: 1.5rem 1rem;
    border-left: 3px solid var(--pc-accent);
}
@media (max-width: 767px) {
    .edu-cifra { border-left: 0; border-top: 3px solid var(--pc-accent); }
}
.edu-cifra-dato {
    display: block;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--pc-accent);
    margin-bottom: .5rem;
}
.edu-cifra-texto {
    display: block;
    font-size: .9rem;
    color: var(--pc-muted);
    line-height: 1.5;
}

.edu-proposito {
    background: #fff;
    border: 1px solid var(--pc-border);
    border-left: 3px solid var(--pc-accent);
    border-radius: var(--pc-brand-radius);
    padding: 1.75rem;
    height: 100%;
}
.edu-proposito p { font-size: .95rem; line-height: 1.7; margin-top: .75rem; }

.edu-respaldo {
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-brand-radius);
    padding: 1.5rem;
    text-align: center;
    height: 100%;
}
.edu-respaldo i { font-size: 1.75rem; color: var(--pc-accent); display: block; margin-bottom: .65rem; }
.edu-respaldo-titulo { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .2rem; }
.edu-respaldo-detalle { display: block; font-size: .82rem; color: var(--pc-muted); }

/* ===========================================================================
   PREINSCRIPCIÓN — el formulario al que lleva el código QR

   Campos grandes y pasos numerados: se llena de pie, con una mano, en un
   celular, muchas veces frente a la recepción o una lona.
   =========================================================================== */
.edu-form .form-control,
.edu-form .form-select { border-radius: 10px; }

.edu-paso {
    display: flex;
    gap: 1rem;
    padding: 1.4rem 0;
    border-top: 1px solid rgba(40, 33, 101, .1);
}
.edu-paso:first-of-type { border-top: 0; padding-top: 0; }
.edu-paso-num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--pc-accent);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.edu-paso-cuerpo { flex: 1; min-width: 0; }
.edu-paso-titulo { font-size: 1.05rem; font-weight: 700; margin-bottom: .35rem; }
.edu-paso-nota   { font-size: .88rem; color: #64748b; margin-bottom: .9rem; }

.edu-pregunta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    padding: .8rem 0;
    border-bottom: 1px dashed rgba(40, 33, 101, .12);
}
.edu-pregunta:last-child { border-bottom: 0; }

/* Sí / No como botones y no como radios chiquitos: el objetivo es que se
   puedan picar con el pulgar sin acercarse la pantalla a la cara. */
.edu-si-no { display: flex; gap: .4rem; }
.edu-si-no label { cursor: pointer; }
.edu-si-no input { position: absolute; opacity: 0; pointer-events: none; }
.edu-si-no span {
    display: inline-block;
    padding: .45rem 1.1rem;
    border: 1px solid rgba(40, 33, 101, .18);
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 600;
    background: #fff;
}
.edu-si-no input:checked + span {
    background: var(--pc-accent);
    border-color: var(--pc-accent);
    color: #fff;
}
/* Sin esto, quien navega con teclado no ve dónde está parado. */
.edu-si-no input:focus-visible + span { outline: 2px solid var(--pc-accent); outline-offset: 2px; }

.edu-privacidad {
    background: var(--pc-accent-softer);
    border-radius: 12px;
    padding: 1rem 1rem 1rem 2.6rem;
    font-size: .86rem;
    line-height: 1.5;
}
.edu-privacidad .form-check-input { margin-left: -1.75rem; }

/* La trampa para robots. Fuera de la pantalla y no display:none, porque hay
   robots que ignoran lo que está oculto con display. */
.edu-trampa {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.edu-gracias-check {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===========================================================================
   FASE 28 — aviso de privacidad
   =========================================================================== */

/* Texto legal largo: renglón a medida de lectura y títulos discretos. El
   índice lateral es el mismo de preguntas frecuentes (.edu-faq-indice). */
.edu-aviso { max-width: 72ch; line-height: 1.7; }
.edu-aviso h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pc-accent);
    margin: 2.25rem 0 .75rem;
    scroll-margin-top: 6rem;   /* que el encabezado fijo no tape el título al brincar */
}
.edu-aviso p { color: var(--pc-ink); }
.edu-aviso-lista { padding-left: 1.2rem; margin-bottom: 1rem; }
.edu-aviso a { color: var(--pc-accent); overflow-wrap: anywhere; }

.edu-aviso-responsable {
    background: var(--pc-accent-softer);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    scroll-margin-top: 6rem;
}
.edu-aviso-responsable dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: .4rem 1.25rem;
}
.edu-aviso-responsable dt {
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--pc-muted);
    padding-top: .15rem;
}
.edu-aviso-responsable dd { margin: 0; }

@media (max-width: 575px) {
    .edu-aviso-responsable dl { grid-template-columns: 1fr; gap: 0; }
    .edu-aviso-responsable dd { margin-bottom: .6rem; }
}

/* En celular, las filas .g-5 (medianil de 3rem) se salían 12px del contenedor
   —su margen negativo es mayor que el relleno de .container— y la página se
   podía arrastrar de lado. Pasaba en la portada, en preguntas frecuentes y en
   el aviso. Se reduce SÓLO el medianil horizontal; el vertical queda igual. */
@media (max-width: 575.98px) {
    .row.g-5 { --bs-gutter-x: 1.5rem; }
}
