/* --- VARIABLES MAESTRAS DE DISEÑO INMACULADO (PURE WHITE) --- */
:root {
    --bg-pure: #FFFFFF;
    --bg-light: #F8F9FA;
    --text-main: #111111;
    --text-muted: #555555;
    --border-soft: #EAEAEA;
    --gold: #C5A028;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.02);
    --transition-apple: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET DE ARQUITECTURA RESPONSIVE PERFECTA --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background-color: var(--bg-pure);
    color: var(--text-main);
    font-family: var(--font-sans);
    scroll-behavior: smooth;
}

/* --- CURSOR PERSONALIZADO E ESTILIZADO --- */
body, a, button, input, select, textarea {
    cursor: none !important;
}

.custom-cursor {
    width: 26px;
    height: 26px;
    border: 1px solid var(--text-main);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99999;
    transition: width 0.3s var(--transition-apple), height 0.3s var(--transition-apple), background-color 0.3s var(--transition-apple), border-color 0.3s var(--transition-apple);
}

.custom-cursor-dot {
    width: 5px;
    height: 5px;
    background-color: var(--text-main);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99999;
}

.custom-cursor.expand-state {
    width: 50px;
    height: 50px;
    background-color: rgba(197, 160, 40, 0.08);
    border-color: var(--gold);
}

/* --- ELEMENTOS DE ESTRUCTURA --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.sec-pad { padding: 120px 0; }
.sec-pad-bottom { padding-bottom: 120px; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.flex-center { display: flex; justify-content: center; align-items: center; }

/* --- LOADER --- */
#loader {
    position: fixed;
    inset: 0;
    background: var(--bg-pure);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-content { text-align: center; }
.loader-content h1 { font-family: var(--font-serif); font-weight: 300; letter-spacing: 0.4em; font-size: 2.5rem; margin-bottom: 12px; }
.loader-line { width: 140px; height: 1px; background: var(--text-main); transform: scaleX(0); animation: l-line 1.5s ease forwards; }
@keyframes l-line { to { transform: scaleX(1); } }

/* --- NAVBAR PREMIUM PERFECCIONADO --- */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    z-index: 500;
    transition: var(--transition-apple);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
}

#navbar .logo, #navbar .nav-menu a, #navbar #lang-current {
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

#navbar .btn-nav {
    background: #FFFFFF;
    color: #111111;
}

#navbar.scrolled {
    height: 80px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border-soft);
}

#navbar.scrolled .logo, #navbar.scrolled .nav-menu a, #navbar.scrolled #lang-current {
    color: var(--text-main);
    text-shadow: none;
}

#navbar.scrolled .btn-nav {
    background: var(--text-main);
    color: #FFFFFF;
}

.nav-container { height: 100%; display: flex; align-items: center; justify-content: space-between; max-width: 1300px; margin: 0 auto; padding: 0 24px; }
.logo { font-family: var(--font-serif); font-size: 1.5rem; letter-spacing: 0.25em; text-decoration: none; font-weight: 500; }
.nav-menu a { text-decoration: none; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; margin: 0 16px; font-weight: 600; opacity: 0.85; transition: var(--transition-apple); }
.nav-menu a:hover { opacity: 1; color: var(--gold) !important; }

.nav-actions { display: flex; align-items: center; gap: 24px; }
.lang-selector { position: relative; }
#lang-current { background: none; border: none; font-size: 0.75rem; letter-spacing: 0.1em; cursor: pointer; font-weight: 600; padding: 8px; }
.lang-dropdown { position: absolute; top: 100%; right: 0; background: var(--bg-pure); border: 1px solid var(--border-soft); display: none; flex-direction: column; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-premium); z-index: 600; }
.lang-selector:hover .lang-dropdown { display: flex; }
.lang-dropdown button { background: none; border: none; padding: 10px 20px; cursor: pointer; font-size: 0.75rem; width: 100%; text-align: left; color: var(--text-main) !important; }
.lang-dropdown button:hover { background: var(--bg-light); color: var(--gold) !important; }

.btn-nav { text-decoration: none; padding: 12px 28px; border-radius: 50px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; transition: var(--transition-apple); }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: #FFFFFF; }
#navbar.scrolled .mobile-toggle { color: var(--text-main); }

/* --- HERO CON FONDO ELEGANTE EN MOVIMIENTO (Ken Burns + Crossfade) --- */
.hero { height: 100vh; height: 100dvh; display: flex; align-items: center; justify-content: center; position: relative; text-align: center; background: #000; overflow: hidden; }
.hero-bg-img {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    will-change: transform, opacity;
}
.hero-bg-slide.slide-1 {
    animation: hero-crossfade-a 20s ease-in-out infinite, hero-kenburns-a 20s ease-in-out infinite;
}
.hero-bg-slide.slide-2 {
    animation: hero-crossfade-b 20s ease-in-out infinite, hero-kenburns-b 20s ease-in-out infinite;
}
@keyframes hero-crossfade-a {
    0%, 42% { opacity: 1; }
    50%, 92% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes hero-crossfade-b {
    0%, 42% { opacity: 0; }
    50%, 92% { opacity: 1; }
    100% { opacity: 0; }
}
@keyframes hero-kenburns-a {
    0% { transform: scale(1.06) translate(0, 0); }
    50% { transform: scale(1.14) translate(-1.2%, -0.8%); }
    100% { transform: scale(1.06) translate(0, 0); }
}
@keyframes hero-kenburns-b {
    0% { transform: scale(1.14) translate(1.2%, 0.8%); }
    50% { transform: scale(1.06) translate(0, 0); }
    100% { transform: scale(1.14) translate(1.2%, 0.8%); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-bg-slide { animation: none !important; }
    .hero-bg-slide.slide-1 { opacity: 1; }
    .hero-bg-slide.slide-2 { opacity: 0; }
}
.overlay { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(to bottom, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.22) 50%, var(--bg-pure) 100%); 
    z-index: 1; 
}
.hero-content { position: relative; z-index: 2; max-width: 950px; padding: 0 24px; }
.subtitle { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.4em; color: var(--gold); display: block; margin-bottom: 24px; font-weight: 600; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }

/* MODIFICACIÓN CRUCIAL: Color cambiado a blanco puro con sombra para perfecta lectura */
.hero-content h2 { 
    font-family: var(--font-serif); 
    font-size: 4.5rem; 
    font-weight: 300; 
    color: #FFFFFF; 
    line-height: 1.15; 
    margin-bottom: 40px; 
    letter-spacing: -0.01em; 
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); 
}
.hero-btns { display: flex; justify-content: center; gap: 16px; }

/* --- BOTONES PREMIUM --- */
.btn-primary, .btn-secondary { display: inline-block; padding: 18px 38px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; border-radius: 50px; text-decoration: none; transition: var(--transition-apple); }
.btn-primary { background: #FFFFFF; color: var(--text-main); }
.btn-primary:hover { background: var(--gold); color: #FFF; transform: translateY(-2px); }
.btn-secondary { background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); color: #FFFFFF; }
.btn-secondary:hover { background: #FFFFFF; color: var(--text-main); transform: translateY(-2px); }

/* --- TEXTOS GENERALES --- */
.tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--gold); font-weight: 600; display: block; margin-bottom: 12px; }
h3 { font-family: var(--font-serif); font-size: 2.8rem; font-weight: 300; line-height: 1.2; margin-bottom: 24px; }
p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; font-weight: 300; }
.center-header { text-align: center; margin-bottom: 64px; }

/* --- DISEÑO COMÚN DE NUEVAS SECCIONES --- */
.section-number { color: var(--gold); font-size: 0.75rem; letter-spacing: 3px; font-weight: 600; margin-bottom: 1rem; text-transform: uppercase; }
.section-title-large { font-family: var(--font-serif); font-size: 3.5rem; line-height: 1.15; font-weight: 400; margin-bottom: 3.5rem; letter-spacing: -1px; }

/* --- ESTILOS SECCIÓN 07: EVENTOS PRIVADOS --- */
.section-occasions { background-color: var(--bg-pure); }
.cards-occasions-container { display: flex; gap: 2rem; }
.occasion-card { background-color: var(--bg-light); padding: 3.5rem 2.5rem; border-radius: 20px; flex: 1; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-start; position: relative; border: 1px solid var(--border-soft); transition: var(--transition-apple); }
.occasion-card h3 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 400; margin-bottom: 1.5rem; color: var(--text-main); }
.occasion-card p { color: var(--text-muted); line-height: 1.6; font-size: 0.95rem; }
.occasion-card:hover { transform: translateY(-5px); border-color: var(--gold); }

/* --- IMÁGENES Y HOVERS --- */
.about-img img, .chef-img img { width: 100%; border-radius: 20px; object-fit: cover; box-shadow: var(--shadow-premium); }
.stats-row { display: flex; gap: 48px; margin-top: 40px; border-top: 1px solid var(--border-soft); padding-top: 32px; }
.counter { font-family: var(--font-serif); font-size: 3rem; font-weight: 300; color: var(--text-main); }
.stat-box p { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }

/* --- TARJETAS DE ESPECIALIDADES --- */
.spec-card { background: var(--bg-pure); padding: 24px; border-radius: 16px; border: 1px solid var(--border-soft); box-shadow: var(--shadow-premium); transition: var(--transition-apple); text-align: center; }
.spec-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; margin-bottom: 24px; }
.spec-card h4 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 400; margin-bottom: 12px; }
.spec-card p { font-size: 0.85rem; }
.spec-card:hover { transform: translateY(-10px); border-color: var(--gold); }

/* --- ESTILOS SECCIÓN 05: EXPERIENCIAS MEMORABLES + MÈTRICAS --- */
.section-echoes { background-color: var(--bg-pure); padding-top: 60px; }
.testimonial-wrapper { max-width: 850px; margin: 0 auto 5rem auto; text-align: center; padding: 0 24px; }
.testimonial-track { position: relative; min-height: 220px; }
.testimonial-slide { display: none; animation: fade-in-testimonial 0.5s ease; }
.testimonial-slide.active { display: block; }
@keyframes fade-in-testimonial { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.testimonial-quote { font-family: var(--font-serif); font-size: 1.8rem; line-height: 1.55; color: var(--text-main); font-style: normal; margin-bottom: 2.5rem; }
.testimonial-profile { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-bottom: 2rem; }
.testimonial-profile img { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; }
.profile-meta { text-align: left; }
.profile-name { font-weight: 600; font-size: 0.95rem; display: block; color: var(--text-main); }
.rating-stars { color: var(--gold); font-size: 0.85rem; margin-top: 0.2rem; letter-spacing: 1.5px; }
.testimonial-navigation-dots { display: flex; justify-content: center; gap: 0.6rem; }
.testimonial-navigation-dots .nav-dot { width: 12px; height: 4px; background-color: #dddddd; border-radius: 2px; transition: var(--transition-apple); cursor: pointer; }
.testimonial-navigation-dots .nav-dot.active { background-color: var(--text-main); width: 24px; }

/* Bloque Negro Inferior De Métricas */
.black-metrics-footer { background-color: #0a0a0a; width: 100%; padding: 5rem 0; margin-top: 2rem; }
.grid-4-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.metric-block .metric-val { font-family: var(--font-serif); color: var(--gold); font-size: 3.2rem; display: block; font-weight: 400; margin-bottom: 0.4rem; }
.metric-block .metric-lbl { color: #777777; font-size: 0.7rem; letter-spacing: 2px; font-weight: 600; text-transform: uppercase; }

/* --- CARTA EXTENSA CON PARRILLA PERFECTA --- */
.menu-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 56px; border-bottom: 1px solid var(--border-soft); padding-bottom: 12px; flex-wrap: wrap; }
.tab-link { background: none; border: none; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; color: var(--text-main); opacity: 0.4; cursor: pointer; padding: 12px 24px; transition: var(--transition-apple); }
.tab-link.active { opacity: 1; color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.menu-extended-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; }
.dish-row { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid var(--border-soft); }
.dish-row h5 { font-size: 1.1rem; font-weight: 500; margin-bottom: 6px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.dish-row p { font-size: 0.88rem; max-width: 85%; word-wrap: break-word; }
.dish-price { font-family: var(--font-serif); color: var(--gold); font-size: 1.25rem; font-weight: 500; white-space: nowrap; }

/* --- ESTILOS SECCIÓN 09: PREGUNTAS FRECUENTES + ENCLAVE --- */
.section-insights { background-color: var(--bg-pure); }
.insights-flex-layout { display: flex; gap: 5rem; align-items: flex-start; }
.faq-accordion-side { flex: 1.3; }
.custom-accordion { margin-top: 3rem; }
.accordion-block-item { border-bottom: 1px solid var(--border-soft); padding: 1.8rem 0; }
.accordion-head-click { display: flex; justify-content: space-between; align-items: center; font-size: 1.25rem; font-weight: 500; color: var(--text-main); font-family: var(--font-sans); cursor: pointer; }
.accordion-head-click .status-icon { font-size: 1.4rem; color: var(--text-muted); font-weight: 300; transition: var(--transition-apple); flex-shrink: 0; margin-left: 20px; }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--transition-apple), padding-top 0.4s var(--transition-apple); }
.accordion-body p { font-size: 0.95rem; line-height: 1.7; padding-right: 40px; }
.accordion-block-item.open .accordion-body { max-height: 200px; padding-top: 1.2rem; }

/* Bloque lateral derecho enclave */
.location-card-side { flex: 1; width: 100%; }
.location-inner-box { background-color: var(--bg-light); border-radius: 24px; padding: 3.5rem; border: 1px solid var(--border-soft); }
.location-inner-box h3 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.6rem; text-transform: none; letter-spacing: 0; }
.location-inner-box .desc-text { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2.2rem; line-height: 1.6; }
.location-inner-box .desc-text.weekly-off { margin-top: -1.6rem; }
.grayscale-map-box { width: 100%; height: 210px; border-radius: 16px; background-image: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=600&q=80'); background-size: cover; background-position: center; position: relative; filter: grayscale(1) brightness(0.7); }
.map-absolute-action { position: absolute; top: 16px; left: 16px; z-index: 10; }
.map-action-link { background-color: rgba(0, 0, 0, 0.85); color: #ffffff; padding: 0.6rem 1.1rem; border-radius: 8px; font-size: 0.75rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; border: 1px solid rgba(255,255,255,0.1); }

/* --- GALERÍA GRID --- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gal-item { overflow: hidden; border-radius: 16px; height: 260px; box-shadow: var(--shadow-premium); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-apple); }
.gal-item:hover img { transform: scale(1.05); }
.gal-item.large { grid-column: span 2; }

/* --- TARJETA FORMULARIO --- */
.booking-card { background: var(--bg-pure); border: 1px solid var(--border-soft); border-radius: 32px; padding: 56px; max-width: 800px; width: 100%; box-shadow: var(--shadow-premium); text-align: center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; text-align: left; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; color: var(--text-muted); }
.field input { width: 100%; border: 1px solid var(--border-soft); background: var(--bg-light); padding: 16px; border-radius: 12px; font-size: 0.9rem; font-family: var(--font-sans); outline: none; transition: var(--transition-apple); color: var(--text-main); }
.field input:focus { border-color: var(--text-main); background: var(--bg-pure); }
.btn-submit { width: 100%; border: none; background: var(--text-main); color: #FFF; padding: 20px; border-radius: 12px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; cursor: pointer; margin-top: 32px; transition: var(--transition-apple); }
.btn-submit:hover { background: var(--gold); }

/* --- BOTONES FLOTANTES --- */
.floating-btn { position: fixed; bottom: 32px; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; z-index: 400; border: none; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: var(--transition-apple); }
#btn-to-top { right: 32px; background: var(--text-main); color: #FFF; opacity: 0; visibility: hidden; }
#btn-to-top.show { opacity: 1; visibility: visible; }
#btn-whatsapp { right: 104px; background: #25D366; color: #FFF; text-decoration: none; }
.floating-btn:hover { transform: translateY(-5px); }

/* --- LIGHTBOX --- */
#lightbox { position: fixed; inset: 0; background: rgba(255,255,255,0.98); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: var(--transition-apple); padding: 20px; }
#lightbox.active { opacity: 1; pointer-events: auto; }
#lightbox img { max-width: 100%; max-height: 85vh; border-radius: 12px; box-shadow: var(--shadow-premium); }

footer { padding: 48px 24px; text-align: center; font-size: 0.65rem; letter-spacing: 0.2em; color: var(--text-muted); border-top: 1px solid var(--border-soft); }

/* --- LEYENDA DE ALÉRGENOS (INFO. LEGAL REGLAMENTO UE 1169/2011) --- */
.allergen-legend { background: var(--bg-light); border: 1px solid var(--border-soft); border-radius: 20px; padding: 32px 40px; margin-bottom: 56px; }
.allergen-legend-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.allergen-legend-head i { color: var(--gold); font-size: 1.2rem; }
.allergen-legend-head h4 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-main); }
.allergen-legend-note { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; max-width: 800px; }
.allergen-legend-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.legend-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--bg-pure); border: 1px solid var(--border-soft); border-radius: 8px; padding: 6px 12px; font-size: 0.78rem; color: var(--text-muted); }
.legend-chip b { color: var(--text-main); font-weight: 700; }

/* Etiquetas de alérgenos junto al nombre del plato */
.dish-allergens { display: inline-flex; gap: 4px; margin-left: 4px; }
.all-tag { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 6px; background: rgba(197, 160, 40, 0.12); color: var(--gold); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.02em; cursor: default; }

/* --- ENLACES LEGALES DEL FOOTER --- */
.footer-legal-links { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.legal-link-btn, .inline-link-btn { background: none; border: none; color: var(--text-muted); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; padding: 0; font-family: var(--font-sans); }
.legal-link-btn:hover, .inline-link-btn:hover { color: var(--gold); }
.legal-sep { color: var(--border-soft); font-size: 0.7rem; }
.inline-link-btn { text-transform: none; letter-spacing: 0; font-size: inherit; display: inline; }

/* --- MODAL DE DOCUMENTOS LEGALES --- */
.legal-modal-overlay { position: fixed; inset: 0; background: rgba(10, 10, 10, 0.6); backdrop-filter: blur(6px); z-index: 3000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: var(--transition-apple); padding: 24px; }
.legal-modal-overlay.active { opacity: 1; pointer-events: auto; }
.legal-modal-box { background: var(--bg-pure); border-radius: 24px; max-width: 720px; width: 100%; max-height: 82vh; overflow-y: auto; padding: 48px; position: relative; box-shadow: 0 30px 60px rgba(0,0,0,0.2); }
.legal-modal-close { position: absolute; top: 20px; right: 20px; background: var(--bg-light); border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; color: var(--text-main); }
#legal-modal-body h3 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 400; margin-bottom: 20px; }
#legal-modal-body h4 { font-size: 0.95rem; font-weight: 600; margin: 22px 0 8px; text-transform: uppercase; letter-spacing: 0.05em; }
#legal-modal-body p, #legal-modal-body li { font-size: 0.88rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 10px; }
#legal-modal-body ul { padding-left: 20px; }
#legal-modal-body .demo-disclaimer { margin-top: 28px; padding: 14px 18px; background: var(--bg-light); border-radius: 10px; font-size: 0.78rem; color: var(--text-muted); border: 1px dashed var(--border-soft); }

/* --- BANNER DE COOKIES --- */
#cookie-banner { position: fixed; left: 24px; right: 24px; bottom: 24px; max-width: 900px; margin: 0 auto; background: #0a0a0a; color: #f2f2f2; border-radius: 18px; padding: 24px 28px; z-index: 2500; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-shadow: 0 20px 50px rgba(0,0,0,0.25); transform: translateY(140%); opacity: 0; transition: var(--transition-apple); }
#cookie-banner.show { transform: translateY(0); opacity: 1; }
#cookie-banner p { font-size: 0.8rem; line-height: 1.6; color: #cfcfcf; flex: 1; min-width: 240px; }
#cookie-banner .inline-link-btn { color: #f2f2f2; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-cookie { border: none; padding: 12px 20px; border-radius: 10px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; white-space: nowrap; }
.btn-cookie-accept { background: var(--gold); color: #111; }
.btn-cookie-reject { background: transparent; border: 1px solid #444; color: #f2f2f2; }
.btn-cookie:hover { opacity: 0.85; }

@media (max-width: 768px) {
    .allergen-legend { padding: 24px; }
    #cookie-banner { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; text-align: left; }
    .cookie-banner-actions { justify-content: stretch; }
    .btn-cookie { flex: 1; }
    .legal-modal-box { padding: 32px 24px; }
}

/* --- CONTROL RESPONSIVO INTEGRAL --- */
@media (max-width: 1024px) {
    .menu-extended-grid { grid-template-columns: 1fr; gap: 24px; }
    .insights-flex-layout { flex-direction: column; gap: 4rem; }
    .cards-occasions-container { flex-direction: column; gap: 1.5rem; }
    .grid-4-metrics { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
    .sec-pad { padding: 80px 0; }
    .hero-content h2 { font-size: 2.6rem; }
    .section-title-large { font-size: 2.4rem; }
    h3 { font-size: 2rem; }
    #navbar { height: 75px; }
    .nav-menu { position: fixed; top: 75px; left: 0; width: 100%; background: var(--bg-pure); display: none; flex-direction: column; padding: 24px 0; border-bottom: 1px solid var(--border-soft); text-align: center; box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
    .nav-menu.active { display: flex; }
    .nav-menu a { margin: 12px 0; display: block; font-size: 0.85rem; color: var(--text-main) !important; text-shadow: none !important; }
    .mobile-toggle { display: block; }
    .nav-actions .btn-nav { display: none; }
    #navbar #lang-current { color: var(--text-main); text-shadow: none; }
    #navbar.scrolled #lang-current { color: var(--text-main); }
    .form-grid, .gallery-grid { grid-template-columns: 1fr; }
    .gal-item.large { grid-column: span 1; }
    .gal-item { height: 220px; }
    .stats-row { gap: 24px; justify-content: space-between; }
    .counter { font-size: 2.2rem; }
    .grid-4-metrics { grid-template-columns: 1fr; gap: 30px; }
}