/* ==================================================
   VARIABLES INSTITUCIONALES
================================================== */
:root {
    --cafe-principal: #7A1F2B;
    --cafe-secundario: #7A1F2B;
    --cafe-claro: #e8f5e9;
    --texto-principal: #333;
    --texto-secundario: #555;
    --blanco: #ffffff;
}

/* ==================================================
   RESET Y BASE
================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--texto-principal);
    background: var(--blanco);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}
/* ==================================================
   CONTENEDORES
================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ==================================================
   HEADER
================================================== */

.header-contenido {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* centra el texto */
    height: 120px;
}

.texto {
    text-align: center;
}

.logo-izq,
.logo-der {
    position: absolute;
}

.logo-izq {
    left: 20px;
}

.logo-der {
    right: 20px;
}

.logo-der img {
    width: 80px;
    height: auto;
}

.logo-izq img {
    width: 100px;
    height: auto;
}

.texto h1,
.texto p {
    margin: 0;
}



/* ==================================================
   NAVEGACIÓN
================================================== */

.nav {
    background-color: #7A1F2B; /* guinda MORENA */
}

/* MENÚ PRINCIPAL */
.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.menu > li {
    position: relative;
}

.menu > li > a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* HOVER MENÚ PRINCIPAL */
.menu > li > a:hover {
    background-color: rgba(255, 255, 255, 0.85); /* blanco/transparente */
    color: #7A1F2B;
    border-radius: 4px;
}

/* SUBMENÚ */
.submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #7A1F2B;
    min-width: 200px;
    display: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
}

.submenu li a {
    display: block;
    padding: 12px 15px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* HOVER SUBMENÚ */
.submenu li a:hover {
    background-color: rgba(255, 255, 255, 0.85);
    color: #7A1F2B;
    border-radius: 4px;
}

/* MOSTRAR SUBMENÚ */
.dropdown:hover .submenu {
    display: block;
}

/* ==================================================
   SECCIÓN TESORERIA
================================================== */

.tesoreria {
    padding: 60px 20px;
}

.tesoreria-contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* TÍTULO */
.tesoreria h2 {
    color: #7A1F2B;
    font-size: 32px;
    line-height: 1.2;
    margin: 0;
}

/* BOTONES */
.botones-anios {
    display: flex;
    justify-content: center; 
    gap: 15px;
    margin-top: 20px;
    width: 100%;
}


.btn-anio {
    background-color: #7A1F2B;
    color: white;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* HOVER */
.btn-anio:hover {
    background-color: rgba(255, 255, 255, 0.85);
    color: #7A1F2B;
    border: 1px solid #7A1F2B;
}


/* ==================================================
   HERO
================================================== */
.hero {
    background: var(--cafe-claro);
    padding: 70px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--cafe-principal);
}

.hero p {
    color: var(--texto-secundario);
    max-width: 700px;
    margin: auto;
}

/* ==================================================
   SECCIONES
================================================== */
.section {
    padding: 60px 0;
}

.section h3 {
    color: var(--cafe-principal);
    margin-bottom: 10px;
}

/* ==================================================
   GRID
================================================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* ==================================================
   BOTONES
================================================== */
.btn {
    display: inline-block;
    background: var(--cafe-principal);
    color: var(--blanco);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-top: 15px;
    transition: background 0.2s ease;
}

.btn:hover {
    background: var(--cafe-secundario);
}

/* ==================================================
   FOOTER
================================================== */
.footer {
    background-color: #7A1F2B;
    color: white;
    padding: 20px 0;
}

.footer-contenido {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.redes-sociales {
    display: flex;
    gap: 15px;
}

.redes-sociales a {
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

/* Hover estilo MORENA */
.redes-sociales a:hover {
    color: #7A1F2B;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 8px;
    border-radius: 50%;
}

/* ==================================================
   Estilo info_2025
================================================== */

.info-contable {
    padding: 40px 20px;
}

.titulo-seccion {
    text-align: center;
    color: #7A1F2B;
    margin-bottom: 30px;
}

.subtitulo {
    color: #7A1F2B;
    margin-bottom: 15px;
}

.acordeon-item {
    border-bottom: 1px solid #ddd;
}

.acordeon-header {
    width: 100%;
    background: none;
    border: none;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    cursor: pointer;
    color: #333;
}

.acordeon-header:hover {
    color: #7A1F2B;
}

.icono {
    font-size: 20px;
    font-weight: bold;
}

.acordeon-body {
    display: none;
    padding: 10px 0 20px 0;
}

.acordeon-body a {
    color: #7A1F2B;
    text-decoration: none;
    font-weight: 500;
}

.acordeon-body a:hover {
    text-decoration: underline;
}


/* ==================================================
   RESPONSIVE
================================================== */
@media (max-width: 768px) {

    .menu {
        flex-direction: column;
        align-items: center;
    }

    .header h1 {
        font-size: 1.4rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }
}
