/* --- VARIABILI E RESET --- */
        :root {
            --primary: #0077b6;
            --primary-dark1: #023e8a;
            --primary-dark: #ff8533; /*arancione*/
            --secondary: #00aacc; /*celeste scuro*/
            --accent: #fb8500;
            --bg-light: #f8f9fa;
            --text-main: #333;
            --text-muted: #666;
            --white: #ffffff;
            --shadow: 0 4px 20px rgba(0,0,0,0.08);
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Rajdhani', sans-serif;
            line-height: 1.8;
            color: var(--text-main);
            background-color: var(--white);
        }

         a.link {
            text-decoration: none;
            color: var(--text-muted);
            transition: var(--transition);
            }

         a.link:hover {color: var(--accent);}

/* --- LAYOUT ---*/
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        section {padding: 80px 0;}

        .section-title h2 {
            font-size: 2.8rem;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .section-title p {color: rgba(255, 255, 255, 0.9);}

/* --- CLASSI ATOMICHE ---*/

.grassetto{font-weight:700}


/* --- HEADER E NAV ---*/
        header {
            background: var(--white);
            box-shadow: var(--shadow);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 80px;
        }

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

        .logo img{
            max-width:230px;
            height:auto;
        }

        .nav-links {
            display: flex;
            gap: 30px;
            list-style: none;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-main);
            font-weight: 600;
            transition: var(--transition);
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
        }

/* --- HERO ---*/
        .hero {
            padding-top: 160px;
            background: linear-gradient(135deg, #eefaff 0%, #ffffff 100%);
            display: flex;
            align-items: center;
            min-height: 80vh;
        }

        .hero-flex {
            display: flex;
            align-items: center;
            gap: 50px;
            flex-wrap: wrap;
        }

        .hero-content {
            flex: 1;
            min-width: 300px;
        }

        .hero-image {
            flex: 1;
            min-width: 300px;
            text-align: center;
        }

        .hero-image .placeholder-doc {
            width: 100%;
            max-width: 450px;
            aspect-ratio: 1;
            background: #d1ecf1;
            border-radius: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            box-shadow: 20px 20px 60px rgba(0,0,0,0.05);
        }

         .hero-image .placeholder-doc img{
            max-width:380px;
            height:auto;
         }

        .hero h2 {
            font-size: 3rem;
            line-height: 1.1;
            margin-bottom: 20px;
            color: var(--primary-dark);
        }

        .hero p {
            font-size: 1.3rem;
            color: var(--text-muted);
            margin-bottom: 30px;
        }

        .btn {
            display: inline-block;
            padding: 15px 35px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            transition: var(--transition);
            cursor: pointer;
            border: none;
        }

        .btn-primary {
            background: var(--secondary);
            color: var(--white);
            box-shadow: 0 10px 20px rgba(0, 119, 182, 0.2);
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

/* --- PUNTI DI FORZA (Meno Arancione, Design più Elegante e Bilanciato) ---*/
        .strengths {
            background: var(--primary-dark); /* Sfondo blu scuro professionale al posto dell'arancione pieno */
            color: var(--white);
            position: relative;
            }

            .strengths p {
                font-size: 1.15rem;
                color: rgba(255, 255, 255, 0.85); /* Testo bianco leggermente velato per migliore leggibilità */
            }

            .strengths-grid h3 {
              /*   color: var(--secondary); L'arancione è usato solo come accento luminoso sui titoli delle card */
                font-weight: 700;
                font-size: 1.45rem;
                margin-top: 10px;
                margin-bottom: 10px;
            }

            .section-title {
                text-align: center;
                margin-bottom: 50px;
            }

            .strengths-grid {
                    display: grid;
                    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
                    gap: 30px;
            }

                .strength-card {
                    /*background: rgba(255, 255, 255, 0.05);  Effetto vetro semitrasparente sul blu scuro */
                   background: rgba(0, 0, 0, 0.1);
                    padding: 40px;
                    border-radius: 20px;
                    border: 1px solid rgba(255, 255, 255, 0.1);
                    text-align: center;
                    transition: var(--transition);
                }

                .strength-card:hover {
                    background: rgba(255, 255, 255, 0.08);
                    border-color: rgba(255, 133, 51, 0.4); /* Un delicato bagliore arancione sul bordo al passaggio del mouse */
                    transform: translateY(-5px);
                    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
                }

                .strength-icon {
                    width: 105px;
                    height: 105px;
                    background: rgba(255, 255, 255, 0.1); /* Icona con sfondo neutro elegante */
                    border-radius: 15px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    margin: 0 auto 20px;
                    border: 1px solid rgba(255, 255, 255, 0.15);
                    transition: var(--transition);
                }

                .strength-card:hover .strength-icon {
                    background: var(--secondary); /* Al passaggio del mouse l'icona si illumina di azzurro/turchese */
                    border-color: var(--secondary);
                    transform: scale(1.05);
                }

/* --- SERVIZI (Design Vivace e Evidente con Sfondi SVG) ---*/
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
        }

        .service-item {
            background: var(--white);
            padding: 35px 25px;
            border-radius: 20px;
            border: 1px solid rgba(0, 119, 182, 0.08);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                        box-shadow 0.4s ease,
                        border-color 0.4s ease;
            z-index: 1;
        }

        /* Barra colorata superiore decorativa che si espande all'hover */
        .service-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--secondary), var(--primary));
            transition: height 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
            z-index: -1;
        }

        /* Bagliore radiale sullo sfondo all'hover */
        .service-item::after {
            content: '';
            position: absolute;
            bottom: -30px;
            right: -30px;
            width: 100px;
            height: 100px;
            background: radial-gradient(circle, rgba(0, 170, 204, 0.12) 0%, transparent 70%);
            border-radius: 50%;
            transition: transform 0.5s ease, opacity 0.5s ease;
            opacity: 0.5;
            z-index: -1;
        }

        .service-item:hover {
            transform: translateY(-8px);
            border-color: rgba(0, 170, 204, 0.3);
            box-shadow: 0 15px 35px rgba(0, 119, 182, 0.12);
        }

        .service-item:hover::before {
            height: 8px; /* Si ispessisce leggermente all'hover */
        }

        .service-item:hover::after {
            transform: scale(1.8);
            opacity: 1;
        }

        .service-item h3 {
            margin-bottom: 12px;
            color: var(--primary-dark);
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            line-height: 1.3;
            transition: color 0.3s ease;
            z-index: 2; /* Sopra l'SVG di sfondo per garantire la leggibilità */
        }

        .service-item:hover h3 {
            color: var(--primary-dark1); /* Diventa di un blu elegante e profondo all'hover */
        }

        .service-item p {
            font-size: 1.05rem;
            color: var(--text-muted);
            line-height: 1.6;
            z-index: 2; /* Sopra l'SVG di sfondo per garantire la leggibilità */
            max-width: 90%; /* Evita collisioni con le icone sul lato destro */
        }

        /* NUOVA REGOLA: Icona SVG di Sfondo */
        .service-bg-icon {
            position: absolute;
            bottom: -20px;
            right: -20px;
            width: 150px;
            height: 150px;
            opacity: 0.12; /* Trasparenza quasi totale per far risaltare il testo */
            color: var(--primary); /* Eredita la tonalità azzurra principale */
            pointer-events: none; /* Rende l'icona trasparente ai click del mouse */
            transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                        opacity 0.4s ease,
                        color 0.4s ease;
            z-index: 0; /* Dietro al testo */
        }

        /* Animazione dell'icona SVG all'hover della card */
        .service-item:hover .service-bg-icon {
            opacity: 0.12; /* Diventa leggermente più visibile all'hover */
            transform: scale(1.12) rotate(-6deg);
            color: var(--accent); /* Cambia colore sul tono arancione del brand */
        }

/* --- TEAM ---*/
        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
        }

        .member {
            text-align: center;
        }

        .member-img {
            width: 140px;
            height: 140px;
            background: #eee;
            border-radius: 50%;
            margin: 0 auto 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

/* --- CONTATTI ---*/
        .contact-box {
            display: flex;
            background: var(--bg-light);
            border-radius: 30px;
            overflow: hidden;
            box-shadow: var(--shadow);
            flex-wrap: wrap;
        }

        .contact-info {
            flex: 1;
            padding: 60px;
            min-width: 300px;
        }

        .contact-map {
            flex: 1;
            min-width: 300px;
            background: #e2e8f0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            padding: 40px;
            text-align: center;
        }

        .info-item {
            display: flex;
            gap: 15px;
            margin-bottom: 25px;
            text-align:left;
        }

        .social-links {
            margin-top: 40px;
            display: flex;
            gap: 15px;
        }

         .social-links a {
            margin:auto;
         }

        .social-btn {
            width: 50px;
            height: 50px;
            border-radius: 12px;
           /* background: var(--primary);*/
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: var(--transition);
        }

        .social-btn:hover {
            background: var(--primary-dark);
            transform: scale(1.1);
        }

/* --- FOOTER ---*/
        footer {
            background: #111;
            color: #999;
            padding: 40px 0;
            text-align: center;
            font-size: 1.1rem;
        }

/* --- RESPONSIVE ---*/
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }

            .hero h2 {
                font-size: 2.2rem;
            }

            .contact-info {
                padding: 30px;
            }

            /* Responsive per le icone SVG di sfondo dei servizi */
            .service-bg-icon {
                width: 120px;
                height: 120px;
                bottom: -15px;
                right: -15px;
            }
        }

        /* Icone Inline*/
        .icon { width: 24px; height: 24px; fill: currentColor; }


        /* COOKIE BANNER */

        .cookieBanner{
        	min-width:20px;
        	background-color: #00aacc;
        	min-height: 120px;
        	text-align:center;
        	display: block;
        	position: fixed;
        	bottom: 20px;
        	left:10%;
        	right: 10%;
        	z-index: 100;
        	padding:20px;
        	color:white;
        }

        .cookieBanner p{font-size:1.1rem;}

        .bottoniCookie{
        	background-color: #ff8533;
        	margin-right:20px;
        	padding:5px 3px;
        	border: none;
        	cursor:pointer;
        }