/* FLUCTUS · servizifluctus.com
   Un muro bianco appena finito, il blu del marchio per la struttura,
   il giallo del nastro di carta solo dove c'è qualcosa da fare. */

@font-face { font-family: "Inter Display"; src: url("/assets/fonts/InterDisplay-ExtraBold.woff") format("woff"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --navy: #082a4b;
  --navy-2: #12406b;
  --gold: #e9a827;
  --gold-ink: #7a4f00;
  --tape: rgba(233, 168, 39, .86);
  --wall: #ffffff;
  --plaster: #f0f2f1;
  --ink: #0f1d2b;
  --muted: #56636f;
  --line: #d9dfe3;
  --ok: #1d6b45;
  --err: #a1261b;
  --r-sm: 4px;
  --r-md: 10px;
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 48px);
  --bar: 0px;
  --display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--wall); padding-bottom: var(--bar); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-2); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tipografia */
h1, h2, h3 { font-family: var(--display); font-weight: 800; color: var(--navy); margin: 0; letter-spacing: -0.025em; }
h1 { font-size: clamp(40px, 7.2vw, 84px); line-height: .98; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.04; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0 0 1em; max-width: 64ch; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: #233445; max-width: 54ch; }
.muted { color: var(--muted); }
.small { font-size: 15px; color: var(--muted); }
.kicker { display: inline-block; font-weight: 600; font-size: 15px; color: var(--gold-ink); margin-bottom: 14px; }

/* ---------- pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: var(--r-sm); border: 2px solid transparent; font: 600 16px/1 var(--text); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: #f3b739; color: var(--ink); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn[disabled] { opacity: .55; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- testata */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .top { background: rgba(255,255,255,.86); backdrop-filter: blur(10px); } }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand img { width: 66px; height: auto; }
.brand b { font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 12px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; border-radius: var(--r-sm); }
.nav a:hover { background: var(--plaster); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.top .btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 28px; height: 28px; }
.top-phone { font-weight: 600; text-decoration: none; white-space: nowrap; }

@media (max-width: 980px) {
  .top .wrap { min-height: 64px; }
  .top .desk { display: none; }
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--pad) 20px; box-shadow: 0 18px 30px rgba(8,42,75,.12); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 16px 4px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold); padding-left: 14px; }
}

/* ---------- barra fissa su telefono */
.bar { display: none; }
@media (max-width: 760px) {
  :root { --bar: 68px; }
  .bar { display: grid; grid-template-columns: 1fr 1fr 1.35fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--navy); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; font-size: 15px; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
  .bar a.go { background: var(--gold); color: var(--ink); border-color: var(--gold); }
  .bar svg { width: 19px; height: 19px; }
}

/* ---------- sezioni */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-tight { padding: clamp(44px, 6vw, 72px) 0; }
.sec-plaster { background: var(--plaster); }
.sec-navy { background: var(--navy); color: #e6edf4; }
.sec-navy h2, .sec-navy h3 { color: #fff; }
.sec-navy .lead { color: #d4dfea; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 32px 64px; align-items: end; margin-bottom: 48px; }
.head p { margin: 0; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; margin-bottom: 32px; } }

/* ---------- nastro di carta: l'unico ornamento */
.tape { position: absolute; width: 112px; height: 30px; background: var(--tape); z-index: 2; box-shadow: 0 1px 2px rgba(0,0,0,.08);
  -webkit-mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent 0), repeating-linear-gradient(0deg, #000 0 3px, transparent 3px 5px);
  -webkit-mask-composite: source-over; }
.tape::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.09) 0 3px, transparent 3px 7px); }
.tape-tl { top: -12px; left: -24px; transform: rotate(-38deg); }
.tape-br { bottom: -10px; right: -26px; transform: rotate(-36deg); }

/* ---------- hero */
.hero { padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.hero .facts li { display: flex; gap: 12px; align-items: baseline; font-weight: 600; color: #233445; }
.hero .facts li::before { content: ""; flex: none; width: 14px; height: 6px; background: var(--gold); transform: translateY(-3px) rotate(-8deg); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* prima / dopo con cursore */
.ba { margin: 14px 10px 0; }
.ba-hold { position: relative; }
.ba-frame { position: relative; overflow: hidden; border-radius: 2px; background: var(--plaster); aspect-ratio: 3 / 4; box-shadow: 0 30px 60px -30px rgba(8,42,75,.45); --pos: 50%; touch-action: pan-y; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-frame .after { clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; box-shadow: 0 0 0 1px rgba(8,42,75,.15); }
.ba-knob { position: absolute; top: 50%; left: var(--pos); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; display: grid; place-items: center; pointer-events: none; box-shadow: 0 6px 18px rgba(8,42,75,.3); color: var(--navy); }
.ba-knob svg { width: 26px; height: 26px; }
.ba-tag { position: absolute; top: 14px; padding: 5px 10px; font-size: 13px; font-weight: 600; background: rgba(15,29,43,.78); color: #fff; border-radius: 2px; pointer-events: none; }
.ba-tag.l { left: 14px; } .ba-tag.r { right: 14px; background: rgba(255,255,255,.92); color: var(--navy); }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.ba input[type="range"]:focus-visible + .ba-frame { outline: 3px solid var(--gold); outline-offset: 4px; }
.ba figcaption { margin-top: 26px; font-size: 14px; color: var(--muted); }

/* ---------- elenchi di servizi: righe, non schede */
.svc { border-top: 2px solid var(--navy); }
.svc a, .svc .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 8px 40px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.svc a:hover h3 { color: var(--navy-2); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.svc p { margin: 0; color: var(--muted); }
.svc .go { font-weight: 600; color: var(--navy); white-space: nowrap; }
.svc a.main h3 { font-size: clamp(26px, 3vw, 34px); }
@media (max-width: 760px) { .svc a, .svc .row { grid-template-columns: 1fr auto; } .svc a p, .svc .row p { grid-column: 1 / -1; grid-row: 2; } .svc .go { grid-row: 1; grid-column: 2; } }

/* ---------- passaggi (sequenza vera) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); display: block; font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--gold); margin-bottom: 14px; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sec-navy .steps { border-color: rgba(255,255,255,.18); }
.sec-navy .steps li { border-color: rgba(255,255,255,.18); }
.sec-navy .steps p { color: #c7d4e1; }
@media (max-width: 900px) { .steps, .steps.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps, .steps.four { grid-template-columns: 1fr; } .steps li { padding-right: 0; } }

/* ---------- due colonne */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.top-align { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo { position: relative; margin: 0; }
.photo img { width: 100%; border-radius: 2px; aspect-ratio: 3 / 4; object-fit: cover; }
.photo.wide img { aspect-ratio: 4 / 3; }
.photo figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* lista con segno */
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 16px; height: 8px; border-left: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(-45deg); }
.ticks li:first-child { border-top: 1px solid var(--line); }
.sec-navy .ticks li { border-color: rgba(255,255,255,.18); }
.sec-navy .ticks li::before { border-color: var(--gold); }

/* ---------- video */
.video { margin: 0; max-width: 380px; justify-self: center; }
.video video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 14px; background: #111; box-shadow: 0 30px 60px -30px rgba(8,42,75,.5); display: block; }
.video figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* ---------- conversazione WhatsApp (illustrazione) */
.chat { max-width: 380px; margin-left: auto; background: #eef2ee; border-radius: 22px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); color: var(--ink); font-size: 15px; }
.chat .who { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #d6ddd6; margin-bottom: 14px; font-weight: 600; }
.chat .who img { width: 34px; height: 34px; border-radius: 50%; background: #fff; object-fit: contain; padding: 4px; }
.chat .who span { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.msg { max-width: 86%; padding: 9px 12px 18px; border-radius: 10px; margin-bottom: 8px; position: relative; background: #fff; line-height: 1.4; }
.msg.me { margin-left: auto; background: #d9f3cf; }
.msg time { position: absolute; right: 9px; bottom: 3px; font-size: 11px; color: #6b7a6b; }
.msg.photo-msg { padding: 4px 4px 18px; }
.msg.photo-msg img { border-radius: 7px; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- domande */
.faq { border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 600; font-size: 18px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details > div { padding: 0 0 22px; }
.faq details p:last-child { margin-bottom: 0; }

/* ---------- invito finale */
.cta { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 28px 48px; align-items: center; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.cta h2 { color: #fff; }
.cta p { color: #cbd8e5; margin: 14px 0 0; }
.cta .actions { margin: 0; justify-content: flex-end; }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; } .cta .actions { justify-content: flex-start; } }

/* ---------- testata delle pagine interne */
.page-head { padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); }
.page-head h1 { font-size: clamp(38px, 6vw, 68px); max-width: 16ch; }
.page-head .lead { margin-top: 22px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ink); background: #fff; }
.chips a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- interventi */
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
.work { text-decoration: none; color: var(--ink); display: block; }
.work .pair { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.work .pair img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.work h3 { margin: 18px 0 6px; }
.work p { color: var(--muted); margin: 0; }
.work:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--gold-ink); margin-top: 16px; }
@media (max-width: 760px) { .works { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 2px; }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* ---------- contatti */
.contact-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--navy); }
.contact-list > div { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; font-size: 15px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.contact-list a, .contact-list span.big { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--navy); text-decoration: none; letter-spacing: -0.01em; word-break: break-word; }
@media (max-width: 860px) { .contact-list { grid-template-columns: 1fr; } }

/* ---------- testi lunghi (privacy, cookie) */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 44px 0 12px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0 20px; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose code { font-size: 14px; background: var(--plaster); padding: 1px 5px; border-radius: 3px; }

/* ---------- avvisi */
.note { border-left: 4px solid var(--gold); background: #fff8e8; padding: 16px 20px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 0 0 20px; }
.note p:last-child { margin: 0; }

/* ---------- modulo preventivo */
.quote { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .quote { grid-template-columns: 1fr; } .quote aside { order: 2; } }
.quote aside { position: sticky; top: 96px; }
.quote aside h2 { font-size: 22px; margin-bottom: 10px; }
.form { background: #fff; }
.progress { margin-bottom: 26px; }
.progress ol { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 0; margin: 0 0 10px; }
.progress li { height: 6px; background: var(--line); border-radius: 3px; }
.progress li.done { background: var(--navy); }
.progress li.now { background: var(--gold); }
.progress p { margin: 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.step { display: none; }
.step.active { display: block; }
.step h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 8px; }
.step h2:focus { outline: none; }
.step > .small { margin-bottom: 22px; }
.group { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.group legend, .label { display: block; font-weight: 600; margin-bottom: 12px; padding: 0; font-size: 16px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt span { display: flex; align-items: center; min-height: 56px; padding: 12px 14px 12px 44px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font-weight: 600; font-size: 15px; line-height: 1.3; cursor: pointer; background: #fff; position: relative; transition: border-color .12s, background-color .12s; }
.opt span::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid #9aa6b1; border-radius: 50%; background: #fff; }
.opt input:checked + span { border-color: var(--navy); background: #f2f6fa; }
.opt input:checked + span::before { border-color: var(--navy); background: radial-gradient(var(--navy) 0 4px, #fff 5px); }
.opt input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: 7px; font-size: 15px; }
.field label .small { font-weight: 400; }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select, textarea { width: 100%; min-height: 52px; padding: 12px 14px; font: 400 16px/1.4 var(--text); color: var(--ink); background: #fff; border: 1.5px solid #b9c3cc; border-radius: var(--r-sm); }
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(233,168,39,.45); }
.drop { border: 2px dashed #b9c3cc; border-radius: var(--r-md); padding: 22px; margin-top: 22px; background: var(--plaster); }
.drop strong { display: block; font-size: 17px; margin-bottom: 4px; }
.drop input[type="file"] { margin: 12px 0 6px; font: inherit; max-width: 100%; }
.drop ul { list-style: none; padding: 0; margin: 10px 0 0; font-size: 14px; }
.drop li { padding: 4px 0; }
.nav-step { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.nav-step .btn-dark, .nav-step .btn-primary { margin-left: auto; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; margin-top: 18px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--navy); }
.review section { border-top: 1px solid var(--line); padding: 16px 0; }
.review .rh { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.review h3 { font-size: 18px; }
.review button { background: none; border: 0; font: 600 15px var(--text); color: var(--navy); text-decoration: underline; cursor: pointer; padding: 4px; }
.review dl { display: grid; grid-template-columns: 160px 1fr; gap: 6px 16px; margin: 10px 0 0; font-size: 15px; }
.review dt { color: var(--muted); }
.review dd { margin: 0; white-space: pre-line; word-break: break-word; }
@media (max-width: 560px) { .review dl { grid-template-columns: 1fr; } .review dd { margin-bottom: 8px; } }
.status { padding: 14px 16px; border-radius: var(--r-sm); margin: 0 0 18px; font-size: 15px; }
.status[data-kind="busy"] { background: #eef3f8; color: var(--navy); }
.status[data-kind="error"] { background: #fbecea; color: var(--err); border-left: 4px solid var(--err); }
.status:focus { outline: none; }
.priority { display: none; }
.priority.on { display: block; }
.done-card { display: none; padding: 8px 0; }
.done-card.on { display: block; }
.done-card h2 { margin-bottom: 12px; }
.code { display: inline-block; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 5vw, 44px); color: var(--navy); background: var(--plaster); padding: 8px 16px; border-radius: var(--r-sm); margin: 6px 0 18px; letter-spacing: .01em; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- piè di pagina */
.foot { background: var(--plaster); padding: 64px 0 40px; font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot h2 { font-family: var(--text); font-weight: 600; font-size: 15px; color: var(--muted); letter-spacing: 0; margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .brand img { width: 64px; }
.foot .legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 860px) { .foot .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot .cols { grid-template-columns: 1fr; } }

/* ---------- pagina annunci */
.lp-top .wrap { min-height: 64px; display: flex; align-items: center; justify-content: space-between; }
.lp-top .btn { min-height: 44px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .top, .bar, .cta, .foot { display: none; } }

.play-badge { position: absolute; left: 12px; bottom: 12px; z-index: 1; background: rgba(15,29,43,.82); color: #fff; font-weight: 600; font-size: 14px; padding: 6px 12px; border-radius: 999px; }
