:root{
  --bg:#f6f8f8;
  --panel:#ffffff;
  --panel2:#fbfcfc;
  --text:#0a1018;
  --muted:#526070;
  --hair:rgba(10,16,24,.10);
  --hair2:rgba(10,16,24,.14);

  --brand:#0f6b5c;
  --brand2:#0b584c;
  --brandSoft:rgba(15,107,92,.12);

  --shadow: 0 18px 48px rgba(10,16,24,.12);
  --shadow2: 0 12px 28px rgba(10,16,24,.10);

  --r: 22px;
  --r2: 28px;

  --max: 1160px;
}

*{box-sizing:border-box}
html,body{height:100%}
html, body { overflow-x:hidden; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background: radial-gradient(circle at 20% 0%, rgba(15,107,92,.08), transparent 42%), var(--bg);
}

a{color:inherit;text-decoration:none}
img, video{max-width:100%;height:auto;display:block}
strong{font-weight:800}
*{ -webkit-tap-highlight-color: transparent; }

/* iOS: evita zoom su input */
input, textarea, select, button { font-size: 16px; }

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 20px;
}

.section{padding:56px 0}
@media (max-width: 768px){
  .section{padding:44px 0}
}

.kicker{
  letter-spacing:.22em;
  text-transform:uppercase;
  font-size:12px;
  color:rgba(10,16,24,.55);
  margin-bottom:10px;
}

/* progress top */
.progress{
  position:fixed;
  top:0;left:0;
  height:3px;
  width:0%;
  background:linear-gradient(90deg,var(--brand), rgba(15,107,92,.25));
  z-index:99999;
}

/* =========================
   NAVBAR (sticky always visible)
   ========================= */
.nav{
  position:sticky;
  top:0;
  z-index:9999;
  background:rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom:1px solid var(--hair);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  height:72px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 0;
}

.brand-badge{
  width:36px;height:36px;border-radius:12px;
  background: radial-gradient(circle at 30% 30%, rgba(15,107,92,.25), rgba(15,107,92,.08));
  border:1px solid var(--hair);
  display:grid;place-items:center;
  overflow:hidden;
  flex:0 0 36px;
}
.brand-badge img{width:26px;height:26px;object-fit:contain}

.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
  min-width:0;
}
.brand-text strong{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand-text span{font-size:12px;color:rgba(10,16,24,.55);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.nav-links{
  display:flex;
  gap:18px;
  align-items:center;
}

.nav-links a{
  font-size:13.5px;
  color:rgba(10,16,24,.72);
  padding:10px 10px;
  border-radius:999px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-links a:hover{
  background:rgba(15,107,92,.08);
  color:rgba(10,16,24,.9);
  transform:translateY(-1px);
}
.nav-links a.active{
  background:rgba(15,107,92,.12);
  color:rgba(10,16,24,.92);
}

.nav-cta{
  display:flex;
  gap:10px;
  align-items:center;
}

/* burger mobile */
.burger{
  width:44px;height:44px;border-radius:14px;
  border:1px solid var(--hair);
  background:rgba(255,255,255,.82);
  display:none;
  position:relative;
}
.burger span, .burger span:before, .burger span:after{
  content:"";
  position:absolute;left:12px;right:12px;height:2px;background:rgba(10,16,24,.82);
  border-radius:2px;
}
.burger span{top:21px}
.burger span:before{top:-7px}
.burger span:after{top:7px}

@media(max-width:980px){
  .nav-links{display:none}
  .nav-cta{display:none}
  .burger{display:inline-block}
}

/* =========================
   Icon button (Login gestionale) — UNICA DEFINITIVA
   ========================= */
.icon-btn{
  width:42px;height:42px;
  border-radius:999px;
  border:1px solid var(--hair);
  background:rgba(255,255,255,.9);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 18px rgba(10,16,24,.06);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.icon-btn svg{width:18px;height:18px;stroke:rgba(10,16,24,.78)}
.icon-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 32px rgba(10,16,24,.12);
  border-color:rgba(15,107,92,.25);
  background:#fff;
}
.icon-btn:hover svg{stroke:rgba(15,107,92,.95)}
.icon-btn:focus-visible{
  outline:none;
  box-shadow: 0 0 0 4px rgba(15,107,92,.16), 0 16px 32px rgba(10,16,24,.12);
}

/* =========================
   BUTTONS (hover fix definitivo)
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid var(--hair);
  background:rgba(255,255,255,.92);
  color:rgba(10,16,24,.88);
  font-weight:800;
  font-size:13.5px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  box-shadow: 0 8px 18px rgba(10,16,24,.06);
  white-space: nowrap;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(10,16,24,.12);
  background:#fff;
  color:rgba(10,16,24,.92);
}
.btn:focus-visible{
  outline:none;
  box-shadow: 0 0 0 4px rgba(15,107,92,.16), 0 16px 32px rgba(10,16,24,.10);
}

.btn-accent{
  background:linear-gradient(180deg, rgba(15,107,92,1), rgba(11,88,76,1));
  border-color:rgba(15,107,92,.35);
  color:#fff;
  box-shadow: 0 18px 34px rgba(15,107,92,.22);
}
.btn-accent:hover,
.btn-accent:focus-visible{
  background:linear-gradient(180deg, rgba(12,92,79,1), rgba(8,72,62,1));
  color:#fff;
  border-color:rgba(15,107,92,.45);
  box-shadow: 0 24px 42px rgba(15,107,92,.28);
}

/* =========================
   REVEAL
   ========================= */
.reveal{opacity:0; transform: translateY(12px); transition: opacity .7s ease, transform .7s ease}
.reveal.on{opacity:1; transform: translateY(0)}

/* =========================
   HERO (con video iOS safe)
   ========================= */
.hero-img{
  position:relative;
  overflow:hidden;
  border-radius:var(--r2);
  border:1px solid var(--hair);
  box-shadow:var(--shadow);
  background:#fff;
}
.hero-img .bg{
  position:absolute; inset:0;
  transform:scale(1.04);
  background:center/cover no-repeat;
}

/* overlay */
.hero-img .veil{
  position:absolute; inset:0;
  background:radial-gradient(circle at 20% 20%, rgba(255,255,255,.92), rgba(255,255,255,.72) 45%, rgba(255,255,255,.96));
}

/* video: non rompe se non presente */
.hero-img .hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1.02);
  filter:saturate(1.03) contrast(1.02);
}

/* iOS: evita glitch video (riduce jank) */
@supports (-webkit-touch-callout: none){
  .hero-img .hero-video{transform: scale(1.01);}
}

.hero-img .inner{
  position:relative;
  padding:36px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:start;
}

.hero-img h1{
  margin:0 0 10px;
  font-size:clamp(32px,4.6vw,60px);
  letter-spacing:-1px;
}
.hero-img p{margin:0;color:var(--muted);line-height:1.7;max-width:66ch}

@media(max-width:980px){
  .hero-img .inner{grid-template-columns:1fr; padding:22px;}
  .hero-img h1{font-size:clamp(30px,8vw,46px)}
  .hero-img p{font-size:16px}
}

.box{
  border-radius:22px;
  border:1px solid var(--hair2);
  background:rgba(255,255,255,.88);
  box-shadow:var(--shadow2);
  padding:16px;
}

.pills{display:flex;flex-wrap:wrap;gap:8px}
.pill{
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--hair);
  background:rgba(255,255,255,.86);
  color:rgba(10,16,24,.75);
}

/* =========================
   SECTION TITLES / QUOTE
   ========================= */
.section-title{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:14px}
.section-title h2{margin:0;font-size:22px;letter-spacing:-.2px}
.hint{color:rgba(10,16,24,.52);font-size:13px;line-height:1.5}
@media(max-width:768px){
  .section-title{flex-direction:column;align-items:flex-start}
}

.quote{
  border-radius:var(--r2);
  border:1px solid var(--hair);
  background:rgba(255,255,255,.88);
  box-shadow:var(--shadow2);
  padding:22px 24px;
}
.quote p{margin:0;font-size:20px;line-height:1.6;color:rgba(10,16,24,.88)}
@media(max-width:768px){
  .quote p{font-size:18px}
}

/* =========================
   GRIDS (uniche)
   ========================= */
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}

@media(max-width:980px){
  .grid-4{grid-template-columns:1fr 1fr}
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
}

/* =========================
   CARDS
   ========================= */
.card{
  position:relative;
  border-radius:var(--r);
  border:1px solid var(--hair);
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow2);
  overflow:hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(10,16,24,.14);
  border-color: rgba(15,107,92,.25);
}
.card .img{height:190px; background:#eef2f2}
.card img{width:100%;height:100%;object-fit:cover}
.card .b{padding:16px}
.card h3{margin:0 0 8px;font-size:16px}
.card p{margin:0;color:var(--muted);line-height:1.65;font-size:13.8px}
.card ul{margin:10px 0 0;padding-left:18px;color:#2a3442;font-size:13.6px;line-height:1.6}

@media(max-width:768px){
  .card .img{height:170px}
  .card .b{padding:14px}
}

/* =========================
   METRICS
   ========================= */
.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.metric{
  border-radius:var(--r);
  border:1px solid var(--hair);
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow2);
  padding:16px;
}
.metric .num{font-size:34px;letter-spacing:-1px;font-weight:900;color:rgba(10,16,24,.92)}
.metric .label{margin:6px 0 6px;font-weight:800}
.metric .note{margin:0;color:rgba(10,16,24,.58);font-size:13px;line-height:1.55}

@media(max-width:980px){
  .metrics{grid-template-columns:1fr 1fr}
}
@media(max-width:520px){
  .metrics{grid-template-columns:1fr}
}

/* =========================
   BAND CTA
   ========================= */
.band{
  border-radius:var(--r2);
  border:1px solid var(--hair);
  background:
    radial-gradient(circle at 20% 20%, rgba(15,107,92,.10), transparent 60%),
    rgba(255,255,255,.96);
  box-shadow:var(--shadow);
  padding:22px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}

/* =========================
   GALLERY
   ========================= */
.gallery{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:12px;
}
.g{
  border-radius:18px;
  border:1px solid var(--hair);
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow2);
  overflow:hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.g:hover{transform:translateY(-3px);box-shadow:0 20px 40px rgba(10,16,24,.14)}
.g img{width:100%;height:100%;object-fit:cover}
.g.span-6{grid-column:span 6}
.g.span-4{grid-column:span 4}
.g.span-3{grid-column:span 3}
.g .cap{padding:12px 12px 14px}
.g .cap strong{display:block;margin-bottom:4px}
.g .cap span{font-size:13px;color:rgba(10,16,24,.62);line-height:1.5}
@media(max-width:980px){
  .g.span-6,.g.span-4,.g.span-3{grid-column:span 12}
}

/* =========================
   MOBILE MENU (drawer)
   usa: .mobile.is-open
   ========================= */
.mobile{position:fixed; inset:0; display:none; z-index:99999}
.mobile.is-open{display:block}
.mobile-backdrop{
  position:absolute; inset:0;
  background:rgba(10,16,24,.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.mobile-panel{
  position:absolute; right:10px; top:10px; left:10px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.94);
  box-shadow:var(--shadow);
  padding:14px;
}
.mobile-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-bottom:10px;
  border-bottom:1px solid var(--hair);
  margin-bottom:10px;
}
.mobile-close{
  width:44px;height:44px;border-radius:14px;
  border:1px solid var(--hair);
  background:#fff;
}
.mobile-links{display:grid;gap:8px;padding:6px 0 10px}
.mobile-links a{
  padding:12px 12px;border-radius:14px;
  border:1px solid var(--hair);
  background:rgba(255,255,255,.92);
  font-weight:900;
  color:rgba(10,16,24,.82);
}
.mobile-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media(max-width:520px){
  .mobile-actions{grid-template-columns:1fr}
}

/* =========================
   COOKIE BANNER
   ========================= */
.cookie{
  position:fixed;
  left:16px; right:16px; bottom:16px;
  z-index:999999;
  display:none;
}
.cookie.show{display:block}
.cookie .panel{
  max-width:980px;
  margin:0 auto;
  border-radius:22px;
  border:1px solid var(--hair);
  background:rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:var(--shadow);
  padding:16px;
}
.cookie .row{
  display:flex;
  gap:14px;
  align-items:flex-start;
  justify-content:space-between;
}
.cookie p{margin:0;color:rgba(10,16,24,.72);line-height:1.55;font-size:13.4px;max-width:72ch}
.cookie .actions{display:flex;gap:10px;flex-wrap:wrap}
.cookie .mini{font-size:12.5px;color:rgba(10,16,24,.58);margin-top:6px}
.cookie .mini a{color:rgba(10,16,24,.72);text-decoration:underline}
@media(max-width:768px){
  .cookie .row{flex-direction:column}
  .cookie .actions{width:100%}
  .cookie .actions .btn{width:100%}
}

/* =========================
   FOOTER PRO
   ========================= */
.sa-footer-pro{
  position:relative;
  margin-top:40px;
  background:
    radial-gradient(900px 420px at 12% 8%, rgba(15,107,92,.12), transparent 60%),
    radial-gradient(700px 320px at 86% 18%, rgba(15,107,92,.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.98));
  border-top:1px solid var(--hair);
}
.sa-footer-top{
  padding:34px 0 22px;
  display:grid;
  grid-template-columns: 1.2fr .9fr;
  gap:22px;
  align-items:start;
}
.sa-footer-brand{
  display:flex;
  gap:16px;
  padding:18px;
  border-radius: var(--r2);
  border:1px solid var(--hair);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow2);
}
.sa-footer-logo{
  width:62px;height:62px;flex:0 0 62px;
  border-radius:18px;
  display:grid;place-items:center;
  background: radial-gradient(90% 90% at 30% 20%, rgba(15,107,92,.18), transparent 55%), #fff;
  border:1px solid rgba(15,107,92,.18);
  box-shadow: 0 10px 30px rgba(16,24,40,.10);
}
.sa-footer-logo img{width:46px;height:46px;object-fit:contain}
.sa-footer-name{font-weight:950;font-size:18px;line-height:1.2}
.sa-footer-sub{margin-top:2px;color:var(--muted);font-weight:800;font-size:13px}
.sa-footer-chips{margin-top:10px;display:flex;gap:8px;flex-wrap:wrap}
.sa-chip{
  font-size:12px;font-weight:900;
  padding:7px 10px;border-radius:999px;
  border:1px solid rgba(15,107,92,.18);
  background: rgba(15,107,92,.07);
  color: rgba(10,16,24,.78);
}
.sa-footer-note{margin:10px 0 0;color:var(--muted);line-height:1.65;font-size:13.5px}
.sa-footer-cta{margin-top:12px;display:flex;gap:10px;flex-wrap:wrap}
.sa-footer-cols{display:grid;grid-template-columns: repeat(3, 1fr);gap:16px}
.sa-footer-col{
  padding:16px;border-radius: var(--r2);
  border:1px solid var(--hair);
  background: rgba(255,255,255,.80);
}
.sa-footer-title{
  font-weight:950;font-size:13px;letter-spacing:.5px;text-transform:uppercase;
  color: rgba(10,16,24,.78);
  margin-bottom:10px;
}
.sa-footer-list{
  list-style:none;padding:0;margin:0;
  display:grid;gap:10px;
  color: rgba(10,16,24,.72);
  font-size: 13.5px;
  line-height:1.45;
}
.sa-footer-list a{color: rgba(10,16,24,.78);font-weight:900}
.sa-footer-list a:hover{color: var(--brand);text-decoration:underline;text-underline-offset:3px}

.sa-footer-bottom{
  padding:14px 0 18px;
  border-top:1px solid var(--hair);
  display:flex;justify-content:space-between;align-items:center;
  gap:12px;color: rgba(10,16,24,.65);
  font-size: 12.8px;
}
.sa-footer-bottom-right{display:flex;align-items:center;gap:10px;font-weight:900}
.sa-dot{
  width:8px;height:8px;border-radius:999px;
  background: rgba(15,107,92,.55);
  box-shadow: 0 0 0 6px rgba(15,107,92,.12);
}
@media (max-width: 980px){
  .sa-footer-top{grid-template-columns:1fr}
  .sa-footer-cols{grid-template-columns:1fr; gap:12px}
}
@media (max-width: 520px){
  .sa-footer-brand{flex-direction:column; align-items:flex-start}
  .sa-footer-cta .btn{width:100%}
  .sa-footer-bottom{flex-direction:column; align-items:flex-start}
}

/* =========================
   CONTATTI layout base
   ========================= */
.contact-wrap{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media(max-width:980px){
  .contact-wrap{grid-template-columns:1fr}
  .map{height:320px}
}

/* FIX Chrome: conformità scroll glitch */
body.page-conformita{
  scroll-snap-type: none !important;
}
body.page-conformita .snap,
body.page-conformita .snap-container,
body.page-conformita main{
  scroll-snap-type: none !important;
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
}
body.page-conformita .nav{
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(255,255,255,.92) !important;
}

/* =========================
   FIX CONTATTI (mobile) — box “Contatti diretti”
   ========================= */
.page-contatti .hero-img .inner{ align-items: stretch; }
.page-contatti .hero-img .box{ width:100%; min-width:0; }
@media (max-width: 980px){
  .page-contatti .hero-img .inner{ grid-template-columns:1fr !important; }
  .page-contatti .hero-img .box{
    margin-left:0 !important;
    margin-right:0 !important;
    justify-self:stretch !important;
  }
}
@media (max-width: 520px){
  .page-contatti .hero-img .inner{ padding:22px !important; }
  .page-contatti .hero-img .box{ padding:14px !important; }
}

/* =========================
   LAVORA CON NOI / FORMS (premium)
   ========================= */
.sa-form .form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}
.sa-form .field{min-width:0}
.sa-form .field-full{grid-column: 1 / -1}

.sa-form label{
  display:block;
  font-weight:900;
  font-size:12.5px;
  color:rgba(10,16,24,.78);
  margin:0 0 6px;
  letter-spacing:.02em;
}

.sa-form input[type="text"],
.sa-form input[type="email"],
.sa-form input[type="tel"],
.sa-form select,
.sa-form textarea{
  width:100%;
  border-radius: 14px;
  border:1px solid var(--hair);
  background: rgba(255,255,255,.95);
  padding: 12px 12px;
  box-shadow: 0 10px 22px rgba(10,16,24,.06);
  outline:none;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
  color: rgba(10,16,24,.90);
}
.sa-form textarea{resize:vertical; min-height: 120px}

.sa-form input:focus,
.sa-form select:focus,
.sa-form textarea:focus{
  border-color: rgba(15,107,92,.35);
  box-shadow: 0 0 0 4px rgba(15,107,92,.14), 0 16px 34px rgba(10,16,24,.10);
}

.file{
  border-radius: 18px;
  border:1px dashed rgba(15,107,92,.28);
  background: radial-gradient(circle at 20% 20%, rgba(15,107,92,.10), transparent 55%), rgba(255,255,255,.92);
  padding: 14px;
}
.file input[type="file"]{
  width:100%;
  border-radius: 14px;
  border:1px solid var(--hair);
  background:#fff;
  padding: 10px;
}
.file-hint{
  margin-top:8px;
  font-size:12.6px;
  color: rgba(10,16,24,.62);
}

.check{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:12px;
  border-radius: 14px;
  border:1px solid var(--hair);
  background: rgba(255,255,255,.92);
}
.check input{margin-top:2px}
.check span{color:rgba(10,16,24,.72);font-size:13.5px;line-height:1.5}
.check a{text-decoration:underline; text-underline-offset:3px}

.mini-card{
  border-radius: 18px;
  border:1px solid var(--hair);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
  padding: 14px;
}
.mini-card strong{display:block;margin-bottom:6px}
.mini-card span{display:block;color:var(--muted);line-height:1.6;font-size:13.4px}

@media (max-width: 980px){
  .sa-form .form-grid{grid-template-columns: 1fr}
}

/* =========================================================
   HOME WOW: logo-strip + steps + case + shine (UNICA)
   ========================================================= */
.logo-strip{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.logo-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--hair);
  background:rgba(255,255,255,.92);
  color:rgba(10,16,24,.72);
  font-weight:900;
  font-size:12.8px;
  box-shadow:0 10px 24px rgba(10,16,24,.06);
}
.logo-pill .dot{
  width:10px;height:10px;border-radius:999px;
  background:rgba(15,107,92,.55);
  box-shadow:0 0 0 6px rgba(15,107,92,.12);
}

/* Steps */
.steps{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
}
.step{
  position:relative;
  border-radius:var(--r);
  border:1px solid var(--hair);
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow2);
  padding:16px;
  overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.step:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 46px rgba(10,16,24,.14);
  border-color:rgba(15,107,92,.25);
}
.step .n{
  width:34px;height:34px;border-radius:12px;
  display:grid;place-items:center;
  font-weight:950;
  color:#fff;
  background:linear-gradient(180deg, rgba(15,107,92,1), rgba(11,88,76,1));
  box-shadow:0 16px 34px rgba(15,107,92,.22);
  margin-bottom:10px;
}
.step h3{margin:0 0 8px;font-size:15px}
.step p{margin:0;color:var(--muted);line-height:1.65;font-size:13.6px}

/* Case */
.case-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.case{
  position:relative;
  border-radius:var(--r);
  border:1px solid var(--hair);
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow2);
  overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.case:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 46px rgba(10,16,24,.14);
  border-color:rgba(15,107,92,.25);
}
.case .top{
  padding:16px;
  border-bottom:1px solid var(--hair);
  background:radial-gradient(circle at 20% 0%, rgba(15,107,92,.08), transparent 55%), rgba(255,255,255,.96);
}
.case .k{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:rgba(10,16,24,.55);font-weight:900}
.case h3{margin:8px 0 0;font-size:16px}
.case .b{padding:16px}
.case .b p{margin:0;color:var(--muted);line-height:1.65;font-size:13.8px}
.case .b ul{margin:10px 0 0;padding-left:18px;color:#2a3442;font-size:13.6px;line-height:1.6}

/* Shine effect */
.card::after, .step::after, .case::after{
  content:"";
  position:absolute;
  inset:-40%;
  background:linear-gradient(120deg, transparent 40%, rgba(255,255,255,.38) 50%, transparent 60%);
  transform:translateX(-60%) rotate(8deg);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease, transform .55s ease;
}
.card:hover::after, .step:hover::after, .case:hover::after{
  opacity:.9;
  transform:translateX(45%) rotate(8deg);
}

@media(max-width:980px){
  .steps{grid-template-columns:1fr 1fr}
  .case-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .steps{grid-template-columns:1fr}
}

/* =========================
   FLOATING CTA (solo mobile)
   ========================= */
.floating-cta{
  position:fixed;
  left:16px;
  bottom:18px;
  z-index:99998;
  display:none;
}
@media (max-width: 768px){
  .floating-cta{display:block;}
  .floating-cta .btn{box-shadow:0 22px 46px rgba(10,16,24,.18);}
}

/* =========================
   WHATSAPP (UNICA DEFINITIVA)
   - “tre quarti destra” (più interna)
   - tooltip SOLO hover desktop
   ========================= */
.wa-fab{
  position:fixed;
  bottom:18px;
  right:calc(18px + 6vw); /* 3/4 destra */
  z-index:99999;
  width:56px;height:56px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg, #16a34a, #0f7a34);
  box-shadow:0 24px 50px rgba(16,24,40,.25);
  border:1px solid rgba(255,255,255,.22);
  transform: translateZ(0);
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.wa-fab:hover{
  transform:translateY(-2px);
  box-shadow:0 30px 60px rgba(16,24,40,.30);
  filter:saturate(1.05);
}
.wa-fab svg{width:26px;height:26px;fill:#fff}

/* tooltip: solo desktop hover */
.wa-fab .tip{
  position:absolute;
  right:66px;
  bottom:10px;
  background:rgba(255,255,255,.92);
  border:1px solid var(--hair);
  box-shadow:var(--shadow2);
  color:rgba(10,16,24,.82);
  font-weight:900;
  font-size:12.5px;
  padding:9px 12px;
  border-radius:999px;
  white-space:nowrap;
  opacity:0;
  transform:translateX(6px);
  transition:opacity .2s ease, transform .2s ease;
  pointer-events:none;
}
@media (hover:hover){
  .wa-fab:hover .tip{opacity:1; transform:translateX(0)}
}
@media(max-width:768px){
  .wa-fab{right:18px;}
  .wa-fab .tip{display:none;}
}
@media(max-width:520px){
  .wa-fab{right:14px;bottom:14px}
}