spost/* Palette Colori SI-MA SRL */
:root {
    --sima-primary: #18202d;          /* Blu antracite scuro - brand/CTA */
    --sima-secondary: #9ea7b9;        /* Blu grigio chiaro - hover/link secondari */
    --sima-accent: #a4adbc;           /* Grigio freddo neutro - bordi/linee */
    --sima-bg-main: #ffffff;          /* Bianco puro - background principale */
    --sima-bg-alt: #f6f9fd;           /* Azzurro chiarissimo - sezioni alternate */
    --sima-text-main: #101722;        /* Blu notte profondo - titoli/testi scuri */
    --sima-text-secondary: #7c808f;   /* Grigio grafite - testi lunghi */
    --sima-borders: #a4adbc;          /* Grigio tecnico chiaro - bordi/ombre */
    --sima-footer: #101722;           /* Blu notte - footer/background scuro */
    --sima-hover: #003b73;            /* Blu industriale - hover/microaccenti */
}

/* Reset e base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

/* 🔧 Reset generale per evitare spazi extra */
html {
    margin: 0;
    padding: 0;
    height: auto;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    height: auto;
}

body {
    margin: 0;
    padding: 0;
    height: auto;
    font-family: 'Outfit', sans-serif;
    background: #e6ebf1;
    color: var(--sima-text-main);
    width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}
svg {
    max-width: 100%;
    height: auto;
}

/* =============================
   LegalBlink cookie banner fix
   Posiziona il banner fuori dal flusso
   ============================= */
body > div[id*="lb-cs"]:not([id*="overlay"]):not([class*="overlay"]):not([id*="modal"]):not([class*="modal"]),
body > div[class*="lb-cs"]:not([id*="overlay"]):not([class*="overlay"]):not([id*="modal"]):not([class*="modal"]),
body > div[id*="lb_cs"]:not([id*="overlay"]):not([class*="overlay"]):not([id*="modal"]):not([class*="modal"]),
body > div[class*="lb_cs"]:not([id*="overlay"]):not([class*="overlay"]):not([id*="modal"]):not([class*="modal"]) {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 0px) !important;
    transform: translateX(-50%) !important;
    width: min(96vw, 640px) !important;
    max-width: 640px !important;
    margin: 0 auto !important;
    z-index: 99990 !important;
    pointer-events: auto !important;
}

/* Mantieni il badge nascosto quando LegalBlink lo occulta */
body > div[id*="lb-cs"][style*="display: none"],
body > div[class*="lb-cs"][style*="display: none"],
body > div[id*="lb_cs"][style*="display: none"],
body > div[class*="lb_cs"][style*="display: none"] {
    display: none !important;
}

/* Assicurati che il body non cresca quando il modal è aperto */
body.lb-cs-modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
}

/* Nascondi il pulsante mobile-only su desktop */
.hero-cta-mobile {
    display: none;
}

/* Nascondi h2-sezione-1 nella hero-section su desktop (verrà mostrato nella sezione-1) */
.hero-section .h2-sezione-1 {
    display: none !important;
}

/* Nascondi anche con specificità più alta per sicurezza */
@media screen and (min-width: 821px) {
    .home .hero-section .h2-sezione-1,
    .hero-section .h2-sezione-1 {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    /* Forza il bottone "Richiedi assistenza" blu su desktop */
    .hero-cta-button {
        background: #18202d !important;
    }
    
    .hero-cta:hover .hero-cta-button {
        background: #2d3e50 !important;
    }
}

/* Nascondi le icone mobile su desktop */
.icona-mobile {
    display: none;
}

/* Container principale per centrare il contenuto */
.main-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    background: #e6ebf1;
    padding-top: 100px;
    margin: 0;
    padding-bottom: 0;
    overflow-x: hidden;
}

/* Wrapper interno per centrare il contenuto */
.home {
    position: relative;
    max-width: 1728px;
    width: 100%;
    margin: 0 auto;
    background: transparent;
    padding: 0 clamp(20px, 3vw, 60px) 0;
    /* Aumentato per evitare seconda scrollbar e dare respiro sotto il footer */
    min-height: clamp(2700px, 192vw, 3280px);
}

/* Header fisso in alto con flexbox */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background: rgba(16, 23, 34, 0.5);
    border-bottom: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, calc((100vw - 1410px) / 2), 10vw);
}

/* Logo area - responsive */
.logo {
    width: clamp(120px, 11.57vw, 200px);
    height: auto;
    aspect-ratio: 200 / 60;
    background: transparent url('contenuti/loghi/SIMA-LOGO_BIANCO.png') center/contain no-repeat;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Menu - flexbox aligned - SOLO DESKTOP */
@media (min-width: 821px) {
    .menu {
        display: flex;
        align-items: center;
        gap: clamp(20px, 3.47vw, 60px);
    }
}

/* Desktop piccoli 821-1400px: padding e gap fissi per menu identico su tutte le pagine */
@media (min-width: 821px) and (max-width: 1400px) {
    /* Forza header padding su TUTTE le pagine */
    html body .header,
    html body.home-page .header,
    html body.servizi-page .header,
    html body.contatti-page .header,
    html body.body-sezione2 .header {
        padding: 0 40px !important;
    }
    /* Forza logo width su TUTTE le pagine */
    html body .logo,
    html body.home-page .logo,
    html body.servizi-page .logo,
    html body.contatti-page .logo,
    html body.body-sezione2 .logo {
        width: 160px !important;
    }
    /* Forza menu gap su TUTTE le pagine */
    html body .menu,
    html body.home-page .menu,
    html body.servizi-page .menu,
    html body.contatti-page .menu,
    html body.body-sezione2 .menu {
        gap: 35px !important;
    }
    /* Container padding */
    .home {
        padding: 0 40px !important;
    }

    /* Layout grid per centrare il menu in modo stabile - SOLO per desktop reali */
    @media (min-width: 1401px) {
        .header {
            display: grid !important;
            grid-template-columns: 160px 1fr 160px;
            align-items: center;
            gap: 0;
        }
        .logo { grid-column: 1; }
        .menu { grid-column: 2; justify-content: center !important; }
        .hamburger-menu { display: none !important; }

        /* Sposta i testi del menù a destra di 150px solo su Home/Servizi/Contatti */
        html body.home-page .menu,
        html body.servizi-page .menu,
        html body.contatti-page .menu,
        html body.body-sezione2 .menu {
            transform: translateX(300px);
        }
    }
}

/* Schermi molto piccoli <821px */
@media (max-width: 820px) {
    .header {
        padding: 0 20px !important;
    }
}

.sfondo-header {
    display: none;
}

/* Rimuove qualsiasi linea/pseudo-elemento accidentale nella barra del menù */
.header::before,
.header::after,
.menu::before,
.menu::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
    box-shadow: none !important;
    background: none !important;
}

/* Ulteriore hardening: elimina pseudo-elementi di qualsiasi figlio dell'header */
.header *::before,
.header *::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
    box-shadow: none !important;
    background: none !important;
}
.header { overflow: hidden; }
.header, .header * { border: 0 !important; }

/* Menu Items - SOLO DESKTOP */
@media (min-width: 821px) {
    .testo-menu1, .testo-menu2, .testo-menu3, .testo-menu4, .testo-menu5, .testo-menu6 {
        font-family: 'Outfit';
        font-style: normal;
        font-weight: 400;
        font-size: 18px;
        line-height: 30px;
        color: #ffffff !important;
        text-decoration: none !important;
        padding: 5px 10px;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .testo-menu1:link, .testo-menu2:link, .testo-menu3:link, .testo-menu4:link, .testo-menu5:link, .testo-menu6:link,
    .testo-menu1:visited, .testo-menu2:visited, .testo-menu3:visited, .testo-menu4:visited, .testo-menu5:visited, .testo-menu6:visited,
    .testo-menu1:active, .testo-menu2:active, .testo-menu3:active, .testo-menu4:active, .testo-menu5:active, .testo-menu6:active {
        color: #ffffff !important;
        text-decoration: none !important;
    }

    .testo-menu1:hover, .testo-menu2:hover, .testo-menu3:hover, .testo-menu4:hover, .testo-menu5:hover, .testo-menu6:hover {
        background-color: rgba(255, 255, 255, 0.2);
        color: #101722 !important;
        text-decoration: none !important;
    }
}




/* Main Content - rimosso width fisso per permettere scaling */

/* Hero Section */
.foto-header {
    position: absolute;
    width: clamp(800px, 81.6%, 1410px);
    height: clamp(480px, 49.19vw, 850px);
    left: clamp(20px, 9.2%, 159px);
    top: clamp(30px, 2.89vw, 50px);
    background: #D9D9D9 url('contenuti/foto/immagine-test-sima.png') center/cover no-repeat;
    border-radius: 25px;
    display: none;
}

/* Scaling canvas 1728px rimosso per layout fluido */

.h1-hero {
    position: absolute;
    width: 100%;
    height: auto;
    left: 0;
    top: clamp(200px, 17.36vw, 300px);
    font-family: 'Outfit', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 30px;
    line-height: 60px;
    text-align: center;
    color: #18202d;
    text-shadow: none;
    margin: 0;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

.hero-line-1 {
    opacity: 1;
    display: block;
    font-size: clamp(40px, 4.9vw, 85px);
}

.hero-line-2 {
    font-size: clamp(40px, 4.9vw, 85px);
    opacity: 1;
    display: block;
    margin-top: 12px;
    /* transform-origin: left center; */
    font-weight: 600;
}

.hero-line-3 {
    opacity: 1;
    display: block;
    margin-top: 10px;
    font-size: inherit;
    /* transform-origin: left center; */
}

/* Desktop schermi piccoli (es. 1280-1366 width): alza e riduci titolo nuovo/usato */
@media (max-width: 1400px) and (min-width: 821px) {
    body.home-page .h1-hero { top: clamp(120px, 10vw, 180px) !important; }
    body.sezione2-page .h1-hero, body.body-sezione2 .h1-hero, .body-sezione2 .h1-hero { top: calc(clamp(200px, 17.36vw, 300px) - 50px) !important; }
    .h1-hero .hero-line-1,
    .h1-hero .hero-line-2 { font-size: clamp(32px, 3.6vw, 60px); }
    body.home-page .hero-video-container { top: clamp(70px, 7.5vw, 130px) !important; }
    body.home-page .hero-tagline { top: calc(clamp(300px, 24vw, 460px) - 30px) !important; }
    body.home-page .hero-cta { top: calc(clamp(340px, 27vw, 500px) - 30px) !important; left: calc(50% - clamp(70px, 5.21%, 90px) - 70px) !important; }
    body.home-page .hero-cta-text-only { top: calc(clamp(360px, 28vw, 520px) - 30px) !important; left: calc(50% + 15px) !important; }
    /* Uniforma gap H1 -> tagline / CTA anche per pagina servizi */
    body.servizi-page .hero-tagline { top: clamp(300px, 24vw, 460px) !important; }
    body.servizi-page .hero-cta { top: clamp(340px, 27vw, 500px) !important; left: calc(50% - clamp(70px, 5.21%, 90px) - 70px) !important; }
    body.servizi-page .hero-cta-text-only { top: clamp(360px, 28vw, 520px) !important; left: calc(50% + 15px) !important; }
    /* Alza sezione 5 home */
    body.home-page .h2-sezione-5 { top: clamp(1260px, 120vw, 2120px) !important; }
    body.home-page .testo-sezione-5 { top: clamp(1280px, 125vw, 2220px) !important; }
    /* Riduci altezza container per eliminare spazio sotto footer */
    .home { min-height: clamp(2480px, 178vw, 3040px) !important; }
    /* Usa solo scroll globale (browser) */
}

@media (max-width: 1200px) and (min-width: 821px) {
    body.home-page .h1-hero { top: clamp(100px, 9vw, 160px) !important; }
    body.sezione2-page .h1-hero, body.body-sezione2 .h1-hero, .body-sezione2 .h1-hero { top: calc(clamp(200px, 17.36vw, 300px) - 70px) !important; }
    .h1-hero .hero-line-1,
    .h1-hero .hero-line-2 { font-size: clamp(28px, 3.2vw, 52px); }
    body.home-page .hero-video-container { top: clamp(60px, 6.8vw, 115px) !important; }
    body.home-page .hero-tagline { top: calc(clamp(260px, 22vw, 420px) - 30px) !important; }
    body.home-page .hero-cta { top: calc(clamp(300px, 25vw, 460px) - 30px) !important; left: calc(50% - clamp(70px, 5.21%, 90px) - 70px) !important; }
    body.home-page .hero-cta-text-only { top: calc(clamp(320px, 26vw, 480px) - 30px) !important; left: calc(50% + 15px) !important; }
    /* Uniforma gap per pagina servizi nei breakpoint più stretti */
    body.servizi-page .hero-tagline { top: clamp(260px, 22vw, 420px) !important; }
    body.servizi-page .hero-cta { top: clamp(300px, 25vw, 460px) !important; left: calc(50% - clamp(70px, 5.21%, 90px) - 70px) !important; }
    body.servizi-page .hero-cta-text-only { top: clamp(320px, 26vw, 480px) !important; left: calc(50% + 15px) !important; }
    /* Alza sezione 5 home */
    body.home-page .h2-sezione-5 { top: clamp(1220px, 115vw, 2040px) !important; }
    body.home-page .testo-sezione-5 { top: clamp(1240px, 120vw, 2140px) !important; }
    /* Riduci altezza container per eliminare spazio sotto footer */
    .home { min-height: clamp(2420px, 172vw, 2960px) !important; }
    /* Usa solo scroll globale (browser) */
}

.industriali-highlight {
    font-size: inherit;
    color: #82ADE1;
    font-weight: 600;
}

/* Video hero - vicino al testo industriali */
.hero-video-container {
    position: absolute;
    width: clamp(250px, 23.15%, 400px);
    height: clamp(250px, 23.15%, 400px);
    right: clamp(50px, 11.57%, 200px);
    top: clamp(120px, 11.57vw, 200px);
    z-index: 2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Animazione luce che passa sui pulsanti */
@keyframes shine {
    0% {
        left: -100%;
    }
    50% {
        left: 200%;
    }
    100% {
        left: 200%;
    }
}

/* Hero CTA Button */
.hero-cta {
    position: absolute;
    width: clamp(140px, 10.42%, 180px);
    height: clamp(38px, 2.6%, 45px);
    left: calc(50% - clamp(70px, 5.21%, 90px) + 25px);
    margin-left: 0;
    margin-left: 0;
    top: clamp(450px, 37.04vw, 640px);
    cursor: pointer;
    text-decoration: none;
}

/* Hero CTA Text Only - senza bottone */
/* Hero Tagline */
.hero-tagline {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: clamp(400px, 33.56vw, 580px);
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    color: #18202d;
    text-align: center;
    margin: 0;
    width: 100%;
    letter-spacing: 0.5px;
}

.tagline-bold {
    font-weight: 600;
    font-size: 28px;
}

.hero-cta-text-only {
    position: absolute;
    left: calc(50% + 15px);
    margin-left: 0;
    margin-left: 0;
    top: clamp(460px, 37.62vw, 650px);
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-size: clamp(14px, 0.93vw, 16px);
    color: #18202d;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Maggiore distanza pulsanti su schermi grandi */
@media (min-width: 1401px) {
    /* Spostati entrambi 10px più a sinistra */
    .hero-cta { margin-left: clamp(-180px, -12.5vw, -220px); }
    .hero-cta-text-only { margin-left: 45px; }
}

.hero-cta-text-only:hover {
    color: var(--sima-hover);
    text-decoration: underline;
    transform: translateY(-2px);
}

.hero-cta-button {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--sima-primary);
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    animation: none;
}

.hero-cta:hover .hero-cta-button {
    background: var(--sima-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 32, 45, 0.3);
}

.hero-cta-text {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-size: clamp(14px, 0.93vw, 16px);
    color: #ffffff;
}

/* Hero CTA Button 2 - Lavatrici */
.hero-cta-2 {
    position: absolute;
    width: clamp(140px, 10.42%, 180px);
    height: clamp(38px, 2.6%, 45px);
    left: 50%;
    margin-left: 10px;
    top: clamp(450px, 37.04vw, 640px);
    cursor: pointer;
    text-decoration: none;
}

.hero-cta-button-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--sima-primary);
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-cta-button-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    animation: shine 1.5s ease-in-out 0.8s 1;
}

.hero-cta-2:hover .hero-cta-button-2 {
    background: var(--sima-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 32, 45, 0.3);
}

.hero-cta-text-2 {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
}

.pulsante-cta {
    position: absolute;
    width: clamp(200px, 14.93%, 258px);
    height: clamp(50px, 4.05vw, 70px);
    left: clamp(400px, 42.53%, 735px);
    top: clamp(380px, 31.37vw, 542px);
    cursor: pointer;
}

.sezione-cta {
    position: absolute;
    width: clamp(200px, 14.93%, 258px);
    height: clamp(50px, 4.05vw, 70px);
    left: 0px;
    top: 0px;
    background: var(--sima-primary);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.pulsante-cta:hover .sezione-cta {
    background: var(--sima-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 32, 45, 0.3);
}

.call-to-action {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 70px;
    text-align: center;
    color: var(--sima-bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sezione 1 */
.h2-sezione-1 {
    position: absolute;
    width: clamp(800px, 69%, 1200px);
    height: auto;
    left: clamp(20px, 6.77%, 117px);
    top: clamp(440px, 46vw, 820px);
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-size: clamp(40px, 4.63vw, 80px);
    line-height: 1.125;
    color: var(--sima-text-main);
}

.rettangolo-sezione-1 {
    position: absolute;
    width: clamp(300px, 27.78%, 480px);
    height: clamp(350px, 31.83vw, 550px);
    right: clamp(10px, 0.58%, 10px);
    top: clamp(150px, 16.78vw, 290px);
    background: transparent;
    border-radius: 0;
    overflow: visible;
    z-index: 100;
}

.rettangolo-sezione-1 video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.testo-sezione-1 {
    position: absolute;
    width: clamp(400px, 39.53%, 683px);
    height: auto;
    left: clamp(20px, 6.77%, 117px);
    top: clamp(620px, 55vw, 980px);
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-size: clamp(18px, 1.85vw, 32px);
    line-height: 1.25;
    color: #82ADE1;
    opacity: 1 !important;
    visibility: visible !important;
}

.furgone-animato {
    position: absolute;
    width: clamp(600px, 63.66%, 1100px);
    height: auto;
    right: -52.08%;
    top: clamp(460px, 49vw, 860px);
    transition: transform 0.8s ease-out;
    z-index: 100;
}

/* Icona assistenza animata (Servizi) */
.icona-assistenza-animata {
    position: absolute;
    width: clamp(60px, 5.79%, 100px);
    height: auto;
    right: clamp(60px, 6.94%, 120px);
    top: clamp(500px, 55.56vw, 960px);
    transform-origin: 50% 50%;
    /* Transizione morbida per cambio frame */
    transition: opacity 0.1s ease-out;
    will-change: transform;
    z-index: 110;
}

/* Tre Rettangoli */
.rettangolo-1,
.rettangolo-2 {
    position: absolute;
    width: clamp(280px, 21.88%, 378px);
    height: clamp(320px, 25.46vw, 440px);
    background: #000;
    border-radius: clamp(15px, 1.45vw, 25px);
    overflow: hidden;
}

.rettangolo-1 {
    left: clamp(30px, 15.45%, 267px);
    top: clamp(1000px, 92.65vw, 1601px);
}

.rettangolo-2 {
    left: clamp(320px, 39.06%, 675px);
    top: clamp(1000px, 92.65vw, 1601px);
    background: url('contenuti/foto/lavatrice-ambiente.jpeg') center/cover no-repeat;
}

.video-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.rettangolo-3 {
    position: absolute;
    width: clamp(280px, 21.88%, 378px);
    height: clamp(320px, 25.46vw, 440px);
    left: clamp(600px, 62.67%, 1083px);
    top: clamp(1000px, 92.65vw, 1601px);
    background: #D9D9D9 url('contenuti/foto/rettangolo3.jpg') center/cover no-repeat;
    border-radius: 25px;
    overflow: hidden;
}

/* Sezione 2 con sfondo grigio ed effetto filtro */
.rettangolo-sezione-bg {
    position: absolute;
    width: 100vw;
    height: clamp(500px, 46.3vw, 800px);
    left: 50%;
    transform: translateX(-50%);
    top: clamp(1300px, 130.56vw, 2256px);
    background: url('contenuti/foto/lavatrici-renzucci.JPG') center/cover no-repeat #f0f0f0;
    transition: filter 1.5s ease-in-out;
}

/* Immagine di base */
.rettangolo-sezione-bg {
    cursor: pointer;
    position: relative;
}

/* ===============================
   TEXT BOX PRESTAZIONI E SICUREZZA
   =============================== */

/* Wrapper per il testo con cornice sfumata nera trasparente */
.text-box-wrapper {
    position: absolute;
    left: clamp(30px, 15.45%, 267px);
    top: clamp(1350px, 136.17vw, 2353px);
    display: inline-block;
    padding: clamp(20px, 1.74vw, 30px) clamp(25px, 2.31vw, 40px);
    margin: 20px 0;
    border: 3px solid transparent;
    border-radius: clamp(10px, 0.87vw, 15px);
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(0, 0, 0, 0.6) 50%, 
        rgba(0, 0, 0, 0.5) 100%);
    max-width: clamp(400px, 37.62%, 650px);
    z-index: 5;
    overflow: hidden; /* IMPORTANTE: mantiene la luce dentro la cornice */
    
    /* Sempre visibile */
    opacity: 1;
    transform: scale(1);
}

/* Cornice blu sfumata verso nero - trasparente 60% */
.text-box-wrapper::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    background: linear-gradient(135deg, 
        rgba(24, 32, 45, 0.6) 0%, 
        rgba(0, 59, 115, 0.6) 25%, 
        rgba(0, 17, 34, 0.6) 50%, 
        rgba(0, 0, 0, 0.6) 100%);
    z-index: -1;
}

/* Override per il testo nel wrapper - colore bianco */
.text-box-wrapper .h2-sezione-2 {
    position: relative;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    z-index: 3;  /* sopra l'effetto luce (che sta a z-index: 2) */
    pointer-events: none;
    
    /* Sempre visibile */
    opacity: 1;
    transform: translateY(0);
}

.text-box-wrapper .testo-sezione-2 {
    position: relative;
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
    margin: 0;
    z-index: 3;  /* sopra l'effetto luce (che sta a z-index: 2) */
    pointer-events: none;
    
    /* Sempre visibile */
    opacity: 1;
    transform: translateY(0);
}

/* Stati animazione rimossi - effetto sempre visibile */

/* Testo sempre sopra la cornice/vela */
.h2-sezione-2,
.testo-sezione-2 {
    pointer-events: none;
    position: relative;
    z-index: 3;
}

.h2-sezione-2 {
    position: absolute;
    width: clamp(200px, 15.97%, 276px);
    height: auto;
    left: clamp(30px, 15.45%, 267px);
    top: clamp(1350px, 136.17vw, 2353px);
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-size: clamp(28px, 2.8vw, 40px);
    line-height: 1.25;
    color: var(--sima-text-main);
    z-index: 3;
}

.testo-sezione-2 {
    position: absolute;
    width: clamp(320px, 39.53%, 683px);
    height: auto;
    left: clamp(30px, 15.51%, 268px);
    top: clamp(1400px, 141.73vw, 2449px);
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: clamp(18px, 1.85vw, 36px);
    line-height: clamp(24px, 2.5vw, 45px);
    color: var(--sima-secondary);
    z-index: 3;
}

/* ===============================
   CAROSELLO - Sezione 3
   =============================== */

/* Pallini Carosello */
.pallino-1, .pallino-2, .pallino-3, .pallino-4 {
    position: absolute;
    width: clamp(8px, 0.69vw, 12px);
    height: clamp(8px, 0.69vw, 12px);
    background-color: #bbb;
    border-radius: 50%;
    top: clamp(1500px, 147.01vw, 2540px);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pallino-1 { left: calc(50% + 152px); background-color: #333; }
.pallino-2 { left: calc(50% + 184px); }
.pallino-3 { left: calc(50% + 216px); }
.pallino-4 { left: calc(50% + 248px); }

.pallino-1:hover, .pallino-2:hover, .pallino-3:hover, .pallino-4:hover {
    background-color: #333;
}

/* Frecce Carosello */
.freccia-sinistra, .freccia-destra {
    position: absolute;
    font-size: 30px;
    color: #666;
    cursor: pointer;
    top: 2540px;
    transform: translateY(-12px);
    user-select: none;
    transition: color 0.3s ease;
    font-weight: bold;
    line-height: 12px;
    display: flex;
    align-items: center;
    height: 12px;
}

.freccia-sinistra {
    left: calc(50% - 150px);
}

.freccia-destra {
    left: calc(50% + 520px);
}

.freccia-sinistra:hover, .freccia-destra:hover {
    color: #333;
}
.carosello-foto1 {
    position: absolute;
    width: clamp(400px, 34.72%, 600px);
    height: clamp(235px, 20.25vw, 350px);
    left: calc(50% - clamp(70px, 5.79vw, 100px));
    top: clamp(1250px, 125.12vw, 2160px);
    background: #D9D9D9;
    border-radius: 25px;
    overflow: hidden;
    border: 4px solid #18202d; /* Cornice blu scuro */
    box-shadow: 0 0 20px rgba(24, 32, 45, 0.5);
}

/* Immagini del carosello - vecchia e nuova */
.carosello-image-old,
.carosello-image-new {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.carosello-image-new {
    z-index: 1; /* Nuova immagine sopra la vecchia */
}

/* Overlay scuro sopra le immagini */
.carosello-image-old::after,
.carosello-image-new::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Overlay nero al 40% */
    pointer-events: none;
}

/* Animazioni per la nuova immagine che entra */
.carosello-image-new.slide-in-from-right {
    animation: slideInFromRight 0.6s ease-in-out forwards;
}

.carosello-image-new.slide-in-from-left {
    animation: slideInFromLeft 0.6s ease-in-out forwards;
}

/* Animazioni per la vecchia immagine che esce */
.carosello-image-old.slide-out-to-left {
    animation: slideOutToLeft 0.6s ease-in-out forwards;
}

.carosello-image-old.slide-out-to-right {
    animation: slideOutToRight 0.6s ease-in-out forwards;
}

/* Keyframes per entrare da destra */
@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Keyframes per entrare da sinistra */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Keyframes per uscire a sinistra */
@keyframes slideOutToLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Keyframes per uscire a destra */
@keyframes slideOutToRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

.h2-sezione-3 {
    position: absolute;
    width: clamp(500px, 46.3%, 800px);
    height: auto;
    left: clamp(30px, 6.77%, 117px);
    top: clamp(1250px, 125.12vw, 2160px);
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-size: clamp(36px, 5.5vw, 80px);
    line-height: clamp(42px, 6.2vw, 90px);
    color: var(--sima-text-main);
    z-index: 2;
}

.testo-sezione-3 {
    position: absolute;
    width: clamp(320px, 39.53%, 683px);
    height: auto;
    left: clamp(30px, 6.77%, 117px);
    top: clamp(1330px, 130.79vw, 2260px);
    z-index: 2;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-size: clamp(18px, 1.85vw, 32px);
    line-height: clamp(24px, 2.5vw, 40px);
    color: #82ADE1;
    text-shadow: none;
}

/* Controlli Carosello */
.controlli-carosello {
    position: relative;
    width: 100%;
    height: 0;
}

.sfere-carosello {
    position: absolute;
    width: clamp(100px, 8.1%, 140px);
    height: clamp(15px, 1.16vw, 20px);
    left: clamp(400px, 45.95%, 794px);
    top: clamp(2400px, 238.83vw, 4125px);
    display: flex;
    gap: 10px;
    align-items: center;
}

.ellipse {
    width: clamp(15px, 1.16vw, 20px);
    height: clamp(15px, 1.16vw, 20px);
    background: #D9D9D9;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ellipse.active,
.ellipse:first-child {
    background: #7C7C7C;
}

.chevron-left {
    position: absolute;
    width: clamp(15px, 1.16vw, 20px);
    height: clamp(25px, 2.02vw, 35px);
    left: clamp(30px, 15.45%, 267px);
    top: clamp(2395px, 238.3vw, 4117px);
    background: none;
    border: none;
    cursor: pointer;
    font-size: clamp(16px, 1.16vw, 20px);
    color: #000000;
}

.chevron-right {
    position: absolute;
    width: clamp(15px, 1.16vw, 20px);
    height: clamp(25px, 2.02vw, 35px);
    left: clamp(800px, 83.33%, 1440px);
    top: clamp(2395px, 238.3vw, 4117px);
    background: none;
    border: none;
    cursor: pointer;
    font-size: clamp(16px, 1.16vw, 20px);
    color: #000000;
}

/* Banner Google Recensioni */
.google-reviews-banner {
    position: absolute;
    width: clamp(700px, 69.44%, 1200px);
    left: 50%;
    transform: translateX(-50%);
    top: clamp(150px, 12.15vw, 210px);
    z-index: 10;
}

.google-reviews-link {
    display: inline-block;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    text-decoration: none;
    transition: none;
}

.google-reviews-link:hover {
    box-shadow: none;
    transform: none;
}

.google-reviews-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.reviews-stars {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-wrap: nowrap;
}

.star-icon {
    width: clamp(16px, 1.16vw, 20px);
    height: clamp(16px, 1.16vw, 20px);
    display: inline-block;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(75%) sepia(85%) saturate(1817%) hue-rotate(356deg) brightness(102%) contrast(98%);
}

.rating-number {
    font-family: 'Outfit';
    font-weight: 600;
    font-size: clamp(20px, 1.62vw, 28px);
    color: var(--sima-text-main);
    margin-left: 10px;
}

.reviews-text {
    font-family: 'Outfit';
    font-weight: 500;
    font-size: clamp(16px, 1.27vw, 22px);
    color: var(--sima-text-main);
    margin: 0;
}

/* Sezione 4 */
.h2-sezione-4 {
    position: absolute;
    width: clamp(900px, 92.59%, 1600px);
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    top: clamp(880px, 81vw, 1500px);
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-size: clamp(40px, 4.63vw, 80px);
    line-height: 1.125;
    text-align: center;
    color: var(--sima-text-main);
}

.testo-sezione-4 {
    position: absolute;
    width: clamp(700px, 69.10%, 1194px);
    height: auto;
    left: clamp(30px, 15.45%, 267px);
    top: clamp(1010px, 92vw, 1680px);
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-size: clamp(18px, 1.85vw, 32px);
    line-height: 1.25;
    text-align: center;
    color: #82ADE1;
}

/* Container icone Sezione 4 */
.icone-container {
    position: absolute;
    top: clamp(1120px, 102vw, 1870px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: clamp(100px, 23.15vw, 400px);
    justify-content: center;
    align-items: center;
}

.icona-wrapper {
    position: relative;
    width: clamp(40px, 3.24vw, 56px);
    height: clamp(40px, 3.24vw, 56px);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icona-base,
.icona-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: clamp(40px, 3.24vw, 56px);
    height: clamp(40px, 3.24vw, 56px);
    object-fit: contain;
    transition: all 0.3s ease-in-out;
}

.icona-base {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.icona-hover {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

.icona-wrapper:hover .icona-base {
    opacity: 0;
    visibility: hidden;
}

.icona-wrapper:hover .icona-hover {
    opacity: 1;
    visibility: visible;
}

.icona-testo {
    position: absolute;
    top: clamp(50px, 4.05vw, 70px);
    width: clamp(150px, 11.57%, 200px);
    text-align: center;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: clamp(14px, 1.04vw, 18px);
    line-height: 24px;
    color: var(--sima-text-secondary);
    margin: 0;
    padding: 0;
}

/* CTA "Le nostre lavatrici" - nascosto su desktop, visibile solo su mobile */
.mobile-only-cta {
    display: none !important;
}

/* Sezione 5 */
.sezione-5 {
    margin-bottom: 20px;
}

/* Nascondi card mobile sul desktop */
.story-slider-mobile,
.servizi-slider-mobile {
    display: none;
}

.h2-sezione-5 {
    position: absolute;
    width: clamp(900px, 92.59%, 1600px);
    height: auto;
    left: clamp(20px, 6.77%, 117px);
    top: clamp(1400px, 133.22vw, 2301px);
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-size: clamp(28px, 2.31vw, 40px);
    line-height: 1.25;
    text-align: left;
    color: var(--sima-text-main);
}

.rettangolo-sezione-5 {
    display: none; /* foto rimossa */
}

.rettangolo-sezione-5::before {
    content: none;
}

.cta-sezione-5 {
    position: relative;
    width: clamp(200px, 14.93%, 258px);
    height: clamp(55px, 4.05vw, 70px);
    cursor: pointer;
    z-index: 1;
}

.sezione-cta-5 {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background: var(--sima-primary);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-sezione-5:hover .sezione-cta-5 {
    background: var(--sima-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 32, 45, 0.3);
}

.testo-cta-5 {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 70px;
    text-align: center;
    color: var(--sima-bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.testo-sezione-5 {
    position: absolute;
    width: clamp(320px, 39.53%, 683px);
    height: auto;
    left: clamp(30px, 6.77%, 117px);
    top: clamp(1400px, 137.56vw, 2377px);
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-size: clamp(18px, 1.85vw, 32px);
    line-height: clamp(24px, 2.5vw, 40px);
    color: #82ADE1;
    margin: 0; /* evita differenze dovute ai margini dei <p> */
}

/* Testo spostato nell'area ex-foto (a destra) */
.testo-sezione-5-right {
    position: absolute;
    width: clamp(320px, 39.53%, 683px);
    height: auto;
    left: clamp(550px, 56.77%, 981px);    /* stessa colonna della foto */
    top: clamp(1200px, 126vw, 2177px);    /* alzato di 200px */
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400; /* regular */
    font-size: clamp(17px, 2.2vw, 42px);
    line-height: clamp(23px, 2.9vw, 54px);
    color: var(--sima-primary);
    text-align: left;
    margin: 0; /* evita differenze dovute ai margini dei <p> */
    overflow-wrap: break-word;
}

/* Micro-ottimizzazione per tenere "competenza e continuità" sulla stessa riga */
.testo-sezione-5-right .tight-fit {
    letter-spacing: -0.3px;
    word-spacing: -1px;
}

/* Alza il testo in desktop 15 pollici (1201px-1366px) */
@media screen and (min-width: 1201px) and (max-width: 1366px) {
    .testo-sezione-5-right {
        top: calc(clamp(1200px, 126vw, 2177px) - 5px) !important;
    }
}

/* Abbassa il testo in desktop grandi (oltre 1366px) */
@media screen and (min-width: 1367px) {
    .testo-sezione-5-right {
        top: calc(clamp(1200px, 126vw, 2177px) + 180px) !important;
    }
}

/* Alza il testo in desktop piccoli */
@media screen and (min-width: 821px) and (max-width: 1200px) {
    .testo-sezione-5-right {
        top: calc(clamp(1200px, 126vw, 2177px) - 70px) !important; /* abbassato ulteriormente */
    }
}

/* ====== FOOTER (posizionato sotto la sezione 5) ====== */
.footer {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(1);
    transform-origin: center top;
    top: clamp(1660px, 156vw, 2780px); /* Compresso (~140-170px in meno) */
    width: 100%;
    height: auto;
    margin: 0 !important;
    padding: 0;
    background: #e6ebf1;
    box-sizing: border-box;
    margin-bottom: 0 !important; /* Rimuove ogni margine sotto il footer */
}

/* Linea divisoria sopra il footer - NUOVA VERSIONE DESKTOP */
@media screen and (min-width: 821px) {
    .footer::before {
        content: '' !important;
        position: absolute !important;
        display: block !important;
        background: #101722 !important;
        height: 1px !important;
        width: clamp(900px, 78vw, 1350px) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: 0 !important;
    }
    
    /* Abbassa il footer nella pagina contatti */
    body.contatti-page .footer {
        margin-top: 100px !important; /* Abbassato di 100px totali */
    }
}

/* Desktop grandi - posizionamento linea */
@media screen and (min-width: 1201px) {
    .footer::before {
        top: -30px !important;
    }
    
    /* Alza il footer nella pagina nuovo-usato */
    body.body-sezione2 .footer {
        margin-top: -200px !important;
    }
}

/* Desktop piccoli - posizionamento linea */
@media screen and (min-width: 821px) and (max-width: 1200px) {
    .footer::before {
        top: -10px !important;
    }
}

/* Linea divisoria mobile */
@media screen and (max-width: 820px) {
    .footer::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: clamp(300px, 85vw, 500px) !important; /* Larghezza ridotta per mobile */
        height: 1px !important;
        background: #101722 !important;
        display: block !important;
        z-index: 10 !important;
    }
}

/* 🧽 Rimozione di eventuali pseudo-elementi che creano spazio */
.footer::after {
    content: none !important;
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Footer inner layout: two columns on desktop */
.footer-inner {
    max-width: clamp(900px, 80vw, 1400px);
    margin: 0 auto;
    display: flex;
    gap: clamp(20px, 3vw, 60px);
    align-items: flex-start;
    justify-content: space-between;
    padding: clamp(30px, 2.5vw, 50px) 20px;
    box-sizing: border-box;
}

.footer-left,
.footer-right {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Logo Footer (desktop: posizionato assoluto come prima) */
.logo-footer-link {
    position: absolute;
    top: clamp(-50px, -3.47vw, -60px);
    /* Spostato a destra (fluido) */
    left: calc(50% - clamp(400px, 46.3%, 800px) + clamp(100px, 8.68vw, 150px));
    transform: translateX(-50%);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
    width: clamp(350px, 34.72vw, 600px);
    height: clamp(175px, 17.36vw, 300px);
    z-index: 10;
}

.logo-footer-link:hover {
    transform: translateX(-50%) scale(1.05);
}

.logo-footer-rect {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: transparent;
    border-radius: 8px;
    overflow: hidden;
}

.logo-footer-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Dati Aziendali nel Footer (desktop assoluto) */
.footer-info {
    position: absolute;
    /* Alzato di 95px (abbassato di 5px rispetto a prima) */
    top: calc(clamp(80px, 8.1vw, 140px) - 95px);
    /* Ripristinato: la colonna Contatti non deve essere spostata */
    left: calc(50% - clamp(80px, 8.68vw, 150px));
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 0.93vw, 16px);
    z-index: 10;
}

.footer-info-line {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: clamp(13px, 0.93vw, 16px);
    line-height: 1.5;
    color: var(--sima-text-main);
}

.footer-website {
    color: var(--sima-text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-website:hover {
    color: #82ADE1;
}

/* Titoli delle colonne del footer */
.footer-column-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(16px, 1.16vw, 20px);
    color: var(--sima-primary);
    margin: 0 0 clamp(8px, 0.69vw, 12px) 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Orari nel Footer (desktop assoluto) */
.footer-hours {
    position: absolute;
    /* Alzato di 95px (abbassato di 5px rispetto a prima) */
    top: calc(clamp(80px, 8.1vw, 140px) - 95px);
    left: calc(50% + clamp(80px, 8.68vw, 150px));
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

/* Social Media nel Footer (desktop assoluto) */
.social-footer {
    position: absolute;
    top: clamp(70px, 5.21vw, 90px);
    left: calc(50% + clamp(350px, 26.04vw, 450px));
    transform: translateX(-50%);
    display: flex;
    gap: clamp(30px, 2.31vw, 40px);
    z-index: 10;
    justify-content: center;
}

.social-link-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(35px, 2.31vw, 40px);
    height: clamp(35px, 2.31vw, 40px);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link-footer:hover {
    transform: scale(1.1);
}

.social-link-footer i {
    font-size: clamp(26px, 1.74vw, 30px);
    color: #82ADE1;
}

.social-link-footer.facebook i {
    color: #82ADE1;
}

.social-link-footer.instagram i {
    color: #82ADE1;
}

.social-link-footer.linkedin i {
    color: #82ADE1;
}

/* Instagram sotto colonna Contatti (desktop) */
.instagram-contatti-desktop {
    /* Alzata (fluido) */
    margin-top: clamp(-12px, -0.69vw, -10px) !important;
    position: relative;
    top: 0;
    display: flex;
    justify-content: flex-start;
}

/* Google Recensioni nel Footer (desktop assoluto) */
.google-reviews-footer-container {
    position: absolute;
    /* Alzato (fluido) */
    top: clamp(110px, 7.52vw, 130px);
    left: calc(50% + clamp(350px, 26.04vw, 450px));
    transform: translateX(-50%);
    z-index: 10;
}

/* Google Recensioni nel Footer */
.google-reviews-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    gap: clamp(6px, 0.46vw, 8px);
}

.google-reviews-footer:hover {
    transform: scale(1.05);
}

.reviews-text-footer {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(14px, 0.93vw, 16px);
    color: #82ADE1;
    text-transform: uppercase;
    text-align: center;
}

.reviews-stars-footer {
    display: flex;
    gap: clamp(4px, 0.29vw, 5px);
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
}

.star-icon-footer {
    width: clamp(18px, 1.16vw, 20px);
    height: clamp(18px, 1.16vw, 20px);
    display: inline-block;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(75%) sepia(85%) saturate(1817%) hue-rotate(356deg) brightness(102%) contrast(98%);
}

/* ================= NUOVO/USATO - COMING SOON (desktop) ================= */
@media screen and (min-width: 821px) {
    .coming-soon-nuovo-usato {
        margin: 40px auto 20px auto;
        max-width: 900px;
        text-align: center;
        padding: 0 20px;
        position: relative;
        z-index: 15;
    }
    .coming-soon-title {
        font-family: 'Outfit', sans-serif;
        font-weight: 700;
        font-size: clamp(36px, 3.5vw, 56px);
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: var(--sima-text-main);
        margin: 0 0 10px 0;
    }
    .coming-soon-subtitle {
        font-family: 'Outfit', sans-serif;
        font-weight: 400;
        font-size: clamp(20px, 1.8vw, 28px);
        color: var(--sima-text-main);
        text-transform: uppercase;
        line-height: 1.4;
        opacity: 0.9;
        margin: 0;
    }
}

/* Nuovo/Usato (desktop): posiziona il blocco "in arrivo" subito sotto il testo descrittivo */
@media screen and (min-width: 821px) {
    .body-sezione2 .coming-soon-nuovo-usato {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
                top: 1130px; /* default large desktop */
        z-index: 15;
        margin: 0;
        width: 1194px;
        max-width: 1194px;
        padding: 0 20px;
    }
}
/* Small desktop adjustments: place coming-soon 20px below testo-nuovo-usato */
@media (min-width: 821px) and (max-width: 1400px) {
  .body-sezione2 .coming-soon-nuovo-usato { top: 780px; } /* abbassato di 150px totale */
}
@media (min-width: 821px) and (max-width: 1200px) {
  .body-sezione2 .coming-soon-nuovo-usato { top: 750px; } /* abbassato di 150px totale */
}/* Forza hide prodotti su pagina Nuovo/Usato finché non pronti (desktop) */
@media screen and (min-width: 821px) {
    .body-sezione2 .products-grid,
    .body-sezione2 .product-card,
    .body-sezione2 .product-card-content {
        display: none !important;
    }
}

.rating-number-footer {
    font-family: 'Outfit';
    font-weight: 600;
    font-size: 24px;
    color: var(--sima-text-main);
    margin-left: 8px;
}

/* Footer Links (desktop assoluto) */
.footer-links {
    position: absolute;
    /* Abbassato di altri 30px (totale 60px dal valore 110) */
    top: clamp(150px, 12vw, 200px);
    /* Spostato a destra in modo fluido */
    left: calc(50% - clamp(600px, 46.3vw, 800px) + clamp(100px, 8.68vw, 150px));
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

/* ===== Desktop grandi: alza tagline e pulsanti in home di 2030px ===== */
@media screen and (min-width: 1920px) {
    /* Usa top per evitare conflitti con i transform su hover */
    body.home-page .hero-tagline {
        /* Posiziona la tagline 30px sotto l'H1 (2 righe) */
        top: calc(
            clamp(200px, 17.36vw, 300px) /* top H1 */
            + clamp(40px, 4.9vw, 85px)    /* linea 1 */
            + 12px                        /* margine tra linee */
            + clamp(40px, 4.9vw, 85px)    /* linea 2 */
            + 10px                        /* distanza regolata (alzata di 20px) */
            - 10px                        /* alza di 10px */
            - 20px                        /* alza di ulteriori 20px */
        ) !important;
        line-height: 24px; /* fissa altezza riga della tagline per calcolo sotto */
    }
    /* Posiziona entrambi i CTA 10px sotto la tagline */
    body.home-page .hero-cta,
    body.home-page .hero-cta-text-only {
        top: calc(
            /* stessa formula della tagline */
            clamp(200px, 17.36vw, 300px)
            + clamp(40px, 4.9vw, 85px)
            + 12px
            + clamp(40px, 4.9vw, 85px)
            + 10px /* distanza dalla baseline H1 -> tagline */
            + 24px /* altezza tagline (line-height fissato) */
            + 10px /* distanza richiesta sotto tagline */
            - 10px /* alza di 10px */
            - 20px /* alza di ulteriori 20px */
        ) !important;
    }
    /* Abbassa leggermente il CTA testuale per allinearlo al bottone */
    body.home-page .hero-cta-text-only {
        top: calc(
            clamp(200px, 17.36vw, 300px)
            + clamp(40px, 4.9vw, 85px)
            + 12px
            + clamp(40px, 4.9vw, 85px)
            + 10px
            + 24px
            + 18px /* 10px gap + 8px extra per allineamento visivo */
            - 10px /* alza di 10px */
            - 20px /* alza di ulteriori 20px */
        ) !important;
        /* Sposta ulteriormente a sinistra (totale -20px dal valore 45px) */
        margin-left: 25px !important;
    }
}

/* ===== Servizi: replica posizionamenti Home su desktop grandi ===== */
@media screen and (min-width: 1920px) {
    /* Servizi: alza l'H1 di 30px rispetto al valore base */
    body.servizi-page .h1-hero {
        top: calc(clamp(200px, 17.36vw, 300px) - 30px) !important;
    }
    /* Tagline  sotto H1 (stessa logica della Home) */
    body.servizi-page .hero-tagline {
        top: calc(
            clamp(200px, 17.36vw, 300px) /* top H1 */
            + clamp(40px, 4.9vw, 85px)    /* linea 1 */
            + 12px                        /* margine tra linee */
            + clamp(40px, 4.9vw, 85px)    /* linea 2 */
            + 10px                        /* distanza iniziale */
            - 10px                        /* alza di 10px (allineata alla Home attuale) */
        ) !important;
        line-height: 24px; /* stessa altezza riga della Home */
    }

    /* Entrambi i CTA 10px sotto la tagline (come Home) */
    body.servizi-page .hero-cta,
    body.servizi-page .hero-cta-text-only {
        top: calc(
            clamp(200px, 17.36vw, 300px)
            + clamp(40px, 4.9vw, 85px)
            + 12px
            + clamp(40px, 4.9vw, 85px)
            + 10px /* distanza dalla baseline H1 -> tagline */
            + 24px /* altezza tagline (line-height fissato) */
            + 10px /* distanza richiesta sotto tagline */
            + 20px /* abbassa di ulteriori 20px */
        ) !important;
    }

    /* CTA testuale: leggermente più basso per allineamento visivo + spostamento a sinistra */
    body.servizi-page .hero-cta-text-only {
        top: calc(
            clamp(200px, 17.36vw, 300px)
            + clamp(40px, 4.9vw, 85px)
            + 12px
            + clamp(40px, 4.9vw, 85px)
            + 10px
            + 24px
            + 18px /* 10px gap + 8px extra per allineamento visivo */
            + 20px /* abbassa di ulteriori 20px */
        ) !important;
        margin-left: 25px !important; /* stesso offset orizzontale usato in Home */
    }
}

/* Nascondi links inline e sezione mobile nel desktop */
.footer-links-inline,
.footer-mobile-content,
.footer-mobile-only,
.footer-mobile-grid,
.footer-mobile-column-left,
.footer-mobile-column-right {
    display: none !important;
}

.footer-mobile-col-1,
.footer-mobile-col-2 {
    display: none !important;
}

.footer-link {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(12px, 0.9vw, 16px) !important;
    color: var(--sima-text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--sima-hover);
    text-decoration: underline;
}

.design-credit {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(10px, 0.75vw, 14px) !important;
    color: var(--sima-text-secondary);
    margin: clamp(8px, 0.58vw, 10px) 0 clamp(50px, 6vw, 80px) 0;
    padding: 0;
}

.design-credit a {
    color: #82ADE1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: inherit !important;
}

.design-credit a:hover {
    color: #6a9dd1;
}

/* Footer Content Styles */

/* Footer Content Container */
.footer-content {
    position: relative;
    z-index: 10;
}

/* Logo Footer */
.logo-footer {
    position: absolute;
    width: clamp(150px, 11.57%, 200px);
    height: auto;
    aspect-ratio: 2 / 1;
    left: clamp(30px, 11.11%, 192px);
    top: clamp(3600px, 355.9vw, 6150px);
    background: transparent url('contenuti/loghi/SIMA-LOGO_BLU-SCURO.png') center/contain no-repeat;
    border-radius: 10px;
    z-index: 15;
}

/* Social Media */
.social-media {
    position: absolute;
    left: clamp(30px, 11.11%, 192px);
    top: clamp(3680px, 363.43vw, 6280px);
    z-index: 15;
}

.social-link {
    display: inline-block;
    width: clamp(32px, 2.31vw, 40px);
    height: clamp(32px, 2.31vw, 40px);
    margin-right: clamp(12px, 1.16vw, 20px);
    text-align: center;
    line-height: clamp(32px, 2.31vw, 40px);
    font-size: clamp(18px, 1.39vw, 24px);
    color: #000000;
    text-decoration: none;
    z-index: 15;
}

/* Privacy Links */
.privacy-links {
    position: absolute;
    left: clamp(30px, 11.11%, 192px);
    top: clamp(3730px, 367.48vw, 6350px);
}

.info-privacy, .info-cookies, .aggiorna-cookies {
    display: block;
    margin-bottom: clamp(6px, 0.46vw, 8px);
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-size: clamp(13px, 0.93vw, 16px);
    line-height: clamp(18px, 1.16vw, 20px);
    text-decoration-line: underline;
    color: #000000;
}

/* Design Credit */
.design-by {
    position: absolute;
    left: clamp(30px, 11.11%, 192px);
    top: clamp(3730px, 367.48vw, 6350px);
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-size: clamp(13px, 0.93vw, 16px);
    line-height: 20px;
    color: #000000;
}

/* Colonna Nome Azienda */
.nome-azienda-footer {
    position: absolute;
    left: clamp(200px, 27.95%, 483px);
    top: clamp(3600px, 355.9vw, 6150px);
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-size: clamp(16px, 1.16vw, 20px);
    line-height: 25px;
    color: #000000;
    z-index: 15;
}

.indirizzo {
    position: absolute;
    left: clamp(200px, 27.95%, 483px);
    top: clamp(3630px, 357.93vw, 6185px);
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: clamp(13px, 0.93vw, 16px);
    line-height: 20px;
    color: #000000;
    z-index: 15;
}

.cap-nazione {
    position: absolute;
    left: clamp(200px, 27.95%, 483px);
    top: clamp(3590px, 353.87vw, 6115px);
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: clamp(13px, 0.93vw, 16px);
    line-height: 20px;
    color: #000000;
    z-index: 15;
}

.p-iva {
    position: absolute;
    left: clamp(200px, 27.95%, 483px);
    top: clamp(3610px, 355.21vw, 6145px);
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: clamp(13px, 0.93vw, 16px);
    line-height: 20px;
    color: #000000;
    z-index: 15;
}

/* Colonna Contatti */
.contatti-footer {
    position: absolute;
    left: clamp(200px, 27.95%, 483px);
    top: clamp(3650px, 359.96vw, 6220px);
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-size: clamp(16px, 1.16vw, 20px);
    line-height: 25px;
    color: #000000;
}

.email {
    position: absolute;
    left: clamp(200px, 27.95%, 483px);
    top: clamp(3680px, 361.99vw, 6255px);
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: clamp(13px, 0.93vw, 16px);
    line-height: 20px;
    color: #000000;
}

.telefono {
    position: absolute;
    left: 483px;
    top: 6385px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

/* Sezione 2 Footer */
.sezione2-footer {
    position: absolute;
    left: 701px;
    top: 6150px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 25px;
    color: #000000;
}

.sezione-2-1 {
    position: absolute;
    left: 701px;
    top: 6185px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

.sezione-2-2 {
    position: absolute;
    left: 701px;
    top: 6115px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

.sezione-2-3 {
    position: absolute;
    left: 701px;
    top: 6145px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

.sezione-2-4 {
    position: absolute;
    left: 701px;
    top: 6175px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

/* Sezione 3 Footer */
.sezione3-footer {
    position: absolute;
    left: 919px;
    top: 6150px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 25px;
    color: #000000;
}

.sezione-3-1 {
    position: absolute;
    left: 919px;
    top: 6185px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

.sezione-3-2 {
    position: absolute;
    left: 919px;
    top: 6115px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

.sezione-3-3 {
    position: absolute;
    left: 919px;
    top: 6145px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

.sezione-3-4 {
    position: absolute;
    left: 919px;
    top: 6175px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

/* Sezione 4 Footer */
.sezione4-footer {
    position: absolute;
    left: 701px;
    top: 6220px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 25px;
    color: #000000;
}

.sezione-4-1 {
    position: absolute;
    left: 701px;
    top: 6255px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

.sezione-4-2 {
    position: absolute;
    left: 701px;
    top: 6385px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

.sezione-4-3 {
    position: absolute;
    left: 701px;
    top: 6315px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

.sezione-4-4 {
    position: absolute;
    left: 701px;
    top: 6345px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

/* Sezione 5 Footer */
.sezione5-footer {
    position: absolute;
    left: 919px;
    top: 6220px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 25px;
    color: #000000;
}

.sezione-5-1 {
    position: absolute;
    left: 919px;
    top: 6255px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

.sezione-5-2 {
    position: absolute;
    left: 919px;
    top: 6385px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

.sezione-5-3 {
    position: absolute;
    left: 919px;
    top: 6315px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

.sezione-5-4 {
    position: absolute;
    left: 919px;
    top: 6345px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

/* Aggiustamento posizioni footer - sottrarre 6191px da tutti i top */

.logo-footer {
    position: absolute;
    width: 276px;
    height: 111px;
    left: 267px;
    top: 4814px;
    background: transparent url('contenuti/loghi/SIMA-LOGO_BLU-SCURO.png') center/contain no-repeat;
    border-radius: 8px;
}

/* Social Media */
.social-media {
    position: absolute;
    left: 267px;
    top: 4990px;
}

.social-link {
    position: absolute;
    width: 30px;
    height: 30px;
    color: #000000;
    font-size: 24px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram {
    left: 0px;
}

.facebook {
    left: 75px;
}

.linkedin {
    left: 150px;
}

/* Footer Columns */
.nome-azienda-footer {
    position: absolute;
    width: 129px;
    height: 25px;
    left: 675px;
    top: 4814px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 25px;
    color: #000000;
}

.indirizzo {
    position: absolute;
    width: 89px;
    height: 30px;
    left: 675px;
    top: 4850px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

.cap {
    position: absolute;
    width: 140px;
    height: 30px;
    left: 675px;
    top: 5138px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

.p-iva {
    position: absolute;
    width: 57px;
    height: 30px;
    left: 675px;
    top: 5179px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

/* Sezione 2 Footer */
.sezione2-footer {
    position: absolute;
    width: 83px;
    height: 25px;
    left: 981px;
    top: 4861px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 25px;
    color: #000000;
}

.sezione-2-1 {
    position: absolute;
    width: 114px;
    height: 30px;
    left: 981px;
    top: 5097px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

.sezione-2-2 {
    position: absolute;
    width: 120px;
    height: 30px;
    left: 981px;
    top: 5138px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

.sezione-2-3 {
    position: absolute;
    width: 120px;
    height: 30px;
    left: 981px;
    top: 5179px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

.sezione-2-4 {
    position: absolute;
    width: 121px;
    height: 30px;
    left: 981px;
    top: 5220px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

/* Sezione 3 Footer */
.sezione3-footer {
    position: absolute;
    width: 83px;
    height: 25px;
    left: 1287px;
    top: 5050px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 25px;
    color: #000000;
}

.sezione-3-1 {
    position: absolute;
    width: 113px;
    height: 30px;
    left: 1287px;
    top: 5080px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

.sezione-3-2 {
    position: absolute;
    width: 119px;
    height: 30px;
    left: 1287px;
    top: 4938px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

.sezione-3-3 {
    position: absolute;
    width: 119px;
    height: 30px;
    left: 1287px;
    top: 4979px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

.sezione-3-4 {
    position: absolute;
    width: 120px;
    height: 30px;
    left: 1287px;
    top: 5020px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

/* Contatti Footer */
.contatti-footer {
    position: absolute;
    width: 72px;
    height: 25px;
    left: 675px;
    top: 5090px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 25px;
    color: #000000;
}

.email {
    position: absolute;
    width: 60px;
    height: 30px;
    left: 675px;
    top: 5126px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

.telefono {
    position: absolute;
    width: 92px;
    height: 30px;
    left: 675px;
    top: 5167px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

/* Sezione 4 Footer */
.sezione4-footer {
    position: absolute;
    width: 85px;
    height: 25px;
    left: 981px;
    top: 5090px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 25px;
    color: #000000;
}

.sezione-4-1 {
    position: absolute;
    width: 114px;
    height: 30px;
    left: 981px;
    top: 5126px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

.sezione-4-2 {
    position: absolute;
    width: 121px;
    height: 30px;
    left: 981px;
    top: 5167px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

.sezione-4-3 {
    position: absolute;
    width: 120px;
    height: 30px;
    left: 981px;
    top: 5208px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

.sezione-4-4 {
    position: absolute;
    width: 121px;
    height: 30px;
    left: 981px;
    top: 5249px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

/* Sezione 5 Footer */
.sezione5-footer {
    position: absolute;
    width: 83px;
    height: 25px;
    left: 1287px;
    top: 5090px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 25px;
    color: #000000;
}

.sezione-5-1 {
    position: absolute;
    width: 113px;
    height: 30px;
    left: 1287px;
    top: 5126px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

.sezione-5-2 {
    position: absolute;
    width: 119px;
    height: 30px;
    left: 1287px;
    top: 5167px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

.sezione-5-3 {
    position: absolute;
    width: 119px;
    height: 30px;
    left: 1287px;
    top: 5208px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

.sezione-5-4 {
    position: absolute;
    width: 120px;
    height: 30px;
    left: 1287px;
    top: 5249px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

/* Privacy Links */
.info-privacy {
    position: absolute;
    width: auto;
    height: auto;
    left: clamp(200px, 15vw, 267px);
    top: 5131px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-size: clamp(16px, 1.16vw, 20px);
    line-height: clamp(22px, 1.45vw, 25px);
    text-decoration-line: underline;
    color: #000000;
}

.info-cookies {
    position: absolute;
    width: auto;
    height: auto;
    left: clamp(200px, 15vw, 267px);
    top: 5169px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-size: clamp(16px, 1.16vw, 20px);
    line-height: clamp(22px, 1.45vw, 25px);
    text-decoration-line: underline;
    color: #000000;
}

.aggiorna-cookies {
    position: absolute;
    width: auto;
    height: auto;
    left: clamp(200px, 15vw, 267px);
    top: 5210px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-size: clamp(16px, 1.16vw, 20px);
    line-height: clamp(22px, 1.45vw, 25px);
    text-decoration-line: underline;
    color: #000000;
}

.design-by {
    position: absolute;
    width: 189px;
    height: 20px;
    left: 267px;
    top: 5457px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-size: clamp(14px, 0.93vw, 16px);
    line-height: clamp(18px, 1.16vw, 20px);
    color: #000000;
}

/* Hover Effects */
.menu a:hover {
    color: #7C7C7C;
    transition: color 0.3s ease;
}

.ellipse:hover {
    background: #5A5A5A;
}

.social-link:hover {
    color: #7C7C7C;
    transition: color 0.3s ease;
}

/* Blocchi di scaling/zoom rimossi: ora layout fluido senza min-width forzato */

/* ===== MEDIA QUERIES RESPONSIVE ===== */

/* Ultra-wide screens (1921px+) */
@media (min-width: 1921px) {
    .home {
        max-width: 1920px;
    }
}

/* Large Desktop (1441px - 1920px) - Design ottimale */
@media (min-width: 1441px) and (max-width: 1920px) {
    .home {
        padding: 0 clamp(40px, 4vw, 80px);
    }
}

/* Desktop (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .home {
        padding: 0 clamp(30px, 3vw, 60px);
    }
    
    h1 {
        font-size: clamp(48px, 5vw, 64px);
    }
    
    h2 {
        font-size: clamp(36px, 4vw, 48px);
    }
}

/* Desktop medio: scaling progressivo da 1440px a 1025px */
@media (min-width: 1025px) and (max-width: 1440px) {
    html, body {
        overflow-x: hidden;
    }
    
    .home {
        transform-origin: top center;
        transform: scale(calc(100vw / 1728));
    }
}

/* Desktop piccolo/tablet: scaling da 1024px fino a 822px */
@media (min-width: 822px) and (max-width: 1024px) {
    html, body {
        overflow-x: hidden;
    }
    
    .home {
        transform-origin: top center;
        transform: scale(calc(100vw / 1728));
    }
}

/* Tablet (769px - 821px): scaling prima del mobile breakpoint */
@media (min-width: 769px) and (max-width: 821px) {
    html, body {
        overflow-x: hidden;
    }
    
    .home {
        transform-origin: top center;
        transform: scale(calc(100vw / 1728));
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .home {
        padding: 0;
    }
    
    .main-container {
        padding-top: 80px;
        min-height: auto;
    }
    
    h1 {
        font-size: clamp(28px, 6vw, 36px);
    }
    
    h2 {
        font-size: clamp(22px, 5vw, 28px);
    }
    
    /* Header mobile */
    .header {
        height: 80px;
        padding: 0;
    }
    
    .header-logo-rect {
        width: 160px;
        height: 80px;
    }
    
    .header-logo-video {
        width: 160px;
        height: 80px;
    }
    
    .menu-container {
        gap: 10px;
    }
    
    .menu-link {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    /* Sezioni mobile */
    .h2-sezione-1 {
        width: 90%;
        left: 5%;
        top: 500px;
        font-size: clamp(32px, 8vw, 48px);
        line-height: 1.2;
    }
    
    .rettangolo-sezione-1 {
        width: 90%;
        max-width: 300px;
        height: auto;
        aspect-ratio: 1;
        left: 50%;
        transform: translateX(-50%);
        top: 150px;
        right: auto;
    }
    
    .servizi-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }
    
    .servizio-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .video-container {
        width: 100%;
        height: auto;
    }
    
    /* Footer mobile - stack verticale */
    .footer {
        height: auto;
        min-height: 600px;
        padding: 40px 20px 50px 20px;
    }
    
    .logo-footer-link {
        position: relative;
        width: 300px;
        height: 150px;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 30px;
    }
    
    .footer-info,
    .footer-hours {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 30px auto;
        text-align: center;
    }
    
    .footer-info p,
    .footer-hours p {
        text-align: center;
    }

    /* Nascondi l'icona IG sotto Contatti nella versione mobile */
    .instagram-contatti-desktop {
        display: none !important;
    }
    
    .social-footer {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin: 20px 0;
    }
    
    .google-reviews-footer-container {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        margin: 20px 0;
    }
    
    .footer-links {
        position: relative;
        margin-top: 30px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .home {
        padding: 0 10px;
    }
    
    h1 {
        font-size: clamp(24px, 7vw, 32px);
    }
    
    h2 {
        font-size: clamp(20px, 6vw, 24px);
    }
    
    .header-logo-rect {
        width: 140px;
        height: 70px;
    }
    
    .header-logo-video {
        width: 140px;
        height: 70px;
    }
    
    .menu-link {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .logo-footer-link {
        width: 250px;
        height: 125px;
    }
}

/* ===== CORREZIONE SCALING PER macOS/iOS/LINUX ===== */
/* Rileva Safari, Firefox su Mac e Chrome su Linux senza toccare Windows */
@supports (-webkit-appearance: none) and (not (-ms-ime-align: auto)) {
    /* Solo per browser non-Windows (Safari Mac, Chrome Mac/Linux) */
    @media (min-width: 1025px) {
        /* Riduci leggermente le dimensioni per macOS/Linux */
        .h2-sezione-1 {
            font-size: clamp(36px, 4.2vw, 72px);
        }
        
        .testo-sezione-1 {
            font-size: clamp(16px, 1.7vw, 29px);
        }
        
        .h2-sezione-4 {
            font-size: clamp(36px, 4.2vw, 72px);
        }
        
        .testo-sezione-4 {
            font-size: clamp(16px, 1.7vw, 29px);
        }
        
        .h2-sezione-5 {
            font-size: clamp(26px, 2.1vw, 36px);
        }
        
        .text-box-wrapper {
            max-width: clamp(380px, 35%, 600px);
        }
        
        .footer-info-line {
            font-size: clamp(12px, 0.85vw, 15px);
        }
        
        .footer-column-title {
            font-size: clamp(15px, 1.05vw, 18px);
        }
    }
}

/* Fix Safari con zoom rimosso: non necessario con layout fluido */

/* ===== MOBILE & SMALL TABLETS (max-width: 768px) ===== */
@media (max-width: 768px) {
    /* Sezione 5 - Stack verticale su mobile */
    .sezione-5 {
        height: auto;
        padding: 30px 20px;
    }
    
    .h2-sezione-5 {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        text-align: center;
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 20px;
    }
    
    .rettangolo-sezione-5 {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        width: 180px;
        height: 180px;
        margin-bottom: 30px;
    }
    
    .testo-sezione-5 {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        float: none;
        font-size: 18px;
        line-height: 26px;
        padding: 0;
        margin-bottom: 20px;
    }
    
    .testo-sezione-5-right {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        float: none;
        font-size: 22px;
        line-height: 32px;
        padding: 0;
    }
    
    .footer {
        position: relative;
        top: auto;
        margin-top: 50px !important;
        transform: none;
        left: 0;
    }
}

/* ===== OVERRIDE PER DESKTOP PICCOLI (821px-1200px) ===== */
/* Questo blocco deve venire DOPO il media query mobile per avere precedenza */
@media screen and (min-width: 821px) and (max-width: 1200px) {
    .testo-sezione-5-right {
        position: absolute !important;
        top: calc(clamp(1200px, 126vw, 2177px) - 70px) !important;
        left: clamp(550px, 56.77%, 981px) !important;
        width: clamp(320px, 39.53%, 683px) !important;
    }
}

/* ========== GESTIONE FOOTER MOBILE VS DESKTOP ========== */
/* Nascondi footer mobile a due colonne su TUTTI i viewport di default */
.footer-mobile-content {
    display: none !important;
}

/* Desktop: nascondi elementi mobile del footer */
@media screen and (min-width: 821px) {
    .footer-mobile-content,
    .footer-mobile-only,
    .footer-mobile-grid,
    .footer-mobile-column-left,
    .footer-mobile-column-right,
    .footer-links-inline {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    /* Forza nascondimento anche per la pagina contatti */
    .contatti-page .footer-mobile-only,
    .contatti-page .footer-mobile-grid,
    .contatti-page .footer-mobile-column-left,
    .contatti-page .footer-mobile-column-right {
        display: none !important;
        visibility: hidden !important;
    }
}

/* Nascondi footer mobile su desktop per tutte le pagine */
.footer-mobile-only {
    display: none !important;
}

/* Mostra footer mobile solo su schermi <= 1366px (gestito da mobile.css) */
@media screen and (max-width: 1366px) {
    .footer-mobile-only {
        display: block !important;
    }
    
    /* Hero CTA positioning for small screens */
    .hero-cta {
        left: calc(50% - clamp(70px, 5.21%, 90px) - 70px) !important;
    }
    
    .hero-cta-text-only {
        left: calc(50% + 15px) !important;
    }
    
    /* Mostra il titolo hero-servizi nei desktop piccoli */
    .h2-hero-servizi {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

