        /* --- COLORES INSTITUCIONALES ---
           Guinda Gobierno: #6A1B29
           Dorado Gobierno: #BC955C
           Verde DGETI:     #13322B
           Oscuro Texto:    #333333
           Blanco/Gris:     #F4F6F6
        --------------------------------- */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Montserrat', sans-serif;
        }

        body {
            background-color: #F4F6F6;
            color: #333333;
            line-height: 1.6;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        /* ==========================================
           1. ENCABEZADO (HEADER) - Separable
        ========================================== */
        .top-bar {
            background-color: #13322B; /* Verde DGETI */
            color: #ffffff;
            font-size: 0.85rem;
            padding: 8px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 3px solid #BC955C; /* Dorado */
        }

        .top-bar .gob-link {
            font-weight: 600;
            letter-spacing: 1px;
        }

        .main-header {
            background-color: #ffffff;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 5%;
        }

        .logo-area {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        /* Marcadores de posición para logos (puedes cambiarlos por etiquetas <img>) */
        .logo-placeholder {
            background-color: #6A1B29;
            color: #fff;
            padding: 10px 15px;
            font-weight: bold;
            font-size: 0.9rem;
            border-radius: 4px;
        }

        .school-name h1 {
            font-size: 1.4rem;
            color: #6A1B29; /* Guinda */
            font-weight: 700;
        }

        .school-name p {
            font-size: 0.85rem;
            color: #666;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Navegación Principal */
        .nav-menu {
            display: flex;
            align-items: center;
            gap: 20px;
            list-style: none;
        }

        .nav-menu a {
            font-weight: 600;
            font-size: 0.9rem;
            color: #13322B;
            transition: color 0.3s ease;
            padding: 8px 0;
            border-bottom: 2px solid transparent;
        }

        .nav-menu a:hover, .nav-menu a.active {
            color: #6A1B29;
            border-bottom: 2px solid #BC955C;
        }

        /* Redes Sociales y Botón Sistema */
        .header-actions {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .social-icons {
            display: flex;
            gap: 12px;
        }

        .social-icons a {
            color: #6A1B29;
            font-size: 1.1rem;
            transition: transform 0.3s, color 0.3s;
        }

        .social-icons a:hover {
            color: #BC955C;
            transform: translateY(-3px);
        }

        .btn-sistema {
            background-color: #6A1B29;
            color: #ffffff;
            padding: 10px 20px;
            border-radius: 4px;
            font-weight: 600;
            font-size: 0.85rem;
            transition: background 0.3s, transform 0.2s;
            display: flex;
            align-items: center;
            gap: 8px;
            border: none;
            cursor: pointer;
        }

        .btn-sistema:hover {
            background-color: #52131F;
            transform: scale(1.02);
            color: #fff;
        }


        /* ==========================================
           2. CONTENIDO PRINCIPAL (CUERPO) 
        ========================================== */
        .hero-section {
            background: linear-gradient(rgba(19, 50, 43, 0.85), rgba(106, 27, 41, 0.85)), url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?ixlib=rb-4.0.3') center/cover no-repeat;
            height: 450px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: #ffffff;
            padding: 0 20px;
        }

        .hero-section h2 {
            font-size: 2.8rem;
            font-weight: 700;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }

        .hero-section p {
            font-size: 1.2rem;
            max-width: 600px;
            margin-bottom: 30px;
            font-weight: 300;
        }

        .btn-secondary {
            background-color: #BC955C;
            color: #13322B;
            padding: 12px 25px;
            font-weight: 600;
            border-radius: 4px;
            transition: background 0.3s;
        }

        .btn-secondary:hover {
            background-color: #e5c28c;
        }

        .main-container {
            max-width: 1200px;
            margin: 50px auto;
            padding: 0 20px;
        }

        .section-title {
            text-align: center;
            color: #6A1B29;
            margin-bottom: 40px;
            position: relative;
            font-size: 2rem;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background-color: #BC955C;
            margin: 10px auto 0;
        }

        .grid-noticias {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .card {
            background: #ffffff;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s;
        }

        .card:hover {
            transform: translateY(-5px);
        }

        .card-img {
            height: 200px;
            background-color: #ddd;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #666;
        }

        .card-body {
            padding: 20px;
        }

        .card-tag {
            color: #BC955C;
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 10px;
            display: inline-block;
        }

        .card-title {
            color: #13322B;
            margin-bottom: 10px;
            font-size: 1.2rem;
        }


        /* ==========================================
           3. PIE DE PÁGINA (FOOTER) - Separable
        ========================================== */
        footer {
            background-color: #13322B; /* Verde DGETI */
            color: #ffffff;
            padding: 50px 5% 20px;
            margin-top: 80px;
            border-top: 4px solid #6A1B29; /* Guinda */
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-col h3 {
            color: #BC955C;
            font-size: 1.1rem;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .footer-col p, .footer-col li {
            font-size: 0.9rem;
            color: #cbd5e1;
            margin-bottom: 10px;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li a:hover {
            color: #BC955C;
        }

        .footer-bottom {
            text-align: center;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.8rem;
            color: #94a3b8;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .header-container {
                flex-direction: column;
                gap: 15px;
            }
            .nav-menu {
                flex-wrap: wrap;
                justify-content: center;
            }
        }
