/* =====================================================================
   UTOPIA — foglio di stile
   Stile: vetro "liquido" su nero, accento champagne, ritmo e tipografia Apple.
   Caratteri: quelli di sistema (SF Pro su Mac e iPhone), nessun servizio esterno.
   ===================================================================== */

:root {
  /* colori */
  --bg: #0d0b09;
  --bg-2: #15110d;
  --ink: #f5efe6;
  --muted: #b3a89b;
  --faint: #7d7368;
  --champ: #f37021;
  --champ-hi: #ff9a5c;
  --champ-ink: #1a0c04;

  /* vetro */
  --glass-fill: rgba(255, 255, 255, 0.055);
  --glass-fill-strong: rgba(255, 255, 255, 0.085);
  --glass-edge: rgba(255, 255, 255, 0.14);
  --glass-blur: 24px;

  /* caratteri */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* scala */
  --t-hero: clamp(2.75rem, 1.2rem + 6.2vw, 6rem);
  --t-h2: clamp(2.125rem, 1.2rem + 3.4vw, 4rem);
  --t-statement: clamp(1.875rem, 1rem + 3.2vw, 3.75rem);
  --t-lead: clamp(1.1875rem, 1.05rem + 0.5vw, 1.5rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;

  /* misure */
  --page: min(1180px, calc(100% - 48px));
  --section: clamp(120px, 14vw, 200px);
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;

  /* movimento */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-ios: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.47;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: var(--champ); color: var(--champ-ink); }
:focus-visible { outline: 2px solid var(--champ); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #3a3a3c var(--bg); scrollbar-width: thin; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--champ); color: var(--champ-ink); padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 16px; }

/* =====================================================================
   LUCE D'AMBIENTE: dà al vetro qualcosa da rifrangere
   ===================================================================== */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient span { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.ambient__a { width: 46vw; height: 46vw; left: -8vw; top: -12vw; background: rgba(243, 112, 33, 0.26); animation: drift-a 26s var(--ease-io) infinite alternate; }
.ambient__b { width: 38vw; height: 38vw; right: -10vw; top: 22vh; background: rgba(196, 80, 42, 0.30); animation: drift-b 32s var(--ease-io) infinite alternate; }
.ambient__c { width: 34vw; height: 34vw; left: 30vw; bottom: -14vw; background: rgba(243, 112, 33, 0.12); animation: drift-c 38s var(--ease-io) infinite alternate; }
@keyframes drift-a { to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-22vw, 30vh) scale(0.9); } }
@keyframes drift-c { to { transform: translate(14vw, -40vh) scale(1.2); } }

/* =====================================================================
   VETRO LIQUIDO
   - riempimento traslucido con sfocatura e saturazione dello sfondo
   - bordo illuminato (più luce in alto a sinistra, come una lastra)
   - riflesso che segue il dito o il mouse (--mx, --my, impostate dal JS)
   ===================================================================== */
.glass {
  position: relative;
  isolation: isolate;
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(170%);
  backdrop-filter: blur(var(--glass-blur)) saturate(170%);
  border-radius: var(--r-lg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 24px 60px -18px rgba(0, 0, 0, 0.6);
}
.glass::before {               /* bordo luminoso */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0.42), rgba(255,255,255,0.06) 38%, rgba(255,255,255,0.02) 62%, rgba(243, 112, 33,0.32));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  z-index: 2;
}
.glass::after {                /* riflesso che segue il puntatore */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 30%) var(--my, 0%), rgba(255, 255, 255, 0.10), transparent 60%);
  opacity: var(--glow, 0.6);
  transition: opacity 400ms ease;
  pointer-events: none;
  z-index: 1;
}
.glass > * { position: relative; z-index: 3; }

/* =====================================================================
   PULSANTI E LINK
   ===================================================================== */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  background: var(--champ); color: var(--champ-ink);
  border: 0; border-radius: 999px;
  font-size: var(--t-body); font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 10px 30px -10px rgba(243, 112, 33,0.55);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 300ms ease;
}
.pill:active { transform: scale(0.97); }
.pill--small { min-height: 36px; padding: 0 16px; font-size: var(--t-small); }
.pill--ghost {
  background: rgba(255,255,255,0.08); color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16);
}
.pill--wide { width: 100%; min-height: 52px; }
.link { color: var(--champ-hi); text-decoration: none; font-weight: 500; white-space: nowrap; }
.link span { display: inline-block; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .pill:hover { background: var(--champ-hi); box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 14px 40px -10px rgba(243, 112, 33,0.7); }
  .pill--ghost:hover { background: rgba(255,255,255,0.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.24); }
  .link:hover { text-decoration: underline; text-underline-offset: 4px; }
  .link:hover span { transform: translateX(3px); }
}

/* =====================================================================
   NAVIGAZIONE
   ===================================================================== */
.nav {
  position: fixed; z-index: 50;
  top: 14px; left: 50%;
  width: min(980px, calc(100% - 24px));
  height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 10px 0 20px;
  border-radius: 999px;
  transform: translateX(-50%);
  transition: transform 500ms var(--ease-ios), background-color 300ms ease;
}
.nav.is-hidden { transform: translate(-50%, -96px); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; }
.nav__mark { width: 26px; height: 26px; color: var(--champ); }
.nav__links { display: flex; gap: 28px; font-size: var(--t-small); }
.nav__links a { text-decoration: none; color: var(--muted); transition: color 200ms ease; }
.nav__links a:hover, .nav__links a:focus-visible { color: var(--ink); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  width: var(--page); margin: 0 auto;
  padding: clamp(140px, 18vh, 200px) 0 0;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.hero__copy { max-width: 960px; }
.hero__title {
  font-size: var(--t-hero); font-weight: 600;
  line-height: 1.03; letter-spacing: -0.04em;
  text-wrap: balance;
}
.hero__title .w { display: inline-block; white-space: pre; }
.hero__lead { margin: 28px auto 0; max-width: 40ch; font-size: var(--t-lead); color: var(--muted); line-height: 1.4; text-wrap: pretty; }
.hero__actions { margin-top: 36px; display: flex; gap: 28px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* La pila di vetro */
.stack {
  position: relative;
  width: min(1080px, 100%);
  height: clamp(420px, 46vw, 560px);
  margin-top: clamp(56px, 8vh, 96px);
  perspective: 1400px;
}
.stack__item {
  position: absolute;
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(var(--rot, 0deg));
  transform-style: preserve-3d;
  will-change: transform;
  text-align: left;
}
.stack__site   { left: 2%;  top: 8%;  width: 40%; --rot: -4deg; }
.stack__agenda { left: 33%; top: 0;   width: 34%; z-index: 3; padding: 22px; }
.stack__note   { right: 4%; top: 6%;  width: 28%; z-index: 4; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; --rot: 3deg; }
.stack__stat   { right: 2%; top: 46%; width: 30%; z-index: 2; padding: 20px; --rot: -2deg; }

.win__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; font-size: 12px; color: var(--muted); }
.win__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.win__bar span { margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,0.07); }

.mini-site { padding: 18px 24px 26px; }
.mini-site__name { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.mini-site__sub { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.mini-site__row { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; color: #d9d9de; font-variant-numeric: tabular-nums; }
.mini-site__btn { display: block; margin-top: 16px; padding: 11px; text-align: center; border-radius: 999px; background: var(--champ); color: var(--champ-ink); font-weight: 600; font-size: 14px; }

.agenda__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.agenda__head b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.agenda__head span { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.agenda__row { display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 10px 12px; border-radius: 12px; font-size: 14px; }
.agenda__row time { font-weight: 600; font-variant-numeric: tabular-nums; }
.agenda__row.is-new { background: rgba(243, 112, 33, 0.18); box-shadow: inset 0 0 0 1px rgba(243, 112, 33,0.4); }

.note__app { font-size: 12px; color: var(--muted); }
.stack__note b { font-size: 15px; }
.stack__note span:last-child { font-size: 13.5px; color: #d9d9de; }

.stat__label { display: block; font-size: 12.5px; color: var(--muted); }
.stat__value { display: block; font-size: 44px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; margin: 4px 0 12px; font-variant-numeric: tabular-nums; }
.stat__bars rect { fill: rgba(255,255,255,0.18); }
.stat__bars rect.is-now { fill: var(--champ); }

/* =====================================================================
   FRASE CHE SI ACCENDE
   ===================================================================== */
.statement { width: min(1080px, calc(100% - 48px)); margin: var(--section) auto 0; }
.statement__text {
  font-size: var(--t-statement); font-weight: 600;
  line-height: 1.12; letter-spacing: -0.03em;
  text-wrap: balance;
}
.statement__text p + p { margin-top: 0.08em; }
.statement__text .w { color: var(--ink); opacity: var(--o, 1); transition: opacity 120ms linear; }

/* =====================================================================
   SERVIZI: sequenza fissata
   ===================================================================== */
.services { margin-top: var(--section); height: 320vh; position: relative; }
.services__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  width: var(--page); margin: 0 auto;
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.h2 { font-size: var(--t-h2); font-weight: 600; line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.lead { font-size: var(--t-lead); color: var(--muted); line-height: 1.42; max-width: 46ch; text-wrap: pretty; }
.services__list { margin-top: 40px; display: flex; flex-direction: column; gap: 8px; }
.svc { padding: 16px 0; cursor: default; }
.svc h3 { font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.875rem); font-weight: 600; letter-spacing: -0.025em; color: var(--faint); transition: color 500ms var(--ease-out); }
.svc p { color: var(--muted); max-width: 44ch; margin-top: 8px; display: grid; opacity: 0; max-height: 0; overflow: hidden; transform: translateY(6px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), max-height 600ms var(--ease-out); }
.svc.is-active h3 { color: var(--ink); }
.svc.is-active p { opacity: 1; max-height: 8em; transform: none; }

.services__stage { display: grid; place-items: center end; }
.device { width: min(560px, 100%); aspect-ratio: 4 / 3.1; display: grid; }
.device__screen {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden; filter: blur(10px); transform: scale(0.97);
  transition: opacity 600ms var(--ease-out), filter 600ms var(--ease-out), transform 700ms var(--ease-out), visibility 0s linear 600ms;
  pointer-events: none;
  display: flex; flex-direction: column;
}
.device__screen.is-on { opacity: 1; visibility: visible; filter: blur(0); transform: none; transition: opacity 600ms var(--ease-out), filter 600ms var(--ease-out), transform 700ms var(--ease-out), visibility 0s; }

.scr-site { padding: 26px 32px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.scr-site__name { font-size: 38px; font-weight: 600; letter-spacing: -0.04em; }
.scr-site__sub { color: var(--muted); font-size: 15px; }
.scr-site__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.scr-site__grid span { padding: 18px 16px; border-radius: 14px; background: rgba(255,255,255,0.07); font-weight: 600; font-size: 15px; }
.scr-site__btn { align-self: flex-start; padding: 12px 22px; border-radius: 999px; background: var(--champ); color: var(--champ-ink); font-weight: 600; font-size: 15px; }

.scr-cal { padding: 26px; }
.scr-cal__head, .scr-erp__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.scr-cal__head b, .scr-erp__head b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.scr-cal__head span, .scr-erp__head span { font-size: 13px; color: var(--muted); }
.scr-cal__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; font-size: 12.5px; }
.scr-cal__grid .d { color: var(--muted); font-weight: 600; padding-bottom: 4px; }
.scr-cal__grid .b { padding: 12px 8px; border-radius: 10px; font-weight: 500; }
.b1 { background: rgba(243, 112, 33,0.22); }
.b2 { background: rgba(255,255,255,0.10); }
.b3 { background: rgba(160,170,190,0.18); }

.scr-app { padding: 26px 30px; display: flex; flex-direction: column; gap: 16px; }
.scr-app__title { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.scr-app__card { padding: 22px; border-radius: 20px; background: rgba(243, 112, 33,0.16); box-shadow: inset 0 0 0 1px rgba(243, 112, 33,0.35); display: flex; flex-direction: column; gap: 14px; }
.scr-app__card span { font-size: 13px; color: var(--muted); }
.scr-app__dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
.scr-app__dots i { aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,0.12); }
.scr-app__dots i.on { background: var(--champ); }
.scr-app__push { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,0.09); font-size: 14px; display: flex; flex-direction: column; }
.scr-app__push span { font-size: 12px; color: var(--muted); }

.scr-erp { padding: 26px; display: flex; flex-direction: column; }
.scr-erp__row { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 12px; align-items: center; padding: 13px 14px; border-radius: 12px; font-size: 14px; }
.scr-erp__row:nth-child(odd) { background: rgba(255,255,255,0.05); }
.scr-erp__row span:nth-child(2) { color: var(--muted); }
.scr-erp__row b { font-weight: 600; font-size: 13px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,0.08); text-align: center; }
.scr-erp__row b:not(:only-child) { }
.scr-erp__foot { margin-top: auto; padding-top: 18px; font-size: 13px; color: var(--champ-hi); }

/* =====================================================================
   DEMO
   ===================================================================== */
.demo { width: var(--page); margin: var(--section) auto 0; display: flex; flex-direction: column; align-items: center; }
.demo__head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.demo__head .lead { text-align: center; }

.seg {
  margin: 44px 0 36px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 5px; border-radius: 999px;
  width: min(460px, 100%);
}
.seg button {
  position: relative; z-index: 4;
  min-height: 42px; border: 0; background: none; cursor: pointer;
  border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color 250ms ease;
}
.seg button[aria-selected="true"] { color: var(--champ-ink); font-weight: 600; background-color: var(--champ); transition: color 0s 380ms, background-color 0s 380ms; }
.seg__thumb {
  position: absolute; z-index: 3; top: 5px; bottom: 5px; left: 5px;
  width: calc((100% - 10px) / 3);
  border-radius: 999px;
  background: var(--champ);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 6px 18px -6px rgba(243, 112, 33,0.6);
  transform: translateX(calc(var(--i, 0) * 100%));
  transition: transform 450ms var(--ease-ios);
}
.panel { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.panel[hidden] { display: none; }
.panel.is-entering > * { animation: panel-in 500ms var(--ease-out) both; }
.panel.is-entering > *:nth-child(2) { animation-delay: 70ms; }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }

.panel__title { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 18px; }
.label { display: block; font-size: var(--t-small); font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.book { padding: 30px; display: flex; flex-direction: column; }
.book fieldset { margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
  font-size: 15px; font-variant-numeric: tabular-nums;
  transition: background-color 200ms ease, color 200ms ease, transform 140ms var(--ease-out);
}
.chips label:active span { transform: scale(0.96); }
.chips input:checked + span { background: var(--champ); color: var(--champ-ink); font-weight: 600; box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid var(--champ); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .chips label:hover span { background: rgba(255,255,255,0.12); } .chips label:hover input:checked + span { background: var(--champ-hi); } }

.field {
  width: 100%; min-height: 50px; padding: 0 16px; margin-bottom: 18px;
  background: rgba(0,0,0,0.35); color: var(--ink);
  border: 0; border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
  font-size: 1rem;
  transition: box-shadow 200ms ease;
}
.field::placeholder { color: var(--faint); }
.field:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--champ); }
select.field { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a1a1a6' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
select.field option { background: #1c1c1e; color: var(--ink); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-small); color: var(--muted); margin-bottom: 20px; cursor: pointer; line-height: 1.45; }
.check input { width: 20px; height: 20px; margin: 0; flex: 0 0 20px; accent-color: var(--champ); }
.check a { color: var(--ink); text-underline-offset: 3px; }
.book .pill { align-self: flex-start; }
.hint { margin-top: 14px; font-size: var(--t-small); color: var(--muted); }
.hint.is-warn { color: var(--champ-hi); }

.phone { padding: 26px 22px; min-height: 100%; border-radius: 36px; }
.phone__toast {
  display: flex; flex-direction: column; gap: 1px;
  padding: 14px 16px; margin-bottom: 18px; border-radius: 20px;
  background: rgba(30, 28, 25, 0.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), inset 0 0 0 1px rgba(243, 112, 33,0.35), 0 18px 40px -12px rgba(0,0,0,0.7);
  animation: toast-in 650ms var(--ease-ios) both;
}
.phone__toast b { font-size: 15px; }
.phone__toast span:last-child { font-size: 14px; color: #d9d9de; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-18px) scale(0.96); filter: blur(4px); } }
.phone__list li { display: grid; grid-template-columns: 52px 1fr auto; gap: 8px; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; transition: background-color 300ms ease; }
.phone__list time { font-weight: 600; font-variant-numeric: tabular-nums; }
.phone__list .is-free span { color: var(--muted); }
.phone__list .is-pending { background: rgba(255,255,255,0.07); }
.phone__list .is-pending em, .phone__list .is-new em { font-style: normal; font-size: 12px; color: var(--muted); }
.phone__list .is-new { background: rgba(243, 112, 33, 0.18); box-shadow: inset 0 0 0 1px rgba(243, 112, 33,0.4); }
.phone__list .is-new em { color: var(--champ-hi); font-weight: 600; }

/* sito del ristorante */
.browser { grid-column: 1 / -1; overflow: hidden; }
.rest { padding: 8px 40px 36px; }
.rest__hero { padding: 26px 0 22px; }
.rest__name { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.rest__sub { color: var(--muted); margin-top: 6px; }
.rest__tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.rest__tabs button {
  border: 0; cursor: pointer; padding: 9px 18px; border-radius: 999px; font-size: 15px;
  background: rgba(255,255,255,0.07); color: var(--muted);
  transition: background-color 200ms ease, color 200ms ease, transform 140ms var(--ease-out);
}
.rest__tabs button:active { transform: scale(0.96); }
.rest__tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); font-weight: 600; }
.rest__menu { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 40px; min-height: 168px; }
.rest__menu li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; animation: panel-in 450ms var(--ease-out) both; }
.rest__menu li:nth-child(2) { animation-delay: 40ms; } .rest__menu li:nth-child(3) { animation-delay: 80ms; } .rest__menu li:nth-child(4) { animation-delay: 120ms; }
.rest__menu small { display: block; color: var(--muted); font-size: 13.5px; }
.rest__menu b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rest__foot { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: var(--t-small); }
.rest__btn { padding: 11px 22px; border-radius: 999px; background: var(--champ); color: var(--champ-ink); font-weight: 600; font-size: 15px; }

/* gestionale clienti */
.crm { grid-column: 1 / -1; padding: 30px; }
.crm__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.crm__top .panel__title { margin-bottom: 4px; }
.crm__sum { font-size: var(--t-small); color: var(--muted); font-variant-numeric: tabular-nums; }
.crm__search { display: flex; align-items: center; gap: 10px; padding: 0 16px; min-height: 44px; border-radius: 999px; background: rgba(0,0,0,0.35); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); color: var(--muted); width: min(320px, 100%); }
.crm__search:focus-within { box-shadow: inset 0 0 0 2px var(--champ); }
.crm__search input { border: 0; background: none; outline: 0; width: 100%; font-size: 15px; color: var(--ink); }
.crm__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.crm__table th { text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); padding: 10px 12px; }
.crm__table td { padding: 13px 12px; border-top: 1px solid rgba(255,255,255,0.08); }
.crm__table .num { text-align: right; font-variant-numeric: tabular-nums; }
.crm__table tbody tr { transition: background-color 200ms ease; }
.crm__table tbody tr:hover { background: rgba(255,255,255,0.04); }
.crm__table .empty td { color: var(--muted); text-align: center; padding: 28px; }

/* =====================================================================
   PER CHI
   ===================================================================== */
.sectors { margin: var(--section) auto 0; width: var(--page); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.sectors .lead { text-align: center; }
.marquee {
  width: 100vw; margin-top: 36px; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; padding: 6px 0; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  padding: 14px 24px; border-radius: 999px; font-size: 1.0625rem; font-weight: 500; white-space: nowrap;
  background: var(--glass-fill); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), inset 0 1px 0 rgba(255,255,255,0.18);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* =====================================================================
   PREZZI
   ===================================================================== */
.pricing { width: var(--page); margin: var(--section) auto 0; }
.pricing__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 48px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { padding: 32px 28px; display: flex; flex-direction: column; transition: transform 500ms var(--ease-out); }
.plan h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.plan__price { margin-top: 14px; color: var(--muted); }
.plan__price span { font-size: 3.25rem; font-weight: 600; letter-spacing: -0.045em; color: var(--ink); font-variant-numeric: tabular-nums; margin-right: 4px; }
.plan__for { margin-top: 8px; color: var(--muted); font-size: 15px; min-height: 2.9em; }
.plan ul { margin: 22px 0 28px; display: flex; flex-direction: column; gap: 11px; flex: 1; font-size: 15.5px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li::before { content: ""; width: 14px; height: 8px; margin-top: 6px; border-left: 2px solid var(--champ); border-bottom: 2px solid var(--champ); transform: rotate(-45deg); }
.plan .pill { width: 100%; }
.plan--main { background: rgba(243, 112, 33,0.09); }
.plan--main::before { background: linear-gradient(140deg, rgba(255, 154, 92,0.9), rgba(243, 112, 33,0.25) 40%, rgba(243, 112, 33,0.08) 60%, rgba(255, 154, 92,0.6)); }
@media (hover: hover) and (pointer: fine) { .plan:hover { transform: translateY(-6px); } }
.pricing__custom { margin-top: 32px; text-align: center; color: var(--muted); }

/* =====================================================================
   PASSAPAROLA
   ===================================================================== */
.refer { width: var(--page); margin: var(--section) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.refer__copy { display: flex; flex-direction: column; gap: 20px; }
.calc { padding: 36px; }
.calc__label { display: block; font-size: 15px; color: var(--muted); margin: 28px 0 10px; }
.calc__label b { color: var(--ink); font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; --p: 0%; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--champ) var(--p), rgba(255,255,255,0.14) var(--p)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.14); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--champ); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.45), inset 0 -2px 0 rgba(0,0,0,0.08); transition: transform 150ms var(--ease-out); }
input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.45); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.calc__plans { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.calc__plans label { cursor: pointer; }
.calc__plans input { position: absolute; opacity: 0; pointer-events: none; }
.calc__plans span { display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 14px; background: rgba(255,255,255,0.07); transition: background-color 200ms ease, color 200ms ease; }
.calc__plans input:checked + span { background: var(--ink); color: var(--bg); font-weight: 600; }
.calc__plans input:focus-visible + span { outline: 2px solid var(--champ); outline-offset: 3px; }
.calc__price { margin-top: 0; font-size: clamp(4rem, 2.6rem + 4vw, 6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__price small { font-size: 1.0625rem; font-weight: 400; letter-spacing: -0.01em; color: var(--muted); }
.calc__save { margin-top: 10px; color: var(--champ-hi); font-weight: 500; }

/* =====================================================================
   COME SI COMINCIA
   ===================================================================== */
.how { width: var(--page); margin: var(--section) auto 0; }
.how__steps { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.how__steps h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em; padding-top: 22px; position: relative; }
.how__steps h3::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px; border-radius: 3px; background: var(--champ); }
.how__steps p { margin-top: 10px; color: var(--muted); }

/* =====================================================================
   DOMANDE
   ===================================================================== */
.faq { width: min(860px, calc(100% - 48px)); margin: var(--section) auto 0; }
.faq__list { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: var(--r-md); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 10px; width: 10px; height: 10px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 300ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 64ch; }
.faq details[open] p { animation: panel-in 400ms var(--ease-out) both; }

/* =====================================================================
   INIZIA
   ===================================================================== */
.start { width: var(--page); margin: var(--section) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.start__copy { display: flex; flex-direction: column; gap: 20px; }
.start__title { font-size: clamp(3.25rem, 1.6rem + 6vw, 7rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.start__form { padding: 34px; display: flex; flex-direction: column; }

/* =====================================================================
   FONDO
   ===================================================================== */
.foot {
  width: var(--page); margin: var(--section) auto 0; padding: 40px 0 48px;
  display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center;
  font-size: var(--t-small); color: var(--muted);
}
.foot__brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.foot__what { grid-column: 1; }
.foot__links { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.foot__links a { text-decoration: none; color: var(--ink); }
.foot__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__contacts { grid-column: 1 / -1; display: flex; gap: 32px; flex-wrap: wrap; }
.foot__contacts div { display: flex; gap: 8px; }
.foot__contacts dd a { color: var(--ink); }
.foot__legal { grid-column: 1 / -1; color: var(--faint); font-size: 13px; }

/* =====================================================================
   ENTRATE (solo con il JS attivo e senza "riduci movimento")
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js .rise { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out), filter 900ms var(--ease-out); }
  .js .rise.is-in { opacity: 1; transform: none; filter: blur(0); }
  .js .hero__title .w { opacity: 0; transform: translateY(0.35em); filter: blur(10px); transition: opacity 1000ms var(--ease-out), transform 1000ms var(--ease-out), filter 1000ms var(--ease-out); }
  .js .hero__title.is-in .w { opacity: 1; transform: none; filter: blur(0); }
  .js .stack__item { opacity: 0; transition: opacity 1200ms var(--ease-out); }
  .js .stack.is-in .stack__item { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambient span, .marquee__track { animation: none; }
  .statement__text .w { opacity: 1 !important; }
  .device__screen { transition: none; filter: none; }
  .device__screen:not(.is-on) { display: none; }
  .seg__thumb { transition: none; }
  .seg button[aria-selected="true"] { transition: none; }
  .panel.is-entering > *, .rest__menu li, .phone__toast, .faq details[open] p { animation: none; }
  .nav { transition: none; }
}

/* =====================================================================
   TABLET
   ===================================================================== */
@media (max-width: 1024px) {
  .nav__links { gap: 20px; }
  .pricing__head { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan--main { grid-column: 1 / -1; order: -1; }
  .plan__for { min-height: 0; }
}

/* =====================================================================
   TELEFONO
   ===================================================================== */
@media (max-width: 820px) {
  :root { --page: calc(100% - 40px); --section: 112px; }
  .nav { height: 52px; padding-left: 16px; }
  .nav__links { display: none; }

  .hero { padding-top: 124px; }
  .hero__actions { gap: 20px; }
  .stack { height: 560px; margin-top: 48px; perspective: none; }
  .stack__site   { left: 0;    top: 70px; width: 82%; }
  .stack__agenda { left: auto; right: 0; top: 250px; width: 72%; padding: 16px; }
  .stack__note   { right: 4%;  top: 0;    width: 70%; }
  .stack__stat   { display: none; }

  .services { height: auto; }
  .services__pin { position: static; height: auto; grid-template-columns: 1fr; gap: 32px; }
  .services__stage { display: none; }
  .svc { padding: 22px 0; }
  .svc h3 { color: var(--ink); }
  .svc p { opacity: 1; max-height: none; transform: none; }

  .panel { grid-template-columns: 1fr; }
  .book, .crm { padding: 22px; }
  .rest { padding: 4px 22px 26px; }
  .rest__menu { grid-template-columns: 1fr; }
  .crm__table th:nth-child(3), .crm__table td:nth-child(3) { display: none; }

  .plans { grid-template-columns: 1fr; }
  .refer, .start { grid-template-columns: 1fr; }
  .calc, .start__form { padding: 24px; }
  .how__steps { grid-template-columns: 1fr; gap: 32px; }
  .faq summary { padding: 18px 20px; font-size: 1.0625rem; }
  .faq details p { padding: 0 20px 20px; }

  .foot { grid-template-columns: 1fr; }
  .foot__links { grid-column: 1; grid-row: auto; justify-content: flex-start; }
}


/* =====================================================================
   DEMO: tre micrositi
   ===================================================================== */
.demos { width: var(--page); margin: var(--section) auto 0; }
.demos__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; margin-bottom: 56px; }
.demos__head .lead { text-align: center; }
.demos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile { display: flex; flex-direction: column; text-decoration: none; overflow: hidden; transition: transform 600ms var(--ease-out); }
.tile__preview { padding: 18px 18px 0; }
.pv { border-radius: 18px 18px 0 0; padding: 26px 22px 30px; min-height: 236px; display: flex; flex-direction: column; gap: 6px; transition: transform 700ms var(--ease-out); transform-origin: bottom center; }
.pv__name { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.pv__sub { font-size: 13px; opacity: 0.75; margin-bottom: 14px; }
.pv__slots, .pv__list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pv__slots span, .pv__list span { font-size: 13px; padding: 6px 11px; border-radius: 999px; }
.pv__cart { display: flex; justify-content: space-between; font-size: 14px; padding: 10px 12px; border-radius: 10px; margin-bottom: 16px; }
.pv__btn { margin-top: auto; align-self: flex-start; font-size: 13.5px; font-weight: 600; padding: 9px 16px; border-radius: 999px; }
.pv--barber { background: #14231d; color: #efe7d6; font-family: Georgia, "Times New Roman", serif; }
.pv--barber .pv__slots span { background: rgba(239,231,214,0.10); font-family: var(--font); }
.pv--barber .pv__slots .on { background: #c9a24b; color: #14231d; font-weight: 600; }
.pv--barber .pv__btn { background: #c9a24b; color: #14231d; font-family: var(--font); }
.pv--beauty { background: #f4ece6; color: #3b2c2a; }
.pv--beauty .pv__name { font-weight: 300; letter-spacing: 0.02em; font-size: 2rem; }
.pv--beauty .pv__list span { background: #fff; color: #3b2c2a; }
.pv--beauty .pv__btn { background: #3b2c2a; color: #f4ece6; }
.pv--bakery { background: #f1e3c8; color: #3a2614; font-family: Georgia, "Times New Roman", serif; }
.pv--bakery .pv__cart { background: rgba(255,255,255,0.6); font-family: var(--font); }
.pv--bakery .pv__btn { background: #8a4b1f; color: #fff6e8; font-family: var(--font); }
.tile__text { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 8px; }
.tile__text h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.tile__text p { color: var(--muted); font-size: 15.5px; }
.tile__text .link { margin-top: 6px; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover { transform: translateY(-6px); }
  .tile:hover .pv { transform: scale(1.03); }
  .tile:hover .link span { transform: translateX(3px); }
}
.tile:active { transform: scale(0.985); }

/* =====================================================================
   LAVORI
   ===================================================================== */
.works { width: var(--page); margin: var(--section) auto 0; display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.works__copy { display: flex; flex-direction: column; gap: 18px; }
.case { display: grid; grid-template-columns: 7fr 5fr; text-decoration: none; overflow: hidden; transition: transform 600ms var(--ease-out); }
.case__shot { background: #f5f2ee; color: #2b2622; margin: 14px 0 14px 14px; border-radius: 16px; overflow: hidden; }
.case__shot .win__bar { color: #6b625a; }
.case__shot .win__bar i { background: #d8d1c8; }
.case__shot .win__bar span { background: #ebe5dd; }
.case__page { padding: 22px 26px 30px; }
.case__brand { font-family: Georgia, "Times New Roman", serif; font-size: 2rem; letter-spacing: -0.01em; line-height: 1.05; }
.case__tag { font-size: 13.5px; color: #6b625a; margin-top: 6px; }
.case__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.case__chips span { font-size: 13px; padding: 7px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #e3dcd2; }
.case__text { padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.case__text h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.case__text p { color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .case:hover { transform: translateY(-5px); } .case:hover .link span { transform: translateX(3px); } }

/* =====================================================================
   CHI SONO
   ===================================================================== */
.about { width: var(--page); margin: var(--section) auto 0; display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.about__text { display: flex; flex-direction: column; gap: 20px; max-width: 62ch; }
.about__text p { color: var(--muted); font-size: 1.125rem; }
.about__text .about__lead { color: var(--ink); font-size: var(--t-lead); line-height: 1.4; font-weight: 500; letter-spacing: -0.015em; }

/* =====================================================================
   PERCHÉ SCEGLIERCI
   ===================================================================== */
.why { width: var(--page); margin: var(--section) auto 0; }
.why__grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why__item { padding: 28px 24px; border-radius: var(--r-md); }
.why__item h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; }
.why__item p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.how__steps--four { grid-template-columns: repeat(4, 1fr); }

/* =====================================================================
   PASSAPAROLA (senza cifre)
   ===================================================================== */
.refer2 { width: var(--page); margin: var(--section) auto 0; }
.refer2__box { padding: clamp(36px, 6vw, 72px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; background: rgba(243, 112, 33,0.08); }
.refer2__box::before { background: linear-gradient(140deg, rgba(255, 154, 92,0.85), rgba(243, 112, 33,0.2) 40%, rgba(243, 112, 33,0.06) 60%, rgba(255, 154, 92,0.55)); }
.refer2__title { font-size: var(--t-h2); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; max-width: 18ch; }
.refer2__box .lead { text-align: center; }

/* =====================================================================
   CONTATTI
   ===================================================================== */
.start__title { font-size: clamp(3rem, 1.6rem + 5vw, 6rem); }
.start__direct { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.start__direct div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.start__direct dt { color: var(--muted); }
.start__direct a { color: var(--ink); text-decoration: none; font-weight: 500; }
.start__direct a:hover { color: var(--champ-hi); }
.needs { margin-bottom: 18px; }
.needs .chips span { font-size: 14.5px; padding: 9px 14px; }

@media (max-width: 1024px) {
  .demos__grid { grid-template-columns: 1fr 1fr; }
  .why__grid, .how__steps--four { grid-template-columns: 1fr 1fr; }
  .works, .about { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .demos__grid, .why__grid, .how__steps--four { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; }
  .case__shot { margin: 12px 12px 0; }
  .start__direct div { grid-template-columns: 1fr; gap: 2px; }
}

/* ritocchi dopo il controllo */
.why__item { padding: 22px 0 0; border-radius: 0; position: relative; }
.why__item::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px; border-radius: 3px; background: var(--champ); }
.why__item h3 { font-size: 1.375rem; }
@media (max-width: 420px) {
  .hero__title { font-size: 2rem; }
  .refer2__title { font-size: 1.75rem; }
}


/* =====================================================================
   SOLARIA STUDIO: marchio
   ===================================================================== */
.brand-sub { font-weight: 400; color: var(--muted); }



/* =====================================================================
   SERVIZI: il mini sito che scorre da solo
   ===================================================================== */
.ms { flex: 1; overflow: hidden; margin: 0 12px 12px; border-radius: 14px; background: #f6f1ea; color: #2a211b; position: relative; }
.ms__scroll { animation: ms-scroll 18s var(--ease-io) infinite; }
.device__screen:not(.is-on) .ms__scroll { animation-play-state: paused; }
@keyframes ms-scroll {
  0%, 10% { transform: translateY(0); }
  40%, 52% { transform: translateY(-38%); }
  78%, 86% { transform: translateY(-62%); }
  100% { transform: translateY(0); }
}
.ms__nav { display: flex; align-items: center; gap: 14px; padding: 12px 18px; font-size: 11.5px; color: #6b5d50; }
.ms__nav b { font-family: Georgia, "Times New Roman", serif; font-size: 16px; color: #2a211b; margin-right: auto; font-weight: 400; }
.ms__nav em { font-style: normal; background: #8c2f1b; color: #fff; padding: 5px 11px; border-radius: 999px; font-weight: 600; }
.ms__hero { position: relative; height: 190px; margin: 0 12px; border-radius: 12px; overflow: hidden; background: radial-gradient(120% 90% at 80% 30%, #c4572f 0%, #7a2a16 45%, #2d140c 100%); }
.ms__plate { position: absolute; right: -30px; top: 18px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #f3e2c7 0 34%, #e9d3b0 35% 46%, #fbf6ee 47% 66%, #e7dccb 67% 70%, transparent 71%); box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.ms__plate::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #e8b44c 0 18%, #d18a2a 19% 30%, transparent 31%), radial-gradient(circle at 62% 58%, #c9462b 0 14%, transparent 15%), radial-gradient(circle at 35% 65%, #5b7b3a 0 9%, transparent 10%); }
.ms__herotext { position: absolute; left: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 4px; color: #fff; }
.ms__herotext span { font-size: 11px; opacity: 0.85; }
.ms__herotext b { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 38px; line-height: 1; }
.ms__herotext em { font-style: normal; align-self: flex-start; margin-top: 8px; background: #fff; color: #2a211b; font-size: 11.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; }
.ms__cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
.ms__cat { border-radius: 10px; padding: 12px 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.ms__cat i { width: 46px; height: 46px; border-radius: 50%; }
.ms__cat--a { background: #efe4d3; } .ms__cat--a i { background: radial-gradient(circle at 40% 40%, #7a9a4a 0 30%, #d9b46a 31% 60%, #fff 61%); }
.ms__cat--b { background: #f3dccf; } .ms__cat--b i { background: radial-gradient(circle at 50% 50%, #e8c167 0 45%, #c4572f 46% 55%, #fff 56%); }
.ms__cat--c { background: #eadfd6; } .ms__cat--c i { background: radial-gradient(circle at 50% 45%, #5a3420 0 35%, #e9d4b5 36% 60%, #fff 61%); }
.ms__menu { margin: 0 12px; padding: 14px 16px; background: #fff; border-radius: 12px; font-size: 12.5px; }
.ms__menu b { display: block; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 17px; margin-bottom: 6px; }
.ms__menu div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dotted #e3d8ca; }
.ms__menu div:last-child { border-bottom: 0; }
.ms__gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 70px 70px; gap: 6px; padding: 12px; }
.ms__gallery i { border-radius: 8px; }
.ms__gallery i:nth-child(1) { grid-row: span 2; background: linear-gradient(160deg, #3b2a20, #8c4a2b 60%, #d39a5c); }
.ms__gallery i:nth-child(2) { background: linear-gradient(140deg, #c9b18e, #7d6a4f); }
.ms__gallery i:nth-child(3) { background: linear-gradient(140deg, #8c2f1b, #d26a3c); }
.ms__gallery i:nth-child(4) { grid-column: span 2; background: linear-gradient(120deg, #2d3a2a, #6f8656); }
.ms__info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px 12px; font-size: 12px; }
.ms__info > div:first-child { display: flex; flex-direction: column; gap: 2px; background: #fff; border-radius: 10px; padding: 12px; }
.ms__map { border-radius: 10px; min-height: 76px; position: relative; background-color: #e8e1d6; background-image: linear-gradient(#d9cfc1 2px, transparent 2px), linear-gradient(90deg, #d9cfc1 2px, transparent 2px); background-size: 22px 22px; }
.ms__map i { position: absolute; left: 50%; top: 42%; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; background: #8c2f1b; transform: translate(-50%, -50%) rotate(-45deg); }
.ms__foot { padding: 14px 18px 22px; font-size: 11px; color: #6b5d50; text-align: center; }

/* la pagina di prenotazione */
.bk { flex: 1; margin: 0 12px 12px; border-radius: 14px; background: #101c17; color: #efe7d6; padding: 22px 22px 20px; display: flex; flex-direction: column; }
.bk__head { display: flex; flex-direction: column; margin-bottom: 14px; }
.bk__head b { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 30px; line-height: 1.05; }
.bk__head span { font-size: 13px; color: #b4ab98; }
.bk__lbl { font-size: 12px; font-weight: 600; color: #b4ab98; margin: 10px 0 8px; }
.bk__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bk__chips span { font-size: 13px; padding: 8px 12px; border-radius: 8px; background: #172820; box-shadow: inset 0 0 0 1px #2a3d33; font-variant-numeric: tabular-nums; }
.bk__chips .on { background: #c9a24b; color: #101c17; font-weight: 600; box-shadow: none; }
.bk__chips .off { opacity: 0.35; text-decoration: line-through; }
.bk__btn { margin-top: auto; text-align: center; padding: 12px; border-radius: 10px; background: #c9a24b; color: #101c17; font-weight: 600; font-size: 14px; }

/* notifiche dentro l'app */
.scr-toast { display: flex; flex-direction: column; gap: 1px; padding: 11px 14px; margin-bottom: 16px; border-radius: 14px; font-size: 13px; color: #d9d9de; background: rgba(30, 28, 25, 0.85); box-shadow: inset 0 0 0 1px rgba(243, 112, 33,0.35); }
.scr-toast span { font-size: 11.5px; color: var(--muted); }
.scr-toast b { color: var(--ink); font-size: 14px; }
.device__screen.is-on .scr-toast { animation: toast-in 700ms var(--ease-ios) 450ms both; }
.b-new { box-shadow: inset 0 0 0 1.5px var(--champ); }

/* scorte */
.stock { display: grid; grid-template-columns: 1.3fr 1.5fr auto; gap: 14px; align-items: center; padding: 12px 6px; font-size: 14px; }
.stock i { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.10); position: relative; overflow: hidden; }
.stock i::after { content: ""; position: absolute; inset: 0; width: var(--q); border-radius: inherit; background: rgba(255,255,255,0.55); }
.stock i.low::after { background: var(--champ); }
.stock b { font-variant-numeric: tabular-nums; min-width: 32px; text-align: right; }
.stock b.low { color: var(--champ-hi); }

@media (prefers-reduced-motion: reduce) {
  .ms__scroll { animation: none; }
  .device__screen.is-on .scr-toast { animation: none; }
  .nav__mark { transition: none; }
}

/* altezza fissa del riquadro dei servizi: il mini sito scorre dentro */
.device { aspect-ratio: auto; height: min(540px, 70vh); grid-template-rows: 100%; }
.device__screen { min-height: 0; overflow: hidden; }

/* =====================================================================
   SERVIZI: il cruscotto dell'app di gestione
   ===================================================================== */
.gx { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 18px 18px 0; position: relative; }
.gx__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.gx__top div { display: flex; flex-direction: column; }
.gx__top b { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.gx__top span { font-size: 12.5px; color: var(--muted); }
.gx__avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 14px; background: var(--champ); color: var(--champ-ink); }
.gx__kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.gx__kpi > div { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07); display: flex; flex-direction: column; gap: 2px; }
.gx__kpi span { font-size: 11px; color: var(--muted); }
.gx__kpi b { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.gx__count { display: grid; }
.gx__count em { font-style: normal; grid-area: 1 / 1; transition: opacity 400ms ease, transform 500ms var(--ease-out); }
.gx__count .k-new { opacity: 0; transform: translateY(8px); color: var(--champ-hi); }
.device__screen.is-on .gx__count .k-old { animation: k-out 500ms var(--ease-out) 1900ms both; }
.device__screen.is-on .gx__count .k-new { animation: k-in 600ms var(--ease-out) 1950ms both; }
@keyframes k-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes k-in { to { opacity: 1; transform: none; } }

.gx__day { flex: 1; min-height: 0; border-radius: 14px; background: rgba(0,0,0,0.25); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); padding: 8px 10px 0; overflow: hidden; }
.gx__heads { display: grid; grid-template-columns: 44px 1fr 1fr; gap: 8px; font-size: 11.5px; font-weight: 600; color: var(--muted); padding-bottom: 6px; }
.gx__grid { --k: 1.3px; position: relative; display: grid; grid-template-columns: 44px 1fr 1fr; gap: 8px; height: calc(210 * var(--k)); }
.gx__ruler { position: relative; }
.gx__ruler span { position: absolute; top: calc(var(--t) * var(--k) - 6px); font-size: 10.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.gx__col { position: relative; background-image: repeating-linear-gradient(to bottom, rgba(255,255,255,0.05) 0 1px, transparent 1px calc(60 * var(--k))); }
.appt {
  position: absolute; left: 0; right: 0;
  top: calc(var(--t) * var(--k)); height: calc(var(--h) * var(--k) - 3px);
  border-radius: 8px; padding: 5px 9px; overflow: hidden;
  background: rgba(255,255,255,0.10); box-shadow: inset 3px 0 0 rgba(255,255,255,0.35);
  font-size: 11px; line-height: 1.25; display: flex; flex-direction: column;
}
.appt b { font-size: 11.5px; font-weight: 600; }
.appt span { color: var(--muted); font-size: 10.5px; }
.gx__grid > .gx__col:nth-child(2) .appt { background: rgba(243, 112, 33,0.16); box-shadow: inset 3px 0 0 var(--champ); }
.appt--new { background: rgba(243, 112, 33,0.28) !important; box-shadow: inset 3px 0 0 var(--champ-hi), 0 0 0 1.5px var(--champ) !important; }
.device__screen.is-on .appt { animation: appt-in 600ms var(--ease-out) var(--d) both; }
.device__screen.is-on .appt--new { animation: appt-new 900ms var(--ease-ios) 1700ms both, appt-glow 2.4s ease-in-out 2600ms infinite; }
@keyframes appt-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes appt-new { from { opacity: 0; transform: scale(0.9); filter: blur(6px); } }
@keyframes appt-glow { 50% { box-shadow: inset 3px 0 0 var(--champ-hi), 0 0 0 1.5px var(--champ), 0 0 22px rgba(243, 112, 33,0.45); } }
.gx__now { position: absolute; left: 44px; right: 0; top: calc(var(--t) * var(--k)); height: 0; border-top: 1.5px solid #e46b4f; }
.gx__now i { position: absolute; left: -5px; top: -5px; width: 8px; height: 8px; border-radius: 50%; background: #e46b4f; }
.device__screen.is-on .gx__now i { animation: now-pulse 2s ease-in-out infinite; }
@keyframes now-pulse { 50% { box-shadow: 0 0 0 5px rgba(228,107,79,0.25); } }

.gx__toast {
  position: absolute; left: 14px; right: 14px; top: 12px; z-index: 5;
  display: flex; flex-direction: column; gap: 1px;
  padding: 11px 14px; border-radius: 16px; font-size: 12.5px; color: #e5e5ea;
  background: rgba(28, 26, 23, 0.94);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 1px rgba(243, 112, 33,0.4), 0 18px 40px -10px rgba(0,0,0,0.7);
  opacity: 0; transform: translateY(-120%);
}
.gx__toast span { font-size: 11px; color: var(--muted); }
.gx__toast b { color: var(--ink); font-size: 13.5px; }
.device__screen.is-on .gx__toast { animation: gx-toast 4.2s var(--ease-ios) 1200ms both; }
@keyframes gx-toast {
  0% { opacity: 0; transform: translateY(-120%); }
  12%, 78% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-120%); }
}
.gx__tabs { display: grid; grid-template-columns: repeat(4, 1fr); margin: 10px -18px 0; padding: 8px 6px 10px; background: rgba(0,0,0,0.28); }
.gx__tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; color: var(--faint); }
.gx__tabs svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gx__tabs .on { color: var(--champ); }

@media (prefers-reduced-motion: reduce) {
  .device__screen.is-on .appt, .device__screen.is-on .appt--new, .device__screen.is-on .gx__now i { animation: none; }
  .device__screen.is-on .gx__toast { animation: none; opacity: 1; transform: none; position: static; margin-bottom: 10px; }
  .device__screen.is-on .gx__count .k-old { animation: none; opacity: 0; }
  .device__screen.is-on .gx__count .k-new { animation: none; opacity: 1; transform: none; }
}

/* =====================================================================
   APERTURA: i quattro pannelli di vetro, versione ricca
   ===================================================================== */
.stack__site   { left: 0;   top: 10%; width: 36%; --rot: -5deg; padding: 0; overflow: hidden; }
.stack__agenda { left: 32%; top: 0;   width: 33%; padding: 20px; }
.stack__note   { right: 1%; top: 2%;  width: 33%; padding: 0; display: block; --rot: 3deg; }
.stack__stat   { right: 3%; top: 44%; width: 31%; padding: 18px 20px 14px; --rot: -2deg; }

.hx-site { padding: 0 14px 16px; }
.hx-site__hero { position: relative; height: 128px; border-radius: 14px; overflow: hidden; background: radial-gradient(120% 120% at 85% 20%, #f39a4a 0%, #b5502a 45%, #3a1a0e 100%); display: flex; align-items: flex-end; padding: 14px; }
.hx-site__loaf { position: absolute; right: 10px; top: 12px; width: 120px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.35)); }
.hx-site__hero div { position: relative; display: flex; flex-direction: column; }
.hx-site__hero b { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 24px; color: #fff; line-height: 1.05; }
.hx-site__hero span { font-size: 11.5px; color: rgba(255,255,255,.82); }
.hx-site__prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; max-width: 420px; }
.hx-site__prods div { border-radius: 12px; background: rgba(255,255,255,0.06); padding: 10px 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.hx-site__prods i { width: 34px; height: 34px; border-radius: 50%; }
.hx-site__prods .p1 { background: radial-gradient(circle at 40% 35%, #f0c27a 0 30%, #c9823d 31% 70%, transparent 71%); }
.hx-site__prods .p2 { background: radial-gradient(circle at 50% 50%, #f6e2b8 0 52%, #d9a35c 53% 68%, transparent 69%); }
.hx-site__prods .p3 { background: radial-gradient(ellipse 60% 40% at 50% 50%, #e7a14d 0 60%, #b86a28 61% 99%, transparent 100%); }
.hx-site__prods span { font-size: 11.5px; color: var(--muted); }
.hx-site__prods b { font-size: 13px; font-variant-numeric: tabular-nums; }
.hx-site__btn { display: block; text-align: center; padding: 10px; border-radius: 999px; background: var(--champ); color: var(--champ-ink); font-weight: 600; font-size: 13px; }

.hx-ag__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.hx-ag__head div { display: flex; flex-direction: column; }
.hx-ag__head b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.hx-ag__head span { font-size: 12px; color: var(--muted); }
.hx-ring { width: 46px; height: 46px; }
.hx-ring circle { fill: none; stroke-width: 4; }
.hx-ring .bg { stroke: rgba(255,255,255,0.12); }
.hx-ring .fg { stroke: var(--champ); stroke-linecap: round; stroke-dasharray: 113; stroke-dashoffset: 113; transform: rotate(-90deg); transform-origin: center; transition: stroke-dashoffset 1.6s var(--ease-out) 1s; }
.stack.is-in .hx-ring .fg { stroke-dashoffset: 38; }
.hx-ring text { fill: var(--ink); font-size: 11px; font-weight: 600; }
.hx-ag__row { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; }
.hx-ag__row i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11.5px; font-weight: 600; color: #fff; background: var(--c); }
.hx-ag__row div { display: flex; flex-direction: column; min-width: 0; }
.hx-ag__row b { font-size: 13.5px; font-weight: 600; }
.hx-ag__row span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-ag__row em { font-style: normal; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,0.08); color: var(--muted); white-space: nowrap; }
.hx-ag__row.is-done { opacity: 0.55; }
.hx-ag__row.is-live em { background: rgba(243,112,33,0.18); color: var(--champ-hi); }
.hx-ag__row.is-live em::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--champ); margin-right: 6px; vertical-align: 1px; animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { opacity: 0.3; } }
.hx-ag__row.is-new { background: rgba(243,112,33,0.12); box-shadow: inset 0 0 0 1px rgba(243,112,33,0.4); }
.hx-ag__row.is-new em { background: var(--champ); color: var(--champ-ink); }

.hx-nt { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 13px 15px; border-radius: 22px; }
.hx-nt--back { position: absolute; left: 6%; right: 6%; top: -14px; opacity: 0.55; transform: scale(0.94); filter: blur(0.3px); }
.hx-nt__icon { width: 38px; height: 38px; border-radius: 10px; background: var(--champ) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='5.5' fill='%231a0c04'/%3E%3Cpath d='M16 5v3M16 24v3M5 16h3M24 16h3M8.2 8.2l2.1 2.1M21.7 21.7l2.1 2.1M8.2 23.8l2.1-2.1M21.7 10.3l2.1-2.1' stroke='%231a0c04' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 26px no-repeat; }
.hx-nt div { display: flex; flex-direction: column; min-width: 0; }
.hx-nt span { font-size: 11.5px; color: var(--muted); }
.hx-nt b { font-size: 14.5px; font-weight: 600; }
.hx-nt p { font-size: 13px; color: #e6ddd1; }
.stack.is-in .hx-nt:not(.hx-nt--back) { animation: nt-drop 900ms var(--ease-ios) 1.5s both; }
@keyframes nt-drop { from { opacity: 0; transform: translateY(-24px) scale(0.96); } }

.hx-st__top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.hx-st__top em { font-style: normal; font-weight: 600; color: var(--champ-hi); background: rgba(243,112,33,0.15); padding: 3px 8px; border-radius: 999px; }
.hx-st__num { display: block; font-size: 42px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; margin: 4px 0 6px; font-variant-numeric: tabular-nums; }
.hx-st__chart { width: 100%; height: 70px; overflow: visible; }
.hx-st__chart .line { stroke-dasharray: 320; stroke-dashoffset: 320; transition: stroke-dashoffset 1.8s var(--ease-out) 1.1s; }
.hx-st__chart .area { opacity: 0; transition: opacity 1s ease 1.8s; }
.hx-st__chart .dot { opacity: 0; transition: opacity 400ms ease 2.6s; }
.stack.is-in .hx-st__chart .line { stroke-dashoffset: 0; }
.stack.is-in .hx-st__chart .area, .stack.is-in .hx-st__chart .dot { opacity: 1; }
.hx-st__axis { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--faint); margin-top: 4px; }

@media (prefers-reduced-motion: reduce) {
  .hx-ring .fg { stroke-dashoffset: 38; transition: none; }
  .hx-st__chart .line { stroke-dashoffset: 0; transition: none; }
  .hx-st__chart .area, .hx-st__chart .dot { opacity: 1; transition: none; }
  .hx-ag__row.is-live em::before, .stack.is-in .hx-nt:not(.hx-nt--back) { animation: none; }
}
@media (max-width: 820px) {
  .stack { height: 600px; }
  .stack__site   { left: 0; top: 96px; width: 80%; }
  .stack__agenda { left: auto; right: 0; top: 270px; width: 78%; padding: 16px; }
  .stack__note   { left: 6%; right: 0; top: 6px; width: auto; }
  .stack__stat   { display: none; }
}

/* =====================================================================
   SERVIZI 0: il telefono con la versione mobile del sito
   ===================================================================== */
.device__screen[data-screen="0"] { position: relative; }
.ms-phone {
  position: absolute; right: 22px; bottom: 22px; width: 148px; height: 292px; z-index: 4;
  border-radius: 28px; padding: 7px; background: #0b0a09;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,0.18), 0 30px 60px -12px rgba(0,0,0,0.75);
  transform: rotate(3deg);
}
.ms-phone__notch { position: absolute; left: 50%; top: 12px; width: 44px; height: 13px; border-radius: 999px; background: #000; transform: translateX(-50%); z-index: 2; }
.ms-phone__view { height: 100%; border-radius: 22px; overflow: hidden; background: #f6f1ea; color: #2a211b; }
.ms-phone__scroll { animation: mp-scroll 14s var(--ease-io) infinite; }
.device__screen:not(.is-on) .ms-phone__scroll { animation-play-state: paused; }
@keyframes mp-scroll { 0%, 14% { transform: translateY(0); } 50%, 64% { transform: translateY(-42%); } 100% { transform: translateY(0); } }
.mp__hero { height: 150px; padding: 30px 12px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; color: #fff; background: radial-gradient(120% 90% at 80% 20%, #c4572f 0%, #7a2a16 50%, #2d140c 100%); }
.mp__hero b { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 21px; line-height: 1; }
.mp__hero span { font-size: 9px; opacity: 0.85; }
.mp__hero em { font-style: normal; align-self: flex-start; margin-top: 6px; font-size: 9px; font-weight: 600; background: #fff; color: #2a211b; padding: 5px 9px; border-radius: 999px; }
.mp__row { display: flex; align-items: center; gap: 8px; margin: 8px 10px 0; padding: 8px; border-radius: 10px; background: #fff; font-size: 10.5px; font-weight: 600; }
.mp__row i { width: 24px; height: 24px; border-radius: 50%; }
.mp__row .a { background: radial-gradient(circle at 40% 40%, #7a9a4a 0 30%, #d9b46a 31% 60%, #efe4d3 61%); }
.mp__row .b { background: radial-gradient(circle at 50% 50%, #e8c167 0 45%, #c4572f 46% 55%, #f3dccf 56%); }
.mp__row .c { background: radial-gradient(circle at 50% 45%, #5a3420 0 35%, #e9d4b5 36% 60%, #eadfd6 61%); }
.mp__menu { margin: 10px; padding: 8px 10px; border-radius: 10px; background: #fff; font-size: 10px; }
.mp__menu div { display: flex; justify-content: space-between; padding: 4px 0; }
.mp__map { margin: 0 10px 14px; height: 70px; border-radius: 10px; position: relative; background-color: #e8e1d6; background-image: linear-gradient(#d9cfc1 2px, transparent 2px), linear-gradient(90deg, #d9cfc1 2px, transparent 2px); background-size: 16px 16px; }
.mp__map i { position: absolute; left: 50%; top: 40%; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; background: #8c2f1b; transform: translate(-50%, -50%) rotate(-45deg); }
.ms-chip { position: absolute; left: 26px; bottom: 26px; z-index: 4; font-size: 12.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; color: var(--champ-ink); background: var(--champ); box-shadow: 0 10px 30px -8px rgba(243,112,33,0.7); }
.device__screen.is-on .ms-chip { animation: chip-in 700ms var(--ease-ios) 900ms both; }
.device__screen.is-on .ms-phone { animation: phone-in 900ms var(--ease-ios) 400ms both; }
@keyframes chip-in { from { opacity: 0; transform: translateY(12px) scale(0.95); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(40px) rotate(8deg); } }

/* =====================================================================
   SERVIZI 1: la prenotazione, con il cursore che prenota da solo
   ===================================================================== */
.bk2 { position: relative; flex: 1; min-height: 0; margin: 0 12px 12px; border-radius: 14px; overflow: hidden; background: #101c17; color: #efe7d6; display: flex; flex-direction: column; }
.bk2__cover { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: linear-gradient(120deg, #1d3328, #101c17 70%); }
.bk2__logo { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: Georgia, "Times New Roman", serif; font-size: 16px; background: #c9a24b; color: #101c17; flex: 0 0 auto; }
.bk2__cover div { display: flex; flex-direction: column; }
.bk2__cover b { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 22px; line-height: 1.1; }
.bk2__cover span { font-size: 11.5px; color: #b4ab98; }
.bk2__cover em { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5bc27a; margin-right: 6px; box-shadow: 0 0 0 3px rgba(91,194,122,0.2); }
.bk2__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px 18px 0; }
.bk2__steps span { font-size: 10.5px; color: #7f8a80; padding-top: 7px; border-top: 3px solid #2a3d33; }
.bk2__steps .on { color: #efe7d6; border-top-color: #c9a24b; }
.bk2__body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; padding: 4px 18px 0; flex: 1; min-height: 0; }
.bk2__lbl { font-size: 11px; font-weight: 600; color: #b4ab98; margin: 10px 0 7px; }
.bk2__staff { display: flex; gap: 6px; flex-wrap: wrap; }
.bk2__staff span { display: flex; align-items: center; gap: 6px; font-size: 11.5px; padding: 4px 10px 4px 4px; border-radius: 999px; background: #172820; box-shadow: inset 0 0 0 1px #2a3d33; }
.bk2__staff i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10.5px; font-weight: 600; background: #2a3d33; }
.bk2__staff .on { box-shadow: inset 0 0 0 1.5px #c9a24b; }
.bk2__staff .on i { background: #c9a24b; color: #101c17; }
.bk2__cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: 11px; font-variant-numeric: tabular-nums; }
.bk2__cal b { font-size: 9.5px; color: #7f8a80; font-weight: 600; }
.bk2__cal span { padding: 5px 0; border-radius: 6px; }
.bk2__cal .x { color: #4d5a50; text-decoration: line-through; }
.bk2__cal .sel { background: #c9a24b; color: #101c17; font-weight: 700; }
.bk2__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bk2__slots span { text-align: center; font-size: 12px; padding: 8px 0; border-radius: 8px; background: #172820; box-shadow: inset 0 0 0 1px #2a3d33; font-variant-numeric: tabular-nums; }
.bk2__slots .off { opacity: 0.35; text-decoration: line-through; }
.bk2__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 18px; background: #172820; }
.bk2__bar div { display: flex; flex-direction: column; }
.bk2__bar b { font-size: 13px; font-weight: 600; }
.bk2__bar span { font-size: 11px; color: #b4ab98; }
.bk2__bar em { font-style: normal; font-weight: 600; font-size: 13px; padding: 9px 18px; border-radius: 10px; background: #c9a24b; color: #101c17; }
.bk2__ok { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: rgba(16, 28, 23, 0.94); opacity: 0; pointer-events: none; }
.bk2__ok i { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 30px; background: #c9a24b; color: #101c17; margin-bottom: 6px; }
.bk2__ok b { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 24px; }
.bk2__ok span { font-size: 12.5px; color: #b4ab98; }
.bk2__cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 6; opacity: 0; filter: drop-shadow(0 3px 5px rgba(0,0,0,0.5)); }

.device__screen.is-on .bk2__cursor { animation: bk-cursor 8s var(--ease-io) 600ms infinite; }
.device__screen.is-on .bk2__slots .pick { animation: bk-pick 8s linear 600ms infinite; }
.device__screen.is-on .bk2__bar em { animation: bk-btn 8s linear 600ms infinite; }
.device__screen.is-on .bk2__ok { animation: bk-ok 8s var(--ease-out) 600ms infinite; }
.device__screen.is-on .bk2__ok i { animation: bk-check 8s var(--ease-ios) 600ms infinite; }
@keyframes bk-cursor {
  0%   { opacity: 0; transform: translate(var(--x0, 300px), var(--y0, 300px)); }
  8%   { opacity: 1; transform: translate(var(--x0, 300px), var(--y0, 300px)); }
  28%  { transform: translate(var(--x1, 200px), var(--y1, 150px)) scale(1); }
  31%  { transform: translate(var(--x1, 200px), var(--y1, 150px)) scale(0.82); }
  34%  { transform: translate(var(--x1, 200px), var(--y1, 150px)) scale(1); }
  52%  { transform: translate(var(--x2, 300px), var(--y2, 300px)) scale(1); }
  55%  { transform: translate(var(--x2, 300px), var(--y2, 300px)) scale(0.82); }
  58%  { opacity: 1; transform: translate(var(--x2, 300px), var(--y2, 300px)) scale(1); }
  64%, 100% { opacity: 0; transform: translate(var(--x2, 300px), var(--y2, 300px)); }
}
@keyframes bk-pick { 0%, 31% { background: #172820; color: #efe7d6; } 32%, 92% { background: #c9a24b; color: #101c17; font-weight: 700; } 93%, 100% { background: #172820; color: #efe7d6; } }
@keyframes bk-btn { 0%, 54% { transform: none; } 56% { transform: scale(0.94); } 58%, 100% { transform: none; } }
@keyframes bk-ok { 0%, 58% { opacity: 0; } 62%, 88% { opacity: 1; } 93%, 100% { opacity: 0; } }
@keyframes bk-check { 0%, 59% { transform: scale(0.4); } 66% { transform: scale(1.08); } 70%, 100% { transform: scale(1); } }

/* =====================================================================
   SERVIZI 3: il magazzino
   ===================================================================== */
.wh { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 18px; gap: 10px; }
.wh__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wh__head div { display: flex; flex-direction: column; }
.wh__head b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.wh__head span { font-size: 12px; color: var(--muted); }
.wh__search { font-style: normal; font-size: 12px; color: var(--faint); padding: 8px 14px 8px 30px; border-radius: 999px; background: rgba(0,0,0,0.3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6.5' fill='none' stroke='%237d7368' stroke-width='2'/%3E%3Cpath d='M16 16l4 4' stroke='%237d7368' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 10px center / 14px no-repeat; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.wh__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.wh__chips span { font-size: 11.5px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,0.06); color: var(--muted); }
.wh__chips .on { background: var(--ink); color: var(--bg); font-weight: 600; }
.wh__chips em { font-style: normal; display: inline-grid; place-items: center; min-width: 17px; height: 17px; margin-left: 4px; border-radius: 999px; background: var(--champ); color: var(--champ-ink); font-size: 10.5px; font-weight: 700; }
.wh__row { display: grid; grid-template-columns: 32px 1.2fr 1fr auto 86px; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px; background: rgba(255,255,255,0.04); }
.wh__row--hot { background: rgba(243,112,33,0.10); box-shadow: inset 0 0 0 1px rgba(243,112,33,0.35); }
.wh__ico { width: 32px; height: 32px; border-radius: 9px; position: relative; background: rgba(255,255,255,0.08); }
.wh__ico::after { content: ""; position: absolute; inset: 7px; border-radius: 4px; }
.wh__ico.i1::after { background: radial-gradient(circle at 50% 60%, #f3a86b 0 45%, transparent 46%), linear-gradient(#5a4636, #5a4636) center 30% / 70% 30% no-repeat; }
.wh__ico.i2::after { background: linear-gradient(90deg, transparent 20%, #cfd3d8 20% 80%, transparent 80%); border-radius: 2px; inset: 11px 5px; }
.wh__ico.i3::after { background: linear-gradient(#e7c27a, #b07a3a); border-radius: 6px 6px 3px 3px; inset: 5px 9px; }
.wh__ico.i4::after { background: linear-gradient(#7aa7c7, #3c6a8a); border-radius: 50% 50% 4px 4px; inset: 6px 9px; }
.wh__name { display: flex; flex-direction: column; min-width: 0; }
.wh__name b { font-size: 13px; font-weight: 600; }
.wh__name span { font-size: 11px; color: var(--muted); }
.wh__bar { position: relative; height: 7px; border-radius: 999px; background: rgba(255,255,255,0.10); }
.wh__bar u { position: absolute; left: 0; top: 0; bottom: 0; width: var(--q, 50%); border-radius: inherit; background: rgba(245,239,230,0.6); }
.wh__bar u.low { background: var(--champ); }
.wh__bar s { position: absolute; left: var(--th); top: -4px; bottom: -4px; width: 2px; border-radius: 2px; background: rgba(245,239,230,0.55); z-index: 1; }
.wh__row--hot .wh__bar u { --q: 50%; background: rgba(245,239,230,0.6); }
.wh__qty { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wh__qty button { width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.08); color: var(--ink); font-size: 13px; line-height: 1; padding: 0; }
.wh__qty span { min-width: 26px; text-align: center; }
.wq { display: inline-grid; }
.wq em { grid-area: 1 / 1; font-style: normal; }
.wq .q4, .wq .q3 { opacity: 0; }
.wh__pill { font-style: normal; font-size: 11px; font-weight: 600; text-align: center; padding: 5px 0; border-radius: 999px; background: var(--champ); color: var(--champ-ink); }
.wh__pill.ok { background: rgba(255,255,255,0.08); color: var(--muted); }
.wh__row--hot .wh__pill { opacity: 0; }
.wh__order { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(243,112,33,0.12); box-shadow: inset 0 0 0 1px rgba(243,112,33,0.3); }
.wh__order div { display: flex; flex-direction: column; }
.wh__order b { font-size: 13.5px; font-weight: 600; }
.wh__order span { font-size: 11.5px; color: var(--muted); }
.wh__order em { font-style: normal; font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 999px; background: var(--champ); color: var(--champ-ink); }
.wh__toast { position: absolute; left: 14px; right: 14px; top: 12px; z-index: 5; display: flex; flex-direction: column; gap: 1px; padding: 11px 14px; border-radius: 16px; font-size: 12.5px; color: #e5e5ea; background: rgba(28, 22, 17, 0.95); box-shadow: inset 0 0 0 1px rgba(243,112,33,0.45), 0 18px 40px -10px rgba(0,0,0,0.7); opacity: 0; transform: translateY(-130%); }
.wh__toast span { font-size: 11px; color: var(--muted); }
.wh__toast b { color: var(--ink); font-size: 13.5px; }

.device__screen.is-on .wq .q5 { animation: q5 7s steps(1) 500ms infinite; }
.device__screen.is-on .wq .q4 { animation: q4 7s steps(1) 500ms infinite; }
.device__screen.is-on .wq .q3 { animation: q3 7s steps(1) 500ms infinite; }
.device__screen.is-on .wh__row--hot .wh__bar u { animation: wh-bar 7s var(--ease-out) 500ms infinite; }
.device__screen.is-on .wh__row--hot .wh__pill { animation: wh-pill 7s var(--ease-out) 500ms infinite; }
.device__screen.is-on .wh__toast { animation: wh-toast 7s var(--ease-ios) 500ms infinite; }
@keyframes q5 { 0% { opacity: 1; } 15% { opacity: 0; } 100% { opacity: 0; } }
@keyframes q4 { 0% { opacity: 0; } 15% { opacity: 1; } 30% { opacity: 0; } 100% { opacity: 0; } }
@keyframes q3 { 0%, 29% { opacity: 0; } 30%, 96% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes wh-bar { 0% { width: 50%; background: rgba(245,239,230,0.6); } 15% { width: 40%; } 30%, 94% { width: 30%; background: #f37021; } 100% { width: 50%; background: rgba(245,239,230,0.6); } }
@keyframes wh-pill { 0%, 32% { opacity: 0; transform: scale(0.8); } 38%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes wh-toast { 0%, 36% { opacity: 0; transform: translateY(-130%); } 44%, 82% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(-130%); } }

@media (prefers-reduced-motion: reduce) {
  .ms-phone__scroll, .device__screen.is-on .ms-chip, .device__screen.is-on .ms-phone { animation: none; }
  .device__screen.is-on .bk2__cursor, .device__screen.is-on .bk2__bar em, .device__screen.is-on .bk2__ok, .device__screen.is-on .bk2__ok i { animation: none; }
  .device__screen.is-on .bk2__slots .pick { animation: none; background: #c9a24b; color: #101c17; }
  .device__screen.is-on .wq em, .device__screen.is-on .wh__row--hot .wh__bar u, .device__screen.is-on .wh__row--hot .wh__pill, .device__screen.is-on .wh__toast { animation: none; }
  .wq .q5, .wq .q4 { opacity: 0; } .wq .q3 { opacity: 1; }
  .wh__row--hot .wh__bar u { width: 30%; background: #f37021; } .wh__row--hot .wh__pill { opacity: 1; }
}

.bk2__svc { display: flex; flex-direction: column; gap: 6px; }
.bk2__svc span { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; padding: 8px 10px; border-radius: 8px; background: #172820; box-shadow: inset 0 0 0 1px #2a3d33; }
.bk2__svc span b { font-weight: 400; color: #b4ab98; white-space: nowrap; }
.bk2__svc .on { box-shadow: inset 0 0 0 1.5px #c9a24b; }
.ms-chip { left: auto; right: 22px; bottom: 326px; }

/* Chi sono: valori e firma */
.values { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; font-size: 1.25rem; line-height: 1.45; color: var(--muted); }
.values b { font-weight: 600; color: var(--champ-hi); }
.sign { margin-top: 20px; display: flex; flex-direction: column; gap: 2px; }
.sign__name { font-family: "Snell Roundhand", "Apple Chancery", "Brush Script MT", "Segoe Script", cursive; font-size: 2.4rem; line-height: 1.1; color: var(--champ-hi); }
.sign__role { font-size: 14px; color: var(--muted); }

/* Ne parliamo: biglietto da visita */
.card-me { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-md); margin-top: 8px; }
.card-me__mark { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 16px; display: grid; place-items: center; color: var(--champ-ink); background: var(--champ); box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 10px 26px -10px rgba(243,112,33,0.7); }
.card-me__mark svg { width: 30px; height: 30px; }
.card-me div { display: flex; flex-direction: column; }
.card-me b { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.card-me span { font-size: 14px; color: var(--muted); }
.other { margin-top: -4px; }

/* ================= L'APP AL CENTRO ================= */
.hub { width: var(--page); margin: var(--section) auto 0; }
.hub__copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.hub__copy .lead { text-align: center; max-width: 52ch; }
.hub__stage { margin-top: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0; }
.hub__side { display: flex; flex-direction: column; gap: 18px; }
.hub__side--l { align-items: flex-end; }
.hub__side--r { align-items: flex-start; }
.hub__node { position: relative; width: min(100%, 300px); padding: 18px 20px; border-radius: var(--r-md); display: flex; flex-direction: column; gap: 8px; }
.hub__node h3 { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: -0.01em; }
/* il filo che collega ogni riquadro al telefono */
.glass > .hub__wire { position: absolute; top: 50%; width: 64px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(243,112,33,0.1), rgba(243,112,33,0.4), rgba(243,112,33,0.1)); z-index: 0; }
.hub__side--l .hub__wire { left: 100%; }
.hub__side--r .hub__wire { right: 100%; }
.hub__dot { position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--champ-hi); box-shadow: 0 0 12px 3px rgba(255,154,92,0.7); opacity: 0; }
.hub__side--l .hub__dot { right: 0; --to: -56px; }
.hub__side--r .hub__dot { left: 0; --to: 56px; }
.hub__node { outline: 1.5px solid rgba(243,112,33,0); outline-offset: 0; }
.hub__url { font-size: 12.5px; color: var(--muted); }
.hub__swap { position: relative; display: grid; font-size: 17px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.hub__swap > span { grid-area: 1 / 1; }
.hub__swap .n { opacity: 0; color: var(--champ-hi); }
.hub__big { font-size: 34px; letter-spacing: -0.03em; }
.hub__small { font-size: 13px; color: var(--muted); }
.hub__ok { position: absolute; top: 16px; right: 16px; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--champ-ink); background: var(--champ); padding: 3px 9px; border-radius: 999px; opacity: 0; transform: scale(0.9); }
.hub__slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.hub__slots i { height: 18px; border-radius: 5px; background: rgba(243,112,33,0.35); }
.hub__slots i.x { background: rgba(255,255,255,0.06); }
.hub__client { display: flex; align-items: center; gap: 10px; }
.hub__client > i { width: 34px; height: 34px; border-radius: 50%; background: #e3a35c; color: var(--champ-ink); font-style: normal; font-size: 12px; font-weight: 700; display: grid; place-items: center; flex: none; }
.hub__client div { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.hub__client b { font-size: 15px; }
.hub__client div span { font-size: 12.5px; color: var(--muted); }
.hub__call { display: inline-flex; align-items: center; gap: 5px; background: #2fbf71; color: #062b16; font-size: 12.5px; font-weight: 700; padding: 7px 11px; border-radius: 999px; }
.hub__call svg { width: 13px; height: 13px; }
.hub__bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,0.08); overflow: hidden; }
.hub__bar i { display: block; height: 100%; width: 40%; border-radius: inherit; background: var(--champ); }

/* il telefono */
.hub__phone { position: relative; margin: 0 64px; width: 300px; height: 630px; border-radius: 48px; padding: 12px; background: #050403; box-shadow: 0 0 0 1px rgba(255,255,255,0.14), 0 0 0 7px #1c1712, 0 40px 90px -30px rgba(243,112,33,0.45), 0 30px 60px -20px rgba(0,0,0,0.8); z-index: 2; }
.hp__notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; z-index: 5; }
.hp__bar { height: 34px; padding: 10px 22px 0; display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--ink); }
.hp__bat { width: 22px; height: 11px; border-radius: 3px; border: 1.5px solid rgba(245,239,230,0.7); position: relative; }
.hp__bat::after { content: ""; position: absolute; inset: 1.5px; right: 5px; border-radius: 1px; background: var(--ink); }
.hp__app { position: relative; height: calc(100% - 34px - 54px); padding: 10px 12px 0; display: flex; flex-direction: column; gap: 9px; overflow: hidden; border-radius: 0 0 6px 6px; }
.hp__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 2px 0; }
.hp__head div { display: flex; flex-direction: column; }
.hp__head b { font-size: 17px; letter-spacing: -0.02em; }
.hp__head span { font-size: 11.5px; color: var(--muted); }
.hp__me { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(140deg, #ff9a5c, #c4502a); color: var(--champ-ink); font-style: normal; font-weight: 700; font-size: 13px; display: grid; place-items: center; flex: none; }
.hp__kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hp__kpi div { background: rgba(255,255,255,0.05); border-radius: 12px; padding: 8px 9px; display: flex; flex-direction: column; gap: 2px; }
.hp__kpi span { font-size: 10px; color: var(--muted); }
.hp__kpi b { font-size: 17px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hp__kpi div:last-child b { color: var(--champ-hi); }
.hp__card { background: rgba(255,255,255,0.05); border-radius: 14px; padding: 9px 10px; display: flex; flex-direction: column; gap: 6px; }
.hp__lbl { font-size: 10.5px; font-weight: 600; color: var(--muted); }
.hp__next { background: linear-gradient(150deg, rgba(243,112,33,0.22), rgba(243,112,33,0.06)); box-shadow: inset 0 0 0 1px rgba(243,112,33,0.3); }
.hp__who { display: flex; align-items: center; gap: 8px; }
.hp__who > i { width: 28px; height: 28px; border-radius: 50%; background: #e3a35c; color: var(--champ-ink); font-style: normal; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; flex: none; }
.hp__who div { display: flex; flex-direction: column; }
.hp__who b { font-size: 13.5px; }
.hp__who span { font-size: 10.5px; color: var(--muted); }
.hp__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.hp__btns span { text-align: center; font-size: 11.5px; font-weight: 700; padding: 6px 0; border-radius: 9px; }
.hp__call { background: #2fbf71; color: #062b16; }
.hp__wa { background: rgba(255,255,255,0.1); color: var(--ink); }
.hp__line { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11.5px; }
.hp__line span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.hp__line em { font-style: normal; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.hp__low { box-shadow: inset 0 0 0 1px rgba(255,154,92,0.35); }
.hp__low em { color: var(--champ-hi); }
.hp__warn { width: 8px; height: 8px; border-radius: 50%; background: var(--champ-hi); flex: none; box-shadow: 0 0 0 3px rgba(255,154,92,0.2); }
.hp__bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; align-items: end; height: 30px; }
.hp__bars i { height: calc(var(--h) * 100%); border-radius: 4px; background: rgba(243,112,33,0.35); }
.hp__bars i.on { background: var(--champ); }
.hp__acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.hp__act { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10.5px; color: var(--muted); padding: 7px 0 6px; border-radius: 12px; background: rgba(255,255,255,0.05); }
.hp__act i { width: 18px; height: 18px; border-radius: 6px; border: 2px solid rgba(255,154,92,0.75); }
.hp__act--go { color: var(--ink); }
/* il pannello degli orari che sale dal basso */
.hp__sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px 12px; border-radius: 22px 22px 0 0; background: #1a1510; box-shadow: 0 -18px 40px -10px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.08); display: flex; flex-direction: column; gap: 8px; transform: translateY(105%); z-index: 6; }
.hp__grab { align-self: center; width: 36px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.2); }
.hp__sheet-t { font-size: 14px; }
.hp__days { display: flex; flex-direction: column; gap: 0; background: rgba(255,255,255,0.04); border-radius: 14px; padding: 4px; }
.hp__days li { display: flex; justify-content: space-between; align-items: center; padding: 7px 9px; border-radius: 9px; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.hp__days li span:last-child { color: var(--muted); }
.hp__edit .hub__swap { font-size: 12.5px; font-weight: 600; }
.hp__edit .hub__swap .o { color: var(--ink); }
.hp__save { text-align: center; background: var(--champ); color: var(--champ-ink); font-weight: 700; font-size: 13.5px; padding: 10px; border-radius: 12px; }
.hp__toast { position: absolute; left: 10px; right: 10px; top: 8px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: rgba(40,32,24,0.97); box-shadow: 0 10px 30px -8px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.08); font-size: 12.5px; font-weight: 600; opacity: 0; transform: translateY(-8px); z-index: 7; }
.hp__toast i { width: 18px; height: 18px; border-radius: 50%; background: #2fbf71; flex: none; position: relative; }
.hp__toast i::after { content: ""; position: absolute; left: 6px; top: 3.5px; width: 4px; height: 8px; border: solid #062b16; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hp__tabs { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 54px; border-radius: 0 0 36px 36px; display: flex; justify-content: space-around; align-items: center; background: #0a0806; box-shadow: 0 -1px 0 rgba(255,255,255,0.06); font-size: 10.5px; color: var(--muted); z-index: 8; }
.hp__tabs .on { color: var(--champ-hi); font-weight: 600; }

/* la sequenza: si cambia il sabato, si salva, tutto si aggiorna (8 s, ripetuta) */
.hub__stage.is-play .hp__edit { animation: hb-row 8s ease infinite; }
.hub__stage.is-play .hub__swap--fast .o { animation: hb-old 8s ease infinite; }
.hub__stage.is-play .hub__swap--fast .n { animation: hb-new 8s cubic-bezier(0.23, 1, 0.32, 1) infinite; }
.hub__stage.is-play .hp__save { animation: hb-save 8s ease infinite; }
.hub__stage.is-play .hp__sheet { animation: hb-sheet 8s cubic-bezier(0.32, 0.72, 0, 1) infinite; }
.hub__stage.is-play .hp__act--go { animation: hb-tap 8s ease infinite; }
.hub__stage.is-play .hp__toast { animation: hb-toast 8s cubic-bezier(0.23, 1, 0.32, 1) infinite; }
.hub__stage.is-play .hub__dot { animation: hb-dot 8s cubic-bezier(0.4, 0, 0.2, 1) infinite; animation-delay: calc(var(--i) * 90ms); }
.hub__stage.is-play .hub__node { animation: hb-node 8s ease infinite; animation-delay: calc(var(--i) * 90ms); }
.hub__stage.is-play .hub__node .hub__swap .o { animation: hb-old2 8s ease infinite; animation-delay: calc(var(--i) * 90ms); }
.hub__stage.is-play .hub__node .hub__swap .n { animation: hb-new2 8s cubic-bezier(0.23, 1, 0.32, 1) infinite; animation-delay: calc(var(--i) * 90ms); }
.hub__stage.is-play .hub__ok { animation: hb-ok 8s cubic-bezier(0.23, 1, 0.32, 1) infinite; animation-delay: calc(var(--i) * 90ms); }
.hub__stage.is-play .hub__slots i.x { animation: hb-slot 8s ease infinite; animation-delay: calc(var(--i) * 90ms); }
.hub__stage.is-play .hub__bar i { animation: hb-fill 8s cubic-bezier(0.23, 1, 0.32, 1) infinite; animation-delay: calc(var(--i) * 90ms); }
@keyframes hb-row { 0%, 8% { background: transparent; } 11%, 30% { background: rgba(243,112,33,0.18); } 38%, 100% { background: transparent; } }
@keyframes hb-old { 0%, 15% { opacity: 1; } 18%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes hb-new { 0%, 16% { opacity: 0; transform: translateY(5px); } 21%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hb-save { 0%, 24% { transform: scale(1); } 26% { transform: scale(0.95); } 29%, 100% { transform: scale(1); } }
@keyframes hb-toast { 0%, 33% { opacity: 0; transform: translateY(-8px); } 37%, 80% { opacity: 1; transform: none; } 86%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes hb-sheet { 0%, 7% { transform: translateY(105%); } 12%, 30% { transform: none; } 35%, 100% { transform: translateY(105%); } }
@keyframes hb-tap { 0%, 3% { transform: scale(1); background: rgba(255,255,255,0.05); } 5% { transform: scale(0.92); background: rgba(243,112,33,0.35); } 9%, 100% { transform: scale(1); background: rgba(255,255,255,0.05); } }
@keyframes hb-dot { 0%, 30% { opacity: 0; transform: translateX(0); } 32% { opacity: 1; transform: translateX(0); } 41% { opacity: 1; transform: translateX(var(--to)); } 44%, 100% { opacity: 0; transform: translateX(var(--to)); } }
@keyframes hb-node { 0%, 40% { outline-color: rgba(243,112,33,0); outline-offset: 0; } 44%, 62% { outline-color: rgba(243,112,33,0.75); outline-offset: 3px; } 74%, 100% { outline-color: rgba(243,112,33,0); outline-offset: 0; } }
@keyframes hb-old2 { 0%, 41% { opacity: 1; } 44%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes hb-new2 { 0%, 42% { opacity: 0; transform: translateY(5px); } 47%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hb-ok { 0%, 42% { opacity: 0; transform: scale(0.9); } 46%, 72% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; transform: scale(0.9); } }
@keyframes hb-slot { 0%, 42% { background: rgba(255,255,255,0.06); } 47%, 92% { background: rgba(243,112,33,0.35); } 100% { background: rgba(255,255,255,0.06); } }
@keyframes hb-fill { 0%, 42% { width: 40%; } 50%, 92% { width: 66%; } 100% { width: 40%; } }

@media (max-width: 1100px) {
  .hub__phone { margin: 0 40px; }
  .glass > .hub__wire { width: 40px; }
  .hub__side--l .hub__dot { --to: -32px; }
  .hub__side--r .hub__dot { --to: 32px; }
}
@media (max-width: 900px) {
  .hub__stage { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 44px; }
  .hub__phone { grid-column: 1 / -1; grid-row: 1; justify-self: center; margin: 0 0 22px; }
  .hub__side { display: contents; }
  .hub__node { width: auto; }
  .glass > .hub__wire { display: none; }
}
@media (max-width: 560px) {
  .hub__stage { grid-template-columns: 1fr; }
  .hub__phone { width: min(290px, 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .hub__stage .hub__swap .o { opacity: 0; }
  .hub__stage .hub__swap .n { opacity: 1; }
  .hub__stage.is-play * { animation: none !important; }
}

/* ================= CONFRONTO ================= */
.swap { width: var(--page); margin: var(--section) auto 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.swap .lead { text-align: center; max-width: 52ch; }
.swap__panel { margin-top: 30px; width: min(100%, 1000px); padding: 34px 40px 38px; border-radius: var(--r-lg); text-align: left; }
.swap__cols, .swap__list li { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.swap__cols { padding-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.swap__cols span:last-child { color: var(--champ-hi); }
.swap__list li { padding: 15px 0; align-items: baseline; }
.swap__list .b { color: var(--muted); font-size: 1.0625rem; }
.swap__list .a { color: var(--ink); font-size: 1.1875rem; font-weight: 500; position: relative; }
.swap__list .a::before { content: ""; position: absolute; left: -24px; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--champ); }
@media (max-width: 720px) {
  .swap__panel { padding: 22px 22px 26px; }
  .swap__cols { display: none; }
  .swap__list li { grid-template-columns: 1fr; gap: 4px; padding: 14px 0 14px 18px; position: relative; }
  .swap__list .a::before { left: -18px; }
  .swap__list .b { font-size: 15px; }
  .swap__list .b::before { content: "Di solito: "; }
}

/* ================= PAGINE INTERNE ================= */
.nav__links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
main.page > section:first-child, main.page > section:first-of-type { margin-top: clamp(130px, 18vh, 190px); }
.pagehead { width: var(--page); margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.pagehead .lead { text-align: center; max-width: 52ch; }

/* Esplora (home) */
.explore { width: min(1000px, calc(100% - 48px)); margin: var(--section) auto 0; }
.explore__list { margin-top: 28px; }
.explore__list a { display: grid; grid-template-columns: minmax(150px, 0.8fr) 2fr auto; align-items: center; gap: 24px; padding: 26px 4px; text-decoration: none; color: var(--ink); border-radius: var(--r-sm); transition: color 200ms ease, transform 300ms cubic-bezier(0.23, 1, 0.32, 1); }
.explore__list li + li a { box-shadow: 0 -1px 0 rgba(245,239,230,0.1); }
.explore__list b { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 600; letter-spacing: -0.03em; }
.explore__list span { color: var(--muted); font-size: 1.0625rem; }
.explore__list svg { width: 28px; height: 28px; color: var(--champ-hi); transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1); }
@media (hover: hover) and (pointer: fine) {
  .explore__list a:hover b { color: var(--champ-hi); }
  .explore__list a:hover svg { transform: translateX(6px); }
}
.explore__list a:active { transform: scale(0.99); }
@media (max-width: 720px) {
  .explore__list a { grid-template-columns: 1fr auto; gap: 4px 16px; padding: 20px 2px; }
  .explore__list span { grid-column: 1; grid-row: 2; font-size: 15px; }
  .explore__list svg { grid-column: 2; grid-row: 1 / 3; }
}

/* Continua (fondo delle pagine interne) */
.next { width: min(1000px, calc(100% - 48px)); margin: var(--section) auto 0; }
.next__link { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center; padding: 34px 38px; border-radius: var(--r-lg); text-decoration: none; color: var(--ink); background: linear-gradient(135deg, rgba(243,112,33,0.22), rgba(196,80,42,0.08)); box-shadow: inset 0 0 0 1px rgba(243,112,33,0.3); transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 300ms ease; }
.next__k { grid-column: 1; font-size: 14px; font-weight: 600; color: var(--champ-hi); }
.next__t { grid-column: 1; font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.next__s { grid-column: 1; color: var(--muted); }
.next__link svg { grid-column: 2; grid-row: 1 / 4; width: 44px; height: 44px; color: var(--champ-hi); transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1); }
@media (hover: hover) and (pointer: fine) {
  .next__link:hover { box-shadow: inset 0 0 0 1px rgba(243,112,33,0.6); }
  .next__link:hover svg { transform: translateX(8px); }
}
.next__link:active { transform: scale(0.99); }
@media (max-width: 720px) { .next__link { padding: 26px 24px; } .next__link svg { width: 32px; height: 32px; } }
.pagehead + section { margin-top: clamp(48px, 7vw, 96px); }

/* ================= MENU SUL TELEFONO ================= */
.nav__menu { display: none; }
.menu { display: none; }
@media (max-width: 820px) {
  .nav .pill--small { display: none; }
  .nav__menu { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255,255,255,0.08); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: transform 160ms ease, background-color 200ms ease; }
  .nav__menu:active { transform: scale(0.96); }
  .nav__burger { display: grid; gap: 4px; width: 16px; }
  .nav__burger i { height: 2px; border-radius: 2px; background: currentColor; transition: transform 250ms cubic-bezier(0.32, 0.72, 0, 1); }
  .nav__menu[aria-expanded="true"] .nav__burger i:first-child { transform: translateY(3px) rotate(45deg); }
  .nav__menu[aria-expanded="true"] .nav__burger i:last-child { transform: translateY(-3px) rotate(-45deg); }
  .menu { background: rgba(22,18,14,0.94); position: fixed; z-index: 49; top: 72px; left: 12px; right: 12px; display: flex; flex-direction: column; padding: 12px; border-radius: var(--r-lg); transform-origin: top center; animation: menu-in 260ms cubic-bezier(0.23, 1, 0.32, 1); }
  .menu[hidden] { display: none; }
  .menu a:not(.pill) { padding: 14px 12px; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; border-radius: 12px; }
  .menu a[aria-current="page"] { color: var(--champ-hi); }
  .menu a:not(.pill):active { background: rgba(255,255,255,0.06); }
  .menu .pill { margin-top: 10px; justify-content: center; text-align: center; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
@media (prefers-reduced-motion: reduce) { .menu { animation: none; } }
.hub { margin-top: clamp(64px, 8vw, 120px); }
.explore { margin-top: clamp(96px, 10vw, 150px); }

/* ================= LOGO ================= */
.nav__mark.logo { width: 30px; height: 30px; flex: none; filter: drop-shadow(0 4px 12px rgba(243,112,33,0.28)); }
.card-me__mark { background: none; box-shadow: none; }
.card-me__mark svg { width: 52px; height: 52px; filter: drop-shadow(0 10px 22px rgba(243,112,33,0.45)); }
.logo__rays { transform-origin: 16px 21px; transition: transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 300ms ease; }
.logo__sun { transform-origin: 16px 21px; transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1); }
/* all'apertura il sole sorge */
.nav .logo__sun { animation: sun-up 900ms cubic-bezier(0.23, 1, 0.32, 1) 200ms both; }
.nav .logo__rays { animation: rays-in 700ms cubic-bezier(0.34, 1.56, 0.64, 1) 650ms both; }
@keyframes sun-up { from { transform: translateY(5px) scale(0.6); opacity: 0; } }
@keyframes rays-in { from { transform: scale(0.5); opacity: 0; } }
@media (hover: hover) and (pointer: fine) {
  .nav__brand:hover .logo__rays, .foot__brand:hover .logo__rays { transform: scale(1.18) rotate(-8deg); }
  .nav__brand:hover .logo__sun { transform: translateY(-1px); }
}
.nav__brand:active .logo { transform: scale(0.94); transition: transform 120ms ease; }

/* ================= MENU: evidenziatore che segue il puntatore ================= */
.nav__links { position: relative; align-items: center; gap: 4px; }
.nav__links a { position: relative; z-index: 1; padding: 8px 13px; border-radius: 999px; }
.nav__hl { position: absolute; left: 0; top: 50%; height: 34px; margin-top: -17px; width: var(--w, 0); transform: translateX(var(--x, 0)); border-radius: 999px; background: rgba(255,255,255,0.09); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); opacity: 0; transition: transform 380ms cubic-bezier(0.32, 0.72, 0, 1), width 380ms cubic-bezier(0.32, 0.72, 0, 1), opacity 200ms ease; pointer-events: none; }
.nav__hl.is-on { opacity: 1; }
.nav__links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--champ); }
.nav__links a:active { transform: scale(0.96); }
@media (prefers-reduced-motion: reduce) { .nav__hl { transition: opacity 200ms ease; } .nav .logo__sun, .nav .logo__rays { animation: none; } }

/* ================= MENU TELEFONO: icone ================= */
.menu__ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(243,112,33,0.14); color: var(--champ-hi); flex: none; transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), background-color 200ms ease; }
.menu__ic svg { width: 19px; height: 19px; }
@media (max-width: 820px) {
  .menu a:not(.pill) { display: flex; align-items: center; gap: 14px; padding: 10px 10px; transition: background-color 160ms ease, transform 160ms ease; }
  .menu a:not(.pill):active { transform: scale(0.98); }
  .menu a:not(.pill):active .menu__ic { transform: scale(0.9); background: rgba(243,112,33,0.3); }
  .menu a[aria-current="page"] .menu__ic { background: var(--champ); color: var(--champ-ink); }
  .menu a { animation: menu-item 380ms cubic-bezier(0.23, 1, 0.32, 1) both; animation-delay: calc(var(--n, 0) * 35ms); }
}
@keyframes menu-item { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .menu a { animation: none !important; } }
/* l'icona delle notifiche usa il nuovo logo */
.hx-nt__icon { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ff9a5c'/%3E%3Cstop offset='.6' stop-color='%23f37021'/%3E%3Cstop offset='1' stop-color='%23c4502a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='.5' y='.5' width='31' height='31' rx='8.5' fill='%230d0b09' stroke='%233a2a1e'/%3E%3Cg stroke='%23f37021' stroke-width='1.9' stroke-linecap='round'%3E%3Cpath d='M16 12.4V9.9M22 15l1.8-1.8M10 15l-1.8-1.8M23.9 17.8l2.3-1M8.1 17.8l-2.3-1'/%3E%3C/g%3E%3Cpath d='M9.5 21a6.5 6.5 0 0 1 13 0z' fill='url(%23g)'/%3E%3Cpath d='M6 21h20M11 24.6h10' stroke='%23c4502a' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E") center / cover no-repeat; }

/* ================= PACCHETTI ================= */
.packs { width: var(--page); margin: clamp(96px, 10vw, 150px) auto 0; }
.packs__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.packs__head .lead { text-align: center; max-width: 54ch; }
.packs__grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.pack { padding: 28px 26px 26px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 10px; transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1); }
@media (hover: hover) and (pointer: fine) { .pack:hover { transform: translateY(-4px); } }
.pack__lvl { display: flex; gap: 6px; margin-bottom: 6px; }
.pack__lvl span { width: 28px; height: 5px; border-radius: 5px; background: rgba(245,239,230,0.14); }
.pack__lvl span.on { background: var(--champ); }
.pack h3 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.pack__what { color: var(--champ-hi); font-weight: 600; }
.pack__list { margin-top: 8px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pack__list li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.pack__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: rgba(243,112,33,0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.5L12 5.4' fill='none' stroke='%23ff9a5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.pack__list li:first-child { color: var(--ink); }
.pack__price { margin-top: 14px; padding-top: 14px; box-shadow: 0 -1px 0 rgba(245,239,230,0.1); font-size: 14px; font-weight: 600; color: var(--muted); }
.pack--full { background: linear-gradient(160deg, rgba(243,112,33,0.28), rgba(196,80,42,0.12) 55%, rgba(255,255,255,0.03)); }
.pack--full .pack__price { color: var(--champ-hi); }
.packs__cta { margin-top: 36px; text-align: center; }
@media (max-width: 900px) { .packs__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ================= PACCHETTI: una sola nota sul prezzo ================= */
.packs__note { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.packs__note p { color: var(--muted); max-width: 46ch; }
.pack__price { color: var(--ink); }



/* ================= FASCE =================
   Ogni sezione è una fascia a tutta larghezza; il fondo si alterna
   (nero e marrone scurissimo) così si capisce dove inizia e finisce ogni parte. */
:root { --band: #1c1610; --band-pad: clamp(72px, 9vw, 136px); }
main section.band { margin-top: 0 !important; margin-bottom: 0 !important; padding-block: var(--band-pad); position: relative; }
main section.band { --fill: var(--bg); background: var(--fill); box-shadow: 0 0 0 100vmax var(--fill); clip-path: inset(0 -100vmax); }
main section.band--alt { --fill: var(--band); }
.cue + section.band, .hero + section.band { margin-top: clamp(40px, 6vw, 72px) !important; }
main.page > section.band:first-of-type { margin-top: clamp(110px, 15vh, 160px) !important; }
.pagehead + section.band { margin-top: clamp(40px, 6vw, 80px) !important; }
main section.band.services { padding-block: 0; }
main section.band.services .services__copy::before { content: none; }
.band + .next { margin-top: clamp(64px, 8vw, 110px); }
.foot { margin-top: 0; }
section.band:last-of-type + .foot, main > section.band:last-child { margin-bottom: 0; }

/* invito a scorrere sotto l'apertura */
.cue { display: flex; flex-direction: column; align-items: center; gap: 10px; width: fit-content; margin: clamp(36px, 5vw, 64px) auto 0; text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.cue i { width: 11px; height: 11px; border-right: 2px solid var(--champ-hi); border-bottom: 2px solid var(--champ-hi); transform: rotate(45deg); animation: cue-bounce 1.8s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
@media (hover: hover) and (pointer: fine) { .cue:hover { color: var(--ink); } }
@media (prefers-reduced-motion: reduce) { .cue i { animation: none; } }

@keyframes cue-bounce { 0%, 100% { transform: translateY(-4px) rotate(45deg); opacity: 0.5; } 50% { transform: translateY(4px) rotate(45deg); opacity: 1; } }
/* niente scheda dentro la scheda */
main section.band .swap__panel { background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding-left: 0; padding-right: 0; }
main section.band .swap__panel::before, main section.band .swap__panel::after { content: none; }
@media (max-width: 720px) { main section.band .swap__panel { padding-top: 6px; } }
.explore__list a { text-align: left; }
