/* ============================================
   LA SCARPETTA — EDITORIAL 2026
   Radical structural redesign
   ============================================ */

/* ─── DESIGN TOKENS ─── */
:root {
    --white: #FFFFFF;
    --off-white: #FAFAF8;
    --cream: #F5F3EF;
    --warm-50: #F0EEEA;
    --warm-100: #E5E2DC;
    --warm-200: #D4D0C8;
    --warm-300: #B8B3A8;
    --warm-400: #9A948A;
    --warm-500: #7A756C;
    --warm-600: #5C584F;
    --warm-700: #3D3A33;
    --warm-800: #2A2721;
    --warm-900: #1A1815;

    --gold: #B8963E;
    --gold-light: #D4B86A;
    --gold-dark: #8B6F1E;
    --gold-muted: rgba(184, 150, 62, 0.12);

    --text-primary: #1A1815;
    --text-secondary: #5C584F;
    --text-muted: #9A948A;

    --border: #E5E2DC;
    --border-light: #F0EEEA;
    --border-gold: rgba(184, 150, 62, 0.25);

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --dur: 0.35s;
    --dur-slow: 0.6s;

    --shadow-sm: 0 1px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);

    --section-gap: max(10vh, 72px);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-secondary);
    background: var(--white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color var(--dur) var(--ease); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================
   FLOATING HEADER
   Logo left — CTA + Hamburger right
   Transparent → frosted glass on scroll
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 48px;
    transition: padding 0.5s var(--ease-out), background-color 0.5s var(--ease-out), border-color 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
    transform: translateZ(0);
}

.site-header.scrolled {
    padding: 14px 48px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

/* On scrolled (white bg), hamburger lines go dark */
.site-header.scrolled .menu-icon span {
    background: var(--text-primary);
}

.header-logo img {
    height: 44px;
    width: auto;
    transition: height 0.5s var(--ease-out), opacity 0.5s var(--ease-out);
}

.site-header.scrolled .header-logo img {
    height: 38px;
}

.header-logo:hover img {
    opacity: 0.8;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-cta {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    padding: 10px 28px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.header-cta:hover {
    background: var(--white);
    color: var(--text-primary);
}

/* When scrolled (white bg), CTA reverts to gold */
.site-header.scrolled .header-cta {
    color: var(--gold);
    border-color: var(--gold);
}

.site-header.scrolled .header-cta:hover {
    background: var(--gold);
    color: var(--white);
}

/* Hamburger — refined, always visible
   NOTE: width = visual lines area + padding for touch target.
   With box-sizing: border-box, content = width − padding.
   Keep content area ≥ 20px so lines are visible. */
.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    cursor: pointer;
    z-index: 1002;
    padding: 10px;
    margin: -10px -6px -10px -10px;
}

.menu-icon span {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: width 0.4s var(--ease-out), transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out), background-color 0.4s var(--ease-out);
    transform-origin: center;
}

.menu-icon span:nth-child(1) { width: 100%; }
.menu-icon span:nth-child(2) { width: 60%; margin-left: auto; }
.menu-icon span:nth-child(3) { width: 80%; margin-left: auto; }

.menu-icon:hover span {
    width: 100%;
    background: var(--gold);
}

.menu-icon.active span {
    width: 100%;
    margin-left: 0;
}

.menu-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--gold);
}
.menu-icon.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: var(--gold);
}

/* ============================================
   OFF-CANVAS NAVIGATION
   Slides from the right on ALL screen sizes
   ============================================ */
.off-canvas {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    z-index: 999;
    background: var(--white);
    box-shadow: -8px 0 40px rgba(0,0,0,0.08);
    transform: translate3d(100%, 0, 0);
    transition: transform 0.5s var(--ease-out);
    overflow-y: auto;
    will-change: transform;
}

.off-canvas.active {
    transform: translate3d(0, 0, 0);
}

.off-canvas-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    padding: 120px 48px 48px;
}

.off-canvas-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.off-canvas-links a {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 300;
    font-style: italic;
    color: var(--text-primary);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    transition: all var(--dur) var(--ease);
}

.off-canvas-links a:hover {
    color: var(--gold);
    padding-left: 12px;
    border-bottom-color: var(--gold);
}

.off-canvas-cta {
    margin-top: 16px;
    text-align: center;
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase;
    color: var(--gold) !important;
    border: 1px solid var(--gold) !important;
    padding: 16px 0 !important;
}

.off-canvas-cta:hover {
    background: var(--gold) !important;
    color: var(--white) !important;
}

.off-canvas-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
}

.off-canvas-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.off-canvas-phone i {
    color: var(--gold);
    font-size: 13px;
}

.off-canvas-phone:hover {
    color: var(--gold);
}

.language-switcher-mobile {
    display: flex;
    gap: 10px;
}

.lang-button-mobile {
    padding: 6px;
    border: 1px solid var(--border-light);
    transition: all var(--dur) var(--ease);
}

.lang-button-mobile:hover {
    border-color: var(--gold);
}

.flag-icon {
    width: 24px;
    height: 16px;
    border-radius: 1px;
    display: block;
}

/* ============================================
   HERO — FULL VIEWPORT
   ============================================ */
.hero-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 600px;
    overflow: hidden;
}

.slider-container {
    position: absolute;
    inset: 0;
}

.slider-image {
    position: absolute;
    inset: 0;
}

.slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
    transform: scale(1.03);
}

.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.10) 0%,
        rgba(0,0,0,0.02) 40%,
        rgba(0,0,0,0.20) 75%,
        rgba(0,0,0,0.45) 100%
    );
    z-index: 2;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#custom-logo {
    max-width: 480px;
    width: 80%;
    height: auto;
    filter: drop-shadow(0 8px 32px rgba(0,0,0,0.3)) brightness(1.15);
    animation: floatLogo 7s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(20px, 3.5vw, 32px);
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 3px;
    text-align: center;
    margin-top: 8px;
}

.hero-scroll-cue {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 9px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: scrollCuePulse 3s ease-in-out infinite;
}

.scroll-line {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 100%);
    animation: scrollLineGrow 2s ease-in-out infinite;
}

@keyframes scrollCuePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

@keyframes scrollLineGrow {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   ABOUT — EDITORIAL OVERLAP
   Full-width image + overlapping text block
   ============================================ */
.about-editorial {
    position: relative;
    padding: var(--section-gap) 0;
}

.about-image-strip {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    height: 55vh;
    min-height: 360px;
    overflow: hidden;
}

.about-image-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

.about-image-strip:hover img {
    transform: scale(1.02);
}

.about-text-block {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
    padding: 56px 48px;
    background: var(--white);
    text-align: center;
    z-index: 2;
}

.about-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 16px;
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 300;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: 1px;
}

.about-text-block p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 300;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 400;
    border-bottom: 1px solid var(--border-gold);
    transition: all var(--dur) var(--ease);
}

.about-link:hover {
    border-bottom-color: var(--gold);
    gap: 12px;
}

.about-link i {
    font-size: 11px;
    transition: transform var(--dur) var(--ease);
}

.about-link:hover i {
    transform: translateX(3px);
}

/* ============================================
   MENU — EDITORIAL
   Gold rules + centered title
   ============================================ */
.menu-editorial {
    padding: var(--section-gap) 40px;
    background: var(--off-white);
    text-align: center;
}

.menu-editorial-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
}

.gold-rule {
    display: block;
    width: 60px;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
}

.menu-editorial-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 68px);
    font-weight: 300;
    font-style: italic;
    color: var(--text-primary);
    letter-spacing: 2px;
    white-space: nowrap;
}

.pdf-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

#the-canvas {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

#the-canvas.slide-out-to-left {
    transform: translateX(-100%);
    opacity: 0;
}

#the-canvas.slide-out-to-right {
    transform: translateX(100%);
    opacity: 0;
}

.pdf-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.pdf-controls button {
    display: none;
    background: var(--white);
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 9px 16px;
    font-size: 13px;
    transition: all var(--dur) var(--ease);
}

.pdf-controls button:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.loading { display: none; }

/* Menu Upload (Admin) */
.menu-upload-form {
    background: var(--white);
    padding: 32px;
    margin: 32px auto;
    max-width: 560px;
    text-align: center;
    border: 1px solid var(--border);
}

.menu-upload-form h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.menu-upload-form input[type="file"] { display: none; }

.menu-upload-form label {
    display: inline-block;
    padding: 12px 24px;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all var(--dur) var(--ease);
}

.menu-upload-form label:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.menu-upload-form button[type="submit"] {
    display: inline-block;
    padding: 12px 28px;
    background: var(--gold);
    color: var(--white);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 12px;
    transition: all var(--dur) var(--ease);
}

.menu-upload-form button[type="submit"]:hover {
    background: var(--gold-dark);
}

/* ============================================
   GALLERY — FULL-BLEED CAROUSEL
   Cinematic 21:9, arrows + dots overlaid
   ============================================ */
.gallery-fullbleed {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: var(--section-gap) 0;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slides-wrapper {
    display: flex;
    transition: transform var(--dur-slow) var(--ease-out);
}

.carousel-image {
    min-width: 100%;
    display: flex;
    justify-content: center;
}

.carousel-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 21 / 9;
    object-fit: cover;
}

/* Arrows — visible, overlaid */
.previous, .next {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    color: var(--white);
    font-size: 18px;
    background: rgba(26, 24, 21, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    cursor: pointer;
    z-index: 3;
    transition: all var(--dur) var(--ease);
}

.previous { left: 24px; }
.next { right: 24px; }

.previous:hover, .next:hover {
    background: var(--gold);
}

/* Dots — overlaid on image */
.gallery-fullbleed .carousel-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
    padding: 0;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--dur) var(--ease);
}

.carousel-dot.active,
.carousel-dot:hover {
    background: var(--gold);
    transform: scale(1.3);
}

/* PDF indicators (non-overlaid, in menu section) */
.pdf-controls .carousel-indicators {
    display: flex;
    gap: 8px;
    padding: 0;
}

/* ============================================
   CONTACT — UNIFIED MINIMAL
   Centered text, no cards, gold dashes
   ============================================ */
.contact-minimal {
    padding-top: var(--section-gap);
}

.contact-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px var(--section-gap);
}

.contact-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 12px;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 300;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.contact-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
    transition: color var(--dur) var(--ease);
}

.contact-line i {
    color: var(--gold);
    font-size: 15px;
    min-width: 20px;
}

.contact-line:hover {
    color: var(--gold);
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 16px;
    transition: all var(--dur) var(--ease);
}

.contact-social a:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.contact-hours {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.hours-line {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.hours-dash {
    width: 24px;
    height: 1px;
    background: var(--gold);
    opacity: 0.5;
}

.hours-note {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* Map — full-bleed */
.map-fullbleed {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.map-fullbleed iframe {
    width: 100%;
    height: 320px;
    border: none;
    display: block;
    filter: saturate(0.7) contrast(0.95);
    transition: filter var(--dur-slow) var(--ease);
}

.map-fullbleed:hover iframe {
    filter: saturate(1) contrast(1);
}

/* ============================================
   FOOTER — UNIFIED MINIMAL
   ============================================ */
.footer-minimal {
    background: var(--warm-900);
    padding: 40px 24px;
    text-align: center;
}

.footer-inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-copy {
    font-size: 12px;
    color: var(--warm-400);
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.footer-links a {
    font-size: 11px;
    color: var(--warm-400);
    letter-spacing: 0.5px;
    transition: color var(--dur) var(--ease);
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-links .admin-link {
    color: #c0392b;
}

.footer-credit {
    font-size: 10px;
    color: var(--warm-500);
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
#cookie-consent-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--text-primary);
    padding: 14px 24px;
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 16px rgba(0,0,0,0.05);
    transform: translateZ(0);
}

#cookie-consent-modal h2 { display: none; }

#cookie-consent-modal p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    flex: 1;
}

#cookie-consent-modal button {
    padding: 10px 22px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-left: 10px;
    transition: all var(--dur) var(--ease);
}

#cookie-consent-modal button:first-of-type {
    background: var(--gold);
    color: var(--white);
}

#cookie-consent-modal button:first-of-type:hover {
    background: var(--gold-dark);
}

#cookie-consent-modal button:last-of-type {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

#cookie-consent-modal button:last-of-type:hover {
    border-color: var(--text-secondary);
    color: var(--text-secondary);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-section {
    opacity: 0;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s var(--ease-out) forwards;
}

@keyframes fadeInLeft {
    to { opacity: 1; transform: translateX(0); }
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s var(--ease-out) forwards;
}

@keyframes fadeInRight {
    to { opacity: 1; transform: translateX(0); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--ease-out) forwards;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.fade { animation: fade 1.2s ease-in-out; }

/* Page Flash (language switch) */
@keyframes pageFlash {
    0% { background-color: rgba(184, 150, 62, 0); }
    50% { background-color: rgba(184, 150, 62, 0.03); }
    100% { background-color: rgba(184, 150, 62, 0); }
}

.page-flash::before {
    content: '';
    position: fixed;
    inset: 0;
    background-color: rgba(184, 150, 62, 0.03);
    animation: pageFlash 0.3s ease-in-out;
    pointer-events: none;
    z-index: 9999;
}

/* ============================================
   UTILITY (legacy compat)
   ============================================ */
.IlMenu {
    font-family: var(--font-display);
    font-size: 25px !important;
    color: var(--gold);
    text-align: center;
}
.IlMenu h1 { font-size: 50px !important; color: var(--text-primary) !important; }
.IlMenu a { color: var(--gold) !important; }

.containerMenu {
    margin: 0 auto;
    padding: 48px;
    text-align: center;
}
.containerMenu img { width: 100%; box-shadow: var(--shadow-md); }

#nascondi { display: none; }
.grabbing { cursor: grabbing; }
.prev2, .next2 { display: none; }

.slider-section {
    max-width: 1200px;
    margin: auto;
    padding: 24px;
}

/* Form Elements (generic) */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 400;
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    font-size: 14px;
    background: var(--white);
    color: var(--text-primary);
    transition: border-color var(--dur) var(--ease);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    outline: none;
}

/* ============================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .site-header {
        padding: 20px 32px;
    }

    .site-header.scrolled {
        padding: 14px 32px;
    }

    .about-text-block {
        margin: 0 32px;
        max-width: none;
        padding: 40px 36px;
    }

    .menu-editorial {
        padding: var(--section-gap) 24px;
    }

    .carousel-image img {
        aspect-ratio: 16 / 9;
    }
}

/* ============================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================ */
@media (max-width: 768px) {
    .site-header {
        padding: 16px 20px;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom: 1px solid rgba(184, 150, 62, 0.08);
    }

    .site-header.scrolled {
        padding: 12px 20px;
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 2px 12px rgba(0,0,0,0.04);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .header-logo img {
        height: 36px;
    }

    .site-header.scrolled .header-logo img {
        height: 32px;
    }

    .header-cta {
        display: none;
    }

    .header-actions {
        gap: 0;
    }

    .menu-icon {
        width: 42px;
        gap: 5px;
        padding: 10px;
        margin: -10px 0 -10px -10px;
    }

    /* Mobile always has white bg header → dark hamburger */
    .menu-icon span {
        background: var(--text-primary);
    }

    /* Off-canvas full-width on mobile */
    .off-canvas {
        width: 100%;
        max-width: 100vw;
    }

    .off-canvas-inner {
        padding: 100px 32px 40px;
    }

    .off-canvas-links a {
        font-size: 28px;
    }

    /* Hero */
    .hero-banner {
        min-height: 560px;
    }

    #custom-logo {
        max-width: 340px;
    }

    .hero-tagline {
        font-size: 18px;
        letter-spacing: 2px;
        padding: 0 20px;
    }

    .hero-scroll-cue {
        bottom: 28px;
    }

    /* About — editorial */
    .about-text-block {
        margin: 0 16px;
        padding: 32px 24px;
    }

    .about-title {
        font-size: 36px;
    }

    .about-text-block p {
        font-size: 15px;
    }

    /* Menu */
    .menu-editorial {
        padding: var(--section-gap) 8px;
    }

    .menu-editorial-title {
        font-size: 38px;
    }

    .gold-rule {
        width: 32px;
    }

    .pdf-container {
        padding: 8px;
        margin: 0;
        border: none;
        box-shadow: none;
    }

    /* Gallery */
    .carousel-image img {
        aspect-ratio: 4 / 3;
    }

    .previous, .next {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .previous { left: 12px; }
    .next { right: 12px; }

    .gallery-fullbleed .carousel-indicators {
        bottom: 16px;
    }

    /* Contact */
    .contact-inner {
        padding: 0 16px var(--section-gap);
    }

    .contact-title {
        font-size: 32px;
        margin-bottom: 28px;
    }

    .contact-line {
        font-size: 13px;
    }

    .map-fullbleed iframe {
        height: 260px;
    }

    /* Cookie */
    #cookie-consent-modal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 12px 16px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    #cookie-consent-modal p {
        text-align: center;
        font-size: 12px;
        width: 100%;
        margin-bottom: 6px;
    }

    #cookie-consent-modal button {
        margin: 0 4px;
        padding: 9px 18px;
        font-size: 10px;
    }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================ */
@media (max-width: 480px) {
    .site-header {
        padding: 14px 16px;
    }

    .header-logo img {
        height: 32px;
    }

    .menu-icon {
        width: 40px;
        gap: 4px;
    }

    #custom-logo {
        max-width: 280px;
    }

    .hero-tagline {
        font-size: 16px;
        letter-spacing: 1.5px;
    }

    .about-text-block {
        margin: 0 12px;
        padding: 28px 20px;
    }

    .about-title {
        font-size: 30px;
    }

    .about-text-block p {
        font-size: 14px;
    }

    .about-label {
        font-size: 10px;
        letter-spacing: 4px;
    }

    .menu-editorial {
        padding: var(--section-gap) 4px;
    }

    .menu-editorial-title {
        font-size: 32px;
    }

    .gold-rule {
        width: 24px;
    }

    .pdf-container {
        padding: 4px;
    }

    .off-canvas-inner {
        padding: 90px 24px 32px;
    }

    .off-canvas-links a {
        font-size: 24px;
    }

    .contact-title {
        font-size: 28px;
    }

    .contact-line {
        font-size: 12px;
    }

    .contact-social a {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .hours-line {
        font-size: 13px;
        gap: 8px;
    }

    .hours-dash {
        width: 16px;
    }

    .footer-minimal {
        padding: 32px 16px;
    }
}

/* ============================================
   RESPONSIVE — EXTRA SMALL (≤ 360px)
   ============================================ */
@media (max-width: 360px) {
    .site-header {
        padding: 12px 14px;
    }

    .header-logo img {
        height: 28px;
    }

    .menu-icon {
        width: 38px;
        gap: 4px;
    }

    #custom-logo {
        max-width: 240px;
    }

    .about-title {
        font-size: 26px;
    }

    .about-text-block p {
        font-size: 13px;
    }

    .menu-editorial {
        padding: var(--section-gap) 2px;
    }

    .menu-editorial-title {
        font-size: 24px;
    }

    .pdf-container {
        padding: 2px;
    }

    .contact-title {
        font-size: 26px;
    }

    .contact-social a {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* ============================================
   ACCESSIBILITY & PRINT
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .site-header, .off-canvas, .footer-minimal, #cookie-consent-modal {
        display: none !important;
    }
}
