* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
        }

        body {
            background: #f4f7fc;
            color: #1e293b;
            padding: 20px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: 28px;
            box-shadow: 0 20px 40px -12px rgba(0, 20, 30, 0.25);
            overflow: hidden;
            padding: 24px 28px 40px;
        }

        /* ---------- SLIDER ---------- */
        .slider-wrapper {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
            margin-bottom: 30px;
        }

        .slider {
            display: flex;
            transition: transform 0.45s ease;
            will-change: transform;
        }

        .slide {
            min-width: 100%;
            height: 500px;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: flex-end;
            padding: 20px 28px;
            color: white;
            text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
            position: relative;
        }

        .slide::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
            pointer-events: none;
        }

        .slide h2 {
            position: relative;
            z-index: 2;
            font-size: 1.8rem;
            font-weight: 600;
            letter-spacing: -0.3px;
            background: rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(4px);
            padding: 10px 20px;
            border-radius: 60px;
            border-left: 6px solid #facc15;
        }

        .slide-1 {
            background-image: url('../img/sereno7.jpg');
        }
        .slide-2 {
            background-image: url('../img/sereno5.jpg');
        }
        .slide-3 {
            background-image: url('../img/sereno6.jpg');
        }

        .slider-controls {
            display: flex;
            justify-content: center;
            gap: 14px;
            margin-top: 14px;
        }

        .slider-controls button {
            background: #e2e8f0;
            border: none;
            width: 44px;
            height: 44px;
            border-radius: 60px;
            font-size: 1.4rem;
            color: #1e293b;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.02);
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .slider-controls button:hover {
            background: #cbd5e1;
            transform: scale(1.04);
        }

        .dots {
            display: flex;
            gap: 10px;
            align-items: center;
            margin-left: 8px;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 20px;
            background: #cbd5e1;
            border: none;
            padding: 0;
            transition: 0.2s;
            cursor: pointer;
        }

        .dot.active {
            background: #0f3b5e;
            width: 28px;
        }

        /* ---------- EMERGENCIA + CENTRAL CON SIRENA ---------- */
        .emergencia-row {
            display: flex;
            flex-wrap: wrap;
            gap: 20px 30px;
            background: #f8fafc;
            padding: 18px 24px;
            border-radius: 60px;
            margin: 20px 0 32px 0;
            align-items: center;
            justify-content: space-between;
            border: 1px solid #e9edf2;
            position: relative;
            overflow: hidden;
        }

        .emergencia-item {
            display: flex;
            align-items: center;
            gap: 14px;
            font-size: 1.2rem;
        }

        .emergencia-item i {
            font-size: 2rem;
            color: #b91c1c;
            background: #fee2e2;
            padding: 10px;
            border-radius: 60px;
            width: 54px;
            height: 54px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .emergencia-item .label {
            font-weight: 500;
            color: #475569;
            font-size: 0.9rem;
            letter-spacing: 0.5px;
        }

        .emergencia-item .value {
            font-weight: 700;
            font-size: 1.5rem;
            color: #0b2a41;
        }

        .emergencia-item .value small {
            font-weight: 400;
            font-size: 1rem;
            color: #334155;
            margin-left: 6px;
        }

        /* ---------- SIRENA LED ROTATORIA ---------- */
        .sirena-container {
            display: flex;
            align-items: center;
            gap: 12px;
            background: #1a1a2e;
            padding: 8px 18px 8px 14px;
            border-radius: 60px;
            box-shadow: 0 0 30px rgba(255, 0, 0, 0.15), inset 0 0 20px rgba(255, 0, 0, 0.05);
            border: 1px solid #333366;
            flex-shrink: 0;
        }

        .sirena-luz {
            position: relative;
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Base de la sirena */
        .sirena-base {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, #2a2a4a, #0a0a1a);
            border: 2px solid #444466;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.6);
        }

        /* LEDs rojos en círculo */
        .led-rojo {
            position: absolute;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #ff0000;
            box-shadow: 0 0 12px #ff0000, 0 0 24px #ff000088;
            animation: parpadeo-rapido 0.4s infinite alternate;
        }

        .led-rojo:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
        .led-rojo:nth-child(2) { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 0.1s; }
        .led-rojo:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 0.2s; }
        .led-rojo:nth-child(4) { top: 50%; left: 0; transform: translateY(-50%); animation-delay: 0.3s; }
        .led-rojo:nth-child(5) { top: 15%; right: 15%; animation-delay: 0.05s; }
        .led-rojo:nth-child(6) { bottom: 15%; right: 15%; animation-delay: 0.15s; }
        .led-rojo:nth-child(7) { bottom: 15%; left: 15%; animation-delay: 0.25s; }
        .led-rojo:nth-child(8) { top: 15%; left: 15%; animation-delay: 0.35s; }

        /* LED central más grande */
        .led-central {
            position: absolute;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #ff2200;
            box-shadow: 0 0 20px #ff2200, 0 0 40px #ff000088;
            animation: parpadeo-central 0.6s infinite alternate;
        }

        /* Efecto de rotación (giro de la sirena) */
        .sirena-giro {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            animation: girar 3s linear infinite;
        }

        .sirena-giro::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 4px;
            height: 20px;
            background: linear-gradient(to bottom, #ff3333, #ff6666);
            border-radius: 4px;
            transform: translate(-50%, -50%) rotate(0deg);
            box-shadow: 0 0 15px #ff000088;
            animation: destello-giro 0.6s infinite alternate;
        }

        .sirena-giro::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 4px;
            height: 20px;
            background: linear-gradient(to bottom, #ff3333, #ff6666);
            border-radius: 4px;
            transform: translate(-50%, -50%) rotate(90deg);
            box-shadow: 0 0 15px #ff000088;
            animation: destello-giro 0.6s infinite alternate-reverse;
        }

        @keyframes girar {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        @keyframes parpadeo-rapido {
            0% { opacity: 1; transform: scale(1); box-shadow: 0 0 12px #ff0000, 0 0 24px #ff000088; }
            100% { opacity: 0.3; transform: scale(0.7); box-shadow: 0 0 4px #ff0000, 0 0 8px #ff000044; }
        }

        @keyframes parpadeo-central {
            0% { opacity: 1; transform: scale(1); box-shadow: 0 0 20px #ff2200, 0 0 40px #ff000088; }
            100% { opacity: 0.4; transform: scale(0.8); box-shadow: 0 0 8px #ff2200, 0 0 16px #ff000044; }
        }

        @keyframes destello-giro {
            0% { opacity: 0.8; box-shadow: 0 0 20px #ff0000; }
            100% { opacity: 0.2; box-shadow: 0 0 5px #ff0000; }
        }

        /* Etiqueta "EMERGENCIA" al lado de la sirena */
        .sirena-label {
            color: #ff3333;
            font-weight: 700;
            font-size: 0.85rem;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            background: rgba(255, 0, 0, 0.1);
            padding: 4px 12px;
            border-radius: 40px;
            border: 1px solid rgba(255, 0, 0, 0.2);
            animation: pulse-text 1.2s infinite;
            white-space: nowrap;
        }

        @keyframes pulse-text {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        /* ---------- ARCHIVOS PDF CON FILTRO ---------- */
        .pdf-section {
            margin: 32px 0 30px;
        }

        .pdf-header {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            border-bottom: 2px solid #e2e8f0;
            padding-bottom: 12px;
            margin-bottom: 18px;
        }

        .pdf-header h3 {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.6rem;
            font-weight: 600;
            color: #0f3b5e;
        }

        .pdf-header h3 i {
            color: #b91c1c;
        }

        .filter-select {
            background: #f1f5f9;
            border: 1px solid #d1d9e6;
            border-radius: 40px;
            padding: 10px 20px 10px 24px;
            font-size: 1rem;
            font-weight: 500;
            color: #0f3b5e;
            cursor: pointer;
            outline: none;
            transition: 0.2s;
            min-width: 150px;
        }

        .filter-select:hover {
            border-color: #94a3b8;
            background: #e9edf2;
        }

        .pdf-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            min-height: 100px;
            transition: 0.2s;
        }

        .pdf-card {
            background: #f1f5f9;
            border-radius: 20px;
            padding: 16px 22px;
            display: flex;
            align-items: center;
            gap: 16px;
            flex: 1 0 180px;
            border-left: 6px solid #1e4a6b;
            transition: 0.15s;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.02);
            text-decoration: none;
            color: #1e293b;
            cursor: pointer;
            border: none;
            background: #f1f5f9;
            text-align: left;
            width: auto;
        }

        .pdf-card:hover {
            background: #e6edf6;
            transform: translateY(-3px);
            border-left-color: #b91c1c;
        }

        .pdf-card i {
            font-size: 2.4rem;
            color: #b91c1c;
        }

        .pdf-card .year {
            font-weight: 700;
            font-size: 1.4rem;
        }

        .pdf-card .desc {
            font-size: 0.9rem;
            color: #475569;
        }

        .no-results {
            width: 100%;
            text-align: center;
            padding: 30px 10px;
            color: #64748b;
            font-size: 1.1rem;
            background: #f8fafc;
            border-radius: 40px;
            border: 1px dashed #d1d9e6;
        }

        .no-results i {
            font-size: 2rem;
            display: block;
            margin-bottom: 8px;
            color: #94a3b8;
        }

        /* ---------- MODAL ---------- */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            animation: fadeIn 0.25s ease;
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal-content {
            background: white;
            border-radius: 28px;
            max-width: 700px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            padding: 30px 35px;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
            animation: slideUp 0.3s ease;
            position: relative;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from { transform: translateY(30px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 2px solid #e2e8f0;
            padding-bottom: 16px;
            margin-bottom: 20px;
        }

        .modal-header h2 {
            font-size: 1.6rem;
            color: #0f3b5e;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .modal-header h2 i {
            color: #b91c1c;
        }

        .modal-close {
            background: #f1f5f9;
            border: none;
            width: 44px;
            height: 44px;
            border-radius: 60px;
            font-size: 1.4rem;
            color: #475569;
            cursor: pointer;
            transition: 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-close:hover {
            background: #e2e8f0;
            transform: rotate(90deg);
        }

        .modal-file-list {
            list-style: none;
            padding: 0;
        }

        .modal-file-list li {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 14px 16px;
            border-bottom: 1px solid #f1f5f9;
            transition: 0.15s;
            border-radius: 12px;
        }

        .modal-file-list li:hover {
            background: #f8fafc;
        }

        .modal-file-list li i {
            font-size: 1.8rem;
            color: #b91c1c;
            width: 40px;
            text-align: center;
        }

        .modal-file-list li .file-info {
            flex: 1;
        }

        .modal-file-list li .file-info .file-title {
            font-weight: 600;
            color: #1e293b;
        }

        .modal-file-list li .file-info .file-desc {
            font-size: 0.85rem;
            color: #64748b;
        }

        .modal-file-list li .file-link {
            background: #0f3b5e;
            color: white;
            padding: 6px 18px;
            border-radius: 40px;
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 500;
            transition: 0.2s;
            white-space: nowrap;
        }

        .modal-file-list li .file-link:hover {
            background: #1e4a6b;
            transform: scale(1.04);
        }

        .modal-footer {
            margin-top: 20px;
            padding-top: 16px;
            border-top: 1px solid #e2e8f0;
            text-align: right;
            color: #94a3b8;
            font-size: 0.85rem;
        }

        /* ---------- VIDEOS TOP ---------- */
        .videos-section {
            margin-top: 40px;
        }

        .videos-section h3 {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.6rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: #0f3b5e;
            border-bottom: 2px solid #e2e8f0;
            padding-bottom: 12px;
        }

        .videos-section h3 i {
            color: #b91c1c;
        }

        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
        }

        .video-card {
            background: #f8fafc;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
            transition: 0.2s;
            border: 1px solid #e9edf2;
        }

        .video-card:hover {
            transform: scale(1.01);
            border-color: #b0c4da;
        }

        .video-card iframe {
            width: 100%;
            aspect-ratio: 16 / 9;
            border: none;
            display: block;
        }

        .video-info {
            padding: 14px 18px 18px;
        }

        .video-info h4 {
            font-weight: 600;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .video-info h4 i {
            color: #b91c1c;
            font-size: 1rem;
        }

        .video-info p {
            color: #475569;
            font-size: 0.9rem;
            margin-top: 4px;
        }

        .badge-top {
            background: #b91c1c;
            color: white;
            font-size: 0.7rem;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 40px;
            display: inline-block;
            margin-top: 6px;
            letter-spacing: 0.3px;
        }

        /* responsivo */
        @media (max-width: 700px) {
            .container {
                padding: 16px;
            }
            .emergencia-row {
                flex-direction: column;
                align-items: flex-start;
                border-radius: 32px;
                gap: 12px;
            }
            .slide {
                height: 180px;
            }
            .slide h2 {
                font-size: 1.2rem;
                padding: 6px 16px;
            }
            .pdf-header {
                flex-direction: column;
                align-items: stretch;
                gap: 14px;
            }
            .filter-select {
                width: 100%;
            }
            .modal-content {
                padding: 20px;
                width: 95%;
            }
            .modal-file-list li {
                flex-wrap: wrap;
            }
            .modal-file-list li .file-link {
                width: 100%;
                text-align: center;
                margin-top: 6px;
            }
        }