/* ============== ESTILOS GENERALES ============== */
.content-section { padding: 3rem 1.5rem; color: var(--c-text, #fff); }
#juntas-gobierno { padding-top: 5rem; }
#transparencia, #aviso-privacidad, #reglamentos-oficiales, #marco-legal { scroll-margin-top: 100px; }

.styled-panel {
    background: rgba(14, 21, 37, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 3rem;
}
.styled-panel h2 {
    color: #f39323; font-family: 'Montserrat', sans-serif; font-weight: 700;
    font-size: 2.25rem; border-bottom: 2px solid #f39323; padding-bottom: 0.75rem; margin-bottom: 2rem;
}
.styled-panel p, .styled-panel .intro-text { color: #d1d5db; line-height: 1.7; font-size: 1.05rem; margin-bottom: 1rem; }

/* ============== TOOLTIP "SIN INFORMACIÓN" ============== */
.btn-disabled { position: relative; cursor: not-allowed !important; opacity: 0.65; }
.btn-disabled::after {
    content: "Sin información"; position: absolute; bottom: 80%; left: 50%; transform: translateX(-50%);
    background-color: rgba(14, 21, 37, 0.95); color: #fff; padding: 0.4rem 0.8rem; border-radius: 6px;
    font-size: 0.75rem; font-family: 'Montserrat', sans-serif; white-space: nowrap;
    opacity: 0; visibility: hidden; transition: all 0.25s ease; pointer-events: none; z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.btn-disabled::before {
    content: ""; position: absolute; bottom: 80%; left: 50%; transform: translateX(-50%);
    border-width: 6px; border-style: solid; border-color: rgba(14, 21, 37, 0.95) transparent transparent transparent;
    opacity: 0; visibility: hidden; transition: all 0.25s ease; pointer-events: none; z-index: 10;
}
.btn-disabled:hover::after { opacity: 1; visibility: visible; bottom: calc(100% + 8px); }
.btn-disabled:hover::before { opacity: 1; visibility: visible; bottom: calc(100% - 4px); }

/* ============== BOTONES ============== */
.btn-grid { display: grid; gap: 1rem; }
.btn-download-year {
    display: block; padding: 0.75rem 1rem; background: #f39323; color: #111;
    text-decoration: none; font-family: 'Montserrat', sans-serif; font-weight: 700;
    border-radius: 8px; text-align: center; transition: all 0.3s ease;
}
.btn-download-year:hover:not(.btn-disabled) { background: #fff; box-shadow: 0 0 15px rgba(243,147,35,0.6); }

/* ============== ACORDEONES ============== */
.accordion-container { width: 100%; }
.accordion-trigger {
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff; padding: 1rem 1.5rem; width: 100%; text-align: left;
    font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.1rem;
    border-radius: 8px; cursor: pointer; margin-top: 0.75rem; transition: background-color 0.3s ease;
}
.accordion-trigger:hover, .accordion-trigger.active { background: #f39323; color: #111; }
.accordion-trigger.active::after { content: ' \2212'; }
.accordion-trigger::after { content: ' \2b'; float: right; font-weight: bold; }

.accordion-panel {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out;
    background: rgba(10, 15, 28, 0.7); border-radius: 0 0 8px 8px;
    padding: 0 1.5rem; border: 1px solid rgba(255,255,255,0.08); border-top: none;
}
.accordion-panel.open { padding: 1.5rem; }

/* ============== ARTICULO 75 (GRID) ============== */
.fraction-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.fraction-card {
    background: #f0eadd; border-radius: 12px; padding: 1.5rem; color: #333;
    border: none; cursor: pointer; transition: all 0.3s ease; text-align: center;
}
.fraction-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
.fraction-card h3 { font-size: 1.8rem; margin: 0; color: #111; font-family: 'Times New Roman', Times, serif; }
.fraction-card p { font-size: 0.9rem; color: #555; margin-top: 0.5rem; font-family: 'Times New Roman', Times, serif; }
.fraction-info-panel { padding: 1.5rem; }

/* Trimestres Grid */
.trimestre-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; padding: 1rem; }
.btn-download-trim {
    background: #eee; color: #222; padding: 0.8rem; text-decoration: none;
    text-align: center; border-radius: 4px; font-weight: bold; font-size: 0.85rem; transition: all 0.3s ease;
}
.btn-download-trim:hover:not(.btn-disabled) { background: #f39323; }

/* ============== SITIOS DE INTERES ============== */
.sitios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.sitio-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255,255,255,0.1); padding: 1.5rem; border-radius: 12px; text-decoration: none; color: #fff; transition: all 0.3s ease; }
.sitio-card:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-5px); }
.sitio-card h3 { color: #f39323; margin: 0 0 0.5rem 0; font-size: 1.5rem; }
.sitio-card p { color: #d1d5db; font-size: 0.9rem; line-height: 1.5; margin-bottom: 1.5rem; }
.sitio-card-btn { display: inline-block; padding: 0.6rem 1.2rem; background: #f39323; color: #111; text-decoration: none; font-family: 'Montserrat', sans-serif; font-weight: 700; border-radius: 6px; }

/* ============== AVISO DE PRIVACIDAD ============== */
.legal-text { line-height: 1.8; color: #e5e7eb; font-size: 0.95rem; }
.legal-text h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; font-size: 1.1rem; color: #fff; }
.legal-text a { color: #f39323; text-decoration: underline; }
