/* ===================================================================
   FABERWEB — Stile principale  ·  v3 "pulito" (approvato da Luca 11/11/2026)
   Molto bianco, titoli grandi, foto grandi con angoli arrotondati,
   pulsanti a pillola, animazioni leggere. Logo e colori Faberweb.
   Mobile first: le regole base valgono per il telefono, le media query
   (min-width) aggiungono il layout per schermi più grandi.
=================================================================== */

:root {
  /* Neutri */
  --white:      #FFFFFF;
  --bg-alt:     #F5F7FB;   /* grigio-azzurro chiarissimo per le sezioni alternate */
  --ink:        #0E1729;   /* testo principale */
  --ink-2:      #2A3650;   /* testo lungo, leggermente più morbido */
  --muted:      #56657F;   /* testo secondario: contrasto 5.6:1 sul bianco */
  --line:       #E4E9F3;

  /* Colori Faberweb */
  --blue:       #2B54D4;
  --blue-dark:  #1D3FB8;
  --brand:      #17A6E0;   /* azzurro del logo */
  --warm-ink:   #A9552A;   /* terracotta scurita: per testo e pulsanti (contrasto 5.2:1) */
  --warm-soft:  #FBE9DC;
  --navy:       #0E1628;

  --radius-sm:  14px;
  --radius:     22px;
  --radius-lg:  30px;
  --ease:       cubic-bezier(.22, .61, .36, 1);

  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;

  --header-h:   64px;
  --sezione:    clamp(72px, 11vw, 140px);   /* respiro verticale delle sezioni */

  /* Nomi usati anche dall'area riservata (foglio di stile in area-riservata): non rimuovere */
  --bg:         var(--bg-alt);
  --bg-soft:    #EDF1F7;
  --card:       #FFFFFF;
  --shadow:     0 2px 6px rgba(14, 23, 41, .04), 0 16px 40px rgba(14, 23, 41, .07);
  --warm-dark:  var(--warm-ink);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { color-scheme: light; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;           /* 17px */
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;               /* rete di sicurezza: mai scroll orizzontale */
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
  overflow-wrap: break-word;      /* parole lunghe su schermi stretti */
}
p { text-wrap: pretty; }

/* Focus ben visibile da tastiera */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap      { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap-wide { width: min(1360px, 100% - 24px); margin-inline: auto; }
.wrap-text { width: min(760px, 100% - 40px); margin-inline: auto; }

.section      { padding-block: var(--sezione); }
.section--alt { background: var(--bg-alt); }
.center       { text-align: center; }

/* ===== Tipografia ===== */
.eyebrow {
  display: block; font-family: var(--font-sans); font-weight: 600; font-size: .95rem;
  letter-spacing: .01em; color: var(--warm-ink); margin-bottom: 12px;
}
.title-xl   { font-size: clamp(2.5rem, 8vw, 5rem); letter-spacing: -0.04em; line-height: 1.03; }
.title-page { font-size: clamp(2.1rem, 6.4vw, 4rem); letter-spacing: -0.035em; max-width: 20ch; margin-inline: auto; }
.title-l    { font-size: clamp(2rem, 5.6vw, 3.6rem); letter-spacing: -0.035em; }
.title-m    { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.lead {
  font-size: clamp(1.12rem, 2.2vw, 1.4rem); line-height: 1.45; color: var(--muted);
  max-width: 40ch; margin: 18px auto 0;
}
.lead a { color: var(--blue); font-weight: 600; }
.lead-left { margin-left: 0; }
.gradient-text {
  background: linear-gradient(110deg, var(--blue), var(--brand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Pulsanti a pillola ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer; text-align: center;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary  { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline  { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-light    { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--warm-soft); }
.btn-wa       { background: #1E8E4E; color: #fff; }
.btn-wa:hover { background: #17733F; }
.btn-block    { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.btn-row--left { justify-content: flex-start; }

/* Link testuale con freccetta */
.link-more {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--blue); font-weight: 600; font-size: 1rem;
}
.link-more::after { content: "›"; font-size: 1.25em; line-height: 1; transition: transform .2s var(--ease); }
.link-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-more:hover::after { transform: translateX(3px); }

/* ===================================================================
   HEADER
=================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.site-header.scrolled { border-color: var(--line); background: rgba(255, 255, 255, .92); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 28px; width: auto; }

/* --- Telefono e tablet: menu a pannello --- */
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none; border: none; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  background: #fff; border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 8px 0 18px;
  transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .3s var(--ease), opacity .3s, visibility .3s;
}
.main-nav.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
.main-nav > a, .has-sub > a {
  display: block; padding: 14px 24px; font-family: var(--font-display); font-weight: 600;
  font-size: 1.15rem; letter-spacing: -0.01em; color: var(--ink);
}
.main-nav > a { border-bottom: 1px solid var(--line); }
.main-nav a.active { color: var(--blue); }

.has-sub { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
.has-sub > a { flex: 1; }
.sub-toggle {
  width: 52px; height: 48px; display: grid; place-items: center; background: none; border: none;
  cursor: pointer; color: var(--muted); font-size: 1rem; transition: transform .2s, color .15s;
}
.has-sub.open .sub-toggle { transform: rotate(180deg); color: var(--blue); }
.sub-menu {
  width: 100%; max-height: 0; overflow: hidden; background: var(--bg-alt);
  transition: max-height .3s var(--ease);
}
.has-sub.open .sub-menu { max-height: 560px; }
.sub-menu a { display: block; padding: 12px 36px; font-size: .98rem; color: var(--ink-2); }
.sub-menu a:hover { color: var(--blue); }

.nav-remote {
  margin: 16px 24px 0; padding: 13px 22px !important; border-radius: 999px; text-align: center;
  background: var(--warm-ink); color: #fff !important; border-bottom: none !important;
  font-family: var(--font-sans) !important; font-size: 1rem !important;
}
.nav-remote:hover { background: #8E4521; }

/* ===================================================================
   HERO (home e pagine interne): fondo bianco, titolo grande, foto sotto
=================================================================== */
.hero { padding-top: clamp(48px, 9vw, 112px); text-align: center; }
.hero .lead { max-width: 34ch; }
.hero--page { padding-top: clamp(28px, 5vw, 56px); }
.hero--page .lead { max-width: 50ch; }
.hero-media { margin-top: clamp(40px, 6vw, 72px); }
.hero-media img {
  width: 100%; height: clamp(240px, 48vw, 640px); object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Percorso (breadcrumb) delle pagine interne */
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: clamp(22px, 4vw, 36px); }
.breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; list-style: none; }
.breadcrumb li + li::before { content: "›"; margin: 0 8px; opacity: .7; }
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink-2); }

/* Intestazione di sezione */
.section-head { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .lead { max-width: 52ch; }

/* ===================================================================
   HOME
=================================================================== */
/* --- Settori: griglia di schede con foto --- */
.tiles { display: grid; grid-template-columns: 1fr; gap: 20px; }
.tile {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg-alt); border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(14, 23, 41, .10); }
.tile-img { aspect-ratio: 16 / 10; overflow: hidden; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile-body { display: flex; flex-direction: column; gap: 8px; padding: 24px 26px 28px; flex: 1; }
.tile h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.tile p { color: var(--muted); font-size: 1rem; }
.tile .link-more { margin-top: auto; padding-top: 6px; }
/* tutta la scheda è cliccabile */
.tile .link-more::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
/* etichetta a pillola (anche sulle formule in evidenza) */
.tile-tag {
  align-self: flex-start; font-size: .78rem; font-weight: 600; color: var(--blue);
  background: rgba(43, 84, 212, .08); padding: 4px 10px; border-radius: 999px;
}

/* --- Competenze: elenco pulito a griglia --- */

/* --- Passi numerati (home, industria, siti web) --- */
.steps { display: grid; grid-template-columns: 1fr; gap: 36px; list-style: none; }
.step { text-align: left; }
.step-n {
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 3rem;
  letter-spacing: -0.04em; line-height: 1; margin-bottom: 14px;
  background: linear-gradient(110deg, var(--blue), var(--brand));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 1.25rem; margin-bottom: 6px; letter-spacing: -0.02em; }
.step p { color: var(--muted); }
.steps + .duo { margin-top: clamp(48px, 7vw, 80px); }

/* --- Vetrine dei servizi (Informatica, Grafica, Siti) --- */
.showcase { text-align: center; }
.showcase .lead { max-width: 46ch; }
.showcase-media { margin-top: clamp(36px, 5vw, 60px); }
.showcase-media img {
  width: 100%; height: clamp(220px, 44vw, 560px); object-fit: cover; border-radius: var(--radius-lg);
}
/* elenco dei servizi sotto la foto, allineato a sinistra */
.showcase-list { text-align: left; max-width: 920px; margin: clamp(32px, 5vw, 52px) auto 0; }
.showcase-claim { margin-top: 26px; font-weight: 600; color: var(--ink); }

/* --- Chi siamo --- */
.since {
  margin-top: clamp(40px, 6vw, 64px); text-align: center; color: var(--muted);
}
.since strong {
  display: block; font-family: var(--font-display); font-size: clamp(3.4rem, 10vw, 6rem);
  letter-spacing: -0.05em; line-height: 1; color: var(--ink); margin-bottom: 8px;
}
.since a { color: var(--blue); font-weight: 600; }
.since a:hover { text-decoration: underline; }

/* ===================================================================
   SCHEDE E BLOCCHI DELLE PAGINE INTERNE
=================================================================== */
/* Schede semplici: titolo + testo (anche i valori della home) */
.cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.value, .card { background: var(--bg-alt); border-radius: var(--radius); padding: 30px 28px; }
.section--alt .value, .section--alt .card { background: #fff; }
.value h3, .card h3 { font-size: 1.25rem; margin-bottom: 8px; letter-spacing: -0.02em; }
.value p, .card p { color: var(--muted); }
.card { display: flex; flex-direction: column; }
.card .link-more { margin-top: auto; padding-top: 14px; }
.card-result {
  align-self: flex-start; margin-top: auto; padding: 5px 12px; border-radius: 999px;
  background: var(--warm-soft); color: var(--warm-ink); font-size: .85rem; font-weight: 600;
}
.card p + .card-result { margin-top: 16px; }

/* Nota centrata sotto un blocco */
.note { text-align: center; color: var(--muted); max-width: 62ch; margin: clamp(32px, 5vw, 48px) auto 0; }
.note strong { color: var(--ink-2); }

/* Blocco di testo centrato (titolo + paragrafi) */
.intro { text-align: center; }
.intro p { color: var(--muted); font-size: clamp(1.06rem, 1.8vw, 1.18rem); line-height: 1.65; margin-top: 1.1em; }
.intro h2 + p { margin-top: 24px; }
.intro strong { color: var(--ink-2); }

.note a, .intro a, .panel a:not(.btn), .split-text a:not(.btn), .value a {
  color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}

/* Due colonne affiancate */
.duo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.cards + .duo { margin-top: clamp(40px, 6vw, 64px); }

/* Riquadro con titolo ed elenco */
.panel { background: var(--bg-alt); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); }
.section--alt .panel { background: #fff; }
.panel + .panel { margin-top: 16px; }
.panel h3 { font-size: clamp(1.35rem, 2.6vw, 1.65rem); letter-spacing: -0.025em; margin-bottom: 12px; }
.panel > p { color: var(--muted); margin-bottom: 20px; }
.panel > h3 + .check-list { margin-top: 18px; }

/* Elenco puntato pulito */
.check-list { display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 28px; color: var(--ink-2); }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--brand));
}
.check-list strong { color: var(--ink); font-weight: 600; }

/* Schede di servizio per tipo di cliente (Informatica) */
.client-head { margin-bottom: 24px; }
.client-head h3 { margin-bottom: 4px; }
.client-sub { color: var(--warm-ink); font-weight: 600; font-size: .95rem; }
.client-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }

/* Formule e soluzioni con prezzo o preventivo */
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  background: var(--bg-alt); border: 1.5px solid transparent; border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 38px) clamp(24px, 3.4vw, 32px);
}
.section--alt .plan { background: #fff; }
.plan--top { border-color: var(--blue); }
.plan h3 { font-size: 1.6rem; letter-spacing: -0.025em; }
.plan-claim { color: var(--warm-ink); font-weight: 600; }
.plan .check-list { margin: 16px 0 26px; }
.plan-price { margin-top: auto; margin-bottom: 16px; font-weight: 600; color: var(--ink); }
.plan-price--big { font-family: var(--font-display); font-weight: 800; font-size: 2.3rem; letter-spacing: -0.03em; line-height: 1.1; }
.plan-price--big span { font-family: var(--font-sans); font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plans + .panel { margin-top: 20px; }

/* Testo + illustrazione affiancati */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.split-text p { color: var(--muted); font-size: 1.06rem; margin-top: 16px; }
.split-text strong { color: var(--ink-2); }
.split-visual {
  display: grid; place-items: center; height: clamp(240px, 36vw, 360px); overflow: hidden;
  border-radius: var(--radius-lg); background: radial-gradient(circle at 30% 30%, rgba(43, 84, 212, .22), transparent 60%), var(--navy);
}
.split-visual svg { width: min(80%, 330px); height: auto; display: block; }

/* Strumenti di assistenza (supporto tecnico) */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 12px; max-width: 920px; margin-inline: auto; }
.tool-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--bg-alt); border: 1px solid transparent; border-radius: var(--radius);
  padding: 18px 20px 18px 24px; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.section--alt .tool-card { background: #fff; }
.tool-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(14, 23, 41, .08); }
.tool-txt { font-weight: 600; color: var(--ink); line-height: 1.4; }
.tool-go {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 1rem;
}

/* Parete dei loghi (portfolio) */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 14px; }
.logo-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  min-height: 168px; padding: 28px 22px 20px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.logo-cell img {
  max-width: 100%; max-height: 78px; width: auto; height: auto; object-fit: contain;
  /* in bianco e nero, a colori al passaggio del mouse */
  filter: grayscale(1); opacity: .85; transition: filter .3s, opacity .3s;
}
.logo-cell figcaption { font-size: .82rem; color: var(--muted); text-align: center; }
.logo-cell:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 14px 30px rgba(14, 23, 41, .08); }
.logo-cell:hover img { filter: none; opacity: 1; }

/* Crediti immagini */
.credits-list { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.credits-list li { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 18px; }
.credits-list li > div { min-width: 0; }
.credits-thumb { flex: none; width: 92px; height: 92px; object-fit: cover; border-radius: var(--radius-sm); }
.credits-list strong { display: block; color: var(--ink); overflow-wrap: anywhere; }
.credits-list p { color: var(--muted); font-size: .95rem; margin: 4px 0 12px; }
.credits-btn { min-height: 40px; padding: 8px 18px; font-size: .9rem; }

/* Strumenti di intelligenza artificiale (crediti) */
.ai-tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 760px; margin-inline: auto; }
.ai-tools .value { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }

/* Pagine correlate */
.related { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.related a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--bg-alt); border: 1px solid transparent; border-radius: var(--radius);
  padding: 20px 24px; font-weight: 600; color: var(--ink);
  transition: border-color .2s, transform .2s var(--ease);
}
.section--alt .related a { background: #fff; }
.related a:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.related a span { color: var(--blue); }

/* Fascia finale scura con invito all'azione */
.cta-band { background: var(--navy); color: #fff; text-align: center; padding-block: var(--sezione); }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255, 255, 255, .78); max-width: 46ch; }

/* ===================================================================
   CONTATTI + MODULO (home e pagina contatti)
=================================================================== */
.contact { background: var(--bg-alt); padding-block: var(--sezione); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
.contact-list { margin-top: 28px; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list small { font-size: .82rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-list a { color: var(--blue); font-weight: 600; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }

.contact-form { background: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: 0 2px 6px rgba(14, 23, 41, .04), 0 24px 60px rgba(14, 23, 41, .08); }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
.contact-form label.campo { display: block; }
.campo span { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea {
  width: 100%; padding: 13px 16px; border: 1px solid #CDD5E3; border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  transition: border-color .18s, box-shadow .18s;
}
.contact-form textarea { resize: vertical; min-height: 120px; margin-bottom: 14px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43, 84, 212, .18); }
.form-privacy { display: flex; align-items: flex-start; gap: 11px; margin: 4px 0 18px; cursor: pointer; }
.form-privacy input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); }
.form-privacy span { font-size: .9rem; color: var(--muted); line-height: 1.5; }
/* Cloudflare Turnstile nei moduli di contatto */
.cf-turnstile { max-width: 100%; }
.form-turnstile { margin: 0 0 16px; min-height: 65px; }
.form-note { text-align: center; font-size: .86rem; color: var(--muted); margin-top: 12px; }
/* Campo trappola anti-spam: nascosto agli occhi ma presente nel modulo,
   così i robot lo compilano e si tradiscono. Niente display:none. */
.campo-trappola { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===================================================================
   FOOTER (uguale in tutte le pagine)
=================================================================== */
.site-footer { background: #EDF1F7; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; padding-top: clamp(16px, 3vw, 32px); }
/* I pulsanti grandi Guide / Zone servite sono pronti nel CSS del prototipo
   (cartella prototipo): si aggiungono qui quando le pagine esistono. */
.footer-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 34px; }
.footer-brand .logo img { height: 30px; }
.footer-brand p { margin-top: 14px; max-width: 300px; }
.trustpilot-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  background: #00804F; color: #fff; font-weight: 600; font-size: .88rem;
  padding: 10px 16px; border-radius: 999px; transition: background .2s;
}
.trustpilot-btn:hover { background: #006B42; }
.footer-col h2 {
  font-family: var(--font-sans); font-size: .82rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink); margin-bottom: 14px;
}
.footer-col a, .footer-col span { display: block; padding: 4px 0; color: var(--muted); overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--blue); }
/* numeri di telefono: aprono WhatsApp e si illuminano di verde (Luca, 11/11/2026) */
.tel-wa { transition: color .2s, text-shadow .2s; }
a.tel-wa:hover, a.tel-wa:focus-visible, a.tel-wa:active {
  color: #1E8E4E; text-decoration: none; text-shadow: 0 0 12px rgba(37, 211, 102, .45);
}
.footer-legal { border-top: 1px solid var(--line); padding: 22px 0; font-size: .82rem; line-height: 1.7; }
.footer-legal strong { color: var(--ink-2); }
.footer-legal a, .footer-bottom a { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0 26px; font-size: .84rem; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }

/* ===================================================================
   MODALE VIDEO (home)
=================================================================== */
/* Etichetta di trasparenza AI sul video (AI Act UE) */

/* ===================================================================
   ANIMAZIONI LEGGERE ALLO SCORRIMENTO
   Attive solo se il JS è caricato (classe aggiunta su <html> nel head)
   e se l'utente non ha chiesto di ridurre il movimento.
=================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal-zoom { opacity: 0; transform: scale(.96); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
  .js .reveal-zoom.is-visible { opacity: 1; transform: none; }
  .js .reveal[data-delay="1"] { transition-delay: .08s; }
  .js .reveal[data-delay="2"] { transition-delay: .16s; }
  .js .reveal[data-delay="3"] { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* ===================================================================
   SCHERMI PIÙ GRANDI
=================================================================== */
@media (min-width: 600px) {
  .tiles, .cards, .ai-tools { grid-template-columns: repeat(2, 1fr); }
  .tile--wide { grid-column: span 2; }
  .tile--wide .tile-img { aspect-ratio: 33 / 10; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .client-cols, .check-list--2 { grid-template-columns: 1fr 1fr; }
  .client-cols { gap: 26px 44px; }
  .check-list--2 { gap: 12px 44px; }
  .plans--2 { grid-template-columns: repeat(2, 1fr); }
  .related { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 901px) {
  :root { --header-h: 68px; }

  /* Menu orizzontale */
  .nav-toggle { display: none; }
  .main-nav {
    position: static; flex-direction: row; align-items: center; gap: 26px;
    max-height: none; overflow: visible; padding: 0; background: none; border: none;
    transform: none; opacity: 1; visibility: visible; pointer-events: auto;
  }
  .main-nav > a, .has-sub > a {
    padding: 6px 0; border: none; font-family: var(--font-sans); font-weight: 500;
    font-size: .92rem; letter-spacing: 0; color: var(--ink-2);
  }
  .main-nav > a:hover, .has-sub > a:hover { color: var(--blue); }
  .main-nav a.active { color: var(--blue); font-weight: 600; }
  .has-sub { position: relative; flex-wrap: nowrap; gap: 2px; border: none; }
  .sub-toggle { width: 22px; height: 28px; font-size: .62rem; }
  .has-sub::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 18px; }
  .sub-menu {
    position: absolute; top: calc(100% + 16px); left: -18px; width: auto; min-width: 260px; max-height: none;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px;
    box-shadow: 0 24px 60px rgba(14, 23, 41, .14);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s, transform .2s var(--ease), visibility .2s;
  }
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.open .sub-menu { opacity: 1; visibility: visible; transform: none; }
  .has-sub.open .sub-menu { max-height: none; }
  .sub-menu a { padding: 10px 14px; border-radius: 10px; font-size: .93rem; white-space: nowrap; }
  .sub-menu a:hover { background: var(--bg-alt); }
  .nav-remote { margin: 0; padding: 9px 18px !important; font-size: .9rem !important; }

  .tiles, .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .cards--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .ai-tools { grid-template-columns: repeat(2, 1fr); }
  .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .plans { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .plans--2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-inline: auto; }
  .plans--2 + .panel { max-width: 900px; margin-inline: auto; }
  .split { grid-template-columns: 1.05fr 1fr; gap: 64px; }
  .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 64px; }
  .footer-cols { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
}

/* fascia stretta del menu orizzontale: si compatta invece di andare a capo */
@media (min-width: 901px) and (max-width: 1100px) {
  .main-nav { gap: 16px; }
  .main-nav > a, .has-sub > a { font-size: .86rem; }
  .nav-remote { padding: 8px 14px !important; font-size: .84rem !important; }
  .logo img { height: 24px; }
}

/* ===================================================================
   TABELLE DI CONFRONTO, FAQ, PASSI SU TRE COLONNE
=================================================================== */
.table-wrap { overflow-x: auto; margin-top: clamp(32px, 5vw, 48px); border-radius: var(--radius); background: #fff; }
.table-wrap + .cards { margin-top: clamp(32px, 5vw, 48px); }
.table-cmp { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 520px; }
.table-cmp caption { text-align: left; font-family: var(--font-display); font-weight: 700; color: var(--ink); padding: 20px 22px 6px; }
.table-cmp th, .table-cmp td { text-align: left; vertical-align: top; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.table-cmp thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table-cmp tbody th { color: var(--ink); font-weight: 600; }
.table-cmp td { color: var(--ink-2); }
.table-cmp tr:last-child th, .table-cmp tr:last-child td { border-bottom: none; }

.faq { display: grid; gap: 10px; margin-top: 1.4em; }
.faq details { background: #fff; border-radius: 14px; }
.section:not(.section--alt) .faq details { background: var(--bg-alt); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; position: relative;
  font-family: var(--font-display); font-weight: 700; color: var(--ink); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  background: var(--bg-alt); color: var(--blue); font-weight: 600;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--ink-2); }

@media (min-width: 901px) {
}

/* ===================================================================
   VIDEO ANIMATI (js/video-animato.js)
=================================================================== */
.wm-film { max-width: 1040px; margin: 0 auto; }
.wm-stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.wm-svg { display: block; width: 100%; height: auto; }
.wm-svg text { font-family: var(--font-sans); }
.wm-svg .t-d { font-family: var(--font-display); font-weight: 800; }
.wm-svg * { transform-box: fill-box; transform-origin: center; }
.wm-svg .sc { display: none; }
.wm-svg .sc.on { display: inline; }

.wm-caption {
  position: absolute; left: 50%; bottom: clamp(10px, 2.4vw, 22px); transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 24px); padding: 8px 16px; border-radius: 14px;
  background: rgba(14, 22, 40, .86); color: #fff; text-align: center;
  font-size: clamp(.82rem, 1.7vw, 1.05rem); line-height: 1.4;
}
.wm-caption:empty { display: none; }

.wm-start {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 16px;
  border: 0; cursor: pointer; background: rgba(255, 255, 255, .55); backdrop-filter: blur(2px);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.05rem, 2.6vw, 1.5rem); color: var(--ink); text-align: left;
}
.wm-start small { display: block; font-family: var(--font-sans); font-weight: 500; font-size: .62em; color: var(--muted); margin-top: 2px; }
.wm-start-ico {
  width: clamp(58px, 9vw, 84px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; box-shadow: 0 10px 30px rgba(43, 84, 212, .35); transition: transform .2s;
}
.wm-start:hover .wm-start-ico { transform: scale(1.07); }
.wm-film.is-started .wm-start { display: none; }

.wm-bar { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.wm-btn {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--ink); display: grid; place-items: center; cursor: pointer;
}
.wm-btn:hover { border-color: var(--blue); color: var(--blue); }
.wm-toggle .ico-pause, .wm-film.is-playing .wm-toggle .ico-play { display: none; }
.wm-film.is-playing .wm-toggle .ico-pause { display: block; }
.wm-sound .ico-off, .wm-film.is-muted .wm-sound .ico-on { display: none; }
.wm-film.is-muted .wm-sound .ico-off { display: block; }

.wm-chapters { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; list-style: none; }
.wm-chapters button {
  position: relative; width: 100%; min-height: 44px; border: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0; text-align: left;
  font-size: .78rem; color: var(--muted);
}
.wm-chapters button::before { content: ""; display: block; height: 4px; border-radius: 2px; background: var(--line); }
.wm-fill { position: absolute; left: 0; top: calc(50% - 2px); height: 4px; width: 0; border-radius: 2px; background: var(--blue); }
.wm-chapters button[aria-current="step"] { color: var(--ink); font-weight: 600; }
.wm-ch { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wm-transcript { margin-top: 14px; text-align: center; }
.wm-transcript summary { cursor: pointer; color: var(--blue); font-weight: 600; font-size: .95rem; }
.wm-transcript ol { text-align: left; max-width: 62ch; margin: 16px auto 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--ink-2); }

@media (min-width: 901px) {
  .wm-chapters button { justify-content: flex-start; }
  .wm-chapters button::before { margin-top: 10px; }
  .wm-fill { top: 10px; }
  .wm-ch { position: static; width: auto; height: auto; clip: auto; overflow: hidden; text-overflow: ellipsis; }
}

/* animazioni delle scene: partono solo quando la scena è attiva (.on) */
@keyframes wm-drop   { from { transform: translateY(-90px); opacity: 0; } }
@keyframes wm-fade   { from { opacity: 0; } }
@keyframes wm-pop    { from { transform: scale(.6); opacity: 0; } }
@keyframes wm-float  { 50% { transform: translateY(-9px); } }
@keyframes wm-pulse  { 50% { transform: scale(1.18); } }
@keyframes wm-suck   { to { transform: translate(var(--dx), var(--dy)) scale(.15); opacity: 0; } }
@keyframes wm-ring   { from { transform: scale(.95); opacity: .9; } to { transform: scale(1.12); opacity: 0; } }
@keyframes wm-scan   { 0% { transform: translateY(0); opacity: 0; } 10%, 90% { opacity: 1; } 100% { transform: translateY(400px); opacity: 0; } }
@keyframes wm-chip   { 0% { transform: translateX(0); opacity: 0; } 15% { transform: translateX(0); opacity: 1; } 85% { transform: translateX(var(--dx)); opacity: 1; } 100% { transform: translateX(var(--dx)); opacity: 0; } }
@keyframes wm-draw   { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes wm-out    { to { opacity: 0; } }
@keyframes wm-into   { to { transform: translateX(var(--dx)) scale(.22); opacity: 0; } }
@keyframes wm-cursor { from { transform: translate(var(--dx), var(--dy)); opacity: 0; } 20% { opacity: 1; } }
@keyframes wm-ripple { 0% { transform: scale(.2); opacity: 0; } 10% { opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes wm-flow   { to { stroke-dashoffset: -52; } }

.sc.on .a-drop   { animation: wm-drop .7s var(--ease) var(--d, 0s) both; }
.sc.on .a-fade   { animation: wm-fade .7s ease var(--d, 0s) both; }
.sc.on .a-pop    { animation: wm-pop .7s var(--ease) var(--d, 0s) both; }
.sc.on .a-float  { animation: wm-float 3s ease-in-out var(--f, 0s) infinite; }
.sc.on .a-pulse  { animation: wm-pulse 1.2s ease-in-out var(--d, 0s) infinite; }
.sc.on .a-suck   { animation: wm-suck .9s cubic-bezier(.55, 0, .8, .4) var(--d, 0s) both; }
.sc.on .a-ring   { animation: wm-ring 1.4s ease-out var(--d, 0s) 2 both; }
.sc.on .a-scan   { animation: wm-scan 2.6s ease-in-out .5s both; }
.sc.on .a-chip   { animation: wm-chip 1.1s var(--ease) var(--d, 0s) both; }
.sc.on .a-draw   { stroke-dasharray: 1; animation: wm-draw .8s ease var(--d, 0s) both; }
.sc.on .a-out    { animation: wm-out .35s ease var(--d, 0s) both; }
.sc.on .a-into   { animation: wm-into 1s cubic-bezier(.55, 0, .6, 1) var(--d, 0s) both; }
.sc.on .a-cursor { animation: wm-cursor 1.2s var(--ease) var(--d, 0s) both; }
.sc.on .a-ripple { animation: wm-ripple .7s ease-out var(--d, 0s) both; }
.sc.on .a-flow   { animation: wm-flow 1s linear infinite; }
.a-chip, .a-ripple, .a-scan { opacity: 0; }
.wm-film.is-paused .wm-svg * { animation-play-state: paused !important; }
/* copertina (prima del clic): ultima scena ferma e completa */
.wm-film:not(.is-started) .wm-svg * { animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  .wm-svg * { animation: none !important; }
  .a-out, .a-into, .a-suck, .a-cursor { opacity: 0; }
}
/* sul telefono i sottotitoli vanno sotto il video, per non coprire le scene */
@media (max-width: 700px) {
  .wm-stage { overflow: visible; border: 0; box-shadow: none; background: none; }
  .wm-svg { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
  .wm-caption { position: static; transform: none; width: auto; max-width: none; margin-top: 10px; min-height: 4.2em; background: var(--bg-alt); color: var(--ink); }
  .wm-caption:empty { display: block; visibility: hidden; }
  .wm-start { border-radius: var(--radius); }
}


/* ===================================================================
   GUIDE E ZONE SERVITE (pagine civetta) — modello del prototipo approvato
=================================================================== */
/* Pulsanti grandi del footer: Guide e Zone servite */
.footer-hub { display: grid; grid-template-columns: 1fr; gap: 14px; padding-bottom: clamp(40px, 6vw, 60px); }
.hub-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.hub-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(14, 23, 41, .08); }
.hub-card strong { display: block; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.02em; color: var(--ink); }
.hub-card span { display: block; color: var(--muted); font-size: .95rem; margin-top: 2px; }
.hub-card .hub-go {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 1.2rem; margin: 0;
}

.guide-head { padding-top: clamp(28px, 5vw, 56px); text-align: center; }
.guide-head h1 { font-size: clamp(2.1rem, 6.4vw, 4rem); max-width: 18ch; margin-inline: auto; letter-spacing: -0.035em; }
.guide-head .lead { max-width: 46ch; }
.guide-meta { margin-top: 18px; font-size: .88rem; color: var(--muted); }
.guide-photo { margin-top: clamp(32px, 5vw, 56px); }
.guide-photo img { width: 100%; height: clamp(200px, 40vw, 520px); object-fit: cover; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: clamp(48px, 7vw, 96px); }
.guide-layout > * { min-width: 0; }

.toc { background: var(--bg-alt); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 36px; }
.toc strong { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 8px; }
.toc ol { padding-left: 1.2em; display: grid; gap: 6px; }
.toc a { color: var(--blue); }
.toc a:hover { text-decoration: underline; }

.prose { color: var(--ink-2); font-size: 1.09rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.55rem, 3.6vw, 2.1rem); margin-top: 2.2em; letter-spacing: -0.025em; line-height: 1.15; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: 1.25rem; margin-top: 1.8em; letter-spacing: -0.015em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--brand));
}
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose .num-list { padding-left: 1.4em; display: grid; gap: 12px; }
.prose .num-list li::marker { color: var(--blue); font-weight: 700; }
.prose .faq details { background: var(--bg-alt); }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { color: var(--ink); font-weight: 600; background: var(--bg-alt); }
.table-wrap { overflow-x: auto; }
.price-callout {
  background: linear-gradient(135deg, rgba(43, 84, 212, .07), rgba(23, 166, 224, .10));
  border-radius: var(--radius); padding: 24px 26px;
}
.price-callout p { margin: 0; }
.price-callout .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: -0.03em; color: var(--ink); line-height: 1.15; }
.box-nota { background: var(--bg-alt); border-left: 4px solid var(--blue); border-radius: var(--radius-sm); padding: 18px 22px; }

/* Riquadri laterali di contatto */
.aside { display: grid; gap: 16px; align-content: start; }
.bubble { background: var(--bg-alt); border-radius: var(--radius); padding: 26px; }
.bubble h2 { font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.bubble p { color: var(--muted); font-size: .97rem; }
.bubble--contact { background: var(--ink); color: #fff; }
.bubble--contact h2 { color: #fff; }
.bubble--contact p { color: rgba(255, 255, 255, .78); }
.bubble-actions { display: grid; gap: 10px; margin-top: 18px; }
.bubble-hours { margin-top: 16px; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.bubble--price .big { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; margin: 4px 0 6px; }
.bubble-lines { display: grid; margin-top: 18px; }
.bubble-lines li { padding: 7px 0; color: rgba(255, 255, 255, .78); font-size: .95rem; }
.bubble-lines li + li { border-top: 1px solid rgba(255, 255, 255, .14); }
.bubble-lines a { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.bubble-lines a.tel-wa:hover, .bubble-lines a.tel-wa:focus-visible { color: #5BD68D; }

/* Approfondimenti */
.more-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.more-card {
  display: flex; flex-direction: column; gap: 8px; background: #fff; border-radius: var(--radius);
  padding: 26px; border: 1px solid var(--line); transition: border-color .2s, transform .2s var(--ease);
}
.more-card:hover { border-color: var(--blue); transform: translateY(-3px); }
.more-card small { color: var(--warm-ink); font-weight: 600; font-size: .85rem; }
.more-card strong { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.25; color: var(--ink); }
.more-card > span:not(.link-more) { color: var(--muted); font-size: .97rem; }
.more-card .link-more { margin-top: auto; padding-top: 6px; }

@media (min-width: 600px) {
  .more-grid, .footer-hub { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 901px) {
  .more-grid { grid-template-columns: repeat(3, 1fr); }
  .guide-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 5vw, 72px); align-items: start; }
  .aside {
    position: sticky; top: calc(var(--header-h) + 24px);
    max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; overscroll-behavior: contain;
  }
}
@media (min-width: 1100px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr) 340px; }
}

/* ===================================================================
   MAPPA GOOGLE CON CONSENSO (pagina Calcola la distanza)
=================================================================== */
.map-wrap { position: relative; margin: 0 0 clamp(24px, 4vw, 36px); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-alt); min-height: 320px; }
.map-wrap iframe { display: block; width: 100%; height: clamp(320px, 50vw, 440px); border: 0; }
.map-consent { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: clamp(28px, 5vw, 48px); min-height: 320px; }
.map-consent h3 { margin: 0; }
.map-consent p { max-width: 46ch; margin: 0 0 6px; color: var(--muted); }
.map-load { cursor: pointer; }

/* Tocco: niente ritardo del doppio tap su pulsanti e link */
a, button, input, select, textarea, label { touch-action: manipulation; }
