/* --- 1. IMPORTACIÓN DE GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Caveat+Brush&family=Funnel+Display:wght@400;600;700&display=swap');

:root {
    /* --- PALETA ATREVIDA --- */
    --bg-carbon: #0B0908;       
    --bg-cafe: #211611;         
    --brand-red: #C3291D;       
    --red-vino: #632C1F;        
    --border-madera: #5A4E46;   
    --accent-terra: #8A5F49;    
    --accent-arena: #BEA68C;    
    --text-crema: #ECEAEA;      
    --text-white: #FFFFFF;      
    --text-dark: #211611;       
    
    /* --- TIPOGRAFÍAS --- */
    --font-heading: 'Caveat Brush', cursive;
    --font-body: 'Funnel Display', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-carbon);
    color: var(--text-crema);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- NAVEGACIÓN --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 40px 60px; 
    z-index: 1000;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

header.scrolled {
    background-color: rgba(11, 9, 8, 0.95); 
    padding: 20px 60px;
    border-bottom: 1px solid var(--border-madera);
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-group {
    list-style: none;
    display: flex;
    gap: 70px; 
}

nav a {
    text-decoration: none;
    color: var(--text-white);
    font-size: 0.85rem; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 8px; 
    transition: color 0.3s;
}

nav a:hover {
    color: var(--brand-red);
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: var(--brand-red);
    transition: width 0.3s ease;
}


nav a:hover::after, 
nav a.active::after {
    width: 45px; 
}

/* --- NAV: "Reserves" com a columna per al dropdown d'idioma --- */
.nav-reserves-li {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    gap: 4px;
}

.nav-reserves-li .lang-dropdown {
    margin-bottom: 0;
}

/* --- MOBILE: fila d'idiomes sota Reserves al menú mòbil --- */
.mobile-reserves-lang {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-lang-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mobile-lang-btn {
    background: none;
    border: none;
    color: var(--accent-arena);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    opacity: 0.45;
    transition: opacity 0.2s;
    padding: 2px 4px;
    text-transform: uppercase;
}

.mobile-lang-btn:hover { opacity: 0.8; }
.mobile-lang-btn.active { opacity: 1; color: var(--text-crema); }

.mobile-lang-sep {
    color: var(--accent-arena);
    opacity: 0.3;
    font-size: 0.75rem;
}

/* --- MENÚ SETMANAL: CTA a la dreta de la carta --- */

.menu-semanal-cta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 52px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(195, 41, 29, 0.15);
}

.menu-semanal-btn {
    background: none;
    color: var(--accent-arena);
    border: 1px solid #2a2220;
    border-radius: 5px;
    padding: 9px 20px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    white-space: nowrap;
}

.menu-semanal-btn:hover {
    border-color: var(--accent-arena);
    color: var(--text-crema);
    background: rgba(255,255,255,0.03);
}

/* --- DROPDOWN D'IDIOMES (a Reserves) --- */
.lang-dropdown {
    position: relative;
    display: inline-block;
    margin-bottom: 28px;
}

.lang-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid rgba(90, 78, 70, 0.4);
    border-radius: 5px;
    padding: 6px 12px;
    color: var(--accent-arena);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.lang-dropdown-trigger:hover {
    border-color: var(--accent-arena);
    color: var(--text-crema);
}

.lang-dropdown-arrow {
    font-size: 0.65rem;
    transition: transform 0.2s;
}

.lang-dropdown.open .lang-dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #1a1412;
    border: 1px solid rgba(90, 78, 70, 0.4);
    border-radius: 6px;
    overflow: hidden;
    min-width: 130px;
    z-index: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    animation: dropdownIn 0.18s ease both;
}

@keyframes dropdownIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

.lang-dropdown.open .lang-dropdown-menu {
    display: block;
}

.lang-dropdown-item {
    display: block;
    width: 100%;
    background: none;
    border: none;
    padding: 10px 16px;
    color: var(--accent-arena);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s, color 0.15s;
    opacity: 0.7;
}

.lang-dropdown-item:hover {
    background: rgba(195, 41, 29, 0.1);
    color: var(--text-crema);
    opacity: 1;
}

.lang-dropdown-item.active {
    color: var(--text-crema);
    opacity: 1;
    font-weight: 700;
}


/* --- MODAL MENÚ SETMANAL --- */
.weekly-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11, 9, 8, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.weekly-modal-overlay.open {
    display: flex;
}

.weekly-modal {
    background: #100d0c;
    border: 1px solid rgba(195, 41, 29, 0.2);
    border-radius: 14px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.3s ease both;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.93) translateY(12px); }
    to   { opacity: 1; transform: none; }
}

.weekly-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--accent-arena);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    z-index: 10;
    padding: 4px 8px;
}

.weekly-modal-close:hover { opacity: 1; }

.weekly-modal-inner {
    padding: 40px;
}

.weekly-modal-header {
    border-bottom: 1px solid rgba(90, 78, 70, 0.3);
    padding-bottom: 24px;
    margin-bottom: 28px;
}

.weekly-modal-tag {
    display: block;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 10px;
}

.weekly-modal-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    color: var(--text-crema);
    margin-bottom: 12px;
    letter-spacing: 1px;
    line-height: 1.1;
}

.weekly-modal-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.weekly-modal-price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--brand-red);
}

.weekly-modal-includes {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--accent-arena);
    opacity: 0.7;
    letter-spacing: 0.5px;
}

.weekly-modal-body {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 28px;
}

.weekly-modal-divider {
    background: rgba(90, 78, 70, 0.3);
    width: 1px;
}

.weekly-col-label {
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-arena);
    opacity: 0.6;
    margin-bottom: 14px;
}

.weekly-item-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.weekly-item-list li {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-crema);
    padding: 8px 0;
    border-bottom: 1px solid rgba(90, 78, 70, 0.15);
    line-height: 1.4;
}

.weekly-item-list li:last-child { border-bottom: none; }

.weekly-item-list li::before {
    content: '—';
    color: var(--brand-red);
    margin-right: 10px;
    opacity: 0.7;
}

.weekly-modal-footer {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(90, 78, 70, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--accent-arena);
    opacity: 0.5;
    letter-spacing: 1px;
}

/* --- HERO SECTION --- */

#hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-end; 
    padding-bottom: 3.5vh; /* Reduït de 8vh a 2vh per baixar el logo */
    text-align: center;
    
    background-image: 
        radial-gradient(circle at center, rgba(11, 9, 8, 0) 10%, rgba(11, 9, 8, 0.98) 85%), 
        linear-gradient(rgba(33, 22, 17, 0.3), rgba(33, 22, 17, 0.3)), 
        url('fons 3.webp');
    
    background-blend-mode: normal, multiply, normal;
    background-size: 150%; 
    background-position: center 75%; 
    background-attachment: fixed;
}

.hero-content {
    animation: fadeIn 1.5s ease-out;
    width: 100%;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hero-logo {
    will-change: filter, transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    height: 13.75rem; /* Un 25% més gran que abans (11rem * 1.25) */
    width: auto;
    max-width: 90vw;
    object-fit: contain;
    filter: drop-shadow(0px 15px 25px rgba(0, 0, 0, 0.9)) 
            drop-shadow(0px 0px 45px rgba(195, 41, 29, 0.3));
    opacity: 0.95;
}

/* --- SECCIONES GENÉRICAS --- */
.section {
    padding: 120px 20px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.dark-bg {
    background-color: var(--bg-carbon);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.important-heading {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--text-white);
    margin-bottom: 25px;
    letter-spacing: 2px;
    font-weight: normal;
}

p {
    font-size: 1.2rem;
    color: var(--text-crema);
}

/* --- SECCIÓ SOBRE NOSALTRES --- */
.about-split {
    display: flex;
    height: calc(100vh - 30px); 
    min-height: 500px; 
    padding: 0; 
    background-color: var(--bg-carbon);
    border-top: 1px solid var(--border-madera);
    scroll-margin-top: 65px; 
}

.about-text-half {
    flex: 1;
    padding: 10% 8%; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.about-title-split {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 10px;
    transform: skewX(-5deg);
    letter-spacing: 2px;
}

.red-brush-line {
    width: 140px;
    height: 4px;
    background-color: var(--brand-red);
    margin-bottom: 35px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(195, 41, 29, 0.4);
}

.about-text-half p {
    font-size: 1.15rem;
    color: var(--text-crema); 
    line-height: 1.7;
    margin-bottom: 50px;
    max-width: 550px;
}

.about-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-madera);
    transition: all 0.3s ease;
}

.about-link .arrow {
    color: var(--brand-red);
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.about-link:hover {
    color: var(--brand-red);
    border-bottom-color: var(--brand-red);
}

.about-link:hover .arrow {
    transform: translateX(10px); 
}

.about-image-half {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.about-image-half img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    filter: contrast(110%) brightness(0.85); 
    transition: transform 0.8s ease;
}

.about-image-half:hover img {
    transform: scale(1.05); 
}

/* --- SECCIÓN CARTA --- */
.red-menu-bg {
    background: linear-gradient(135deg, var(--brand-red) 0%, var(--red-vino) 100%);
    position: relative;
    padding: 120px 20px;
    overflow: hidden; 
    scroll-margin-top: 80px; 
}

.relative-z {
    position: relative;
    z-index: 5;
    max-width: 1450px; 
    margin: 0 auto;
}

.menu-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 75px; 
}

.menu-row.reverse {
    flex-direction: row-reverse;
}

.menu-text {
    flex: 1;
    text-align: left;
}

.menu-category-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    color: var(--bg-carbon); 
    line-height: 1.1;
    margin-bottom: 30px;
    transform: skewX(-5deg);
}

.menu-item-clean {
    margin-bottom: 25px;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(11, 9, 8, 0.15); 
    padding-bottom: 4px;
}

.menu-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white); 
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.menu-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white); 
}

.menu-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7); 
    margin: 0;
    line-height: 1.4;
    padding-right: 30px;
}

.menu-visuals {
    flex: 1;
    position: relative;
    min-height: 500px; 
    width: 100%;
}

.menu-visuals.single-pic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-pic {
    will-change: filter, transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    position: absolute;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0px 25px 35px rgba(11, 9, 8, 0.95)) contrast(110%);
    transition: transform 0.4s ease, z-index 0s;
}

.menu-pic:hover {
    transform: scale(1.05);
    z-index: 10 !important; 
}

.pic-1 { width: 340px; height: 340px; top: 0; left: 5%; z-index: 2; }
.pic-2 { width: 260px; height: 260px; bottom: 5%; right: 10%; z-index: 1; }
.pic-3 { width: 360px; height: 360px; bottom: 0; right: 5%; z-index: 2; }
.pic-4 { width: 240px; height: 240px; top: 5%; left: 10%; z-index: 1; }
.pic-5 { width: 420px; height: 420px; position: relative; z-index: 1; }

/* --- EXPERIÈNCIA --- */
#experiencia {
    padding: 60px 20px;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    scroll-margin-top: 80px; 
}

.experiencia-safe-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
}

.side-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px; 
    flex: 1;
    align-items: center;
    justify-content: center;
}

.gal-pic {
    width: 100%;
    max-width: 240px; 
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    filter: contrast(115%) brightness(0.7);
    box-shadow: 0 20px 40px rgba(11, 9, 8, 0.95);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.gal-pic:hover {
    filter: contrast(115%) brightness(1);
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 10;
}

.pic-tilt-left { transform: rotate(-3deg); }
.pic-tilt-right { transform: rotate(3deg); }

.left-gallery .pic-tilt-left { margin-right: 30px; }
.left-gallery .pic-tilt-right { margin-left: 30px; }
.right-gallery .pic-tilt-left { margin-left: 30px; }
.right-gallery .pic-tilt-right { margin-right: 30px; }

/* --- CARRUSEL CENTRAL --- */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 850px; 
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 2; 
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 400px; 
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px; 
}

.review-slide {
    position: absolute;
    width: 360px;
    padding: 45px 30px;
    background-color: var(--bg-cafe);
    border: 1px solid var(--border-madera);
    border-radius: 4px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
    text-align: center;
    box-shadow: 0 10px 30px rgba(11, 9, 8, 0.5);
}

.review-slide.active {
    transform: translateY(0) scale(1) translateZ(0); 
    opacity: 1;
    pointer-events: auto;
    z-index: 5;
    border-color: var(--brand-red);
    box-shadow: 0 15px 40px rgba(195, 41, 29, 0.15);
}

.review-slide.prev-1 { transform: translateY(-75%) scale(0.85) translateZ(-100px); opacity: 0.5; z-index: 4; }
.review-slide.next-1 { transform: translateY(75%) scale(0.85) translateZ(-100px); opacity: 0.5; z-index: 4; }
.review-slide.prev-2 { transform: translateY(-135%) scale(0.7) translateZ(-200px); opacity: 0.15; z-index: 3; }
.review-slide.next-2 { transform: translateY(135%) scale(0.7) translateZ(-200px); opacity: 0.15; z-index: 3; }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); 
    background: transparent;
    border: none;
    color: var(--brand-red);
    font-size: 3rem; 
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 10px;
}

.prev-btn { left: 5%; }
.next-btn { right: 5%; }

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.3); 
    color: var(--text-white);
}

/* --- CAROUSEL DOTS (Hidden on Desktop) --- */
.carousel-dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-top: 25px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-madera);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background-color: var(--brand-red);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(195, 41, 29, 0.5);
}

/* --- SECCIÓ RESERVES --- */
.reserves-split {
    position: relative;
    display: flex;
    width: 100%;
    height: calc(100vh - 75px); 
    min-height: 600px;
    padding: 0 !important; 
    margin: 0;
    background-color: var(--bg-carbon);
    overflow: hidden;
}

.reserves-content-left {
    width: 60%;
    background-color: var(--brand-red);
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    padding: 8% 12% 8% 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.reserves-image-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
}

.reserves-image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1); 
}

.reserves-title-canalla {
    font-family: var(--font-heading);
    font-size: 6rem;
    color: var(--bg-carbon);
    line-height: 1;
    margin-bottom: 20px;
    transform: skewX(-5deg);
}

.reserves-subtitle-clean {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 40px;
    font-weight: 700;
}

.reserves-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-outline-black {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    border: 2px solid var(--bg-carbon);
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--bg-carbon);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-outline-black:hover {
    background-color: var(--bg-carbon);
    color: var(--brand-red);
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(11, 9, 8, 0.4);
}

/* ======================================== */
/* --- MOBILE SECTION NAVIGATOR         --- */
/* ======================================== */
.mobile-section-nav {
    display: none;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 6px rgba(195, 41, 29, 0.4); }
    50%       { box-shadow: 0 0 14px rgba(195, 41, 29, 0.8); }
}

/* --- HAMBURGER MENU (Hidden on Desktop) --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
    position: relative;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--text-white);
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- MOBILE MENU OVERLAY (Hidden on Desktop) --- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: rgba(11, 9, 8, 0.97);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-menu li {
    margin-bottom: 35px;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    display: inline-block;
}

.mobile-menu a:hover,
.mobile-menu a:active {
    color: var(--brand-red);
}

/* ======================================== */
/* --- RESPONSIVE: TABLETS (max 900px)  --- */
/* ======================================== */
@media (max-width: 900px) {

    /* --- NAV --- */
    .hamburger { display: flex; }
    .nav-group { display: none !important; }
    .logo { display: none !important; }

    /* --- NAVEGADOR DE SECCIONS --- */
    .mobile-section-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        position: fixed;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 900;
    }

    .msn-label {
        writing-mode: vertical-rl;
        font-family: var(--font-body);
        font-size: 0.48rem;
        font-weight: 700;
        letter-spacing: 2.5px;
        color: var(--accent-arena);
        text-transform: uppercase;
        opacity: 0;
        transform: translateX(8px);
        transition: opacity 0.5s ease, transform 0.5s ease;
        margin-bottom: 4px;
        user-select: none;
    }

    .msn-label.visible {
        opacity: 0.6;
        transform: translateX(0);
    }

    .msn-dots {
        display: flex;
        flex-direction: column;
        gap: 9px;
        align-items: center;
    }

    .msn-dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: rgba(90, 78, 70, 0.4);
        border: none;
        cursor: pointer;
        transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0;
    }

    .msn-dot.active {
        background: var(--brand-red);
        height: 22px;
        border-radius: 3px;
        animation: dotPulse 2s ease-in-out infinite;
    }

    /* --- MENÚ SETMANAL CTA (Mobile) --- */
    .menu-semanal-cta {
        margin-bottom: 36px;
        padding-bottom: 22px;
    }

    .menu-semanal-btn {
        font-size: 0.78rem;
        letter-spacing: 2px;
    }

    /* --- MODAL MENÚ SETMANAL (Mobile) --- */
    .weekly-modal {
        max-height: 95vh;
        border-radius: 12px;
    }

    .weekly-modal-inner {
        padding: 28px 22px;
    }

    .weekly-modal-title {
        font-size: 2rem;
    }

    .weekly-modal-body {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .weekly-modal-divider {
        height: 1px;
        width: 100%;
        margin: 20px 0;
    }
    
    header {
        padding: 15px 20px;
    }

    
    header.scrolled {
        padding: 12px 20px;
    }
    
    nav {
        justify-content: flex-end;
    }

    #hero {
        background-attachment: scroll;
        background-size: cover;
        background-position: center 55%;
        padding-bottom: 4vh; /* Reduït de 10vh a 4vh */
        position: relative;
    }

    /* Recrear el degradat de transició de l'hero cap a la següent secció */
    #hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 55%;
        background: linear-gradient(to bottom,
            transparent 0%,
            rgba(11, 9, 8, 0.6) 50%,
            rgba(11, 9, 8, 1) 100%
        );
        pointer-events: none;
    }

    .hero-content {
        position: relative;
        z-index: 2;
    }

    .hero-logo {
    will-change: filter, transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
        height: 5.625rem; /* Un 25% més gran que abans (4.5rem * 1.25) */
    }

    /* --- SOBRE NOSALTRES --- */
    .about-split {
        flex-direction: column-reverse;
        height: 100dvh;
        min-height: 560px;
        overflow: hidden;
    }

    .about-image-half {
        flex: 0 0 45%;
        min-height: auto;
        width: 100%;
    }

    .about-text-half {
        flex: 0 0 55%;
        padding: 32px 28px 24px;
        justify-content: center;
        overflow: hidden;
    }

    .about-title-split {
        font-size: 2.4rem;
        margin-bottom: 8px;
        letter-spacing: 1px;
    }

    .red-brush-line {
        width: 70px;
        margin-bottom: 16px;
    }

    .about-text-half p {
        font-size: 0.92rem;
        line-height: 1.6;
        margin-bottom: 22px;
        max-width: 100%;
    }

    .about-link {
        font-size: 0.8rem;
        letter-spacing: 2px;
        padding-bottom: 6px;
    }

    /* --- CARTA --- */
    .red-menu-bg {
        padding: 80px 15px;
        scroll-margin-top: 60px;
    }

    .menu-row,
    .menu-row.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }

    .menu-category-title {
        font-size: 3rem;
        margin-bottom: 20px;
    }

    .menu-visuals {
        min-height: 280px;
        order: -1; /* Imágenes arriba del texto en mobile */
    }

    .menu-visuals.single-pic {
        min-height: 250px;
    }

    .menu-item-clean {
        margin-bottom: 18px;
    }

    .menu-desc {
        padding-right: 0;
    }

    .pic-1 { width: 200px; height: 200px; top: 0; left: 10%; }
    .pic-2 { width: 150px; height: 150px; bottom: 5%; right: 10%; }
    .pic-3 { width: 200px; height: 200px; top: 0; right: 10%; }
    .pic-4 { width: 150px; height: 150px; bottom: 5%; left: 10%; }
    .pic-5 { width: 260px; height: 260px; }

    /* --- EXPERIÈNCIA (REDISSENY MOBILE) --- */
    #experiencia {
        height: 100dvh;
        min-height: auto;
        padding: 55px 0 20px;
        overflow: hidden;
    }

    .experiencia-safe-layout {
        flex-direction: column;
        gap: 0;
        height: 100%;
    }

    /* --- RESEÑAS: Carrusel Horizontal Swipe --- */
    .carousel-container {
        order: 0;
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .carousel-btn {
        display: none !important;
    }

    .carousel-dots {
        display: flex !important;
    }

    .carousel-track {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px;
        padding: 8px 20px 5px 20px;
        height: auto;
        perspective: none;
        width: 100%;
        scrollbar-width: none;
    }

    .carousel-track::-webkit-scrollbar {
        display: none;
    }

    /* Override ALL slide states for horizontal layout */
    .review-slide,
    .review-slide.active,
    .review-slide.prev-1,
    .review-slide.next-1,
    .review-slide.prev-2,
    .review-slide.next-2 {
        position: relative !important;
        flex-shrink: 0;
        width: 78vw;
        max-width: 320px;
        padding: 22px 20px;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
        scroll-snap-align: center;
        z-index: auto !important;
        border-color: var(--border-madera);
        box-shadow: 0 8px 24px rgba(11, 9, 8, 0.5);
        transition: none;
    }

    .review-slide.active {
        border-color: var(--border-madera) !important;
    }

    /* --- GALERIA: Mosaic Grid 2×2 --- */
    .side-gallery {
        flex: 1;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
        gap: 6px;
        padding: 12px 14px 0;
        width: 100%;
    }

    .left-gallery {
        order: 1;
        margin-top: 14px;
    }

    .right-gallery {
        order: 2;
        margin-top: 0;
    }

    .gal-pic {
        flex: 1 1 calc(50% - 3px);
        max-width: calc(50% - 3px);
        height: 120px;
        border-radius: 5px;
        transform: none !important;
        margin: 0 !important;
        filter: contrast(110%) brightness(0.8);
    }

    /* --- RESERVES --- */
    .reserves-split {
        flex-direction: column;
        height: 100dvh;
        min-height: auto;
        overflow: hidden;
    }

    .reserves-content-left {
        flex: 0 0 55%;
        width: 100%;
        clip-path: none;
        padding: 55px 28px 22px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .reserves-image-right {
        position: relative;
        flex: 0 0 45%;
        width: 100%;
        height: auto;
    }

    .reserves-title-canalla {
        font-size: 2.8rem;
        margin-bottom: 10px;
    }

    .reserves-subtitle-clean {
        font-size: 0.78rem;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }

    .reserves-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .btn-outline-black {
        justify-content: center;
        width: 100%;
        font-size: 1.3rem;
        padding: 11px 20px;
    }
}

/* ======================================== */
/* --- RESPONSIVE: PHONES (max 480px)   --- */
/* ======================================== */
@media (max-width: 480px) {

    /* --- HERO --- */
    .hero-logo {
    will-change: filter, transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
        height: 5.75rem; /* Un 25% més gran que abans (3.8rem * 1.25) */
    }

    #hero {
        padding-bottom: 12vh; /* Reduït de 18vh a 12vh */
        background-position: center 55%;
    }

    /* --- SOBRE NOSALTRES --- */
    .about-image-half {
        flex: 0 0 35%;
    }

    .about-text-half {
        flex: 0 0 65%;
        padding: 24px 20px 18px;
    }

    .about-title-split {
        font-size: 2.3rem;
    }

    .about-text-half p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    .about-link {
        font-size: 0.78rem;
        letter-spacing: 1.5px;
    }

    /* --- CARTA --- */
    .red-menu-bg {
        padding: 65px 15px;
    }

    .menu-category-title {
        font-size: 2.6rem;
    }

    .menu-name {
        font-size: 1.05rem;
        letter-spacing: 1px;
    }

    .menu-price {
        font-size: 1.05rem;
    }

    .menu-desc {
        font-size: 0.9rem;
    }

    .menu-visuals {
        min-height: 240px;
    }

    .menu-visuals.single-pic {
        min-height: 220px;
    }

    .pic-1 { width: 165px; height: 165px; left: 2%; }
    .pic-2 { width: 130px; height: 130px; right: 2%; }
    .pic-3 { width: 165px; height: 165px; right: 2%; }
    .pic-4 { width: 130px; height: 130px; left: 2%; }
    .pic-5 { width: 220px; height: 220px; }

    /* --- EXPERIÈNCIA --- */
    .review-slide,
    .review-slide.active,
    .review-slide.prev-1,
    .review-slide.next-1,
    .review-slide.prev-2,
    .review-slide.next-2 {
        width: 75vw;
        max-width: 280px;
        padding: 22px 18px;
    }

    .review-slide .review-text {
        font-size: 0.88rem;
    }

    .review-slide .stars {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .review-slide .reviewer-name {
        font-size: 0.82rem;
    }

    .carousel-track {
        gap: 12px;
        padding: 8px 12px 4px 12px;
    }

    .gal-pic {
        height: 110px;
    }

    .left-gallery {
        margin-top: 15px;
    }

    /* --- RESERVES --- */
    .reserves-content-left {
        padding: 50px 20px 20px;
    }

    .reserves-title-canalla {
        font-size: 2.6rem;
        margin-bottom: 10px;
    }

    .reserves-subtitle-clean {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
        margin-bottom: 18px;
    }

    .btn-outline-black {
        font-size: 1.15rem;
        padding: 12px 18px;
        gap: 12px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

