/* ============================================================
   BookingCare Partner — foglio di stile unico del portale (_site)
   1) Pagine: <body class="pg-{nome}">, ogni sezione è limitata a body.pg-{nome}
      (le pagine hanno token :root e componenti con lo stesso nome ma valori diversi).
      Le regole sono quelle dei <style> inline delle pagine statiche originali
      (public_html/_test/*.html), nello stesso ordine: :root e body → body.pg-{nome},
      html → html:has(> body.pg-{nome}), * → body.pg-{nome} e i suoi discendenti.
   2) Comune a tutte le pagine: selettore lingua (modules/_site/menu_lingue.php, footer.php).
   3) Form HubSpot della home (campi generati da HubSpot, classi hs-*).
   4) Comune a tutte le pagine: pop-up "nuovo nome" alla prima visita (modules/_site/popup_nuovo_nome.php).
   ============================================================ */

#hs-banner-parent {
  --hs-banner-inset: auto 0 32px 0!important;
}

/* ════════════ 1) PAGINA: HOME (body.pg-home, ex _test/index.html) ════════════ */
/* ── TOKENS ──────────────────────────────────────────────────────────────── */
body.pg-home {
  /* Palette allineata a bookingcare.alpinformatica.com */
  --teal:        #00A8A4;  /* brand (colore del logo) */
  --teal-dark:   #00807D;  /* hover CTA */
  --teal-bright: #5AD1CC;  /* accento su fondo scuro */
  --teal-light:  #E1F5F4;
  --teal-xlight: #F0F9F8;
  --navy:        #0B2F33;  /* teal-deep: superfici scure */
  --dark:        #1E1410;  /* warm-dark: testo */
  --honey:       #F5A623;
  --honey-soft:  #FEF3DC;
  --red:         #C0392B;
  --green:       #1A7A4A;
  --white:       #FFFFFF;
  --gray-50:     #F8F4EE;  /* cream */
  --gray-100:    #EDE8DF;
  --gray-200:    #DDD8D2;
  --gray-400:    #9A9A9A;
  --gray-600:    #444444;
  --gray-800:    #071F22;
  --font:        'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.04);
  --shadow-md:   0 4px 24px rgba(0,0,0,.10);
  --shadow-teal: 0 8px 32px rgba(0,168,164,.20);
}

/* ── RESET ───────────────────────────────────────────────────────────────── */
body.pg-home, body.pg-home *, body.pg-home::before, body.pg-home *::before, body.pg-home::after, body.pg-home *::after { box-sizing: border-box; margin: 0; padding: 0; }
html:has(> body.pg-home) { scroll-behavior: smooth; font-size: 16px; }
body.pg-home { font-family: var(--font); background: var(--white); color: var(--dark); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.pg-home img { max-width: 100%; height: auto; display: block; }
body.pg-home a { color: var(--teal); text-decoration: none; }
body.pg-home a:hover { text-decoration: underline; }

/* ── TOPBAR ──────────────────────────────────────────────────────────────── */
body.pg-home .topbar {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1px;
}
body.pg-home .topbar strong { color: var(--teal); font-weight: 700; }
body.pg-home .topbar a { color: var(--teal-bright); font-weight: 600; }

/* ── NAVBAR ──────────────────────────────────────────────────────────────── */
body.pg-home .navbar {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 48px;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
body.pg-home .nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
body.pg-home .nav-logo img { height: 44px; width: auto; display: block; }
body.pg-home .nav-logo-sub  { font-size: 10px; font-weight: 700; color: var(--teal-bright); letter-spacing: .6px; text-transform: uppercase; border: 1px solid rgba(90,209,204,.4); border-radius: 20px; padding: 3px 9px; }
body.pg-home .nav-links { display: flex; align-items: center; gap: 32px; }
body.pg-home .nav-links a { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.75); transition: color .15s; }
body.pg-home .nav-links a:hover { color: #fff; text-decoration: none; }
body.pg-home .nav-links a.active { color: var(--teal-bright); }
body.pg-home .nav-actions { display: flex; align-items: center; gap: 12px; }
body.pg-home .nav-login { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.75); }
body.pg-home .nav-login:hover { color: #fff; text-decoration: none; }
body.pg-home .nav-cta {
  background: var(--teal); color: white;
  border-radius: 9px; padding: 10px 22px;
  font-size: 14px; font-weight: 700;
  transition: background .15s, transform .1s, box-shadow .15s;
  box-shadow: var(--shadow-teal);
}
body.pg-home .nav-cta:hover { background: var(--teal-dark); text-decoration: none; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,168,164,.30); }

/* hamburger */
body.pg-home .nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
body.pg-home .nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all .25s; }

/* mobile menu */
body.pg-home .nav-mobile {
  display: none; position: fixed; inset: 0; z-index: 400;
  background: var(--navy); flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
}
body.pg-home .nav-mobile.open { display: flex; }
body.pg-home .nav-mobile a { color: rgba(255,255,255,.85); font-size: 20px; font-weight: 700; }
body.pg-home .nav-mobile a:hover { color: white; text-decoration: none; }
body.pg-home .nm-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: white; font-size: 28px; cursor: pointer; line-height: 1; }
body.pg-home .nm-cta { background: var(--teal); color: white !important; padding: 14px 32px; border-radius: 10px; font-weight: 800; margin-top: 12px; }

/* ── HERO ────────────────────────────────────────────────────────────────── */
body.pg-home .hero {
  padding: 80px 48px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
body.pg-home .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-light); border: 1px solid rgba(0,168,164,.3);
  color: var(--teal-dark); border-radius: 20px;
  padding: 6px 14px; font-size: 11px; font-weight: 800;
  letter-spacing: .8px; text-transform: uppercase; margin-bottom: 20px;
}
body.pg-home .hero-badge::before { content: "●"; font-size: 7px; }
body.pg-home .hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900; line-height: 1.15;
  color: var(--dark); margin-bottom: 20px;
  letter-spacing: -.5px;
}
body.pg-home .hero h1 span { color: var(--teal); }
body.pg-home .hero-sub {
  font-size: 17px; color: var(--gray-600);
  line-height: 1.7; margin-bottom: 32px;
  max-width: 480px;
}
body.pg-home .hero-sub strong { color: var(--dark); font-weight: 700; }
body.pg-home .hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
body.pg-home .btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: white;
  padding: 15px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 800;
  box-shadow: var(--shadow-teal);
  transition: background .15s, transform .1s, box-shadow .15s;
}
body.pg-home .btn-primary:hover { background: var(--teal-dark); text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,168,164,.30); }
body.pg-home .btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--dark); font-size: 14px; font-weight: 700;
  padding: 14px 20px; border-radius: 10px;
  border: 1.5px solid var(--gray-200);
  transition: border-color .15s, background .15s;
}
body.pg-home .btn-secondary:hover { border-color: var(--teal); background: var(--teal-xlight); text-decoration: none; }
body.pg-home .hero-note { font-size: 12px; color: var(--gray-400); margin-top: 14px; }
body.pg-home .hero-note strong { color: var(--green); }

/* hero visual */
body.pg-home .hero-visual { position: relative; }
body.pg-home .hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
body.pg-home .hero-card-head {
  background: var(--navy);
  padding: 20px 24px;
  display: flex; align-items: center; gap: 12px;
}
body.pg-home .hero-card-head .dot { width: 10px; height: 10px; border-radius: 50%; }
body.pg-home .hero-card-head .dot.r { background: #FF5F57; }
body.pg-home .hero-card-head .dot.y { background: #FFBD2E; }
body.pg-home .hero-card-head .dot.g { background: #28C840; }
body.pg-home .hero-card-body { padding: 24px; }
body.pg-home .scenario-label {
  font-size: 10px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; color: var(--gray-400); margin-bottom: 14px;
}
body.pg-home .scenario-before, body.pg-home .scenario-after { border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
body.pg-home .scenario-before { background: #FBEDEB; border: 1.5px solid rgba(192,57,43,.15); }
body.pg-home .scenario-after  { background: var(--teal-light); border: 1.5px solid rgba(0,168,164,.25); }
body.pg-home .scenario-title { font-size: 12px; font-weight: 800; margin-bottom: 8px; }
body.pg-home .scenario-before .scenario-title { color: var(--red); }
body.pg-home .scenario-after  .scenario-title { color: var(--teal-dark); }
body.pg-home .scenario-item { font-size: 13px; color: var(--dark); line-height: 1.6; display: flex; gap: 8px; align-items: flex-start; }
body.pg-home .scenario-item + .scenario-item { margin-top: 6px; }
body.pg-home .scenario-item .icon { flex-shrink: 0; margin-top: 1px; }
body.pg-home .hero-badge-float {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--honey); color: var(--dark);
  border-radius: 12px; padding: 12px 16px;
  font-size: 12px; font-weight: 800;
  box-shadow: 0 8px 24px rgba(245,166,35,.30);
  white-space: nowrap;
}

/* ── TRUST BAR ───────────────────────────────────────────────────────────── */
body.pg-home .trust-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 48px;
}
body.pg-home .trust-bar-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
body.pg-home .trust-item { display: flex; align-items: center; gap: 10px; }
body.pg-home .trust-icon { font-size: 20px; }
body.pg-home .trust-text h4 { font-size: 14px; font-weight: 800; color: var(--dark); line-height: 1.2; }
body.pg-home .trust-text p { font-size: 11px; color: var(--gray-400); font-weight: 500; }
body.pg-home .trust-sep { width: 1px; height: 32px; background: var(--gray-200); }

/* ── SEZIONI GENERALI ────────────────────────────────────────────────────── */
body.pg-home section { padding: 80px 48px; }
body.pg-home .section-inner { max-width: 1100px; margin: 0 auto; }
body.pg-home .section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-light); color: var(--teal-dark);
  border: 1px solid rgba(0,168,164,.25);
  border-radius: 20px; padding: 5px 14px;
  font-size: 11px; font-weight: 800; letter-spacing: .7px;
  text-transform: uppercase; margin-bottom: 14px;
}
body.pg-home .section-title { font-size: clamp(24px, 3vw, 36px); font-weight: 900; color: var(--dark); line-height: 1.2; margin-bottom: 14px; }
body.pg-home .section-title span { color: var(--teal); }
body.pg-home .section-sub { font-size: 16px; color: var(--gray-600); max-width: 560px; line-height: 1.7; }
body.pg-home .section-header { margin-bottom: 48px; }
body.pg-home .section-header.centered { text-align: center; }
body.pg-home .section-header.centered .section-sub { margin: 0 auto; }

/* ── IL PROBLEMA ─────────────────────────────────────────────────────────── */
body.pg-home .problema-section { background: var(--gray-50); }
body.pg-home .problema-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
body.pg-home .problema-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
body.pg-home .problema-card.bad  { border-color: rgba(192,57,43,.2); }
body.pg-home .problema-card.good { border-color: rgba(0,168,164,.3); }
body.pg-home .pc-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .8px;
  text-transform: uppercase; border-radius: 6px;
  padding: 4px 10px; margin-bottom: 16px;
}
body.pg-home .pc-label.bad  { background: #FBEDEB; color: var(--red); }
body.pg-home .pc-label.good { background: var(--teal-light); color: var(--teal-dark); }
body.pg-home .pc-title { font-size: 17px; font-weight: 800; color: var(--dark); margin-bottom: 18px; line-height: 1.3; }
body.pg-home .pc-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
body.pg-home .pc-icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
body.pg-home .pc-item p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }
body.pg-home .pc-item p strong { color: var(--dark); font-weight: 700; }
body.pg-home .pc-quote {
  background: var(--gray-50); border-radius: 10px;
  padding: 14px 16px; margin-top: 20px;
  font-size: 13px; color: var(--dark); line-height: 1.6;
  font-style: italic; border-left: 3px solid var(--gray-200);
}
body.pg-home .pc-quote.teal { background: var(--teal-xlight); border-left-color: var(--teal); color: var(--navy); }

/* ── LA SOLUZIONE ────────────────────────────────────────────────────────── */
body.pg-home .soluzione-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
body.pg-home .sol-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
body.pg-home .sol-card:hover { border-color: var(--teal); box-shadow: 0 8px 32px rgba(0,168,164,.12); transform: translateY(-3px); }
body.pg-home .sol-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--teal-light); display: flex;
  align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
body.pg-home .sol-card h3 { font-size: 16px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
body.pg-home .sol-card p  { font-size: 14px; color: var(--gray-600); line-height: 1.65; }
body.pg-home .sol-card p strong { color: var(--dark); }

/* ── COME FUNZIONA ───────────────────────────────────────────────────────── */
body.pg-home .funziona-section { background: var(--navy); }
body.pg-home .funziona-section .section-badge { background: rgba(0,168,164,.15); border-color: rgba(0,168,164,.3); color:var(--teal-bright); }
body.pg-home .funziona-section .section-title { color: white; }
body.pg-home .funziona-section .section-sub    { color: rgba(255,255,255,.65); }
body.pg-home .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
body.pg-home .steps-grid::before {
  content: ""; position: absolute;
  top: 36px; left: calc(33.33% + 24px); right: calc(33.33% + 24px);
  height: 2px; background: rgba(0,168,164,.4);
  display: none;
}
body.pg-home .step-card { padding: 32px; position: relative; }
body.pg-home .step-card + .step-card::before {
  content: "→";
  position: absolute; left: -12px; top: 30px;
  color: rgba(0,168,164,.5); font-size: 22px; font-weight: 300;
}
body.pg-home .step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--teal); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; margin-bottom: 20px;
  box-shadow: var(--shadow-teal);
}
body.pg-home .step-card h3 { font-size: 18px; font-weight: 800; color: white; margin-bottom: 12px; }
body.pg-home .step-card p  { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.7; }
body.pg-home .step-card p strong { color: rgba(255,255,255,.9); }
body.pg-home .step-micro-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 13px; font-weight: 700;
  color: var(--teal); cursor: pointer;
}
body.pg-home .step-micro-cta:hover { text-decoration: underline; }
body.pg-home .funziona-cta-row { text-align: center; margin-top: 52px; }
body.pg-home .btn-primary-navy {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: white;
  padding: 16px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 800;
  box-shadow: var(--shadow-teal);
  transition: background .15s, transform .1s;
}
body.pg-home .btn-primary-navy:hover { background: var(--teal-dark); text-decoration: none; transform: translateY(-2px); }

/* ── TESTIMONIANZE ───────────────────────────────────────────────────────── */
body.pg-home .testi-section { background: var(--gray-50); }
body.pg-home .testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
body.pg-home .testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  padding: 28px; box-shadow: var(--shadow-sm);
}
body.pg-home .stars { color: var(--honey); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
body.pg-home .testi-quote { font-size: 15px; color: var(--dark); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
body.pg-home .testi-quote::before { content: "\201C"; color: var(--teal); font-size: 24px; line-height: 0; vertical-align: -6px; }
body.pg-home .testi-quote::after  { content: "\201D"; color: var(--teal); font-size: 24px; line-height: 0; vertical-align: -6px; }
body.pg-home .testi-author { display: flex; align-items: center; gap: 12px; }
body.pg-home .testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal-light); display: flex;
  align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: var(--teal-dark);
  flex-shrink: 0;
}
body.pg-home .testi-name h4 { font-size: 13px; font-weight: 800; color: var(--dark); }
body.pg-home .testi-name p  { font-size: 12px; color: var(--gray-400); }
body.pg-home .testi-result {
  display: inline-flex; align-items: center; gap: 6px;
  background: #E5F3EA; color: var(--green);
  border-radius: 6px; padding: 4px 10px;
  font-size: 11px; font-weight: 800; margin-top: 14px;
}

/* ── PER QUALI STRUTTURE ─────────────────────────────────────────────────── */
body.pg-home .strutture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
body.pg-home .struttura-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  padding: 20px; text-align: center;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
body.pg-home .struttura-card:hover { border-color: var(--teal); box-shadow: 0 4px 20px rgba(0,168,164,.12); transform: translateY(-2px); }
body.pg-home .struttura-icon { font-size: 28px; margin-bottom: 10px; }
body.pg-home .struttura-card h4 { font-size: 13px; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
body.pg-home .struttura-card p  { font-size: 12px; color: var(--gray-400); line-height: 1.5; }

/* ── INTEGRAZIONI ────────────────────────────────────────────────────────── */
body.pg-home .integrazioni-section { background: var(--gray-50); }
body.pg-home .pms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
body.pg-home .pms-logo { display: block; height: 56px; width: 100%; max-width: 200px; object-fit: contain; margin: 4px auto 14px; }
body.pg-home .pms-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  padding: 20px; text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
body.pg-home .pms-card:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
body.pg-home .pms-icon { font-size: 28px; margin-bottom: 8px; }
body.pg-home .pms-card h4 { font-size: 14px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
body.pg-home .pms-card p  { font-size: 12px; color: var(--gray-400); }
body.pg-home .pms-more {
  text-align: center; margin-top: 24px;
  font-size: 14px; color: var(--gray-600);
}
body.pg-home .pms-more a { color: var(--teal); font-weight: 700; }
/* gruppi "Integrazione avanzata" / "Integrazione completa": card centrate, 3 o 4 per riga */
body.pg-home .pms-gruppo {
  text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .7px;
  text-transform: uppercase; color: var(--teal-dark); margin: 0 0 14px;
}
body.pg-home .pms-grid + .pms-gruppo { margin-top: 36px; }
body.pg-home .integrazioni-section .pms-grid { display: flex; flex-wrap: wrap; justify-content: center; }
body.pg-home .integrazioni-section .pms-card { flex: 0 1 calc((100% - 48px) / 4); }
/* gestionale senza logo: iniziali al posto dell'immagine, stesso ingombro di .pms-logo */
body.pg-home .pms-iniziali { display: flex; align-items: center; justify-content: center; }
body.pg-home .pms-iniziali span {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--teal-light); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; letter-spacing: -.5px;
}

/* ── QUANDO L'OSPITE CANCELLA (riusa .problema-grid / .problema-card / .pc-*) ── */
body.pg-home .cancella-section { background: var(--gray-50); }
body.pg-home .pc-label.neutro { background: var(--gray-100); color: var(--dark); }
body.pg-home .cancella-testo { font-size: 14px; color: var(--gray-600); line-height: 1.7; }
body.pg-home .cancella-testo strong { color: var(--dark); font-weight: 700; }
body.pg-home .cancella-fine { margin-top: 14px; font-weight: 700; color: var(--dark); }
body.pg-home .cancella-chiusura {
  max-width: 680px; margin: 40px auto 0; text-align: center;
  font-size: 16px; color: var(--gray-600); line-height: 1.7;
}
body.pg-home .cancella-chiusura strong { color: var(--dark); }
body.pg-home .cancella-cta-row { margin-top: 28px; }

/* ── HERO: frase definitoria + domanda ── */
body.pg-home .hero-sub.hero-def { margin-bottom: 14px; }
body.pg-home .hero-sub.hero-domanda { font-size: 15px; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
body.pg-home .faq-list { max-width: 760px; margin: 0 auto; }
body.pg-home .faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 0;
}
body.pg-home .faq-item:first-child { border-top: 1px solid var(--gray-200); }
body.pg-home .faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 0;
  background: none; border: none; cursor: pointer;
  font-family: var(--font); text-align: left;
}
body.pg-home .faq-q { font-size: 15px; font-weight: 700; color: var(--dark); }
body.pg-home .faq-arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal-light); flex-shrink: 0;
  position: relative;
  font-size: 0; line-height: 0; color: var(--teal);
  transition: transform .25s, background .2s;
}
/* "+" drawn with two bars so it is geometrically centered regardless of font metrics */
body.pg-home .faq-arrow::before,
body.pg-home .faq-arrow::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: currentColor; border-radius: 1px;
  transform: translate(-50%, -50%);
}
body.pg-home .faq-arrow::before { width: 12px; height: 2px; }
body.pg-home .faq-arrow::after { width: 2px; height: 12px; }
body.pg-home .faq-item.open .faq-arrow { transform: rotate(45deg); background: var(--teal); color: white; }
body.pg-home .faq-body { display: none; padding: 0 0 22px; }
body.pg-home .faq-body p { font-size: 14px; color: var(--gray-600); line-height: 1.75; }
body.pg-home .faq-body p strong { color: var(--dark); }
body.pg-home .faq-body a { color: var(--teal); }

/* ── CTA FINALE ──────────────────────────────────────────────────────────── */
body.pg-home .cta-section {
  background: var(--navy);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
body.pg-home .cta-section::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(0,168,164,.12) 0%, transparent 60%);
  pointer-events: none;
}
body.pg-home .cta-section .section-badge { background: rgba(0,168,164,.15); color:var(--teal-bright); border-color: rgba(0,168,164,.3); }
body.pg-home .cta-section h2 { font-size: clamp(26px, 3.5vw, 42px); font-weight: 900; color: white; margin-bottom: 16px; line-height: 1.2; }
body.pg-home .cta-section h2 span { color: var(--teal); }
body.pg-home .cta-section p { font-size: 16px; color: rgba(255,255,255,.65); max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }
body.pg-home .cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
body.pg-home .cta-note { font-size: 13px; color: rgba(255,255,255,.45); }
body.pg-home .cta-note strong { color: rgba(255,255,255,.7); }
body.pg-home .cta-consulenti {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px; color: rgba(255,255,255,.45);
}
body.pg-home .cta-consulenti a { color: var(--teal); font-weight: 700; }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
body.pg-home .footer { background: var(--gray-800); color: rgba(255,255,255,.65); padding: 52px 48px 32px; }
body.pg-home .footer-inner { max-width: 1100px; margin: 0 auto; }
body.pg-home .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 28px; }
body.pg-home .footer-brand .fb-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
body.pg-home .footer-brand .fb-logo img { height: 40px; width: auto; display: block; }
body.pg-home .footer-brand p { font-size: 13px; line-height: 1.7; max-width: 260px; }
body.pg-home .footer-col h5 { font-size: 11px; font-weight: 800; color: white; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 16px; }
body.pg-home .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
body.pg-home .footer-col li a { font-size: 13px; color: rgba(255,255,255,.50); transition: color .15s; }
body.pg-home .footer-col li a:hover { color: white; text-decoration: none; }
body.pg-home .footer-legal {
  font-size: 11px; color: rgba(255,255,255,.30);
  line-height: 1.75; padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  margin-bottom: 20px;
}
body.pg-home .footer-legal strong { color: rgba(255,255,255,.45); }
body.pg-home .footer-legal a { color: rgba(255,255,255,.35); font-weight: 600; }
body.pg-home .footer-legal a:hover { color: rgba(255,255,255,.6); text-decoration: none; }
body.pg-home .footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: rgba(255,255,255,.30); }
body.pg-home .footer-bottom a { color: rgba(255,255,255,.30); }
body.pg-home .footer-bottom a:hover { color: rgba(255,255,255,.6); text-decoration: none; }

/* ── IMAGE PLACEHOLDERS ──────────────────────────────────────────────────── */
body.pg-home .img-ph {
  background: var(--gray-100);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; text-align: center;
  color: var(--gray-400); overflow: hidden;
  position: relative;
}
body.pg-home .img-ph .ph-icon { font-size: 28px; opacity: .5; }
body.pg-home .img-ph .ph-label { font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--gray-400); line-height: 1.4; max-width: 160px; }
body.pg-home .img-ph .ph-file  { font-size: 10px; font-family: monospace; background: var(--gray-200); color: var(--gray-600); padding: 2px 7px; border-radius: 4px; margin-top: 2px; }
body.pg-home .img-ph-hero   { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-lg); }
body.pg-home .img-ph-sq     { width: 100%; aspect-ratio: 1/1; border-radius: var(--radius-lg); }
body.pg-home .img-ph-wide   { width: 100%; aspect-ratio: 3/1; border-radius: var(--radius); }
body.pg-home .img-ph-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
body.pg-home .img-ph-avatar .ph-label { font-size: 8px; max-width: 34px; }
body.pg-home .img-ph-avatar .ph-icon { font-size: 14px; }

/* ── UTILITIES ───────────────────────────────────────────────────────────── */
body.pg-home .highlight-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--honey-soft); color: #92500D;
  border-radius: 6px; padding: 3px 10px;
  font-size: 12px; font-weight: 800;
}

/* ── MOBILE ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  body.pg-home .strutture-grid { grid-template-columns: repeat(4, 1fr); }
  body.pg-home .testi-grid { grid-template-columns: 1fr 1fr; }
  body.pg-home .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  body.pg-home .navbar { padding: 0 20px; }
  body.pg-home .nav-links, body.pg-home .nav-login, body.pg-home .nav-cta { display: none; }
  body.pg-home .nav-toggle { display: flex; }

  body.pg-home .hero { grid-template-columns: 1fr; padding: 48px 20px 40px; gap: 40px; }
  body.pg-home .hero h1 { font-size: 28px; }
  body.pg-home .hero-sub { font-size: 15px; }
  body.pg-home .hero-badge-float { display: none; }

  body.pg-home .trust-bar { padding: 16px 20px; }
  body.pg-home .trust-bar-inner { gap: 20px; }
  body.pg-home .trust-sep { display: none; }
  body.pg-home .trust-item { flex-direction: column; align-items: center; text-align: center; }

  body.pg-home section { padding: 56px 20px; }

  body.pg-home .problema-grid { grid-template-columns: 1fr; }
  body.pg-home .soluzione-grid { grid-template-columns: 1fr; gap: 16px; }
  body.pg-home .steps-grid { grid-template-columns: 1fr; }
  body.pg-home .step-card + .step-card::before { content: "↓"; left: 50%; top: -20px; transform: translateX(-50%); }
  body.pg-home .strutture-grid { grid-template-columns: repeat(2, 1fr); }
  body.pg-home .pms-grid { grid-template-columns: repeat(2, 1fr); }
  body.pg-home .integrazioni-section .pms-card { flex-basis: calc((100% - 16px) / 2); }
  body.pg-home .hero-sub.hero-domanda { font-size: 14px; }
  body.pg-home .testi-grid { grid-template-columns: 1fr; }
  body.pg-home .footer-top { grid-template-columns: 1fr; gap: 28px; }
  body.pg-home .footer { padding: 40px 20px 24px; }
  body.pg-home .cta-section { padding: 60px 20px; }
  body.pg-home .cta-actions { flex-direction: column; align-items: stretch; }
  body.pg-home .cta-actions .btn-primary, body.pg-home .cta-actions .btn-secondary { justify-content: center; }
}

@media (max-width: 480px) {
  body.pg-home .strutture-grid { grid-template-columns: repeat(2, 1fr); }
  body.pg-home .hero-actions { flex-direction: column; align-items: stretch; }
  body.pg-home .hero-actions .btn-primary, body.pg-home .hero-actions .btn-secondary { justify-content: center; }
}

/* ATTIVA (form in pagina) */
body.pg-home #attiva .attiva-wrap{display:grid;grid-template-columns:1fr 1fr;}
body.pg-home #attiva .attiva-left{background:var(--navy);padding:60px 56px;display:flex;flex-direction:column;justify-content:center;}
body.pg-home #attiva .al-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(0,168,164,.15);border:1px solid rgba(0,168,164,.3);color:var(--teal-bright);border-radius:20px;padding:5px 14px;font-size:11px;font-weight:800;letter-spacing:.7px;text-transform:uppercase;margin-bottom:24px;}
body.pg-home #attiva .attiva-left h1{font-size:clamp(26px,3vw,38px);font-weight:900;color:white;line-height:1.2;margin-bottom:14px;}
body.pg-home #attiva .attiva-left h1 span{color:var(--teal);}
body.pg-home #attiva .attiva-left .al-sub{font-size:15px;color:rgba(255,255,255,.65);line-height:1.8;margin-bottom:36px;max-width:420px;}
body.pg-home #attiva .steps{display:flex;flex-direction:column;gap:20px;margin-bottom:40px;}
body.pg-home #attiva .step{display:flex;align-items:flex-start;gap:16px;}
body.pg-home #attiva .step-num{width:32px;height:32px;border-radius:50%;background:var(--teal);color:white;font-size:13px;font-weight:900;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px;}
body.pg-home #attiva .step-content strong{display:block;font-size:14px;font-weight:800;color:white;margin-bottom:3px;}
body.pg-home #attiva .step-content span{font-size:13px;color:rgba(255,255,255,.55);line-height:1.6;}
body.pg-home #attiva .garanzie{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
body.pg-home #attiva .garanzia{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-radius:var(--radius);padding:14px 16px;display:flex;align-items:flex-start;gap:10px;}
body.pg-home #attiva .garanzia-icon{font-size:18px;flex-shrink:0;}
body.pg-home #attiva .garanzia-text strong{display:block;font-size:12px;font-weight:800;color:white;margin-bottom:2px;}
body.pg-home #attiva .garanzia-text span{font-size:11px;color:rgba(255,255,255,.45);line-height:1.5;}
body.pg-home #attiva .al-quote{background:rgba(255,255,255,.05);border-left:3px solid var(--teal);border-radius:0 var(--radius) var(--radius) 0;padding:16px 20px;margin-top:32px;}
body.pg-home #attiva .al-quote p{font-size:13px;color:rgba(255,255,255,.75);font-style:italic;line-height:1.7;margin-bottom:8px;}
body.pg-home #attiva .al-quote cite{font-size:11px;color:rgba(255,255,255,.4);font-style:normal;font-weight:700;}
body.pg-home #attiva .attiva-right{padding:60px 56px;display:flex;flex-direction:column;justify-content:center;background:var(--gray-50);}
body.pg-home #attiva .form-header{margin-bottom:28px;}
body.pg-home #attiva .form-header h2{font-size:22px;font-weight:900;color:var(--dark);margin-bottom:6px;}
body.pg-home #attiva .form-header p{font-size:14px;color:var(--gray-600);line-height:1.65;}
body.pg-home #attiva .form-progress{display:flex;align-items:center;gap:8px;margin-bottom:28px;}
body.pg-home #attiva .fp-step{flex:1;height:4px;border-radius:2px;background:var(--gray-200);transition:background .3s;}
body.pg-home #attiva .fp-step.done{background:var(--teal);}
body.pg-home #attiva .fp-label{font-size:11px;color:var(--gray-400);font-weight:600;white-space:nowrap;}
body.pg-home #attiva .form-group{margin-bottom:16px;}
body.pg-home #attiva .form-group label{display:block;font-size:12px;font-weight:700;color:var(--dark);margin-bottom:6px;letter-spacing:.2px;}
body.pg-home #attiva .form-group label .req{color:var(--teal);}
body.pg-home #attiva .form-group input,body.pg-home #attiva .form-group select,body.pg-home #attiva .form-group textarea{width:100%;padding:12px 14px;border:1.5px solid var(--gray-200);border-radius:9px;font-size:14px;font-family:var(--font);color:var(--dark);outline:none;transition:border-color .15s;background:#fff;}
body.pg-home #attiva .form-group input:focus,body.pg-home #attiva .form-group select:focus,body.pg-home #attiva .form-group textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(0,168,164,.10);}
body.pg-home #attiva .form-group select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;}
body.pg-home #attiva .form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
body.pg-home #attiva .form-section{margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid var(--gray-200);}
body.pg-home #attiva .form-section:last-of-type{border-bottom:none;margin-bottom:0;padding-bottom:0;}
body.pg-home #attiva .form-section-label{font-size:10px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;color:var(--gray-400);margin-bottom:14px;}
body.pg-home #attiva .check-group{display:flex;align-items:flex-start;gap:10px;margin-top:8px;}
body.pg-home #attiva .check-group input[type="checkbox"]{width:16px;height:16px;margin-top:2px;flex-shrink:0;accent-color:var(--teal);}
body.pg-home #attiva .check-group label{font-size:12px;color:var(--gray-600);line-height:1.6;cursor:pointer;}
body.pg-home #attiva .check-group a{color:var(--teal);}
body.pg-home #attiva .btn-submit{width:100%;padding:16px;background:var(--teal);color:white;border:none;border-radius:10px;font-size:16px;font-weight:900;cursor:pointer;font-family:var(--font);transition:background .15s,transform .1s,box-shadow .15s;box-shadow:var(--shadow-teal);margin-top:20px;display:flex;align-items:center;justify-content:center;gap:8px;}
body.pg-home #attiva .btn-submit:hover{background:var(--teal-dark);transform:translateY(-2px);box-shadow:0 12px 40px rgba(0,168,164,.30);}
body.pg-home #attiva .submit-note{text-align:center;font-size:11px;color:var(--gray-400);margin-top:10px;line-height:1.6;}
body.pg-home #attiva .trust-strip{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:20px;padding-top:20px;border-top:1px solid var(--gray-200);flex-wrap:wrap;}
body.pg-home #attiva .trust-item{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--gray-400);font-weight:600;}
body.pg-home #attiva .success-state{display:none;text-align:center;padding:40px 20px;}
body.pg-home #attiva .success-state.show{display:block;}
body.pg-home #attiva .success-icon{font-size:56px;margin-bottom:20px;}
body.pg-home #attiva .success-state h3{font-size:22px;font-weight:900;color:var(--dark);margin-bottom:10px;}
body.pg-home #attiva .success-state p{font-size:14px;color:var(--gray-600);line-height:1.75;max-width:360px;margin:0 auto 24px;}
body.pg-home #attiva .success-state a{display:inline-flex;align-items:center;gap:6px;background:var(--teal);color:white;padding:12px 22px;border-radius:9px;font-size:14px;font-weight:800;}
body.pg-home #attiva .al-partner{margin-top:28px;font-size:13px;color:rgba(255,255,255,.55);line-height:1.6;}
body.pg-home #attiva .al-partner a{color:var(--teal);font-weight:700;}
@media(max-width:1024px){body.pg-home #attiva .attiva-wrap{grid-template-columns:1fr;}body.pg-home #attiva .attiva-left{padding:48px 32px;}}
@media(max-width:768px){body.pg-home #attiva .attiva-left{padding:36px 20px;}body.pg-home #attiva .attiva-right{padding:36px 20px;}body.pg-home #attiva .form-row{grid-template-columns:1fr;}body.pg-home #attiva .garanzie{grid-template-columns:1fr;}body.pg-home #attiva .trust-strip{gap:12px;}}

/* ════════════ 1) PAGINA: PERCHÉ BOOKINGCARE (body.pg-perche-bookingcare, ex _test/perche-bookingcare.html) ════════════ */
body.pg-perche-bookingcare {
  /* Palette allineata a bookingcare.alpinformatica.com */
  --teal:#00A8A4; --teal-dark:#00807D; --teal-bright:#5AD1CC; --teal-light:#E1F5F4; --teal-xlight:#F0F9F8;
  --navy:#0B2F33; --dark:#1E1410; --honey:#F5A623; --honey-soft:#FEF3DC;
  --red:#C0392B; --green:#1A7A4A; --green-soft:#E5F3EA;
  --gray-50:#F8F4EE; --gray-100:#EDE8DF; --gray-200:#DDD8D2;
  --gray-400:#9A9A9A; --gray-600:#444444; --gray-800:#071F22;
  --font:'Inter','Segoe UI',system-ui,-apple-system,sans-serif;
  --radius:12px; --radius-lg:20px;
  --shadow-sm:0 1px 4px rgba(0,0,0,.05),0 4px 16px rgba(0,0,0,.04);
  --shadow-md:0 4px 24px rgba(0,0,0,.10);
  --shadow-teal:0 8px 32px rgba(0,168,164,.20);
}
body.pg-perche-bookingcare, body.pg-perche-bookingcare *,body.pg-perche-bookingcare::before, body.pg-perche-bookingcare *::before,body.pg-perche-bookingcare::after, body.pg-perche-bookingcare *::after{box-sizing:border-box;margin:0;padding:0;}
html:has(> body.pg-perche-bookingcare){scroll-behavior:smooth;}
body.pg-perche-bookingcare{font-family:var(--font);background:#fff;color:var(--dark);line-height:1.65;-webkit-font-smoothing:antialiased;}
body.pg-perche-bookingcare a{color:var(--teal);text-decoration:none;}
body.pg-perche-bookingcare a:hover{text-decoration:underline;}

/* TOPBAR */
body.pg-perche-bookingcare .topbar{background:var(--dark);color:#fff;text-align:center;padding:10px 20px;font-size:13px;font-weight:500;}
body.pg-perche-bookingcare .topbar strong{color:var(--teal);font-weight:700;}
body.pg-perche-bookingcare .topbar a{color:var(--teal-bright);font-weight:600;}

/* NAVBAR */
body.pg-perche-bookingcare .navbar{position:sticky;top:0;z-index:300;background:var(--navy);border-bottom:1px solid rgba(255,255,255,.08);height:68px;display:flex;align-items:center;padding:0 48px;justify-content:space-between;box-shadow:0 2px 12px rgba(0,0,0,.25);}
body.pg-perche-bookingcare .nav-logo{display:flex;align-items:center;gap:10px;text-decoration:none;}
body.pg-perche-bookingcare .nav-logo img{height:44px;width:auto;display:block;}
body.pg-perche-bookingcare .nav-logo-sub{font-size:10px;font-weight:700;color:var(--teal-bright);letter-spacing:.6px;text-transform:uppercase;border:1px solid rgba(90,209,204,.4);border-radius:20px;padding:3px 9px;}
body.pg-perche-bookingcare .nav-links{display:flex;align-items:center;gap:32px;}
body.pg-perche-bookingcare .nav-links a{font-size:14px;font-weight:600;color:rgba(255,255,255,.75);transition:color .15s;}
body.pg-perche-bookingcare .nav-links a:hover{color:#fff;text-decoration:none;}
body.pg-perche-bookingcare .nav-actions{display:flex;align-items:center;gap:12px;}
body.pg-perche-bookingcare .nav-login{font-size:14px;font-weight:600;color:rgba(255,255,255,.75);transition:color .15s;}
body.pg-perche-bookingcare .nav-login:hover{color:#fff;text-decoration:none;}
body.pg-perche-bookingcare .nav-login.active{color:var(--teal-bright);}
body.pg-perche-bookingcare .nav-cta{background:var(--teal);color:white;border-radius:9px;padding:10px 22px;font-size:14px;font-weight:700;box-shadow:var(--shadow-teal);transition:background .15s,transform .1s;}
body.pg-perche-bookingcare .nav-cta:hover{background:var(--teal-dark);text-decoration:none;transform:translateY(-1px);}
body.pg-perche-bookingcare .nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px;flex-direction:column;gap:5px;}
body.pg-perche-bookingcare .nav-toggle span{display:block;width:22px;height:2px;background:#fff;border-radius:2px;}
body.pg-perche-bookingcare .nav-mobile{display:none;position:fixed;inset:0;z-index:400;background:var(--navy);flex-direction:column;align-items:center;justify-content:center;gap:28px;}
body.pg-perche-bookingcare .nav-mobile.open{display:flex;}
body.pg-perche-bookingcare .nav-mobile a{color:rgba(255,255,255,.85);font-size:20px;font-weight:700;}
body.pg-perche-bookingcare .nav-mobile a:hover{color:white;text-decoration:none;}
body.pg-perche-bookingcare .nm-close{position:absolute;top:20px;right:20px;background:none;border:none;color:white;font-size:28px;cursor:pointer;}
body.pg-perche-bookingcare .nm-cta{background:var(--teal);color:white!important;padding:14px 32px;border-radius:10px;font-weight:800;margin-top:12px;}

/* BREADCRUMB */
body.pg-perche-bookingcare .breadcrumb{padding:14px 48px;background:var(--gray-50);border-bottom:1px solid var(--gray-200);}
body.pg-perche-bookingcare .breadcrumb-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;gap:8px;font-size:12px;color:var(--gray-400);}
body.pg-perche-bookingcare .breadcrumb-inner a{color:var(--gray-400);font-weight:600;}
body.pg-perche-bookingcare .breadcrumb-inner a:hover{color:var(--teal);text-decoration:none;}

/* HERO */
body.pg-perche-bookingcare .hero{padding:72px 48px 64px;background:var(--gray-50);border-bottom:1px solid var(--gray-200);}
body.pg-perche-bookingcare .hero-inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;}
body.pg-perche-bookingcare .section-badge{display:inline-flex;align-items:center;gap:8px;background:var(--teal-light);color:var(--teal-dark);border:1px solid rgba(0,168,164,.25);border-radius:20px;padding:5px 14px;font-size:11px;font-weight:800;letter-spacing:.7px;text-transform:uppercase;margin-bottom:16px;}
body.pg-perche-bookingcare .hero h1{font-size:clamp(26px,3.2vw,40px);font-weight:900;color:var(--dark);line-height:1.2;margin-bottom:14px;}
body.pg-perche-bookingcare .hero h1 span{color:var(--teal);}
body.pg-perche-bookingcare .hero p{font-size:15px;color:var(--gray-600);line-height:1.8;margin-bottom:28px;max-width:480px;}
body.pg-perche-bookingcare .hero-cta{display:inline-flex;align-items:center;gap:8px;background:var(--teal);color:white;padding:14px 28px;border-radius:10px;font-size:15px;font-weight:800;box-shadow:var(--shadow-teal);transition:background .15s,transform .1s;}
body.pg-perche-bookingcare .hero-cta:hover{background:var(--teal-dark);text-decoration:none;transform:translateY(-2px);}
body.pg-perche-bookingcare .hero-img{aspect-ratio:4/3;background:var(--gray-100);border:2px dashed var(--gray-200);border-radius:var(--radius-lg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;color:var(--gray-400);}
body.pg-perche-bookingcare .hero-img .ph-icon{font-size:28px;opacity:.5;}
body.pg-perche-bookingcare .hero-img .ph-label{font-size:11px;font-weight:700;max-width:200px;line-height:1.4;}
body.pg-perche-bookingcare .hero-img .ph-file{font-size:10px;font-family:monospace;background:var(--gray-200);color:var(--gray-600);padding:2px 7px;border-radius:4px;}

/* SECTION */
body.pg-perche-bookingcare .section{padding:72px 48px;}
body.pg-perche-bookingcare .section-inner{max-width:1100px;margin:0 auto;}

/* STORIA — GIORNATA TIPO */
body.pg-perche-bookingcare .storia{background:#fff;}
body.pg-perche-bookingcare .storia-intro{text-align:center;max-width:620px;margin:0 auto 56px;}
body.pg-perche-bookingcare .storia-intro h2{font-size:clamp(22px,2.8vw,32px);font-weight:900;color:var(--dark);margin-bottom:12px;}
body.pg-perche-bookingcare .storia-intro p{font-size:15px;color:var(--gray-600);line-height:1.8;}

body.pg-perche-bookingcare .storia-flow{display:flex;flex-direction:column;gap:0;}
body.pg-perche-bookingcare .sf-step{display:grid;grid-template-columns:60px 1fr;gap:0;position:relative;}
body.pg-perche-bookingcare .sf-step:not(:last-child) .sf-line{position:absolute;left:29px;top:52px;bottom:-8px;width:2px;background:var(--gray-200);z-index:0;}
body.pg-perche-bookingcare .sf-left{display:flex;flex-direction:column;align-items:center;padding-top:4px;position:relative;z-index:1;}
body.pg-perche-bookingcare .sf-icon{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;border:3px solid white;box-shadow:var(--shadow-sm);}
body.pg-perche-bookingcare .sf-icon.problema{background:#FBEDEB;}
body.pg-perche-bookingcare .sf-icon.scoperta{background:var(--honey-soft);}
body.pg-perche-bookingcare .sf-icon.analisi{background:var(--teal-light);}
body.pg-perche-bookingcare .sf-icon.proposta{background:var(--green-soft);}
body.pg-perche-bookingcare .sf-icon.risultato{background:var(--navy);}
body.pg-perche-bookingcare .sf-content{padding:0 0 48px 24px;}
body.pg-perche-bookingcare .sf-tag{font-size:10px;font-weight:800;letter-spacing:.7px;text-transform:uppercase;color:var(--gray-400);margin-bottom:8px;}
body.pg-perche-bookingcare .sf-content h3{font-size:18px;font-weight:900;color:var(--dark);margin-bottom:10px;line-height:1.3;}
body.pg-perche-bookingcare .sf-content p{font-size:15px;color:var(--gray-600);line-height:1.8;margin-bottom:12px;}
body.pg-perche-bookingcare .sf-content p:last-child{margin-bottom:0;}
body.pg-perche-bookingcare .sf-content strong{color:var(--dark);}

/* DIALOGO */
body.pg-perche-bookingcare .dialogo{background:var(--gray-50);border-radius:var(--radius-lg);padding:20px 24px;margin:16px 0;border-left:4px solid var(--gray-200);}
body.pg-perche-bookingcare .dialogo.hotel{border-left-color:var(--gray-400);}
body.pg-perche-bookingcare .dialogo.consulente{border-left-color:var(--teal);}
body.pg-perche-bookingcare .dialogo.hotel-ok{border-left-color:var(--green);}
body.pg-perche-bookingcare .d-chi{font-size:10px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;margin-bottom:6px;}
body.pg-perche-bookingcare .dialogo.hotel .d-chi{color:var(--gray-400);}
body.pg-perche-bookingcare .dialogo.consulente .d-chi{color:var(--teal-dark);}
body.pg-perche-bookingcare .dialogo.hotel-ok .d-chi{color:var(--green);}
body.pg-perche-bookingcare .dialogo p{font-size:14px;color:var(--dark);line-height:1.7;font-style:italic;margin:0;}

/* CHI STAI CERCANDO */
body.pg-perche-bookingcare .chi-section{background:var(--gray-50);border-top:1px solid var(--gray-200);border-bottom:1px solid var(--gray-200);}
body.pg-perche-bookingcare .chi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:36px;}
body.pg-perche-bookingcare .chi-card{background:#fff;border:1.5px solid var(--gray-200);border-radius:var(--radius-lg);padding:28px 24px;}
body.pg-perche-bookingcare .chi-icon{font-size:28px;margin-bottom:14px;}
body.pg-perche-bookingcare .chi-card h3{font-size:15px;font-weight:800;color:var(--dark);margin-bottom:8px;}
body.pg-perche-bookingcare .chi-card p{font-size:13px;color:var(--gray-600);line-height:1.7;}

/* COSA RICEVI */
body.pg-perche-bookingcare .ricevi-section{}
body.pg-perche-bookingcare .ricevi-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:36px;}
body.pg-perche-bookingcare .ricevi-card{background:var(--gray-50);border:1.5px solid var(--gray-200);border-radius:var(--radius-lg);padding:24px;display:flex;gap:16px;align-items:flex-start;}
body.pg-perche-bookingcare .rc-icon{width:40px;height:40px;border-radius:10px;background:var(--teal-light);display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;}
body.pg-perche-bookingcare .rc-content h4{font-size:14px;font-weight:800;color:var(--dark);margin-bottom:5px;}
body.pg-perche-bookingcare .rc-content p{font-size:13px;color:var(--gray-600);line-height:1.65;}

/* FORM SEZIONE */
body.pg-perche-bookingcare .form-section-wrap{background:var(--navy);padding:72px 48px;}
body.pg-perche-bookingcare .form-section-inner{max-width:900px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start;}
body.pg-perche-bookingcare .fs-left h2{font-size:26px;font-weight:900;color:white;margin-bottom:12px;line-height:1.3;}
body.pg-perche-bookingcare .fs-left p{font-size:14px;color:rgba(255,255,255,.6);line-height:1.8;margin-bottom:20px;}
body.pg-perche-bookingcare .fs-quote{background:rgba(255,255,255,.06);border-left:3px solid var(--teal);border-radius:0 var(--radius) var(--radius) 0;padding:16px 20px;}
body.pg-perche-bookingcare .fs-quote p{font-size:13px;color:rgba(255,255,255,.7);font-style:italic;line-height:1.7;margin-bottom:8px;}
body.pg-perche-bookingcare .fs-quote cite{font-size:11px;color:rgba(255,255,255,.35);font-style:normal;font-weight:700;}
body.pg-perche-bookingcare .form-card{background:#fff;border-radius:var(--radius-lg);padding:32px;}
body.pg-perche-bookingcare .form-card h3{font-size:18px;font-weight:900;color:var(--dark);margin-bottom:6px;}
body.pg-perche-bookingcare .form-card .fc-sub{font-size:13px;color:var(--gray-600);margin-bottom:22px;line-height:1.6;}
body.pg-perche-bookingcare .form-group{margin-bottom:14px;}
body.pg-perche-bookingcare .form-group label{display:block;font-size:12px;font-weight:700;color:var(--dark);margin-bottom:5px;}
body.pg-perche-bookingcare .form-group label .req{color:var(--teal);}
body.pg-perche-bookingcare .form-group input,
body.pg-perche-bookingcare .form-group select,
body.pg-perche-bookingcare .form-group textarea{width:100%;padding:11px 14px;border:1.5px solid var(--gray-200);border-radius:8px;font-size:14px;font-family:var(--font);color:var(--dark);outline:none;transition:border-color .15s;background:#fff;}
body.pg-perche-bookingcare .form-group input:focus,
body.pg-perche-bookingcare .form-group select:focus,
body.pg-perche-bookingcare .form-group textarea:focus{border-color:var(--teal);}
body.pg-perche-bookingcare .form-group select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A9A9A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;}
body.pg-perche-bookingcare .form-group textarea{resize:vertical;min-height:90px;}
body.pg-perche-bookingcare .btn-submit{width:100%;padding:14px;background:var(--teal);color:white;border:none;border-radius:9px;font-size:15px;font-weight:800;cursor:pointer;font-family:var(--font);transition:background .15s;margin-top:6px;}
body.pg-perche-bookingcare .btn-submit:hover{background:var(--teal-dark);}
body.pg-perche-bookingcare .form-note{font-size:11px;color:var(--gray-400);text-align:center;margin-top:8px;line-height:1.6;}

/* FOOTER */
body.pg-perche-bookingcare .footer{background:var(--gray-800);color:rgba(255,255,255,.65);padding:52px 48px 32px;}
body.pg-perche-bookingcare .footer-inner{max-width:1100px;margin:0 auto;}
body.pg-perche-bookingcare .footer-top{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.07);margin-bottom:28px;}
body.pg-perche-bookingcare .footer-brand .fb-logo{display:flex;align-items:center;gap:10px;margin-bottom:14px;}
body.pg-perche-bookingcare .footer-brand .fb-logo img{height:40px;width:auto;display:block;}
body.pg-perche-bookingcare .footer-brand p{font-size:13px;line-height:1.7;max-width:260px;}
body.pg-perche-bookingcare .footer-col h5{font-size:11px;font-weight:800;color:white;letter-spacing:.8px;text-transform:uppercase;margin-bottom:16px;}
body.pg-perche-bookingcare .footer-col ul{list-style:none;display:flex;flex-direction:column;gap:10px;}
body.pg-perche-bookingcare .footer-col li a{font-size:13px;color:rgba(255,255,255,.50);transition:color .15s;}
body.pg-perche-bookingcare .footer-col li a:hover{color:white;text-decoration:none;}
body.pg-perche-bookingcare .footer-legal{font-size:11px;color:rgba(255,255,255,.30);line-height:1.75;padding:20px 0;border-bottom:1px solid rgba(255,255,255,.05);margin-bottom:20px;}
body.pg-perche-bookingcare .footer-legal strong{color:rgba(255,255,255,.45);}
body.pg-perche-bookingcare .footer-legal a{color:rgba(255,255,255,.35);font-weight:600;}
body.pg-perche-bookingcare .footer-legal a:hover{color:rgba(255,255,255,.6);text-decoration:none;}
body.pg-perche-bookingcare .footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:12px;color:rgba(255,255,255,.30);}
body.pg-perche-bookingcare .footer-bottom a{color:rgba(255,255,255,.30);}
body.pg-perche-bookingcare .footer-bottom a:hover{color:rgba(255,255,255,.6);text-decoration:none;}

/* RESPONSIVE */
@media(max-width:1024px){
  body.pg-perche-bookingcare .hero-inner{grid-template-columns:1fr;}
  body.pg-perche-bookingcare .hero-img{display:none;}
  body.pg-perche-bookingcare .chi-grid{grid-template-columns:1fr 1fr;}
  body.pg-perche-bookingcare .ricevi-grid{grid-template-columns:1fr;}
  body.pg-perche-bookingcare .form-section-inner{grid-template-columns:1fr;}
  body.pg-perche-bookingcare .footer-top{grid-template-columns:1fr 1fr;gap:32px;}
}
@media(max-width:768px){
  body.pg-perche-bookingcare .navbar{padding:0 20px;}
  body.pg-perche-bookingcare .nav-links,body.pg-perche-bookingcare .nav-login,body.pg-perche-bookingcare .nav-cta{display:none;}
  body.pg-perche-bookingcare .nav-toggle{display:flex;}
  body.pg-perche-bookingcare .breadcrumb{padding-left:20px;padding-right:20px;}
  body.pg-perche-bookingcare .hero{padding:48px 20px;}
  body.pg-perche-bookingcare .section{padding:52px 20px;}
  body.pg-perche-bookingcare .chi-grid{grid-template-columns:1fr;}
  body.pg-perche-bookingcare .form-section-wrap{padding:52px 20px;}
  body.pg-perche-bookingcare .footer{padding:40px 20px 24px;}
  body.pg-perche-bookingcare .footer-top{grid-template-columns:1fr;gap:28px;}
}

/* ════════════ 1) PAGINA: PRIVACY (body.pg-privacy, ex _test/privacy.html) ════════════ */
body.pg-privacy {
  /* Palette allineata a bookingcare.alpinformatica.com */
  --teal:#00A8A4; --teal-dark:#00807D; --teal-bright:#5AD1CC; --teal-light:#E1F5F4; --teal-xlight:#F0F9F8;
  --navy:#0B2F33; --dark:#1E1410; --honey:#F5A623; --honey-soft:#FEF3DC;
  --red:#C0392B; --green:#1A7A4A; --green-soft:#E5F3EA;
  --gray-50:#F8F4EE; --gray-100:#EDE8DF; --gray-200:#DDD8D2;
  --gray-400:#9A9A9A; --gray-600:#444444; --gray-800:#071F22;
  --font:'Inter','Segoe UI',system-ui,-apple-system,sans-serif;
  --radius:12px; --radius-lg:20px;
  --shadow-sm:0 1px 4px rgba(0,0,0,.05),0 4px 16px rgba(0,0,0,.04);
  --shadow-md:0 4px 24px rgba(0,0,0,.10);
  --shadow-teal:0 8px 32px rgba(0,168,164,.20);
}
body.pg-privacy, body.pg-privacy *,body.pg-privacy::before, body.pg-privacy *::before,body.pg-privacy::after, body.pg-privacy *::after{box-sizing:border-box;margin:0;padding:0;}
html:has(> body.pg-privacy){scroll-behavior:smooth;}
body.pg-privacy{font-family:var(--font);background:#fff;color:var(--dark);line-height:1.65;-webkit-font-smoothing:antialiased;}
body.pg-privacy a{color:var(--teal);text-decoration:none;}
body.pg-privacy a:hover{text-decoration:underline;}

/* TOPBAR */
body.pg-privacy .topbar{background:var(--dark);color:#fff;text-align:center;padding:10px 20px;font-size:13px;font-weight:500;}
body.pg-privacy .topbar strong{color:var(--teal);font-weight:700;}
body.pg-privacy .topbar a{color:var(--teal-bright);font-weight:600;}

/* NAVBAR */
body.pg-privacy .navbar{position:sticky;top:0;z-index:300;background:var(--navy);border-bottom:1px solid rgba(255,255,255,.08);height:68px;display:flex;align-items:center;padding:0 48px;justify-content:space-between;box-shadow:0 2px 12px rgba(0,0,0,.25);}
body.pg-privacy .nav-logo{display:flex;align-items:center;gap:10px;text-decoration:none;}
body.pg-privacy .nav-logo img{height:44px;width:auto;display:block;}
body.pg-privacy .nav-logo-sub{font-size:10px;font-weight:700;color:var(--teal-bright);letter-spacing:.6px;text-transform:uppercase;border:1px solid rgba(90,209,204,.4);border-radius:20px;padding:3px 9px;}
body.pg-privacy .nav-links{display:flex;align-items:center;gap:32px;}
body.pg-privacy .nav-links a{font-size:14px;font-weight:600;color:rgba(255,255,255,.75);transition:color .15s;}
body.pg-privacy .nav-links a:hover{color:#fff;text-decoration:none;}
body.pg-privacy .nav-actions{display:flex;align-items:center;gap:12px;}
body.pg-privacy .nav-login{font-size:14px;font-weight:600;color:rgba(255,255,255,.75);transition:color .15s;}
body.pg-privacy .nav-login:hover{color:#fff;text-decoration:none;}
body.pg-privacy .nav-login.active{color:var(--teal-bright);}
body.pg-privacy .nav-cta{background:var(--teal);color:white;border-radius:9px;padding:10px 22px;font-size:14px;font-weight:700;box-shadow:var(--shadow-teal);transition:background .15s,transform .1s;}
body.pg-privacy .nav-cta:hover{background:var(--teal-dark);text-decoration:none;transform:translateY(-1px);}
body.pg-privacy .nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px;flex-direction:column;gap:5px;}
body.pg-privacy .nav-toggle span{display:block;width:22px;height:2px;background:#fff;border-radius:2px;}
body.pg-privacy .nav-mobile{display:none;position:fixed;inset:0;z-index:400;background:var(--navy);flex-direction:column;align-items:center;justify-content:center;gap:28px;}
body.pg-privacy .nav-mobile.open{display:flex;}
body.pg-privacy .nav-mobile a{color:rgba(255,255,255,.85);font-size:20px;font-weight:700;}
body.pg-privacy .nav-mobile a:hover{color:white;text-decoration:none;}
body.pg-privacy .nm-close{position:absolute;top:20px;right:20px;background:none;border:none;color:white;font-size:28px;cursor:pointer;}
body.pg-privacy .nm-cta{background:var(--teal);color:white!important;padding:14px 32px;border-radius:10px;font-weight:800;margin-top:12px;}

/* BREADCRUMB */
body.pg-privacy .breadcrumb{padding:14px 48px;background:var(--gray-50);border-bottom:1px solid var(--gray-200);}
body.pg-privacy .breadcrumb-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;gap:8px;font-size:12px;color:var(--gray-400);}
body.pg-privacy .breadcrumb-inner a{color:var(--gray-400);font-weight:600;}
body.pg-privacy .breadcrumb-inner a:hover{color:var(--teal);text-decoration:none;}


/* PAGINA LEGALE */
body.pg-privacy .legal-hero{padding:56px 48px 44px;background:var(--gray-50);border-bottom:1px solid var(--gray-200);}
body.pg-privacy .legal-hero-inner{max-width:820px;margin:0 auto;}
body.pg-privacy .section-badge{display:inline-flex;align-items:center;gap:8px;background:var(--teal-light);color:var(--teal-dark);border:1px solid rgba(0,168,164,.25);border-radius:20px;padding:5px 14px;font-size:11px;font-weight:800;letter-spacing:.7px;text-transform:uppercase;margin-bottom:16px;}
body.pg-privacy .legal-hero h1{font-size:clamp(26px,3.2vw,38px);font-weight:900;color:var(--dark);line-height:1.2;margin-bottom:12px;}
body.pg-privacy .legal-hero p{font-size:15px;color:var(--gray-600);line-height:1.7;}
body.pg-privacy .legal{padding:56px 48px 80px;}
body.pg-privacy .legal-inner{max-width:820px;margin:0 auto;}
body.pg-privacy .legal h2{font-size:20px;font-weight:900;color:var(--dark);line-height:1.3;margin:44px 0 14px;padding-top:4px;scroll-margin-top:88px;}
body.pg-privacy .legal h2:first-child{margin-top:0;}
body.pg-privacy .legal p{font-size:15px;color:var(--gray-600);line-height:1.8;margin-bottom:14px;}
body.pg-privacy .legal strong{color:var(--dark);}
body.pg-privacy .legal ul{margin:0 0 16px 22px;}
body.pg-privacy .legal li{font-size:15px;color:var(--gray-600);line-height:1.8;margin-bottom:6px;}
body.pg-privacy .legal li::marker{color:var(--teal);}
body.pg-privacy .legal-table{width:100%;border-collapse:separate;border-spacing:0;border:1.5px solid var(--gray-200);border-radius:var(--radius);overflow:hidden;margin:6px 0 20px;font-size:14px;}
body.pg-privacy .legal-table th{background:var(--gray-50);text-align:left;font-size:11px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;color:var(--gray-600);padding:12px 18px;border-bottom:1.5px solid var(--gray-200);}
body.pg-privacy .legal-table td{padding:14px 18px;color:var(--gray-600);line-height:1.65;vertical-align:top;border-bottom:1px solid var(--gray-100);}
body.pg-privacy .legal-table tr:last-child td{border-bottom:none;}
body.pg-privacy .legal-table td:first-child{color:var(--dark);font-weight:600;width:52%;}

/* FOOTER */
body.pg-privacy .footer{background:var(--gray-800);color:rgba(255,255,255,.65);padding:52px 48px 32px;}
body.pg-privacy .footer-inner{max-width:1100px;margin:0 auto;}
body.pg-privacy .footer-top{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.07);margin-bottom:28px;}
body.pg-privacy .footer-brand .fb-logo{display:flex;align-items:center;gap:10px;margin-bottom:14px;}
body.pg-privacy .footer-brand .fb-logo img{height:40px;width:auto;display:block;}
body.pg-privacy .footer-brand p{font-size:13px;line-height:1.7;max-width:260px;}
body.pg-privacy .footer-col h5{font-size:11px;font-weight:800;color:white;letter-spacing:.8px;text-transform:uppercase;margin-bottom:16px;}
body.pg-privacy .footer-col ul{list-style:none;display:flex;flex-direction:column;gap:10px;}
body.pg-privacy .footer-col li a{font-size:13px;color:rgba(255,255,255,.50);transition:color .15s;}
body.pg-privacy .footer-col li a:hover{color:white;text-decoration:none;}
body.pg-privacy .footer-legal{font-size:11px;color:rgba(255,255,255,.30);line-height:1.75;padding:20px 0;border-bottom:1px solid rgba(255,255,255,.05);margin-bottom:20px;}
body.pg-privacy .footer-legal strong{color:rgba(255,255,255,.45);}
body.pg-privacy .footer-legal a{color:rgba(255,255,255,.35);font-weight:600;}
body.pg-privacy .footer-legal a:hover{color:rgba(255,255,255,.6);text-decoration:none;}
body.pg-privacy .footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:12px;color:rgba(255,255,255,.30);}
body.pg-privacy .footer-bottom a{color:rgba(255,255,255,.30);}
body.pg-privacy .footer-bottom a:hover{color:rgba(255,255,255,.6);text-decoration:none;}


/* RESPONSIVE */
@media(max-width:1024px){
  body.pg-privacy .footer-top{grid-template-columns:1fr 1fr;gap:32px;}
}
@media(max-width:768px){
  body.pg-privacy .navbar{padding:0 20px;}
  body.pg-privacy .nav-links,body.pg-privacy .nav-login,body.pg-privacy .nav-cta{display:none;}
  body.pg-privacy .nav-toggle{display:flex;}
  body.pg-privacy .breadcrumb{padding-left:20px;padding-right:20px;}
  body.pg-privacy .legal-hero{padding:40px 20px 32px;}
  body.pg-privacy .legal{padding:40px 20px 56px;}
  body.pg-privacy .legal-table,body.pg-privacy .legal-table tbody,body.pg-privacy .legal-table tr,body.pg-privacy .legal-table td{display:block;width:100%;}
  body.pg-privacy .legal-table thead{display:none;}
  body.pg-privacy .legal-table tr{border-bottom:1px solid var(--gray-200);}
  body.pg-privacy .legal-table tr:last-child{border-bottom:none;}
  body.pg-privacy .legal-table td{border-bottom:none;padding:10px 16px;}
  body.pg-privacy .legal-table td:first-child{width:100%;padding-top:14px;}
  body.pg-privacy .legal-table td:last-child{padding-top:0;padding-bottom:14px;}
  body.pg-privacy .footer{padding:40px 20px 24px;}
  body.pg-privacy .footer-top{grid-template-columns:1fr;gap:28px;}
}

/* ════════════ 2) COMUNE: SELETTORE LINGUA ════════════
   Navbar e menu mobile: modules/_site/menu_lingue.php; footer: .footer-lang in modules/_site/footer.php.
   I selettori iniziano con "body" per prevalere sulle regole delle pagine (es. .nav-mobile a). */
body .nav-lang { display: flex; align-items: center; gap: 2px; }
body .nav-lang .nav-lang-item { font-size: 12px; font-weight: 700; letter-spacing: .3px; line-height: 1.2; padding: 5px 7px; border-radius: 6px; color: rgba(255,255,255,.6); }
body .nav-lang a.nav-lang-item:hover { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
body .nav-lang .nav-lang-item.active { color: var(--teal-bright); background: rgba(90,209,204,.12); }
body .nav-mobile .nav-lang { margin-top: 12px; gap: 8px; }
body .nav-mobile .nav-lang a.nav-lang-item,
body .nav-mobile .nav-lang .nav-lang-item { font-size: 15px; padding: 6px 12px; }
body .footer-bottom .footer-lang { display: flex; gap: 10px; }
body .footer-bottom .footer-lang strong { color: rgba(255,255,255,.6); font-weight: 700; }
@media (max-width: 768px) {
  body .navbar .nav-lang { display: none; }
}

/* ════════════ 3) FORM HUBSPOT (home, #attiva) ════════════
   Il form è generato da HubSpot (hbspt.forms.create in _site/index.php, classi hs-*): stessi stili
   dei campi del form originale (.form-group, .check-group, .btn-submit della sezione HOME). */
body.pg-home #attiva .hs-form fieldset { max-width: none !important; border: 0; padding: 0; margin: 0; }
body.pg-home #attiva .hs-form fieldset.form-columns-2 .hs-form-field { width: 50% !important; float: left; padding-right: 12px; }
body.pg-home #attiva .hs-form fieldset.form-columns-2 .hs-form-field:last-child { padding-right: 0; }
body.pg-home #attiva .hs-form fieldset .input { margin-right: 0 !important; }
body.pg-home #attiva .hs-form .hs-form-field { margin-bottom: 16px; }
body.pg-home #attiva .hs-form .hs-form-field > label { display: block; font-size: 12px; font-weight: 700; color: var(--dark); margin-bottom: 6px; letter-spacing: .2px; }
body.pg-home #attiva .hs-form .hs-form-required { color: var(--teal); margin-left: 3px; }
body.pg-home #attiva .hs-form .hs-field-desc { font-size: 12px; color: var(--gray-400); margin-bottom: 6px; }
body.pg-home #attiva .hs-form input.hs-input:not([type="checkbox"]):not([type="radio"]),
body.pg-home #attiva .hs-form select.hs-input,
body.pg-home #attiva .hs-form textarea.hs-input { width: 100% !important; padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: 9px; font-size: 14px; font-family: var(--font); color: var(--dark); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
body.pg-home #attiva .hs-form input.hs-input:focus,
body.pg-home #attiva .hs-form select.hs-input:focus,
body.pg-home #attiva .hs-form textarea.hs-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,168,164,.10); }
body.pg-home #attiva .hs-form textarea.hs-input { min-height: 90px; resize: vertical; }
body.pg-home #attiva .hs-form select.hs-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
body.pg-home #attiva .hs-form .inputs-list { list-style: none; padding: 0; margin: 0; }
body.pg-home #attiva .hs-form .hs-form-booleancheckbox-display,
body.pg-home #attiva .hs-form .hs-form-checkbox-display { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--gray-600); line-height: 1.6; cursor: pointer; }
body.pg-home #attiva .hs-form input[type="checkbox"] { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: var(--teal); }
body.pg-home #attiva .hs-form .legal-consent-container,
body.pg-home #attiva .hs-form .hs-richtext { font-size: 12px; color: var(--gray-600); line-height: 1.6; margin: 8px 0 12px; }
body.pg-home #attiva .hs-form .legal-consent-container a,
body.pg-home #attiva .hs-form .hs-richtext a { color: var(--teal); }
body.pg-home #attiva .hs-form .hs-error-msgs { list-style: none; padding: 0; margin: 6px 0 0; }
body.pg-home #attiva .hs-form .hs-error-msg,
body.pg-home #attiva .hs-form .hs-main-font-element { font-size: 12px; color: var(--red); }
body.pg-home #attiva .hs-form input.hs-input.invalid.error { border-color: var(--red); }
body.pg-home #attiva .hs-form .hs_submit { margin-top: 16px; }
body.pg-home #attiva .hs-form .hs-button { width: 100%; padding: 16px; background: var(--teal); color: white; border: none; border-radius: 10px; font-size: 16px; font-weight: 900; cursor: pointer; font-family: var(--font); transition: background .15s, transform .1s, box-shadow .15s; box-shadow: var(--shadow-teal); -webkit-appearance: none; }
body.pg-home #attiva .hs-form .hs-button:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,168,164,.30); }
body.pg-home #attiva .hubspot-form .submitted-message { font-size: 14px; color: var(--gray-600); line-height: 1.65; }
@media (max-width: 768px) {
  body.pg-home #attiva .hs-form fieldset.form-columns-2 .hs-form-field { width: 100% !important; float: none; padding-right: 0; }
}

/* ════════════ 4) POP-UP NUOVO NOME (tutte le pagine, modules/_site/popup_nuovo_nome.php) ════════════
   <dialog> nativo aperto con showModal(): sfondo con ::backdrop. Usa i token della pagina (--teal, --navy...),
   definiti con gli stessi nomi in tutte le sezioni body.pg-{nome}. margin: auto ripristina il centraggio del
   <dialog>, annullato dal reset "margin: 0" delle pagine. */
body .popup-nome { width: calc(100% - 32px); max-width: 520px; margin: auto; padding: 0; border: 0; border-radius: var(--radius-lg); background: #fff; color: var(--dark); font-family: var(--font); box-shadow: 0 24px 64px rgba(0,0,0,.30); overflow: hidden; }
body .popup-nome::backdrop { background: rgba(7,31,34,.65); }
body .popup-nome-testata { background: var(--navy); padding: 22px 32px; }
body .popup-nome-testata img { display: block; height: 34px; width: auto; }
body .popup-nome-corpo { padding: 28px 32px 32px; }
body .popup-nome h2 { font-size: 22px; font-weight: 900; line-height: 1.3; letter-spacing: -.3px; margin: 0 0 14px; color: var(--dark); }
body .popup-nome p { font-size: 15px; line-height: 1.65; color: var(--gray-600); margin: 0 0 12px; }
body .popup-nome-azioni { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
body .popup-nome-btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border: 1.5px solid var(--teal); border-radius: 10px; background: var(--teal); color: #fff; font-family: var(--font); font-size: 15px; font-weight: 800; line-height: 1.2; text-align: center; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
body .popup-nome-btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); text-decoration: none; }
body .popup-nome-btn:focus-visible { outline: 3px solid rgba(0,168,164,.35); outline-offset: 2px; }
body .popup-nome-btn-sec { background: #fff; color: var(--teal-dark); }
body .popup-nome-btn-sec:hover { background: var(--teal-xlight); color: var(--teal-dark); }
@media (max-width: 520px) {
  body .popup-nome-testata { padding: 18px 22px; }
  body .popup-nome-corpo { padding: 22px 22px 24px; }
  body .popup-nome h2 { font-size: 19px; }
  body .popup-nome-btn { flex: 1 1 100%; }
}
