/* QRME — stile unico (sito, pannello, pagina pubblica). Prefisso classi: q- (comuni), hm- (home), au- (accesso), db- (pannello), pp- (profilo pubblico). */
:root {
  --coral: #FF5A3C; --coral-d: #E8432A; --coral-l: #FFE4DC;
  --ink: #16161D; --ink-2: #4A4A55; --ink-3: #8A8A95;
  --cream: #FFF8F2; --sand: #F3E9DF; --line: #EADFD3; --white: #FFFFFF;
  --mint: #2EC4A6; --red: #D93025;
  --r: 16px; --r-sm: 10px;
  --shadow-base: 0 1px 2px rgba(22,22,29,.04), 0 8px 24px -12px rgba(22,22,29,.18);
  --shadow: var(--shadow-base); --on-accent: #FFFFFF;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Nunito, ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--cream); }
a { color: var(--coral-d); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 900; letter-spacing: -.01em; }
img { max-width: 100%; }

/* ---------- Comuni ---------- */
.q-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; max-width: 1120px; margin: 0 auto; }
.q-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 900; font-size: 24px; letter-spacing: -.5px; }
.q-brand small { color: var(--coral); font-size: 15px; letter-spacing: 0; }
.q-nav { display: flex; align-items: center; gap: 16px; }
.q-nav a { color: var(--ink); text-decoration: none; font-weight: 700; }
.q-nav form { margin: 0; }
.q-main { max-width: 1120px; margin: 0 auto; padding: 8px 16px 64px; }
.q-foot { max-width: 1120px; margin: 0 auto; padding: 24px 16px 40px; display: flex; justify-content: space-between; color: var(--ink-3); font-size: 14px; border-top: 1px solid var(--line); }
.q-langs { display: inline-flex; gap: 10px; }
.q-langs a { color: var(--ink-3); text-decoration: none; font-weight: 700; }
.q-langs a[aria-current] { color: var(--ink); }

.q-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 2px solid var(--coral); background: var(--coral); color: var(--on-accent); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .12s, background .12s; white-space: nowrap; }
.q-btn:hover { background: var(--coral-d); border-color: var(--coral-d); }
.q-btn:active { transform: scale(.97); }
.q-btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.q-btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.q-btn-sm { padding: 7px 14px; font-size: 14px; }
.q-btn-lg { padding: 15px 26px; font-size: 17px; }
.q-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--coral-d); cursor: pointer; }
.q-nav .q-link { color: var(--ink-2); }
.q-danger { color: var(--red); }
.q-icon { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); font: inherit; font-weight: 800; cursor: pointer; color: var(--ink-2); }
.q-icon:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.q-icon:disabled { opacity: .35; cursor: default; }
.q-icon.q-danger:hover { border-color: var(--red); color: var(--red); }

.q-flash { max-width: 1120px; margin: 0 auto 12px; padding: 12px 16px; border-radius: var(--r-sm); background: #E3F7F2; color: #0F5E4F; font-weight: 700; }
.q-main .q-flash, .au .q-flash { margin: 0 0 16px; }
.q-top + .q-flash { margin-left: 16px; margin-right: 16px; }
@media (min-width: 1152px) { .q-top + .q-flash { margin-left: auto; margin-right: auto; } }
.q-flash-err { background: #FDE8E5; color: #8E1F12; }

.q-form { display: grid; gap: 14px; }
.q-form-2 { grid-template-columns: 1fr 1fr; }
.q-span2 { grid-column: 1 / -1; }
.q-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.q-form small { font-weight: 600; color: var(--ink-3); }
input, textarea, select { width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 11px 13px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white); }
input:focus, textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-l); }
.q-pw { position: relative; display: block; }
.q-pw input { padding-right: 48px; }
.q-pw-eye { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); cursor: pointer; transition: color .2s, background .2s; }
.q-pw-eye:hover { color: var(--ink); background: var(--sand, #F3E9DF); }
.q-pw-eye:focus-visible { outline: 2px solid var(--coral); outline-offset: 1px; }
.q-pw-eye[aria-pressed="true"] { color: var(--coral); }
textarea { resize: vertical; }
.q-prefixed { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white); overflow: hidden; }
.q-prefixed:focus-within { border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-l); }
.q-prefixed span { display: flex; align-items: center; padding: 0 2px 0 13px; color: var(--ink-3); font-weight: 700; }
.q-prefixed input { border: 0; box-shadow: none !important; padding-left: 2px; }
.q-check { display: flex !important; grid-template-columns: none; align-items: center; gap: 10px !important; font-weight: 600 !important; }
.q-check input { width: 20px; height: 20px; accent-color: var(--coral); flex: 0 0 auto; }
.q-locked { opacity: .55; }
.q-err { font-style: normal; color: var(--red); font-weight: 700; font-size: 13px; }

/* ---------- Home ---------- */
.hm-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 40px 0 56px; }
.hm-kicker { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px; background: var(--coral-l); color: var(--coral-d); font-weight: 900; font-size: 13px; letter-spacing: .08em; }
.hm-hero h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -.03em; }
.hm-lead { font-size: 19px; color: var(--ink-2); max-width: 34em; margin: 0 0 26px; }
.hm-claim { display: flex; align-items: center; gap: 0; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 5px 5px 5px 20px; max-width: 480px; }
.hm-prefix { font-weight: 800; color: var(--ink-2); }
.hm-claim input { border: 0; padding: 10px 6px 10px 1px; box-shadow: none !important; font-weight: 800; min-width: 0; }
.hm-note { color: var(--ink-3); font-size: 14px; margin: 10px 0 0 20px; }
.hm-visual { position: relative; height: 420px; }
.hm-phone { position: absolute; right: 70px; top: 0; width: 230px; height: 410px; border-radius: 36px; background: var(--white); border: 8px solid var(--ink); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; padding: 36px 18px; gap: 6px; text-align: center; }
.hm-phone strong { font-size: 17px; }
.hm-phone span { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.hm-phone .pp-avatar { width: 64px; height: 64px; font-size: 22px; margin-bottom: 6px; }
.hm-bar { display: block; width: 100%; height: 38px; border-radius: 12px; background: var(--sand); margin-top: 6px; }
.hm-bar-c { background: var(--coral); }
.hm-card { position: absolute; left: 0; bottom: 20px; width: 250px; height: 158px; border-radius: 16px; background: var(--coral); box-shadow: 0 24px 40px -20px rgba(232,67,42,.7); transform: rotate(-8deg); padding: 20px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.hm-card b { align-self: flex-end; font-size: 13px; letter-spacing: .1em; }
.hm-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 8px 0 56px; }
.hm-feats article { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.hm-feats h3 { font-size: 19px; }
.hm-feats p { margin: 0; color: var(--ink-2); }
.hm-pricing h2 { font-size: 36px; text-align: center; margin-bottom: 28px; }
.hm-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.hm-plan { position: relative; background: var(--white); border: 1.5px solid var(--line); border-radius: 22px; padding: 28px 24px; display: flex; flex-direction: column; }
.hm-plan-hl { border: 2.5px solid var(--coral); box-shadow: var(--shadow); }
.hm-tag { position: absolute; top: -13px; left: 24px; background: var(--coral); color: #fff; font-size: 12px; font-weight: 900; padding: 3px 12px; border-radius: 999px; }
.hm-plan h3 { font-size: 22px; }
.hm-price { font-size: 38px; font-weight: 900; margin: 0 0 14px; letter-spacing: -.02em; }
.hm-price small { font-size: 15px; color: var(--ink-3); font-weight: 700; letter-spacing: 0; }
.hm-plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.hm-plan li { padding-left: 26px; position: relative; color: var(--ink-2); font-weight: 600; }
.hm-plan li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; margin-top: 2px; border-radius: 6px; background: var(--mint); color: #fff; font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.hm-plan .q-btn { margin-top: auto; }
.hm-cards-note { text-align: center; color: var(--ink-3); margin-top: 22px; }
.hm-launch-sub { text-align: center; color: var(--ink-2); font-size: 18px; margin: -14px auto 28px; max-width: 36em; }
.hm-launch { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; align-items: stretch; max-width: 900px; margin: 0 auto; }
.hm-cards { background: var(--ink); color: var(--cream); border-radius: 22px; padding: 28px 24px; }
.hm-cards h3 { font-size: 22px; }
.hm-cards-sub { color: #C9C4BF; margin: 0 0 16px; }
.hm-cards ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hm-cardrow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.06); font-weight: 700; }
.hm-cardrow i { width: 34px; height: 22px; border-radius: 4px; flex: 0 0 auto; background: var(--coral); }
.hm-mat-wood i { background: linear-gradient(135deg, #C89B6D, #9C6B3F); }
.hm-mat-metal i { background: linear-gradient(135deg, #E6E6E8, #8E8E96); }
.hm-mat-sticker i { width: 22px; border-radius: 50%; background: var(--mint); }
.hm-mat-keychain i { width: 22px; height: 28px; border-radius: 8px 8px 11px 11px; background: var(--sand); }
.hm-cardrow span { flex: 1; }
.hm-cardrow b { font-size: 18px; font-weight: 900; }
.hm-cards .hm-cards-note { color: #9A958F; text-align: left; margin: 14px 0 0; font-size: 13px; }

/* ---------- Accesso / errori ---------- */
.au { max-width: 440px; margin: 32px auto; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px; box-shadow: var(--shadow); }
.au h1 { font-size: 30px; }
.au-sub { color: var(--ink-2); margin: -4px 0 20px; }
.au .q-btn-lg { width: 100%; margin-top: 4px; }
.au-alt { text-align: center; color: var(--ink-2); margin: 18px 0 0; }
.au-face { display: block; margin: 0 auto 14px; }
.au-choice { display: grid; gap: 10px; }
.au-error { text-align: center; }
.au-code { font-size: 64px; font-weight: 900; color: var(--coral); margin: 0; line-height: 1; }
.au-error h1 { font-size: 22px; margin: 12px 0 22px; }

/* ---------- Pannello ---------- */
.db-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin: 8px 0 22px; }
.db-head h1 { font-size: 32px; margin-bottom: 4px; }
.db-head p { margin: 0; color: var(--ink-2); font-weight: 600; }
.db-head p a { font-weight: 800; }
.db-plan { padding: 6px 14px; border-radius: 999px; font-weight: 900; font-size: 13px; background: var(--sand); text-transform: uppercase; letter-spacing: .06em; }
.db-plan-pro, .db-plan-business { background: var(--coral); color: #fff; }
.db-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.db-col { display: grid; gap: 20px; min-width: 0; }
.db-side { display: grid; gap: 20px; position: sticky; top: 16px; }
.db-box { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px; min-width: 0; }
.db-box h2 { font-size: 20px; }
.db-box-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.db-count { color: var(--ink-3); font-weight: 700; font-size: 14px; }
.db-group { border: 1.5px solid var(--sand); border-radius: var(--r); padding: 16px; margin-bottom: 14px; }
.db-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.db-group-head h3 { font-size: 17px; margin: 0 0 10px; }
.db-group-head form { margin: 0; }
.db-slug { font-size: 13px; font-weight: 700; color: var(--ink-3); margin-left: 6px; text-decoration: none; }
.db-links { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.db-links li { display: flex; align-items: center; gap: 6px; padding: 8px 8px 8px 12px; background: var(--cream); border-radius: 12px; }
.db-links form { margin: 0; }
.db-link-txt { flex: 1; min-width: 0; display: grid; }
.db-link-txt strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.db-link-txt span { font-size: 13px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.db-clicks { font-size: 13px; font-weight: 800; color: var(--ink-2); min-width: 28px; text-align: right; margin-right: 4px; }
.db-add { display: flex; gap: 8px; }
.db-add input { padding: 8px 12px; font-size: 15px; }
.db-add-group { margin-top: 4px; max-width: 420px; }
.db-qr { text-align: center; }
.db-qr-img { width: 220px; height: 220px; margin: 4px auto 8px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.db-qr-img svg { display: block; width: 100%; height: 100%; }
.db-qr-url { font-weight: 800; margin: 0; word-break: break-all; }
.db-hint { color: var(--ink-3); font-size: 13px; margin: 6px 0 12px; }
.db-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.db-stats div { background: var(--cream); border-radius: 12px; padding: 10px; text-align: center; }
.db-stats b { display: block; font-size: 24px; font-weight: 900; }
.db-stats span { font-size: 11px; color: var(--ink-3); font-weight: 700; line-height: 1.2; display: block; }
.db-src { list-style: none; padding: 0; margin: 0; }
.db-src li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); font-weight: 600; color: var(--ink-2); font-size: 14px; }
.db-src li:last-child { border-bottom: 0; }

/* ---------- Pagina pubblica ---------- */
.q-public { background: var(--cream); }
.pp { max-width: 560px; margin: 0 auto; padding: 32px 16px 40px; }
.pp-card { background: var(--white); border-radius: 28px; padding: 32px 24px 26px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--line); }
.pp-avatar { width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 30px; background: var(--coral); color: var(--on-accent); display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 900; letter-spacing: -1px; }
.pp-name { font-size: 30px; margin-bottom: 4px; }
.pp-headline { font-size: 17px; color: var(--ink-2); font-weight: 700; margin: 0 0 6px; }
.pp-meta { color: var(--ink-3); font-weight: 600; margin: 0 0 10px; font-size: 15px; }
.pp-loc::before { content: " · "; }
.pp-meta .pp-loc:first-child::before { content: ""; }
.pp-badge { display: inline-block; background: #E3F7F2; color: #0F5E4F; font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 999px; margin-bottom: 8px; }
.pp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 4px; }
.pp-bio { text-align: left; color: var(--ink-2); margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--sand); }
.pp-group { margin-top: 26px; }
.pp-group h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin: 0 0 10px 6px; font-weight: 900; }
.pp-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pp-link { display: flex; flex-direction: column; align-items: center; padding: 15px 18px; background: var(--white); border: 2px solid var(--ink); border-radius: 16px; text-decoration: none; color: var(--ink); transition: transform .12s, box-shadow .12s; }
.pp-link:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.pp-link-hl { background: var(--coral); border-color: var(--coral); color: var(--on-accent); }
.pp-link-hl:hover { box-shadow: 0 6px 0 var(--coral-d); }
.pp-link-label { font-weight: 800; font-size: 16px; }
.pp-link-host { font-size: 12px; opacity: .6; font-weight: 700; }
.pp-all { text-align: center; margin-top: 22px; font-weight: 800; }
.pp-foot { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 36px; color: var(--ink-3); font-size: 14px; }
.pp-made { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 800; text-decoration: none; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }

[hidden] { display: none !important; }
select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316161D' stroke-width='2'/%3E%3C/svg%3E") right 12px center/12px no-repeat; padding-right: 34px; }

/* ---------- Editor CV ---------- */
.cv-back { margin: 0 0 6px !important; font-size: 14px; }
.cv-back a { color: var(--ink-3); text-decoration: none; }
.cv-otw { margin: 4px 0 0; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
.cv-buttons { display: flex; gap: 10px; }
.cv-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.cv-list li { display: flex; align-items: center; gap: 6px; padding: 10px 10px 10px 14px; background: var(--cream); border-radius: 12px; }
.cv-list form { margin: 0; }
.cv-list-txt { flex: 1; min-width: 0; display: grid; }
.cv-list-txt strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-list-txt span { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.cv-hidden { opacity: .55; }
.cv-editing { outline: 2px solid var(--coral); }
.cv-edit { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.cv-chips { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.cv-chips li { display: inline-flex; align-items: center; gap: 2px; padding: 5px 6px 5px 12px; border-radius: 999px; background: var(--sand); font-weight: 700; font-size: 14px; }
.cv-chips form { margin: 0; }
.cv-chips button { border: 0; background: none; font: inherit; font-weight: 900; color: var(--ink-3); cursor: pointer; padding: 0 4px; }
.cv-chips button:hover { color: var(--red); }
.db-src form { margin: 0; }
.cv-lang-add { flex-wrap: wrap; }
.cv-lang-add select { flex: 1 1 120px; padding-top: 8px; padding-bottom: 8px; font-size: 15px; }

/* ---------- CV pubblico ---------- */
.cv { max-width: 820px; margin: 0 auto; padding: 20px 16px 48px; }
.cv-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cv-bar a { color: var(--ink-2); font-weight: 800; text-decoration: none; }
.cv-sheet { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 40px 44px; box-shadow: var(--shadow); }
.cv-head { display: flex; gap: 24px; align-items: flex-start; padding-bottom: 26px; border-bottom: 2px solid var(--ink); }
.cv-avatar { margin: 0; flex: 0 0 auto; }
.cv-head h1 { font-size: 36px; margin-bottom: 2px; }
.cv-headline { font-size: 18px; font-weight: 700; color: var(--ink-2); margin: 0 0 4px; }
.cv-meta { color: var(--ink-3); font-weight: 600; margin: 0 0 8px; }
.cv-contacts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 8px; font-weight: 700; font-size: 14px; }
.cv-contacts a { color: var(--coral-d); text-decoration: none; }
.cv-sec { padding-top: 24px; }
.cv-sec h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--coral-d); margin: 0 0 12px; }
.cv-items { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.cv-items li { position: relative; padding-left: 20px; }
.cv-items li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 3px; background: var(--coral); }
.cv-items li::after { content: ""; position: absolute; left: 4px; top: 22px; bottom: -14px; width: 1px; background: var(--line); }
.cv-items li:last-child::after { display: none; }
.cv-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 16px; flex-wrap: wrap; }
.cv-item-head h3 { font-size: 17px; margin: 0; }
.cv-when { font-size: 14px; color: var(--ink-3); font-weight: 700; white-space: nowrap; }
.cv-org { margin: 2px 0 0; font-weight: 700; color: var(--ink-2); }
.cv-text { margin: 6px 0 0; color: var(--ink-2); }
.cv-cred { margin: 4px 0 0; font-size: 14px; font-weight: 800; }
.cv-cred a { text-decoration: none; }
.cv-two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0 36px; }
.cv-chips-pub li { padding: 5px 12px; background: var(--cream); border: 1px solid var(--line); }
.cv-langs { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.cv-langs li { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; }
.cv-level { display: inline-flex; align-items: center; gap: 3px; }
.cv-level i { width: 10px; height: 10px; border-radius: 3px; background: var(--sand); }
.cv-level i.on { background: var(--coral); }
.cv-level small { margin-left: 8px; color: var(--ink-3); font-weight: 700; min-width: 3.2em; }
.cv-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; font-weight: 600; }
.cv-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); text-decoration: none; font-weight: 800; }
.pp-cv { margin-top: 10px; }

.au-wide { max-width: 760px; }
.au-wide h2 { font-size: 18px; margin-top: 26px; }
.au-wide p { color: var(--ink-2); }
.ck-table { overflow-x: auto; }
.ck-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ck-table th, .ck-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ck-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.ck-upd { font-size: 13px; color: var(--ink-3) !important; margin-top: 26px; }

/* ---------- Barre: demo e cookie ---------- */
.q-demo-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 10px 16px; background: var(--ink); color: var(--cream); font-weight: 700; font-size: 15px; box-shadow: 0 -8px 24px -12px rgba(22,22,29,.5); }
.q-demo-bar + .q-cookie, .q-cookie-up { bottom: 76px; }
body:has(.q-demo-bar) { padding-bottom: 64px; }
.q-cookie { position: fixed; left: 16px; bottom: 16px; z-index: 50; max-width: 420px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.q-cookie p { margin: 0; font-size: 14px; color: var(--ink-2); }
.q-cookie a { font-weight: 800; }
.q-foot a { color: var(--ink-3); }
.hm-demo { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 28px 32px; margin: 0 0 56px; }
.hm-demo h2 { font-size: 28px; }
.hm-demo p { color: var(--ink-2); margin: 0 0 18px; }
.hm-demo-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hm-demo-qr { text-align: center; font-size: 13px; color: var(--ink-3); font-weight: 700; }
.hm-demo-qr .db-qr-img { width: 168px; height: 168px; margin: 0 auto 6px; }
.hm-see { display: inline-block; margin: 10px 0 0 20px; font-weight: 800; text-decoration: none; }

@media print {
  .q-cookie, .q-demo-bar { display: none !important; }
  @page { size: A4; margin: 14mm 14mm 16mm; }
  body, .q-public { background: #fff; }
  .no-print { display: none !important; }
  .cv { padding: 0; max-width: none; }
  .cv-sheet { border: 0; box-shadow: none; padding: 0; border-radius: 0; }
  .cv-head h1 { font-size: 28px; }
  .cv-avatar { width: 64px; height: 64px; font-size: 22px; border-radius: 20px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cv-items li, .cv-langs li { break-inside: avoid; }
  .cv-sec h2 { break-after: avoid; }
  .cv-items li::before, .cv-level i, .pp-badge { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  a { color: inherit !important; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .hm-hero { grid-template-columns: 1fr; padding-top: 16px; }
  .hm-visual { height: 340px; max-width: 420px; }
  .hm-phone { height: 330px; width: 200px; right: 0; padding-top: 24px; }
  .hm-card { width: 210px; height: 132px; }
  .hm-feats, .hm-plans, .hm-launch { grid-template-columns: 1fr; }
  .db-grid { grid-template-columns: 1fr; }
  .db-side { position: static; order: -1; }
  .db-grid-cv .db-side { order: 0; }
  .cv-sheet { padding: 28px 22px; }
  .cv-two { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .q-cookie { left: 8px; right: 8px; bottom: 8px; max-width: none; }
  .q-demo-bar + .q-cookie, .q-cookie-up { bottom: 108px; }
  .hm-demo { grid-template-columns: 1fr; padding: 22px; }
  .cv-head { flex-direction: column; gap: 14px; }
  .cv-head h1 { font-size: 28px; }
  .db-head { flex-direction: column; }
}
@media (max-width: 560px) {
  .q-form-2 { grid-template-columns: 1fr; }
  .db-add { flex-wrap: wrap; }
  .db-add input { flex: 1 1 100%; }
  .hm-claim { padding-left: 14px; }
  .q-nav { gap: 10px; }
  .q-brand span { display: none; }
}

/* ---------- Foto, copertina, temi, post (aggiunto 16/11/2026) ---------- */
.pp-avatar-img { display: block; object-fit: cover; padding: 0; background: var(--sand); }
.pp-avatar-xs { width: 38px; height: 38px; border-radius: 12px; font-size: 14px; margin: 0; flex: 0 0 auto; letter-spacing: 0; }
.pp-card-cover { padding-top: 0; overflow: hidden; }
.pp-cover { display: block; width: calc(100% + 48px); max-width: none; height: 150px; object-fit: cover; margin: 0 -24px 0; }
.pp-card-cover .pp-avatar { margin-top: -48px; position: relative; border: 4px solid var(--white); box-sizing: content-box; }
.pp-card-cover .pp-avatar:not(.pp-avatar-img) { border-width: 4px; }

/* stili dei pulsanti link scelti dall'utente */
.pp-btn-filled .pp-link { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pp-btn-filled .pp-link:hover { box-shadow: 0 6px 0 var(--coral); }
.pp-btn-filled .pp-link-hl { background: var(--coral); border-color: var(--coral); color: var(--on-accent); }
.pp-btn-soft .pp-link { background: var(--sand); border-color: transparent; }
.pp-btn-soft .pp-link:hover { box-shadow: none; transform: translateY(-2px); filter: brightness(.97); }
.pp-btn-soft .pp-link-hl { background: var(--coral); color: var(--on-accent); }

/* post pubblici */
.pp-posts-title { font-size: 26px; margin: 8px 0 16px; }
.pp-posts .pp-post + .pp-post { margin-top: 12px; }
.pp-post { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; text-align: left; }
.pp-post-pin { border-color: var(--coral); }
.pp-post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pp-post-head div { display: grid; line-height: 1.25; flex: 1; min-width: 0; }
.pp-post-head strong { font-size: 15px; }
.pp-post-date { font-size: 13px; color: var(--ink-3); text-decoration: none; font-weight: 600; }
.pp-pin { font-size: 12px; font-weight: 900; color: var(--coral-d); background: var(--coral-l); padding: 2px 10px; border-radius: 999px; }
.pp-post-body { color: var(--ink); white-space: normal; overflow-wrap: anywhere; }
.pp-post-body a { color: var(--coral-d); font-weight: 700; }
.pp-post-img { display: block; width: 100%; height: auto; border-radius: 14px; margin-top: 12px; background: var(--sand); }
.pp-post-link { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 800; background: var(--cream); }
.pp-post-foot { display: flex; gap: 16px; margin-top: 10px; font-size: 13px; }
.pp-post-foot a { color: var(--ink-3); font-weight: 700; text-decoration: none; }
.pp-post-foot a:hover { color: var(--coral-d); }
.pp-pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 22px 0; color: var(--ink-3); font-weight: 700; }
.q-public .cv-bar a { color: var(--ink-2); }

/* pannello: aspetto */
.db-label { font-weight: 800; font-size: 14px; color: var(--ink-2); margin: 18px 0 8px; }
.db-look-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.db-look-item { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1.5px solid var(--sand); border-radius: 16px; }
.db-look-item > div:last-child { display: grid; gap: 2px; min-width: 0; }
.db-look-item small { color: var(--ink-3); font-size: 12px; font-weight: 600; }
.db-avatar { width: 64px; height: 64px; font-size: 22px; border-radius: 20px; margin: 0; flex: 0 0 auto; }
.db-cover { width: 96px; height: 32px; border-radius: 8px; flex: 0 0 auto; background: var(--sand) center/cover no-repeat; }
.db-look-btns { display: flex; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.db-look-btns form { margin: 0; }
.db-file { position: relative; overflow: hidden; }
.db-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; padding: 0; }
.db-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; }
.db-swatch { display: grid; gap: 4px; justify-items: center; cursor: pointer; }
.db-swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.db-swatch span { position: relative; width: 100%; height: 48px; border-radius: 12px; border: 2px solid var(--line); overflow: hidden; }
.db-swatch span i { position: absolute; left: 10px; bottom: 9px; width: 26px; height: 12px; border-radius: 6px; }
.db-swatch span b { position: absolute; left: 10px; top: 9px; width: 40px; height: 6px; border-radius: 3px; opacity: .8; }
.db-swatch small { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.db-swatch input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 3px var(--coral-l); }
.db-swatch input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.db-theme-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.db-theme-row input[type="color"] { width: 48px; height: 36px; padding: 2px; border-radius: 10px; cursor: pointer; }
.db-btnstyles { margin-top: 0; }
.db-preview { margin: 18px 0; padding: 16px; border-radius: 18px; background: var(--cream); display: grid; gap: 8px; border: 1px dashed var(--line); color: var(--ink); }
.db-preview .pp-card { display: flex; align-items: center; gap: 10px; padding: 12px 14px; text-align: left; border-radius: 16px; }
.db-preview .pp-card strong { flex: 1; }
.db-preview .pp-link { padding: 10px; }

/* pannello: post */
.db-composer { display: grid; gap: 8px; margin-bottom: 14px; }
.db-composer-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.db-composer-row input[name="link_url"] { flex: 1 1 200px; padding: 8px 12px; font-size: 15px; }
.db-counter { font-size: 12px; color: var(--ink-3); font-weight: 700; margin-left: auto; }
.db-posts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.db-posts li { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 10px; background: var(--cream); border-radius: 12px; }
.db-posts li img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.db-posts form { margin: 0; }
.db-post-pin { outline: 2px solid var(--coral-l); }

@media (max-width: 700px) {
  .db-look-media { grid-template-columns: 1fr; }
}

/* ---------- Footer del sito e pagine legali ---------- */
.ft { margin-top: 40px; background: var(--ink); color: #C9C4BF; }
.ft-in { max-width: 1120px; margin: 0 auto; padding: 44px 16px 28px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.ft-brand .q-brand { color: var(--cream); }
.ft-brand p { margin: 12px 0 10px; max-width: 26em; font-size: 15px; }
.ft-mail { color: var(--cream); font-weight: 800; text-decoration: none; }
.ft-col { display: grid; align-content: start; gap: 8px; }
.ft-col h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #8F8A85; margin: 6px 0 4px; }
.ft-col a { color: var(--cream); text-decoration: none; font-weight: 700; font-size: 15px; }
.ft-col a:hover, .ft-mail:hover { color: var(--coral); }
.ft-bottom { max-width: 1120px; margin: 0 auto; padding: 18px 16px 28px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.ft .q-langs a { color: #8F8A85; }
.ft .q-langs a[aria-current] { color: var(--cream); }
.lg h1 { font-size: 30px; }
.lg h2 { font-size: 18px; margin-top: 26px; }
.lg p, .lg li { color: var(--ink-2); }
.lg ul { padding-left: 20px; }
.lg-todo { background: #FFF1B8; color: #6B5300; padding: 1px 6px; border-radius: 6px; font-weight: 700; }
@media (max-width: 900px) { .ft-in { grid-template-columns: 1fr 1fr; } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ft-in { grid-template-columns: 1fr; } }

/* ---------- Collegamenti e ricerca ---------- */
.pp-avatar-sm { width: 52px; height: 52px; border-radius: 16px; font-size: 18px; margin: 0; flex: 0 0 auto; letter-spacing: 0; }
.pp-connect { display: flex; justify-content: center; margin-top: 10px; }
.cn-form { margin: 0; display: inline; }
.cn-pair { display: inline-flex; gap: 6px; }
.cn-btn { padding: 8px 16px; font-size: 14px; }
.cn-sent { opacity: .75; }
.cn-ok { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--coral-l); color: var(--coral-d); font-weight: 800; font-size: 14px; }
.cn-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--coral); color: var(--on-accent); font-size: 12px; font-weight: 900; vertical-align: 1px; }
.cn-faces { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cn-faces a { text-decoration: none; }
.cn-more { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: var(--sand); color: var(--ink-2); font-weight: 900; }
.cn-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cn-grid a { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 16px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); }
.cn-grid small { color: var(--ink-3); font-size: 12px; line-height: 1.3; }
.cn-rows { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.cn-rows li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--cream); border-radius: 12px; flex-wrap: wrap; }
.cn-rows form { margin: 0; }
.cn-rows .sr-who { flex: 1; min-width: 180px; }
.cn-settings { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--sand); justify-items: start; }
.cn-blocked { margin-top: 14px; }
.cn-blocked summary { cursor: pointer; color: var(--ink-3); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.cn-inline { display: inline; margin: 0; }
.cn-inline button { border: 0; background: none; padding: 0; font: inherit; color: var(--ink-3); font-weight: 700; cursor: pointer; }
.db-sub { font-size: 14px; color: var(--ink-2); margin: 16px 0 8px; }
.pp-flash { max-width: 528px; margin: 16px auto 0; }
.sr { max-width: 760px; margin: 8px auto 0; }
.sr h1 { font-size: 32px; }
.sr-form { display: flex; gap: 8px; }
.sr-count { font-weight: 800; color: var(--ink-2); margin: 18px 0 10px; }
.sr-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sr-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.sr-who { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-decoration: none; color: var(--ink); }
.sr-who > span { display: grid; min-width: 0; line-height: 1.3; }
.sr-who em { font-style: normal; color: var(--ink-2); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-who small { color: var(--ink-3); font-size: 13px; }
.cv-chips-pub a { color: inherit; text-decoration: none; }
.cv-chips-pub a:hover { color: var(--coral-d); }
@media (max-width: 560px) { .sr-list li { flex-wrap: wrap; } }

/* ---------- Card NFC: scena animata (segnaposto del futuro video) ---------- */
.nfc-scene { position: relative; width: 100%; max-width: 460px; aspect-ratio: 46 / 36; margin: 0 auto; }
.nfc-phone { position: absolute; right: 4%; top: 2%; width: 40%; height: 94%; border-radius: 28px; background: var(--white); border: 7px solid var(--ink); box-shadow: var(--shadow); overflow: hidden; }
.nfc-screen { height: 100%; display: flex; flex-direction: column; align-items: center; padding: 22% 10% 0; gap: 4px; text-align: center; opacity: 0; animation: nfc-screen 4.5s ease-in-out infinite; }
.nfc-screen b { font-size: 13px; line-height: 1.2; }
.nfc-screen small { font-size: 10px; color: var(--ink-3); }
.nfc-screen i { display: block; width: 100%; height: 14px; border-radius: 6px; background: var(--sand); margin-top: 6px; }
.nfc-screen i:first-of-type { background: var(--coral); }
.nfc-ava { width: 40px; height: 40px; border-radius: 13px; background: var(--coral); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; margin-bottom: 4px; }
.nfc-card { position: absolute; left: 0; bottom: 6%; width: 62%; aspect-ratio: 85.6 / 54; border-radius: 14px; background: var(--coral); color: #fff; padding: 5% 6%; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: 0 24px 40px -18px rgba(232,67,42,.75); transform-origin: 30% 70%; animation: nfc-card 4.5s ease-in-out infinite; }
.nfc-card img { position: absolute; left: 6%; top: 9%; width: 18%; height: auto; }
.nfc-tap { position: absolute; right: 6%; top: 9%; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.nfc-card strong { font-size: clamp(13px, 3.4vw, 18px); line-height: 1.1; }
.nfc-card em { font-style: normal; font-size: 11px; opacity: .9; }
.nfc-card small { font-size: 10px; font-weight: 800; opacity: .85; margin-top: 4px; }
.nfc-waves { position: absolute; right: 30%; top: 40%; width: 0; height: 0; }
.nfc-waves span { position: absolute; left: -30px; top: -30px; width: 60px; height: 60px; border-radius: 50%; border: 3px solid var(--coral); opacity: 0; animation: nfc-wave 4.5s ease-out infinite; }
.nfc-waves span:nth-child(2) { animation-delay: .25s; }
.nfc-waves span:nth-child(3) { animation-delay: .5s; }
@keyframes nfc-card { 0%, 12% { transform: translate(0, 0) rotate(-10deg); } 38%, 62% { transform: translate(42%, -38%) rotate(-2deg); } 88%, 100% { transform: translate(0, 0) rotate(-10deg); } }
@keyframes nfc-wave { 0%, 34% { opacity: 0; transform: scale(.4); } 42% { opacity: .9; } 62% { opacity: 0; transform: scale(2.2); } 100% { opacity: 0; } }
@keyframes nfc-screen { 0%, 40% { opacity: 0; transform: translateY(8px); } 50%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .nfc-card, .nfc-waves span, .nfc-screen { animation: none; }
  .nfc-screen { opacity: 1; }
  .nfc-card { transform: rotate(-8deg); }
}

/* ---------- Card: pagina prodotto, home, profilo, pannello ---------- */
.cd-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 28px 0 48px; }
.cd-hero h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.03em; }
.cd-price { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 22px; }
.cd-price b { font-size: 46px; font-weight: 900; letter-spacing: -.02em; }
.cd-price span { color: var(--ink-3); font-weight: 700; }
.cd-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 48px; padding: 0; list-style: none; counter-reset: st; }
.cd-steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; counter-increment: st; }
.cd-steps li::before { content: counter(st); display: inline-flex; width: 32px; height: 32px; border-radius: 10px; background: var(--coral); color: #fff; font-weight: 900; align-items: center; justify-content: center; margin-bottom: 10px; }
.cd-steps h3 { font-size: 18px; }
.cd-steps p { margin: 0; color: var(--ink-2); }
.cd-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; list-style: none; padding: 0; margin: 0 0 40px; }
.cd-feats li { position: relative; padding-left: 28px; font-weight: 700; color: var(--ink-2); }
.cd-feats li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px; background: var(--mint); color: #fff; font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.cd-note { color: var(--ink-3); font-size: 14px; margin: 10px 0 0; }
.cd-faq { max-width: 760px; margin: 0 auto 40px; }
.cd-faq h2 { font-size: 26px; text-align: center; }
.cd-faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.cd-faq summary { cursor: pointer; font-weight: 800; }
.cd-faq p { margin: 10px 0 0; color: var(--ink-2); }
.hm-cardsec { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; background: var(--ink); color: var(--cream); border-radius: 28px; padding: 36px; margin: 0 0 56px; }
.hm-cardsec h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.02em; }
.hm-cardsec p { color: #C9C4BF; font-size: 17px; }
.hm-cardsec .nfc-phone { background: var(--cream); }
.hm-cardsec .cd-price span { color: #9A958F; }
.hm-cardsec .q-btn-ghost { color: var(--cream); border-color: var(--cream); }
.hm-cardsec .q-btn-ghost:hover { background: var(--cream); color: var(--ink); }
.hm-cardsec-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hm-hero-links { display: flex; gap: 18px; flex-wrap: wrap; margin: 10px 0 0 20px; }
.hm-hero-links .hm-see { margin: 0; }
.hm-card-link { font-weight: 800; text-decoration: none; color: var(--ink); }
.hm-card-link b { background: var(--coral); color: #fff; padding: 2px 8px; border-radius: 999px; font-size: 13px; margin-left: 4px; }
.hm-product { display: grid; gap: 14px; }
.hm-product .nfc-scene { max-width: 340px; }
.hm-product .cd-price { margin: 4px 0 0; }
.hm-product .cd-price b { font-size: 38px; color: var(--cream); }
.pp-promo { margin-top: 30px; display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 18px; border-radius: 20px; background: var(--white); border: 2px dashed var(--coral); text-align: left; }
.pp-promo-card { width: 96px; aspect-ratio: 85.6 / 54; border-radius: 10px; background: #FF5A3C; display: flex; align-items: center; justify-content: center; transform: rotate(-8deg); box-shadow: 0 10px 18px -10px rgba(232,67,42,.8); }
.pp-promo-card img { width: 34px; height: auto; }
.pp-promo strong { display: block; font-size: 16px; margin-bottom: 2px; }
.pp-promo p { margin: 0 0 10px; color: var(--ink-2); font-size: 14px; }
.pp-promo .q-btn { padding: 8px 16px; font-size: 14px; }
.db-cardbox { background: var(--ink); color: var(--cream); border: 0; }
.db-cardbox h2 { color: var(--cream); }
.db-cardbox .db-hint { color: #B5B0AA; }
.db-cardbox .db-src li { color: #D9D4CF; border-color: rgba(255,255,255,.12); }
.db-cardbox .nfc-scene { max-width: 280px; margin: 6px auto 12px; }
.db-cardbox .nfc-phone { background: var(--cream); }
.db-cardbox .cd-price { margin: 0 0 12px; }
.db-cardbox .cd-price b { font-size: 30px; }
.db-cardbox .cd-price span { color: #9A958F; }
@media (max-width: 900px) {
  .cd-hero, .hm-cardsec { grid-template-columns: 1fr; }
  .cd-steps { grid-template-columns: 1fr; }
  .hm-cardsec { padding: 24px; }
}
@media (max-width: 560px) { .cd-feats { grid-template-columns: 1fr; } .pp-promo { grid-template-columns: 1fr; } }
.hm-visual-scene { display: flex; align-items: center; justify-content: center; }
.hm-cards .nfc-phone { background: var(--cream); }
.hm-cardsec .cd-feats li { color: #E4DFDA; }
.hm-cardsec .hm-kicker { background: rgba(255,90,60,.18); color: #FF9A80; }

/* ---------- Condividi ---------- */
.sh { position: relative; display: inline-block; }
.sh > summary { list-style: none; cursor: pointer; }
.sh > summary::-webkit-details-marker { display: none; }
.sh-menu { position: absolute; z-index: 30; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); min-width: 210px; padding: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px -16px rgba(22,22,29,.35); display: grid; gap: 2px; text-align: left; }
.sh-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; background: none; font: inherit; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; cursor: pointer; }
.sh-item:hover, .sh-item:focus-visible { background: var(--sand); outline: none; }
.sh-item i { width: 22px; height: 22px; border-radius: 7px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-style: normal; font-size: 12px; font-weight: 900; }
.sh-whatsapp i { background: #25D366; } .sh-whatsapp i::before { content: "W"; }
.sh-linkedin i { background: #0A66C2; } .sh-linkedin i::before { content: "in"; }
.sh-facebook i { background: #1877F2; } .sh-facebook i::before { content: "f"; }
.sh-x i { background: #111; } .sh-x i::before { content: "X"; }
.sh-telegram i { background: #229ED9; } .sh-telegram i::before { content: "➤"; font-size: 11px; }
.sh-email i { background: var(--ink-3); } .sh-email i::before { content: "@"; }
.sh-copy i { background: var(--coral); } .sh-copy i::before { content: "⧉"; }
.pp-post-foot .sh > summary { color: var(--ink-3); font-weight: 700; font-size: 13px; }
.pp-post-foot .sh-menu { left: 0; transform: none; }
.db-head .sh-menu { left: 0; transform: none; }
.cv-bar .sh-menu { left: auto; right: 0; transform: none; }
.cv-bar-actions { display: flex; gap: 8px; align-items: center; }
@media print { .sh { display: none !important; } }

/* ---------- Editor di ritaglio ---------- */
.ck-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(22,22,29,.6); }
.ck-modal[hidden] { display: none; }
.ck-box { width: 100%; max-width: 560px; background: var(--white); border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.ck-box h3 { font-size: 20px; margin: 0 0 4px; }
.ck-view { position: relative; width: 100%; overflow: hidden; border-radius: 14px; background: var(--sand); cursor: grab; touch-action: none; user-select: none; margin: 10px 0 14px; outline: none; }
.ck-view:focus-visible { box-shadow: 0 0 0 3px var(--coral-l); }
.ck-view.ck-drag { cursor: grabbing; }
.ck-view img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
/* griglia dei terzi */
.ck-view::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to right, transparent calc(33.33% - .5px), rgba(255,255,255,.55) calc(33.33% - .5px), rgba(255,255,255,.55) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255,255,255,.55) calc(66.66% - .5px), rgba(255,255,255,.55) calc(66.66% + .5px), transparent calc(66.66% + .5px)),
              linear-gradient(to bottom, transparent calc(33.33% - .5px), rgba(255,255,255,.55) calc(33.33% - .5px), rgba(255,255,255,.55) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255,255,255,.55) calc(66.66% - .5px), rgba(255,255,255,.55) calc(66.66% + .5px), transparent calc(66.66% + .5px)); }
/* foto profilo: angoli arrotondati come sul profilo (30px su 96px) */
.ck-view.ck-round { max-width: 360px; margin-left: auto; margin-right: auto; }
.ck-view.ck-round::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: 31%; box-shadow: 0 0 0 999px rgba(22,22,29,.45); pointer-events: none; }
.ck-zoom { display: flex; align-items: center; gap: 10px; font-weight: 900; color: var(--ink-3); }
.ck-zoom input { flex: 1; padding: 0; border: 0; accent-color: var(--coral); }
.ck-btns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.db-look-item small + small { margin-top: -2px; }
/* copertina sempre 3:1: quello che si ritaglia è quello che si vede */
.pp-cover { height: auto; aspect-ratio: 3 / 1; }
@media (max-width: 560px) { .ck-box { padding: 18px 16px; } .ck-btns { flex-wrap: wrap; } .ck-btns .q-btn { flex: 1 1 100%; } }

/* ---------- Card NFC disegnata (card.js) ---------- */
.cc-wrap { position: relative; width: 100%; border-radius: 4.2cqw; overflow: hidden; background: var(--base); container-type: inline-size; box-shadow: 0 14px 30px -16px rgba(22,22,29,.55); }
.cc-wrap { border-radius: 14px; }
.cc { --u: 1cqw; position: relative; width: 100%; aspect-ratio: 85.6 / 54; container-type: inline-size; color: var(--ink); font-family: Nunito, system-ui, sans-serif; line-height: 1.15; }
.cc-deco { position: absolute; inset: 0; pointer-events: none; }
.cc-logo { position: absolute; top: 8%; max-height: 19%; max-width: 36%; object-fit: contain; }
.cc-logo-left { left: 7%; } .cc-logo-right { right: 7%; }
.cc-nfc { position: absolute; right: 7%; top: 9%; font-size: calc(3.2 * var(--u)); font-weight: 900; letter-spacing: .12em; opacity: .9; }
.cc-logo-right ~ .cc-nfc { right: auto; left: 7%; }
.cc-txt { position: absolute; left: 7%; right: 34%; bottom: 10%; display: grid; gap: calc(.6 * var(--u)); }
.cc-name { font-size: calc(6.6 * var(--u)); font-weight: 900; letter-spacing: -.02em; overflow-wrap: anywhere; }
.cc-title { font-size: calc(3.6 * var(--u)); font-weight: 700; opacity: .92; }
.cc-company { font-size: calc(3.2 * var(--u)); font-weight: 800; opacity: .8; text-transform: uppercase; letter-spacing: .06em; }
.cc-qr { background: #fff; border-radius: calc(1.6 * var(--u)); padding: calc(1.2 * var(--u)); }
.cc-qr svg { display: block; width: 100%; height: auto; }
.cc-qr-front { position: absolute; right: 7%; bottom: 17%; width: 21%; }
.cc-url-front { position: absolute; right: 7%; bottom: 8%; width: 30%; text-align: right; font-size: calc(2.3 * var(--u)); font-weight: 800; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* minimal: fondo chiaro con barra laterale colorata */
.cc-minimal .cc-deco { background: linear-gradient(to right, var(--bg2) 0 3.2%, transparent 3.2%); }
.cc-minimal .cc-txt { left: 10%; }
.cc-minimal .cc-logo-left { left: 10%; }
/* bold: nome grande */
.cc-bold .cc-name { font-size: calc(9.4 * var(--u)); line-height: .95; }
.cc-bold .cc-txt { bottom: 9%; right: 30%; }
/* split: diagonale a due colori */
.cc-split .cc-deco { background: linear-gradient(112deg, transparent 0 60%, var(--bg2) 60%); }
.cc-split.cc-wrap:not(.cc-back) .cc-nfc { color: var(--ink2); }
.cc-split .cc-qr-front ~ .cc-url-front, .cc-split .cc-url-front { color: var(--ink2); }
.cc-split .cc-logo-right { filter: none; }
/* gradiente */
.cc-gradient.cc-wrap { background: linear-gradient(135deg, var(--bg), var(--bg2)); }
/* linee */
.cc-lines .cc-deco { background: repeating-linear-gradient(135deg, transparent 0 calc(3.2 * var(--u)), color-mix(in srgb, var(--bg2) 22%, transparent) calc(3.2 * var(--u)) calc(3.8 * var(--u))); }
/* retro */
.cc-back .cc-qr-back { position: absolute; left: 8%; top: 50%; transform: translateY(-50%); width: 36%; }
.cc-back-txt { position: absolute; left: 52%; right: 6%; top: 50%; transform: translateY(-50%); display: grid; gap: calc(1.6 * var(--u)); }
.cc-back-txt b { font-size: calc(4.4 * var(--u)); font-weight: 900; overflow-wrap: anywhere; }
.cc-back-txt span { font-size: calc(3 * var(--u)); font-weight: 700; opacity: .85; }
.cc-logo-back { max-width: 70%; max-height: calc(13 * var(--u)); object-fit: contain; justify-self: start; }
.cc-back .cc-deco { display: none; }
.cc-split.cc-back.cc-wrap, .cc-gradient.cc-back.cc-wrap { background: var(--base); }

/* ---------- Shop: configuratore, checkout, ordini ---------- */
.sh-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 22px; align-items: start; }
.sh-steps { display: grid; gap: 18px; min-width: 0; }
.sh-head h1 { font-size: 32px; margin-bottom: 4px; }
.sh-head .os { vertical-align: middle; }
.sh-n { display: inline-flex; width: 26px; height: 26px; border-radius: 8px; background: var(--coral); color: #fff; font-size: 14px; align-items: center; justify-content: center; margin-right: 6px; vertical-align: 2px; }
.sh-preview { position: sticky; top: 14px; display: grid; gap: 14px; }
.sh-cards { display: grid; gap: 12px; background: var(--sand); border-radius: 20px; padding: 16px; }
.sh-side small { display: block; font-weight: 800; color: var(--ink-3); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.sh-side[hidden] { display: none; }
.sh-sum { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; }
.sh-sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-weight: 700; }
.sh-sum-small { color: var(--ink-2); font-size: 14px; }
.sh-sum-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-size: 20px; }
.sh-sum-total b { font-weight: 900; }
.sh-go { width: 100%; margin-top: 8px; }
.sh-templates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sh-tpl { display: grid; gap: 6px; cursor: pointer; text-align: center; }
.sh-tpl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sh-tpl-card { display: block; border-radius: 12px; outline: 3px solid transparent; outline-offset: 3px; transition: outline-color .12s; }
.sh-tpl-card .cc-wrap { box-shadow: none; border-radius: 9px; }
.sh-tpl input:checked + .sh-tpl-card { outline-color: var(--ink); }
.sh-tpl input:focus-visible + .sh-tpl-card { outline-color: var(--coral); }
.sh-tpl small { font-weight: 800; color: var(--ink-2); }
.sh-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-sw { position: relative; cursor: pointer; }
.sh-sw input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sh-sw span { display: block; width: 34px; height: 34px; border-radius: 10px; border: 2px solid var(--line); }
.sh-sw input:checked + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.sh-sw-custom input[type="color"] { width: 46px; height: 38px; padding: 2px; border-radius: 10px; cursor: pointer; }
.sh-sw-custom input[type="radio"]:checked ~ input[type="color"] { outline: 3px solid var(--ink); outline-offset: 2px; }
.sh-logo { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.sh-logo-prev { width: 120px; height: 72px; border-radius: 12px; border: 1.5px dashed var(--line); background: repeating-conic-gradient(#F3E9DF 0 25%, #FFFFFF 0 50%) 0 0 / 14px 14px; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--ink-3); font-size: 12px; font-weight: 700; text-align: center; padding: 6px; }
.sh-logo-prev img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sh-logo-act { display: grid; gap: 6px; justify-items: start; }
.sh-logo-act .db-hint { margin: 0; }
.sh-options { display: grid; gap: 10px; }
.sh-opt { display: flex; align-items: center; gap: 12px; padding: 14px; border: 2px solid var(--line); border-radius: 16px; cursor: pointer; }
.sh-opt input { width: 20px; height: 20px; accent-color: var(--coral); flex: 0 0 auto; }
.sh-opt span { flex: 1; display: grid; }
.sh-opt small { color: var(--ink-3); font-weight: 600; }
.sh-opt em { font-style: normal; font-weight: 900; color: var(--coral-d); white-space: nowrap; }
.sh-opt:has(input:checked) { border-color: var(--ink); background: var(--cream); }
.sh-qty { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.sh-qty input { width: 96px; text-align: center; font-size: 20px; font-weight: 900; }
.sh-qty .q-icon { width: 42px; height: 42px; font-size: 20px; }
.sh-tiers { width: 100%; border-collapse: collapse; font-size: 15px; }
.sh-tiers th, .sh-tiers td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.sh-tiers th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.sh-tiers tr.sh-tier-on td { background: var(--coral-l); font-weight: 900; }
.ad-tiers input { padding: 6px 10px; }
/* stati ordine */
.os { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; background: var(--sand); color: var(--ink-2); white-space: nowrap; }
.os-pending { background: #FFF1B8; color: #6B5300; }
.os-paid { background: #DDEBFF; color: #1E4DA8; }
.os-in_production { background: #EDE3FF; color: #5B2DB8; }
.os-shipped { background: #DFF5EE; color: #0F6E57; }
.os-delivered { background: #2EC4A6; color: #FFFFFF; }
.os-cancelled { background: #F1EDEA; color: #8A8A95; text-decoration: line-through; }
.od-thanks { border: 2px solid var(--mint); }
.od-pay { border: 2px solid #F5B700; }
.od-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.od-dl dt { color: var(--ink-3); font-weight: 700; }
.od-dl dd { margin: 0; font-weight: 800; }
.od-track { list-style: none; padding: 0; margin: 4px 0 14px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.od-track li { position: relative; padding-top: 26px; font-size: 13px; font-weight: 700; color: var(--ink-3); text-align: center; }
.od-track li span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: var(--sand); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--line); z-index: 1; }
.od-track li::before { content: ""; position: absolute; top: 8px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.od-track li:first-child::before { display: none; }
.od-track li.done { color: var(--ink-2); }
.od-track li.done span, .od-track li.now span { background: var(--mint); box-shadow: 0 0 0 2px var(--mint); }
.od-track li.done::before, .od-track li.now::before { background: var(--mint); }
.od-track li.now { color: var(--ink); font-weight: 900; }
.od-events { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.od-addr { margin: 0 0 10px; line-height: 1.5; }
.od-note { background: var(--cream); padding: 10px 12px; border-radius: 10px; }
.od-tracking { margin: 0 0 10px; }
/* admin */
.ad { max-width: 1120px; margin: 0 auto; }
.ad-nav { display: flex; gap: 16px; align-items: center; margin: 4px 0 14px; font-weight: 800; }
.ad-nav b { background: var(--ink); color: #FFFFFF; padding: 2px 10px; border-radius: 8px; font-size: 13px; }
.ad-nav a { color: var(--ink-2); text-decoration: none; }
.ad-nav a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.ad-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.ad-head h1 { font-size: 28px; margin: 0; }
.ad-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.am-test { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.am-test label { flex: 1 1 260px; }
.am-counts { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.am-counts li { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 10px; background: var(--cream, #FFF8F2); }
.am-counts li.is-ko { background: #FDECEA; color: #B3261E; }
.am-counts b { font-variant-numeric: tabular-nums; }
.am-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.am-table-wrap { overflow-x: auto; }
.am-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.am-table th, .am-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.am-table tr:has(+ .am-errrow) td { border-bottom: 0; }
.am-errrow td { padding-top: 0; }
.am-errrow small { display: block; color: #B3261E; overflow-wrap: anywhere; font-size: 13px; }
.am-hint { display: block; margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: #FFF4D6; color: var(--ink); font-size: 13.5px; }
.am-table tr.am-sent b { color: #1E7A5A; }
.am-table tr.am-failed b, .am-table tr.am-queued b { color: #B3261E; }
.ad-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.ad-chip { padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: 14px; }
.ad-chip.on { border-color: var(--ink); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ad-search { margin-left: auto; }
.ad-search input { padding: 8px 12px; width: 220px; }
.ad-table { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.ad-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ad-table th, .ad-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--sand); vertical-align: top; }
.ad-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.ad-table small { color: var(--ink-3); }
@media (max-width: 960px) {
  .sh-grid { grid-template-columns: 1fr; }
  /* telefono: anteprima e totale sempre in vista in alto */
  .sh-preview { order: -1; top: 0; z-index: 20; background: var(--cream); padding: 8px 0; gap: 8px; }
  .sh-cards { grid-template-columns: 1fr 1fr; padding: 10px; gap: 8px; }
  .sh-cards:has(.sh-side[hidden]) { grid-template-columns: minmax(0, 220px); justify-content: center; }
  .sh-sum { padding: 10px 14px; }
  .sh-sum .db-hint, .sh-sum-small { display: none; }
  .sh-sum-total { font-size: 17px; margin-top: 0; padding-top: 4px; border: 0; }
  .sh-sum-row:first-child { display: none; }
  .sh-go { margin-top: 4px; padding: 10px; }
  .od-track { grid-template-columns: 1fr; }
  .od-track li { padding: 0 0 0 30px; text-align: left; }
  .od-track li span { left: 9px; top: 1px; }
  .od-track li::before { display: none; }
}
@media (max-width: 560px) { .sh-templates { grid-template-columns: 1fr 1fr; } .ad-search { margin-left: 0; width: 100%; } .ad-search input { width: 100%; } }

/* ---------- Aziende: servizi, "lavora presso", selettore profilo ---------- */
.ca-ico { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 11px; flex: 0 0 auto; font-weight: 900; font-size: 16px; color: #FFFFFF; background: var(--ink); font-style: normal; }
.ca-google_review { background: #F5B700; color: #3A2A00; }
.ca-website { background: #2563EB; }
.ca-maps { background: #EA4335; }
.ca-booking { background: #7C3AED; }
.ca-shop { background: #1F7A5C; }
.ca-whatsapp { background: #25D366; }
.ca-phone { background: #16161D; }
.ca-email { background: #8A8A95; }
.ca-catalog { background: #B5651D; }
.ca-instagram { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); }
.ca-facebook { background: #1877F2; }
.ca-linkedin { background: #0A66C2; font-size: 13px; }
.ca-tripadvisor { background: #34E0A1; color: #00332A; }
.co-services { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.co-act { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--white); border: 2px solid var(--ink); border-radius: 18px; text-decoration: none; color: var(--ink); transition: transform .12s, box-shadow .12s; min-width: 0; }
.co-act:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.co-act-txt { display: grid; min-width: 0; text-align: left; }
.co-act b { font-weight: 800; font-size: 15px; line-height: 1.2; overflow-wrap: anywhere; }
/* recensioni Google: il servizio più in evidenza, a tutta larghezza e dorato */
.co-act-google_review { grid-column: 1 / -1; background: #FFF6D6; border-color: #F5B700; padding: 16px 18px; }
.co-act-google_review:hover { box-shadow: 0 6px 0 #D29E00; }
.co-act-google_review b { font-size: 17px; }
.co-stars { color: #F5B700; font-size: 18px; letter-spacing: 2px; line-height: 1; margin-top: 2px; }
.co-works { margin-top: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 14px; text-align: left; }
.co-works-head { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.co-works-head > span { display: grid; flex: 1; min-width: 0; line-height: 1.25; }
.co-works-head small { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.co-works-head b { font-size: 17px; }
.co-works-head em { font-style: normal; color: var(--ink-2); font-size: 14px; }
.co-works-head i { font-style: normal; font-weight: 900; color: var(--ink-3); }
.co-works-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.co-act-sm { flex: 1 1 150px; padding: 9px 12px; border-width: 1.5px; border-radius: 14px; gap: 8px; }
.co-act-sm .ca-ico { width: 26px; height: 26px; border-radius: 8px; font-size: 13px; }
.co-act-sm b { font-size: 14px; }
.co-act-sm:hover { box-shadow: 0 4px 0 var(--ink); }
.co-act-sm.co-act-google_review { grid-column: auto; padding: 9px 12px; }
.co-act-sm.co-act-google_review b { font-size: 14px; }
/* pannello */
.pf-switch { position: relative; display: inline-block; margin: 6px 0 0; }
.pf-switch > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.pf-switch > summary::-webkit-details-marker { display: none; }
.pf-switch summary > span { display: grid; line-height: 1.15; }
.pf-switch summary small { font-size: 11px; color: var(--ink-3); font-weight: 700; }
.pf-switch summary b { font-size: 15px; }
.pf-switch summary i { font-style: normal; color: var(--ink-3); }
.pf-kind { font-style: normal; font-size: 11px; font-weight: 900; background: var(--ink); color: #FFFFFF; padding: 2px 8px; border-radius: 999px; }
.pf-menu { left: 0; transform: none; min-width: 260px; }
.pf-menu form { margin: 0; }
.pf-menu .sh-item span { display: grid; line-height: 1.2; }
.pf-menu .sh-item small { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.pf-menu .pf-on { background: var(--sand); }
.pf-new i { background: var(--coral); }
.co-box { border: 2px solid #F5B700; }
.co-feat { font-size: 11px; font-weight: 900; background: #FFF1B8; color: #6B5300; padding: 1px 7px; border-radius: 999px; vertical-align: 2px; }
.co-add { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--sand); }
.co-invite { margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--cream); }
.co-invite p { margin: 0 0 8px; }
.co-invite code { display: block; word-break: break-all; font-size: 13px; background: var(--white); padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); }
.co-perks { margin: 20px 0 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 6px; }
.sr-kind { font-style: normal; font-size: 11px; font-weight: 900; background: var(--ink); color: #FFFFFF; padding: 1px 7px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
@media (max-width: 480px) { .co-services { grid-template-columns: 1fr; } }
.cd-price b { white-space: nowrap; }

/* ---------- Anteprima dal vivo del profilo (pannello) ---------- */
.pv-box .db-box-head { align-items: center; }
.pv-dirty { font-size: 12px; font-weight: 900; background: #FFF1B8; color: #6B5300; padding: 2px 10px; border-radius: 999px; }
.pv-close { display: none; }
.pv-phone { width: 100%; max-width: 300px; margin: 8px auto 6px; border: 8px solid var(--ink); border-radius: 34px; overflow: hidden; background: var(--cream); box-shadow: var(--shadow); }
/* il telefono simula uno schermo largo 390 px, ridotto per stare nella colonna */
.pv-screen { position: relative; width: 100%; aspect-ratio: 390 / 760; overflow: hidden; }
.pv-screen iframe { position: absolute; left: 0; top: 0; width: 390px; height: 760px; border: 0; transform-origin: 0 0; transform: scale(var(--pv-scale, .7)); background: var(--cream); }
.pv-fab { display: none; }
/* dentro l'anteprima: si guarda, non si clicca */
.q-preview a, .q-preview button, .q-preview summary, .q-preview form { pointer-events: none; }
.pv-ribbon { position: sticky; top: 0; z-index: 30; text-align: center; padding: 6px 10px; background: var(--ink); color: var(--cream); font: 800 12px Nunito, sans-serif; letter-spacing: .04em; }
@media (max-width: 900px) {
  /* telefono: anteprima nascosta, si apre a tutto schermo col pulsante */
  .pv-box { display: none; }
  .pv-fab { display: inline-flex; position: fixed; right: 16px; bottom: 16px; z-index: 45; box-shadow: 0 10px 24px -8px rgba(22,22,29,.5); }
  body.pv-open .pv-box { display: block; position: fixed; inset: 0; z-index: 120; border-radius: 0; overflow: auto; padding: 14px; }
  body.pv-open .pv-close { display: inline-flex; margin-left: auto; }
  body.pv-open .pv-phone { max-width: 340px; }
  body.pv-open { overflow: hidden; }
}

/* ===== Notifiche (nt-) ===== */
.nt-bell { position: relative; display: inline-flex; align-items: center; font-size: 18px; line-height: 1; text-decoration: none; }
.nt-bell .cn-badge { position: absolute; top: -9px; right: -12px; min-width: 18px; height: 18px; font-size: 11px; padding: 0 5px; }
.nt-list { list-style: none; margin: 0; padding: 0; }
.nt-list li { border-bottom: 1px solid var(--line); }
.nt-list li:last-child { border-bottom: 0; }
.nt-list a { display: flex; gap: 12px; align-items: flex-start; padding: 12px 8px; color: var(--ink); text-decoration: none; border-radius: 12px; }
.nt-list a:hover { background: var(--sand); }
.nt-list .nt-unread a { background: #FFF1EC; }
.nt-list .nt-unread b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-right: 7px; vertical-align: 2px; }
.nt-ico { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; font-size: 18px; }
.nt-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nt-txt b { font-weight: 800; }
.nt-txt span { color: var(--ink-2); font-size: 14px; overflow-wrap: anywhere; }
.nt-txt small { color: var(--ink-2); opacity: .75; font-size: 12px; }
.nt-prefs { display: flex; flex-direction: column; gap: 4px; }
.nt-pref { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); cursor: pointer; }
.nt-pref span { display: flex; flex-direction: column; gap: 1px; }
.nt-pref small { color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.nt-prefs .q-btn { margin-top: 10px; align-self: flex-start; }
.nt-switch { appearance: none; -webkit-appearance: none; flex: 0 0 42px; width: 42px; height: 24px; border-radius: 999px; background: #D9D1C9; position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.nt-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.nt-switch:checked { background: var(--coral); }
.nt-switch:checked::after { transform: translateX(18px); }
.nt-switch:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .nt-switch, .nt-switch::after { transition: none; } }

/* ===== Passkey (pk-) ===== */
.pk-hero { width: 84px; height: 84px; border-radius: 24px; background: #FFF1EC; color: var(--coral); display: grid; place-items: center; margin-bottom: 12px; }
.pk-points { margin: 10px 0 18px; padding-left: 20px; color: var(--ink-2); font-weight: 600; font-size: 14px; display: grid; gap: 6px; }
.pk-list { list-style: none; margin: 0 0 12px; padding: 0; }
.pk-list li { display: grid; gap: 4px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.pk-list li:last-child { border-bottom: 0; }
.pk-list small { color: var(--ink-2); font-size: 12.5px; }
.pk-list form { margin: 0; }
.pk-name { display: flex; gap: 8px; align-items: center; }
.pk-name input { flex: 1; min-width: 0; font: inherit; font-weight: 800; border: 1px solid transparent; border-radius: 8px; padding: 4px 6px; margin-left: -6px; background: transparent; color: var(--ink); }
.pk-name input:hover, .pk-name input:focus { border-color: var(--line); background: #fff; outline: none; }
.pk-login { margin-bottom: 6px; }
.pk-login-btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.pk-login .q-flash { margin-top: 10px; }
.au-or { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 13px; font-weight: 700; margin: 18px 0 6px; }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ===== Home: gratis, card facoltativa ===== */
.hm-free { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; }
.hm-free li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: #E3F7F2; color: #0F6E5B; font-weight: 800; font-size: 14px; }
.hm-free li::before { content: "✓"; font-weight: 900; }
.hm-optional { font-size: 14px; font-weight: 600; opacity: .85; margin: -4px 0 18px; max-width: 46ch; }

/* ===== Intestazione del pannello ===== */
.db-hero { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 20px; box-shadow: 0 10px 30px -18px rgba(22,22,29,.25); }
.db-hero-who { display: flex; align-items: center; gap: 16px; }
.db-hero-av { width: 64px; height: 64px; border-radius: 20px; font-size: 24px; margin: 0; flex: 0 0 auto; object-fit: cover; }
.db-hero-txt { flex: 1; min-width: 0; }
.db-hero h1 { font-size: 30px; line-height: 1.1; margin: 0 0 4px; overflow-wrap: anywhere; }
.db-hero-txt p { margin: 0; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.db-wave { display: inline-block; transform-origin: 70% 70%; animation: db-wave 1.6s ease-in-out 1; }
@keyframes db-wave { 0%, 60%, 100% { transform: rotate(0); } 15%, 45% { transform: rotate(14deg); } 30% { transform: rotate(-8deg); } }
@media (prefers-reduced-motion: reduce) { .db-wave { animation: none; } }
.db-hero .db-plan { align-self: flex-start; white-space: nowrap; }
.db-urlbar { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 6px 6px 14px; background: var(--cream); border: 1px solid var(--line); border-radius: 16px; }
.db-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: var(--coral); text-decoration: none; }
.db-url svg { flex: 0 0 auto; }
.db-url-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; color: var(--ink); }
.db-url-host { color: var(--ink-3); font-weight: 600; }
.db-url-txt b { font-weight: 900; }
.db-url:hover .db-url-txt b { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.db-url-acts { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.db-url-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); font: inherit; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; white-space: nowrap; }
.db-url-btn:hover { border-color: var(--coral); color: var(--coral); }
.db-url-btn:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.db-hero .db-share { margin: 0; }
.db-hero .db-share .q-btn { height: 36px; display: inline-flex; align-items: center; border-radius: 12px; }
@media (max-width: 640px) {
  .db-hero { padding: 16px; border-radius: 20px; }
  .db-hero-av { width: 52px; height: 52px; border-radius: 16px; font-size: 19px; }
  .db-hero h1 { font-size: 24px; }
  .db-hero-txt p { font-size: 14px; }
  .db-hero-who { flex-wrap: wrap; gap: 12px 14px; }
  .db-hero-txt { flex: 1 1 200px; }
  .db-hero .db-plan { order: 3; margin-left: 66px; font-size: 11px; padding: 4px 10px; }
  .db-urlbar { flex-wrap: wrap; padding: 10px; }
  .db-url { flex-basis: 100%; padding: 2px 2px 4px; }
  .db-url-acts { flex: 1; }
  .db-url-acts > * { flex: 1; justify-content: center; }
  .db-hero .db-share .q-btn { width: 100%; justify-content: center; }
}

/* ===== Footer sempre in fondo (pagine del sito e del pannello, non i profili pubblici) ===== */
body:has(> footer.ft) { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body:has(> footer.ft) > .q-main { flex: 1 0 auto; width: 100%; }
body:has(> footer.ft) > .ft { flex-shrink: 0; }

/* ===== Persone e aziende (ricerca + suggerimenti) ===== */
.q-nav-short { display: none; }
@media (max-width: 640px) { .q-nav-long { display: none; } .q-nav-short { display: inline; } }
.sr { max-width: 980px; }
.sr-tabs { display: flex; gap: 6px; margin: 4px 0 14px; border-bottom: 2px solid var(--line); }
.sr-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; margin-bottom: -2px; border-bottom: 3px solid transparent; color: var(--ink-2); font-weight: 800; text-decoration: none; }
.sr-tabs a:hover { color: var(--ink); }
.sr-tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--coral); }
.sr-tabs span { font-size: 12px; font-weight: 900; background: var(--sand); color: var(--ink-2); padding: 1px 8px; border-radius: 999px; }
.sr-tabs a[aria-current="page"] span { background: var(--coral); color: #fff; }
.sr-form input[type="search"] { flex: 1; min-width: 0; }
.sr-chips { margin: 18px 0 6px; }
.sr-chips > p { margin: 12px 0 8px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sr-chips > div { display: flex; flex-wrap: wrap; gap: 8px; }
.sr-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; }
.sr-chips a:hover { border-color: var(--coral); color: var(--coral); }
.sr-chips small { color: var(--ink-3); font-weight: 800; font-size: 12px; }
.sr-h2 { font-size: 20px; margin: 26px 0 12px; }
.sr-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.sr-grid li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 14px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; text-align: center; transition: box-shadow .2s, transform .2s; }
.sr-grid li:hover { box-shadow: 0 12px 28px -18px rgba(22,22,29,.35); transform: translateY(-2px); }
.sr-card { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 100%; color: var(--ink); text-decoration: none; min-width: 0; }
.sr-card-av { width: 72px; height: 72px; border-radius: 22px; font-size: 26px; margin: 0 0 8px; object-fit: cover; }
.sr-card strong { font-size: 16px; line-height: 1.25; overflow-wrap: anywhere; }
.sr-card em { font-style: normal; font-size: 13.5px; color: var(--ink-2); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.sr-why { margin-top: 6px; font-size: 12.5px; font-weight: 800; color: var(--ink-2); background: var(--cream); padding: 3px 10px; border-radius: 999px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-grid li > form, .sr-grid li > .cn-btn, .sr-grid li > span { margin-top: auto; }
.sr-invite { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 28px 0 10px; padding: 22px; border-radius: 22px; background: var(--ink); color: #fff; }
.sr-invite h2 { font-size: 20px; margin: 0 0 4px; color: #fff; }
.sr-invite p { margin: 0; color: #D9D4CF; max-width: 52ch; font-size: 15px; }
.sr-invite-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.sr-invite .q-btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.sr-privacy { margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .sr-grid li { transition: none; } .sr-grid li:hover { transform: none; } }
@media (max-width: 560px) { .sr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .sr-grid li { padding: 14px 10px 12px; } .sr-card-av { width: 60px; height: 60px; border-radius: 18px; } }

/* ===== Footer: dati del titolare (n99) ===== */
.ft-owner { display: grid; gap: 4px; }
.ft-owner a { color: var(--cream); font-weight: 800; text-decoration: none; }
.ft-owner a:hover { color: var(--coral); }
.ft-owner small { font-size: 12.5px; opacity: .7; }

/* ===== Menu in alto: icone ===== */
.q-nav { gap: 4px; }
.q-nav-item { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px; color: var(--ink); font-weight: 800; font-size: 15px; transition: background .15s, color .15s; }
.q-nav-item:hover { background: var(--sand); }
.q-nav-item[aria-current="page"] { background: #FFE9E3; color: var(--coral); }
.q-ico { flex: 0 0 auto; display: block; }
.q-ico-wrap { position: relative; display: inline-flex; }
.q-ico-wrap .cn-badge, .q-nav-icon .cn-badge { position: absolute; top: -7px; right: -9px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; border: 2px solid var(--cream); box-sizing: content-box; }
.q-nav-icon { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.q-nav-icon:hover { background: var(--sand); }
.q-nav-icon[aria-current="page"] { background: #FFE9E3; color: var(--coral); }
.q-nav-out { color: var(--ink-3); }
.q-nav-out:hover { color: var(--coral); }
.q-nav .q-btn-sm { margin-left: 6px; }
.q-nav-item:focus-visible, .q-nav-icon:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.nt-bell { font-size: inherit; }
@media (max-width: 640px) {
  .q-nav { gap: 2px; }
  .q-nav-item { padding: 0 9px; gap: 6px; font-size: 14px; }
  .q-nav-item .q-nav-lbl { display: none; }
  .q-nav-item:has(.q-nav-lbl) { width: 40px; padding: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .q-nav-item, .q-nav-icon { transition: none; } }

/* ===== Icone dei link ===== */
.pp-link { position: relative; }
.pp-link-has-ico { padding-left: 56px; padding-right: 56px; }
.pp-link-ico-wrap { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, currentColor 12%, transparent); }
.pp-link-ico { display: block; }
.db-preview .pp-link-has-ico { padding-left: 46px; padding-right: 46px; }
.db-preview .pp-link-ico-wrap { left: 8px; width: 28px; height: 28px; }
/* scelta nel pannello */
.ic-hint { margin: -2px 0 8px; font-size: 12.5px; }
.ic-pick { position: relative; flex: 0 0 auto; }
.ic-cur { list-style: none; position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #FFE9E3; color: var(--coral); cursor: pointer; transition: background .15s, transform .15s; }
.ic-cur::-webkit-details-marker, .ic-cur::marker { display: none; content: ""; }
.ic-cur:hover { background: #FFD9CF; }
.ic-pick[open] > .ic-cur { background: var(--coral); color: #fff; }
.ic-cur:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.ic-edit { position: absolute; right: -4px; bottom: -4px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--ink-2); box-shadow: 0 1px 3px rgba(22,22,29,.25); }
.ic-none { font-weight: 900; font-size: 18px; line-height: 1; color: var(--ink-3); }
.ic-svg { display: block; }
.ic-menu { position: absolute; z-index: 40; top: 48px; left: -8px; width: 320px; margin: 0; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 48px -20px rgba(22,22,29,.4); animation: ic-in .14s ease-out; }
@keyframes ic-in { from { transform: translateY(-4px); } to { transform: none; } }
.ic-menu::before { content: ""; position: absolute; top: -7px; left: 22px; width: 12px; height: 12px; background: var(--white); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.ic-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; padding-right: 30px; position: relative; min-width: 0; }
.ic-head b { font-size: 15px; font-weight: 900; }
.ic-head span { color: var(--ink-3); font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ic-close { position: absolute; right: -4px; top: -6px; width: 30px; height: 30px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); font-size: 22px; line-height: 1; cursor: pointer; }
.ic-close:hover { background: var(--sand); }
.ic-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 6px; }
.ic-mode { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.ic-mode:hover { border-color: var(--ink-3); }
.ic-grp { margin: 12px 0 6px; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ic-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.ic-opt { display: grid; place-items: center; aspect-ratio: 1; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; transition: background .12s, color .12s; }
.ic-opt:hover { background: var(--sand); color: var(--coral); }
.ic-opt:focus-visible, .ic-mode:focus-visible { outline: 3px solid var(--coral); outline-offset: 1px; }
.ic-opt.ic-on { background: var(--coral); color: #fff; }
.ic-mode.ic-on { border-color: var(--coral); background: #FFF1EC; color: var(--coral); }
@media (max-width: 640px) {
  .ic-pick[open]::before { content: ""; position: fixed; inset: 0; z-index: 1999; background: rgba(22,22,29,.4); }
  .ic-menu { z-index: 2000; position: fixed; top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 82vh; overflow-y: auto; border-radius: 22px 22px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); animation: ic-up .18s ease-out; }
  .ic-menu::before { display: none; }
  @keyframes ic-up { from { transform: translateY(30px); } to { transform: none; } }
  .ic-grid { grid-template-columns: repeat(6, 1fr); gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .ic-menu { animation: none; } .ic-cur, .ic-opt { transition: none; } }

/* ===== Riquadri funzione nel pannello (notifiche, impronta) ===== */
.db-feat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.db-feat-head h2 { margin: 0 0 2px; font-size: 18px; line-height: 1.2; }
.db-feat-ico { position: relative; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #FFE9E3; color: var(--coral); }
.db-feat-ico .cn-badge { position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; border: 2px solid var(--white); box-sizing: content-box; }
.db-feat-state { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--ink-3); }
.db-feat-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #CFC6BD; }
.db-feat-state.is-on { color: #0F7B63; }
.db-feat-state.is-on::before { background: var(--mint); box-shadow: 0 0 0 3px rgba(46,196,166,.2); }
.db-feat-txt { margin: 0 0 14px; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.db-feat-cta { width: 100%; justify-content: center; display: flex; }
.db-feat-links { display: grid; margin-top: 10px; border-top: 1px solid var(--line); }
.db-feat-links a, .db-feat-links button { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 800; text-decoration: none; text-align: left; cursor: pointer; }
.db-feat-links > :last-child { border-bottom: 0; }
.db-feat-links a:hover, .db-feat-links button:hover { color: var(--coral); }
.db-feat-links svg { color: var(--ink-3); flex: 0 0 auto; }
.db-feat-links a:hover svg, .db-feat-links button:hover svg { color: var(--coral); }

/* ===== Pagina card: prezzi ===== */
.cd-prices { max-width: 880px; margin: 48px auto; }
.cd-prices-head { text-align: center; margin-bottom: 22px; }
.cd-prices-head h2 { font-size: 32px; margin: 0 0 6px; }
.cd-prices-head p { margin: 0 auto; max-width: 46ch; color: var(--ink-2); font-weight: 600; }
.cd-tiers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.cd-tier { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 22px 14px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; text-align: center; }
.cd-tier.is-best { border: 2px solid var(--coral); box-shadow: 0 16px 34px -22px rgba(255,90,60,.65); }
.cd-tier-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.cd-tier-qty { font-weight: 800; color: var(--ink-2); font-size: 14px; }
.cd-tier-price { font-size: 40px; line-height: 1.05; font-weight: 900; letter-spacing: -1px; margin-top: 6px; }
.cd-tier-each { color: var(--ink-3); font-size: 13px; font-weight: 700; }
.cd-tier-save { margin-top: 10px; padding: 3px 10px; border-radius: 999px; background: #E3F7F2; color: #0F6E5B; font-size: 12.5px; font-weight: 900; }
.cd-tier:first-child .cd-tier-save { background: var(--sand); color: var(--ink-2); }
.cd-extras { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.cd-extras li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.cd-extras li > span:last-child { display: grid; line-height: 1.3; }
.cd-extras b { font-size: 14.5px; }
.cd-extras small { color: var(--ink-2); font-size: 13px; font-weight: 600; }
.cd-x-ico { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #FFE9E3; color: var(--coral); }
.cd-ship { margin-top: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.cd-ship > summary { padding: 13px 16px; font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.cd-ship > summary::-webkit-details-marker { display: none; }
.cd-ship > summary::after { content: "+"; font-size: 20px; font-weight: 900; color: var(--coral); }
.cd-ship[open] > summary::after { content: "−"; }
.cd-ship-list { list-style: none; margin: 0; padding: 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); column-gap: 24px; }
.cd-ship-list li { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding: 9px 0; border-top: 1px dashed var(--line); }
.cd-ship-list li span { font-weight: 700; }
.cd-ship-list li small { grid-column: 1 / -1; color: var(--ink-3); font-size: 12px; }
.cd-ship .db-hint { padding: 0 16px 14px; margin: 8px 0 0; }
.sh-days { color: var(--ink-3); font-weight: 600; font-size: 12px; }
.sh-sum-row .sh-days { display: block; }
@media (max-width: 560px) { .cd-tiers { grid-template-columns: 1fr 1fr; } .cd-tier-price { font-size: 32px; } }

/* ===== Admin: spedizione per nazione ===== */
.ad-ship { margin-top: 16px; }
.ad-ship-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.ad-ship-head h2 { margin: 0 0 4px; }
.ad-ship-bulk { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.ad-ship-bulk label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 800; color: var(--ink-2); }
.ad-ship-bulk input, .ad-ship-bulk select { height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--white); }
.ad-ship-bulk input { width: 90px; }
.ad-ship-wrap { overflow-x: auto; }
.ad-ship-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.ad-ship-table th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 8px 8px; border-bottom: 1px solid var(--line); }
.ad-ship-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); font-weight: 700; }
.ad-ship-table tr.is-off td { color: var(--ink-3); }
.ad-ship-table tr.is-off input:not([type=checkbox]) { opacity: .55; }
.ad-ship-table input:not([type=checkbox]) { height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: 9px; font: inherit; font-weight: 700; width: 90px; background: var(--white); }
.ad-ship-table .ad-days { width: 70px; }
.ad-eur { display: inline-flex; align-items: center; gap: 4px; }
.ad-eur::before { content: "€"; color: var(--ink-3); font-weight: 800; }
.ad-flag { display: inline-grid; place-items: center; width: 30px; height: 22px; border-radius: 6px; background: var(--sand); font-size: 11px; font-weight: 900; color: var(--ink-2); margin-right: 6px; }
.ad-switch { display: inline-flex; }
.ad-save { position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(transparent, var(--cream) 30%); display: flex; justify-content: flex-end; }

/* Data di nascita sul profilo */
.pp-birth { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; font-weight: 700; }

/* ===== Account: utente e staff ===== */
.ac-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.ac-points { margin: 0 0 14px; padding-left: 18px; color: var(--ink-2); font-size: 14px; display: grid; gap: 6px; }
.ac-danger { border-color: #F3C2B8; }
.ac-danger h2 { color: #B3261E; }
.ad-btn-danger { background: #B3261E; border-color: #B3261E; color: #fff; }
.ad-btn-danger:hover { background: #8C1D17; border-color: #8C1D17; }
.ac-dash-link { margin: 4px 0 16px; text-align: center; font-weight: 800; font-size: 14px; }
.ac-dash-link a { color: var(--ink-2); text-decoration: none; }
.ac-dash-link a:hover { color: var(--coral-d); }
.as-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; vertical-align: 4px; }
.as-badge.as-active { background: #DFF5EE; color: #0F6E57; }
.as-badge.as-suspended { background: #FDE2DE; color: #B3261E; }
.as-badge.as-deactivated { background: #FFF1B8; color: #6B5300; }
.as-badge.as-closed { background: #F1EDEA; color: #8A8A95; }
.ad-chip .as { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.as.as-active { background: var(--mint); } .as.as-suspended { background: #D93025; } .as.as-deactivated { background: #F5B700; } .as.as-closed { background: #B9B2AB; }
.ad-staff { display: inline-block; padding: 1px 7px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 900; vertical-align: 2px; }
.ad-danger .q-form { gap: 10px; }

/* ===== Pagamento Stripe ===== */
.od-pay { border: 2px solid var(--coral); }
.od-paybtn { display: inline-flex; align-items: center; gap: 10px; }
.od-paysafe { margin-top: 10px; }
.ad-refund { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-top: 10px; }
.ad-refund label { display: grid; gap: 4px; font-size: 13px; font-weight: 800; color: var(--ink-2); }
.ad-refund input { height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; width: 140px; }
.ad-refund small { font-weight: 600; color: var(--ink-3); }

/* ===== Email: recupero password, verifica ===== */
.au-forgot { justify-self: end; font-size: 13px; font-weight: 800; margin-top: 4px; }
.au-sub { color: var(--ink-2); margin: -6px 0 16px; }
.au-done { text-align: center; }
.au-done-ico { font-size: 40px; margin: 0; }
.db-verify { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 16px; padding: 14px 18px; background: #FFF6D6; border: 1px solid #F5D77A; border-radius: 18px; }
.db-verify > span { font-size: 26px; }
.db-verify p { flex: 1; min-width: 220px; margin: 0; font-size: 14px; color: var(--ink-2); }
.db-verify b { color: var(--ink); font-size: 15px; }
.db-verify form { margin: 0; }
.ac-ok { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #DFF5EE; color: #0F6E57; font-size: 12px; font-weight: 900; }

/* ===== Accesso con Google / Facebook / Microsoft ===== */
.oa-btns { display: grid; gap: 10px; margin: 4px 0 6px; }
.oa-btn { display: flex; align-items: center; justify-content: center; gap: 12px; height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 800; font-size: 15.5px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.oa-btn:hover { border-color: var(--ink-3); box-shadow: 0 6px 16px -10px rgba(22,22,29,.35); }
.oa-btn:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.oa-btn svg { flex: 0 0 auto; }
.oa-list { list-style: none; margin: 0; padding: 0; }
.oa-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.oa-list li:last-child { border-bottom: 0; }
.oa-list li > span:nth-child(2) { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.oa-list small { color: var(--ink-3); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oa-list form { margin: 0; }
.oa-ico { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--sand); font-weight: 900; color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .oa-btn { transition: none; } }

/* ===== Admin → Pagamenti (Stripe test/live) ===== */
.pm-mode { display: inline-block; padding: 2px 9px; border-radius: 7px; font-size: 11px; font-weight: 900; letter-spacing: .06em; vertical-align: 3px; }
.pm-test { background: #FFF1B8; color: #6B5300; }
.pm-live { background: #DFF5EE; color: #0F6E57; }
h1 .pm-mode { font-size: 13px; vertical-align: 6px; }
.pm-bad, .pm-good { display: inline-block; margin-left: 8px; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 900; vertical-align: 3px; }
.pm-bad { background: #FDE2DE; color: #B3261E; }
.pm-good { background: #DFF5EE; color: #0F6E57; }
.pm-checks { list-style: none; margin: 0 0 10px; padding: 0; }
.pm-checks li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.pm-checks li:last-child { border-bottom: 0; }
.pm-checks li > span:last-child { display: grid; line-height: 1.35; min-width: 0; }
.pm-checks small { color: var(--ink-2); font-size: 13px; overflow-wrap: anywhere; }
.pm-dot { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 900; }
.is-ok .pm-dot { background: #DFF5EE; color: #0F6E57; }
.is-ko .pm-dot { background: #FDE2DE; color: #B3261E; }
.is-info .pm-dot { background: var(--sand); color: var(--ink-2); }
.pm-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }

/* ---------- Attestati con QR verificabile (ct-) ---------- */
.ct-form textarea[name="recipients"] { font-family: ui-monospace, Consolas, monospace; font-size: 14px; }
.ct-check { align-self: end; padding-bottom: 10px; }
.ct-submit { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ct-submit .db-hint { margin: 0; }
.ct-filters { margin: 10px 0 12px; }
.ct-filters .ad-search input { width: 200px; }
.ct-batchbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--cream); border-radius: 14px; padding: 10px 14px; margin: 0 0 12px; font-size: 14px; }
.ct-list { list-style: none; margin: 0; padding: 0; }
.ct-list li + li { border-top: 1px solid var(--sand); }
.ct-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 11px 4px; text-decoration: none; color: var(--ink); }
.ct-row:hover { background: var(--cream); border-radius: 12px; }
.ct-who { display: grid; min-width: 0; }
.ct-who b, .ct-who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-who small, .ct-meta small { color: var(--ink-3); font-weight: 600; }
.ct-meta { display: grid; justify-items: end; gap: 4px; flex: 0 0 auto; text-align: right; }
.ct-meta code { font-size: 12px; }
.ct-st { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; vertical-align: middle; letter-spacing: 0; }
.ct-st-valid { background: #DFF5EE; color: #0F6E57; }
.ct-st-expired { background: #FFF1B8; color: #6B5300; }
.ct-st-revoked { background: #FBE3E1; color: #A3261E; }
.ct-st-tampered { background: #16161D; color: #fff; }
h1 .ct-st { font-size: 14px; }
.ct-how ol { margin: 0 0 6px; padding-left: 20px; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.ct-batches { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ct-batches li { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; }
.ct-batches a { text-decoration: none; color: var(--ink); }
.ct-data li b { text-align: right; }
.ct-copy { display: flex; gap: 8px; }
.ct-copy input { flex: 1; min-width: 0; font-size: 13px; }
.ct-note { background: #FFF1B8; color: #6B5300; border-radius: 14px; padding: 12px 16px; font-weight: 700; margin: 0; }
.ct-empty { text-align: center; }
.ct-medal { font-size: 44px; line-height: 1; margin-bottom: 10px; text-align: center; }
.ct-card-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.ct-card-head h2 { margin: 4px 0 2px; }
.ct-card-head .db-hint { margin: 0; }
.ct-kind { font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-d); }
.ct-card-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.ct-card-actions form { margin: 0; }
.ct-decline { margin-left: auto !important; }
.ct-decline .q-link { color: var(--ink-3); font-size: 13px; }
.ct-dash .db-feat-ico { background: #E3F6F1; color: #0F7B63; }
.ct-verified { display: inline-flex; gap: 6px; align-items: center; font-weight: 800; color: #0F6E57 !important; text-decoration: none; background: #DFF5EE; padding: 2px 10px; border-radius: 999px; font-size: 13px; }
/* verifica pubblica */
.ct-v { max-width: 720px; margin: 24px auto 8px; display: grid; gap: 16px; }
.ct-v-status { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 22px; color: #fff; }
.ct-v-status h1 { font-size: 26px; margin: 0 0 2px; color: inherit; }
.ct-v-status p { margin: 0; font-weight: 700; opacity: .92; }
.ct-v-icon { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 900; background: rgba(255,255,255,.22); }
.ct-v-valid { background: linear-gradient(135deg, #12A386, #2EC4A6); }
.ct-v-expired { background: linear-gradient(135deg, #B7791F, #E0A526); }
.ct-v-revoked { background: linear-gradient(135deg, #A3261E, #D93025); }
.ct-v-tampered { background: var(--ink); }
.ct-v-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 26px 28px; box-shadow: var(--shadow); text-align: center; position: relative; overflow: hidden; }
.ct-v-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--coral), #FFB4A3 55%, var(--mint)); }
.ct-v-issuer { display: flex; align-items: center; gap: 12px; text-align: left; padding-bottom: 16px; border-bottom: 1px solid var(--sand); margin-bottom: 18px; }
.ct-v-issuer > div { display: grid; min-width: 0; }
.ct-v-issuer b { font-size: 18px; line-height: 1.2; }
.ct-v-issuer b a { color: var(--ink); text-decoration: none; }
.ct-v-issuer small { color: var(--ink-3); font-weight: 700; font-size: 13px; }
.ct-v-avatar { width: 52px !important; height: 52px !important; font-size: 18px !important; border-radius: 14px !important; border: 0 !important; margin: 0 !important; flex: 0 0 auto; }
.ct-v-kind { margin: 0 0 6px; font-size: 13px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-d); }
.ct-v-to { margin: 0; color: var(--ink-3); font-weight: 700; }
.ct-v-name { font-size: 32px; margin: 2px 0 10px; }
.ct-v-name a { color: var(--ink); }
.ct-v-title { font-size: 20px; font-weight: 800; margin: 0 0 8px; }
.ct-v-desc { color: var(--ink-2); margin: 0 auto 8px; max-width: 560px; }
.ct-v-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 18px 0 6px; text-align: left; }
.ct-v-facts > div { background: var(--cream); border-radius: 14px; padding: 10px 14px; }
.ct-v-facts dt { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.ct-v-facts dd { margin: 2px 0 0; font-weight: 800; }
.ct-v-facts small { color: var(--ink-3); font-weight: 700; }
.ct-v-reason { background: #FBE3E1; color: #7A1D17; border-radius: 14px; padding: 10px 14px; text-align: left; }
.ct-v-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.ct-v-note { color: var(--ink-2); font-size: 14px; padding: 0 6px; }
.ct-v-note p { margin: 0 0 6px; }
.ct-v-note a { color: var(--ink-2); }
.ct-lookup { text-align: center; }
.ct-lookup .q-form { text-align: left; }
.ct-code-input { font-family: ui-monospace, Consolas, monospace; font-size: 20px !important; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
@media (max-width: 700px) {
  .ct-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ct-meta { justify-items: start; text-align: left; grid-auto-flow: column; align-items: center; gap: 8px; }
  .ct-filters .ad-search { margin-left: 0; width: 100%; }
  .ct-filters .ad-search input { width: 100%; }
  .ct-v-card { padding: 22px 18px; }
  .ct-v-name { font-size: 26px; }
  .ct-v-status { padding: 16px; }
  .ct-v-status h1 { font-size: 21px; }
  .ct-card-head { flex-direction: column; }
  .ct-decline { margin-left: 0 !important; }
}

/* ---------- Pagina pubblica degli attestati (al-) ---------- */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.al { --al-ink: #16161D; --al-mint: #12A386; --al-shadow: 0 30px 60px -28px rgba(120, 40, 20, .38), 0 2px 6px rgba(120, 40, 20, .08); }
.al h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.025em; line-height: 1.05; text-wrap: balance; }
.al h3 { text-wrap: balance; }
.al p { text-wrap: pretty; }
.al-label { margin: 0 0 10px; font-family: ui-monospace, Consolas, monospace; font-size: 13px; font-weight: 700; color: var(--coral-d); letter-spacing: .08em; }
.al-link { font-weight: 800; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--coral); padding-bottom: 2px; transition: color .2s; }
.al-link:hover { color: var(--coral-d); }

/* hero */
.al-hero { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; padding: 40px 0 96px; }
.al-glow { position: absolute; inset: -60px -16px -20px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse closest-side at 74% 46%, rgba(255, 90, 60, .22), transparent),
              radial-gradient(ellipse closest-side at 60% 82%, rgba(46, 196, 166, .16), transparent); }
.al-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 6px 16px -10px rgba(120,40,20,.3); font-weight: 800; font-size: 14px; }
.al-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(46,196,166,.2); animation: al-pulse 2.4s ease-in-out infinite; }
@keyframes al-pulse { 50% { box-shadow: 0 0 0 8px rgba(46,196,166,0); } }
.al-hero h1 { font-size: clamp(38px, 5.6vw, 68px); line-height: .98; letter-spacing: -.035em; margin: 0 0 22px; text-wrap: balance; }
.al-lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 34em; margin: 0; }
.al-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin: 30px 0 16px; }
.al-btn-main { display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 14px 30px -12px rgba(255, 90, 60, .7); transition: transform .2s, box-shadow .2s; }
.al-btn-main:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(255, 90, 60, .8); }
.al-btn-main:active { transform: translateY(1px); }
.al-note { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink-3); }

.al-stage { position: relative; padding: 10px 0 44px 74px; }
.al-sheet { margin: 0; position: relative; aspect-ratio: 297 / 210; background: #FFFDFB; border-radius: 14px; box-shadow: var(--al-shadow); transform: rotate(2.5deg); }
.al-sheet::before { content: ""; position: absolute; inset: 4.5%; border: 2px solid var(--ink); border-radius: 8px; }
.al-sheet::after { content: ""; position: absolute; inset: 5.4%; border: 1px solid var(--coral); border-radius: 6px; }
.al-sheet-band { position: absolute; left: 4.5%; right: 4.5%; top: 4.5%; height: 2.4%; background: linear-gradient(90deg, var(--coral), #FFB4A3 55%, var(--mint)); border-radius: 8px 8px 0 0; }
.al-sheet-in { position: absolute; inset: 10% 9% 8%; display: flex; flex-direction: column; align-items: center; text-align: center; z-index: 1; }
.al-sheet-iss { align-self: flex-start; display: flex; align-items: center; gap: 6px; margin: 0 0 2%; font-size: clamp(9px, .9vw, 12px); font-weight: 900; }
.al-sheet-iss span { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 9px; }
.al-sheet-kind { margin: 0 0 2%; font-size: clamp(9px, 1.1vw, 13px); font-weight: 900; letter-spacing: .22em; text-transform: uppercase; color: var(--coral); }
.al-sheet-to { margin: 0; font-size: clamp(9px, .9vw, 11px); color: var(--ink-2); font-weight: 700; }
.al-sheet-name { margin: 1% 0 2.5%; font-size: clamp(20px, 2.9vw, 34px); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.al-sheet-name::after { content: ""; display: block; width: 40%; height: 2px; background: var(--ink); margin: 6px auto 0; }
.al-sheet-title { margin: 0; font-size: clamp(11px, 1.3vw, 15px); font-weight: 900; max-width: 80%; }
.al-sheet-foot { margin-top: auto; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; }
.al-sheet-sign { font-size: clamp(9px, .9vw, 11px); font-weight: 800; text-align: left; }
.al-sheet-sign i { display: block; width: 110px; max-width: 26vw; height: 1px; background: var(--ink); margin-bottom: 4px; }
.al-sheet-sign small { display: block; color: var(--ink-3); font-weight: 700; }
.al-sheet-qr { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--ink); }
.al-sheet-qr .db-qr-img { width: clamp(62px, 8vw, 96px); height: clamp(62px, 8vw, 96px); margin: 0; border-radius: 6px; padding: 3px; }
.al-sheet-qr small { font-family: ui-monospace, Consolas, monospace; font-size: 9px; font-weight: 700; }
.al-scan { position: absolute; left: -6px; right: -6px; top: 0; height: 3px; border-radius: 3px; background: var(--mint); box-shadow: 0 0 14px 3px rgba(46,196,166,.7); animation: al-scan 2.6s ease-in-out infinite; }
@keyframes al-scan { 0%, 100% { transform: translateY(2px); } 50% { transform: translateY(clamp(56px, 7.4vw, 90px)); } }

.al-phone { position: absolute; left: 0; bottom: -18px; width: 41%; max-width: 230px; aspect-ratio: 9 / 18.5; background: var(--ink); border-radius: 34px; padding: 10px; box-shadow: 0 40px 70px -30px rgba(22,22,29,.7), inset 0 0 0 2px #2A2A33; transform: rotate(-5deg); display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.al-phone::before { content: ""; position: absolute; inset: 10px; border-radius: 26px; background: var(--cream); z-index: 0; }
.al-phone > * { position: relative; z-index: 1; }
.al-phone-notch { align-self: center; width: 34%; height: 18px; border-radius: 0 0 12px 12px; background: var(--ink); margin: -10px 0 0; }
.al-phone-url { margin: 0 8px; padding: 6px 10px; border-radius: 999px; background: var(--white); font-size: 10px; font-weight: 700; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.al-phone-ok { margin: 0 8px; padding: 12px 10px; border-radius: 16px; background: linear-gradient(135deg, #12A386, #2EC4A6); color: #fff; display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.15; box-shadow: 0 10px 20px -12px rgba(18,163,134,.9); }
.al-phone-ok span { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.25); display: grid; place-items: center; font-weight: 900; }
.al-phone-card { margin: 0 8px; flex: 1; border-radius: 16px; background: var(--white); padding: 12px; display: flex; flex-direction: column; gap: 2px; font-size: 11px; }
.al-phone-card small { color: var(--ink-3); font-weight: 700; font-size: 9px; }
.al-phone-card b { font-size: 12px; }
.al-phone-card .al-phone-name { font-size: 16px; letter-spacing: -.01em; }
.al-phone-card span { color: var(--ink-2); font-weight: 700; line-height: 1.3; }
.al-phone-card hr { border: 0; border-top: 1px dashed var(--line); margin: 6px 0; width: 100%; }
.al-phone-card i { display: block; height: 6px; border-radius: 4px; background: var(--sand); margin-top: 6px; }
.al-phone-card i.al-short { width: 60%; }
.al-stage-cap { position: absolute; right: 0; top: -30px; max-width: 56%; text-align: right; line-height: 1.25; margin: 0; font-weight: 800; font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.al-stage-cap::before { content: "↘"; color: var(--coral); font-size: 18px; }

/* prima / dopo */
.al-vs { text-align: center; margin: 0 0 104px; }
.al-vs h2 { max-width: 760px; margin: 0 auto 14px; }
.al-vs-sub { max-width: 680px; margin: 0 auto 40px; font-size: 18px; color: var(--ink-2); }
.al-vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; text-align: left; }
.al-vs-grid article { border-radius: 28px; padding: 30px; }
.al-vs-bad { background: var(--sand); }
.al-vs-good { background: linear-gradient(160deg, #E3F7F1, #F4FBF8); box-shadow: inset 0 0 0 2px rgba(46,196,166,.35); }
.al-vs-grid h3 { font-size: 22px; margin: 22px 0 6px; }
.al-vs-grid p { margin: 0; color: var(--ink-2); }
.al-vs-doc { position: relative; background: var(--white); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 16px 30px -22px rgba(22,22,29,.5); min-height: 150px; }
.al-vs-line { height: 8px; border-radius: 5px; background: var(--sand); }
.al-vs-line.w60 { width: 60%; } .al-vs-line.w80 { width: 80%; }
.al-vs-name { font-size: 22px; font-weight: 900; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.al-vs-name s, .al-vs-date s { color: var(--ink-3); text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.al-vs-name em, .al-vs-date em { font-style: normal; color: var(--red); font-family: "Comic Sans MS", "Segoe Print", cursive; transform: rotate(-4deg); display: inline-block; }
.al-vs-date { font-weight: 900; display: flex; gap: 10px; }
.al-vs-stamp { position: absolute; right: 18px; bottom: 18px; padding: 8px 14px; border-radius: 10px; border: 3px solid var(--al-mint); color: var(--al-mint); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; transform: rotate(-8deg); }

/* sezioni */
.al-sec { margin: 0 0 104px; }
.al-sec > h2 { margin-bottom: 32px; max-width: 760px; }
.al-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; position: relative; }
.al-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--coral) 0 10px, transparent 10px 18px); opacity: .5; }
.al-steps li { position: relative; }
.al-step-n { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 22px; background: var(--coral); color: #fff; font-size: 26px; font-weight: 900; margin-bottom: 18px; box-shadow: 0 14px 26px -12px rgba(255,90,60,.8), 0 0 0 8px var(--cream); }
.al-steps li:nth-child(2) .al-step-n { background: var(--ink); box-shadow: 0 14px 26px -12px rgba(22,22,29,.7), 0 0 0 8px var(--cream); }
.al-steps li:nth-child(3) .al-step-n { background: var(--al-mint); box-shadow: 0 14px 26px -12px rgba(18,163,134,.8), 0 0 0 8px var(--cream); }
.al-steps h3 { font-size: 21px; }
.al-steps p { margin: 0; color: var(--ink-2); max-width: 32ch; }

.al-states { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 14px; }
.al-st { border-radius: 24px; padding: 22px; color: #fff; display: flex; flex-direction: column; gap: 6px; min-height: 200px; transition: transform .25s; }
.al-st:hover { transform: translateY(-4px); }
.al-st-valid { background: linear-gradient(150deg, #0E8C73, #2EC4A6); }
.al-st-expired { background: linear-gradient(150deg, #A86A10, #E0A526); }
.al-st-revoked { background: linear-gradient(150deg, #8E1F18, #D93025); }
.al-st-tampered { background: linear-gradient(150deg, #0B0B10, #34343F); }
.al-st-ico { width: 48px; height: 48px; border-radius: 16px; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 24px; font-weight: 900; margin-bottom: auto; }
.al-st-valid .al-st-ico { width: 64px; height: 64px; font-size: 34px; }
.al-st b { font-size: 19px; line-height: 1.15; margin-top: 18px; }
.al-st-valid b { font-size: 24px; }
.al-st p { margin: 0; font-size: 14px; font-weight: 600; opacity: .92; }

.al-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.al-who { border-radius: 24px; padding: 26px; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 14px 30px -24px rgba(120,40,20,.35); transition: transform .25s, box-shadow .25s; }
.al-who:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 24px 40px -24px rgba(120,40,20,.45); }
.al-who-1 { grid-column: span 3; grid-row: span 2; background: linear-gradient(160deg, var(--coral), #FF7A5C); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; }
.al-who-1 h3 { font-size: 30px; }
.al-who-1 p { color: rgba(255,255,255,.92); font-size: 17px; }
.al-who-1 .al-who-ico { background: rgba(255,255,255,.2); color: #fff; width: 64px; height: 64px; margin-bottom: auto; }
.al-who-2, .al-who-3 { grid-column: span 3; }
.al-who-4, .al-who-5, .al-who-6 { grid-column: span 2; }
.al-who-2 { background: var(--ink); color: #fff; }
.al-who-2 p { color: rgba(255,255,255,.75); }
.al-who-2 .al-who-ico { background: rgba(255,255,255,.12); color: #fff; }
.al-who h3 { font-size: 20px; margin: 14px 0 6px; }
.al-who p { margin: 0; color: var(--ink-2); }
.al-who-ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--coral-l); color: var(--coral-d); }

.al-feat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.al-feat-head h2 { margin: 0; max-width: 620px; }
.al-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.al-feats article { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line); }
.al-feats h3 { font-size: 18px; margin-bottom: 4px; }
.al-feats p { margin: 0; color: var(--ink-2); }
.al-ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--coral-l); color: var(--coral-d); transition: transform .25s; }
.al-feats article:hover .al-ico { transform: rotate(-8deg) scale(1.06); }

.al-try { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; background: linear-gradient(120deg, var(--coral-d), var(--coral) 55%, #FF8A6B); color: #fff; border-radius: 32px; padding: 40px 44px; margin: 0 0 104px; box-shadow: 0 30px 60px -30px rgba(232,67,42,.8); }
.al-try::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(255,255,255,.1); pointer-events: none; }
.al-try h2 { color: #fff; margin-bottom: 8px; }
.al-try p { margin: 0; color: rgba(255,255,255,.9); max-width: 46ch; }
.al-try-form { position: relative; z-index: 1; display: flex; gap: 8px; padding: 6px; background: var(--white); border-radius: 999px; }
.al-try-form input { height: 50px; border: 0; background: transparent; padding: 0 18px; font: inherit; font-weight: 900; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; width: 230px; color: var(--ink); }
.al-try-form input:focus { outline: none; }
.al-try-form:focus-within { box-shadow: 0 0 0 4px rgba(255,255,255,.45); }
.al-try-form .q-btn { background: var(--ink); }

.al-price { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; margin: 0 0 104px; }
.al-price-num { display: flex; flex-direction: column; }
.al-price-num b { font-size: clamp(90px, 13vw, 168px); line-height: .85; letter-spacing: -.06em; font-weight: 900; background: linear-gradient(180deg, var(--ink) 40%, var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.al-price-num span { font-weight: 800; color: var(--ink-2); margin-top: 10px; }
.al-price-big { font-size: 21px; font-weight: 800; margin: 0 0 8px; max-width: 34ch; }
.al-price-note { margin: 0; color: var(--ink-2); }

.al-faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; margin: 0 0 104px; align-items: start; }
.al-faq-head { position: sticky; top: 24px; }
.al-faq-list details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.al-faq-list summary { cursor: pointer; font-weight: 900; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.al-faq-list summary::-webkit-details-marker { display: none; }
.al-faq-list summary::after { content: "+"; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 10px; background: var(--coral-l); color: var(--coral-d); display: grid; place-items: center; font-size: 20px; transition: transform .25s; }
.al-faq-list details[open] summary::after { transform: rotate(45deg); }
.al-faq-list p { margin: 10px 0 0; color: var(--ink-2); max-width: 60ch; }

.al-end { position: relative; overflow: hidden; text-align: center; background: radial-gradient(500px 260px at 50% 0%, #FF8A6B, transparent 70%), var(--ink); color: #fff; border-radius: 36px; padding: 64px 24px 56px; }
.al-end img { width: 72px; height: 72px; padding: 12px; border-radius: 22px; background: var(--coral); box-shadow: 0 16px 30px -12px rgba(255,90,60,.9); }
.al-end h2 { color: #fff; margin: 22px auto 10px; max-width: 700px; }
.al-end p { color: rgba(255,255,255,.75); font-size: 18px; margin: 0 0 26px; }

/* comparsa allo scorrimento (solo se il JS c'è e il movimento è consentito) */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .al-dot, .al-scan { animation: none; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* riquadri promozionali e home */
.al-promo { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: center; background: var(--coral-l); border-radius: 16px; padding: 14px 18px; margin: 16px 0 0; font-weight: 700; text-align: center; }
.al-promo a { font-weight: 900; }
.al-demo-badge { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: var(--sand); color: var(--ink-2); font-size: 13px; font-weight: 800; }
.hm-certsec { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 28px 32px; margin: 0 0 48px; }
.hm-certsec h2 { font-size: 28px; }
.hm-certsec p { margin: 0; color: var(--ink-2); max-width: 640px; }

@media (max-width: 960px) {
  .al-hero { grid-template-columns: 1fr; gap: 48px; padding-top: 16px; }
  .al-stage { max-width: 620px; }
  .al-states { grid-template-columns: 1fr 1fr; }
  .al-bento { grid-template-columns: 1fr 1fr; }
  .al-who-1, .al-who-2, .al-who-3, .al-who-4, .al-who-5, .al-who-6 { grid-column: span 1; grid-row: auto; }
  .al-who-1 { grid-column: 1 / -1; min-height: 240px; }
  .al-try, .hm-certsec, .al-faq { grid-template-columns: 1fr; }
  .al-faq-head { position: static; }
}
@media (max-width: 640px) {
  .al-hero { padding-bottom: 72px; }
  .al-stage { padding: 0 0 40px 34px; }
  .al-phone { width: 44%; border-radius: 24px; padding: 7px; gap: 5px; }
  .al-phone::before { inset: 7px; border-radius: 18px; }
  .al-phone-card { padding: 8px; }
  .al-phone-card .al-phone-name { font-size: 12px; }
  .al-phone-card span, .al-phone-card i { display: none; }
  .al-phone-ok { font-size: 10px; padding: 8px; }
  .al-phone-ok span { width: 20px; height: 20px; }
  .al-vs-grid, .al-steps, .al-states, .al-bento, .al-feats, .al-price { grid-template-columns: 1fr; }
  .al-steps::before { display: none; }
  .al-feat-head { flex-direction: column; align-items: flex-start; }
  .al-try { padding: 28px 22px; border-radius: 26px; }
  .al-try-form { border-radius: 22px; flex-direction: column; }
  .al-try-form input { width: 100%; text-align: center; }
  .al-price { gap: 16px; }
  .al-sec, .al-vs, .al-try, .al-price, .al-faq { margin-bottom: 72px; }
  .al-st { min-height: 0; }
}

/* ---------- Servizi QR (pass, punti, scanner, preventivi) ---------- */
.sv-ico { flex: 0 0 auto; vertical-align: -0.2em; }
.sv-h-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--coral-l); color: var(--coral-d); vertical-align: middle; margin-right: 4px; }
.sv-alert { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 18px; padding: 14px 18px; border-radius: var(--r); background: #FFF1B8; color: #5A4500; font-weight: 800; }
.sv-alert a { color: inherit; }
.sv-tiles { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.sv-tiles li { grid-column: span 4; }
.sv-tiles li:nth-child(1) { grid-column: span 6; }
.sv-tiles li:nth-child(2) { grid-column: span 6; }
.sv-tile { height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.sv-tile:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(22,22,29,.05), 0 18px 34px -18px rgba(120,40,20,.35); }
.sv-tile:active { transform: translateY(0) scale(.99); }
.sv-tile b { font-size: 18px; font-weight: 900; }
.sv-tile small { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.sv-tile-n { margin-top: auto; padding-top: 8px; font-weight: 800; color: var(--coral-d); font-size: 14px; }
.sv-tile-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--coral-l); color: var(--coral-d); flex: 0 0 auto; }
.sv-t-cert, .sv-t-product { background: #E3F6F1; color: #0F7B63; }
.sv-t-membership, .sv-t-attendance { background: #E6EEFF; color: #2D4FB3; }
.sv-t-ticket, .sv-t-voucher { background: var(--coral-l); color: var(--coral-d); }
.sv-t-visitors, .sv-t-asset { background: #FFF1D6; color: #8A5A00; }
.sv-t-tag { background: #F1E8FF; color: #6A3DB8; }
.sv-kinds { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.sv-kinds a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; font-weight: 800; font-size: 14.5px; transition: background .2s; }
.sv-kinds a:hover { background: var(--sand); }
.sv-kinds a[aria-current] { background: var(--ink); color: #fff; box-shadow: none; }
.sv-kinds small { opacity: .65; font-weight: 800; }
.sv-kinds-in { margin-bottom: 10px; }
.sv-pair { display: flex; gap: 8px; }
.sv-pair input:first-child { flex: 0 0 38%; }
.sv-head-links { display: inline-flex; gap: 14px; }
.sv-st-valid { background: #DFF5EE; color: #0F6E57; }
.sv-st-expired, .sv-st-not_yet, .sv-st-suspended { background: #FFF1B8; color: #6B5300; }
.sv-st-revoked, .sv-st-used, .sv-st-empty, .sv-st-overdue { background: #FBE3E1; color: #A3261E; }
.sv-st-tampered { background: #16161D; color: #fff; }
.sv-events { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sv-events li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sv-events li:last-child { border-bottom: 0; }
.sv-events small { margin-left: auto; color: var(--ink-3); font-weight: 700; }
.sv-ev { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 6px; background: var(--sand); color: var(--ink-2); }
.sv-ev-checkin, .sv-ev-use, .sv-ev-reactivate { background: #DFF5EE; color: #0F6E57; }
.sv-ev-redeem { background: var(--coral-l); color: var(--coral-d); }
.sv-ev-service { background: #E6EEFF; color: #2D4FB3; }
.sv-ev-found { background: #F1E8FF; color: #6A3DB8; }
.sv-ev-revoke, .sv-ev-suspend { background: #FBE3E1; color: #A3261E; }
.sv-ev-note { flex-basis: 100%; color: var(--ink-2); font-size: 14.5px; }
.sv-upsell { background: linear-gradient(160deg, #FFFFFF, #FFF3EC); }
.sv-upsell h2 { margin-top: 12px; }
.sv-upsell p { color: var(--ink-2); margin: 0 0 14px; }
.sv-upsell-nfc { background: var(--ink); color: var(--cream); }
.sv-upsell-nfc h2 { color: #fff; }
.sv-upsell-nfc p { color: rgba(255,248,242,.75); }
.sv-upsell-nfc .q-btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.sv-now { display: flex; gap: 22px; align-items: center; }
.sv-now .db-qr-img { width: 132px; height: 132px; margin: 0; flex: 0 0 auto; }
.sv-big { margin: 0; font-size: 40px; line-height: 1.05; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sv-red { color: var(--red); }
.sv-inline { display: inline; margin: 0; }
details > summary { cursor: pointer; }
.sv-actions { display: grid; gap: 12px; }
.sv-actions form { display: grid; gap: 10px; }
.sv-actions label { display: grid; gap: 6px; font-weight: 800; }
.sv-actions input, .sv-actions textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); }
.sv-go { width: 100%; justify-content: center; background: #12A386; box-shadow: 0 14px 28px -16px rgba(18,163,134,.9); }
.sv-go:hover { background: #0F8B72; }
.sv-redeem .sv-pair input { flex: 1 1 auto; }
.sv-redeem .sv-pair .sv-go { width: auto; flex: 0 0 auto; }
.sv-note summary { font-weight: 800; color: var(--ink-2); }
.sv-note form { margin-top: 10px; }
.sv-result { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 24px; border-radius: 22px; color: #fff; animation: sv-pop .35s cubic-bezier(.2,.9,.3,1.3); }
.sv-result > span { font-size: 40px; font-weight: 900; line-height: 1; }
.sv-result p { margin: 0; flex: 1 1 220px; font-size: 21px; font-weight: 900; line-height: 1.25; }
.sv-result .q-btn { background: rgba(255,255,255,.2); }
.sv-result-ok { background: linear-gradient(135deg, #12A386, #2EC4A6); }
.sv-result-ko { background: linear-gradient(135deg, #A3261E, #D93025); }
@keyframes sv-pop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
.sv-card .ct-v-kind { display: flex; align-items: center; gap: 6px; justify-content: center; }
.sv-balance, .sv-due { display: grid; justify-items: center; gap: 2px; margin: 6px 0 14px; }
.sv-balance small, .sv-due small { font-weight: 800; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.sv-balance b, .sv-due b { font-size: 46px; font-weight: 900; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sv-balance span { color: var(--ink-2); font-weight: 700; }
.sv-due-late b { color: var(--red); }
.sv-due span { color: var(--red); font-weight: 900; }
.sv-auth { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 14px; font-weight: 800; color: #0F6E57; }
.sv-auth span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #DFF5EE; }
.sv-passport { text-align: left; margin: 18px 0 0; padding: 18px 20px; border-radius: 18px; background: var(--cream); }
.sv-passport h3 { margin: 0 0 10px; font-size: 17px; }
.sv-passport h4 { margin: 10px 0 2px; font-size: 14px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.sv-passport p { margin: 0; }
.sv-quote { font-size: 18px; font-weight: 700; }
.sv-reward { font-weight: 800; }
.sv-show { display: grid; justify-items: center; gap: 4px; margin: 16px 0 0; }
.sv-show .db-qr-img { width: 200px; height: 200px; }
.sv-show p { margin: 0; color: var(--ink-2); font-weight: 700; font-size: 14.5px; }
.sv-staff { background: var(--white); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); border: 2px solid #12A386; }
.sv-staff h2 { margin: 0 0 14px; font-size: 19px; }
.sv-staff .sv-events { margin-top: 14px; }
.sv-found { border-color: #6A3DB8; }
.sv-found .q-form { display: grid; gap: 12px; }
.sv-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sv-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #12A386; box-shadow: 0 0 0 3px #DFF5EE; vertical-align: middle; }
.sv-inside { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; max-height: 340px; overflow: auto; }
.sv-inside small { color: var(--ink-3); }
.sv-row-act { white-space: nowrap; text-align: right; }
.sv-row-act form { display: inline; }
.sv-row-act .q-link { background: none; border: 0; cursor: pointer; font: inherit; font-weight: 800; color: var(--coral-d); padding: 2px 6px; }
.sv-cert-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 16px 0 0; }
.sv-dash .db-feat-ico { background: var(--coral-l); color: var(--coral-d); }
.sv-k { max-width: 560px; }
.sv-k-head { justify-content: center; }
.sv-k-title { margin: 0; text-align: center; font-size: clamp(26px, 6vw, 36px); line-height: 1.1; }
.sv-k-place { margin: -8px 0 0; text-align: center; color: var(--ink-2); font-weight: 700; }
.sv-k-form { display: grid; gap: 14px; background: var(--white); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.sv-k-form .q-btn-lg, .sv-k-exit .q-btn-lg { width: 100%; justify-content: center; }
.sv-k-exit { display: grid; gap: 8px; text-align: center; }
.sv-scan { display: grid; gap: 14px; justify-items: center; text-align: center; }
.sv-scan-view { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: var(--ink); }
.sv-scan-view video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sv-scan-frame { position: absolute; inset: 16%; border-radius: 18px; box-shadow: 0 0 0 999px rgba(22,22,29,.45); border: 3px solid rgba(255,255,255,.9); }
.sv-scan-off .sv-scan-view { display: none; }

/* Pagina /servizi e home: servizi, fascia stampa */
.sl-stage { position: relative; min-height: 440px; }
.sl-obj { position: absolute; display: grid; gap: 4px; padding: 20px 22px; border-radius: 20px; background: var(--white); box-shadow: 0 30px 60px -28px rgba(120,40,20,.38), 0 2px 6px rgba(120,40,20,.08); }
.sl-obj-k { font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-d); }
.sl-obj b { font-size: 22px; line-height: 1.1; font-weight: 900; }
.sl-obj small { color: var(--ink-2); font-weight: 700; }
.sl-obj-card { top: 0; left: 6%; width: 330px; min-height: 196px; transform: rotate(-4deg); padding-right: 130px; overflow: hidden; }
.sl-obj-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: linear-gradient(#FF5A3C, #2EC4A6); }
.sl-obj-qr.db-qr-img { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 100px; height: 100px; margin: 0; border-radius: 8px; }
.sl-obj-ticket { top: 190px; right: 0; width: 280px; transform: rotate(3deg); background: var(--ink); color: #fff; }
.sl-obj-ticket small { color: rgba(255,255,255,.7); }
.sl-obj-ticket .sl-obj-k { color: #FFB4A3; }
.sl-obj-ok { margin-top: 10px; justify-self: start; padding: 6px 12px; border-radius: 999px; background: #12A386; font-weight: 900; font-size: 14px; }
.sl-obj-tag { bottom: 0; left: 18%; transform: rotate(-2deg); background: #F1E8FF; }
.sl-obj-tag .sl-obj-k { color: #6A3DB8; }
.sl-obj-tag b { font-size: 18px; max-width: 220px; }
.sl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.sl-item { grid-column: span 2; display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.sl-item.sl-wide { grid-column: span 4; }
.sl-item h3 { margin: 12px 0 2px; font-size: 21px; }
.sl-item p { margin: 0; color: var(--ink-2); max-width: 58ch; }
.sl-item .sl-who { margin-top: 8px; font-size: 14px; font-weight: 800; color: var(--ink-3); }
.sl-item .al-link { margin-top: auto; padding-top: 10px; }
.sl-money { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; margin: 0 0 72px; padding: 44px; border-radius: 32px; color: var(--cream);
            background: radial-gradient(600px 300px at 100% 0%, rgba(255,90,60,.45), transparent 70%), radial-gradient(400px 260px at 0% 100%, rgba(46,196,166,.25), transparent 70%), var(--ink); }
.sl-money h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; margin: 0 0 12px; }
.sl-money-copy > p { color: rgba(255,248,242,.8); font-size: 17.5px; margin: 0 0 16px; max-width: 52ch; }
.sl-eyebrow-dark { background: rgba(255,255,255,.1); color: #fff; box-shadow: none; }
.sl-ticks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.sl-ticks li { padding-left: 28px; position: relative; font-weight: 700; }
.sl-ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #12A386; color: #fff; font-size: 12px; display: grid; place-items: center; font-weight: 900; }
.sl-products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sl-products a { display: grid; gap: 4px; height: 100%; box-sizing: border-box; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none; transition: background .2s, transform .2s; }
.sl-products a:hover { background: rgba(255,255,255,.13); transform: translateY(-2px); }
.sl-products b { font-size: 16.5px; }
.sl-products span { font-size: 14px; color: rgba(255,248,242,.7); line-height: 1.4; }
.sl-nfc { margin-bottom: 104px; }
.sl-nfc .hm-cardsec-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.hm-svc { display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px; align-items: center; margin: 8px 0 56px; }
.hm-svc-head h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.08; margin: 0 0 12px; }
.hm-svc-head p { color: var(--ink-2); font-size: 17.5px; margin: 0 0 20px; max-width: 46ch; }
.hm-svc-head .hm-cardsec-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hm-svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hm-svc-grid a { display: grid; gap: 4px; height: 100%; box-sizing: border-box; padding: 16px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.hm-svc-grid a:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(22,22,29,.05), 0 18px 34px -18px rgba(120,40,20,.35); }
.hm-svc-grid .sv-tile-ico { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 6px; }
.hm-svc-grid b { font-size: 16px; line-height: 1.2; }
.hm-svc-grid small { color: var(--ink-2); font-size: 13.5px; line-height: 1.35; }
.qt { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: start; margin: 24px 0 64px; }
.qt h1 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.05; margin: 0 0 12px; }
.qt-products { list-style: none; margin: 22px 0 16px; padding: 0; display: grid; gap: 10px; }
.qt-products li { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.qt-products span { color: var(--ink-2); font-size: 14.5px; }
.qt-box { background: var(--white); border-radius: 26px; padding: 28px; box-shadow: var(--shadow); position: sticky; top: 20px; }
.qt-admin { display: grid; gap: 14px; }
@media (max-width: 960px) {
  .sv-tiles li, .sv-tiles li:nth-child(1), .sv-tiles li:nth-child(2) { grid-column: span 6; }
  .sl-money, .hm-svc, .qt { grid-template-columns: 1fr; }
  .sl-grid { grid-template-columns: 1fr 1fr; }
  .sl-item, .sl-item.sl-wide { grid-column: span 1; }
  .sl-stage { min-height: 400px; max-width: 520px; margin: 0 auto; width: 100%; }
  .qt-box { position: static; }
}
@media (max-width: 640px) {
  .sv-tiles { grid-template-columns: 1fr; }
  .sv-tiles li, .sv-tiles li:nth-child(1), .sv-tiles li:nth-child(2) { grid-column: auto; }
  .sv-now { flex-direction: column; align-items: flex-start; }
  .sl-grid, .sl-products, .hm-svc-grid { grid-template-columns: 1fr; }
  .hm-svc-grid { grid-template-columns: 1fr 1fr; }
  .sl-money { padding: 26px 20px; border-radius: 26px; }
  .sl-stage { min-height: 450px; }
  .sl-obj-card { width: 280px; left: 0; padding-right: 110px; }
  .sl-obj-qr.db-qr-img { width: 84px; height: 84px; }
  .sl-obj-ticket { top: 170px; width: 230px; }
  .sl-obj-tag { left: 4%; }
  .sv-result p { font-size: 18px; }
  .qt-box { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .sv-result { animation: none; } .sv-tile, .hm-svc-grid a, .sl-products a { transition: none; } }

/* ---------- Pagine dei singoli servizi (sp-), sopra gli stili al- degli attestati ---------- */
.sp-stage { min-height: 420px; }
.sp-obj { position: relative; margin: 0 0 0 auto; background: #FFFDFB; box-shadow: var(--al-shadow); }
.sp-qr { position: relative; display: block; text-decoration: none; }
.sp-qr .db-qr-img { display: block; margin: 0; border-radius: 8px; padding: 4px; background: #fff; }
.sp-qr .al-scan { top: 4px; }

/* passaporto prodotto: cartellino appeso */
.sp-hang { width: min(62%, 300px); padding: 46px 26px 24px; border-radius: 22px 22px 22px 22px; text-align: center; transform: rotate(4deg); transform-origin: 50% 0;
  background: linear-gradient(180deg, #FFFDFB, #FFF3EA); border: 2px solid var(--ink); }
.sp-hang::before { content: ""; position: absolute; left: 50%; top: -64px; width: 2px; height: 72px; background: var(--ink-3); transform: rotate(-4deg); }
.sp-hang-hole { position: absolute; left: 50%; top: 14px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 2px var(--ink); }
.sp-hang-brand { margin: 0; font-size: 12px; font-weight: 900; letter-spacing: .24em; text-transform: uppercase; color: var(--coral-d); }
.sp-hang-model { margin: 4px 0 16px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 900; letter-spacing: -.02em; line-height: 1.05; }
.sp-hang .sp-qr { width: 72%; margin: 0 auto; }
.sp-hang .db-qr-img { width: 100%; height: auto; aspect-ratio: 1; }
.sp-hang-serial { margin: 12px 0 0; font-family: ui-monospace, Consolas, monospace; font-size: 12px; font-weight: 700; color: var(--ink-2); }

/* tessere: card in PVC */
.sp-pvc { width: min(60%, 360px); margin-top: 8px; aspect-ratio: 85.6 / 54; border-radius: 20px; padding: 6% 6.5%; color: #fff; transform: rotate(-3deg) translateY(10px);
  background: radial-gradient(120% 140% at 100% 0%, #FF8A6B 0%, var(--coral) 38%, #B8331F 100%); display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; column-gap: 14px; }
.sp-pvc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, rgba(255,255,255,.28), transparent 40%); pointer-events: none; }
.sp-pvc-club { grid-column: 1 / -1; margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: clamp(12px, 1.2vw, 15px); }
.sp-pvc-club span { width: 28px; height: 28px; border-radius: 8px; background: #fff; color: var(--coral-d); display: grid; place-items: center; font-size: 11px; }
.sp-pvc-name { grid-column: 1; align-self: end; margin: 0; font-size: clamp(18px, 2.1vw, 26px); font-weight: 900; letter-spacing: -.01em; line-height: 1.05; }
.sp-pvc-role { grid-column: 1; margin: 4px 0 0; font-size: clamp(11px, 1vw, 13px); font-weight: 700; opacity: .9; }
.sp-pvc .sp-qr { grid-column: 2; grid-row: 2 / 4; align-self: end; width: clamp(74px, 8.6vw, 108px); }
.sp-pvc .db-qr-img { width: 100%; height: auto; aspect-ratio: 1; }

/* presenze: cartello A4 */
.sp-poster { width: min(58%, 290px); aspect-ratio: 210 / 297; border-radius: 10px; padding: 9% 8% 7%; display: flex; flex-direction: column; align-items: center; text-align: center; transform: rotate(3deg); }
.sp-poster::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5%; border-radius: 10px 10px 0 0; background: linear-gradient(90deg, var(--coral), #FFB4A3 55%, var(--mint)); }
.sp-poster-kind { margin: 6% 0 2%; font-size: 11px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: var(--coral-d); }
.sp-poster-title { margin: 0 0 7%; font-size: clamp(16px, 1.8vw, 22px); font-weight: 900; line-height: 1.1; }
.sp-poster .sp-qr { width: 70%; border: 2px solid var(--ink); border-radius: 12px; box-shadow: 0 3px 0 var(--ink); }
.sp-poster .db-qr-img { width: 100%; height: auto; aspect-ratio: 1; }
.sp-poster-do { margin: auto 0 0; font-size: clamp(13px, 1.4vw, 17px); font-weight: 900; }
.sp-bar { display: block; height: 8px; border-radius: 6px; background: var(--sand); margin-top: 6px; overflow: hidden; }
.sp-bar i { display: block; width: 82%; height: 100%; margin: 0 !important; border-radius: 6px; background: linear-gradient(90deg, #12A386, #2EC4A6); }

/* prima / dopo con elenco */
.sp-vs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sp-vs-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 800; line-height: 1.3; }
.sp-vs-list span { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 900; }
.al-vs-bad .sp-vs-list span { background: rgba(22,22,29,.08); color: var(--ink-2); }
.al-vs-bad .sp-vs-list li { color: var(--ink-2); }
.al-vs-good .sp-vs-list span { background: var(--mint); color: #fff; }

/* stampa professionale: la parte che porta ricavi */
.sp-print { margin: 0 0 104px; background: var(--ink); color: #fff; border-radius: 36px; padding: 48px 44px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px 40px; align-items: center; }
.sp-print .hm-kicker { background: rgba(255,90,60,.18); color: #FF9A80; display: inline-flex; align-items: center; gap: 6px; }
.sp-print h2 { color: #fff; margin: 0 0 12px; }
.sp-print-head p:last-child { margin: 0; color: rgba(255,255,255,.75); font-size: 17px; }
.sp-print-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sp-print-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 18px 20px; border-radius: 20px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: #fff; text-decoration: none; transition: background .2s, transform .2s; }
.sp-print-list a:hover { background: rgba(255,90,60,.16); transform: translateX(4px); }
.sp-print-list b { font-size: 18px; }
.sp-print-list span { grid-column: 1; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.4; }
.sp-print-list em { grid-column: 2; grid-row: 1 / 3; font-style: normal; font-weight: 900; color: #FF9A80; white-space: nowrap; }
.sp-print-note { grid-column: 1 / -1; margin: 0; font-size: 14px; color: rgba(255,255,255,.6); font-weight: 700; }
.sp-try-btn { background: #fff; color: var(--coral-d); display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.sp-try-btn:hover { background: var(--cream); }

/* altri servizi */
.sp-others { margin: 0 0 104px; text-align: center; }
.sp-others h2 { margin: 0 0 24px; }
.sp-others ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sp-others a { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 999px; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 10px 24px -18px rgba(120,40,20,.45); color: var(--ink); font-weight: 800; text-decoration: none; transition: transform .2s; }
.sp-others a:hover { transform: translateY(-2px); }
.sp-others .sv-tile-ico { width: 38px; height: 38px; border-radius: 50%; }
.sv-t-scan { background: var(--sand); color: var(--ink); }

@media (max-width: 960px) {
  .sp-print { grid-template-columns: 1fr; padding: 36px 28px; }
}
@media (max-width: 640px) {
  .sp-stage { min-height: 360px; }
  .sp-hang { width: 64%; padding: 38px 16px 18px; }
  .sp-pvc { width: 62%; border-radius: 14px; }
  .sp-poster { width: 62%; }
  .sp-print { padding: 30px 20px; border-radius: 26px; margin-bottom: 72px; }
  .sp-print-list a { grid-template-columns: 1fr; }
  .sp-print-list em { grid-column: 1; grid-row: auto; margin-top: 6px; }
  .sp-others { margin-bottom: 72px; }
  .al-try .sp-try-btn { width: 100%; justify-content: center; }
}

@media print { .js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; } }
