/* MyOnePage · livello smartphone (si somma a style.css, non tocca il desktop) */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.m1-bar { display: none; }

@media (max-width: 760px) {
  html, body { overflow-x: clip; }
  input, select, textarea { font-size: 16px !important; }

  /* Il bottone tondo di WhatsApp copriva i testi: ora c'è la barra in basso. */
  .floating { display: none !important; }

  /* Servizi, staff e recensioni: righe da scorrere col dito (la pagina era lunga 28 schermate). */
  .services, .staff-grid, .review-grid {
    display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-left: -23px; margin-right: -23px; padding: 4px 23px 12px;
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .services::-webkit-scrollbar, .staff-grid::-webkit-scrollbar, .review-grid::-webkit-scrollbar { display: none; }
  .services > *, .staff-grid > *, .review-grid > * { flex: 0 0 80%; scroll-snap-align: center; }
  .service p { min-height: 0; font-size: 14px; }
  .service h3 { font-size: 19px; }
  .service-bottom { font-size: 12.5px; }

  /* Modulo: una colonna, i menu non si tagliano più. */
  .form-grid { grid-template-columns: 1fr !important; }
  .form-grid > * { grid-column: 1 / -1 !important; }

  /* Tabelle prezzi e piccoli testi un filo più leggibili. */
  .price-panel table { font-size: 12.5px; }
  .promise-strip { font-size: 12px; }
  .mini-points { font-size: 13px; }

  footer a, footer button { display: inline-block; padding: 6px 0; }

  /* Barra contatti fissa in basso. */
  .m1-bar { position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 6px; padding: 6px; background: #fff9f1f2; border: 1px solid #dce2d9; border-radius: 16px; box-shadow: 0 16px 34px -14px #233e3366; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transform: translateY(calc(100% + 20px)); opacity: 0; transition: transform .4s cubic-bezier(.2,.7,.2,1), opacity .3s; }
  .m1-bar[data-show="true"] { transform: none; opacity: 1; }
  .m1-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; border-radius: 11px; color: #233e33; font: 700 14px/1 'DM Sans', sans-serif; border: 1px solid #dce2d9; background: #fff; }
  .m1-bar a.m1-bar__main { background: #315c4b; color: #fff; border-color: #315c4b; }
  .m1-bar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .m1-has-bar footer { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .m1-bar { transition: none; } }
