body { font-family: 'Open Sans', sans-serif; }
        h1, h2, h3, .logo { font-family: 'Montserrat', sans-serif; }
        
        #map { height: 500px; width: 100%; z-index: 1; border-radius: 0.75rem; }
        
        /* Modal Styles */
        .modal { transition: opacity 0.3s ease, visibility 0.3s ease; }
        .modal.hidden-modal { opacity: 0; visibility: hidden; pointer-events: none; }
        .modal.visible-modal { opacity: 1; visibility: visible; pointer-events: auto; }

        /* Calendario Styles */
        .month-box { transition: all 0.2s; }
        .month-box.has-case { background-color: #fee2e2; border-color: #b22222; color: #b22222; font-weight: bold; cursor: pointer; }
        .month-box.has-case:hover { background-color: #b22222; color: white; }
        .month-box.active-filter { background-color: #b22222; color: white; transform: scale(1.05); }

        /* Tarjetas */
        .case-card { transition: border-color 0.3s; }
        .case-card:hover { border-color: rgb(178 34 34); }

        /* Efecto de Vidrio Esmerilado (Glassmorphism) */
        .glass-header {
            background: rgba(255, 255, 255, 0.85); /* Blanco con transparencia */
            backdrop-filter: blur(12px); /* El efecto de desenfoque detrás */
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
        }

        /* Animación de Subrayado para Enlaces */
        .nav-link {
            position: relative;
            color: #333;
            text-decoration: none;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -4px;
            left: 0;
            background-color: #b22222; /* Color Alert */
            transition: width 0.3s ease-in-out;
        }

        .nav-link:hover::after {
            width: 100%;
        }

        /* Efecto para el botón de Firmar */
        .btn-shine {
            position: relative;
            overflow: hidden;
        }

        .btn-shine::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                120deg,
                transparent,
                rgba(255, 255, 255, 0.3),
                transparent
            );
            transition: all 0.6s;
        }

        .btn-shine:hover::before {
            left: 100%;
        }

        /* Animación de carga para la barra gigante */
        @keyframes loadHeroProgress {
            0% { width: 0; }
            100% { width: 65%; } /* Debe coincidir con el width del HTML */
        }

        .progress-hero-animated {
            animation: loadHeroProgress 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        }

        /* Brillo que recorre la barra constantemente */
        @keyframes heroShimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(300%); }
        }

        .animate-hero-shimmer {
            animation: heroShimmer 3s infinite linear;
        }

        /* Pulso lento para el brillo detrás del botón */
        @keyframes pulseSlow {
            0%, 100% { opacity: 0.5; transform: scale(1); }
            50% { opacity: 0.8; transform: scale(1.02); }
        }

        .animate-pulse-slow {
            animation: pulseSlow 3s infinite;
        }

        /* Animación rápida de brillo al pasar el mouse por el botón */
        @keyframes shineFast {
            100% { transform: translateX(100%); }
        }

        .group:hover .group-hover\:animate-shine {
            animation: shineFast 0.5s;
        }

        /* Sombra de texto para los números */
        .counter-shadow {
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
        }

        #inicio {
        background: url(https://tn.com.ar/resizer/v2/jeremias-monzon-tenia-15-anos-y-lo-encontraron-apunalado-en-una-fabrica-abandonada-en-santa-fe-foto-facebooklt10-KTXRW2TH35FV5ICVMAFMX7QTLE.PNG?auth=77d0496b6aacdf6062c1785c138f97dfe5b91d9d6ceed644e0a11d9f0772396d&width=767), rgb(229, 229, 229);
            background-repeat: repeat, repeat;
            background-size: auto, auto;
        background-size: cover;
        background-repeat: no-repeat;
        background-blend-mode: soft-light;
        }

        .urgente {
        background: red;
        padding: 4px 10px 8px 10px;
        border-radius: 25px;
        color: #fff;
        line-height: 1;
        font-weight: bold;
        margin-top: 1px;
        margin-bottom: 1px;
        display: inline-flex;
        }
        @media(max-width:1024px){.urgente{background:none;color: red;display:inline-block;margin:0;}}
        #svg826 {filter: invert(1);}
        .secciones {overflow-x: hidden;}

        /* Estilo para los meses que tienen casos */
.flatpickr-monthSelect-month.has-cases {
    font-weight: bold !important;
    color: #1a2a6c !important; /* Color Midnight */
    position: relative;
    background-color: #f0f4f8; /* Fondo sutil */
}

/* El punto rojo indicador */
.flatpickr-monthSelect-month.has-cases::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: #b22222; /* Color Alert */
    border-radius: 50%;
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
}

/* Estilos para el Ticker de Firmas */
.ticker-container {
    width: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    margin-bottom: 30px;
    backdrop-blur: 5px;
}

.ticker-wrapper {
    display: flex;
    white-space: nowrap;
}

.ticker-transition {
    display: flex;
    animation: ticker-loop 180s linear infinite; /* Ajusta la velocidad aquí */
}

.ticker-item {
    padding: 0 40px;
    color: #e5e7eb;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticker-name {
    font-weight: 700;
    color: #ffffff;
}

.ticker-time {
    font-size: 0.8rem;
    color: #9ca3af;
    font-style: italic;
}

@keyframes ticker-loop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pausar al pasar el mouse */
.ticker-container:hover .ticker-transition {
    animation-play-state: paused;
}


.top-marquee-bar {
    background: #1a2a6c; /* Midnight blue */
    color: #ffffff;
    height: 28px;
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Empujamos el header hacia abajo para que no se solapen */
header {
    top: 28px !important;
}

.marquee-wrapper {
    display: flex;
    white-space: nowrap;
    animation: marquee-scroll 10000s linear infinite /* 1700 nombres requieren tiempo */
}

.marquee-item {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.m-name {
    color: #ffffff;
    margin-right: 6px;
}

.m-time {
    color: #8fa1ff; /* Azul suave para el tiempo */
    font-weight: 400;
    font-size: 10px;
    transform: translateY(.1px);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pausar al pasar el mouse */
.top-marquee-bar:hover .marquee-wrapper {
    animation-play-state: paused;
}
/* Efecto de Gradiente en los extremos */
.top-marquee-bar::before,
.top-marquee-bar::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px; /* Ancho del efecto de desvanecimiento */
    height: 100%;
    z-index: 2;
    pointer-events: none; /* Permite hacer click a través del gradiente */
}

.top-marquee-bar::before {
    left: 0;
    background: linear-gradient(to right, #1a2a6c, transparent);
}

.top-marquee-bar::after {
    right: 0;
    background: linear-gradient(to left, #1a2a6c, transparent);
}