/*
  Il design system del redesign (handoff «design_handoff_mutuando», ottobre 2026).

  È un foglio **solo**, e le pagine ridisegnate caricano questo e nient'altro
  del sito pubblico di prima: kit.css, light.css e brand.css portano un tema
  scuro/oro, un'altra scala tipografica e regole su `body[data-section]` che
  vincerebbero per specificità. Le pagine non ancora migrate restano sul
  guscio vecchio finché non tocca a loro, quindi i due sistemi convivono
  senza vedersi — ed è il motivo del prefisso `mt-` su ogni classe.

  Token: copiati dal design system del pacchetto (`_ds/.../tokens/*.css`).
  L'accento si sceglie con `data-accent` su qualunque contenitore, e si può
  annidare: è così che un riquadro sky sta dentro una pagina mint.
*/

:root {
  --mt-ink: #20272A; --mt-ink-deep: #1E2427; --mt-slate: #596E79;
  --mt-mint: #85D5BD; --mt-mint-700: #2E8A6E; --mt-mint-900: #1F5E4B; --mt-mint-50: #E9F7F2;
  --mt-sky: #1CABD7; --mt-sky-700: #0E7FA3; --mt-sky-900: #0A5670; --mt-sky-50: #E4F5FB;
  --mt-indigo: #6666FF; --mt-indigo-700: #4545D1; --mt-indigo-900: #2E2E8F; --mt-indigo-50: #EEEEFF;
  --mt-violet: #860BBA; --mt-violet-700: #6A0794; --mt-violet-900: #4A0568; --mt-violet-50: #F5E7FB;
  --mt-orange: #FF914D; --mt-orange-700: #C25F1C; --mt-orange-900: #86400F; --mt-orange-50: #FFF1E7;
  --mt-brown: #7A4900; --mt-brown-700: #5E3800; --mt-brown-900: #3F2600; --mt-brown-50: #F6EEE3;
  --mt-n-0: #FFFFFF; --mt-n-50: #F6F8F9; --mt-n-100: #EDF1F3; --mt-n-200: #DCE3E6; --mt-n-300: #C2CDD2;
  --mt-n-400: #9AABB3; --mt-n-500: #788B95; --mt-n-600: #596E79; --mt-n-700: #43535B; --mt-n-800: #2E393E; --mt-n-900: #20272A;
  --mt-red: #D14343; --mt-red-50: #FCECEC; --mt-red-700: #A82E2E;

  --accent: var(--mt-mint); --accent-strong: var(--mt-mint-700); --accent-deep: var(--mt-mint-900); --accent-tint: var(--mt-mint-50); --on-accent: var(--mt-ink);

  --fg-1: var(--mt-ink); --fg-2: var(--mt-n-700); --fg-3: var(--mt-n-500); --fg-inverse: var(--mt-n-0);
  --surface-page: var(--mt-n-0); --surface-card: var(--mt-n-0); --surface-sunken: var(--mt-n-100); --surface-inverse: var(--mt-ink);
  --border-subtle: var(--mt-n-200); --border-default: var(--mt-n-300); --border-strong: var(--mt-slate); --focus-ring: var(--accent-strong);
  --success-fg: var(--mt-mint-700); --success-bg: var(--mt-mint-50);
  --info-fg: var(--mt-sky-700); --info-bg: var(--mt-sky-50);
  --warning-fg: var(--mt-orange-700); --warning-bg: var(--mt-orange-50);
  --danger-fg: var(--mt-red-700); --danger-bg: var(--mt-red-50); --danger: var(--mt-red);

  --font-display: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Figtree', ui-sans-serif, system-ui, sans-serif;

  --radius-xs: 2px; --radius-sm: 4px; --radius-md: 8px; --radius-lg: 12px; --radius-xl: 16px; --radius-pill: 999px;
  /* Ombre «irelia»: un anello da 1px quasi invisibile e un'ombra ampia e
     morbida. Le card con ombra non hanno bordo (decisione del design, §15). */
  --shadow-1: 0 0 0 1px rgba(32,39,42,.04), 0 1px 2px rgba(32,39,42,.04), 0 6px 16px -4px rgba(32,39,42,.07);
  --shadow-2: 0 0 0 1px rgba(32,39,42,.04), 0 2px 4px rgba(32,39,42,.04), 0 16px 36px -10px rgba(32,39,42,.14);
  --shadow-3: 0 0 0 1px rgba(32,39,42,.05), 0 8px 16px -4px rgba(32,39,42,.08), 0 36px 72px -18px rgba(32,39,42,.2);
  --ease-out: cubic-bezier(.2,.7,.2,1);
  --dur-fast: 120ms; --dur-base: 180ms; --dur-slow: 280ms;
  --control-h-sm: 32px; --control-h-md: 40px; --control-h-lg: 48px;
}
[data-accent="mint"]   { --accent: var(--mt-mint);   --accent-strong: var(--mt-mint-700);   --accent-deep: var(--mt-mint-900);   --accent-tint: var(--mt-mint-50);   --on-accent: var(--mt-ink); }
[data-accent="sky"]    { --accent: var(--mt-sky);    --accent-strong: var(--mt-sky-700);    --accent-deep: var(--mt-sky-900);    --accent-tint: var(--mt-sky-50);    --on-accent: var(--mt-n-0); }
[data-accent="indigo"] { --accent: var(--mt-indigo); --accent-strong: var(--mt-indigo-700); --accent-deep: var(--mt-indigo-900); --accent-tint: var(--mt-indigo-50); --on-accent: var(--mt-n-0); }
[data-accent="violet"] { --accent: var(--mt-violet); --accent-strong: var(--mt-violet-700); --accent-deep: var(--mt-violet-900); --accent-tint: var(--mt-violet-50); --on-accent: var(--mt-n-0); }
[data-accent="orange"] { --accent: var(--mt-orange); --accent-strong: var(--mt-orange-700); --accent-deep: var(--mt-orange-900); --accent-tint: var(--mt-orange-50); --on-accent: var(--mt-ink); }
[data-accent="brown"]  { --accent: var(--mt-brown);  --accent-strong: var(--mt-brown-700);  --accent-deep: var(--mt-brown-900);  --accent-tint: var(--mt-brown-50);  --on-accent: var(--mt-n-0); }

/* ── Base ─────────────────────────────────────────────────────────────── */
html, body.mt { margin: 0; overflow-x: clip; background: var(--mt-n-0); }
body.mt { color: var(--fg-1); font-family: var(--font-body); font-size: 16px; line-height: normal; -webkit-font-smoothing: antialiased; }
.mt *, .mt *::before, .mt *::after { box-sizing: border-box; }
.mt a { color: var(--accent-strong); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.mt a:hover { color: var(--fg-1); }
.mt img { max-width: 100%; }
.mt :focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
/* Reset a specificità minima (:where), come nel design: un margine scritto
   da una classe di pagina deve vincere sul reset, non esserne azzerato. */
:where(.mt) :is(h1, h2, h3, h4, p) { margin: 0; }
[x-cloak] { display: none !important; }

.mt-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.mt-sec { padding-top: 120px; }
.mt-sec--96 { padding-top: 96px; }
.mt-white { background: var(--mt-n-0); border-bottom: 1px solid var(--border-subtle); }
.mt-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Tipografia ───────────────────────────────────────────────────────── */
.mt-h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.mt-h1--72 { font-size: clamp(40px, 6vw, 72px); }
.mt-h1 em, .mt-h2 em, .mt-h1 .mt-acc, .mt-h2 .mt-acc { font-style: normal; color: var(--accent); }
.mt-sub { font-family: var(--font-body); font-weight: 400; letter-spacing: normal; font-size: 19px; line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
.mt-h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; }
.mt-h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -0.02em; }
.mt-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-strong); }
/* L'etichetta a riquadro sopra i titoli di sezione (home del design): fondo tinta, quadratino dell'accento. */
.mt-etichetta { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 8px; background: var(--accent-tint); font-family: var(--font-display); font-size: clamp(14px, 1.3vw, 16px); font-weight: 600; letter-spacing: -0.005em; line-height: 1.3; color: var(--fg-1); }
.mt-etichetta i { width: 10px; height: 10px; flex: none; border-radius: 2px; background: var(--accent); }
.mt-head .mt-etichetta + .mt-h2, .mt-head-row .mt-etichetta + .mt-h2 { margin-top: 16px; }
.mt-lead { font-size: 18px; line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
.mt-muted { color: var(--fg-2); }
.mt-subtle { color: var(--fg-3); }
.mt-num { font-family: var(--font-display); }

/* Intestazione di sezione: titolo a sinistra, testo a destra, allineati in basso. */
.mt-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: end; }
.mt-head .mt-h2 { margin-top: 16px; }
.mt-head .mt-lead { max-width: 480px; }
.mt-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.mt-head-row .mt-h2 { margin-top: 16px; }

/* ── Pulsanti ─────────────────────────────────────────────────────────── */
.mt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--control-h-md); padding: 0 16px; font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1; border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: filter var(--dur-fast) var(--ease-out), background var(--dur-fast), transform var(--dur-fast); text-decoration: none; }
.mt .mt-btn { text-decoration: none; }
.mt-btn:active { transform: translateY(1px); }
.mt-btn[disabled], .mt-btn.is-disabled { opacity: .45; cursor: not-allowed; transform: none; pointer-events: none; }
.mt-btn--sm { height: var(--control-h-sm); padding: 0 12px; font-size: 14px; }
.mt-btn--lg { height: var(--control-h-lg); padding: 0 22px; font-size: 16px; }
.mt-btn--block { display: flex; width: 100%; }
.mt-btn--icon { width: 44px; padding: 0; }
.mt .mt-btn--primary, .mt-btn--primary { background: var(--mt-ink); color: var(--fg-inverse); border-color: var(--mt-ink); }
.mt .mt-btn--accent, .mt-btn--accent { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.mt .mt-btn--secondary, .mt-btn--secondary { background: var(--surface-card); color: var(--fg-1); border-color: var(--border-default); }
.mt .mt-btn--ghost, .mt-btn--ghost { background: transparent; color: var(--fg-1); border-color: transparent; }
.mt .mt-btn--primary:hover, .mt .mt-btn--accent:hover { filter: brightness(.92); }
.mt .mt-btn--primary:hover { color: var(--fg-inverse); }
.mt .mt-btn--accent:hover { color: var(--on-accent); }
.mt .mt-btn--secondary:hover, .mt .mt-btn--ghost:hover { background: var(--surface-sunken); color: var(--fg-1); }
.mt-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Badge ────────────────────────────────────────────────────────────── */
.mt-badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; background: var(--surface-sunken); color: var(--fg-2); }
.mt-badge--dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.mt-badge--success { color: var(--success-fg); background: var(--success-bg); }
.mt-badge--info { color: var(--info-fg); background: var(--info-bg); }
.mt-badge--warning { color: var(--warning-fg); background: var(--warning-bg); }
.mt-badge--danger { color: var(--danger-fg); background: var(--danger-bg); }
.mt-badge--accent { color: var(--accent-deep); background: var(--accent-tint); }

/* Livello partner: sempre «Partner» davanti, tre pesi grafici. */
.mt-tier { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: var(--radius-sm); font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.mt-tier--pro { background: var(--mt-ink); color: var(--mt-n-0); }
.mt-tier--pro::before { content: ''; width: 6px; height: 6px; border-radius: 1px; background: var(--accent); }
.mt-tier--plus { background: var(--accent-tint); color: var(--accent-deep); }
.mt-tier--plus::before { content: ''; width: 6px; height: 6px; border-radius: 1px; background: var(--accent-strong); }
.mt-tier--base { background: var(--mt-n-100); color: var(--fg-2); }

/* Pastiglia «professione» con il quadratino nel colore della sezione. */
.mt-pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: var(--radius-sm); background: var(--accent-tint); font-size: 13px; font-weight: 600; color: var(--fg-1); white-space: nowrap; }
.mt-pill::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

/* ── Card ─────────────────────────────────────────────────────────────── */
.mt-card { background: var(--mt-n-0); border: 1px solid transparent; border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.mt-card--pad { padding: clamp(24px, 3vw, 36px); }
.mt .mt-card--link { color: var(--fg-1); transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.mt .mt-card--link:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); color: var(--fg-1); }
.mt-grid { display: grid; gap: 16px; }

/* Liste numerate 01/02/03: numero in colonna fissa, tutto allineato in alto. */
.mt-steps { display: flex; flex-direction: column; gap: 20px; }
.mt-step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; align-items: start; }
.mt-step-n { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.2; color: var(--accent); }
.mt-step-t { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.3; }
.mt-step-d { font-size: 15px; line-height: 1.5; color: var(--fg-2); text-wrap: pretty; margin-top: 4px; }

/* ── Header ───────────────────────────────────────────────────────────── */
.mt-hd { position: sticky; top: 0; z-index: 20; background: var(--mt-n-0); border-bottom: 1px solid var(--border-subtle); }
.mt-hd-in { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; gap: 24px; position: relative; }
.mt-hd-logo { display: flex; justify-self: start; }
.mt-hd-logo img { height: 36px; width: auto; display: block; }
.mt-nav { display: flex; gap: 2px; min-width: 0; flex-wrap: nowrap; align-items: center; justify-content: center; }
.mt .mt-nav-a { display: flex; align-items: center; gap: 4px; padding: 8px clamp(6px, .9vw, 12px); border-radius: var(--radius-md); color: var(--fg-2); font-size: clamp(14px, 1.3vw, 15px); font-weight: 500; white-space: nowrap; background: none; border: 0; font-family: inherit; cursor: pointer; line-height: 1.55; }
.mt .mt-nav-a:hover { background: var(--mt-n-100); color: var(--fg-1); }
.mt .mt-nav-a.is-on { color: var(--fg-1); background: var(--accent-tint); font-weight: 600; }
.mt-hd-act { display: flex; gap: 8px; align-items: center; justify-self: end; }
.mt-hd-burger { display: none; }
@media (max-width: 1100px) {
  /* Il menu scende su una seconda riga: la griglia diventa logo | pulsanti,
     altrimenti la colonna centrale prende la larghezza del menu su una riga
     sola e allarga la pagina. */
  .mt-hd-in { grid-template-columns: minmax(0, 1fr) auto; }
  .mt-nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; flex-wrap: wrap; overflow: visible; }
}
@media (max-width: 640px) {
  .mt-hd-in { gap: 12px 16px; padding: 12px 16px; }
  .mt-hd-logo img { height: 30px; }
  .mt-hd-act .mt-btn { height: var(--control-h-sm); padding: 0 12px; font-size: 14px; }
}

/* ── Menu mobile (design «data-mobile-css») ───────────────────────────────
   Sotto i 760px il menu centrale lascia il posto al pulsante ☰: un <details>
   nativo, con le voci a tutta larghezza, «Servizi» e «Blog» a fisarmonica e
   i pulsanti in fondo. «Accedi» esce dalla barra (resta nel pannello) e il
   pulsante della consulenza si accorcia. */
.mt-hd-logo .mt-hd-logo-mark, .mt-cta-short, .mt-mnav { display: none; }
.mt-mnav summary { list-style: none; cursor: pointer; }
.mt-mnav summary::-webkit-details-marker, .mt-macc summary::-webkit-details-marker { display: none; }
.mt-mnav > summary { width: 44px; height: 44px; border-radius: var(--radius-md); border: 1px solid var(--border-default); display: flex; align-items: center; justify-content: center; color: var(--fg-1); background: var(--mt-n-0); }
.mt-mnav[open] .mt-mnav-open, .mt-mnav:not([open]) .mt-mnav-close { display: none; }
.mt-mnav-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--mt-n-0); border-bottom: 1px solid var(--border-subtle); box-shadow: var(--shadow-3); padding: 12px 16px 24px; display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 72px); overflow-y: auto; }
.mt .mt-mnav-a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 12px; border-radius: var(--radius-md); font-size: 17px; font-weight: 500; color: var(--fg-1); }
.mt .mt-mnav-a:active { background: var(--mt-n-100); }
.mt .mt-mnav-a.is-on { font-weight: 600; background: var(--accent-tint); }
.mt-macc summary svg { flex: none; color: var(--fg-3); transition: transform 200ms var(--ease-out); }
.mt-macc[open] summary svg { transform: rotate(180deg); }
.mt-macc-list { display: flex; flex-direction: column; margin: 0 0 8px 12px; }
.mt .mt-macc-list a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: var(--radius-md); font-size: 15px; color: var(--fg-2); }
.mt-macc-list i { width: 8px; height: 8px; flex: none; border-radius: 2px; background: var(--accent); }
.mt-mnav-act { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.mt-mnav-act .mt-btn { width: 100%; }
@media (max-width: 760px) {
  .mt-hd-in { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; padding-left: 16px; padding-right: 16px; }
  .mt-hd-logo img { height: 32px; }
  .mt-nav, .mt-hd-act .mt-btn--ghost { display: none; }
  .mt-hd-act { grid-column: 2; justify-self: end; min-width: 0; }
  .mt-hd-act .mt-btn { white-space: nowrap; }
  .mt-mnav { display: block; grid-column: 3; justify-self: end; }
  .mt-cta-full { display: none; }
  .mt-cta-short { display: inline; }
}
@media (max-width: 430px) { .mt-hd-logo .mt-hd-logo-full { height: 24px; } }
@media (max-width: 389px) {
  .mt-hd-logo:has(.mt-hd-logo-mark) .mt-hd-logo-full { display: none; }
  .mt-hd-logo .mt-hd-logo-mark { display: block; height: 28px; width: auto; }
}


/* Sottomenu Servizi / Blog: pannello a due colonne con icona a tema. */
.mt-drop { position: static; }
.mt-drop-panel { position: absolute; top: calc(100% - 24px); left: 50%; transform: translateX(-50%); padding-top: 28px; z-index: 30; }
.mt-drop-box { width: min(720px, calc(100vw - 48px)); background: var(--mt-n-0); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); box-shadow: var(--shadow-3); padding: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.mt-drop-head { grid-column: 1 / -1; padding: 8px 12px 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--border-subtle); margin-bottom: 6px; }
.mt-drop-head span { font-size: 13px; color: var(--fg-3); }
.mt-drop-head span:first-child { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.mt .mt-drop-item { padding: 12px; border-radius: var(--radius-lg); display: flex; gap: 14px; align-items: flex-start; color: var(--fg-1); transition: background 160ms var(--ease-out); }
.mt .mt-drop-item:hover { background: var(--accent-tint); color: var(--fg-1); }
.mt-ico { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--accent-tint); border: 1px solid color-mix(in oklch, var(--accent) 30%, white); display: flex; align-items: center; justify-content: center; color: var(--accent-strong); }
.mt-drop-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mt-drop-t { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--fg-1); }
.mt-drop-s { font-size: 13px; color: var(--fg-2); line-height: 1.45; }
.mt-drop-c { font-size: 13px; font-weight: 600; color: var(--accent-strong); margin-top: 2px; }
@media (max-width: 640px) { .mt-drop-box { grid-template-columns: 1fr; } .mt-drop-head { flex-direction: column; gap: 2px; } }

/* ── Breadcrumb ───────────────────────────────────────────────────────── */
.mt-bc { background: var(--mt-n-0); border-bottom: 1px solid var(--border-subtle); }
.mt-bc-in { max-width: 1200px; margin: 0 auto; padding: 12px 24px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; line-height: 1.4; }
.mt .mt-bc-in a { font-weight: 500; }
.mt-bc-sep { color: var(--fg-3); }
.mt-bc-cur { color: var(--fg-1); font-weight: 500; }

/* ── Footer ───────────────────────────────────────────────────────────── */
/* Il bordo superiore non è più un'ombra netta ma un alone sfumato (design,
   10 ottobre): una radiale che parte 96px sopra il piè di pagina e si
   spegne dentro. Non intercetta i clic. */
.mt-ft { margin-top: 120px; position: relative; background: var(--mt-n-0); }
.mt-ft::before { content: ''; position: absolute; left: 0; right: 0; top: -96px; height: 256px; pointer-events: none; background: radial-gradient(ellipse 80% 62% at 50% 37.5%, rgba(32,39,42,.07) 0%, rgba(32,39,42,.032) 45%, rgba(32,39,42,0) 100%); }
.mt-ft-grid { max-width: 1200px; margin: 0 auto; padding: 64px 24px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 32px; }
/* Sul telefono e sul tablet le colonne stanno una sopra l'altra (design).
   Sta qui, dopo la regola base: prima sarebbe sovrascritta. */
@media (max-width: 900px) { .mt-ft-grid { grid-template-columns: 1fr; gap: 28px; } }
.mt-ft-brand { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.mt-ft-brand img { height: 32px; width: auto; display: block; align-self: flex-start; }
.mt-ft-brand p, .mt-ft-col p { font-size: 15px; line-height: 1.55; color: var(--fg-2); }
.mt-ft-brand .mt-btn { align-self: flex-start; margin-top: 4px; }
.mt-ft-col { display: flex; flex-direction: column; gap: 10px; }
.mt-ft-t { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-1); margin-bottom: 4px; }
.mt-ft-t + .mt-ft-t, .mt-ft-col a + .mt-ft-t { margin-top: 16px; }
.mt .mt-ft-col a { font-size: 15px; color: var(--fg-2); }
.mt .mt-ft-col a:hover { color: var(--fg-1); }
.mt-social { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; width: 100%; max-width: 280px; }
.mt-social span { width: 100%; aspect-ratio: 1 / 1; min-width: 0; max-height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--mt-n-200); border-radius: 8px; color: var(--fg-2); background: var(--mt-n-0); cursor: pointer; transition: all 160ms cubic-bezier(.2,.7,.2,1); }
.mt-social span:hover { background: var(--mt-n-100); border-color: var(--mt-n-300); color: var(--fg-1); box-shadow: var(--shadow-2); transform: translateY(-1px); }
.mt-canali { margin-top: 6px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; width: 100%; max-width: 280px; }
.mt-canali span { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 6px; border: 1px solid var(--mt-n-300); border-radius: 8px; background: var(--mt-n-0); font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--fg-1); text-align: center; cursor: pointer; transition: background 160ms cubic-bezier(.2,.7,.2,1); }
.mt-canali span:hover { background: var(--mt-n-100); }
.mt-ft-legal { max-width: 1200px; margin: 0 auto; padding: 0 24px 24px; }
.mt-ft-legal p { font-size: 13px; line-height: 1.6; color: var(--fg-3); text-wrap: pretty; }
.mt-ft-legal strong { color: var(--fg-2); font-weight: 600; }
.mt-ft-bot { max-width: 1200px; margin: 0 auto; padding: 24px; border-top: 1px solid var(--border-subtle); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--fg-3); }
.mt-ft-bot nav { display: flex; gap: 20px; }
.mt .mt-ft-bot a { color: var(--fg-3); }
.mt .mt-ft-bot a:hover { color: var(--fg-1); }

/* ── Hero di pagina (bianco, centrato) ────────────────────────────────── */
.mt-hero { background: var(--mt-n-0); border-bottom: 1px solid var(--border-subtle); overflow: hidden; }
.mt-hero-in { max-width: 1200px; margin: 0 auto; padding: 96px 24px 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.mt-hero-in .mt-h1 { margin-top: 24px; max-width: 1040px; }
.mt-hero-in .mt-sub { margin-top: 24px; max-width: 700px; }

/* Intestazione di pagina interna: H1 a sinistra, H2 a destra. */
.mt-intro { background: var(--mt-n-0); border-bottom: 1px solid var(--border-subtle); }
.mt-intro-in { max-width: 1200px; margin: 0 auto; padding: 56px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: end; }
.mt-intro .mt-sub { font-size: 18px; max-width: 500px; }

/* Fascia scura. */
.mt-dark { background: var(--surface-inverse); color: var(--fg-inverse); border-radius: var(--radius-xl); }

/* ── Comparsa allo scorrimento ────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .mt-js [data-reveal].is-hidden { opacity: 0; transform: translateY(16px); }
  .mt-js [data-reveal].is-shown { opacity: 1; transform: none; transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
}

/* ── Card professionista (home, liste, «Trova un consulente») ─────────── */
.mt-pros { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 12px; }
.mt-pro { background: var(--mt-n-0); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.mt-pro:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.mt-pro--pro { border: 2px solid var(--accent); box-shadow: var(--shadow-2); }
.mt .mt-pro-main { padding: 16px; display: flex; align-items: flex-start; gap: 12px; color: var(--fg-1); flex: 1; }
.mt .mt-pro-main:hover { color: var(--fg-1); }
.mt-avatar { width: 48px; height: 48px; flex: none; border-radius: var(--radius-md); background: var(--mt-n-100) center / cover no-repeat; object-fit: cover; display: block; }
.mt-avatar--ini { background: var(--accent-tint); color: var(--accent-deep); font-family: var(--font-display); font-weight: 600; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.mt-pro-tags { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.mt-pro-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-pro-role { font-size: 14px; color: var(--fg-2); margin-top: 2px; }
.mt-pro-zone { font-size: 13px; color: var(--fg-3); margin-top: 1px; }
.mt-pro-foot { padding: 12px 16px; border-top: 1px solid var(--border-subtle); background: var(--mt-n-50); display: flex; align-items: center; gap: 12px; }
.mt-pro--pro .mt-pro-foot { background: var(--accent-tint); }
.mt-pro-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.mt-pro-since { font-size: 12px; color: var(--fg-3); line-height: 1.4; }
.mt-houses { display: flex; gap: 6px; align-items: center; }
.mt-houses-i { display: flex; gap: 3px; align-items: center; }
.mt-houses svg { display: block; }
.mt-houses strong { font-family: var(--font-display); font-size: 13px; color: var(--fg-1); }

/* ── Recensioni (2 per riga, frecce) ──────────────────────────────────── */
.mt-revs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.mt-rev { background: var(--mt-n-0); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); padding: 24px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.mt-rev-mark { display: flex; gap: 4px; }
.mt-rev-mark i { width: 10px; height: 10px; background: var(--accent); border-radius: 2px; }
.mt-rev-text { font-size: 16px; line-height: 1.55; color: var(--fg-1); text-wrap: pretty; flex: 1; min-height: calc(1.55em * 3); }
.mt-rev-who { display: flex; align-items: center; gap: 12px; }
.mt-rev-who .mt-avatar { width: 40px; height: 40px; font-size: 14px; }
.mt-rev-name { font-weight: 600; font-size: 15px; }
.mt-rev-role { font-size: 13px; color: var(--fg-3); }
.mt-pager { display: flex; align-items: center; gap: 12px; }
.mt-pager-n { font-family: var(--font-display); font-size: 13px; color: var(--fg-3); }

/* ── Moduli ───────────────────────────────────────────────────────────── */
.mt-field { display: flex; flex-direction: column; gap: 6px; }
.mt-label { font-size: 14px; font-weight: 600; color: var(--fg-1); }
.mt-req { color: var(--danger); margin-right: 2px; }
.mt-input, .mt-select, .mt-textarea { width: 100%; height: var(--control-h-md); padding: 0 12px; background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-md); font: inherit; font-size: 15px; color: var(--fg-1); outline: 0; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.mt-input--lg { height: var(--control-h-lg); }
.mt-textarea { height: auto; min-height: 120px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.mt-select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%2343535B' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.mt-input:focus, .mt-select:focus, .mt-textarea:focus { border-color: var(--focus-ring); box-shadow: 0 0 0 3px var(--accent-tint); }
.mt-input.is-err, .mt-select.is-err, .mt-textarea.is-err { border-color: var(--danger); }
.mt-input.is-err:focus { box-shadow: 0 0 0 3px var(--danger-bg); }
.mt-hint { font-size: 13px; color: var(--fg-3); }
.mt-err { font-size: 13px; color: var(--danger-fg); }
.mt-pwd { position: relative; }
.mt-pwd .mt-input { padding-right: 84px; }
.mt-pwd button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 28px; padding: 0 10px; border: 0; border-radius: 6px; background: var(--mt-n-100); color: var(--fg-1); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.mt-pwd button:hover { background: var(--mt-n-200); }
.mt-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 15px; line-height: 1.5; color: var(--fg-1); }
.mt-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.mt-check-box { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--surface-card); display: flex; align-items: center; justify-content: center; transition: background var(--dur-fast); }
.mt-check input:checked + .mt-check-box { background: var(--mt-ink); border-color: var(--mt-ink); }
.mt-check input:checked + .mt-check-box::after { content: ''; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' stroke='%23fff' stroke-width='1.8' fill='none'/%3E%3C/svg%3E") center no-repeat; }
.mt-check input:focus-visible + .mt-check-box { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.mt-check.is-err .mt-check-box { border-color: var(--danger); }
.mt-alert { padding: 12px 16px; border-radius: var(--radius-md); font-size: 14px; line-height: 1.5; }
.mt-alert--ok { background: var(--success-bg); color: var(--success-fg); }
.mt-alert--ko { background: var(--danger-bg); color: var(--danger-fg); }
.mt-alert--info { background: var(--info-bg); color: var(--info-fg); }

@media (max-width: 600px) {
  .mt-wrap, .mt-hd-in, .mt-bc-in, .mt-ft-grid, .mt-ft-legal, .mt-ft-bot, .mt-hero-in, .mt-intro-in { padding-left: 16px; padding-right: 16px; }
  .mt-sec { padding-top: 80px; }
  .mt-hero-in { padding-top: 64px; }
  .mt-sub { font-size: 17px; }
  .mt-ft { margin-top: 80px; }
}

/* Testo delle caselle di consenso: più piccolo, link sottolineati. */
.mt-check-t { font-size: 14px; line-height: 1.5; color: var(--fg-2); }
.mt .mt-check-t a { color: var(--accent-strong); font-weight: 600; text-decoration: underline; }
.mt-req { color: var(--mt-red); font-weight: 600; }

/* Riquadro «modulo» e intestazioni dei pannelli di contatto. */
.mt-panel { background: var(--mt-n-0); border: 1px solid transparent; border-radius: var(--radius-lg); box-shadow: var(--shadow-2); padding: clamp(24px, 4vw, 40px); }
.mt-form { display: flex; flex-direction: column; gap: 16px; }
.mt-form-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.mt-form-t { font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -0.01em; }
.mt-form-n { font-size: 14px; color: var(--fg-3); }
.mt-done { display: flex; flex-direction: column; gap: 12px; }
.mt-done-mark { display: flex; gap: 4px; align-items: flex-end; height: 32px; }
.mt-done-mark i { width: 12px; background: var(--accent); border-radius: 2px; }
.mt-done-t { font-family: var(--font-display); font-weight: 600; font-size: 26px; }
.mt-done-d { font-size: 16px; color: var(--fg-2); line-height: 1.55; }
.mt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Tab del design system: sottolineate o «a segmenti». */
.mt-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--border-subtle); }
.mt-tabs button, .mt .mt-tabs a { border: 0; background: transparent; padding: 10px 0; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--fg-3); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.mt-tabs .is-on { border-bottom-color: var(--mt-ink); color: var(--fg-1); }
.mt-seg { display: flex; gap: 2px; padding: 3px; background: var(--surface-sunken); border-radius: var(--radius-md); width: fit-content; }
.mt-seg button, .mt .mt-seg a { border: 0; height: 34px; padding: 0 14px; border-radius: 6px; background: transparent; color: var(--fg-2); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.mt-seg .is-on { background: var(--surface-card); box-shadow: var(--shadow-1); color: var(--fg-1); }

/* Tag selezionabili (filtri). */
.mt-tag { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid var(--border-default); background: var(--surface-card); color: var(--fg-1); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background var(--dur-fast); }
.mt-tag:hover { background: var(--surface-sunken); }
.mt-tag.is-on { border-color: var(--mt-ink); background: var(--mt-ink); color: #fff; }

/* Toast in basso. */
.mt-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; display: flex; align-items: flex-start; gap: 12px; width: 360px; max-width: calc(100vw - 32px); padding: 14px 16px; background: var(--surface-inverse); color: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-3); }
.mt-toast::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 2px; background: var(--mt-mint); }
.mt-toast--ko::before { background: var(--mt-red); }
.mt-toast-t { font-weight: 600; font-size: 15px; }
.mt-toast-d { font-size: 14px; color: var(--mt-n-300); margin-top: 2px; line-height: 1.45; }

/* I requisiti della password (x-mutuando.requisiti-password) nel redesign:
   un quadratino che diventa verde quando il requisito è soddisfatto. */
.mt .k-pwd-req { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--fg-3); }
.mt .k-pwd-req li { display: flex; gap: 8px; align-items: center; }
.mt .k-pwd-req li::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: currentColor; flex: none; }
.mt .k-pwd-req li.is-ok { color: var(--accent-strong); }
.mt-steps-bar { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: var(--fg-3); }
.mt-steps-bar span { padding: 4px 10px; border-radius: 4px; }
.mt-steps-bar span.is-on { background: var(--accent-tint); color: var(--accent-deep); }
.mt-steps-bar i { width: 16px; height: 1px; background: var(--border-default); }
.mt .mt-acc { color: var(--accent); }

/* Domande frequenti: una scheda per domanda, + / – a destra, <details> nativo. */
.mt-faq { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mt-q { background: var(--mt-n-0); border-radius: 12px; box-shadow: var(--shadow-1); }
.mt-q summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mt-q summary::-webkit-details-marker { display: none; }
.mt-q summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; border-radius: 12px; }
.mt-q summary span { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.mt-q summary i { width: 28px; height: 28px; flex: none; border-radius: 4px; background: var(--mt-n-100); color: var(--fg-2); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-style: normal; font-size: 16px; }
.mt-q summary i::before { content: '+'; }
.mt-q[open] summary i { background: var(--accent); color: var(--on-accent); }
.mt-q[open] summary i::before { content: '–'; }
.mt-q-a { padding: 0 24px 22px; font-size: 16px; line-height: 1.6; color: var(--fg-2); max-width: 760px; white-space: pre-line; text-wrap: pretty; }

/* Campo con unità a destra (€, %, anni). */
.mt-sfx { display: flex; align-items: center; gap: 8px; height: var(--control-h-md); padding: 0 12px; background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-md); transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.mt-sfx:focus-within { border-color: var(--focus-ring); box-shadow: 0 0 0 3px var(--accent-tint); }
.mt-sfx input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--fg-1); }
.mt-sfx span { color: var(--fg-3); font-size: 15px; }

/* ── Privacy e Termini in popup (mt.js, «legal-popup.js» del design) ─────── */
.mt-legal { position: fixed; inset: 0; z-index: 1000; background: rgba(32,39,42,.45); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity 180ms var(--ease, cubic-bezier(.2,.7,.2,1)); }
.mt-legal.is-on { opacity: 1; }
.mt-legal-box { position: relative; width: 100%; max-width: 760px; max-height: min(84vh, 820px); display: flex; flex-direction: column; background: var(--mt-n-0); border-radius: 16px; box-shadow: var(--shadow-3); overflow: hidden; font-family: var(--font-body); color: var(--fg-1); transform: translateY(8px); transition: transform 220ms cubic-bezier(.2,.7,.2,1); }
.mt-legal.is-on .mt-legal-box { transform: none; }
.mt-legal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 28px 18px; border-bottom: 1px solid var(--border-subtle); }
.mt-legal-head > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mt-legal-head h2 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 30px); line-height: 1.15; letter-spacing: -0.02em; }
.mt-legal-head p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
.mt-legal-x { flex: none; width: 40px; height: 40px; border: 0; border-radius: 8px; background: var(--mt-n-100); color: var(--fg-1); font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mt-legal-x:hover { background: var(--mt-n-200); }
.mt-legal-body { overflow-y: auto; padding: 8px 28px 28px; }
.mt-legal-body h2 { margin: 0; padding-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.3; }
.mt-legal-body p, .mt-legal-body li { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: var(--fg-2); }
.mt-legal-body p { padding-bottom: 18px; border-bottom: 1px solid var(--border-subtle); }
@media (max-width: 600px) { .mt-legal { padding: 12px; } .mt-legal-head, .mt-legal-body { padding-left: 20px; padding-right: 20px; } }
@media (prefers-reduced-motion: reduce) { .mt-legal, .mt-legal-box { transition: none; } }

/* ── Prima schermata a tutta altezza, con i numeri (home e /credito) ───────── */
.mt-hero-full { position: relative; background: var(--mt-n-0); min-height: calc(100svh - 73px); display: flex; flex-direction: column; border-bottom: 1px solid var(--border-subtle); }
.mt-hero-full-in { width: 100%; box-sizing: border-box; max-width: 1200px; margin: auto auto 0; padding: clamp(48px, 8vh, 96px) 24px 48px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.mt-hero-full-in .mt-h1 { margin: 24px 0 0; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.04; letter-spacing: -0.03em; max-width: 1040px; text-wrap: balance; }
.mt-hero-full-in .mt-sub { margin: 24px 0 0; font-family: var(--font-body); font-weight: 400; letter-spacing: normal; font-size: 19px; line-height: 1.55; color: var(--fg-2); max-width: 700px; text-wrap: pretty; }
.mt-stats { margin-top: 64px; width: 100%; max-width: 1200px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.mt-stat { background: var(--mt-n-0); border-radius: 12px; box-shadow: var(--shadow-2); padding: 28px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.mt-stat-v { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 2.8vw, 40px); line-height: 1; letter-spacing: -0.02em; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mt-stat-t { margin-top: 6px; font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--fg-1); }
.mt-stat-n { font-size: 15px; line-height: 1.5; color: var(--fg-2); text-wrap: pretty; }
.mt .mt-scorri { margin: auto auto 0; padding: 16px 0 28px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--fg-3); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.mt .mt-scorri:hover { color: var(--fg-1); }
.mt-scorri > span { width: 28px; height: 44px; border: 1.5px solid var(--mt-n-300); border-radius: 14px; display: flex; justify-content: center; padding-top: 8px; box-sizing: border-box; }
.mt-scorri > span > span { width: 4px; height: 8px; border-radius: 2px; background: var(--accent); animation: mt-scorri 1.8s cubic-bezier(.2,.7,.2,1) infinite; }
@keyframes mt-scorri { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@media (max-width: 1000px) { .mt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mt-hero-full { min-height: calc(100svh - 126px); } }
@media (max-width: 760px) { .mt .mt-scorri { display: none; } }
@media (max-width: 480px) { .mt-stats { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .mt-scorri > span > span { animation: none; } }

/* ── Recensioni dei partner: foto e video (config/recensioni_mutuando.php) ── */
.mt-rev-foto { width: 40px; height: 40px; flex: none; border-radius: 8px; object-fit: cover; background: var(--accent-tint); display: block; }
.mt-vid { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 14px; transition: transform 180ms cubic-bezier(.2,.7,.2,1); }
.mt-vid:hover { transform: translateY(-2px); }
.mt-vid:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.mt-vid-box { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; background: var(--surface-inverse); box-shadow: var(--shadow-2); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; }
.mt-vid-top { display: flex; justify-content: space-between; align-items: center; }
.mt-vid-ini { width: 44px; height: 44px; border-radius: 8px; background: var(--mt-n-800); color: var(--accent); font-family: var(--font-display); font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.mt-vid-dur { font-family: var(--font-display); font-size: 12px; color: var(--mt-n-200); background: var(--mt-n-800); padding: 4px 8px; border-radius: 4px; }
.mt-vid-play { align-self: center; width: 64px; height: 64px; border-radius: 8px; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; }
.mt-vid-t { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; color: var(--fg-inverse); text-wrap: balance; }
.mt-vid-who { padding: 0 4px; }
.mt-vid-who div:first-child { font-weight: 600; font-size: 15px; color: var(--fg-1); }
.mt-vid-who div + div { font-size: 13px; color: var(--fg-3); }

/* Regola «piatta» dei prototipi (data-flat-css, identica in tutti i .dc.html):
   dentro un riquadro con ombra, bordo o fondo tinto, i riquadri annidati
   perdono ombra, bordo, fondo e margini laterali. Agisce sugli stili in linea
   ripresi dal design, quindi vale solo dove il markup è quello del prototipo. */
.mt :is([style*="box-shadow:var(--shadow"],[style*="border:1px solid var(--border"],[style*="background:var(--accent-tint)"][style*="border-radius"],[style*="background:var(--mt-n-100)"][style*="border-radius"],[style*="background:var(--mt-n-50)"][style*="border-radius"]) :is([style*="box-shadow:var(--shadow"],[style*="border:1px solid var(--border"],[style*="background:var(--accent-tint)"][style*="border-radius"],[style*="background:var(--mt-n-100)"][style*="border-radius"],[style*="background:var(--mt-n-50)"][style*="border-radius"]):not(button,input,select,textarea,label,summary,img,[role=tab],[style*="height:"],[style*="surface-inverse"],[style*="border-radius:2px"],[style*="border-radius:50%"],[style*="border-radius:999px"]){box-shadow:none !important;border-color:transparent !important;background:transparent !important;padding-left:0 !important;padding-right:0 !important}
