/* =====================================================================
   DIVENTA CONSULENTE (happy-vendor.php): layout desktop
   Attivo solo da 992px e solo su questa pagina (body.hv-d). Mobile invariato.
   ===================================================================== */
@media (min-width: 992px) {
  .hv-d {
    --hv-max: 1200px;
    --hv-navy: #102d45;
    --hv-muted: #55626c;
    --hv-soft: #f3f5f7;
    --hv-space: clamp(56px, 6vw, 88px);
  }

  /* pulsanti: dimensione naturale, non larghi quanto lo schermo */
  .hv-d .link-wrap .btn { width: auto !important; min-width: 320px; padding: 14px 40px; }
  .hv-d .link-wrap { padding-top: 40px !important; padding-bottom: 40px !important; }

  /* intestazione: titolo e foto più compatti */
  .hv-d section.happy.header { padding-top: 48px !important; }
  .hv-d section.happy.header h2 { margin-bottom: 24px !important; }
  .hv-d section.happy.header .happy-corner { max-width: 220px; }

  /* vantaggi: icone contenute */
  .hv-d section.happy.benefit .happy-dots img { max-width: 88px; }

  /* "Ed ancora": riga compatta */
  .hv-d section.happy-dots > .container { max-width: 900px; }
  .hv-d section.happy-dots > .container img { margin-top: 24px !important; }

  /* fai carriera: le 6 card in griglia 3x2 invece del carosello */
  .hv-d .happy-user-slider .blue .container { max-width: var(--hv-max); padding: 0 32px; }
  .hv-d .happy-user-slider .blue p { max-width: 640px; font-size: 1.05rem; }
  .hv-d .happyVendorSwiper { max-width: var(--hv-max) !important; padding: 0 32px !important; overflow: visible; }
  .hv-d .happyVendorSwiper .swiper-wrapper {
    display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 24px;
    transform: none !important; height: auto !important;
  }
  .hv-d .happyVendorSwiper .swiper-slide { width: auto !important; margin: 0 !important; height: auto; }
  .hv-d .happyVendorSwiper .happy-card { height: 100%; width: 100%; max-width: none; margin: 0; }
  .hv-d .happyVendorSwiper .swiper-scrollbar { display: none; }

  /* aiuto: riquadro compatto */
  .hv-d section.help .wrap { max-width: 560px; }

  /* storie di successo: testo a sinistra, video a destra */
  .hv-d .hv-storie {
    display: grid; grid-template-columns: 7fr 5fr; align-items: stretch;
    max-width: var(--hv-max); margin: var(--hv-space) auto; padding: 0 32px;
  }
  .hv-d .hv-storie .happy-join,
  .hv-d .hv-storie .happy-join .container { transform: none !important; }
  .hv-d .hv-storie .happy-join.blue { margin: 0 !important; display: flex; align-items: center; padding: 64px 56px !important; }
  .hv-d .hv-storie .happy-join.blue .container { max-width: none; padding: 0; }
  .hv-d .hv-storie .happy-join.blue .text-center { text-align: left !important; padding-bottom: 0 !important; }
  .hv-d .hv-storie .happy-join.blue h2 { font-size: 2.4rem; line-height: 1.15; margin-bottom: 20px; }
  .hv-d .hv-storie .happy-join.blue p { font-size: 1.05rem; line-height: 1.65; }
  .hv-d .hv-storie .ball.wind { display: none; }
  .hv-d .hv-storie > .col-md-6 {
    width: auto; max-width: none; margin: 0 !important; padding: 32px 32px 40px !important;
    background: #0d2233; display: flex; flex-direction: column; justify-content: center;
  }
  .hv-d .hv-storie .reviewSwiper { margin-top: 0 !important; overflow: visible; }
  .hv-d .hv-storie .review-card { margin-bottom: 20px; }
  .hv-d .hv-storie video { display: block; width: auto; max-width: 100%; height: 480px; margin: 0 auto; background: #000; }
  .hv-d .hv-storie .btn { display: block; max-width: 270px; margin: 0 auto !important; }
}
@media (min-width: 992px) {
  .hv-d .hv-storie > .col-md-6 { padding-bottom: 56px !important; }
  .hv-d .hv-storie .reviewSwiper { padding-bottom: 8px; }
}


/* === SEO h1: titoli principali con aspetto da h2/h3 (classe .h2/.h3): stesse regole degli h2/h3 === */
@media (min-width: 992px){.hv-d section.happy.header h1:where(.h2){margin-bottom: 24px !important;}.hv-d .hv-storie .happy-join.blue h1:where(.h2){font-size: 2.4rem; line-height: 1.15; margin-bottom: 20px;}}
