/* =========================================
   VARIABLES & RESET (ESTILO GOURMET DARK)
   ========================================= */
:root {
    --bg-body: #0b0b0b;      /* Negro casi puro */
    --bg-card: #141414;      /* Gris oscuro para elementos */
    --primary: #cdc1a9;      /* Rojo Pomodoro (Elegante, no chillón) */
    --text-main: #f5f5f5;    /* Blanco hueso */
    --text-muted: #a3a3a3;   /* Gris suave */
    --gold: #e0c097;         /* Dorado sutil para detalles */
    --border: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    background-color: var(--bg-body); 
    color: var(--text-main); 
    font-family: 'DM Sans', sans-serif; /* Limpia y moderna */
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================
   OCULTAR BARRA DE SCROLL GLOBAL
   ========================================= */
html, body {
    -ms-overflow-style: none;  /* IE y Edge */
    scrollbar-width: none;  /* Firefox */
}

html::-webkit-scrollbar, 
body::-webkit-scrollbar {
    display: none; /* Chrome, Safari y Edge (basados en Chromium) */
}

/* =========================================
   ESTILOS OBLIGATORIOS PARA LENIS SCROLL
   ========================================= */
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important; /* Fuerza la anulación del smooth nativo */
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none; /* Evita que los mapas o iframes frenen el scroll */
}

h1, h2, h3, .brand {
    font-family: 'Playfair Display', serif; /* Toque italiano clásico */
}

a { text-decoration: none; transition: 0.3s; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ================= HEADER (ESTILO GROSSO) ================= */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(23, 23, 23, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.container { max-width: 1100px; margin: 0 auto;}

.nav-links-list a.active {
    /* Elimina el font-weight si lo tienes y pon esto: */
    text-shadow: 0 0 1px #F1E5D1; /* Ajusta el color exacto de tu texto */
}

nav { display: flex; justify-content: space-between; align-items: center; }

/* Ajuste para el Logotipo Imagen */
.brand img {
    height: 60px; /* Ajusta este número según la altura de tu barra de menú */
    width: auto;  /* Mantiene la proporción */
    vertical-align: middle;
    transition: transform 0.3s ease;
    padding: 12px;
}

.brand:hover img {
    transform: scale(1.05); /* Pequeño efecto zoom al pasar el ratón */
}

.nav-menu { display: flex; gap: 30px; }
.nav-menu a { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.nav-menu a:hover { color: var(--primary); }

.nav-cta .btn-reserva {
    background-color: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.nav-cta .btn-reserva:hover { background-color: #202020; }

/* Clase que se activará con JavaScript */
.header-hidden {
    transform: translateY(-100%);
}
/* ================= HERO (PORTADA IMPACTANTE) ================= */
/* ================= HERO (VIDEO BACKGROUND) ================= */
.hero {
    height: 90vh;
    position: relative; /* Necesario para que lo de dentro se posicione bien */
    overflow: hidden;   /* Corta el video si sobra */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Ya no ponemos background aquí porque usamos el video */
}

/* El video actuando como fondo */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Clave: hace que el video cubra todo sin deformarse */
    z-index: 0;
}

/* El degradado oscuro encima del video pero debajo del texto */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Tu degradado original: */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.563), rgba(15, 15, 15, 0.548));
    z-index: 1;
}

/* El texto tiene que estar por encima de todo */
.hero-content {
    position: relative;
    max-width: 800px;
    z-index: 2; /* Importante: mayor que el overlay */
    padding-top: 60px;
    padding-left: 40px;
    padding-right: 40px;
}
.tagline {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
    font-weight: 700;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* =========================================
   BOTONES HERO (DISEÑO PREMIUM)
   ========================================= */

/* Contenedor general */
.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Espacio más ajustado */
    align-items: center;
    max-width: 400px; /* Reducimos el ancho máximo global */
    margin: 0 auto;
    width: 90%; /* Margen lateral en móviles */
}

.btn-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px; /* Bordes ligeramente suavizados, no redondos "de juguete" */
    overflow: hidden;
    padding: 12px 15px !important; /* Más bajos */
    font-size: 0.75rem !important; /* Texto más pequeño */
    letter-spacing: 1px !important;
}


/* Botón Principal: Veure la Carta */
.btn-primary-elite {
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    box-shadow: 0 10px 20px rgba(214, 73, 51, 0.2);
}

.btn-primary-elite:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(214, 73, 51, 0.3);
}

/* Botón Secundario: Demanar per Emportar */
.btn-secondary-elite {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

.btn-secondary-elite:hover {
    background-color: white;
    color: black;
    border-color: white;
    transform: translateY(-3px);
}

/* Animación de los Iconos */
.btn-hero i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-hero:hover i {
    transform: translateX(5px); /* El icono se mueve un poco a la derecha */
}

/* Ajuste para móvil: botones uno encima del otro para que no se corten */
@media (max-width: 600px) {
    .hero-btns {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 20px;
    }
    .btn-hero {
        width: 100%; /* Ocupan todo el ancho en móvil */
        max-width: 350px;
    }
}

/* Contenedor principal de botones */
.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    max-width: 500px; /* Centra el conjunto en pantalla */
    margin: 0 auto;
}

/* Fila de botones cortos (Domicilio / Carta) */
.hero-btns-top {
    display: flex;
    gap: 10px;
    width: 100%;
}

.hero-btns-top .btn-hero {
    flex: 1; /* Hace que ambos midan lo mismo */
    padding: 15px 10px !important;
    font-size: 0.8rem !important;
}

/* Botón inferior largo */
.btn-takeaway-full {
    width: 100%;
    padding: 15px !important;
    background-color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-takeaway-full .btn-badge {
    display: block;
    font-size: 0.55rem;
    color: var(--text-main);
    letter-spacing: 2px;
    margin-bottom: 2px;
    font-weight: 700;
}

.btn-takeaway-full .btn-text {
    font-size: 0.85rem;
}

/* Efecto hover específico para WhatsApp */
.btn-delivery:hover {
    background-color: #25d366 !important;
    border-color: #25d366 !important;
    color: white !important;
}

/* --- SOLUCIÓN ESPECÍFICA PARA MÓVILES PEQUEÑOS --- */
@media (max-width: 480px) {
    /* Si aún así los ves grandes, apilamos también los de arriba */
    .hero-btns-top {
        flex-direction: column;
        gap: 8px;
    }
    
    .hero h1 {
        font-size: 2.5rem !important; /* Reducimos título para ganar espacio */
    }

    .hero p {
        font-size: 0.9rem !important;
        margin-bottom: 25px !important;
    }
}

/* =========================================
   TICKER PREMIUM (OFERTAS)
   ========================================= */
.offer-strip-premium {
    background-color: #0a0a0a; /* Negro muy profundo, más elegante que un color chillón */
    border-top: 1px solid rgba(201, 160, 99, 0.2); /* Línea dorada muy sutil */
    border-bottom: 1px solid rgba(201, 160, 99, 0.2);
    padding: 14px 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    /* 40s hace que el movimiento sea elegante y legible, no mareante */
    animation: ticker-premium 40s linear infinite; 
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 3px; /* Aire entre letras = aspecto premium */
    text-transform: uppercase;
    color: var(--text-main);
}

.ticker-item strong {
    color: var(--gold); /* El 15% en dorado corporativo */
    font-weight: 700;
    margin-right: 8px;
    font-size: 1rem;
}

.separator {
    color: var(--primary); /* La estrella en tu rojo pomodoro */
    font-size: 0.6rem;
    margin: 0 50px; /* Mucho espacio entre frases para que respire */
    opacity: 0.8;
}

/* Animación de scroll infinito perfecto */
@keyframes ticker-premium {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .offer-strip-premium {
        padding: 10px 0;
    }
    .ticker-item {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
    .separator {
        margin: 0 30px;
    }
}

.google-rating-header {
        font-size: 1rem;
        margin-top: 10px;
        letter-spacing: 1px;
        color: #838383;
    }

/* ================= GRID IMÁGENES (ESTILO SARTORIA) ================= */
.section-padding { padding: 50px 0; }
.section-title { font-size: 3rem; text-align: center; margin-bottom: 60px;}
.section-title span { color: var(--primary); font-style: italic; }

.food-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.food-card {
    position: relative;
height: 380px !important;
        border-radius: 4px !important; /* Bordes sutiles para un look más limpio */
    overflow: hidden;
}

.food-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
/* Refinamos el texto sobre la imagen */
    .card-overlay {
        padding: 30px 20px !important;
        background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%) !important;
    }

    .card-overlay h3 {
        font-size: 1.8rem !important;
        margin-bottom: 8px !important;
        color: white
    }

.food-card:hover img { transform: scale(1.05); }

.card-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 40px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    text-align: center;
}

.card-overlay span { color: var(--gold); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; }

/* Assegurar que el link ocupa tot l'espai */
a.food-card {
    display: block; 
    text-decoration: none;
    cursor: pointer;
}



a.food-card:hover h3 {
    color: var(--primary); /* El títol es posa vermell al passar el ratolí */
    transition: 0.3s;
}
/* ================= INFO & HORARIOS ================= */
.info-section {
    background-color: var(--bg-card);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.info-content { padding: 80px; display: flex; flex-direction: column; justify-content: center; }
.info-row { margin-bottom: 30px; border-left: 2px solid var(--primary); padding-left: 20px; }
.info-row h4 { font-size: 1.2rem; color: var(--gold); margin-bottom: 5px; }
.info-map { min-height: 400px; }



/* ================= MOBILE ================= */



/* BOTÓN FLOTANTE WHATSAPP (VITAL) */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 2000;
    transition: 0.3s;
}
.whatsapp-btn:hover { transform: scale(1.1); }

/* =========================================
   ESTILOS PÁGINA CARTA
   ========================================= */

/* Hero específico de Carta */
.page-hero {
    height: 40vh;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(15,15,15,1)),
                url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?q=80&w=1920&auto=format&fit=crop'); /* Foto ambiente restaurante */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 60px;
    margin-bottom: 0;
}

.page-hero h1 { font-size: 3.5rem; color: var(--gold); }
.page-hero p { font-size: 1.2rem; color: var(--text-main); }

/* Navegación Sticky de Categorías */
/* Modificamos el subheader de la carta */
.category-nav {
    background: var(--bg-card);
    position: sticky;
    
    /* Usamos una variable para el top, por defecto 54px (la nueva altura de tu header estrecho) */
    top: var(--header-height, 54px); 
    
    z-index: 900;
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
    padding: 15px ; /* Un poco más estrecho también para ir a juego */
    
    /* Transición suave para que el salto no sea brusco al esconderse el principal */
    transition: top 0.3s ease-in-out; 
}

/* Esto asegura que el submenú sepa cuándo subir */
header.header-hidden + main .category-nav, 
header.header-hidden ~ .category-nav,
header.header-hidden ~ main .category-nav {
    top: 0 !important;
}

/* Mejora la transición para que no de saltos en PC */
.category-nav {
    position: sticky;
    top: 60px; /* Altura de tu header en reposo */
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 999;
}

.scroll-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    overflow-x: auto; /* Scroll horizontal en móvil */
    white-space: nowrap;
}

.cat-link {
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.cat-link:hover, .cat-link.active { color: var(--primary); }

/* Contenedor Menú */
.menu-wrapper { padding: 60px 20px; }

.menu-category { margin-bottom: 80px; scroll-margin-top: 140px; }

.cat-title {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 5px;
}

.cat-subtitle { color: var(--text-muted); margin-bottom: 30px; font-style: italic; }

/* =========================================
   GRID VISUAL (CARTAS CON FOTO)
   ========================================= */
/* Això ja hauria d'estar al teu style.css, però comprova-ho: */
.cat-link:hover, .cat-link.active { 
    color: var(--primary); 
    border-bottom: 2px solid var(--primary); /* Opcional: una línia a sota queda molt bé */
}
/* Grid responsive */
.menu-grid-visual {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Tarjeta de Plato */
.dish-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.dish-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

/* Imagen del Plato */
.dish-img {
    height: 220px;
    width: 100%;
    overflow: hidden;
    background-color: #222; /* Fondo de carga */
}

.dish-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dish-card:hover .dish-img img {
    transform: scale(1.1);
}

/* Información del Plato */
.dish-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dish-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.dish-header h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--text-main);
    line-height: 1.2;
    margin-right: 10px;
}

.dish-header .price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
    white-space: nowrap;
}

.dish-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Plato Destacado (Estrella) */
.star-dish {
    border: 1px solid var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.star-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--gold);
    color: #000;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Responsive adjustments */
@media (max-width: 500px) {
    .menu-grid-visual {
        grid-template-columns: 1fr; /* Una columna en móviles pequeños */
    }
    .dish-img {
        height: 250px; /* Fotos más grandes en móvil */
    }
}




/* =========================================
   CONTACTE MINIMALISTA (ESTIL EDITORIAL)
   ========================================= */

/* Hero més sobri */
.contact-hero {
    height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-body);
    padding-top: 80px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.contact-hero .subtitle {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.contact-hero h1 {
    font-size: 3.5rem;
    color: var(--text-main);
    font-family: 'Playfair Display', serif;
}

/* Layout General */
.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    padding: 80px 20px;
    align-items: start;
}

/* --- FORMULARI CLEAN --- */
.form-intro {
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.clean-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.input-wrap {
    display: flex;
    flex-direction: column;
}

.input-wrap label {
    font-size: 0.7rem;
    color: var(--text-muteD);
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Cambia el color del icono del calendario en navegadores Chrome, Edge y Safari */
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    border-radius: 4px;
    margin-right: 2px;
    /* Aplicamos un filtro para llegar al tono beige corporativo */
    filter: invert(85%) sepia(13%) saturate(394%) hue-rotate(3deg) brightness(89%) contrast(89%);
}

/* Opcional: Si quieres que el icono destaque más al pasar el ratón */
input[type="date"]::-webkit-calendar-picker-indicator:hover {
    filter: invert(100%);
    background-color: rgba(205, 193, 169, 0.1);
}

/* Inputs només amb línia inferior (molt elegant) */
.clean-form input, 
.clean-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: var(--text-main);
    padding: 10px 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    transition: 0.3s;
}

.clean-form input:focus, 
.clean-form textarea:focus {
    outline: none;
    border-bottom-color: var(--primary);
}

.btn-submit {
    background-color: var(--text-main);
    color: var(--bg-body);
    border: none;
    padding: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background-color: var(--primary);
    color: white;
}

/* --- INFO COLUMNA (Block Text) --- */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 50px;
    border-left: 1px solid rgba(255,255,255,0.05); /* Línia divisòria fina */
    padding-left: 50px;
}

.info-block {
    display: flex;
    gap: 25px;
}

.icon-minimal {
    font-size: 1.2rem;
    color: var(--gold);
    margin-top: 5px;
}

.block-text h5 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
}

.block-text p {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.5;
}

.block-text a {
    color: inherit;
    transition: 0.3s;
}

.block-text a:hover { color: var(--primary); }

.text-link {
    font-size: 0.9rem;
    text-decoration: underline;
    margin-top: 5px;
    display: inline-block;
    color: var(--text-muted) !important;
}

/* --- MAPA --- */
.map-container {
    width: 100%;
    height: 450px;
    filter: grayscale(100%) invert(92%) contrast(0.83); /* Efecte Dark Mode al mapa */
    border-top: 1px solid rgba(255,255,255,0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}



/* --- SECCIÓN HISTORIA (ABOUT) --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img img {
    border-radius: 12px;
    box-shadow: 20px 20px 0px rgba(255,255,255,0.05); /* Efecto marco */
}

/* --- SECCIÓN REVIEWS --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 10px; right: 20px;
    font-size: 5rem;
    color: rgba(255,255,255,0.05);
    font-family: serif;
}

.stars { color: var(--gold); margin-bottom: 15px; letter-spacing: 2px; }
.review-card p { font-style: italic; color: var(--text-muted); margin-bottom: 20px; }
.author { font-weight: 700; color: var(--text-main); font-size: 0.8rem; text-transform: uppercase;letter-spacing: 1.5px !important; }



/* =========================================
   UBICACIÓN MINIMALISTA (NUEVO DISEÑO)
   ========================================= */

.location-minimal {
    background-color: var(--bg-body); /* Fondo negro limpio */
    border-top: 1px solid rgba(255,255,255,0.05); /* Separador sutil */
    
}

.location-grid {
    padding-bottom: 40px ;
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Info más estrecha, mapa más grande */
    gap: 60px;
    align-items: center;
}

/* Columna Info */
.location-info {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Mucho espacio entre elementos para efecto minimalista */
}

.info-item-min {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-left: 40px ;
}

.info-item-min i {
    font-size: 1.2rem;
    color: var(--primary); /* El rojo solo en el icono */
    margin-top: 5px;
    width: 25px; /* Ancho fijo para alinear texto */
    text-align: center;
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-text .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold); /* Toque dorado elegante */
    font-weight: 700;
    opacity: 0.8;
}

.info-text p {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.5;
    margin: 0;
}

.info-text .highlight-time {
    color: var(--text-main);
    font-weight: 500;
}

.hover-link {
    transition: color 0.3s ease;
}
.hover-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Columna Mapa */
.location-map-wrapper {
    height: 500px;
    width: 100%;
    border-radius: 0; /* Bordes rectos más minimalistas */
    overflow: hidden;
    position: relative;
    /* Efecto de sombra sutil para despegarlo del fondo */
    box-shadow: 0 20px 40px rgba(0,0,0,0.5); 
}

.map-frame {
    width: 100%;
    height: 100%;
    border: 0;
    /* Filtro Dark Mode para el mapa */
    filter: grayscale(100%) invert(92%) contrast(0.83); 
    transition: filter 0.5s ease;
}

.location-map-wrapper:hover .map-frame {
    /* Al pasar el ratón, recupera un poco de color */
    filter: grayscale(80%) invert(92%) contrast(0.9); 
}

/* Responsive */
@media (max-width: 900px) {
    .location-grid {
        grid-template-columns: 1fr; /* Una sola columna */
        gap: 40px;
    }
    
    .location-map-wrapper {
        height: 350px;
    }
    
    .location-info {
        gap: 30px;
    }
}

/* =========================================
   SECCIÓN MENÚS (ESPECÍFICO)
   ========================================= */

/* Banner Sopars Empresa */
.corporate-banner {
    background-color: var(--bg-card);
    border: 1px solid var(--gold); /* Borde dorado para destacar */
    padding: 60px 40px;
    margin-bottom: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.corporate-banner::before {
    /* Detalle decorativo sutil */
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.corporate-content .subtitle {
    color: var(--);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.corporate-content h2 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    color: var(--text-main);
    margin-bottom: 20px;
}

.corporate-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Teléfonos grandes y claros */
.phones-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.phones-display a {
    font-size: 1.5rem;
    color: var(--primary); /* Color rojo para llamar la atención */
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    transition: 0.3s;
}

.phones-display a:hover {
    color: var(--text-main);
    transform: scale(1.05);
}

.phones-display .separator {
    color: var(--border);
    font-size: 1.5rem;
}

/* Ajuste móvil */
@media (max-width: 600px) {
    .phones-display { flex-direction: column; gap: 10px; }
    .phones-display .separator { display: none; }
        .section-title h2{
        padding-left: 40px;
    }
}

/* Ticker animado */
.offer-strip-dynamic {
    background: var(--primary);
    color: white;
    padding: 10px 0;
    overflow: hidden;
}
.ticker-wrap { width: 100%; overflow: hidden; }
.ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}
.ticker-item { display: inline-block; padding: 0 50px; font-weight: 700; letter-spacing: 1px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }


/* =========================================
   PREMIUM INSTA FEED (Responsive & Modular)
   ========================================= */
:root {
    --insta-bg: #111111; /* Un negro ligeramente diferente para definir la sección */
    --gold-premium: #C9A063; /* Tu dorado corporativo */
    --border-insta: rgba(201, 160, 99, 0.15); /* Bordes dorados muy sutiles */
    --text-muted: #888888;
}

.premium-insta-feed {
    background-color: var(--insta-bg);
    border-top: 1px solid var(--border-insta);
    border-bottom: 1px solid var(--border-insta);
}

/* Cabecera Estilo App */
.insta-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-insta);
    border-radius: 8px;
    margin-bottom: 30px;
    gap: 20px;
}

.profile-main-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold-premium);
    background-color: #000;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-handle {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.3rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verified-icon {
    color: var(--gold-premium);
    font-size: 1rem;
}

.profile-subtext {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 5px 0 0 0;
}

.insta-btn-follow {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--gold-premium);
    color: #000;
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 6px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

.insta-btn-follow:hover {
    background-color: #fff;
    transform: translateY(-2px);
}

/* --- Divisiones de Contenido: Grid Modular --- */
.insta-grid-modular {
    display: flex;
    gap: 15px;
}

/* Elemento Destacado (Pseudo-Vídeo) */
.grid-item-featured {
    flex: 1 1 40%; /* 40% del ancho en escritorio */
    aspect-ratio: 4 / 5; /* Formato vertical tipo Reel */
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-insta);
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

.featured-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
}

.badge-live {
    background-color: #FF0000;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(201, 160, 99, 0.7); /* Dorado translúcido */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 2rem;
    z-index: 5;
    opacity: 0.9;
    transition: 0.4s ease;
}

.featured-text-division {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    z-index: 5;
    border-top: 1px solid var(--border-insta);
}

.featured-subtitle {
    font-family: 'DM Sans', sans-serif;
    color: var(--gold-premium);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    margin: 0;
}

.featured-title {
    font-family: 'Playfair Display', serif;
    color: #fff;
    font-size: 1.8rem;
    margin: 10px 0 0 0;
    line-height: 1.2;
}

.grid-item-featured:hover .featured-image {
    transform: scale(1.05);
}

.grid-item-featured:hover .play-icon-overlay {
    background: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Cuadrícula Multicolumna */
.grid-multi-column {
    flex: 1 1 60%; /* 60% del ancho en escritorio */
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas de imágenes pequeñas */
    gap: 10px;
}

.grid-item-interactive {
    position: relative;
    aspect-ratio: 1 / 1; /* Cuadradas */
    border-radius: 4px;
    overflow: hidden;
    background-color: #000;
    border: 1px solid rgba(255,255,255,0.05);
}

.grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Iconos de Vídeo en imágenes pequeñas */
.video-icon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    z-index: 3;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

/* Superposición Interactiva (Stats) */
.interactive-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 4;
}

.overlay-stats {
    font-family: 'DM Sans', sans-serif;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    gap: 15px;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.overlay-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.grid-item-interactive:hover .grid-image {
    transform: scale(1.1);
}

.grid-item-interactive:hover .interactive-overlay {
    opacity: 1;
}

.grid-item-interactive:hover .overlay-stats {
    transform: translateY(0);
}

/* Botón Final */
.insta-footer-division {
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid var(--border-insta);
    padding-top: 30px;
}

.insta-btn-large {
    font-family: 'DM Sans', sans-serif;
    color: var(--gold-premium);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

.insta-btn-large:hover {
    color: #fff;
    border-bottom-color: var(--gold-premium);
}

/* =========================================
   RESPONSIVE MÓVIL
   ========================================= */
@media (max-width: 900px) {
    /* El grid principal ya no se divide en columnas */
    .insta-grid-modular {
        flex-direction: column;
    }

    .grid-item-featured {
        flex: 1 1 100%;
        aspect-ratio: 16 / 9; /* Formato apaisado más estándar en móvil */
        margin-bottom: 15px;
    }

    .featured-title {
        font-size: 1.5rem;
    }

    .grid-multi-column {
        flex: 1 1 100%;
        grid-template-columns: repeat(3, 1fr); /* 3 columnas en tablets */
    }
}

@media (max-width: 768px) {
    .premium-insta-feed .container {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    
    .insta-profile-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .insta-btn-follow {
        width: 100%;
        text-align: center;
    }
    
    .profile-handle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .grid-multi-column {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en móviles pequeños */
    }
    
    .profile-avatar {
        width: 50px;
        height: 50px;
    }
}

/* ================= RESPONSIVE TELEFONO ================= */

/* Por defecto oculto en escritorio */
    .hamburger {
        display: block !important;
        cursor: pointer;
        z-index: 2000;
        font-size: 1.5rem;
        color: var(--text-main);
        padding: 10px;
        width: 50px; height: 50px;
        display: flex; align-items: center; justify-content: center;
        transition: 0.3s;
    }





/* Responsive */
@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; gap: 60px; }
    .contact-info-col { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; }
    .form-row { grid-template-columns: 1fr; }
        .section-title h2{
        padding-left: 40px;
    }
}

@media (max-width: 1100px) {
    /* 1. Mostrar el botón hamburguesa */
    .section-title h2{
        padding-left: 40px;
    }
/* 1. HAMBURGUESA */
    .hamburger {
        display: block !important;
        cursor: pointer;
        z-index: 2000;
        font-size: 1.5rem;
        color: var(--text-main);
        padding: 10px;
        width: 50px; height: 50px;
        display: flex; align-items: center; justify-content: center;
        transition: 0.3s;
    }

    .hamburger.active {
        border-color: var(--primary);
    }

    .hamburger.active i {
        color: var(--primary);
        transform: rotate(90deg);
    }

    /* 2. CONTENEDOR MENÚ (PANTALLA COMPLETA) */
    .nav-menu {
        position: fixed;
        top: 0; left: -100%;
        width: 100%; height: 100vh;
        background-color: #0f0f0f; /* Negro puro elegante */
        display: flex !important;
        flex-direction: column;
        justify-content: center; /* Centrado vertical */
        align-items: center;
        transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1); /* Efecto "Swish" premium */
        z-index: 1500;
        padding: 20px;
        /* Imagen de fondo sutil opcional */
        background-image: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    }

    
    .nav-menu.active { left: 0; }

    /* 3. LISTA DE ENLACES */
    .nav-links-list {
        list-style: none;
        text-align: center;
        margin-bottom: 40px;
    }

    .nav-links-list li {
        margin: 25px 0;
        opacity: 0; /* Para animación */
        transform: translateY(20px);
        transition: 0.5s ease;
    }

    /* Animación secuencial al abrir (truco visual) */
    .nav-menu.active .nav-links-list li:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
    .nav-menu.active .nav-links-list li:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
    .nav-menu.active .nav-links-list li:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }

    .nav-links-list a {
        font-family: 'Playfair Display', serif;
        font-size: 2.5rem; /* Muy grande, estilo revista */
        color: var(--text-main);
        text-decoration: none;
        font-weight: 400;
        letter-spacing: -1px;
    }

    .nav-links-list a:hover { color: var(--primary); font-style: italic; }

    /* 4. FOOTER DEL MENÚ (RESERVA + CONTACTO) */
    .nav-mobile-footer {
        text-align: center;
        width: 100%;
        max-width: 300px;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.5s ease 0.4s; /* Aparece el último */
    }
    
    .nav-menu.active .nav-mobile-footer { opacity: 1; transform: translateY(0); }

    .separator-line {
        width: 50px; height: 1px;
        background: var(--gold);
        margin: 0 auto 30px auto;
    }
.dish-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
    /* Botón Reservar Móvil */
    .btn-mobile-reserva {
        display: block;
        background: transparent;
        border: 1px solid var(--primary);
        color: var(--primary);
        padding: 15px;
        font-family: 'DM Sans', sans-serif;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 0.9rem;
        font-weight: 700;
        margin-bottom: 30px;
        transition: 0.3s;
    }

    .btn-mobile-reserva:hover {
        background: #666;
        color: rgb(58, 58, 58);
    }

    /* Info Contacto */
    .mobile-info {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .mobile-phone, .mobile-insta {
        font-family: 'DM Sans', sans-serif;
        color: var(--text-muted);
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .mobile-insta i { color: var(--gold); margin-right: 5px; }

    /* OCULTAR ELEMENTOS ESCRITORIO */
    .nav-cta { display: none; }


    /* Ajustes generales móvil */
    .hero h1 { font-size: 2.5rem; }
    .food-grid, .info-section, .location-grid { 
        grid-template-columns: 1fr; 
    }
    
    .contact-layout { 
    grid-template-columns: 1fr; 
    display: block !important;
    flex-direction: column; /* Cambiamos el orden visual */
    gap: 40px !important;
    padding: 20px 25px !important; /* Aire lateral editorial */
}

/* Forzamos que la info vaya arriba */
.contact-info-col {
    border-left: none !important;
        padding-left: 0 !important;
        width: 100% !important;
        order: -1; /* Sube la info por encima del formulario */
    gap: 30px !important; /* Más apretado para que quepa en pantalla */
}

.info-block {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 4px;
    border: 1px solid var(--border);
    align-items: center !important; /* Centrado para facilitar el clic */
}

.info-block i {
    font-size: 1.5rem !important; /* Iconos más grandes para dedos */
}

.map-container {
    height: 250px !important; /* Mitad de altura en móvil */
    margin-top: 20px;
}

/* Ocultamos el formulario y su texto de introducción por completo */
    #reserva-form, 
    .form-intro {
        display: none !important;
    }

/* Busca esta sección en tu style.css y modifícala: */
.contact-hero {
    height: auto !important; /* Permitimos que crezca según el contenido */
    min-height: 40vh;         /* Altura mínima para mantener estética */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-body);
    
    /* LA CLAVE: Añadimos espacio arriba para que el header no lo tape */
    padding-top: 120px !important; 
    padding-bottom: 60px;
    
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.contact-hero h1 {
    font-size: 3.5rem;
    color: var(--text-main);
    font-family: 'Playfair Display', serif;
    margin-top: 20px; /* Aire extra opcional */
}



/* Busca las reglas del formulario en el media query y ajusta esto: */
.clean-form input, 
.clean-form textarea {
    padding: 15px 0 !important; /* Más altura para pulsar fácilmente */
    font-size: 1rem !important;  /* Evita el zoom automático del iPhone */
}

.input-wrap label {
    font-size: 0.65rem !important; /* Etiquetas más discretas */
    margin-bottom: 5px !important;
}
    .btn-carta-home {
        display: none !important;
    }
    .hero h1 { font-size: 3rem; }
.food-grid {
        grid-template-columns: 1fr !important;
        gap: 35px !important; /* Más espacio vertical entre platos */
        padding: 0 25px !important; /* El "aire" lateral profesional */
    }
    .info-section { grid-template-columns: 1fr; }
    .info-content { padding: 40px 20px; }
    
    .btn-hero { width: 100%; margin: 5px 0; }

    /* Responsive para la Carta */
    .page-hero h1 { font-size: 2.5rem; }
    .menu-grid { grid-template-columns: 1fr; } /* 1 columna en móvil */
    .scroll-nav { justify-content: flex-start; padding-bottom: 5px; } /* Scroll lateral */
    .category-nav { top: 60px; }

    /* --- AJUSTE EDITORIAL SECCIÓN VALORACIONES --- */
    

    /* --- RESPONSIVE DE LO NUEVO --- */
    .contact-grid-page { grid-template-columns: 1fr; }
    .input-group-row { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-img { order: -1; margin-bottom: 20px; }
    .reservation-form { padding: 25px; }

    .insta-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {

    #reserva-form {
        display: flex !important; /* Mantiene el formulario visible en PC */
    }

    /* 1. Ocultar elementos exclusivos del diseño móvil */
    .nav-mobile-footer, 
    .hamburger,
    .mobile-only { 
        display: none !important; 
    }

    /* 2. El contenedor NAV debe distribuir el logo, el menú y el botón */
    nav {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    /* 3. El contenedor del menú (.nav-menu) pierde los estilos de pantalla completa */
    .nav-menu {
        position: static !important; /* Quita el fixed */
        width: auto !important;
        height: auto !important;
        background: transparent !important; /* Sin fondo negro */
        box-shadow: none !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        padding: 0 !important;
    }

    /* 4. LA CLAVE: La lista (UL) se pone en fila horizontal */
    .nav-links-list {
        display: flex !important;       /* Flex para ponerlos al lado */
        flex-direction: row !important; /* Dirección fila (horizontal) */
        gap: 40px !important;           /* Espacio entre enlaces */
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        align-items: center !important;
    }

    /* 5. Restaurar los items de la lista (quitar animaciones de entrada) */
    .nav-links-list li {
        margin: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* 6. Estilo de letra para escritorio (pequeña y elegante, no gigante) */
    .nav-links-list a {
        font-family: 'DM Sans', sans-serif !important;
        font-size: 0.95rem !important;
        font-weight: 500 !important;
        color: var(--text-main) !important;
        letter-spacing: 1px !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
    }

    /* Efecto Hover simple */
    .nav-links-list a:hover {
        color: var(--primary) !important;
    }

    /* 7. Asegurar que el botón de reservar de escritorio se vea */
    .nav-cta { 
        display: block !important; 
    }
}




/* ================= COOKIE BANNER ================= */
.cookie-banner {
    position: fixed;
    bottom: -100%; /* Oculto inicialmente */
    left: 0; width: 100%;
    background: rgba(20,20,20,0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--primary);
    padding: 20px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transition: bottom 0.5s ease;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}
.cookie-banner.show { bottom: 0; }
.cookie-banner p { font-size: 0.9rem; margin: 0; max-width: 600px; color: var(--text-main); }

.btn-cookie-accept {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
}
.cookie-link { color: var(--text-muted); text-decoration: underline; font-size: 0.9rem; }

@media (max-width: 600px) {
    .cookie-banner { flex-direction: column; text-align: center; }
}

.lang-selector {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-right: 20px; /* Separarlo del resto */
}
/* Seleccionamos los enlaces dentro del selector de idiomas */
.lang-selector a {
    display: inline-block;
    min-width: 28px; /* Forzamos un ancho mínimo fijo */
    text-align: center; /* Centramos la letra dentro de su propia caja */
}
.lang-selector a:hover, .lang-selector a.active {
    color: var(--primary); /* Rojo/Dorado al pasar o estar activo */
}
.sep { color: rgba(255,255,255,0.2); }

/* =========================================
   CARTA: DISEÑO TEXTO (TEXT-ONLY)
   ========================================= */
.menu-grid-text {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en PC */
    column-gap: 80px; /* Separación amplia para respirar */
    row-gap: 35px;
}

.dish-text-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1); /* Línea guía elegante */
    padding-bottom: 15px;
    transition: transform 0.3s ease;
}

.dish-text-item:hover {
    transform: translateX(5px); /* Micro-interacción profesional */
}

.dish-header-text {
    display: flex;
    justify-content: space-between;
    align-items: baseline; /* Alinea los textos por la base tipográfica */
    margin-bottom: 8px;
}

.dish-header-text h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--text-main);
    margin: 0;
    padding-right: 15px;
}

.dish-header-text .price {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
    white-space: nowrap;
}

.dish-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    max-width: 90%; /* Evita que el texto llegue hasta el precio */
}

/* =========================================
   CARTA TEXTO: RESPONSIVE (MÓVIL / TABLET)
   ========================================= */
@media (max-width: 900px) {
    .menu-grid-text {
        grid-template-columns: 1fr; /* Pasa a 1 sola columna en dispositivos más pequeños */
        column-gap: 0;
        row-gap: 30px;
    }
    
    .dish-desc {
        max-width: 100%;
    }
}

/* ==============================================
   FOOTER MINIMALISTA I MODERN
   ============================================== */
.main-footer {
    background-color: #111; /* Fons profund i elegant */
    padding-top: 80px;
    padding-left: 40px;
    padding-right: 60px;
    padding-left: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Línia separadora subtil */
    font-family: 'DM Sans', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 0 0 60px 0; /* Només padding inferior, l'espai superior el dona main-footer */
    align-items: start; /* CRÍTIC: Manté totes les columnes alineades a dalt */
}

.footer-col h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary); 
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
    font-weight: 400; /* Més lleuger, propi de marques prèmium */
}

.footer-col p { 
    color: var(--text-muted); 
    line-height: 1.7; 
    font-size: 0.95rem;
    margin-bottom: 25px; 
}

/* Enllaços del footer */
.footer-links, .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li, .contact-list li { 
    margin-bottom: 15px; 
    font-size: 0.95rem;
}

.footer-links a { 
    color: var(--text-muted); 
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease; 
    display: inline-block;
}

.footer-links a:hover { 
    color: var(--primary); 
    transform: translateX(5px); /* Microinteracció: petit desplaçament a la dreta */
}

/* Icones socials (Disseny net, línia fina) */
.social-links { 
    display: flex; 
    gap: 15px; 
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; 
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Vora subtil en lloc de fons pesat */
    border-radius: 50%;
    color: var(--text-main);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links a:hover { 
    background: var(--primary); 
    border-color: var(--primary);
    color: #fff; 
    transform: translateY(-3px); /* Efecte d'elevació */
}

/* Llista de contacte */
.contact-list li { 
    display: flex; 
    gap: 15px; 
    color: var(--text-muted); 
    align-items: flex-start; /* Alineació superior per si el text ocupa dues línies */
}

.contact-list i { 
    color: var(--primary); 
    margin-top: 4px; /* Alineació visual perfecta amb la primera línia del text */
    font-size: 1.1rem;
}

.contact-list a {
    color: inherit;
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: var(--primary);
}

/* Barra inferior (Copyright) */
.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

    .footer-bottom .container {
        display: flex; 
        justify-content: space-between; 
        align-items: center;
    }

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4); /* Text molt tènue per no distreure */
    font-size: 0.85rem;
    margin: 0;
    letter-spacing: 0.5px;
}

.designer-credit a { 
    color: rgba(255, 255, 255, 0.7); 
    text-decoration: none; 
    transition: 0.3s; 
}

.designer-credit a:hover { 
    color: var(--primary); 
}

/* ==============================================
   RESPONSIVE FOOTER (TABLET & MÒBIL)
   ============================================== */
@media (max-width: 900px) {
    .footer-grid { 
        grid-template-columns: 1fr 1fr; /* 2 columnes en Tablet */
        gap: 60px 40px; /* 60px de respiració vertical entre files */
    }
}

@media (max-width: 600px) {
    .footer-grid { 
        grid-template-columns: 1fr; /* 1 columna en Mòbil */
        gap: 50px; 
        text-align: center; /* Centrat per facilitar la lectura en pantalles petites */
    }
    
    /* Centrem els elements flexibles en la vista mòbil */
    .social-links { 
        justify-content: center; 
    }
    
    .contact-list li { 
        flex-direction: column; /* Apilem icona i text */
        align-items: center;
        gap: 10px;
    }
    
    .contact-list i {
        margin-top: 0;
        font-size: 1.4rem; /* Icones una mica més grans al mòbil per destacar */
    }

    .footer-bottom .container { 
        flex-direction: column; 
        gap: 15px; 
        text-align: center;
    }
}

/* =========================================
   CARRUSEL DE RESEÑAS (NATIVO & OPTIMIZADO)
   ========================================= */

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    /* Aseguramos que las flechas puedan sobresalir un poco si es necesario */
    padding: 0 40px; 
}

.reviews-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 20px; /* Espacio para la sombra si la hay */
    /* Ocultar barra de scroll para estética limpia */
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

.reviews-track::-webkit-scrollbar {
    display: none; /* Oculta scroll en Chrome/Safari/Edge */
}

/* Ajuste de la tarjeta para el carrusel */
.reviews-track .review-card {
    flex: 0 0 calc(33.333% - 20px); /* 3 tarjetas por vista en PC */
    scroll-snap-align: start;
    /* Mantenemos tus estilos originales de tarjeta */
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    position: relative;
}

/* Flechas de navegación */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.carousel-arrow:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.prev-arrow { left: -10px; }
.next-arrow { right: -10px; }

/* Responsive del Carrusel */
@media (max-width: 900px) {
    .reviews-track .review-card {
        flex: 0 0 calc(50% - 15px); /* 2 tarjetas en tablet */
    }
}

/* =========================================
   CARRUSEL MÓVIL: CORRECCIÓN DE SCROLL Y FLECHAS
   ========================================= */
@media (max-width: 768px) {
    .carousel-wrapper {
        padding: 0 15px !important; /* Un poco de aire lateral para las flechas */
        position: relative;
    }

    .reviews-track {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important; /* CRÍTICO: Habilita el scroll táctil nativo */
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        gap: 15px; /* Reducimos el espacio entre tarjetas en móvil */
    }

    .reviews-track .review-card {
        flex: 0 0 100% !important; /* Ocupa el 100% del espacio visible en móvil */
        scroll-snap-align: center; /* Se centra perfectamente al hacer scroll */
        
        /* SOLUCIÓN BORDES: Un borde más claro y una sombra elegante */
        border: 1px solid rgba(255, 255, 255, 0.15) !important; 
        box-shadow: 0 8px 25px rgba(0,0,0,0.6);
        
        /* Forzamos que la tarjeta no se deforme */
        max-width: 100%;
    }

    /* SOLUCIÓN FLECHAS: Las volvemos a mostrar adaptadas a la pantalla pequeña */
    .carousel-arrow {
        display: flex !important; 
        width: 35px !important; 
        height: 35px !important;
        font-size: 1rem !important;
        background: rgba(26, 26, 26, 0.9) !important; /* Fondo semitransparente */
    }

    .prev-arrow { left: -5px !important; }
    .next-arrow { right: -5px !important; }
}

/* =========================================
   RESPONSIVE: TÍTULOS DE SECCIÓN (MÓVIL)
   ========================================= */
@media (max-width: 768px) {
    /* Reducimos el margen inferior que viene forzado por el HTML */
    .reviews-section .section-title {
        margin-bottom: 25px !important; 
    }

    /* Ajustamos el tamaño de la fuente y quitamos márgenes extraños */
    .section-title h2 {
        font-size: 2.2rem !important; /* Tamaño editorial, legible pero no invasivo */
        padding-left: 0 !important;   /* Forzamos el centrado anulando el padding de 40px previo */
        line-height: 1.2;
    }

    /* Refinamos el badge de Google para que acompañe sin quitar protagonismo */
    .google-rating-header {
        font-size: 0.8rem;
        margin-top: 10px;
        letter-spacing: 1px;
    }
}

/* =========================================
   BOTÓN CARTA (HOME) - ESTILO PREMIUM
   ========================================= */

/* Contenedor: Limpiamos los estilos inline del HTML */
.carta-cta-container {
    text-align: center;
    /* Un poco más de aire (80px en lugar de 60px) para que respire más y se vea más profesional */
    margin-top: 80px; 
    padding-bottom: 20px;
}

/* El Botón Outline Dorado */
.btn-outline-gold {
    display: inline-block;
    font-family: 'DM Sans', sans-serif; /* Tipografía limpia para botones */
    font-size: 0.9rem;
    font-weight: 700;
    /* Mismo espaciado de letras que usamos en el Ticker para coherencia de marca */
    letter-spacing: 3px; 
    text-transform: uppercase;
    
    /* Colores base: Texto dorado, fondo transparente, borde dorado sutil */
    color: var(--gold);
    background-color: transparent;
    border: 2px solid var(--gold);
    
    /* Espaciado interno elegante */
    padding: 16px 45px;
    border-radius: 4px; /* Bordes mínimamente redondeados, como en tus tarjetas de reseña */
    
    /* Transición suave para todos los efectos */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Efecto Hover (Al pasar el ratón) */
.btn-outline-gold:hover {
    /* El botón se rellena de dorado */
    background-color: var(--gold);
    /* El texto cambia a negro para contrastar perfectamente sobre el dorado */
    color: #000; 
    
    /* Pequeña elevación visual para dar feedback */
    transform: translateY(-3px);
    
    /* Un brillo dorado sutil detrás para dar profundidad */
    box-shadow: 0 10px 30px rgba(201, 160, 99, 0.3); 
}

/* Ajuste Responsive para Móviles */
@media (max-width: 768px) {
    .carta-cta-container {
        margin-top: 60px; /* Reducimos margen en móvil */
    }
    
    .btn-outline-gold {
        font-size: 0.8rem;
        letter-spacing: 2px;
        padding: 14px 35px;
        /* Hacemos que ocupe casi todo el ancho en móviles pequeños para facilitar el clic */
        width: 90%; 
        max-width: 320px;
    }
}

/* =========================================
   PRELOADER CINEMATOGRÁFICO
   ========================================= */
#elite-preloader {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-color: var(--bg-body); /* Fondo oscuro profundo */
    z-index: 99999; 
    display: flex;
    justify-content: center;
    align-items: center;
    /* Animación de apertura de telón hacia arriba */
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Esta clase se añadirá al finalizar los 3 segundos */
#elite-preloader.slide-up {
    transform: translateY(-100%);
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* La opacidad del contenido baja antes de que la cortina suba */
    transition: opacity 0.5s ease;
}

#elite-preloader.slide-up .preloader-content {
    opacity: 0;
}

/* Animación del Logotipo letra a letra */
.preloader-logo {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.preloader-logo .letter {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--gold);
    opacity: 0;
    transform: translateY(20px);
    animation: reveal-letter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.loading-percentage {
    font-family: 'DM Sans', sans-serif;
    color: var(--gold);
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-top: 15px;
    opacity: 0;
    animation: fade-in-text 0.5s ease forwards 0.5s; /* Aparece rápido */
}

/* Y asegúrate de tener los 13 delays para las nuevas letras (incluyendo el espacio) */
.preloader-logo .letter:nth-child(1)  { animation-delay: 0.1s; }
.preloader-logo .letter:nth-child(2)  { animation-delay: 0.2s; }
.preloader-logo .letter:nth-child(3)  { animation-delay: 0.3s; }
.preloader-logo .letter:nth-child(4)  { animation-delay: 0.4s; }
.preloader-logo .letter:nth-child(5)  { animation-delay: 0.5s; }
.preloader-logo .letter:nth-child(6)  { animation-delay: 0.6s; } /* Espacio */
.preloader-logo .letter:nth-child(7)  { animation-delay: 0.7s; }
.preloader-logo .letter:nth-child(8)  { animation-delay: 0.8s; }
.preloader-logo .letter:nth-child(9)  { animation-delay: 0.9s; }
.preloader-logo .letter:nth-child(10) { animation-delay: 1.0s; }
.preloader-logo .letter:nth-child(11) { animation-delay: 1.1s; }
.preloader-logo .letter:nth-child(12) { animation-delay: 1.2s; }
.preloader-logo .letter:nth-child(13) { animation-delay: 1.3s; }
.preloader-logo .letter:nth-child(14) { animation-delay: 1.4s; }
/* Mensaje de bienvenida */
.preloader-welcome {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 30px;
    opacity: 0;
    animation: fade-in-text 1s ease forwards 1.2s; 
}

/* Barra de progreso de 3 segundos exactos */
.loading-bar-container {
    width: 150px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1); /* Raíl de la barra */
    overflow: hidden;
}

.loading-bar-progress {
    width: 0%;
    height: 100%;
    background-color: var(--primary); /* El relleno en color pomodoro o dorado */
    /* Dura exactamente 3 segundos, coincidiendo con la lógica de JS */
    animation: fill-bar 3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}


/* Keyframes */
@keyframes reveal-letter {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-text {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fill-bar {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* =========================================
   RESPONSIVE EXCLUSIVO: PANTALLA DE CARGA
   ========================================= */
@media (max-width: 768px) {
    /* Le damos aire lateral solo al contenido del preloader */
    .preloader-content {
        padding-left: 25px;
        padding-right: 25px;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Achicamos un poco las letras para que respiren en móvil */
    .preloader-logo .letter {
        font-size: 1.5rem; 
    }
    
    /* Reducimos el espacio vacío entre ELITE y PIZZERIA */
    .preloader-logo .letter.space {
        width: 10px !important; 
    }
}

@media (max-width: 480px) {
    .preloader-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Tamaño exacto para que la palabra PIZZERIA no se parta en pantallas muy estrechas (ej. iPhone SE) */
    .preloader-logo .letter {
        font-size: 1.15rem; 
    }
}