/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a2332;
    --secondary-color: #f59e0b;
    --accent-color: #6b7280;
    --white: #ffffff;
    --light-gray: #f3f4f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
}

html {
    scroll-behavior: smooth;
}




/* ==================== FLOATING CTA BUTTON ==================== */
.floating-cta-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ea8508 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);  /* Ombra scura */
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    animation: floatPulse 3s ease-in-out infinite;
}

.floating-cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);  /* Ombra scura anche su hover */
}

.floating-cta-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

.floating-icon {
    font-size: 1.3rem;
    animation: wiggle 1s ease-in-out infinite;
}

.floating-text {
    white-space: nowrap;
}

/* Animazione pulsazione */
@keyframes floatPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 8px 35px rgba(0, 0, 0, 0.5);
    }
}

/* Animazione icona */
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/* Nascondi il testo su schermi piccoli, mostra solo icona */
@media (max-width: 480px) {
    .floating-cta-btn {
        padding: 15px;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        justify-content: center;
        bottom: 20px;
        right: 20px;
    }
    
    .floating-text {
        display: none;
    }
    
    .floating-icon {
        font-size: 1.5rem;
    }
}





body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Header più largo - logo e menu ai bordi */
.navbar .container {
    max-width: 95%;  /* Usa il 95% della larghezza dello schermo */
    padding: 0 40px;
}

/* Logo come immagine */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 65px;  /* Altezza del logo - modifica a piacere */
    width: auto;   /* Mantiene proporzioni originali */
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);  /* Leggero zoom al passaggio mouse */
}

/* Responsive per mobile */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;  /* Logo più piccolo su mobile */
    }
}


.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color);
}

.btn-phone {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    margin-left: 10px;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
}

.btn-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s;
}

/* Hero Section con Background Slideshow */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Container per le immagini di background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideshow 16s infinite;
}

/* Overlay con blur e oscuramento sulle immagini */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 50, 0.5);
    backdrop-filter: blur(2px);
}

/* Timing diverso per ogni slide (4 immagini x 4 secondi = 16s totali) */
.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 4s;
}

.hero-slide:nth-child(3) {
    animation-delay: 8s;
}

.hero-slide:nth-child(4) {
    animation-delay: 12s;
}

/* Animazione fade in/out */
@keyframes slideshow {
    0% { opacity: 0; }
    6.25% { opacity: 1; }
    25% { opacity: 1; }
    31.25% { opacity: 0; }
    100% { opacity: 0; }
}

/* Il contenuto deve stare sopra le immagini */
.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 6.5rem;  /* Desktop size */
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 0px;
    white-space: nowrap;  /* Solo su desktop */
}

.hero-srl {
    font-size: 4.5rem;  /* Desktop size */
    font-weight: 300;
    color: var(--secondary-color);
    letter-spacing: 0px;
    margin-left: -10px;
}

/* ========================================
   RESPONSIVE PER MOBILE - MODIFICATO
   ======================================== */

/* Responsive per tablet e mobile */
@media (max-width: 768px) {
    .hero-title {
        font-size: 5rem;  /* ← AUMENTATO da 4.3rem a 5rem */
        letter-spacing: 2px;
        white-space: normal;  /* ← CAMBIATO: permette il wrap del testo */
        line-height: 1.1;  /* ← AGGIUNTO: riduce spazio tra righe */
    }
    
    .hero-srl {
        font-size: 3.5rem;  /* ← AUMENTATO da 3rem a 3.5rem */
        letter-spacing: 2px;
    }
}

/* Responsive per smartphone molto piccoli */
@media (max-width: 480px) {
    .hero-title {
        font-size: 4rem;  /* ← AUMENTATO da 3.2rem a 4rem */
        letter-spacing: 1px;
        white-space: normal;  /* ← CAMBIATO: permette il wrap del testo */
        line-height: 1.1;  /* ← AGGIUNTO: riduce spazio tra righe */
    }
    
    .hero-srl {
        font-size: 2.8rem;  /* ← AUMENTATO da 2.2rem a 2.8rem */
        letter-spacing: 1px;
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.9);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}



/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #292e65 ;
}

.btn-primary:hover {
    background-color: #ea8508;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-full {
    width: 100%;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

.fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s backwards;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s backwards;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease-in 0.9s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-title.white {
    color: var(--white);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Servizi Section */
/* Badge spostato a destra nella card */
.certified-badge {
    position: absolute;
    top: 10px;
    right: 10px;  /* Era left: 50% con transform */
    background: linear-gradient(135deg, #047857, #10b981);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.3);
    z-index: 2;
}


.servizi {
    padding: 6rem 0;
    background-color: var(--light-gray);
}


.servizi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}


.servizio-card {
    background-color: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    cursor: pointer;
    user-select: none;
    border: 3px solid var(--secondary-color);  /* ← AGGIUNTO: bordo arancione per tutte le card */
}


.servizio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}


.servizio-card.featured {
    border: 3px solid var(--secondary-color);  /* ← MODIFICATO: bordo più spesso per la featured */
   
}


.servizio-card.featured:hover {
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.3);  /* ← AGGIUNTO: shadow arancione più forte al hover */
}


.servizio-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}


.servizio-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}


.servizio-lista {
    list-style: none;
    margin-bottom: 1.5rem;
}


.servizio-lista li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}


.servizio-lista li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
}


.card-cta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-gray);
    text-align: center;
    font-weight: 600;
    color: var(--secondary-color);
    transition: transform 0.3s;
    font-size: 1.05rem;
}


.servizio-card:hover .card-cta {
    transform: translateX(5px);
}


/* Perchè Noi */
.perche-noi {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #374151 100%);
    color: var(--white);
}


.perche-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}


.perche-card {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem;
    border-radius: 15px;
    border: none;  /* ← RIMOSSO: il border causava la linea chiara */
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    /* Sfumatura interna ai bordi per effetto morbido */
    box-shadow: inset 0 0 60px rgba(26, 35, 50, 0.6),  /* ← AGGIUNTO: sfumatura interna */
                0 8px 24px rgba(0, 0, 0, 0.3);  /* Shadow esterna per profondità */
}


/* Overlay sfocato sopra l'immagine di sfondo */
.perche-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 50, 0.75);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 0;
    transition: all 0.3s ease;
}


/* Il testo deve stare sopra l'overlay */
.perche-card > * {
    position: relative;
    z-index: 1;
}


.perche-card:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 0 80px rgba(26, 35, 50, 0.5),  /* ← Sfumatura più chiara */
                0 12px 32px rgba(0, 0, 0, 0.4);  /* Shadow più pronunciata */
}


.perche-card:hover::before {
    background: rgba(26, 35, 50, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


.perche-numero {
    font-size: 2.7rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}


.perche-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}


.perche-card p {
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
}


/* Chi Siamo con Background Slideshow */
.chi-siamo {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* Background slideshow */
.chi-siamo-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.chi-siamo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideshow 16s infinite;
}

/* Overlay con blur */
.chi-siamo-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 50, 0.5);
    backdrop-filter: blur(2px);
}

/* Timing slide */
.chi-siamo-slide:nth-child(1) { animation-delay: 0s; }
.chi-siamo-slide:nth-child(2) { animation-delay: 4s; }
.chi-siamo-slide:nth-child(3) { animation-delay: 8s; }
.chi-siamo-slide:nth-child(4) { animation-delay: 12s; }

/* Contenuto sopra le immagini */
.chi-siamo-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

/* Titolo bianco */
.chi-siamo .section-title {
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

/* CARD TESTO - Design uniforme */
.chi-siamo-text-block {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-bottom: 2rem;
    text-align: center;
    border: 1px solid rgba(245, 158, 11, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chi-siamo-text-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.lead-text {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.9;
}

.lead-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.chi-siamo-text-block p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1.8rem;
    line-height: 1.9;
}

.chi-siamo-text-block p:last-child {
    margin-bottom: 0;
}

.chi-siamo-text-block strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* CARD INFO - Design uniforme IDENTICO */
.chi-siamo-info-block {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(245, 158, 11, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.chi-siamo-info-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* Bordo decorativo arancione in alto */
.chi-siamo-info-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, #ea8508 100%);
}

.info-row {
    padding: 1.5rem 0;
    border-bottom: 1px solid #f3f4f6;
    text-align: center;
}

.info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-row:first-child {
    padding-top: 0;
}

.info-label {
    font-size: 0.85rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.info-value {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}



/* Responsive mobile */
@media (max-width: 768px) {
    .chi-siamo-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .chi-siamo-text-block,
    .chi-siamo-info-block {
        padding: 2rem;
        text-align: left;
    }
    
    .lead-text {
        font-size: 1.15rem;
    }
    
    .chi-siamo-text-block p {
        font-size: 1rem;
    }
    
    .info-row {
        text-align: left;
    }
}



/* Social Section - Versione Semplice */
.social-simple {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.social-simple-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 3rem auto 2rem;
}

.social-simple-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.social-simple-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.instagram-card:hover {
    border-color: #E4405F;
    background: linear-gradient(135deg, #fff 0%, #ffe8ec 100%);
}

.facebook-card:hover {
    border-color: #1877F2;
    background: linear-gradient(135deg, #fff 0%, #e7f3ff 100%);
}

.social-simple-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.social-simple-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-simple-card:hover .social-simple-logo {
    transform: scale(1.15)
}

.social-simple-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-color);
}

.social-simple-card p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.social-cta {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: white;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.social-simple-card:hover .social-cta {
    background: var(--primary-color);
    transform: translateX(5px);
}



/* Responsive Mobile */
@media (max-width: 768px) {
    .social-simple-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .social-simple-card {
        padding: 30px 20px;
    }
}


/* Contatti */
.contatti {
    padding: 6rem 0;
    background-color: var(--light-gray);
}

.contatti-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contatti-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contatto-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contatto-icon {
    font-size: 3rem;
    flex-shrink: 0;
    width: 60px;  /* Larghezza fissa per allineamento */
    height: 60px; /* Altezza fissa per allineamento */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fix per immagini dentro contatto-icon (WhatsApp) */
.contatto-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.contatto-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contatto-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

.contatto-link:hover {
    text-decoration: underline;
}

.contatto-item p {
    color: var(--text-light);
}


/* Form */
.contatti-form {
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

.footer-bottom a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--secondary-color);
}

/* ==================== MODAL ==================== */

/* Modal Base */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: var(--white);
    margin: 3% auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.4s;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-large {
    max-width: 1200px;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    background: linear-gradient(135deg, var(--primary-color) 0%, #374151 100%);
    color: var(--white);
    padding: 2rem;
    margin: 0;
    border-radius: 20px 20px 0 0;
    font-size: 2rem;
}

.close {
    color: var(--white);
    float: right;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.3s;
}

.close:hover {
    transform: rotate(90deg);
}

.modal-body {
    padding: 2.5rem;
}

.modal-footer {
    padding: 2rem;
    text-align: center;
    background-color: var(--light-gray);
    border-radius: 0 0 20px 20px;
}

/* Modal Edilizia - Specializzazioni */
.specializzazioni {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.spec-item {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.spec-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.spec-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.spec-item p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.spec-item ul {
    list-style: none;
    padding: 0;
}

.spec-item ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.spec-item ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* "E molto altro" */
.altro-servizi {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ea8508 100%);
    border-radius: 15px;
}

.altro-servizi p {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

/* Modal Noleggio - Flotta */
.flotta-grid {
    display: grid;
    gap: 3rem;
}

.mezzo-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
}

.mezzo-image {
    position: relative;
}

/* Stile per le immagini vere dei mezzi */
.mezzo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    min-height: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mezzo-image img:hover {
    transform: scale(1.05);
}


.placeholder-img {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    border-radius: 10px;
    height: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px dashed #9ca3af;
}

.placeholder-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.placeholder-img p {
    color: var(--text-light);
    font-style: italic;
}

.mezzo-info h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.mezzo-badge {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.mezzo-badge.popular {
    background-color: #10b981;
}

.mezzo-badge.premium {
    background-color: #8b5cf6;
}

.mezzo-specs {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.spec {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.spec:last-child {
    border-bottom: none;
}

.spec strong {
    color: var(--primary-color);
    display: inline-block;
    min-width: 150px;
}

.mezzo-desc {
    color: var(--text-light);
    line-height: 1.7;
    margin: 1rem 0;
}

.mezzo-usi {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
}

.mezzo-usi strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.mezzo-usi ul {
    list-style: none;
    padding: 0;
}

.mezzo-usi ul li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.mezzo-usi ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.noleggio-info {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 15px;
}

.noleggio-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmin(200px, 1fr));
    gap: 1.5rem;
}

.info-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.info-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==================== RESPONSIVE - MOBILE OTTIMIZZATO ==================== */
@media (max-width: 768px) {
    /* Menu hamburger */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }



.nav-link {
        font-size: 1.3rem !important;
        padding: 1rem 0;
        display: block;
        width: 100%;
    }

    .btn-phone {
        font-size: 1.2rem !important;
        padding: 1rem 2rem;
        margin-top: 1rem;
    }



    /* Ridimensiona font base del body */
    body {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Logo Header piÃ¹ piccolo */
    .logo {
        font-size: 1.6rem;
    }

    .logo-srl {
        font-size: 1rem;
    }

    /* Hero Section */
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    /* Titoli sezioni - Rimpiccioliti e senza andare a capo */
    .section-title {
        font-size: 1.8rem !important;
        white-space: nowrap;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Bottoni piÃ¹ piccoli */
    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }

    .btn-phone {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .btn-whatsapp {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Card servizi - testi e padding piÃ¹ piccoli */
    .servizio-card {
        padding: 2rem 1.5rem;
    }

    .servizio-card h3 {
        font-size: 1.3rem;
    }

    .servizio-card p {
        font-size: 0.95rem;
    }

    .servizio-lista li {
        font-size: 0.9rem;
    }

    .card-cta {
        font-size: 0.9rem;
    }

    .certified-badge {
        font-size: 0.65rem;
        padding: 6px 16px;
    }

    /* PerchÃ© Noi - card e testi */
    .perche-card {
        padding: 1.5rem;
    }

    .perche-numero {
        font-size: 2rem;
    }

    .perche-card h3 {
        font-size: 1.2rem;
    }

    .perche-card p {
        font-size: 0.9rem;
    }

    /* Chi Siamo */
    .lead-text {
        font-size: 1.05rem;
    }

    .chi-siamo-text-block p {
        font-size: 0.95rem;
    }

    .info-label {
        font-size: 0.8rem;
    }

    .info-value {
        font-size: 0.95rem;
    }

    .chi-siamo-info-block {
        padding: 2rem;
    }

    /* Social Cards */
    .social-simple-card h3 {
        font-size: 1.2rem;
    }

    .social-simple-card p {
        font-size: 0.9rem;
    }

    .social-cta {
        font-size: 0.85rem;
        padding: 8px 20px;
    }

    .social-simple-logo {
        width: 60px;
        height: 60px;
    }

    /* Contatti */
    .contatto-link {
        font-size: 1.1rem;
    }

    .contatto-item h3 {
        font-size: 1.1rem;
    }

    .contatto-item p {
        font-size: 0.9rem;
    }

    .contatto-icon {
        font-size: 2.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.95rem;
        padding: 0.8rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    /* Footer */
    .footer-col h3, 
    .footer-col h4 {
        font-size: 1.1rem;
    }

    .footer-col p,
    .footer-col ul li {
        font-size: 0.9rem;
    }

    /* Padding sezioni generali */
    .servizi,
    .perche-noi,
    .chi-siamo,
    .contatti,
    .social-simple {
        padding: 4rem 0;
    }

    /* Modal - testi piÃ¹ piccoli */
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .modal-content h2 {
        font-size: 1.5rem;
        padding: 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .spec-item h3 {
        font-size: 1.2rem;
    }

    .spec-item p {
        font-size: 0.9rem;
    }

    .spec-item ul li {
        font-size: 0.85rem;
    }

    .mezzo-info h3 {
        font-size: 1.4rem;
    }

    .mezzo-desc {
        font-size: 0.9rem;
    }

    .mezzo-item {
        grid-template-columns: 1fr;
    }

    .specializzazioni {
        grid-template-columns: 1fr;
    }

    /* Grid layouts - una colonna */
    .servizi-grid,
    .perche-grid,
    .contatti-grid,
    .chi-siamo-layout,
    .social-elegant-grid {
        grid-template-columns: 1fr;
    }

    .chi-siamo-layout {
        gap: 2rem;
    }
}

/* ==================== SMARTPHONE MOLTO PICCOLI ==================== */
@media (max-width: 480px) {
    body {
        font-size: 13px;
    }

    .logo {
        font-size: 1.4rem;
    }

    .logo-srl {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.4rem !important;
        white-space: nowrap;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-phone {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .btn-whatsapp {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .servizio-card {
        padding: 1.5rem 1rem;
    }

    .servizio-card h3 {
        font-size: 1.1rem;
    }

    .servizio-card p,
    .servizio-lista li {
        font-size: 0.85rem;
    }

    .certified-badge {
        font-size: 0.6rem;
        padding: 5px 12px;
    }

    .perche-numero {
        font-size: 1.8rem;
    }

    .perche-card h3 {
        font-size: 1.1rem;
    }

    .perche-card p {
        font-size: 0.85rem;
    }

    .lead-text {
        font-size: 1rem;
    }

    .chi-siamo-text-block p {
        font-size: 0.9rem;
    }

    .social-simple-logo {
        width: 50px;
        height: 50px;
    }

    .social-simple-card h3 {
        font-size: 1.1rem;
    }

    .social-simple-card p {
        font-size: 0.85rem;
    }

    .contatto-icon {
        font-size: 2rem;
    }

    .servizi,
    .perche-noi,
    .chi-siamo,
    .contatti,
    .social-simple {
        padding: 3rem 0;
    }
}