/* ============================================================
   MOBILE — REESCRITURA COMPLETA
   Se aplica solo en pantallas <= 768px.
   Cargar DESPUÉS de styles.css y del <style> inline.
   ============================================================ */

/* Por defecto (desktop): ocultos */
.btn-inscripcion-mobile { display: none; }
.hero-foto-mobile {
    display: block;
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: center;
    margin: 0;
    border-radius: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {

/* ==========================================================
   1. NAV
   ========================================================== */
.header-nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    position: sticky;
    top: 0;
}

.menu-mobile-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1.5px solid rgba(60, 36, 29, 0.25);
    border-radius: 10px;
    background: transparent;
    color: #3c241d;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
    order: 0;
}
.menu-mobile-icon:hover,
.menu-mobile-icon:active { background: rgba(60, 36, 29, 0.06); }

.nav-logo {
    grid-column: 2;
    margin-bottom: 0;
    font-size: 0.95rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.btn-inscripcion-mobile {
    display: inline-flex;
    align-items: center;
    grid-column: 3;
    padding: 8px 16px;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Panel desplegable */
.nav-container {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease;
    z-index: 999;
    padding: 0;
    margin: 0;
    box-shadow: none;
}
.nav-container.abierto {
    max-height: 500px;
    opacity: 1;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-links-list {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    width: 100%;
}
.nav-links-list li { width: 100%; }
.nav-links-list a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
    color: #3c241d;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.nav-links-list li:last-child a { border-bottom: none; }

.btn-inscripcion-desktop { display: none; }

/* ==========================================================
   2. HERO
   ========================================================== */
.hero-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: 0;
    background-color: var(--marron);
    overflow: hidden;
    padding: 0;
}

.hero-izq {
    padding: 40px 24px;
    width: 100%;
}

.hero-titulo {
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero-subtag {
    font-size: 13px;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.hero-subtag em { font-size: 17px; }

.hero-texto {
    font-size: 15px;
    line-height: 1.7;
    max-width: 100%;
    margin-bottom: 28px;
}
.hero-texto br { display: none; }

.hero-btn { margin-bottom: 36px; }
.avatares-imgs img { width: 32px; height: 32px; }
.avatares-texto p { font-size: 12px; }

/* Columna derecha — apilada debajo de la izquierda */
.hero-der {
    display: flex;
    flex-direction: column;
    background-color: var(--marron);
    background-image: none;
    margin: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
    gap: 0;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.hero-cita {
    text-align: right;
    padding: 40px 24px 20px;
    margin: 0;
    background: transparent;
    position: relative;
    z-index: 2;
}
.hero-cita p {
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 12px;
    text-shadow: none;
}
.hero-cita span {
    font-size: 14px;
    text-shadow: none;
}

.hero-texto-der {
    padding: 20px 24px 40px;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(253, 246, 238, 0.25);
    background: transparent;
}
.hero-texto-der p {
    font-size: 14px;
    line-height: 1.75;
    max-width: 100%;
    text-align: right;
    text-shadow: none;
}

/* ⭐ FOTO — ancho completo, corte abrupto, debajo de los textos */
.hero-foto-mobile {
    display: block;
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: center;
    margin: 0;
    border-radius: 0;
    position: relative;
    z-index: 1;
}

/* ==========================================================
   3. CONTENEDORES — quitar los paddings de 17.5vw
   ========================================================== */
.info-container,
.propuesta-container,
.acompanamos-container,
.ejes-container,
.coordinacion-container {
    padding-left: 20px;
    padding-right: 20px;
}

.info-section,
.propuesta-section,
.acompanamos-section,
.ejes-section,
.coordinacion-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.coordinacion-section { padding-bottom: 0; }

/* ==========================================================
   4. TIPOGRAFÍA GENERAL
   ========================================================== */
.info-titulo-grande { font-size: clamp(30px, 9vw, 42px); line-height: 1; }
.propuesta-header { font-size: clamp(26px, 7vw, 34px); }
.acompanamos-titulo { font-size: clamp(26px, 8vw, 36px); }
.eje-titulo { font-size: clamp(22px, 6vw, 30px); }
.titulo-luz { font-size: clamp(30px, 9vw, 42px); }
.lili-soy { font-size: clamp(22px, 6vw, 28px); }
.seccion-tag,
.ejes-main-titulo { font-size: 20px; }

/* ==========================================================
   5. INFO — "Atravesar lo difícil"
   ========================================================== */
.info-grid-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}
.info-titulo-grande { font-size: clamp(34px, 10vw, 46px); }
.info-icono-wrapper { align-self: flex-end; }
.info-icono { width: 130px; }

.info-grid-intro {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 50px;
}
.info-grid-intro p { font-size: 16px; line-height: 1.7; }

.btn-centro-wrapper { margin: 50px 0; gap: 18px; }
.btn-primario { padding: 16px 32px; font-size: 15px; }

.info-grid-programa {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
}
.prog-naranja { font-size: clamp(38px, 11vw, 50px); line-height: 1; }
.prog-italic { font-size: clamp(24px, 7vw, 30px); line-height: 1.2; }

.info-programa-desc { margin-bottom: 60px; }
.info-programa-desc p { font-size: 16px; line-height: 1.7; }

.destinado-header {
    padding-right: 0;
    margin-bottom: 24px;
}
.destinado-header h4 { font-size: 32px; }

.destinado-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--blanco);
    box-shadow: 0 12px 40px rgba(60, 34, 25, 0.08);
    margin-bottom: 30px;
}
.destinado-img { width: 100%; }
.destinado-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 0;
    display: block;
}
.destinado-lista { padding: 32px 24px; }
.destinado-lista li {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 22px;
    gap: 14px;
}
.destinado-lista li:last-child { margin-bottom: 0; }

.btn-testimonios-wrapper { margin-top: 24px; margin-bottom: 0; }
.btn-outline-naranja { padding: 14px 32px; font-size: 13px; }

/* ==========================================================
   6. PROPUESTA SÍ/NO
   ========================================================== */
.propuesta-header { margin-bottom: 50px; }
.propuesta-header .texto-chico { font-size: 0.68em; margin-top: 14px; }
.propuesta-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
.col-titulo { font-size: 1.35rem; margin-bottom: 28px; }
.propuesta-col li {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 22px;
}
.propuesta-footer {
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

/* ==========================================================
   7. ACOMPAÑAMOS
   ========================================================== */
.acompanamos-grid { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
.acompanamos-card {
    padding: 32px 24px;
    min-height: auto;
    border-radius: 24px;
}
.acompanamos-icono { width: 60px; margin-bottom: 18px; }
.acompanamos-card p { font-size: 16px; line-height: 1.5; }

.acompanamos-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
    border-radius: 20px;
}
.bar-item { font-size: 15px; }

.btn-centro-wrapper.espacio-extra { margin-top: 60px; }

/* ==========================================================
   8. EJES
   ========================================================== */
.ejes-card-blanca { padding: 32px 22px; border-radius: 24px; }
.eje-bloque { margin-bottom: 50px; }
.eje-header {
    flex-direction: column-reverse;
    gap: 14px;
    margin-bottom: 24px;
}
.eje-badge {
    align-self: flex-start;
    align-items: flex-start;
    text-align: left;
}
.badge-naranja { font-size: 12px; padding: 5px 18px; }
.eje-titulo { line-height: 1.15; margin-bottom: 14px; }
.eje-subtitulo { font-size: 15px; line-height: 1.5; }
.eje-lista li {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 14px;
}
.eje-cita {
    font-size: 19px;
    line-height: 1.4;
    margin: 32px auto;
    padding: 0 8px;
}

/* ==========================================================
   9. COORDINACIÓN — Tarjeta de Lili estilo CV
   ========================================================== */
.seccion-tag { font-size: 26px; margin-bottom: 28px; }

.lili-card {
    border-radius: 28px;
    margin-bottom: -60px;
    overflow: visible;
    padding-top: 0;
}
.lili-card-cuerpo {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    text-align: center;
}

.lili-foto {
    width: 100%;
    order: -1;
    display: flex;
    justify-content: center;
    padding-top: 40px;
}
.lili-foto img {
    width: 140px;
    height: 140px;
    min-height: 0;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--beige);
    box-shadow: 0 8px 24px rgba(60, 34, 25, 0.15);
    display: block;
}

.lili-textos {
    padding: 24px 24px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
    justify-content: flex-start;
}
.lili-titulo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.icono-cert { width: 28px; order: 2; }
.lili-soy { font-size: 30px; line-height: 1.15; order: 1; }

.lili-titulo-wrapper::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: var(--naranja);
    margin-top: 16px;
    border-radius: 2px;
    opacity: 0.6;
}
.lili-textos p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 14px;
    text-align: left;
}
.btn-texto-flecha {
    font-size: 15px;
    margin-top: 20px;
    white-space: normal;
    text-align: center;
    align-self: center;
}

/* ==========================================================
   10. BANNER
   ========================================================== */
.banner-luz { padding: 100px 24px 120px; }
.titulo-luz { margin-bottom: 24px; }
.banner-texto { font-size: 16px; line-height: 1.7; }
.serif-banner { font-size: 26px; margin-top: 20px; }
.btn-inscribite {
    flex-direction: column;
    gap: 6px;
    padding: 18px 32px;
    font-size: 15px;
    width: 100%;
    max-width: 320px;
}
.cupos-btn { font-size: 12px; }
.red-texto { font-size: 16px; line-height: 1.6; }

/* ==========================================================
   11. FOOTER
   ========================================================== */
.footer { padding: 60px 24px 100px; }
.footer-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0;
    max-width: 100%;
}
.footer-col h4,
.redes-titulo { font-size: 15px; margin-bottom: 6px; }
.footer-col p { font-size: 14px; }
.footer-form { max-width: 100%; }
.redes-icons {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================
   12. WHATSAPP FLOTANTE
   ========================================================== */
.whatsapp-texto { display: inline; }
.whatsapp-boton {
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 15px;
    gap: 8px;
}
.whatsapp-icono { width: 22px; height: 22px; }
.whatsapp-avatar,
.whatsapp-avatar img { width: 44px; height: 44px; }
.whatsapp-flotante {
    bottom: 20px;
    right: 16px;
    gap: 8px;
}

/* ==========================================================
   13. AJUSTES FINALES
   ========================================================== */
html, body { max-width: 100vw; }
.banner-luz { padding-bottom: 140px; }

} /* fin @media (max-width: 768px) */