/* ============================================
   COLORI BANDIERA ITALIANA (versione leggera)
============================================ */
:root {
    --verde-italia: #009246;
    --bianco-italia: #FFFFFF;
    --rosso-italia: #CE2B37;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1B365D;
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ============================================
   TOP BANNER (logo + titolo + pulsante contatti)
   Gradiente: Verde → Bianco (leggero)
============================================ */
.top-banner {
    background: radial-gradient(circle at 30% 50%, rgba(0, 146, 70, 0.15) 0%, #FFFFFF 100%);
    padding: 40px 0;
    border-bottom: 2px solid rgba(0, 146, 70, 0.3);
    width: 100%;
}

.top-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 146, 70, 0.5);
}

.brand-name {
    font-family: 'Raleway', sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.41;
    letter-spacing: normal;
    color: #1B365D;
}

.brand-name small {
    font-size: 0.85rem;
    font-weight: 700;
    color: #009246;
    display: block;
}

/* Colore delle icone nei contatti */
.contact-info i {
    color: #009246;
    width: 24px;
    text-align: center;
}

/* ============================================
   PULSANTE NEL BANNER (stile leggero)
============================================ */
.btn-phone {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #1B365D;
    background-color: transparent;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    border: 1.5px solid rgba(0, 146, 70, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-phone:hover {
    background-color: #CE2B37;
    color: #FFFFFF;
    border-color: #CE2B37;
    transform: translateY(-2px);
}

/* ============================================
   MENU DI NAVIGAZIONE (hamburger)
============================================ */
.nav-menu-wrapper {
    background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.9) 0%, rgba(0, 146, 70, 0.08) 100%);
    border-bottom: 2px solid rgba(0, 146, 70, 0.2);
    width: 100%;
    position: relative;
}

.nav-menu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    flex-wrap: wrap;
}

/* Pulsante hamburger */
.nav-toggle {
    display: none; /* Nascosto su desktop */
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background-color: #1B365D;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Animazione hamburger → X */
.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Menu di navigazione */
.nav-menu {
    display: flex;
    justify-content: flex-start;
    gap: 32px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    list-style: none;
    transition: all 0.3s ease;
}

.nav-menu a {
    font-family: 'Avenir-LT-W01_35-Light1475496', 'Avenir', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 2.14;
    letter-spacing: normal;
    color: #1B365D;
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.2s ease, border-bottom 0.2s ease;
}

.nav-menu a:hover {
    color: #CE2B37;
}

.nav-menu a.active {
    color: #1B365D;
    border-bottom: 3px solid #CE2B37;
    padding-bottom: 4px;
}

/* ============================================
   RESPONSIVE: HAMBURGER SU MOBILE
============================================ */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex; /* Mostra hamburger su mobile */
    }

    .nav-menu {
        display: none; /* Nascondi menu di default */
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
        padding: 16px 0;
        background: #FFFFFF;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

    .nav-menu.open {
        display: flex; /* Mostra menu quando aperto */
    }

    .nav-menu a {
        font-size: 16px;
        padding: 8px 0;
        width: 100%;
        text-align: center;
    }

    .nav-menu a.active {
        border-bottom: none;
        background: rgba(206, 43, 55, 0.06);
        border-radius: 8px;
        padding: 8px 0;
    }
}

/* ============================================
   PULSANTI CTA
============================================ */
.btn-primary {
    display: inline-block;
    background-color: #CE2B37;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    width: 100%;
    max-width: 320px;
}

.btn-primary:hover {
    background-color: #A3202A;
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: linear-gradient(135deg, #1B365D 0%, #0d1f36 100%);
    padding: 24px 0;
    text-align: center;
    color: #BDC3C7;
    font-size: 0.85rem;
    width: 100%;
}

/* ============================================
   HERO (sfondo SCURO, box CHIARO)
   Gradiente: Verde → Bianco (leggero)
============================================ */
.hero {
    padding: 60px 0 80px;
    width: 100%;
    min-height: 400px;
    background: 
        linear-gradient(135deg, rgba(0, 146, 70, 0.05) 0%, rgba(255, 255, 255, 0.50) 100%),
        url('../images/hero-bg.webp') center/cover no-repeat;
}

/* Fallback per browser che non supportano WebP */
@supports not (background-image: url('images/hero-bg.webp')) {
    .hero {
        background: 
            linear-gradient(135deg, rgba(0, 146, 70, 0.05) 0%, rgba(255, 255, 255, 0.50) 100%),
            url('images/hero-bg.jpg') center/cover no-repeat;
    }
}


.hero-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    min-height: 300px;
}

.hero-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 40px 32px;
    border-radius: 24px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    text-align: center;
}

.hero-text h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: normal;
    text-align: center;
    color: #1B365D;
    margin-bottom: 8px;
}

.hero-text .subtitle-hero {
    font-size: 1.4rem;
    font-weight: 700;
    color: #009246;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.hero-text .description {
    font-size: 1.2rem;
    color: #2C3E50;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1B365D;
}


@media (min-width: 600px) {
    .hero-text h1 {
        font-size: 3.2rem; /* Tablet */
    }
}


@media (min-width: 992px) {
    .hero-text h1 {
        font-size: 4.2rem; /* Desktop */
    }
}


@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }
}



/* ============================================
   FOTO ANTONIO (sezione CHIARA, centrata)
   Gradiente: Bianco → Rosso (leggero)
============================================ */
.photo-section {
    padding: 60px 0;
    background: radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.9) 0%, rgba(206, 43, 55, 0.10) 100%);
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-wrapper {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.10);
    border: 3px solid rgba(0, 146, 70, 0.3);
}

.antonio-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ============================================
   МЫ ПРЕДЛАГАЕМ - 3 colonne (sfondo SCURO)
   Gradiente: Rosso → Bianco (leggero)
============================================ */
.offer {
    padding: 60px 0;
    background: radial-gradient(circle at 30% 50%, rgba(206, 43, 55, 0.10) 0%, #FFFFFF 100%);
    width: 100%;
}

.offer-title {
    font-family: 'Raleway', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
    color: #1B365D;
}

.offer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.offer-card {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(10px);
    padding: 0 0 32px 0;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.10);
}

.offer-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #FFFFFF;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.offer-card h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.41;
    letter-spacing: normal;
    text-transform: uppercase;
    text-align: center;
    color: #1B365D;
    margin: 20px 24px 8px 24px;
}

.offer-subtitle {
    font-family: 'Alfabet', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: center;
    color: #009246;
    margin: 0 24px 16px 24px;
}

.offer-list {
    list-style: none;
    padding: 0;
    margin: 0 24px;
}

.offer-list li {
    font-family: 'Alfabet', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.88;
    letter-spacing: normal;
    text-align: center;
    color: #2C3E50;
    padding: 4px 0;
}

.offer-list li::before {
    content: "• ";
    color: #009246;
    font-weight: 700;
}

/* Tablet e desktop: 3 colonne */
@media (min-width: 768px) {
    .offer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

/* ============================================
   ПОЧЕМУ ВЫБИРАЮТ НАС - 6 punti (sfondo CHIARO)
   Gradiente: Bianco → Verde (leggero)
============================================ */
.why-us {
    padding: 60px 0;
    background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.9) 0%, rgba(0, 146, 70, 0.08) 100%);
    width: 100%;
}

.why-title {
    font-family: 'Raleway', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: normal;
    text-transform: uppercase;
    text-align: center;
    background-color: rgba(0, 0, 0, 0);
    color: #1B365D;
    margin-bottom: 48px;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.why-item {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 28px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.why-icon {
    font-size: 2.8rem;
    margin-bottom: 8px;
}

.why-item h3 {
    font-family: 'Alfabet', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: center;
    background-color: rgba(0, 0, 0, 0);
    color: #1B365D;
    margin-bottom: 4px;
}

.why-item p {
    font-family: 'Alfabet', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.88;
    letter-spacing: normal;
    text-align: center;
    background-color: rgba(0, 0, 0, 0);
    color: #2C3E50;
    margin: 0;
}

/* Tablet (600px+) */
@media (min-width: 600px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Desktop (992px+) */
@media (min-width: 992px) {
    .why-us {
        padding: 80px 0;
    }
    
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
    
    .why-item {
        padding: 40px 32px;
    }
    
    .why-title {
        font-size: 48px;
    }
}


/* ============================================
   КАЧЕСТВО - Formazione e garanzia
   Gradiente: Bianco → Verde (leggero)
============================================ */
.quality {
    padding: 60px 0;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.9) 0%, rgba(0, 146, 70, 0.06) 100%);
    width: 100%;
}

.quality-title {
    font-family: 'Raleway', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: normal;
    text-transform: uppercase;
    text-align: center;
    color: #1B365D;
    margin-bottom: 32px;
}

.quality-content {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 16px;
}

.quality-text {
    font-family: 'Alfabet', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: justify;
    color: #2C3E50;
    margin-bottom: 16px;
}

.quality-text strong {
    color: #009246;
    font-weight: 700;
}

.quality-benefits-title {
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: normal;
    text-align: center;
    color: #1B365D;
    margin-bottom: 32px;
}

.quality-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.quality-item {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 28px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 146, 70, 0.08);
}

.quality-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.quality-icon {
    font-size: 2.8rem;
    margin-bottom: 8px;
}

.quality-item h4 {
    font-family: 'Alfabet', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: center;
    color: #1B365D;
    margin-bottom: 4px;
}

.quality-item p {
    font-family: 'Alfabet', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.88;
    letter-spacing: normal;
    text-align: center;
    color: #2C3E50;
    margin: 0;
}


/* ============================================
   BADGE DI FIDUCIA
============================================ */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid rgba(0, 146, 70, 0.10);
    transition: transform 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-4px);
}

.trust-badge img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.trust-badge i {
    font-size: 28px;
    color: #009246;
}

.trust-badge span {
    font-family: 'Alfabet', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1B365D;
}

/* Mobile */
@media (max-width: 600px) {
    .trust-badges {
        gap: 12px;
    }
    .trust-badge {
        padding: 8px 16px;
    }
    .trust-badge img {
        height: 28px;
    }
    .trust-badge span {
        font-size: 12px;
    }
}




/* Tablet e desktop */
@media (min-width: 600px) {
    .quality-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (min-width: 992px) {
    .quality {
        padding: 80px 0;
    }
    .quality-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
    .quality-item {
        padding: 40px 32px;
    }
    .quality-title {
        font-size: 48px;
    }
    .quality-benefits-title {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .quality-title {
        font-size: 32px;
    }
    .quality-text {
        font-size: 16px;
        text-align: center;
    }
    .quality-benefits-title {
        font-size: 24px;
    }
}



/* ============================================
   VIDEO - Presentazione di Antonio (sfondo SCURO)
   Gradiente: Verde → Rosso (leggero)
============================================ */
.video-section {
    padding: 60px 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 146, 70, 0.12) 0%, rgba(206, 43, 55, 0.08) 100%);
    width: 100%;
}

.video-title {
    font-family: 'Raleway', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: normal;
    text-transform: uppercase;
    text-align: center;
    background-color: rgba(0, 0, 0, 0);
    color: #1B365D;
    margin-bottom: 40px;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Tablet (600px+) */
@media (min-width: 600px) {
    .video-section {
        padding: 80px 0;
    }
}

/* Desktop (992px+) */
@media (min-width: 992px) {
    .video-section {
        padding: 100px 0;
    }
    
    .video-title {
        font-size: 48px;
    }
    
    .video-wrapper {
        max-width: 900px;
    }
}

/* ============================================
   ОТЗЫВЫ НАШИХ СТУДЕНТОВ (sfondo CHIARO)
   Gradiente: Bianco → Verde (leggero)
============================================ */
.testimonial {
    padding: 60px 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.9) 0%, rgba(0, 146, 70, 0.06) 100%);
    width: 100%;
}

.testimonial-title {
    font-family: 'Raleway', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: normal;
    text-transform: uppercase;
    text-align: center;
    background-color: rgba(0, 0, 0, 0);
    color: #1B365D;
    margin-bottom: 40px;
}

.testimonial-box {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(10px);
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 32px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.testimonial-content {
    display: flex;
    align-items: center;
    gap: 32px;
}

.testimonial-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(0, 146, 70, 0.3);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-text {
    flex: 1;
}

.testimonial-text blockquote {
    font-family: 'Alfabet', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: justify;
    background-color: rgba(0, 0, 0, 0);
    color: #2C3E50;
    margin-bottom: 12px;
    quotes: none;
}

.testimonial-text cite {
    font-family: 'Alfabet', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: left;
    background-color: rgba(0, 0, 0, 0);
    color: #1B365D;
    font-style: normal;
    display: block;
}

/* Tablet (600px+) */
@media (min-width: 600px) {
    .testimonial {
        padding: 80px 0;
    }
    
    .testimonial-box {
        padding: 48px 40px;
    }
    
    .testimonial-image {
        width: 140px;
        height: 140px;
    }
}

/* Desktop (992px+) */
@media (min-width: 992px) {
    .testimonial {
        padding: 100px 0;
    }
    
    .testimonial-title {
        font-size: 48px;
    }
    
    .testimonial-box {
        padding: 56px 48px;
        max-width: 1000px;
    }
    
    .testimonial-image {
        width: 160px;
        height: 160px;
    }
}

/* Mobile (max 600px) */
@media (max-width: 600px) {
    .testimonial-content {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-text blockquote {
        text-align: center;
    }
    
    .testimonial-text cite {
        text-align: center;
    }
    
    .testimonial-image {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
}

/* ============================================
   CONTATTI (sfondo SCURO)
   Gradiente: Rosso → Verde (leggero)
============================================ */
.contact {
    padding: 60px 0;
    background: radial-gradient(circle at 50% 50%, rgba(206, 43, 55, 0.10) 0%, rgba(0, 146, 70, 0.06) 100%);
    width: 100%;
}

.contact-title {
    font-family: 'Raleway', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: normal;
    text-transform: uppercase;
    text-align: center;
    background-color: rgba(0, 0, 0, 0);
    color: #1B365D;
    margin-bottom: 40px;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.contact-subtitle {
    font-family: 'Alfabet', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: center;
    background-color: rgba(0, 0, 0, 0);
    color: #2C3E50;
    margin-bottom: 24px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ============================================
   VALIDAZIONE CAMPI FORM (bianco → azzurro)
============================================ */
.contact-form input,
.contact-form textarea {
    font-family: 'Alfabet', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.88;
    letter-spacing: normal;
    padding: 14px 16px;
    border: 2px solid #B8D4DB;
    border-radius: 12px;
    background-color: #FFFFFF;
    width: 100%;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Stato FOCUS (quando l'utente sta scrivendo) */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #009246;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 146, 70, 0.10);
}

/* Stato VALIDO (compilato correttamente) → AZZURRO */
.contact-form input.valid,
.contact-form textarea.valid {
    background-color: #E8F4FD !important; /* Azzurro chiaro */
    border-color: #4A90D9 !important;     /* Azzurro */
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.15) !important;
}

/* ============================================
   FINE VALIDAZIONE CAMPI FORM
============================================ */

.contact-form .btn-primary {
    display: inline-block;
    background-color: #CE2B37;
    color: #FFFFFF;
    font-family: 'Alfabet', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.75;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    width: 100%;
    max-width: 320px;
}

.contact-form .btn-primary:hover {
    background-color: #A3202A;
    transform: translateY(-2px);
}

.form-status {
    font-family: 'Alfabet', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.88;
    margin-top: 8px;
    color: #009246;
    text-align: center;
}

.contact-info h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.41;
    letter-spacing: normal;
    text-transform: uppercase;
    text-align: center;
    color: #1B365D;
    margin-bottom: 20px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info li {
    font-family: 'Alfabet', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: center;
    color: #2C3E50;
    margin-bottom: 14px;
}

.contact-info a {
    color: #009246;
    text-decoration: none;
    font-weight: 600;
    word-break: break-word;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-legal {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    font-family: 'Alfabet', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.88;
    text-align: center;
    color: #2C3E50;
}

/* Tablet (600px+) */
@media (min-width: 600px) {
    .contact {
        padding: 80px 0;
    }
    
    .contact-grid {
        gap: 48px;
    }
    
    .contact-info li {
        text-align: left;
    }
    
    .contact-info h3 {
        text-align: left;
    }
    
    .contact-legal {
        text-align: left;
    }
}

/* Desktop (992px+) */
@media (min-width: 992px) {
    .contact {
        padding: 100px 0;
    }
    
    .contact-title {
        font-size: 48px;
    }
    
    .contact-grid {
        display: grid;
        grid-template-columns: 3fr 2fr;
        gap: 60px;
        align-items: start;
        padding: 0 24px;
    }
    
    .contact-form .btn-primary {
        width: auto;
        max-width: none;
        align-self: flex-start;
    }
    
    .contact-subtitle {
        text-align: left;
    }
}


/* ============================================
   IMMAGINE NEI CONTATTI
============================================ */
.contact-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.contact-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Desktop: immagine accanto al form */
@media (min-width: 992px) {
    .contact-grid {
        display: grid;
        grid-template-columns: 3fr 2fr;
        gap: 60px;
        align-items: start;
        padding: 0 24px;
    }
    
    .contact-side {
        gap: 32px;
    }
}


/* ============================================
   CAROSELLO RECENSIONI
============================================ */
.testimonial-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slides {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.testimonial-slide {
    flex: 0 0 100%;
    min-height: 200px;
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.testimonial-slide-content {
    display: flex;
    align-items: center;
    gap: 32px;
}

.testimonial-slide-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #009246;
}

.testimonial-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-slide-text {
    flex: 1;
}

.testimonial-slide-text blockquote {
    font-family: 'Alfabet', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: justify;
    color: #2C3E50;
    margin-bottom: 8px;
    quotes: none;
}

.testimonial-slide-text cite {
    font-family: 'Alfabet', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: left;
    color: #1B365D;
    font-style: normal;
    display: block;
}

/* Indicatori (pallini) */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #009246;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background-color: #009246;
    transform: scale(1.2);
}

.carousel-dot:hover {
    transform: scale(1.1);
}

/* Link a tutte le recensioni */
.reviews-link {
    text-align: center;
    margin-top: 24px;
}

.btn-secondary {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #009246;
    background-color: transparent;
    padding: 12px 32px;
    border: 2px solid #009246;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #009246;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 146, 70, 0.25);
}

/* Responsive carosello */
@media (max-width: 600px) {
    .testimonial-slide-content {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-slide-text blockquote {
        text-align: center;
    }
    
    .testimonial-slide-text cite {
        text-align: center;
    }
    
    .testimonial-slide {
        padding: 24px 16px;
    }
    
    .testimonial-slide-image {
        width: 80px;
        height: 80px;
    }
    
    .btn-secondary {
        font-size: 16px;
        padding: 10px 24px;
    }
}

/* ============================================
   SEPARATORI DECORATIVI
============================================ */
.section-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
    width: 100%;
}

.section-divider .line {
    flex: 1;
    max-width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, #009246, transparent);
}

.section-divider .icon {
    font-size: 20px;
    color: #009246;
    opacity: 0.6;
}


/* ============================================
   CTA FLOTTANTE (invito all'azione)
============================================ */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #CE2B37;
    color: #FFFFFF;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(206, 43, 55, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.floating-cta.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-cta:hover {
    background: #A3202A;
    transform: translateY(-4px);
    box-shadow: 0 6px 30px rgba(206, 43, 55, 0.5);
}

.floating-cta i {
    font-size: 18px;
}

/* Mobile */
@media (max-width: 600px) {
    .floating-cta {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }
}


/* ============================================
   RESPONSIVE (tablet & desktop)
============================================ */
@media (min-width: 600px) {
    .hero {
        padding: 80px 0 100px;
    }

    .hero-text h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.4rem; /* Ridotto da 3.2rem per mobile-first */
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: normal;
    text-align: center;
    color: #1B365D;
    margin-bottom: 8px;
    word-break: break-word; /* Evita che il testo esca */
}

    .hero-text .subtitle-hero {
        font-size: 1.6rem;
    }

    .hero-text .description {
        font-size: 1.3rem;
    }

    .testimonial-box {
        padding: 36px 40px;
    }

    .testimonial-box blockquote {
        font-size: 1.15rem;
    }

    .contact-grid {
        gap: 48px;
    }

    .contact-info {
        text-align: left;
    }

    .brand-name {
        font-size: 1.4rem;
    }
}

@media (min-width: 992px) {
    .hero {
        padding: 100px 0 120px;
    }

    .hero-grid {
        min-height: 400px;
        padding: 0 24px;
    }

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

    .hero-text .subtitle-hero {
        font-size: 1.8rem;
    }

    .hero-text .description {
        font-size: 1.4rem;
        max-width: 700px;
    }

    .nav-menu {
        padding: 16px 40px;
    }

    .nav-menu a {
        font-size: 1rem;
    }

    .btn-primary {
        width: auto;
        max-width: none;
        padding: 16px 36px;
        font-size: 1.1rem;
    }

    .top-banner {
        padding: 40px 0;
    }

    .top-banner-inner {
        padding: 0 24px;
    }

    .brand-logo {
        width: 60px;
        height: 60px;
    }
}

@media (min-width: 1200px) {
    .top-banner-inner {
        padding: 0 40px;
    }

    .hero-grid {
        padding: 0 40px;
    }

    .contact-grid {
        padding: 0 40px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 24px 0 32px;
    }
    .hero-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-text {
        flex: 1 1 50%;
        text-align: left;
    }
    .hero-image {
        flex: 1 1 40%;
    }
}
