/* =========================================
   1. CORE CONFIGURATION & THEME
   ========================================= */
   :root {
    --page-bg: #EAE6DF;         
    --header-bg: rgba(255, 255, 255, 0.95); 
    --text-main: #111111;
    --text-muted: #444444;
    --card-shadow: rgba(0,0,0,0.12);
    --nav-color: #b85a44;       
    --body-font: 'Jost', sans-serif;
    --accent-font: 'Jost', sans-serif;
    --header-padding-top: 30px;
    --header-padding-left: 50px;
    --logo-width-start: 220px;
    --logo-width-final: 55px;  
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body { 
    background-color: #EAE6DF !important; 
    color: var(--text-main); 
    font-family: var(--body-font); 
    overflow-x: hidden; 
    line-height: 1.5; 
    min-height: 100vh;
    transition: none !important; 
}
body.loading { overflow: hidden; height: 100vh; }

.noise-overlay { position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0.04; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); }

#app_blocker { display: none !important; }

body:not(.lang-en-active) .en-text { display: none !important; }
body.lang-en-active .it-text { display: none !important; }

/* =========================================
   2. HEADER, NAV & SPLASH SCREEN
   ========================================= */
#splash-screen { position: fixed; inset: 0; background-color: #EAE6DF !important; z-index: 100000; display: flex; justify-content: center; align-items: center; transition: opacity 0.8s ease; }
.splash-logo-img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: var(--logo-width-start); animation: pulseLogo 1.2s ease-in-out infinite alternate, moveLogoToHeader 1.2s cubic-bezier(0.65, 0, 0.35, 1) 2.2s forwards; }

@keyframes pulseLogo { 0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.95); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } }
@keyframes moveLogoToHeader { to { top: var(--header-padding-top); left: var(--header-padding-left); width: var(--logo-width-final); transform: translate(0, 0); } }

.site-header { position: fixed; top: 0; left: 0; width: 100%; padding: var(--header-padding-top) var(--header-padding-left); display: flex; justify-content: space-between; align-items: center; z-index: 10010; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,0.05); }
.logo-container { display: flex; align-items: center; gap: 15px; text-decoration: none; color: var(--text-main); position: relative; z-index: 10011; }
.header-logo-img { width: var(--logo-width-final); opacity: 0; animation: fadeIn 0.1s linear 3.4s forwards; }
body:not(.loading) .header-logo-img { opacity: 1; animation: none; }
.header-name-animated { font-size: 1.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; display: flex; align-items: baseline; white-space: nowrap; opacity: 0; animation: fadeIn 0.8s ease 3.5s forwards; }
body:not(.loading) .header-name-animated { opacity: 1; animation: none; }
.expand { max-width: 0; opacity: 0; overflow: hidden; transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1); display: inline-block; }
.logo-container:hover .expand { max-width: 150px; opacity: 1; margin-right: 4px; }
@keyframes fadeIn { to { opacity: 1; } }

.lang-switcher { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; font-weight: 500; color: var(--text-main); margin-left: auto; margin-right: 30px; letter-spacing: 1px; z-index: 10012; cursor: pointer; opacity: 1; }
.lang-btn { transition: all 0.3s ease; color: #888; }
.lang-btn.active { color: var(--nav-color); border-bottom: 1px solid var(--nav-color); }
.lang-btn:hover { color: var(--text-main); }

.nav-menu { display: flex; gap: 25px; align-items: center; }
.nav-link { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; text-decoration: none; color: var(--text-main); font-weight: 600; transition: color 0.3s ease; }
.nav-link:hover { color: var(--nav-color); }
.contact-link, .active-link { color: var(--nav-color) !important; border-bottom: 1px solid var(--nav-color); padding-bottom: 2px; }

.menu-toggle { display: none; background: transparent; border: none; cursor: pointer; z-index: 100002; padding: 10px; }
.menu-toggle .bars { width: 24px; height: 16px; display: inline-block; position: relative; }
.menu-toggle .bars span { position: absolute; left: 0; right: 0; height: 2px; background: var(--text-main); transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s; }
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 7px; }
.menu-toggle .bars span:nth-child(3) { top: 14px; }

/* =========================================
   3. HERO HOME PAGE 3D
   ========================================= */
.hero-3d-section { position: relative; width: 100%; min-height: 100vh; padding-top: 150px; padding-bottom: 60px; display: flex; align-items: center; justify-content: center; overflow: hidden; opacity: 0; animation: contentReveal 1s ease 3.8s forwards; }
@keyframes contentReveal { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-swiper { width: 100%; padding-top: 50px; padding-bottom: 70px; overflow: visible; }
.hero-swiper .swiper-slide { width: 280px; height: 400px; border-radius: 16px; overflow: hidden; position: relative; box-shadow: 0 15px 40px rgba(0,0,0,0.15); background-color: #eee; opacity: 0.1; pointer-events: none; transition: opacity 0.6s ease, transform 0.6s ease; }
.hero-swiper .swiper-slide-prev, .hero-swiper .swiper-slide-next { opacity: 0.6; pointer-events: auto; cursor: pointer; }
.hero-swiper .swiper-slide-active { opacity: 1; pointer-events: auto; }
.hero-swiper .swiper-slide img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hero-swiper .swiper-slide-active img { transform: scale(1.05); }

.hero-swiper .slide-content { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 30px; background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; opacity: 0; transform: translateY(20px); transition: all 0.5s ease; pointer-events: none;}
.hero-swiper .swiper-slide-active:hover .slide-content { opacity: 1; transform: translateY(0); pointer-events: auto; }

.hero-swiper .slide-content h2 { font-family: var(--accent-font); font-size: 2rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; font-weight: 500; color:#fff; line-height: 1.2;}
.hero-swiper .slide-content p { font-size: 0.9rem; color: #eee; margin-bottom: 30px; max-height: 250px; overflow-y: auto; padding: 0 5px; }
.hero-swiper .slide-content .explore-btn { display: inline-block; padding: 12px 30px; background-color: transparent; color: #fff; border: 1px solid #fff; border-radius: 30px; text-decoration: none; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; font-weight: 600; transition: all 0.3s ease; }
.hero-swiper .slide-content .explore-btn:hover { background-color: var(--nav-color); border-color: var(--nav-color); }
.swiper-button-next, .swiper-button-prev { color: var(--nav-color) !important; transition: transform 0.3s ease; z-index: 10000 !important; padding: 20px; }
.swiper-button-next { right: 2vw !important; } .swiper-button-prev { left: 2vw !important; }
@media screen and (min-width: 768px) { .hero-swiper .swiper-slide { width: 450px; height: 600px; } .hero-swiper .slide-content h2 { font-size: 2.5rem; } .hero-swiper .slide-content p { font-size: 1rem; max-height: 350px; } }

/* =========================================
   4. GSAP CAROUSEL GALLERIE
   ========================================= */
.viewport-wrapper { height: auto; overflow: visible; position: relative; }
.content-scroll { display: block; width: 100%; }

@media (min-width: 1025px) {
    body:not(.normalize-scroll) .viewport-wrapper { bottom: 0; height: 100%; left: 0; overflow: hidden; position: fixed; right: 0; top: 0; width: 100%; }
    body:not(.normalize-scroll) .content-scroll { overflow: visible; }
    body:not(.normalize-scroll) .content-scroll .swiper-container { perspective: 2000px; }
    body:not(.normalize-scroll) .content-scroll .carousel .swiper-slide > * { outline: thin solid transparent; transform-style: preserve-3d; }
}

.wrapper { margin-inline: auto; width: 100%; max-width: 1800px; display: block; position: relative; } 

.carousel { --swiper-column-gap: 4.5rem; --swiper-slides-perview: 2.4; --swiper-col-width: calc(1 / var(--swiper-slides-perview)); --media-aspect-ratio: 3 / 2; display: block; position: relative;}

.carousel[data-gap="0"] { --swiper-column-gap: 0px !important; --swiper-slides-perview: 2.6 !important; }
.carousel[data-gap="0"] .card, .carousel[data-gap="0"] .media-container { border-radius: 0px !important; box-shadow: none !important; }
.carousel[data-gap="0"] .card:hover { transform: scale(1.02); z-index: 10; box-shadow: none !important; }

.carousel + .carousel { margin-top: 4.5rem; } 
[data-scrub] [class*="pin-spacer"]:before { background: var(--page-bg); content: ""; display: block; height: 100%; left: 0; pointer-events: none; position: absolute; top: 0; width: 100%; }
.swiper-column-gap { border: 0; height: 0.0625rem; margin: -0.0625rem calc(-1 * var(--swiper-column-gap)); position: absolute; width: var(--swiper-column-gap); pointer-events: none;}

.carousel .swiper-slide { height: auto; min-width: 0; position: relative; width: calc((100% - var(--swiper-column-gap) * (var(--swiper-slides-perview) + 1)) * var(--swiper-col-width)); }
.carousel .swiper-slide.vertical-slide { width: calc(((100% - var(--swiper-column-gap) * (var(--swiper-slides-perview) + 1)) * var(--swiper-col-width)) * 0.6) !important; }
.carousel .swiper-slide.vertical-slide .media-container { aspect-ratio: 3 / 4 !important; }

.card { background: transparent; display: block; height: 100%; position: relative; border-radius: 8px; transition: transform 0.4s ease; }
.media-container { aspect-ratio: var(--media-aspect-ratio); display: grid; position: relative; width: 100%; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px var(--card-shadow); z-index: 1; }
.media-container > * { aspect-ratio: inherit; grid-area: 1/-1; position: relative; }
:is(img, svg) { border: 0; display: block; height: auto; max-width: 100%; outline: none; user-select: none; }
.fit-cover { background-repeat: no-repeat; background-size: cover; height: 100%; object-fit: cover !important; width: 100%; cursor: zoom-in; }
.card:hover { transform: scale(1.02); } 
.no-interaction { pointer-events: none; }
.lightbox-trigger { pointer-events: auto; } 

.dummy-block { display: flex; align-items: center; justify-content: center; position: relative; width: 100%; min-height: 100vh; }
.dummy-block > div { align-items: center; display: flex; flex-direction: column; justify-content: center; margin-inline: auto; text-align: center; max-width: 1200px; padding: 80px 40px; }
.dummy-block h2 { font-family: var(--accent-font); font-size: 6rem; text-transform: uppercase; letter-spacing: 4px; color: var(--text-main); margin-bottom: 40px; line-height: 1.1;}
.dummy-block p { color: var(--text-muted); font-size: 1.6rem; line-height: 1.6; max-width: 900px;}

/* =========================================
   5. LIGHTBOX & BACK TO TOP
   ========================================= */
.lightbox-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--header-bg); z-index: 999999; display: none; justify-content: center; align-items: center; flex-direction: column; opacity: 0; transition: opacity 0.3s ease; }
.lightbox-overlay.active { display: flex; opacity: 1; }
.lightbox-overlay img { width: 95vw; height: 98vh; object-fit: contain; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); z-index: 100;}
.lightbox-close { position: absolute; top: 30px; right: 40px; color: var(--text-main); font-size: 50px; font-weight: 300; cursor: pointer; z-index: 1000000; transition: color 0.3s ease; }
.lightbox-close:hover { color: var(--nav-color); }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); color: var(--text-main); font-size: 50px; font-weight: 300; cursor: pointer; padding: 20px; user-select: none; z-index: 1000000; transition: color 0.3s ease;}
.lightbox-prev:hover, .lightbox-next:hover { color: var(--nav-color); }
.lightbox-prev { left: 2vw; } .lightbox-next { right: 2vw; }

.lightbox-caption { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.9); font-size: 0.9rem; letter-spacing: 1.5px; text-transform: uppercase; text-align: center; pointer-events: none; z-index: 2000; opacity: 0; transition: opacity 0.4s ease-in-out; background: none !important; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
#lightbox:hover .lightbox-caption { opacity: 1; }

@media (max-width: 768px) {
    .lightbox-caption { opacity: 1; font-size: 0.75rem; bottom: 20px; background: rgba(0,0,0,0.4) !important; padding: 5px 12px; border-radius: 15px; width: auto; max-width: 80%; }
}

#back-to-top { position: fixed; bottom: 40px; right: 40px; width: 50px; height: 50px; background-color: var(--nav-color); color: #fff; border: none; border-radius: 50%; font-size: 1.5rem; cursor: pointer; z-index: 9999; box-shadow: 0 4px 15px rgba(0,0,0,0.2); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); }
#back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ROTAZIONE MULTILINGUA & LOGICA LIGHTBOX MOBILE */
.rotate-warning { display: none; pointer-events: none; }

@media (max-width: 768px) and (orientation: portrait) {
    /* 1. Avviso di rotazione: si sovrappone a tutto MA non blocca i click (pointer-events: none) */
    .lightbox-overlay.active .rotate-warning { display: flex; flex-direction: column; justify-content: center; align-items: center; position: absolute; inset: 0; background-color: #111111; z-index: 9999990; text-align: center; padding: 30px; pointer-events: none !important; }
    
    body:not(.lang-en-active) .rotate-warning .en-text { display: none !important; }
    body.lang-en-active .rotate-warning .it-text { display: none !important; }
    
    .rotate-message { color: #ffffff; font-size: 1rem; font-weight: 500; letter-spacing: 1px; max-width: 250px; margin-top: 20px; }
    .phone-icon-animation { position: relative; width: 50px; height: 80px; margin-bottom: 20px; }
    .phone-body { width: 40px; height: 70px; border: 3px solid #ffffff; border-radius: 6px; margin: 0 auto; position: relative; animation: rotatePhone 2.5s ease-in-out infinite; }
    .phone-body::after { content: ''; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); width: 6px; height: 6px; border: 1px solid #fff; border-radius: 50%; }
    @keyframes rotatePhone { 0%, 10% { transform: rotate(0deg); } 40%, 60% { transform: rotate(90deg); } 90%, 100% { transform: rotate(0deg); } }
    
    /* 2. Nasconde foto e didascalie orizzontali dietro lo schermo nero */
    .lightbox-overlay.active img, .lightbox-overlay.active .lightbox-caption { opacity: 0 !important; }
    
    /* 3. FRECCE SEMPRE VISIBILI E CLICCABILI (Z-index altissimo e pointer-events attivi) */
    .lightbox-overlay.active .lightbox-prev, 
    .lightbox-overlay.active .lightbox-next { 
        display: flex !important; 
        opacity: 1 !important; 
        pointer-events: auto !important; 
        z-index: 9999999 !important; 
        background: rgba(0,0,0,0.6); 
        width: 55px; height: 55px; 
        justify-content: center; align-items: center; 
        border-radius: 50%; 
        font-size: 28px;
    }

    /* 4. Logica Foto Verticali (Sovrascritta tramite JS): Spegne il blocco */
    .lightbox-overlay.force-vertical-view .rotate-warning { display: none !important; }
    .lightbox-overlay.force-vertical-view img { opacity: 1 !important; display: block !important; }
    .lightbox-overlay.force-vertical-view .lightbox-caption { display: block !important; opacity: 1 !important; }
}

/* =========================================
   6. FOOTER
   ========================================= */
.site-footer { background-color: #0f0f0f; color: #fff; padding: 80px 50px 30px 50px; margin-top: 0; position: relative; z-index: 2; border-top-left-radius: 40px; border-top-right-radius: 40px; text-align: left;}
.footer-grid { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 50px; border-bottom: 1px solid #333; padding-bottom: 50px; margin-bottom: 30px; }
.footer-col h3 { font-family: var(--accent-font); font-size: 1.8rem; margin-bottom: 10px; font-weight: 500; color: #fff; line-height: 1.2;}
.footer-col h4 { font-size: 0.9rem; color: #888; text-transform: uppercase; margin-bottom: 20px; letter-spacing: 1px;}
.footer-col p { color: #ccc; }
.footer-col a { color: #ccc; text-decoration: none;} .footer-col a:hover {color: #fff;}
.cv-btn { display: inline-block; padding: 12px 24px; border-radius: 30px; border: 1px solid #fff; color: #fff; text-decoration: none; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; transition: background 0.3s, color 0.3s; }
.cv-btn:hover { background: #fff; color: #000; }
.footer-bottom { font-size: 0.8rem; color: #444; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; border-top: 1px solid #222; padding-top: 20px; margin-top: 20px; }
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; border-radius: 12px; background: #1a1a1a; border: 1px solid #333; color: #fff; font-family: var(--body-font); font-size: 0.9rem; outline: none; transition: border 0.3s;}
.contact-form button { padding: 15px; border-radius: 30px; background: var(--nav-color); color: #fff; border: none; font-family: var(--body-font); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: background 0.3s; }
.contact-form button:hover { background: #8f4432; }

/* =========================================
   7. COOKIE BANNER
   ========================================= */
.cookie-banner { position: fixed; bottom: -150%; left: 0; width: 100%; background: #111111; color: #ffffff; padding: 20px 50px; display: flex; justify-content: space-between; align-items: center; z-index: 2000000; box-shadow: 0 -10px 30px rgba(0,0,0,0.2); transition: bottom 0.6s cubic-bezier(0.25, 1, 0.5, 1); font-size: 0.9rem; }
.cookie-banner.show { bottom: 0; }
.cookie-content p { margin: 0; line-height: 1.4; color: #ccc; }
.cookie-content a { color: var(--nav-color); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 15px; }
.cookie-btn { padding: 10px 20px; border-radius: 30px; font-family: var(--body-font); font-weight: 600; font-size: 0.8rem; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease; }
.cookie-btn.accept { background: var(--nav-color); color: #fff; border: 1px solid var(--nav-color); }

/* =========================================
   8. MENU DROPDOWN COMPATTO (1699px)
   ========================================= */
   @media (min-width: 1700px) {
    .menu-toggle { display: none !important; }
    #main-nav { display: flex !important; position: static !important; background: transparent !important; padding-top: 0 !important; width: auto !important; flex-direction: row !important; }
}

@media (max-width: 1699px) { 
    :root { --header-padding-top: 15px; --header-padding-left: 20px; --logo-width-start: 180px; --logo-width-final: 45px; }
    .site-header { padding: 15px 20px; }
    .site-header > .lang-switcher { display: flex !important; margin-right: 20px; z-index: 10011; } 
    
    #main-nav { display: none; }
    .menu-toggle { display: inline-flex !important; z-index: 2000005 !important; }
    
    .site-header.nav-open #main-nav { 
        display: flex !important; 
        position: absolute; 
        top: 75px; 
        right: 20px; 
        width: 250px; 
        height: auto; 
        max-height: 75vh; 
        overflow-y: auto; 
        background: #ffffff; 
        border-radius: 12px; 
        box-shadow: 0 15px 50px rgba(0,0,0,0.25); 
        padding: 15px 20px; 
        z-index: 2000000 !important; 
        flex-direction: column; 
        align-items: flex-start; 
        border: 1px solid rgba(0,0,0,0.05);
        overscroll-behavior: contain; 
    }

    .site-header.nav-open .menu-toggle .bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--nav-color); }
    .site-header.nav-open .menu-toggle .bars span:nth-child(2) { opacity: 0; }
    .site-header.nav-open .menu-toggle .bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--nav-color); }
    
    .site-header.nav-open #main-nav .nav-link { font-size: 1.1rem; padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(0,0,0,0.05); margin: 0; text-align: left; color: var(--text-muted); }
    .site-header.nav-open #main-nav .nav-link:last-of-type { border-bottom: none; }
    .site-header.nav-open #main-nav .contact-link { margin-top: 5px; }
}

/* =========================================
   9. SMARTPHONE RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .header-name-animated { font-size: 1.1rem; }
    .dummy-block h2 { font-size: 2.2rem; }
    .dummy-block p { font-size: 1.1rem; }
    .carousel .swiper-slide { width: 98vw !important; margin: 0 auto; }
    .carousel .swiper-slide.vertical-slide { width: 75vw !important; }
    .carousel .swiper-slide.vertical-slide .media-container { aspect-ratio: 4 / 5 !important; }
    .carousel[data-gap="0"] { --swiper-slides-perview: 1.2 !important; }
    
    .footer-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
    .site-footer { padding: 50px 25px 30px 25px !important; }
    .footer-bottom { flex-direction: column; gap: 15px; align-items: flex-start !important; }

    .cookie-banner { flex-direction: column !important; text-align: center !important; padding: 20px !important; gap: 15px !important; }
    .cookie-buttons { justify-content: center; flex-wrap: wrap; }
}

/* =========================================
   10. CURSORE PERSONALIZZATO
   ========================================= */
@media (min-width: 1025px) {
    body { cursor: none; }
    a, button { cursor: pointer; }
    
    #custom-cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 22px; 
        height: 22px;
        border-radius: 50%;
        background-color: var(--nav-color); 
        pointer-events: none;
        z-index: 99999999;
        transform: translate(-50%, -50%);
        transition: width 0.3s cubic-bezier(0.23, 1, 0.32, 1), 
                    height 0.3s cubic-bezier(0.23, 1, 0.32, 1), 
                    background-color 0.3s ease;
        mix-blend-mode: difference; 
        opacity: 1 !important; 
    }

    #custom-cursor.hover-photo {
        width: 90px; 
        height: 90px;
        background-color: rgba(255, 255, 255, 0.1); 
        backdrop-filter: blur(3px);
        border: 2px solid rgba(255, 255, 255, 0.8);
    }
}

@media (max-width: 1024px) {
    #custom-cursor { display: none !important; }
}

/* =========================================
   11. OTTIMIZZAZIONE FLUIDITÀ
   ========================================= */
@media (min-width: 1025px) {
    .carousel .swiper-wrapper {
        will-change: transform; 
        transform: translateZ(0); 
    }
    .media-container img {
        transform: none;
        will-change: auto;
    }
}