/* Reset y variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --bg-light: #f8f8f8;
    --white: #fff;
    --transition: all 0.3s ease;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --content-padding: 40px;
    --content-padding-mobile: 20px; 
    --margin-minimum: 15px; /* Nueva variable para mÃ¡rgenes mÃ­nimos */
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    font-weight: 400;
    overflow-x: hidden;

}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Container - SIN padding lateral */
.container {
    width: 100%;
    /* padding eliminado completamente */
}

/* Header - Solo para elementos internos que necesiten separaciÃ³n */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    height: 80px;
    transition: var(--transition);
}

.header-scrolled {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 var(--content-padding);
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-light);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section - Pantalla completa sin mÃ¡rgenes */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    margin-top: 80px;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(transparent 30%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.8) 100%);
}

.hero-text {
    color: var(--white);
    padding: 60px var(--content-padding);
    width: 100%;
}

.hero-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8), 
                 0 0 30px rgba(0,0,0,0.7),
                 0 0 60px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 30px ;
    font-weight: 400;
    margin-bottom: 16px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.9),
                 0 0 20px rgba(0,0,0,0.7);
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 600px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.9),
                 0 0 15px rgba(0,0,0,0.6);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: var(--white);
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-1px);
}

/* Sections - SIN padding lateral */
.section {
    padding: 80px 0;
    /* padding lateral eliminado */
}

.section-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 48px;
    padding: 0 var(--content-padding);
    gap: 16px;
    flex-wrap: nowrap;  /* â† AÃ‘ADIR ESTA LÃNEA */
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.section-separator {
    font-size: 32px;
    font-weight: 300;
    color: var(--text-light);
}

.section-link {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-color);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    letter-spacing: -0.02em;
}

.section-link:hover {
    color: var(--text-light);
    border-bottom-color: var(--text-light);
}

/* =====================
   CARRUSEL MODIFICADO - 3 OBRAS Y GAP 15PX
   ===================== */

/* Carousel - SIN padding lateral en container */
.carousel {
    position: relative;
}

.carousel-container {
    display: flex;
    gap: 30px; /* MODIFICADO: Cambiado de 24px a 15px */
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 var(--content-padding) 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 280px;
}

/* Carrusel de artistas - 4 columnas */
.carousel-artistas .carousel-item-artist {
    flex: 0 0 calc(25% - 11.25px); /* MODIFICADO: Ajustado solo para el nuevo gap de 15px */
    min-width: 200px;
}

@media (max-width: 1024px) {
    .carousel-artistas .carousel-item-artist {
        flex: 0 0 calc(33.333% - 10px); /* MODIFICADO: Ajustado solo para el nuevo gap de 15px */
        min-width: 180px;
    }
    
    /* Exposiciones en tablet siguen con 2 columnas */
    .carousel-item {
        flex: 0 0 calc(50% - 7.5px);
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .carousel-artistas .carousel-item-artist {
        flex: 0 0 calc(50% - 7.5px); /* MODIFICADO: Ajustado solo para el nuevo gap de 15px */
        min-width: 160px;
    }
    
    /* Exposiciones en mÃ³vil siguen con 1 columna */
    .carousel-item {
        flex: 0 0 calc(100% - 0px);
        min-width: 250px;
    }
}

/* Carrusel de obras - SOLO ESTE CAMBIA A 3 COLUMNAS */
.carousel-item-obra {
    flex: 0 0 calc(33.333% - 10px) !important; /* MODIFICADO: Solo las obras cambian a 3 columnas */
    min-width: 200px;
}

@media (max-width: 1024px) {
    .carousel-item-obra {
        flex: 0 0 calc(50% - 7.5px) !important; /* En tablet: 2 obras */
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .carousel-item-obra {
        flex: 0 0 calc(100% - 0px) !important; /* En mÃ³vil: 1 obra */
        min-width: 250px;
    }
}

.item-link {
    display: block;
    transition: var(--transition);
}

.item-link:hover {
    transform: translateY(-4px);
}

.item-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--bg-light);
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.item-link:hover .item-image img {
    transform: scale(1.02);
}

.item-content {
    padding: 0 4px;
}

.item-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.3;
}

.item-subtitle {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.4;
}

/* Carousel Controls */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid var(--border-color);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.carousel-prev {
    left: calc(var(--content-padding) - 24px);
}

.carousel-next {
    right: calc(var(--content-padding) - 24px);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.05);
}

/* Estados deshabilitados - quedan visibles pero sin acciÃ³n */
.carousel-prev.disabled,
.carousel-next.disabled {
    opacity: 0.4;
    cursor: default;
}

.carousel-prev.disabled:hover,
.carousel-next.disabled:hover {
    background: var(--white);
    color: var(--text-color);
    transform: translateY(-50%);
    opacity: 0.4;
}

/* Newsletter */
.newsletter-section {
    background: var(--bg-light);
    padding: 80px var(--content-padding);
    text-align: center;
}

.newsletter-content {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.newsletter-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* Language Selector */
.language-selector {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.lang-btn {
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
    position: relative;
    z-index: 1;
}

.lang-btn:hover {
    background: var(--bg-light);
}

.lang-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    font-size: 15px;
    background: var(--white);
    transition: var(--transition);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px var(--content-padding) 40px;
}


.footer-logo img {
    filter: invert(1);
    margin-bottom: 16px;
	    height: 40px;
    width: auto;
}
.footer-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 48px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-section {
    text-align: left;
}

.footer-section:nth-child(2) {
    text-align: center;
}

.footer-section:nth-child(3) {
    text-align: right;
}

.footer-section:nth-child(3) .social-links {
    justify-content: flex-end;
}

.social-links {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.social-links a {
    font-size: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #333;
    font-size: 14px;
    color: #999;
}

/* =================
   TRADUCTOR PERSONALIZADO
   ================= */

/* Selector de idioma en navegaciÃ³n */
.language-selector-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
}

.lang-btn-nav {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 4px 8px;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.lang-btn-nav:hover {
    color: var(--text-light);
}

.lang-btn-nav.active {
    color: var(--primary-color);
}

.lang-separator {
    color: var(--text-light);
    margin: 0 4px;
}

/* Ocultar traductor de Google */
#google_translate_element {
    display: none !important;
}

.goog-te-banner-frame,
.goog-te-menu-frame {
    display: none !important;
}

.goog-te-combo {
    display: none !important;
}

body {
    top: 0 !important;
}

/* Ocultar mensajes de traducciÃ³n */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

.goog-te-gadget {
    display: none !important;
}

/* Evitar que Google Translate modifique el layout */
.goog-te-banner-frame {
    top: 0 !important;
}

/* Clase para contenido con margen mÃ­nimo garantizado */
.content-safe {
    padding-left: max(var(--content-padding-mobile), var(--margin-minimum));
    padding-right: max(var(--content-padding-mobile), var(--margin-minimum));
}

/* Para elementos que excepcionalmente vayan a pantalla completa */
.full-width-exception {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding-left: 0;
    padding-right: 0;
}

/* Responsive */
@media (max-width: 768px) {
@media (max-width: 768px) {
    :root {
        --content-padding: var(--content-padding-mobile);
    }
    
    .header-content {
        padding: 0 15px; /* Reducido para dar mÃ¡s espacio al menÃº */
    }
    
    .nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background: var(--white);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        gap: 0;
        padding: 40px 0;
        transition: right 0.3s ease;
    }
    
    .nav-open {
        right: 0;
    }
    
    .nav-link {
        display: block;
        padding: 16px 40px;
        font-size: 16px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link:hover {
        background: var(--bg-light);
        color: var(--primary-color);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .menu-open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-open span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-open span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        height: 60vh;
        min-height: 400px;
        /* Mantener pantalla completa */
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    
    .hero-text {
        /* El texto del hero respeta los mÃ¡rgenes mÃ­nimos */
        padding: 40px var(--content-padding-mobile);
    }
    
    .section {
        padding: 60px 0;
    }
    
      .section-header {
        flex-direction: row;          /* â† Mantener en lÃ­nea */
        align-items: center;          /* â† Centrar verticalmente */
        gap: 10px;                   /* â† Gap mÃ¡s pequeÃ±o */
        margin-bottom: 32px;
        padding: 0 var(--content-padding-mobile);
        flex-wrap: nowrap;           /* â† Evitar envolvimiento */
    }
    
    .section-title {
        font-size: 20px;             /* â† MÃ¡s pequeÃ±o */
        white-space: nowrap;         /* â† Sin salto */
    }
    
    .section-separator {
        font-size: 20px;             /* â† MÃ¡s pequeÃ±o */
    }
    
    .section-link {
        font-size: 16px;             /* â† MÃ¡s pequeÃ±o */
        white-space: nowrap;         /* â† Sin salto */
    }
}

/* 3. SOLUCIÃ“N ALTERNATIVA PARA FLECHAS DE EXPOSICIONES */
/* OpciÃ³n A: Usar JavaScript para crear flechas dinÃ¡micamente */
.exposiciones-grid.has-navigation {
    position: relative;
}

.exposiciones-grid-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1px solid var(--border-color);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}

.exposiciones-grid-nav.prev {
    left: 10px;
}

.exposiciones-grid-nav.next {
    right: 10px;
}

.exposiciones-grid-nav:hover {
    background: var(--primary-color);
    color: var(--white);
}
    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .newsletter-section {
        padding: 80px var(--content-padding-mobile);
    }
    
    .footer {
        padding: 60px var(--content-padding-mobile) 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .social-links {
        flex-direction: row;
        gap: 24px;
    }
}

/* Para dispositivos muy pequeÃ±os - margen mÃ­nimo de 10px */
@media (max-width: 480px) {
    :root {
        --content-padding-mobile: 10px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .newsletter-title {
        font-size: 24px;
    }
}
/* BOTONES NEWSLETTER - VERSIÃ“N FINAL CON COLOR NEGRO */

/* Estilos base con mayor especificidad */
.newsletter-section .language-selector .lang-btn {
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
    position: relative;
    z-index: 1;
    outline: none;
}

/* Hover normal */
.newsletter-section .language-selector .lang-btn:hover {
    background: var(--bg-light);
    border-color: var(--border-color);
}

/* Estado ACTIVO - usando la variable --primary-color (negro) */
.newsletter-section .language-selector .lang-btn.active,
.newsletter-section .language-selector .lang-btn.active:hover,
.newsletter-section .language-selector .lang-btn.active:focus {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    border-color: var(--primary-color) !important;
}

/* === SISTEMA DE COOKIES GRACIOSO - AÃ±adir a tu archivo style.css === */

/* Aviso principal de cookies */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    padding: 30px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    animation: slideUp 0.5s ease-out;
}

.cookie-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cookie-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #333;
    line-height: 1.3;
}

.cookie-description {
    font-size: 16px;
    color: #666;
    margin: 0 0 30px 0;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Botones de acciÃ³n */
.cookie-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.cookie-btn {
    padding: 16px 32px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    min-width: 200px;
}

.cookie-btn.btn-primary {
    background: #333;
    color: white;
}

.cookie-btn.btn-primary:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cookie-btn.btn-outline {
    background: transparent;
    color: #666;
    border: 2px solid #ddd;
}

.cookie-btn.btn-outline:hover {
    background: #f5f5f5;
    color: #333;
    border-color: #bbb;
    transform: translateY(-1px);
}

/* Enlaces */
.cookie-links {
    text-align: center;
    font-size: 14px;
}

.cookie-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: #333;
    text-decoration: underline;
}

.cookie-separator {
    margin: 0 15px;
    color: #ccc;
}

/* BotÃ³n flotante de configuraciÃ³n */
.cookie-settings-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
}

.cookie-settings-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #333;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cookie-settings-btn:hover {
    background: #555;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Modal de reconfiguraciÃ³n */
.cookie-modal-overlay {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalPop 0.3s ease-out;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 25px 0 25px;
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cookie-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.cookie-modal-body {
    padding: 20px 25px;
    color: #666;
    line-height: 1.6;
}

.cookie-modal-body p {
    margin: 0 0 15px 0;
}

.cookie-modal-body p:last-child {
    margin-bottom: 0;
}

.cookie-modal-actions {
    padding: 0 25px 25px 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-modal-actions .btn-primary,
.cookie-modal-actions .btn-outline {
    padding: 12px 20px;
    min-width: 160px;
}

/* Mensaje de confirmaciÃ³n */
.cookie-message {
    font-size: 14px;
    font-weight: 500;
}

/* Animaciones */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes modalPop {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 25px 20px;
    }
    
    .cookie-title {
        font-size: 20px;
    }
    
    .cookie-description {
        font-size: 15px;
    }
    
    .cookie-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-btn {
        width: 100%;
        max-width: 300px;
        min-width: auto;
    }
    
    .cookie-settings-float {
        bottom: 20px;
        right: 20px;
    }
    
    .cookie-settings-btn {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    .cookie-modal-content {
        margin: 0 10px;
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
}

/* IntegraciÃ³n con el tema/* Estilos para el footer con enlaces legales */
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legal-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

.legal-links a:not(:last-child)::after {
    content: "|";
    color: #555;
    margin: 0 10px;
    position: absolute;
    right: -15px;
}

.legal-links a:hover {
    color: #fff;
}

/* Responsive para mÃ³viles */
@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .legal-links a {
        position: relative;
    }
    
    .legal-links a:not(:last-child)::after {
        content: none;
    }
    
    .legal-links a:not(:last-child) {
        border-bottom: 1px solid #555;
        padding-bottom: 5px;
    }
} existente */
.cookie-consent {
    font-family: var(--font-family, Inter, sans-serif);
}
/* Estilos para el footer con enlaces legales */
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legal-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

.legal-links a:not(:last-child)::after {
    content: "|";
    color: #555;
    margin: 0 10px;
    position: absolute;
    right: -15px;
}

.legal-links a:hover {
    color: #fff;
}

/* Responsive para mÃ³viles */
@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .legal-links a {
        position: relative;
    }
    
    .legal-links a:not(:last-child)::after {
        content: none;
    }
    
    .legal-links a:not(:last-child) {
        border-bottom: 1px solid #555;
        padding-bottom: 5px;
    }
}
/* ===========================================
   GRID DE EXPOSICIONES - AÃ‘ADIR AL FINAL DEL CSS
   =========================================== */

/* Grid de exposiciones - usa el mismo estilo que las obras */
.exposiciones-grid {
      position: relative;  
	display: flex;
    gap: 30px;
    padding: 0 var(--content-padding);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.exposiciones-grid::-webkit-scrollbar {
    display: none;
}

/* Items de exposiciones - exactamente igual que las obras */
.exposiciones-grid .carousel-item {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 200px;
}

/* Responsive para el grid de exposiciones */
@media (max-width: 1024px) {
    .exposiciones-grid .carousel-item {
        flex: 0 0 calc(50% - 15px);
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .exposiciones-grid {
        padding: 0 var(--content-padding-mobile);
    }
    
    .exposiciones-grid .carousel-item {
        flex: 0 0 calc(100% - 0px);
        min-width: 250px;
    }
	
/* Ocultar completamente el botÃ³n flotante de cookies */
.cookie-settings-float {
    display: none !important;
}

/* Bloque PrÃ³xima InauguraciÃ³n */
.prox-inauguracion {
    padding: 80px 0;
}

.prox-inauguracion-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 0 var(--content-padding);
    align-items: center;
}

.prox-inauguracion-image img {
    width: 100%;
	max-width: 400px;
    height: auto;
    display: block;
	
}
.prox-inauguracion-image {
    display: flex;
    justify-content: center;  /* Centra horizontalmente */
    align-items: center;      /* Centra verticalmente */
}

.prox-inauguracion-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prox-inauguracion-titulo {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.prox-inauguracion-colaboracion {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-light);
}

.prox-inauguracion-exposicion {
    font-size: 24px;
    font-weight: 500;
    margin-top: 8px;
}

.prox-inauguracion-detalles {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

.prox-inauguracion-lugar {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

/* Responsive para mÃ³viles */
@media (max-width: 768px) {
    .prox-inauguracion {
        padding: 60px 0;
    }
    
    .prox-inauguracion-content {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 var(--content-padding-mobile);
    }
    
    .prox-inauguracion-titulo {
        font-size: 24px;
    }
    
    .prox-inauguracion-exposicion {
        font-size: 20px;
    }
}


/* Carrusel de exposiciones - 3 COLUMNAS igual que obras */
.carousel-item-exposicion {
    flex: 0 0 calc(33.333% - 20px) !important; /* 3 columnas en escritorio */
    min-width: 200px;
}

@media (max-width: 1024px) {
    .carousel-item-exposicion {
        flex: 0 0 calc(50% - 15px) !important; /* 2 en tablet */
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .carousel-item-exposicion {
        flex: 0 0 calc(100% - 0px) !important; /* 1 en mÃ³vil */
        min-width: 250px;
    }
}
/* Ocultar barra de Google Translate sin romper funcionalidad */
.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
}

/* Evitar que la pÃ¡gina se mueva hacia abajo */
body {
    top: 0 !important;
    margin-top: 0 !important;
}

html {
    margin-top: 0 !important;
    overflow-x: hidden;
}
/* Responsive exposición destacada */
@media (max-width: 768px) {
    .prox-inauguracion {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .prox-inauguracion-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .prox-inauguracion-image {
        justify-content: center !important;
    }
    
    .prox-inauguracion-image img {
        width: 100% !important;
    }
    
    .prox-inauguracion-text {
        text-align: center !important;
        align-items: center !important;
        padding-left: 0 !important;
    }
}