/* Landing Docentes / Profesores — Sala101
   Escritorio: contenido al ~80% del ancho de viewport (buena práctica: líneas de lectura acotadas).
   Móvil: ancho completo con padding; copy alternativo más suave sobre inversión vs. pago. */

/* --- Ancho ~80% en PC; móvil fluido con scroll vertical --- */
.profesores-page .profesores-main {
    display: block;
}

@media (min-width: 769px) {
    /* Banda de contenido al 80% del viewport, centrada */
    .profesores-page .hero.banner-educacion .hero-content,
    .profesores-page .profesores-section .container,
    .profesores-page .profesores-final-strip .container,
    .profesores-page .site-footer .container.profesores-footer-inner {
        width: 80vw;
        max-width: 80vw;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    /* Evita doble padding vertical del .container global (styles.css) */
    .profesores-page .profesores-section .container,
    .profesores-page .profesores-final-strip .container {
        padding-top: 0;
        padding-bottom: 0;
        padding-left: clamp(0.75rem, 2vw, 1.5rem);
        padding-right: clamp(0.75rem, 2vw, 1.5rem);
    }

    .profesores-page .site-footer .container.profesores-footer-inner {
        padding-top: 2rem;
        padding-bottom: 2rem;
        padding-left: clamp(0.75rem, 2vw, 1.5rem);
        padding-right: clamp(0.75rem, 2vw, 1.5rem);
    }

    /* Legibilidad: texto largo no en líneas infinitas dentro del 80vw */
    .profesores-page .profesores-section .container > p,
    .profesores-page .profesores-section .container > ul.profesores-list-check,
    .profesores-page .profesores-section .container > ul.profesores-list-no {
        max-width: 52rem;
        margin-left: auto;
        margin-right: auto;
    }

    .profesores-page .profesores-section .container > p:first-of-type {
        margin-top: 0;
    }

    .profesores-page .hero.banner-educacion .hero-content {
        max-width: 80vw !important; /* sobre max-width:900px del hero global */
        padding-left: clamp(1rem, 2vw, 2rem);
        padding-right: clamp(1rem, 2vw, 2rem);
    }
}

@media (max-width: 768px) {
    .profesores-page .hero.banner-educacion .hero-content,
    .profesores-page .profesores-section .container,
    .profesores-page .profesores-final-strip .container,
    .profesores-page .site-footer .container.profesores-footer-inner {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: clamp(1rem, 4vw, 1.5rem);
        padding-right: clamp(1rem, 4vw, 1.5rem);
        padding-top: 0;
        padding-bottom: 0;
    }

    .profesores-page .site-footer .container.profesores-footer-inner {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .profesores-page .profesores-section {
        padding-left: 0;
        padding-right: 0;
        padding-top: 2.25rem;
        padding-bottom: 2.25rem;
    }
}

.profesores-page .hero-content {
    text-align: center;
}

.profesores-page .profesores-badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.95);
}

.profesores-page .profesores-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.profesores-page .profesores-section {
    padding: 3rem 0;
}

@media (min-width: 769px) {
    .profesores-page .profesores-section {
        padding: 3rem 0;
    }
}

.profesores-page .profesores-section-alt {
    background: linear-gradient(180deg, rgba(40, 0, 50, 0.04) 0%, transparent 100%);
}

.profesores-page .profesores-resumen-ia {
    margin: 0 auto 2rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(80, 0, 60, 0.12);
    background: #faf8fb;
    font-size: 1.02rem;
    line-height: 1.75;
    box-sizing: border-box;
}

@media (min-width: 769px) {
    .profesores-page .profesores-resumen-ia {
        max-width: 52rem;
        margin-left: auto;
        margin-right: auto;
    }
}

.profesores-page .profesores-resumen-ia h2 {
    margin-top: 0;
    font-size: 1.2rem;
    line-height: 1.35;
}

.profesores-page .profesores-resumen-intro {
    margin: 0 0 1.15rem;
    color: #4a4a4a;
    font-size: 1.02rem;
    line-height: 1.7;
}

.profesores-page .profesores-resumen-ia ul,
.profesores-page .profesores-resumen-lista {
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
}

.profesores-page .profesores-resumen-lista li {
    margin-bottom: 0.85rem;
    line-height: 1.65;
}

.profesores-page .profesores-resumen-lista li:last-child {
    margin-bottom: 0;
}

.profesores-page .profesores-list-check {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.profesores-page .profesores-list-check li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.65rem;
    line-height: 1.6;
}

.profesores-page .profesores-list-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6b2d5c;
    font-weight: 700;
}

.profesores-page .profesores-list-no {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.profesores-page .profesores-list-no li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.65rem;
    line-height: 1.6;
    color: #555;
}

.profesores-page .profesores-list-no li::before {
    content: "×";
    position: absolute;
    left: 0;
    color: #999;
    font-weight: 700;
}

.profesores-page .profesores-cta-block {
    margin: 1.75rem auto;
    padding: 1.5rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.08) 0%, rgba(107, 45, 92, 0.06) 100%);
    border: 1px solid rgba(37, 211, 102, 0.25);
    text-align: center;
    max-width: 52rem;
    box-sizing: border-box;
}

.profesores-page .profesores-cta-block p {
    margin: 0 0 1rem;
    line-height: 1.65;
}

.profesores-page .profesores-cta-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    align-items: center;
}

.profesores-page .whatsapp-btn.profesores-btn-secondary {
    background: #fff;
    color: #128c7e;
    border: 2px solid #25d366;
    box-shadow: none;
}

.profesores-page .whatsapp-btn.profesores-btn-secondary:hover {
    background: #e8f8ef;
    color: #075e54;
}

.profesores-page .profesores-dual-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .profesores-page .profesores-dual-card {
        grid-template-columns: 1fr;
    }
}

.profesores-page .profesores-path-card {
    padding: 1.5rem;
    border-radius: 14px;
    border: 1px solid rgba(80, 0, 60, 0.1);
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.profesores-page .profesores-path-card h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

.profesores-page .profesores-path-card .whatsapp-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    margin-top: 1rem;
}

.profesores-page .profesores-highlight {
    font-weight: 600;
    color: #4a1d40;
}

.profesores-page .profesores-final-strip {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(180deg, rgba(30, 0, 40, 0.06) 0%, rgba(30, 0, 40, 0.02) 100%);
}

.profesores-page .profesores-footer-links {
    margin-top: 2rem;
    line-height: 1.6;
}

.profesores-page .section-title {
    text-align: center;
}

.profesores-page .categoria-descripcion {
    text-align: center;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}
