/* =========================================================
   LANDING DPM - CSS RESPONSIVE
   Mobile (fino a 768px): una colonna, come prima
   Tablet (769-1023px):   una colonna più larga (720px)
   Desktop (da 1024px):   griglia a due colonne, form sempre visibile
   ========================================================= */

/* RESET E FONT BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    width: 100%;
    overflow-x: hidden;
}

img, video, iframe, div, section, ul, li, p, a, button {
    max-width: 100%;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f5f5f5;
    text-align: center;
    overflow-x: hidden;
    line-height: 1.4;
}

/* Larghezza comune di tutte le sezioni (mobile) */
.header,
.hero,
.landing-image-wrapper,
.checkup-section,
.google-review-badge,
.why-choose-section,
#typeform-embed,
.testimonial-section,
.faq-section,
.footer {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo img {
    max-height: 70px;
    display: block;
}

.btncall {
    display: inline-block;
    background-color: black;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

/* HERO */
.hero {
    position: relative;
    min-height: 50vh;           /* min-height: non taglia il testo su schermi bassi */
    background-color: #16A349;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    color: white;
    text-align: center;
}

.h1hero {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
}

.phero {
    font-size: 20px;
    margin: 10px 0 30px 0;
}

.btncallhero {
    display: inline-block;
    background-color: black;
    color: white;
    padding: 14px 22px;
    font-size: 1rem;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
}

.btncall:hover,
.btncallhero:hover {
    background-color: #222;
}

/* IMMAGINE */
.landing-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* SEZIONE CHECKUP */
.checkup-section {
    background-color: #EAFBE7;
    padding: 20px;
    border-radius: 8px;
}

.checkup-title {
    color: #2E7D32;
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 30px;
}

.checkup-description {
    font-size: 20px;
    color: #4F4F4F;
    margin-bottom: 30px;
}

.checkup-list {
    list-style: none;
    text-align: left;
    color: #2E7D32;
    font-weight: bold;
    max-width: 500px;
    margin: 20px auto 30px;
}

.checkup-list li {
    margin-bottom: 10px;
}

.checkup-result,
.checkup-highlight,
.checkup-reviews {
    font-size: 20px;
}

.checkup-highlight {
    color: #2E7D32;
}

/* BADGE RECENSIONI GOOGLE */
.google-review-badge {
    padding: 18px 20px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    text-align: center;
    font-family: inherit;
}

.google-review-badge .grb-logo {
    width: 60px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.google-review-badge .grb-rating-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.google-review-badge .grb-score {
    font-size: 2rem;
    font-weight: 700;
}

.google-review-badge .grb-stars {
    font-size: 1.2rem;
    color: #f4b400;
}

.google-review-badge .grb-outof {
    font-size: 1rem;
    color: #666;
}

.google-review-badge .grb-text {
    font-size: 0.95rem;
    color: #444;
}

/* WHY CHOOSE (regole duplicate unite in una sola) */
.why-choose-section {
    background-color: #f0f0f0;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
}

.why-choose-title {
    color: #2E7D32;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 auto 20px auto;
    gap: 15px;
    max-width: 500px;
}

.why-choose-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 16px;
    color: #4F4F4F;
    margin-bottom: 15px;
}

.why-choose-list i {
    font-size: 20px;
    color: #2E7D32;
}

/* FORM TYPEFORM: l'iframe si adatta alla larghezza (ignora width="500px" dell'HTML) */
#typeform-embed {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

#typeform-embed iframe {
    display: block;
    width: 100% !important;
    min-height: 600px;
    border: none;
}

/* TESTIMONIALS */
.testimonial-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.testimonial-title {
    color: #2E7D32;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.testimonial-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 20px;
    color: #4F4F4F;
    font-size: 1rem;
    font-style: italic;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 20px;
    margin: 10px 0;
}

.testimonial-author {
    color: #2E7D32;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
}

.testimonial-controls {
    margin-top: 20px;
}

.testimonial-controls button {
    background-color: #2E7D32;
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 20px;
    cursor: pointer;
    margin: 0 10px;
}

.testimonial-controls button:hover {
    background-color: #1B5E20;
}

/* FAQ */
.faq-section {
    background-color: #EAFBE7;
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
}

.faq-title {
    color: #2E7D32;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 20px;
}

.faq-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.faq-item {
    margin-bottom: 15px;
    text-align: left;
}

.faq-question {
    background-color: white;
    color: #2E7D32;
    padding: 15px 20px;
    border: 2px solid #2E7D32;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-question:hover {
    background-color: #2E7D32;
    color: white;
    border-color: #1B5E20;
}

.faq-answer {
    display: none;
    background-color: #FFFFFF;
    color: #4F4F4F;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* FOOTER */
.footer {
    background-color: black;
    color: white;
    padding: 20px;
}

.footer-link {
    color: #8DDC00;
    text-decoration: none;
    font-weight: bold;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-social {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* WHATSAPP BUTTON (sopra il bottone chat di Typeform) */
.float {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
    z-index: 99999;
}

.float .fa-whatsapp {
    font-size: 34px;
    color: #fff;
}

/* POPUP WHATSAPP */
.whatsapp-popup {
    position: fixed;
    bottom: 172px;
    right: 20px;
    width: 300px;
    background-color: #fff;
    border: 2px solid #2E7D32;
    border-radius: 10px;
    display: none;
    z-index: 99998;
    text-align: left;
}

.whatsapp-header {
    position: relative;
    background-color: #2E7D32;
    color: white;
    padding: 15px 40px 15px 15px;
    font-weight: bold;
    text-align: left;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.whatsapp-body {
    padding: 15px;
    font-size: 15px;
    color: #333;
    text-align: left;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

.whatsapp-button {
    display: block;
    background-color: #25D366;
    color: white;
    padding: 12px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* POPUP CHIAMA ORA */
.call-popup {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    background-color: #fff;
    border: 2px solid #2E7D32;
    border-radius: 10px;
    display: none;
    z-index: 9999;
}

.call-header {
    background-color: #2E7D32;
    color: white;
    padding: 15px;
    font-weight: bold;
    text-align: left;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.call-body {
    padding: 15px;
    font-size: 15px;
    color: #333;
    text-align: left;
}

.close-call-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

.call-button {
    display: block;
    background-color: black;
    color: white;
    padding: 12px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* =========================
   DPM TARLI - SECTION
   ========================= */
.dpm-tarli-wrap{
  width: 100%;
  max-width: 500px;
  margin: 0 auto 18px;
  background: #F0F0F0;
  padding: 16px;
  box-sizing: border-box;
}

.dpm-tarli-box{
  background: #ffffff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.07);
}

/* Title + lead */
.dpm-tarli-title{
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  line-height: 1.15;
  font-weight: 900;
  color: #16A349;
  letter-spacing: -0.01em;
}

.dpm-tarli-lead{
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #111;
}

/* Blocks spacing */
.dpm-tarli-block{
  margin-top: 16px;
}

/* Headings */
.dpm-tarli-h3{
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.25;
  font-weight: 900;
  color: #16A349;
}

/* Paragraph */
.dpm-tarli-p{
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.65;
  color: #111;
}

/* Lists */
.dpm-tarli-list{
  margin: 0 0 14px;
  padding-left: 18px;
  text-align: left;
  font-size: 1rem;
  line-height: 1.6;
  color: #111;
}

.dpm-tarli-list li{
  margin: 8px 0;
}

.dpm-tarli-list-strong strong{
  color: #111;
}

/* Pills (benefits) */
.dpm-tarli-bullets{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}

.dpm-tarli-pill{
  background: #F7F7F7;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 12px;
  border-radius: 14px;
  font-weight: 800;
  color: #111;
  line-height: 1.35;
  transform: translateY(6px);
  opacity: 0;
  animation: dpmTarliFadeUp .55s ease forwards;
}

.dpm-tarli-pill:nth-child(2){ animation-delay: .10s; }
.dpm-tarli-pill:nth-child(3){ animation-delay: .20s; }

/* Steps */
.dpm-tarli-steps{
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.dpm-tarli-step{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 14px;
  transform: translateY(6px);
  opacity: 0;
  animation: dpmTarliFadeUp .55s ease forwards;
}

.dpm-tarli-step:nth-child(1){ animation-delay: .05s; }
.dpm-tarli-step:nth-child(2){ animation-delay: .12s; }
.dpm-tarli-step:nth-child(3){ animation-delay: .19s; }
.dpm-tarli-step:nth-child(4){ animation-delay: .26s; }

.dpm-tarli-step-title{
  margin: 0 0 6px;
  font-weight: 900;
  color: #111;
  line-height: 1.25;
  font-size: 1.02rem;
}

.dpm-tarli-step-text{
  margin: 0 0 10px;
  color: #111;
  line-height: 1.6;
  font-size: 1rem;
}

/* Warning */
.dpm-tarli-warning{
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  background: #fff7ed; /* soft warning */
  border: 1px solid rgba(0,0,0,0.06);
}

.dpm-tarli-warning-title{
  margin: 0 0 8px;
  font-weight: 900;
  color: #111;
  font-size: 1.08rem;
}

/* CTA */
.dpm-tarli-cta{
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  background: #F7F7F7;
  border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
}

.dpm-tarli-cta-title{
  margin: 0 0 6px;
  font-weight: 900;
  font-size: 1.15rem;
  color: #111;
}

.dpm-tarli-cta-text{
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.6;
  color: #111;
}

.dpm-tarli-cta-btn{
  display: inline-block;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  padding: 12px 18px;
  border-radius: 10px;
  transition: transform .18s ease, box-shadow .18s ease;
  will-change: transform;
}

.dpm-tarli-cta-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.dpm-tarli-cta-note{
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: #334155;
}

/* Animation */
@keyframes dpmTarliFadeUp{
  from{ opacity: 0; transform: translateY(10px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .dpm-tarli-pill,
  .dpm-tarli-step{
    animation: none;
    opacity: 1;
    transform: none;
  }
  .dpm-tarli-cta-btn{
    transition: none;
  }
}

/* Mobile fine tuning */
@media (max-width: 500px){
  .dpm-tarli-box{ padding: 18px; }
}

/* =========================================================
   SEZIONE DI TESTO SEMPLICE (sezione-inquinamento)
   ========================================================= */
.sezione-inquinamento {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
}

.sezione-inquinamento .container {
    max-width: 500px;
    width: 100%;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.sezione-inquinamento .container h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333333;
}

.sezione-inquinamento .container p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
}

/* =========================================================
   SMARTPHONE (fino a 768px)
   ========================================================= */
@media screen and (max-width: 768px) {
    .header,
    .hero,
    .checkup-section,
    .why-choose-section,
    .testimonial-section,
    .faq-section,
    .footer {
        max-width: 100%;
        padding: 15px;
    }

    .landing-image-wrapper,
    .google-review-badge,
    #typeform-embed {
        max-width: 100%;
    }

    .logo img {
        max-height: 55px;
    }

    .h1hero {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .phero {
        font-size: 1rem;
        margin: 10px 0 20px;
    }

    .btncall,
    .btncallhero {
        font-size: 14px;
        padding: 12px 16px;
    }

    .checkup-title,
    .faq-title {
        font-size: 1.6rem;
    }

    .checkup-description,
    .checkup-result,
    .checkup-highlight,
    .checkup-reviews {
        font-size: 1rem;
    }

    .why-choose-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .why-choose-list li {
        font-size: 15px;
    }

    .testimonial-title {
        font-size: 1.4rem;
    }

    .testimonial-slide {
        font-size: 0.95rem;
    }

    .testimonial-author {
        font-size: 14px;
    }

    .faq-question {
        font-size: 1rem;
        padding: 12px 16px;
    }

    .faq-answer {
        font-size: 0.9rem;
        padding: 12px 16px;
    }

    .whatsapp-popup,
    .call-popup {
        width: 90%;
        right: 5%;
    }

    .footer-text,
    .footer-link {
        font-size: 0.9rem;
    }

    .float {
        width: 54px;
        height: 54px;
        right: 16px;
    }

    .whatsapp-popup {
        bottom: 166px;
    }

    .float .fa-whatsapp {
        font-size: 30px;
    }
}

/* Smartphone piccoli (es. iPhone SE) */
@media screen and (max-width: 380px) {
    .h1hero {
        font-size: 1.5rem;
    }

    .header {
        padding: 10px;
    }

    .logo img {
        max-height: 45px;
    }
}

/* =========================================================
   TABLET (769px - 1023px): una colonna più larga
   ========================================================= */
@media screen and (min-width: 769px) and (max-width: 1023px) {
    .header,
    .hero,
    .landing-image-wrapper,
    .checkup-section,
    .google-review-badge,
    .why-choose-section,
    #typeform-embed,
    .dpm-tarli-wrap,
    .sezione-inquinamento,
    .testimonial-section,
    .faq-section,
    .footer {
        max-width: 720px;
    }

    .sezione-inquinamento .container {
        max-width: none;
    }

    body {
        gap: 20px;
        padding-bottom: 20px;
    }

    .header {
        border-radius: 0 0 8px 8px;
    }

    .hero {
        border-radius: 8px;
        min-height: 360px;
    }

    .why-choose-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        text-align: left;
        max-width: 620px;
    }

    .why-choose-list li {
        justify-content: flex-start;
    }
}

/* =========================================================
   DESKTOP (da 1024px)
   Fascia verde a tutta larghezza con titolo a sinistra e form
   a destra (sempre visibile), poi sezioni larghe quanto lo schermo.
   ========================================================= */
@media screen and (min-width: 1024px) {
    body {
        display: grid;
        grid-template-columns:
            minmax(32px, 1fr) minmax(0, 620px) minmax(0, 520px) minmax(32px, 1fr);
        align-items: start;
        justify-items: stretch;
        background: #F6F8F5;
        text-align: left;
        overflow: visible;          /* necessario per header e form "sticky" */
    }

    /* fascia verde dietro titolo e recensioni */
    body::before {
        content: "";
        grid-column: 1 / -1;
        grid-row: 2 / 4;
        align-self: stretch;
        background: #116D36;
    }

    .header,
    .hero,
    .landing-image-wrapper,
    .checkup-section,
    .google-review-badge,
    .why-choose-section,
    #typeform-embed,
    .testimonial-section,
    .faq-section,
    .footer {
        max-width: none;
        width: auto;
        margin: 0;
        border-radius: 0;
    }

    /* HEADER: barra bianca fissa in alto */
    .header {
        grid-column: 1 / -1;
        grid-row: 1;
        position: sticky;
        top: 0;
        z-index: 50;
        padding: 12px max(32px, calc((100% - 1140px) / 2));
    }

    .logo img {
        max-height: 56px;
    }

    .header .btncall {
        padding: 12px 26px;
        border-radius: 8px;
    }

    /* HERO: testo grande allineato a sinistra */
    .hero {
        grid-column: 2;
        grid-row: 2;
        background: transparent;
        align-items: flex-start;
        text-align: left;
        min-height: 0;
        padding: 80px 56px 32px 0;
    }

    .hero::before {
        display: none;
    }

    .h1hero {
        font-size: clamp(2.6rem, 4vw, 3.5rem);
        line-height: 1.08;
        letter-spacing: -0.02em;
    }

    .h1hero br {
        display: none;              /* a capo naturale e bilanciato su desktop */
    }

    .h1hero {
        text-wrap: balance;
    }

    .phero {
        font-size: 1.25rem;
        line-height: 1.5;
        margin: 22px 0 34px;
        max-width: 30em;
    }

    .hero .btncallhero {
        background: #fff;
        color: #0E5A2B;
        font-size: 1.05rem;
        padding: 17px 30px;
        border-radius: 8px;
    }

    .hero .btncallhero:hover {
        background: #EAFBE7;
    }

    /* RECENSIONI GOOGLE: striscia compatta sotto il titolo */
    .google-review-badge {
        grid-column: 2;
        grid-row: 3;
        justify-self: start;
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 12px 24px 12px 14px;
        margin: 8px 0 80px;
        border-radius: 12px;
        box-shadow: none;
        text-align: left;
    }

    .google-review-badge .grb-logo {
        width: 54px;
        margin: 0;
        flex: none;
    }

    .google-review-badge .grb-rating-row {
        margin-bottom: 0;
    }

    .google-review-badge .grb-score {
        font-size: 1.5rem;
    }

    /* FORM: scheda bianca a destra, a cavallo della fascia verde */
    #typeform-embed {
        grid-column: 3;
        grid-row: 2 / span 3;
        position: sticky;
        top: 104px;
        z-index: 2;
        margin-top: 56px;
        border-radius: 16px;
        box-shadow: 0 24px 60px rgba(8, 45, 22, 0.28);
    }

    #typeform-embed iframe {
        min-height: 640px;
    }

    /* CHECK-UP: testo a sinistra, senza riquadro */
    .checkup-section {
        grid-column: 2;
        grid-row: 4;
        background: transparent;
        text-align: left;
        padding: 64px 56px 80px 0;
    }

    .checkup-title {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: 20px;
    }

    .checkup-description {
        font-size: 1.1rem;
        line-height: 1.55;
        margin-bottom: 14px;
        max-width: 34em;
    }

    .checkup-list {
        margin: 28px 0;
        font-size: 1rem;
    }

    .checkup-result {
        font-size: 1.1rem;
        color: #4F4F4F;
    }

    .checkup-highlight {
        font-size: 1.6rem;
        line-height: 1.25;
    }

    /* FOTO + PERCHE' SCEGLIERE DPM affiancati */
    .landing-image-wrapper {
        grid-column: 2;
        grid-row: 6;
        align-self: stretch;
        padding-right: 40px;
    }

    .landing-image-wrapper img {
        height: 100%;
        min-height: 440px;
        object-fit: cover;
        border-radius: 16px;
    }

    .why-choose-section {
        grid-column: 3;
        grid-row: 6;
        align-self: stretch;
        background: #fff;
        border-radius: 16px;
        padding: 44px 40px;
        text-align: left;
    }

    .why-choose-title {
        font-size: 2rem;
        margin-bottom: 28px;
    }

    .why-choose-list {
        align-items: flex-start;
        gap: 18px;
        margin: 0 0 32px;
    }

    .why-choose-list li {
        margin-bottom: 0;
        gap: 14px;
        text-align: left;
        font-size: 1.05rem;
    }

    .why-choose-list i {
        flex: none;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: #EAFBE7;
        display: grid;
        place-items: center;
        font-size: 18px;
    }

    .why-choose-section .btncall {
        padding: 14px 28px;
        border-radius: 8px;
    }

    /* RECENSIONI CLIENTI: tutte visibili, niente frecce */
    .testimonial-section {
        grid-column: 2 / 4;
        grid-row: 7;
        background: transparent;
        text-align: left;
        padding: 96px 0 88px;
    }

    .testimonial-title {
        font-size: 2rem;
        margin-bottom: 32px;
    }

    .testimonial-slider {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        overflow: visible;
    }

    .testimonial-slide,
    .testimonial-slide.active {
        display: flex;
        flex-direction: column;
        background: #fff;
        border-radius: 12px;
        padding: 28px;
        text-align: left;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .testimonial-text {
        flex: 1;
    }

    .testimonial-rating {
        margin: 18px 0 4px;
        font-size: 16px;
    }

    .testimonial-author {
        margin-top: 0;
        font-style: normal;
    }

    .testimonial-controls {
        display: none;
    }

    /* FAQ: fascia chiara a tutta larghezza, colonna centrale */
    .faq-section {
        grid-column: 1 / -1;
        grid-row: 8;
        padding: 88px 32px 96px;
        text-align: center;
    }

    .faq-section > * {
        max-width: 820px;
        margin-left: auto;
        margin-right: auto;
    }

    .faq-title {
        font-size: 2rem;
        margin-bottom: 32px;
    }

    .faq-question {
        font-size: 1.05rem;
        padding: 18px 22px;
    }

    .faq-answer {
        font-size: 1rem;
        line-height: 1.6;
        padding: 18px 22px;
    }

    .faq-section .btncallhero {
        padding: 16px 30px;
        border-radius: 8px;
        font-size: 1.05rem;
    }

    /* FOOTER a tutta larghezza */
    .footer {
        grid-column: 1 / -1;
        grid-row: 9;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        text-align: left;
        padding: 28px max(32px, calc((100% - 1140px) / 2));
    }

    .footer-social {
        margin-top: 0;
    }

    /* elementi extra in fondo (link privacy Iubenda, widget Typeform) */
    body > .iubenda-embed,
    body > [data-tf-live] {
        grid-column: 1 / -1;
        grid-row: 10;
        justify-self: center;
        margin: 12px 0;
    }
}

/* Schermi larghi: le quattro recensioni su una riga */
@media screen and (min-width: 1200px) {
    .testimonial-slider {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =========================================================
   FORM DESKTOP: segue lo scroll solo fino alla fine del check-up
   (richiede <div class="form-col"> attorno a #typeform-embed)
   ========================================================= */
.form-col {
    display: contents;              /* su mobile e tablet non cambia nulla */
}

@media screen and (min-width: 1024px) {
    .form-col {
        display: block;
        grid-column: 3;
        grid-row: 2 / span 3;
        align-self: stretch;
        position: relative;
        z-index: 2;
        margin: 56px 0 72px;
    }

    .form-col > #typeform-embed {
        position: sticky;
        top: 104px;
        margin-top: 0;
    }
}

/* PULSANTE "CONTATTACI" che apre il form in pop-up */
.btn-form {
    border: none;
    cursor: pointer;
    background-color: #16A349;
    margin: 12px 6px 0;
}

.btn-form:hover {
    background-color: #0E5A2B;
}

@media screen and (min-width: 1024px) {
    .btn-form {
        margin: 0 0 0 12px;
    }
}

/* Desktop: senza il bottone chat di Typeform, WhatsApp torna nell'angolo */
@media screen and (min-width: 1024px) {
    .float {
        bottom: 24px;
        right: 24px;
    }

    .whatsapp-popup {
        bottom: 96px;
        right: 24px;
    }
}

/* =========================================================
   DESKTOP: sezione di testo (dpm-tarli) e landing senza
   riquadro recensioni Google
   ========================================================= */
@media screen and (min-width: 1024px) {
    /* senza il riquadro recensioni, piu' spazio sotto il pulsante */
    body:not(:has(.google-review-badge)) .hero {
        padding-bottom: 88px;
    }

    .checkup-reviews {
        font-size: 1rem;
        color: #4F4F4F;
    }

    .dpm-tarli-wrap {
        grid-column: 2 / 4;
        grid-row: 5;
        max-width: none;
        margin: 0 0 72px;
        padding: 0;
        background: transparent;
    }

    .dpm-tarli-box {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 56px;
        padding: 48px;
        text-align: left;
        box-shadow: none;
    }

    .dpm-tarli-title,
    .dpm-tarli-lead {
        grid-column: 1 / -1;
    }

    .dpm-tarli-title {
        font-size: 2rem;
    }

    .dpm-tarli-lead {
        max-width: 46em;
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .dpm-tarli-block {
        margin-top: 24px;
    }
}

/* Testo piccolo nell'intestazione del popup WhatsApp */
.whatsapp-header small {
    display: block;
    font-size: 13px;
    font-weight: normal;
    margin-top: 5px;
}

/* =========================================================
   DESKTOP: landing senza foto e con tre recensioni
   ========================================================= */
@media screen and (min-width: 1024px) {
    .google-review-badge {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    /* senza foto, "Perche' scegliere DPM" occupa tutta la larghezza */
    body:not(:has(.landing-image-wrapper)) .why-choose-section {
        grid-column: 2 / 4;
    }

    body:not(:has(.landing-image-wrapper)) .why-choose-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: none;
        gap: 18px 40px;
    }

    /* tre recensioni: tre colonne */
    .testimonial-slider:not(:has(.testimonial-slide:nth-child(4))) {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop: con cinque o sei recensioni, tre colonne su due righe */
@media screen and (min-width: 1024px) {
    .testimonial-slider:has(.testimonial-slide:nth-child(5)) {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop: sezione di testo semplice a tutta larghezza */
@media screen and (min-width: 1024px) {
    .sezione-inquinamento {
        grid-column: 2 / 4;
        grid-row: 5;
        max-width: none;
        margin: 0 0 72px;
        padding: 0;
        background: transparent;
    }

    .sezione-inquinamento .container {
        max-width: none;
        padding: 48px;
        border-radius: 16px;
        box-shadow: none;
        text-align: left;
    }

    .sezione-inquinamento .container h2 {
        font-size: 2rem;
        color: #2E7D32;
    }

    .sezione-inquinamento .container p {
        font-size: 1.1rem;
        max-width: 46em;
    }
}
