/* --- VARIABLES Y RESET --- */
:root {
    --primary-color: #fbd490; /* Naranja/Crema del header */
    --text-dark: #0e0a0a;
    --text-light: #ffffff;
    --bg-gray: #e6e6e6;
    --font-main: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: #fff;
    background-image: url('./img/patron-fondo-tile.png');
    background-repeat: repeat;
    background-size: 252px 252px;
}

/* --- TIPOGRAFÍA Y BOTONES --- */
h2 {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.section-header p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

button {
    cursor: pointer;
    border: none;
    border-radius: 20px;
    padding: 10px 25px;
    font-weight: bold;
    font-family: var(--font-main);
}

.btn-light {
    background: rgba(255, 255, 255, 0.9);
    color: rgba(57, 57, 57, 0.9);
    font-size: 1.0rem;
    padding: 10px 40px;
}

.badge-pilll {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 12px 60px;
    border-radius: 30px;
    font-size: 1.3rem;
    font-weight: 800;
    color:  rgba(57, 57, 57, 0.9);
    display: inline-block;
    margin-bottom: 30px;


}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--text-dark);       /* ← la línea que faltaba */
    font-size: 1.1rem;
    padding: 12px 30px;
    margin-top: 2rem;
}

.btn-container { text-align: center; }

/* --- HEADER --- */
.navbar {
    background-color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 45px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 1600px;
    margin: 0 auto;
}

.navbar .logo img { height: 110px; }

.navbar nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar nav li {
    position: relative;
}

.navbar nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 1000;
    font-size: 1.1rem;

    padding: 10px 20px;
    border-radius: 8px;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

/* EFECTO HOVER */
.navbar nav a:hover {
    background-color: rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

/* PESTAÑA ACTIVA */
.navbar nav a.active {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

/* BARRA AZUL ABAJO */
.navbar nav a.active::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: -8px;

    width: 100%;
    height: 3px;

    background-color: #4285f4;
    border-radius: 5px;
}

/* --- HERO --- */
.hero {
    padding: 40px;
    display: flex;
    justify-content: center;
}

.hero-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    border-radius: 20px;
    overflow: hidden;
}

/* --- ESTILOS DEL CARRUSEL --- */
.hero-slider {
    width: 100%;
    height: 500px; 
    position: relative;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; 
    transition: opacity 0.8s ease-in-out; 
    z-index: 1;
}

.hero-img.active {
    opacity: 1; 
    z-index: 2;
}


.hero-content, .carousel-dots {
    position: absolute;
    z-index: 3;
}

.carousel-dots {
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    cursor: pointer;
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    transition: background 0.3s ease;
}

.dot.active {
    background: white;
}

.hero-content {
    position: absolute;
    top: 20%;
    left: 10%;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.1;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
}
.dot.active { background: white; }

/* --- CARACTERÍSTICAS Y LUGARES --- */
.features {
    padding: 60px 20px;
    background: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.feature-item img { height: 40px; margin-bottom: 10px; }

.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.location-card img, .bodega-box {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
    margin: 15px 0;
}

.bodega-box {
    background-color: #5a1827; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.bodega-box img {
    height: 100px;
    width: auto;
}

.location-card a {
    color: var(--text-dark);
    font-weight: bold;
}

/* --- NOTICIAS --- */
.news {
    padding: 40px 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.news-card {
    background-color: var(--bg-gray);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}

.news-card h4 { margin-bottom: 15px; font-size: 1.1rem; }
.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* --- GALERÍA --- */
.gallery {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
}

/* Hover elegante */
.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

/* MODAL */

.galeria-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;

    background: rgba(0,0,0,0.95);

    justify-content: center;
    align-items: center;
}

.galeria-modal img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 10px;
    object-fit: contain;
}

/* Botón cerrar */
.cerrar {
    position: absolute;
    top: 20px;
    right: 35px;

    color: white;
    font-size: 45px;
    cursor: pointer;
}

/* Flechas */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    color: white;
    font-size: 60px;

    cursor: pointer;
    user-select: none;

    padding: 20px;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}


/* --- FOOTER --- */
.site-footer {
    background-color: #000;
    color: var(--text-light);

    margin-top: 120px;

    position: relative;

    padding-top: 40px;
}

.site-footer::before {
    content: "";

    position: absolute;

    top: -70px;
    left: 0;

    width: 100%;
    height: 70px;

    background-image: url('./img/silueta.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: top center;

    z-index: 2;
}


.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 100px;
    align-items: center;
    padding: 20px 50px 30px;
    font-size: 0.8rem;
}

.footer-left { display: flex; flex-direction: column; gap: 20px; }
.footer-logo { width: 110px; }
.footer-links { display: flex; gap: 40px; }
.footer-links .col { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}
.footer-center {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 30px;
    align-items: center;
    text-align: center;
    gap: 10px;
}
.footer-center a { color: var(--text-light); }

.footer-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.gob-logos img { height: 40px; margin-top: 10px;}

/* --- RESPONSIVE BASICO --- */
@media (max-width: 900px) {
    .features-grid, .locations-grid, .news-grid, .gallery-grid, .footer-content {
        grid-template-columns: 1fr;
    }
    .navbar { flex-direction: column; gap: 15px; }
}

/* --- FOOTER MOBILE --- */
@media (max-width: 768px) {

    .site-footer {
        margin-top: 80px;
    }

    .footer-mountains {
        height: 60px;
        top: -59px;
        background-size: cover;
    }

    .footer-content {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 35px;
        text-align: center;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        align-items: center;
        text-align: center;
    }

    .footer-right {
        gap: 8px;
    }

    .footer-links {
        justify-content: center;
        gap: 25px;
    }

    .footer-links .col {
        align-items: center;
    }

    .footer-logo {
        width: 100px;
    }

    .social-icons {
        justify-content: center;
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }

    .footer-content p,
    .footer-content a {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .gob-logos img {
        height: 30px;
    }
}



/* =========================================
   PÁGINA: INFORMACIÓN
   ========================================= */

/* Hero Información */
.info-hero img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* Teléfonos Útiles */
.telefonos-section {
    padding: 40px 20px;
}

.badge-container {
    text-align: center;
    margin: 30px 0 50px 0;
    padding: 0 15px;
}

.badge-title {
    display: inline-block;
    background-color: var(--primary-color);
    padding: 10px 40px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.4;
    max-width: 100%;
}

@media (max-width: 600px) {
    .badge-title {
        font-size: 1rem;
        padding: 10px 22px;
        border-radius: 22px;
    }
}

.telefonos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px;
    max-width: 1000px;
    margin: 0 auto 60px;
    text-align: center;
}

.tel-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.tel-item p {
    font-size: 0.9rem;
    margin-bottom: 3px;
    line-height: 1.4;
}

/* Rutas */
.rutas-section {
    padding: 20px;
}

.rutas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr; 
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px;
    align-items: center;
}

.rutas-col-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ruta-img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.ruta-img.shadow {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Preguntas Frecuentes */
.faq-header-title h2 {
    text-align: center;
    margin: 20px 0;
}

.faq-banner {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    margin-bottom: 80px;
    margin-top: 20px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 80px;
    text-align: center;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive para Información */
@media (max-width: 900px) {
    .telefonos-grid, .faq-grid {
        grid-template-columns: 1fr 1fr;
    }
    .rutas-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .telefonos-grid, .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   PÁGINA: HISTORIA
   ========================================= */


/* Banner de Historia */
.historia-hero img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* Contenedor Principal (Grid de 2 columnas) */
.historia-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr; 
    gap: 40px;
    max-width: 1100px;
    margin: 50px auto 80px;
    padding: 0 20px;
}

/* Columna Izquierda: Texto */
.historia-text-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.badge-pill {
    background-color: var(--primary-color);
    padding: 12px 60px;
    border-radius: 30px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    display: inline-block;
    margin-bottom: 30px;
    text-decoration: none;
    text-shadow: none;
}

.historia-parrafos {
    text-align: center;
    margin-bottom: 40px;
}

.historia-parrafos p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-regresar {
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
}

/* Columna Derecha: Imágenes */
.historia-img-col {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}

.historia-img-col img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.historia-img-col img:hover {
    transform: scale(1.02);
}

/* Modal pantalla completa */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    inset: 0;
    background: rgba(0,0,0,0.9);

    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
}

/* Responsive para Historia */
@media (max-width: 900px) {
    .historia-container {
        grid-template-columns: 1fr;
    }
    
    .historia-img-col {
        flex-direction: row;
        overflow-x: auto; 
    }
    
    .historia-img-col img {
        height: 200px;
        flex: 0 0 100%; 
    }
}


/* ==========================================
   DOCUMENTOS HISTÓRICOS
   ========================================== */

.historia-documentos {
    width: min(1100px, 92%);
    margin: 30px auto 80px;
}

.historia-documentos-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 35px;
}

.historia-documentos-etiqueta {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    background: rgb(112 111 111 / 0.12);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.historia-documentos-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #292929;
    margin-bottom: 14px;
}

.historia-documentos-header p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

/* TARJETAS */

.historia-documentos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.historia-documento-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;

    padding: 30px;
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(80, 80, 80, 0.15);

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.historia-documento-tipo {
    font-size: 0.78rem;
    font-weight: 700;
    color: #73552d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.historia-documento-card h3 {
    font-size: 1.3rem;
    color: #242424;
    line-height: 1.4;
    margin: 0;
}

.historia-documento-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 12px;
}

/* BOTONES */

.historia-documento-btn {
    display: inline-block;
    margin-top: auto;
    padding: 11px 24px;

    background: rgb(112 111 111 / 0.22);
    color: #000;

    border: 1px solid rgba(80, 80, 80, 0.15);
    border-radius: 20px;

    font-family: var(--font-main, sans-serif);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;

    transition: background-color 0.3s ease;
}

.historia-documento-btn:hover {
    background: rgb(112 111 111 / 0.32);
}

.historia-documento-btn:focus-visible {
    outline: 3px solid #73552d;
    outline-offset: 3px;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    .historia-documentos {
        margin: 25px auto 55px;
    }

    .historia-documentos-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .historia-documento-card {
        padding: 24px;
    }

    .historia-documento-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}


/* =========================================
   PÁGINA: ARTESANÍAS
   ========================================= */

.artesania-main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Carrusel de Productores */
.productores-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    width: 100%;
}

.carousel-btn {
    background-color: #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    padding: 0;
}

.productores-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 10px;

    flex: 1;
    min-width: 0;

    scroll-behavior: smooth;
    scrollbar-width: none;

    cursor: grab;
    user-select: none;
}
.productores-track::-webkit-scrollbar {
    display: none; 
}
.productor-item {
    flex: 0 0 auto;
}
.productor-item img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    display: block;

    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #fff;
    pointer-events: none;

}

/* FLECHAS */

.productores-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 40px;
    height: 40px;

    border-radius: 50%;
    border: 1px solid rgba(80,80,80,0.15);

    background-color: rgb(112 111 111 / 0.22);
    color: #333;

    font-size: 22px;
    cursor: pointer;

    transition: background-color 0.3s ease;
}

.productores-arrow:hover {
    background-color: rgb(112 111 111 / 0.32);
}

.productores-arrow:disabled {
    opacity: 0.25;
    cursor: default;
}

.productores-arrow:focus-visible {
    outline: 3px solid #73552d;
    outline-offset: 3px;
}

/* CELULARES */

@media (max-width: 768px) {

    .productores-arrow {
        display: none;
    }

    .productores-carousel {
        gap: 0;
    }

    .productores-track {

        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;    }

}

/* Grilla de Productos */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.producto-card {
    background-color: #ffffff; 
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); 
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.producto-card:hover {
    transform: translateY(-5px); 
}

.producto-img-box {
    width: 100%;
    height: 220px;
    background-color: #f8f8f8; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.producto-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.producto-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.producto-origen {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 5px;
    font-weight: 700;
}

.producto-origen strong {
    color: #0e0a0a;
}

.producto-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.producto-desc {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1; 
}

.producto-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.producto-precio {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.logo-cultura {
    filter: invert(1);
}

/* Responsive */
@media (max-width: 768px) {
    .productor-item img {
        width: 90px;
        height: 90px;

    }
    
    .productos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

/* =========================================
   PÁGINA: TURISMO
   ========================================= */

.turismo-main {
    padding-bottom: 60px;
}

/* Banners divisores (ocupan el 100% del ancho) */
.turismo-banner {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    margin-bottom: 40px;
}

.turismo-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

/* Grillas */
.turismo-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.turismo-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.align-start {
    align-items: start;
}

/* Tarjetas de información para legibilidad */
.info-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.center-text {
    text-align: center;
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.info-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #444;
    margin-bottom: 5px;
}

.info-card p.horarios {
    margin-top: 10px;
    font-size: 0.85rem;
    font-style: italic;
    color: #666;
}

/* Columnas para Agencias/Bodegas */
.list-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Tarjeta especial para foto y texto en Agencias */
.cta-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.cta-card p {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.4;
}

.cta-card img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .turismo-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .turismo-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .turismo-banner {
        height: 200px; /* Banners más bajos en celulares */
    }
}

@media (max-width: 480px) {
    .turismo-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   PÁGINA: Comunidad
   ========================================= */

/* ── Misión y Visión ── */
.mision-vision {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 120px;
    margin-top: 20px;
    text-align: center;
}
.mision-vision div {
    flex: 1;
    max-width: 400px;
}
.mision-vision h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* ── Organigrama ── */
.organigrama-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ── Autoridades ── */
.autoridades-container {
    position: relative;
    padding: 40px 0;
    max-width: 1000px;
    margin: 0 auto;
}
.autoridades-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 2;
}
.autoridades-grid img {
    width: 22%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgb(0 0 0);
}

/* ── Constitución ── */
.constitucion p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 600;
    line-height: 1.6;
}
.constitucion-img {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    display: block;
}
.botones-container {
    display: flex;
    justify-content: center;
    gap: 150px; /* Separación amplia como en la imagen */
    margin-top: 40px;
}
.btn {
    background-color: #fbd490;
    border: none;
    padding: 12px 50px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    color: #000;
    transition: background-color 0.3s;
}
.btn:hover {
    background-color: #f5c874;
}

/* ── Museo ── */

.logo-museo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin: 20px auto;
}
.museo-text {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
    line-height: 1.7;
}
.museo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 80px;
}
.museo-grid img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .autoridades-grid { flex-wrap: wrap; justify-content: center; }
    .autoridades-grid img { width: 45%; }
    .museo-grid { grid-template-columns: repeat(2, 1fr); }
    .botones-container { gap: 50px; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .navbar nav {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: rgba(255, 255, 255, 0.97);
        z-index: 1000;
        align-items: center;
        justify-content: center;
    }
    .navbar nav.open { display: flex; }
    .navbar nav ul { flex-direction: column; text-align: center; }
    .mision-vision, .faq-grid, .botones-container { flex-direction: column; align-items: center; gap: 30px; }
    .autoridades-line { display: none; }
}

.btn-ver {
    display: inline-block;
    background-color: rgb(112 111 111 / 0.22);
    color: #000;

    padding: 10px 25px;
    border-radius: 20px;
    border: 1px solid rgb(80 80 80 / 0.15);

    font-weight: bold;
    font-family: var(--font-main);
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;

    transition: background-color 0.3s ease,
    border-color 0.3s ease;
}

.btn-ver:hover {
    background-color: rgb(112 111 111 / 0.32);
    border-color: rgb(80 80 80 / 0.30);
}

.btn-ver:focus-visible {
    outline: 3px solid #73552d;
    outline-offset: 3px;
}
/* =========================================
   PÁGINA: CONTACTO
   ========================================= */

.contacto-main {
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto 80px;
}

/* Grilla principal */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

/* --- Columna Formulario --- */
.contacto-form-col h2 {
    text-align: left;
    font-size: 1.4rem;
    margin-bottom: 40px;
    font-weight: 500;
}

.form-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.form-group label {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: #e0e0e0; 
    border: 2px solid transparent;
    border-radius: 8px; 
    padding: 15px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: vertical;
}

/* Efecto focus al escribir */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #f5f5f5;
}

.form-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn-enviar {
    cursor: pointer;
    border: none;
    padding: 12px 70px; 
}

/* --- Columna Información (Gris) --- */
.contacto-info-col {
    background-color: #dcdcdc; 
    padding: 40px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-logo {
    height: 100px;
    margin-bottom: 30px;
}

.info-bloque {
    margin-bottom: 25px;
}

.info-bloque h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-bloque p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #333;
}

.horarios-bloque h4 {
    margin-bottom: 10px;
}

/* Redes Sociales */
.redes-sociales {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.redes-sociales a {
    color: var(--text-dark);
    transition: color 0.3s;
}

.redes-sociales a:hover {
    color: #555; 
}

/* Responsive */
@media (max-width: 900px) {
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contacto-form-col h2 {
        text-align: center;
    }

}

.site-footer-mini {
    background-color: #000;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
}
.site-footer-mini a { color: #fff; }

.form-consent {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin-top: 15px;
    line-height: 1.5;
}
.form-consent a {
    color: #8b6f47;
    font-weight: 600;
    text-decoration: underline;
}

/* ── Radio Player Flotante ── */
.radio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fbd490; /* Tu color principal */
    box-shadow: 0 -4px 10px rgba(0,0,0,0.15);
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 9999;
    font-family: 'Montserrat', sans-serif;
}

.radio-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.radio-badge {
    background-color: #d32f2f;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

.radio-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111;
}

.radio-player audio {
    height: 40px;
    outline: none;
    border-radius: 20px;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* ── Responsive del Reproductor ── */
@media (max-width: 600px) {
    .radio-player {
        flex-direction: column;
        gap: 8px;
        padding: 10px;
    }
    .radio-title {
        font-size: 0.85rem;
    }
    .radio-player audio {
        width: 100%;
        max-width: 300px;
    }
}

/* Ocultar los enlaces de "Shoutcast Hosting" que aparecen por defecto */
.cstrEmbed a {
    display: none !important;
}

/* ── Banner de cookies ── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.92);
    color: #fff;
    padding: 16px 24px;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 10001;
    font-size: 0.9rem;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.25);
    font-family: var(--font-main);
}
.cookie-banner.show { display: flex; }
.cookie-banner-text { max-width: 720px; line-height: 1.5; }
.cookie-banner a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
}
.cookie-banner button {
    background: var(--primary-color);
    color: #000;
    border: none;
    padding: 10px 26px;
    border-radius: 22px;
    font-weight: 700;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}
.cookie-banner button:hover { background: #f5c874; }
@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 15px 18px;
        gap: 12px;
    }
    .cookie-banner button { width: 100%; }
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25d366;
    color: #fff;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #1ebe5b;
    transform: translateY(-2px);
}

.whatsapp-flotante {
    position: fixed;
    right: 20px;
    bottom: 90px;
    z-index: 9000;
}

@media (max-width: 600px) {
    .whatsapp-flotante {
        bottom: 130px;
        right: 14px;
    }

    .btn-whatsapp {
        width: 52px;
        height: 52px;
        padding: 0;
        gap: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .btn-whatsapp svg {
        width: 28px;
        height: 28px;
    }

    .btn-whatsapp-texto {
        display: none;
    }
}