/* ============================================================
   ASEAC - PÁGINA DE PRESENTACIÓN / SHOWCASE OFICIAL
   Estética Premium, Modo Oscuro Clásico Universitario
   Paleta: Azules Zafiro, Índigo Suave, Fondos Ónice y Pizarra
   SIN COLORES NEÓN · SIN EMOJIS (Iconografía Font Awesome 6)
   ============================================================ */

:root {
    --bg-page: #090d16;
    --bg-surface: #0f1523;
    --bg-surface-elevated: #151d30;
    --bg-card: rgba(21, 29, 48, 0.7);
    --bg-card-hover: rgba(28, 39, 65, 0.85);
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-card: rgba(59, 130, 246, 0.16);
    --border-card-hover: rgba(59, 130, 246, 0.38);
    
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #60a5fa;
    --primary-glow: rgba(37, 99, 235, 0.25);
    
    --accent-emerald: #059669;
    --accent-amber: #d97706;
    --accent-purple: #7c3aed;
    --accent-sky: #0284c7;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at 50% 0%, #172554 0%, #090d16 45%, #05070c 100%);
    background-attachment: fixed;
}

/* --- TIPOGRAFÍA Y UTILIDADES --- */
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- BOTONES Y PÍLDORAS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-color: var(--border-subtle);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.86rem;
}

/* --- NAVBAR HEADER --- */
.pres-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 13, 22, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.3s ease;
}

.pres-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.pres-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pres-logo-img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.pres-brand-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    font-family: var(--font-mono);
}

.pres-brand-tag {
    font-size: 0.72rem;
    color: var(--primary-light);
    background: rgba(37, 99, 235, 0.14);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-weight: 600;
}

.pres-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.pres-nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pres-nav-link:hover {
    color: #ffffff;
}

.pres-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* --- HERO SECTION --- */
.hero-section {
    padding: 90px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-full);
    color: #93c5fd;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-pill i {
    font-size: 0.8rem;
    color: var(--primary-light);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.18;
    color: #ffffff;
    max-width: 880px;
    margin: 0 auto 20px;
    letter-spacing: -0.02em;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #60a5fa 20%, #93c5fd 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.22rem);
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 36px;
    line-height: 1.65;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-chips {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.hero-chip-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-chip-item i {
    color: var(--accent-emerald);
}

/* --- HERO PREVIEW MOCKUP --- */
.hero-mockup-wrap {
    margin-top: 50px;
    position: relative;
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.mockup-window {
    background: #0f1422;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(37, 99, 235, 0.15);
    overflow: hidden;
}

.mockup-header {
    background: #151c2d;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
}

.mockup-dots {
    display: flex;
    gap: 7px;
}

.mockup-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.mockup-dot.dot-red { background: #ef4444; opacity: 0.75; }
.mockup-dot.dot-yellow { background: #f59e0b; opacity: 0.75; }
.mockup-dot.dot-green { background: #10b981; opacity: 0.75; }

.mockup-bar-title {
    font-size: 0.78rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
}

.mockup-tabs {
    display: flex;
    gap: 6px;
}

.mockup-tab-pill {
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}
.mockup-tab-pill.active {
    background: var(--primary);
    color: #ffffff;
}

.mockup-body {
    padding: 24px;
    background: radial-gradient(circle at 50% 20%, rgba(30, 58, 138, 0.12), transparent 70%), #0b0f1a;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    min-height: 380px;
    text-align: left;
}

.mockup-sidebar {
    background: rgba(21, 29, 48, 0.5);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-side-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.mockup-side-item.active {
    background: rgba(37, 99, 235, 0.2);
    color: #ffffff;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.mockup-side-item i {
    font-size: 0.95rem;
    color: var(--primary-light);
}

.mockup-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mockup-top-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mockup-stat-box {
    background: rgba(21, 29, 48, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}

.mockup-stat-label {
    font-size: 0.72rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mockup-stat-val {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 2px;
}

.mockup-malla-preview {
    background: rgba(21, 29, 48, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.mockup-tab-pill {
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
}
.mockup-tab-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.mockup-panel {
    display: none;
    animation: fadeInTab 0.25s ease-out;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.mockup-panel.active {
    display: flex;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.mockup-subject-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 85px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.15s ease;
}
.mockup-subject-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.4);
}

.mockup-subject-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
}
.mockup-subject-card.status-aprobada::before { background: var(--accent-emerald); }
.mockup-subject-card.status-cursando::before { background: var(--primary-light); }
.mockup-subject-card.status-disponible::before { background: var(--accent-sky); }
.mockup-subject-card.status-bloqueada::before { background: #475569; }

.mockup-card-code {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    font-weight: 700;
    color: #cbd5e1;
}

.mockup-card-name {
    font-size: 0.78rem;
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.3;
}

.mockup-card-badge {
    align-self: flex-start;
    font-size: 0.62rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}
.status-aprobada .mockup-card-badge { background: rgba(5, 150, 105, 0.2); color: #34d399; }
.status-cursando .mockup-card-badge { background: rgba(37, 99, 235, 0.2); color: #93c5fd; }
.status-disponible .mockup-card-badge { background: rgba(2, 132, 199, 0.2); color: #7dd3fc; }
.status-bloqueada .mockup-card-badge { background: rgba(71, 85, 105, 0.2); color: #94a3b8; }

/* Mini Horario en Mockup */
.mockup-horario-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    background: rgba(21, 29, 48, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
}
.mockup-dia-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mockup-dia-header {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-light);
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-subtle);
}
.mockup-clase-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--primary);
    border-radius: 4px;
    padding: 8px;
    font-size: 0.74rem;
}
.mockup-clase-hora {
    font-family: var(--font-mono);
    color: var(--primary-light);
    font-size: 0.68rem;
    margin-bottom: 2px;
}
.mockup-clase-nombre {
    font-weight: 600;
    color: #f1f5f9;
}
.mockup-clase-aula {
    font-size: 0.68rem;
    color: var(--text-dim);
}

/* Mini Pizarra Canvas en Mockup */
.mockup-pizarra-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: rgba(21, 29, 48, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
}
.mockup-canvas-box {
    background: #090d16;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.mockup-canvas-label {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mockup-draw-area {
    width: 100%;
    height: 150px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    cursor: crosshair;
    background: #060911;
    touch-action: none;
}

/* Mini KaTeX Preview en Mockup */
.mockup-katex-demo {
    background: rgba(21, 29, 48, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.mockup-katex-card {
    background: #090d16;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 14px;
    text-align: center;
}

/* Steps Guide */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}
.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}
.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}


/* --- SECCIÓN VENTAJAS CLAVE / FEATURES GRID --- */
.section-pad {
    padding: 90px 0;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section-eyebrow {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(37, 99, 235, 0.12);
}

.feature-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.feature-icon-wrap i {
    font-size: 1.45rem;
    color: #93c5fd;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}

.feature-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
    font-size: 0.88rem;
    color: #cbd5e1;
}

.feature-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-bullets li i {
    color: var(--primary-light);
    font-size: 0.8rem;
}

/* --- DESTACADO: PIZARRA DIGITAL + TABLETA REMOTA P2P --- */
.showcase-banner {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.45) 0%, rgba(15, 23, 42, 0.85) 100%);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-lg);
    padding: 56px 44px;
    margin: 40px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.showcase-info h3 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 16px;
}

.showcase-info p {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin-bottom: 24px;
    line-height: 1.65;
}

.showcase-badge-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.showcase-badge {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 7px;
}

.showcase-badge i {
    color: var(--primary-light);
}

.showcase-visual {
    background: #090d16;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

.p2p-diagram {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 16px;
}

.p2p-device {
    background: #111726;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    flex: 1;
}

.p2p-device-icon {
    font-size: 2.2rem;
    color: #93c5fd;
    margin-bottom: 10px;
}

.p2p-device-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}

.p2p-device-role {
    font-size: 0.72rem;
    color: var(--text-dim);
    margin-top: 2px;
}

.p2p-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

.p2p-pulse-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    position: relative;
}

/* --- PRIVACIDAD Y ARQUITECTURA TÉCNICA --- */
.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.privacy-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
}

.privacy-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.privacy-card-title i {
    color: var(--accent-emerald);
}

.privacy-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* --- PREGUNTAS FRECUENTES (FAQ) --- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--text-dim);
    transition: transform 0.25s ease;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-light);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
}

/* --- CTA FINAL --- */
.final-cta-section {
    padding: 80px 0 100px;
    text-align: center;
}

.final-cta-card {
    background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.25), transparent 70%), #0f1524;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-lg);
    padding: 60px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.final-cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.final-cta-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 36px;
}

/* --- FOOTER --- */
.pres-footer {
    background: #060910;
    border-top: 1px solid var(--border-subtle);
    padding: 50px 0 30px;
    margin-top: auto;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-muted);
}
.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* --- ADAPTACIÓN RESPONSIVE MÓVIL --- */
@media (max-width: 900px) {
    .mockup-body {
        grid-template-columns: 1fr;
    }
    .mockup-sidebar {
        display: none;
    }
    .mockup-malla-preview {
        grid-template-columns: repeat(2, 1fr);
    }
    .showcase-banner {
        grid-template-columns: 1fr;
        padding: 36px 24px;
    }
}

@media (max-width: 768px) {
    .pres-nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .hero-section {
        padding: 60px 0 40px;
    }
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    .hero-ctas .btn {
        width: 100%;
    }
    .mockup-malla-preview {
        grid-template-columns: 1fr;
    }
    .mockup-top-stats {
        grid-template-columns: 1fr;
    }
    .p2p-diagram {
        flex-direction: column;
    }
    .p2p-pulse-line {
        width: 2px;
        height: 30px;
    }
    .footer-top, .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Menú móvil desplegable */
.mobile-nav-drawer {
    display: none;
    background: #0f1523;
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 24px 24px;
}
.mobile-nav-drawer.open {
    display: block;
}
.mobile-drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mobile-drawer-links a {
    font-size: 1.05rem;
    font-weight: 500;
    color: #cbd5e1;
    display: block;
    padding: 6px 0;
}

/* ============================================================
   BENTO GRID PARA MÓDULOS DEL SISTEMA
   ============================================================ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.bento-card-wide {
    grid-column: span 2;
}
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-card-wide {
        grid-column: span 1;
    }
}

/* ============================================================
   MODO EXPOSICIÓN (DIAPOSITIVAS PARA CÁTEDRA Y PROYECTOR)
   ============================================================ */
.presenter-overlay {
    position: fixed;
    inset: 0;
    background: #060911;
    z-index: 99999;
    display: none;
    flex-direction: column;
    color: #f1f5f9;
}
.presenter-overlay.active {
    display: flex;
}
.presenter-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
}
.presenter-deck {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    overflow-y: auto;
}
.presenter-slide {
    display: none;
    max-width: 960px;
    width: 100%;
    animation: slideFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.presenter-slide.active {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.presenter-slide-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.presenter-slide-title {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
}
.presenter-slide-body {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #cbd5e1;
}
.presenter-slide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 10px;
}
.presenter-mini-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 12px;
    padding: 20px;
}
.presenter-mini-card h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.presenter-mini-card p {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.5;
}
.presenter-bottombar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.85);
}
.presenter-btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.presenter-btn-nav:hover:not(:disabled) {
    background: #2563eb;
    color: #ffffff;
}
.presenter-btn-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
@keyframes slideFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
