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

        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
        
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.7;
            color: #1f2937;
            scroll-behavior: smooth;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Animazioni */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
        
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        /* Animazioni culinarie */
        @keyframes steam {
            0% {
                opacity: 0.8;
                transform: translateY(0) scale(1);
            }
            50% {
                opacity: 0.4;
                transform: translateY(-20px) scale(1.1);
            }
            100% {
                opacity: 0;
                transform: translateY(-40px) scale(1.2);
            }
        }
        
        @keyframes sizzle {
            0%, 100% {
                transform: translateX(0);
            }
            25% {
                transform: translateX(-2px);
            }
            75% {
                transform: translateX(2px);
            }
        }
        
        @keyframes bubble {
            0%, 100% {
                transform: scale(1) translateY(0);
                opacity: 0.7;
            }
            50% {
                transform: scale(1.1) translateY(-5px);
                opacity: 1;
            }
        }
        
        @keyframes cookingGlow {
            0%, 100% {
                box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
            }
            50% {
                box-shadow: 0 0 40px rgba(220, 38, 38, 0.6);
            }
        }
        
        @keyframes ingredientFloat {
            0%, 100% {
                transform: translateY(0) rotate(0deg);
            }
            33% {
                transform: translateY(-10px) rotate(5deg);
            }
            66% {
                transform: translateY(-5px) rotate(-3deg);
            }
        }
        
        @keyframes plateRotate {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);
            }
        }

        /* Header */
        header {
            background: #fff;
            padding: 1rem 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }

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

        .logo {
            display: flex;
            align-items: center;
            font-size: 1.5rem;
            font-weight: bold;
            position: relative;
        }

        .logo::before {
            margin-right: 10px;
        }
        


        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: color 0.3s;
        }

        .nav-links a:hover {
              color: #dc2626;
          }

        .cta-button {
            background: #dc2626;
            color: white;
            padding: 12px 24px;
            border: none;
            border-radius: 25px;
            text-decoration: none;
            font-weight: bold;
            transition: background 0.3s;
        }

        .cta-button:hover {
            color: white;
            background: #b91c1c;
        }

        .cta-visibility {
            display: none;
            color: white;
        }

        @media (min-width: 480px) {
            .cta-visibility {
                display: block;
                color: white;
            }
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 140px 0 80px;
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }
        
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23dc2626" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
            pointer-events: none;
        }
        


        .hero-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .hero-text h1 {
            font-size: 4rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            line-height: 1.1;
            background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: fadeInUp 1s ease-out;
            padding-bottom: 1rem;
            padding-top: 1rem;
        }

        .hero-text p {
            font-size: 1.3rem;
            color: #6b7280;
            margin-bottom: 2.5rem;
            font-weight: 400;
            animation: fadeInUp 1s ease-out 0.2s both;
        }

        .hero-buttons {
            display: flex;
            gap: 1rem;
            animation: fadeInUp 1s ease-out 0.4s both;
        }

        .btn-primary {
            background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
            color: white;
            padding: 16px 32px;
            border: none;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        .btn-primary:hover {
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
        }
        
        .btn-primary::before {
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
        }
        
        .btn-primary:hover::before {
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
        }

        .btn-secondary {
            background: transparent;
            color: #1f2937;
            padding: 16px 32px;
            border: 2px solid #1f2937;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .btn-secondary:hover {
            background: #1f2937;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(31, 41, 55, 0.2);
        }

        .hero-image {
            position: relative;
        }

        .hero-image img {
            width: 100%;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
        }

        .social-links a {
            width: 40px;
            height: 40px;
            background: #f8f9fa;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: #666;
            transition: all 0.3s;
        }

        .social-links a:hover {
             background: #dc2626;
             color: white;
         }

        /* Special Dishes Section */
        .special-dishes {
            padding: 80px 0;
            background: white;
        }

        .section-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-header h2 {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            font-weight: 700;
            color: #111827;
            position: relative;
        }
        
        .section-header h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, #dc2626, #991b1b);
            border-radius: 2px;
        }

        .section-header p {
            color: #6b7280;
            max-width: 700px;
            margin: 0 auto;
            font-size: 1.1rem;
            font-weight: 400;
            line-height: 1.8;
        }

        .dishes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2.5rem;
        }
        
        .dish-card:nth-child(1) {
            animation: slideInLeft 0.8s ease-out 0.2s both;
        }
        

        
        .dish-card:nth-child(2) {
            animation: fadeInUp 0.8s ease-out 0.4s both;
        }
        

        
        .dish-card:nth-child(3) {
            animation: slideInRight 0.8s ease-out 0.6s both;
        }
        


        .dish-card {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
            transition: all 0.4s ease;
            border: 1px solid rgba(229, 231, 235, 0.8);
            position: relative;
        }

        .dish-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
        }
        
        .dish-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #dc2626, #991b1b);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }
        
        .dish-card:hover::before {
            transform: scaleX(1);
        }

        .dish-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .dish-info {
            padding: 2rem;
        }

        .dish-info h3 {
            margin-bottom: 1rem;
            font-size: 1.3rem;
            font-weight: 600;
            color: #111827;
        }

        .dish-info p {
            color: #6b7280;
            font-size: 1.25rem;
            line-height: 1.6;
            font-weight: 400;
        }

        /* Welcome Section */
        .welcome {
            padding: 80px 0;
            background: #f8f9fa;
        }

        .welcome-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }
        
        .welcome-text {
            animation: slideInLeft 0.8s ease-out 0.3s both;
        }
        
        .welcome-image {
            animation: slideInRight 0.8s ease-out 0.3s both;
            position: relative;
        }
        


        .welcome-text h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .welcome-text p {
            color: #666;
            margin-bottom: 2rem;
        }

        .welcome-image img {
            width: 100%;
            border-radius: 15px;
        }

        /* Chef Section */
        .chef {
            padding: 80px 0;
            background: white;
        }

        .chef-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }
        
        .chef-image {
            animation: slideInLeft 0.8s ease-out 0.3s both;
            position: relative;
        }
        

        
        .chef-text {
            animation: slideInRight 0.8s ease-out 0.3s both;
        }

        .chef-image {
            position: relative;
        }

        .chef-image img {
            width: 100%;
            border-radius: 15px;
        }

        .chef-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: #dc2626;
            color: white;
            padding: 10px 20px;
            border-radius: 25px;
            font-weight: bold;
        }

        /* Testimonials */
        .testimonials {
            padding: 100px 0;
            background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
            position: relative;
        }

        .testimonial-card {
            background: white;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
            transition: all 0.3s ease;
            border: 1px solid rgba(229, 231, 235, 0.8);
            animation: fadeInUp 0.8s ease-out 0.3s both;
        }
        
        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 60px rgba(0,0,0,0.12);
        }

        .testimonial-text {
            font-style: italic;
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
        }

        .customer-info {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
        }

        .customer-avatar {
             width: 50px;
             height: 50px;
             border-radius: 50%;
             background: #dc2626;
         }

        /* CTA Section */
        .cta-section {
            background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23333" width="1200" height="600"/></svg>');
            background-size: cover;
            background-position: center;
            padding: 100px 0;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
            margin-bottom: 4rem;
        }
        
        .cta-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
            pointer-events: none;
        }
        


        .cta-section h2 {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            font-weight: 700;
            animation: fadeInUp 0.8s ease-out 0.2s both;
        }

        .cta-section p {
            font-size: 1.3rem;
            margin-bottom: 2.5rem;
            opacity: 0.95;
            font-weight: 400;
            animation: fadeInUp 0.8s ease-out 0.4s both;
        }
        
        .cta-section .btn-primary {
            animation: fadeInUp 0.8s ease-out 0.6s both;
        }

        /* Footer */
        footer {
            background: linear-gradient(135deg, #181818 0%, #050505 100%);
            color: white;
            padding: 80px 0 30px;
            position: relative;
        }
        
        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, #dc2626, transparent);
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 50px;
            margin-bottom: 40px;
        }
        
        .footer-section {
            animation: fadeInUp 0.8s ease-out 0.3s both;
        }

        .footer-section h3 {
            color: #dc2626;
            margin-bottom: 1.5rem;
            font-size: 1.2rem;
            font-weight: 600;
            position: relative;
        }
        
        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 30px;
            height: 2px;
            background: #dc2626;
            border-radius: 1px;
        }

        .footer-section p,
        .footer-section a {
            color: #ccc;
            text-decoration: none;
            line-height: 1.8;
        }

        .footer-section a:hover {
              color: #dc2626;
          }

        .footer-bottom {
            border-top: 1px solid #555;
            padding-top: 20px;
            text-align: center;
            color: #999;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-content,
            .welcome-content,
            .chef-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .hero-text h1 {
                font-size: 2rem;
            }

            .nav-links {
                display: none;
            }

            .hero-buttons {
                flex-direction: column;
            }
        }


.wrapper {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    position: relative;
}


.formBlock.active {
  display: block;
}

.formBlock.customerBlock {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.formBlock input, .formBlock select, .formBlock textarea {
  width: 100%;
  font-size: 16px;
  padding: 5px 10px;
  border: 1px solid #dc2626;
  background-color: #ededed;
	line-height:40px;
}

.formBlock p {
  font-size: 16px;
  padding: 15px 15px 5px 15px;
  margin: 0;
}

input.wpcf7-form-control.wpcf7-submit {
    padding: 25px 30px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    position: relative;
    overflow: hidden;
}

input.wpcf7-form-control.wpcf7-submit:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

/* --- MISSIONE SLIDER GENERALE --- */
.missione-slider-container {
    max-width: 1200px;
    gap: 4px;
    padding: 50px 24px 60px 24px;
    text-align: center;
}

.missione-title {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 32px;
    color: #222;
    letter-spacing: -1px;
}

.missione-slider-content {
    display: flex;
    justify-content: center;
    align-items: center; /* <--- centra verticalmente i testi */
    gap: 44px;
    position: relative;
    margin: 0 auto;
    min-height: 280px; /* per non far saltare il layout */
}

.missione-slider-texts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    align-items: center;
    min-width: 190px;
    padding-left: 4rem;
}

.missione-slider-texts.mobile { display: none; }

.missione-text {
    font-size: 1.32rem;
    font-weight: 600;
    color: #dc2626;
    background: #f7f7f7;
    padding: 16px 32px;
    border-radius: 50px;
    transition: background 0.5s, color 0.5s;
    margin: 0;
    min-width: 140px;
    text-align: center;
}

.missione-slider-image {
    flex: 1 1 340px;
    min-width: 230px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 4rem 8rem;
}

.missione-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    border-radius: 18px;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    transition: opacity 0.7s;
    z-index: 2;
}
.missione-image-1 { background-image: url('https://www.preferisto.it/wp-content/uploads/2025/08/PIU-MARGINI.png'); }
.missione-image-2 { background-image: url('https://www.preferisto.it/wp-content/uploads/2025/08/PIU-CLIENTI.png'); }
.missione-image-3 { background-image: url('https://www.preferisto.it/wp-content/uploads/2025/08/piu-liberta.png'); }

/* ANIMAZIONE SLIDE PER DESKTOP */
@keyframes slideActive1 { 0%,33.32% {opacity: 1;} 33.33%,100% {opacity: 0;} }
@keyframes slideActive2 { 0%,33.32% {opacity: 0;} 33.33%,66.65% {opacity: 1;} 66.66%,100% {opacity: 0;} }
@keyframes slideActive3 { 0%,66.65% {opacity: 0;} 66.66%,100% {opacity: 1;} }

/* Evidenzia il testo attivo - btn-primary style */
@keyframes activeBg1 { 0%,33.32% { background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%); color: #fff;} 33.33%,100% { background: #f7f7f7; color: #dc2626;} }
@keyframes activeBg2 { 0%,33.32% { background: #f7f7f7; color: #dc2626;} 33.33%,66.65% { background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%); color: #fff;} 66.66%,100% { background: #f7f7f7; color: #dc2626;} }
@keyframes activeBg3 { 0%,66.65% { background: #f7f7f7; color: #dc2626;} 66.66%,100% { background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%); color: #fff;} }

.missione-text-1 { animation: activeBg1 9s infinite; }
.missione-text-2 { animation: activeBg2 9s infinite; }
.missione-text-3 { animation: activeBg3 9s infinite; }
.missione-image-1 { animation: slideActive1 9s infinite; }
.missione-image-2 { animation: slideActive2 9s infinite; }
.missione-image-3 { animation: slideActive3 9s infinite; }

/* --- MOBILE VERSION --- */
@media (max-width: 768px) {
    .missione-slider-container {
        max-width: 98vw;
        padding: 32px 6vw 32px 6vw;
    }
    .missione-slider-content {
        flex-direction: column;
        gap: 22px;
        align-items: center;
        min-width: 0;
        min-height: 0;
    }
    .missione-slider-texts.desktop { display: none; }
    .missione-slider-texts.mobile {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        align-items: center;
        justify-content: center;
        min-width: 0;
    }
    .missione-text-mobile {
        font-size: 0;
        font-weight: 800;
        background: transparent !important;
        color: #dc2626 !important;
        border-radius: 0;
        padding: 0;
        min-width: 0;
        min-height: 52px;
        margin: 0;
        transition: font-size 0.4s, color 0.4s;
        text-align: center;
        pointer-events: none;
        position: absolute;
        left: 0; right: 0;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        z-index: 3;
        box-shadow: none !important;
    }
    .missione-slider-texts.mobile {
        position: relative;
        min-height: 52px;
        width: 100%;
        justify-content: center;
    }
    /* ANIMAZIONE MOBILE: font-size 2.1rem, colore rosso, niente sfondo */
    @keyframes activeMobile1 { 0%,33.32% {font-size: 2.1rem; color: #dc2626;} 33.33%,100% {font-size: 0; color: #dc2626;} }
    @keyframes activeMobile2 { 0%,33.32% {font-size: 0; color: #dc2626;} 33.33%,66.65% {font-size: 2.1rem; color: #dc2626;} 66.66%,100% {font-size: 0; color: #dc2626;} }
    @keyframes activeMobile3 { 0%,66.65% {font-size: 0; color: #dc2626;} 66.66%,100% {font-size: 2.1rem; color: #dc2626;} }
    .missione-text-mobile-1 { animation: activeMobile1 9s infinite; }
    .missione-text-mobile-2 { animation: activeMobile2 9s infinite; }
    .missione-text-mobile-3 { animation: activeMobile3 9s infinite; }

    .missione-slider-image {
        width: 100%;
        max-width: 420px;
        min-width: 0;
        aspect-ratio: 4/3;
        margin: 0;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    
    .missione-image {
        height: 100%;
        min-width: 0;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        border-radius: 16px;
    }
    .missione-title { font-size: 1.45rem; }
}

/* Layout flex per allineamento checkbox + testo */
.wpcf7-acceptance .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #1f2937;
    cursor: pointer;
  }
  
  /* Nascondi l'input nativo mantenendolo accessibile */
  .wpcf7-acceptance input[type="checkbox"] {
    width: 1em;
    height: 1em;
    margin-right: 1rem;
    cursor: pointer;
  }
  
  html {
    scroll-behavior: smooth;
  }