/* ═══════════════════════════════════════════════════════════════
   DESIGN SYSTEM — drgaleazzinico.it
   Redesign Aprile 2026
   Autorità scientifica · Lusso discreto · Fiducia medica
   ═══════════════════════════════════════════════════════════════ */

/* Google Fonts caricati via <link> in HTML per evitare @import render-blocking */

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  /* REDESIGN: Nuova palette — navy/gold/cream */
  --navy: #1a2940;
  --navy-deep: #0f1a2b;
  --navy-light: #243654;
  --gold: #b8996a;
  --gold-light: #d4b896;
  --gold-pale: #e8dcc8;
  --gold-dark: #8a7045; /* QA FIX: Gold scuro per testo accessibile WCAG AA */
  --cream: #f8f5f0;
  --cream-dark: #efe9e0;
  --white: #ffffff;
  --text: #1a1e2e;
  --text-soft: #4a5568;
  --text-muted: #718096;
  --border: #e2ddd5;
  --border-light: #f0ebe4;

  /* Funzionali */
  --verde: #25D366;
  --verde-h: #1aab52;
  --rosso-soft: #c53030;

  /* Spacing */
  --section-pad: clamp(72px, 8vw, 140px);
  --section-pad-sm: clamp(48px, 6vw, 80px);
  --container: 1200px;
  --container-narrow: 780px;
  --radius: 12px;
  --radius-sm: 8px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(26,41,64,.06);
  --shadow: 0 4px 24px rgba(26,41,64,.08);
  --shadow-lg: 0 12px 48px rgba(26,41,64,.12);
  --shadow-gold: 0 4px 24px rgba(184,153,106,.15);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ── BASE TYPOGRAPHY ── */
/* REDESIGN: DM Sans come font principale body */
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

/* REDESIGN: Cormorant Garamond per tutti i titoli */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }

/* ── TIPOGRAFIA — 5 livelli gerarchici ── */
/* REDESIGN: Gerarchia netta con sizing audace */

/* Livello 1 — Hero Title */
.type-hero {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

/* Livello 2 — Section Title */
.h2, .type-section {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Livello 3 — Subtitle */
.h3, .type-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  color: var(--navy);
  margin: 32px 0 12px;
  line-height: 1.25;
}

/* Livello 4 — Body */
.type-body, p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
}

/* Livello 5 — Caption */
.type-caption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* ── LAYOUT UTILITIES ── */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }
.blk { padding: var(--section-pad) 24px; }
.blk-sm { padding: var(--section-pad-sm) 24px; }

/* REDESIGN: Sfondi con nuova palette */
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: var(--cream); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--cream); }
.bg-navy p { color: rgba(248,245,240,.78); }
.bg-navy-deep { background: var(--navy-deep); color: var(--cream); }
.bg-white { background: var(--white); }

/* REDESIGN: Label/sopratitolo con gold */
.label {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8a7045; /* QA FIX: Gold scuro per contrasto WCAG AA (ratio 5.2:1 su bianco) */
  margin-bottom: 12px;
}

.lead {
  font-size: 18px;
  color: var(--text-soft);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* REDESIGN: Separatore decorativo gold */
.gold-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 24px 0;
}
.gold-line-center {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 24px auto;
}

/* ═══════════════════════════════════════════════════
   HEADER / NAVBAR
   ═══════════════════════════════════════════════════ */
/* REDESIGN: Navbar elegante con backdrop-filter su scroll */
header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
header.scrolled {
  background: rgba(26,41,64,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(15,26,43,.25);
}

.hdr {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

/* REDESIGN: Logo raffinato con Cormorant */
.logo { text-decoration: none; flex-shrink: 0; }
.logo-nome {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.logo-sub {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* REDESIGN: Nav links con DM Sans 500 */
nav { display: flex; align-items: center; gap: 2px; }
nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(248,245,240,.72);
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
nav a:hover {
  background: rgba(248,245,240,.08);
  color: var(--cream);
}
nav a.active {
  background: rgba(248,245,240,.12);
  color: var(--cream);
}

/* REDESIGN: CTA WhatsApp nella nav */
.nav-wa {
  background: var(--verde) !important;
  color: #fff !important;
  margin-left: 10px;
  padding: 8px 16px !important;
  font-weight: 600 !important;
  border-radius: var(--radius-sm) !important;
}
.nav-wa:hover { background: var(--verde-h) !important; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cream);
  padding: 6px;
}

/* ═══════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════ */
/* REDESIGN: Hero full-height con tipografia audace */
.hero {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
  padding: clamp(80px, 10vw, 140px) 24px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184,153,106,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 64px;
  align-items: center;
}

.hero-foto {
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(184,153,106,.25);
  box-shadow: 0 24px 64px rgba(15,26,43,.4);
}
.hero-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* REDESIGN: Badge credenziali nella hero */
.hero-badge {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(184,153,106,.1);
  border: 1px solid rgba(184,153,106,.25);
  padding: 6px 18px;
  border-radius: 24px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 64px);
  color: var(--cream);
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  color: rgba(248,245,240,.75);
  margin-bottom: 20px;
  line-height: 1.7;
}

/* REDESIGN: Box filosofia con bordo gold */
.filosofia-box {
  background: rgba(184,153,106,.06);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 24px;
  margin: 24px 0 36px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-style: italic;
  color: rgba(248,245,240,.88);
  line-height: 1.65;
}
.filosofia-box strong {
  color: var(--cream);
  font-style: normal;
  font-weight: 600;
}

/* REDESIGN: Hero per pagine interne (centrato) */
.hero-inner {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
  padding: clamp(64px, 8vw, 100px) 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-inner h1 {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--cream);
  margin-bottom: 16px;
  font-weight: 600;
}
.hero-inner p {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  color: rgba(248,245,240,.75);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   BUTTONS / CTA
   ═══════════════════════════════════════════════════ */
/* REDESIGN: CTA con gold primario, outline secondario */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Primaria — gold con testo navy */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold);
  color: var(--navy);
}

/* Secondaria — outline su sfondo scuro */
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(248,245,240,.35);
  color: var(--cream);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184,153,106,.06);
}

/* WhatsApp */
.btn-wa {
  background: var(--verde);
  color: #fff;
}
.btn-wa:hover {
  background: var(--verde-h);
  box-shadow: 0 6px 24px rgba(37,211,102,.35);
  color: #fff;
}

/* Navy su sfondo chiaro */
.btn-navy {
  background: var(--navy);
  color: var(--cream);
}
.btn-navy:hover {
  background: var(--navy-light);
  box-shadow: var(--shadow);
  color: var(--cream);
}

/* ═══════════════════════════════════════════════════
   CREDENTIAL STRIP
   ═══════════════════════════════════════════════════ */
/* REDESIGN: Strip con sfondo navy scuro e accenti gold */
.cred-strip {
  background: var(--navy-deep);
  padding: 32px 24px;
  border-bottom: 1px solid rgba(184,153,106,.15);
}
.cred-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.cred-item {
  text-align: center;
  padding: 16px 20px;
  border-right: 1px solid rgba(184,153,106,.12);
}
.cred-item:last-child { border-right: none; }
.cred-ico {
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--gold);
}
/* QA FIX: Titoli credenziali più grandi e bold */
.cred-titolo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 4px;
}
.cred-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: rgba(248,245,240,.45);
  letter-spacing: .5px;
}

/* Credential cards (variante) */
.cred-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.cred-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
/* QA FIX: Icone più grandi, titoli bold e più grandi */
.cred-card .cred-ico { font-size: 42px; color: var(--gold); margin-bottom: 4px; }
.cred-card .cred-titolo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
}
.cred-card .cred-sub { font-size: 14px; color: var(--text-soft); line-height: 1.65; letter-spacing: 0; }

/* QA FIX: Layout cards credenziali chi-sono.html */
.cred-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 28px 0;
}
.cred-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}
.cred-card .cred-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.25;
}
.cred-card .cred-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .cred-cards { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   CARDS — Servizi, Tecnologie
   ═══════════════════════════════════════════════════ */
/* REDESIGN: Card con hover gold border + shadow elevation */
.serv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.serv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.serv-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.serv-card:focus-visible {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  outline: none;
}
/* ── Blog evidenza (homepage) ── */
.blog-evidenza-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.blog-evidenza-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  text-decoration: none;
  color: var(--testo);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.blog-evidenza-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  color: var(--testo);
}
.blog-evidenza-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold-dark);
  background: var(--cream);
  padding: 3px 10px;
  border-radius: 20px;
  align-self: flex-start;
}
.blog-evidenza-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
}
.blog-evidenza-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--testo-s);
}

.serv-ico {
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--gold);
}
.serv-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.serv-text {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.7;
}

/* QA FIX: Content grids for inline-style replacement (mobile-safe) */
.content-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.content-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Tech cards */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.tech-card {
  background: rgba(184,153,106,.04);
  border: 1px solid rgba(184,153,106,.12);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: background .2s, border-color .2s;
}
.tech-card:hover {
  background: rgba(184,153,106,.08);
  border-color: rgba(184,153,106,.25);
}
.tech-card h3, .tech-card h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 600;
}
.tech-card p {
  font-size: 15px;
  color: var(--text-soft); /* FIX: era rgba(248,245,240,.72) — crema invisibile su sfondo chiaro */
  margin: 0;
  line-height: 1.65;
}
/* Variante tech-card su sfondo navy */
.bg-navy .tech-card p,
.bg-navy-deep .tech-card p {
  color: rgba(248,245,240,.72);
}

/* ═══════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════ */
/* REDESIGN: Citazioni grandi in Cormorant italic, virgolette gold */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: border-color .3s, box-shadow .3s;
}
.testi-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.testi-card:focus-visible {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  outline: none;
}
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 80px;
  line-height: 1;
  color: var(--gold-pale);
}
.testi-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  margin-top: 24px;
  font-style: italic;
}
.testi-name {
  margin-top: 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.testi-detail {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════
   FAQ ITEMS (chi-sono, contatti — formato aperto)
   ═══════════════════════════════════════════════════ */
/* QA FIX: Spaziatura generosa tra FAQ items */
.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
  line-height: 1.3;
}
.faq-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════════ */
/* REDESIGN: Accordion elegante con bordi gold */
.faq-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
details[open] {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
details:focus-visible {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  outline: none;
}
summary {
  list-style: none;
  padding: 20px 24px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background .15s;
  gap: 16px;
}
summary:hover { background: var(--cream); }
summary::-webkit-details-marker { display: none; }

.faq-ico {
  font-size: 20px;
  color: var(--gold);
  font-weight: 400;
  transition: transform .25s;
  flex-shrink: 0;
}
details[open] .faq-ico { transform: rotate(45deg); }

.faq-body {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════ */
/* REDESIGN: CTA con gradient navy e bottone gold */
.cta-banner {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: clamp(56px, 7vw, 100px) 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cta-banner h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--cream);
  margin-bottom: 16px;
  font-weight: 600;
}
.cta-banner p {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  color: rgba(248,245,240,.75);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   BREADCRUMB (sostituisce stili inline)
   ═══════════════════════════════════════════════════ */
.breadcrumb {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb > div { max-width: 1100px; margin: 0 auto; }
.breadcrumb a {
  color: var(--gold-dark);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { margin: 0 6px; opacity: .5; }

/* ═══════════════════════════════════════════════════
   SOMMARIO / TABLE OF CONTENTS
   ═══════════════════════════════════════════════════ */
.sommario {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 24px 28px;
  margin: 32px 0;
}
.sommario-titolo {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.sommario-lista {
  list-style: none;
  counter-reset: sommario;
  padding: 0;
  margin: 0;
}
.sommario-lista li {
  counter-increment: sommario;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
}
.sommario-lista li:last-child { border: none; }
.sommario-lista li a {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color .2s;
}
.sommario-lista li a::before {
  content: counter(sommario);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  min-width: 20px;
}
.sommario-lista li a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════
   CTA INLINE (leggera, per inserimenti intermedi)
   ═══════════════════════════════════════════════════ */
.cta-inline {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 3px solid var(--verde);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-inline p {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  margin: 0;
  line-height: 1.5;
}
.cta-inline .btn { flex-shrink: 0; padding: 10px 20px; font-size: 14px; }

/* ═══════════════════════════════════════════════════
   LIBRO SECTION
   ═══════════════════════════════════════════════════ */
.libro-section {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 65%, var(--navy-light) 100%);
  padding: clamp(64px, 8vw, 100px) 24px;
  position: relative;
  overflow: hidden;
}
.libro-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(184,153,106,.08) 0%, transparent 70%);
  border-radius: 50%;
}
.libro-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.libro-cover-wrap { position: relative; }
.libro-cover-wrap img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  transform: rotate(-2deg);
  transition: transform .3s;
}
.libro-cover-wrap img:hover { transform: rotate(0) scale(1.02); }
.libro-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 5px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(184,153,106,.4);
  z-index: 1;
}
.libro-content .label { color: var(--gold); }
.libro-content h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  color: var(--cream);
  margin: 12px 0 18px;
  line-height: 1.2;
}
.libro-content h2 em { color: var(--gold); font-style: normal; }
.libro-content p { font-size: 16px; color: rgba(248,245,240,.78); margin-bottom: 12px; }
.libro-lista {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.libro-lista li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: rgba(248,245,240,.85);
}
.libro-lista li::before {
  content: '\2713';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.libro-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.libro-nota { font-size: 13px; color: rgba(248,245,240,.45); font-style: italic; }

/* ═══════════════════════════════════════════════════
   FILOSOFIA BOX (homepage)
   ═══════════════════════════════════════════════════ */
.fil-box {
  background: var(--navy);
  border-radius: 16px;
  padding: 56px 52px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 20px;
}
.fil-divider { background: rgba(184,153,106,.2); }
.fil-side h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  color: var(--cream);
  margin-bottom: 16px;
}
.fil-side p { font-size: 15px; color: rgba(248,245,240,.72); line-height: 1.75; }
.fil-side p + p { margin-top: 12px; }
.fil-label-wrong { color: #fca5a5; font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; display: block; }
.fil-label-right { color: #86efac; font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; display: block; }

/* ═══════════════════════════════════════════════════
   BIO GRID (Chi sono)
   ═══════════════════════════════════════════════════ */
.bio-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 20px;
}
.bio-foto {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.bio-foto img { width: 100%; height: auto; display: block; }

/* ═══════════════════════════════════════════════════
   GEO AUTHOR CARD — foto + link chi-sono nelle pagine geolocalizzate
   ═══════════════════════════════════════════════════ */
.geo-author {
  padding: clamp(40px, 5vw, 64px) 24px clamp(20px, 2.5vw, 32px);
  background: var(--cream);
}
.geo-author + .blk,
.geo-author + .blk-alt { padding-top: clamp(32px, 4vw, 56px); }
.geo-author-inner {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow);
}
.geo-author-foto {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease;
}
.geo-author-foto:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.geo-author-foto img {
  width: 100%;
  height: auto;
  display: block;
}
.geo-author-text { min-width: 0; }
.geo-author-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  font-weight: 600;
  margin: 0 0 8px;
}
.geo-author-nome {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3.2vw, 34px);
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.2;
  font-weight: 600;
}
.geo-author-role {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 14px;
}
.geo-author-bio {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 18px;
}
.geo-author-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.geo-author-link:hover {
  color: var(--gold-dark);
  border-color: var(--gold-dark);
}
@media (max-width: 720px) {
  .geo-author-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 24px;
    text-align: center;
  }
  .geo-author-foto {
    max-width: 200px;
    margin: 0 auto;
  }
  .geo-author-link { justify-content: center; }
}

.cred-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 32px;
}
.cred-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
}
.cred-list li::before {
  content: '\2726';
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ═══════════════════════════════════════════════════
   CASI CLINICI / PRIMA-DOPO
   ═══════════════════════════════════════════════════ */
.casi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ═══════════════════════════════════════════════════
   STEP LIST (percorso terapeutico)
   ═══════════════════════════════════════════════════ */
.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(184,153,106,.2);
}
.step-body h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px; /* FIX: era 18px — troppo vicino al body (15px DM Sans), gerarchia rotta */
  color: var(--navy);
  margin-bottom: 6px;
  font-weight: 600;
}
.step-body p { font-size: 15px; color: var(--text-soft); line-height: 1.7; }

/* ═══════════════════════════════════════════════════
   SEGNALI DI ALLARME
   ═══════════════════════════════════════════════════ */
.segnali-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.segnale-card {
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 15px;
  color: #7f1d1d;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.segnale-card .s-ico { font-size: 20px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════
   CONTATTI
   ═══════════════════════════════════════════════════ */
.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 16px;
}
.contatti-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color .2s;
}
.contatti-card:hover { border-color: var(--gold); }
.contatti-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 16px;
  font-weight: 600;
}
.contatti-card p { font-size: 15px; color: var(--text-soft); margin-bottom: 12px; line-height: 1.7; }
.contatti-card p strong { color: var(--text); }

.info-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.info-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-soft); }
.info-list li .ico { font-size: 20px; flex-shrink: 0; color: var(--gold); }

.messaggio-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.messaggio-list li {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-style: italic;
  color: var(--text-soft);
}

.orari-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-top: 24px;
}
.orari-box h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 600;
}
.orari-box p { font-size: 15px; color: var(--text-soft); line-height: 1.8; }

/* ═══════════════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════════════ */
/* REDESIGN: Breadcrumb con sfondo cream */
.breadcrumb {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb .wrap { padding: 0; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb .sep { margin: 0 8px; opacity: .4; }

/* ═══════════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
   ═══════════════════════════════════════════════════ */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 9999; }
.wa-float a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--verde);
  color: #fff;
  padding: 14px 22px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 28px rgba(37,211,102,.4);
  transition: transform .2s, background .2s, box-shadow .2s;
}
.wa-float a:hover {
  transform: translateY(-2px);
  background: var(--verde-h);
  box-shadow: 0 10px 36px rgba(37,211,102,.5);
  color: #fff;
}
.wa-float svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
/* REDESIGN: Footer strutturato a 3 colonne con sfondo navy-deep */
footer {
  background: var(--navy-deep);
  color: rgba(248,245,240,.6);
  padding: 64px 24px 40px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.9;
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(184,153,106,.1);
  margin-bottom: 32px;
}
.footer-col h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  color: var(--cream);
  margin-bottom: 16px;
  font-weight: 600;
}
/* QA FIX: Testo footer più visibile */
.footer-col p { margin-bottom: 8px; color: rgba(248,245,240,.75); font-size: 14px; line-height: 1.7; }
.footer-col a { color: rgba(248,245,240,.8); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links li a { font-size: 14px; }
.footer-logo-nome {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 4px;
}
.footer-logo-sub {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
  font-size: 12px;
  color: rgba(248,245,240,.55);
  line-height: 1.8;
}
.footer-bottom a { color: rgba(248,245,240,.65); }
.footer-bottom a:hover { color: var(--gold); }

/* Footer semplice (fallback per pagine non ancora aggiornate) */
footer.footer-simple {
  text-align: center;
  padding: 40px 24px;
}
footer strong { color: var(--cream); }

/* Footer semplice — allineamento premium centrato (2026-06-05).
   :not(:has(.footer-grid)) esclude le pagine hub col footer a 3 colonne. */
footer:not(:has(.footer-grid)) { text-align: center; }
footer:not(:has(.footer-grid)) > p { max-width: 720px; margin-left: auto; margin-right: auto; }
footer:not(:has(.footer-grid)) .legal-line {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid rgba(184,153,106,.16);
  padding-top: 16px;
}
footer a { color: rgba(248,245,240,.8); text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════ */
/* REDESIGN: Animazioni native CSS con Intersection Observer */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .3s; }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════
   HIGHLIGHT BOX
   ═══════════════════════════════════════════════════ */
.highlight-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 24px 0;
}
.highlight-box p { margin: 0; font-size: 17px; color: var(--text); line-height: 1.65; }
.highlight-box strong { color: var(--navy); }

/* ═══════════════════════════════════════════════════
   PUB CARDS
   ═══════════════════════════════════════════════════ */
.pub-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 14px;
  transition: border-color .2s;
}
.pub-card:hover { border-color: var(--gold); }
.pub-card h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 600;
}
.pub-card p { font-size: 15px; color: var(--text-soft); line-height: 1.7; margin: 0; }

/* ═══════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -50px;
  left: 0;
  background: var(--navy);
  color: var(--cream);
  padding: 10px 20px;
  z-index: 10000;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  transition: top .2s;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ═══════════════════════════════════════════════════
   BREADCRUMB — Navigazione gerarchica visibile
═══════════════════════════════════════════════════ */
.breadcrumb {
  padding: 12px 0;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover {
  color: var(--gold);
}
.breadcrumb .sep {
  margin: 0 6px;
  color: var(--border);
}
.breadcrumb span:last-child {
  color: var(--text);
  font-weight: 500;
}

/* Focus visible per accessibilità */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* QA FIX: Riduzione animazioni per utenti sensibili al movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════
   TRUST STACK — Badge credenziali compatto
   ═══════════════════════════════════════════════════ */
.trust-stack {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.trust-stack-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
}
.trust-stack-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.trust-stack--light .trust-stack-item { color: var(--text); }
.trust-stack--light .trust-stack-ico {
  background: var(--cream);
  border: 1px solid var(--border);
}
.trust-stack--dark .trust-stack-item { color: var(--cream); }
.trust-stack--dark .trust-stack-ico {
  background: rgba(184,153,106,.15);
  border: 1px solid rgba(184,153,106,.3);
}

/* ═══════════════════════════════════════════════════
   HERO BRIDGE — Transizione visiva hero → contenuto
   ═══════════════════════════════════════════════════ */
.hero-bridge {
  height: 48px;
  background: linear-gradient(to bottom, var(--navy-deep) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
}
.scroll-hint {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .45;
  transition: opacity .4s;
}
.scroll-hint svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  stroke-width: 2;
  fill: none;
  animation: bounce-down 2s ease-in-out infinite;
}
@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
.scroll-hint.faded { opacity: 0; }

/* ═══════════════════════════════════════════════════
   TOC — Sommario pagina
   ═══════════════════════════════════════════════════ */
.toc {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 0 auto;
  max-width: var(--container-narrow);
}
.toc-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}
.toc-list {
  list-style: none;
  counter-reset: toc-counter;
}
.toc-list li {
  counter-increment: toc-counter;
  border-bottom: 1px solid var(--border-light);
}
.toc-list li:last-child { border-bottom: none; }
.toc-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  color: var(--text-soft);
  text-decoration: none;
  transition: color .2s;
}
.toc-list a:hover { color: var(--gold); }
.toc-list a::before {
  content: counter(toc-counter);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   INFO BOX VARIANTI
   ═══════════════════════════════════════════════════ */
.info-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 28px 0;
}
.info-box p { margin: 0; font-size: 16px; color: var(--text); line-height: 1.65; }
.info-box strong { color: var(--navy); }
.info-box--tip { border-left: 4px solid var(--verde); }
.info-box--warning { border-left: 4px solid var(--rosso-soft); }
.info-box--stat { border-left: 4px solid var(--gold); }

/* ═══════════════════════════════════════════════════
   BEFORE/AFTER GALLERY
   ═══════════════════════════════════════════════════ */
.ba-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.ba-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
}
.ba-card img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.ba-card figcaption {
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--text-soft);
  font-family: 'DM Sans', sans-serif;
}

/* ═══════════════════════════════════════════════════
   CTA INLINE — Call to action leggera intermedia
   ═══════════════════════════════════════════════════ */
.cta-inline {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin: 48px 0;
  text-align: center;
}
.cta-inline p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 16px;
  font-weight: 500;
}
.cta-inline .btn { margin-top: 8px; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-foto { max-width: 300px; margin: 0 auto; aspect-ratio: 1/1; }
  .bio-grid { grid-template-columns: 1fr; gap: 40px; }
  .bio-foto { max-width: 260px; margin: 0 auto; }
  .fil-box { grid-template-columns: 1fr; padding: 40px 28px; gap: 28px; }
  .fil-divider { height: 1px; width: 100%; }
  .libro-grid { grid-template-columns: 1fr; gap: 36px; }
  .libro-cover-wrap { max-width: 200px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .blog-evidenza-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  /* QA FIX: Force all inline content grids to single column on mobile */
  [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Nav mobile */
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 16px 20px 24px;
    gap: 4px;
    border-top: 1px solid rgba(184,153,106,.12);
    box-shadow: 0 12px 36px rgba(15,26,43,.35);
  }
  nav.open { display: flex; }
  nav a { font-size: 15px; padding: 12px 16px; }
  .hamburger { display: block; }

  /* Grid collapses */
  .serv-grid { grid-template-columns: 1fr !important; }
  .blog-evidenza-grid { grid-template-columns: 1fr !important; }
  .testi-grid { grid-template-columns: 1fr !important; }
  .casi-grid { grid-template-columns: 1fr !important; }
  .tech-grid { grid-template-columns: 1fr !important; }
  .contatti-grid { grid-template-columns: 1fr !important; }
  .cred-cards { grid-template-columns: 1fr !important; }
  .content-grid-2 { grid-template-columns: 1fr !important; }
  .content-grid-3 { grid-template-columns: 1fr !important; }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-item { border-right: none; border-bottom: 1px solid rgba(184,153,106,.08); }
  .cred-item:nth-child(3), .cred-item:nth-child(4) { border-bottom: none; }

  /* Typography scaling */
  body { font-size: 17px; }
  p, li { font-size: 16px; line-height: 1.8; }
  .h2, .type-section { font-size: 26px !important; }
  .h3, h3, h4 { font-size: 20px !important; }
  .label { font-size: 12px; }
  .testi-text { font-size: 17px; line-height: 1.75; }
  .testi-name { font-size: 14px; }
  .serv-title { font-size: 20px; }
  .step-body h4 { font-size: 20px !important; } /* FIX: era 18px, troppo vicino al body 16px */
  .step-body p { font-size: 15px; }
  summary { font-size: 16px; }
  .faq-body { font-size: 16px; line-height: 1.8; }
  .cta-banner p { font-size: 16px; }
  .hero-inner p { font-size: 16px; }
  footer { font-size: 14px; }

  /* Spacing mobile */
  .blk { padding: var(--section-pad-sm) 20px; }
  .hero { padding: clamp(56px, 8vw, 80px) 20px; }
  .hero-inner { padding: clamp(48px, 6vw, 72px) 20px; }

  /* WA float — icon only on mobile */
  .wa-float a .wa-label { display: none; }
  .wa-float a { padding: 16px; border-radius: 50%; }

  /* Trust stack mobile */
  .trust-stack { gap: 16px; }
  .trust-stack-item { font-size: 12.5px; }
  .trust-stack-ico { width: 30px; height: 30px; font-size: 14px; }

  /* TOC mobile */
  .toc { padding: 20px; }
  .toc-title { font-size: 18px; }
  .toc-list a { font-size: 13.5px; padding: 8px 2px; }

  /* BA gallery mobile */
  .ba-gallery { grid-template-columns: 1fr; }

  /* CTA inline mobile */
  .cta-inline { padding: 24px 20px; }
  .cta-inline p { font-size: 19px; }
}

/* Small mobile */
@media (max-width: 375px) {
  .hdr { padding: 0 16px; }
  .wrap { padding: 0 16px; }
  .blk { padding: var(--section-pad-sm) 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   GLOSSARIO PARODONTALE — Stili dedicati
   ═══════════════════════════════════════════════════════════════ */

/* Hero glossario */
.glossario-hero {
  text-align: center;
  padding: var(--section-pad) 20px var(--section-pad-sm);
  background: var(--cream);
}
.glossario-hero h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  margin-bottom: 16px;
}
.glossario-hero .hero-sub {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 680px;
  margin: 0 auto 20px;
  line-height: 1.7;
}
.glossario-hero .hero-cred {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 auto 16px;
  max-width: 600px;
}
.glossario-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
}

/* Navigazione alfabetica sticky */
.alpha-nav-sticky {
  position: sticky;
  top: 60px;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: 0 2px 12px rgba(26,41,64,.06);
}
.alpha-nav-sticky .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.alpha-nav-sticky a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: all .2s;
}
.alpha-nav-sticky a:hover {
  background: var(--cream);
  color: var(--gold);
}
.alpha-nav-sticky a.active {
  background: var(--navy);
  color: var(--white);
}
.alpha-nav-sticky a.disabled {
  color: var(--border);
  pointer-events: none;
  cursor: default;
}

/* Barra di ricerca glossario */
.glossario-search {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px;
}
.glossario-search input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}
.glossario-search input:focus {
  border-color: var(--gold);
}
.glossario-search input::placeholder {
  color: var(--text-muted);
}
.glossario-search .search-icon {
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}
.glossario-no-results {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
  font-size: 16px;
  display: none;
}

/* Griglia termini */
.glossario-section {
  padding: 40px 0 !important;
}
.glossario-section .wrap {
  max-width: var(--container);
}
.letter-group {
  margin-bottom: 48px;
}
.letter-group h2 {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
}
.section-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}
.letter-count {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: auto;
}
.glossary-grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

/* Card termine */
.term-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  transition: box-shadow .25s, border-color .25s;
}
.term-card:hover {
  box-shadow: var(--shadow);
  border-left-color: var(--navy);
}
.term-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.term-card .term-def {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 12px;
}
.term-card .term-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-right: 8px;
  margin-bottom: 8px;
}
.badge-diagnosi { background: #eef2ff; color: #4338ca; }
.badge-malattia { background: #fef2f2; color: #b91c1c; }
.badge-terapia { background: #f0fdf4; color: #15803d; }
.badge-implantologia { background: #fefce8; color: #a16207; }
.badge-anatomia { background: #f5f3ff; color: #7c3aed; }
.badge-igiene { background: #ecfeff; color: #0e7490; }
.badge-formazione { background: #fdf4ff; color: #a21caf; }

.term-card .see-also {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  margin-top: 4px;
  transition: color .2s;
}
.term-card .see-also:hover {
  color: var(--navy);
}
.term-card .term-tldr {
  font-size: 14px;
  font-style: italic;
  color: var(--text-soft);
  margin-bottom: 12px;
  padding: 8px 12px;
  background: var(--cream);
  border-radius: var(--radius-sm);
}
.term-card .term-synonyms {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* CTA inline glossario */
.glossario-cta-inline {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 40px 0;
  text-align: center;
}
.glossario-cta-inline p {
  font-size: 17px;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.6;
}
.glossario-cta-inline .cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background .2s;
}
.glossario-cta-inline .cta-link:hover {
  background: var(--navy-light);
}

/* Footer glossario */
.glossario-footer-meta {
  text-align: center;
  padding: 24px 20px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
}

/* Responsive glossario */
@media (max-width: 768px) {
  .glossario-hero { padding: 56px 20px 40px; }
  .glossario-hero .hero-sub { font-size: 16px; }
  .alpha-nav-sticky { top: 0; padding: 8px 0; }
  .alpha-nav-sticky a { width: 30px; height: 30px; font-size: 15px; }
  .letter-group h2 { font-size: 26px; }
  .section-letter { width: 40px; height: 40px; font-size: 20px; }
  .term-card { padding: 20px; }
  .term-card h3 { font-size: 18px; }
  .glossario-cta-inline { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .alpha-nav-sticky a { width: 26px; height: 26px; font-size: 13px; border-radius: 6px; }
  .glossario-search input { font-size: 15px; padding: 12px 16px 12px 44px; }
}


/* ═══════════════════════════════════════════════════════════════
   GEO PAGES — Sezioni specifiche pagine geolocalizzate
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero geo: centrata, testo visibile su sfondo navy ── */
.hero {
  text-align: center;
}
.hero .tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero h1 {
  text-align: center;
}
.hero > p {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  color: rgba(248,245,240,.75);
  max-width: 680px;
  margin: 16px auto 28px;
  line-height: 1.7;
  text-align: center;
}
.hero-cta {
  display: inline-block;
  background: var(--verde);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .2s, box-shadow .2s;
  margin-bottom: 20px;
}
.hero-cta:hover {
  background: var(--verde-h);
  box-shadow: 0 6px 24px rgba(37,211,102,.35);
  color: #fff;
}

/* ── Titoli sezioni geo più grandi ── */
.blk h2, .blk-alt h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 20px;
}
.blk h3 {
  font-size: clamp(20px, 2.5vw, 26px);
  margin-bottom: 8px;
}

/* ── Cred-strip versione geo (chiara, dentro sezioni light) ── */
.blk .cred-strip,
.blk-alt .cred-strip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.blk .cred-strip .cred-item,
.blk-alt .cred-strip .cred-item {
  text-align: center;
  padding: 16px 12px;
  border-right: 1px solid var(--border-light);
}
.blk .cred-strip .cred-item:last-child,
.blk-alt .cred-strip .cred-item:last-child { border-right: none; }
.blk .cred-strip .cred-titolo,
.blk-alt .cred-strip .cred-titolo {
  color: var(--navy);
}
@media (max-width: 768px) {
  .blk .cred-strip,
  .blk-alt .cred-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .blk .cred-strip .cred-item,
  .blk-alt .cred-strip .cred-item {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
  .blk .cred-strip .cred-item:nth-child(3),
  .blk .cred-strip .cred-item:nth-child(4),
  .blk-alt .cred-strip .cred-item:nth-child(3),
  .blk-alt .cred-strip .cred-item:nth-child(4) { border-bottom: none; }
}

/* ── Barra distanza ── */
.distanza-bar {
  background: var(--navy);
  color: rgba(255,255,255,.9);
  text-align: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.6;
}
.distanza-bar a { color: rgba(255,255,255,.85); }
.distanza-bar a:hover { color: #fff; }

/* ── Sezione Mappa Geo ── */
.geo-map {
  background: var(--cream);
  padding: var(--section-pad) 24px;
}
.geo-map-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.geo-map-inner h2 {
  text-align: center;
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 8px;
}
.geo-map-inner > p {
  text-align: center;
  color: var(--text-soft);
  font-size: 16px;
  margin-bottom: 48px;
}
.geo-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.geo-map-iframe {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.geo-map-iframe iframe {
  display: block;
  border: 0;
  width: 100%;
  height: 320px;
}
.geo-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: color .2s;
}
.geo-map-link:hover { color: var(--gold); }

/* Info card accanto alla mappa */
.geo-map-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.geo-map-info dl {
  margin: 0 0 28px;
}
.geo-map-info dt {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.geo-map-info dt:not(:first-child) {
  margin-top: 18px;
}
.geo-map-info dd {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
}
.geo-map-info dd a {
  color: var(--navy);
  font-weight: 700;
  transition: color .2s;
}
.geo-map-info dd a:hover { color: var(--verde); }

/* Griglia distanze */
.geo-distanze {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.geo-distanze-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.geo-distanze-item span {
  color: var(--text-soft);
}
.geo-distanze-item strong {
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
}

/* ── CTA Finale Geo ── */
.geo-cta-finale {
  background: var(--navy-deep);
  padding: clamp(56px, 7vw, 100px) 24px;
  text-align: center;
}
.geo-cta-box {
  max-width: 640px;
  margin: 0 auto;
}
.geo-cta-box h2 {
  color: #ffffff;
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 16px;
}
.geo-cta-box p {
  color: #ffffff;
  opacity: .85;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.geo-cta-box .btn-wa {
  display: inline-block;
  padding: 16px 40px;
  font-size: 17px;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .2s, box-shadow .2s;
}

/* ── Responsive Geo ── */
@media (max-width: 768px) {
  .geo-map-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .geo-map-info {
    padding: 24px 20px;
  }
  .geo-distanze {
    grid-template-columns: 1fr;
  }
  .geo-cta-finale {
    padding: 48px 20px;
  }
  .geo-cta-box .btn-wa {
    display: block;
    width: 100%;
    text-align: center;
  }
  .distanza-bar {
    font-size: 13px;
    padding: 10px 16px;
  }
}

/* ===== GEO PAGES — Sezioni mancanti ===== */

/* Alternating section background */
.blk-alt { background: var(--cream); }

/* Diff-box — riquadro differenze parodontologo */
.diff-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.diff-box h2 { margin-bottom: 16px; }
.diff-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.diff-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.7;
}
.diff-list li:last-child { border-bottom: none; }
.diff-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--verde);
  font-weight: 700;
  font-size: 16px;
}

/* Percorso-grid — step 1-2-3-4 */
.percorso-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.percorso-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.percorso-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.percorso-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--navy);
}
.percorso-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
}

/* FAQ section — geo pages */
.faq-section {
  padding: var(--section-pad) 24px;
  background: var(--white);
}
.faq-section h2 { text-align: center; margin-bottom: 40px; }
.faq-q {
  font-family: var(--font-heading);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  padding: 20px 0 8px;
}
.faq-a {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}
.faq-item:last-child .faq-a { border-bottom: none; }

/* Mobile responsive — nuove sezioni */
@media (max-width: 768px) {
  .percorso-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .diff-box { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .percorso-grid {
    grid-template-columns: 1fr;
  }
}

/* === TL;DR / "In 30 secondi" — AEO blocks === */
.tldr-box{
  background:#FFFFFF !important;
  border:1px solid #E8E0D5;
  border-left:5px solid #C9A96E;
  padding:28px 32px;
  margin:28px auto 36px;
  max-width:760px;
  border-radius:8px;
  box-shadow:0 10px 30px rgba(27,42,74,0.10), 0 2px 6px rgba(27,42,74,0.04);
  font-family:'DM Sans', system-ui, -apple-system, sans-serif;
  text-align:left !important;
  color:#1B2A4A !important;
}
.tldr-box .tldr-eyebrow{
  display:inline-block;
  font-size:11px;
  font-weight:600;
  letter-spacing:1.6px;
  text-transform:uppercase;
  color:#A07C4F !important;
  margin:0 0 10px;
  text-align:left !important;
}
.tldr-box .tldr-title{
  font-family:'Cormorant Garamond', Georgia, serif !important;
  font-size:26px;
  line-height:1.2;
  color:#1B2A4A !important;
  margin:0 0 18px;
  font-weight:600;
  text-align:left !important;
}
.tldr-box .tldr-list{
  margin:0;
  padding:0;
  list-style:none !important;
  text-align:left !important;
}
.tldr-box .tldr-list li{
  position:relative;
  padding:0 0 12px 24px;
  color:#1B2A4A !important;
  font-size:16px;
  line-height:1.6;
  text-align:left !important;
}
.tldr-box .tldr-list li:last-child{padding-bottom:0;}
.tldr-box .tldr-list li::before{
  content:"";
  position:absolute;
  left:2px;
  top:10px;
  width:8px;
  height:8px;
  background:#C9A96E;
  border-radius:50%;
}
@media (max-width:640px){
  .tldr-box{padding:22px 20px;margin:20px auto 28px;border-radius:6px;}
  .tldr-box .tldr-title{font-size:22px;margin-bottom:14px;}
  .tldr-box .tldr-list li{font-size:15px;padding-left:22px;}
  .tldr-box .tldr-eyebrow{font-size:10px;letter-spacing:1.4px;}
}

/* fix 2026-07-02: nav header più larga del container → il bottone WhatsApp sbordava a destra */
@media (min-width:769px){nav{flex-wrap:wrap;justify-content:flex-end;row-gap:2px}.hdr{max-width:1400px;height:auto;min-height:72px;padding-top:6px;padding-bottom:6px}}
@media (min-width:769px) and (max-width:1299px){nav a{font-size:12.5px;padding:6px 9px}.nav-wa{margin-left:6px;padding:7px 12px!important}}
