/* Generato da wordpress/strumenti/adatta_css.py a partire da src/styles/main.css: non modificare a mano.
   Le regole per il markup di Elementor sono in clin-elementor.css. */
/* Generato: contenitori di Elementor che nel sito statico erano blocchi (Elementor li fa flex).
   Specificità bassa e in testa: le classi del sito che impostano display vincono. */
:where(.e-con):is(.barra-mobile, .container, .cta__actions, .didascalia, .faq__a, .figure, .footer, .footer__brand, .form-card, .head--row, .head__side, .narrative__block--sand, .page-hero, .page-hero__media, .panel, .panel--accent, .panel--ink, .panel--sand, .reviews, .section, .section--flush-top, .section--tight, .site-footer, .statement, .statement-band, .testata) { display: block; }

/* Generato: contenitori flex del sito, in riga come nel sito statico (Elementor li mette in colonna). */
.e-con.actions, .e-con.footer__legal { --flex-direction: row; }

/* Generato: la sottolineatura dei link, tolta da Elementor (.elementor a); le regole del sito sotto la ritoccano. */
.elementor a { text-decoration: underline 1px; }

/* ==========================================================================
   Clinica Informatica — design system v3
   Linguaggio: crema + inchiostro + arancio del brand, pannelli arrotondati
   "incassati" nella pagina, card d'interfaccia diagnostiche, pillole.
   Fonti: Urbanist (display, variabile) · Inter (testo) · IBM Plex Mono (micro-dati)
   ========================================================================== */

/* ---------- 0. font ---------- */
@font-face { font-family: 'Urbanist'; src: url(../fonts/urbanist-latin-var.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(../fonts/inter-latin-var.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url(../fonts/plexmono-medium-latin.woff2) format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
/* fallback metrici: riducono lo spostamento al caricamento dei font */
@font-face { font-family: 'Urbanist Fallback'; src: local('Arial'); size-adjust: 96%; ascent-override: 98%; descent-override: 26%; line-gap-override: 0%; }
@font-face { font-family: 'Inter Fallback'; src: local('Arial'); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }

/* ---------- 1. tokens ---------- */
:root {
  /* colore */
  --cream: #f8f5ef;
  --sand: #ede9e1;
  --sand-2: #e3ded4;
  --paper: #ffffff;
  --ink: #1b1b1f;
  --ink-2: #242429;
  --ink-3: #303036;
  --text: #1b1b1f;
  --text-2: #55535a;
  --text-3: #6b6862;
  --on-ink: #ffffff;
  --on-ink-2: #b4b3b8;
  --on-ink-3: #8b8a90;
  --line: rgba(27, 27, 31, 0.1);
  --line-2: rgba(27, 27, 31, 0.18);
  --line-ink: rgba(255, 255, 255, 0.12);
  --accent: #ff8f2e;
  --accent-deep: #f07a14;
  --accent-soft: #ffe4cb;
  --accent-ink: #1b1b1f;
  /* pastelli di stato (dal visual ufficiale: rosso = guasto, verde = riparato) */
  --mint: #d4f1d9; --mint-ink: #17632e;
  --sky: #d7e5fa; --sky-ink: #1d4f91;
  --lilac: #e4ddf8; --lilac-ink: #4b3a8c;
  --rose: #fadcd8; --rose-ink: #9a2a1f;
  --butter: #fff0c7; --butter-ink: #7a5300;
  --success: #3fae62;
  --error: #d93d2b;

  /* tipografia */
  --font-display: 'Urbanist', 'Urbanist Fallback', 'Avenir Next', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Inter Fallback', 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --fs-display: clamp(2.55rem, 1.1rem + 4.9vw, 5.6rem);
  --fs-h1: clamp(2.3rem, 1.2rem + 3.9vw, 4.6rem);
  --fs-h2: clamp(2rem, 1.2rem + 2.9vw, 3.9rem);
  --fs-h3: clamp(1.4rem, 1.1rem + 1.1vw, 2.1rem);
  --fs-h4: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  /* spazi e forme */
  --frame: 12px;
  --gutter: clamp(1.25rem, 3.4vw, 3.25rem);
  --container: 1320px;
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --r-panel: clamp(18px, 1.7vw, 26px);
  --r-card: 18px;
  --r-sm: 12px;
  --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(27, 27, 31, 0.06), 0 12px 32px -12px rgba(27, 27, 31, 0.18);
  --shadow-float: 0 2px 6px rgba(0, 0, 0, 0.12), 0 30px 60px -20px rgba(0, 0, 0, 0.45);
  --header-h: 68px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-swap: cubic-bezier(0.625, 0.05, 0, 1);
  --dur-fast: 0.25s;
  --dur: 0.5s;
  --dur-slow: 0.9s;
}

/* colori del sito collegati ai colori globali di Elementor (Impostazioni del sito); il valore dopo la
   virgola è quello del sito statico, usato se il colore globale non c'è */
body {
  --cream: var(--e-global-color-clincream, #f8f5ef);
  --sand: var(--e-global-color-clinsand, #ede9e1);
  --sand-2: var(--e-global-color-clinsand2, #e3ded4);
  --paper: var(--e-global-color-clinpaper, #ffffff);
  --ink: var(--e-global-color-clinink, #1b1b1f);
  --ink-2: var(--e-global-color-clinink2, #242429);
  --ink-3: var(--e-global-color-clinink3, #303036);
  --text: var(--e-global-color-clintext, #1b1b1f);
  --text-2: var(--e-global-color-clintext2, #55535a);
  --text-3: var(--e-global-color-clintext3, #6b6862);
  --on-ink: var(--e-global-color-clinonink, #ffffff);
  --on-ink-2: var(--e-global-color-clinonink2, #b4b3b8);
  --on-ink-3: var(--e-global-color-clinonink3, #8b8a90);
  --accent: var(--e-global-color-clinaccent, #ff8f2e);
  --accent-deep: var(--e-global-color-clinaccentdeep, #f07a14);
  --accent-soft: var(--e-global-color-clinaccentsoft, #ffe4cb);
  --accent-ink: var(--e-global-color-clinaccentink, #1b1b1f);
  --mint: var(--e-global-color-clinmint, #d4f1d9);
  --mint-ink: var(--e-global-color-clinmintink, #17632e);
  --sky: var(--e-global-color-clinsky, #d7e5fa);
  --sky-ink: var(--e-global-color-clinskyink, #1d4f91);
  --lilac: var(--e-global-color-clinlilac, #e4ddf8);
  --lilac-ink: var(--e-global-color-clinlilacink, #4b3a8c);
  --rose: var(--e-global-color-clinrose, #fadcd8);
  --rose-ink: var(--e-global-color-clinroseink, #9a2a1f);
  --butter: var(--e-global-color-clinbutter, #fff0c7);
  --butter-ink: var(--e-global-color-clinbutterink, #7a5300);
  --success: var(--e-global-color-clinsuccess, #3fae62);
  --error: var(--e-global-color-clinerror, #d93d2b);
}

@media (max-width: 640px) {
  :root { --frame: 8px; --header-h: 60px; --r-card: 16px; }
}

/* ---------- 2. base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:where(h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd) { margin: 0; }
:where(ul[class], ol[class], nav ul, .footer ul, .menu ul) { list-style: none; padding: 0; margin: 0; }
address { font-style: normal; }
strong, b { font-weight: 600; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.panel--ink :focus-visible, .site-footer :focus-visible, .menu :focus-visible { outline-color: var(--accent); }
[hidden] { display: none !important; }
.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; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: var(--on-ink); padding: 12px 18px; border-radius: var(--r-pill); font-weight: 500; transition: top var(--dur-fast) var(--ease); }
.skip-link:focus { top: 16px; }
.site-main { display: block; }
.site-main:focus { outline: none; }

/* ---------- 3. layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.55); }
.section--flush-top { padding-top: 0; }
.panel { margin-inline: var(--frame); border-radius: var(--r-panel); position: relative; isolation: isolate; }
.panel--ink { background: var(--ink); color: var(--on-ink); }
.panel--sand { background: var(--sand); }
.panel--paper { background: var(--paper); }
.panel--accent { background: var(--accent); color: var(--accent-ink); }
.panel + .panel { margin-top: var(--frame); }
.grid-2 { display: grid; gap: clamp(2rem, 4vw, 5rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .grid-2 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .grid-2--even { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.stack-y > * + * { margin-top: var(--s, 1.5rem); }

/* ---------- 4. tipografia ---------- */
.display, .h1, .h2, .h3, .h4, h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.06; text-wrap: balance; }
.display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.028em; font-weight: 500; }
.h1 { font-size: var(--fs-h1); letter-spacing: -0.026em; }
.h2 { font-size: var(--fs-h2); letter-spacing: -0.024em; }
.h3 { font-size: var(--fs-h3); line-height: 1.12; }
.h4 { font-size: var(--fs-h4); line-height: 1.25; letter-spacing: -0.01em; font-weight: 600; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--text-2); max-width: 60ch; text-wrap: pretty; }
.panel--ink .lead { color: var(--on-ink-2); }
.small { font-size: var(--fs-small); }
.muted { color: var(--text-2); }
.panel--ink .muted { color: var(--on-ink-2); }
.dim { color: var(--text-3); }
.mono { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.02em; }
.accent-word { color: var(--accent); }
.soft-word { color: var(--text-3); }
.panel--ink .soft-word { color: var(--on-ink-3); }
/* parola evidenziata con sottolineatura a pennarello (disegnata allo scroll) */
.mark-word { position: relative; white-space: nowrap; display: inline-block; }
.mark-word::after { content: ''; position: absolute; left: 0; right: 0; bottom: -0.02em; height: 0.12em; border-radius: 1em; background: var(--accent); transform-origin: left center; transform: scaleX(var(--mark, 1)); }
.bubble { display: inline-grid; place-items: center; width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--accent); color: var(--ink); vertical-align: -0.14em; margin-inline: 0.08em 0.14em; }
.bubble .icon { width: 0.58em; height: 0.58em; stroke-width: 1.8; }
.bubble[data-spin] .icon { animation: bubble-spin 6s linear infinite; }
@keyframes bubble-spin { to { transform: rotate(360deg); } }

/* etichetta di sezione: pillola scura + icona tonda (come le etichette numerate) */
.label { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-body); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.01em; color: var(--text-2); }
.label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); flex: none; }
.panel--ink .label { color: var(--on-ink-2); }
.panel--ink .label::before { box-shadow: 0 0 0 4px rgba(255, 143, 46, 0.18); }
.panel--accent .label { color: var(--ink); }
.panel--accent .label::before { background: var(--ink); box-shadow: 0 0 0 4px rgba(27, 27, 31, 0.12); }
.pill-label { display: inline-flex; align-items: center; gap: 0.6rem; background: var(--ink); color: var(--on-ink); border-radius: var(--r-pill); padding: 0.35rem 0.35rem 0.35rem 1.1rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.005em; line-height: 1; }
.pill-label__icon { width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; }
.pill-label__icon .icon { width: 1rem; height: 1rem; }
.num-badge { width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid currentColor; display: inline-grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; flex: none; }

/* ---------- 5. icone ---------- */
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- 6. bottoni (pillole con testo che scorre e icona tonda) ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--on-ink); --btn-bd: var(--btn-bg); --btn-ic-bg: rgba(255, 255, 255, 0.14); --btn-ic-fg: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: 48px; padding: 0.45rem 0.45rem 0.45rem 1.4rem;
  border-radius: var(--r-pill); border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-weight: 500; font-size: 0.9375rem; line-height: 1; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: background-color var(--dur-fast) var(--ease-io), border-color var(--dur-fast) var(--ease-io), color var(--dur-fast) var(--ease-io), transform var(--dur-fast) var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn__label { display: grid; overflow: hidden; height: 1.2em; line-height: 1.2; }
.btn__label > span { grid-area: 1 / 1; transition: transform 0.45s var(--ease); }
.btn__label > span + span { transform: translateY(110%); }
.btn__icon { width: 36px; height: 36px; border-radius: 50%; background: var(--btn-ic-bg); color: var(--btn-ic-fg); display: grid; place-items: center; flex: none; transition: transform 0.45s var(--ease), background-color var(--dur-fast) var(--ease-io); }
.btn__icon .icon { width: 16px; height: 16px; transition: transform 0.45s var(--ease); }
.btn--no-icon { padding-right: 1.4rem; }
@media (hover: hover) {
  .btn:hover .btn__label > span:first-child { transform: translateY(-110%); }
  .btn:hover .btn__label > span + span { transform: translateY(0); }
  .btn:hover .btn__icon .icon[data-arrow] { transform: rotate(-45deg); }
}
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); --btn-ic-bg: var(--ink); --btn-ic-fg: var(--accent); }
.btn--accent:hover { --btn-bg: #ff9d47; }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--on-ink); --btn-ic-bg: var(--accent); --btn-ic-fg: var(--ink); }
.btn--ink:hover { --btn-bg: #2b2b31; }
.btn--cream { --btn-bg: var(--cream); --btn-fg: var(--ink); --btn-ic-bg: var(--ink); --btn-ic-fg: var(--cream); }
.btn--cream:hover { --btn-bg: var(--paper); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-2); --btn-ic-bg: var(--sand); --btn-ic-fg: var(--ink); }
.btn--ghost:hover { --btn-bd: var(--ink); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--on-ink); --btn-bd: rgba(255, 255, 255, 0.28); --btn-ic-bg: rgba(255, 255, 255, 0.12); --btn-ic-fg: var(--on-ink); }
.btn--ghost-light:hover { --btn-bd: var(--on-ink); --btn-bg: rgba(255, 255, 255, 0.06); }
.btn--lg { min-height: 56px; font-size: 1rem; padding-left: 1.6rem; }
.btn--lg .btn__icon { width: 42px; height: 42px; }
.btn--sm { min-height: 40px; font-size: 0.875rem; padding-left: 1.1rem; padding-block: 0.3rem; }
.btn--sm .btn__icon { width: 30px; height: 30px; }
.btn--sm.btn--no-icon { padding-right: 1.1rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* link con freccia e sottolineatura che si disegna */
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size 0.45s var(--ease); }
.link-arrow .icon { width: 1rem; height: 1rem; transition: transform 0.45s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover .icon { transform: translateX(3px); }
.u-link { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
.u-link:hover { text-decoration-color: currentColor; }

/* ---------- 7. chip / pillole piccole ---------- */
.chip { display: inline-flex; align-items: center; gap: 0.4em; border-radius: var(--r-pill); padding: 0.32em 0.8em; font-size: 0.8125rem; font-weight: 500; line-height: 1.2; background: var(--sand); color: var(--text); white-space: nowrap; }
.chip--paper { background: var(--paper); }
.chip--ink { background: var(--ink); color: var(--on-ink); }
.chip--mint { background: var(--mint); color: var(--mint-ink); }
.chip--sky { background: var(--sky); color: var(--sky-ink); }
.chip--lilac { background: var(--lilac); color: var(--lilac-ink); }
.chip--rose { background: var(--rose); color: var(--rose-ink); }
.chip--butter { background: var(--butter); color: var(--butter-ink); }
.chip--accent { background: var(--accent-soft); color: #8a3c00; }
.chip--line { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.panel--ink .chip--line { box-shadow: inset 0 0 0 1px var(--line-ink); color: var(--on-ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.dot--live { background: var(--success); box-shadow: 0 0 0 0 rgba(63, 174, 98, 0.5); animation: live 2s var(--ease) infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(63, 174, 98, 0.55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(63, 174, 98, 0); } }

/* stato "aperto ora" */
.status { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); flex: none; }
.status.is-open::before { background: var(--success); animation: live 2s var(--ease) infinite; }

/* ---------- 8. header (pillola crema incastrata nel pannello) ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; pointer-events: none; display: flex; justify-content: center; }
.nav {
  --fillet: 20px;
  pointer-events: auto; position: relative;
  width: min(1120px, calc(100% - var(--frame) * 2 - 80px));
  height: calc(var(--header-h) + var(--frame));
  padding: var(--frame) 10px 0 22px;
  display: flex; align-items: center; gap: 1.25rem;
  background: var(--cream); color: var(--ink);
  border-radius: 0 0 22px 22px;
  transition: transform 0.6s var(--ease), border-radius 0.6s var(--ease), box-shadow 0.6s var(--ease), height 0.6s var(--ease), padding 0.6s var(--ease), width 0.6s var(--ease);
}
.nav::before, .nav::after { content: ''; position: absolute; top: var(--frame); width: var(--fillet); height: var(--fillet); pointer-events: none; transition: opacity 0.3s var(--ease); }
.nav::before { right: 100%; background: radial-gradient(circle at 0 100%, transparent calc(var(--fillet) - 0.5px), var(--cream) var(--fillet)); }
.nav::after { left: 100%; background: radial-gradient(circle at 100% 100%, transparent calc(var(--fillet) - 0.5px), var(--cream) var(--fillet)); }
.nav__inner { display: flex; align-items: center; gap: 1.25rem; width: 100%; height: var(--header-h); }
.is-floating .nav { transform: translateY(10px); border-radius: var(--r-pill); height: var(--header-h); padding-top: 0; box-shadow: 0 1px 2px rgba(27, 27, 31, 0.06), 0 18px 40px -18px rgba(27, 27, 31, 0.35); }
.is-floating .nav::before, .is-floating .nav::after { opacity: 0; }
/* barra di avanzamento sul bordo superiore dello schermo */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 65; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: var(--accent); transform-origin: left center; transform: scaleX(var(--progress, 0)); border-radius: 0 3px 3px 0; box-shadow: 0 0 10px rgba(255, 143, 46, 0.55); }
body.menu-open .scroll-progress { opacity: 0; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: inherit; flex: none; min-height: 44px; }
.brand .logo-mark { width: 28px; height: 28px; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; letter-spacing: -0.02em; line-height: 1; }
.brand__name em { font-style: normal; font-weight: 400; }
.site-nav { margin-inline: auto; }
.site-nav ul { display: flex; gap: 0.25rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 0.85rem; border-radius: var(--r-pill); font-size: 0.9375rem; font-weight: 500; text-decoration: none; color: var(--text-2); transition: color var(--dur-fast) var(--ease-io), background-color var(--dur-fast) var(--ease-io); }
.site-nav a:hover { color: var(--ink); background: var(--sand); }
.site-nav a[aria-current='page'] { color: var(--ink); }
.site-nav a[aria-current='page']::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-left: 0.45rem; }
.nav__actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }

.menu-toggle { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0.3rem 0.3rem 0.3rem 1rem; border: 0; border-radius: var(--r-pill); background: var(--ink); color: var(--on-ink); font-weight: 500; font-size: 0.9375rem; }
.menu-toggle__label { display: grid; overflow: hidden; height: 1.2em; line-height: 1.2; }
.menu-toggle__label span { grid-area: 1 / 1; transition: transform 0.5s var(--ease); }
.menu-toggle__label span + span { transform: translateY(110%); }
.menu-toggle[aria-expanded='true'] .menu-toggle__label span:first-child { transform: translateY(-110%); }
.menu-toggle[aria-expanded='true'] .menu-toggle__label span + span { transform: translateY(0); }
.menu-toggle__icon { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; transition: transform 0.6s var(--ease); }
.menu-toggle__icon .icon { width: 16px; height: 16px; }
.menu-toggle[aria-expanded='true'] .menu-toggle__icon { transform: rotate(135deg); }
.nav__phone { display: none; }
@media (min-width: 1180px) { .nav__phone { display: inline-flex; } }
@media (max-width: 1023px) {
  .site-nav, .nav__cta { display: none; }
}
@media (min-width: 1024px) { .menu-toggle--mobile { display: none; } }
@media (max-width: 640px) {
  .nav { width: calc(100% - var(--frame) * 2 - 28px); padding-left: 14px; padding-right: 8px; --fillet: 14px; border-radius: 0 0 18px 18px; }
  .brand__name { font-size: 1.1rem; }
  .brand .logo-mark { width: 24px; height: 24px; }
  .menu-toggle { padding-left: 0.85rem; }
  .menu-toggle__icon { width: 32px; height: 32px; }
}
@media (max-width: 340px) { .brand__name em { display: none; } }

/* ---------- 9. menu a livelli sfalsati ---------- */
.menu { position: fixed; inset: 0; z-index: 55; pointer-events: none; }
.menu[hidden] { display: none; }
.menu.is-open { pointer-events: auto; }
.menu__scrim { position: absolute; inset: 0; background: rgba(27, 27, 31, 0.35); opacity: 0; transition: opacity 0.5s var(--ease); }
.menu.is-open .menu__scrim { opacity: 1; }
.menu__layer, .menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(620px, 100%); transform: translateX(102%); }
.menu__layer--1 { background: var(--accent); }
.menu__layer--2 { background: var(--ink-3); }
.menu__panel { background: var(--ink); color: var(--on-ink); display: flex; flex-direction: column; padding: calc(var(--header-h) + var(--frame) + 2.5rem) clamp(1.5rem, 4vw, 3.5rem) 2rem; overflow-y: auto; overscroll-behavior: contain; }
html:not(.js) .menu__layer, html:not(.js) .menu__panel, .reduce-motion .menu__layer, .reduce-motion .menu__panel { transition: transform 0.01s; }
.menu.is-open.is-static .menu__layer, .menu.is-open.is-static .menu__panel { transform: none; }
.menu__list li { overflow: hidden; }
.menu__list a { display: flex; align-items: baseline; gap: 1rem; padding-block: 0.3rem; text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); line-height: 1.12; letter-spacing: -0.025em; color: var(--on-ink); transition: color var(--dur-fast) var(--ease-io); }
.menu__list a span.mono { color: var(--on-ink-3); font-size: 0.75rem; transform: translateY(-1.2em); }
.menu__list a:hover, .menu__list a[aria-current='page'] { color: var(--accent); }
.menu__sub { margin-top: 2rem; }
.menu__sub-title { font-size: 0.8125rem; color: var(--on-ink-3); margin-bottom: 0.75rem; }
.menu__services { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.menu__services a { display: inline-flex; align-items: center; min-height: 40px; padding: 0.45rem 0.95rem; border-radius: var(--r-pill); border: 1px solid var(--line-ink); text-decoration: none; font-size: 0.875rem; color: var(--on-ink-2); transition: all var(--dur-fast) var(--ease-io); }
.menu__services a:hover { border-color: var(--accent); color: var(--on-ink); }
.menu__footer { margin-top: auto; padding-top: 2.5rem; display: grid; gap: 1.25rem; }
.menu__meta { display: grid; gap: 0.25rem; font-size: 0.9375rem; color: var(--on-ink-2); }
.menu__meta a { color: var(--on-ink); text-decoration: none; }
.menu__footer .actions .btn { flex: 1 1 auto; }
body.menu-open { overflow: hidden; }

/* ---------- 10. hero Home ---------- */
.hero { margin-top: var(--frame); min-height: calc(100svh - var(--frame)); overflow: hidden; display: flex; flex-direction: column; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1.3px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 72% 62%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 72% 62%, #000 10%, transparent 75%); }
.hero::after { content: ''; position: absolute; z-index: -1; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; right: -12vw; bottom: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(255, 143, 46, 0.2), rgba(255, 143, 46, 0) 65%); pointer-events: none; }
.hero__inner { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: clamp(1.75rem, 3vw, 2.5rem); padding-top: calc(var(--header-h) + clamp(2.5rem, 7vh, 5.5rem)); }
.hero__kicker { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; color: var(--on-ink-2); }
.hero__title { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -0.03em; font-weight: 500; max-width: 17ch; text-wrap: initial; }
.hero__title .hl { display: block; }
.rotator { display: inline-grid; vertical-align: top; overflow: hidden; }
.rotator > span { grid-area: 1 / 1; white-space: nowrap; }
.rotator > span:not(:first-child) { visibility: hidden; }
.js .rotator > span:not(:first-child) { visibility: visible; transform: translateY(105%); }
.hero__bottom { display: grid; gap: 2.25rem; grid-template-columns: minmax(0, 1fr); }
.hero__copy { display: grid; gap: 1.75rem; align-content: start; max-width: 36rem; }
.hero__lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--on-ink-2); }
.hero__lead strong { color: var(--on-ink); font-weight: 500; }
.rating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.55rem; font-size: 0.9375rem; text-decoration: none; color: inherit; }
.rating b { font-weight: 600; font-size: 1.05rem; }
.rating__stars { display: inline-flex; color: var(--accent); }
.rating__stars .icon { width: 15px; height: 15px; }
.rating .g { width: 20px; height: 20px; }
.rating__count { color: var(--text-2); }
.panel--ink .rating__count { color: var(--on-ink-2); }
a.rating:hover .rating__count { text-decoration: underline; text-underline-offset: 0.2em; }
@media (min-width: 1024px) {
  .hero__bottom { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 3rem; flex: 1; }
}

/* card d'interfaccia (composizione dell'hero) */
.hero__visual { position: relative; height: 430px; margin-bottom: -70px; margin-inline: calc(var(--gutter) * -0.3); }
@media (min-width: 640px) { .hero__visual { height: 470px; } }
@media (min-width: 1024px) { .hero__visual { height: auto; min-height: 520px; margin: 0 0 -90px; } }
.ui { position: absolute; font-family: var(--font-body); font-size: 12.5px; line-height: 1.35; color: var(--text); background: var(--paper); border-radius: 16px; box-shadow: var(--shadow-float); will-change: transform; }
.ui b { font-weight: 600; }
.ui .chip { font-size: 11.5px; padding: 0.3em 0.75em; }
.ui__row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.ui__title { font-size: 13.5px; font-weight: 600; letter-spacing: -0.005em; }
.ui__sub { color: var(--text-3); font-size: 11.5px; }
.ui-device { left: 0; top: 4%; width: min(430px, 58%); padding: 10px; display: grid; grid-template-columns: 38% 1fr; gap: 12px; }
.ui-device__media { position: relative; border-radius: 10px; overflow: hidden; background: var(--sand); min-height: 168px; }
.ui-device__media .pic, .ui-device__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ui-device__media .chip { position: absolute; left: 6px; bottom: 6px; }
.ui-device__body { display: grid; gap: 7px; align-content: start; padding: 4px 4px 2px 0; }
.ui-checks { display: grid; gap: 5px; }
.ui-checks li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 5px; border-top: 1px solid var(--line); }
.ui-checks .chip { min-width: 4.6em; justify-content: center; transition: background-color 0.3s, color 0.3s; }
.ui-checks .chip.is-pending { background: var(--sand); color: var(--text-3); }
.ui-progress { height: 5px; border-radius: 5px; background: var(--sand); overflow: hidden; }
.ui-progress i { display: block; height: 100%; width: 100%; background: var(--accent); border-radius: inherit; transform-origin: left; transform: scaleX(var(--p, 0.62)); }
.ui-rating { right: 0; top: 0; width: min(290px, 38%); padding: 16px 16px 14px; background: var(--accent); color: var(--ink); text-decoration: none; display: grid; gap: 12px; transition: box-shadow 0.4s var(--ease); }
.ui-rating:hover { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12), 0 36px 70px -18px rgba(0, 0, 0, 0.55); }
.ui-rating .ui__row .chip { background: var(--paper); color: var(--ink); font-weight: 600; }
.ui-avatars { display: flex; }
.ui-avatars span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--accent); margin-right: -8px; display: grid; place-items: center; font-weight: 600; font-size: 12px; background: var(--c, var(--sand)); color: var(--ink); }
.ui-avatars span:last-child { background: var(--ink); color: var(--on-ink); font-size: 10.5px; width: 36px; }
.ui-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 12.5px; }
.ui-link .icon { width: 13px; height: 13px; }
.ui-today { left: 7%; top: 60%; width: min(300px, 40%); padding: 14px; display: grid; gap: 10px; }
.ui-bars { display: grid; grid-template-columns: 5fr 3fr 2fr; gap: 4px; }
.ui-bars i { height: 6px; border-radius: 6px; background: var(--c); }
.ui-steps { right: 0; top: 36%; width: min(440px, 57%); padding: 8px 12px 12px; }
.ui-steps__head { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; padding: 8px 4px 10px; color: var(--text-3); font-size: 11.5px; border-bottom: 1px solid var(--line); }
.ui-steps li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 9px 4px; border-bottom: 1px solid var(--line); transition: background-color 0.4s var(--ease); border-radius: 10px; }
.ui-steps li:last-child { border-bottom: 0; }
.ui-steps li small { display: block; color: var(--text-3); font-size: 11.5px; }
.ui-steps li.is-active { background: var(--cream); }
.ui-num { width: 30px; height: 30px; border-radius: 50%; background: var(--lilac); color: var(--lilac-ink); display: grid; place-items: center; font-weight: 600; font-size: 13px; transition: background-color 0.4s, color 0.4s; }
.ui-steps li.is-active .ui-num { background: var(--accent); color: var(--ink); }
.ui-steps li.is-done .ui-num { background: var(--mint); color: var(--mint-ink); }
.ui-steps .chip { min-width: 5.4em; justify-content: center; }
@media (max-width: 1023px) {
  .ui-device { width: min(430px, 76%); top: 0; }
  .ui-rating { width: min(250px, 46%); top: 46%; right: 2%; }
  .ui-steps { width: min(420px, 74%); top: 60%; left: 4%; right: auto; }
  .ui-today { display: none; }
}
@media (max-width: 640px) {
  .hero__title { font-size: clamp(2rem, 9.2vw, 2.55rem); }
  .hero__visual { height: 400px; margin-bottom: -60px; }
  .ui { font-size: 11.5px; }
  .ui-device { width: 94%; grid-template-columns: 36% 1fr; }
  .ui-device .ui__row .chip { display: none; }
  .ui-device__media { min-height: 150px; }
  .ui-rating { display: none; }
  .ui-steps { top: 205px; left: auto; right: 0; width: 92%; }
}

/* ---------- 11. ticker recensioni (maschera sfumata ai bordi) ---------- */
.ticker { position: relative; overflow: hidden; padding-block: 1.75rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker__track { display: flex; width: max-content; gap: 0.75rem; animation: marquee var(--marquee-dur, 60s) linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker--reverse .ticker__track { animation-direction: reverse; }
.ticker__item { display: inline-flex; align-items: center; gap: 0.65rem; padding: 0.7rem 1.1rem; border-radius: var(--r-pill); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.9375rem; white-space: nowrap; }
.ticker__item .icon { color: var(--accent); width: 15px; height: 15px; }
.ticker__item em { font-style: normal; color: var(--text-3); }
.ticker__item--strong { background: var(--ink); color: var(--on-ink); box-shadow: none; font-weight: 500; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 12. statement + flusso ---------- */
.statement { text-align: center; }
.statement__title { font-size: var(--fs-h2); line-height: 1.1; max-width: 24ch; margin-inline: auto; }
.statement__text { font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.45rem); line-height: 1.5; max-width: 44ch; margin: 2rem auto 0; color: var(--text); text-wrap: pretty; }
.statement__cue { margin-top: 3.25rem; font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 500; }
.flow { position: relative; display: grid; gap: 1rem; margin-top: 2.25rem; text-align: center; }
.flow__card { position: relative; z-index: 1; background: var(--paper); border-radius: var(--r-card); padding: 1.75rem 1.25rem 1.6rem; display: grid; justify-items: center; gap: 1rem; box-shadow: 0 1px 2px rgba(27, 27, 31, 0.04); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.flow__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.flow__card p { color: var(--text-2); max-width: 22ch; font-size: 0.9375rem; }
.flow__line { position: absolute; z-index: 0; left: -1.25rem; right: -1.25rem; top: 50%; bottom: -2.25rem; border: 1.5px dashed var(--line-2); border-top: 0; border-radius: 0 0 28px 28px; pointer-events: none; }
.flow__line::before, .flow__line::after { content: ''; position: absolute; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.flow__line::before { left: -4.5px; }
.flow__line::after { right: -4.5px; }
@media (min-width: 640px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 639px) { .flow__line { left: auto; right: -0.6rem; top: 2rem; bottom: 2rem; width: 1.5rem; border-radius: 0 20px 20px 0; border-left: 0; border-top: 1.5px dashed var(--line-2); } .flow__line::before { left: -4px; top: -4.5px; } .flow__line::after { right: auto; left: -4px; top: auto; bottom: -4.5px; } }

/* ---------- 13. testa di sezione ---------- */
.head { display: grid; gap: 1.1rem; max-width: 44rem; }
.head__title { font-size: var(--fs-h2); }
.head__lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--text-2); max-width: 54ch; }
.panel--ink .head__lead { color: var(--on-ink-2); }
.head--center { text-align: center; margin-inline: auto; justify-items: center; }
.head--row { max-width: none; grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 900px) { .head--row { grid-template-columns: minmax(0, 1fr) auto; gap: 1.1rem 4rem; } .head--row > *:not(.head__side) { grid-column: 1; } .head--row .head__side { grid-column: 2; grid-row: 1 / span 3; align-self: end; } }
.head + * { margin-top: clamp(2.5rem, 4vw, 4rem); }

/* ---------- 14. triage "Che problema hai?" ---------- */
.triage { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .triage { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem; align-items: stretch; } }
.triage__tabs { display: grid; gap: 0.5rem; align-content: start; }
.triage__tab { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; text-align: left; padding: 1rem 1rem 1rem 1.35rem; min-height: 64px; border: 0; border-radius: var(--r-card); background: var(--paper); color: var(--ink); font-family: var(--font-display); font-weight: 500; font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); letter-spacing: -0.012em; line-height: 1.2; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease); }
.triage__tab .triage__arrow { width: 38px; height: 38px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; flex: none; transition: background-color 0.35s var(--ease), transform 0.5s var(--ease); }
.triage__tab .triage__arrow .icon { width: 16px; height: 16px; }
.triage__tab:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.triage__tab[aria-selected='true'] { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.triage__tab[aria-selected='true'] .triage__arrow { background: var(--accent); color: var(--ink); transform: rotate(-45deg); }
.triage__panels { position: relative; }
.triage__panel { background: var(--sand); border-radius: var(--r-panel); padding: clamp(1.25rem, 2.5vw, 2.25rem); display: grid; gap: 1.25rem; align-content: start; height: 100%; }
html:not(.js) .triage__panel + .triage__panel { margin-top: 1rem; }
.triage__media { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 8; position: relative; background: var(--sand-2); }
.triage__media img { width: 100%; height: 100%; object-fit: cover; }
.triage__media .chip { position: absolute; left: 12px; top: 12px; }
.triage__kicker { font-size: 0.8125rem; color: var(--text-2); }
.triage__title { font-size: var(--fs-h3); }
.triage__text { color: var(--text-2); max-width: 52ch; }
.triage__bring { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
.triage__bring > span:first-child { color: var(--text-2); margin-right: 0.25rem; }

/* ---------- 15. servizi a card impilate ---------- */
.stack { display: grid; gap: var(--frame); }
.stack__card { position: relative; border-radius: var(--r-panel); overflow: hidden; background: var(--bg, var(--sand)); color: var(--fg, var(--ink)); transform-origin: 50% 0; }
.stack__card--sand { --bg: var(--sand); }
.stack__card--accent { --bg: var(--accent); }
.stack__card--ink { --bg: var(--ink); --fg: var(--on-ink); }
.stack__card--paper { --bg: var(--paper); }
.stack__shade { position: absolute; inset: 0; background: var(--ink); opacity: 0; pointer-events: none; z-index: 2; }
.stack__inner { display: grid; gap: clamp(1.5rem, 3vw, 3.5rem); padding: clamp(1.25rem, 3vw, 3rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .stack__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; min-height: min(640px, calc(100svh - var(--header-h) - 80px)); } .stack__card:nth-child(even) .stack__copy { order: 2; } }
.stack__copy { display: grid; gap: 1.4rem; align-content: center; }
.stack__top { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.stack__card--ink .pill-label { background: var(--paper); color: var(--ink); }
.stack__card--ink .pill-label__icon { background: var(--accent); }
.stack__card--accent .pill-label__icon { background: var(--accent); }
.stack__title { font-size: var(--fs-h3); max-width: 20ch; }
.stack__text { font-size: 1.0625rem; line-height: 1.55; max-width: 46ch; opacity: 0.86; }
.stack__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.stack__card--accent .chip, .stack__card--sand .chip { background: rgba(255, 255, 255, 0.72); }
.stack__card--ink .chip { background: var(--ink-3); color: var(--on-ink); }
.stack__bring { font-size: 0.9375rem; }
.stack__bring b { font-weight: 600; }
.stack__visual { position: relative; border-radius: calc(var(--r-panel) - 6px); overflow: hidden; aspect-ratio: 5 / 4; background: rgba(0, 0, 0, 0.08); }
.stack__visual .pic, .stack__visual > .pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.stack__visual img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.stack__visual .ui { position: absolute; }
.stack__visual .ui--tl { left: 4%; top: 5%; }
.stack__visual .ui--br { right: 4%; bottom: 5%; }
.stack__visual .ui--bl { left: 4%; bottom: 5%; }
.stack__visual .ui--tr { right: 4%; top: 5%; }
.ui-panel { padding: 12px 14px; width: min(270px, 62%); display: grid; gap: 8px; }
.ui-panel ul { display: grid; gap: 6px; }
.ui-panel li { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 6px; }
.ui-tag { padding: 8px 12px 8px 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 12.5px; border-radius: var(--r-pill); }
.ui-tag .ui-num { width: 26px; height: 26px; font-size: 11px; background: var(--accent); color: var(--ink); }
.ui-files li span:first-child { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; }
@media (max-width: 520px) { .ui-panel { width: 72%; } .stack__visual { aspect-ratio: 4 / 4.2; } }

/* ---------- 16. numeri ---------- */
.stats { display: grid; gap: var(--frame); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { background: var(--paper); border-radius: var(--r-card); padding: 1.5rem 1.5rem 1.4rem; display: grid; gap: 2.5rem; align-content: space-between; min-height: 240px; }
.stat--accent { background: var(--accent); }
.stat--ink { background: var(--ink); color: var(--on-ink); }
.stat__label { font-size: 0.875rem; color: var(--text-2); display: flex; justify-content: space-between; gap: 1rem; }
.stat--ink .stat__label { color: var(--on-ink-2); }
.stat--accent .stat__label { color: var(--ink); }
.stat__num { font-family: var(--font-display); font-weight: 400; font-size: clamp(3.8rem, 2.8rem + 3.2vw, 6.2rem); line-height: 0.9; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.stat__num small { font-size: 0.34em; letter-spacing: -0.01em; margin-left: 0.2em; color: inherit; opacity: 0.6; }
.stat__text { font-size: 0.9375rem; color: var(--text-2); }
.stat--ink .stat__text { color: var(--on-ink-2); }
.stat--accent .stat__text { color: rgba(27, 27, 31, 0.78); }
.weight-scrub { font-variation-settings: 'wght' var(--w, 500); font-weight: normal; }

/* ---------- 17. recensioni ---------- */
.reviews { overflow: hidden; }
.reviews__rows { display: grid; gap: 0.9rem; }
.reviews__rows .ticker { padding-block: 0.25rem; }
.reviews__rows .ticker__track { gap: 0.9rem; align-items: stretch; }
.review-card { width: min(380px, 80vw); flex: none; background: var(--paper); border-radius: var(--r-card); padding: 1.35rem 1.4rem 1.25rem; display: grid; gap: 1rem; align-content: space-between; white-space: normal; box-shadow: inset 0 0 0 1px var(--line); }
.review-card__stars { display: flex; gap: 2px; color: var(--accent); }
.review-card__stars .icon { width: 16px; height: 16px; }
.review-card__text { font-size: 1rem; line-height: 1.5; }
.review-card__text mark { background: linear-gradient(transparent 58%, var(--accent-soft) 58%); color: inherit; padding-inline: 1px; }
.review-card__meta { display: flex; align-items: center; gap: 0.7rem; font-size: 0.875rem; }
.review-card__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--c, var(--lilac)); display: grid; place-items: center; font-weight: 600; font-size: 0.875rem; flex: none; }
.review-card__meta span { display: block; color: var(--text-3); font-size: 0.8125rem; }
.review-card__meta b { font-weight: 600; }
.review-card__meta .g { width: 18px; height: 18px; margin-left: auto; }
.reviews__summary { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.reviews__score { display: flex; align-items: center; gap: 1rem; }
.reviews__score strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(3rem, 2.5rem + 2vw, 4.5rem); letter-spacing: -0.04em; line-height: 1; }
.reviews__score .rating__stars .icon { width: 18px; height: 18px; }
.reviews__meta { display: grid; gap: 0.3rem; font-size: 0.875rem; color: var(--text-2); }
.quotes { display: grid; gap: var(--frame); grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.quotes .review-card { width: auto; }

/* ---------- 18. sede ---------- */
.visit { padding: clamp(1.25rem, 3.5vw, 3.5rem); display: grid; gap: clamp(2rem, 4vw, 4rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .visit { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.visit__copy { display: grid; gap: 1.5rem; align-content: start; }
.visit__address { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 500; line-height: 1.35; }
.visit__address span { display: block; color: var(--text-2); font-weight: 400; }
.meta-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.meta-list > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding-block: 0.8rem; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.meta-list dt { color: var(--text-2); }
.meta-list dd { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .meta-list > div { grid-template-columns: 6.5rem minmax(0, 1fr); } }
.meta-list dd a { text-decoration: none; font-weight: 500; }
.meta-list dd a:hover { text-decoration: underline; }
.panel--ink .meta-list, .panel--ink .meta-list > div { border-color: var(--line-ink); }
.panel--ink .meta-list dt { color: var(--on-ink-2); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.9375rem; background: var(--paper); border-radius: var(--r-card); overflow: hidden; }
.hours th, .hours td { text-align: left; padding: 0.7rem 1.1rem; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours__closed td { color: var(--text-3); }
.hours tr.is-today { background: var(--accent-soft); }
.hours tr.is-today th { font-weight: 600; }
.hours tr.is-today th::after { content: 'oggi'; margin-left: 0.5rem; font-size: 0.75rem; font-weight: 500; background: var(--ink); color: var(--on-ink); border-radius: var(--r-pill); padding: 0.1rem 0.5rem; }
.map { position: relative; border-radius: var(--r-card); overflow: hidden; min-height: 420px; height: 100%; background: var(--sand-2); isolation: isolate; }
.map::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(115deg, transparent 47%, rgba(255, 255, 255, 0.85) 47%, rgba(255, 255, 255, 0.85) 51%, transparent 51%),
  linear-gradient(18deg, transparent 58%, rgba(255, 255, 255, 0.6) 58%, rgba(255, 255, 255, 0.6) 60%, transparent 60%),
  linear-gradient(90deg, rgba(27, 27, 31, 0.05) 1px, transparent 1px) 0 0 / 36px 36px,
  linear-gradient(rgba(27, 27, 31, 0.05) 1px, transparent 1px) 0 0 / 36px 36px, var(--sand-2); }
.map__pin { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -100%); display: grid; justify-items: center; gap: 6px; }
.map__pin i { width: 46px; height: 46px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(240, 122, 20, 0.7); }
.map__pin i::after { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }
.map__pin::after { content: ''; width: 18px; height: 6px; border-radius: 50%; background: rgba(27, 27, 31, 0.25); animation: pin-shadow 2.4s var(--ease) infinite; }
@keyframes pin-shadow { 50% { transform: scale(0.7); opacity: 0.6; } }
.map__placeholder { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: var(--paper); border-radius: var(--r-sm); padding: 1rem 1.1rem; display: grid; gap: 0.75rem; box-shadow: var(--shadow-card); }
.map__addr strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.map__addr { font-size: 0.9375rem; color: var(--text-2); }
.map__note { font-size: 0.8125rem; color: var(--text-3); }
.map__note a { color: var(--text); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.map.is-loaded .map__placeholder, .map.is-loaded .map__pin { display: none; }

/* ---------- 19. CTA finale + footer ---------- */
.site-footer { margin: var(--section) var(--frame) var(--frame); }
.cta { border-radius: var(--r-panel) var(--r-panel) 0 0; padding: clamp(3.5rem, 8vw, 7.5rem) var(--gutter) clamp(3rem, 6vw, 5rem); text-align: center; overflow: hidden; margin: 0; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.3px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000, transparent 75%); }
.cta__title { font-size: var(--fs-h1); max-width: 18ch; margin-inline: auto; }
.cta__text { color: var(--on-ink-2); font-size: var(--fs-lead); max-width: 46ch; margin: 1.5rem auto 0; }
.cta__actions { justify-content: center; margin-top: 2.5rem; }
.cta__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 2.5rem; }
.cta__meta .chip { background: var(--ink-3); color: var(--on-ink); }
/* pulsante grande con testo che si scambia */
.swap-btn { display: inline-flex; align-items: center; gap: 1rem; padding: 0.55rem 0.55rem 0.55rem 1.75rem; border-radius: var(--r-pill); background: var(--paper); color: var(--ink); text-decoration: none; min-height: 72px; transition: background-color 0.735s var(--ease-swap); position: relative; overflow: hidden; isolation: isolate; }
.swap-btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--accent); border-radius: inherit; transform: translateY(101%); transition: transform 0.735s var(--ease-swap); }
.swap-btn__text { display: grid; overflow: hidden; height: 1.3em; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem); line-height: 1.3; text-align: left; letter-spacing: -0.015em; }
.swap-btn__text span { grid-area: 1 / 1; transition: transform 0.735s var(--ease-swap); }
.swap-btn__text span + span { transform: translateY(110%); }
.swap-btn__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; transition: transform 0.735s var(--ease-swap); }
.swap-btn__icon .icon { width: 20px; height: 20px; }
@media (hover: hover) {
  .swap-btn:hover::before { transform: translateY(0); }
  .swap-btn:hover .swap-btn__text span:first-child { transform: translateY(-110%); }
  .swap-btn:hover .swap-btn__text span + span { transform: translateY(0); }
  .swap-btn:hover .swap-btn__icon { transform: rotate(-45deg); }
}
.footer { background: var(--ink); color: var(--on-ink); border-radius: 0 0 var(--r-panel) var(--r-panel); padding: 0 var(--gutter) 1.5rem; overflow: hidden; }
.footer__top { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); padding-block: 3.5rem 3rem; border-top: 1px solid var(--line-ink); }
@media (min-width: 700px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer__top { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); } }
.footer__brand p { color: var(--on-ink-2); max-width: 34ch; margin-top: 1.25rem; font-size: 0.9375rem; }
.footer__col-title { font-size: 0.8125rem; color: var(--on-ink-3); margin-bottom: 1rem; }
.footer ul { display: grid; gap: 0.35rem; }
.footer a { color: var(--on-ink); text-decoration: none; font-size: 0.9375rem; transition: color var(--dur-fast) var(--ease-io); }
.footer a:hover { color: var(--accent); }
.footer address { color: var(--on-ink-2); font-size: 0.9375rem; overflow-wrap: anywhere; }
.footer__hours li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.875rem; color: var(--on-ink-2); max-width: 17rem; }
.footer__hours li span:first-child { color: var(--on-ink); }
.footer__social { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.footer__social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); }
.footer__social a:hover { background: var(--accent); color: var(--ink); }
.footer__wordmark { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 10.8vw, 12rem); line-height: 0.8; letter-spacing: -0.05em; white-space: nowrap; text-align: center; color: var(--ink-3); margin-block: 1rem 0.5rem; user-select: none; }
.footer__wordmark span { color: var(--accent); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; font-size: 0.8125rem; color: var(--on-ink-3); padding-top: 1.25rem; border-top: 1px solid var(--line-ink); }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; }
.footer__legal a, .footer__legal button { font-size: 0.8125rem; color: var(--on-ink-2); }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.linklike:hover { color: var(--accent); }

/* ---------- 20. barra azioni mobile ---------- */
.mobile-bar { position: fixed; z-index: 50; left: var(--frame); right: var(--frame); max-width: 440px; margin-inline: auto; bottom: max(10px, env(safe-area-inset-bottom)); display: flex; gap: 4px; padding: 5px; border-radius: var(--r-pill); background: var(--ink); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5); transition: transform 0.6s var(--ease), opacity 0.4s; }
.mobile-bar a { flex: 1 1 0; justify-content: center; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 48px; padding-inline: 0.5rem; border-radius: var(--r-pill); color: var(--on-ink); text-decoration: none; font-size: 0.875rem; font-weight: 500; }
.mobile-bar a .icon { width: 17px; height: 17px; }
.mobile-bar__cta { background: var(--accent); color: var(--ink) !important; }
.mobile-bar.is-hidden { transform: translateY(140%); opacity: 0; }
@media (min-width: 1024px) { .mobile-bar { display: none; } }
@media (max-width: 1023px) { body:not(.no-mobile-bar) { padding-bottom: 76px; } }
@media (max-width: 360px) { .mobile-bar a { font-size: 0.8125rem; } .mobile-bar a .icon { display: none; } }

/* ---------- 21. consenso ---------- */
.consent { position: fixed; z-index: 70; left: var(--frame); bottom: var(--frame); width: min(400px, calc(100% - var(--frame) * 2)); }
.consent[hidden] { display: none; }
.consent__box { background: var(--paper); color: var(--ink); border-radius: var(--r-card); padding: 1.25rem; box-shadow: 0 2px 6px rgba(27, 27, 31, 0.08), 0 30px 60px -20px rgba(27, 27, 31, 0.4); animation: consent-in 0.6s var(--ease) both; }
@keyframes consent-in { from { opacity: 0; transform: translateY(20px); } }
.consent__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin: 0.5rem 0 0.4rem; }
.consent__text { font-size: 0.875rem; color: var(--text-2); }
.consent__text a { color: var(--ink); }
.consent__choices { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-block: 1rem; font-size: 0.875rem; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.consent__actions .btn { flex: 1 1 auto; }
@media (max-width: 1023px) { .consent { bottom: 84px; } }

/* ---------- 22. ingresso "diagnosi" ---------- */
.entrance { display: none; }
.js.has-entrance .entrance { display: grid; position: fixed; inset: 0; z-index: 100; background: var(--ink); color: var(--on-ink); place-items: center; animation: entrance-failsafe 0.3s 5.5s forwards; }
@keyframes entrance-failsafe { to { opacity: 0; visibility: hidden; } }
.js.has-entrance body { overflow: hidden; }
.entrance__stage { display: grid; justify-items: center; gap: 1.75rem; width: min(420px, 84vw); }
.entrance__mark { width: 76px; height: 76px; color: var(--on-ink); }
.entrance__mark path { transform-box: fill-box; transform-origin: center; }
.entrance__mark .node-accent { fill: var(--accent); }
.entrance__lines { width: 100%; display: grid; gap: 0.35rem; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.entrance__lines li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.35rem; border-bottom: 1px solid var(--line-ink); color: var(--on-ink-3); }
.entrance__lines b { font-weight: 500; color: var(--success); opacity: 0; }
.entrance__bar { width: 100%; height: 2px; background: var(--line-ink); border-radius: 2px; overflow: hidden; }
.entrance__bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.entrance__word { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); font-weight: 500; letter-spacing: -0.02em; overflow: hidden; }
.entrance__word span { display: inline-block; }
.entrance__skip { position: absolute; right: 1.25rem; bottom: 1.25rem; min-height: 44px; padding: 0 1.1rem; border-radius: var(--r-pill); border: 1px solid var(--line-ink); background: transparent; color: var(--on-ink-2); font-size: 0.875rem; }
.entrance__skip:hover { color: var(--on-ink); border-color: var(--on-ink-2); }
.entrance__scan { position: absolute; left: 0; right: 0; top: 0; height: 30vh; background: linear-gradient(180deg, transparent, rgba(255, 143, 46, 0.12) 70%, rgba(255, 143, 46, 0.5) 99%, transparent); pointer-events: none; transform: translateY(-100%); }

/* ---------- 23. transizione di pagina ---------- */
.page-wipe { display: none; }
.motion .page-wipe { position: fixed; inset: 0; z-index: 90; pointer-events: none; display: grid; place-items: center; background: var(--ink); transform: translateY(101%); }
.motion.from-wipe .page-wipe { transform: none; }
.page-wipe .logo-mark { width: 44px; height: 44px; color: var(--accent); opacity: 0; }
.from-wipe .page-wipe .logo-mark { opacity: 1; }
.is-wiping .page-wipe { pointer-events: auto; }

/* ---------- 24. motion: stati iniziali (solo con JS attivo e movimento consentito) ---------- */
.motion [data-reveal], .motion .reveal { opacity: 0; }
.motion [data-split], .motion .split, .motion .split-hero { visibility: hidden; }
.motion [data-stagger] > *, .motion .stagger > * { opacity: 0; }
.motion [data-flow-card] { opacity: 0; }
.motion .hero .ui, .motion [data-hero-in], .motion .hero-in, .motion .hero__title { visibility: hidden; }
.split-line { display: block; }
.split-mask { overflow: clip; overflow-clip-margin: 0.12em; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.split-char { display: inline-block; will-change: transform, opacity, filter; }

/* ---------- 25. pagine interne: hero ---------- */
.page-hero { margin-top: var(--frame); padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(2.5rem, 5vw, 4.5rem); overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.3px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 60% 80% at 85% 20%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 85% 20%, #000 10%, transparent 70%); }
.page-hero__grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 1024px) { .page-hero__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 4rem; } }
.page-hero__main { display: grid; gap: 1.5rem; }
.page-hero__title { font-size: var(--fs-h1); max-width: 20ch; }
.page-hero__lead { font-size: var(--fs-lead); color: var(--on-ink-2); max-width: 58ch; line-height: 1.5; }
.page-hero__aside { display: grid; gap: 1rem; justify-items: start; }
@media (min-width: 1024px) { .page-hero__aside { justify-items: end; text-align: right; } }
.page-hero__media { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); border-radius: calc(var(--r-panel) - 6px); overflow: hidden; aspect-ratio: 21 / 9; background: var(--ink-3); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media .ui { position: absolute; }
.page-hero__media .ui--br { right: 3%; bottom: 6%; }
.page-hero__media .ui--tl { left: 3%; top: 6%; }
@media (max-width: 700px) { .page-hero__media { aspect-ratio: 4 / 3.4; } }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; padding: 0; margin: 0 0 2rem; font-size: 0.8125rem; color: var(--on-ink-3); }
.breadcrumb li + li::before { content: '/'; margin-right: 0.35rem; color: var(--on-ink-3); }
.breadcrumb a { color: var(--on-ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--on-ink); }
.breadcrumb [aria-current] { color: var(--on-ink); }

/* ---------- 26. blocchi delle pagine interne ---------- */
.facts { display: grid; gap: var(--frame); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.facts__item { background: var(--paper); border-radius: var(--r-card); padding: 1.25rem 1.35rem; display: grid; gap: 0.9rem; align-content: space-between; min-height: 140px; text-decoration: none; color: inherit; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
a.facts__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.facts__label { font-size: 0.8125rem; color: var(--text-2); display: flex; justify-content: space-between; align-items: center; }
.facts__label .icon { width: 16px; height: 16px; }
.facts__value { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; }
.facts__value small { display: block; font-family: var(--font-body); font-size: 0.875rem; color: var(--text-2); font-weight: 400; letter-spacing: 0; margin-top: 0.3rem; }

.narrative { display: grid; gap: var(--frame); }
.narrative__block { display: grid; gap: 1.25rem 3rem; grid-template-columns: minmax(0, 1fr); padding: clamp(1.5rem, 3vw, 2.75rem); border-radius: var(--r-panel); background: var(--paper); }
@media (min-width: 900px) { .narrative__block { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); } }
.narrative__block--sand { background: var(--sand); }
.narrative__label { align-self: start; }
.narrative__title { font-size: var(--fs-h3); margin-bottom: 1rem; max-width: 22ch; }
.narrative__text { color: var(--text-2); font-size: 1.0625rem; display: grid; gap: 1rem; max-width: 64ch; }
.narrative__text strong { color: var(--text); }
.narrative__text a { color: var(--text); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.symptoms { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.symptoms li { display: inline-flex; align-items: center; gap: 0.55rem; background: var(--cream); border-radius: var(--r-pill); padding: 0.6rem 1rem; font-size: 0.9375rem; color: var(--text); }
.symptoms li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--rose-ink); opacity: 0.75; flex: none; }
.steps { display: grid; gap: var(--frame); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: step; }
.step { background: var(--cream); border-radius: var(--r-card); padding: 1.35rem; display: grid; gap: 0.6rem; align-content: start; position: relative; }
.narrative__block--sand .step, .panel--sand .step { background: var(--paper); }
.step__num { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.5rem; }
.step__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.step__text { color: var(--text-2); font-size: 0.9375rem; }
.checklist { display: grid; gap: 0.5rem; }
.checklist li { display: flex; gap: 0.9rem; align-items: flex-start; background: var(--paper); border-radius: var(--r-sm); padding: 0.85rem 1rem; color: var(--text); }
.checklist li .icon { color: var(--mint-ink); background: var(--mint); border-radius: 50%; width: 24px; height: 24px; padding: 4px; margin-top: 1px; }

/* card servizi (griglia) */
.service-cards { display: grid; gap: var(--frame); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.scard { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.scard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.scard:hover .scard__media img { transform: scale(1.05); }
.scard__media .chip { position: absolute; left: 12px; top: 12px; }
.scard__body { padding: 1.25rem 1.35rem 1.35rem; display: grid; gap: 0.7rem; align-content: start; }
.scard__title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.scard__text { color: var(--text-2); font-size: 0.9375rem; }
.scard__foot { margin-top: auto; padding-top: 0.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.875rem; font-weight: 500; }
.scard__go { width: 38px; height: 38px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; transition: background-color 0.35s var(--ease), transform 0.5s var(--ease); }
.scard__go .icon { width: 16px; height: 16px; }
.scard:hover .scard__go { background: var(--accent); transform: rotate(-45deg); }

/* righe numerate (liste di consigli, quando venire) */
.rows { display: grid; gap: 0.5rem; }
.row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; background: var(--paper); border-radius: var(--r-card); padding: 1rem 1.1rem 1rem 1rem; text-decoration: none; color: inherit; transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease); }
a.row:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.row__num { width: 38px; height: 38px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; font-weight: 600; font-size: 0.875rem; }
.row__title { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.25; }
.row__text { display: block; color: var(--text-2); font-size: 0.9375rem; margin-top: 0.2rem; }
.row__link .icon { width: 18px; height: 18px; }
.panel--sand .row, .section--sand .row { background: var(--paper); }

/* principi (chi siamo) */
.principles { display: grid; gap: var(--frame); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.principle { background: var(--paper); border-radius: var(--r-card); padding: 1.6rem; display: grid; gap: 1rem; align-content: start; }
.principle:nth-child(2) { background: var(--accent); }
.principle:nth-child(3) { background: var(--ink); color: var(--on-ink); }
.principle:nth-child(3) p { color: var(--on-ink-2); }
.principle .num-badge { width: 2.6rem; height: 2.6rem; font-size: 0.95rem; }
.principle p { color: var(--text-2); }
.principle:nth-child(2) p { color: rgba(27, 27, 31, 0.8); }
.figures { display: grid; gap: var(--frame); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.figure { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 3 / 2; background: var(--sand); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure figcaption { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.statement-band { text-align: center; padding: clamp(3rem, 7vw, 6rem) var(--gutter); }
.statement-band p { font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 500; letter-spacing: -0.024em; line-height: 1.1; max-width: 22ch; margin-inline: auto; text-wrap: balance; }

/* contatti */
.contact-list { display: grid; gap: var(--frame); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.contact-list__item { background: var(--paper); border-radius: var(--r-card); padding: 1.35rem; display: grid; gap: 0.5rem; align-content: start; text-decoration: none; color: inherit; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
a.contact-list__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.contact-list__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin-bottom: 0.75rem; }
.contact-list__icon .icon { width: 18px; height: 18px; }
.contact-list__label { font-size: 0.8125rem; color: var(--text-2); }
.contact-list__value { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.2; overflow-wrap: anywhere; }
.contact-list__text { font-size: 0.9375rem; color: var(--text-2); }

/* FAQ */
.faq { display: grid; gap: 0.5rem; }
.faq__item { background: var(--paper); border-radius: var(--r-card); transition: background-color 0.35s var(--ease); }
.faq__q { list-style: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1.1rem 1.1rem 1.1rem 1.25rem; cursor: pointer; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; min-height: 64px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q .mono { color: var(--text-3); font-size: 0.75rem; }
.faq__toggle { width: 36px; height: 36px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; transition: transform 0.45s var(--ease), background-color 0.35s var(--ease); }
.faq__toggle .icon { width: 16px; height: 16px; }
.faq__item[open] .faq__toggle { transform: rotate(45deg); background: var(--accent); }
.faq__a { padding: 0 1.25rem 1.35rem calc(1.25rem + 2.2rem); color: var(--text-2); max-width: 70ch; }
.faq__a p + p { margin-top: 0.75rem; }
@media (max-width: 600px) { .faq__a { padding-left: 1.25rem; } .faq__q .mono { display: none; } .faq__q { grid-template-columns: minmax(0, 1fr) auto; } }

/* ---------- 27. form ---------- */
.form-layout { display: grid; gap: var(--frame); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .form-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } .form-layout > aside { position: sticky; top: calc(var(--header-h) + 36px); } }
.form-aside { background: var(--sand); border-radius: var(--r-panel); padding: clamp(1.25rem, 2.5vw, 2rem); display: grid; gap: 1.5rem; }
.form-card { background: var(--paper); border-radius: var(--r-panel); padding: clamp(1.25rem, 3vw, 2.75rem); }
.form { display: grid; gap: 2.25rem; }
.form__group { border: 0; padding: 0; margin: 0; display: grid; gap: 1.1rem; min-width: 0; }
.form__legend { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.015em; margin-bottom: 0.25rem; padding: 0; }
.form__legend b { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: inline-grid; place-items: center; font-family: var(--font-body); font-size: 0.8125rem; }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 0.45rem; }
.field__label { font-size: 0.9375rem; font-weight: 500; display: flex; justify-content: space-between; gap: 1rem; }
.field__label abbr { color: var(--accent-deep); text-decoration: none; }
.field__opt { font-weight: 400; color: var(--text-3); font-size: 0.8125rem; }
.input { width: 100%; min-height: 52px; padding: 0.8rem 1rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--cream); color: var(--ink); font-size: 1rem; transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease); }
.input::placeholder { color: #8e8b84; }
.input:hover { border-color: rgba(27, 27, 31, 0.35); }
.input:focus { outline: none; border-color: var(--ink); background: var(--paper); box-shadow: 0 0 0 4px var(--accent-soft); }
textarea.input { min-height: 140px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1b1f' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 18px; padding-right: 2.75rem; }
.input--file { padding: 0.65rem; min-height: auto; background: var(--cream); }
.input--file::file-selector-button { margin-right: 1rem; border: 0; border-radius: var(--r-pill); background: var(--ink); color: var(--on-ink); padding: 0.55rem 1rem; font-weight: 500; cursor: pointer; }
.field__hint { font-size: 0.8125rem; color: var(--text-3); }
.field__error { font-size: 0.875rem; color: var(--error); font-weight: 500; min-height: 0; }
.field__error:empty { display: none; }
.field.is-invalid .input { border-color: var(--error); box-shadow: 0 0 0 3px rgba(217, 61, 43, 0.12); }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 1.1rem; border-radius: var(--r-pill); border: 1px solid var(--line-2); font-size: 0.9375rem; font-weight: 500; transition: all var(--dur-fast) var(--ease); }
.choice input:checked + span { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9375rem; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); margin: 0.1rem 0 0; flex: none; }
.check a { color: var(--ink); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.form__note { font-size: 0.875rem; color: var(--text-2); display: inline-flex; align-items: center; gap: 0.5rem; }
.form__status { font-size: 0.9375rem; font-weight: 500; }
.form__status:empty { display: none; }
.form.is-sending [data-submit] .btn__icon { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.notice { border-radius: var(--r-sm); padding: 0.9rem 1.1rem; font-size: 0.9375rem; margin-bottom: 1.5rem; }
.notice--error { background: var(--rose); color: var(--rose-ink); }
.notice--warn { background: var(--butter); color: var(--butter-ink); }
.form-success { display: grid; gap: 1.25rem; }
.form-success:focus { outline: none; }
.form-success__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; }
.form-success__icon .icon { width: 28px; height: 28px; }

/* ---------- 28. prose / legali / crediti ---------- */
.prose { font-size: 1.0625rem; color: var(--text-2); max-width: 72ch; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { font-size: 1.6rem; color: var(--text); margin-top: 2.5rem; }
.prose h3 { font-size: 1.2rem; color: var(--text); margin-top: 1.75rem; font-weight: 600; }
.prose a { color: var(--text); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.prose strong { color: var(--text); }
.todo { background: var(--butter); color: var(--butter-ink); border-radius: 4px; padding: 0 4px; font-size: 0.9em; }
.table-wrap { overflow-x: auto; border-radius: var(--r-card); background: var(--paper); margin-block: 1.5rem; }
.credits { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 0.875rem; }
.credits th, .credits td { text-align: left; vertical-align: top; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
.credits th { font-weight: 600; background: var(--sand); }
.credits code { font-family: var(--font-mono); font-size: 0.8125rem; }
.credits a { color: var(--text); overflow-wrap: anywhere; }

/* 404 / grazie */
.notfound { min-height: calc(88svh - var(--frame)); display: grid; align-items: center; padding-block: calc(var(--header-h) + 3rem) 4rem; margin-top: var(--frame); overflow: hidden; }
.notfound__code { font-family: var(--font-display); font-weight: 600; font-size: clamp(7rem, 4rem + 16vw, 18rem); line-height: 0.8; letter-spacing: -0.06em; color: var(--ink-3); display: flex; align-items: center; gap: 0.05em; }
.notfound__code .bubble { width: 0.8em; height: 0.8em; vertical-align: 0; }
.notfound__code .bubble .icon { width: 0.4em; height: 0.4em; }
.notfound__inner { display: grid; gap: 1.5rem; max-width: 46rem; }

/* immagini */
.pic { display: block; }
.pic img { background-size: cover; background-position: center; }
.img-missing { display: grid; place-items: center; min-height: 200px; background: var(--sand); color: var(--text-3); font-size: 0.875rem; }

/* ---------- 29. accessibilità del movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .ticker { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .ticker__track { animation: none; }
  .ticker__track > [aria-hidden='true'] { display: none; }
}

/* ---------- 30. stampa ---------- */
@media print {
  .site-header, .mobile-bar, .consent, .entrance, .page-wipe, .menu, .cta, .footer__wordmark { display: none !important; }
  .panel--ink { background: none; color: #000; }
  body { background: #fff; }
}

/* Generato: misure di lettura (max-width) e margini sotto i widget, che Elementor azzera dentro i contenitori */
.elementor.elementor .e-con > .elementor-widget.container { max-width: calc(var(--container) + var(--gutter) * 2); }
.elementor.elementor .e-con > .elementor-widget.container--narrow { max-width: calc(880px + var(--gutter) * 2); }
.elementor.elementor .e-con > .elementor-widget.lead { max-width: 60ch; }
.e-con .elementor-widget.elementor-widget.hero__visual { margin-block-end: -70px; }
@media (min-width: 1024px) { .e-con .elementor-widget.elementor-widget.hero__visual { margin-block-end: -90px; } }
@media (max-width: 640px) { .e-con .elementor-widget.elementor-widget.hero__visual { margin-block-end: -60px; } }
.elementor.elementor .e-con > .elementor-widget.statement__title { max-width: 24ch; }
.elementor.elementor .e-con > .elementor-widget.statement__text { max-width: 44ch; }
.elementor.elementor .e-con > .elementor-widget.head__lead { max-width: 54ch; }
.elementor.elementor .e-con > .elementor-widget.cta__title { max-width: 18ch; }
.elementor.elementor .e-con > .elementor-widget.cta__text { max-width: 46ch; }
.e-con .elementor-widget.elementor-widget.footer__col-title { margin-block-end: 1rem; }
.e-con .elementor-widget.elementor-widget.footer__wordmark { margin-block-end: 0.5rem; }
.elementor.elementor .e-con > .elementor-widget.page-hero__title { max-width: 20ch; }
.elementor.elementor .e-con > .elementor-widget.page-hero__lead { max-width: 58ch; }
.elementor.elementor .e-con > .elementor-widget.narrative__title { max-width: 22ch; }
.e-con .elementor-widget.elementor-widget.narrative__title { margin-block-end: 1rem; }
.elementor.elementor .e-con > .elementor-widget.narrative__text { max-width: 64ch; }
.elementor.elementor .e-con > .elementor-widget.prose { max-width: 72ch; }
.e-con .elementor-widget.elementor-widget.table-wrap { margin-block-end: 1.5rem; }

/* Generato: sottolineature e ombre del sito più forti di ".elementor a" di Elementor */
.elementor .btn { text-decoration: none; }
.elementor .link-arrow { text-decoration: none; }
.elementor .u-link { text-decoration: underline; }
.elementor .chip--line { box-shadow: inset 0 0 0 1px var(--line-2); }
.elementor .panel--ink .chip--line { box-shadow: inset 0 0 0 1px var(--line-ink); }
.elementor .dot--live { box-shadow: 0 0 0 0 rgba(63, 174, 98, 0.5); }
.elementor 70%, .elementor 100% { box-shadow: 0 0 0 8px rgba(63, 174, 98, 0); }
.elementor .is-floating .nav { box-shadow: 0 1px 2px rgba(27, 27, 31, 0.06), 0 18px 40px -18px rgba(27, 27, 31, 0.35); }
.elementor .scroll-progress i { box-shadow: 0 0 10px rgba(255, 143, 46, 0.55); }
.elementor .brand { text-decoration: none; }
.elementor .site-nav a { text-decoration: none; }
.elementor .menu__list a { text-decoration: none; }
.elementor .menu__services a { text-decoration: none; }
.elementor .menu__meta a { text-decoration: none; }
.elementor .rating { text-decoration: none; }
.elementor a.rating:hover .rating__count { text-decoration: underline; }
.elementor .ui { box-shadow: var(--shadow-float); }
.elementor .ui-rating { text-decoration: none; }
.elementor .ui-rating:hover { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12), 0 36px 70px -18px rgba(0, 0, 0, 0.55); }
.elementor .ticker__item { box-shadow: inset 0 0 0 1px var(--line); }
.elementor .ticker__item--strong { box-shadow: none; }
.elementor .flow__card { box-shadow: 0 1px 2px rgba(27, 27, 31, 0.04); }
.elementor .flow__card:hover { box-shadow: var(--shadow-card); }
.elementor .triage__tab { text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); }
.elementor .triage__tab:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.elementor .triage__tab[aria-selected='true'] { box-shadow: none; }
.elementor .review-card { box-shadow: inset 0 0 0 1px var(--line); }
.elementor .meta-list dd a { text-decoration: none; }
.elementor .meta-list dd a:hover { text-decoration: underline; }
.elementor .map__pin i { box-shadow: 0 10px 30px -8px rgba(240, 122, 20, 0.7); }
.elementor }
.map__placeholder { box-shadow: var(--shadow-card); }
.elementor .swap-btn { text-decoration: none; }
.elementor .footer a { text-decoration: none; }
.elementor .linklike { text-decoration: none; }
.elementor .mobile-bar { box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5); }
.elementor .mobile-bar a { text-decoration: none; }
.elementor .consent__box { box-shadow: 0 2px 6px rgba(27, 27, 31, 0.08), 0 30px 60px -20px rgba(27, 27, 31, 0.4); }
.elementor .breadcrumb a { text-decoration: none; }
.elementor .facts__item { text-decoration: none; }
.elementor a.facts__item:hover { box-shadow: var(--shadow-card); }
.elementor .scard { text-decoration: none; }
.elementor .scard:hover { box-shadow: var(--shadow-card); }
.elementor .row { text-decoration: none; }
.elementor a.row:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.elementor .contact-list__item { text-decoration: none; }
.elementor a.contact-list__item:hover { box-shadow: var(--shadow-card); }
.elementor .field__label abbr { text-decoration: none; }
.elementor .input:focus { box-shadow: 0 0 0 4px var(--accent-soft); }
.elementor .field.is-invalid .input { box-shadow: 0 0 0 3px rgba(217, 61, 43, 0.12); }
