/* Domyo — landing. Mobile first; palette allineata al gestionale (locasmart.css). */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

:root {
  --brand: #0a6c8a;
  --brand-dark: #085670;
  --brand-subtle: #cfe4eb;
  --brand-on-dark: #8fcadc;
  --ink: #1f262d;
  --muted: #4a5560;
  --bg: #ffffff;
  --tint: #f1f4f7;
  --tint-2: #e9eff4;
  --border: #dbe2e8;
  --success: #16794f;
  --success-subtle: #e3f4ec;
  --warning: #8a5300;
  --warning-subtle: #fdf1dc;
  --danger: #b42318;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(31, 38, 45, .05), 0 6px 20px rgba(31, 38, 45, .06);
  --shadow-lg: 0 24px 60px rgba(31, 38, 45, .16);
  --header-h: 64px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

/* ── Bottoni ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-lg { min-height: 52px; padding: 13px 24px; font-size: 16px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-primary:disabled { opacity: .65; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #9aa8b4; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--tint-2); color: var(--ink); }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 8px rgba(31, 38, 45, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); flex-wrap: wrap; }
.brand img { height: 30px; width: auto; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav { display: none; width: 100%; padding: 8px 0 16px; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; padding: 0; display: flex; flex-direction: column; }
.site-nav ul a { display: block; padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--tint-2); }
.site-nav ul a:hover { color: var(--brand); }
.nav-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.nav-login { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: none; }
.nav-login:hover { color: var(--brand); }

/* ── Testi comuni ── */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.feature-text .eyebrow, .card .eyebrow { font-size: 13px; color: var(--brand); margin-bottom: 12px; }
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 780px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 6vw, 44px); font-weight: 800; }
.section-lead { font-size: 18px; color: var(--muted); margin-top: 16px; }
.transition-line { margin: 40px auto 0; max-width: 760px; text-align: center; font-size: clamp(18px, 3vw, 22px); font-weight: 600; }
.pillar { font-size: 18px; font-weight: 600; color: var(--brand-dark); margin-bottom: 14px; }

/* ── Hero ── */
.hero { padding: 48px 0 64px; background: linear-gradient(180deg, var(--tint-2) 0%, #fff 70%); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { font-size: clamp(34px, 8vw, 64px); font-weight: 800; letter-spacing: -.03em; max-width: 920px; }
.hero h1 .accent { color: var(--brand); }
.lead { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); max-width: 720px; margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.hero-pwa { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 9px 16px; font-size: 14px; font-weight: 600; line-height: 1.35; text-align: left; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow); }
.hero-pwa:hover { color: var(--brand-dark); border-color: var(--brand); }
.pwa-ico { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--brand); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hero-shot { margin-top: 40px; width: 100%; max-width: 1080px; }
.hero-shot img { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.hero-shot figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ── Anteprima animata della dashboard (hero): HTML/CSS con dati di esempio ── */
.dash { position: relative; height: 480px; overflow: hidden; text-align: left; font-size: 14px; color: var(--ink); background: #eef2f6; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.dash::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 44px; background: linear-gradient(to bottom, rgba(238, 242, 246, 0), #eef2f6); pointer-events: none; }
.dash-top { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 16px; background: #1f262d; color: #fff; font-weight: 700; }
.dash-org { display: flex; align-items: center; gap: 8px; }
.dash-top-r { display: flex; align-items: center; gap: 12px; }
.dash-top-r i { width: 18px; height: 18px; border: 2px solid #9aa8b4; border-radius: 4px; }
.dash-top-r b { width: 26px; height: 26px; border-radius: 50%; background: #f4a340; }
.dash-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dash-page { padding: 14px 16px 0; }
.dash-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 12px; }
.dash-title { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.dash-pause { min-height: 36px; padding: 6px 12px; font: inherit; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: 999px; cursor: pointer; }
.dash-pause:hover { border-color: var(--brand); color: var(--brand-dark); }
.dash-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.dash-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dash-card { overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 1px 2px rgba(31, 38, 45, .05); }
.dash-card-h { margin: 0; }
.dash-toggle { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; font-weight: 600; text-align: left; color: inherit; background: #f6f8fa; border: 0; cursor: pointer; }
.dash-toggle:hover { background: #eef2f6; }
.dash-card-name { flex: 1; min-width: 0; }
.dash-badge { padding: 2px 8px; font-size: 12px; font-weight: 700; border-radius: 999px; white-space: nowrap; }
.b-danger { background: #fde8e8; color: #8a1c1c; }
.b-warning { background: #fdf1dc; color: #7a4a00; }
.b-success { background: #e3f4ec; color: #16794f; }
.b-brand { background: var(--brand-subtle); color: var(--brand-dark); }
.c-danger { color: #b42318; }
.c-brand { color: var(--brand); }
.c-warning { color: #b26a00; }
.c-success { color: #16794f; }
.t-danger { color: #b42318; }
.dash-chev { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s ease; }
.dash-card.open .dash-chev { transform: rotate(180deg); }
.dash-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s ease; }
.dash-card.open .dash-body { grid-template-rows: 1fr; }
.dash-body-in { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s .45s; }
.dash-card.open .dash-body-in { visibility: visible; transition-delay: 0s; }
.dash-list { margin: 0; padding: 4px 12px 10px; list-style: none; }
.dash-list li { padding: 8px 0; font-size: 13px; line-height: 1.35; border-top: 1px solid #eef2f6; }
.dash-list li:first-child { border-top: 0; }
.dash-list small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.dash-list small.t-danger { color: #b42318; }
.dash-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.dash-row b { font-size: 13px; white-space: nowrap; }
.dash-pill { padding: 2px 8px; font-size: 11px; border-radius: 999px; }
.dash-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px 0; }
.dash-sum small { display: block; font-size: 12px; color: var(--muted); }
.dash-sum strong { font-size: 18px; }
.dash-task { display: flex; align-items: flex-start; gap: 10px; }
.dash-task i { width: 16px; height: 16px; margin-top: 2px; flex: none; border: 1.5px solid #9aa8b4; border-radius: 4px; }
.hide-sm { display: none; }
@media (prefers-reduced-motion: reduce) {
  .dash-body, .dash-chev, .dash-body-in { transition: none; }
}

/* ── Video promozionale ── */
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.promo-video { margin: 0 auto; max-width: 1080px; }
.promo-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: var(--tint-2); }
.promo-video figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }

/* ── Griglie e card ── */
.grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); }
.icon { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--brand-subtle); color: var(--brand-dark); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; flex: none; }
.card-row { display: flex; gap: 14px; align-items: flex-start; }
.card-row .icon { margin-bottom: 0; }
.card-sm { padding: 20px; }
.card-sm h3 { font-size: 16px; }
.card-sm p { font-size: 14px; }
.card-shot img { margin-top: 18px; border-radius: var(--radius-sm); border: 1px solid var(--border); }

/* ── Processo ── */
.flow { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 20px; scroll-snap-type: x proximity; }
.flow-step { flex: 0 0 auto; min-width: 140px; min-height: 76px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 14px; text-align: left; font: inherit; background: #fff; color: var(--ink); border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; scroll-snap-align: start; transition: border-color .15s, background-color .15s; }
.flow-step:hover { border-color: var(--brand); }
.flow-step[aria-selected="true"] { border: 2px solid var(--brand); background: var(--brand-subtle); padding: 11px 13px; }
.flow-pre { border-style: dashed; background: var(--tint); }
.flow-num { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-dark); }
.flow-name { font-size: 15px; font-weight: 700; line-height: 1.25; }
.flow-body { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.flow-panel h3 { font-size: 24px; }
.flow-panel p + p { margin-top: 12px; }
.flow-benefit { color: var(--ink) !important; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--tint); border: 1px solid var(--border); }
.chips-row { justify-content: center; margin-top: 36px; }
/* Due schermate sovrapposte come pagine di un libro aperto */
.book { margin: 0; display: grid; }
.book img { border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); }
.book-back { width: 82%; transform: rotate(-1.5deg); transform-origin: left bottom; }
.book-front { position: relative; width: 76%; margin: -24% 0 0 auto; transform: rotate(1.5deg); transform-origin: right top; box-shadow: var(--shadow-lg) !important; }
.book figcaption { margin-top: 18px; font-size: 14px; color: var(--muted); }
/* Variante per schermate alte (pagine intere): meno larghe e più sovrapposte */
.book-tall .book-back { width: 70%; }
.book-tall .book-front { width: 68%; margin-top: -40%; }

/* ── Sezione app PWA ── */
.pwa-layout { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.pwa-points { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.pwa-visual { position: relative; width: 100%; max-width: 280px; margin: 0 auto; }
.pwa-visual > img { aspect-ratio: 412 / 640; object-fit: cover; object-position: top; border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow-lg); background: #fff; }
.pwa-chip { position: absolute; top: -12px; right: -10px; z-index: 1; padding: 6px 14px; font-size: 13px; font-weight: 800; letter-spacing: .04em; color: #fff; background: var(--brand); border-radius: 999px; box-shadow: var(--shadow); }
.pwa-app { position: absolute; left: -22px; bottom: 74px; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; font-weight: 700; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); }
.pwa-app img { width: 44px; height: 44px; border-radius: 10px; }
.pwa-visual figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }

/* ── Screenshot e mockup ── */
.shot { margin: 0; }
.shot img { border-radius: var(--radius-sm); border: 1px solid var(--border); box-shadow: var(--shadow); background: #fff; }
.shot figcaption, .mock figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.shot-phone img { border-radius: 24px; }
.shot-wide { max-width: 1080px; margin: 0 auto 40px; }
/* Ritaglio commerciale: si vede solo la parte alta della scheda (titolo, persone, processo, azioni rapide) */
.shot-wide img { width: 100%; height: auto; aspect-ratio: 1200 / 660; object-fit: cover; object-position: top; }
.flex-shots { display: grid; gap: 20px; margin-top: 32px; grid-template-columns: minmax(0, 1fr); }
.flex-shots .shot-phone { max-width: 260px; }

.feature-row { display: grid; gap: 24px; align-items: center; margin-bottom: 48px; }
.feature-text h3 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; margin-bottom: 12px; }
.feature-text p { color: var(--muted); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.ticks svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.mock { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.mock-toolbar { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.mock-toolbar span { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 6px; background: var(--tint); border: 1px solid var(--border); }
.mock-toolbar .mock-accent { background: var(--brand-subtle); color: var(--brand-dark); border-color: #9fc9d8; }
.mock-doc { padding: 16px 4px 4px; font-size: 14px; color: var(--muted); display: grid; gap: 10px; }
.mock-title { text-align: center; font-weight: 800; color: var(--ink); letter-spacing: .04em; }
.mock-doc mark { background: var(--brand-subtle); color: var(--brand-dark); padding: 0 4px; border-radius: 4px; font-weight: 600; }
.mock-line { display: block; height: 8px; border-radius: 4px; background: var(--tint-2); }
.mock-line.short { width: 60%; }
.mock-sign { display: grid; gap: 10px; }
.mock-file { font-size: 13px; font-weight: 600; color: var(--ink); padding: 10px 12px; background: var(--tint); border-radius: 8px; word-break: break-all; }
.mock-party { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-weight: 600; }
.mock-party span:last-child { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.mock-party.done span:last-child { background: var(--success-subtle); color: var(--success); }
.mock-party.wait span:last-child { background: var(--warning-subtle); color: var(--warning); }

/* ── Banda CTA ── */
.band { margin-top: 40px; background: var(--ink); color: #fff; border-radius: 18px; padding: 32px 24px; display: grid; gap: 16px; justify-items: start; }
.band-title { font-size: clamp(22px, 3.4vw, 30px); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.band-sub { color: #c9d3db; }

/* ── Come iniziare ── */
.steps { list-style: none; padding: 0; display: grid; gap: 28px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 14px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* ── Prenota demo ── */
.section-dark { background: var(--ink); color: #fff; }
.section-dark .eyebrow { color: var(--brand-on-dark); }
.section-dark h2 { font-size: clamp(28px, 6vw, 44px); font-weight: 800; }
.section-dark .section-lead { color: #c9d3db; }
.ticks-light li { color: #e9eff4; }
.ticks-light svg { stroke: var(--brand-on-dark); }
.demo-layout { display: grid; gap: 32px; align-items: start; }
.demo-booking-widget { background: #fff; color: var(--ink); border-radius: 16px; padding: 24px 20px; box-shadow: var(--shadow-lg); }
.demo-widget-title { font-size: 20px; margin-bottom: 16px; }
.demo-booking-slots-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 10px; }
.demo-slots-grid { display: flex; flex-wrap: wrap; gap: 8px; max-height: 340px; overflow-y: auto; padding-right: 4px; }
.demo-slot-day-label { width: 100%; font-size: 14px; font-weight: 700; margin-top: 10px; }
.demo-slot-day-label:first-child { margin-top: 0; }
.demo-slot-btn { min-height: 44px; min-width: 76px; padding: 8px 12px; font: inherit; font-size: 14px; font-weight: 600; background: #fff; color: var(--ink); border: 1px solid var(--border); border-radius: 8px; cursor: pointer; }
.demo-slot-btn:hover { border-color: var(--brand); color: var(--brand); }
.demo-slot-btn.selected { background: var(--brand); border-color: var(--brand); color: #fff; }
.demo-slots-loading, .demo-slots-empty, .demo-slots-error { font-size: 14px; color: var(--muted); padding: 8px 0; }
.demo-slots-error { color: var(--danger); }
.demo-booking-form { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.demo-booking-selected { font-weight: 700; color: var(--brand-dark); background: var(--brand-subtle); padding: 10px 12px; border-radius: 8px; margin-bottom: 16px; }
.demo-form-row { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.demo-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.demo-field label { font-size: 14px; font-weight: 600; }
.demo-field input, .demo-field textarea { font: inherit; font-size: 16px; min-height: 44px; padding: 10px 12px; border: 1px solid #9aa8b4; border-radius: 8px; color: var(--ink); background: #fff; }
.demo-field input:focus, .demo-field textarea:focus { outline: 3px solid rgba(10, 108, 138, .25); border-color: var(--brand); }
.demo-consent { gap: 10px; }
.demo-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px !important; font-weight: 400 !important; line-height: 1.5; color: var(--muted); }
.demo-check input { min-height: 0; width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--brand); }
.demo-form-actions { display: flex; flex-wrap: wrap-reverse; gap: 10px; justify-content: space-between; margin-top: 8px; }
.demo-booking-message { margin-top: 12px; font-size: 14px; }
.demo-booking-message.error { color: var(--danger); }
.demo-booking-success { text-align: center; padding: 24px 0 8px; }
.demo-booking-success-icon { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--success-subtle); color: var(--success); font-size: 28px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.demo-booking-success-title { font-size: 20px; font-weight: 800; }
.demo-booking-success-text { color: var(--muted); margin-top: 6px; }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.footer-copy { color: var(--muted); font-size: 14px; }

/* ── Animazioni discrete ── */
/* Nascosti solo se il JS è attivo (classe .js su <html>), così senza JS tutto resta visibile */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.visible { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ── Tablet ── */
@media (min-width: 640px) {
  .container { padding: 0 24px; }
  .dash { height: 470px; }
  .dash-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hide-sm { display: block; }
  .grid-2, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .flex-shots { grid-template-columns: minmax(0, 1fr) 220px; align-items: end; }
  .band { padding: 40px 36px; }
  .pwa-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Desktop ── */
@media (min-width: 960px) {
  .section { padding: 96px 0; }
  .hero { padding: 72px 0 88px; }
  .nav-toggle { display: none; }
  .site-nav { display: flex !important; align-items: center; justify-content: space-between; gap: 24px; width: auto; padding: 0; flex: 1; }
  .site-nav ul { flex-direction: row; gap: 28px; margin: 0 auto; }
  .site-nav ul a { border: 0; padding: 8px 0; font-size: 15px; }
  .nav-actions { flex-direction: row; align-items: center; gap: 18px; margin: 0; }
  .header-inner { flex-wrap: nowrap; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .flow { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: visible; }
  .flow-step { min-width: 0; }
  .flow-body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .feature-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; margin-bottom: 72px; }
  .feature-row-reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feature-row-reverse .feature-text { order: 2; }
  .flex-shots { grid-template-columns: minmax(0, 1fr) 260px; }
  .pwa-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; }
  .band { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 40px; }
  .band .btn { grid-row: 1 / span 2; grid-column: 2; }
  .demo-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; }
  .demo-booking-widget { padding: 32px; }
}
