/* ============================================
   1. VARIABLES GLOBALES
   ============================================ */

:root {
    /* 1. FAMILIAS DE FUENTES */
    --font-body: 'Source Serif Pro', Georgia, 'Times New Roman', Times, serif;
    --font-headings: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-ui: 'Source Sans Pro', -apple-system, sans-serif;
    --font-accent: 'Merriweather', Georgia, serif;
    --font-code: 'Courier New', Courier, monospace;
    
    /* 2. JERARQUÍA DE TAMAÑOS */
    --text-xs: 0.8rem;
    --text-sm: 1rem;
    --text-base: 1.25rem;
    --text-lg: 1.563rem;
    --text-xl: 1.953rem;
    --text-2xl: 2.441rem;
    --text-3xl: 3.052rem;
    --text-hero: 3.815rem;
    
    /* 3. PESOS */
    --light: 300;
    --regular: 400;
    --medium: 500;
    --semibold: 600;
    --bold: 700;
    --extrabold: 800;
    
    /* 4. ALTURAS DE LÍNEA */
    --tight: 1.1;
    --snug: 1.3;
    --normal: 1.5;
    --relaxed: 1.7;
    --loose: 1.9;
    
    /* 5. ESPACIADO ENTRE LETRAS */
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    
    /* 6. ANCHOS DE LÍNEA */
    --measure: 65ch;
    --measure-narrow: 45ch;
    --measure-wide: 80ch;
}

/* ============================================
   2. RESET Y ESTILOS BASE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0;
}

html {
    font-size: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--regular);
    line-height: var(--relaxed);
    color: var(--text-primary);
    max-width: 100%;
    margin: 0 auto;
}

/* Evitamos problemas con las imagenes */
img, picture, video, iframe, figure {
  max-width: 100%;
  width: 100%;
  display: block;
  /* opcional */
  -o-object-fit: cover;
     object-fit: cover;
  /* opcional */
  -o-object-position: center center;
     object-position: center center;
}

/* ============================================
   3. TIPOGRAFÍA Y ENCABEZADOS
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: var(--bold);
    line-height: var(--tight);
    margin-top: 2em;
    margin-bottom: 0.5em;
    color: var(--text-heading);
    letter-spacing: var(--tracking-tight);
}

h1 {
    font-size: var(--text-3xl);
    font-weight: var(--extrabold);
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

h2 {
    font-size: var(--text-2xl);
    font-weight: var(--bold);
    color: var(--secondary-color);
    margin-top: 2.5rem;
    border-left: 4px solid var(--secondary-color);
    padding-left: 1rem;
}

h3 {
    font-size: var(--text-xl);
    font-weight: var(--semibold);
    color: var(--text-primary);
    margin-top: 2rem;
}

h4 {
    font-size: var(--text-lg);
    font-weight: var(--semibold);
    color: var(--text-secondary);
    font-style: italic;
}

h5 {
    font-size: var(--text-base);
    font-weight: var(--medium);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--text-tertiary);
}

p {
    margin-bottom: 1.5em;
    line-height: var(--relaxed);
    text-align: justify;
    hyphens: auto;
}

a {
  display: block;
  text-decoration: none;
  /* color: inherit; */
  font-size: inherit;
}


.lead, .intro {
    font-size: var(--text-lg);
    line-height: var(--loose);
    font-weight: var(--light);
    color: var(--text-secondary);
    margin-bottom: 2em;
}

.definition {
    font-family: var(--font-accent);
    font-size: var(--text-base);
    font-weight: var(--medium);
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.term {
    font-weight: var(--semibold);
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
    padding: 0.1em 0.3em;
    border-radius: 3px;
}

blockquote {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: var(--text-lg);
    line-height: var(--loose);
    color: var(--text-secondary);
    border-left: 4px solid var(--border-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

blockquote cite {
    display: block;
    font-family: var(--font-ui);
    font-size: var(--text-sm);
    font-style: normal;
    font-weight: var(--medium);
    color: var(--text-tertiary);
    margin-top: 0.5rem;
}

/* ============================================
   4. ESTRUCTURA HEADER
   ============================================ */

.cabecera {  
    position: absolute; 
    top: 0;
    background: rgba(255,255,255,.7);     
    width: 100%;
    margin: auto;
    display: grid;
    align-items: center;
    grid-template-rows: 80px 60px;
    grid-template-columns: 10% 60% 5% 15% 10%;
    z-index: 10;
}

.cabecera.secundaria {
    position: relative;
    background: radial-gradient(circle, rgb(156, 231, 188) 0%, rgba(96, 248, 192, 0.82) 50%, rgba(111, 83, 237, 1) 100%);
    height: auto;
}

.logo {
    grid-column: 2/3;
    grid-row: 1/3;
}

img#logo {
    max-height: 140px;
    object-fit: initial;
    width: auto;
}

.redes_sociales {
    display: grid;
    grid-column: 4;
    grid-row: 1/2;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    column-gap: 2px;
}

.red_facebook {
    grid-column: 2;
    grid-row: 2;
}

.red_youtube {
    grid-column: 3;
    grid-row: 2;
}

.red_instagram {
    grid-column: 4;
    grid-row: 2;
}

.top-nav {
    grid-column: 4;
    grid-row: 2;
}

.redes {
    display: flex;
    justify-content: end;
}

.fa-square-facebook {
    color: #0644ec;
}

.fa-square-youtube {
    color: #000000;
}

.fa-square-instagram {
    color: #a30707;
}

.fa-brands {
    font-size: 2em;
}

.fa-brands:hover {
    color: #790303d5;
}

/* ============================================
    5. SLIDER
   ============================================ */

.slider {
    width: 100%;
    height: 70vh;
    position: relative;
    overflow: hidden;
    border-bottom: #2b1076 solid 5px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.caption {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}

.slider:hover .slide.active .caption {
    opacity: 1;
}

.caption h2 {
    font-size: clamp(26px, 4vw, 42px);
    margin-bottom: 10px;
}

.caption p {
    max-width: 600px;
    font-size: clamp(14px, 2vw, 18px);
    margin-bottom: 20px;
}

.cta {
    background: #fff;
    color: #000;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: transform .3s ease, background .3s ease;
    pointer-events: auto;
}

.cta:hover {
    background: #ffcc00;
    transform: scale(1.08);
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.6);
    color: #fff;
    border: none;
    font-size: 30px;
    padding: 10px;
    cursor: pointer;
    z-index: 5;
}

.prev { left: 10px; }
.next { right: 10px; }

.dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    z-index: 5;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background: rgba(255,255,255,.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #fff;
}

/* ============================================
    6. MAIN Y ESTRUCTURA PRINCIPAL
   ============================================ */

main, footer {
    display: grid;
    grid-template-columns: 10% 80% 10%;
}

.saludo, .cuerpo {
    grid-column: 2;
    max-width: 100%;
    padding: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.saludo h1 {
    font-weight: 600;
    padding: 10px;
    font-size: 2em;
    text-shadow: 0 0 0.2em #87F, 0 0 0.2em #87F,0 0 0.2em #87F;
    text-align: center;
}

/* ===== BLOQUE DE CITA ===== */
blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--bg-quote, #f0f7ff);
    border-left: 5px solid var(--secondary-color, #2a5298);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--text-secondary, #555);
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
}

blockquote p {
    margin-bottom: 0;
}

p strong {
    font-weight: 800;
}


/* ============================================
    7. BANNER ROTATIVO
   ============================================ */

.banner-final {
    height: 120px;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    grid-column: 1/4;
}

.banner-contenedor {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-contenedor span {
    position: absolute;
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 8px;
    font-family: 'Inter', -apple-system, sans-serif;
    display: none;
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #00a8ff;
}

.banner-contenedor span:nth-child(1) {
    display: flex;
    animation: mostrar1 9s infinite;
}
.banner-contenedor span:nth-child(2) {
    display: flex;
    animation: mostrar2 9s infinite;
}
.banner-contenedor span:nth-child(3) {
    display: flex;
    animation: mostrar3 9s infinite;
}

@keyframes mostrar1 {
    0% { opacity: 0; }
    5% { opacity: 1; }
    30% { opacity: 1; }
    35% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes mostrar2 {
    0% { opacity: 0; }
    35% { opacity: 0; }
    40% { opacity: 1; }
    65% { opacity: 1; }
    70% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes mostrar3 {
    0% { opacity: 0; }
    70% { opacity: 0; }
    75% { opacity: 1; }
    100% { opacity: 1; }
}

/* ============================================
    8. SECCIÓN NOTICIAS Y CERTÁMENES
   ============================================ */

.noticias {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding-top: 1rem;
    background: var(--bg-secondary, #ffffff);
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color, #eaeef2);
    margin-bottom: 1rem;
}

.term {
    width: 100%;
}

.noticias > a {
    display: flex;
    justify-content: center;
    width: 40%;
    margin: 0 auto 1rem auto;
}

.noticias span, .congreso span {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

/* ===== CERTÁMENES ===== */
.certamen{
    display: flex;
    flex-wrap: wrap;          /* ✅ Para que no se rompa en móvil */
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    /* height fija eliminada */
}

.certamen section, .congreso section {
    flex: 1 1 200px;           /* ✅ Mínimo 250px, flexible */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 300px;
}

.certamen img {
    width: 100%;               /* ✅ Mejor responsive */
    max-width: 200px;
    height: auto;              /* ✅ Mantiene proporción */
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.certamen img:hover, .congreso img:hover {
    transform: scale(1.05);    /* ✅ Efecto bonito */
}

.certamen section p {
    padding-top: 1rem;
    width: 90%;
    font-size: 1.125rem;   /* ✅ 18px - ideal para leer */
    line-height: 1.5;
}

.congreso{
    display: flex;
    padding-bottom: 1rem;

}

.congreso section{
    max-width: 600px;

}

.congreso img{
    width: 100%;               /* ✅ Mejor responsive */
    max-width: 300px;
    height: auto;              /* ✅ Mantiene proporción */
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.museo a{
    width: auto;
}

.museo section{
    padding: 0px 1rem;
}

.mas-noticias {
    text-align: right;
    margin: 2rem 1rem 1rem;
}

.mas-noticias a {
    display: inline-block;
    text-decoration: none;
    background: var(--primary-color, #2563eb);
    color: white;  /* ✅ Texto SIEMPRE blanco */
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.mas-noticias a:hover {
    background: var(--secondary-color, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(124, 58, 237, 0.3);
}

.mas-noticias p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;  /* ✅ El texto dentro del párrafo también blanco */
}

.mas-noticias span {
    font-size: 1.2rem;
    transition: transform 0.2s;
    color: white;  /* ✅ La flecha también blanca */
}

.mas-noticias a:hover span {
    transform: translateX(5px);
}


/* ============================================
    9. PÁGINAS DE ASOCIACIÓN (PRESIDENTE)
   ============================================ */

.asoc {
    background: var(--bg-secondary, #ffffff);
    border-radius: 30px;
    margin: 0 auto 3rem;
    padding: 3rem 2.5rem;
    max-width: 1200px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color, #eaeef2);
    position: relative;
    overflow: hidden;
}

.asoc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.presi div {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.asoc img {
    width: 250px;
    height: 300px;
    border-radius: 50%;
    object-fit: fill;
    border: 4px solid white;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    filter: brightness(1.05) contrast(1.05);
}

.asoc img:hover {
    transform: scale(1.02) rotate(2deg);
    box-shadow: 0 30px 50px rgba(37, 99, 235, 0.3);
}

.asoc p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1.8rem;
    text-align: justify;
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.asoc p:hover {
    border-left-color: var(--primary);
    padding-left: 1.5rem;
}

.presi p:first-of-type {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    border-left: none;
    padding-left: 0;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.presi p:first-of-type:hover {
    padding-left: 0;
    border-left: none;
}

.presi p:last-of-type {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    color: var(--secondary);
    margin-top: 3rem;
    margin-bottom: 0;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-radius: var(--radius-lg);
    border-left: none;
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.presi p:last-of-type:hover {
    padding-left: 1rem;
    border-left: none;
    animation: none;
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
}

/* ============================================
    10. PÁGINA ESTATUTOS
   ============================================ */

.asoc.estatutos {
    background: var(--bg-secondary, #ffffff);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    margin: 2rem auto;
    max-width: 900px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color, #eaeef2);
    transition: all 0.3s ease;
}

.asoc.estatutos:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.asoc.estatutos p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary, #2c3e50);
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid transparent;
    transition: border-color 0.3s ease;
}

.asoc.estatutos p:hover {
    border-left-color: var(--primary-color, #2563eb);
}

.asoc.estatutos p:first-child {
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--primary-color, #2563eb);
    border-left: 4px solid var(--primary-color, #2563eb);
    padding-left: 1rem;
    margin-top: 0;
}

.asoc.estatutos p:has(a) {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-left: none;
    padding-left: 0;
}

.asoc.estatutos p:has(a):hover {
    border-left-color: transparent;
}

.asoc.estatutos a {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    margin-top: 0.75rem;
    border: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
    text-align: center;
    min-width: 220px;
}

.asoc.estatutos a:hover {
    background: linear-gradient(135deg, #1d4ed8, #6d28d9);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.35);
}

.asoc.estatutos a:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.asoc.estatutos a::after {
    content: " 📄";
    font-size: 1.2rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.asoc.estatutos a:hover::after {
    transform: translateX(5px);
}

/* ============================================
    11. PÁGINA JUNTA DIRECTIVA
   ============================================ */

.asoc.directiva {
    background: var(--bg-secondary, #ffffff);
    border-radius: 30px;
    padding: 3rem 2.5rem;
    margin: 3rem auto;
    max-width: 1200px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color, #eaeef2);
    position: relative;
    overflow: hidden;
}

.asoc.directiva::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.asoc.directiva > div {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.asoc.directiva img {
    width: 150px;
    height: auto;
    margin: 0 auto 1rem;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;

}

.asoc.directiva img:hover {
    transform: scale(1.05);
}

.asoc.directiva h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color, #2563eb);
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.asoc.directiva h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-secondary, #4b5563);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.asoc.directiva h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    border-radius: 3px;
}

.asoc.directiva dl {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem 3rem;
    margin-top: 4rem;
    position: relative;
}

.asoc.directiva dt {
    font-weight: 700;
    color: var(--primary-color, #2563eb);
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
    grid-column: 1 / -1;
    border-bottom: 2px solid var(--border-color, #e2e8f0);
    padding-bottom: 0.3rem;
}

.asoc.directiva dd {
    font-size: 1.1rem;
    color: var(--text-primary, #2c3e50);
    margin-left: 1.5rem;
    margin-bottom: 0.8rem;
    padding-left: 0.8rem;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    grid-column: 1 / -1;
}

.asoc.directiva dd:hover {
    border-left-color: var(--primary-color, #2563eb);
    transform: translateX(5px);
    color: var(--primary-color, #2563eb);
}

.asoc.directiva dt:has(+ dd) {
    margin-bottom: 0.5rem;
}

.asoc.directiva dt + dd {
    margin-top: 0;
}

.asoc.directiva dd:nth-child(even) {
    background: rgba(37, 99, 235, 0.02);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

/* ============================================
   12. PÁGINA SEDES
   ============================================ */

.asoc.sede {
    background: var(--bg-secondary, #f8fafc);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 800px;
    box-shadow: var(--shadow, 0 4px 6px rgba(0,0,0,0.05));
    border: 1px solid var(--border-color, #e2e8f0);
}

.asoc.sede h3 {
    font-size: 1.3rem;
    color: var(--primary-color, #2563eb);
    margin: 1.5rem 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    padding-bottom: 0.5rem;
}

.asoc.sede h3:first-of-type {
    margin-top: 0;
}

.asoc.sede h3 i {
    color: var(--primary-color, #2563eb);
    font-size: 1.4rem;
    width: 28px;
    text-align: center;
}

.asoc.sede p {
    margin: 0.6rem 0;
    font-size: 1rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary, #1e293b);
}

.asoc.sede p i {
    color: var(--primary-color, #2563eb);
    font-size: 1.1rem;
    width: 28px;
    text-align: center;
    opacity: 0.8;
}

.asoc.sede p:hover i {
    opacity: 1;
    transform: scale(1.05);
}

/* ============================================
    13. CUADRO DE HONOR
   ============================================ */

.asoc.honor {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--bg-secondary, #f9f9f9);
    border-radius: 20px;
    box-shadow: var(--shadow-md, 0 10px 30px rgba(0,0,0,0.1));
}

.honor-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.honor-header .honor-logo {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #b89e7a;
    box-shadow: 0 0 0 4px #f8f4e9, 0 10px 20px rgba(0,0,0,0.2);
    margin: 0 auto 1.5rem auto;
    display: block;
    background: white;
}

.honor-header h1 {
    font-size: 2.2rem;
    font-family: 'Playfair Display', Georgia, serif;
    color: #4a3729;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0 rgba(184,158,122,0.2);
    position: relative;
    display: inline-block;
}

.honor-header h1::before,
.honor-header h1::after {
    content: '❖';
    font-size: 1.5rem;
    color: #b89e7a;
    margin: 0 1rem;
    opacity: 0.5;
}

.honor-header h2 {
    font-size: 1.8rem;
    font-family: 'Playfair Display', Georgia, serif;
    color: #6b4f3a;
    font-weight: 400;
    font-style: italic;
    margin-top: 0.5rem;
}

.honor-presidentes,
.honor-socios,
.honor-trofeos {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-primary, white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.honor-presidentes h3,
.honor-socios h3,
.honor-trofeos h3 {
    font-size: 1.6rem;
    color: var(--primary-color, #1e3c72);
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 5px solid var(--secondary-color, #2a5298);
}

.honor-presidentes p,
.honor-socios p,
.honor-trofeos p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary, #333);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.lista-presidentes,
.lista-socios-honor {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.lista-presidentes li,
.lista-socios-honor li {
    font-size: 1.2rem;
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    background: var(--bg-tertiary, #f0f0f0);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color, #2a5298);
}

.lista-presidentes li strong,
.lista-socios-honor li strong {
    color: var(--primary-color, #1e3c72);
    font-weight: 600;
}

.lista-trofeos {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 2rem;
    counter-reset: item-counter;
}

.lista-trofeos li {
    font-size: 1.1rem;
    padding: 0.7rem 1rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    border-bottom: 1px dotted var(--border-color, #d4bc9a);
    counter-increment: item-counter;
    position: relative;
    padding-left: 2.5rem;
    transition: all 0.3s ease;
    background: transparent;
}

.lista-trofeos li::before {
    content: counter(item-counter) ".";
    position: absolute;
    left: 0;
    color: var(--secondary-color, #b89e7a);
    font-weight: 600;
    font-size: 1rem;
    width: 2rem;
}

.lista-trofeos li strong {
    color: var(--primary-color, #4a3729);
    font-weight: 700;
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.lista-trofeos li:hover {
    background: var(--hover-color, rgba(184,158,122,0.1));
    transform: translateX(5px);
}

/* ============================================
   14. PÁGINA HISTORIA
   ============================================ */

.docu_historia {
    display: flex;
    justify-content: center;
}

.docu_historia a {
    border: #000 solid 2px;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    border-radius: 20px;
    background-color: #ffb9b9;
    letter-spacing: 1em;
    margin-top: 2rem;
}

.docu_historia a:hover {
    background-color: #daf796;
    transition: all 0.35s ease;
    color: #000;
}

/* ============================================
    15. GALERÍA DE IMÁGENES
   ============================================ */



.galeria_belenes {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.galeria-imagenes {
    background: var(--bg-secondary, #ffffff);
    flex: 3 1 600px;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color, #eaeef2);
}

.galeria_salas {
    display: grid;
    gap: 1.5rem;
    /* margin-top: 2rem; */
}

.cartel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cartel:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* .cairo {
    width: 100%;
    height: auto;
    aspect-ratio: 497 / 716;
    display: block;
    object-fit: cover;
} */

.info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.cartel:hover .info {
    opacity: 1;
}

.info1 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    background: transparent;
    transition: background 0.3s;
}

.info1:hover {
    background: white;
    color: black;
}

@media (hover: none) and (pointer: coarse) {
    .cartel .info {
        display: none;
    }
    .cartel a {
        display: block;
        width: 100%;
        /* height: 100%; */
        text-decoration: none;
    }
    .cartel a span {
        display: none;
    }
    .cartel img {
        cursor: pointer;
    }
}

.cartel figcaption {
    padding: 0.75rem;
    text-align: center;
    font-weight: 600;
    background: #f9f9f9;
    border-top: 1px solid #ddd;
}

/* ===== CONTENEDOR PRINCIPAL DEL VIDEO ===== */
/*.video-destacado {
    /* width: 100%; */
    /* margin-bottom: 2.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
} */

ul.galilea{
    padding-left: 4rem;
    padding-bottom: 2rem;
}

.galilea li{
    list-style: square;
}
.video-destacado h4 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color, #2563eb);
    margin-bottom: 1.2rem;
    margin-top: 1.2rem;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 0.5rem;
}

.video-destacado h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color, #2563eb), transparent);
    border-radius: 3px;
}

/* ===== CONTENEDOR DEL VIDEO CON EFECTOS ===== */
.video-contenedor {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 30px -8px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 4px solid rgb(197, 74, 74);
    margin-bottom: 2rem;
}

.video-contenedor:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 40px -10px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color, #2563eb);
}

/* ===== REPRODUCTOR DE VIDEO ===== */
.video-contenedor video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;  /* La imagen poster cubre todo el espacio */
    background-color: #1a1a1a;
    transition: transform 0.3s ease;
}



/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .video-destacado {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .video-destacado h4 {
        font-size: 1.3rem;
    }
    
    .video-contenedor {
        border-radius: 12px;
    }
    
    .video-contenedor:hover {
        transform: translateY(-3px) scale(1.01);
    }
}

@media (max-width: 480px) {
    .video-destacado h4 {
        font-size: 1.1rem;
    }
}

/* ===== CONTENEDOR PRINCIPAL (galería + aside) ===== */

.descripcion_belen, .video-destacado, .estrella{
    max-width: 100%;
}

.nombre_galeria{
    padding-bottom: 2rem;
}

.titulo_belen{
    font-size: 2em;
    font-style: italic;
    color: #ffffff;
    text-shadow: -1px -1px 3px #6c6b6b, 0 0 1px rgb(57, 57, 57), 1px 1px 1px rgb(27, 26, 26), 2px 2px 1px #1b0000, 3px 3px 1px #0f0000, 4px 4px 1px #000000;

}


.contenedor-galeria {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    /* width: 100%; */
}

.titulo-galeria {
    font-size: 2rem;
    font-weight: 600;
    color: #8b4513;              /* Marrón cálido */
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}

.titulo-galeria::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, #8b4513, #d2691e, #f4a460);
    border-radius: 2px;
}


/* ============================================
    16. ASIDE
   ============================================ */

.menu_abside {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    align-self: flex-start;
    border: 1px solid #e0e0e0;
    transition: flex-basis 0.3s ease; /* Transición suave */
    flex: 0 0 25%;                /* 25% del contenedor */
    min-width: 240px;              /* Pero no menos de 260px */
    max-width: none; 

}

.titulo_indice {
    font-size: 1.5rem;
    color: var(--primary-color, #2563eb);
    border-bottom: 3px solid var(--primary-color, #2563eb);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista > li {
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    border-left: 4px solid var(--primary-color, #2563eb);
    padding-left: 1rem;
}

.sub_lista {
    list-style: none;
    padding-left: 0.5rem;
    margin-top: 0.75rem;
}

.sub_lista li {
    margin-bottom: 0.5rem;
    font-weight: 400;
    font-size: 0.95rem;
}

.sub_lista a {
    text-decoration: none;
    color: #555;
    font-size: 1.2em;
    display: block;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.sub_lista a:hover {
    background: var(--primary-color, #2563eb);
    color: white;
    padding-left: 1rem;
}

.galeria-imagenes h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color, #2563eb);
}

/* ============================================
    17. Belen estrella 2023
   ============================================ */

   /* ===== CONTENEDOR PRINCIPAL ===== */
.estrella {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    width: 100%;
    margin: 0 auto;
}

.contenido-estrella {
    background: var(--bg-secondary, #ffffff);
    flex: 1 1 0;
    /* min-width: 200px; */
    padding: 1rem;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color, #eaeef2);
}



/* ===== DOS PRIMERAS IMÁGENES EN FILA ===== */
.estrella_img {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    
}

.estrella_img img {
    flex: 1 1 0;                 /* Ocupan el espacio proporcional */
    min-width: 200px;
    max-width: 40%;
    height: auto;
    margin: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    object-fit: cover;
}


.estrella p{
    margin: 0;
}
/* ===== IMÁGENES FLOTANTES DENTRO DEL TEXTO ===== */
.img-flotar-izq {
    float: left;
    margin: 0 1rem 1rem 0;
    width: 450px;
    height: auto;
}

.img-flotar-der {
    float: right;
    margin: 0 0 1rem 1rem;
    width: 450px;
    height: auto;
}



.estrella img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.586);
    border-radius: 20px;
}

.img_meni{
    display: flex;
    gap: 1rem;
}

.estrella p{
    padding-top: 1rem;
}


.sanjuan >img{
    height: 600px;
    width: auto;
    margin-top: 1rem;
}


/* ===== RESPONSIVE – ASIDE DEBAJO ===== */
@media (max-width: 992px) {
    .galeria_belen {
        flex-direction: column;
    }

    .galeria_belen aside,
    .galeria_belen .menu_abside,
    .galeria_belen #menu_abside {
        width: 100%;
        margin-left: 0;
        margin-top: 2rem;
    }
}

/* ===== MÓVIL – IMÁGENES FLOTANTES SE APILAN ===== */
@media (max-width: 768px) {
    .img-flotar-izq,
    .img-flotar-der {
        float: none;
        display: block;
        margin: 1rem auto;
        width: 90%;
    }
}

/* ===== ESTILOS DEL TEXTO ===== */
.asoc {
    line-height: 1.6;
}

.asoc h3 {
    margin-top: 2rem;
    color: var(--primary-color, #2563eb);
}

.asoc p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

/* ============================================
    18. FORMACIÓN
   ============================================ */

.cursos{
    margin: 0;
}  

.talleres{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.cursos h4, .talleres h4{
    margin-top: 0;
}


.talleres .resumen{
    margin-top: 1rem;
}

.video-contenedor{
    max-width: 450px;
}

.galeria_talleres{
    background: var(--bg-secondary, #ffffff);
    border-radius: 30px;
    margin: 0 auto 3rem;
    padding: 3rem 2.5rem;
    max-width: 1200px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color, #eaeef2);
    position: relative;
    overflow: hidden;
}

.talleres .nombre_galeria{
    padding-bottom: 0;
}

.galeria h5{
    margin-top: 0;
}



/* ============================================
    19. FOOTER
   ============================================ */

footer {
    border-top: 3px solid #64748b;
    background: #a09a96ba;

}

.pie_pagina {
    grid-column: 2;
    display: flex;
    gap: 10px;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.pie_pagina section {
    flex: 1;
}

.icon.contacto {
    display: flex;
    padding-bottom: 1rem;
    margin-top: 1rem;
}

img.flecha {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
}

.mapa {
    border-left: 2px dashed rgb(151, 108, 34);
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.mapa h4 {
    padding-left: 1rem;
}

.map{
    margin-left: 1rem;

    border: #000 2px solid;
    border-radius: 5px;
}




@media (max-width: 1400px) {
    .menu_abside {
        flex: 0 0 300px;
    }

    .img_meni{
        flex-direction: column;
    }

    .cursos{
        padding: 1rem 1rem;
    }

    .cursos h3{
        font-size: 1.2rem;
    }

    .video-contenedor{
        margin-bottom: 0;
    }
}

/* ============================================
    19. RESPONSIVE - PANTALLAS MUY GRANDES >= 1201px)
   ============================================ */


@media (min-width: 1201px){
    .galeria_belenes{
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .galeria_salas {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* ============================================
    20. RESPONSIVE - TABLET GRANDE (≤1200px)
   ============================================ */
@media (max-width: 1200px) {

    .cuerpo{
        padding: 1.5rem;
    }

    .galeria_belenes {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .galeria-imagenes {
        flex: 1 1 0;                /* Ocupa el espacio disponible */
        min-width: 300px;           /* Evita que se encoja demasiado */
    }

    .menu_abside {
        flex: 0 0 260px;            /* Ancho fijo para el aside */
    }

    .galeria_salas {
        display: grid;
        gap: 1.5rem;
        margin-top: 2rem;
        grid-template-columns: repeat(2,1fr);
    }

    .talleres{
    display: flex;
   flex-direction: column;
}

}    



/* ============================================
    19. RESPONSIVE - TABLET GRANDE (≤992px)
   ============================================ */

@media (max-width: 992px) {

    main, footer {
    grid-template-columns: 5% 90% 5%;
    }

    .galeria_belenes {
        flex-wrap: nowrap;       /* ✅ Evita que el aside se baje */
    }

}

/* A partir de 913px ajustamos un poco más si es necesario */
@media (max-width: 913px) {
    .menu_abside {
        flex: 0 0 200px;         /* ✅ Más estrecho aún */
    }

    .galeria-imagenes {
        min-width: 240px;        /* ✅ La galería también puede encoger más */
    }
}

/* ============================================
   20. RESPONSIVE - MÓVIL GRANDE (≤768px)
   ============================================ */

@media (max-width: 768px) {
    :root {
        --text-base: 1.125rem;
        --text-lg: 1.25rem;
        --text-xl: 1.5rem;
        --text-2xl: 1.75rem;
        --text-3xl: 2rem;
    }
    
    body {
        line-height: var(--normal);
    }
    
    h1, h2, h3 {
        line-height: var(--snug);
    }

    main, footer {
        grid-template-columns: 5% 90% 5%;
        }
    
    .banner-final {
        height: 80px;
    }
    
    .banner-contenedor span {
        font-size: 2rem;
        letter-spacing: 5px;
    }
    
    .saludo{
        padding-top: 1.5rem;
    }

    .cuerpo {
        padding: 0.5rem;
    }
    
    .asoc {
        padding: 2rem 1.5rem;
        margin: 2rem 0.5rem;
    }
    
    .asoc img {
        width: 180px;
        height: 180px;
    }
    
    .asoc p {
        line-height: 1.7;
    }
    
    .asoc.directiva {
        padding: 2rem 1.5rem;
        margin: 2rem 1rem;
        border-radius: 24px;
        max-width: 100%;
    }
    
    .asoc.directiva img {
        width: 100px;
    }
    
    .asoc.directiva h1 {
        font-size: 1.8rem;
    }
    
    .asoc.directiva h3 {
        font-size: 1.2rem;
    }
    
    .asoc.directiva dl {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .asoc.directiva dt {
        font-size: 1.1rem;
    }
    
    .asoc.directiva dd {
        font-size: 1rem;
        margin-left: 1rem;
    }

    .asoc.sede{
        margin-top: 1rem;
    }
    
    .asoc.honor {
        padding: 1.5rem;
        margin: 2rem 1rem;
    }
    
    .honor-header h1 {
        font-size: 1.8rem;
    }
    
    .honor-header h1::before,
    .honor-header h1::after {
        font-size: 1.2rem;
        margin: 0 0.5rem;
    }
    
    .honor-header h2 {
        font-size: 1.4rem;
    }
    
    .honor-header .honor-logo {
        width: 200px;
        height: 200px;
    }
    
    .honor-presidentes,
    .honor-socios,
    .honor-trofeos {
        padding: 1.5rem;
    }
    
    .lista-trofeos {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .lista-trofeos li {
        font-size: 1rem;
        padding: 0.6rem 0.8rem;
        padding-left: 2rem;
    }
    
    .lista-trofeos li strong {
        font-size: 1rem;
    }
    
    blockquote {
        padding: 1.2rem;
        font-size: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }

    .galeria_belenes {
        flex-wrap: wrap;         /* ✅ Ahora sí, aside abajo */
    }

    .titulo-galeria {
        font-size: 1.6rem;
    }

    .menu_abside {
        flex: 1 1 100%;
        margin-top: 2rem;
    }
    
    .parrafo {
        font-size: 1.2rem;
    }

    .menu_abside{
        flex: 1 1 100%;
        width: 100%;
        margin-top: 2rem;
    }
    
    .pie_pagina {
        flex-direction: column;
    }

    .mapa {
        border-top: 2px dashed rgb(151, 108, 34);
        border-left: none;
    }

    .contacto p{
        font-size: 1.2rem;
    }
}

/* ============================================
    21. RESPONSIVE - MÓVIL PEQUEÑO (≤577px)
   ============================================ */

@media (max-width: 577.98px) {
    .slider {
        height: 50vh;
    }
    
    .feb > a {
        width: 100%;
    }
    
    .certamen,
    .congreso {
        flex-direction: column;
    }
    
    .congreso section {
        justify-content: center;
    }

    .museo a{
        width: 50%;
    }
    

    .galeria_salas {
        grid-template-columns: repeat(2,1fr);
        gap: 1.5rem;
    }

    
    .mapa {
        border-left: none;
        border-top: 2px dashed rgb(151, 108, 34);
    }
}

/* ============================================
    22. RESPONSIVE - MÓVIL MUY PEQUEÑO (≤480px)
   ============================================ */

@media (max-width: 480.98px) {
    .cabecera {
        grid-template-columns: 5% 60% 5% 25% 5%;
    }
    
    .slider {
        height: 50vh;
    }
    
    .arrow {
        display: none;
        
    }
    
    .banner-final {
        height: 60px;
    }
    
    .banner-contenedor span {
        font-size: 1.3rem;
        letter-spacing: 3px;
    }
    
    .asoc img {
        width: 150px;
        height: 150px;
    }
    
    .presi p:last-of-type{
        font-size: 1.5rem;
    }

    .asoc.estatutos {
        padding: 1.5rem 1rem;
    }
    
    .asoc.estatutos p {
        font-size: 0.95rem;
    }
    
    .asoc.estatutos a {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        min-width: 180px;
    }
    
    .asoc.estatutos a::after {
        content: "📄";
        font-size: 1rem;
    }
    
    .asoc.directiva {
        padding: 1.5rem 1rem;
    }
    
    .asoc.directiva img {
        width: 80px;
    }
    
    .asoc.directiva h1 {
        font-size: 1.5rem;
    }
    
    .asoc.directiva h3 {
        font-size: 1rem;
    }
    
    .asoc.directiva dt {
        font-size: 1rem;
    }
    
    .asoc.directiva dd {
        font-size: 0.95rem;
        padding: 0.4rem 0.8rem;
    }
    
    .asoc.honor {
        padding: 1rem;
    }
    
    .honor-header h1 {
        font-size: 1.5rem;
    }
    
    .honor-header h2 {
        font-size: 1.2rem;
    }
    
    .honor-header .honor-logo {
        width: 150px;
        height: 150px;
    }
    
    .honor-presidentes h3,
    .honor-socios h3,
    .honor-trofeos h3 {
        font-size: 1.3rem;
        padding-left: 0.8rem;
    }

     .galeria_salas {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ============================================
   23. RESPONSIVE - PANTALLAS MUY PEQUEÑAS (≤400px)
   ============================================ */

@media (max-width: 400px) {
    .cuerpo {
        width: 100%;
        margin: 1rem auto;
        padding: 0 0.5rem;
    }
    
    .galeria_belenes {
        gap: 1rem;
    }
    
    .galeria_salas {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .cartel {
        width: 100%;
        margin: 0 auto;
    }
    
    .cartel img {
        aspect-ratio: 497 / 716;
        width: 100%;
        height: auto;
    }
    
    .info1 {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .cartel figcaption {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
    
    #menu_abside {
        width: 100%;
        padding: 1rem 0.8rem;
        margin-top: 1.5rem;
    }
    
    .lista > li {
        font-size: 1rem;
    }
    
    .sub_lista a {
        font-size: 0.85rem;
        padding: 0.3rem 0.4rem;
    }
    
    .titulo_indice {
        font-size: 1.2rem;
    }
    
    .parrafo {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .galeria-imagenes h4 {
        font-size: 1.4rem;
    }
}

/* ============================================
   24. RESPONSIVE - PANTALLAS MINÚSCULAS (≤360px)
   ============================================ */

@media (max-width: 360px) {
    .fa-brands {
        font-size: 1.5em;
    }
}

/* ============================================
   25. UTILIDADES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }


