/* Spacing Compatto per Tutto il Sito */

/* Sezioni - Riduzione padding verticale */
section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Header ridotto */
header {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Hero section extra compatto */
#home {
    min-height: auto !important;
    padding-top: 6rem !important; /* Aumentato per evitare taglio del testo */
    padding-bottom: 2rem !important;
}

#home h2 {
    font-size: 2.5rem !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.2 !important;
}

#home p {
    margin-bottom: 1rem !important;
}

#home .flex.gap-2 {
    gap: 0.5rem !important;
}

/* Titoli sezioni - margini ridotti */
section h2 {
    margin-bottom: 1.5rem !important;
}

section h3 {
    margin-bottom: 1rem !important;
}

/* Paragrafi e testi */
section p {
    margin-bottom: 1rem !important;
}

/* Grid e cards - gap ridotti */
.grid {
    gap: 1.5rem !important;
}

/* FAQ - Drasticamente più compatto */
#faq .space-y-4 > * + * {
    margin-top: 0.5rem !important;
}

#faq details {
    padding: 0.75rem 1rem !important;
    margin-bottom: 0.5rem !important;
}

#faq summary {
    padding: 0.5rem 0 !important;
    font-size: 1rem !important;
}

#faq details[open] summary {
    margin-bottom: 0.5rem !important;
}

#faq details p {
    margin: 0 !important;
    padding-top: 0.5rem !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
}

/* Pacchetti/Cards servizi */
.bg-white.rounded-2xl,
.bg-white.rounded-xl {
    padding: 1.5rem !important;
}

/* Recensioni */
#recensioni .space-y-6 > * + * {
    margin-top: 1rem !important;
}

/* Gallery */
#gallery {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

/* Form contatti */
#contatti {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

#contact-form .space-y-5 > * + * {
    margin-top: 0.75rem !important;
}

/* Footer */
footer {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

/* Container generale */
.container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Chi siamo section */
#chi-siamo .space-y-6 > * + * {
    margin-top: 1rem !important;
}

/* Bottoni e CTA */
.py-4 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

/* Liste */
ul li,
ol li {
    margin-bottom: 0.5rem !important;
}

/* Mobile - ancora più compatto */
@media (max-width: 768px) {
    section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    #hero {
        padding-top: 4rem !important;
        padding-bottom: 2rem !important;
    }
    
    section h2 {
        font-size: 1.75rem !important;
        margin-bottom: 1rem !important;
    }
    
    .grid {
        gap: 1rem !important;
    }
    
    #faq details {
        padding: 0.5rem 0.75rem !important;
    }
}

/* Rimuovi margini eccessivi tra elementi */
.mb-6 {
    margin-bottom: 1rem !important;
}

.mb-8 {
    margin-bottom: 1.5rem !important;
}

.mb-10,
.mb-12 {
    margin-bottom: 1.5rem !important;
}

.mt-6 {
    margin-top: 1rem !important;
}

.mt-8 {
    margin-top: 1.5rem !important;
}

.mt-10,
.mt-12 {
    margin-top: 1.5rem !important;
}

/* Spazi tra blocchi di contenuto */
.space-y-8 > * + * {
    margin-top: 1.5rem !important;
}

.space-y-6 > * + * {
    margin-top: 1rem !important;
}

.space-y-4 > * + * {
    margin-top: 0.75rem !important;
}

/* Linee decorative - più piccole */
.w-24.h-1 {
    width: 3rem !important;
    height: 2px !important;
    margin-bottom: 1rem !important;
}

