/* ==========================================================
   KLIMA STAR - STYLE.CSS
   ========================================================== */

:root {
    --blue: #078de5;
    --blue-dark: #006fbe;
    --blue-light: #eaf7ff;

    --navy: #082d49;
    --navy-dark: #052239;

    --white: #ffffff;
    --bg: #f5f8fa;
    --bg-soft: #eef5f9;

    --text: #112c40;
    --text-light: #617382;

    --border: #dce5eb;
    --green: #20bd5a;

    --radius: 18px;
    --radius-small: 10px;

    --container: 1200px;

    --shadow: 0 15px 45px rgba(7, 43, 70, .10);
    --shadow-hover: 0 22px 55px rgba(7, 43, 70, .16);
}


/* ==========================================================
   RESET
========================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}


/* ==========================================================
   TOP BAR
========================================================== */

.top-bar {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, .90);
    font-size: 12px;
}

.top-bar-content {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.top-location {
    white-space: nowrap;
}

.top-contacts {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-contacts a {
    transition: color .2s ease;
}

.top-contacts a:hover {
    color: #57c4ff;
}


/* ==========================================================
   HEADER
========================================================== */

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 3px 15px rgba(0, 25, 45, .05);
}

.header-content {
    min-height: 88px;

    display: flex;
    align-items: center;

    gap: 30px;
}


/* LOGO */

.logo {
    margin-right: auto;
    flex-shrink: 0;
}

.logo img {
    width: 245px;
    height: 68px;

    object-fit: contain;
    object-position: left center;
}


/* MENU */

.main-menu {
    display: flex;
    align-items: center;
    gap: 29px;
}

.main-menu a {
    position: relative;

    padding: 33px 0;

    font-size: 14px;
    font-weight: 650;

    color: var(--text);
}

.main-menu a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 24px;

    width: 0;
    height: 2px;

    background: var(--blue);

    transition: width .2s ease;
}

.main-menu a:hover {
    color: var(--blue);
}

.main-menu a:hover::after {
    width: 100%;
}


/* BOTTONE HEADER */

.header-button {
    min-height: 48px;

    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 30px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #0ba4f3,
            var(--blue)
        );

    font-size: 13px;
    font-weight: 750;

    box-shadow:
        0 8px 20px
        rgba(7, 141, 229, .20);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.header-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 28px
        rgba(7, 141, 229, .28);
}


/* MENU MOBILE */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 26px;
    height: 2px;

    margin: 6px auto;

    background: var(--navy);

    border-radius: 3px;
}


/* ==========================================================
   HERO
========================================================== */

.hero {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: var(--navy-dark);
}


/* FOTO HOME */

.hero-background {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            90deg,
            rgba(4, 30, 49, .95) 0%,
            rgba(4, 30, 49, .86) 35%,
            rgba(4, 30, 49, .48) 62%,
            rgba(4, 30, 49, .15) 100%
        ),
        url("../img/hero.png");

    background-size: cover;

    /*
       Cambia questo valore se vuoi spostare
       leggermente la foto verso alto/basso.
    */
    background-position: center 55%;

    transform: scale(1.01);
}


/* CONTENUTO HERO */

.hero-content {
    position: relative;

    z-index: 2;

    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-text {
    width: min(690px, 100%);
}

.eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: #61c8ff;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 3px;
}

.hero h1 {
    margin-bottom: 24px;

    color: white;

    font-size: clamp(52px, 5.2vw, 76px);

    line-height: .98;

    letter-spacing: -3px;

    font-weight: 850;
}

.hero h1 strong {
    display: block;

    color: #27aefa;

    font-weight: 850;
}

.hero-services {
    display: flex;
    flex-wrap: wrap;

    gap: 8px 11px;

    margin-bottom: 18px;

    color: white;

    font-size: 16px;
    font-weight: 650;
}

.hero-services span {
    color: #36b7ff;
}

.hero-description {
    max-width: 610px;

    margin-bottom: 32px;

    color: rgba(255, 255, 255, .85);

    font-size: 17px;

    line-height: 1.65;
}


/* BOTTONI HERO */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 15px;

    margin-bottom: 38px;
}

.btn {
    min-height: 52px;

    padding: 0 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    border: 0;
    border-radius: 9px;

    cursor: pointer;

    font-weight: 750;
    font-size: 14px;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: white;

    background:
        linear-gradient(
            135deg,
            #0ba7f6,
            #0786dd
        );

    box-shadow:
        0 10px 28px
        rgba(0, 145, 230, .27);
}

.btn-secondary {
    color: white;

    border:
        1px solid
        rgba(255, 255, 255, .65);

    background:
        rgba(255, 255, 255, .05);

    backdrop-filter: blur(7px);
}

.btn-secondary:hover {
    color: var(--navy);
    background: white;
}

.btn-white {
    color: var(--blue);

    background: white;

    box-shadow:
        0 10px 25px
        rgba(0, 0, 0, .12);
}


/* ZONA OPERATIVA HERO */

.hero-area {
    display: flex;
    align-items: center;

    gap: 14px;

    color: white;
}

.area-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .12);

    border:
        1px solid
        rgba(255, 255, 255, .25);
}

.hero-area div {
    display: flex;
    flex-direction: column;
}

.hero-area strong {
    font-size: 14px;
}

.hero-area p {
    margin-top: 2px;

    color:
        rgba(255, 255, 255, .68);

    font-size: 12px;
}


/* ==========================================================
   SEZIONI GENERALI
========================================================== */

.section {
    padding: 105px 0;
}

.section-heading {
    width: min(760px, 100%);

    margin: 0 auto 55px;

    text-align: center;
}

.section-label {
    display: inline-block;

    margin-bottom: 13px;

    color: var(--blue);

    font-size: 12px;
    font-weight: 850;

    letter-spacing: 2.5px;
}

.section-heading h2 {
    margin-bottom: 18px;

    color: var(--navy);

    font-size:
        clamp(34px, 4vw, 50px);

    line-height: 1.08;

    letter-spacing: -1.5px;
}

.section-heading p {
    max-width: 650px;

    margin-inline: auto;

    color: var(--text-light);

    font-size: 17px;
}


/* ==========================================================
   SERVIZI
========================================================== */

.services-section {
    background: white;
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}

.service-card {
    position: relative;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background: white;

    box-shadow:
        0 8px 28px
        rgba(0, 30, 55, .06);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.service-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow-hover);
}

.service-photo {
    height: 230px;

    overflow: hidden;

    background: #e9eef2;
}

.service-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .45s ease;
}

.service-card:hover .service-photo img {
    transform: scale(1.05);
}

.service-content {
    position: relative;

    min-height: 265px;

    padding: 35px 28px 30px;
}

.service-number {
    position: absolute;

    top: -24px;
    right: 22px;

    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--blue);

    border: 4px solid white;

    color: white;

    font-size: 12px;
    font-weight: 850;
}

.service-content h3 {
    margin-bottom: 14px;

    color: var(--navy);

    font-size: 23px;

    line-height: 1.15;
}

.service-content p {
    min-height: 110px;

    color: var(--text-light);

    font-size: 15px;

    line-height: 1.65;
}

.service-content a {
    display: inline-block;

    margin-top: 20px;

    color: var(--blue);

    font-size: 13px;
    font-weight: 800;
}


/* ==========================================================
   CHI SIAMO
========================================================== */

.about-section {
    background:
        linear-gradient(
            135deg,
            #f2f6f8,
            #f9fbfc
        );
}

.about-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 75px;

    align-items: center;
}

.about-photo {
    height: 600px;

    overflow: hidden;

    border-radius: 22px;

    box-shadow: var(--shadow);
}

.about-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.about-content h2 {
    margin-bottom: 25px;

    color: var(--navy);

    font-size:
        clamp(38px, 4.5vw, 56px);

    line-height: 1.05;

    letter-spacing: -2px;
}

.about-content > p {
    margin-bottom: 17px;

    color: var(--text-light);

    font-size: 16px;

    line-height: 1.75;
}

.about-lead {
    color: var(--text) !important;

    font-size: 19px !important;

    font-weight: 650;
}

.about-points {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 16px;

    margin: 35px 0;
}

.about-point {
    min-height: 95px;

    padding: 18px;

    display: flex;

    gap: 12px;

    border-radius: 12px;

    border:
        1px solid var(--border);

    background: white;
}

.about-point > span {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: white;

    background: var(--blue);

    font-size: 13px;
}

.about-point div {
    display: flex;
    flex-direction: column;
}

.about-point strong {
    margin-bottom: 3px;

    font-size: 14px;
}

.about-point small {
    color: var(--text-light);

    line-height: 1.4;
}

.text-link {
    color: var(--blue);

    font-weight: 800;
}


/* ==========================================================
   CTA CENTRALE
========================================================== */

.cta-section {
    padding: 70px 0;

    background:
        linear-gradient(
            135deg,
            #0797eb,
            #006fbf
        );

    color: white;
}

.cta-content {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;
}

.cta-content > div > span {
    display: block;

    margin-bottom: 8px;

    color:
        rgba(255, 255, 255, .75);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}

.cta-content h2 {
    font-size:
        clamp(32px, 4vw, 48px);

    line-height: 1.1;
}


/* ==========================================================
   I NOSTRI LAVORI
========================================================== */

.works-section {
    background: white;
}

.works-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}


/*
   FOTO REALI DEI LAVORI
*/

.work-item {
    position: relative;

    height: 320px;

    overflow: hidden;

    border-radius: 16px;

    background: #edf3f6;

    box-shadow:
        0 8px 25px
        rgba(0, 30, 55, .08);

    cursor: pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.work-item:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 40px
        rgba(0, 30, 55, .14);
}

.work-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .45s ease;
}

.work-item:hover img {
    transform: scale(1.06);
}


/*
   Leggero effetto scuro in basso.
   Utile se in futuro vuoi aggiungere
   nome del lavoro o località.
*/

.work-item::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent 65%,
            rgba(5, 34, 57, .15) 100%
        );
}


/* ==========================================================
   CERTIFICAZIONI
========================================================== */

.certifications-section {
    background: var(--bg);
}

.certification-box {
    width: min(900px, 100%);

    margin-inline: auto;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;
}

.certification-item {
    min-height: 170px;

    padding: 30px;

    display: flex;

    align-items: center;

    gap: 22px;

    border:
        1px solid var(--border);

    border-radius: 16px;

    background: white;

    box-shadow:
        0 8px 25px
        rgba(0, 30, 55, .05);
}

.cert-icon {
    width: 70px;
    height: 70px;

    flex: 0 0 70px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--blue-light);

    color: var(--blue);

    font-size: 17px;

    font-weight: 850;
}

.certification-item h3 {
    margin-bottom: 8px;

    font-size: 19px;
}

.certification-item p {
    color: var(--text-light);

    font-size: 14px;
}


/* ==========================================================
   PREVENTIVO
========================================================== */

.quote-section {
    background:
        linear-gradient(
            135deg,
            #eaf7ff,
            #f8fcff
        );
}

.quote-grid {
    display: grid;

    grid-template-columns:
        .85fr 1.15fr;

    gap: 80px;

    align-items: start;
}

.quote-intro h2 {
    margin-bottom: 22px;

    color: var(--navy);

    font-size:
        clamp(40px, 4.5vw, 57px);

    line-height: 1.05;

    letter-spacing: -2px;
}

.quote-intro > p {
    color: var(--text-light);

    font-size: 17px;

    line-height: 1.7;
}

.quote-contact {
    margin-top: 40px;

    padding-top: 30px;

    border-top:
        1px solid #cadce7;

    display: flex;

    flex-direction: column;

    gap: 8px;
}

.quote-contact small {
    margin-bottom: 4px;

    color: var(--text-light);
}

.quote-contact a {
    color: var(--navy);

    font-size: 18px;

    font-weight: 750;
}


/* ==========================================================
   FORM PREVENTIVO
========================================================== */

.quote-form {
    padding: 42px;

    border-radius: 20px;

    background: white;

    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--text);

    font-size: 13px;

    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 13px 15px;

    border:
        1px solid #cdd9e1;

    border-radius: 9px;

    background: white;

    color: var(--text);

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.form-group input,
.form-group select {
    height: 50px;
}

.form-group textarea {
    min-height: 150px;

    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 3px
        rgba(7, 141, 229, .11);
}

.privacy-check {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 25px;

    color: var(--text-light);

    font-size: 12px;
}

.privacy-check input {
    margin-top: 4px;
}

.submit-button {
    width: 100%;
}


/* ==========================================================
   CONTATTI
========================================================== */

.contact-section {
    background: white;
}

.contact-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.contact-card {
    min-height: 175px;

    padding: 28px;

    display: flex;

    flex-direction: column;

    border:
        1px solid var(--border);

    border-radius: 15px;

    background: var(--bg);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.contact-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 30px
        rgba(0, 30, 55, .08);
}

.contact-card > span {
    margin-bottom: 18px;

    color: var(--blue);

    font-size: 11px;

    font-weight: 850;

    letter-spacing: 1.5px;
}

.contact-card a {
    margin-bottom: 5px;

    color: var(--navy);

    font-weight: 750;
}

.contact-card p {
    color: var(--text-light);
}


/* ==========================================================
   FOOTER
========================================================== */

.footer {
    color: white;

    background:
        linear-gradient(
            135deg,
            #073554,
            #041f34
        );
}

.footer-content {
    min-height: 260px;

    padding: 55px 0;

    display: grid;

    grid-template-columns:
        1.2fr 1.3fr .8fr;

    gap: 70px;

    align-items: start;
}

.footer-company img {
    width: 250px;
    height: 75px;

    object-fit: contain;

    object-position: left center;

    margin-bottom: 15px;
}

.footer-company p {
    color:
        rgba(255, 255, 255, .65);
}

.footer-info,
.footer-contact {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.footer-info strong {
    margin-bottom: 8px;
}

.footer-info span,
.footer-contact a {
    color:
        rgba(255, 255, 255, .70);

    font-size: 13px;
}

.footer-contact a:hover {
    color: #54c4ff;
}

.footer-bottom {
    padding: 18px 0;

    border-top:
        1px solid
        rgba(255, 255, 255, .10);

    color:
        rgba(255, 255, 255, .50);

    font-size: 12px;
}


/* ==========================================================
   WHATSAPP
========================================================== */

.whatsapp-floating {
    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 1100;

    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--green);

    color: white;

    border: 4px solid white;

    box-shadow:
        0 8px 25px
        rgba(0, 0, 0, .20);

    font-size: 13px;

    font-weight: 850;

    transition:
        transform .2s ease;
}

.whatsapp-floating:hover {
    transform: scale(1.07);
}


.privacy-check a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: underline;
}

.privacy-check a:hover {
    color: var(--blue-dark);
}

/* ==========================================================
   MESSAGGI FORM
========================================================== */

.form-message {
    margin-bottom: 22px;
    padding: 16px 18px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;
}

.form-success {
    color: #126a37;
    background: #e9f8ef;
    border: 1px solid #b9e5c9;
}

.form-error {
    color: #9b2929;
    background: #fff0f0;
    border: 1px solid #f0c2c2;
}

/* ==========================================================
   NOTEBOOK
========================================================== */

@media (max-width: 1100px) {

    .main-menu {
        gap: 18px;
    }

    .main-menu a {
        font-size: 12px;
    }

    .logo img {
        width: 205px;
    }

    .header-button {
        padding: 0 17px;

        font-size: 12px;
    }

    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .service-photo {
        height: 270px;
    }

    .service-content {
        min-height: 230px;
    }

    .service-content p {
        min-height: 75px;
    }

}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 900px) {

    html {
        scroll-padding-top: 78px;
    }


    /* TOP BAR */

    .top-bar {
        display: none;
    }


    /* HEADER */

    .header-content {
        min-height: 78px;
    }

    .logo img {
        width: 210px;
        height: 60px;
    }

    .header-button {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .main-menu {
        position: absolute;

        top: 78px;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding:
            12px 25px 25px;

        background: white;

        border-top:
            1px solid var(--border);

        box-shadow:
            0 15px 30px
            rgba(0, 25, 45, .12);
    }

    .main-menu.open {
        display: flex;
    }

    .main-menu a {
        padding: 16px 5px;

        border-bottom:
            1px solid #edf1f4;

        font-size: 14px;
    }

    .main-menu a::after {
        display: none;
    }


    /* HERO */

    .hero {
        min-height: 620px;
    }

    .hero-background {
        background-image:
            linear-gradient(
                90deg,
                rgba(4, 30, 49, .95),
                rgba(4, 30, 49, .72)
            ),
            url("../img/hero.png");

        background-position: center;
    }

    .hero-content {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 58px;
    }


    /* SEZIONI */

    .section {
        padding: 85px 0;
    }


    /* CHI SIAMO */

    .about-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .about-photo {
        height: 520px;
    }


    /* LAVORI */

    .works-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .work-item {
        height: 300px;
    }


    /* PREVENTIVO */

    .quote-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    /* CONTATTI */

    .contact-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    /* FOOTER */

    .footer-content {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 40px;
    }

    .footer-company {
        grid-column:
            1 / -1;
    }

}


/* ==========================================================
   SMARTPHONE
========================================================== */

@media (max-width: 600px) {

    .container {
        width:
            calc(100% - 30px);
    }


    /* HEADER */

    .logo img {
        width: 175px;
    }


    /* HERO */

    .hero {
        min-height: 650px;
    }

    .hero-background {
        background-image:
            linear-gradient(
                90deg,
                rgba(4, 30, 49, .96),
                rgba(4, 30, 49, .82)
            ),
            url("../img/hero.png");

        background-position: 60% center;
    }

    .hero-content {
        padding: 65px 0;
    }

    .eyebrow {
        margin-bottom: 14px;
    }

    .hero h1 {
        font-size: 45px;

        letter-spacing: -2px;
    }

    .hero-services {
        font-size: 13px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-area {
        align-items: flex-start;
    }


    /* SEZIONI */

    .section {
        padding: 72px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {
        font-size: 35px;
    }

    .section-heading p {
        font-size: 15px;
    }


    /* SERVIZI */

    .services-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .service-photo {
        height: 240px;
    }

    .service-content {
        min-height: auto;

        padding:
            34px 24px 28px;
    }

    .service-content p {
        min-height: auto;
    }


    /* CHI SIAMO */

    .about-photo {
        height: 390px;
    }

    .about-grid {
        gap: 40px;
    }

    .about-content h2 {
        font-size: 38px;
    }

    .about-points {
        grid-template-columns: 1fr;
    }


    /* CTA */

    .cta-section {
        padding: 55px 0;
    }

    .cta-content {
        flex-direction: column;

        align-items: flex-start;
    }


    /* LAVORI */

    .works-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .work-item {
        height: 280px;
    }


    /* CERTIFICAZIONI */

    .certification-box {
        grid-template-columns: 1fr;
    }


    /* FORM */

    .quote-form {
        padding:
            28px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;

        gap: 0;
    }


    /* CONTATTI */

    .contact-grid {
        grid-template-columns: 1fr;
    }


    /* FOOTER */

    .footer-content {
        min-height: auto;

        grid-template-columns: 1fr;

        gap: 35px;

        padding: 50px 0;
    }

    .footer-company {
        grid-column: auto;
    }


    /* WHATSAPP */

    .whatsapp-floating {
        width: 56px;
        height: 56px;

        right: 14px;
        bottom: 14px;
    }

}


/* ==========================================================
   TELEFONI PICCOLI
========================================================== */

@media (max-width: 420px) {

    .hero h1 {
        font-size: 39px;
    }

    .hero {
        min-height: 620px;
    }

    .section {
        padding: 62px 0;
    }

    .about-photo {
        height: 330px;
    }

    .work-item {
        height: 250px;
    }

    .quote-intro h2 {
        font-size: 36px;
    }

}


/* ==========================================================
   ACCESSIBILITÀ
========================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {

    outline:
        3px solid
        rgba(7, 141, 229, .35);

    outline-offset: 3px;
}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }

}