/* ==========================================================================
   Computix · foglio di stile principale
   Palette: navy #0c274b · arancio #ffa936 · chiaro #f3f7fd
   Font: Poppins (titoli, marchio) · Figtree (testo) · JetBrains Mono (codici e numeri)
   ========================================================================== */

@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --navy: #0c274b;
  --navy-950: #06162c;
  --navy-900: #081d39;
  --navy-800: #0f2f59;
  --navy-700: #1a4072;
  --orange: #ffa936;
  --orange-hover: #ff9a14;
  --orange-ink: #a45c00;
  --orange-tint: #fff3e1;
  --ground: #f3f7fd;
  --surface: #ffffff;
  --tint: #e7eef9;
  --ink: #0c274b;
  --text: #1d3354;
  --muted: #52657f;
  --line: #d9e3f0;
  --line-strong: #bfcee2;
  --on-dark: #ffffff;
  --on-dark-muted: #b4c3d9;
  --line-dark: rgba(255, 255, 255, 0.12);
  --ok: #0f7a52;
  --ok-tint: #e3f5ed;
  --warn: #9a5b00;
  --warn-tint: #fff1dc;
  --bad: #b42d2d;
  --bad-tint: #fde8e8;

  --font-display: "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Figtree", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 8vw, 112px);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(12, 39, 75, 0.06), 0 1px 1px rgba(12, 39, 75, 0.04);
  --shadow: 0 18px 40px -18px rgba(12, 39, 75, 0.28), 0 2px 6px rgba(12, 39, 75, 0.06);
  --shadow-lg: 0 40px 80px -30px rgba(6, 22, 44, 0.45), 0 8px 20px -8px rgba(6, 22, 44, 0.18);
  --header-h: 76px;

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--ink); font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 3.6vw + 1rem, 3.65rem); line-height: 1.07; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.75rem, 2vw + 1.05rem, 2.6rem); line-height: 1.14; letter-spacing: -0.022em; }
h3 { font-size: 1.18rem; line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: 1rem; line-height: 1.35; }
strong { font-weight: 650; color: var(--ink); }
::selection { background: var(--orange); color: var(--navy); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.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; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(44px, 6vw, 72px); }
.section-white { background: var(--surface); }
.section-dark { background: var(--navy); color: var(--on-dark-muted); }
.section-dark h2, .section-dark h3, .section-dark strong { color: var(--on-dark); }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--orange); }
.section-dark .eyebrow, .on-dark .eyebrow { color: var(--orange); }
.lead { font-size: clamp(1.08rem, 0.4vw + 1rem, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.section-dark .lead { color: var(--on-dark-muted); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.hl { color: var(--orange-ink); }
.section-dark .hl, .on-dark .hl { color: var(--orange); }
.caption { font-size: 0.8rem; color: var(--muted); font-style: italic; text-align: center; margin-top: 14px; }
.section-dark .caption { color: var(--on-dark-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 12px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; stroke-width: 2.2; }
.btn-primary { background: var(--orange); color: var(--navy); box-shadow: 0 10px 22px -12px rgba(255, 150, 20, 0.9); }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--navy); background: var(--surface); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 0.94rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.text-link:hover { color: var(--orange-ink); }
.text-link .icon { width: 1em; height: 1em; stroke-width: 2.2; transition: transform .18s ease; }
.text-link:hover .icon { transform: translateX(3px); }
.section-dark .text-link, .on-dark .text-link { color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: var(--on-dark-muted); font-size: 0.9rem; }
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 10px 16px; flex-wrap: wrap; min-height: 42px; padding-block: 8px; text-align: center; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a .icon { width: 1em; height: 1em; stroke-width: 2.2; color: var(--orange); }
.topbar a:hover { color: var(--orange); }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: rgba(243, 247, 253, 0.9);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(12,39,75,.35); background: rgba(255,255,255,0.94); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 36px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-link, .sub-toggle {
  display: inline-flex; align-items: center; gap: 5px; padding: 9px 10px; border-radius: 10px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.92rem; color: var(--navy);
  text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav-link:hover, .sub-toggle:hover { background: var(--tint); }
.nav-link[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 -0px var(--orange); border-radius: 10px 10px 4px 4px; }
.sub-toggle .icon { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .2s ease; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.has-sub.is-active > .sub-toggle { box-shadow: inset 0 -3px 0 var(--orange); border-radius: 10px 10px 4px 4px; }
.sub {
  list-style: none; position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: 340px; padding: 10px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-lg); display: none;
}
.sub::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-sub.open .sub { display: grid; gap: 2px; }
.sub a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; text-decoration: none; }
.sub a:hover { background: var(--ground); }
.sub .sub-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--tint); color: var(--navy); display: grid; place-items: center; flex: none; }
.sub .sub-ic .icon { width: 20px; height: 20px; }
.sub strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--navy); }
.sub span.sub-desc { display: block; font-size: 0.86rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.sub a[aria-current="page"] { background: var(--ground); }

.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .bars { width: 20px; height: 14px; position: relative; }
.menu-toggle .bars span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .22s ease, opacity .22s ease, top .22s ease; }
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 6px; }
.menu-toggle .bars span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.header-cta-mobile { display: none; }

.header-minimal .header-inner { justify-content: space-between; }

@media (max-width: 1240px) {
  .site-header, .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: #f7f9fe; }
  .menu-toggle { display: inline-flex; }
  .header-cta-mobile { display: inline-flex; margin-left: auto; }
  .header-cta-mobile + .menu-toggle { margin-left: 0; }
  .nav {
    position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); bottom: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 20px; margin: 0;
    padding: 18px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
    background: var(--surface); border-top: 1px solid var(--line); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link, .sub-toggle { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.06rem; border-radius: 0; }
  .nav-link:hover, .sub-toggle:hover { background: none; }
  .nav-link[aria-current="page"], .has-sub.is-active > .sub-toggle { box-shadow: none; color: var(--orange-ink); }
  .sub { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 0 0 12px; background: none; }
  .sub::before { display: none; }
  .sub a { padding: 10px 4px; }
  .nav-cta { width: 100%; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 600px) {
  :root { --header-h: 66px; }
  .brand img { height: 32px; }
  .header-cta-mobile { padding-inline: 14px; min-height: 42px; font-size: 0.9rem; }
  .header-inner { gap: 10px; }
}
@media (max-width: 440px) {
  .header-cta-mobile .cta-long { display: none; }
}
@media (max-width: 340px) {
  .header-cta-mobile { display: none; }
  .menu-toggle { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(20px, 2.5vw, 36px) clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px; opacity: .55;
  mask-image: radial-gradient(ellipse 70% 70% at 78% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 78% 40%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero-copy h1 .accent { color: var(--orange-ink); position: relative; white-space: nowrap; }
.hero-copy h1 .accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.16em; background: var(--orange); opacity: .5; border-radius: 3px; z-index: -1; }
.hero-points { list-style: none; display: grid; gap: 10px; margin-top: 4px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 1rem; }
.hero-points .icon { color: var(--ok); margin-top: 3px; stroke-width: 2.4; width: 1.1em; height: 1.1em; }
.hero-visual { position: relative; min-width: 0; }
.page-hero { padding-block: clamp(20px, 2.5vw, 36px) clamp(48px, 6vw, 88px); }
.page-hero .hero-grid { align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 720px; }
  .hero::before { mask-image: radial-gradient(ellipse 90% 60% at 50% 75%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 75%, #000 20%, transparent 75%); }
}

/* ---------- Mockup frame (shared) ---------- */
.mock {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  overflow: hidden; font-size: 0.86rem; color: var(--text);
}
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.mock-bar .dots { display: flex; gap: 6px; flex: none; }
.mock-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #dbe3ee; display: block; }
.mock-bar .file { display: flex; align-items: center; gap: 8px; min-width: 0; font-family: var(--font-display); font-weight: 500; font-size: 0.82rem; color: var(--navy); }
.mock-bar .file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-bar .file .icon { color: var(--orange-ink); width: 16px; height: 16px; }
.mock-bar .meta { margin-left: auto; font-size: 0.76rem; color: var(--muted); white-space: nowrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 600; white-space: nowrap; line-height: 1.5; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip-ok { background: var(--ok-tint); color: var(--ok); }
.chip-warn { background: var(--warn-tint); color: var(--warn); }
.chip-bad { background: var(--bad-tint); color: var(--bad); }
.chip-info { background: var(--tint); color: var(--navy-700); }
.chip-plain::before { display: none; }

/* Hero sheet: computo prezzato */
.sheet .sheet-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.sheet .progress { flex: 1 1 160px; height: 8px; border-radius: 8px; background: var(--tint); overflow: hidden; }
.sheet .progress span { display: block; height: 100%; width: 100%; border-radius: 8px; background: linear-gradient(90deg, #ffb445, #ff9d2b); transition: width 0.3s ease; }
.sheet .status-text { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.sheet .status-text b { color: var(--navy); font-weight: 600; }
.sheet-scroll { overflow-x: auto; }
.sheet table { width: 100%; border-collapse: collapse; min-width: 520px; }
.sheet th { text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fbfcfe; white-space: nowrap; }
.sheet td { padding: 9px 10px; border-bottom: 1px solid #eef2f8; vertical-align: middle; }
.sheet tr:last-child td { border-bottom: 0; }
.sheet .code { display: block; font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); letter-spacing: 0; }
.sheet .desc { font-weight: 500; color: var(--navy); line-height: 1.3; font-size: 0.82rem; }
.sheet .col-code { min-width: 190px; }
.sheet th.num { font-family: var(--font-display); font-size: 0.68rem; }
.sheet td .chip { font-size: 0.7rem; padding: 2px 8px; }
.sheet .num { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 0.8rem; }
.sheet .price { color: var(--navy); font-weight: 500; }
.sheet .um { color: var(--muted); font-family: var(--font-mono); font-size: 0.76rem; }
.sheet tr.row-warn td { background: #fffaf2; }
.sheet .price-cell { transition: background-color .4s ease; }
.sheet .price-cell.just-filled { background: var(--orange-tint); }
.sheet tfoot td { background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; border: 0; }
.sheet tfoot .num { color: #fff; font-size: 0.92rem; }
.sheet .pending { color: #b3c0d3; letter-spacing: 0.1em; }
.float-card {
  position: relative; z-index: 2; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--warn); border-radius: 12px;
  box-shadow: var(--shadow); padding: 12px 14px; font-size: 0.8rem; display: grid; gap: 6px; width: min(100%, 330px); margin: 14px 0 0 auto;
}
.float-card .fc-title { font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 0.8rem; display: flex; align-items: center; gap: 8px; }
.float-card .fc-title .icon { color: var(--warn); width: 16px; height: 16px; }
.float-card p { color: var(--muted); line-height: 1.45; }
@media (max-width: 560px) {
  .float-card { width: auto; }
  .sheet .col-code .code { display: none; }
}

/* ---------- Service strip under hero ---------- */
.also-strip { position: relative; margin-top: clamp(-40px, -3vw, -24px); z-index: 3; }
.also-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 24px; align-items: center;
  background: var(--navy); color: var(--on-dark-muted); border-radius: 18px; padding: 22px clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-lg);
}
.also-card .also-ic { width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 169, 54, 0.14); color: var(--orange); display: grid; place-items: center; }
.also-card .also-ic .icon { width: 26px; height: 26px; }
.also-card h2 { font-size: 1.2rem; color: #fff; letter-spacing: -0.01em; }
.also-card p { font-size: 0.98rem; margin-top: 4px; }
.also-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-size: 0.92rem; }
.also-links a { color: #fff; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.28); }
.also-links a:hover { border-color: var(--orange); color: var(--orange); }
.also-links .lbl { color: var(--on-dark-muted); }
@media (max-width: 800px) {
  .also-card { grid-template-columns: minmax(0, 1fr); }
  .also-card .btn { justify-self: start; }
}

/* ---------- Problems ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.pain { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.pain:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.pain .pain-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bad-tint); color: var(--bad); }
.pain .pain-ic .icon { width: 22px; height: 22px; }
.pain h3 { font-size: 1.08rem; }
.pain p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 900px) {
  .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pain, .pain:not(:nth-child(3n+1)) { padding: 24px 20px 26px 0; border-left: 0; }
  .pain:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
}
@media (max-width: 580px) {
  .pain-grid { grid-template-columns: minmax(0, 1fr); }
  .pain, .pain:nth-child(2n), .pain:not(:nth-child(3n+1)) { padding: 22px 0; border-left: 0; }
}
.pain-cost {
  margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between;
  padding: 22px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.pain-cost p { max-width: 70ch; }
.pain-cost .calc { font-family: var(--font-mono); font-size: 0.92rem; color: var(--navy); background: var(--ground); border-radius: 10px; padding: 10px 14px; white-space: nowrap; }
.pain-cost .calc b { color: var(--bad); }

/* ---------- Steps / how it works ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.reverse { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.split.reverse > :first-child { order: 2; }
@media (max-width: 960px) {
  .split, .split.reverse { grid-template-columns: minmax(0, 1fr); }
  .split.reverse > :first-child { order: 0; }
}
.steps { list-style: none; display: grid; gap: 0; counter-reset: step; }
.steps li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding-bottom: 28px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  counter-increment: step; content: counter(step);
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--navy);
  background: var(--surface); border: 2px solid var(--orange); position: relative; z-index: 1;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: repeating-linear-gradient(var(--line-strong) 0 6px, transparent 6px 11px); }
.steps h3, .steps .step-title { margin-top: 10px; }
.steps .step-title { font-size: 1.18rem; line-height: 1.3; letter-spacing: -0.01em; }
.steps p { color: var(--muted); margin-top: 6px; }
.section-dark .steps li::before { background: var(--navy); color: #fff; }
.section-dark .steps p { color: var(--on-dark-muted); }

/* Pricing demo (from PDF) */
.pricing-demo { display: grid; gap: 14px; padding: clamp(14px, 2vw, 22px); background: var(--navy); border-radius: 20px; box-shadow: var(--shadow-lg); }
.pricing-demo .mock { box-shadow: none; }
.voci-list { list-style: none; }
.voci-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 11px 16px; border-bottom: 1px solid #eef2f8; }
.voci-list li:last-child { border-bottom: 0; }
.voci-list .v-name { font-weight: 500; color: var(--navy); min-width: 0; }
.voci-list .v-um { font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); white-space: nowrap; }
.voci-list li.is-selected { background: #fffaf2; box-shadow: inset 3px 0 0 var(--orange); }
.mock-head { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; font-family: var(--font-display); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); background: #fbfcfe; }
.source-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .source-cards { grid-template-columns: minmax(0, 1fr); } }
.source { padding: 14px 16px; display: grid; gap: 8px; }
.source .src-label { font-family: var(--font-display); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-700); background: var(--tint); border-radius: 6px; padding: 3px 8px; justify-self: start; }
.source.src-hist .src-label { background: var(--orange-tint); color: var(--orange-ink); }
.source .src-value { font-size: 0.82rem; color: var(--text); }
.source .src-value b { font-family: var(--font-mono); font-weight: 500; color: var(--navy); }
.conf { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.conf .bar { height: 7px; border-radius: 7px; background: var(--tint); overflow: hidden; }
.conf .bar span { display: block; height: 100%; border-radius: 7px; background: var(--ok); }
.conf .pct { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ok); font-weight: 500; }
.conf.is-low .bar span { background: var(--orange); }
.conf.is-low .pct { color: var(--orange-ink); }
.src-value b { white-space: nowrap; }
.source .src-note { font-size: 0.74rem; color: var(--muted); }
.ai-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,0.06); color: #dbe5f3; font-size: 0.82rem; line-height: 1.5; }
.ai-note .icon { color: var(--orange); width: 18px; height: 18px; margin-top: 1px; }
.ai-note b { color: #fff; }

/* ---------- AI section (dark) ---------- */
.ai-section { position: relative; overflow: hidden; }
.ai-section::after {
  content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 160%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,169,54,0.12), transparent 70%);
}
.ai-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .ai-grid { grid-template-columns: minmax(0, 1fr); } }
.ai-grid h2 { color: #fff; }
.ai-copy { display: grid; gap: 20px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 18px; overflow: hidden; }
.compare > div { background: var(--navy); padding: 22px; display: grid; gap: 12px; align-content: start; }
.compare .cmp-head { font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.compare .cmp-old .cmp-head { color: var(--on-dark-muted); }
.compare .cmp-new { background: var(--navy-800); }
.compare .cmp-new .cmp-head { color: var(--orange); }
.compare ul { list-style: none; display: grid; gap: 10px; font-size: 0.95rem; }
.compare li { display: flex; gap: 10px; align-items: flex-start; }
.compare li .icon { width: 1.05em; height: 1.05em; margin-top: 4px; stroke-width: 2.4; }
.compare .cmp-old li .icon { color: #8fa3bf; }
.compare .cmp-new li { color: #fff; }
.compare .cmp-new li .icon { color: var(--orange); }
@media (max-width: 520px) { .compare { grid-template-columns: minmax(0, 1fr); } }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-dark); position: relative; z-index: 1; }
.stat { padding: 24px 24px 4px 0; display: grid; gap: 6px; align-content: start; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.stat .stat-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 2.4vw + 1rem, 2.9rem); line-height: 1; color: #fff; letter-spacing: -0.03em; }
.stat .stat-num .u { color: var(--orange); }
.stat p { font-size: 0.95rem; }
@media (max-width: 720px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat, .stat + .stat { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
}

/* ---------- Feature list ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.feature .f-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--navy); }
.feature .f-ic .icon { width: 22px; height: 22px; }
.feature p { color: var(--muted); font-size: 0.97rem; }
.feature .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; color: var(--navy); background: var(--ground); border: 1px solid var(--line); padding: 2px 8px; border-radius: 6px; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } }
.note-custom {
  margin-top: 22px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--radius);
  background: var(--orange-tint); border: 1px solid #ffdfb2; color: var(--text);
}
.note-custom .icon { color: var(--orange-ink); width: 22px; height: 22px; margin-top: 2px; }
.note-custom strong { color: var(--navy); }

/* ---------- Modules / training ---------- */
.module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.module { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--ground); border: 1px solid var(--line); }
.module .f-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--orange); }
.module .f-ic .icon { width: 22px; height: 22px; }
.module h3 { font-size: 1.05rem; }
.module p { color: var(--muted); font-size: 0.96rem; margin-top: 6px; }
@media (max-width: 760px) { .module-grid { grid-template-columns: minmax(0, 1fr); } }

.gara-card { padding: 0; }
.gara-body { padding: 18px; display: grid; gap: 14px; }
.gara-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.gara-row .lbl { color: var(--muted); font-size: 0.84rem; }
.gara-row .val { font-family: var(--font-mono); font-weight: 500; color: var(--navy); white-space: nowrap; }
.gara-verdict { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--ok-tint); }
.gara-verdict .v-title { font-family: var(--font-display); font-weight: 600; color: var(--ok); }
.gara-verdict .v-sub { font-size: 0.8rem; color: var(--muted); }
.gara-verdict .v-margin { font-family: var(--font-mono); font-size: 1.3rem; color: var(--ok); font-weight: 500; }
.gara-factors { display: flex; flex-wrap: wrap; gap: 6px; }
.training-list { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.training-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.training-list .icon { color: var(--orange-ink); width: 22px; height: 22px; margin-top: 2px; }
.section-dark .training-list .icon { color: var(--orange); }

/* ---------- Benefits ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.benefit { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.benefit .b-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ok-tint); color: var(--ok); }
.benefit .b-ic .icon { width: 22px; height: 22px; }
.benefit p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 1040px) { .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .benefit-grid { grid-template-columns: minmax(0, 1fr); } }
.roi {
  margin-top: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 28px; align-items: center;
  padding: 26px clamp(20px, 3vw, 34px); border-radius: 18px; background: var(--navy); color: var(--on-dark-muted);
}
.roi .roi-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 3vw + 1rem, 3.2rem); line-height: 1; color: var(--orange); letter-spacing: -0.03em; white-space: nowrap; }
.roi .roi-num small { font-size: 0.42em; color: #fff; letter-spacing: 0; margin-left: 6px; font-weight: 500; }
.roi h3 { color: #fff; }
.roi p { font-size: 0.97rem; margin-top: 4px; }
@media (max-width: 820px) { .roi { grid-template-columns: minmax(0, 1fr); } .roi .btn { justify-self: start; } }

/* ---------- Custom / integrations ---------- */
.custom-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .custom-grid { grid-template-columns: minmax(0, 1fr); } }
.custom-list { list-style: none; display: grid; gap: 16px; }
.custom-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.custom-list .c-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--navy); }
.custom-list .c-ic .icon { width: 22px; height: 22px; }
.custom-list p { color: var(--muted); font-size: 0.97rem; margin-top: 2px; }
.hub { position: relative; padding: clamp(18px, 3vw, 28px); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hub-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.hub-col { display: grid; gap: 10px; }
.hub-col .hub-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--ground); border: 1px solid var(--line); font-size: 0.86rem; color: var(--navy); font-weight: 500; }
.hub-col .hub-item .icon { width: 18px; height: 18px; color: var(--muted); }
.hub-core { width: 96px; height: 96px; border-radius: 24px; display: grid; place-items: center; background: var(--navy); box-shadow: 0 0 0 8px var(--tint); }
.hub-core img { width: 60px; height: 60px; }
.hub-caption { display: flex; justify-content: space-between; margin-bottom: 12px; font-family: var(--font-display); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 480px) {
  .hub-grid { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .hub-core { justify-self: center; }
  .hub-caption { display: none; }
}

/* ---------- FOMO banner ---------- */
.fomo { position: relative; overflow: hidden; border-radius: 24px; background: var(--navy); color: var(--on-dark-muted); padding: clamp(32px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.fomo::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg, transparent, #000 70%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
.fomo > * { position: relative; }
.fomo h2 { color: #fff; }
.fomo .eyebrow { color: var(--orange); }
.fomo .fomo-copy { display: grid; gap: 16px; }
.fomo .fomo-side { display: grid; gap: 12px; }
.fomo .race { display: grid; gap: 10px; background: rgba(255,255,255,0.05); border: 1px solid var(--line-dark); border-radius: 16px; padding: 18px; }
.race-row { display: grid; gap: 6px; }
.race-row .r-lbl { display: flex; justify-content: space-between; gap: 10px; font-size: 0.86rem; }
.race-row .r-lbl b { color: #fff; font-weight: 600; }
.race-row .r-bar { height: 10px; border-radius: 10px; background: rgba(255,255,255,0.08); overflow: hidden; }
.race-row .r-bar span { display: block; height: 100%; border-radius: 10px; }
.race-row.slow .r-bar span { width: 100%; background: #6d82a1; }
.race-row.fast .r-bar span { width: 14%; background: var(--orange); }
.race .r-foot { font-size: 0.76rem; color: var(--on-dark-muted); font-style: italic; }
@media (max-width: 900px) { .fomo { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Other applications ---------- */
.app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.app-card { position: relative; display: grid; gap: 12px; align-content: start; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.app-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); }
.app-card .a-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--orange); }
.app-card .a-ic .icon { width: 24px; height: 24px; }
.app-card h3 { font-size: 1.08rem; }
.app-card p { color: var(--muted); font-size: 0.95rem; }
.app-card .more { margin-top: 4px; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.app-card .more .icon { width: 1em; height: 1em; stroke-width: 2.2; color: var(--orange-ink); transition: transform .18s ease; }
.app-card:hover .more .icon { transform: translateX(3px); }
.app-card.is-current { border-style: dashed; opacity: .8; pointer-events: none; }
@media (max-width: 1040px) { .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .app-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Chi siamo ---------- */
.about { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-card { position: relative; overflow: hidden; border-radius: 22px; background: var(--navy); padding: clamp(28px, 4vw, 44px); display: grid; gap: 22px; color: var(--on-dark-muted); }
.about-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(135deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(135deg, transparent 30%, #000); }
.about-card > * { position: relative; }
.about-card .about-logo { width: 190px; height: auto; }
.about-card p { font-size: 0.96rem; }
.about-facts { list-style: none; display: grid; gap: 10px; }
.about-facts li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: #fff; }
.about-facts .icon { color: var(--orange); width: 1.1em; height: 1.1em; margin-top: 4px; stroke-width: 2.4; }
.about-copy { display: grid; gap: 18px; }
@media (max-width: 900px) { .about { grid-template-columns: minmax(0, 1fr); } .about-card { order: 2; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } .faq-side { position: static; } }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--navy); line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--ground); flex: none; }
.faq-item summary .pm::before, .faq-item summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq-item summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary .pm { background: var(--orange); }
.faq-item[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--muted); display: grid; gap: 10px; max-width: 72ch; }
.faq-item .faq-a strong { color: var(--navy); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-info { display: grid; gap: 22px; }
.contact-lines { list-style: none; display: grid; gap: 12px; }
.contact-lines li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.contact-lines .c-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--orange); }
.contact-lines .c-ic .icon { width: 20px; height: 20px; }
.contact-lines .c-lbl { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-display); font-weight: 600; }
.contact-lines a, .contact-lines .c-val { color: var(--navy); font-weight: 600; text-decoration: none; font-size: 1.02rem; word-break: break-word; }
.contact-lines a:hover { color: var(--orange-ink); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.3rem; }
.form-card > p { color: var(--muted); margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-family: var(--font-display); font-weight: 500; font-size: 0.88rem; color: var(--navy); }
.field .req { color: var(--orange-ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--navy); background: var(--ground);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 50px;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230c274b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(255, 169, 54, 0.28); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); background: #fff; }
.field .err { font-size: 0.82rem; color: var(--bad); display: none; }
.field.invalid .err { display: block; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check-pill { position: relative; }
.check-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-pill label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--ground); font-size: 0.9rem; color: var(--navy); cursor: pointer; font-family: var(--font-body); font-weight: 500; }
.check-pill label::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line-strong); background: #fff; flex: none; }
.check-pill input:checked + label { border-color: var(--navy); background: #fff; }
.check-pill input:checked + label::before { background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c274b' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; border-color: var(--orange); }
.check-pill input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 0.88rem; color: var(--muted); }
.field .consent input { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 2px 0 0; border-radius: 4px; accent-color: var(--navy); appearance: auto; -webkit-appearance: checkbox; background: #fff; }
.consent a { color: var(--navy); }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 6px; }
.form-actions .small { font-size: 0.82rem; color: var(--muted); }
.form-success { display: grid; gap: 12px; justify-items: start; padding: 8px 0; }
.form-success .ok-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--ok-tint); color: var(--ok); display: grid; place-items: center; }
.form-success .ok-ic .icon { width: 26px; height: 26px; stroke-width: 2.4; }

/* ---------- CTA banner ---------- */
.cta-band { background: var(--orange); color: var(--navy); border-radius: 22px; padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 36px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(255,255,255,0.18); pointer-events: none; }
.cta-band h2 { font-size: clamp(1.5rem, 1.6vw + 1rem, 2.1rem); }
.cta-band p { color: #3a2a10; margin-top: 8px; max-width: 60ch; }
.cta-band .btn-dark { background: var(--navy); color: #fff; position: relative; z-index: 1; }
.cta-band .btn-dark:hover { background: var(--navy-800); transform: translateY(-1px); }
.cta-band .cta-meta { display: block; font-size: 0.84rem; margin-top: 10px; color: #4a3712; }
@media (max-width: 760px) { .cta-band { grid-template-columns: minmax(0, 1fr); } .cta-band .btn { justify-self: start; } }

/* ---------- Creation flow mock ---------- */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 0.8fr) auto minmax(0, 1.2fr); gap: 12px; align-items: center; padding: clamp(16px, 2.4vw, 26px); background: var(--navy); border-radius: 20px; box-shadow: var(--shadow-lg); }
.flow .f-box { background: #fff; border-radius: 12px; overflow: hidden; }
.flow .f-lbl { font-size: 0.74rem; color: #c9d5e6; text-align: center; margin-top: 8px; font-weight: 600; }
.flow .f-op { color: var(--orange); display: grid; place-items: center; }
.flow .f-op .icon { width: 26px; height: 26px; stroke-width: 2.4; }
.flow .f-ai { display: grid; justify-items: center; gap: 4px; }
.flow .f-ai .pill { font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; background: var(--orange); color: var(--navy); padding: 3px 10px; border-radius: 999px; }
.doc-lines { padding: 14px; display: grid; gap: 7px; }
.doc-lines i { display: block; height: 6px; border-radius: 4px; background: #dfe7f2; }
.doc-lines i.h { height: 8px; width: 55%; background: var(--navy); }
.doc-lines i:nth-child(3) { width: 90%; } .doc-lines i:nth-child(4) { width: 70%; } .doc-lines i:nth-child(6) { width: 82%; } .doc-lines i:nth-child(7) { width: 60%; }
.mini-computo .mc-head { background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.06em; text-align: center; padding: 8px; text-transform: uppercase; }
.mini-computo ul { list-style: none; padding: 4px 10px 8px; }
.mini-computo li { display: flex; justify-content: space-between; gap: 8px; font-size: 0.72rem; padding: 6px 0; border-bottom: 1px solid #eef2f8; color: var(--text); }
.mini-computo li span:last-child { font-family: var(--font-mono); color: var(--navy); white-space: nowrap; }
.mini-computo .mc-foot { margin: 0 10px 10px; padding: 6px 8px; border-radius: 6px; background: var(--orange-tint); color: var(--orange-ink); font-size: 0.7rem; font-weight: 600; }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow .f-op.plus { display: none; }
  .flow .f-op.arrow { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: center; }
  .flow .f-op.arrow .icon { transform: rotate(90deg); }
  .flow .f-out { grid-column: 1 / -1; }
}

/* ---------- Verify block ---------- */
.verify { display: grid; gap: 10px; padding: 18px; }
.verify-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 10px 14px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--ground); font-size: 0.84rem; }
.verify-row .vr-name { font-weight: 500; color: var(--navy); min-width: 0; }
.verify-row .vr-q { font-family: var(--font-mono); font-size: 0.78rem; white-space: nowrap; color: var(--muted); }
.verify-row .vr-q b { color: var(--navy); font-weight: 500; }
.verify-row.diff { background: var(--bad-tint); }
.verify-head { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 14px; padding: 0 12px; font-family: var(--font-display); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
@media (max-width: 520px) {
  .verify-row, .verify-head { grid-template-columns: minmax(0, 1fr) auto; }
  .verify-row .vr-q.hide-sm, .verify-head .hide-sm { display: none; }
}

/* ---------- Render ---------- */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ba figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--navy); }
.ba img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba figcaption, .plan-render .tagline { position: absolute; left: 12px; top: 12px; font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; background: var(--navy); color: #fff; padding: 5px 10px; border-radius: 7px; }
.ba figure.after figcaption { background: var(--orange); color: var(--navy); }
@media (max-width: 560px) { .ba { grid-template-columns: minmax(0, 1fr); } }
.case-label { display: inline-flex; font-family: var(--font-display); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); background: var(--orange); padding: 5px 12px; border-radius: 7px; }
.plan-render { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: center; }
.plan-render .plan { background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 14px; }
.plan-render .plan svg { width: 100%; height: auto; display: block; }
.plan-render .plan p { font-size: 0.76rem; color: var(--muted); text-align: center; margin-top: 8px; }
.plan-render .plan p.plan-legend { margin-top: 4px; }
.plan-render .arrow { color: var(--orange-ink); }
.plan-render .arrow .icon { width: 30px; height: 30px; stroke-width: 2.4; }
.plan-render figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; }
.plan-render figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.plan-render .tagline { background: var(--orange); color: var(--navy); }
@media (max-width: 700px) { .plan-render { grid-template-columns: minmax(0, 1fr); } .plan-render .arrow { transform: rotate(90deg); justify-self: center; } }
.furniture { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto minmax(0, 1.2fr); gap: 10px; align-items: center; padding: 18px; }
.furniture .ph { aspect-ratio: 1; border-radius: 10px; background: var(--ground); border: 1px dashed var(--line-strong); display: grid; place-items: center; color: var(--muted); font-size: 0.66rem; text-align: center; padding: 6px; }
.furniture .ph svg { width: 34px; height: 34px; }
.furniture .res { border-radius: 12px; background: var(--navy); color: #fff; padding: 12px; display: grid; gap: 6px; }
.furniture .res svg { width: 100%; height: 70px; }
.furniture .res span { font-size: 0.7rem; color: var(--on-dark-muted); }
.furniture .arr { color: var(--orange-ink); }
@media (max-width: 560px) { .furniture { grid-template-columns: repeat(3, minmax(0, 1fr)); } .furniture .arr { display: none; } .furniture .res { grid-column: 1 / -1; } }

/* ---------- SAL / site management mocks ---------- */
.sal-demo { display: grid; grid-template-columns: minmax(0, 0.8fr) auto minmax(0, 1.4fr); gap: 14px; align-items: center; padding: clamp(14px, 2.4vw, 24px); background: var(--navy); border-radius: 20px; box-shadow: var(--shadow-lg); }
.chat { background: #efe9e1; border-radius: 14px; overflow: hidden; }
.chat-head { background: #0b5c4f; color: #fff; padding: 10px 12px; font-size: 0.78rem; font-weight: 600; display: flex; justify-content: space-between; }
.chat-head span:last-child { font-weight: 400; opacity: .8; }
.chat-body { padding: 10px; display: grid; gap: 8px; }
.bubble { background: #fff; border-radius: 10px 10px 10px 2px; padding: 8px 10px; font-size: 0.76rem; color: #1f2d3d; box-shadow: 0 1px 1px rgba(0,0,0,0.08); max-width: 95%; }
.bubble.audio { display: flex; align-items: center; gap: 8px; }
.bubble.audio .play { width: 24px; height: 24px; border-radius: 50%; background: #0b5c4f; color: #fff; display: grid; place-items: center; flex: none; }
.bubble.audio .play svg { width: 10px; height: 10px; fill: #fff; }
.bubble.audio .wave { display: flex; gap: 2px; align-items: center; height: 18px; flex: 1; }
.bubble.audio .wave i { width: 2px; border-radius: 2px; background: #6b8a84; display: block; }
.bubble .t { font-size: 0.64rem; color: #8a96a3; margin-left: auto; }
.bubble.photo { padding: 4px; }
.bubble.photo .img { height: 64px; border-radius: 8px; background: linear-gradient(160deg, #c9b8a4, #8d7b66 60%, #6c5b49); position: relative; overflow: hidden; }
.bubble.photo .img::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 40%; background: repeating-linear-gradient(90deg, #5a4c3d 0 3px, transparent 3px 12px); opacity: .55; }
.chat-foot { font-size: 0.66rem; color: #6d7780; padding: 0 10px 10px; }
.sal-arrow { color: var(--orange); display: grid; justify-items: center; gap: 4px; }
.sal-arrow .icon { width: 28px; height: 28px; stroke-width: 2.4; }
.sal-arrow .pill { font-family: var(--font-display); font-weight: 700; font-size: 0.7rem; background: var(--orange); color: var(--navy); padding: 2px 9px; border-radius: 999px; }
.dash { padding: 16px; display: grid; gap: 12px; }
.dash-title { font-family: var(--font-display); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); display: flex; justify-content: space-between; gap: 10px; }
.dash-title span:last-child { color: var(--muted); font-weight: 500; letter-spacing: 0; text-transform: none; }
.prog { display: grid; grid-template-columns: minmax(0, 7.5em) minmax(0, 1fr) 3em; gap: 10px; align-items: center; font-size: 0.78rem; }
.prog .p-bar { height: 8px; border-radius: 8px; background: var(--tint); overflow: hidden; }
.prog .p-bar span { display: block; height: 100%; border-radius: 8px; background: var(--navy-700); }
.prog .p-bar span.done { background: var(--ok); }
.prog .p-pct { font-family: var(--font-mono); text-align: right; color: var(--navy); }
.dash-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.74rem; color: var(--muted); }
.dash-foot .margin-box { text-align: right; background: var(--ok-tint); border-radius: 10px; padding: 8px 10px; }
.dash-foot .margin-box b { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 0.95rem; color: var(--ok); }
.dash-foot .margin-box span { font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ok); font-weight: 600; }
@media (max-width: 760px) {
  .sal-demo { grid-template-columns: minmax(0, 1fr); }
  .sal-arrow { display: flex; justify-content: center; gap: 8px; }
  .sal-arrow .icon { transform: rotate(90deg); }
}
.match { padding: 16px; display: grid; gap: 10px; }
.match-doc { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--ground); font-size: 0.8rem; }
.match-doc .md-ic { width: 32px; height: 32px; border-radius: 8px; background: var(--navy); color: var(--orange); display: grid; place-items: center; }
.match-doc .md-ic .icon { width: 16px; height: 16px; }
.match-doc .md-name { font-weight: 600; color: var(--navy); }
.match-doc .md-sub { display: block; font-size: 0.72rem; color: var(--muted); font-weight: 400; }
.match-doc .md-val { font-family: var(--font-mono); color: var(--navy); white-space: nowrap; }
.match-link { display: flex; align-items: center; gap: 8px; font-size: 0.74rem; color: var(--muted); padding-left: 12px; }
.match-link .icon { width: 14px; height: 14px; color: var(--orange-ink); }
.match-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.match-sum div { background: var(--ground); border-radius: 10px; padding: 10px; display: grid; gap: 2px; }
.match-sum span { font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; font-family: var(--font-display); }
.match-sum b { font-family: var(--font-mono); font-weight: 500; font-size: 0.9rem; color: var(--navy); }
.match-sum .pos { background: var(--ok-tint); }
.match-sum .pos b, .match-sum .pos span { color: var(--ok); }
@media (max-width: 460px) { .match-sum { grid-template-columns: minmax(0, 1fr); } }
.ask { padding: 16px; display: grid; gap: 12px; }
.ask .q, .ask .a { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: start; }
.ask .who { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; }
.ask .q .who { background: var(--tint); color: var(--navy); }
.ask .a .who { background: var(--navy); padding: 6px; }
.ask .a .who img { width: 20px; height: 20px; }
.ask .msg { padding: 10px 14px; border-radius: 12px; font-size: 0.86rem; line-height: 1.5; }
.ask .q .msg { background: var(--ground); color: var(--navy); font-weight: 500; }
.ask .a .msg { background: #fff; border: 1px solid var(--line); color: var(--text); }
.ask .a .msg ul { list-style: none; display: grid; gap: 6px; margin-top: 8px; }
.ask .a .msg li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); gap: 8px; font-size: 0.82rem; }
.ask .a .msg li b { font-family: var(--font-mono); font-weight: 500; color: var(--navy); }
.ask .a .src { margin-top: 8px; font-size: 0.72rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Safety mocks ---------- */
.safety-demo { padding: clamp(14px, 2.4vw, 24px); background: var(--navy); border-radius: 20px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 14px; }
.safety-demo .sd-label { font-family: var(--font-display); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: #9fb2cc; margin-bottom: 8px; }
.sites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.site-card { background: #fff; border-radius: 12px; padding: 12px; display: grid; gap: 6px; font-size: 0.74rem; color: var(--muted); }
.site-card .sc-name { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 0.82rem; }
.site-card .light { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.light.g { background: #1fa971; box-shadow: 0 0 0 3px #d7f2e6; } .light.a { background: #eb9300; box-shadow: 0 0 0 3px #ffecc9; } .light.r { background: #d94141; box-shadow: 0 0 0 3px #fbdada; }
.scad { background: #fff; border-radius: 12px; padding: 12px; margin-top: 10px; display: grid; gap: 8px; }
.scad-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 0.76rem; color: var(--text); padding-bottom: 8px; border-bottom: 1px solid #eef2f8; }
.scad-row:last-child { border-bottom: 0; padding-bottom: 0; }
.scad-row .due { display: block; font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); }
.firme { background: #fff; border-radius: 12px; padding: 12px; display: grid; gap: 8px; font-size: 0.76rem; }
.firme .f-title { font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 0.8rem; }
.firme .f-row { display: flex; justify-content: space-between; gap: 8px; align-items: center; color: var(--text); }
.firme .f-foot { border-top: 1px solid var(--line); padding-top: 8px; color: var(--muted); font-size: 0.72rem; }
@media (max-width: 860px) { .safety-demo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .sites { grid-template-columns: minmax(0, 1fr); } }
.doc-types { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* ---------- Case studies ---------- */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .cases { grid-template-columns: minmax(0, 1fr); } }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; }
.case-top { padding: 22px 24px 0; display: grid; gap: 12px; }
.case-profile { display: flex; flex-wrap: wrap; gap: 6px; }
.case h3 { font-size: 1.2rem; }
.case-body { padding: 16px 24px 22px; display: grid; gap: 14px; align-content: start; }
.case-body h4 { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.case-body h4::before { content: ""; flex: none; width: 18px; height: 3px; border-radius: 3px; background: var(--line-strong); }
.case-body h4.is-after::before { background: var(--orange); }
.case-body p { font-size: 0.96rem; color: var(--text); }
.case-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.case-results > div { background: var(--ground); padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.case-results b { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; color: var(--navy); letter-spacing: -0.02em; line-height: 1.15; }
.case-results b.pos { color: var(--ok); }
.case-results span { font-size: 0.8rem; color: var(--muted); line-height: 1.35; }
.case-math { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); background: var(--ground); border-radius: 10px; padding: 10px 12px; line-height: 1.55; }
.case-math span { white-space: nowrap; }
@media (max-width: 520px) { .case-results { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Confirmation page ---------- */
.confirm-hero { padding-block: clamp(18px, 2.4vw, 32px) clamp(32px, 4vw, 56px); }
.confirm-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--ok-tint); color: var(--ok); font-weight: 600; font-size: 0.92rem; }
.confirm-badge .ok { width: 28px; height: 28px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }
.confirm-badge .ok .icon { width: 16px; height: 16px; stroke-width: 3; }
.prep-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; }
@media (max-width: 900px) { .prep-grid { grid-template-columns: minmax(0, 1fr); } }
.prep-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; align-content: start; }
.prep-card.highlight { background: var(--navy); color: var(--on-dark-muted); border-color: var(--navy); }
.prep-card.highlight h3 { color: #fff; }
.prep-list { list-style: none; display: grid; gap: 14px; }
.prep-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.prep-list .icon { width: 22px; height: 22px; color: var(--orange-ink); margin-top: 2px; }
.prep-card.highlight .prep-list .icon { color: var(--orange); }
.big-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 3vw + 1.4rem, 3.6rem); color: var(--orange); line-height: 1; letter-spacing: -0.03em; }
.other-interest { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 26px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 32px); }
.other-interest .oi-ic { width: 54px; height: 54px; border-radius: 14px; background: var(--orange-tint); color: var(--orange-ink); display: grid; place-items: center; }
.other-interest .oi-ic .icon { width: 26px; height: 26px; }
.other-interest p { color: var(--muted); margin-top: 6px; }
@media (max-width: 640px) { .other-interest { grid-template-columns: minmax(0, 1fr); } }
.other-interest-section { padding-top: clamp(28px, 4vw, 48px); padding-bottom: 0; }

/* ---------- Booking page ---------- */
.booking-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .booking-wrap { grid-template-columns: minmax(0, 1fr); } }
.calendly-box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); min-height: 680px; }
.calendly-inline-widget { min-width: 320px; height: 700px; }
.calendly-placeholder { display: grid; place-items: center; text-align: center; gap: 14px; padding: 48px 24px; min-height: 680px; color: var(--muted); }
.calendly-placeholder .cp-ic { width: 64px; height: 64px; border-radius: 18px; background: var(--tint); color: var(--navy); display: grid; place-items: center; margin-inline: auto; }
.calendly-placeholder .cp-ic .icon { width: 30px; height: 30px; }
.calendly-placeholder code { font-family: var(--font-mono); font-size: 0.82rem; background: var(--ground); padding: 2px 6px; border-radius: 6px; color: var(--navy); }

/* ---------- Legal page ---------- */
.legal { max-width: 780px; display: grid; gap: 16px; }
.legal h2 { font-size: 1.35rem; margin-top: 18px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal .ph { background: var(--orange-tint); color: var(--orange-ink); padding: 0 4px; border-radius: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding-block: clamp(52px, 6vw, 80px) 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand .f-logo { height: 42px; width: auto; }
.footer-brand p { max-width: 36ch; }
.site-footer h3 { color: #fff; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contacts li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contacts .icon { color: var(--orange); width: 18px; height: 18px; margin-top: 3px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 0.84rem; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Top bar: testo corto su mobile */
.topbar .tb-short { display: none; }
@media (max-width: 640px) {
  .topbar .tb-long { display: none; }
  .topbar .tb-short { display: inline; }
  .topbar .dot { display: none; }
}
@media (max-width: 600px) { .header-minimal .wa-long { display: none; } }

/* ---------- Correzioni e dettagli ---------- */
.prep-card.highlight strong, .fomo strong, .roi strong, .also-card strong, .about-card strong { color: #fff; }
.case-label { justify-self: start; }
.safety-demo { grid-template-columns: minmax(0, 1fr); }
.furniture { grid-template-columns: repeat(3, minmax(0, 1fr)) auto minmax(0, 1.5fr); }
.furniture .ph svg { width: 70%; height: auto; }
.render-hero { position: relative; }
.render-hero figure { margin: 0; position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.render-hero figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.render-hero .tagline { position: absolute; right: 14px; top: 14px; font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; background: var(--orange); color: var(--navy); padding: 5px 10px; border-radius: 7px; }
.render-hero .plan-inset { position: absolute; left: -28px; bottom: -28px; width: 44%; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 10px 8px; box-shadow: var(--shadow); display: grid; gap: 6px; }
.render-hero .plan-inset svg { width: 100%; height: auto; display: block; }
.render-hero .plan-inset span { font-size: 0.72rem; color: var(--muted); text-align: center; font-weight: 600; }
.render-hero .plan-inset .plan-legend { margin-top: -2px; }
.shot-ic, .render-hero .plan-inset svg.shot-ic, .plan-render .plan svg.shot-ic { display: inline-block; width: 1.2em; height: 1.2em; vertical-align: -0.25em; margin-right: 5px; }
.render-hero + .caption { margin-top: 40px; }
@media (max-width: 1180px) { .render-hero .plan-inset { left: 12px; bottom: 12px; } .render-hero + .caption { margin-top: 14px; } }
@media (max-width: 480px) { .render-hero .plan-inset { width: 52%; } }
@media (max-width: 360px) { .btn { white-space: normal; text-align: center; } }

/* ---------- Conferma: chi incontrerete ---------- */
.host-section { padding-top: 0; }
.host { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px clamp(24px, 3.4vw, 40px); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.host-side { display: grid; justify-items: center; gap: 14px; }
.host-photo { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--orange), var(--shadow); }
.host-body { display: grid; gap: 10px; }
.host-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.host-name h2 { font-size: clamp(1.4rem, 1vw + 1rem, 1.75rem); }
.host-role { font-family: var(--font-display); font-weight: 500; color: var(--orange-ink); font-size: 1rem; }
.host-body p { color: var(--text); }
.btn-linkedin { background: #0a66c2; color: #fff; box-shadow: 0 10px 22px -12px rgba(10, 102, 194, 0.9); }
.btn-linkedin:hover { background: #004182; transform: translateY(-1px); }
.btn-linkedin .icon { width: 1.25em; height: 1.25em; stroke-width: 2; }
.host-side .btn-linkedin { min-width: 132px; justify-content: center; }
@media (max-width: 560px) {
  .host { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .host-side { gap: 12px; }
  .host-photo { width: 104px; height: 104px; }
  .host-side .btn-linkedin { min-width: 104px; }
}

/* ---------- Conferma: presenza ---------- */
.confirm-hero { padding-bottom: clamp(20px, 3vw, 32px); }
.attend-section { padding-top: 0; }
.attend { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--surface); border: 2px solid var(--orange); border-radius: 22px; padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow); }
.attend-copy { display: grid; gap: 18px; }
.attend-copy h2 { font-size: clamp(1.45rem, 1.2vw + 1rem, 1.95rem); }
.attend-steps li { padding-bottom: 20px; }
.attend-steps h3 { font-size: 1.05rem; margin-top: 11px; }
.attend-steps p { font-size: 0.97rem; }
.invite-mock { box-shadow: var(--shadow); }
.inbox-row { display: grid; grid-template-columns: 10px minmax(0, 0.7fr) minmax(0, 2fr); gap: 10px; align-items: center; padding: 11px 16px; border-bottom: 1px solid #eef2f8; font-size: 0.84rem; color: var(--muted); }
.inbox-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-row.is-new { background: #fffaf2; color: var(--navy); font-weight: 600; }
.dot-new { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.dot-new.off { background: transparent; }
.invite { display: flex; gap: 14px; align-items: center; padding: 16px 16px 10px; }
.invite-date { width: 54px; flex: none; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); text-align: center; background: #fff; }
.invite-date .m { display: block; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 0; }
.invite-date .d { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--navy); padding: 4px 0 6px; }
.invite-info { display: grid; gap: 2px; min-width: 0; }
.invite-info strong { font-size: 0.95rem; }
.invite-info span { font-size: 0.8rem; color: var(--muted); }
.invite-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 16px 14px; }
.ia-q { font-size: 0.82rem; color: var(--muted); margin-right: 4px; }
.ia-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.82rem; font-weight: 600; color: var(--navy); background: #fff; }
.ia-btn .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.ia-btn.yes { background: var(--ok); border-color: var(--ok); color: #fff; box-shadow: 0 0 0 4px var(--ok-tint); }
.invite-add { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 16px 16px; padding: 10px; border-radius: 10px; border: 1.5px dashed var(--orange); background: var(--orange-tint); color: var(--orange-ink); font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; }
.invite-add .icon { width: 16px; height: 16px; }
.confirm-nav { margin-top: 20px; }
@media (max-width: 900px) { .attend { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .ia-q { width: 100%; } }

/* Data e ora oscurate nell'esempio di invito */
.redact { display: inline-block; height: 0.8em; border-radius: 4px; background: linear-gradient(90deg, #c9d4e4, #dfe6f0); filter: blur(1.5px); vertical-align: middle; }
.redact.r-sm { width: 26px; height: 8px; background: rgba(255, 255, 255, 0.55); }
.redact.r-md { width: 28px; height: 18px; }
.redact.r-lg { width: 120px; }
.invite-date .m { min-height: 20px; display: flex; align-items: center; justify-content: center; }
.invite-date .d { min-height: 36px; display: flex; align-items: center; justify-content: center; }
.invite-when { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.invite-when .redact.r-lg { width: min(120px, 28vw); }
.host-section { padding-bottom: clamp(20px, 3vw, 32px); }
.invite-mock .mock-bar .chip { margin-left: auto; }

/* ---------- Contatti senza modulo ---------- */
.contact-options { align-self: center; }
.contact-options li { grid-template-columns: 44px minmax(0, 1fr) auto; }
.contact-options li.is-primary { border: 2px solid var(--orange); background: var(--orange-tint); box-shadow: var(--shadow-sm); }
.contact-options li.is-primary .c-ic { background: #1fa855; color: #fff; }
.contact-options .c-action { white-space: nowrap; }
@media (max-width: 420px) {
  .contact-options li { grid-template-columns: 44px minmax(0, 1fr); }
  .contact-options .c-action { grid-column: 1 / -1; }
}

/* ---------- Navigazione di pagina (sticky) ---------- */
html:has(.page-nav) { scroll-padding-top: calc(var(--header-h) + 76px); }
.page-nav { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 90; background: rgba(255, 255, 255, 0.96); border-block: 1px solid var(--line); margin-bottom: clamp(24px, 3vw, 36px); transition: box-shadow .2s ease; }
.page-nav.is-stuck { box-shadow: 0 10px 24px -18px rgba(12, 39, 75, .45); }
.page-nav-inner { display: flex; align-items: center; gap: 18px; min-height: 60px; }
.page-nav-label { flex: none; font-family: var(--font-display); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-right: 18px; border-right: 1px solid var(--line); }
.page-nav-list { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 0 4px; }
.page-nav-list::-webkit-scrollbar { display: none; }
.page-nav-list a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 18px 14px; font-family: var(--font-display); font-weight: 500; font-size: 0.93rem; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .15s ease; }
.page-nav-list a .icon { width: 18px; height: 18px; color: var(--line-strong); transition: color .15s ease; }
.page-nav-list a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.page-nav-list a:hover { color: var(--navy); }
.page-nav-list a:hover .icon { color: var(--orange-ink); }
.page-nav-list a[aria-current="true"] { color: var(--navy); font-weight: 600; }
.page-nav-list a[aria-current="true"] .icon { color: var(--orange-ink); }
.page-nav-list a[aria-current="true"]::after, .page-nav-list a:hover::after { transform: scaleX(1); }
.page-nav-list a:hover::after { opacity: .4; }
.page-nav-list a[aria-current="true"]:hover::after { opacity: 1; }
@media (max-width: 760px) {
  .page-nav-label { display: none; }
  .page-nav-inner { min-height: 52px; padding-inline: 0; }
  .page-nav-list { padding-inline: var(--gutter); margin: 0; mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent); }
  .page-nav-list a { padding: 15px 12px; font-size: 0.9rem; }
  html:has(.page-nav) { scroll-padding-top: calc(var(--header-h) + 64px); }
}

/* ---------- Tabella hero in home su mobile: solo Voce, Importo e Stato ---------- */
.sheet .tot-lbl { white-space: nowrap; }
@media (max-width: 560px) {
  .sheet-compact table { min-width: 0; }
  .sheet-compact th:nth-child(2), .sheet-compact th:nth-child(3), .sheet-compact th:nth-child(4),
  .sheet-compact td:nth-child(2), .sheet-compact td:nth-child(3), .sheet-compact td:nth-child(4) { display: none; }
  .sheet-compact .col-code { min-width: 0; }
  .sheet-compact th, .sheet-compact td { padding-left: 8px; padding-right: 8px; }
  .sheet-compact th:first-child, .sheet-compact td:first-child { padding-left: 14px; }
  .sheet-compact th { letter-spacing: 0.03em; }
  .sheet-compact .num { font-size: 0.76rem; }
  .sheet-compact td .chip { padding: 2px 6px; font-size: 0.66rem; white-space: nowrap; }
  .sheet-compact .tot-lbl { white-space: normal; }
}

/* ---------- Tabella voci generate (creazione) su mobile: senza colonna Origine ---------- */
@media (max-width: 560px) {
  .sheet-generated table { min-width: 0; }
  .sheet-generated th:nth-child(3), .sheet-generated td:nth-child(3) { display: none; }
  .sheet-generated .col-code { min-width: 0; }
  .sheet-generated th, .sheet-generated td { padding-left: 8px; padding-right: 8px; }
  .sheet-generated th:first-child, .sheet-generated td:first-child { padding-left: 14px; }
  .sheet-generated th { letter-spacing: 0.03em; }
  .sheet-generated .num { font-size: 0.76rem; }
  .sheet-generated td .chip { padding: 2px 6px; font-size: 0.66rem; white-space: nowrap; }
}
