/* Mostra solo mobile-container su mobile, nascondi desktop */
@media (max-width: 1024px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }
    html::-webkit-scrollbar,
    body::-webkit-scrollbar,
    .mobile-container::-webkit-scrollbar {
        display: none; /* Safari/Chrome - nasconde ma mantiene funzionalità */
    }
    .mobile-container { 
        display: block !important;
        width: 100%;
        max-width: 100%;
        min-height: auto;
        position: relative;
    }
    .mobile-only { display: block !important; }
    header, main, footer { display: none !important; }
}
@media (min-width: 1025px) {
    .mobile-container { display: none !important; }
    header, main, footer { display: block !important; }
}
header nav a.active {
    color: #81AEE0;
    font-weight: 400;
    text-decoration: none;
}
/* Sposta solo icona-3.svg di 10px a destra nella card Macchinari */
/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Updated: 27 Nov 2025 - 15:05 - Version 11 */

:root {
    --primary-color: #204072;
    --secondary-color: #81AEE0;
    --text-color: #204072;
    --bg-color: #FFFFFF;
    --white: #FFFFFF;
    --black: #000000;
    --yellow: #FFD500;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0 auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: rgba(32, 64, 114, 0.75);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: height 0.3s ease, background 0.3s ease;
}

header.scrolled {
    height: 70px;
    background: rgba(32, 64, 114, 0.95);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1728px;
    margin: 0 auto;
    padding: 0 clamp(20px, 3vw, 50px);
}

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

.logo img {
    width: clamp(50px, 4vw, 70px);
    height: clamp(50px, 4vw, 70px);
    transition: width 0.3s ease, height 0.3s ease;
    display: block;
}

header.scrolled .logo img {
    width: clamp(35px, 3vw, 50px);
    height: clamp(35px, 3vw, 50px);
}

header nav {
    display: flex;
    gap: clamp(30px, 6vw, 99px);
    margin-left: auto;
}

header nav a {
    font-weight: 400;
    font-size: clamp(18px, 1.4vw, 24px);
    line-height: 30px;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

header nav a:hover {
    color: var(--secondary-color);
}

/* Main Content */
main {
    padding-top: 100px;
    flex: 1;
}

/* Hero Section */
.hero-section {
    padding: clamp(100px, 12vw, 195px) clamp(20px, 3vw, 50px) clamp(80px, 9vw, 150px);
    text-align: center;
}

.hero-section h1 {
    max-width: 1194px;
    width: 90%;
    margin: 0 auto clamp(30px, 4vw, 62px);
    font-weight: 500;
    font-size: clamp(36px, 5.5vw, 96px);
    line-height: 1.17;
    text-align: center;
    color: var(--primary-color);
}

.hero-section h1 .highlight-blue {
    color: #81AEE0;
}

.hero-section .subtitle {
    max-width: 786px;
    width: 85%;
    margin: 0 auto clamp(40px, 5vw, 86px);
    font-weight: 500;
    font-size: clamp(20px, 1.85vw, 32px);
    line-height: 1.16;
    color: var(--primary-color);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(15px, 2vw, 30px);
    flex-wrap: wrap;
}

.btn-primary {
    min-width: clamp(180px, 13.5vw, 234px);
    height: clamp(50px, 3.5vw, 60px);
    background: var(--primary-color);
    border-radius: 50px;
    font-weight: 500;
    font-size: clamp(16px, 1.16vw, 20px);
    line-height: 25px;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

@keyframes rotating-light {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotating-glow {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes glowing-border {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.btn-primary:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.btn-primary:hover::before {
    filter: blur(25px);
    opacity: 1;
}

.btn-primary:active {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.05);
}

.btn-primary.clicked {
    background: var(--secondary-color);
    color: var(--primary-color);
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

a.btn-secondary {
    font-weight: 500 !important;
    font-size: clamp(16px, 1.16vw, 20px) !important;
    line-height: 25px !important;
    text-transform: uppercase !important;
    color: #204072 !important;
    text-decoration: none !important;
    display: inline-block !important;
    position: relative !important;
    padding-bottom: 2px !important;
    z-index: 100 !important;
    cursor: pointer !important;
}

a.btn-secondary:hover {
    text-decoration: underline !important;
}

/* About Section */
.about-section {
    padding: clamp(120px, 15vw, 240px) clamp(20px, 3vw, 50px) 20px;
    position: relative;
    overflow-x: clip;
    margin-top: -150px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-section h2 {
    max-width: 1050px;
    width: 90%;
    margin: 0 auto clamp(30px, 3.25vw, 56px);
    font-weight: 600;
    font-size: clamp(28px, 2.78vw, 48px);
    line-height: 1.17;
    text-align: center;
    color: var(--primary-color);
}

.about-content {
    display: block;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

.about-text {
    width: auto;
    max-width: 900px;
    margin: 30px auto 0 auto;
    position: relative;
    z-index: 10;
    padding-left: clamp(20px, 5vw, 60px);
    padding-right: clamp(20px, 5vw, 60px);
    display: block;
    text-align: center;
}

.about-text p {
    font-weight: 400;
    font-size: clamp(18px, 1.85vw, 32px);
    line-height: 1.16;
    color: var(--primary-color);
    text-align: center;
}

.about-image {
    flex: 1 1 auto;
    min-width: 900px;
    max-width: 1800px;
    margin-top: 30px;
    overflow: visible;
    margin-left: -80px;
    position: relative;
    z-index: 1;
    will-change: transform;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Section */
.services-section {
    margin-top: -150px;
    padding: clamp(80px, 9vw, 150px) clamp(20px, 3vw, 50px);
}

.services-title {
    max-width: 990px;
    width: 90%;
    margin: 0 auto 10px;
    font-weight: 600;
    font-size: clamp(26px, 2.78vw, 48px);
    line-height: 1.375;
    text-align: center;
    color: var(--secondary-color);
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: clamp(15px, 1.75vw, 30px);
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px clamp(20px, 15.5vw, 267px) 0 clamp(20px, 15.5vw, 267px);
    flex-wrap: nowrap;
}

.service-card {
    flex: 1 1 0;
    min-width: 0;
    max-width: 320px;
    height: auto;
    min-height: 410px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--secondary-color);
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 5% 28px 5%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card-content {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    width: 100%;
}

.service-icon {
    margin-bottom: clamp(10px, 1vw, 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.service-icon img {
    width: clamp(120px, 11vw, 180px);
    height: auto;
}

.service-card:nth-child(1) .service-icon img[src*="icona-1"] {
    width: clamp(130px, 12vw, 200px);
}

.service-card:nth-child(2) .service-icon img[src*="icona-3"] {
    margin-left: 20px;
}

.service-card h3 {
    font-weight: 500;
    font-size: clamp(18px, 1.4vw, 24px);
    line-height: 1.17;
    text-align: center;
    color: var(--black);
    max-width: 285px;
    margin-bottom: 20px;
}

/* Story Section */
.story-section {
    padding: 300px clamp(20px, 3vw, 50px) clamp(80px, 9vw, 150px) clamp(20px, 3vw, 50px);
    margin-top: -280px;
}

.story-section h2 {
    max-width: 1050px;
    width: 90%;
    margin: 0 auto clamp(40px, 5vw, 80px);
    font-weight: 600;
    font-size: clamp(28px, 2.78vw, 48px);
    line-height: 1.17;
    text-align: center;
    color: var(--primary-color);
}

.story-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(20px, 1.75vw, 30px);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(10px, 7vw, 80px);
    flex-wrap: wrap;
}

.story-text-left {
    flex: 1;
    min-width: min(100%, 350px);
}

.story-text-left p {
    font-weight: 400;
    font-size: clamp(18px, 1.85vw, 32px);
    line-height: 1.16;
    color: var(--primary-color);
}

.story-box {
    flex: 1;
    min-width: min(100%, 350px);
    min-height: clamp(250px, 20vw, 350px);
    background: var(--secondary-color);
    border-radius: 25px;
    padding: clamp(20px, 1.5vw, 26px) clamp(25px, 1.9vw, 33px);
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.story-box.visible {
    opacity: 1;
    transform: translateX(0);
}

.story-box p {
    font-weight: 500;
    font-size: clamp(20px, 2.1vw, 36px);
    line-height: 1.17;
    color: var(--white);
}

/* Services Page */
.services-hero {
    padding: clamp(80px, 10vw, 150px) clamp(20px, 3vw, 50px) clamp(60px, 8vw, 120px);
    text-align: center;
}

.services-hero h1 {
    max-width: 1194px;
    width: 90%;
    margin: 0 auto clamp(30px, 4vw, 62px);
    font-weight: 500;
    font-size: clamp(40px, 5vw, 70px);
    line-height: 1.16;
    color: var(--primary-color);
}

.services-subtitle {
    max-width: 786px;
    margin: 0 auto clamp(40px, 6vw, 100px);
    font-weight: 500;
    font-size: clamp(20px, 1.85vw, 32px);
    line-height: 1.16;
    color: var(--primary-color);
}

.services-hero .cta-buttons {
    display: flex;
    gap: clamp(15px, 2vw, 30px);
    justify-content: center;
    flex-wrap: wrap;
}

.reliability-section {
    padding: clamp(60px, 8vw, 120px) clamp(40px, 6vw, 100px);
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reliability-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.highlight-title {
    max-width: 1194px;
    width: 90%;
    margin: 0 auto clamp(30px, 4vw, 60px);
    font-weight: 600;
    font-size: clamp(28px, 2.78vw, 48px);
    line-height: 1.17;
    color: #81AEE0;
}

.highlight-title .normal-text {
    color: #204072;
    font-weight: 500;
}

.reliability-text {
    max-width: 1050px;
    width: 90%;
    margin: 0 auto;
    font-weight: 400;
    font-size: clamp(18px, 1.85vw, 32px);
    line-height: 1.16;
    color: var(--primary-color);
}

.project-section {
    position: relative;
    padding: clamp(60px, 8vw, 120px) 0;
    max-width: 1728px;
    margin: 0 auto;
}

.video-container {
    width: 100%;
    height: clamp(400px, 46vw, 800px);
    background: #D9D9D9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.text-overlay {
    position: absolute;
    top: clamp(40px, 8vw, 130px);
    left: clamp(20px, 15.5vw, 267px);
    max-width: 681px;
    width: 80%;
    z-index: 2;
}

.text-overlay h2 {
    font-weight: 600;
    font-size: clamp(32px, 3.2vw, 56px);
    line-height: 0.75;
    color: var(--white);
    margin-bottom: 10px;
}

.text-overlay h2 .title-small {
    font-size: clamp(24px, 2.3vw, 40px);
    display: block;
}

.text-overlay h2 .title-large {
    font-size: clamp(36px, 3.7vw, 64px);
    display: block;
}

.project-text-box {
    position: absolute;
    bottom: 120px;
    left: clamp(20px, 15.5vw, 267px);
    max-width: 714px;
    width: calc(100% - clamp(40px, 31vw, 534px));
    background: var(--white);
    border-radius: 25px;
    padding: clamp(25px, 2.3vw, 40px) clamp(30px, 2.8vw, 48px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: box-shadow 0.5s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.project-text-box p {
    font-weight: 500;
    font-size: clamp(20px, 2.3vw, 40px);
    line-height: 1.18;
    color: var(--primary-color);
    margin: 0;
}

.project-text-box:hover {
    box-shadow: 0 0 24px 8px #81AEE0, 0 4px 20px rgba(0,0,0,0.1);
}

.process-section {
    padding: clamp(60px, 10vw, 150px) clamp(20px, 3vw, 50px) clamp(60px, 8vw, 120px);
    text-align: center;
}

.process-section h2 {
    max-width: 1194px;
    width: 90%;
    margin: 0 auto clamp(40px, 5vw, 80px);
    font-weight: 600;
    font-size: clamp(28px, 2.78vw, 48px);
    line-height: 1.17;
    color: var(--primary-color);
}

.process-steps {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(20px, 3vw, 50px);
}

.process-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(30px, 5.3vw, 92px);
    margin-bottom: clamp(25px, 4vw, 60px);
    padding: clamp(20px, 2.5vw, 40px) clamp(25px, 3vw, 50px) clamp(20px, 2.5vw, 40px) clamp(80px, 8vw, 130px);
    position: relative;
    border: 1px solid #81AEE0;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(129, 174, 224, 0.3);
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: clamp(20px, 2.5vw, 40px);
    font-weight: 600;
    font-size: clamp(28px, 2.5vw, 44px);
    line-height: 1.17;
    color: #81AEE0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-step:hover .step-number {
    opacity: 1;
}

.step-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-content p {
    font-weight: 400;
    font-size: clamp(18px, 1.85vw, 32px);
    line-height: 1.16;
    color: var(--primary-color);
    margin: 0;
    text-align: center;
}

/* Footer */
footer {
    padding: clamp(40px, 3.5vw, 60px) clamp(20px, 3vw, 50px) clamp(20px, 1.75vw, 30px);
    background: var(--bg-color);
    margin-top: auto;
}

.footer-divider {
    max-width: 1462px;
    width: 90%;
    height: 1px;
    background: var(--primary-color);
    margin: 0 auto clamp(30px, 3.5vw, 61px);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    align-items: start;
    max-width: 1462px;
    width: 90%;
    margin: 0 auto clamp(40px, 5.2vw, 90px);
    padding: 0;
    gap: clamp(20px, 3.5vw, 80px);
}

.footer-logo {
    min-width: 200px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
}

.footer-logo img {
    width: clamp(80px, 6vw, 100px);
    height: clamp(80px, 6vw, 100px);
    margin-bottom: 15px;
    flex-shrink: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    align-items: flex-start;
    margin-top: 21px;
}

.footer-links a {
    font-size: 14px;
    line-height: 18px;
    color: var(--primary-color);
    text-decoration: none;
    text-align: left;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Cookie settings link - no underline by default, only on hover */
.footer-links .lb-cs-settings-link {
    text-decoration: none !important;
    cursor: pointer;
}

.footer-links .lb-cs-settings-link:hover {
    text-decoration: underline !important;
}

.footer-credits {
    font-size: 14px;
    line-height: 18px;
    color: #81AEE0 !important;
    text-align: left;
    margin: 0;
    flex-shrink: 0;
    text-decoration: none;
}

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

.footer-contacts {
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

.footer-hours {
    min-width: 170px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    margin-left: 0;
    margin-left: clamp(30px, 4vw, 80px);
}

.footer-reviews {
    width: 90%;
    max-width: 1462px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-contacts h4,
.footer-hours h4,
.footer-reviews h4 {
    font-weight: 400;
    font-size: clamp(12px, 1.4vw, 16px);
    line-height: clamp(16px, 1.8vw, 20px);
    color: #81AEE0;
    margin-bottom: clamp(6px, 1vw, 10px);
    width: 100%;
    display: block;
    white-space: nowrap;
}

.footer-contacts h4,
.footer-hours h4 {
    text-align: left;
}

.footer-reviews h4 {
    text-align: center;
    font-size: clamp(12px, 1.4vw, 16px);
    line-height: clamp(16px, 1.8vw, 20px);
}

.footer-contacts p,
.footer-hours p {
    font-weight: 400;
    font-size: clamp(14px, 1.7vw, 20px);
    line-height: clamp(18px, 2.1vw, 25px);
    color: #204072;
    margin: 0 0 clamp(3px, 0.5vw, 5px) 0;
    text-align: left;
    width: 100%;
    display: block;
}

.footer-hours .emergency {
    margin-top: clamp(23px, 1vw, 25px);
    text-align: left;
}

.stars {
    display: flex;
    gap: clamp(3px, 0.46vw, 8px);
    font-size: clamp(14px, 1.6vw, 25px);
    color: var(--yellow);
    justify-content: center;
}

/* .footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 9.4vw, 163px);
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 0.8vw, 14px);
} */

@media (max-width: 1280px) {
    .footer-content {
        gap: clamp(15px, 2.5vw, 30px);
    }
    
    .footer-logo {
        min-width: 160px;
        max-width: 160px;
    }
    
    .footer-contacts {
        min-width: 160px;
    }
    
    .footer-hours {
        min-width: 100px;
        /* margin-left removed to ensure visibility across all sizes */
    }
    
    .footer-reviews {
        width: 100%;
        max-width: 100vw;
        margin: 0 auto;
        box-sizing: border-box;
        padding-left: clamp(10px, 2vw, 20px);
        padding-right: clamp(10px, 2vw, 20px);
        margin-left: clamp(20px, 3vw, 40px);
    }
    
    .footer-contacts h4,
    .footer-hours h4,
    .footer-reviews h4 {
        font-size: clamp(11px, 1.3vw, 14px);
        line-height: clamp(15px, 1.7vw, 18px);
    }
    
    .footer-contacts p,
    .footer-hours p {
        font-size: clamp(13px, 1.5vw, 18px);
        line-height: clamp(17px, 1.9vw, 23px);
    }
    
    .stars {
        font-size: clamp(13px, 1.4vw, 20px);
        gap: clamp(2px, 0.4vw, 6px);
    }
}

@media (max-width: 1200px) {
    .footer-content {
        gap: clamp(20px, 3vw, 40px);
    }
}

@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: clamp(20px, 3vw, 40px);
    }
    .footer-logo,
    .footer-contacts,
    .footer-hours,
    .footer-reviews {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        align-items: center;
        text-align: center;
    }
    .footer-contacts h4,
    .footer-hours h4,
    .footer-reviews h4,
    .footer-contacts p,
    .footer-hours p {
        text-align: center;
        white-space: normal;
    }
    
    .footer-hours .emergency {
        text-align: center;
        margin-top: clamp(12px, 2vw, 16px);
    }
    
    .footer-reviews h4 {
        font-size: 16px;
        line-height: 20px;
    }
    
    .footer-logo img {
        margin-bottom: 20px;
    }
}

/* Nuovo Usato Page */
.contenitore-nuovousato {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: auto;
    min-height: 1100px;
    margin: 180px auto 120px auto;
    padding: 0;
}

.blue-box {
    position: absolute;
    width: min(90%, 1115px);
    left: 50%;
    transform: translateX(-50%);
    top: 730px;
    background: #81AEE0;
    border-radius: clamp(16px, 2.2vw, 25px);
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.8vw, 24px);
    padding: clamp(16px, 3vw, 48px);
    text-align: center;
    box-sizing: border-box;
    min-height: clamp(200px, 22vw, 380px);
    opacity: 0;
    transform: translateX(-50%) translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.blue-box.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.valore-nuovo {
    position: absolute;
    width: clamp(300px, 35%, 480px);
    height: auto;
    left: 5%;
    top: -50px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-size: clamp(40px, 5vw, 80px);
    line-height: 1.16;
    color: #204072;
    z-index: 2;
}

.contenitore-oblo {
    position: absolute;
    width: clamp(220px, 22vw, 420px);
    height: clamp(160px, 16vw, 300px);
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    border-radius: 50%;
    z-index: 3;
    overflow: hidden;
}

.contenitore-oblo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Responsive adjustments for oblo size */
@media (max-width: 768px) {
    .contenitore-oblo {
        width: clamp(180px, 40vw, 280px);
        height: clamp(120px, 28vw, 200px);
    }
}

@media (min-width: 1440px) {
    .contenitore-oblo {
        width: clamp(280px, 24vw, 520px);
        height: clamp(200px, 18vw, 360px);
    }
}

.fiducia-usato {
    position: absolute;
    width: clamp(300px, 35%, 480px);
    height: auto;
    right: 5%;
    top: 100px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-size: clamp(40px, 5vw, 80px);
    line-height: 1.16;
    text-align: right;
    color: #81AEE0;
    z-index: 2;
}

.prestazioni {
    position: absolute;
    width: 90%;
    max-width: 990px;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    top: 480px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-size: clamp(28px, 3vw, 48px);
    line-height: 1.2;
    text-align: center;
    color: #204072;
    z-index: 1;
    padding: 0 20px;
    box-sizing: border-box;
}

.affidabilita {
    position: absolute;
    width: 90%;
    max-width: 1050px;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    top: 570px;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: clamp(20px, 2vw, 32px);
    line-height: 1.3;
    text-align: center;
    color: #204072;
    z-index: 1;
    padding: 0 20px;
    box-sizing: border-box;
}

.macchinari {
    width: 90%;
    max-width: 1000px;
    height: auto;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    font-size: clamp(26px, 3.8vw, 48px);
    line-height: 1.2;
    text-align: center;
    color: #FFFFFF;
    z-index: 1;
    padding: 0 30px;
    box-sizing: border-box;
    margin: 0;
}

.selezione {
    width: 90%;
    max-width: 1043px;
    height: auto;
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-size: clamp(16px, 2.6vw, 30px);
    line-height: 1.3;
    text-align: center;
    color: #FFFFFF;
    z-index: 1;
    padding: 0 30px;
    box-sizing: border-box;
    margin: 0;
}

@media (max-width: 900px) {
    .blue-box {
        top: 550px;
        padding: clamp(14px, 4vw, 40px);
        min-height: clamp(180px, 28vw, 320px);
    }
    .macchinari {
        font-size: clamp(22px, 4.8vw, 40px);
    }
    .selezione {
        font-size: clamp(14px, 3.2vw, 24px);
    }
    .prestazioni {
        top: 340px;
    }
    .affidabilita {
        top: 400px;
    }
    .valore-nuovo {
        top: -35px;
    }
    .contenitore-oblo {
        top: 5px;
    }
    .fiducia-usato {
        top: 85px;
    }
    .contenitore-nuovousato {
        margin-top: 150px;
        min-height: 800px;
        margin-bottom: 80px;
    }
}

@media (max-width: 600px) {
    .blue-box {
        top: 490px;
        border-radius: clamp(14px, 4vw, 22px);
        gap: clamp(6px, 1.6vw, 18px);
        padding: clamp(12px, 3.5vw, 32px);
        min-height: clamp(160px, 26vw, 280px);
    }
    .macchinari {
        font-size: clamp(20px, 4.6vw, 36px);
    }
    .selezione {
        font-size: clamp(12px, 3vw, 22px);
    }
    .prestazioni {
        top: 310px;
    }
    .affidabilita {
        top: 365px;
    }
    .valore-nuovo {
        top: -25px;
    }
    .contenitore-oblo {
        top: 10px;
    }
    .fiducia-usato {
        top: 75px;
    }
    .contenitore-nuovousato {
        margin-top: 140px;
        min-height: 720px;
        margin-bottom: 70px;
    }
}

/* Contatti Page */
.contatti-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 150px auto 100px;
    padding: 0 20px;
}

.contatti-title {
    font-family: 'Outfit';
    font-weight: 500;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.2;
    text-align: center;
    color: #204072;
    margin-bottom: 80px;
}

.contatti-subtitle {
    font-family: 'Outfit';
    font-weight: 600;
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.2;
    text-align: center;
    color: #81AEE0;
    margin-bottom: 50px;
}

.contatti-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    justify-content: center;
}

.contatto-card {
    flex: 1;
    max-width: 280px;
    box-sizing: border-box;
    height: 70px;
    border: 2px solid #204072;
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    font-family: 'Outfit';
    font-weight: 400;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.4;
    text-align: center;
    color: #204072;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.contatto-card:hover {
    background: #204072;
    color: #FFFFFF;
    transform: scale(1.05);
}

.copy-notification {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: #81AEE0;
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Outfit';
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.copy-notification::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #81AEE0;
}

.copy-notification.show {
    opacity: 1;
}

.mappa-link {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 80px;
    text-decoration: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.mappa-link.visible {
    opacity: 1;
    transform: translateY(0);
}

.mappa {
    width: 100%;
    height: 400px;
    background: #D9D9D9;
    border-radius: 25px;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.mappa-link:hover .mappa {
    opacity: 0.9;
}

.form-title {
    font-family: 'Outfit';
    font-weight: 600;
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.2;
    text-align: center;
    color: #204072;
    margin-bottom: 50px;
}

.contatti-form {
    width: 100%;
}

.form-group-full {
    margin-bottom: 30px;
}

.form-group-full label,
.form-group label {
    display: block;
    font-family: 'Outfit';
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #204072;
    margin-bottom: 8px;
}

.dipartimenti {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.dipartimento-btn {
    flex: 0 1 auto;
    padding: 12px 24px;
    box-sizing: border-box;
    height: auto;
    min-height: 45px;
    border: 1px solid #204072;
    border-radius: 5px;
    background: transparent;
    font-family: 'Outfit';
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    color: #204072;
    cursor: pointer;
    transition: all 0.3s;
}

.dipartimento-btn:hover,
.dipartimento-btn.active,
.dipartimento-btn.selected {
    background: #204072;
    color: #FFFFFF;
}

.department-btn.selected {
    background: #81AEE0 !important;
    color: #204072 !important;
    border-color: #81AEE0 !important;
}

.form-inline {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group input,
.form-group-full textarea {
    box-sizing: border-box;
    width: 100%;
    height: 45px;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    padding: 0 15px;
    font-family: 'Outfit';
    font-weight: 300;
    font-size: 14px;
    line-height: 1.4;
    color: #204072;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group-full textarea::placeholder {
    color: #999999;
}

.form-group input:focus,
.form-group-full textarea:focus {
    border-color: #81AEE0;
}

.form-group-full textarea {
    height: 120px;
    padding: 15px;
    resize: none;
}

.btn-submit {
    box-sizing: border-box;
    padding: 12px 30px;
    height: auto;
    min-height: 45px;
    border: 1px solid #204072;
    border-radius: 5px;
    background: transparent;
    font-family: 'Outfit';
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    color: #204072;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #204072;
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .form-inline {
        flex-direction: column;
        gap: 20px;
    }
    
    .dipartimenti {
        flex-direction: column;
    }
    
    .dipartimento-btn {
        width: 100%;
    }
    
    .contatti-cards {
        flex-direction: column;
        align-items: center;
    }
    
    
    .contatto-card {
        max-width: 100%;
    }
}

/* Hide mobile on desktop */
.mobile-container {
    display: none;
}

.mobile-only {
    display: none;
}

/* ========================================
   MOBILE VERSION - MAX 1024PX (UNDER 13")
   ======================================== */

@media (max-width: 1024px) {
    /* Show mobile container */
    .mobile-container {
        display: block;
    }

    /* Hide ALL desktop content */
    header,
    .hero-section,
    .about-section,
    .services-section,
    .story-section,
    footer {
        display: none !important;
    }

    /* Mobile container */
    body {
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        position: relative;
        background: white;
        overflow-x: hidden;
        padding-bottom: 300px;
    }
    
    body.no-bottom-padding {
        padding-bottom: 0;
    }

    /* Blue background section - SOLO per index.html */
    body.home::before {
        content: '';
        width: 100%;
        max-width: 100%;
        height: clamp(1040px, 128vw, 1060px);
        left: 0;
        top: 704px;
        position: absolute;
        background: #204072;
        border-bottom-left-radius: 50px;
        border-bottom-right-radius: 50px;
        z-index: 0;
    }

    /* White background section */
    body:not(.contatti)::after {
        content: '';
        width: 100%;
        max-width: 100%;
        height: 840px;
        left: 0;
        top: 0px;
        position: absolute;
        background: white;
        border-bottom-left-radius: 50px;
        border-bottom-right-radius: 50px;
        z-index: 0;
    }

    /* Mobile content wrapper */
    .mobile-container {
        width: 100%;
        position: relative;
        padding: 0 4%;
    }

    /* Badge background - "SI.MA Srl" */
    .mobile-badge {
        width: auto;
        min-width: 140px;
        height: 40px;
        padding: 0 28px;
        left: 50%;
        transform: translateX(-50%);
        top: 180px;
        position: absolute;
        background: #204072 !important;
        border-radius: 30px;
        z-index: 10;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: visible !important;
    }
    
    .mobile-badge::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: #204072;
        border-radius: 30px;
        z-index: -1;
    }

    /* Badge text inside */
    .mobile-badge-text {
        color: #FFFFFF !important;
        font-size: 16px !important;
        font-family: 'Outfit', Arial, Helvetica, sans-serif !important;
        font-weight: 500 !important;
        text-transform: uppercase !important;
        letter-spacing: 2.4px !important;
        text-align: center !important;
        white-space: nowrap !important;
        line-height: 40px !important;
        display: inline-block !important;
        position: relative !important;
        z-index: 100 !important;
    }

    /* Hero text container */
    .mobile-hero-text {
        width: 92%;
        height: auto;
        left: 50%;
        transform: translateX(-50%);
        top: 273px;
        position: absolute;
        text-align: center;
        z-index: 1;
    }

    .mobile-hero-text .line1 {
        color: #204072;
        font-size: clamp(18px, 6.1vw, 24px);
        font-family: Outfit;
        font-weight: 600;
        line-height: 1.16;
        word-wrap: break-word;
    }

    .mobile-hero-text .line2 {
        color: #81AEE0;
        font-size: clamp(32px, 12.2vw, 48px);
        font-family: Outfit;
        font-weight: 700;
        line-height: 1.16;
        word-wrap: break-word;
    }

    /* Subtitle text - "Risposta e presa in carico..." */
    .mobile-subtitle {
        width: 63%;
        left: 50%;
        transform: translateX(-50%);
        top: 454px;
        position: absolute;
        text-align: center;
        color: #204072;
        font-size: clamp(15px, 5.1vw, 20px);
        font-family: Outfit;
        font-weight: 500;
        line-height: 1.16;
        word-wrap: break-word;
        z-index: 1;
    }

    /* Button background - "Richiedi assistenza" */
    .mobile-btn-primary {
        width: auto;
        max-width: 320px;
        min-width: 200px;
        height: auto;
        padding: clamp(8px, 2.5vw, 12px) clamp(20px, 8vw, 40px);
        left: 50%;
        transform: translateX(-50%);
        top: 643px;
        position: absolute;
        background: #204072;
        border-radius: 50px;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mobile-btn-primary:active {
        background: #81AEE0;
        transform: translateX(-50%) scale(1.05);
    }

    .mobile-btn-primary:active .mobile-btn-primary-text {
        color: #204072;
    }

    .mobile-btn-primary.clicked {
        background: #81AEE0;
        animation: pulse-mobile 0.3s ease;
    }

    .mobile-btn-primary.clicked .mobile-btn-primary-text {
        color: #204072;
    }

    @keyframes pulse-mobile {
        0% {
            transform: translateX(-50%) scale(1);
        }
        50% {
            transform: translateX(-50%) scale(1.05);
        }
        100% {
            transform: translateX(-50%) scale(1);
        }
    }

    /* Button text - "Richiedi assistenza" */
    .mobile-btn-primary-text {
        color: white;
        font-size: clamp(14px, 4vw, 16px);
        font-family: Outfit;
        font-weight: 500;
        text-transform: uppercase;
        word-wrap: break-word;
        text-align: center;
        position: relative;
    }

    /* Link - "scopri le lavatrici disponibili" */
    .mobile-link-lavatrici {
        width: 64%;
        left: 50%;
        transform: translateX(-50%);
        top: 735px;
        position: absolute;
        text-align: center;
        color: #204072;
        font-size: clamp(12px, 3.8vw, 15px);
        font-family: Outfit;
        font-weight: 500;
        text-decoration: none;
        text-transform: uppercase;
        word-wrap: break-word;
        z-index: 1;
        cursor: pointer;
        transition: text-decoration 0.2s ease;
    }

    .mobile-link-lavatrici:active {
        text-decoration: underline;
    }

    /* Arrow/icon */
    .mobile-arrow {
        width: 34.25px;
        height: 19.97px;
        left: 50%;
        transform: translateX(-50%);
        top: 794px;
        position: absolute;
        z-index: 1;
        background: url('../images/SVG/angle-down-solid-full.svg') no-repeat center;
        background-size: contain;
        cursor: pointer;
        display: block;
        text-decoration: none;
    }

    /* About title - "SI.MA. Il tuo partner..." */
    .mobile-about-title {
        width: 92%;
        left: 50%;
        transform: translateX(-50%);
        top: 900px;
        position: absolute;
        text-align: center;
        color: white;
        font-size: clamp(22px, 8.1vw, 32px);
        font-family: Outfit;
        font-weight: 600;
        line-height: 1.16;
        word-wrap: break-word;
        z-index: 1;
    }

    /* Services title - "ASSISTENZA, VENDITA E SUPPORTO." */
    .mobile-services-title {
        width: 92%;
        left: 50%;
        transform: translateX(-50%);
        top: 1250px;
        position: absolute;
        text-align: center;
        color: white;
        font-size: clamp(22px, 8.1vw, 32px);
        font-family: Outfit;
        font-weight: 600;
        line-height: 1.16;
        word-wrap: break-word;
        z-index: 1;
    }

    /* Story title - "Una storia di competenza..." */
    .mobile-story-title {
        width: 92%;
        left: 50%;
        transform: translateX(-50%);
        top: 1814px;
        position: absolute;
        text-align: center;
        color: #204072;
        font-size: clamp(22px, 8.1vw, 32px);
        font-family: Outfit;
        font-weight: 600;
        line-height: 1.16;
        word-wrap: break-word;
        z-index: 1;
    }

    /* Services subtitle - "la forza di SI.MA" */
    .mobile-services-subtitle {
        width: 92%;
        left: 50%;
        transform: translateX(-50%);
        top: 1329px;
        position: absolute;
        text-align: center;
        color: white;
        font-size: clamp(18px, 6.1vw, 24px);
        font-family: Outfit;
        font-weight: 400;
        line-height: 1.16;
        word-wrap: break-word;
        z-index: 1;
    }

    /* About description */
    .mobile-about-description {
        width: 92%;
        height: auto;
        left: 50%;
        transform: translateX(-50%);
        top: 999px;
        position: absolute;
        text-align: center;
        color: white;
        font-size: clamp(15px, 5.1vw, 20px);
        font-family: Outfit;
        font-weight: 400;
        line-height: 1.16;
        word-wrap: break-word;
        z-index: 1;
    }

    /* Service borders/boxes */
    .mobile-service-1-border {
        width: 92%;
        height: auto;
        padding: 3.5vw 5%;
        left: 4%;
        top: 1394px;
        position: absolute;
        border-radius: 38px;
        border: 1px white solid;
        z-index: 1;
        display: flex;
        align-items: center;
        gap: 4%;
    }

    .mobile-service-2-border {
        width: 92%;
        height: auto;
        padding: 3.5vw 5%;
        left: 4%;
        top: 1514px;
        position: absolute;
        border-radius: 38px;
        border: 1px white solid;
        z-index: 1;
        display: flex;
        align-items: center;
        gap: 4%;
    }

    .mobile-service-3-border {
        width: 92%;
        height: auto;
        padding: 3.5vw 5%;
        left: 4%;
        top: 1634px;
        position: absolute;
        border-radius: 38px;
        border: 1px white solid;
        z-index: 1;
        display: flex;
        align-items: center;
        gap: 4%;
    }

    /* Service item numbers */
    .mobile-service-1-number,
    .mobile-service-2-number,
    .mobile-service-3-number {
        color: #81AEE0;
        font-size: clamp(24px, 8.1vw, 32px);
        font-family: Outfit;
        font-weight: 600;
        line-height: 1.16;
        word-wrap: break-word;
        text-align: center;
        flex-shrink: 0;
        position: relative;
    }

    /* Service item texts */
    .mobile-service-1-text,
    .mobile-service-2-text,
    .mobile-service-3-text {
        color: white;
        font-size: clamp(15px, 5.1vw, 20px);
        font-family: Outfit;
        font-weight: 600;
        line-height: 1.16;
        word-wrap: break-word;
        text-align: center;
        flex: 1;
        position: relative;
    }

    /* Story description 1 */
    .mobile-story-description-1 {
        width: 92%;
        height: auto;
        left: 4%;
        top: 1914px;
        position: absolute;
        text-align: center;
        color: #204072;
        font-size: clamp(15px, 5.1vw, 20px);
        font-family: Outfit;
        font-weight: 400;
        line-height: 1.16;
        word-wrap: break-word;
        z-index: 1;
    }

    /* Story description 2 box */
    .mobile-story-box {
        width: 92%;
        height: auto;
        padding: 6vw 5%;
        left: 4%;
        top: 2129px;
        position: absolute;
        background: #81AEE0;
        border-radius: 25px;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Story description 2 text */
    .mobile-story-description-2 {
        text-align: center;
        color: white;
        font-size: clamp(18px, 6.1vw, 24px);
        font-family: Outfit;
        font-weight: 500;
        line-height: 1.16;
        word-wrap: break-word;
        position: relative;
    }

    /* Footer section */
    .mobile-footer-title-contatti {
        left: 6.4%;
        top: 2587px;
        position: absolute;
        color: #81AEE0;
        font-size: clamp(12px, 3.6vw, 14px);
        font-family: Outfit;
        font-weight: 400;
        word-wrap: break-word;
        z-index: 1;
    }

    /* Mobile footer divider line */
    .mobile-footer-divider {
        width: 87.2%;
        height: 1px;
        background: #204072;
        left: 6.4%;
        top: 2460px;
        position: absolute;
        z-index: 1;
    }

    .mobile-footer-address {
        left: 6.4%;
        top: 2621px;
        position: absolute;
        color: #204072;
        font-size: clamp(12px, 3.6vw, 14px);
        font-family: Outfit;
        font-weight: 400;
        word-wrap: break-word;
        z-index: 1;
    }

    .mobile-footer-tel {
        left: 6.4%;
        top: 2686px;
        position: absolute;
        color: #204072;
        font-size: clamp(12px, 3.6vw, 14px);
        font-family: Outfit;
        font-weight: 400;
        word-wrap: break-word;
        z-index: 1;
    }

    .mobile-footer-piva {
        left: 6.4%;
        top: 2806px;
        position: absolute;
        color: #204072;
        font-size: clamp(12px, 3.6vw, 14px);
        font-family: Outfit;
        font-weight: 400;
        word-wrap: break-word;
        z-index: 1;
    }

    .mobile-footer-website {
        left: 6.4%;
        top: 2766px;
        position: absolute;
        color: #204072;
        font-size: clamp(12px, 3.6vw, 14px);
        font-family: Outfit;
        font-weight: 400;
        word-wrap: break-word;
        z-index: 1;
    }

    .mobile-footer-email {
        left: 6.4%;
        top: 2726px;
        position: absolute;
        color: #204072;
        font-size: clamp(12px, 3.6vw, 14px);
        font-family: Outfit;
        font-weight: 400;
        word-wrap: break-word;
        z-index: 1;
    }

    .mobile-footer-title-orari {
        left: 59.8%;
        top: 2587px;
        position: absolute;
        color: #81AEE0;
        font-size: clamp(12px, 3.6vw, 14px);
        font-family: Outfit;
        font-weight: 400;
        word-wrap: break-word;
        z-index: 1;
    }

    .mobile-footer-orari-giorni {
        left: 59.8%;
        top: 2621px;
        position: absolute;
        color: #204072;
        font-size: clamp(12px, 3.6vw, 14px);
        font-family: Outfit;
        font-weight: 400;
        word-wrap: break-word;
        z-index: 1;
    }

    .mobile-footer-orari-ore {
        left: 59.8%;
        top: 2639px;
        position: absolute;
        color: #204072;
        font-size: clamp(12px, 3.6vw, 14px);
        font-family: Outfit;
        font-weight: 400;
        word-wrap: break-word;
        z-index: 1;
    }

    .mobile-footer-emergenze {
        left: 59.8%;
        top: 2686px;
        position: absolute;
        color: #204072;
        font-size: clamp(12px, 3.6vw, 14px);
        font-family: Outfit;
        font-weight: 400;
        word-wrap: break-word;
        z-index: 1;
    }

    .mobile-footer-24-7 {
        left: 59.8%;
        top: 2704px;
        position: absolute;
        color: #204072;
        font-size: clamp(12px, 3.6vw, 14px);
        font-family: Outfit;
        font-weight: 400;
        word-wrap: break-word;
        z-index: 1;
    }

    /* Logo container */
    .mobile-footer-logo {
        width: 14%;
        height: 14vw;
        max-height: 55px;
        left: 6.4%;
        top: 2492px;
        position: absolute;
        overflow: hidden;
        z-index: 1;
        display: flex;
        align-items: center;
    }

    .mobile-footer-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: left center;
    }

    /* Reviews title */
    .mobile-footer-reviews-title {
        width: auto;
        height: auto;
        left: 59.8%;
        top: 2495px;
        position: absolute;
        color: #81AEE0;
        font-size: clamp(9px, 2.8vw, 11px);
        font-family: Outfit;
        font-weight: 400;
        word-wrap: break-word;
        z-index: 1;
    }

    /* Stars */
    .mobile-footer-star-1,
    .mobile-footer-star-2,
    .mobile-footer-star-3,
    .mobile-footer-star-4,
    .mobile-footer-star-5 {
        width: 18.32px;
        height: 17.51px;
        top: 2531.81px;
        position: absolute;
        z-index: 1;
        background: url('../images/SVG/star-solid-full\ \(2\)\ 1.svg') no-repeat center;
        background-size: contain;
    }

    .mobile-footer-star-1 { left: 59.8%; }
    .mobile-footer-star-2 { left: calc(59.8% + 29px); }
    .mobile-footer-star-3 { left: calc(59.8% + 58px); }
    .mobile-footer-star-4 { left: calc(59.8% + 87px); }
    .mobile-footer-star-5 { left: calc(59.8% + 116px); }

    /* Privacy & Cookie */
    .mobile-footer-privacy {
        left: 59.8%;
        top: 2766px;
        position: absolute;
        color: #81AEE0;
        font-size: clamp(12px, 3.6vw, 14px);
        font-family: Outfit;
        font-weight: 400;
        text-decoration: underline;
        word-wrap: break-word;
        z-index: 1;
    }

    .mobile-footer-cookie {
        left: 59.8%;
        top: 2806px;
        position: absolute;
        color: #81AEE0;
        font-size: clamp(12px, 3.6vw, 14px);
        font-family: Outfit;
        font-weight: 400;
        text-decoration: underline;
        word-wrap: break-word;
        z-index: 1;
    }

    .mobile-footer-cookie-settings {
        left: 59.8%;
        top: 2841px;
        position: absolute;
        color: #81AEE0;
        font-size: clamp(12px, 3.6vw, 14px);
        font-family: Outfit;
        font-weight: 400;
        text-decoration: underline;
        word-wrap: break-word;
        z-index: 1;
        width: 40%;
    }

    /* Design credit */
    .mobile-footer-design {
        left: 6.4%;
        top: 2846px;
        position: absolute;
        color: #81AEE0;
        font-size: clamp(10px, 3.1vw, 12px);
        font-family: Outfit;
        font-weight: 400;
        word-wrap: break-word;
        z-index: 100;
        text-decoration: none;
        cursor: pointer;
        pointer-events: auto;
    }
    
    .mobile-footer-design:hover {
        text-decoration: underline;
    }

    .mobile-footer-spacer {
        width: 100%;
        height: 30px;
        position: absolute;
        top: 2918px;
        z-index: 0;
    }

    /* Hamburger menu button */
    .mobile-menu-button {
        width: 14.5vw;
        max-width: 57px;
        height: 14.5vw;
        max-height: 57px;
        right: 8%;
        top: 58px;
        position: fixed;
        background: #204072;
        border-radius: 9999px;
        border: 1px #81AEE0 solid;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .mobile-menu-icon {
        width: 6.4vw;
        max-width: 25px;
        height: 5.5vw;
        max-height: 21.43px;
        position: relative;
        z-index: 11;
    }

    /* Hamburger lines */
    .mobile-menu-icon::before,
    .mobile-menu-icon::after {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background: #81AEE0;
        border-radius: 2px;
    }

    .mobile-menu-icon::before {
        top: 0;
        box-shadow: 0 9px 0 #81AEE0;
    }

    .mobile-menu-icon::after {
        bottom: 0;
    }

    /* Mobile Side Menu */
    .mobile-side-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999;
        pointer-events: none;
    }

    .mobile-side-menu.active {
        pointer-events: all;
    }

    .mobile-side-menu-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(32, 64, 114, 0.7);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-side-menu.active .mobile-side-menu-overlay {
        opacity: 1;
    }

    .mobile-side-menu-content {
        position: absolute;
        top: 0;
        right: 0;
        width: 75%;
        max-width: 320px;
        height: 100%;
        background: #204072;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        padding: 30px 20px;
    }

    .mobile-side-menu.active .mobile-side-menu-content {
        transform: translateX(0);
    }

    .mobile-side-menu-close {
        align-self: flex-end;
        width: 30px;
        height: 30px;
        cursor: pointer;
        margin-bottom: 40px;
        transition: transform 0.3s ease;
    }

    .mobile-side-menu-close img {
        width: 100%;
        height: 100%;
        display: block;
    }

    .mobile-side-menu-close:hover {
        transform: rotate(90deg);
    }

    .mobile-side-menu-nav {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .mobile-menu-link {
        color: #FFFFFF;
        text-decoration: none;
        font-size: 20px;
        font-weight: 500;
        letter-spacing: 1px;
        padding: 15px 10px;
        border-bottom: 1px solid rgba(129, 174, 224, 0.2);
        transition: all 0.3s ease;
    }

    .mobile-menu-link:hover,
    .mobile-menu-link:active {
        color: #81AEE0;
        padding-left: 20px;
        border-bottom-color: #81AEE0;
    }
}

/* Android-specific fix for scroll issue */
@media (max-width: 1024px) {
    html.android .mobile-container {
        padding-bottom: 100px;
    }
    
    html.android .mobile-footer-spacer {
        height: 80px;
    }
}

/* Legalblink Cookie Banner - Assicura che sia sempre sopra tutto */
[id*="legalblink"],
[class*="legalblink"],
#lb-cs-banner,
.lb-cs-banner,
#lb-cs-overlay,
.lb-cs-overlay {
    z-index: 999999 !important;
}


/* Link "Aggiorna preferenze cookie" - SEMPRE sotto il banner Legalblink */
.lb-cs-settings-link,
.mobile-footer-cookie-settings {
    z-index: 1 !important;
}

/* Modal Legalblink sempre in primo piano */
[id*="lb-cs-modal"],
[class*="lb-cs-modal"],
[id*="lb-modal"],
[class*="lb-modal"] {
    z-index: 9999999 !important;
}
