/* =========================================================
   Lodgic — sito vetrina (www.lodgic.it)
   Token di design dal pacchetto Claude Design (README handoff)
   ========================================================= */

/* ---------- Font Inter ospitato in locale ----------
   Stessi file variabili (pesi 300–800) serviti da Google Fonts, così nessun
   dato del visitatore va a terzi. Licenza SIL OFL 1.1: assets/fonts/OFL.txt */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Carattere di riserva con le stesse misure di Inter, usato per pochi istanti
   mentre Inter si carica: evita che il testo si sposti (Cumulative Layout Shift). */
@font-face {
  font-family: 'Inter fallback';
  src: local('Arial');
  size-adjust: 107.12%;
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
}

:root {
  /* Colori */
  --navy: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --faint: #94A3B8;
  --indigo: #6366F1;
  --indigo-dark: #4F46E5;
  --indigo-leggibile: #5B5EF0; /* testo dei link e sfondo dei pulsanti: contrasto 4,9 col bianco (--indigo 4,47) */
  --muted-tint: #5B6476;   /* testo secondario su fondi tinti (#F1F2FA, #F6F7FE): contrasto ≥ 5,3 */
  --sky: #93C5FD;
  --blue: #3B82F6;
  --lavender: #C4B5FD;
  --tint: #EEF0FF;
  --pill-bg: #F1F2FA;
  --pill-ink: #4B5070;
  --tile: #F6F7FE;
  --tab-active: #F3F4FE;
  --page-bg: #F3F4F9;
  --border-card: #EEF0F6;
  --border: #E8EAF0;
  --border-inner: #F1F2F6;
  --pos: #047857;          /* contrasto 5,2 su --pos-bg (era #059669, 3,6) */
  --pos-bg: #ECFDF5;
  --neg: #B91C1C;          /* contrasto 5,9 su --neg-bg (era #DC2626, 4,4) */
  --neg-bg: #FEF2F2;
  /* Tinte aggiunte con il mockup delle pagine servizio (Claude Design, 10/2026) */
  --navy-indigo: #1E1B4B;
  --soft-bg: #F8F9FC;
  --surface-faint: #FAFAFE;
  --surface-soft: #FCFCFE;
  --tile-border: #EEF0FA;
  --lavender-soft: #E6E8FD;
  --indigo-300: #A5B4FC;
  --indigo-line: #C7CCFD;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --mint: #6EE7B7;

  /* Misure */
  --page-pad: clamp(8px, 1.2vw, 16px);
  --sec-py: clamp(28px, 3.4vw, 48px);
  --sec-px: clamp(20px, 3.6vw, 48px);
  --panel-r: clamp(16px, 2vw, 26px);
  --content: 1280px;
  --panel: 1440px;

  --shadow-btn: 0 8px 20px -6px rgba(99, 102, 241, .45);
  --shadow-hover: 0 14px 34px -20px rgba(99, 102, 241, .45);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--navy);
  font-family: 'Inter', 'Inter fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
img { display: block; max-width: 100%; }
a { color: var(--indigo-leggibile); text-decoration: none; }
a:hover { color: var(--indigo-dark); }
button { font-family: inherit; }
*:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
h1, h2, h3 { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Sezioni segnaposto (loghi clienti, testimonianze, articoli):
   visibili solo se <body data-segnaposto="mostra">.
   Prima della pubblicazione: togliere l'attributo dal body. */
body:not([data-segnaposto="mostra"]) .segnaposto { display: none !important; }

/* Testo leggibile solo dagli screen reader */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: flex-end; gap: 9px; color: var(--navy); }
.logo:hover { color: var(--navy); }
.site-header .logo { padding: 9px 0; } /* area cliccabile alta 44 px */
.logo-bars { display: flex; align-items: flex-end; gap: 1.3px; flex: none; }
.logo-bars span { width: 9px; border-radius: 999px; }
.logo-bars span:nth-child(1) { height: 9px; background: linear-gradient(180deg, #CFC7FE, #B5ACF7); }
.logo-bars span:nth-child(2) { height: 20.7px; background: linear-gradient(180deg, #A3CFFD, #74B1F7); }
.logo-bars span:nth-child(3) { height: 26.1px; background: linear-gradient(180deg, #6F72F4, #4E49CE); }
.logo-word { font-size: 25px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.logo--sm .logo-bars span { width: 6px; }
.logo--sm .logo-bars { gap: .8px; }
.logo--sm .logo-bars span:nth-child(1) { height: 6px; }
.logo--sm .logo-bars span:nth-child(2) { height: 13.8px; }
.logo--sm .logo-bars span:nth-child(3) { height: 17.4px; }
.logo--sm { gap: 6px; }
.logo--sm .logo-word { font-size: 17px; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer;
  padding: 15px 26px; border: 1px solid transparent; white-space: nowrap;
  min-height: 44px; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--indigo-leggibile); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--indigo-dark); color: #fff; }
.btn-secondary {
  background: #fff; color: var(--navy); border-color: var(--border);
  font-weight: 500; padding: 15px 22px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.btn-secondary:hover { border-color: var(--lavender); color: var(--navy); }
.btn-ghost {
  background: #fff; color: var(--navy); border-color: #EEF0F5;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .06); font-size: 14px; padding: 13px 20px;
}
.btn-ghost:hover { border-color: var(--lavender); color: var(--navy); }
.btn-sm { font-size: 14px; padding: 11px 20px; box-shadow: 0 4px 12px rgba(99, 102, 241, .28); }
.btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Etichette ---------- */
.eyebrow {
  display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--pill-ink); background: var(--pill-bg);
  border-radius: 6px; padding: 5px 9px; margin-bottom: 14px;
}
.eyebrow--lg { font-size: 11px; padding: 6px 10px; margin-bottom: 22px; }
.eyebrow--accent { color: var(--indigo-dark); background: var(--tint); border-radius: 999px; padding: 6px 12px; letter-spacing: .14em; font-size: 11px; margin-bottom: 22px; }
.eyebrow--soft { color: var(--indigo-dark); background: #E6E8FD; }

/* ---------- Titoli ---------- */
.h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 650; letter-spacing: -.035em; line-height: 1.1; }
.h2--lg { font-size: clamp(30px, 3.3vw, 42px); line-height: 1.06; }
.lead { font-size: 16.5px; line-height: 1.6; color: var(--muted); margin: 16px 0 0; max-width: 500px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 234, 240, .7);
}
.header-inner {
  max-width: var(--content); margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px);
  height: 72px; display: flex; align-items: center; gap: clamp(10px, 3vw, 48px);
}
.nav-desk { display: flex; gap: 30px; font-size: 14px; font-weight: 500; flex: 1; justify-content: center; white-space: nowrap; }
.nav-desk a { color: var(--ink-2); display: flex; align-items: center; gap: 4px; }
.nav-desk a:hover { color: var(--indigo-dark); }
.nav-desk svg { width: 13px; height: 13px; fill: none; stroke: var(--faint); stroke-width: 2; stroke-linecap: round; }
.header-actions { display: flex; align-items: center; gap: 24px; white-space: nowrap; }
.link-accedi { font-size: 14px; font-weight: 500; color: var(--navy); }
.header-mobile { display: none; flex: 1; justify-content: flex-end; gap: 10px; }
.header-mobile .btn { padding: 0 16px; height: 44px; font-size: 14px; box-shadow: none; }
.burger {
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px;
  background: #fff; display: grid; place-items: center; cursor: pointer; padding: 0;
}
.burger svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 1.75; stroke-linecap: round; }
.nav-mobile {
  display: none; flex-direction: column; padding: 8px clamp(20px, 4vw, 56px) 20px;
  font-size: 16px; font-weight: 500; border-top: 1px solid var(--border);
}
.nav-mobile a { color: var(--navy); padding: 13px 0; border-bottom: 1px solid var(--border); }
.nav-mobile a:last-of-type { border-bottom: 0; }
.nav-mobile .btn { margin-top: 8px; }
.site-header.is-open .nav-mobile { display: flex; }

/* ---------- Pannelli di sezione ---------- */
main { padding: 0 var(--page-pad); }
.panel {
  max-width: var(--panel); margin: 8px auto; border-radius: var(--panel-r);
  background: #fff; padding: var(--sec-py) var(--sec-px);
}
.container { max-width: var(--content); margin: 0 auto; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head--plain { margin-bottom: 24px; }

/* ---------- 01 Hero ---------- */
.hero {
  padding: 0; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 20%, #EEF0FF 0%, rgba(238, 240, 255, 0) 60%),
              linear-gradient(180deg, #FAFAFE 0%, #FFFFFF 100%);
}
.hero-grid {
  max-width: var(--content); margin: 0 auto;
  padding: clamp(32px, 4vw, 56px) var(--sec-px) 16px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 48px; align-items: center;
}
.hero h1 { font-size: clamp(38px, 4.6vw, 58px); font-weight: 650; letter-spacing: -.04em; line-height: 1.04; }
.hero h1 span { color: var(--indigo); }
.hero .lead { max-width: 460px; margin-top: 20px; }
.hero-btns { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px; margin-top: 32px; }
.hero-btns .btn-secondary svg { width: 20px; height: 20px; stroke: var(--indigo); stroke-width: 1.6; }

/* Mockup cruscotto (HTML vero, non immagine) */
.dash-wrap { min-width: 0; margin-right: calc(-1 * clamp(20px, 6vw, 140px)); }
.dash {
  background: #fff; border: 1px solid var(--border-card); border-radius: 18px;
  box-shadow: 0 40px 80px -40px rgba(15, 23, 42, .22), 0 4px 14px rgba(15, 23, 42, .04);
  display: grid; grid-template-columns: 148px minmax(0, 1fr); overflow: hidden; font-size: 12px;
}
.dash-side { padding: 20px 12px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--border-inner); }
.dash-side .logo { padding: 0 8px 22px; }
.dash-nav { display: flex; align-items: center; gap: 9px; padding: 9px 10px; color: var(--muted); border-radius: 8px; }
.dash-nav.is-active { background: var(--tint); color: var(--indigo-dark); font-weight: 600; }
.dash-nav svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; }
.dash-main { padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; background: #FCFCFE; }
.dash-top { display: flex; align-items: center; gap: 10px; }
.dash-hotel { display: flex; align-items: center; gap: 7px; font-weight: 600; white-space: nowrap; }
.dash-hotel svg { width: 13px; height: 13px; fill: none; stroke: var(--muted); stroke-width: 1.75; }
.dash-search {
  margin-left: auto; display: flex; align-items: center; gap: 6px; border: 1px solid var(--border);
  background: #fff; border-radius: 8px; padding: 6px 10px; color: var(--muted); min-width: 110px; white-space: nowrap;
}
.dash-search svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
.dash-period { font-size: 11px; color: var(--muted); font-weight: 500; }
.dash-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { background: var(--tile); border: 1px solid #EEF0FA; border-radius: 12px; padding: 14px 16px; min-width: 0; }
.tile-label { font-weight: 600; display: flex; align-items: center; gap: 6px; }
.tile-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); }
.tile-dot--blue { background: var(--blue); }
.tile-value { font-size: 26px; font-weight: 600; letter-spacing: -.025em; margin: 6px 0 8px; font-variant-numeric: tabular-nums; }
.tile-value--sm { font-size: 21px; margin-bottom: 2px; }
.tile-sub { color: var(--muted-tint); font-size: 11px; margin-bottom: 8px; }
.tile-sub strong { color: var(--navy); font-weight: 600; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 3px 8px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.chip--pos { background: var(--pos-bg); color: var(--pos); }
.chip--neg { background: var(--neg-bg); color: var(--neg); }
.chip--xs { font-size: 10.5px; }
.chip span { color: var(--muted); font-weight: 500; }
.dash-foot {
  display: flex; gap: 22px; flex-wrap: wrap; border-top: 1px solid var(--border-inner);
  padding-top: 12px; font-variant-numeric: tabular-nums; font-size: 11px; color: var(--muted);
}
.dash-foot > span { display: flex; align-items: center; gap: 6px; }
.dash-foot strong { color: var(--navy); font-size: 13px; }
.dash-foot .chip { font-size: 10px; padding: 2px 6px; }

/* ---------- 02 Trust ---------- */
.trust { max-width: var(--content); margin: 0 auto; padding: 20px var(--sec-px) 32px; text-align: center; }
.trust p { font-size: 14px; color: var(--muted); margin: 0 0 22px; }
.logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; justify-items: center; gap: 28px 16px; color: var(--muted); }
.client-logo { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.client-logo b { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 22px; letter-spacing: .22em; }
.client-logo small { font-size: 8.5px; letter-spacing: .3em; }

/* ---------- 03 Dal dato alla decisione ---------- */
.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.photo { width: 100%; border-radius: 18px; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--pool { aspect-ratio: 1 / 1; max-height: 420px; }
.photo--tablet { aspect-ratio: 16 / 10; max-height: 380px; box-shadow: 0 30px 60px -36px rgba(15, 23, 42, .3); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.pillars h3 { font-size: 15.5px; font-weight: 600; margin: 16px 0 4px; }
.pillars p { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0; }
.icon-tile {
  width: 44px; height: 44px; border-radius: 12px; background: var(--tint);
  display: grid; place-items: center; color: var(--indigo); flex: none;
}
.icon-tile svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-tile--lg { width: 52px; height: 52px; border-radius: 14px; }
.icon-tile--lg svg { width: 24px; height: 24px; stroke-width: 1.9; }
.icon-tile--md { width: 48px; height: 48px; }
.icon-tile--md svg { width: 22px; height: 22px; }

/* ---------- 04 Funzionalità ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature {
  background: #fff; border: 1px solid var(--border-card); border-radius: 16px; padding: 20px;
  display: flex; gap: 14px; align-items: flex-start; transition: box-shadow .2s;
}
.feature:hover { box-shadow: var(--shadow-hover); }
.feature h3 { font-size: 16px; font-weight: 600; margin: 4px 0 8px; }
.feature p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }
.mini-bars { display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 15px; }
.mini-bars span { width: 5px; border-radius: 2px; }

/* ---------- 05 Visione completa ---------- */
.vision { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 28px; align-items: start; }
.tabs { display: flex; flex-direction: column; gap: 6px; }
.tab {
  all: unset; cursor: pointer; position: relative; display: flex; gap: 16px;
  padding: 16px 18px; border-radius: 14px; transition: background .2s;
}
.tab:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.tab-title { display: block; font-size: 15.5px; font-weight: 600; color: var(--navy); }
.tab-desc { display: block; font-size: 14px; line-height: 1.5; color: var(--muted-tint); margin-top: 5px; }
.tab::after {
  content: ""; position: absolute; right: -10px; top: 14px; height: 22px; width: 2px;
  border-radius: 2px; background: transparent;
}
.tab[aria-selected="true"] { background: var(--tab-active); }
.tab[aria-selected="true"] .tab-title { color: var(--indigo-dark); }
.tab[aria-selected="true"]::after { background: var(--indigo); }
.tab:hover:not([aria-selected="true"]) { background: #FAFAFE; }

.chart-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card { background: #fff; border: 1px solid var(--border-card); border-radius: 16px; }
.chart-card { padding: clamp(18px, 2.2vw, 26px); }
.chart-card h3 { font-size: 16px; font-weight: 600; }
.chart { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; margin-top: 24px; }
.chart-y {
  display: flex; flex-direction: column; justify-content: space-between; height: 180px;
  font-size: 10.5px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums;
  transform: translateY(-6px);
}
.chart-plot { position: relative; height: 180px; }
.chart-grid { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.chart-grid span { border-top: 1px dashed #EEF0F4; }
.chart-grid span:last-child { border-top: 1px solid var(--border); }
.chart-bars, .chart-x {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(5px, 1.1vw, 14px);
}
.chart-bars { position: absolute; inset: 0; align-items: end; }
.bar {
  position: relative; height: 0; border-radius: 5px 5px 0 0;
  transition: height .4s ease, background .3s;
}
.bar--future { background: rgba(238, 240, 255, .35); border: 1.5px solid #D9DCF5; border-bottom: 0; }
.bar--peak { background: var(--indigo); }
.bar-tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-size: 11.5px; font-weight: 600; padding: 5px 9px; border-radius: 7px;
  background: var(--navy); color: #fff; font-variant-numeric: tabular-nums;
}
.chart-x-wrap { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; margin-top: 10px; }
.chart-x { font-size: 11px; text-align: center; color: var(--muted); }
.chart-x .is-now { color: var(--navy); font-weight: 600; }
.legend { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 22px; font-size: 12px; color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { padding: 16px 18px; }
.kpi-label { font-size: 12.5px; color: var(--muted); }
.kpi-value { font-size: 24px; font-weight: 600; letter-spacing: -.025em; margin: 8px 0 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi .chip { font-size: 11.5px; padding: 3px 9px; }

/* ---------- 06 Ovunque sei ---------- */
.panel--lavender { background: linear-gradient(135deg, #F3F2FF 0%, #EEF2FF 50%, #F8F9FC 100%); }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--ink-2); }
.checks li { display: flex; gap: 12px; align-items: center; }
.check-dot { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #DDE1FF; display: grid; place-items: center; }
.check-dot svg { width: 13px; height: 13px; fill: none; stroke: var(--indigo-dark); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 07 Perché Lodgic ---------- */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 0; }
.why > div { padding: 0 40px; border-left: 1px solid var(--border); }
.why > div:first-child { padding-left: 0; border-left: 0; }
.why > div:last-child { padding-right: 0; }
.why h3 { font-size: 17px; font-weight: 600; margin: 16px 0 6px; }
.why p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- Griglie a 3 card (testimonianze, soluzioni, piani, risorse) ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid3--tight { gap: 18px; }

/* 08 Testimonianze */
.quote { margin: 0; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.quote blockquote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--navy); }
.quote figcaption { display: flex; gap: 14px; align-items: center; font-size: 13px; line-height: 1.5; }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.quote figcaption strong { font-weight: 600; }
.quote figcaption span span { color: var(--muted); }

/* 09 Soluzioni / 11 Risorse */
.media { border-radius: 14px; overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--16x10 { aspect-ratio: 16 / 10; }
.media--16x7 { aspect-ratio: 16 / 7; }
.solution h3 { font-size: 17px; font-weight: 600; margin: 14px 0 4px; }
.solution p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 0; }
.media-bars {
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F2FF 100%); border: 1px solid var(--border-card);
  display: flex; align-items: flex-end; justify-content: center; gap: clamp(8px, 1.4vw, 16px); padding: 24px 40px 0;
}
.media-bars span { flex: 1; border-radius: 6px 6px 0 0; }
.article .kind { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--muted); margin: 20px 0 8px; }
.article h3 { font-size: 16.5px; font-weight: 600; line-height: 1.4; margin: 0 0 14px; }
.article a { font-size: 13.5px; font-weight: 600; }
.link-arrow { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 10 Piani */
.panel--plans { background: linear-gradient(180deg, #F3F2FF 0%, #F8F9FC 100%); }
.plans-wrap { max-width: 1120px; margin: 0 auto; text-align: center; }
.plans { margin-top: 24px; text-align: left; align-items: stretch; gap: 20px; }
.plan { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.plan h3 { font-size: 18px; font-weight: 600; }
.plan-for { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; font-size: 14px; color: var(--ink-2); flex: 1; }
.plan li { display: flex; gap: 10px; align-items: center; }
.plan li svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--indigo); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.plan .btn { width: 100%; font-size: 14px; padding: 13px; }
.plan .btn-secondary { font-weight: 600; }
.plan .btn-secondary:hover { border-color: var(--indigo); color: var(--indigo-dark); }
.plan--featured { border: 2px solid var(--indigo); padding: 21px; box-shadow: 0 24px 50px -28px rgba(99, 102, 241, .5); }
.plan-head { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.badge { flex: none; white-space: nowrap; background: var(--indigo); color: #fff; border-radius: 999px; padding: 5px 11px; font-size: 11.5px; font-weight: 600; }

/* ---------- 12 CTA finale ---------- */
.cta-section { padding: 0 0 8px; }
.cta {
  max-width: var(--panel); margin: 8px auto 0; border-radius: var(--panel-r);
  position: relative; overflow: hidden; padding: clamp(32px, 3.6vw, 48px) var(--sec-px);
  background: radial-gradient(700px 400px at 85% 100%, rgba(99, 102, 241, .35) 0%, rgba(99, 102, 241, 0) 70%),
              linear-gradient(135deg, #0F172A 0%, #1E1B4B 100%);
}
.cta .container { position: relative; }
.cta-pills {
  position: absolute; right: 0; bottom: calc(-1 * clamp(32px, 3.6vw, 48px) - 28px);
  display: flex; align-items: flex-end; gap: clamp(10px, 1.4vw, 20px); pointer-events: none;
}
.cta-pills span { width: clamp(52px, 6.4vw, 96px); border-radius: 999px; }
.cta-pills span:nth-child(1) { aspect-ratio: 1 / 1.1; background: linear-gradient(180deg, #A5B4FC, #6366F1); opacity: .85; }
.cta-pills span:nth-child(2) { aspect-ratio: 1 / 2.1; background: linear-gradient(180deg, #93C5FD, #3B82F6); opacity: .9; }
.cta-pills span:nth-child(3) { aspect-ratio: 1 / 3.2; background: linear-gradient(180deg, #A78BFA, #6366F1); opacity: .95; }
.cta-copy { position: relative; max-width: 560px; }
.cta h2 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 650; letter-spacing: -.035em; line-height: 1.14; color: #fff; }
.cta p { font-size: 16px; line-height: 1.6; color: #CBD5E1; margin: 14px 0 0; }
.cta .btn { margin-top: 24px; box-shadow: none; }

/* ---------- Footer ---------- */
.site-footer { padding: 0 var(--page-pad) 16px; }
.footer-inner { max-width: var(--panel); margin: 0 auto; padding: 32px var(--sec-px) 20px; }
.footer-grid {
  max-width: var(--content); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(5, minmax(0, 1fr)); gap: 32px 24px;
}
.footer-brand { align-self: start; gap: 12px; }
.footer-brand .logo-bars { gap: 1.8px; }
.footer-brand .logo-bars span { width: 13px; }
.footer-brand .logo-bars span:nth-child(1) { height: 13px; }
.footer-brand .logo-bars span:nth-child(2) { height: 29.9px; }
.footer-brand .logo-bars span:nth-child(3) { height: 37.7px; }
.footer-brand .logo-text { display: flex; flex-direction: column; gap: 5px; }
.footer-brand .logo-word { font-size: 34px; line-height: .9; }
.footer-brand small { font-size: 11.5px; color: var(--muted-tint); white-space: nowrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col strong { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.footer-col a { color: var(--muted-tint); }
.footer-col a:hover { color: var(--indigo-dark); }
.footer-bottom {
  max-width: var(--content); margin: 28px auto 0; padding-top: 16px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--muted-tint); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- Pagine legali (Privacy, Cookie, Termini) ---------- */
.legal { max-width: 760px; }
.legal .h2 { margin-bottom: 8px; }
.legal-date { font-size: 13px; color: var(--muted); margin: 0 0 28px; }
.legal h2 { font-size: 19px; font-weight: 650; letter-spacing: -.015em; line-height: 1.3; margin: 36px 0 10px; }
.legal h3 { font-size: 15.5px; font-weight: 600; margin: 20px 0 6px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }
.legal .legal-dati { list-style: none; padding: 16px 20px; background: var(--tile); border: 1px solid var(--border-card); border-radius: 12px; }
.legal .legal-dati li:last-child { margin-bottom: 0; }
.da-completare { color: var(--neg); background: var(--neg-bg); border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* ---------- Servizi: schede (homepage e /servizi/) ---------- */
.servizi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.servizi-grid--pagina { margin-top: 36px; }
.servizio-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  background: #fff; border: 1px solid var(--border-card); border-radius: 16px; padding: 24px;
  color: var(--navy); transition: box-shadow .2s;
}
.servizio-card:hover { box-shadow: var(--shadow-hover); color: var(--navy); }
.servizio-card h3 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; margin: 18px 0 8px; }
.servizio-card p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0 0 18px; flex: 1; }
.servizio-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--indigo-leggibile); }
.servizio-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.servizio-card--tutti { background: var(--tile); }
.servizio-card--tutti h3 { margin-top: 0; }
.servizio-card--tutti p { color: var(--muted-tint); }

/* ---------- Servizi: pagina del singolo servizio (mockup "Lodgic Servizio") ---------- */
.servizi-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sv-hero {
  background: radial-gradient(1100px 560px at 85% 10%, var(--tint) 0%, rgba(238, 240, 255, 0) 60%), linear-gradient(180deg, var(--surface-faint) 0%, #fff 100%);
  padding-top: clamp(20px, 2.4vw, 32px); padding-bottom: clamp(24px, 3vw, 40px);
}
.sv-crumb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: clamp(24px, 3.4vw, 44px); }
.sv-crumb a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; min-height: 44px; }
.sv-crumb svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sv-crumb-sep { color: var(--slate-300); }
.sv-hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.sv-hero .eyebrow { margin-bottom: 20px; }
.sv-h1 { font-size: clamp(38px, 4.6vw, 58px); font-weight: 650; letter-spacing: -.04em; line-height: 1.04; }
.sv-hero .lead { margin-top: 20px; }
.sv-btns { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px; margin-top: 30px; }
.sv-btns .btn { min-height: 48px; }
.sv-legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: clamp(28px, 3.4vw, 44px); padding-top: clamp(16px, 2vw, 24px); border-top: 1px solid var(--border-card); }
.sv-legend-item { display: flex; gap: 12px; padding: 14px; border-radius: 12px; transition: background .2s; }
.sv-legend-item:hover, .sv-legend-item.is-hl { background: var(--tab-active); }
.sv-num { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--indigo); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.sv-legend-item h2 { font-size: 15px; font-weight: 600; margin: 2px 0 5px; }
.sv-legend-item p { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 0; }

.sv-steps-panel .eyebrow { margin-bottom: 14px; }
.sv-steps-panel .h2 { margin-bottom: 28px; }
.sv-steps { display: flex; gap: 16px; align-items: stretch; list-style: none; margin: 0; padding: 0; }
.sv-step { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--lavender-soft); border-radius: 16px; padding: 20px; }
.sv-step-top { height: 64px; display: flex; align-items: flex-end; gap: 12px; border-bottom: 1px solid var(--border-card); }
.sv-step-bar { width: 22px; border-radius: 999px 999px 0 0; }
.sv-step-n { font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; padding-bottom: 6px; }
.sv-step h3 { font-size: 16px; font-weight: 600; margin: 16px 0 6px; }
.sv-step p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }

.sv-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 720px); gap: clamp(24px, 5vw, 80px); }
.sv-why .eyebrow { margin-bottom: 14px; }
.sv-why-testo p { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); margin: 0 0 16px; }
.sv-faq-titolo { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 36px 0 4px; }
.sv-faq details { border-bottom: 1px solid var(--border-card); }
.sv-faq summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; font-size: 16px; font-weight: 600; list-style: none; }
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq-plus { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--tint); color: var(--indigo); display: grid; place-items: center; font-size: 18px; font-weight: 500; transition: transform .2s; }
.sv-faq details[open] .sv-faq-plus { transform: rotate(45deg); }
.sv-faq details p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0 0 18px; max-width: 640px; }

.sv-cta { background: radial-gradient(700px 400px at 90% 0%, rgba(99, 102, 241, .32) 0%, rgba(99, 102, 241, 0) 70%), linear-gradient(135deg, var(--navy) 0%, var(--navy-indigo) 100%); }
.sv-cta-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.sv-cta .h2 { color: #fff; line-height: 1.12; }
.sv-cta-lead { font-size: 16px; line-height: 1.6; color: var(--slate-300); margin: 14px 0 0; max-width: 440px; }
.sv-cta .btn-primary { box-shadow: none; }
.sv-btn-ghost-dark { color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, .22); }
.sv-btn-ghost-dark:hover { color: #fff; border-color: rgba(255, 255, 255, .5); }
.sv-others-titolo { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo-300); margin-bottom: 12px; }
.sv-others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sv-other {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(255, 255, 255, .03);
  color: var(--slate-200); font-size: 13.5px; font-weight: 500; line-height: 1.3;
}
.sv-other:hover { background: rgba(255, 255, 255, .08); border-color: rgba(165, 180, 252, .45); color: #fff; }
.sv-other-icona { flex: none; width: 30px; height: 30px; border-radius: 8px; background: rgba(99, 102, 241, .22); display: grid; place-items: center; color: var(--indigo-300); }
.sv-other-icona svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.sv-pn { max-width: var(--panel); margin: 8px auto; border-radius: var(--panel-r); background: #fff; padding: 12px var(--sec-px); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sv-pn a { color: var(--navy); }
.sv-pn a:hover { color: var(--indigo-dark); }
.sv-pn-link { display: flex; align-items: center; gap: 10px; min-height: 48px; }
.sv-pn-link--next { justify-content: flex-end; text-align: right; }
.sv-pn-link svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--indigo); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sv-pn-txt { display: flex; flex-direction: column; }
.sv-pn-txt small { font-size: 11.5px; color: var(--muted-tint); }
.sv-pn-txt span { font-size: 14px; font-weight: 600; }
.sv-pn-tutti { font-size: 13.5px; font-weight: 600; min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid var(--border-card); border-radius: 10px; }

/* ---------- Schermate del prodotto (mockup in HTML, dati di esempio) ---------- */
.mk {
  background: #fff; border: 1px solid var(--border-card); border-radius: 18px; font-size: 12px; color: var(--navy);
  box-shadow: 0 40px 80px -40px rgba(15, 23, 42, .22), 0 4px 14px rgba(15, 23, 42, .04); padding: clamp(14px, 1.8vw, 22px);
}
.mk-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--border-inner); }
.mk-hotel { display: flex; align-items: center; gap: 7px; font-weight: 600; }
.mk-hotel svg, .mk-ico { width: 13px; height: 13px; fill: none; stroke: var(--muted); stroke-width: 1.75; }
.mk-faint { color: var(--muted); }
.mk-muted { color: var(--muted); }
.mk-push { margin-left: auto; }
.mk-seg { position: relative; display: flex; background: var(--pill-bg); border-radius: 8px; padding: 3px; gap: 2px; }
.mk-seg span { padding: 5px 10px; color: var(--muted-tint); }
.mk-seg .is-on { background: #fff; border-radius: 6px; font-weight: 600; color: var(--navy); box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }
.mk-pill { position: relative; display: flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 8px; padding: 5px 10px; color: var(--ink-2); }
.mk-pill svg { width: 12px; height: 12px; fill: none; stroke: var(--muted); stroke-width: 2; }
.mk-strong { font-weight: 600; color: var(--navy); }
.mk-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 14px 0 4px; }
.mk-title > span:first-child { font-size: 14px; font-weight: 600; }
.mk-badge {
  position: absolute; z-index: 2; width: 22px; height: 22px; border-radius: 50%; background: var(--indigo); color: #fff;
  font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff;
  box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); transition: box-shadow .2s;
}
.mk-badge.is-hl { box-shadow: 0 0 0 5px rgba(99, 102, 241, .28); }
.mk .mk-badge { padding: 0; color: #fff; font-weight: 700; }
.mk-rel { position: relative; }
.mk-box { position: relative; margin-top: 14px; border: 1px solid var(--border-inner); border-radius: 12px; padding: 12px 14px; }
.mk-box-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-weight: 600; margin-bottom: 6px; }
.mk-box-head span + span { color: var(--muted); font-weight: 500; }
.mk-kpis { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.mk-kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mk-kpi { position: relative; background: var(--tile); border: 1px solid var(--tile-border); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.mk-kpi-label { color: var(--muted-tint); font-weight: 500; }
.mk-kpi-val { font-size: 20px; font-weight: 600; letter-spacing: -.025em; margin: 4px 0 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mk-kpi--accento { background: var(--tint); border-color: var(--indigo-line); }
.mk-kpi--accento .mk-kpi-label, .mk-kpi--accento .mk-kpi-val { color: var(--indigo-dark); font-weight: 600; }
.mk-chip { display: inline-block; border-radius: 999px; padding: 2px 8px; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.mk-chip--pos { background: var(--pos-bg); color: var(--pos); }
.mk-chip--neg { background: var(--neg-bg); color: var(--neg); }
.mk-chip--neutro { background: var(--pill-bg); color: var(--pill-ink); }
.mk-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mk-righe > div { border-top: 1px solid var(--border-inner); padding: 8px 0; }
.mk-reparti > div { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; }
.mk-reparto-riga { display: flex; justify-content: space-between; gap: 8px; }
.mk-reparti { margin-top: 4px; }
.mk-barra { height: 5px; border-radius: 3px; background: var(--tint); margin-top: 6px; }
.mk-barra span { display: block; height: 100%; border-radius: 3px; }
.mk-tabella { position: relative; margin-top: 16px; border: 1px solid var(--border-inner); border-radius: 12px; overflow: hidden; }
.mk-tabella > div { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px; gap: 12px; padding: 8px 14px; border-top: 1px solid var(--border-inner); font-variant-numeric: tabular-nums; }
.mk-tabella > div span:nth-child(n+2) { text-align: right; white-space: nowrap; }
.mk-tabella > .mk-tabella-head { border-top: 0; background: var(--soft-bg); color: var(--muted); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.mk-tabella > .is-tot { font-weight: 600; background: var(--surface-faint); }
.mk-tabella > .is-evid { font-weight: 600; background: var(--surface-faint); color: var(--indigo-dark); }
.mk-legenda { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; color: var(--muted); }
.mk-legenda span { display: flex; align-items: center; gap: 6px; }
.mk-legenda i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }

/* Cascata EBITDA */
.mk-wf { position: relative; height: 190px; padding-top: 20px; margin-top: 6px; }
.mk-wf-cols, .mk-wf-lab { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(4px, .8vw, 10px); }
.mk-wf-cols { position: relative; height: 100%; border-bottom: 1px solid var(--border); }
.mk-wf-cols > div { position: relative; height: 100%; }
.mk-wf-bar { position: absolute; left: 0; right: 0; border-radius: 4px; box-sizing: border-box; }
.mk-wf-bar--neg { background: var(--pill-bg); border: 1px dashed var(--indigo-300); }
.mk-wf-val { position: absolute; left: -6px; right: -6px; text-align: center; font-size: 10px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; padding-bottom: 3px; }
.mk-wf-val--neg { color: var(--muted); }
.mk-wf-lab { margin-top: 7px; }
.mk-wf-lab span { font-size: 10px; line-height: 1.25; color: var(--muted); text-align: center; hyphens: auto; }
.mk-wf .is-forte, .mk-wf-lab .is-forte { font-weight: 600; color: var(--navy); }

/* Grafico budget */
.mk-bud { position: relative; height: 180px; margin-top: 40px; }
.mk-bud-cols, .mk-bud-mesi { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(4px, .9vw, 10px); }
.mk-bud-cols { position: absolute; inset: 0; align-items: end; border-bottom: 1px solid var(--border); }
.mk-bud-cols > div { position: relative; height: 100%; }
.mk-bud-bar { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 4px 4px 0 0; box-sizing: border-box; }
.mk-bud-bar--forecast { background: var(--surface-faint); border: 1.5px dashed var(--indigo-300); border-bottom: 0; }
.mk-bud-target { position: absolute; left: -2px; right: -2px; height: 2px; background: var(--navy); border-radius: 2px; }
.mk-bud-tip { position: absolute; right: calc(4 / 12 * 100% + 4px); top: -30px; background: var(--navy); color: #fff; border-radius: 8px; padding: 6px 9px; font-size: 10.5px; line-height: 1.4; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mk-bud-tip .vs { color: var(--indigo-300); }
.mk-bud-tip .su { color: var(--mint); }
.mk-bud-mesi { margin-top: 7px; font-size: 10px; text-align: center; color: var(--muted); }
.mk-bud-mesi .is-now { color: var(--navy); font-weight: 600; }

/* Scadenzario */
.mk-scad > div { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--border-inner); }
.mk-scad .mk-chip { font-size: 10px; padding: 1px 7px; margin-right: 6px; }
.mk-saldo { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; background: var(--soft-bg); border-radius: 10px; padding: 10px 14px; }
.mk-saldo strong { font-size: 15px; font-variant-numeric: tabular-nums; }

/* Report */
.mk-doc { position: relative; margin: 16px auto 0; max-width: 460px; background: #fff; border: 1px solid var(--border-card); border-radius: 10px; box-shadow: 0 12px 30px -18px rgba(15, 23, 42, .25); padding: 18px 20px 12px; }
.mk-doc-righe > div { display: grid; grid-template-columns: minmax(0, 1fr) auto 52px; gap: 10px; padding: 7px 0; border-top: 1px solid var(--border-inner); font-variant-numeric: tabular-nums; }
.mk-doc-righe > div span:nth-child(n+2) { text-align: right; white-space: nowrap; }
.mk-doc-righe > div span:nth-child(3) { color: var(--muted); }
.mk-doc-righe > .mk-doc-head { border-top: 0; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.mk-doc-righe > .is-tot { font-weight: 600; border-top-color: var(--border); }
.mk-doc-righe > .is-evid, .mk-doc-righe > .is-evid span:nth-child(3) { font-weight: 600; color: var(--indigo-dark); border-top-color: var(--border); }
.mk-logo-mini { display: flex; align-items: flex-end; gap: 1px; height: 14px; }
.mk-logo-mini span { width: 4px; border-radius: 9px; }
.mk-btn { border-radius: 8px; padding: 5px 10px; font-weight: 600; border: 1px solid var(--border); }
.mk-btn--primario { background: var(--indigo-leggibile); color: #fff; border-color: var(--indigo-leggibile); }

/* Protezione dei dati: schema */
.mk-schema { display: grid; grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr); gap: 8px; align-items: center; }
.mk-nodo { position: relative; border: 1px solid var(--border-card); border-radius: 14px; padding: 16px 14px; background: var(--surface-soft); min-height: 150px; box-sizing: border-box; }
.mk-nodo--evid { border-color: var(--indigo-line); background: var(--tab-active); }
.mk-nodo-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--tint); display: grid; place-items: center; color: var(--indigo); }
.mk-nodo--evid .mk-nodo-ico { background: var(--indigo); color: #fff; }
.mk-nodo-ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mk-nodo-t { font-size: 14px; font-weight: 600; margin-top: 12px; }
.mk-nodo-d { font-size: 12px; line-height: 1.45; color: var(--muted-tint); margin-top: 4px; }
.mk-ruoli { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; font-size: 10.5px; font-weight: 500; }
.mk-ruoli span { background: var(--pill-bg); color: var(--pill-ink); border-radius: 999px; padding: 2px 7px; }
.mk-ruoli .is-on { background: var(--indigo-leggibile); color: #fff; }
.mk-freccia { width: 18px; height: 18px; justify-self: center; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mk-registro > div { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border-inner); }
.mk-registro > div span:nth-child(2) { color: var(--ink-2); min-width: 0; }
.mk-registro > div span:nth-child(3) { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* AI: proposta */
.mk-proposta { position: relative; margin-top: 12px; background: var(--tab-active); border: 1px solid var(--indigo-line); border-radius: 10px; padding: 10px 12px; }
.mk-proposta-tag { display: flex; align-items: center; gap: 6px; color: var(--indigo-dark); font-weight: 600; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.mk-proposta-tag svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mk-proposta-voce { font-size: 14px; font-weight: 600; margin-top: 4px; }
.mk-azioni { position: relative; display: flex; gap: 8px; margin-top: 12px; }
.mk-azioni .mk-btn { padding: 8px 14px; }
.mk-commento { position: relative; margin-top: 12px; border: 1px dashed var(--indigo-line); border-radius: 12px; padding: 12px 14px; }
.mk-commento p { margin: 6px 0 0; line-height: 1.55; color: var(--ink-2); }

@media (max-width: 1079px) {
  .servizi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .sv-hero-grid, .sv-why, .sv-cta-grid { grid-template-columns: minmax(0, 1fr); }
  .sv-why { gap: 12px; }
  .sv-legend, .sv-others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-steps { flex-wrap: wrap; }
  .sv-step { flex: 1 1 calc(50% - 8px); }
}
@media (max-width: 639px) {
  .servizi-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sv-legend, .sv-others, .sv-btns, .mk-schema { grid-template-columns: minmax(0, 1fr); }
  .sv-step { flex: 1 1 100%; }
  .sv-pn { flex-direction: column; align-items: stretch; }
  .sv-pn-tutti { order: 3; }
  .mk-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-freccia { transform: rotate(90deg); height: 20px; }
  .mk-wf-val { display: none; }
  .mk-wf-lab span { font-size: 9px; }
  .mk-bud-tip { right: 0; }
  .mk-bud-tip .vs-blocco { display: none; }
}

/* ---------- Pagina contatti (mockup "Lodgic Contatti") ---------- */
.ct-hero {
  background: radial-gradient(1100px 560px at 85% 10%, var(--tint) 0%, rgba(238, 240, 255, 0) 60%), linear-gradient(180deg, var(--surface-faint) 0%, #fff 100%);
  padding-top: clamp(28px, 4vw, 64px); padding-bottom: clamp(28px, 4vw, 64px);
}
.ct-hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ct-hero .eyebrow { margin-bottom: 20px; }
.ct-hero .lead { margin-top: 18px; max-width: 480px; }
.ct-cta { gap: 10px; min-height: 52px; margin-top: 26px; padding: 0 26px; font-size: 15.5px; }
.ct-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ct-email { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.ct-email a { font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--lavender); }
.ct-email a:hover { color: var(--indigo-dark); }
.ct-copia { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--border-card); border-radius: 10px; background: #fff; color: var(--ink-2); font-size: 13px; font-weight: 500; cursor: pointer; }
.ct-copia:hover { border-color: var(--lavender); }
.ct-copia svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ct-nota { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 14px 0 0; }
.ct-nota a { color: var(--indigo-dark); text-decoration: underline; text-underline-offset: 2px; }
.ct-anteprima { margin: 0; min-width: 0; }
.ct-anteprima figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; padding-left: 4px; }
.ct-mail { background: #fff; border: 1px solid var(--border-card); border-radius: 18px; overflow: hidden; font-size: 13.5px; box-shadow: 0 40px 80px -40px rgba(15, 23, 42, .22), 0 4px 14px rgba(15, 23, 42, .04); }
.ct-mail-barra { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--surface-soft); border-bottom: 1px solid var(--border-inner); }
.ct-mail-barra i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.ct-mail-barra span { margin-left: 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.ct-mail-riga { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; padding: 11px 18px; border-bottom: 1px solid var(--border-inner); }
.ct-mail-riga span:first-child { color: var(--muted); }
.ct-mail-riga span + span { font-weight: 500; }
.ct-mail-corpo { padding: 16px 18px 20px; line-height: 1.6; color: var(--ink-2); }
.ct-mail-corpo p { margin: 0; }
.ct-mail-corpo p + p { margin: 8px 0 14px; }
.ct-mail-corpo p:last-child { margin: 14px 0 0; }
.ct-mail-corpo ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ct-mail-corpo li { display: flex; gap: 10px; align-items: baseline; }
.ct-n { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--indigo); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; transform: translateY(4px); }
.ct-es { display: inline-block; background: var(--tab-active); border: 1px dashed var(--indigo-line); color: var(--indigo-dark); border-radius: 6px; padding: 0 7px; font-size: 12.5px; }
.ct-h2 { margin-bottom: 28px; }
.ct-voci { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ct-voce { position: relative; display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--lavender-soft); border-radius: 16px; padding: 20px; }
.ct-voce-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; color: var(--indigo); }
.ct-voce-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ct-voce-t { font-size: 15px; font-weight: 600; line-height: 1.35; }
.ct-voce-n { position: absolute; top: 18px; right: 18px; width: 22px; height: 22px; border-radius: 50%; background: var(--indigo); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.ct-cliente { padding-top: clamp(22px, 2.6vw, 32px); padding-bottom: clamp(22px, 2.6vw, 32px); }
.ct-cliente-riga { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.ct-cliente-testo { display: flex; align-items: center; gap: 16px; }
.ct-cliente h2 { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.ct-cliente p { font-size: 14.5px; color: var(--muted); margin: 3px 0 0; }
.ct-accedi { gap: 8px; min-height: 48px; font-size: 15px; font-weight: 600; }
.ct-accedi svg { width: 16px; height: 16px; fill: none; stroke: var(--indigo); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1023px) {
  .ct-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .ct-voci { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ct-voce { flex-direction: row; align-items: center; padding: 14px 16px; }
  .ct-voce-n { position: static; order: 3; margin-left: auto; flex: none; }
}
@media (max-width: 639px) {
  .ct-mail-riga { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ct-anteprima figcaption { display: none; }
}

/* ---------- Icone social nel piè di pagina (compaiono solo con indirizzi reali) ---------- */
.footer-bottom { align-items: center; }
.footer-dx { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.footer-social { display: flex; gap: 4px; margin-right: -10px; }
.footer-social a { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; color: var(--muted-tint); }
.footer-social a:hover { background: var(--tint); color: var(--indigo-dark); }
.footer-social svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 639px) { .footer-social { margin-left: -12px; } }

/* =========================================================
   Responsive (breakpoint dal README di handoff)
   ========================================================= */
@media (max-width: 1240px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .dash-wrap { margin-right: 0; } }
@media (max-width: 1079px) {
  .nav-desk, .header-actions { display: none; }
  .header-mobile { display: flex; }
  .footer-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 1080px) { .site-header .nav-mobile { display: none !important; } }
@media (max-width: 979px) {
  .photo--pool { aspect-ratio: 16 / 10; max-height: 380px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 819px) {
  .why { grid-template-columns: 1fr; }
  .why > div { padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--border); }
  .why > div:first-child { padding: 0; border-top: 0; }
}
@media (max-width: 719px) { .cta-pills { opacity: .25; } }
@media (max-width: 699px) { .grid3 { grid-template-columns: 1fr; } }
@media (max-width: 639px) {
  .dash { grid-template-columns: minmax(0, 1fr); }
  .dash-side { display: none; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo--pool { display: none; }
  .pillars { gap: 12px; }
  .pillars p { display: none; }
  .why { gap: 18px 0; }
  .why > div { padding-top: 18px; }
  .why p { font-size: 13.5px; }
  /* Caroselli orizzontali con scroll-snap */
  .grid3, .features {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin: 0 calc(-1 * var(--sec-px)); padding: 0 var(--sec-px) 6px; scrollbar-width: none;
  }
  .grid3::-webkit-scrollbar, .features::-webkit-scrollbar { display: none; }
  .grid3 > *, .features > * { flex: 0 0 82%; scroll-snap-align: start; }
  /* Etichette dei mesi più piccole per non sovrapporsi */
  .chart-x { font-size: 9.5px; letter-spacing: -.02em; }
  .chart-bars, .chart-x { gap: 4px; }
}
@media (max-width: 519px) {
  .hero-btns { grid-template-columns: 1fr; }
  .hero-btns .btn { width: 100%; }
}
