:root {
    --background: #F5F3EE;         /* Fondo muy claro, casi blanco */
    --accent-color: #4B3621;       /* Marrón oscuro, sobrio */
    --accent-color2: #6B705C;      /* Verde oliva grisáceo, elegante */
    --accent-color3: #B7B7A4;      /* Gris cálido, neutro */
    --accent-color4: #EDEADE;      /* Beige muy claro */
    --text: #2B2118;               /* Marrón casi negro para texto */
    --text-white: #FFFFFF;
    --text-muted: #7C6F5F;

    --font-family: 'Garamond', 'Georgia', 'Times New Roman', serif;
    --font-family-sans: 'Garamond', 'Georgia', 'Times New Roman', serif;
    --rounded-sm: 6px;
    --rounded-lg: 14px;
    --shadow: 0 2px 12px rgba(75, 54, 33, 0.07);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

body {
    font-family: 'Garamond', 'Georgia', 'Times New Roman', serif;
    background-color: var(--background);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.7;
    font-size: 1.15rem;
}

/* Tipografía global consistente - Garamond para todo */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Garamond', 'Georgia', 'Times New Roman', serif;
    font-weight: 600;
}

/* Estilo elegante para TODOS los h2 de secciones (igual que descripción) */
/* EXCEPTO el hero del index */
h2:not(.hero-index h2),
.seccion-timeline h2,
.seccion-presencia h2,
.figuras-franciscanas h2,
.fotos-historicas h2,
.seccion-comunidades h2,
.seccion-gobierno h2,
.seccion-contacto h2,
.seccion-info-contacto h2,
.noticias h2,
.paises-por-continente h2,
.fotos-comunidades-laicos h2 {
    font-size: 2rem;
    color: var(--accent-color);
    font-family: 'Garamond', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Línea decorativa debajo de los h2 */
/* EXCEPTO el hero del index */
h2:not(.hero-index h2)::after,
.seccion-timeline h2::after,
.seccion-presencia h2::after,
.figuras-franciscanas h2::after,
.fotos-historicas h2::after,
.seccion-comunidades h2::after,
.seccion-gobierno h2::after,
.seccion-contacto h2::after,
.seccion-info-contacto h2::after,
.noticias h2::after,
.paises-por-continente h2::after,
.fotos-comunidades-laicos h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color2), transparent);
    margin: 0.8rem auto;
}

p, li, td, th, span, div, label, input, textarea, button, select, a {
    font-family: 'Garamond', 'Georgia', 'Times New Roman', serif;
}

/* Excepción: contenido de oraciones mantiene su fuente */
.oracion-texto p {
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
}


/* Header */
.header {
    background: var(--accent-color);
    color: var(--text-white);
    padding: 0.7rem 2rem 0.6rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}

.logo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-text {
    flex-grow: 1;
    text-align: center;
    margin: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-titulo {
    font-size: 2.5rem;
    font-family: 'Garamond', 'Georgia', 'Times New Roman', serif;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 0.2rem;
    color: var(--text-white);
    font-style: italic;
}

.header-subtitulo {
    font-size: 0.8rem;
    color: var(--accent-color3);
    font-family: 'Garamond', 'Georgia', 'Times New Roman', serif;
    margin-bottom: 0.2rem;
    letter-spacing: 0.8px;
    font-weight: 400;
}

/* Menú hamburguesa */
.menu-bars {
    width: 26px;
    height: 26px;
    display: none;
    vertical-align: middle;
    cursor: pointer;
    margin: 0.5rem 0;
    color: var(--accent-color3);
}

/* Navegación formal y sobria */
.nav-header {
    margin-top: 0.7rem;
    background: var(--accent-color);
    border-radius: var(--rounded-sm);
    box-shadow: none;
    padding: 0;
    flex-grow: 1;
    margin-left: 0;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav-links li {
    margin: 0 1.2rem 0 0; /* Ajuste para espaciado */
}

.nav-links a {
    display: block;
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.5em 1.2em;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: background 0.2s, color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: "";
    display: block;
    margin: 0.3em auto 0 auto;
    width: 0%;
    height: 2px;
    background: var(--accent-color2);
    transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a:focus {
    background: var(--accent-color2);
    color: var(--text-white);
    text-decoration: none;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
    width: 60%;
}

/* Hero general (para todas las páginas excepto index) */
#hero {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(75, 54, 33, 0.88) 0%,
        rgba(75, 54, 33, 0.75) 35%,
        rgba(139, 90, 43, 0.65) 65%,
        rgba(75, 54, 33, 0.82) 100%
    );
    z-index: 1;
}

/* Hero del index con carrusel - sobreescribe los estilos generales */
#hero.hero-index {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Ancho máximo reducido */
    height: 70vh; /* Altura aumentada */
    overflow: hidden;
    background: #000000;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto; /* Centrar el contenedor */
}

#hero.hero-index::before {
    display: none;
}

/* Hero Carrusel solo para index */
.hero-index .hero-carrusel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-index .hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-index .hero-slide.activo {
    opacity: 1;
    pointer-events: auto;
}

.hero-index .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}


/* Ya no necesitamos ajustes específicos - todas las imágenes se adaptan automáticamente */

.hero-index .hero-texto-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: 95%;
    max-width: 1000px;
}

.hero-index .hero-texto {
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 15px 30px;
    text-align: center;
}

.hero-index .hero-descripcion {
    font-size: 1.4rem;
    margin: 0;
    color: #ffffff;
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', serif;
    font-style: italic;
    line-height: 1.8;
    text-shadow: 
        6px 6px 15px rgba(0, 0, 0, 1),
        0 0 35px rgba(0, 0, 0, 1),
        0 0 45px rgba(0, 0, 0, 1),
        0 0 55px rgba(0, 0, 0, 1),
        0 0 65px rgba(0, 0, 0, 0.95),
        0 0 75px rgba(0, 0, 0, 0.9),
        -4px -4px 8px rgba(0, 0, 0, 1),
        4px -4px 8px rgba(0, 0, 0, 1),
        -4px 4px 8px rgba(0, 0, 0, 1),
        4px 4px 8px rgba(0, 0, 0, 1),
        0 0 15px rgba(0, 0, 0, 1),
        0 0 5px rgba(0, 0, 0, 1);
    font-weight: 500;
}

/* Hero estándar para otras páginas */
.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
}

.hero-texto {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 50px 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    margin: 0 20px;
}

.hero-titulo {
    font-size: 2.8rem;
    font-family: var(--font-family), serif;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
}

.hero-descripcion {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #f5f5f5;
    font-weight: 400;
    text-shadow: 
        1px 1px 4px rgba(0, 0, 0, 0.9),
        0 0 12px rgba(0, 0, 0, 0.7);
    margin: 0;
    font-family: var(--font-family-sans), sans-serif;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 0.6em 1.2em;
    border-radius: var(--rounded-sm);
    border: none;
    font-weight: 600;
    margin: 0 0.5em;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-family-sans), sans-serif;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 1px 4px rgba(75,54,33,0.07);
}

.btn-primary {
    background: var(--accent-color2);
    color: var(--text-white);
}

.btn-primary:hover {
    background: var(--accent-color3);
    color: var(--text);
}

.btn-secondary {
    background: var(--accent-color3);
    color: var(--text);
}

.btn-secondary:hover {
    background: var(--accent-color2);
    color: var(--text-white);
}

.btn-ver,
.btn-read-more,
.btn-submit {
    background: var(--accent-color2);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: var(--rounded-sm);
    font-size: 0.95rem;
    transition: background 0.3s;
    display: inline-block;
    margin-top: 0.5rem;
}

.btn-ver:hover,
.btn-read-more:hover,
.btn-submit:hover {
    background: var(--accent-color);
}

/* Sección Descripción */
#descripcion {
    background: linear-gradient(135deg, rgba(255,248,240,0.9) 0%, rgba(245,235,220,0.95) 100%);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 2rem auto 0 auto;
}

#descripcion::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139,69,19,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

#descripcion::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(205,133,63,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.descripcion-info {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.descripcion-info h2 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    font-family: 'Garamond', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

.descripcion-info h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color2), transparent);
    margin: 0.8rem auto;
}

.descripcion-info p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 1.8rem;
    text-align: center;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.btn-contacto {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color2) 0%, var(--accent-color) 100%);
    color: var(--text-white);
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(139,69,19,0.3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

.btn-contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-contacto:hover::before {
    left: 100%;
}

.btn-contacto:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(139,69,19,0.45);
}

/* Secciones Generales */
main {
    max-width: 950px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin: 32px 0;
    padding: 20px 32px;
    background: var(--accent-color4);
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
}

section h2 {
    font-family: var(--font-family), serif;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 1.1rem;
    text-align: center;
    font-weight: 600;
}

section p, section li {
    font-family: var(--font-family-sans), sans-serif;
    color: var(--text-muted);
    font-size: 1.03rem;
}

/* Sección de Noticias */
.noticias {
    padding: 1.5rem 2rem;
    background: #f9f9f9;
    max-width: 1000px;
    margin: 2rem auto 0 auto;
}

.noticias h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-family: 'Garamond', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-style: italic;
}

.noticias-subtitulo {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.noticias-container {
    display: flex;
    justify-content: center;
    max-width: 350px;
    margin: 0 auto;
}

.noticia-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
}

.noticia-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.noticia-imagen {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.noticia-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2rem;
    transition: transform 0.3s;
}

.noticia-card:hover .noticia-imagen img {
    transform: scale(1.05);
}

.noticia-fecha {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color2);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.noticia-contenido {
    padding: 1.2rem;
}

.noticia-contenido h3 {
    font-family: 'Garamond', 'Georgia', 'Times New Roman', serif;
    font-size: 1.15rem;
    color: var(--accent-color);
    margin-bottom: 0.6rem;
    font-weight: 600;
    font-style: italic;
}

.noticia-contenido p {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 1rem;
    text-align: justify;
}

.btn-leer-mas {
    display: inline-block;
    color: var(--accent-color2);
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    position: relative;
}

.btn-leer-mas::after {
    content: ' →';
    transition: transform 0.3s;
    display: inline-block;
}

.btn-leer-mas:hover {
    color: var(--accent-color);
}

.btn-leer-mas:hover::after {
    transform: translateX(5px);
}

.btn-proximamente {
    display: inline-block;
    color: var(--accent-color);
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 600;
    font-size: 0.95rem;
    font-style: italic;
    padding: 0.3rem 0;
    opacity: 0.8;
    cursor: default;
}

/* Sección de Redes Sociales */
.redes-sociales {
    max-width: 1000px;
    margin: 2rem auto 0 auto;
    padding: 1.5rem 2rem;
    text-align: center;
}

.redes-sociales h2 {
    font-family: 'Garamond', Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    font-style: italic;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.redes-subtitulo {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
}

.redes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 750px;
    margin: 0 auto;
}

.widget-social {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.widget-social:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.widget-social h3 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.facebook-widget h3 {
    color: #1877f2;
}

.instagram-widget h3 {
    color: #E4405F;
}

.widget-social h3 i {
    font-size: 1.4rem;
}

.widget-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.widget-content iframe {
    border-radius: 8px;
}

.instagram-widget .widget-content {
    min-height: 300px;
}

.instagram-preview {
    width: 100%;
    max-width: 340px;
    text-align: center;
    padding: 2rem 1rem;
}

.btn-instagram {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    font-family: Georgia, serif;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(131, 58, 180, 0.3);
}

.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(131, 58, 180, 0.5);
}

.btn-instagram i {
    margin-right: 0.5rem;
}

/* Instagram Custom Feed */
.instagram-custom-feed {
    max-width: 340px;
    margin: 0 auto;
}

.instagram-header {
    padding: 1rem;
    background: linear-gradient(135deg, #f9f9f9, #fff);
    border-radius: 8px 8px 0 0;
    margin-bottom: 0.5rem;
}

.instagram-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.instagram-profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
    background: white;
    padding: 0.3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.instagram-info h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #262626;
    font-family: Georgia, serif;
}

.instagram-info p {
    margin: 0.2rem 0 0 0;
    font-size: 0.8rem;
    color: #8e8e8e;
    font-family: Georgia, serif;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-bottom: 1rem;
}

.instagram-item {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    position: relative;
}

.instagram-item i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
}

.instagram-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.instagram-item:hover i {
    color: white;
    font-size: 2.5rem;
}

.btn-instagram-follow {
    display: block;
    padding: 0.8rem;
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-family: Georgia, serif;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(131, 58, 180, 0.3);
}

.btn-instagram-follow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(131, 58, 180, 0.5);
}

.btn-instagram-follow i {
    margin-right: 0.5rem;
}

.instagram-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dbdbdb;
}

.instagram-profile-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram-profile-pic i {
    font-size: 2rem;
    color: white;
}

.instagram-info {
    flex: 1;
}

.instagram-info h4 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.1rem;
    margin: 0 0 0.3rem 0;
    color: #262626;
}

.instagram-info p {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 0.85rem;
    margin: 0;
    color: #8e8e8e;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.instagram-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.instagram-placeholder i {
    font-size: 1.5rem;
    color: #dbdbdb;
}

.instagram-placeholder:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-placeholder:hover i {
    color: white;
}

.btn-instagram-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-instagram-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(228, 64, 95, 0.4);
}

.snapwidget-widget {
    border-radius: 8px;
}

.instagram-feed {
    width: 100%;
    max-width: 340px;
    text-align: center;
    padding: 1.5rem;
}

.instagram-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.instagram-profile h4 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.2rem;
    color: #262626;
    margin: 0;
}

.instagram-profile p {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(228, 64, 95, 0.4);
}

/* Página de Detalle de Noticia */
.noticia-detalle {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.noticia-detalle-header {
    margin-bottom: 2rem;
    text-align: center;
}

.noticia-detalle-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.noticia-detalle-fecha i {
    margin-right: 0.5rem;
}

.noticia-detalle-categoria {
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.noticia-detalle-header h1 {
    font-family: 'Garamond', Georgia, 'Times New Roman', serif;
    font-size: 2.5rem;
    font-style: italic;
    color: var(--text-color);
    margin: 0;
    line-height: 1.3;
}

.noticia-detalle-imagen {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.noticia-detalle-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2rem;
}

.noticia-detalle-contenido {
    line-height: 1.8;
    color: var(--text-color);
}

.noticia-detalle-intro {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--accent-color);
    color: #555;
}

.noticia-detalle-contenido h2 {
    font-family: 'Garamond', Georgia, 'Times New Roman', serif;
    font-size: 1.8rem;
    font-style: italic;
    margin: 2rem 0 1rem 0;
    color: var(--accent-color);
}

.noticia-detalle-contenido p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.noticia-detalle-cita {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: #f9f9f9;
    border-left: 4px solid var(--accent-color);
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
}

.noticia-detalle-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-volver {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-volver:hover {
    background: var(--primary-color);
    transform: translateX(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.noticia-detalle-compartir {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.noticia-detalle-compartir span {
    font-weight: 500;
    color: #666;
}

.btn-compartir {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-compartir.facebook {
    background: #1877f2;
}

.btn-compartir.facebook:hover {
    background: #0d5dbf;
    transform: scale(1.1);
}

.btn-compartir.twitter {
    background: #1da1f2;
}

.btn-compartir.twitter:hover {
    background: #0d8bd9;
    transform: scale(1.1);
}

.btn-compartir.whatsapp {
    background: #25d366;
}

.btn-compartir.whatsapp:hover {
    background: #1eb855;
    transform: scale(1.1);
}

/* Galería */
.galeria-imagenes {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}

.galeria-imagenes img {
    width: 100%;
    max-width: 220px;
    height: auto;
    min-height: 140px;
    object-fit: cover;
    border-radius: var(--rounded-sm);
    box-shadow: 0 2px 8px rgba(60,40,20,0.10);
    border: 2px solid var(--accent-color2);
    background: var(--text-white);
}

/* Carrusel de Fotos */
.carrusel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.carrusel-imagenes {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.carrusel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carrusel-slide.activo {
    opacity: 1;
    z-index: 1;
}

.carrusel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carrusel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1.5rem;
    font-size: 1.1rem;
    text-align: center;
}

.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.carrusel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.carrusel-btn svg {
    width: 24px;
    height: 24px;
    color: var(--accent-color2);
}

.carrusel-btn-prev {
    left: 20px;
}

.carrusel-btn-next {
    right: 20px;
}

.carrusel-indicadores {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicador {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicador:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicador.activo {
    background: white;
    width: 14px;
    height: 14px;
}

/* Accordion (historiaProv.html) */
.acordeon {
    max-width: 600px;
    margin: 2rem auto;
}

.acordeon-item {
    border-bottom: 1px solid var(--accent-color3);
    border-radius: var(--rounded-sm);
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.acordeon-titulo {
    width: 100%;
    background: var(--accent-color2);
    color: var(--text-white);
    font-family: var(--font-family), serif;
    font-size: 0.95rem;
    padding: 0.6em 1em;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background 0.2s;
}

.acordeon-titulo.active,
.acordeon-titulo:hover {
    background: var(--accent-color);
}

.acordeon-contenido {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--accent-color4);
    color: var(--text);
    font-family: var(--font-family-sans), sans-serif;
    padding: 0 1em;
}

.acordeon-contenido.active {
    max-height: 1000px; /* Ajustado para más contenido */
    padding: 1em;
}

.acordeon-contenido h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.acordeon-contenido h4:first-child {
    margin-top: 0;
}

.acordeon-contenido p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Acordeon con Mapa (historiaProv.html) */
.acordeon-mapa {
    display: flex;
    flex-direction: column;
    margin: 32px 0;
    padding: 20px 32px;
    max-width: 100%;
    background: var(--accent-color4);
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
}

.acordeon-mapa h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--accent-color);
    font-family: 'Garamond', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

.acordeon-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.acordeon {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 600px;
}

.mapa-container {
    flex: 0 0 400px;
    position: sticky;
    top: 2rem;
    height: fit-content;
}

#mapa-historia {
    width: 100%;
    height: 500px;
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
    background: #e0e0e0;
}

.mapa-container iframe {
    width: 100%;
    height: 350px;
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
    border: none;
}

/* Figuras Franciscanas (espiritualidad.html) */
.figuras-franciscanas {
    margin: 3rem auto;
    max-width: 1200px;
    text-align: center;
    padding: 0 1rem;
}

.figuras-franciscanas h2 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}


.figura-card {
    background: var(--accent-color4);
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem 1rem 1.8rem 1rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.figura-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: center center;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 3px solid var(--accent-color2);
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.img-francisco {
    object-position: center 25% !important;
}

.img-clara {
    object-position: center 25% !important;
}

.img-serafina {
    object-position: center 80% !important;
}

.figura-card h3 {
    font-size: 1.1rem;
    color: var(--accent-color2);
    margin-bottom: 0.6rem;
}

.figura-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Botón Timeline y contenido desplegable */
.btn-timeline {
    margin-top: 1rem;
    padding: 0.55rem 1.1rem;
    background: var(--accent-color2);
    color: white;
    border: none;
    border-radius: var(--rounded-md);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-timeline:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-timeline.activo {
    background: var(--accent-color);
}

.timeline-contenido {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
}

.timeline-contenido.activo {
    max-height: 5000px;
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
}

.timeline-item {
    display: flex;
    gap: 0.6rem;
    padding: 0.5rem 0;
    border-left: 2px solid var(--accent-color2);
    padding-left: 0.7rem;
    margin-bottom: 0.6rem;
    position: relative;
    align-items: flex-start;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0.7rem;
    width: 8px;
    height: 8px;
    background: var(--accent-color2);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--accent-color4);
}

.timeline-fecha {
    min-width: 50px;
    font-weight: 700;
    color: var(--accent-color2);
    font-size: 0.7rem;
    text-align: left;
    flex-shrink: 0;
}

.timeline-texto {
    flex: 1;
    text-align: left;
}

.timeline-texto h4 {
    font-size: 0.78rem;
    color: var(--accent-color);
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.timeline-texto p {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.3;
    margin: 0;
}

/* Carisma y Advocaciones (espiritualidad.html) */
.carisma, .advocaciones {
    margin: 3rem auto;
    max-width: 900px;
    text-align: center;
    padding: 0 1rem;
}

.carisma h2, .advocaciones h2 {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.figuras-grid,
.carisma-grid,
.advocaciones-grid,
.gobierno-grid,
.oraciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.carisma-card, .advocaciones-card {
    background: var(--accent-color4);
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
    padding: 1.2rem 1rem 1.5rem 1rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carisma-card h3, .advocaciones-card h3 {
    font-size: 1.05rem;
    color: var(--accent-color2);
    margin-bottom: 0.5rem;
}

.carisma-card p, .advocaciones-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Sección Comunidades (cdad-colegios.html) */
.seccion-comunidades {
    display: grid;
    grid-template-columns: 1.6fr 1fr; /* Lista comunidades más ancha, mapa más angosto */
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--accent-color4);
    color: var(--text);
    font-family: var(--font-family-sans), sans-serif;
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
    margin: 2rem auto;
    max-width: 1100px;
}

.lista-comunidades {
    background: var(--text-white);
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
    overflow-y: auto;
    padding: 1rem;
    max-height: 80vh;
}

.lista-comunidades h2 {
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-size: 1.4rem;
    text-align: center;
    font-family: var(--font-family), serif;
}

.comunidad {
    padding: 1rem;
    border-bottom: 1px solid var(--accent-color3);
    transition: background 0.3s, transform 0.3s;
    border-radius: var(--rounded-sm);
    background: transparent;
}

.comunidad:hover {
    background-color: var(--accent-color4);
    transform: scale(1.02);
}

.comunidad h3 {
    color: var(--accent-color2);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    font-family: var(--font-family), serif;
}

.comunidad p {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-family: var(--font-family-sans), sans-serif;
}

.comunidad .galeria-imagenes {
    display: flex;
    gap: 6px;
    margin: 1rem 0;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.comunidad .galeria-imagenes img {
    width: 130px;
    height: 95px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--rounded-sm);
    box-shadow: 0 3px 10px rgba(60,40,20,0.2);
    border: 2px solid var(--accent-color2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.comunidad .galeria-imagenes img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(60,40,20,0.3);
}

/* Modal para imagen expandida */
.modal-imagen {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-imagen.activo {
    display: flex;
}

.modal-imagen img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--rounded-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-imagen .cerrar-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-imagen .cerrar-modal:hover {
    color: var(--accent-color2);
}

.comunidad .btn-ver {
    display: block;
    text-align: right;
    margin-left: auto;
    width: fit-content;
}


#mapa-argentina, #mapa-mundial {
    height: 60vh; /* Relativo al viewport, mejor que 500px fijo */
    max-height: 500px;
    width: 100%;
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
    margin: 0 auto;
    background: var(--text-white); /* Fallback para mapa */
    overflow: hidden;
}

.mapa-container iframe {
    height: 50vh;
    max-height: 350px;
    width: 100%;
}
/* ... (código anterior hasta .seccion-comunidades y #mapa-argentina) ... */

/* Gobierno Provincial (historiaProv.html) */
.gobierno-provincial {
    margin: 32px 0;
    padding: 20px 32px;
    max-width: 100%;
    text-align: center;
    background: var(--accent-color4);
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
}

.gobierno-provincial h2 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-family: 'Garamond', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

/* Carrusel de fotos del gobierno */
.gobierno-carrusel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: white;
}

.gobierno-carrusel-imagenes {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: white;
}

.gobierno-carrusel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gobierno-carrusel-slide.activo {
    opacity: 1;
    z-index: 1;
}

.gobierno-carrusel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.gobierno-carrusel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1.2rem;
    font-size: 1rem;
    text-align: center;
}

.gobierno-carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.gobierno-carrusel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.gobierno-carrusel-btn svg {
    width: 20px;
    height: 20px;
    color: var(--accent-color2);
}

.gobierno-btn-prev {
    left: 15px;
}

.gobierno-btn-next {
    right: 15px;
}

.gobierno-carrusel-indicadores {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.gobierno-indicador {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.gobierno-indicador:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.gobierno-indicador.activo {
    background: white;
    width: 12px;
    height: 12px;
}

/* Tarjetas de cargos */
.gobierno-superiora {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.gobierno-grid {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.cargo-card {
    background: var(--accent-color4);
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
    padding: 1.2rem 1rem;
    max-width: 220px;
    flex: 1 1 180px;
    text-align: center;
}

.cargo-card-compacta {
    padding: 0.8rem 0.9rem;
    max-width: 180px;
    flex: 1 1 150px;
}

.cargo-card h3 {
    font-size: 1.12rem;
    color: var(--accent-color2);
    margin-bottom: 0.7rem;
}

.cargo-card-compacta h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.cargo-card .nombre {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0;
    font-weight: 600;
}

.cargo-card-compacta .nombre {
    font-size: 0.95rem;
}

/* Tarjetas con foto */
.cargo-card-con-foto {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    max-width: 190px;
}

.cargo-foto {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 3px solid white;
    padding: 5px;
    background: white;
}

.cargo-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
    transition: transform 0.3s;
}

.cargo-card-con-foto:hover .cargo-foto img {
    transform: scale(1.05);
}

.cargo-card-con-foto h3 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    font-family: 'Garamond', Georgia, 'Times New Roman', serif;
    font-weight: 600;
}

.cargo-card-con-foto .nombre {
    font-size: 0.9rem;
    font-family: var(--font-family), serif;
    color: #4a4a4a;
    line-height: 1.7;
}

/* Ajuste específico para la foto de Vanesa */
.foto-vanesa {
    object-position: center 10% !important;
}

/* Timeline (historiaInst.html) */
.seccion-timeline {
    margin: 3rem auto;
    max-width: 800px;
}

.seccion-timeline h2 {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    text-align: center;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    background: var(--accent-color4);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-color);
    border-radius: var(--rounded-sm);
    box-shadow: var(--shadow);
    font-family: var(--font-family-sans), sans-serif;
}

.timeline-item h3 {
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    font-family: var(--font-family), serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.timeline-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

.timeline-item-oculto {
    display: none;
}

.timeline-item-oculto.mostrar {
    display: block;
}

/* Founder Section (historiaInst.html) */
.seccion-fundadora {
    margin: 3rem auto;
    max-width: 1000px;
    text-align: center;
}

.seccion-fundadora h2 {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.fundadora-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
    background: var(--accent-color4);
    padding: 2rem;
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
}

.fundadora-img {
    width: 100%;
    max-width: 300px;
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
    object-fit: cover;
}

.fundadora-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    font-family: var(--font-family-sans), sans-serif;
}

/* Prayers and Documents (oraciones-docs.html) */
.seccion-oraciones {
    margin: 3rem auto;
    max-width: 900px;
    text-align: center;
}

.seccion-oraciones h2 {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.oraciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.oracion-card {
    background: var(--accent-color4);
    padding: 1.5rem;
    border-left: 4px solid var(--accent-color2);
    border-radius: var(--rounded-sm);
    box-shadow: var(--shadow);
    text-align: left;
    font-family: var(--font-family-sans), sans-serif;
}

.oracion-card h3 {
    color: var(--accent-color2);
    margin-bottom: 0.5rem;
    font-family: var(--font-family), serif;
}

.oracion-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.seccion-documentos {
    margin: 3rem auto;
    max-width: 600px;
    text-align: center;
}

.seccion-documentos h2 {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.documentos-lista {
    list-style: none;
}

.documentos-lista li {
    margin-bottom: 1rem;
}

.documentos-lista a {
    display: block;
    padding: 1rem;
    background: var(--accent-color4);
    border: 1px solid var(--accent-color3);
    border-radius: var(--rounded-sm);
    color: var(--text);
    transition: background 0.3s;
    box-shadow: var(--shadow);
    font-family: var(--font-family-sans), sans-serif;
}

.documentos-lista a:hover {
    background: var(--accent-color2);
    color: var(--text-white);
}

/* Contact Form (contacto.html) */
.seccion-contacto {
    max-width: 600px;
    margin: 3rem auto;
    text-align: center;
}

.seccion-contacto h2 {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.form-contacto {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 410px;
    margin: 2rem auto;
    background: var(--text-white);
    padding: 2rem 1.3rem;
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
}

.form-contacto input,
.form-contacto textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.7em;
    margin-bottom: 1.1em;
    border: 1px solid var(--accent-color2);
    border-radius: var(--rounded-sm);
    font-size: 1rem;
    font-family: var(--font-family-sans), sans-serif;
    background: var(--accent-color4);
    color: var(--text);
}

/* Estilos para mensajes de estado del formulario */
.form-status {
    padding: 1rem;
    border-radius: var(--rounded-sm);
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.seccion-info-contacto {
    margin: 3rem auto;
    max-width: 800px;
    text-align: center;
}

.seccion-info-contacto h2 {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-item {
    background: var(--accent-color4);
    padding: 1.5rem;
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
    text-align: left;
}

.info-item h3 {
    color: var(--accent-color2);
    margin-bottom: 1rem;
    font-family: var(--font-family), serif;
}

.info-item p,
.rrss-contacto a {
    color: var(--text-muted);
    font-family: var(--font-family-sans), sans-serif;
}

.rrss-contacto {
    list-style: none;
    margin-top: 1rem;
}

.rrss-contacto li {
    margin-bottom: 0.5rem;
}

.rrss-contacto a {
    color: var(--accent-color2);
    text-decoration: none;
    transition: color 0.3s;
}

.rrss-contacto a:hover {
    color: var(--accent-color);
}

/* Sección Presencia Mundial (mundo.html) */
.seccion-presencia {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--accent-color4);
    color: var(--text);
    font-family: var(--font-family-sans), sans-serif;
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
    margin: 2rem auto;
    max-width: 900px;
}

.seccion-presencia h2 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    font-family: var(--font-family), serif;
}

.seccion-presencia p {
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    font-size: 1rem;
    color: var(--text-muted);
}



/* Footer */
footer {
    background: var(--accent-color);
    color: var(--text-white);
    padding: 2rem 0 0.8rem 0;
    text-align: center;
    font-family: var(--font-family-sans), sans-serif;
    box-shadow: var(--shadow);
    margin-top: 4rem;
}

.links-footer {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex-wrap: wrap;
    justify-content: space-around;
}

.footer-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.logo-footer {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: white;
    padding: 8px;
    object-fit: contain;
}

.nav-links-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0;
    text-align: left;
}

.nav-links-footer a {
    color: var(--text-white);
    font-weight: 400;
    font-size: 0.8rem;
    transition: color 0.3s;
}

.nav-links-footer a:hover {
    color: var(--accent-color3);
}

.rrss-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.rrss-nav h4 {
    color: var(--text-white);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 600;
}

.rrss {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 0;
}

.rrss a {
    color: var(--text-white);
    font-size: 1.5rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.rrss a:hover {
    color: var(--accent-color3);
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    padding: 1.5rem 2rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Formularios Generales */
form {
    max-width: 410px;
    margin: 2rem auto;
    background: var(--text-white);
    padding: 2rem 1.3rem;
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
}

form input, 
form textarea {
    width: 100%;
    padding: 0.7em;
    margin-bottom: 1.1em;
    border: 1px solid var(--accent-color2);
    border-radius: var(--rounded-sm);
    font-size: 1rem;
    font-family: var(--font-family-sans), sans-serif;
    background: var(--accent-color4);
    color: var(--text);
}

form input[type="submit"] {
    background: var(--accent-color2);
    color: var(--text-white);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

form input[type="submit"]:hover {
    background: var(--accent-color3);
    color: var(--text);
}

/* Leaflet Map Overrides */
.leaflet-container {
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
}

/* Animations (Suaves y Formales) */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    animation: fadeIn 0.6s ease-out;
}

/* Transiciones Generales */
* {
    transition: all 0.3s ease; /* Añadido para hovers suaves en elementos como .comunidad */
}
/* Acorde�n de Oraciones */
.seccion-oraciones {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.oraciones-contenedor {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.oracion-item {
    background: transparent;
    border-radius: var(--rounded-lg);
    box-shadow: none;
    overflow: hidden;
    border: none;
    margin-bottom: 1rem;
}

.oracion-titulo {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: var(--accent-color4);
    border: none;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', serif;
    letter-spacing: 0.5px;
    color: var(--accent-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.oracion-titulo:hover {
    background: #f0ece2;
}

.oracion-titulo::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-color2);
    transition: transform 0.3s ease;
}

.oracion-titulo.activo::after {
    content: '−';
    transform: rotate(180deg);
}

.oracion-texto {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 1rem;
    text-align: center;
    background: transparent;
}

.oracion-texto.activo {
    max-height: 3000px;
    padding: 1rem 1rem 1.2rem 1rem;
    background: transparent;
}

.oracion-texto p {
    font-size: 0.8rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', serif;
}

.oracion-texto p:last-child {
    margin-bottom: 0;
}

.oracion-italica {
    font-style: italic;
    text-align: center !important;
}

.oracion-versiculo {
    margin-top: 1rem;
    text-align: center;
}

.oracion-versiculo p {
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
    text-align: center;
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, 'Times New Roman', serif;
}

.oracion-versiculo strong {
    color: var(--accent-color2);
    font-weight: 700;
    margin-right: 0.3rem;
}
/* Galería de Fotos Históricas */
.fotos-historicas {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--accent-color4);
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
}

.fotos-historicas h2 {
    font-family: var(--font-family), serif;
    font-size: 2rem;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

.carrusel-historico {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--rounded-lg);
    background: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carrusel-historico-imagenes {
    position: relative;
    width: 100%;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    overflow: hidden;
}

.carrusel-historico-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.carrusel-historico-slide.activo {
    opacity: 1;
    z-index: 1;
}

.carrusel-historico-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Botones de navegación */
.carrusel-btn-prev-hist,
.carrusel-btn-next-hist {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--accent-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.carrusel-btn-prev-hist {
    left: 20px;
}

.carrusel-btn-next-hist {
    right: 20px;
}

.carrusel-btn-prev-hist:hover,
.carrusel-btn-next-hist:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

.carrusel-btn-prev-hist:hover svg,
.carrusel-btn-next-hist:hover svg {
    stroke: white;
}

.carrusel-btn-prev-hist svg,
.carrusel-btn-next-hist svg {
    width: 26px;
    height: 26px;
    stroke: var(--accent-color);
    transition: stroke 0.3s ease;
}

/* Indicadores */
.carrusel-historico-indicadores {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.indicador-hist {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicador-hist:hover {
    transform: scale(1.2);
    background: var(--accent-color2);
}

.indicador-hist.activo {
    background: var(--accent-color);
    width: 14px;
    height: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .carrusel-historico-imagenes {
        height: 380px;
    }
    
    .carrusel-historico-slide {
        padding: 0;
    }
    
    .carrusel-btn-prev-hist,
    .carrusel-btn-next-hist {
        width: 40px;
        height: 40px;
    }
    
    .carrusel-btn-prev-hist {
        left: 10px;
    }
    
    .carrusel-btn-next-hist {
        right: 10px;
    }
    
    .carrusel-btn-prev-hist svg,
    .carrusel-btn-next-hist svg {
        width: 22px;
        height: 22px;
    }
    
    .indicador-hist {
        width: 10px;
        height: 10px;
    }
    
    .indicador-hist.activo {
        width: 12px;
        height: 12px;
    }
}

/* Sección Países por Continente */
.paises-por-continente {
    margin-top: 4rem;
    padding: 2.5rem;
    background: linear-gradient(to bottom, transparent, rgba(75, 54, 33, 0.05));
    border-radius: 12px;
}

.paises-por-continente h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.continentes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.continente-card {
    background: var(--accent-color4);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.continente-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.continente-card h4 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.2rem;
    font-weight: 600;
    text-align: center;
    border-bottom: 2px solid var(--accent-color2);
    padding-bottom: 0.8rem;
}

.continente-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.continente-card li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: color 0.2s ease;
}

.continente-card li:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .paises-por-continente {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .paises-por-continente h3 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .continentes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .continente-card {
        padding: 1.5rem;
    }

    .continente-card h4 {
        font-size: 1.3rem;
    }

    .continente-card li {
        font-size: 1rem;
    }
}

/* Carrusel Comunidades y Laicos */
.fotos-comunidades-laicos {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--accent-color4);
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow);
}

.fotos-comunidades-laicos h2 {
    font-family: var(--font-family), serif;
    font-size: 2rem;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

.carrusel-colegios {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--rounded-lg);
    background: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carrusel-colegios-imagenes {
    position: relative;
    width: 100%;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    overflow: hidden;
}

.carrusel-colegios-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.carrusel-colegios-slide.activo {
    opacity: 1;
    z-index: 1;
}

.carrusel-colegios-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

.carrusel-btn-prev-colegios,
.carrusel-btn-next-colegios {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--accent-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.carrusel-btn-prev-colegios {
    left: 20px;
}

.carrusel-btn-next-colegios {
    right: 20px;
}

.carrusel-btn-prev-colegios:hover,
.carrusel-btn-next-colegios:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

.carrusel-btn-prev-colegios:hover svg,
.carrusel-btn-next-colegios:hover svg {
    stroke: white;
}

.carrusel-btn-prev-colegios svg,
.carrusel-btn-next-colegios svg {
    width: 26px;
    height: 26px;
    stroke: var(--accent-color);
    transition: stroke 0.3s ease;
}

.carrusel-colegios-indicadores {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.indicador-colegios {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.indicador-colegios:hover {
    transform: scale(1.2);
    background: var(--accent-color2);
}

.indicador-colegios.activo {
    background: var(--accent-color);
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .carrusel-colegios-imagenes {
        height: 380px;
    }
    
    .carrusel-colegios-slide {
        padding: 0;
    }
    
    .carrusel-btn-prev-colegios,
    .carrusel-btn-next-colegios {
        width: 40px;
        height: 40px;
    }
    
    .carrusel-btn-prev-colegios {
        left: 10px;
    }
    
    .carrusel-btn-next-colegios {
        right: 10px;
    }
    
    .carrusel-btn-prev-colegios svg,
    .carrusel-btn-next-colegios svg {
        width: 22px;
        height: 22px;
    }
    
    .indicador-colegios {
        width: 10px;
        height: 10px;
    }
    
    .indicador-colegios.activo {
        width: 12px;
        height: 12px;
    }
}

/* Responsive para Hero (páginas internas) */
@media (max-width: 768px) {
    #hero {
        height: 350px;
    }
    
    .hero-texto {
        padding: 30px 20px;
        margin: 0 15px;
        border-radius: 12px;
    }
    
    .hero-titulo {
        font-size: 2rem;
    }
    
    .hero-descripcion {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    #hero {
        height: 280px;
    }
    
    #hero::before {
        background: linear-gradient(
            135deg,
            rgba(75, 54, 33, 0.92) 0%,
            rgba(75, 54, 33, 0.85) 50%,
            rgba(75, 54, 33, 0.92) 100%
        );
    }
    
    .hero-texto {
        padding: 20px 15px;
        margin: 0 10px;
        background: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(6px);
    }
    
    .hero-titulo {
        font-size: 1.5rem;
        margin-bottom: 0.7rem;
    }
    
    .hero-descripcion {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}
