/* b.css - "Versione B" (prova di concept, non indicizzata).
   Concept: il prodotto vero in vetrina. La prima schermata per i clienti è una ricerca reale dei
   saloni, con mappa e dati veri; quella per i saloni è un'agenda dove si vede arrivare una
   prenotazione online. Le animazioni nascono da un'azione, non da effetti di comparsa.

   Carattere: Axiforma (Monotype), scelto con FontGPT. È commerciale: finché non ci sono i file con
   licenza in /fonts, il sito usa Sora, gratuito e dello stesso stile geometrico. Per attivare
   Axiforma basta aggiungere qui le @font-face con i .woff2 licenziati: lo stack resta uguale. */

:root {
  --bg: #fbf8f7;
  --white: #ffffff;
  --plum: #24161f;
  --plum-2: #3a2733;
  --rose: #e09fad;
  --rose-50: #fbeef1;
  --rose-100: #f5dbe1;
  --gold: #d4af37;
  --gold-text: #7a5f0e;
  --green: #1d7a3c;
  --green-50: #e4f3e9;
  --text: #24161f;
  --muted: #64575f;
  --line: #ebe2e5;
  --line-strong: #d9ccd1;

  --font: "Axiforma", "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-card: 22px;
  --r-ctrl: 14px;
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --shadow: 0 1px 2px rgba(36, 22, 31, .06), 0 12px 32px rgba(36, 22, 31, .08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; border-radius: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tipografia ---------- */
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; }
.h1 { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.05; font-weight: 700; }
.h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; font-weight: 700; max-width: 20ch; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 54ch; margin: 16px 0 0; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }

/* ---------- pulsanti e campi ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15.5px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; }
.btn-plum { background: var(--plum); color: #fff; }
.btn-plum:hover { background: var(--plum-2); }
.btn-rose { background: var(--rose); color: var(--plum); }
.btn-rose:hover { background: #e9b2bf; }
.btn-line { border-color: var(--line-strong); background: var(--white); }
.btn-line:hover { border-color: var(--plum); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.link:hover { text-decoration-color: var(--rose); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 247, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; margin-right: auto; white-space: nowrap; }
.brand img { width: 32px; height: 32px; object-fit: contain; }
.brand small { font-size: inherit; font-weight: 500; color: var(--muted); }
.menu { display: flex; gap: 4px; }
.menu a { padding: 9px 12px; border-radius: 10px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); }
.menu a:hover { color: var(--text); background: var(--rose-50); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; }
.menu-panel { display: none; border-top: 1px solid var(--line); background: var(--white); padding: 8px var(--gutter) 16px; }
.menu-panel a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.header.open .menu-panel { display: block; }
@media (max-width: 860px) { .menu { display: none; } .menu-btn { display: inline-flex; } .header .btn { display: none; } }

/* =====================================================================
   CLIENTI: ricerca reale nella prima schermata
   ===================================================================== */
.finder-sec { padding: 44px 0 72px; }
.finder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; align-items: start; }
.finder-copy .h1 { max-width: 13ch; }
.finder-copy .lead { margin-bottom: 26px; }
.search { display: flex; gap: 8px; padding: 6px; background: var(--white); border: 1.5px solid var(--line-strong); border-radius: 18px; box-shadow: var(--shadow); transition: border-color .2s; }
.search:focus-within { border-color: var(--plum); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 12px; font-size: 16.5px; outline: none; }
.search .btn { min-height: 46px; }
.geo { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 6px 2px; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.geo svg { width: 18px; height: 18px; color: var(--gold-text); }
.finder-note { margin: 18px 0 10px; font-size: 14.5px; color: var(--muted); min-height: 22px; }
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.result { width: 100%; display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; background: var(--white); border: 1.5px solid var(--line); border-radius: 18px; cursor: pointer; text-align: left; transition: border-color .2s, transform .2s var(--spring); }
.result:hover { border-color: var(--line-strong); }
.result[aria-pressed="true"] { border-color: var(--plum); }
.result img, .result .ph { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; background: var(--rose-100); }
.result .ph { display: grid; place-items: center; font-weight: 700; font-size: 22px; }
.result strong { display: block; font-size: 16.5px; letter-spacing: -0.01em; }
.result small { display: block; color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result .meta { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.stage { position: relative; border-radius: 26px; overflow: hidden; background: var(--rose-50); border: 1px solid var(--line); min-height: 640px; box-shadow: var(--shadow); }
.map { position: absolute; inset: 0; z-index: 1; }
.map-msg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 15px; }
.leaflet-container { font-family: var(--font); }
.pin { width: 38px; height: 38px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--plum); border: 3px solid #fff; box-shadow: 0 6px 14px rgba(36, 22, 31, .35); transition: background .2s, transform .3s var(--spring); }
.pin.on { background: var(--rose); transform: rotate(-45deg) scale(1.2); }
/* anteprima del salone scelto: dati veri da get_salon_details e get_salon_services */
.preview { position: absolute; left: 14px; right: 14px; bottom: 14px; max-width: 520px; z-index: 5; background: var(--white); border-radius: 20px; box-shadow: 0 20px 50px rgba(36, 22, 31, .22); padding: 16px; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; transform: translateY(calc(100% + 20px)); transition: transform .55s var(--spring); }
.preview.show { transform: none; }
.preview .pic { width: 112px; height: 112px; border-radius: 14px; object-fit: cover; background: var(--rose-100); }
.preview h2 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; }
.status { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 2px; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--rose-50); color: var(--muted); }
.status.open { background: var(--green-50); color: var(--green); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.preview .when { font-size: 13.5px; color: var(--muted); margin: 0 0 8px; }
.svc { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 4px; }
.svc li { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 6px 0; border-top: 1px solid var(--line); }
.svc span { color: var(--muted); white-space: nowrap; }
.preview .btn { min-height: 44px; }
@media (max-width: 960px) {
  .finder-grid { grid-template-columns: minmax(0, 1fr); }
  .stage { min-height: 440px; order: 3; }
  .finder-copy { order: 1; }
}
@media (max-width: 520px) {
  .stage { min-height: 520px; }
  .preview { grid-template-columns: minmax(0, 1fr); }
  .preview .pic { width: 100%; height: 120px; min-height: 0; }
}

/* ---------- come funziona: la prenotazione, passaggio per passaggio ---------- */
.demo { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.steps { display: grid; gap: 6px; counter-reset: s; }
.steps button { width: 100%; text-align: left; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; padding: 16px 18px; border-radius: 18px; border: 1.5px solid transparent; background: transparent; cursor: pointer; transition: background .2s, border-color .2s; }
.steps button { counter-increment: s; }
.steps button::before { content: counter(s); grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--rose-50); color: var(--plum); transition: background .2s, color .2s; }
.steps strong { font-size: 18px; letter-spacing: -0.02em; }
.steps span { color: var(--muted); font-size: 15px; }
.steps button[aria-selected="true"] { background: var(--white); border-color: var(--line); box-shadow: var(--shadow); }
.steps button[aria-selected="true"]::before { background: var(--plum); color: #fff; }
.screen { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); padding: 22px; min-height: 400px; overflow: hidden; }
.screen-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 13.5px; color: var(--muted); }
.screen-bar b { color: var(--text); font-size: 15px; }
.dots { display: flex; gap: 5px; }
.dots i { width: 22px; height: 5px; border-radius: 9px; background: var(--line); transition: background .3s; }
.dots i.on { background: var(--plum); }
.pane { position: absolute; left: 22px; right: 22px; top: 64px; opacity: 0; transform: translateX(24px); transition: opacity .35s ease, transform .5s var(--ease); pointer-events: none; }
.pane.on { opacity: 1; transform: none; pointer-events: auto; }
.pane.off-left { transform: translateX(-24px); }
.ui-input { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1.5px solid var(--line-strong); border-radius: 14px; font-size: 15.5px; }
.ui-input svg { width: 18px; height: 18px; color: var(--muted); }
.typed::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--plum); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ui-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.ui-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 14px; font-size: 15px; }
.ui-list li.sel { border-color: var(--plum); background: var(--rose-50); }
.ui-list small { color: var(--muted); font-size: 13.5px; }
.ui-people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ui-person { text-align: center; padding: 16px 8px; border: 1.5px solid var(--line); border-radius: 16px; font-size: 14.5px; font-weight: 600; }
.ui-person i { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%; background: var(--rose-100); font-style: normal; font-weight: 700; font-size: 19px; }
.ui-person.sel { border-color: var(--plum); background: var(--rose-50); }
.ui-person.any i { background: var(--white); border: 1.5px dashed var(--line-strong); }
.ui-days { display: flex; gap: 8px; margin-bottom: 14px; }
.ui-days span { flex: 1; text-align: center; padding: 10px 4px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 13.5px; }
.ui-days span.sel { background: var(--plum); color: #fff; border-color: var(--plum); }
.ui-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-slots span { text-align: center; padding: 12px 0; border: 1.5px solid var(--line); border-radius: 12px; font-size: 14.5px; font-weight: 600; }
.ui-slots span.off { color: #b9adb3; text-decoration: line-through; border-style: dashed; }
.ui-slots span.sel { background: var(--rose); border-color: var(--rose); }
.ui-done { text-align: center; padding: 18px 0 0; }
.ui-check { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; }
.ui-check svg { width: 38px; height: 38px; }
.ui-check path { stroke-dasharray: 30; stroke-dashoffset: 30; }
.pane.on .ui-check path { animation: draw .6s .25s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ui-done strong { display: block; font-size: 21px; letter-spacing: -0.02em; }
.ui-sum { margin: 18px 0 0; padding: 0; list-style: none; text-align: left; }
.ui-sum li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.ui-sum span { color: var(--muted); }
@media (max-width: 900px) { .demo { grid-template-columns: minmax(0, 1fr); } .screen { min-height: 440px; } }

/* ---------- vantaggi, app, invito ---------- */
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.perk .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--rose-50); color: var(--plum); margin-bottom: 16px; }
.perk .ic svg { width: 22px; height: 22px; }
.perk h3 { font-size: 18.5px; letter-spacing: -0.02em; margin-bottom: 8px; }
.perk p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .perks { grid-template-columns: minmax(0, 1fr); } }
.app-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; background: var(--plum); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 56px); }
.app-card .h2 { color: #fff; }
.app-card p { color: #d8cbd2; max-width: 46ch; margin: 14px 0 26px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stores img { height: 44px; width: auto; }
.qr { width: 160px; padding: 12px; background: #fff; border-radius: 20px; }
@media (max-width: 760px) { .app-card { grid-template-columns: minmax(0, 1fr); } .qr { display: none; } }
.band { background: var(--rose-100); border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.band p { margin: 10px 0 0; color: #4d3f47; max-width: 52ch; }
@media (max-width: 760px) { .band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background-color: var(--rose-50); background-image: linear-gradient(var(--plum), var(--plum)), linear-gradient(var(--plum), var(--plum)); background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; max-width: 64ch; color: var(--muted); }
.faq a { color: inherit; }

/* ---------- footer ---------- */
.footer { background: var(--plum); color: #fff; padding: 64px 0 28px; margin-top: 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-top > div:first-child { max-width: 34ch; }
.footer-top p { color: #d8cbd2; margin: 12px 0 0; font-size: 15px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-cols h2 { font-size: 14px; font-weight: 600; color: var(--rose); margin: 0 0 12px; letter-spacing: 0; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-cols a { color: #d8cbd2; text-decoration: none; font-size: 15px; }
.footer-cols a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: #d8cbd2; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; }
.footer-legal a, .footer-legal button { color: #d8cbd2; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- banner cookie ---------- */
#cookieBanner { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 200; max-width: 760px; margin: 0 auto; background: var(--plum); color: #fff; border-radius: 20px; padding: 16px 18px; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); }
#cookieBanner .in { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
#cookieBanner .txt { flex: 1; min-width: 220px; font-size: 14px; line-height: 1.55; color: #e3d7dd; }
#cookieBanner a { color: var(--rose); }
#cookieBanner .btns { display: flex; gap: 8px; }
#cookieBanner button { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #fff; background: transparent; color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; }

/* =====================================================================
   SALONI: l'agenda che riceve una prenotazione online
   ===================================================================== */
.o-hero { padding: 48px 0 80px; }
.o-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.o-copy .h1 { max-width: 14ch; }
.o-copy .lead { margin-bottom: 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.o-note { margin: 16px 0 0; font-size: 14.5px; color: var(--muted); }
.agenda { background: var(--white); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); padding: 20px; }
.agenda-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.agenda-top strong { font-size: 19px; letter-spacing: -0.02em; }
.counters { display: flex; gap: 6px; flex-wrap: wrap; }
.counter { font-size: 13px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); white-space: nowrap; }
.counter b { font-variant-numeric: tabular-nums; }
.counter.hi { background: var(--green-50); border-color: transparent; color: var(--green); }
.ag { display: grid; grid-template-columns: 42px repeat(3, minmax(0, 1fr)); gap: 0 8px; }
.ag-head { font-size: 13.5px; font-weight: 600; text-align: center; padding-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.ag-head i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11.5px; background: var(--rose-100); }
.hours { display: grid; grid-template-rows: repeat(6, 54px); font-size: 12px; color: var(--muted); }
.hours span { border-top: 1px solid var(--line); padding-top: 2px; }
.col { position: relative; height: 324px; border-radius: 12px; background: repeating-linear-gradient(180deg, transparent 0 53px, var(--line) 53px 54px), var(--bg); }
.appt { position: absolute; left: 4px; right: 4px; border-radius: 10px; padding: 6px 8px; font-size: 12px; line-height: 1.25; overflow: hidden; background: var(--rose-100); border-left: 4px solid var(--rose); }
.appt b { display: block; font-size: 12.5px; }
.appt.gold { background: #f6ecc8; border-left-color: var(--gold); }
.appt.web { background: var(--green-50); border-left-color: var(--green); animation: land .8s var(--spring) both; }
.appt.short { display: flex; align-items: center; gap: 5px; white-space: nowrap; padding-top: 3px; padding-bottom: 3px; }
.appt.short b { display: inline; }
@keyframes land { 0% { opacity: 0; transform: translateY(-26px) scale(.9); } 60% { opacity: 1; } }
.agenda-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.toast { font-size: 13.5px; color: var(--green); font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease); }
.toast.show { opacity: 1; transform: none; }
@media (max-width: 960px) { .o-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .agenda { padding: 14px; } .ag { grid-template-columns: 34px repeat(3, minmax(0, 1fr)); gap: 0 5px; } .appt { font-size: 10.5px; padding: 5px; } .appt b { font-size: 11px; } }

/* ---------- zero commissioni: calcolatore e scontrino ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.calc-controls { display: grid; gap: 24px; margin-top: 34px; max-width: 460px; }
.calc-field { display: grid; gap: 10px; }
.calc-field > span { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-weight: 600; }
.calc-field output { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc-field input[type="range"] { width: 100%; accent-color: var(--plum); height: 28px; cursor: pointer; }
.receipt { margin: 0; justify-self: center; width: min(100%, 410px); background: #fff; padding: 28px 28px 44px; box-shadow: var(--shadow); transform: rotate(-1.2deg);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 12px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 12px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 12px repeat-x; }
.receipt-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1.5px dashed var(--line-strong); font-weight: 700; font-size: 15px; }
.receipt-head img { width: 32px; height: 32px; object-fit: contain; }
.receipt-rows { margin: 0; padding: 6px 0; border-bottom: 1.5px dashed var(--line-strong); }
.receipt-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: 15px; }
.receipt-rows dt { color: var(--muted); }
.receipt-rows dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt-rows .is-struck dd { text-decoration: line-through; text-decoration-color: var(--rose); text-decoration-thickness: 3px; color: var(--muted); }
.receipt-rows .is-ours dt { color: var(--text); font-weight: 600; }
.receipt-total { margin: 20px 0 14px; }
.receipt-total span { display: block; font-size: 14.5px; color: var(--muted); }
.receipt-total strong { font-size: clamp(46px, 5vw, 62px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.receipt figcaption { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr); } .receipt { transform: none; } }

/* ---------- schermate reali, a schede ---------- */
.shots { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.tabs { display: grid; gap: 6px; margin-top: 28px; }
.tabs button { text-align: left; padding: 16px 18px; border-radius: 16px; border: 1.5px solid transparent; background: transparent; cursor: pointer; }
.tabs button strong { display: block; font-size: 17.5px; letter-spacing: -0.02em; }
.tabs button span { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; }
.tabs button[aria-selected="true"] { background: var(--white); border-color: var(--line); box-shadow: var(--shadow); }
.shot-frame { position: relative; aspect-ratio: 640 / 853; max-width: 470px; justify-self: center; width: 100%; border-radius: 26px; overflow: hidden; background: var(--rose-50); box-shadow: var(--shadow); }
.shot-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .45s ease, transform .6s var(--ease); }
.shot-frame img.on { opacity: 1; transform: none; }
@media (max-width: 900px) { .shots { grid-template-columns: minmax(0, 1fr); } }

/* ---------- funzioni ---------- */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 40px; }
.feat .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--rose-50); color: var(--plum); margin-bottom: 14px; }
.feat .ic svg { width: 22px; height: 22px; }
.feat h3 { font-size: 18.5px; letter-spacing: -0.02em; margin-bottom: 8px; }
.feat p { margin: 0; color: var(--muted); font-size: 15.5px; }
.tag { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--rose-100); font-size: 12px; font-weight: 700; vertical-align: 2px; letter-spacing: 0; }
@media (max-width: 900px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feats { grid-template-columns: minmax(0, 1fr); } }

/* ---------- niente asterischi ---------- */
.rules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rules li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rules s { color: var(--muted); text-decoration-color: var(--rose); text-decoration-thickness: 3px; }
.rules span { font-weight: 700; font-size: clamp(18px, 1.8vw, 21px); letter-spacing: -0.02em; }
@media (max-width: 760px) { .rules li { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* ---------- per chi ---------- */
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.who a { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; background: var(--white); border: 1.5px solid var(--line); text-decoration: none; transition: border-color .2s; }
.who a:hover { border-color: var(--plum); }
.who strong { font-size: 18px; letter-spacing: -0.02em; }
.who span { color: var(--muted); font-size: 15px; }
.who em { margin-top: auto; padding-top: 8px; font-style: normal; font-weight: 600; font-size: 14.5px; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 960px) { .who { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .who { grid-template-columns: minmax(0, 1fr); } }

/* ---------- prezzi ---------- */
.billing { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-strong); margin-bottom: 34px; }
.billing button { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .25s, color .25s; }
.billing button[aria-pressed="true"] { background: var(--plum); color: #fff; }
.billing em { font-style: normal; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--rose); color: var(--plum); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--white); border: 1.5px solid var(--line); border-radius: 24px; padding: 30px 26px; display: flex; flex-direction: column; }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 30px; }
.plan h3 { font-size: 19px; font-weight: 700; }
.plan-flag { font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--rose); }
.plan-price { margin: 18px 0 4px; font-size: clamp(40px, 4vw, 52px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 14.5px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.plan-note { font-size: 13.5px; color: var(--muted); min-height: 22px; margin: 0 0 14px; }
.plan-desc { color: var(--muted); margin: 0 0 18px; font-size: 15.5px; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.plan li svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; color: var(--green); }
.plan li.plus { font-weight: 700; }
.plan .btn { width: 100%; }
.plan-hi { border-color: var(--plum); box-shadow: var(--shadow); }
.plans-foot { margin: 22px 0 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 980px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; }
  .typed::after { animation: none; }
}
@media (max-width: 480px) { .appt, .appt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }

/* pulsanti degli store nel footer */
.footer-apps { padding: 0 0 30px; }
.footer-apps h2 { font-size: 14px; font-weight: 600; color: var(--rose); margin: 0 0 14px; letter-spacing: 0; }
/* scontrino: il totale è tutto l'incasso, sotto il confronto con un marketplace */
.receipt-total em { display: block; margin-top: 8px; font-style: normal; font-size: 14.5px; color: var(--muted); }
.receipt-total em b { color: var(--text); font-variant-numeric: tabular-nums; }

/* ---------- assistente AI: chat d'esempio ---------- */
.ai { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.ai-can { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.ai-can li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.ai-can svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; color: var(--green); }
.chat { background: var(--white); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; height: 560px; overflow: hidden; }
.chat-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.chat-top b { font-size: 16px; color: var(--text); }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 18px 6px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { margin: 0; max-width: 86%; padding: 11px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; animation: msg-in .35s var(--ease) both; }
.msg.bot { background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg.me { background: var(--plum); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }
.msg ul { margin: 6px 0 0; padding-left: 18px; }
.msg.dots { display: inline-flex; gap: 5px; padding: 14px 16px; }
.msg.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: bounce 1s infinite; }
.msg.dots i:nth-child(2) { animation-delay: .15s; }
.msg.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 80%, 100% { transform: none; opacity: .4; } 40% { transform: translateY(-4px); opacity: 1; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.proposal { align-self: flex-start; width: 86%; border: 1.5px solid var(--plum); border-radius: 18px; padding: 14px; background: var(--white); animation: msg-in .35s var(--ease) both; }
.proposal strong { display: block; font-size: 15px; margin-bottom: 4px; }
.proposal p { margin: 0 0 12px; font-size: 14.5px; color: var(--muted); }
.proposal .row { display: flex; gap: 8px; }
.proposal .btn { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.proposal.closed { opacity: .6; border-color: var(--line-strong); }
.chat-suggest { display: flex; gap: 8px; padding: 10px 18px; overflow-x: auto; scrollbar-width: none; }
.chat-suggest::-webkit-scrollbar { display: none; }
.chat-suggest button { flex: 0 0 auto; border: 1.5px solid var(--line-strong); background: var(--white); border-radius: 999px; padding: 9px 14px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.chat-suggest button:hover { border-color: var(--plum); }
.chat-suggest button:disabled { opacity: .45; cursor: default; }
.chat-input { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 14px 14px; padding: 8px 8px 8px 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; color: var(--muted); font-size: 15px; }
.mic { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--rose); color: var(--plum); cursor: pointer; display: grid; place-items: center; flex: 0 0 auto; }
.mic svg { width: 20px; height: 20px; }
.mic.on { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(224, 159, 173, .6); } 50% { box-shadow: 0 0 0 10px rgba(224, 159, 173, 0); } }
@media (max-width: 960px) { .ai { grid-template-columns: minmax(0, 1fr); } .chat { height: 520px; } }
/* il link verso l'altro pubblico (clienti <-> saloni) si distingue dal resto del menu */
.menu a.switch, .menu-panel a.switch { color: var(--rose-text); font-weight: 600; }
.menu a.switch:hover { color: var(--rose-text); background: var(--rose-50); }
.footer-cols a.switch { color: var(--rose); }
:root { --rose-text: #a3405a; }

/* prezzo di lancio */
.launch { margin: 0 0 22px; padding: 14px 18px; border-radius: 16px; background: #f6ecc8; border: 1px solid rgba(212, 175, 55, .55); max-width: 720px; font-size: 15px; line-height: 1.55; }
.plan-flag.launch { margin: 0; padding: 4px 11px; border: 0; background: var(--plum); color: #fff; max-width: none; font-size: 12.5px; }


/* selettore di lingua: mostra la lingua attuale, il menu propone solo l'altra */
.lang-sel { position: relative; }
.lang-cur { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 8px 0 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--white); font-weight: 700; font-size: 13.5px; cursor: pointer; }
.lang-cur svg { width: 16px; height: 16px; transition: transform .2s; }
.lang-cur[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang-cur:hover { border-color: var(--plum); }
.lang-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 70; min-width: 150px; margin: 0; padding: 6px; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.lang-list a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; }
.lang-list a:hover, .lang-list a:focus-visible { background: var(--rose-50); }
