/* =========================================================================
   Ohana Baby Parking — foglio di stile unico
   Colori, forme e caratteri ripresi dal progetto originale.
   Le tinte usate sotto al testo sono state calibrate per il contrasto WCAG AA.
   ========================================================================= */

/* ---------- CARATTERI (self-hosted, nessuna chiamata esterna) ---------- */
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/poppins-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/poppins-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------- COLORI -------------------------------- */
:root {
  /* Arancione del logo: usato per titoli grandi, bordi e dettagli.        */
  --brand: #E0671E;
  /* Arancione dei fondi pieni con testo bianco sopra (contrasto 4.56:1).  */
  /* Per tornare all'arancione originale sostituisci con #E0671E:          */
  /* attenzione, in quel caso il contrasto scende sotto lo standard AA.    */
  --brand-surface: #C25510;
  --brand-surface-dark: #A8500F;
  /* Arancione per testi e link piccoli su fondo chiaro (contrasto 5.3:1). */
  --brand-text: #A8500F;

  --green: #8BC34A;
  --green-text: #4F7A1E;
  --purple: #8E44AD;
  --purple-text: #8E44AD;
  --blue: #4DB6E2;
  --blue-text: #256F94;
  --yellow: #FFD54F;

  --ink: #3a3340;
  --muted: #5a5060;
  --muted-2: #6a6070;

  --cream: #FFFBF5;
  --cream-alt: #FBF4E9;
  --border: #f3e7d6;
  --border-soft: #f2e6d8;

  --footer-bg: #2b2330;
  --footer-text: #cfc6d2;
  --footer-dim: #b3aabb;

  --radius: 24px;
  --radius-sm: 18px;
  --shadow: 0 10px 26px rgba(150, 90, 30, .10);
  --shadow-lg: 0 18px 40px rgba(150, 90, 30, .16);
  --maxw: 1200px;
}

/* ------------------------------- BASE ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; height: auto; }
::selection { background: var(--yellow); color: #4a2a10; }

a { color: var(--brand-text); text-decoration: none; }
a:hover { color: #8c4109; text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0; }
p { margin: 0; }

/* Focus visibile e coerente su tutti gli elementi interattivi. */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Salto al contenuto per chi naviga da tastiera o con screen reader. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand-surface);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
  color: #fff;
  text-decoration: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ------------------------------ LAYOUT --------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 1080px; }
.wrap--text { max-width: 820px; }

.section { padding: 88px 0; scroll-margin-top: 96px; }
.section--alt { background: var(--cream-alt); }
.section--tight { padding: 64px 0; }

.section-head { text-align: center; max-width: 820px; margin: 0 auto 48px; }
.section-head--left { text-align: left; margin-left: 0; }

.eyebrow {
  display: block;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-text);
}
.eyebrow--purple { color: var(--purple-text); }
.eyebrow--blue { color: var(--blue-text); }
.eyebrow--orange { color: var(--brand-text); }

h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -.5px;
}
h2 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  color: var(--brand);
  margin: 12px 0 0;
}
h3 { font-size: 20px; font-weight: 700; }

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  margin: 22px 0 0;
}
.body-text { font-size: 16.5px; line-height: 1.75; color: var(--muted); }
.body-text + .body-text { margin-top: 18px; }

/* ------------------------------ BOTTONI -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color .2s ease, transform .2s ease, color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn--primary { background: var(--brand-surface); color: #fff; box-shadow: 0 8px 20px rgba(150, 70, 20, .28); }
.btn--primary:hover { background: var(--brand-surface-dark); color: #fff; }

.btn--white { background: #fff; color: var(--brand-text); box-shadow: 0 10px 26px rgba(120, 50, 0, .28); }
.btn--white:hover { background: #fff; color: #8c4109; }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .9); }
.btn--ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }

.btn--outline { background: #fff; color: var(--brand-text); border-color: var(--brand); }
.btn--outline:hover { background: #FCECE1; color: #8c4109; }
.btn--outline-purple { color: var(--purple-text); border-color: var(--purple); }
.btn--outline-purple:hover { background: #F4EAF8; color: #6f2f8a; }

.btn--wa { background: #128C4A; color: #fff; width: 100%; font-size: 17px; }
.btn--wa:hover { background: #0e6f3a; color: #fff; }
.btn--wa svg { flex: 0 0 auto; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------------------- INTESTAZIONE ----------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 245, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand:hover { text-decoration: none; }
.nav__brand img { display: block; height: 52px; width: auto; }
.nav__brand span {
  font-weight: 700;
  font-size: 15px;
  color: var(--brand-text);
  line-height: 1.1;
  letter-spacing: .3px;
}
.nav__links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav__links a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
}
.nav__links a:hover { background: #FBEDE0; color: var(--brand-text); text-decoration: none; }
.nav__cta { padding: 11px 22px; font-size: 14.5px; }

/* Il bottone del menu compare solo se il JavaScript è attivo: senza JS
   la navigazione resta aperta e completamente utilizzabile. */
.nav__toggle { display: none; }

@media (max-width: 900px) {
  .nav { padding: 10px 18px; }
  .nav__links { order: 3; width: 100%; justify-content: center; gap: 2px; }
  .nav__links a { padding: 7px 10px; font-size: 13.5px; }
  .js .nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 2px solid var(--border);
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    font-size: 14px;
    padding: 9px 16px;
    border-radius: 999px;
    cursor: pointer;
  }
  .js .nav__links { display: none; }
  .js .nav__links.is-open { display: flex; padding-bottom: 8px; }
}

/* ------------------------------- HERO ---------------------------------- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  scroll-margin-top: 96px;
  background: #b8500f;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
/* Velo sfumato come nel progetto originale: coprente a sinistra, dove sta
   il testo, e completamente trasparente a destra, così la foto si vede. */
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(224, 103, 30, .90) 0%, rgba(224, 103, 30, .62) 42%, rgba(224, 103, 30, .05) 68%, rgba(224, 103, 30, 0) 100%);
}
.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 76px 24px;
  width: 100%;
}
.hero__box { max-width: 620px; color: #fff; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .45);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.hero h1 { margin: 20px 0 0; text-shadow: 0 3px 18px rgba(90, 36, 0, .55); }
/* Semigrassetto e ombra: sopra i 18,6 px in grassetto il testo bianco resta
   conforme al contrasto AA anche sul velo semitrasparente. */
.hero__sub {
  font-size: clamp(19px, 2.2vw, 22px);
  font-weight: 600;
  line-height: 1.55;
  margin: 18px 0 0;
  max-width: 520px;
  text-shadow: 0 2px 14px rgba(90, 36, 0, .65), 0 1px 3px rgba(90, 36, 0, .5);
}
.hero .btn-row { margin-top: 32px; }

@media (max-width: 640px) {
  .hero { min-height: 520px; }
  .hero__inner { padding: 52px 20px; }
  /* Su telefono il velo diventa verticale: leggero in alto, dove si deve
     vedere la foto, più coperto in basso sotto il testo e i pulsanti. */
  .hero__veil { background: linear-gradient(180deg, rgba(224, 103, 30, .38) 0%, rgba(210, 92, 22, .72) 34%, rgba(190, 84, 16, .88) 100%); }
  .hero .btn-row { flex-direction: column; align-items: stretch; }
}

/* ---------------------------- FASCIA VALORI ---------------------------- */
.values {
  background: var(--brand-surface);
  color: #fff;
}
.values ul {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 24px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 26px;
  font-weight: 700;
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.values li { display: flex; align-items: center; gap: 26px; }
.values li:not(:last-child)::after { content: '·'; color: var(--yellow); }

/* ------------------------------- CARD ---------------------------------- */
/* ---------------------------- SCHEDE ------------------------------------
   Regola unica per tutto il sito: ogni scheda porta il bordino colorato
   IN ALTO, spesso 6 px. Le varianti cambiano soltanto il colore, mai la
   posizione né lo spessore.
   ------------------------------------------------------------------------ */
.card {
  background: #fff;
  border: 2px solid var(--border);
  border-top: 6px solid var(--brand);
  border-radius: var(--radius);
  padding: 28px 28px 30px;
}
/* Variante senza cornice laterale: resta comunque il bordino in alto.
   Gli altri lati hanno spessore zero, non colore trasparente, altrimenti
   il testo risulterebbe rientrato di 2 px rispetto ai riquadri vicini. */
.card--flat {
  border-right-width: 0;
  border-bottom-width: 0;
  border-left-width: 0;
  box-shadow: var(--shadow);
}
.card--green { border-top-color: var(--green); }
.card--purple { border-top-color: var(--purple); }
.card--blue { border-top-color: var(--blue); }
.card h3 { margin: 0 0 12px; }

.grid { display: grid; gap: 20px; }
.grid--stats { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--act { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 18px; }

/* Blocchi in numero pari: due colonne fisse, così le righe sono sempre
   complete e non resta mai un riquadro spaiato in fondo. */
.grid--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 820px) { .grid--pair { grid-template-columns: 1fr; } }

/* Griglie a numero libero di schede: quelle dell'ultima riga restano
   centrate invece di accumularsi a sinistra. */
.tiles { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.tiles > * { flex: 0 1 calc(25% - 15px); min-width: 0; }
.tiles--trio > * { flex: 0 1 calc(33.333% - 14px); }
@media (max-width: 1040px) { .tiles > *, .tiles--trio > * { flex-basis: calc(50% - 10px); } }
@media (max-width: 620px) { .tiles > *, .tiles--trio > * { flex-basis: 100%; } }

.stat { text-align: center; padding: 26px 20px; }
.stat__num { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; color: var(--brand-text); }
.stat__num--green { color: var(--green-text); }
.stat__num--purple { color: var(--purple-text); }
.stat__num--blue { color: var(--blue-text); }
.stat__label { font-size: 14px; color: var(--muted-2); margin-top: 4px; font-weight: 500; }

.pillar { border-top: 6px solid var(--brand); border-radius: var(--radius); background: #fff; padding: 28px 28px 30px; }
.pillar h3 { color: var(--brand-text); }
.pillar--green { border-top-color: var(--green); }
.pillar--green h3 { color: var(--green-text); }
.pillar--purple { border-top-color: var(--purple); }
.pillar--purple h3 { color: var(--purple-text); }
.pillar--blue { border-top-color: var(--blue); }
.pillar--blue h3 { color: var(--blue-text); }
.pillar p, .card p { font-size: 15px; line-height: 1.7; color: var(--muted-2); margin: 0; }
.pillar ul, .card ul.tick { margin: 12px 0 0; padding-left: 20px; font-size: 15px; line-height: 1.75; color: var(--muted-2); }

/* ----------------------------- ATTIVITÀ -------------------------------- */
.act {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 22px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.act:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.act__icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.act__label { font-weight: 600; font-size: 16px; color: var(--ink); line-height: 1.3; }

/* ----------------------------- ELENCHI --------------------------------- */
.dotlist { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.dotlist li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.dotlist li::before {
  content: '';
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  margin-top: 8px;
}
.dotlist--orange li::before { background: var(--brand); }

/* ------------------------------- SEDI ---------------------------------- */
.venue { scroll-margin-top: 92px; }
.venue__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 32px;
  align-items: start;
  margin-top: 36px;
}
@media (max-width: 900px) { .venue__grid { grid-template-columns: 1fr; } }

.venue__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.venue__facts li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: var(--ink); }
.venue__facts svg { flex: 0 0 auto; margin-top: 3px; }
.venue__facts strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted-2); font-weight: 700; }

.spaces { margin-top: 36px; }
.space {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.space img { display: block; width: 100%; height: 190px; object-fit: cover; background: var(--cream-alt); }
.space__body { padding: 20px 22px; border-top: 6px solid var(--brand); }
.space__body h4 { font-size: 19px; font-weight: 700; color: var(--brand-text); margin: 0 0 8px; }
.space__body p { font-size: 14.5px; line-height: 1.6; color: var(--muted-2); margin: 0; }
.space--green .space__body { border-top-color: var(--green); }
.space--green .space__body h4 { color: var(--green-text); }
.space--purple .space__body { border-top-color: var(--purple); }
.space--purple .space__body h4 { color: var(--purple-text); }
.space--blue .space__body { border-top-color: var(--blue); }
.space--blue .space__body h4 { color: var(--blue-text); }

.section-rule { display: flex; align-items: center; gap: 14px; margin: 52px 0 0; }
.section-rule span:first-child { width: 12px; height: 12px; border-radius: 999px; background: var(--brand); flex: 0 0 auto; }
.section-rule h3 { margin: 0; font-size: 22px; font-weight: 800; color: var(--brand-text); }
.section-rule span:last-child { flex: 1; height: 2px; background: #f0e0cf; }
.section-rule--purple span:first-child { background: var(--purple); }
.section-rule--purple h3 { color: var(--purple-text); }
.section-rule--purple span:last-child { background: #e8daf0; }

/* ------------------------------- MAPPE --------------------------------- */
.map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream-alt);
  border: 2px solid var(--border);
}
.map iframe { display: block; width: 100%; height: 300px; border: 0; }
.map__placeholder {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
  background:
    repeating-linear-gradient(45deg, rgba(139, 195, 74, .10) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #F3F7EC 0%, #FBF4E9 55%, #FDEFE2 100%);
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px;
}
.map__placeholder:hover { background-color: #F7F2E6; }
.map__placeholder strong { font-size: 17px; font-weight: 700; color: var(--brand-text); }
.map__placeholder small { font-size: 13.5px; color: var(--muted-2); max-width: 34ch; line-height: 1.5; }
.map__pin { width: 42px; height: 42px; }

/* ----------------------------- GIORNATA -------------------------------- */
.timeline { margin: 0; padding: 0; }
.timeline div {
  display: flex;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: baseline;
}
.timeline div:last-child { border-bottom: 0; }
.timeline dt {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--brand-text);
  font-size: 14.5px;
  min-width: 108px;
  white-space: nowrap;
}
.timeline dd { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.45; }

.panel-orange {
  background: var(--brand-surface);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px;
}
.panel-orange h3 { margin: 0 0 14px; }
.panel-orange p { font-size: 15.5px; line-height: 1.6; margin: 0 0 16px; }
.chip {
  display: inline-block;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .45);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin: 0 8px 8px 0;
}

.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ------------------------------ TARIFFE -------------------------------- */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li {
  counter-increment: step;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}
.steps li::before {
  content: counter(step);
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--brand-surface);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ------------------------------- STAFF --------------------------------- */
.staff-photo { border-radius: 28px; overflow: hidden; margin: 0 0 40px; box-shadow: var(--shadow-lg); }
.staff-photo img { display: block; width: 100%; height: auto; }
.person { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.person img {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--brand);
  flex: 0 0 auto;
}
/* Nome e ruolo su due righe distinte, come nel progetto originale. */
.person__text { min-width: 0; }
.person__name {
  display: block;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  color: var(--ink);
}
.person__role {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--brand-text);
}
.card--green .person img { border-color: var(--green); }
.card--green .person__role { color: var(--green-text); }
.card--purple .person img { border-color: var(--purple); }
.card--purple .person__role { color: var(--purple-text); }
.card--blue .person img { border-color: var(--blue); }
.card--blue .person__role { color: var(--blue-text); }

/* -------------------------------- FAQ ---------------------------------- */
.faq { display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 24px;
}
.faq details[open] { border-color: #e9d6bd; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 32px 18px 0;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2.5px solid var(--brand-text);
  border-bottom: 2.5px solid var(--brand-text);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--brand-text); }
.faq__answer { padding: 0 0 20px; font-size: 15.5px; line-height: 1.72; color: var(--muted); }
.faq__answer p + p { margin-top: 12px; }
.faq__answer ul { margin: 10px 0 0; padding-left: 20px; }

/* ------------------------------ CONTATTI ------------------------------- */
.contact { background: var(--brand-surface); color: #fff; padding: 88px 0; scroll-margin-top: 92px; }
.contact h2 { color: #fff; }
.contact .eyebrow { color: var(--yellow); }
.contact__lead { font-size: 17px; line-height: 1.6; margin: 18px 0 0; }
.contact__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; }
.contact__card {
  background: #fff;
  /* Su fondo arancione un bordino arancione non si vedrebbe: qui l'accento
     è il giallo, lo stesso della scritta "Contatti" sopra al titolo. */
  border-top: 6px solid var(--yellow);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(120, 50, 0, .22);
  color: var(--ink);
}
.contact__card--purple { border-top-color: var(--purple); }
.contact__card .map { border: 0; border-radius: 0; box-shadow: none; }
.contact__card .map iframe,
.contact__card .map__placeholder { height: 230px; }
.contact__body { padding: 28px 30px 32px; }
.contact__body h3 { font-size: 25px; font-weight: 800; color: var(--brand-text); margin: 0 0 20px; }
.contact__row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; font-size: 15.5px; }
.contact__row svg { flex: 0 0 auto; margin-top: 2px; }
.contact__row a { color: var(--brand-text); font-weight: 600; word-break: break-word; }
.contact__row .plain { color: var(--ink); font-weight: 500; }

/* ------------------------------- FOOTER -------------------------------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 48px 24px 30px; }
.site-footer a { color: var(--yellow); }
.footer__top {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { height: 62px; width: auto; background: #fff; border-radius: 16px; padding: 6px; }
.footer__brand strong { display: block; color: #fff; font-size: 18px; font-weight: 700; }
.footer__brand span { font-size: 13px; color: var(--footer-dim); }
.footer__info { font-size: 14px; line-height: 1.75; }
.footer__info b { color: #fff; }
.footer__nav { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.9; }
.footer__social { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}
.footer__social a:hover { background: rgba(255, 255, 255, .18); text-decoration: none; }
/* Dati aziendali obbligatori */
.footer__legal {
  max-width: 1080px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid #4a4051;
  font-size: 13px;
  line-height: 1.75;
  color: var(--footer-dim);
}
.footer__legal p { margin: 0; }
.footer__legal b { color: #e7e0ec; font-weight: 600; }
.footer__legal a { color: var(--yellow); }

.footer__bottom {
  max-width: 1080px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid #4a4051;
  font-size: 13px;
  color: var(--footer-dim);
  text-align: center;
}
.footer__legal + .footer__bottom { margin-top: 16px; padding-top: 0; border-top: 0; }

/* ------------------------- PAGINA GUIDA / 404 -------------------------- */
.page-hero {
  background: var(--cream-alt);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 52px;
}
.page-hero h1 { font-size: clamp(30px, 4.6vw, 48px); color: var(--brand); }
.page-hero .lead { max-width: 70ch; }

.breadcrumb { font-size: 14px; color: var(--muted-2); margin: 0 0 18px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li::after { content: '›'; margin-left: 8px; color: #b9ad9c; }
.breadcrumb li:last-child::after { content: ''; }

.article { max-width: 820px; margin: 0 auto; padding: 56px 24px 20px; }
.article h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  margin: 52px 0 16px;
  scroll-margin-top: 96px;
}
.article h2:first-of-type { margin-top: 0; }
.article h3 { font-size: 20px; color: var(--purple-text); margin: 30px 0 10px; }
.article p { font-size: 17px; line-height: 1.78; color: var(--muted); margin: 0 0 16px; }
.article ul, .article ol { font-size: 17px; line-height: 1.78; color: var(--muted); padding-left: 22px; margin: 0 0 16px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--ink); }
.article figure { margin: 0 0 36px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.article figure img { display: block; width: 100%; height: auto; }

.toc {
  background: var(--cream-alt);
  border: 2px solid var(--border);
  border-top: 6px solid var(--blue);
  border-radius: var(--radius);
  padding: 22px 28px 24px;
  margin: 0 0 40px;
}
.toc strong { display: block; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted-2); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 20px; font-size: 15.5px; line-height: 1.9; }

.table-wrap { overflow-x: auto; margin: 0 0 24px; -webkit-overflow-scrolling: touch; }
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  font-size: 15px;
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}
caption { caption-side: bottom; font-size: 13.5px; color: var(--muted-2); padding-top: 12px; text-align: left; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.55; }
thead th { background: var(--brand-surface); color: #fff; font-weight: 700; font-size: 14px; }
tbody th { font-weight: 700; color: var(--ink); background: var(--cream-alt); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

.callout {
  background: #fff;
  border: 2px solid var(--border);
  border-top: 6px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin: 0 0 28px;
}
.callout p:last-child { margin-bottom: 0; }
.callout--purple { border-top-color: var(--purple); }

.cta-box {
  background: var(--cream-alt);
  border: 2px solid var(--border);
  border-top: 6px solid var(--brand);
  border-radius: var(--radius);
  padding: 32px 34px 34px;
  margin: 44px 0 0;
  text-align: center;
}
.cta-box h2 { margin: 0 0 12px; font-size: clamp(24px, 3.4vw, 32px); }
.cta-box .btn-row { justify-content: center; margin-top: 22px; }

/* -------------------------------- 404 ---------------------------------- */
.err { text-align: center; padding: 90px 24px 100px; max-width: 720px; margin: 0 auto; }
.err__code { font-size: clamp(72px, 14vw, 130px); font-weight: 800; color: var(--brand); line-height: 1; }
.err h1 { font-size: clamp(26px, 4vw, 38px); color: var(--ink); margin: 8px 0 0; }
.err .lead { margin-bottom: 30px; }
.err .btn-row { justify-content: center; }
.err ul { list-style: none; padding: 0; margin: 36px 0 0; font-size: 16px; line-height: 2; }

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .contact { padding: 60px 0; }
  .wrap { padding: 0 20px; }
  .card, .pillar { padding: 26px 22px; }
  .contact__body { padding: 24px 22px 28px; }
  .article { padding: 40px 20px 20px; }
  .btn { width: 100%; }
  .btn-row .btn { flex: 1 1 100%; }

  /* Nell'intestazione i bottoni restano affiancati al logo. */
  .nav { padding: 8px 16px; gap: 8px; }
  .nav__brand img { height: 44px; }
  .nav__brand span { font-size: 13.5px; }
  .nav__cta { width: auto; padding: 10px 16px; font-size: 13.5px; }
  .js .nav__toggle { padding: 10px 13px; font-size: 13.5px; }
}

@media (max-width: 380px) {
  .nav__brand span { display: none; }
}
