:root {
    --bs-primary: #0076c0;
    --bs-primary-rgb: 0, 118, 192;
    --color-secundario: #005a92;
    --color-acento: #f5c71a;
    --color-terciario: #0ea5e9;
    --bg-dark-accent: #0f172a;
    --fuente-principal: 'Montserrat', sans-serif;
    --text-dark: #1e293b;
    --bg-light: #f8fafc;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fuente-principal);
    background-color: var(--bg-light);
    color: var(--text-dark);
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

a, button, .nav-link {
    outline: none !important;
}

a:focus, button:focus, .nav-link:focus {
    box-shadow: none !important;
}

section,
footer {
    scroll-margin-top: 85px;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
}



.scroll-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--color-acento);
    width: 0%;
}

/* --- INFINITE barra --- */
.marquee-container {
    background: #002b4d;
    color: var(--color-acento);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 3px;
    z-index: 10;
    position: relative;
    border-top: 1px solid rgba(245, 199, 26, 0.2);
    border-bottom: 1px solid rgba(245, 199, 26, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.marquee-content {
    display: inline-flex;
    animation: marquee 25s linear infinite;
}

.marquee-content span {
    margin: 0 30px;
    display: flex;
    align-items: center;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.navbar {
    background: rgba(0, 88, 144, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar.scrolled {
    background: rgba(0, 88, 144, 0.95);
    padding: 10px 0;
}

.navbar-brand img {
    height: 50px;
    transition: transform 0.3s;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 5px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-acento);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--color-acento) !important;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(0, 88, 144, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        padding: 15px;
        margin-top: 10px;
    }
}

#inicio {
    background: linear-gradient(135deg, rgba(0, 118, 192, 0.85), rgba(0, 48, 84, 0.95)), url('umsa.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

#tsparticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: white;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    color: var(--color-acento);
    display: block;
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 3rem;
        text-align: center;
    }

    #inicio {
        text-align: center;
        align-items: flex-start;
        padding-top: 110px;
        padding-bottom: 60px;
    }

    /* Hero column: stack everything vertically and center */
    #inicio .col-lg-6.z-1 > .pe-lg-5 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Button full-width on mobile to avoid overflow */
    .btn-principal {
        display: block;
        width: 100%;
        max-width: 360px;
        text-align: center;
        box-sizing: border-box;
    }

    /* Countdown: full width, centered */
    #congreso-countdown {
        width: 100%;
        max-width: 360px;
    }

    /* Mobile badge: ensure glow-behind doesn't overflow */
    #inicio .badge-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #inicio .badge-wrapper .glow-behind {
        width: 180px;
        height: 180px;
        border-radius: 50%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* --- CONTADOR --- */
.countdown-container {
    background: rgba(0, 30, 60, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(245, 199, 26, 0.3);
    border-radius: 15px;
    padding: 20px;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.countdown-wrapper {
    justify-content: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 10px;
    min-width: 60px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.countdown-value {
    color: var(--color-acento) !important;
    text-shadow: 0 0 10px rgba(245, 199, 26, 0.4);
    font-size: 1.5rem !important;
}

.badge-wrapper {
    position: relative;
    display: inline-block;
}

.glow-behind {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(245, 199, 26, 0.35) 0%, transparent 65%);
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    animation: pulseBg 3s ease-in-out infinite alternate;
}

.floating-badge {
    max-width: 100%;
    max-height: 45vh;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulseBg {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

/* --- SECTION HEADERS --- */
.section-title {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 5px;
    background: var(--color-acento);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
    transition: width 0.4s ease;
}

.section-title:hover::after {
    width: 100%;
}

/* --- HISTORIA (BENTO / ZIGZAG) --- */
#historia {
    background: linear-gradient(135deg, var(--bs-primary), #004d7a);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 10%, transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    transform: scale(0.8);
    pointer-events: none;
}

.glass-card:hover::before {
    opacity: 1;
    transform: scale(1);
    animation: rotateBg 8s linear infinite;
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg) scale(1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 30px 60px rgba(14, 165, 233, 0.15);
}

/* --- AMBIENT GLOW ORBS --- */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
    animation: drift 10s infinite alternate ease-in-out;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--color-acento);
    top: 10%;
    left: -50px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--bs-primary);
    bottom: -100px;
    right: -100px;
    opacity: 0.4;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--color-terciario);
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.3;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 30px) scale(1.1); }
}

.quote-icon {
    font-size: 2rem;
    color: var(--color-acento);
    opacity: 0.3;
}

@media (max-width: 768px) {
    .quote-icon {
        font-size: 1.5rem;
    }
}

.role-badge {
    background: var(--color-acento);
    color: #111;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 10px;
}

/* --- ORIGINAL PERSONAS --- */
.img-persona {
    width: 100%;
    max-width: 220px;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.img-persona:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

/* --- ESTADÍSTICAS --- */
#estadisticas {
    background: var(--bg-dark-accent);
    padding: 80px 0;
    position: relative;
    border-top: 1px solid rgba(14, 165, 233, 0.2);
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
}

.stat-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--color-terciario);
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.5));
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.stat-label {
    color: #94a3b8;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0;
}

/* --- CALENDARIO --- */
#calendario {
    padding: 100px 0;
    background-color: var(--bg-light);
    position: relative;
}

.calendar-tabs {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 20px;
    display: inline-flex;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.calendar-tabs .nav-link {
    border-radius: 15px;
    padding: 15px 30px;
    color: #475569;
    font-weight: 800;
    font-size: 1.1rem;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 5px;
}

.calendar-tabs .nav-link:hover {
    color: var(--bs-primary);
    background: rgba(0, 118, 192, 0.05);
    transform: translateY(-2px);
}

.calendar-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--bs-primary), #004d7a);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 118, 192, 0.3);
    transform: translateY(-2px);
}



.timeline-snake {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 30px;
}

.timeline-snake::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, rgba(0, 118, 192, 0.2), rgba(245, 199, 26, 0.2));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 10px;
}

.timeline-snake::before {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--bs-primary), var(--color-acento));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 10px;
    z-index: 1;
    height: var(--scroll-progress, 0%);
    transition: height 0.1s ease-out;
}

.time-box {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    background: transparent;
}

.time-box.left {
    left: 0;
}

.time-box.right {
    left: 50%;
}

.time-box::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: white;
    border: 5px solid var(--bs-primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    transition: all 0.3s;
}

.time-box.left::after {
    right: -12px;
}

.time-box.right::after {
    left: -12px;
}

.time-box:hover::after {
    background-color: var(--color-acento);
    border-color: white;
    transform: translateY(-50%) scale(1.3);
    box-shadow: 0 0 15px rgba(245, 199, 26, 0.6);
}

.event-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.time-box:hover .event-card {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 118, 192, 0.12);
}

.time-box.left .event-card {
    text-align: right;
}

.time-box.right .event-card {
    text-align: left;
}

.event-time {
    font-size: 0.9rem;
    color: var(--bs-primary);
    font-weight: 800;
    background: rgba(0, 118, 192, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.event-title {
    font-weight: 800;
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.event-desc {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.event-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--bs-primary), #004d7a);
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-icon.warning {
    background: linear-gradient(135deg, #f5c71a, #f59e0b);
    color: #111;
}

.event-icon.info {
    background: linear-gradient(135deg, #38bdf8, #0284c7);
}

.event-icon.danger {
    background: linear-gradient(135deg, #fb7185, #e11d48);
}

.event-icon.success {
    background: linear-gradient(135deg, #34d399, #059669);
}

.event-icon.dark {
    background: linear-gradient(135deg, #475569, #0f172a);
}

@media (max-width: 991px) {
    .timeline-snake::after {
        left: 30px;
    }

    .time-box {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }

    .time-box.left,
    .time-box.right {
        left: 0;
    }

    .time-box.left .event-card,
    .time-box.right .event-card {
        text-align: left;
    }

    .time-box.left::after,
    .time-box.right::after {
        left: 18px;
        top: 40px;
    }
}

/* --- CONGRESO --- */
#congreso {
    background-color: #000;
    background-image: linear-gradient(135deg, rgba(0, 118, 192, 0.7), rgba(0, 48, 84, 0.9)), url('cota1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    color: white;
    position: relative;
}

.breakout-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.btn-principal {
    background: linear-gradient(135deg, var(--color-acento), #ffd700);
    color: #111;
    font-weight: 800;
    padding: 15px 40px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(245, 199, 26, 0.3);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-principal::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.btn-principal:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(245, 199, 26, 0.5);
    color: #000;
}

footer {
    background: linear-gradient(to right, #001f3f, #003366);
    padding: 60px 0 20px 0;
    color: rgba(255, 255, 255, 0.7);
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s;
    text-decoration: none;
}

.social-btn:hover {
    background: var(--color-acento);
    color: #111;
    transform: translateY(-5px);
}

/* --- CALENDARIO: CAMBIO A ACORDEÓN POR DEBAJO DE 992px --- */
@media (max-width: 991px) {
    /* Ocultar vista desktop (tabs + timeline) */
    #calendario .desktop-calendar { display: none !important; }
    /* Mostrar acordeón móvil */
    #mobile-accordion { display: block !important; }
}

/* --- OPTIMIZACIÓN MÓVIL (MAX-WIDTH: 991PX) --- */
@media (max-width: 991px) {

    /* =============================================
       FIX CRÍTICO: background-attachment:fixed
       está roto en iOS Safari y Chrome Android.
       Se cambia a scroll para evitar pantalla
       completamente en blanco/azul.
    ============================================= */
    #inicio,
    #congreso {
        background-attachment: scroll !important;
    }

    /* =============================================
       FIX CRÍTICO: AOS inyecta CSS con triple selector
       [data-aos][data-aos][data-aos] para mayor
       especificidad. Usamos el mismo truco para ganarle
       y forzar visibilidad en móvil.
    ============================================= */
    [data-aos][data-aos][data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    /* Tipografía y textos */
    .hero-title {
        font-size: 2rem !important;
    }

    .lead {
        font-size: 1.05rem !important;
    }

    .section-title {
        font-size: 1.75rem !important;
    }

    .glass-card h3 {
        font-size: 1.15rem !important;
        line-height: 1.6 !important;
    }

    /* Rellenos de Secciones */
    #historia,
    #calendario,
    #congreso {
        padding: 60px 0 !important;
    }

    /* Cajas y Tarjetas */
    .breakout-card {
        padding: 30px 20px !important;
        border-radius: 20px !important;
    }

    .glass-card {
        padding: 25px !important;
    }

    /* Barra infinita */
    .marquee-container {
        font-size: 0.9rem !important;
        padding: 10px 0 !important;
    }

    /* Botones y eventos */
    .btn-principal {
        padding: 12px 25px !important;
        font-size: 0.9rem !important;
    }

    .event-title {
        font-size: 1.15rem !important;
    }

    /* Contador Móvil */
    .countdown-container {
        padding: 15px 10px !important;
        width: 100%;
        max-width: 320px;
    }
    
    .countdown-item {
        padding: 5px 8px !important;
        min-width: 55px !important;
    }
    
    .countdown-value {
        font-size: 1.25rem !important;
    }
    
    .countdown-container h5 {
        font-size: 0.75rem !important;
    }

    /* --- ESTADÍSTICAS (IMPACTO) MÓVIL --- */
    .stat-card {
        padding: 20px 10px !important;
    }
    .stat-number {
        font-size: 2rem !important;
    }
    .stat-icon {
        font-size: 1.8rem !important;
        margin-bottom: 5px !important;
    }
    .stat-label {
        font-size: 0.75rem !important;
    }


    /* --- CALENDARIO MÓVIL: ESTILOS DEL ACORDEÓN --- */

    /* Cabecera de cada día */
    .mob-day-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: linear-gradient(135deg, var(--bs-primary), #004d7a);
        color: white;
        border-radius: 16px;
        padding: 16px 20px;
        margin-bottom: 6px;
        cursor: pointer;
        user-select: none;
        box-shadow: 0 4px 14px rgba(0, 118, 192, 0.25);
        transition: background 0.3s ease;
    }

    .mob-day-header.collapsed {
        background: white;
        color: var(--text-dark);
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        border: 1px solid rgba(0,0,0,0.06);
    }

    .mob-day-header .mob-day-left {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .mob-day-num {
        background: rgba(255,255,255,0.25);
        border-radius: 10px;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        font-weight: 900;
    }

    .mob-day-header.collapsed .mob-day-num {
        background: rgba(0, 118, 192, 0.1);
        color: var(--bs-primary);
    }

    .mob-day-name {
        font-weight: 800;
        font-size: 1rem;
        letter-spacing: 0.3px;
    }

    .mob-day-count {
        font-size: 0.75rem;
        opacity: 0.8;
        margin-top: 2px;
    }

    .mob-day-header.collapsed .mob-day-count {
        color: #64748b;
    }

    .mob-chevron {
        font-size: 0.9rem;
        transition: transform 0.3s ease;
    }

    .mob-day-header.collapsed .mob-chevron {
        transform: rotate(-90deg);
        color: var(--bs-primary);
    }

    /* Panel de eventos del día */
    .mob-day-panel {
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        max-height: 2000px;
        opacity: 1;
        padding: 0 4px;
    }

    .mob-day-panel.closed {
        max-height: 0;
        opacity: 0;
        padding: 0;
    }

    /* Tarjeta de evento individual */
    .mob-event-row {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        background: white;
        border-radius: 14px;
        padding: 14px 16px;
        margin-bottom: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.06);
        border-left: 4px solid var(--bs-primary);
        animation: mobFadeIn 0.35s ease both;
    }

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

    .mob-event-icon-wrap {
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--bs-primary), #004d7a);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    }

    .mob-event-icon-wrap.warning { background: linear-gradient(135deg, #f5c71a, #f59e0b); color: #111; }
    .mob-event-icon-wrap.info    { background: linear-gradient(135deg, #38bdf8, #0284c7); }
    .mob-event-icon-wrap.danger  { background: linear-gradient(135deg, #fb7185, #e11d48); }
    .mob-event-icon-wrap.success { background: linear-gradient(135deg, #34d399, #059669); }
    .mob-event-icon-wrap.dark    { background: linear-gradient(135deg, #475569, #0f172a); }

    .mob-event-body {
        flex: 1;
        min-width: 0;
    }

    .mob-event-time {
        font-size: 0.75rem;
        font-weight: 800;
        color: var(--bs-primary);
        background: rgba(0,118,192,0.1);
        display: inline-block;
        padding: 2px 8px;
        border-radius: 20px;
        margin-bottom: 4px;
    }

    .mob-event-title {
        font-weight: 800;
        font-size: 0.95rem;
        color: #1e293b;
        margin: 0 0 3px 0;
        line-height: 1.3;
    }

    .mob-event-desc {
        font-size: 0.82rem;
        color: #64748b;
        margin: 0;
        line-height: 1.4;
    }

    .mob-accordion-wrap {
        padding: 0 4px;
    }
}