/**
 * Modalidades — presencial, virtual, virtual-con-docentes, semipresencial, modalidades.php
 * Complementa style.css sin romper clases existentes.
 */

.mod-breadcrumb {
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.65rem 0;
    font-size: 0.82rem;
}

.mod-breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.mod-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #64748b;
}

.mod-breadcrumb li:not(:last-child)::after {
    content: '/';
    color: #cbd5e1;
    font-weight: 400;
    margin-left: 0.35rem;
}

.mod-breadcrumb a {
    color: #0047ab;
    font-weight: 600;
    text-decoration: none;
}

.mod-breadcrumb a:hover {
    text-decoration: underline;
}

.mod-breadcrumb [aria-current='page'] {
    color: #0f172a;
    font-weight: 700;
}

/* Hero */
.mod-hero {
    position: relative;
    padding: 2.75rem 0 2.5rem;
    color: #f8fafc;
    overflow: hidden;
}

.mod-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 65% 50% at 100% 0%, rgba(255, 255, 255, 0.12), transparent 50%);
    pointer-events: none;
}

.mod-hero .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.mod-hero h1 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.75rem, 4vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.mod-hero .mod-hero-lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.55;
    color: #cbd5e1;
    max-width: 38rem;
}

.mod-hero-kpis {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
}

.mod-hero-kpis li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.mod-hero-kpis i {
    font-size: 0.85rem;
    opacity: 0.95;
}

.mod-hero__actions {
    margin-top: 1.15rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.mod-hero--presencial:not(.mod-hero--pres-cover) {
    background:
        radial-gradient(ellipse 90% 70% at 80% -10%, rgba(212, 175, 55, 0.18), transparent 55%),
        radial-gradient(circle at 8% 85%, rgba(200, 16, 46, 0.14), transparent 42%),
        linear-gradient(155deg, #001433 0%, #002966 38%, #0047ab 72%, #001a40 100%) !important;
    border-bottom: none !important;
    overflow: hidden;
}

.mod-hero--presencial .mod-hero-kpis i {
    color: #fde68a;
}

.mod-hero--virtual {
    background: linear-gradient(135deg, #0c1222 0%, #134e4a 42%, #0d9488 100%);
}

.mod-hero--virtual.mod-hero--pres-cover {
    background: transparent !important;
    border-bottom: none !important;
}

.mod-hero--virtual .mod-hero-kpis i {
    color: #5eead4;
}

.mod-hero--virtual-docentes:not(.mod-hero--pres-cover) {
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 48%, #6d28d9 100%) !important;
}

.mod-hero--virtual-docentes.mod-hero--pres-cover {
    background: transparent !important;
    border-bottom: none !important;
}

.mod-hero--virtual-docentes .mod-hero-kpis i {
    color: #e9d5ff;
}

.mod-hero--semipresencial:not(.mod-hero--pres-cover) {
    background: linear-gradient(135deg, #14532d 0%, #166534 40%, #059669 100%) !important;
}

.mod-hero--semipresencial.mod-hero--pres-cover {
    background: transparent !important;
    border-bottom: none !important;
}

.mod-hero--semipresencial .mod-hero-kpis i {
    color: #bbf7d0;
}

.mod-hero--hub {
    background: linear-gradient(135deg, #0c1222 0%, #002966 50%, #0369a1 100%) !important;
    text-align: center;
}

.mod-hero--hub .container {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.mod-hero--hub .mod-hero-lead {
    margin-left: auto;
    margin-right: auto;
}

.mod-hero--hub .mod-hero-kpis {
    justify-content: center;
}

/* Franja referencia costos */
.mod-ref-strip {
    background: linear-gradient(180deg, #f4f7fc 0%, #eef3fa 100%);
    border-bottom: 1px solid #d6e2f3;
    padding: 0.65rem 1rem;
    text-align: center;
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.45;
}

.mod-ref-strip strong {
    color: #0047AB;
}

/* Contenedor principal */
.mod-main {
    display: block;
}

.mod-main > section:first-of-type {
    padding-top: 2.75rem;
}

/* Suaviza secciones largas */
.modalidad-detalle,
.horarios-detalle,
.requisitos-modalidad,
.plataforma-virtual,
.cronograma-flexible,
.requisitos-tecnicos,
.proceso-matricula-virtual,
.horarios-virtuales,
.plataforma-tecnologia,
.cronograma-semanal,
.horarios-semipresencial,
.modalidades-selector,
.comparacion-rapida,
.test-modalidad,
.cta-modalidades {
    scroll-margin-top: 0.5rem;
}

.modalidad-content {
    gap: 2rem;
}

.modalidad-info h2,
.modalidad-info h3 {
    scroll-margin-top: 4rem;
}

/* Tarjetas visuales lateral (Educación Presencial, etc.) — overrides compactación global style.css */
.mod-main .image-placeholder {
    min-height: 420px;
    height: auto;
    max-height: 560px;
    aspect-ratio: 5 / 6;
    border-radius: 22px;
    box-shadow:
        0 24px 48px -20px rgba(15, 23, 42, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

/* Cuadrícula tipo mock (reemplaza el SVG tenue del theme) */
.mod-main .image-placeholder::before {
    opacity: 1 !important;
    background: none !important;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.11) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.11) 1px, transparent 1px) !important;
    background-size: 18px 18px !important;
    background-position: 0 0 !important;
}

.mod-main .image-placeholder.presencial {
    background: linear-gradient(155deg, #0b63d4 0%, #0047ab 42%, #023a8c 100%) !important;
}

.mod-main .image-placeholder.virtual {
    background: linear-gradient(155deg, #0d9f7a 0%, #059669 45%, #047857 100%) !important;
}

.mod-main .image-placeholder.virtual-docentes {
    background: linear-gradient(155deg, #9333ea 0%, #7c3aed 48%, #5b21b6 100%) !important;
}

.mod-main .image-placeholder.semipresencial {
    background: linear-gradient(155deg, #7c3aed 0%, #6d28d9 45%, #4c1d95 100%) !important;
}

.mod-main .image-placeholder .image-content {
    padding: 1.75rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.mod-main .image-placeholder .image-content i {
    font-size: clamp(2.85rem, 8vw, 4rem) !important;
    margin-bottom: 1.1rem !important;
    color: #fff !important;
    opacity: 1 !important;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.28));
}

.mod-main .image-placeholder .image-content h3 {
    font-size: clamp(1.45rem, 3.8vw, 2rem) !important;
    font-weight: 800 !important;
    margin-bottom: 0.45rem !important;
    color: #fff !important;
    letter-spacing: -0.02em;
    line-height: 1.2 !important;
}

.mod-main .image-placeholder .image-content p {
    font-size: clamp(0.95rem, 2.2vw, 1.1rem) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    opacity: 1 !important;
    margin-bottom: 1.75rem !important;
    font-weight: 500;
    max-width: 22rem;
}

.mod-main .image-placeholder .image-stats {
    width: 100%;
    max-width: 22rem;
    margin: 0 auto;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    gap: 1.25rem 2rem;
    justify-content: space-around;
}

.mod-main .image-placeholder .image-stats .stat strong {
    font-size: clamp(1.75rem, 5vw, 2.35rem) !important;
    font-weight: 900 !important;
    color: #C9A227 !important;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
    margin-bottom: 0.35rem !important;
    line-height: 1.1 !important;
}

.mod-main .image-placeholder .image-stats .stat span {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    opacity: 1 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (max-width: 768px) {
    .mod-main .image-placeholder {
        aspect-ratio: auto;
        min-height: 380px;
        max-height: none;
    }

    .mod-main .image-placeholder .image-stats {
        gap: 1rem;
    }
}

.modalidad-cta .btn {
    border-radius: 12px;
    font-weight: 700;
}

.modalidad-cta .btn-primary {
    box-shadow: 0 8px 22px rgba(0, 71, 171, 0.28);
}

.section-title {
    position: relative;
}

.horario-card,
.horario-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mod-hero--hub.mod-hero--compact {
    padding: 1.35rem 0 1.1rem;
    text-align: left;
}

.mod-hero--hub.mod-hero--compact .container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.mod-hero--hub.mod-hero--compact h1 {
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    margin-bottom: 0.4rem;
}

.mod-hero--hub.mod-hero--compact .mod-hero-lead {
    font-size: 0.92rem;
    line-height: 1.45;
    max-width: 42rem;
    margin-left: 0;
    margin-right: 0;
}

.mod-hero--hub.mod-hero--compact .mod-hero-kpis {
    margin-top: 0.75rem;
    justify-content: flex-start;
}

.mod-hero--hub.mod-hero--compact .mod-hero-kpis li {
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
}

.mod-hero-ref {
    margin: 0.65rem 0 0;
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.4;
}

.mod-hero-ref strong {
    color: #C9A227;
    font-weight: 700;
}

/* Hub — tarjetas compactas */
.modalidades-selector {
    padding: 1.35rem 0 2rem !important;
    background: #f8fafc;
}

.mod-main > section:first-of-type {
    padding-top: 0;
}

.modalidades-intro {
    text-align: left;
    max-width: none;
    margin: 0 0 1rem !important;
}

.modalidades-intro h2 {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    margin-bottom: 0.35rem !important;
    color: #0f172a;
}

.modalidades-intro p {
    margin: 0 !important;
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    color: #64748b !important;
    max-width: 42rem;
}

.modalidades-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
    max-width: 1140px;
    margin: 0 auto;
}

.modalidades-selector .modalidad-card {
    padding: 1rem 1.05rem 0.9rem !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06) !important;
}

.modalidades-selector .modalidad-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1) !important;
}

.modalidades-selector .card-header {
    margin-bottom: 0.55rem !important;
}

.modalidades-selector .card-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.1rem !important;
}

.modalidades-selector .card-badge {
    padding: 0.25rem 0.6rem !important;
    font-size: 0.68rem !important;
}

.modalidades-selector .card-content h3 {
    font-size: 1rem !important;
    margin-bottom: 0.3rem !important;
}

.modalidades-selector .card-content p {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.55rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modalidades-selector .card-features {
    margin-bottom: 0.75rem !important;
}

.modalidades-selector .card-features li {
    padding: 0.15rem 0 !important;
    font-size: 0.72rem !important;
    gap: 0.4rem !important;
}

.modalidades-selector .card-footer--dual {
    gap: 0.4rem !important;
}

.modalidades-selector .btn-card-outline,
.modalidades-selector .btn-card-matricula {
    padding: 0.55rem 0.45rem !important;
    font-size: 0.72rem !important;
    border-radius: 10px !important;
}

.comparacion-rapida {
    padding: 2rem 0 !important;
}

.comparacion-rapida .section-title {
    font-size: 1.35rem !important;
    margin-bottom: 1rem !important;
}

.test-modalidad {
    padding: 2rem 0 !important;
}

.test-modalidad .test-content h2 {
    font-size: 1.35rem !important;
    margin-bottom: 0.5rem !important;
}

@media (max-width: 1100px) {
    .modalidades-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .mod-hero--hub.mod-hero--compact {
        padding: 1.15rem 0 0.95rem;
    }

    .mod-hero--hub.mod-hero--compact h1 {
        font-size: 1.35rem;
    }

    .modalidades-cards {
        grid-template-columns: 1fr !important;
    }
}

/* Hub — tarjetas y test */

.option-btn {
    border-radius: 12px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.option-btn:hover {
    transform: translateY(-2px);
}

.option-btn:focus-visible {
    outline: 3px solid #0047ab;
    outline-offset: 2px;
}

.option-btn.selected {
    border-color: #0047ab !important;
    box-shadow: 0 0 0 2px rgba(0, 71, 171, 0.2);
}

.tabla-comparacion {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 36px rgba(15, 23, 42, 0.08);
}

@media (max-width: 768px) {
    .mod-hero {
        padding: 2rem 0 1.75rem;
    }

    .mod-hero h1 {
        font-size: 1.55rem;
    }
}

/* ==========================================
   Virtual Exclusivo — Layout compacto
   ========================================== */

.virtual-hero-elegant {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 42%, #0c4a6e 100%);
    color: #f8fafc;
    padding: 1.75rem 0 2rem;
    border-bottom: 3px solid #C8102E;
}

.virtual-hero-elegant__grid {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 380px);
    gap: 1.5rem;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

.virtual-hero-elegant__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 0.65rem;
}

.virtual-hero-elegant h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.45rem, 3.2vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.virtual-hero-elegant__lead {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #cbd5e1;
    max-width: 34rem;
}

.virtual-hero-elegant__precios {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}

.virtual-precio-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 0.55rem 0.85rem;
    min-width: 120px;
}

.virtual-precio-chip--destacado {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(245, 158, 11, 0.12));
    border-color: rgba(251, 191, 36, 0.45);
}

.virtual-precio-chip__label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.15rem;
}

.virtual-precio-chip__monto {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #C9A227;
    line-height: 1.1;
}

.virtual-precio-chip__nota {
    display: block;
    font-size: 0.72rem;
    color: #e2e8f0;
    margin-top: 0.15rem;
}

.virtual-hero-elegant__kpis {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
}

.virtual-hero-elegant__kpis li {
    font-size: 0.78rem;
    font-weight: 600;
    color: #e2e8f0;
}

.virtual-hero-elegant__kpis i {
    color: #7dd3fc;
    margin-right: 0.25rem;
}

.virtual-hero-elegant__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.virtual-btn-matricula {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #0f172a;
    font-weight: 800;
    font-size: 0.92rem;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(251, 191, 36, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.virtual-btn-matricula:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(251, 191, 36, 0.45);
    color: #0f172a;
}

.virtual-btn-matricula--sm {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
}

.virtual-btn-secundario {
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
    text-decoration: none;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.virtual-btn-secundario:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Panel visual hero — una foto o mockup CSS */
.virtual-hero-visual {
    width: 100%;
}

.virtual-hero-visual__frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 260px;
    background: linear-gradient(145deg, #002966 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.virtual-hero-visual__photo {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
}

.virtual-hero-visual__thumbs {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    display: flex;
    gap: 0.35rem;
    z-index: 2;
}

.virtual-hero-visual__thumb {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.virtual-hero-visual__stats {
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    display: flex;
    justify-content: space-around;
    gap: 0.35rem;
    padding: 0.55rem 0.45rem;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 3;
}

.virtual-hero-visual__stats div {
    text-align: center;
}

.virtual-hero-visual__stats div strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #C9A227;
    line-height: 1.1;
}

.virtual-hero-visual__stats div span {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #e2e8f0;
}

/* Mockup laptop (sin imágenes externas) */
.virtual-hero-mockup {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem 3.5rem;
}

.virtual-hero-mockup__glow {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    pointer-events: none;
}

.virtual-hero-mockup__laptop {
    position: relative;
    z-index: 1;
    width: min(100%, 240px);
}

.virtual-hero-mockup__screen {
    background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px 10px 2px 2px;
    padding: 0.65rem 0.75rem 1rem;
    aspect-ratio: 16 / 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
}

.virtual-hero-mockup__bar {
    align-self: flex-start;
    display: flex;
    gap: 4px;
}

.virtual-hero-mockup__bar span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.virtual-hero-mockup__bar span:first-child { background: #f87171; }
.virtual-hero-mockup__bar span:nth-child(2) { background: #fbbf24; }
.virtual-hero-mockup__bar span:nth-child(3) { background: #4ade80; }

.virtual-hero-mockup__play {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4);
}

.virtual-hero-mockup__play i {
    margin-left: 3px;
}

.virtual-hero-mockup__lines {
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.virtual-hero-mockup__lines span {
    display: block;
    height: 5px;
    border-radius: 3px;
    background: rgba(125, 211, 252, 0.35);
}

.virtual-hero-mockup__lines span:nth-child(2) { width: 85%; }
.virtual-hero-mockup__lines span:nth-child(3) { width: 60%; }

.virtual-hero-mockup__base {
    height: 8px;
    margin: 0 auto;
    width: 110%;
    margin-left: -5%;
    background: linear-gradient(180deg, #334155, #1e293b);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.virtual-hero-mockup__chip {
    position: absolute;
    z-index: 2;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f8fafc;
    backdrop-filter: blur(4px);
}

.virtual-hero-mockup__chip i {
    color: #C9A227;
    margin-right: 0.2rem;
}

.virtual-hero-mockup__chip--1 {
    top: 1.25rem;
    right: 1rem;
}

.virtual-hero-mockup__chip--2 {
    bottom: 4.5rem;
    left: 1rem;
}

/* Contenido compacto */
.mod-main--virtual-compact > section:first-of-type {
    padding-top: 1.5rem;
}

.virtual-compact-block {
    padding: 1.5rem 0 1.25rem;
}

.virtual-compact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.virtual-compact-title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.virtual-compact-text {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.virtual-compact-features {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
}

.virtual-compact-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.88rem;
    color: #334155;
    padding: 0.35rem 0;
}

.virtual-compact-features i {
    color: #0047ab;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.virtual-compact-nota {
    margin: 0;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.45;
}

.virtual-compact-col--cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.virtual-mini-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem;
    text-align: center;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.virtual-mini-card i {
    font-size: 1.35rem;
    color: #0047ab;
    margin-bottom: 0.35rem;
}

.virtual-mini-card h3 {
    margin: 0 0 0.2rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
}

.virtual-mini-card p {
    margin: 0;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.35;
}

.virtual-cta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
    border-radius: 12px;
}

.virtual-cta-bar__text {
    font-size: 0.88rem;
    color: #0047AB;
}

.virtual-cta-bar__text strong {
    font-weight: 800;
}

.virtual-compact-section {
    padding: 1.25rem 0;
}

.virtual-compact-section--muted {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.virtual-section-heading {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.virtual-plataforma-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
}

.virtual-plataforma-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 0.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    text-align: center;
}

.virtual-plataforma-item i {
    font-size: 1.2rem;
    color: #0047ab;
}

.virtual-dos-columnas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.virtual-lista-compacta {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.55;
}

.virtual-lista-compacta li {
    margin-bottom: 0.35rem;
}

.virtual-pasos-compactos {
    list-style: none;
    margin: 0;
    padding: 0;
}

.virtual-pasos-compactos li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    color: #334155;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.virtual-pasos-compactos li:last-child {
    border-bottom: none;
}

.virtual-pasos-compactos span {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0047ab;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
}

@media (max-width: 900px) {
    .virtual-hero-elegant__grid {
        grid-template-columns: 1fr;
    }

    .virtual-hero-elegant__visual,
    .virtual-hero-visual {
        order: -1;
    }

    .virtual-hero-visual__frame {
        min-height: 220px;
    }

    .virtual-hero-mockup {
        min-height: 220px;
        padding-bottom: 3.25rem;
    }

    .virtual-compact-grid,
    .virtual-dos-columnas {
        grid-template-columns: 1fr;
    }

    .virtual-plataforma-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .virtual-cta-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .virtual-cta-bar .virtual-btn-matricula {
        justify-content: center;
    }
}

/* Tarjetas modalidades — doble acción */
.card-footer--dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.btn-card-outline,
.btn-card-matricula {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.85rem 0.65rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-card-outline {
    background: #fff;
    color: #0047ab;
    border: 2px solid #dbeafe;
}

.btn-card-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 71, 171, 0.12);
    color: #003380;
}

.btn-card-matricula {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #0f172a;
    box-shadow: 0 6px 18px rgba(251, 191, 36, 0.28);
}

.btn-card-matricula:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(251, 191, 36, 0.38);
    color: #0f172a;
}

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

/* ── Compacto responsive modalidades ── */
@media (max-width: 768px) {
    .comparacion-rapida,
    .modalidades-selector,
    .test-modalidad {
        padding: 1.75rem 0 !important;
    }

    .comparacion-rapida .section-title {
        font-size: 1.15rem !important;
        margin-bottom: 0.75rem !important;
    }

    .tabla-responsive {
        position: relative;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 10px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    }

    .tabla-responsive::after {
        content: '← Desliza →';
        display: block;
        text-align: center;
        font-size: 0.68rem;
        color: #64748b;
        padding: 0.35rem 0;
        background: #f1f5f9;
    }

    .tabla-comparacion {
        min-width: 560px;
        font-size: 0.76rem;
    }

    .tabla-comparacion th,
    .tabla-comparacion td {
        padding: 0.48rem 0.5rem !important;
    }

    .question-card,
    .test-result {
        padding: 1.25rem !important;
        border-radius: 14px !important;
    }

    .question-card h3 {
        font-size: 1.05rem !important;
        margin-bottom: 1rem !important;
    }

    .option-btn {
        padding: 0.85rem !important;
        font-size: 0.85rem !important;
        gap: 0.65rem !important;
    }

    .mod-hero {
        padding: 1.5rem 0 1.25rem !important;
    }

    .mod-hero h1 {
        font-size: 1.35rem !important;
    }
}

.modalidades-selector .modalidad-card .card-icon {
    background: inherit !important;
    color: #fff !important;
}

.modalidades-selector .presencial-card .card-icon {
    background: linear-gradient(135deg, #0047AB, #003380) !important;
}

.modalidades-selector .virtual-card .card-icon {
    background: linear-gradient(135deg, #10b981, #059669) !important;
}

.modalidades-selector .semipresencial-card .card-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
}

.modalidades-selector .virtual-docentes-card .card-icon {
    background: linear-gradient(135deg, #9333ea, #7c3aed) !important;
}

.modalidades-selector .btn-card-matricula {
    background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
    color: #0f172a !important;
}

.modalidades-selector .btn-card-outline {
    background: #fff !important;
    color: #0047ab !important;
    border: 2px solid #dbeafe !important;
}

/* Detalle modalidad — rejilla y bloques */
.mod-main .modalidad-content {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px) !important;
    gap: 2.5rem !important;
    align-items: start !important;
}

.mod-main .modalidad-info h2 {
    font-size: clamp(1.45rem, 3vw, 1.85rem) !important;
    margin-bottom: 0.65rem !important;
}

.mod-main .modalidad-desc {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #475569 !important;
}

.mod-main .modalidad-highlight {
    gap: 0.75rem !important;
    margin: 1.25rem 0 1.5rem !important;
}

.mod-main .highlight-item {
    border-radius: 12px !important;
    padding: 0.85rem 1rem !important;
}

.mod-main .feature-list li {
    font-size: 0.9rem !important;
    padding: 0.4rem 0 !important;
}

.mod-main .ventajas-grid {
    gap: 0.85rem !important;
}

.mod-main .ventaja-item {
    border-radius: 12px !important;
    padding: 1rem !important;
}

.mod-main .horario-card {
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}

.mod-main .horario-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1) !important;
}

.mod-main .requisitos-content {
    gap: 1.25rem !important;
}

.mod-main .requisitos-col {
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 1.25rem 1.35rem !important;
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04) !important;
}

.mod-main .modalidad-cta {
    border-radius: 16px !important;
    margin-top: 1.5rem !important;
}

.mod-main .cta-modalidades {
    padding: 2.75rem 0 !important;
}

.mod-main .cta-modalidades h2 {
    font-size: clamp(1.45rem, 3vw, 2rem) !important;
}

@media (max-width: 900px) {
    .mod-main .modalidad-content {
        grid-template-columns: 1fr !important;
    }

    .mod-main .modalidad-image {
        order: -1;
    }
}

.faq-hero {
    padding: 2.5rem 0 2rem !important;
}

.faq-main {
    padding: 2.5rem 0 3.5rem !important;
}

.faq-stats-bar {
    padding: 1rem 0 !important;
}

.faq-hero-content h1 {
    font-size: clamp(1.65rem, 4vw, 2.35rem) !important;
}

.contacto-modern.contacto-modern--v2 {
    padding: 2.5rem 0 3rem !important;
}

.mod-main .modalidad-detalle {
    padding: 2.5rem 0 !important;
}

.mod-main .horarios-detalle,
.mod-main .requisitos-modalidad,
.mod-main .cronograma-semanal,
.mod-main .horarios-semipresencial,
.mod-main .horarios-virtuales,
.mod-main .plataforma-tecnologia,
.mod-main .requisitos-tecnicos {
    padding: 2.25rem 0 !important;
}

.mod-main .section-title {
    font-size: clamp(1.25rem, 2.8vw, 1.55rem) !important;
    margin-bottom: 1.25rem !important;
}

.mod-otras-modalidades {
    padding: 2rem 0 2.75rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-top: 1px solid #e2e8f0;
}

.mod-otras-modalidades__label {
    margin: 0 0 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    text-align: center;
}

.mod-otras-modalidades__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.mod-otras-modalidades__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    color: #0047ab;
    background: #fff;
    border: 1px solid #dbeafe;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.mod-otras-modalidades__link:hover {
    transform: translateY(-2px);
    border-color: #93c5fd;
    box-shadow: 0 6px 18px rgba(0, 71, 171, 0.1);
    color: #003380;
}

.mod-otras-modalidades__link--hub {
    background: #eff6ff;
    border-color: #bfdbfe;
}

@media (max-width: 768px) {
    .faq-main {
        padding: 2rem 0 2.75rem !important;
    }

    .mod-main .modalidad-detalle {
        padding: 1.75rem 0 !important;
    }

    .mod-otras-modalidades__links {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.25rem;
        scrollbar-width: none;
    }

    .mod-otras-modalidades__links::-webkit-scrollbar {
        display: none;
    }

    .mod-otras-modalidades__link {
        flex-shrink: 0;
    }
}

/* ═══════════════════════════════════════
   Página Presencial — hero cover limpio
   ═══════════════════════════════════════ */

.mod-hero--presencial.mod-hero--pres-cover {
    background: transparent !important;
    border-bottom: none !important;
}

.mod-hero--pres-cover {
    position: relative;
    padding: clamp(2.75rem, 6vw, 4.5rem) 0 !important;
    min-height: clamp(420px, 58vh, 540px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.mod-hero--pres-cover__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #0047ab;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

.mod-hero--pres-cover__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0, 71, 171, 0.94) 0%, rgba(0, 71, 171, 0.82) 40%, rgba(0, 71, 171, 0.45) 68%, rgba(0, 71, 171, 0.2) 100%);
    pointer-events: none;
}

.mod-hero--pres-cover::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #0047ab, #c8102e, #c9a227, #c8102e, #0047ab);
    z-index: 3;
}

.mod-hero--pres-cover__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 340px);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

.mod-hero--pres-cover__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.85rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: #c8102e;
    border: none;
    box-shadow: 0 4px 14px rgba(200, 16, 46, 0.35);
}

.mod-hero--pres-cover__eyebrow i {
    font-size: 0.75rem;
    color: #fff;
    opacity: 1;
}

.mod-hero--pres-cover h1 {
    margin: 0 0 0.75rem !important;
    font-size: clamp(2rem, 4.5vw, 2.85rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: #fff !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.mod-hero--pres-cover .mod-hero-lead {
    max-width: 32rem;
    margin: 0 0 1.15rem;
    font-size: clamp(0.92rem, 1.5vw, 1.02rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88) !important;
}

.mod-hero-kpis--clean {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
}

.mod-hero-kpis--clean li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

/* Chips presencial — colores sólidos (prioridad sobre pages-elegant.css) */
.mod-hero--pres-cover .mod-hero-kpis--clean li.mod-hero-kpi--turnos {
    background: linear-gradient(135deg, #fbbf24, #ea580c) !important;
    border: none !important;
}

.mod-hero--pres-cover .mod-hero-kpis--clean li.mod-hero-kpi--horario {
    background: linear-gradient(135deg, #22c55e, #15803d) !important;
    border: none !important;
}

.mod-hero--pres-cover .mod-hero-kpis--clean li.mod-hero-kpi--lab {
    background: linear-gradient(135deg, #a855f7, #7c3aed) !important;
    border: none !important;
}

.mod-hero--pres-cover .mod-hero-kpis--clean li.mod-hero-kpi--minedu {
    background: linear-gradient(135deg, #f43f5e, #be123c) !important;
    border: none !important;
}

.mod-hero--pres-cover .mod-hero-kpis--clean i {
    color: #fff !important;
    font-size: 0.75rem;
    opacity: 1;
}

.mod-hero--pres-cover .mod-hero__actions {
    margin-top: 0;
}

.mod-hero--pres-cover .mod-hero__btn-matricula--hero {
    background: linear-gradient(135deg, #fde047, #f59e0b) !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 0.92rem !important;
    padding: 0.75rem 1.35rem !important;
    border: 2px solid #fff !important;
    box-shadow: 0 8px 28px rgba(251, 191, 36, 0.55) !important;
}

.mod-hero--pres-cover .mod-hero__btn-matricula--hero i {
    color: #0f172a !important;
}

.mod-hero--pres-cover .mod-hero__btn-matricula--hero:hover {
    background: linear-gradient(135deg, #fef08a, #fbbf24) !important;
    color: #0f172a !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(251, 191, 36, 0.65) !important;
}

.mod-hero__btn-matricula {
    background: #c8102e !important;
    box-shadow: 0 4px 18px rgba(200, 16, 46, 0.4) !important;
}

.mod-hero__btn-matricula:hover {
    background: #a50d1a !important;
}

.mod-hero-btn-sec--light {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #0047ab !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.mod-hero-btn-sec--light:hover {
    background: #fff !important;
    color: #002966 !important;
}

/* Panel de precios — tarjeta blanca clara */
.mod-pres-price-panel {
    background: #fff;
    border-radius: 16px;
    padding: 1.35rem 1.4rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    border-top: 4px solid #c8102e;
}

.mod-pres-price-panel__tag {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 0.85rem;
}

.mod-pres-price-panel__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.mod-pres-price-panel__item {
    padding: 0.75rem;
    border-radius: 12px;
    background: #f4f7fc;
    border: 1px solid #e2e8f0;
}

.mod-pres-price-panel__item--accent {
    background: linear-gradient(135deg, #fff8f0, #fef3c7);
    border-color: rgba(201, 162, 39, 0.35);
}

.mod-pres-price-panel__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.mod-pres-price-panel__value {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    color: #0047ab;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.mod-pres-price-panel__item--accent .mod-pres-price-panel__value {
    color: #c8102e;
}

.mod-pres-price-panel__note {
    margin: 0 0 0.85rem;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.45;
}

.mod-pres-price-panel__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: #0047ab;
    transition: background 0.15s ease;
}

.mod-pres-price-panel__cta:hover {
    background: #002966;
    color: #fff;
}

.mod-quick-bar--presencial {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.mod-quick-bar--presencial .mod-quick-bar__link {
    color: #0047ab;
    background: #f4f7fc;
    border-color: #d6e2f3;
}

.mod-quick-bar--presencial .mod-quick-bar__link:hover {
    background: #e8f0fb;
    color: #002966;
}

/* Galería instalaciones */
.mod-pres-instalaciones__head {
    text-align: center;
    margin-bottom: 1.5rem;
}

.mod-pres-instalaciones__head .modalidad-badge {
    margin-bottom: 0.65rem;
}

.mod-pres-galeria {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(175px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    min-height: 360px;
    max-height: 400px;
}

.mod-pres-galeria--5 {
    border-radius: 0;
    overflow: visible;
}

.mod-pres-galeria__item {
    margin: 0;
    overflow: hidden;
    position: relative;
    border-radius: 14px;
    min-height: 0;
}

.mod-pres-galeria__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 20, 51, 0.72) 0%, rgba(0, 20, 51, 0.08) 38%, transparent 62%);
    pointer-events: none;
    z-index: 1;
}

.mod-pres-galeria__item--hero {
    grid-column: 1;
    grid-row: 1 / 3;
}

.mod-pres-galeria__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.mod-pres-galeria__item:hover img {
    transform: scale(1.03);
}

.mod-pres-galeria__caption {
    position: absolute;
    left: 0.85rem;
    right: auto;
    bottom: 0.75rem;
    margin: 0;
    padding: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    background: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
    pointer-events: none;
    z-index: 2;
    line-height: 1.2;
}

.mod-pres-inst {
    border-top: 3px solid #0047ab;
}

.mod-pres-inst__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 0.55rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #0047ab;
    font-size: 1.2rem;
}

.mod-pres-inst:hover {
    border-color: #c8102e;
    box-shadow: 0 12px 28px rgba(0, 71, 171, 0.1);
}

.mod-pres-inst:hover .mod-pres-inst__icon {
    background: linear-gradient(135deg, #c8102e, #a50d1a);
    color: #fff;
}

.mod-pres-cta {
    background:
        linear-gradient(135deg, #002966 0%, #0047ab 100%) !important;
    border-top: 3px solid #c8102e;
}

@media (max-width: 900px) {
    .mod-hero--pres-cover__inner {
        grid-template-columns: 1fr;
    }

    .mod-hero--pres-cover__pricing {
        order: -1;
    }

    .mod-hero--pres-cover__shade {
        background:
            linear-gradient(180deg, rgba(0, 71, 171, 0.93) 0%, rgba(0, 71, 171, 0.78) 55%, rgba(0, 71, 171, 0.55) 100%);
    }

    .mod-pres-galeria {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px repeat(2, minmax(140px, 1fr));
        min-height: auto;
        max-height: none;
    }

    .mod-pres-galeria__item--hero {
        grid-column: 1 / 3;
        grid-row: 1;
    }
}

@media (max-width: 480px) {
    .mod-hero--pres-cover {
        min-height: auto;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .mod-pres-price-panel__grid {
        grid-template-columns: 1fr;
    }

    .mod-pres-galeria {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: auto;
        max-height: none;
    }

    .mod-pres-galeria__item,
    .mod-pres-galeria__item--hero {
        grid-column: 1;
        grid-row: auto;
        min-height: 200px;
    }
}

/* ═══════════════════════════════════════
   Página Presencial — detalle mejorado
   ═══════════════════════════════════════ */

.mod-hero--detalle {
    padding: 2.25rem 0 2rem !important;
}

.mod-hero--detalle__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 1.75rem;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

.mod-hero--detalle__copy {
    min-width: 0;
}

.mod-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #e2e8f0;
    margin-bottom: 0.65rem;
}

.mod-hero--presencial.mod-hero--detalle h1 {
    font-size: clamp(1.65rem, 3.8vw, 2.35rem) !important;
    margin-bottom: 0.5rem;
}

.mod-hero--detalle .mod-hero-lead {
    max-width: 36rem;
    font-size: 0.95rem;
}

.mod-hero--detalle .mod-hero__actions {
    margin-top: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.mod-hero-btn-sec {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background 0.15s ease;
}

.mod-hero-btn-sec:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.mod-precio-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.15rem 1.2rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.mod-precio-card--presencial {
    border-color: rgba(125, 211, 252, 0.35);
}

.mod-precio-card__eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 0.65rem;
}

.mod-precio-card__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.mod-precio-card__label {
    display: block;
    font-size: 0.72rem;
    color: #cbd5e1;
    margin-bottom: 0.15rem;
}

.mod-precio-card__monto {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.mod-precio-card__monto--gold {
    color: #C9A227;
}

.mod-precio-card__nota {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.45;
}

.mod-precio-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #7dd3fc;
    text-decoration: none;
}

.mod-precio-card__link:hover {
    color: #bae6fd;
    text-decoration: underline;
}

.mod-quick-bar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.mod-quick-bar__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding: 0.65rem 1rem;
}

.mod-quick-bar__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    color: #0047ab;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    transition: background 0.15s, transform 0.15s;
}

.mod-quick-bar__link:hover {
    background: #dbeafe;
    color: #003380;
    transform: translateY(-1px);
}

.mod-quick-bar__link--wa {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}

.mod-quick-bar__link--wa:hover {
    background: #d1fae5;
    color: #065f46;
}

.mod-quick-bar__link--wa i {
    color: #25d366;
}

.mod-main--presencial .presencial-section {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.mod-main--presencial .presencial-highlight {
    border-left-color: #0047ab !important;
}

.mod-feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    margin: 0 0 1.35rem;
    padding: 0;
}

.mod-feature-chips li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.mod-feature-chips i {
    color: #0047ab;
    font-size: 0.75rem;
}

.mod-ventajas-compact .ventaja-item {
    padding: 0.95rem !important;
}

.mod-ventajas-compact .ventaja-item h4 {
    font-size: 0.92rem !important;
}

.mod-ventajas-compact .ventaja-item p {
    font-size: 0.8rem !important;
}

.mod-pres-ideal {
    margin-top: 0;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #dbeafe;
    box-shadow: 0 4px 16px rgba(0, 71, 171, 0.06);
}

.mod-pres-fill {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.mod-pres-fill__title {
    margin: 0 0 0.55rem;
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mod-pres-fill__title i {
    color: #0047ab;
}

.mod-pres-turnos-mini {
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid #dbeafe;
}

.mod-pres-turnos-mini__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.mod-pres-turno-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.65rem 0.35rem;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.mod-pres-turno-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 71, 171, 0.1);
    border-color: #bfdbfe;
}

.mod-pres-turno-mini i {
    font-size: 1.1rem;
}

.mod-pres-turno-mini--manana i { color: #f59e0b; }
.mod-pres-turno-mini--tarde i { color: #0ea5e9; }
.mod-pres-turno-mini--noche i { color: #6366f1; }

.mod-pres-turno-mini strong {
    font-size: 0.78rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.mod-pres-turno-mini span {
    font-size: 0.68rem;
    color: #64748b;
    line-height: 1.25;
}

.mod-pres-fill__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0047ab;
    text-decoration: none;
}

.mod-pres-fill__link:hover {
    color: #003380;
    text-decoration: underline;
}

.mod-pres-confianza {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.mod-pres-confianza__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.4rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.mod-pres-confianza__item i {
    font-size: 1rem;
    color: #0047ab;
}

.mod-pres-confianza__item span {
    font-size: 0.68rem;
    font-weight: 700;
    color: #475569;
    line-height: 1.25;
}

.mod-pres-mini-cta {
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #0047ab 0%, #0066cc 100%);
    color: #fff;
    box-shadow: 0 10px 28px rgba(0, 71, 171, 0.25);
}

.mod-pres-mini-cta p {
    margin: 0 0 0.65rem;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
}

.mod-pres-mini-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mod-pres-mini-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease;
}

.mod-pres-mini-cta__btn:hover {
    transform: translateY(-1px);
}

.mod-pres-mini-cta__btn--primary {
    background: #fff;
    color: #0047ab;
}

.mod-pres-mini-cta__btn--primary:hover {
    background: #eff6ff;
    color: #003380;
}

.mod-pres-mini-cta__btn--wa {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.mod-pres-mini-cta__btn--wa:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

@media (max-width: 480px) {
    .mod-pres-turnos-mini__grid,
    .mod-pres-confianza {
        grid-template-columns: 1fr;
    }

    .mod-pres-turno-mini {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 0.65rem 0.85rem;
    }

    .mod-pres-confianza__item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 0.65rem 0.85rem;
    }

    .mod-pres-mini-cta__actions {
        flex-direction: column;
    }
}

/* Panel visual — foto / mapa (reemplaza card azul) */
.mod-pres-side {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-width: 0;
}

.mod-pres-visual {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.mod-pres-visual__frame {
    position: relative;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #0f172a;
    box-shadow:
        0 20px 48px -16px rgba(15, 23, 42, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    min-height: 280px;
}

.mod-pres-visual__photo {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: 380px;
    object-fit: cover;
    object-position: center;
}

.mod-pres-visual__map {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
}

.mod-pres-visual__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mod-pres-visual__badge i {
    color: #C9A227;
}

.mod-pres-visual__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    margin: 0;
    padding: 2.25rem 0.85rem 0.85rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.55) 55%, transparent 100%);
    color: #fff;
}

.mod-pres-visual__caption strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.15rem;
}

.mod-pres-visual__caption span {
    display: block;
    font-size: 0.78rem;
    color: #e2e8f0;
    line-height: 1.35;
}

.mod-pres-visual__thumbs {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
}

.mod-pres-visual__thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.mod-pres-visual__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.mod-pres-stat {
    text-align: center;
    padding: 0.65rem 0.4rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.mod-pres-stat strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 900;
    color: #0047ab;
    line-height: 1.1;
}

.mod-pres-stat span {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.mod-pres-visual__map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    color: #0047ab;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    transition: background 0.15s ease, transform 0.15s ease;
}

.mod-pres-visual__map-btn:hover {
    background: #dbeafe;
    color: #003380;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .mod-pres-side {
        order: -1;
    }

    .mod-pres-visual__frame {
        min-height: 240px;
    }

    .mod-pres-visual__photo {
        min-height: 240px;
        max-height: 320px;
    }

    .mod-pres-visual__map {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .mod-pres-visual__stats {
        gap: 0.35rem;
    }

    .mod-pres-stat strong {
        font-size: 1rem;
    }
}

.mod-pres-ideal h3 {
    margin: 0 0 0.55rem;
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mod-pres-ideal h3 i {
    color: #0047ab;
}

.mod-pres-ideal ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.55;
}

.mod-pres-ideal li {
    margin-bottom: 0.25rem;
}

.mod-section-lead {
    text-align: center;
    max-width: 36rem;
    margin: -0.5rem auto 1.35rem !important;
    font-size: 0.9rem !important;
    color: #64748b !important;
}

.mod-pres-instalaciones {
    padding: 2.25rem 0 !important;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.mod-pres-instalaciones__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.mod-pres-inst {
    text-align: center;
    padding: 1.1rem 0.85rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mod-pres-inst:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.mod-pres-inst i {
    display: block;
    font-size: 1.35rem;
    color: #0047ab;
    margin-bottom: 0.45rem;
}

.mod-pres-inst strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.mod-pres-inst span {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
}

.mod-horarios--presencial {
    background: #f8fafc !important;
}

.mod-horarios-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1rem !important;
}

.mod-horario-card {
    padding: 1.25rem !important;
    border-top: 4px solid #0047ab;
}

.mod-horario-card--manana {
    border-top-color: #f59e0b;
}

.mod-horario-card--manana .horario-header i {
    color: #f59e0b !important;
}

.mod-horario-card--tarde {
    border-top-color: #0ea5e9;
}

.mod-horario-card--tarde .horario-header i {
    color: #0ea5e9 !important;
}

.mod-horario-card--noche {
    border-top-color: #6366f1;
}

.mod-horario-card--noche .horario-header i {
    color: #6366f1 !important;
}

.mod-horario-hora {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 0.65rem !important;
}

.mod-horario-card .horario-header {
    margin-bottom: 0.85rem !important;
    padding-bottom: 0.65rem !important;
}

.mod-horario-card .horario-header h3 {
    font-size: 1.05rem !important;
}

.mod-horario-card .horario-header i {
    font-size: 1.35rem !important;
}

.mod-requisitos-nota {
    text-align: center;
    margin: 1.25rem auto 0;
    max-width: 32rem;
    font-size: 0.85rem;
    color: #64748b;
}

.mod-requisitos-nota a {
    color: #0047ab;
    font-weight: 700;
}

/* Requisitos presencial — tarjetas con iconos claros */
.mod-requisitos--presencial {
    padding: 2.75rem 0 !important;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%) !important;
}

.mod-requisitos-head {
    text-align: center;
    margin-bottom: 1.75rem;
}

.mod-requisitos-head .modalidad-badge {
    margin-bottom: 0.65rem;
}

.mod-requisitos-grid {
    gap: 1.25rem !important;
    max-width: 920px !important;
}

.mod-requisitos-card {
    border-top: 3px solid #0047ab !important;
    padding: 1.35rem 1.4rem 1.25rem !important;
}

.mod-requisitos-card__head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #e2e8f0;
}

.mod-requisitos-card__head h3 {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.mod-requisitos-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.mod-requisitos-card__icon--docs {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #0047ab;
}

.mod-requisitos-card__icon--cond {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    color: #c8102e;
}

.mod-requisitos-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mod-requisitos-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 0.88rem;
    line-height: 1.5;
}

.mod-requisitos-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mod-requisitos-list__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-top: 0.1rem;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.62rem;
    flex-shrink: 0;
    border: 1px solid #a7f3d0;
}

.mod-requisitos-list li:hover .mod-requisitos-list__check {
    background: #059669;
    color: #fff;
    border-color: #059669;
}

.mod-requisitos--presencial .mod-requisitos-list li:before {
    content: none !important;
    display: none !important;
}

.mod-pres-cta {
    padding: 2.5rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 45%, #0047ab 100%);
    color: #fff;
}

.mod-pres-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.mod-pres-cta__copy h2 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.25rem, 2.8vw, 1.65rem);
    font-weight: 800;
}

.mod-pres-cta__copy p {
    margin: 0;
    font-size: 0.9rem;
    color: #cbd5e1;
    max-width: 34rem;
    line-height: 1.5;
}

.mod-pres-cta__copy strong {
    color: #C9A227;
}

.mod-pres-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.mod-pres-cta__ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.mod-pres-cta__ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

@media (max-width: 900px) {
    .mod-hero--detalle__grid {
        grid-template-columns: 1fr;
    }

    .mod-hero--detalle__aside {
        order: -1;
    }

    .mod-pres-instalaciones__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mod-horarios-grid--3 {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .mod-quick-bar__inner {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .mod-quick-bar__inner::-webkit-scrollbar {
        display: none;
    }

    .mod-quick-bar__link {
        flex-shrink: 0;
    }

    .mod-pres-cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .mod-pres-cta__actions {
        width: 100%;
        flex-direction: column;
    }

    .mod-pres-cta__actions .virtual-btn-matricula,
    .mod-pres-cta__ghost {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .mod-pres-instalaciones__grid {
        grid-template-columns: 1fr;
    }

    .mod-precio-card__row {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════
   Página Semipresencial — detalle mejorado
   ═══════════════════════════════════════ */

.mod-hero--semi-cover .mod-hero--pres-cover__eyebrow,
.mod-hero--semi-cover__eyebrow {
    background: #059669;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.mod-hero--semi-cover .mod-hero-kpis--clean li.mod-hero-kpi--semi-fin {
    background: linear-gradient(135deg, #22c55e, #15803d) !important;
    border: none !important;
}

.mod-hero--semi-cover .mod-hero-kpis--clean li.mod-hero-kpi--semi-virtual {
    background: linear-gradient(135deg, #a855f7, #7c3aed) !important;
    border: none !important;
}

.mod-hero--semi-cover .mod-hero-kpis--clean li.mod-hero-kpi--semi-trabajo {
    background: linear-gradient(135deg, #fbbf24, #ea580c) !important;
    border: none !important;
}

.mod-hero--semi-cover .mod-hero-kpis--clean li.mod-hero-kpi--minedu {
    background: linear-gradient(135deg, #f43f5e, #be123c) !important;
    border: none !important;
}

.mod-quick-bar--semipresencial {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.mod-quick-bar--semipresencial .mod-quick-bar__link {
    color: #0047ab;
    background: #f4f7fc;
    border-color: #d6e2f3;
}

.mod-quick-bar--semipresencial .mod-quick-bar__link:hover {
    background: #e8f0fb;
    color: #002966;
}

.mod-main--semipresencial .semipresencial-section {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.mod-semi-instalaciones {
    padding: 2.25rem 0 !important;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.mod-requisitos--semipresencial {
    padding: 2.75rem 0 !important;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%) !important;
}

.mod-requisitos--semipresencial .mod-requisitos-card {
    border-top-color: #059669 !important;
}

.mod-hero--semipresencial.mod-hero--detalle h1 {
    font-size: clamp(1.65rem, 3.8vw, 2.35rem) !important;
    margin-bottom: 0.5rem;
}

.mod-precio-card--semipresencial {
    border-color: rgba(167, 243, 208, 0.4);
}

.mod-precio-card__link--semi {
    color: #bbf7d0;
}

.mod-precio-card__link--semi:hover {
    color: #dcfce7;
}

.mod-feature-chips--semi li {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.mod-feature-chips--semi i {
    color: #059669;
}

.mod-main--semipresencial .mod-pres-ideal {
    border-color: #a7f3d0;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.08);
}

.mod-main--semipresencial .mod-pres-ideal h3 i {
    color: #059669;
}

.mod-main--semipresencial .mod-pres-fill__title i {
    color: #059669;
}

.mod-main--semipresencial .mod-semi-bloques {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-color: #a7f3d0;
}

.mod-semi-bloque--sab-manana i { color: #f59e0b; }
.mod-semi-bloque--sab-tarde i { color: #0ea5e9; }
.mod-semi-bloque--dom i { color: #059669; }

.mod-main--semipresencial .mod-pres-turno-mini:hover {
    border-color: #6ee7b7;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.12);
}

.mod-main--semipresencial .mod-semi-fill__link {
    color: #059669;
}

.mod-main--semipresencial .mod-semi-fill__link:hover {
    color: #047857;
}

.mod-main--semipresencial .mod-pres-confianza__item i {
    color: #059669;
}

.mod-main--semipresencial .mod-semi-mini-cta {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
    box-shadow: 0 10px 28px rgba(5, 150, 105, 0.28);
}

.mod-main--semipresencial .mod-semi-mini-cta .mod-pres-mini-cta__btn--primary {
    color: #047857;
}

.mod-main--semipresencial .mod-semi-mini-cta .mod-pres-mini-cta__btn--primary:hover {
    background: #ecfdf5;
    color: #065f46;
}

.mod-semi-visual__badge i {
    color: #6ee7b7;
}

.mod-main--semipresencial .mod-pres-stat strong {
    color: #059669;
}

.mod-semi-visual__map-btn {
    color: #047857;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.mod-semi-visual__map-btn:hover {
    background: #d1fae5;
    color: #065f46;
}

.mod-semi-visual__fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 280px;
    color: #fff;
    background: linear-gradient(155deg, #059669 0%, #047857 100%);
}

.mod-semi-visual__fallback i {
    font-size: 3rem;
    opacity: 0.9;
}

.mod-semi-visual__fallback span {
    font-size: 0.9rem;
    font-weight: 700;
}

/* Cronograma semanal mejorado */
.mod-semi-cronograma {
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.mod-semi-cronograma__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.mod-semi-cronograma__dia {
    padding: 1.15rem 1.2rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mod-semi-cronograma__dia:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.mod-semi-cronograma__dia--destacado {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #6ee7b7;
}

.mod-semi-cronograma__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.mod-semi-cronograma__head i {
    font-size: 1.15rem;
    color: #64748b;
}

.mod-semi-cronograma__dia--destacado .mod-semi-cronograma__head i {
    color: #059669;
}

.mod-semi-cronograma__head h3 {
    margin: 0;
    flex: 1;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.mod-semi-cronograma__tag {
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #475569;
    background: #e2e8f0;
}

.mod-semi-cronograma__tag--presencial {
    color: #065f46;
    background: #a7f3d0;
}

.mod-semi-cronograma__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mod-semi-cronograma__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.45;
}

.mod-semi-cronograma__list i {
    margin-top: 0.15rem;
    color: #94a3b8;
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
}

.mod-semi-cronograma__dia--destacado .mod-semi-cronograma__list i {
    color: #059669;
}

/* Horarios semipresencial */
.mod-horarios--semipresencial {
    background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
    border-top: 1px solid #e2e8f0;
}

.mod-semi-horario .horario-header i {
    color: #059669;
}

.mod-requisitos--semipresencial {
    background: #fff;
}

/* CTA final semipresencial */
.mod-semi-cta {
    padding: 2.25rem 0 !important;
    background: linear-gradient(135deg, #002966 0%, #0047ab 100%) !important;
    color: #fff;
    border-top: 3px solid #059669;
}

.mod-semi-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

.mod-semi-cta__copy h2 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #fff;
}

.mod-semi-cta__copy p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
    max-width: 36rem;
}

.mod-semi-cta__copy strong {
    color: #C9A227;
}

.mod-semi-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.mod-semi-cta__actions .virtual-btn-matricula {
    background: linear-gradient(135deg, #fde047, #f59e0b) !important;
    color: #0f172a !important;
    border: 2px solid #fff !important;
    box-shadow: 0 8px 28px rgba(251, 191, 36, 0.55) !important;
}

.mod-semi-cta__actions .virtual-btn-matricula:hover {
    color: #0f172a !important;
}

.mod-semi-cta__ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background 0.15s ease;
}

.mod-semi-cta__ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

@media (max-width: 900px) {
    .mod-semi-cronograma__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mod-semi-cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .mod-semi-cta__actions {
        width: 100%;
        flex-direction: column;
    }

    .mod-semi-cta__actions .virtual-btn-matricula,
    .mod-semi-cta__ghost {
        width: 100%;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════
   Página Virtual con Docentes — detalle
   ═══════════════════════════════════════ */

.mod-hero--vdoc-cover .mod-hero--pres-cover__eyebrow,
.mod-hero--vdoc-cover__eyebrow {
    background: #6d28d9;
    box-shadow: 0 4px 14px rgba(109, 40, 217, 0.35);
}

.mod-hero--vdoc-cover .mod-hero-kpis--clean li.mod-hero-kpi--vdoc-vivo {
    background: linear-gradient(135deg, #a855f7, #7c3aed) !important;
    border: none !important;
}

.mod-hero--vdoc-cover .mod-hero-kpis--clean li.mod-hero-kpi--vdoc-hora {
    background: linear-gradient(135deg, #6366f1, #4338ca) !important;
    border: none !important;
}

.mod-hero--vdoc-cover .mod-hero-kpis--clean li.mod-hero-kpi--vdoc-grab {
    background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
    border: none !important;
}

.mod-hero--vdoc-cover .mod-hero-kpis--clean li.mod-hero-kpi--minedu {
    background: linear-gradient(135deg, #f43f5e, #be123c) !important;
    border: none !important;
}

.mod-hero--vdoc-cover .mod-hero--pres-cover__shade {
    background:
        linear-gradient(90deg, rgba(0, 41, 102, 0.94) 0%, rgba(0, 71, 171, 0.86) 38%, rgba(76, 29, 149, 0.55) 68%, rgba(109, 40, 217, 0.28) 100%);
}

.mod-quick-bar--vdoc {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.mod-quick-bar--vdoc .mod-quick-bar__link {
    color: #0047ab;
    background: #f4f7fc;
    border-color: #d6e2f3;
}

.mod-quick-bar--vdoc .mod-quick-bar__link:hover {
    background: #e8f0fb;
    color: #002966;
}

.mod-main--vdoc .virtual-docentes-section {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.mod-vdoc-galeria {
    padding: 2.25rem 0 !important;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.mod-requisitos--vdoc {
    padding: 2.75rem 0 !important;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%) !important;
}

.mod-requisitos--vdoc .mod-requisitos-card {
    border-top-color: #7c3aed !important;
}

.mod-hero--virtual-docentes.mod-hero--detalle h1 {
    font-size: clamp(1.65rem, 3.8vw, 2.35rem) !important;
    margin-bottom: 0.5rem;
}

.mod-precio-card--vdoc {
    border-color: rgba(233, 213, 255, 0.4);
}

.mod-precio-card__link--vdoc {
    color: #e9d5ff;
}

.mod-precio-card__link--vdoc:hover {
    color: #f3e8ff;
}

.mod-feature-chips--vdoc li {
    background: #f5f3ff;
    border-color: #ddd6fe;
    color: #5b21b6;
}

.mod-feature-chips--vdoc i {
    color: #7c3aed;
}

.mod-main--vdoc .mod-pres-ideal {
    border-color: #ddd6fe;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.08);
}

.mod-main--vdoc .mod-pres-ideal h3 i,
.mod-main--vdoc .mod-pres-fill__title i {
    color: #7c3aed;
}

.mod-main--vdoc .mod-vdoc-bloques {
    background: linear-gradient(135deg, #faf5ff 0%, #f5f3ff 100%);
    border-color: #ddd6fe;
}

.mod-vdoc-bloque--sab i { color: #6366f1; }
.mod-vdoc-bloque--dom i { color: #8b5cf6; }
.mod-vdoc-bloque--semana i { color: #7c3aed; }

.mod-main--vdoc .mod-pres-turno-mini:hover {
    border-color: #c4b5fd;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.12);
}

.mod-main--vdoc .mod-vdoc-fill__link {
    color: #7c3aed;
}

.mod-main--vdoc .mod-vdoc-fill__link:hover {
    color: #6d28d9;
}

.mod-main--vdoc .mod-pres-confianza__item i {
    color: #7c3aed;
}

.mod-main--vdoc .mod-vdoc-mini-cta {
    background: linear-gradient(135deg, #0047ab 0%, #6d28d9 100%);
    box-shadow: 0 10px 28px rgba(0, 71, 171, 0.28);
}

.mod-main--vdoc .mod-vdoc-mini-cta .mod-pres-mini-cta__btn--primary {
    color: #0047ab;
}

.mod-main--vdoc .mod-vdoc-mini-cta .mod-pres-mini-cta__btn--primary:hover {
    background: #f4f7fc;
    color: #002966;
}

.mod-vdoc-visual__badge i {
    color: #c4b5fd;
}

.mod-main--vdoc .mod-pres-stat strong {
    color: #7c3aed;
}

.mod-vdoc-visual__btn {
    color: #6d28d9;
    background: #f5f3ff;
    border-color: #ddd6fe;
}

.mod-vdoc-visual__btn:hover {
    background: #ede9fe;
    color: #5b21b6;
}

.mod-vdoc-visual__fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 280px;
    color: #fff;
    background: linear-gradient(155deg, #7c3aed 0%, #5b21b6 100%);
}

.mod-vdoc-visual__fallback i {
    font-size: 3rem;
    opacity: 0.9;
}

.mod-vdoc-visual__fallback span {
    font-size: 0.9rem;
    font-weight: 700;
}

/* Cronograma virtual con docentes */
.mod-vdoc-cronograma {
    padding: 2.25rem 0 !important;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.mod-vdoc-cronograma__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.mod-vdoc-cronograma__dia {
    padding: 1.15rem 1.2rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mod-vdoc-cronograma__dia:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.mod-vdoc-cronograma__dia--destacado {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border-color: #c4b5fd;
}

.mod-vdoc-cronograma__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.mod-vdoc-cronograma__head i {
    font-size: 1.15rem;
    color: #64748b;
}

.mod-vdoc-cronograma__dia--destacado .mod-vdoc-cronograma__head i {
    color: #7c3aed;
}

.mod-vdoc-cronograma__head h3 {
    margin: 0;
    flex: 1;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.mod-vdoc-cronograma__tag {
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #475569;
    background: #e2e8f0;
}

.mod-vdoc-cronograma__tag--vivo {
    color: #5b21b6;
    background: #ddd6fe;
}

.mod-vdoc-cronograma__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mod-vdoc-cronograma__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.45;
}

.mod-vdoc-cronograma__list i {
    margin-top: 0.15rem;
    color: #94a3b8;
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
}

.mod-vdoc-cronograma__dia--destacado .mod-vdoc-cronograma__list i {
    color: #7c3aed;
}

/* Horarios virtual con docentes */
.mod-horarios--vdoc {
    background: linear-gradient(180deg, #faf5ff 0%, #fff 100%);
    border-top: 1px solid #e2e8f0;
}

.mod-horarios-grid--2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.mod-vdoc-horario .horario-header i {
    color: #7c3aed;
}

.mod-vdoc-horario--destacado {
    border-color: #c4b5fd !important;
    background: linear-gradient(180deg, #fff 0%, #faf5ff 100%) !important;
}

/* Plataforma */
.mod-vdoc-plataforma {
    padding: 2.25rem 0 !important;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.mod-vdoc-plataforma__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.mod-vdoc-plataforma__item {
    text-align: center;
    padding: 1.1rem 0.85rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mod-vdoc-plataforma__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(124, 58, 237, 0.1);
    border-color: #ddd6fe;
}

.mod-vdoc-plataforma__item i {
    display: block;
    font-size: 1.35rem;
    color: #7c3aed;
    margin-bottom: 0.45rem;
}

.mod-vdoc-plataforma__item strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.mod-vdoc-plataforma__item span {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
}

/* CTA final virtual con docentes */
.mod-vdoc-cta {
    padding: 2.25rem 0 !important;
    background: linear-gradient(135deg, #002966 0%, #0047ab 100%) !important;
    color: #fff;
    border-top: 3px solid #7c3aed;
}

.mod-vdoc-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

.mod-vdoc-cta__copy h2 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #fff;
}

.mod-vdoc-cta__copy p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
    max-width: 36rem;
}

.mod-vdoc-cta__actions .virtual-btn-matricula {
    background: linear-gradient(135deg, #fde047, #f59e0b) !important;
    color: #0f172a !important;
    border: 2px solid #fff !important;
    box-shadow: 0 8px 28px rgba(251, 191, 36, 0.55) !important;
}

.mod-vdoc-cta__actions .virtual-btn-matricula:hover {
    color: #0f172a !important;
}

.mod-vdoc-cta__copy strong {
    color: #C9A227;
}

.mod-vdoc-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.mod-vdoc-cta__ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background 0.15s ease;
}

.mod-vdoc-cta__ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

@media (max-width: 900px) {
    .mod-vdoc-cronograma__grid,
    .mod-horarios-grid--2 {
        grid-template-columns: 1fr;
    }

    .mod-vdoc-plataforma__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .mod-vdoc-cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .mod-vdoc-cta__actions {
        width: 100%;
        flex-direction: column;
    }

    .mod-vdoc-cta__actions .virtual-btn-matricula,
    .mod-vdoc-cta__ghost {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .mod-vdoc-plataforma__grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════
   Página Virtual Exclusivo — detalle
   ═══════════════════════════════════════ */

.mod-hero--vexcl-cover .mod-hero--pres-cover__eyebrow,
.mod-hero--vexcl-cover__eyebrow {
    background: #0d9488;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.mod-hero--vexcl-cover .mod-hero--pres-cover__shade {
    background:
        linear-gradient(90deg, rgba(0, 41, 102, 0.94) 0%, rgba(0, 71, 171, 0.86) 38%, rgba(19, 78, 74, 0.55) 68%, rgba(13, 148, 136, 0.28) 100%);
}

.mod-hero--vexcl-cover .mod-hero-kpis--clean li.mod-hero-kpi--vexcl-247 {
    background: linear-gradient(135deg, #14b8a6, #0d9488) !important;
    border: none !important;
}

.mod-hero--vexcl-cover .mod-hero-kpis--clean li.mod-hero-kpi--vexcl-video {
    background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
    border: none !important;
}

.mod-hero--vexcl-cover .mod-hero-kpis--clean li.mod-hero-kpi--vexcl-avance {
    background: linear-gradient(135deg, #fbbf24, #ea580c) !important;
    border: none !important;
}

.mod-hero--vexcl-cover .mod-hero-kpis--clean li.mod-hero-kpi--minedu {
    background: linear-gradient(135deg, #f43f5e, #be123c) !important;
    border: none !important;
}

.mod-quick-bar--vexcl {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.mod-quick-bar--vexcl .mod-quick-bar__link {
    color: #0047ab;
    background: #f4f7fc;
    border-color: #d6e2f3;
}

.mod-quick-bar--vexcl .mod-quick-bar__link:hover {
    background: #e8f0fb;
    color: #002966;
}

.mod-main--vexcl .virtual-section {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.mod-vexcl-galeria {
    padding: 2.25rem 0 !important;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.mod-requisitos--vexcl {
    padding: 2.75rem 0 !important;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%) !important;
}

.mod-requisitos--vexcl .mod-requisitos-card {
    border-top-color: #0d9488 !important;
}

.mod-hero--virtual.mod-hero--detalle h1 {
    font-size: clamp(1.65rem, 3.8vw, 2.35rem) !important;
    margin-bottom: 0.5rem;
}

.mod-precio-card--vexcl {
    border-color: rgba(94, 234, 212, 0.35);
}

.mod-precio-card__link--vexcl {
    color: #5eead4;
}

.mod-precio-card__link--vexcl:hover {
    color: #99f6e4;
}

.mod-feature-chips--vexcl li {
    background: #f0fdfa;
    border-color: #99f6e4;
    color: #115e59;
}

.mod-feature-chips--vexcl i {
    color: #0d9488;
}

.mod-main--vexcl .mod-pres-ideal {
    border-color: #99f6e4;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.08);
}

.mod-main--vexcl .mod-pres-ideal h3 i,
.mod-main--vexcl .mod-pres-fill__title i {
    color: #0d9488;
}

.mod-main--vexcl .mod-vexcl-pilares {
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
    border-color: #99f6e4;
}

.mod-vexcl-pilar--aula i { color: #0ea5e9; }
.mod-vexcl-pilar--videos i { color: #0d9488; }
.mod-vexcl-pilar--avance i { color: #f59e0b; }

.mod-main--vexcl .mod-pres-turno-mini:hover {
    border-color: #5eead4;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.12);
}

.mod-main--vexcl .mod-vexcl-fill__link {
    color: #0d9488;
}

.mod-main--vexcl .mod-vexcl-fill__link:hover {
    color: #0f766e;
}

.mod-main--vexcl .mod-pres-confianza__item i {
    color: #0d9488;
}

.mod-main--vexcl .mod-vexcl-mini-cta {
    background: linear-gradient(135deg, #0047ab 0%, #0d9488 100%);
    box-shadow: 0 10px 28px rgba(0, 71, 171, 0.28);
}

.mod-main--vexcl .mod-vexcl-mini-cta .mod-pres-mini-cta__btn--primary {
    color: #0047ab;
}

.mod-main--vexcl .mod-vexcl-mini-cta .mod-pres-mini-cta__btn--primary:hover {
    background: #f4f7fc;
    color: #002966;
}

.mod-vexcl-visual__badge i {
    color: #5eead4;
}

.mod-main--vexcl .mod-pres-stat strong {
    color: #0d9488;
}

.mod-vexcl-visual__btn {
    color: #0f766e;
    background: #f0fdfa;
    border-color: #99f6e4;
}

.mod-vexcl-visual__btn:hover {
    background: #ccfbf1;
    color: #115e59;
}

.mod-vexcl-visual__fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 280px;
    color: #fff;
    background: linear-gradient(155deg, #0d9488 0%, #0f766e 100%);
}

.mod-vexcl-visual__fallback i {
    font-size: 3rem;
    opacity: 0.9;
}

.mod-vexcl-visual__fallback span {
    font-size: 0.9rem;
    font-weight: 700;
}

/* Beneficios */
.mod-vexcl-beneficios {
    padding: 2.25rem 0 !important;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.mod-vexcl-beneficios__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.mod-vexcl-beneficio {
    text-align: center;
    padding: 1.1rem 0.85rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.mod-vexcl-beneficio:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(13, 148, 136, 0.1);
    border-color: #99f6e4;
}

.mod-vexcl-beneficio i {
    display: block;
    font-size: 1.35rem;
    color: #0d9488;
    margin-bottom: 0.45rem;
}

.mod-vexcl-beneficio strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.mod-vexcl-beneficio span {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
}

/* Plataforma virtual exclusivo */
.mod-vexcl-plataforma {
    padding: 2.25rem 0 !important;
    background: linear-gradient(180deg, #f0fdfa 0%, #fff 100%);
    border-top: 1px solid #e2e8f0;
}

.mod-vexcl-plataforma__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.mod-vexcl-plataforma__item {
    text-align: center;
    padding: 1.1rem 0.85rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mod-vexcl-plataforma__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(13, 148, 136, 0.1);
    border-color: #99f6e4;
}

.mod-vexcl-plataforma__item i {
    display: block;
    font-size: 1.35rem;
    color: #0d9488;
    margin-bottom: 0.45rem;
}

.mod-vexcl-plataforma__item strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.mod-vexcl-plataforma__item span {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
}

/* Cómo funciona — pasos */
.mod-vexcl-como {
    padding: 2.25rem 0 !important;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.mod-vexcl-pasos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    max-width: 960px;
    margin: 0 auto;
}

.mod-vexcl-paso {
    position: relative;
    padding: 1.15rem 1rem 1rem 1.1rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mod-vexcl-paso:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(13, 148, 136, 0.08);
    border-color: #99f6e4;
}

.mod-vexcl-paso__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 0.55rem;
}

.mod-vexcl-paso strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.mod-vexcl-paso span {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.45;
}

/* CTA final virtual exclusivo */
.mod-vexcl-cta {
    padding: 2.25rem 0 !important;
    background: linear-gradient(135deg, #002966 0%, #0047ab 100%) !important;
    color: #fff;
    border-top: 3px solid #0d9488;
}

.mod-vexcl-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

.mod-vexcl-cta__copy h2 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #fff;
}

.mod-vexcl-cta__copy p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
    max-width: 36rem;
}

.mod-vexcl-cta__actions .virtual-btn-matricula {
    background: linear-gradient(135deg, #fde047, #f59e0b) !important;
    color: #0f172a !important;
    border: 2px solid #fff !important;
    box-shadow: 0 8px 28px rgba(251, 191, 36, 0.55) !important;
}

.mod-vexcl-cta__actions .virtual-btn-matricula:hover {
    color: #0f172a !important;
}

.mod-vexcl-cta__copy strong {
    color: #C9A227;
}

.mod-vexcl-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.mod-vexcl-cta__ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background 0.15s ease;
}

.mod-vexcl-cta__ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

@media (max-width: 900px) {
    .mod-vexcl-beneficios__grid,
    .mod-vexcl-plataforma__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mod-vexcl-pasos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .mod-vexcl-cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .mod-vexcl-cta__actions {
        width: 100%;
        flex-direction: column;
    }

    .mod-vexcl-cta__actions .virtual-btn-matricula,
    .mod-vexcl-cta__ghost {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .mod-vexcl-beneficios__grid,
    .mod-vexcl-plataforma__grid,
    .mod-vexcl-pasos {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════
   Página Modalidades (hub) — mejorada
   ═══════════════════════════════════════ */

.mod-hero--hub.mod-hero--pres-cover {
    background: transparent !important;
    border-bottom: none !important;
    text-align: left;
}

.mod-hero--modalidades-cover__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 340px) !important;
}

.mod-hero--modalidades-cover__eyebrow {
    background: #c8102e;
    box-shadow: 0 4px 14px rgba(200, 16, 46, 0.35);
}

.mod-hero--modalidades-cover .mod-hero-kpis--clean li.mod-hero-kpi--hub-pres {
    background: linear-gradient(135deg, #2563eb, #0047ab) !important;
    border: none !important;
}

.mod-hero--modalidades-cover .mod-hero-kpis--clean li.mod-hero-kpi--hub-semi {
    background: linear-gradient(135deg, #22c55e, #15803d) !important;
    border: none !important;
}

.mod-hero--modalidades-cover .mod-hero-kpis--clean li.mod-hero-kpi--hub-vdoc {
    background: linear-gradient(135deg, #a855f7, #7c3aed) !important;
    border: none !important;
}

.mod-hero--modalidades-cover .mod-hero-kpis--clean li.mod-hero-kpi--hub-vexcl {
    background: linear-gradient(135deg, #14b8a6, #0d9488) !important;
    border: none !important;
}

.mod-quick-bar--modalidades {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.mod-quick-bar--modalidades .mod-quick-bar__link {
    color: #0047ab;
    background: #f4f7fc;
    border-color: #d6e2f3;
}

.mod-quick-bar--modalidades .mod-quick-bar__link:hover {
    background: #e8f0fb;
    color: #002966;
}

.mod-main--modalidades > section:first-of-type {
    padding-top: 0 !important;
}

.mod-hub-selector {
    padding: 2.25rem 0 2.5rem !important;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.mod-hub-selector__head {
    max-width: 42rem;
    margin-bottom: 1.35rem;
}

.mod-hub-selector__eyebrow,
.mod-hub-section-head__eyebrow {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0047ab;
}

.mod-hub-selector__head h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem) !important;
    font-weight: 800 !important;
    color: #0f172a;
}

.mod-hub-selector__head p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #64748b;
}

.mod-hub-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.mod-hub-card {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    border-radius: 16px !important;
    overflow: hidden;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06) !important;
}

.mod-hub-card::before {
    display: none !important;
}

.mod-hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1) !important;
}

.mod-hub-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    text-decoration: none;
}

.mod-hub-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.mod-hub-card:hover .mod-hub-card__media img {
    transform: scale(1.04);
}

.mod-hub-card__media-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.55) 100%);
    pointer-events: none;
}

.mod-hub-card__media-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 160px;
    color: #fff;
    font-size: 2rem;
    background: linear-gradient(135deg, #0047ab, #002966);
}

.mod-hub-card__badge {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    z-index: 1;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(4px);
}

.mod-hub-card__badge--popular {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #0f172a;
}

.mod-hub-card--presencial .mod-hub-card__badge:not(.mod-hub-card__badge--popular) {
    background: #0047ab;
}

.mod-hub-card--semi .mod-hub-card__badge:not(.mod-hub-card__badge--popular) {
    background: #059669;
}

.mod-hub-card--vdoc .mod-hub-card__badge:not(.mod-hub-card__badge--popular) {
    background: #7c3aed;
}

.mod-hub-card--vexcl .mod-hub-card__badge:not(.mod-hub-card__badge--popular) {
    background: #0d9488;
}

.mod-hub-card__body {
    padding: 1rem 1.05rem 0.85rem;
    flex: 1;
}

.mod-hub-card__title {
    margin: 0 0 0.35rem;
    font-size: 1.02rem !important;
    font-weight: 800 !important;
    line-height: 1.25;
}

.mod-hub-card__title a {
    color: #0f172a;
    text-decoration: none;
}

.mod-hub-card__title a:hover {
    color: #0047ab;
}

.mod-hub-card__desc {
    margin: 0 0 0.65rem;
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
    color: #64748b !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
}

.mod-hub-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.35rem;
    margin: 0 0 0.65rem;
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    background: #f4f7fc;
    border: 1px solid #dbeafe;
    font-size: 0.72rem;
    color: #64748b;
}

.mod-hub-card__price strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0047ab;
}

.mod-hub-card__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.2rem;
}

.mod-hub-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.74rem !important;
    color: #475569;
    line-height: 1.35;
}

.mod-hub-card__features i {
    color: #059669;
    font-size: 0.62rem;
    margin-top: 0.22rem;
}

.mod-hub-card__footer {
    padding: 0 1.05rem 1rem !important;
    margin-top: auto;
}

.mod-hub-section-head {
    max-width: 42rem;
    margin-bottom: 1.25rem;
}

.mod-hub-section-head--center {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.mod-hub-section-head .section-title {
    margin-bottom: 0.45rem !important;
}

.mod-hub-comparacion {
    padding: 2.25rem 0 !important;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.mod-hub-comparacion__wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.mod-hub-comparacion__table thead {
    background: #f8fafc;
}

.mod-hub-comparacion__table th,
.mod-hub-comparacion__table td {
    font-size: 0.82rem;
    vertical-align: middle;
}

.mod-hub-comparacion__th {
    font-weight: 800 !important;
    color: #fff !important;
    border: none !important;
}

.mod-hub-comparacion__th--pres { background: #0047ab !important; }
.mod-hub-comparacion__th--semi { background: #059669 !important; }
.mod-hub-comparacion__th--vdoc { background: #7c3aed !important; }
.mod-hub-comparacion__th--vexcl { background: #0d9488 !important; }

.mod-hub-comparacion__check {
    color: #059669;
    margin-right: 0.25rem;
}

.mod-hub-test {
    padding: 2.25rem 0 !important;
    background: linear-gradient(180deg, #f8fafc 0%, #eef3fa 100%);
    border-top: 1px solid #e2e8f0;
}

.mod-hub-test__inner {
    max-width: 720px;
    margin: 0 auto;
}

.mod-hub-test__card {
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06) !important;
}

.mod-hub-test__result {
    border-radius: 16px !important;
    border: 2px solid #0047ab !important;
    background: #fff !important;
}

.mod-hub-test__result-label {
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0047ab;
    text-align: center;
}

.mod-hub-test__result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
    margin-top: 1rem;
}

.mod-hub-test__result-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: #0047ab;
    background: #f4f7fc;
    border: 2px solid #dbeafe;
}

.mod-hub-test__result-secondary:hover {
    background: #e8f0fb;
    color: #002966;
}

.mod-hub-cta {
    padding: 2.25rem 0 !important;
    background: linear-gradient(135deg, #002966 0%, #0047ab 100%) !important;
    color: #fff;
    border-top: 3px solid #c8102e;
}

.mod-hub-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

.mod-hub-cta__copy h2 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #fff;
}

.mod-hub-cta__copy p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
    max-width: 36rem;
}

.mod-hub-cta__copy strong {
    color: #C9A227;
}

.mod-hub-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.mod-hub-cta__actions .virtual-btn-matricula {
    background: linear-gradient(135deg, #fde047, #f59e0b) !important;
    color: #0f172a !important;
    border: 2px solid #fff !important;
    box-shadow: 0 8px 28px rgba(251, 191, 36, 0.55) !important;
}

.mod-hub-cta__ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.mod-hub-cta__ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

@media (min-width: 1200px) {
    .mod-hub-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .mod-hero--modalidades-cover__inner {
        grid-template-columns: 1fr !important;
    }

    .mod-hub-cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .mod-hub-cta__actions {
        width: 100%;
        flex-direction: column;
    }

    .mod-hub-cta__actions .virtual-btn-matricula,
    .mod-hub-cta__ghost {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .mod-hub-cards {
        grid-template-columns: 1fr;
    }

    .mod-hub-test__result-actions {
        flex-direction: column;
    }

    .mod-hub-test__result-actions .virtual-btn-matricula,
    .mod-hub-test__result-secondary {
        width: 100%;
        justify-content: center;
    }
}
