/* ===== VARIABILI CSS ===== */
:root {
    --primary-color: #ff601e;
    --primary-dark: #e55a1a;
    --primary-light: #ff8a5b;
    --dark-color: #000000;
    --darker-color: #000000;
    --light-color: #f8fafc;
    --white: #ffffff;
    --light-gray: #d5d4d5;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* ===== RESET E BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Rimuovo la regola che causava problemi al container */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    max-width: 100vw;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-color);
    letter-spacing: -0.5px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 2px;
}

.section-title-left::after {
    left: 0;
    transform: none;
    bottom: -20px;
}

.accent-text {
    color: var(--primary-color);
    position: relative;
}

/* ===== PRE-HEADER ===== */
.pre-header {
    background: var(--white);
    color: var(--dark-color);
    padding: 0.5rem 0 1.8rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--light-gray);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    width: 100%;
    overflow-x: hidden;
    max-width: 100vw;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pre-header .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.pre-header-info {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 0.25rem 0;
    justify-content: flex-start;
}

.pre-header-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.85rem;
}

.pre-header-item i {
    color: var(--primary-color);
    font-size: 0.8rem;
    width: 12px;
}

.pre-header-item {
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pre-header-item:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.pre-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 0.25rem 0;
    flex-wrap: wrap;
    padding-right: 0.5rem;
    margin-right: 0;
}

.pre-header .social-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.pre-header .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--light-gray);
    color: var(--gray-600);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.pre-header .social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.phone-btn, .whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: fit-content;
}

.phone-btn {
    background: var(--primary-color);
    box-shadow: 0 2px 8px rgba(255, 96, 30, 0.3);
}

.phone-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 96, 30, 0.4);
}

.whatsapp-btn {
    background: #25D366;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #20b85a;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.phone-btn i, .whatsapp-btn i {
    font-size: 0.8rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 0.3rem 0;
    margin-top: 70px;
    width: 100%;
    max-width: 100vw;
    border-bottom: 1px solid var(--light-gray);
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    padding: 0.2rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

/* Allineamento pulsanti pre-header con menu */
.pre-header .col-md-6:last-child {
    display: flex;
    justify-content: flex-end;
}

.pre-header-right {
    margin-right: 0;
    padding-right: 0;
    align-items: center;
}

/* Allineamento perfetto con l'ultima voce del menu */
@media (min-width: 992px) {
    .pre-header-right {
        margin-right: -0.5rem; /* Compensa il margin del nav-link */
    }
}

.navbar-brand {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color) !important;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
}

.brand-text {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--gray-600) !important;
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 25px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(255, 96, 30, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(255, 96, 30, 0.1);
}

/* Hamburger menu mobile */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ff601e' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== LINKABILI TELEFONI E EMAIL ===== */
/* Migliora l'aspetto dei link telefonici e email */
a[href^="tel:"] {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a[href^="tel:"]:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

a[href^="mailto:"] {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a[href^="mailto:"]:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Assicura che i numeri di telefono siano sempre cliccabili */
.phone-number, .email-address {
    cursor: pointer;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-number:hover, .email-address:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ===== MODULO CONVERSIONE ===== */
.conversion-module {
    margin: 2rem 0;
    padding: 2rem 0;
}

.conversion-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.conversion-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 1002;
    pointer-events: auto;
}

.conversion-btn i {
    font-size: 1.2rem;
}

.conversion-btn.phone-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.conversion-btn.phone-btn:hover {
    background: linear-gradient(45deg, var(--primary-dark), #d44a15);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 96, 30, 0.4);
    text-decoration: none;
    z-index: 1002;
}

.conversion-btn.whatsapp-btn {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: var(--white);
}

.conversion-btn.whatsapp-btn:hover {
    background: linear-gradient(45deg, #128C7E, #0E6B5F);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1002;
}

.conversion-btn.email-btn {
    background: linear-gradient(45deg, var(--dark-color), #333333);
    color: var(--white);
}

.conversion-btn.email-btn:hover {
    background: linear-gradient(45deg, #333333, #1a1a1a);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    z-index: 1002;
}

/* Modulo conversione nelle sezioni */
.section-conversion {
    background: rgba(255, 96, 30, 0.05);
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    margin: 3rem 0;
}

.section-conversion .conversion-btn {
    min-width: 180px;
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
}

/* Pulsanti conversione nella pre-header */
.pre-header-conversion {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.pre-header-buttons {
    gap: 0.5rem;
}

.pre-header-buttons .conversion-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    min-width: auto;
    border-radius: 25px;
    cursor: pointer;
    position: relative;
    z-index: 1002;
    pointer-events: auto;
}

.pre-header-buttons .conversion-btn span {
    display: none;
}

.pre-header-buttons .conversion-btn i {
    font-size: 1rem;
}

/* Responsive per modulo conversione */
@media (max-width: 768px) {
    /* Nascondi pre-header su mobile */
    .pre-header {
        display: none;
    }
    
    /* Aggiusta navbar per mobile senza pre-header */
    .navbar {
        margin-top: 0;
    }
    
    /* Aggiusta hero section per mobile senza pre-header */
    .hero-section {
        padding-top: 100px;
    }
    
    .conversion-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .conversion-btn {
        width: 100%;
        max-width: 300px;
        min-width: auto;
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 50px;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
        display: flex;
    }
    
    .conversion-btn span {
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .conversion-btn i {
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    
    /* Uniforma tutti i pulsanti hero section mobile */
    .hero-section .conversion-btn {
        height: 60px;
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Uniforma pulsanti sezione contatti mobile */
    .contact-cta .conversion-btn {
        height: 60px;
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .contact-cta .conversion-btn span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        font-weight: 600;
    }
    
    .contact-cta .conversion-btn i {
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    
    .section-conversion .conversion-btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Pulsanti conversione nel menu mobile */
    .mobile-menu-conversion {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 0;
    }
    
    /* Margin top per il primo link del menu mobile */
    .navbar-nav .nav-item:first-child .nav-link {
        margin-top: 1rem;
    }
    
    .mobile-menu-conversion .conversion-btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 50px;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
        display: flex;
    }
    
    .mobile-menu-conversion .conversion-btn span {
        font-weight: 600;
    }
    
    .mobile-menu-conversion .conversion-btn i {
        font-size: 1.1rem;
    }
}

/* Pulsanti conversione nell'exit popup */
.exit-popup-conversion {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 0;
}

.exit-popup-conversion .conversion-btn {
    width: 100%;
    height: 60px;
    min-width: auto;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 50px;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    display: flex;
}

.exit-popup-conversion .conversion-btn span {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.exit-popup-conversion .conversion-btn i {
    font-size: 1.1rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%), 
                url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    z-index: 1;
    padding-top: 200px; /* Spazio per pre-header + navbar */
    padding-bottom: 80px; /* Padding bottom aggiunto */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23dc2626" stop-opacity="0.1"/><stop offset="100%" stop-color="%23dc2626" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23a)"/><circle cx="800" cy="800" r="400" fill="url(%23a)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(255, 96, 30, 0.4);
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
    line-height: 1.1;
    text-transform: uppercase;
}

.highlight-text {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(255, 96, 30, 0.8);
    font-size: 1.2em;
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 400;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(255, 96, 30, 0.8);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.hero-guarantee {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: rgba(255, 96, 30, 0.2);
    border: 2px solid rgba(255, 96, 30, 0.5);
    border-radius: 15px;
    color: var(--white);
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.hero-buttons .btn {
    font-family: var(--font-secondary);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    border: none;
    box-shadow: 0 4px 15px rgba(255, 96, 30, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 96, 30, 0.4);
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    text-decoration: none;
}

.scroll-indicator:hover {
    color: var(--primary-color);
    transform: translateX(-50%) scale(1.1);
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== SECTION SPACING ===== */
/* Spacing specifico per ogni sezione */

/* ===== BENEFITS SECTION ===== */
#benefits {
    padding: 5rem 0;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
    background-color: var(--white);
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    height: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: var(--shadow-md);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    transition: left 0.5s ease;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--white);
}

.benefit-card h4 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 700;
    letter-spacing: -0.3px;
    text-transform: uppercase;
}

.benefit-card p {
    font-family: var(--font-secondary);
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.benefit-highlight {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--gray-100);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ===== DOCUMENTS SECTION ===== */
#documents {
    padding: 5rem 0;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
    background-color: var(--gray-100);
}

.document-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    height: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: var(--shadow-md);
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.document-card-special {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
}

.document-card-special:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.3);
}

.document-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.document-card-special .document-icon {
    background: rgba(255, 255, 255, 0.2);
}

.document-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.document-card h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 600;
    letter-spacing: -0.3px;
}

.document-card-special h4 {
    color: var(--white);
}

.document-card p {
    font-family: var(--font-secondary);
    color: var(--gray-600);
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.document-card-special p {
    color: var(--white);
}

.document-note {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 0.9rem;
}

.document-note a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
}

.document-note a:hover {
    text-decoration: underline;
}

/* ===== CONTACT CTA SECTION ===== */
.contact-cta {
    padding: 3rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23a)"/><circle cx="800" cy="800" r="400" fill="url(%23a)"/></svg>');
    opacity: 0.3;
}

.cta-title {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.cta-text {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-guarantee {
    color: var(--white);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.cta-guarantee i {
    color: #ffd700;
}

.about-content {
    padding: 3rem 0;
}

.about-content .lead {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.about-features {
    margin-top: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 500;
}

.feature-item i {
    font-size: 1.25rem;
    margin-right: 1rem;
    width: 24px;
}

.about-image img {
    border-radius: 15px;
    transition: transform 0.3s ease;
}

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

.placeholder-image {
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: 15px;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--gray-500);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.placeholder-image:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.placeholder-image i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.placeholder-image p {
    margin: 0;
    font-weight: 500;
}

/* ===== SERVICES SECTION ===== */
#services {
    padding: 5rem 0;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
    background-color: var(--gray-100);
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    height: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 600;
    letter-spacing: -0.3px;
}

.service-card p {
    font-family: var(--font-secondary);
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-price {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--gray-100);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-block;
    letter-spacing: 0.5px;
}

/* ===== GALLERY SECTION ===== */
#gallery {
    padding: 5rem 0;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
    background-color: var(--white);
}

.gallery-filter {
    margin-bottom: 4rem;
    margin-top: 2rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--gray-600);
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 38, 38, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--white);
}

/* ===== CONTACT SECTION ===== */
#contact {
    padding: 5rem 0;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
    background-color: var(--dark-color);
}

.contact-info {
    padding: 3rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
    width: 24px;
}

.contact-item h5 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--gray-300);
    margin: 0;
}

.contact-item p a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item p a:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-content {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.stars {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.testimonial-text {
    color: var(--white);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 1rem;
}

.testimonial-author {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
}

.author-name {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.author-role {
    color: var(--gray-300);
    font-size: 0.9rem;
}

/* Form di contatto rimosso - sostituito con mappa */

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-top: 3rem;
    position: relative;
    transition: all 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    border-radius: 15px;
    filter: invert(0.9) hue-rotate(200deg) contrast(1.4) saturate(1.8) brightness(1.0);
    transition: all 0.3s ease;
}

.map-container:hover iframe {
    filter: invert(0.9) hue-rotate(200deg) contrast(1.4) saturate(1.8) brightness(1.0);
}

/* Overlay gradient per effetto invertito spettacolare */
.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(59, 130, 246, 0.2) 50%, rgba(147, 51, 234, 0.15) 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: 15px;
    transition: all 0.3s ease;
    mix-blend-mode: screen;
}

.map-container:hover::before {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(59, 130, 246, 0.2) 50%, rgba(147, 51, 234, 0.15) 100%);
    mix-blend-mode: screen;
}

/* ===== COOKIE BANNER STYLES ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    display: none;
    animation: slideUp 0.5s ease;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.show {
    display: block;
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.cookie-text h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.cookie-text p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.cookie-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

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

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    animation: fadeIn 0.3s ease;
}

.cookie-modal-content {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.cookie-modal-content h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
}

.cookie-options {
    margin-bottom: 2rem;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    background-color: var(--primary-color);
    opacity: 0.7;
}

.cookie-info h4 {
    color: var(--dark-color);
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
}

.cookie-info p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

.cookie-modal-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-modal-buttons .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cookie-modal-buttons .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Animazioni */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== EXIT POPUP ===== */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.exit-popup.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.exit-popup-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.exit-popup-content {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.exit-popup.show .exit-popup-content {
    transform: scale(1);
}

.exit-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-600);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.exit-popup-close:hover {
    background: var(--gray-100);
    color: var(--dark-color);
}

.exit-popup-body {
    padding: 3rem 2rem 2rem;
    text-align: center;
}


.exit-popup-title {
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

.exit-popup-text {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.exit-popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.exit-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.exit-popup-btn.whatsapp-btn {
    background: #25D366;
    color: white;
}

.exit-popup-btn.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.exit-popup-btn.phone-btn {
    background: var(--primary-color);
    color: white;
}

.exit-popup-btn.phone-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 96, 30, 0.3);
}

.exit-popup-btn.email-btn {
    background: var(--dark-color);
    color: white;
}

.exit-popup-btn.email-btn:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.exit-popup-footer {
    color: var(--gray-500);
    margin: 0;
    font-style: italic;
}

/* Exit popup responsive */
@media (max-width: 768px) {
    .exit-popup-content {
        width: 95%;
        margin: 1rem;
    }
    
    .exit-popup-body {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .exit-popup-title {
        font-size: 1.5rem;
    }
    
    .exit-popup-text {
        font-size: 1rem;
    }
    
    .exit-popup-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* ===== MOBILE FIXED BUTTONS ===== */
.mobile-fixed-buttons {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 6px;
    z-index: 1000;
    padding: 0 10px;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.mobile-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    text-decoration: none;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.mobile-btn i {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.mobile-btn span {
    font-size: 0.6rem;
    line-height: 1;
}

.whatsapp-mobile {
    background: #25D366;
}

.whatsapp-mobile:hover {
    background: #20b85a;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.phone-mobile {
    background: var(--primary-color);
}

.phone-mobile:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 96, 30, 0.4);
}

.map-mobile {
    background: #4285F4;
}

.map-mobile:hover {
    background: #3367D6;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(66, 133, 244, 0.4);
}

.email-mobile {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.email-mobile:hover {
    background: linear-gradient(135deg, #ee82f0 0%, #f3455a 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(240, 147, 251, 0.4);
}

/* ===== FOOTER ===== */
footer {
    margin-top: 2rem;
    position: relative;
    z-index: 2;
    background-color: var(--dark-color);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
    color: var(--dark-color);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .pre-header-info {
        gap: 1rem;
    }
    
    .pre-header-right {
        gap: 0.5rem;
    }
    
    .phone-btn, .whatsapp-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* ===== TABLET STYLE (768px - 1199px) ===== */
@media (max-width: 1199px) and (min-width: 768px) {
    .scroll-indicator {
        display: none;
    }
    
    
    .navbar {
        position: fixed;
        top: 0;
        bottom: auto;
        margin-top: 0;
        z-index: 1001;
    }
    
    .hero-section {
        padding-top: 220px;
        padding-bottom: 60px;
        background-attachment: scroll;
    }
    
    .navbar-social {
        padding: 1rem 0;
        border-top: 1px solid var(--gray-700);
        margin-top: 1rem;
    }
    
    .navbar-social .social-links {
        justify-content: center;
        gap: 0.75rem;
        flex-direction: row;
    }
    
    .navbar-social .social-link {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--light-gray);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--dark-color);
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 1rem;
    }
    
    .navbar-social .social-link:hover {
        background: var(--primary-color);
        transform: translateY(-2px);
        color: var(--white);
    }
    
    .mobile-fixed-buttons {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    /* Form di contatto rimosso */
    
    /* Testimonial responsive */
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    .hero-buttons .btn {
        display: inline-block;
        width: auto;
        margin: 0.25rem;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .filter-btn {
        margin: 0.25rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .gallery-filter {
        margin-bottom: 1rem;
    }
    
    /* Assicura che le altre sezioni rimangano centrate */
    .section-title {
        text-align: center;
    }
    
    .gallery-filter {
        text-align: center;
    }
    
    /* Centra il contenuto delle sezioni */
    #about .container,
    #services .container,
    #gallery .container,
    #contact .container {
        text-align: center;
    }
}

/* ===== MOBILE STYLE (767px e sotto) ===== */
@media (max-width: 767px) {
    .scroll-indicator {
        display: none;
    }
    
    /* Nascondi pre-header su mobile */
    .pre-header {
        display: none;
    }
    
    .navbar {
        position: fixed;
        top: 0;
        bottom: auto;
        margin-top: 0;
        z-index: 1001;
    }
    
    .hero-section {
        padding-top: 100px;
        padding-bottom: 50px;
    }
    
    .navbar-social {
        padding: 1rem 0;
        border-top: 1px solid var(--gray-700);
        margin-top: 1rem;
    }
    
    .navbar-social .social-links {
        justify-content: center;
        gap: 0.75rem;
        flex-direction: row;
    }
    
    .navbar-social .social-link {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--light-gray);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--dark-color);
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 1rem;
    }
    
    .navbar-social .social-link:hover {
        background: var(--primary-color);
        transform: translateY(-2px);
        color: var(--white);
    }
    
    .mobile-fixed-buttons {
        display: flex;
    }
    
    .hero-buttons .btn {
        display: inline-block;
        width: auto;
        margin: 0.25rem;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .filter-btn {
        margin: 0.25rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .gallery-filter {
        margin-bottom: 1rem;
    }
    
    .pre-header-info .pre-header-item {
        display: none;
    }
    
    .pre-header-right {
        display: none;
    }
    
    .pre-header .social-links {
        justify-content: flex-start;
        width: 100%;
    }
    
    .pre-header-info {
        justify-content: flex-start;
    }
    
    /* Assicura che le altre sezioni rimangano centrate */
    .section-title {
        text-align: center;
    }
    
    .gallery-filter {
        text-align: center;
    }
    
    /* Aumenta il padding del container su mobile */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Centra il separatore della sezione Chi Siamo da mobile */
    .section-title-left::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Modifica il layout delle icone da mobile */
    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .feature-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
        font-size: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    /* Centra il contenuto delle sezioni */
    #about .container,
    #services .container,
    #gallery .container,
    #contact .container {
        text-align: center;
    }
    
    /* Centra la sezione contatti su mobile */
    #contact .row {
        justify-content: center;
    }
    
    #contact .col-lg-6 {
        text-align: center;
    }
    
    #contact .contact-info {
        text-align: center;
    }
    
    #contact .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
    }
    
    #contact .contact-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
        font-size: 2rem;
    }
    
    .navbar {
        margin-top: 45px;
    }
    
    .pre-header-item {
        font-size: 0.75rem;
    }
    
    .pre-header .social-link {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
    }
    
    .phone-btn, .whatsapp-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .navbar {
        margin-top: 80px;
    }
    
    .navbar .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .mobile-btn {
        width: 65px;
        height: 65px;
    }
    
    .mobile-btn i {
        font-size: 1.2rem;
    }
    
    .mobile-btn span {
        font-size: 0.65rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .brand-logo {
        height: 60px;
    }
    
    .hero-stats {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        padding: 1rem;
        width: 100%;
        max-width: 250px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 1.3rem;
    }
    
    .cta-box {
        padding: 1.5rem 1rem;
    }
    
    .benefit-card, .document-card {
        padding: 1.5rem 1rem;
    }
    
    .benefit-icon, .document-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon i, .document-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    /* Nascondi pre-header su mobile piccolo */
    .pre-header {
        display: none;
    }
    
    .navbar {
        position: fixed;
        top: 0;
        bottom: auto;
        margin-top: 0;
        z-index: 1001;
    }
    
    .hero-section {
        padding-top: 100px;
        padding-bottom: 40px;
    }
    
    .navbar-social {
        padding: 0.8rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .brand-logo {
        height: 50px;
    }
}

/* ===== UTILITY CLASSES ===== */
.bg-light {
    background-color: var(--gray-100) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== SCROLLBAR CUSTOMIZATION ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== COOKIE BANNER RESPONSIVE ===== */
@media (max-width: 767px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .cookie-modal-content {
        margin: 1rem;
        padding: 1.5rem;
        max-height: 90vh;
    }
    
    .cookie-modal-buttons {
        flex-direction: column;
    }
    
    .cookie-modal-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}
