/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9; /* Fondo general claro */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header - Ahora con fondo claro */
.header {
    background-color: #ffffff; /* Blanco puro */
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Sombra sutil */
    border-bottom: 1px solid #e0e0e0; /* Borde suave */
}

.logo {
    max-width: 100%;
    height: auto;
    display: block;
}

.logo-header {
    width: 220px;
}

/* Hero Section */
.hero {
    background-color: #ffffff;
    padding: 8rem 0 4rem;
    text-align: center;
}

.hero h1 {
    color: #0a3d62; /* Azul institucional para el texto */
    font-size: 2.5rem;
}

/* Footer - Fondo claro */
.footer {
    background-color: #f5f5f5; /* Gris muy claro */
    color: #333; /* Texto oscuro para contraste */
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #e0e0e0; /* Borde superior sutil */
}

.logo-footer {
    width: 150px;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-header {
        width: 150px;
    }

    .hero {
        padding: 6rem 0 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* Header con imagen de portada */
.header {
    background-image: url('../img/portadas/portada-escritorio.webp');
    background-size: cover; /* Cubre todo el espacio */
    background-position: right center; /* Enfoca el centro de la imagen */
    background-repeat: no-repeat;
    height: 600px; /* Altura fija para escritorio */
    padding: 1rem 0;
    position: relative;
}

/* Ajustes para tablet */
@media (max-width: 1024px) {
    .header {
        background-image: url('../img/portadas/portada-tablet.webp');
        height: 400px;
    }
}

/* Ajustes para móvil */
@media (max-width: 768px) {
    .header {
        background-image: url('../img/portadas/portada-movil.webp');
        height: 350px;
    }
}

@media 
    (-webkit-min-device-pixel-ratio: 2), 
    (min-resolution: 192dpi) {
    .header {
        background-image: url('../img/portadas/portada-retina.webp');
    }
}

/* Efecto overlay oscuro para mejorar legibilidad del texto (opcional) */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Ajusta la opacidad según necesites */
    z-index: 0;
}

/* Asegura que el logo y otros elementos estén por encima del overlay */
.logo-header, 
.header-content {
    position: relative;
    z-index: 1;
}

/* === Menú Nav (Nuevos estilos) === */
.navbar {
    position: sticky; /* Fijo al hacer scroll, pero debajo del header */
    top: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Mismo z-index que el header para consistencia */
    padding: 1rem 0;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #0a3d62; /* Azul institucional (ajusta según tu paleta) */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-links a:hover {
    color: #f6b93b; /* Amarillo al hover */
    background-color: rgba(10, 61, 98, 0.05);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .nav-links {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    .nav-links a {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }
}

/* === Estilos del Botón Hamburguesa === */
.hamburger {
    display: none; /* Oculta en escritorio */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #0a3d62;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Menú móvil (oculto por defecto) */
@media (max-width: 768px) {
    .hamburger {
        display: block; /* Muestra solo en móviles */
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%; /* Oculta el menú */
        width: 80%;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links.active {
        left: 0; /* Muestra el menú */
    }

    /* Animación del botón a "X" */
    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}


/* Paginación */
.swiper-pagination-bullet-active {
    background: #0a3d62 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .swiper-button-next, 
    .swiper-button-prev {
        display: none !important;
    }
    
    .featured-news {
        padding: 2rem 0;
    }
}


/* Estilos para la sección de noticias */
        .seccion-noticias {
            padding: 60px 0;
        }
        
        .titulo-seccion {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
            padding-bottom: 15px;
        }
        
        .titulo-seccion h2 {
            font-size: 2.5rem;
            color: #0a3d62;
        }
        
        .titulo-seccion::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: #f6b93b;
        }
        
        /* Contenedor de noticias */
        .noticias-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 40px;
        }
        
        /* Item de noticia */
        .noticia-item {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .noticia-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }
        
        /* Contenido de noticia - dos columnas en escritorio */
        .noticia-contenido {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }
        
        .noticia-imagen {
            position: relative;
            overflow: hidden;
            height: 0;
            padding-top: 70%; /* Relación de aspecto (ajustar según necesidad) */
        }
        
        .noticia-imagen img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .noticia-item:hover .noticia-imagen img {
            transform: scale(1.05);
        }
        
        .noticia-texto {
            padding: 30px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .noticia-fecha {
            color: #f6b93b;
            font-weight: 600;
            margin-bottom: 10px;
            display: block;
        }
        
        .noticia-titulo {
            font-size: 1.8rem;
            color: #0a3d62;
            margin-bottom: 20px;
            line-height: 1.3;
        }
        
        .noticia-descripcion {
            margin-bottom: 25px;
            line-height: 1.7;
            color: #555;
            text-align: justify;
            text-indent: 2em;
        }
        
        .participantes {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 25px;
            border-left: 4px solid #f6b93b;
        }
        
        .participantes p {
            margin: 5px 0;
        }
        
        .noticia-destacado {
            font-style: italic;
            font-weight: 600;
            color: #0a3d62;
            margin-top: 10px;
        }
        
        /* Responsive - Una columna en móvil */
        @media (max-width: 768px) {
            .noticia-contenido {
                grid-template-columns: 1fr;
            }
            
            .titulo-seccion h2 {
                font-size: 2rem;
            }
            
            .noticia-titulo {
                font-size: 1.5rem;
            }
            
            .noticia-imagen {
                padding-top: 60%; /* Relación de aspecto para móvil */
            }
        }
        
        /* Separador entre noticias */
        .noticia-separador {
            height: 1px;
            background: #eee;
            margin: 30px 0;
        }


/* Estilos para el carrusel */
.featured-news {
            padding: 6rem 0 3rem;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 2rem;
            color: #0a3d62;
            font-size: 2.5rem;
        }
        
        .carousel-section {
            margin-bottom: 2rem;
            overflow: hidden;
        }
        
        .swiper {
            width: 100%;
            height: 500px; /* Altura fija para escritorio */
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .swiper-slide {
             text-align: center;
            background: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        
       .swiper-pagination-bullet-active {
            background: #0a3d62 !important;
        }
        
        .btn {
            display: inline-block;
            padding: 0.8rem 1.5rem;
            background: #f6b93b;
            color: #fff;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .btn:hover {
            background: #0a3d62;
            transform: translateY(-2px);
        }
        
        .btn-outline {
            background: transparent;
            border: 2px solid #0a3d62;
            color: #0a3d62;
        }
        
        .btn-outline:hover {
            background: #0a3d62;
            color: #f6b93b;
        }

        .text-center {
            text-align: center;
        };

        /* Responsive: en móviles, reducimos la altura */
        @media (max-width: 768px) {
            .swiper-container {
            height: 300px;
            }
        }


        /* Estilos generales para el contenedor (Transparencia)*/
.container_transparencia {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilos para las columnas */
.column {
    flex: 1;
    padding: 10px;
}

.column:first-child {
    margin-right: 20px;
}

/* Estilos para el título y la descripción */
h2 {
    font-family: 'Arial', sans-serif;
    color: #0a3d62;
    font-size: 24px;
    margin-bottom: 10px;
}

p {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Estilos para el acordeón */
details {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

summary {
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    color: #0a3d62;
    background-color: #f5f7fa;
    border-bottom: 1px solid #ddd;
}

summary:hover {
    color: #f6b93b; /* Amarillo al hover */
    background-color: rgba(10, 61, 98, 0.05);
}

/* Estilos para los niveles anidados */
.tabulacion {
    margin-left: 20px;
}

.tabulacion_2 {
    margin-left: 40px;
}

.tabulacion_3 {
    margin-left: 60px;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 4px;
}

/* Estilos para los botones */
button {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 10px;
}

button img {
    vertical-align: middle;
}

/* Estilos para los enlaces */
a {
    text-decoration: none;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .container_transparencia {
        flex-direction: column;
    }

    .column {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .column:last-child {
        margin-bottom: 0;
    }

    /* Ajustar el tamaño de los botones en móviles */
    button img {
        width: 20px;
        height: 20px;
    }
}


/* Contenedor para video */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Relación 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Mantiene el efecto hover consistente */
.noticia-item:hover .video-container iframe {
    transform: scale(1.03);
    transition: transform 0.5s ease;
}


/* SECCIÓN NOSOTROS - EQUIPO GAD CORREGIDO */
.team {
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f4f8 100%);
    padding: 60px 0;
    position: relative;
    overflow: visible; /* Cambiado de hidden a visible */
}

.team::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0a3d62, #f6b93b);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team h2 {
    text-align: center;
    color: #0a3d62;
    font-size: 2.2rem; /* Reducido ligeramente */
    margin-bottom: 40px; /* Reducido */
    position: relative;
    padding-bottom: 15px;
}

.team h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #0a3d62, #f6b93b);
    border-radius: 2px;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Más flexible */
    gap: 30px; /* Reducido */
    margin-bottom: 60px; /* Reducido */
}

.member {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(10, 61, 98, 0.1); /* Más suave */
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    padding-bottom: 25px; /* Reducido */
    display: flex;
    flex-direction: column;
}

.member:hover {
    transform: translateY(-5px); /* Menos movimiento */
    box-shadow: 0 10px 25px rgba(10, 61, 98, 0.15);
}

.member-img-container {
    position: relative;
    height: 250px; /* Altura reducida */
    overflow: hidden;
}

.member-img-container::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 61, 98, 0.5), transparent); /* Más transparente */
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.member:hover .member-img-container::before {
    opacity: 1;
}

.member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.member:hover img {
    transform: scale(1.03); /* Menos zoom */
}

.member-content {
    padding: 20px 15px; /* Asegura espacio para el texto */
    flex-grow: 1; /* Permite que crezca según contenido */
    display: flex;
    flex-direction: column;
}

.member h3 {
    color: #0a3d62;
    font-size: 1.4rem; /* Reducido ligeramente */
    margin-bottom: 8px;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.member:hover h3 {
    color: #f6b93b;
}

.member p {
    color: #555;
    font-size: 1rem; /* Reducido para más espacio */
    margin-bottom: 15px;
    position: relative;
    line-height: 1.5;
}

.member p::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #f6b93b;
    transition: width 0.3s ease;
}

.member:hover p::after {
    width: 60px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    opacity: 1; /* Siempre visible */
    transform: translateY(0); /* Sin transformación */
    transition: all 0.4s ease;
    padding: 5px 0;
}

.contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a3d62;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-icon:hover {
    background: #f6b93b;
    color: white;
    transform: translateY(-3px);
}

/* Estilo para diferenciar autoridades */
.team-members:first-of-type .member {
    border-top: 4px solid #0a3d62;
}

/* Estilo para diferenciar trabajadores */
.team-members:last-of-type .member {
    border-top: 4px solid #f6b93b;
}

/* Badge para distinguir autoridades */
.authority-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #0a3d62;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Badge para trabajadores */
.staff-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f6b93b;
    color: #0a3d62;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .team-members {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 25px;
    }
    
    .member-img-container {
        height: 230px;
    }
}

@media (max-width: 768px) {
    .team {
        padding: 50px 0;
    }
    
    .team h2 {
        font-size: 2rem;
        margin-bottom: 35px;
    }
    
    .team-members {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto 50px;
        gap: 30px;
    }
    
    .member {
        max-width: 380px;
        margin: 0 auto;
    }
    
    .member-img-container {
        height: 280px; /* Más alto en móviles */
    }
}

@media (max-width: 480px) {
    .team h2 {
        font-size: 1.7rem;
    }
    
    .member h3 {
        font-size: 1.3rem;
    }
    
    .member p {
        font-size: 0.95rem;
    }
    
    .member-img-container {
        height: 250px;
    }
}


/* Estilos específicos para la sección de contacto */
.contact_info {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-details {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-details h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 24px;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
}

.contact-details p {
    margin-bottom: 15px;
    color: #555;
}

.contact-details strong {
    color: #333;
}

.contact-map {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    background-color: #0a3d62;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.whatsapp-button:hover {
    background-color: #2c3e50;
}

.whatsapp-button img {
    width: 30px;
    margin-right: 10px;
}

/* Estilos para el formulario */
.contact-form {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    grid-column: 1 / -1;
}

.contact-form h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 24px;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
}

.form-instructions {
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.formal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: bold;
    color: #444;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group label {
    font-weight: normal;
    margin-bottom: 0;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 20px;
}

.btn-enviar, .btn-limpiar {
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-enviar {
    background-color: #2c3e50;
    color: white;
}

.btn-enviar:hover {
    background-color: #1a252f;
}

.btn-limpiar {
    background-color: #95a5a6;
    color: white;
}

.btn-limpiar:hover {
    background-color: #7f8c8d;
}

/* Responsive design */
@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-form {
        grid-column: 1 / -1;
    }
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .contact-form {
        grid-column: 2 / -1;
        grid-row: 1 / 3;
    }
    
    .contact-map {
        grid-column: 1;
        grid-row: 2;
    }
}

.form-group input:invalid, 
.form-group textarea:invalid {
    border: 1px solid #e74c3c;
}

.form-group input:valid, 
.form-group textarea:valid {
    border: 1px solid #2ecc71;
}

.map-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #4285F4;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}


/* ===== FOOTER MINIMALISTA ===== */
.footer {
    background-color: #eaeaea; /* Color institucional oscuro */
    color: #ffffff;
    padding: 30px 0 20px;
    font-size: 14px;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 150px;
    height: auto;
}

.footer-info {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-social a {
    color: rgb(39, 88, 43);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #f6b93b; /* Color institucional claro */
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(38, 37, 75, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #f6b93b; /* Color institucional claro */
}

/* Responsive */
@media (min-width: 768px) {
    .footer-main {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* aprobación de formulario */
#loader {
  display: none;
  text-align: center;
  padding: 10px;
  font-size: 16px;
  color: #333;
}
#loader::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-top: 2px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.status-message {
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
}
.status-success {
  background-color: #d4edda;
  color: #155724;
}
.status-error {
  background-color: #f8d7da;
  color: #721c24;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

#status-message {
  animation: fadeIn 0.3s ease-out;
}

/* Mejora para móviles */
@media (max-width: 768px) {
  .alert {
    flex-direction: column;
    text-align: center;
  }
  
  .alert i {
    margin-bottom: 10px;
  }
}