/* Stili specifici di index.php.
   Estratto il 2026-08-25 dal blocco inline nella pagina. */

:root {
            --primary: #fcb321;
            --primary-dark: #e5a01e;
            --secondary: #000222;
            --text: #000222;
            --text-light: #64748b;
            --white: #ffffff;
            --gray-50: #f8fafc;
            --gray-100: #f1f5f9;
            --gray-200: #e2e8f0;
            --bg-primary: #ffffff;
            --bg-secondary: #f8fafc;
            --bg-card: #ffffff;
            --border-color: #e2e8f0;
            --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
            --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
            --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
            --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
            --shadow-glow: 0 0 60px rgba(252, 179, 33, 0.3);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }

        body {
            font-family: 'Lato', sans-serif;
            color: var(--text);
            line-height: 1.7;
            overflow-x: hidden;
            background: var(--bg-primary);
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            line-height: 1.2;
        }

        a { text-decoration: none; color: inherit; }
        img { max-width: 100%; height: auto; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

        /* ============================================
           HEADER
        ============================================ */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 20px 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .header.scrolled {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            padding: 12px 0;
            box-shadow: var(--shadow-lg);
        }

        .header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo img { height: 48px; transition: all 0.3s; }
        .header.scrolled .logo img { height: 40px; }

        /* Logo switching based on scroll state */
        .logo-white { display: block; }
        .logo-color { display: none; }
        .header.scrolled .logo-white { display: none; }
        .header.scrolled .logo-color { display: block; }

        .nav { display: flex; align-items: center; gap: 12px; margin-left: auto; }

        .nav a {
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
            font-size: 0.95rem;
            color: var(--white);
            position: relative;
            padding: 11px;
            transition: all 0.3s;
        }

        .header.scrolled .nav a { color: var(--text); }

        .nav a:not(.btn-nav)::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: all 0.3s;
            transform: translateX(-50%);
        }

        .nav a:not(.btn-nav):hover::after { width: 100%; }

        .btn-nav {
            background: var(--primary);
            color: var(--secondary) !important;
            padding: 18px 48px;
            border-radius: 100px;
            font-weight: 700;
            font-size: 1rem;
            box-shadow: 0 4px 20px rgba(252, 179, 33, 0.5);
            transition: all 0.3s;
            letter-spacing: 0.3px;
        }

        .btn-nav:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(252, 179, 33, 0.5);
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 6px;
            cursor: pointer;
            padding: 10px;
            z-index: 100;
        }

        .menu-toggle span {
            width: 28px;
            height: 3px;
            background: var(--white);
            border-radius: 3px;
            transition: all 0.3s;
        }

        .header.scrolled .menu-toggle span { background: var(--secondary); }

        /* Menu toggle animation */
        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }
        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }
        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

        /* Mega Menu */
        .nav-item {
            position: relative;
        }

        .nav-item > a {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .nav-item > a svg {
            width: 12px;
            height: 12px;
            transition: transform 0.3s;
        }

        .nav-item:hover > a svg {
            transform: rotate(180deg);
        }

        .mega-menu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(10px);
            background: var(--white);
            border-radius: 20px;
            box-shadow: 0 25px 80px rgba(0, 2, 34, 0.15), 0 10px 30px rgba(0, 2, 34, 0.1);
            min-width: 320px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 100;
            overflow: hidden;
        }
        .nav-item:hover .mega-menu {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }
        .mega-menu-inner {
            padding: 20px;
        }
        .mega-menu-title {
            font-family: 'Poppins', sans-serif;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            color: var(--text-light);
            margin-bottom: 16px;
            padding-left: 12px;
        }
        .mega-menu-items {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .mega-menu-item {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 12px;
            border-radius: 12px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }
        .mega-menu-item::after { display: none !important; }
        .mega-menu-item:hover {
            background: linear-gradient(135deg, rgba(252, 179, 33, 0.08) 0%, rgba(252, 179, 33, 0.02) 100%);
            transform: translateX(4px);
        }
        .mega-menu-item:hover .mega-menu-icon {
            background: linear-gradient(135deg, var(--primary) 0%, #ffd166 100%);
            transform: scale(1.05);
        }
        .mega-menu-item:hover .mega-menu-icon svg { stroke: var(--secondary); }
        .mega-menu-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, rgba(252, 179, 33, 0.15) 0%, rgba(252, 179, 33, 0.05) 100%);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .mega-menu-icon svg {
            width: 20px;
            height: 20px;
            stroke: var(--primary-dark);
            transition: all 0.3s;
        }
        .mega-menu-text { flex: 1; min-width: 0; }
        .mega-menu-text strong {
            display: block;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--text);
        }
        .mega-menu-text span {
            display: block;
            font-size: 0.75rem;
            color: var(--text-light);
            line-height: 1.4;
        }

        /* Legacy dropdown support */
        .dropdown { display: none; }

        /* ============================================
           HERO - EFFETTO WOW
        ============================================ */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--secondary);
            position: relative;
            overflow: hidden;
            padding: 120px 0 80px;
        }

        .hero-bg {
            position: absolute;
            inset: 0;
            overflow: hidden;
        }

        .hero-bg::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background:
                radial-gradient(circle at 20% 80%, rgba(252, 179, 33, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(252, 179, 33, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 40% 40%, rgba(252, 179, 33, 0.05) 0%, transparent 60%);
            animation: float 20s ease-in-out infinite;
        }

        /* Animated Gradient Mesh */
        .hero-bg::after {
            content: '';
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse 80% 50% at 20% 40%, rgba(252, 179, 33, 0.1), transparent),
                radial-gradient(ellipse 60% 40% at 70% 70%, rgba(252, 179, 33, 0.08), transparent),
                radial-gradient(ellipse 50% 30% at 50% 20%, rgba(255, 209, 102, 0.06), transparent);
            animation: meshMove 15s ease-in-out infinite alternate;
        }

        @keyframes meshMove {
            0% { transform: scale(1) translateX(0); }
            100% { transform: scale(1.1) translateX(5%); }
        }

        /* Floating Particles */
        .hero-particles {
            position: absolute;
            inset: 0;
            pointer-events: none;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: var(--primary);
            border-radius: 50%;
            opacity: 0.3;
            animation: particleFloat 8s ease-in-out infinite;
        }

        .particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
        .particle:nth-child(2) { left: 20%; top: 60%; animation-delay: 1s; }
        .particle:nth-child(3) { left: 35%; top: 30%; animation-delay: 2s; }
        .particle:nth-child(4) { left: 50%; top: 70%; animation-delay: 3s; }
        .particle:nth-child(5) { left: 65%; top: 25%; animation-delay: 4s; }
        .particle:nth-child(6) { left: 80%; top: 55%; animation-delay: 5s; }
        .particle:nth-child(7) { left: 90%; top: 35%; animation-delay: 6s; }

        @keyframes particleFloat {
            0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
            50% { transform: translateY(-30px) scale(1.5); opacity: 0.6; }
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            33% { transform: translate(2%, 2%) rotate(1deg); }
            66% { transform: translate(-1%, 1%) rotate(-1deg); }
        }

        .hero-grid {
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(252, 179, 33, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(252, 179, 33, 0.03) 1px, transparent 1px);
            background-size: 60px 60px;
            mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
        }

        .hero-glow {
            position: absolute;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(252, 179, 33, 0.2) 0%, transparent 70%);
            border-radius: 50%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            filter: blur(60px);
            animation: pulse-glow 4s ease-in-out infinite;
        }

        @keyframes pulse-glow {
            0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
            50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
        }

        /* Video Background */
        .hero-video {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            transform: translate(-50%, -50%);
            object-fit: cover;
            z-index: 0;
            opacity: 0.4;
        }

        .hero-video-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(
                180deg,
                rgba(0, 2, 34, 0.7) 0%,
                rgba(0, 2, 34, 0.5) 50%,
                rgba(0, 2, 34, 0.8) 100%
            );
            z-index: 1;
        }

        /* Fallback quando il video non è disponibile */
        .hero-video-fallback {
            display: none;
        }

        .hero-video.hidden {
            display: none;
        }

        .hero-video.hidden + .hero-video-overlay + .hero-bg .hero-video-fallback {
            display: block;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            max-width: 900px;
            margin: 0 auto;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: rgba(252, 179, 33, 0.1);
            border: 1px solid rgba(252, 179, 33, 0.3);
            padding: 10px 24px;
            border-radius: 100px;
            font-family: 'Poppins', sans-serif;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--primary);
            margin-bottom: 32px;
            animation: fadeInUp 0.8s ease-out;
        }

        .hero-badge-dot {
            width: 8px;
            height: 8px;
            background: var(--primary);
            border-radius: 50%;
            animation: blink 2s infinite;
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }

        .hero h1 {
            font-size: clamp(2.5rem, 6vw, 4.5rem);
            font-weight: 800;
            color: var(--white);
            margin-bottom: 24px;
            line-height: 1.1;
            animation: fadeInUp 0.8s ease-out 0.1s both;
        }

        .hero h1 .line {
            display: block;
        }

        .hero h1 .highlight {
            background: linear-gradient(135deg, var(--primary) 0%, #ffd166 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: clamp(1.1rem, 2vw, 1.35rem);
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 48px;
            max-width: 650px;
            margin-left: auto;
            margin-right: auto;
            font-weight: 300;
            line-height: 1.8;
            animation: fadeInUp 0.8s ease-out 0.2s both;
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 80px;
            animation: fadeInUp 0.8s ease-out 0.3s both;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 18px 36px;
            border-radius: 100px;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            border: none;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary) 0%, #ffd166 100%);
            color: var(--secondary);
            box-shadow: 0 8px 30px rgba(252, 179, 33, 0.4);
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, #ffd166 0%, var(--primary) 100%);
            opacity: 0;
            transition: opacity 0.4s;
        }

        .btn-primary:hover {
            transform: translateY(-4px);
            box-shadow: 0 15px 40px rgba(252, 179, 33, 0.5);
        }

        .btn-primary:hover::before { opacity: 1; }
        .btn-primary span { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; }

        .btn-outline {
            background: transparent;
            color: var(--white);
            border: 2px solid rgba(255, 255, 255, 0.3);
        }

        .btn-outline:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: rgba(252, 179, 33, 0.1);
        }

        .hero-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            max-width: 700px;
            margin: 0 auto;
            animation: fadeInUp 0.8s ease-out 0.4s both;
        }

        .stat-item {
            text-align: center;
            padding: 30px 20px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 20px;
            backdrop-filter: blur(10px);
            transition: all 0.4s;
        }

        .stat-item:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(252, 179, 33, 0.3);
            transform: translateY(-5px);
        }

        .stat-number {
            font-family: 'Poppins', sans-serif;
            font-size: 3rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary) 0%, #ffd166 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1;
            margin-bottom: 8px;
        }

        .stat-label {
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.95);
            font-weight: 400;
        }

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

        /* ============================================
           SERVICES - DESIGN MODERNO
        ============================================ */
        .services {
            padding: 140px 0;
            background: var(--bg-primary);
            position: relative;
        }

        .section-header {
            text-align: center;
            max-width: 600px;
            margin: 0 auto 80px;
        }

        .section-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, rgba(252, 179, 33, 0.1) 0%, rgba(252, 179, 33, 0.05) 100%);
            color: var(--primary-dark);
            padding: 10px 24px;
            border-radius: 100px;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 20px;
        }

        .section-header h2 {
            font-size: clamp(2rem, 4vw, 3rem);
            color: var(--secondary);
            margin-bottom: 20px;
        }

        .section-header p {
            color: var(--text-light);
            font-size: 1.15rem;
            line-height: 1.8;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
        }

        .service-card {
            background: var(--bg-card);
            border-radius: 24px;
            padding: 40px 32px;
            text-align: center;
            border: 1px solid var(--border-color);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            transform-style: preserve-3d;
            perspective: 1000px;
        }

        /* 3D Tilt Effect */
        .service-card .service-card-inner {
            transform-style: preserve-3d;
            transition: transform 0.1s ease;
        }

        .service-card .tilt-glare {
            position: absolute;
            inset: 0;
            border-radius: 24px;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s;
            background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 60%);
        }

        .service-card:hover .tilt-glare {
            opacity: 1;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), #ffd166);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .service-card::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(252, 179, 33, 0.05) 0%, transparent 50%);
            opacity: 0;
            transition: opacity 0.5s;
        }

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

        .service-card:hover::before { transform: scaleX(1); }
        .service-card:hover::after { opacity: 1; }

        .service-icon {
            width: 90px;
            height: 90px;
            margin: 0 auto 28px;
            background: linear-gradient(135deg, var(--primary) 0%, #ffd166 100%);
            border-radius: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 1;
            box-shadow: 0 10px 30px rgba(252, 179, 33, 0.3);
            transition: all 0.5s;
        }

        .service-card:hover .service-icon {
            transform: scale(1.1) rotate(5deg);
            box-shadow: 0 15px 40px rgba(252, 179, 33, 0.4);
        }

        .service-card h3 {
            font-size: 1.3rem;
            margin-bottom: 16px;
            color: var(--secondary);
            position: relative;
            z-index: 1;
        }

        .service-card p {
            color: var(--text-light);
            font-size: 1rem;
            line-height: 1.7;
            margin-bottom: 24px;
            position: relative;
            z-index: 1;
        }

        .service-link {
            color: var(--primary-dark);
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 0.95rem;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            position: relative;
            z-index: 1;
            transition: all 0.3s;
        }

        .service-link svg { transition: transform 0.3s; }
        .service-link:hover { color: var(--primary); }
        .service-link:hover svg { transform: translateX(5px); }

        /* Google Partner Badge */
        .partner-badge {
            display: inline-block;
            background: linear-gradient(135deg, #4285f4, #34a853);
            color: white;
            font-size: 0.65rem;
            font-weight: 700;
            padding: 3px 8px;
            border-radius: 4px;
            margin-left: 8px;
            vertical-align: middle;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* ============================================
           ABOUT - LAYOUT MIGLIORATO
        ============================================ */
        .about {
            padding: 140px 0;
            background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
            position: relative;
            overflow: hidden;
        }

        .about::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 50%;
            height: 100%;
            background: radial-gradient(circle at 100% 50%, rgba(252, 179, 33, 0.08) 0%, transparent 60%);
        }

        .about .container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 100px;
            align-items: center;
        }

        .about-visual {
            position: relative;
        }

        .about-image-wrapper {
            position: relative;
            border-radius: 30px;
            overflow: hidden;
            box-shadow: var(--shadow-2xl);
        }

        .about-image-wrapper::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, transparent 50%, rgba(0, 2, 34, 0.3) 100%);
            z-index: 1;
        }

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

        .about-badge {
            position: absolute;
            bottom: -20px;
            right: -20px;
            background: linear-gradient(135deg, var(--primary) 0%, #ffd166 100%);
            color: var(--secondary);
            padding: 28px 36px;
            border-radius: 24px;
            text-align: center;
            box-shadow: var(--shadow-xl);
            z-index: 2;
        }

        .about-badge-number {
            font-family: 'Poppins', sans-serif;
            font-size: 3rem;
            font-weight: 800;
            display: block;
            line-height: 1;
        }

        .about-badge-text {
            font-size: 0.9rem;
            font-weight: 600;
            margin-top: 4px;
        }

        .about-floating {
            position: absolute;
            top: 40px;
            left: -30px;
            background: var(--white);
            padding: 20px 28px;
            border-radius: 16px;
            box-shadow: var(--shadow-xl);
            display: flex;
            align-items: center;
            gap: 16px;
            z-index: 2;
            animation: float-badge 3s ease-in-out infinite;
        }

        @keyframes float-badge {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .about-floating-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--primary) 0%, #ffd166 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .about-floating-text {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            color: var(--secondary);
        }

        .about-floating-text span {
            display: block;
            font-size: 0.8rem;
            font-weight: 400;
            color: var(--text-light);
        }

        .about-content { position: relative; z-index: 1; }

        .about-content h2 {
            font-size: clamp(2rem, 4vw, 2.75rem);
            color: var(--secondary);
            margin-bottom: 28px;
            line-height: 1.2;
        }

        .about-content h2 .text-gradient {
            background: linear-gradient(135deg, var(--primary) 0%, #ffd166 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .about-content > p {
            color: var(--text-light);
            font-size: 1.1rem;
            margin-bottom: 20px;
            line-height: 1.9;
        }

        .about-features {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            margin: 40px 0;
        }

        .about-feature {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 16px 20px;
            background: var(--bg-card);
            border-radius: 14px;
            box-shadow: var(--shadow);
            transition: all 0.3s;
        }

        .about-feature:hover {
            transform: translateX(5px);
            box-shadow: var(--shadow-lg);
        }

        .about-feature-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, rgba(252, 179, 33, 0.2) 0%, rgba(252, 179, 33, 0.1) 100%);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .about-feature span {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            color: var(--text);
            font-size: 0.95rem;
        }

        /* ============================================
           CTA - EFFETTO WOW
        ============================================ */
        .cta {
            padding: 120px 0;
            background: var(--secondary);
            position: relative;
            overflow: hidden;
        }

        .cta::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                radial-gradient(circle at 20% 50%, rgba(252, 179, 33, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 80% 50%, rgba(252, 179, 33, 0.1) 0%, transparent 40%);
        }

        .cta-content {
            position: relative;
            z-index: 1;
            text-align: center;
            max-width: 700px;
            margin: 0 auto;
        }

        .cta h2 {
            font-size: clamp(2rem, 4vw, 3rem);
            color: var(--white);
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .cta p {
            color: rgba(255, 255, 255, 0.95);
            font-size: 1.2rem;
            margin-bottom: 40px;
            line-height: 1.8;
        }

        /* ============================================
           BLOG - CARDS MODERNE
        ============================================ */
        .blog {
            padding: 140px 0;
            background: var(--bg-primary);
        }

        .blog-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
        }

        .blog-card {
            background: var(--bg-card);
            border-radius: 24px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid var(--border-color);
        }

        .blog-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-2xl);
        }

        .blog-card-image {
            height: 220px;
            background: linear-gradient(135deg, var(--secondary) 0%, #1a1a3e 100%);
            overflow: hidden;
            position: relative;
        }

        .blog-card-image::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
            z-index: 1;
        }

        .blog-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .blog-card:hover .blog-card-image img {
            transform: scale(1.08);
        }

        .blog-card-content {
            display: block;
            padding: 32px;
            background: var(--bg-card);
            position: relative;
        }

        .blog-card-category {
            display: inline-block;
            background: linear-gradient(135deg, rgba(252, 179, 33, 0.15) 0%, rgba(252, 179, 33, 0.05) 100%);
            color: var(--primary-dark);
            padding: 6px 16px;
            border-radius: 100px;
            font-family: 'Poppins', sans-serif;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 16px;
        }

        .blog-card h3 {
            font-size: 1.2rem;
            color: var(--secondary);
            margin-bottom: 12px;
            line-height: 1.4;
            transition: color 0.3s;
        }

        .blog-card h3 a {
            color: inherit;
            text-decoration: none;
        }

        .blog-card:hover h3,
        .blog-card:hover h3 a { color: var(--primary-dark); }

        .blog-card p {
            color: var(--text-light);
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 16px;
        }

        .blog-card-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
        }

        .blog-card-date {
            font-size: 0.8rem;
            color: var(--text-light);
        }

        .blog-card-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--primary-dark);
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s;
        }

        .blog-card:hover .blog-card-link {
            color: var(--primary);
        }

        .blog-card-link svg {
            transition: transform 0.3s;
        }

        .blog-card:hover .blog-card-link svg {
            transform: translateX(4px);
        }

        .blog-card-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--primary);
            color: var(--secondary);
            padding: 12px 20px;
            border-radius: 8px;
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 0.85rem;
            transition: all 0.3s;
            margin-top: 8px;
        }

        .blog-card-btn:hover {
            background: var(--primary-dark);
            transform: translateX(4px);
        }

        .blog-card-btn svg {
            transition: transform 0.3s;
        }

        .blog-card:hover .blog-card-btn svg {
            transform: translateX(4px);
        }

        /* Fallback when no image */
        .blog-card-image.no-image {
            background: linear-gradient(135deg, var(--secondary) 0%, #1a1a3e 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .blog-card-image.no-image::after {
            content: '';
            width: 60px;
            height: 60px;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fcb321' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") no-repeat center;
            opacity: 0.4;
        }

        .blog-more {
            text-align: center;
            margin-top: 60px;
        }

        /* Loading spinner */
        .loading-spinner {
            width: 50px;
            height: 50px;
            border: 4px solid var(--gray-200);
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .blog-error {
            text-align: center;
            padding: 40px;
            color: var(--text-light);
        }

        .blog-loading {
            grid-column: 1 / -1;
            text-align: center;
            padding: 60px 20px;
        }

        /* Skeleton loading animation */
        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }

        .blog-card.skeleton {
            pointer-events: none;
        }

        .blog-card.skeleton .blog-card-image {
            background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
        }

        .blog-card.skeleton .blog-card-content > * {
            background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
            border-radius: 4px;
            color: transparent;
        }

        /* Image loading state */
        .blog-card-image img {
            opacity: 1;
            transition: opacity 0.3s ease;
        }

        /* ============================================
           TESTIMONIALS / RECENSIONI
        ============================================ */
        .testimonials {
            padding: 120px 0;
            background: var(--bg-secondary);
            position: relative;
        }

        .testimonials::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
        }

        .testimonials-widget {
            margin-top: 40px;
            min-height: 300px;
        }

        .btn-dark {
            background: var(--secondary);
            color: var(--white);
            box-shadow: var(--shadow-lg);
        }

        .btn-dark:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-2xl);
        }

        /* ============================================
           MICRO-INTERACTIONS
        ============================================ */
        /* Ripple Effect */
        .btn {
            position: relative;
            overflow: hidden;
        }

        .ripple {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.4);
            transform: scale(0);
            animation: ripple-animation 0.6s linear;
            pointer-events: none;
        }

        @keyframes ripple-animation {
            to {
                transform: scale(4);
                opacity: 0;
            }
        }

        /* Social Icons Hover */
        .footer-social a {
            position: relative;
            overflow: hidden;
        }

        .footer-social a::before {
            content: '';
            position: absolute;
            inset: 0;
            background: var(--primary);
            transform: scale(0);
            border-radius: inherit;
            transition: transform 0.3s ease;
            z-index: -1;
        }

        .footer-social a:hover::before {
            transform: scale(1);
        }

        .footer-social a svg {
            transition: transform 0.3s ease;
        }

        .footer-social a:hover svg {
            transform: scale(1.1) rotate(5deg);
        }

        /* Badge Bounce */
        .hero-badge, .section-tag, .partner-badge {
            animation: bounce-subtle 2s ease-in-out infinite;
        }

        @keyframes bounce-subtle {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-3px); }
        }

        .hero-badge:hover, .section-tag:hover {
            animation: none;
        }

        /* ============================================
           PORTFOLIO SECTION
        ============================================ */
        .portfolio {
            padding: 120px 0;
            background: var(--bg-secondary);
        }

        .portfolio-filters {
            display: flex;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 48px;
        }

        .filter-btn {
            padding: 10px 22px;
            border: 1px solid var(--border-color);
            border-radius: 100px;
            background: var(--bg-card);
            color: var(--text-light);
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .filter-btn:hover {
            border-color: rgba(252, 179, 33, 0.4);
            color: var(--text);
        }

        .filter-btn.active {
            background: var(--primary);
            border-color: var(--primary);
            color: #000222;
            box-shadow: 0 4px 16px rgba(252, 179, 33, 0.3);
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .portfolio-item {
            border-radius: 16px;
            overflow: hidden;
            position: relative;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            text-decoration: none;
            color: inherit;
        }

        .portfolio-item:hover {
            transform: translateY(-6px);
            border-color: rgba(252, 179, 33, 0.4);
            box-shadow: 0 8px 30px rgba(252, 179, 33, 0.1);
        }

        .portfolio-item-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 20px 0;
        }

        .portfolio-logo-wrap {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: #fff;
            border: 1px solid var(--gray-200);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            flex-shrink: 0;
        }

        .portfolio-logo-wrap img {
            width: 40px;
            height: 40px;
            object-fit: contain;
        }

        .portfolio-category-badge {
            font-size: 0.7rem;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 100px;
            background: rgba(252, 179, 33, 0.1);
            color: var(--primary-dark);
            border: 1px solid rgba(252, 179, 33, 0.2);
            white-space: nowrap;
        }

        .portfolio-item-body {
            padding: 16px 20px 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .portfolio-item-body h3 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 6px;
            line-height: 1.3;
        }

        .portfolio-item-body p {
            font-size: 0.82rem;
            color: var(--text-light);
            line-height: 1.6;
            flex: 1;
        }

        .portfolio-visit-link {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            margin-top: 14px;
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--primary-dark);
            text-decoration: none;
            transition: color 0.2s;
        }

        .portfolio-visit-link:hover {
            color: var(--primary);
        }

        .portfolio-visit-link svg {
            width: 14px;
            height: 14px;
        }

        .portfolio-show-more {
            text-align: center;
            margin-top: 48px;
        }

        .portfolio-show-more .btn-outline-dark {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 32px;
            border: 2px solid var(--secondary);
            border-radius: 100px;
            background: transparent;
            color: var(--text);
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .portfolio-show-more .btn-outline-dark:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: #000222;
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(252, 179, 33, 0.3);
        }

        /* ============================================
           FAQ SECTION
        ============================================ */
        .faq {
            padding: 120px 0;
            background: var(--bg-primary);
        }

        .faq-grid {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            border: 1px solid var(--border-color);
            border-radius: 16px;
            margin-bottom: 16px;
            overflow: hidden;
            background: var(--bg-card);
            transition: all 0.3s ease;
        }

        .faq-item:hover {
            border-color: var(--primary);
        }

        .faq-question {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 24px;
            background: transparent;
            border: none;
            cursor: pointer;
            text-align: left;
            font-family: 'Poppins', sans-serif;
            font-size: 1.05rem;
            font-weight: 600;
            color: var(--text);
            transition: all 0.3s;
        }

        .faq-question:hover {
            color: var(--primary);
        }

        .faq-icon {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(252, 179, 33, 0.2) 0%, rgba(252, 179, 33, 0.1) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.3s;
        }

        .faq-icon svg {
            width: 16px;
            height: 16px;
            stroke: var(--primary);
            transition: transform 0.3s;
        }

        .faq-item.active .faq-icon {
            background: var(--primary);
        }

        .faq-item.active .faq-icon svg {
            stroke: #000222;
            transform: rotate(45deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.3s ease;
        }

        .faq-item.active .faq-answer {
            max-height: 500px;
        }

        .faq-answer-content {
            padding: 0 24px 24px;
            color: var(--text-light);
            line-height: 1.8;
        }

        /* ============================================
           CONTACT FORM INLINE
        ============================================ */
        .contact-form-section {
            padding: 120px 0;
            background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 60px;
            align-items: start;
        }

        .contact-info h3 {
            font-size: 1.8rem;
            margin-bottom: 24px;
            color: var(--text);
        }

        .contact-info p {
            color: var(--text-light);
            margin-bottom: 32px;
            line-height: 1.8;
        }

        .contact-detail {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 20px;
        }

        .contact-detail-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(252, 179, 33, 0.2) 0%, rgba(252, 179, 33, 0.1) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .contact-detail-icon svg {
            width: 22px;
            height: 22px;
            stroke: var(--primary);
        }

        .contact-detail-text strong {
            display: block;
            color: var(--text);
            font-family: 'Poppins', sans-serif;
        }

        .contact-detail-text span {
            color: var(--text-light);
            font-size: 0.9rem;
        }

        .contact-form {
            background: var(--bg-card);
            padding: 40px;
            border-radius: 24px;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-lg);
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
            font-size: 0.9rem;
            margin-bottom: 8px;
            color: var(--text);
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 14px 18px;
            border: 2px solid var(--border-color);
            border-radius: 12px;
            font-family: 'Lato', sans-serif;
            font-size: 1rem;
            background: var(--bg-primary);
            color: var(--text);
            transition: all 0.3s;
        }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(252, 179, 33, 0.1);
        }

        .form-group input.error,
        .form-group textarea.error {
            border-color: #ef4444;
        }

        .form-group textarea {
            min-height: 120px;
            resize: vertical;
        }

        .form-error {
            color: #ef4444;
            font-size: 0.8rem;
            margin-top: 6px;
            display: none;
        }

        .form-group.has-error .form-error {
            display: block;
        }

        /* Honeypot */
        .hp-field {
            position: absolute;
            left: -9999px;
        }

        .form-submit {
            margin-top: 8px;
        }

        .form-submit .btn {
            width: 100%;
        }

        .form-success {
            text-align: center;
            padding: 40px;
            display: none;
        }

        .form-success.show {
            display: block;
        }

        .form-success svg {
            width: 64px;
            height: 64px;
            stroke: #22c55e;
            margin-bottom: 16px;
        }

        .form-success h4 {
            font-size: 1.3rem;
            margin-bottom: 8px;
            color: var(--text);
        }

        /* Checkbox styling */
        .form-checkbox-group {
            margin-bottom: 12px;
        }

        .form-checkbox-group .form-error {
            margin-left: 32px;
        }

        .checkbox-label {
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            font-size: 0.875rem;
            line-height: 1.4;
            color: var(--text-light);
            position: relative;
            padding: 4px 0;
        }

        .checkbox-label input[type="checkbox"] {
            width: 20px;
            height: 20px;
            margin: 0;
            cursor: pointer;
            accent-color: var(--primary);
            flex-shrink: 0;
        }

        .checkbox-label span:last-child {
            flex: 1;
        }

        .checkbox-label a {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 2px;
        }

        .checkbox-label a:hover {
            color: var(--primary-dark);
        }

        .form-checkbox-group.has-error .checkbox-label {
            color: #ef4444;
        }

        .form-checkbox-group.has-error input[type="checkbox"] {
            outline: 2px solid #ef4444;
            outline-offset: 2px;
        }

        /* Hide custom checkmark, use native */
        .checkbox-label .checkmark {
            display: none;
        }

        /* ============================================
           FOOTER
        ============================================ */
        .footer {
            background: var(--secondary);
            color: var(--white);
            padding: 100px 0 40px;
            position: relative;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(252, 179, 33, 0.3), transparent);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 80px;
        }

        .footer-brand img {
            height: 56px;
            margin-bottom: 24px;
        }

        .footer-brand p {
            color: rgba(255, 255, 255, 0.95);
            line-height: 1.9;
            margin-bottom: 28px;
            font-size: 0.95rem;
        }

        .footer-social {
            display: flex;
            gap: 12px;
        }

        .footer-social a {
            width: 48px;
            height: 48px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            transition: all 0.3s;
        }

        .footer-social a:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: var(--secondary);
            transform: translateY(-3px);
        }

        .footer-column h4 {
            font-size: 1.1rem;
            margin-bottom: 28px;
            color: var(--white);
            position: relative;
            padding-bottom: 12px;
        }

        .footer-column h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 30px;
            height: 2px;
            background: var(--primary);
        }

        .footer-column ul { list-style: none; }
        .footer-column li { margin-bottom: 14px; }

        .footer-column a {
            color: rgba(255, 255, 255, 0.95);
            font-size: 0.95rem;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .footer-column a:hover {
            color: var(--primary);
            transform: translateX(5px);
        }

        .footer-bottom {
            padding-top: 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .footer-bottom p {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.9rem;
        }

        .footer-legal {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px 24px;
            padding-top: 20px;
            width: 100%;
        }

        .footer-legal a {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.85rem;
            transition: color 0.3s;
            white-space: nowrap;
        }

        .footer-legal a:hover {
            color: var(--primary);
        }

        .footer-legal span {
            color: rgba(255, 255, 255, 0.4);
        }

        .footer-partner {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 16px;
            padding: 40px 0;
            margin: 40px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-partner img {
            height: 100px;
            transition: transform 0.3s;
        }

        .footer-partner img:hover {
            transform: scale(1.05);
        }

        .footer-partner p {
            color: rgba(255, 255, 255, 0.8);
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
            font-size: 1rem;
        }

        /* ============================================
           RESPONSIVE
        ============================================ */
        /* Reduced Motion */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        @media (max-width: 1024px) {
            .services-grid { grid-template-columns: repeat(2, 1fr); }
            .contact-grid { grid-template-columns: 1fr; gap: 40px; }
            .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
            .footer-brand { grid-column: 1 / -1; }
            .footer-column:last-child { grid-column: auto; }
            .about .container { gap: 60px; }

            .mega-menu {
                max-width: 95%;
            }

            .mega-menu-inner {
                grid-template-columns: 1fr 1fr;
            }

            .mega-menu-cta {
                grid-column: 1 / -1;
                flex-direction: row;
                padding: 24px 32px;
                gap: 24px;
                text-align: left;
            }

            .mega-menu-cta-icon {
                margin-bottom: 0;
            }

            .mega-menu-cta > div {
                flex: 1;
            }
        }

        @media (max-width: 768px) {
            .nav {
                position: fixed;
                top: 0;
                right: -100%;
                width: 100%;
                max-width: 400px;
                height: 100vh;
                background: var(--secondary);
                flex-direction: column;
                justify-content: flex-start;
                align-items: stretch;
                gap: 0;
                padding: 100px 24px 40px;
                transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                overflow-y: auto;
                z-index: 99;
            }

            .nav.active { right: 0; }

            .nav > a,
            .nav > .nav-item > a {
                color: var(--white) !important;
                font-size: 1.1rem;
                padding: 16px 0;
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }

            .nav > a:last-child {
                margin-top: 24px;
                border-bottom: none;
            }

            .nav-item {
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }

            .nav-item > a svg {
                stroke: var(--white);
            }

            /* Mobile Mega Menu */
            .mega-menu {
                position: static;
                transform: none;
                background: transparent;
                border-radius: 0;
                box-shadow: none;
                padding: 0;
                width: 100%;
                max-width: 100%;
                opacity: 1;
                visibility: visible;
                display: none;
                margin: 12px 0 16px;
            }

            .nav-item.open .mega-menu {
                display: block;
            }

            .nav-item.open > a svg {
                transform: rotate(180deg);
            }

            .mega-menu-inner {
                display: flex;
                flex-direction: column;
                min-height: auto;
            }

            .mega-menu-column {
                padding: 16px 0;
                border-right: none !important;
                border-bottom: 1px solid rgba(255,255,255,0.1);
            }

            .mega-menu-column:last-child {
                border-bottom: none;
            }

            .mega-menu-title {
                color: var(--primary);
                font-size: 0.7rem;
                margin-bottom: 12px;
            }

            .mega-menu-items {
                gap: 4px;
            }

            .mega-menu-item {
                padding: 10px 12px;
                border-radius: 10px;
                gap: 12px;
            }

            .mega-menu-item:hover {
                background: rgba(255,255,255,0.08);
                transform: none;
            }

            .mega-menu-icon {
                width: 36px;
                height: 36px;
                background: rgba(252, 179, 33, 0.2);
                border-radius: 10px;
            }

            .mega-menu-icon svg {
                width: 18px;
                height: 18px;
                stroke: var(--primary);
            }

            .mega-menu-item:hover .mega-menu-icon {
                background: rgba(252, 179, 33, 0.3);
                transform: none;
            }

            .mega-menu-item:hover .mega-menu-icon svg {
                stroke: var(--primary);
            }

            .mega-menu-text strong {
                color: var(--white);
                font-size: 0.9rem;
            }

            .mega-menu-text span {
                color: rgba(255,255,255,0.6);
                font-size: 0.75rem;
            }

            .mega-menu-cta {
                background: rgba(252, 179, 33, 0.1);
                border-radius: 16px;
                padding: 24px;
                margin-top: 8px;
            }

            .mega-menu-cta-icon {
                width: 50px;
                height: 50px;
                border-radius: 14px;
                margin-bottom: 16px;
            }

            .mega-menu-cta-icon svg {
                width: 24px;
                height: 24px;
            }

            .mega-menu-cta h4 {
                color: var(--white);
                font-size: 1rem;
            }

            .mega-menu-cta p {
                color: rgba(255,255,255,0.7);
                font-size: 0.8rem;
                margin-bottom: 16px;
            }

            .mega-menu-cta .btn-small {
                padding: 10px 20px;
                font-size: 0.85rem;
            }

            .menu-toggle { display: flex; z-index: 101; }

            /* Mobile menu overlay */
            .nav-overlay {
                position: fixed;
                inset: 0;
                background: rgba(0, 2, 34, 0.5);
                backdrop-filter: blur(4px);
                opacity: 0;
                visibility: hidden;
                transition: all 0.3s;
                z-index: 98;
            }

            .nav-overlay.active {
                opacity: 1;
                visibility: visible;
            }

            .hero { padding: 100px 0 60px; }
            .hero-stats { grid-template-columns: 1fr; gap: 16px; }
            .stat-item { padding: 20px; }
            .stat-number { font-size: 2.5rem; }

            .services-grid { grid-template-columns: 1fr; }
            .about .container { grid-template-columns: 1fr; gap: 40px; }
            .about-badge { position: relative; bottom: auto; right: auto; display: inline-block; margin-top: 20px; }
            .about-floating { display: none; }

            .blog-grid { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; gap: 40px; }
            .footer-bottom { flex-direction: column; text-align: center; }

            .form-row { grid-template-columns: 1fr; }
            .contact-form { padding: 24px; }

            /* Disable 3D tilt on touch devices */
            .service-card { transform-style: flat; }
        }

        @media (max-width: 480px) {
            .hero h1 { font-size: 2rem; }
            .hero-buttons { flex-direction: column; width: 100%; }
            .btn { width: 100%; justify-content: center; }
            .about-features { grid-template-columns: 1fr 1fr; }
            .portfolio-filters { gap: 8px; }
            .filter-btn { padding: 8px 16px; font-size: 0.8rem; }
        }

        @media (max-width: 360px) {
            .about-features { grid-template-columns: 1fr; }
        }

        /* ============================================
           COOKIE BANNER
        ============================================ */
        .cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--bg-card);
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
            z-index: 9999;
            transform: translateY(100%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border-top: 3px solid var(--primary);
        }

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

        .cookie-banner-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 24px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 24px;
        }

        .cookie-banner-text {
            flex: 1;
            min-width: 280px;
        }

        .cookie-banner-text h4 {
            font-family: 'Poppins', sans-serif;
            font-size: 1.1rem;
            margin-bottom: 8px;
            color: var(--text);
        }

        .cookie-banner-text p {
            font-size: 0.9rem;
            color: var(--text-light);
            line-height: 1.6;
            margin: 0;
        }

        .cookie-banner-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

        .cookie-btn {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 0.9rem;
            padding: 12px 24px;
            border-radius: 100px;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .cookie-btn-accept {
            background: var(--primary);
            color: var(--secondary);
            box-shadow: 0 4px 15px rgba(252, 179, 33, 0.3);
        }

        .cookie-btn-accept:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(252, 179, 33, 0.4);
        }

        .cookie-btn-reject {
            background: transparent;
            color: var(--text);
            border: 2px solid var(--border-color);
        }

        .cookie-btn-reject:hover {
            border-color: var(--text-light);
            background: var(--bg-secondary);
        }

        .cookie-btn-settings {
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .cookie-btn-settings:hover {
            background: rgba(252, 179, 33, 0.1);
        }

        .cookie-link {
            font-size: 0.85rem;
            color: var(--text-light);
            text-decoration: underline;
        }

        .cookie-link:hover {
            color: var(--primary);
        }

        /* Cookie Modal */
        .cookie-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .cookie-modal.show {
            opacity: 1;
            visibility: visible;
        }

        .cookie-modal-content {
            background: var(--bg-card);
            border-radius: 20px;
            max-width: 550px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
            transform: scale(0.9) translateY(20px);
            transition: transform 0.3s ease;
        }

        .cookie-modal.show .cookie-modal-content {
            transform: scale(1) translateY(0);
        }

        .cookie-modal-header {
            padding: 24px 24px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .cookie-modal-header h3 {
            font-family: 'Poppins', sans-serif;
            font-size: 1.3rem;
            color: var(--text);
        }

        .cookie-modal-close {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: none;
            background: var(--bg-secondary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .cookie-modal-close:hover {
            background: var(--border-color);
        }

        .cookie-modal-close svg {
            width: 18px;
            height: 18px;
            stroke: var(--text-light);
        }

        .cookie-modal-body {
            padding: 24px;
        }

        .cookie-modal-body > p {
            font-size: 0.9rem;
            color: var(--text-light);
            margin-bottom: 24px;
            line-height: 1.6;
        }

        .cookie-category {
            border: 1px solid var(--border-color);
            border-radius: 12px;
            margin-bottom: 12px;
            overflow: hidden;
        }

        .cookie-category-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px;
            background: var(--bg-secondary);
            cursor: pointer;
        }

        .cookie-category-info h4 {
            font-family: 'Poppins', sans-serif;
            font-size: 0.95rem;
            margin-bottom: 4px;
            color: var(--text);
        }

        .cookie-category-info span {
            font-size: 0.8rem;
            color: var(--text-light);
        }

        /* Toggle Switch */
        .cookie-toggle {
            position: relative;
            width: 50px;
            height: 28px;
        }

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

        .cookie-toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: var(--border-color);
            transition: 0.3s;
            border-radius: 28px;
        }

        .cookie-toggle-slider:before {
            position: absolute;
            content: "";
            height: 22px;
            width: 22px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: 0.3s;
            border-radius: 50%;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }

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

        .cookie-toggle input:checked + .cookie-toggle-slider:before {
            transform: translateX(22px);
        }

        .cookie-toggle input:disabled + .cookie-toggle-slider {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .cookie-modal-footer {
            padding: 0 24px 24px;
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

        .cookie-modal-footer .cookie-btn {
            flex: 1;
            min-width: 120px;
        }

        /* Responsive Cookie Banner */
        @media (max-width: 768px) {
            .cookie-banner-content {
                flex-direction: column;
                align-items: stretch;
                text-align: center;
            }

            .cookie-banner-actions {
                justify-content: center;
            }

            .cookie-btn {
                padding: 10px 20px;
                font-size: 0.85rem;
            }

            .cookie-modal-content {
                max-height: 85vh;
            }
        }

        @media (max-width: 480px) {
            .cookie-banner-actions {
                flex-direction: column;
                width: 100%;
            }

            .cookie-btn {
                width: 100%;
            }

            .cookie-modal-footer {
                flex-direction: column;
            }

            .cookie-modal-footer .cookie-btn {
                width: 100%;
            }
        }

        /* Cookie Settings Floating Button */
        .cookie-settings-float {
            position: fixed;
            bottom: 20px;
            left: 20px;
            width: 50px;
            height: 50px;
            background: var(--primary);
            border-radius: 50%;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(252, 179, 33, 0.4);
            z-index: 9998;
            opacity: 0;
            visibility: hidden;
            transform: scale(0.8);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .cookie-settings-float.show {
            opacity: 1;
            visibility: visible;
            transform: scale(1);
        }

        .cookie-settings-float:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(252, 179, 33, 0.5);
        }

        .cookie-settings-float svg {
            width: 24px;
            height: 24px;
            fill: var(--secondary);
        }

        .cookie-settings-float .tooltip {
            position: absolute;
            left: 60px;
            background: var(--secondary);
            color: #fff;
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 0.8rem;
            font-family: 'Poppins', sans-serif;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: all 0.2s;
            pointer-events: none;
        }

        .cookie-settings-float .tooltip::before {
            content: '';
            position: absolute;
            left: -6px;
            top: 50%;
            transform: translateY(-50%);
            border-width: 6px;
            border-style: solid;
            border-color: transparent var(--secondary) transparent transparent;
        }

        .cookie-settings-float:hover .tooltip {
            opacity: 1;
            visibility: visible;
        }

        @media (max-width: 480px) {
            .cookie-settings-float {
                bottom: 15px;
                left: 15px;
                width: 44px;
                height: 44px;
            }

            .cookie-settings-float svg {
                width: 20px;
                height: 20px;
            }

            .cookie-settings-float .tooltip {
                display: none;
            }
        }

        /* ============================================
           CERTIFICATIONS MARQUEE
        ============================================ */
        .certs-marquee-section {
            padding: 80px 0 60px;
            background: var(--gray-50);
            overflow: hidden;
        }

        .certs-marquee-section .section-header {
            margin-bottom: 48px;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .certs-marquee-section.visible .section-header {
            opacity: 1;
            transform: translateY(0);
        }

        .certs-marquee-section .certs-marquee-cta {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
        }

        .certs-marquee-section.visible .certs-marquee-cta {
            opacity: 1;
            transform: translateY(0);
        }

        .certs-marquee-wrapper {
            position: relative;
        }

        .certs-marquee-wrapper::before,
        .certs-marquee-wrapper::after {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            width: 100px;
            z-index: 2;
            pointer-events: none;
        }

        .certs-marquee-wrapper::before {
            left: 0;
            background: linear-gradient(90deg, var(--gray-50) 0%, transparent 100%);
        }

        .certs-marquee-wrapper::after {
            right: 0;
            background: linear-gradient(270deg, var(--gray-50) 0%, transparent 100%);
        }

        .certs-marquee-row {
            display: flex;
            width: max-content;
            gap: 32px;
            padding: 12px 0;
        }

        .certs-marquee-row.scroll-right {
            margin-top: 24px;
        }

        .cert-marquee-card {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            gap: 16px;
            background: var(--white);
            border: 1px solid var(--gray-200);
            border-radius: 14px;
            padding: 16px 24px;
            transition: all 0.3s ease;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            min-width: 280px;
        }

        .cert-marquee-card:hover {
            transform: translateY(-4px);
            border-color: rgba(252, 179, 33, 0.5);
            box-shadow: 0 8px 30px rgba(252, 179, 33, 0.12);
        }

        .cert-marquee-card img {
            width: 56px;
            height: 56px;
            object-fit: contain;
            flex-shrink: 0;
        }

        .cert-marquee-card.wide-badge img {
            width: 120px;
            height: 48px;
        }

        .cert-marquee-info {
            display: flex;
            flex-direction: column;
            gap: 2px;
            min-width: 0;
        }

        .cert-marquee-info strong {
            font-family: 'Poppins', sans-serif;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--secondary);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .cert-marquee-info span {
            font-size: 0.72rem;
            color: var(--text-light);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            font-weight: 500;
        }

        .certs-marquee-cta {
            text-align: center;
            margin-top: 40px;
        }

        @media (max-width: 768px) {
            .certs-marquee-wrapper::before,
            .certs-marquee-wrapper::after {
                width: 40px;
            }

            .cert-marquee-card {
                min-width: 240px;
                padding: 12px 18px;
            }

            .cert-marquee-card img {
                width: 44px;
                height: 44px;
            }
        }
