/* =========================================================
   Avv. Agostino Raccampo - Foglio di stile principale
   Palette: blu navy + oro caldo
   ========================================================= */

:root {
  /* Colori */
  --navy: #0E2A4E;
  --navy-dark: #081C33;
  --navy-soft: #1B3A62;
  --gold: #B4813C;
  --gold-light: #C89A57;
  --gold-dark: #8E6428;
  --cream: #FBF9F6;
  --cream-dark: #F2EEE7;
  --ink: #1F2733;
  --muted: #5C6672;
  --line: #E3DCD1;
  --white: #FFFFFF;

  /* Tipografia */
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --wrap: 1160px;
  --radius: 2px;
  --radius-card: 14px;   /* angoli arrotondati dei riquadri delle aree */
  --header-h: 104px;     /* altezza dell'header: la segue anche il menu mobile */
  --shadow-sm: 0 2px 10px rgba(8, 28, 51, .06);
  --shadow-md: 0 10px 30px rgba(8, 28, 51, .10);
  --shadow-lg: 0 24px 60px rgba(8, 28, 51, .16);
  --t: .3s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
/* height:auto è indispensabile: senza, gli attributi width/height dell'HTML
   vincolano l'altezza e l'immagine risulta deformata */
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--gold-dark); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 .6em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Utility ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--tint { background: var(--cream-dark); }
.section--navy { background: var(--navy); color: #D8DFE9; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); }
.section--navy .lead { color: #B9C4D4; }

.eyebrow {
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin: 0 0 .9rem;
}
.section--navy .eyebrow { color: var(--gold-light); }

.rule { width: 58px; height: 2px; background: var(--gold); border: 0; margin: 0 0 1.6rem; }
.center .rule { margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 2rem;
  font-family: var(--font-body);
  font-size: .84rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: all var(--t);
}
.btn--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(251, 249, 246, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: flex; align-items: center; }
/* logo-orizzontale.png: versione scontornata e ritagliata dei file del cliente */
.brand__logo { width: 240px; }

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a {
  font-size: .8rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--navy); position: relative; padding: .35rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--gold); transition: width var(--t);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--gold-dark); }
.nav .btn { padding: .7rem 1.4rem; }
.nav .btn::after { display: none; }
/* il colore di .nav a non deve sovrascrivere quello dei bottoni */
.nav .btn--primary, .nav .btn--primary:hover, .nav .btn--gold, .nav .btn--gold:hover { color: var(--white); }
.nav .btn--primary[aria-current="page"] { color: var(--white); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; margin-right: -10px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--navy); margin: 5px 0;
  transition: transform var(--t), opacity var(--t);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: var(--white);
  padding: clamp(5rem, 13vw, 9.5rem) 0;
  text-align: center;
  overflow: hidden;
}
/* Reticolo decorativo sopra l'hero: rimosso perché si sovrapponeva alle
   fotografie. Per riattivarlo basta togliere i commenti qui sotto.
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
  pointer-events: none;
}
*/
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px; z-index: 4;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero__inner { max-width: 830px; margin-inline: auto; position: relative; z-index: 3; }
.hero__ornament { width: 104px; margin: 0 auto 1.7rem; }

/* Sequenza di immagini: dissolvenza incrociata con lento avvicinamento.
   L'avvicinamento non torna mai indietro: l'immagine che esce continua ad
   avvicinarsi mentre sfuma, così il passaggio non ha scatti.
   --ken = durata dell'avvicinamento, impostata da main.js in base a
   data-interval; --fade = durata della dissolvenza (va cambiata anche
   nella riga animation di .is-leaving, qui sotto). */
.hero__slides {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  --fade: 1.8s;
}
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1);
  transition: opacity var(--fade, 1.8s) cubic-bezier(.4, 0, .2, 1);
  will-change: opacity, transform;
}
.hero__slide.is-active {
  opacity: 1;
  animation: heroKenIn var(--ken, 6s) linear forwards;
}
.hero__slide.is-leaving {
  opacity: 0;
  animation: heroKenOut 1.8s linear forwards;
}
@keyframes heroKenIn  { from { transform: scale(1);    } to { transform: scale(1.07);  } }
@keyframes heroKenOut { from { transform: scale(1.07); } to { transform: scale(1.092); } }

.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,28,51,.80) 0%, rgba(8,28,51,.54) 42%, rgba(8,28,51,.88) 100%),
    radial-gradient(ellipse at center, rgba(8,28,51,.12) 0%, rgba(8,28,51,.68) 100%);
}

.hero__eyebrow { color: var(--gold-light); letter-spacing: .3em; }
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero__sub { font-size: clamp(1.02rem, 1.7vw, 1.18rem); color: #C3CEDD; max-width: 640px; margin: 0 auto 2.4rem; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Barra valori ---------- */
.valuebar { background: var(--white); border-bottom: 1px solid var(--line); }
.valuebar__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.valuebar__item { padding: 2.2rem 1.6rem; text-align: center; border-right: 1px solid var(--line); }
.valuebar__item:last-child { border-right: 0; }
.valuebar__item h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.valuebar__item p { font-size: .93rem; color: var(--muted); margin: 0; }
.valuebar__icon { width: 30px; height: 30px; margin: 0 auto .8rem; color: var(--gold); }

/* ---------- Aree / discipline ---------- */
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: 1.4rem; margin-top: 3rem; }
.area {
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid transparent;
  padding: 2.2rem 1.9rem; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.area:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-top-color: var(--gold); }
.area__icon { width: 34px; height: 34px; color: var(--gold); margin-bottom: 1.1rem; }
.area h3 { margin-bottom: .5rem; }
.area p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- Riquadro con immagine ---------- */
.areas--media { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 1.6rem; }

.area--media {
  padding: 0; border-radius: var(--radius-card);
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column;
}
/* il bordo superiore in oro diventa una linea sotto l'immagine */
.area--media:hover { border-top-color: var(--line); }

.area__media {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--navy-dark);
  /* segue l'arrotondamento del riquadro, meno lo spessore del bordo */
  border-radius: calc(var(--radius-card) - 1px) calc(var(--radius-card) - 1px) 0 0;
}
.area__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.01);
  transition: transform 1.1s cubic-bezier(.2, .7, .25, 1), filter .6s ease;
}
.area__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,28,51,0) 35%, rgba(8,28,51,.55) 100%);
  opacity: .65; transition: opacity .5s ease;
}
.area--media:hover .area__media img,
.area--media:focus-within .area__media img { transform: scale(1.1); filter: saturate(1.08) brightness(1.06); }
.area--media:hover .area__media::after { opacity: .3; }

/* pastiglia con l'icona, a cavallo tra immagine e testo */
.area__badge {
  position: absolute; left: 1.5rem; top: -26px; z-index: 2;
  width: 52px; height: 52px; background: var(--white);
  border: 1px solid var(--line); border-top: 2px solid var(--gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--t), background var(--t);
}
.area__badge svg { width: 26px; height: 26px; color: var(--gold); transition: color var(--t); }
.area--media:hover .area__badge { transform: translateY(-4px); background: var(--navy); border-color: var(--navy); }
.area--media:hover .area__badge svg { color: var(--gold-light); }

.area__body { position: relative; padding: 2.5rem 1.7rem 2rem; flex: 1; }
.area__body h3 { position: relative; display: inline-block; padding-bottom: .45rem; margin-bottom: .7rem; }
.area__body h3::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 26px; height: 2px; background: var(--gold); transition: width var(--t);
}
.area--media:hover .area__body h3::after { width: 100%; }

/* ---------- Split (chi sono / anteprima) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.portrait { position: relative; z-index: 1; }
.portrait img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--cream-dark);
  /* la foto è 3:4 e il riquadro 4:5: si perde il 6,7% dell'altezza.
     Spostando il fuoco verso l'alto il taglio cade sul selciato, non sui piedi. */
  object-position: 50% 30%;
}
.portrait::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold); z-index: -1;
}

/* ---------- Percorso / timeline ---------- */
.timeline { border-left: 1px solid var(--line); margin-top: 2.5rem; padding-left: 2rem; }
.timeline li { position: relative; padding-bottom: 2.2rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -2.47rem; top: .45rem;
  width: 9px; height: 9px; background: var(--gold); border-radius: 50%;
  box-shadow: 0 0 0 4px var(--cream);
}
.section--tint .timeline li::before { box-shadow: 0 0 0 4px var(--cream-dark); }
.timeline__year { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.timeline h3 { font-size: 1.22rem; margin: .2rem 0 .35rem; }
.timeline p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- Metodo ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; margin-top: 3rem; }
.step__num {
  font-family: var(--font-display); font-size: 2.6rem; color: var(--gold);
  line-height: 1; display: block; margin-bottom: .5rem;
}
.step h3 { font-size: 1.2rem; }
.step p { font-size: .94rem; color: var(--muted); margin: 0; }
.section--navy .step p { color: #A9B6C8; }

/* ---------- Recensioni ---------- */
.recensioni { position: relative; padding: clamp(4rem, 9vw, 6.5rem) 0; background: linear-gradient(160deg, var(--navy-dark), var(--navy)); }
/* filetto oro: separa la sezione dal "metodo", anch'esso su fondo blu */
.recensioni::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.recensioni__titolo { color: var(--white); text-align: center; margin-bottom: 2.2rem; }
.stelle { color: #F5B400; letter-spacing: .08em; }

.recensioni__testata {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap;
  background: var(--white); border-radius: var(--radius-card); padding: 1.4rem 1.8rem;
  box-shadow: var(--shadow-lg); margin-bottom: 1.6rem;
}
.recensioni__fonte { display: flex; align-items: center; gap: .55rem; margin: 0; font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.recensioni__fonte svg { width: 24px; height: 24px; }
.recensioni__voto { display: flex; align-items: center; gap: .5rem; margin: .3rem 0 0; }
.recensioni__voto strong { font-size: 1.5rem; font-weight: 600; color: var(--ink); line-height: 1; }
.recensioni__voto .stelle { font-size: 1.35rem; }

.carosello { position: relative; }
.carosello__binario {
  display: flex; gap: 1.4rem; margin: 0; padding: .4rem .2rem 1.2rem; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.carosello__binario::-webkit-scrollbar { display: none; }
.recensione {
  flex: 0 0 calc((100% - 2 * 1.4rem) / 3); scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius-card); padding: 1.6rem 1.6rem 1.4rem;
  box-shadow: var(--shadow-md);
}
.recensione__autore { display: flex; align-items: center; gap: .85rem; margin-bottom: .8rem; }
.recensione__avatar {
  position: relative; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--c); color: var(--white); font-weight: 600; font-size: 1.05rem;
}
.recensione__avatar svg {
  position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; padding: 3px;
  background: var(--white); border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.recensione__nome { font-weight: 600; font-size: .98rem; color: var(--ink); }
.recensione .stelle { font-size: 1.05rem; margin-bottom: .6rem; }
.recensione__testo {
  margin: 0; font-size: .95rem; line-height: 1.65; color: var(--ink);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden;
}
.recensione.is-aperta .recensione__testo { display: block; }
.recensione__altro {
  align-self: flex-start; margin-top: .5rem; padding: 0; border: 0; background: none; cursor: pointer;
  font: 600 .85rem var(--font-body); color: var(--gold-dark);
}
.recensione__altro:hover { text-decoration: underline; }

.carosello__freccia {
  position: absolute; top: calc(50% - 1.6rem); transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--navy); box-shadow: var(--shadow-md);
  transition: opacity var(--t), background var(--t), color var(--t);
}
.carosello__freccia:hover { background: var(--gold); color: var(--white); }
.carosello__freccia[disabled] { opacity: 0; pointer-events: none; }
.carosello__freccia svg { width: 20px; height: 20px; }
.carosello__freccia--prec { left: -22px; }
.carosello__freccia--succ { right: -22px; }

.carosello__punti { display: flex; justify-content: center; gap: .1rem; }
.carosello__punti button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.carosello__punti button::after { content: ""; width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.35); transition: width var(--t), background var(--t); }
.carosello__punti button[aria-current="true"]::after { width: 22px; background: var(--gold); }

.recensioni__tutte { text-align: center; margin: 1.4rem 0 0; }
.recensioni__tutte a { color: var(--gold-light); font-size: .9rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.recensioni__tutte a:hover { color: var(--white); }

@media (max-width: 980px) {
  .recensione { flex-basis: calc((100% - 1.4rem) / 2); }
  .carosello__freccia--prec { left: -10px; }
  .carosello__freccia--succ { right: -10px; }
}
@media (max-width: 620px) {
  .recensione { flex-basis: 88%; }
  .carosello__freccia { display: none; }   /* su telefono si scorre col dito */
  .recensioni__testata { justify-content: center; text-align: center; }
  .recensioni__testata > div { width: 100%; }
  .recensioni__fonte, .recensioni__voto { justify-content: center; }
}

/* ---------- CTA ---------- */
.cta { background: var(--navy); color: var(--white); text-align: center; padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.cta h2 { color: var(--white); }
.cta p { color: #B9C4D4; max-width: 560px; margin: 0 auto 2rem; }
.cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }

.form-card { background: var(--white); border: 1px solid var(--line); padding: clamp(1.8rem, 4vw, 2.8rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.35rem; }
.field label {
  display: block; font-size: .74rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--navy); margin-bottom: .5rem;
}
.field label .req { color: var(--gold-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; font-family: var(--font-body); font-size: .97rem;
  color: var(--ink); background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white); border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(180, 129, 60, .14);
}
.field textarea { resize: vertical; min-height: 150px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
.field__error { display: none; font-size: .8rem; color: #B3261E; margin-top: .4rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field.has-error .field__error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1.6rem; }
.consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: .3rem; accent-color: var(--navy); padding: 0; }
.consent label { font-size: .85rem; line-height: 1.6; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 400; margin: 0; }
.consent a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.consent.has-error label { color: #B3261E; }

.form-note { font-size: .82rem; color: var(--muted); margin-top: 1.2rem; }
.form-msg { display: none; padding: 1rem 1.2rem; margin-bottom: 1.5rem; font-size: .93rem; border-radius: var(--radius); }
.form-msg.is-visible { display: block; }
.form-msg--ok { background: #EAF3EC; border-left: 3px solid #2E7D4F; color: #1E5636; }
.form-msg--err { background: #FBEDEC; border-left: 3px solid #B3261E; color: #8C1D18; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

.info-block {
  background: var(--white); border: 1px solid var(--line);
  border-top: 2px solid var(--gold); padding: 2rem 1.8rem;
}
.info-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.info-list li:first-child { padding-top: 0; }
.info-list__icon { width: 20px; height: 20px; flex: 0 0 20px; color: var(--gold); margin-top: .35rem; }
.info-list__label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; display: block; margin-bottom: .15rem; }
.info-list__value { font-size: .98rem; color: var(--ink); }
.info-list__value a { font-weight: 500; }

.map { margin-top: 2rem; border: 1px solid var(--line); line-height: 0; }
.map iframe { width: 100%; height: 300px; border: 0; filter: grayscale(.35) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #9FB0C6; font-size: .93rem; padding: clamp(3rem, 6vw, 4.5rem) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer h4 {
  color: var(--white); font-family: var(--font-body); font-size: .74rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; margin: 0 0 1.2rem;
}
.site-footer a { color: #9FB0C6; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer p { margin: 0 0 .55rem; }
.footer-links li { margin-bottom: .6rem; }
/* colonna del marchio: testo centrato nella propria colonna,
   non rispetto alla pagina */
.footer-brand { text-align: center; }
.footer-brand__mark { width: 54px; margin: 0 auto 1rem; }
.footer-brand__name { font-family: var(--font-display); font-size: 1.25rem; color: var(--white); letter-spacing: .06em; text-transform: uppercase; display: block; }
.footer-brand__role { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem;
}
.footer-legal p { margin: 0; }
.footer-hours { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; font-size: .9rem; margin: 0; }
.footer-hours dt { color: var(--white); }
.footer-hours dd { margin: 0; }

/* ---------- WhatsApp flottante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 950;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(0,0,0,.24);
  transition: transform var(--t), box-shadow var(--t);
}
.wa-float:hover { transform: scale(1.08); color: #fff; box-shadow: 0 10px 28px rgba(37,211,102,.42); }
.wa-float svg { width: 31px; height: 31px; fill: currentColor; position: relative; z-index: 2; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: waPulse 2.8s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}
.wa-float__label {
  position: absolute; right: 70px; white-space: nowrap;
  background: var(--navy); color: #fff; font-size: .78rem; font-weight: 500;
  padding: .5rem .85rem; border-radius: 3px; opacity: 0; pointer-events: none;
  transform: translateX(8px); transition: opacity var(--t), transform var(--t);
}
.wa-float:hover .wa-float__label { opacity: 1; transform: translateX(0); }

/* ---------- Rivelazione allo scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Pagina interna: intestazione ---------- */
.page-head { background: var(--navy); color: var(--white); padding: clamp(3.5rem, 8vw, 5.5rem) 0; text-align: center; }
.page-head h1 { color: var(--white); margin-bottom: .3em; }
.page-head p { color: #B9C4D4; max-width: 600px; margin: 0 auto; }
.breadcrumb { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem; }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Citazione ---------- */
.quote { max-width: 760px; margin-inline: auto; text-align: center; }
.quote blockquote {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.8vw, 1.95rem);
  line-height: 1.5; color: var(--navy); margin: 0 0 1rem; font-style: italic;
}
.section--navy .quote blockquote { color: var(--white); }
.quote cite { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); font-style: normal; }
.section--navy .quote cite { color: var(--gold-light); }

/* ---------- Pagine legali ---------- */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.1rem; }
.legal li { margin-bottom: .4rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .valuebar__grid { grid-template-columns: 1fr; }
  .valuebar__item { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.8rem 1rem; }
  .valuebar__item:last-child { border-bottom: 0; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.5rem;
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1.2rem; justify-content: center; border-bottom: 0; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .portrait { max-width: 420px; margin-inline: auto; }
  .portrait::before { inset: 14px -14px -14px 14px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; gap: 0; }
  .brand__logo { width: 190px; }
  :root { --header-h: 88px; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; justify-content: center; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .footer-legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__slide.is-active, .hero__slide.is-leaving { animation: none; transform: none; }
  .area--media:hover .area__media img, .area--media:focus-within .area__media img { transform: none; filter: none; }
}

@media print {
  .site-header, .wa-float, .hero__actions, .cta { display: none; }
  body { background: #fff; }
}
