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

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #1f4d2c;
}

/* HEADER */

.header {
    width: 100%;
    height: 110px;

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

    padding: 0 5%;
    background-color: #ffffff;
}

/* LOGO */

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 230px;
    height: auto;
    display: block;
}

/* MENU */

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

.menu a {
    color: #1f4d2c;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.menu a:hover {
    color: #5d8737;
}
/* HERO */

.hero {
    min-height: 650px;
    background-image:
        linear-gradient(
            90deg,
            rgba(0, 45, 20, 0.70) 0%,
            rgba(0, 45, 20, 0.35) 45%,
            rgba(0, 0, 0, 0.05) 100%
        ),
        url("../images/hero-sanna-giardini.jpg");

    background-size: cover;
    background-position: center 60%;
    display: flex;
    align-items: center;
    padding: 0 7%;
}

.hero-content {
    max-width: 650px;
    color: white;
}

.hero-content h1 {
    font-size: 58px;
    line-height: 1.05;
    margin: 0 0 20px;
}

.hero-content p {
    font-size: 21px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-button {
    display: inline-block;
    background-color: #5d8737;
    color: white;
    text-decoration: none;
    padding: 15px 26px;
    border-radius: 5px;
    font-weight: 600;
}

.hero-button:hover {
    background-color: #4a702c;
}
/* =========================
   CHI SIAMO
========================= */

.chi-siamo {
    width: 100%;
    background: #ffffff;
    padding: 90px 7% 0;
}

.chi-siamo-container {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

/* TESTO */

.chi-siamo-testo {
    width: 100%;
}

.eyebrow {
    display: block;
    color: #5d8737;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.chi-siamo-testo h2 {
    color: #0f4d2c;
    font-size: 52px;
    line-height: 1.05;
    margin-bottom: 28px;
}

.chi-siamo-testo p {
    color: #454545;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.btn-verde {
    display: inline-block;
    margin-top: 12px;
    padding: 15px 24px;

    background: #5d8737;
    color: white;

    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
}

.btn-verde:hover {
    background: #0f4d2c;
}

/* FOTO */

.chi-siamo-foto {
    width: 100%;
}

.chi-siamo-foto {
    display: flex;
    justify-content: center;
    align-items: center;
}

.chi-siamo-foto img {
    width: 100%;
    max-width: 480px;
    height: 320px;

    object-fit: cover;
    object-position: center 60%;

    display: block;
    border-radius: 5px;
}

/* NUMERI */

.numeri {
    max-width: 1200px;
    margin: 70px auto 0;
    padding: 30px 0;

    border-top: 1px solid #e5e5e5;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.numeri div {
    display: flex;
    flex-direction: column;
}

.numeri strong {
    color: #0f4d2c;
    font-size: 25px;
    font-weight: 700;
}

.numeri span {
    color: #666;
    font-size: 14px;
    margin-top: 4px;
}
/* =========================
   SERVIZI
========================= */

.servizi {
    background-color: #f3f5f0;
    padding: 110px 7%;
}

.servizi-intro {
    max-width: 1300px;
    margin: 0 auto 65px;
}

.servizi-eyebrow {
    display: block;
    color: #5d8737;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.servizi-intro h2 {
    color: #0f4d2c;
    font-size: 52px;
    line-height: 1.05;
    margin-bottom: 22px;
}

.servizi-intro p {
    max-width: 600px;
    color: #555555;
    font-size: 18px;
    line-height: 1.7;
}


/* GRIGLIA SERVIZI */

.servizi-grid {
    max-width: 1300px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid #ccd3c8;
    border-left: 1px solid #ccd3c8;
}


/* SINGOLA CARD */

.servizio-card {
    min-height: 290px;
    padding: 38px;

    background-color: #ffffff;

    border-right: 1px solid #ccd3c8;
    border-bottom: 1px solid #ccd3c8;

    transition: transform 0.25s ease,
                background-color 0.25s ease;
}

.servizio-card:hover {
    background-color: #0f4d2c;
    transform: translateY(-5px);
}


/* NUMERO */

.servizio-numero {
    display: block;

    color: #5d8737;

    font-size: 14px;
    font-weight: 700;

    margin-bottom: 55px;
}


/* TITOLO */

.servizio-card h3 {
    color: #0f4d2c;

    font-size: 25px;
    line-height: 1.2;

    margin-bottom: 16px;

    transition: color 0.25s ease;
}


/* TESTO */

.servizio-card p {
    color: #666666;

    font-size: 16px;
    line-height: 1.6;

    transition: color 0.25s ease;
}


/* HOVER */

.servizio-card:hover h3 {
    color: #ffffff;
}

.servizio-card:hover p {
    color: rgba(255, 255, 255, 0.80);
}

.servizio-card:hover .servizio-numero {
    color: #a8c77d;
}


/* TABLET */

@media (max-width: 1000px) {

    .servizi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* MOBILE */

@media (max-width: 650px) {

    .servizi {
        padding: 75px 25px;
    }

    .servizi-intro {
        margin-bottom: 45px;
    }

    .servizi-intro h2 {
        font-size: 40px;
    }

    .servizi-intro p {
        font-size: 16px;
    }

    .servizi-grid {
        grid-template-columns: 1fr;
    }

    .servizio-card {
        min-height: auto;
        padding: 30px;
    }

    .servizio-numero {
        margin-bottom: 35px;
    }

}
/* =========================
   I NOSTRI LAVORI
========================= */

.lavori {
    background-color: #ffffff;
    padding: 110px 7%;
}


/* INTRO */

.lavori-intro {
    max-width: 1300px;
    margin: 0 auto 60px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 60px;
}

.lavori-eyebrow {
    display: block;

    color: #5d8737;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;

    margin-bottom: 18px;
}

.lavori-intro h2 {
    color: #0f4d2c;

    font-size: 52px;
    line-height: 1.05;
}

.lavori-intro p {
    max-width: 470px;

    color: #555555;

    font-size: 17px;
    line-height: 1.7;
}


/* =========================
   PORTFOLIO
========================= */

.portfolio-grid {
    max-width: 1300px;
    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 105px;

    gap: 16px;
}


/* FOTO */

.portfolio-item {
    overflow: hidden;
    position: relative;

    border-radius: 5px;

    background-color: #eeeeee;
}

.portfolio-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.portfolio-item:hover img {
    transform: scale(1.04);
}


/* =========================
   COMPOSIZIONE FOTO
========================= */

/* foto principale */
.item-1 {
    grid-column: span 7;
    grid-row: span 5;
}

/* verticale */
.item-2 {
    grid-column: span 5;
    grid-row: span 5;
}

/* panoramica */
.item-3 {
    grid-column: span 5;
    grid-row: span 4;
}

/* alberature */
.item-4 {
    grid-column: span 7;
    grid-row: span 4;
}

/* prato */
.item-5 {
    grid-column: span 7;
    grid-row: span 5;
}

/* lavorazione */
.item-6 {
    grid-column: span 5;
    grid-row: span 5;
}

/* giardino */
.item-7 {
    grid-column: span 5;
    grid-row: span 4;
}

/* dettaglio */
.item-8 {
    grid-column: span 7;
    grid-row: span 4;
}

/* panoramica */
.item-9 {
    grid-column: span 7;
    grid-row: span 4;
}

/* aiuola */
.item-10 {
    grid-column: span 5;
    grid-row: span 4;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .lavori-intro {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 300px;
    }

    .portfolio-item {
        grid-column: span 1;
        grid-row: span 1;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 650px) {

    .lavori {
        padding: 75px 25px;
    }

    .lavori-intro {
        margin-bottom: 40px;
    }

    .lavori-intro h2 {
        font-size: 40px;
    }

    .lavori-intro p {
        font-size: 16px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 330px;
        gap: 12px;
    }

    .portfolio-item {
        grid-column: auto;
        grid-row: auto;
    }

}
.lavori {
    background-color: #ffffff;
    padding: 110px 7%;
}


/* INTRO */

.lavori-intro {
    max-width: 1300px;
    margin: 0 auto 60px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 60px;
}

.lavori-eyebrow {
    display: block;

    color: #5d8737;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;

    margin-bottom: 18px;
}

.lavori-intro h2 {
    color: #0f4d2c;

    font-size: 52px;
    line-height: 1.05;
}

.lavori-intro p {
    max-width: 470px;

    color: #555555;

    font-size: 17px;
    line-height: 1.7;
}


/* GRIGLIA */

.lavori-grid {
    max-width: 1300px;
    margin: 0 auto;

    display: grid;

    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 340px 340px;

    gap: 18px;
}


/* FOTO */

.lavoro {
    position: relative;

    overflow: hidden;

    border-radius: 5px;

    background-color: #eeeeee;
}

.lavoro img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.6s ease;
}


/* FOTO GRANDE A SINISTRA */

.lavoro-grande {
    grid-row: span 2;
}


/* QUARTA FOTO */

.lavoro-largo {
    /* resta nella colonna destra */
}


/* EFFETTO FOTO */

.lavoro:hover img {
    transform: scale(1.04);
}


/* SFUMATURA */

.lavoro::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 40, 20, 0.75) 0%,
            rgba(0, 40, 20, 0.10) 55%,
            transparent 100%
        );

    pointer-events: none;
}


/* TESTO SOPRA FOTO */

.lavoro-overlay {
    position: absolute;

    left: 30px;
    bottom: 28px;

    z-index: 2;

    color: #ffffff;
}

.lavoro-overlay span {
    display: block;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;

    margin-bottom: 8px;

    opacity: 0.85;
}

.lavoro-overlay h3 {
    font-size: 27px;
    line-height: 1.1;
}


/* TABLET */

@media (max-width: 900px) {

    .lavori-intro {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .lavori-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 400px 300px;
    }

    .lavoro-grande {
        grid-row: auto;
    }

}


/* MOBILE */

@media (max-width: 650px) {

    .lavori {
        padding: 75px 25px;
    }

    .lavori-intro {
        margin-bottom: 40px;
    }

    .lavori-intro h2 {
        font-size: 40px;
    }

    .lavori-grid {
        display: grid;

        grid-template-columns: 1fr;
        grid-template-rows: none;

        gap: 14px;
    }

    .lavoro,
    .lavoro-grande,
    .lavoro-largo {
        height: 330px;
    }

    .lavoro-overlay {
        left: 22px;
        bottom: 22px;
    }

    .lavoro-overlay h3 {
        font-size: 23px;
    }

}
/* =========================
   LE NOSTRE RADICI
========================= */

.radici {
    background-color: #0f4d2c;
    padding: 110px 7%;
}

.radici-container {
    max-width: 1300px;
    margin: 0 auto 150px;
}

.radici-intro {
    max-width: 760px;
}

.radici-eyebrow {
    display: block;
    color: #a8c77d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.radici-intro h2 {
    color: #ffffff;
    font-size: 52px;
    line-height: 1.05;
    margin-bottom: 30px;
}

.radici-intro p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 18px;
}


/* GALLERY */

.radici-gallery {
    max-width: 1300px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.radice-foto {
    width: 100%;
    height: 350px;

    overflow: hidden;
    border-radius: 4px;

    background-color: #174f32;
}

.radice-foto img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    filter: saturate(0.85) contrast(0.95);

    transition: transform 0.5s ease,
                filter 0.5s ease;
}

.radice-foto:hover img {
    transform: scale(1.03);
    filter: saturate(1) contrast(1);
}


/* TABLET */

@media (max-width: 900px) {

    .radici-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* MOBILE */

@media (max-width: 650px) {

    .radici {
    display: none !important;
}

    .radici-intro h2 {
        font-size: 40px;
    }

    .radici-intro p {
        font-size: 16px;
    }

    .radici-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

    .radice-foto {
        height: 210px;
    }

    .radici {
    display: none !important;
}
}

/* =========================
   MOBILE
========================= */

@media (max-width: 800px) {

    .chi-siamo {
        padding: 60px 25px 0;
    }

    .chi-siamo-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .chi-siamo-testo h2 {
        font-size: 40px;
    }

    .chi-siamo-foto img {
        height: 300px;
    }

    .numeri {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}
/* =========================
   CONTATTI
========================= */

.contatti {
    background-color: #f3f5f0;
    padding: 110px 7%;
}

.contatti-container {
    max-width: 1300px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}


/* TITOLO */

.contatti-eyebrow {
    display: block;

    color: #5d8737;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;

    margin-bottom: 20px;
}

.contatti-titolo h2 {
    color: #0f4d2c;

    font-size: 52px;
    line-height: 1.05;

    margin-bottom: 28px;
}

.contatti-titolo p {
    max-width: 500px;

    color: #555555;

    font-size: 17px;
    line-height: 1.7;
}


/* INFORMAZIONI */

.contatti-info {
    border-top: 1px solid #cbd2c7;
}

.contatto-riga {
    padding: 25px 0;

    border-bottom: 1px solid #cbd2c7;

    display: grid;
    grid-template-columns: 160px 1fr;

    gap: 20px;
}

.contatto-riga span {
    color: #5d8737;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.contatto-riga a,
.contatto-riga p {
    color: #0f4d2c;

    font-size: 20px;
    line-height: 1.4;

    text-decoration: none;
}

.contatto-riga a:hover {
    color: #5d8737;
}


/* =========================
   FOOTER
========================= */

.footer {
    background-color: #ffffff;
    padding: 55px 7% 25px;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;

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

    padding-bottom: 45px;
}

.footer-logo img {
    width: 190px;
    height: auto;

    display: block;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    color: #0f4d2c;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;
}

.footer-links a:hover {
    color: #5d8737;
}


/* PARTE FINALE */

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;

    padding-top: 22px;

    border-top: 1px solid #e1e1e1;
}

.footer-bottom p {
    color: #777777;
    font-size: 12px;
}


/* =========================
   CONTATTI + FOOTER MOBILE
========================= */

@media (max-width: 800px) {

    .contatti {
        padding: 75px 25px;
    }

    .contatti-container {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contatti-titolo h2 {
        font-size: 40px;
    }

    .contatto-riga {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer {
        padding: 45px 25px 25px;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
    }

    .footer-links {
        flex-direction: column;
        gap: 14px;
    }

}
.dati-azienda {
    margin-top: 8px;
    color: #888888;
    font-size: 12px;
}

/* ========================================
   PAGINA GALLERIA LAVORI
======================================== */

.pagina-galleria {
    background: #f4f3ed;
    min-height: 100vh;
    padding: 150px 6% 100px;
}

.galleria-intro {
    max-width: 850px;
    margin: 0 auto 70px;
    text-align: center;
}

.galleria-eyebrow {
    display: block;
    color: #55705f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.galleria-intro h1 {
    color: #173c2b;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    margin-bottom: 25px;
}

.galleria-intro p {
    max-width: 650px;
    margin: 0 auto;
    color: #6e756f;
    font-size: 17px;
    line-height: 1.7;
}


/* MOODBOARD */

.moodboard {
    max-width: 1400px;
    margin: 0 auto;

    columns: 3;
    column-gap: 18px;
}

.moodboard-item {
    position: relative;
    width: 100%;
    margin-bottom: 18px;

    break-inside: avoid;
    overflow: hidden;

    border-radius: 4px;
    cursor: pointer;
}

.moodboard-item img {
    display: block;
    width: 100%;
    height: auto;

    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}

.moodboard-item:hover img {
    transform: scale(1.025);
    filter: brightness(0.92);
}

.galleria-loading {
    column-span: all;

    padding: 80px 20px;
    text-align: center;

    color: #777;
    font-size: 16px;
}


/* ========================================
   LIGHTBOX
======================================== */

.lightbox {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    background: rgba(8, 18, 12, 0.96);
    padding: 40px 90px;
}

.lightbox.aperta {
    display: flex;
}

.lightbox img {
    display: block;

    max-width: 90vw;
    max-height: 88vh;

    width: auto;
    height: auto;

    object-fit: contain;

    box-shadow: 0 15px 60px rgba(0,0,0,0.35);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;

    border: 0;
    background: transparent;
    color: white;

    cursor: pointer;
    font-family: Arial, sans-serif;
}

.lightbox-close {
    top: 25px;
    right: 35px;

    font-size: 46px;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);

    font-size: 70px;
    font-weight: 200;

    padding: 20px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 0.7;
}


/* ========================================
   RESPONSIVE GALLERIA
======================================== */

@media (max-width: 1000px) {

    .moodboard {
        columns: 2;
    }

    .pagina-galleria {
        padding-left: 4%;
        padding-right: 4%;
    }
}


@media (max-width: 650px) {

    .pagina-galleria {
        padding: 120px 18px 70px;
    }

    .galleria-intro {
        margin-bottom: 45px;
    }

    .galleria-intro h1 {
        font-size: 42px;
    }

    .galleria-intro p {
        font-size: 15px;
    }

    .moodboard {
        columns: 1;
        column-gap: 0;
    }

    .moodboard-item {
        margin-bottom: 14px;
    }

    .lightbox {
        padding: 60px 15px;
    }

    .lightbox img {
        max-width: 95vw;
        max-height: 80vh;
    }

    .lightbox-close {
        top: 18px;
        right: 20px;
        font-size: 40px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 50px;
        padding: 10px;
    }

    .lightbox-prev {
        left: 2px;
    }

    .lightbox-next {
        right: 2px;
    }
}

/* ========================================
   ANTEPRIMA LAVORI HOME
======================================== */

#portfolio-home {
    display: grid !important;
    grid-template-columns: 1.25fr 0.75fr 0.85fr 1.15fr;
    grid-template-rows: 420px;
    gap: 12px;
    height: auto !important;
}

#portfolio-home .portfolio-item,
#portfolio-home .item-1,
#portfolio-home .item-2,
#portfolio-home .item-3,
#portfolio-home .item-4 {
    position: relative !important;
    width: auto !important;
    height: 100% !important;
    grid-column: auto !important;
    grid-row: auto !important;
    margin: 0 !important;
    inset: auto !important;
    overflow: hidden;
    border-radius: 4px;
}

#portfolio-home .portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lavori-azione {
    display: flex;
    justify-content: center;
    margin-top: 35px;
}

@media (max-width: 900px) {

    #portfolio-home {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 280px 280px;
    }

}

@media (max-width: 900px) {

    #portfolio-home {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 260px);
    }

}

html {
    scroll-behavior: smooth;
}

body {
    opacity: 1;
    transition: opacity 0.18s ease;
}

body.pagina-pronta {
    opacity: 1;
}

body.pagina-uscita {
    opacity: 0;
}

/* ========================================
   MOBILE - HOME
======================================== */

.menu-toggle {
    display: none;
}

@media (max-width: 600px) {

    /* HEADER */
    .header {
        padding: 14px 20px;
    }

    .logo img {
        width: 190px;
        max-width: 55vw;
        height: auto;
    }

    .menu-toggle {
    display: block;
    margin-left: auto;
    background: none;
    border: none;
    color: #174d2c;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 8px;
}

    /* Per ora nascondiamo il menu desktop su telefono */
    .menu {
        display: none;
    }

    /* HERO */
    .hero {
        min-height: calc(100vh - 100px);
        padding: 70px 28px 60px;
        display: flex;
        align-items: center;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(46px, 13vw, 68px);
        line-height: 0.98;
        letter-spacing: -2px;
        margin-bottom: 28px;
    }

    .hero p {
        font-size: 22px;
        line-height: 1.5;
        max-width: 100%;
        margin-bottom: 32px;
    }

    .hero .btn,
    .hero a.btn,
    .hero .btn-verde {
        width: 100%;
        max-width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

/* TABLET E COMPUTER: menu normale */
@media (min-width: 901px) {
    .menu-toggle {
        display: none !important;
    }

    .menu {
        display: flex !important;
    }
}

/* ========================================
   GALLERIA - MOBILE
======================================== */

@media (max-width: 600px) {

    .moodboard {
        columns: 2 !important;
        column-gap: 8px !important;
    }

    .moodboard-item {
        margin-bottom: 8px !important;
        break-inside: avoid;
        border-radius: 3px;
    }

    .moodboard-item img {
        width: 100%;
        height: auto;
        display: block;
    }

}


/* ========================================
   SERVIZI — TELEFONO E TABLET 2x2
======================================== */

@media (max-width: 900px) {

    .servizi-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .servizio-card {
        width: 100% !important;
        min-width: 0 !important;
        padding: 22px 16px !important;
        box-sizing: border-box !important;
    }

    .servizio-card h3 {
        font-size: 16px !important;
        line-height: 1.2 !important;
    }

    .servizio-card p {
        font-size: 12px !important;
        line-height: 1.45 !important;
    }
}

/* ========================================
   HEADER — TABLET E TELEFONO
======================================== */

@media (max-width: 900px) {

    .menu {
        display: none !important;
    }

    .menu-toggle {
        display: block !important;
        margin-left: auto;
        background: none;
        border: none;
        color: #174d2c;
        font-size: 28px;
        line-height: 1;
        cursor: pointer;
        padding: 8px;
    }

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

/* COMPUTER */
@media (min-width: 901px) {

    .menu {
        display: flex !important;
        align-items: center;
    }

    .menu a {
        display: flex;
        align-items: center;
        white-space: nowrap;
    }

    .menu-toggle {
        display: none !important;
    }
}

html,
body {
    max-width: 100%;
    overflow-x: hidden !important;
}

/* MENU HAMBURGER APERTO - MOBILE E TABLET */
@media (max-width: 900px) {

    .menu.menu-aperto {
        display: flex !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0;
        background: #ffffff;
        padding: 15px 0;
        z-index: 9999;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    .menu.menu-aperto a {
        width: 100%;
        padding: 14px 25px;
        text-align: center;
        box-sizing: border-box;
    }

    .header {
        position: relative;
    }
}

/* HERO PIÙ COMPATTA SU TELEFONO */
@media (max-width: 600px) {

    .hero {
        min-height: 620px !important;
        height: 620px !important;
    }

    .hero h1 {
        font-size: 38px !important;
        line-height: 1.05 !important;
    }

    .hero p {
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    .hero .btn,
    .hero .btn-verde {
        font-size: 13px !important;
    }

    .chi-siamo-testo p {
    font-size: 16px !important;
    line-height: 1.55 !important;
}

}
