:root {
            --color-cream: #f5ede2;
            --color-dark: #1d1d1b;
            --white: #ffffff;
            --font-main: 'Montserrat', sans-serif;
            --font-section-title: clamp(1rem, 0.2vw + 0.95rem, 1.3rem);
            --font-section-body: clamp(1rem, 0.3vw + 0.95rem, 1.5rem);
            --font-hero-text: clamp(1rem, 0.2vw + 0.95rem, 1.3rem);
            --vh-fix: 100vh; /* overridden by JS on mobile */
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        body,
        html {
            margin: 0;
            padding: 0;
            background-color: var(--color-cream);
            color: var(--color-dark);
            font-family: var(--font-main);
        }

        body {
            overflow-x: hidden;
        }

        /* FIXED CORNERS */
        .fixed-corner {
            position: fixed;
            z-index: 100;
            transform: translateY(calc(-1 * var(--footer-push, 0px)));
            will-change: transform;
        }

        .top-left {
            top: clamp(3vh, 5vw, 7vh);
            left: clamp(3vh, 5vw, 7vh);
        }

        .top-right {
            top: clamp(3vh, 5vw, 7vh);
            right: clamp(3vh, 5vw, 7vh);
        }

        .bottom-left {
            bottom: 3vh;
            left: clamp(3vh, 5vw, 7vh);
        }

        .bottom-right {
            bottom: 3vh;
            right: clamp(3vh, 5vw, 7vh);
        }

        .corner-row {
            display: flex;
            gap: clamp(12px, 0.5vw + 10px, 18px);
            align-items: flex-end;
        }

        .icon-wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
        }

        .icon-wrap img {
            width: clamp(56px, 2vw + 48px, 80px);
            height: clamp(56px, 2vw + 48px, 80px);
            object-fit: contain;
        }

        .icon-wrap.menu-icon img {
            width: clamp(73px, 2.6vw + 63px, 104px);
            height: clamp(56px, 2vw + 48px, 80px);
        }

        .label {
            font-size: clamp(1.05em, 0.6vw + 0.9em, 1.5em);
            font-weight: 600;
            letter-spacing: 0.8px;
            color: var(--color-dark);
        }

        .tilt-l {
            transform: rotate(-13deg);
        }

        .tilt-r {
            transform: rotate(11deg);
        }

        .tilt-r2 {
            transform: rotate(9deg);
        }

        .tilt-l2 {
            transform: rotate(-9deg);
        }

        /* CENTRAL BIG TITLE */
        .fixed-title {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, calc(-50% - var(--footer-push, 0px)));
            z-index: 30;
            width: 92%;
            max-width: 1920px;
            text-align: center;
            pointer-events: none;
        }

        .fixed-title img.logo-img {
            width: 100%;
            height: auto;
            display: block;
        }

        .tagline {
            font-family: var(--font-main);
            font-size: clamp(1.2rem, 2.2vw, 1.9rem);
            font-weight: 300;
            letter-spacing: 0.05em;
            margin-top: 10px;
            color: var(--color-dark);
        }

        /* BOTTOM CENTER BADGE */
        .bottom-center {
            position: fixed;
            bottom: 18px;
            left: 50%;
            transform: translate(-50%, calc(-1 * var(--footer-push, 0px)));
            z-index: 100;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3px;
        }

        .bottom-center .bottom-logo-mb {
            display: none;
        }

        .coop-badge {
            position: relative;
            width: 108px;
            height: 108px;
        }

        .coop-badge svg.ring-text {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .coop-badge .inner {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2px;
        }

        .coop-badge .inner img {
            width: 60px;
            height: auto;
        }

        .coop-badge .inner span {
            font-family: var(--font-main);
            font-size: 8px;
            font-weight: 600;
            letter-spacing: 0.3px;
            white-space: nowrap;
        }

        /* SCROLL */
        .scroll-container {
            position: relative;
            z-index: 20;
            scrollbar-width: none;
        }

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

        /* HERO */
        .hero-section {
            min-height: 80vh;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding-top: clamp(40px, 18vh, 80px);
            padding-bottom: 5vh;
            position: relative;
        }

        .hero-content {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            gap: clamp(40px, 7vw, 110px);
            max-width: clamp(750px, 65vw, 1000px);
            width: 100%;
            padding: 0 20px;
            z-index: 20;
        }

        .hero-photo {
            flex: 0 0 clamp(140px, 14vw, 220px);
            transform: translateY(-20px);
        }

        .hero-photo img {
            width: 100%;
            height: auto;
            display: block;
            box-shadow: 3px 4px 18px rgba(0, 0, 0, 0.13);
        }

        .hero-text {
            flex: 1;
        }

        .hero-text p {
            font-family: var(--font-main);
            font-size: var(--font-hero-text);
            line-height: 1.65;
            margin: 0;
            color: var(--color-dark);
            transform: translateY(clamp(15px, 3vw, 50px));
        }

        /* CUSTOM ANIMATION SECTIONS */
        #sec-casoncello {
            overflow: visible;
            padding-top: 15vh;
        }

        #bg-casoncello {
            transform: translate(-20vw, -15vh);
        }

        #bg-natura {
            transform: translate(15vw, -25vh);
        }

        #bg-incontro {
            transform: translate(0vw, -20vh);
        }

        /* SECTIONS */
        .scroll-section {
            position: relative;
            width: 100%;
            height: 85vh;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: visible;
        }

        .lottie-bg {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 1;
            pointer-events: none;
        }

        .lottie-bg lottie-player {
            width: 100%;
            max-width: 1000px;
        }

        .section-text {
            position: relative;
            z-index: 5;
            text-align: center;
            max-width: 580px;
            padding: 0 20px;
        }

        .section-text h2 {
            font-family: var(--font-main);
            text-transform: uppercase;
            font-size: var(--font-section-title);
            letter-spacing: 3px;
            margin-bottom: 18px;
        }

        .section-text p {
            font-family: var(--font-main);
            font-size: var(--font-section-body);
            line-height: 1.3;
        }


        .parallax-text {
            will-change: transform, opacity;
        }

        /* FOOTER */
        .site-footer {
            background-color: var(--white);
            border-top: 1px solid rgba(29, 29, 27, 0.12);
            padding: 60px 40px 40px;
        }

        .footer-inner {
            max-width: 1100px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: auto 1fr auto;
            gap: 48px;
            align-items: start;
        }

        .footer-brand {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .brand-circle-wrap--sm {
            width: 100px;
            height: 100px;
        }

        .brand-circle-svg {
            width: 100%;
            height: 100%;
        }

        .brand-name--footer {
            font-family: var(--font-main);
            font-size: 1rem;
            font-weight: 400;
            letter-spacing: 0.04em;
            margin: 0;
            color: var(--color-dark);
        }

        .footer-info {
            font-family: var(--font-main);
            font-size: 0.78rem;
            line-height: 1.8;
            color: var(--color-dark);
        }

        .footer-info p {
            margin: 0 0 4px;
        }

        .footer-info a {
            color: var(--color-dark);
            text-decoration: underline;
            text-underline-offset: 2px;
        }

        .footer-hours {
            font-size: 0.85rem;
            margin-bottom: 10px !important;
        }

        .footer-legal {
            margin-top: 14px !important;
            font-size: 0.68rem;
            opacity: 0.65;
            line-height: 1.6;
        }

        .footer-credit {
            margin-top: 10px !important;
            font-size: 0.7rem;
            opacity: 0.5;
        }

        .footer-nav {
            display: flex;
            flex-direction: column;
            gap: 12px;
            align-items: flex-end;
        }

        .footer-link {
            font-family: var(--font-main);
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 1.2px;
            text-transform: uppercase;
            color: var(--color-dark);
            text-decoration: none;
        }

        .footer-link:hover {
            text-decoration: underline;
        }


        /* SOCIAL CLUSTER CUSTOM STYLING */
        .social-cluster {
            position: relative;
            width: clamp(105px, 7.5vw + 81px, 150px);
            height: clamp(91px, 6.5vw + 70px, 130px);
        }

        .social-cluster a {
            position: absolute;
            display: block;
            transition: filter 0.2s, transform 0.2s;
        }

        .social-cluster a:hover {
            filter: brightness(1.1);
        }

        .social-cluster img {
            width: clamp(56px, 2vw + 48px, 80px);
            height: clamp(56px, 2vw + 48px, 80px);
            object-fit: contain;
        }

        .social-text {
            position: absolute;
            bottom: 5px;
            left: 5px;
            transform: rotate(8deg);
            z-index: 4;
            pointer-events: none;
        }

        .social-ig {
            top: 0px;
            left: 15px;
            transform: rotate(-13deg);
            z-index: 1;
        }

        .social-fb {
            bottom: 15px;
            right: -20px;
            transform: rotate(11deg);
            z-index: 3;
        }

        /* PRENOTA CLUSTER CUSTOM STYLING */
        .prenota-cluster {
            position: relative;
            width: clamp(105px, 7.5vw + 81px, 150px);
            height: clamp(91px, 6.5vw + 70px, 130px);
        }

        .prenota-cluster a {
            position: absolute;
            display: block;
            transition: transform 0.2s;
        }

        .prenota-cluster a:hover {
            filter: brightness(1.1);
        }

        .prenota-cluster img {
            width: clamp(56px, 2vw + 48px, 80px);
            height: clamp(56px, 2vw + 48px, 80px);
            object-fit: contain;
        }

        .prenota-text {
            position: absolute;
            top: 15px;
            left: -15px;
            transform: rotate(-24deg);
            z-index: 4;
            pointer-events: none;
        }

        .prenota-wa {
            top: 25px;
            right: 0px;
            transform: rotate(0deg);
            z-index: 1;
        }

        .prenota-email {
            bottom: -20px;
            left: 0px;
            transform: rotate(12deg);
            z-index: 3;
        }

        /* =============================================
           RESPONSIVE BREAKPOINTS
           ============================================= */

        /* ── TABLET LANDSCAPE & SMALL DESKTOP (≤1240px) ── */
        @media (max-width: 1240px) {
            .hero-photo,
            .hero-text {
                display: none !important;
            }

            .hero-section {
                min-height: 85vh;
            }
        }

        /* ── TABLET / MOBILE (≤992px) ── */
        @media (max-width: 992px) {
            .bottom-center {
                bottom: auto;
                top: 45%;
                transform: translate(-50%, calc(-100% - var(--footer-push, 0px)));
            }

            .bottom-center .bottom-logo-dt {
                display: none;
            }

            .bottom-center .bottom-logo-mb {
                display: flex;
            }

            /* Hero: uses --vh-fix set by JS */
            .hero-section {
                min-height: var(--vh-fix);
            }

            /* Scroll sections: exact height from JS, no vh units */
            .scroll-section {
                flex-direction: column;
                justify-content: flex-start;
                align-items: center;
                height: var(--vh-fix);
                min-height: 0;
                padding: 0;
                overflow: hidden;
            }

            #sec-casoncello {
                padding-top: 0;
            }

            /* Lottie: top 55% of viewport, above logo */
            .lottie-bg {
                position: relative;
                top: auto;
                left: auto;
                transform: none;
                /* 55% of the fixed viewport height */
                height: calc(var(--vh-fix) * 0.65);
                margin-bottom: 0;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;
            }

            .lottie-bg lottie-player {
                max-height: 100%;
                width: auto;
                max-width: 70vw;
                transform: none !important;
            }

            #bg-casoncello,
            #bg-natura,
            #bg-incontro {
                transform: none;
            }

            .text-overlay {
                font-size: 20px;
                padding: 0 15px;
                width: 90%;
            }

            /* Footer: 2-column at tablet */
            .footer-inner {
                grid-template-columns: 1fr 1fr;
                gap: 32px;
            }

            .footer-brand {
                grid-column: 1 / -1;
                align-items: flex-start;
            }

            .footer-nav {
                align-items: flex-end;
            }
        }

        /* ── MOBILE (≤768px) ── */
        @media (max-width: 768px) {
            
            .fixed-title {
    width: 70%;
}
            .bottom-left {
                bottom: 3vh;
            }

            .bottom-right {
                bottom: 3vh;
            }

            /* Footer collapses to single column */
            .footer-inner {
                grid-template-columns: 1fr;
                gap: 28px;
            }

            .footer-brand {
                align-items: flex-start;
            }

            .footer-nav {
                align-items: flex-start;
            }

            .site-footer {
                padding: 40px 24px 32px;
            }
        }

        /* ── SMALL MOBILE (≤480px) ── */
        /*
        @media (max-width: 480px) {
            .icon-wrap img {
                width: clamp(40px, 10vw, 56px);
                height: clamp(40px, 10vw, 56px);
            }

            .icon-wrap.menu-icon img {
                width: clamp(52px, 13vw, 73px);
                height: clamp(40px, 10vw, 56px);
            }

            .label {
                font-size: clamp(0.85em, 3vw, 1.05em);
            }

            .social-cluster,
            .prenota-cluster {
                width: clamp(80px, 22vw, 105px);
                height: clamp(70px, 19vw, 91px);
            }

            .social-cluster img,
            .prenota-cluster img {
                width: clamp(40px, 10vw, 56px);
                height: clamp(40px, 10vw, 56px);
            }

            .top-left {
                top: 2vh;
                left: 3vw;
            }

            .top-right {
                top: 2vh;
                right: 3vw;
            }

            .bottom-left {
                bottom: 2vh;
                left: 3vw;
            }

            .bottom-right {
                bottom: 2vh;
                right: 3vw;
            }

            .corner-row {
                gap: 8px;
            }

            .tagline {
                font-size: clamp(0.9rem, 4vw, 1.2rem);
            }

            .bottom-center .brand-logo-container {
                width: 140px !important;
            }

            .modal-text-content {
                padding: 0 16px;
                font-size: clamp(0.95rem, 4vw, 1.1rem);
            }

            .modal-close {
                top: 3vh;
                padding: 6px 16px;
                font-size: 0.8rem;
            }
        }
        
        */

        /* ── VERY SMALL / FOLD PHONES (≤360px) ── */
        @media (max-width: 360px) {
            .icon-wrap img {
                width: 36px;
                height: 36px;
            }

            .icon-wrap.menu-icon img {
                width: 47px;
                height: 36px;
            }

            .label {
                font-size: 0.8em;
            }

            .social-cluster img,
            .prenota-cluster img {
                width: 36px;
                height: 36px;
            }

            .social-cluster,
            .prenota-cluster {
                width: 75px;
                height: 65px;
            }

            .social-fb {
                right: -10px;
            }

            .prenota-text {
                left: -8px;
            }
        }

        /* ── LANDSCAPE MOBILE (short viewport) ── */
        /*
        @media (max-height: 500px) and (orientation: landscape) {
            .hero-section {
                min-height: 100vh;
                padding-top: 10vh;
            }

            .scroll-section {
                min-height: 100vh;
            }

            .fixed-title {
                width: 70%;
            }

            .bottom-center .brand-logo-container {
                width: 120px !important;
            }
        }
        */

        /* ORARI MODAL */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            height: 100dvh;
            background-color: rgba(245, 237, 226, 0.95);
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            backdrop-filter: blur(2px);
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-content {
            position: relative;
            text-align: center;
            color: var(--color-dark);
            margin-top: -5vh;
            max-height: 80vh;
            max-height: 80dvh;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        .modal-close {
            position: absolute;
            top: 5vh;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: none;
            border: 1.5px solid var(--color-dark);
            border-radius: 100px;
            cursor: pointer;
            padding: 8px 22px;
            font-family: var(--font-main);
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 0.8px;
            text-transform: uppercase;
            color: var(--color-dark);
            transition: background 0.2s, color 0.2s;
            white-space: nowrap;
        }

        .modal-close:hover {
            background: var(--color-dark);
            color: var(--color-cream);
        }

        .modal-close-icon {
            font-size: 1.2rem;
            line-height: 1;
            font-weight: 300;
        }

        .modal-close-text {
            font-size: 0.85rem;
        }

        .modal-title {
            font-family: var(--font-main);
            font-size: clamp(1.8rem, 3vw, 2.2rem);
            font-weight: 300;
            margin-bottom: 40px;
            letter-spacing: 0.05em;
        }

        .modal-text-content {
            max-width: 500px;
            margin: 0 auto;
            font-family: var(--font-main);
            font-size: clamp(1.1rem, 1.8vw, 1.3rem);
            font-weight: 400;
            line-height: 1.6;
            padding: 0 20px;
        }

        button#orari-modal-close {
            position: absolute;
            top: 40px;
            border-radius: 30px;
            padding: 5px 18px;
            background: #fff;
            z-index: 9999;
        }

        /* SECTION INDICATOR — mobile only (mini Lottie thumbnails) */
        .section-indicator {
            position: fixed;
            left: 12px;
            top: 50%;
            transform: translateY(calc(-50% - var(--footer-push, 0px)));
            z-index: 150;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            opacity: 0;
        }

        .section-thumb {
            width: 20px;
            height: 20px;
            opacity: 0.25;
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                        opacity 0.35s ease;
            pointer-events: none;
        }

        .section-thumb.active {
            opacity: 0.85;
            transform: scale(1.45);
        }

        /* SCROLL HINT — mobile hero */
        .scroll-hint {
            position: fixed;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 120;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            color: var(--color-dark);
            opacity: 0.5;
            animation: scrollHintBounce 1.8s ease-in-out infinite;
        }

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