   
        @import url("https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,600,600italic,700");
@import url("fontawesome-all.min.css");

        
        /* ==================== RESET E BASE ==================== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            /* Colori principali */
            --primary-color: #2563eb;
            --primary-dark: #1e40af;
            --primary-light: #3b82f6;
            
            /* Colori secondari */
            --secondary-color: #64748b;
            --accent-color: #f59e0b;
            
            /* Sfumature di grigio */
            --gray-50: #f8fafc;
            --gray-100: #f1f5f9;
            --gray-200: #e2e8f0;
            --gray-300: #cbd5e1;
            --gray-700: #334155;
            --gray-800: #1e293b;
            --gray-900: #0f172a;
            
            /* Colori testo */
            --text-primary: #0f172a;
            --text-secondary: #475569;
            --text-light: #64748b;
            
            /* Backgrounds */
            --bg-primary: #ffffff;
            --bg-secondary: #f8fafc;
            
            /* Shadows */
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            
            /* Spacing */
            --nav-height: 70px;
            --container-padding: 1.5rem;
            --section-padding: 4rem 0;
            
            /* Transitions */
            --transition-fast: 0.15s ease;
            --transition-normal: 0.3s ease;
            --transition-slow: 0.5s ease;
            
            /* Border radius */
            --radius-sm: 0.375rem;
            --radius-md: 0.5rem;
            --radius-lg: 0.75rem;
            --radius-xl: 1rem;
            
            /* Font sizes */
            --text-xs: 0.75rem;
            --text-sm: 0.875rem;
            --text-base: 1rem;
            --text-lg: 1.125rem;
            --text-xl: 1.25rem;
            --text-2xl: 1.5rem;
            --text-3xl: 1.875rem;
            --text-4xl: 2.25rem;
            --text-5xl: 3rem;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            background-color: var(--bg-primary);
            padding-top: var(--nav-height);
        }

        /* ==================== NAVBAR ==================== */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: var(--nav-height);
            background-color: var(--bg-primary);
            box-shadow: var(--shadow-md);
            z-index: 1000;
            transition: all var(--transition-normal);
        }

        .navbar.scrolled {
            box-shadow: var(--shadow-lg);
            background-color: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
        }

        .nav-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 var(--container-padding);
            height: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-logo {
            font-size: var(--text-xl);
            font-weight: 700;
            color: var(--primary-color);
            text-decoration: none;
            transition: color var(--transition-fast);
        }

        .nav-logo:hover {
            color: var(--primary-dark);
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
            align-items: center;
        }

        .nav-link {
            position: relative;
            color: var(--text-secondary);
            text-decoration: none;
            font-weight: 500;
            font-size: var(--text-base);
            padding: 0.5rem 0;
            transition: color var(--transition-fast);
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary-color);
            transition: width var(--transition-normal);
        }

        .nav-link:hover {
            color: var(--primary-color);
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

        .nav-link.active {
            color: var(--primary-color);
        }

        /* Hamburger Menu */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 0.25rem;
            padding: 0.5rem;
            background: none;
            border: none;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background-color: var(--text-primary);
            border-radius: 3px;
            transition: all var(--transition-normal);
        }

        .hamburger.active span:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }

        /* ==================== CONTAINER ==================== */
        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 var(--container-padding);
        }

        /* ==================== SECTIONS ==================== */
        section {
            padding: var(--section-padding);
            min-height: calc(100vh - var(--nav-height));
        }

        section:nth-child(even) {
            background-color: var(--bg-secondary);
        }

        .section-title {
            font-size: var(--text-4xl);
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .section-subtitle {
            font-size: var(--text-lg);
            color: var(--text-secondary);
            margin-bottom: 3rem;
            max-width: 600px;
        }

        /* ==================== UTILITY CLASSES ==================== */
        .text-center {
            text-align: center;
        }

        .text-center .section-subtitle {
            margin-left: auto;
            margin-right: auto;
        }

        .mt-1 { margin-top: 0.5rem; }
        .mt-2 { margin-top: 1rem; }
        .mt-3 { margin-top: 1.5rem; }
        .mt-4 { margin-top: 2rem; }
        
        .mb-1 { margin-bottom: 0.5rem; }
        .mb-2 { margin-bottom: 1rem; }
        .mb-3 { margin-bottom: 1.5rem; }
        .mb-4 { margin-bottom: 2rem; }

        /* ==================== BUTTONS ==================== */
        .btn {
            display: inline-block;
            padding: 0.75rem 1.5rem;
            font-size: var(--text-base);
            font-weight: 600;
            text-decoration: none;
            border-radius: var(--radius-md);
            transition: all var(--transition-normal);
            cursor: pointer;
            border: none;
            text-align: center;
        }

        .btn-primary {
            background-color: var(--primary-color);
            color: white;
        }

        .btn-primary:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .btn-secondary {
            background-color: transparent;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
        }

        .btn-secondary:hover {
            background-color: var(--primary-color);
            color: white;
        }

        /* ==================== GRID SYSTEM ==================== */
        .grid {
            display: grid;
            gap: 2rem;
        }

        .grid-2 {
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        }

        .grid-3 {
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        }

        .grid-4 {
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        }
               .grid-5 {
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        }
               .grid-4 {
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        }

        /* ==================== CARDS ==================== */
        .card {
            background-color: var(--bg-primary);
            border-radius: var(--radius-lg);
            padding: 2rem;
            box-shadow: var(--shadow-md);
            transition: all var(--transition-normal);
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
        }

        /* ==================== RESPONSIVE - TABLET ==================== */
        @media (max-width: 768px) {
            :root {
                --nav-height: 60px;
                --container-padding: 1rem;
                --section-padding: 3rem 0;
                --text-4xl: 2rem;
                --text-3xl: 1.5rem;
            }

            .nav-menu {
                position: fixed;
                left: -100%;
                top: var(--nav-height);
                flex-direction: column;
                background-color: var(--bg-primary);
                width: 100%;
                text-align: center;
                transition: left var(--transition-normal);
                box-shadow: var(--shadow-xl);
                padding: 2rem 0;
                gap: 0;
            }

            .nav-menu.active {
                left: 0;
            }

            .nav-item {
                width: 100%;
            }

            .nav-link {
                display: block;
                padding: 1rem;
                width: 100%;
            }

            .nav-link::after {
                display: none;
            }

            .hamburger {
                display: flex;
            }

            .section-title {
                font-size: var(--text-3xl);
            }

            .grid-2,
            .grid-3,
            .grid-4 {
                grid-template-columns: 1fr;
            }
        }

        /* ==================== RESPONSIVE - MOBILE ==================== */
        @media (max-width: 480px) {
            :root {
                --nav-height: 56px;
                --container-padding: 0.75rem;
                --section-padding: 2rem 0;
                --text-4xl: 1.75rem;
                --text-3xl: 1.375rem;
            }

            .card {
                padding: 1.5rem;
            }

            .btn {
                padding: 0.625rem 1.25rem;
                font-size: var(--text-sm);
            }
        }

        /* ==================== ANIMATIONS ==================== */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            animation: fadeIn var(--transition-slow) ease-out;
        }

        /* ==================== SMOOTH SCROLL ==================== */
        html {
            scroll-behavior: smooth;
        }

        /* ==================== SELECTION ==================== */
        ::selection {
            background-color: var(--primary-color);
            color: white;
        }

        /* ==================== FOCUS VISIBLE ==================== */
        *:focus-visible {
            outline: 2px solid var(--primary-color);
            outline-offset: 2px;
        }
        /* ==================== HERO LOGO ==================== */
        .logo-container {
            margin-bottom: 2rem;
            animation: fadeIn 0.8s ease-out;
        }

        .hero-logo {
            max-width: 200px;
            height: auto;
            transition: transform var(--transition-normal);
        }

        .hero-logo:hover {
            transform: scale(1.05);
        }

        /* Responsive logo sizes */
        @media (max-width: 768px) {
            .hero-logo {
                max-width: 150px;
            }
        }

        @media (max-width: 480px) {
            .hero-logo {
                max-width: 120px;
            }
        }

        .service-box {
    background: #fff;
    padding: 2em; /* Leggermente ridotto per mobile */
    border-left: 5px solid #4A90E2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 1em;
    
    /* Rimuovi height: 100% e usa queste */
    height: auto; 
    display: flex;
    flex-direction: column;
    min-height: 100%; /* Funziona solo se il genitore è un flex-item */
}
@media screen and (max-width: 768px) {
    .service-box {
        padding: 1.5em; /* Più spazio per il testo */
        margin-bottom: 2em; /* Spazio tra un box e l'altro quando sono impilati */
    }
}
.service-label {
    display: inline-block;
    background: #4A90E2;
    color: white;
    padding: 0.3em 1em;
    font-size: 0.85em;
    font-weight: bold;
    border-radius: 20px;
    margin-bottom: 1em;
}

.service-box h3 {
    font-size: 1.8em;
    margin: 0.5em 0;
    color: #333;
}

/* ==================== GRID 3 COLONNE FISSO ==================== */
.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Tablet - 2 colonne */
@media (max-width: 768px) {
    .grid-3-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile - 1 colonna */
@media (max-width: 480px) {
    .grid-3-cols {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Spaziamento della sezione social */
.social-buttons {
    margin-top: 20px;
    padding-bottom: 20px;
}

.btn-social {
    display: inline-block;
    margin: 5px;
    padding: 10px 20px;
    border-radius: 5px;
    color: white !important;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.btn-social:hover {
    transform: translateY(-3px); /* Effetto al passaggio del mouse */
}

/* Colori Brand */
.btn-facebook { background-color: #1877F2; }
.btn-instagram { background-color: #E4405F; }
.btn-linkedin { background-color: #0A66C2; }

.btn-social i {
    margin-right: 8px; /* Spazio tra icona e testo */
}

.btn-email { 
    background-color: #444; /* Grigio scuro professionale o un colore a tua scelta */
}

/* Se vuoi che l'icona sia diversa (FontAwesome) */
.btn-email i {
    margin-right: 8px;
}
.btn-whatsapp { 
    background-color: #25D366; 
}
