/* --- VARIABLES DE COLOR (INSTITUCIONAL) --- */
        :root {
            --primary-color: #006837; /* Verde Institucional */
            --secondary-color: #f1f1f1;
            --accent-color: #cfb53b; /* Dorado para detalles */
            --text-color: #333;
            --white: #ffffff;
            --banner-height: 400px;
        }

        /* --- RESET BÁSICO --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #f9f9f9;
            color: var(--text-color);
        }

        /* --- HEADER --- */
        header {
            background-color: var(--white);
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            padding: 1rem 2rem;
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 20px;
        }

        .logo {
            height: 80px;
            width: auto;
        }

        .institution-name {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            text-transform: uppercase;
            line-height: 1.2;
            border-left: 3px solid var(--accent-color);
            padding-left: 15px;
        }

        /* --- BANNER ANIMADO (CSS PURO) --- */
        .banner-container {
            width: 100%;
            height: var(--banner-height);
            overflow: hidden;
            position: relative;
            background-color: #000;
        }

        .slide {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            animation: slideAnimation 15s infinite;
        }

        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(0.7); /* Oscurecer un poco para leer texto si lo hubiera */
        }

        /* Animación para 3 banners */
        .slide:nth-child(1) { animation-delay: 0s; }
        .slide:nth-child(2) { animation-delay: 5s; }
        .slide:nth-child(3) { animation-delay: 10s; }

        @keyframes slideAnimation {
            0% { opacity: 0; }
            10% { opacity: 1; }
            33% { opacity: 1; }
            43% { opacity: 0; }
            100% { opacity: 0; }
        }

        /* Texto sobre el banner (Opcional) */
        .banner-text {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            z-index: 10;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
            font-size: 1.2rem;
        }

        /* --- MAIN CONTENT --- */
        main {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
            min-height: 500px;
        }

        h1.page-title {
            color: var(--primary-color);
            font-size: 2rem;
            margin-bottom: 20px;
            border-bottom: 2px solid var(--accent-color);
            padding-bottom: 10px;
        }

        /* --- FILTROS --- */
        .filter-section {
            background-color: var(--white);
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .filter-section label {
            font-weight: 600;
            color: #555;
        }

        .year-select {
            padding: 10px 15px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 1rem;
            outline: none;
            cursor: pointer;
            transition: border-color 0.3s;
        }

        .year-select:focus {
            border-color: var(--primary-color);
        }

        /* --- LISTA DE DOCUMENTOS --- */
        .document-list {
            list-style: none;
            display: grid;
            gap: 15px;
        }

        .document-item {
            background-color: var(--white);
            border-left: 5px solid var(--primary-color);
            padding: 20px;
            border-radius: 4px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            transition: transform 0.2s, box-shadow 0.2s;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .document-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .doc-name {
            font-size: 1.1rem;
            font-weight: 500;
        }

        .btn-download {
            background-color: var(--primary-color);
            color: white;
            padding: 8px 15px;
            text-decoration: none;
            border-radius: 4px;
            font-size: 0.9rem;
            font-weight: bold;
        }

        .btn-download:hover {
            background-color: #004d29;
        }

        /* --- FOOTER --- */
        footer {
            background-color: var(--primary-color);
            color: white;
            text-align: center;
            padding: 20px;
            margin-top: 50px;
        }

        /* --- RESPONSIVE DESIGN (CELULARES) --- */
        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                text-align: center;
            }
            
            .institution-name {
                border-left: none;
                padding-left: 0;
                font-size: 1.2rem;
                margin-top: 10px;
            }

            .logo {
                height: 60px;
            }

            :root {
                --banner-height: 250px; /* Banner más pequeño en celular */
            }

            h1.page-title {
                font-size: 1.5rem;
            }

            .document-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .btn-download {
                width: 100%;
                text-align: center;
            }
        }