/* ════════════════════════════════════════════════════════════
   Modulo «Iscrivi il tuo locale» (burraco-locali.html)
   Passi brevi, mobile-first, con anteprima dal vivo della card
   della vetrina. Usa i token di landing.css senza ridefinirli.
   ════════════════════════════════════════════════════════════ */

.vf-section { scroll-margin-top: 70px; }
.vf-section .sec-head { margin-bottom: 30px; }
.vf-inline { color: var(--coral); font-weight: 700; border-bottom: 2px solid rgba(230, 57, 70, .3); }
.vf-inline:hover { border-color: var(--coral); }

.vf-perks { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.vf-perks li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-weight: 700; font-size: .84rem; color: var(--ink);
}
.vf-perks li span { color: var(--felt); }

/* ── Guscio: modulo + anteprima ─────────────────────────────── */
.vf-shell {
  max-width: 1020px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start;
}

.vf-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 30px 34px 0;
}
.vf-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: linear-gradient(90deg, var(--coral), var(--gold));
}

/* ── Avanzamento: quattro carte da gioco ───────────────────── */
.vf-progress { margin-bottom: 22px; }
.vf-suits { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.vf-suits li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.vf-suit {
  width: 40px; height: 52px; border-radius: 8px;
  display: grid; place-items: center;
  font-size: 1.35rem; line-height: 1; color: #B8B8B8;
  background: #F7F3F1; border: 1.5px solid rgba(45, 45, 45, .1);
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), background .3s, color .3s, box-shadow .3s, border-color .3s;
}
.vf-suit-label { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.vf-suits li.is-done .vf-suit,
.vf-suits li.is-active .vf-suit { background: #fff; color: var(--ink); border-color: rgba(45, 45, 45, .16); box-shadow: var(--shadow-sm); }
.vf-suits li.is-done .vf-suit.vf-red,
.vf-suits li.is-active .vf-suit.vf-red { color: var(--coral); }
.vf-suits li.is-active .vf-suit { transform: translateY(-4px) rotate(-6deg); box-shadow: 0 10px 22px rgba(200, 64, 58, .2); border-color: var(--coral); }
.vf-suits li.is-active .vf-suit-label { color: var(--coral); }
.vf-suits li.is-done .vf-suit-label { color: var(--ink); }

.vf-bar { height: 6px; border-radius: var(--r-pill); background: #F3ECE9; margin-top: 14px; overflow: hidden; }
.vf-bar i {
  display: block; height: 100%; width: 25%; border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  transition: width .5s cubic-bezier(.2, .7, .2, 1);
}
.vf-count { margin-top: 8px; font-size: .8rem; font-weight: 700; color: var(--ink-soft); text-align: right; }

/* ── Passi ─────────────────────────────────────────────────── */
.vf-step { border: 0; min-width: 0; padding: 0; margin: 0; }
.vf-step:not([hidden]) { animation: vf-in .45s cubic-bezier(.2, .7, .2, 1) both; }
.vf-step.is-back:not([hidden]) { animation-name: vf-in-back; }
@keyframes vf-in { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes vf-in-back { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }

.vf-title {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.01em;
  font-size: clamp(1.55rem, 4.6vw, 1.95rem); line-height: 1.15; color: var(--ink);
  padding: 0; float: none; width: 100%; outline: none;
}
.vf-sub { color: var(--ink-soft); font-size: .98rem; margin: 6px 0 22px; line-height: 1.55; }
.vf-sub strong { color: var(--ink); }
.vf-mark {
  background: linear-gradient(180deg, transparent 58%, rgba(212, 175, 55, .42) 58%, rgba(212, 175, 55, .42) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 2px;
}

.vf-field { margin-bottom: 20px; }
.vf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

.vf-card label,
.vf-label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; color: var(--ink); }
.vf-req { color: var(--coral); }
.vf-opt { font-weight: 600; font-size: .78rem; color: var(--ink-soft); background: #F5F1EF; padding: 2px 8px; border-radius: var(--r-pill); margin-left: 4px; }

.vf-card input[type="text"],
.vf-card input[type="tel"],
.vf-card input[type="email"],
.vf-card input[type="number"],
.vf-card textarea,
.vf-card select {
  width: 100%; min-height: 52px; padding: 13px 16px;
  border-radius: var(--r-sm); border: 1.5px solid rgba(45, 45, 45, .26);
  background: #FAF6F4; color: var(--ink);
  font: 500 1rem/1.4 var(--font-body);
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.vf-card textarea { resize: vertical; min-height: 96px; }
.vf-card input::placeholder, .vf-card textarea::placeholder { color: #A5A0A0; font-weight: 400; }
.vf-card input:focus, .vf-card textarea:focus, .vf-card select:focus {
  outline: none; border-color: var(--coral); background: #fff; box-shadow: 0 0 0 4px rgba(230, 57, 70, .13);
}
.vf-card .is-invalid input,
.vf-card .is-invalid textarea,
.vf-card input.is-invalid { border-color: #DC2626; background: #FFF7F7; }

.vf-hint { font-size: .82rem; color: var(--ink-soft); margin-top: 7px; line-height: 1.45; }
.vf-err { display: none; font-size: .84rem; font-weight: 700; color: #C81E1E; margin-top: 7px; }
.vf-err::before { content: "● "; font-size: .6rem; vertical-align: 2px; }
.is-invalid > .vf-err, .vf-err.is-shown { display: block; }

/* ── Chip (tipo e servizi) ─────────────────────────────────── */
.vf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vf-card label.vf-chip { margin: 0; font-weight: 600; }
.vf-chip { position: relative; cursor: pointer; }
.vf-chip input { position: absolute; opacity: 0; pointer-events: none; }
.vf-chip span {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 46px; padding: 10px 16px;
  border-radius: var(--r-pill); border: 1.5px solid rgba(45, 45, 45, .14); background: #fff;
  font-size: .94rem; color: var(--ink);
  transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
  -webkit-user-select: none; user-select: none;
}
.vf-chip span i { font-style: normal; font-size: 1.05rem; line-height: 1; }
.vf-chip:hover span { border-color: rgba(230, 57, 70, .45); }
.vf-chip input:checked + span {
  border-color: var(--coral); background: rgba(230, 57, 70, .08); color: var(--coral-dark);
  box-shadow: 0 0 0 1px var(--coral) inset;
}
.vf-chips-services .vf-chip input:checked + span::after { content: "✓"; font-weight: 800; margin-left: 2px; }
.vf-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(230, 57, 70, .2); }
.vf-chip:active span { transform: scale(.96); }

/* ── Persone ───────────────────────────────────────────────── */
.vf-capacity { position: relative; display: flex; align-items: center; max-width: 280px; }
.vf-capacity-ic { position: absolute; left: 16px; font-size: 1.15rem; pointer-events: none; }
.vf-card .vf-capacity input {
  padding-left: 48px; padding-right: 92px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; min-height: 60px;
  -moz-appearance: textfield;
}
.vf-capacity input::-webkit-outer-spin-button,
.vf-capacity input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.vf-capacity-unit { position: absolute; right: 16px; font-weight: 600; color: var(--ink-soft); pointer-events: none; }
.vf-capacity.is-invalid input { border-color: #DC2626; }
.vf-quick { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 10px; max-width: 420px; }
.vf-quick button {
  min-height: 44px; padding: 0 4px;
  border-radius: 12px; border: 1.5px dashed rgba(45, 45, 45, .2); background: transparent;
  font: 700 .95rem var(--font-body); color: var(--ink); cursor: pointer;
  transition: .2s;
}
.vf-quick button:hover { border-color: var(--coral); color: var(--coral); }
.vf-quick button.is-on { border-style: solid; border-color: var(--coral); background: var(--coral); color: #fff; }

/* ── Giorni e fasce orarie ─────────────────────────────────── */
.vf-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.vf-card .vf-days label { margin: 0; cursor: pointer; }
.vf-days input { position: absolute; opacity: 0; pointer-events: none; }
.vf-days span {
  display: grid; place-items: center; height: 50px; border-radius: 12px;
  border: 1.5px solid rgba(45, 45, 45, .14); background: #fff;
  font-weight: 700; font-size: .86rem; color: var(--ink);
  transition: .2s; -webkit-user-select: none; user-select: none;
}
.vf-days label:hover span { border-color: rgba(230, 57, 70, .45); }
.vf-days input:checked + span {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark)); border-color: transparent; color: #fff;
  box-shadow: 0 6px 14px rgba(200, 64, 58, .28); transform: translateY(-2px);
}
.vf-days input:focus-visible + span { box-shadow: 0 0 0 4px rgba(230, 57, 70, .2); }

.vf-hours { display: grid; gap: 8px; margin-top: 12px; }
.vf-hours:empty { display: none; }
.vf-hour {
  display: grid; grid-template-columns: 52px 1fr auto 1fr; align-items: center; gap: 8px;
  padding: 8px 10px 8px 14px; border-radius: var(--r-sm);
  background: #FFF8F5; border: 1px solid rgba(230, 57, 70, .14);
  animation: vf-pop .3s cubic-bezier(.34, 1.56, .64, 1) both;
}
@keyframes vf-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.vf-hour b { font-weight: 800; font-size: .9rem; }
.vf-hour .vf-dash { color: var(--ink-soft); font-weight: 700; }
.vf-card .vf-hour select {
  min-height: 44px; padding: 8px 30px 8px 12px; font-weight: 700; font-size: .98rem; background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23E63946' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
}
.vf-hour.is-invalid { border-color: #DC2626; background: #FFF4F4; }
.vf-copy {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 14px; margin-top: 2px;
  border-radius: var(--r-pill); border: 0; background: rgba(45, 122, 62, .1); color: var(--felt);
  font: 700 .86rem var(--font-body); cursor: pointer; transition: .2s;
}
.vf-copy:hover { background: rgba(45, 122, 62, .18); }

/* ── Foto ──────────────────────────────────────────────────── */
.vf-photo { position: relative; margin-bottom: 18px; }
.vf-photo-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.vf-card label.vf-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  aspect-ratio: 16 / 10; width: 100%; margin: 0; padding: 20px; text-align: center; cursor: pointer;
  border-radius: var(--r-md); border: 2px dashed rgba(230, 57, 70, .4);
  background:
    radial-gradient(circle at 20% 15%, rgba(212, 175, 55, .16), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(230, 57, 70, .1), transparent 50%),
    #FFF9F6;
  transition: border-color .2s, transform .25s, background-color .2s;
}
.vf-card label.vf-drop[hidden] { display: none; }
.vf-drop:hover { border-color: var(--coral); transform: translateY(-2px); }
.vf-photo-input:focus-visible + .vf-drop { box-shadow: 0 0 0 4px rgba(230, 57, 70, .2); }
.vf-drop-ic {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark)); color: #fff;
  box-shadow: 0 12px 26px rgba(200, 64, 58, .32);
}
.vf-drop-ic svg { width: 38px; height: 38px; }
.vf-drop-title { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.vf-drop-sub { font-weight: 500; font-size: .9rem; color: var(--ink-soft); }

.vf-photo-preview { margin: 0; border-radius: var(--r-md); overflow: hidden; background: #F3ECE9; box-shadow: var(--shadow-sm); }
.vf-photo-preview img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; animation: vf-pop .4s ease both; }
.vf-photo-preview figcaption {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 var(--r-md) var(--r-md);
}
.vf-photo-info { font-size: .84rem; font-weight: 600; color: var(--felt); }
.vf-photo-actions { display: flex; gap: 4px; }
.vf-card label.vf-link-btn,
.vf-link-btn {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; margin: 0;
  border: 0; background: none; border-radius: 10px; cursor: pointer;
  font: 700 .9rem var(--font-body); color: var(--coral);
}
.vf-link-btn:hover { background: rgba(230, 57, 70, .08); }
.vf-photo-busy { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 700; color: var(--ink-soft); }
.vf-photo-busy[hidden] { display: none; }
.vf-spin {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(230, 57, 70, .2); border-top-color: var(--coral);
  animation: vf-spin .8s linear infinite;
}
@keyframes vf-spin { to { transform: rotate(360deg); } }

.vf-tips { list-style: none; display: grid; gap: 6px; padding: 14px 16px; border-radius: var(--r-sm); background: rgba(45, 122, 62, .07); }
.vf-tips li { position: relative; padding-left: 22px; font-size: .9rem; color: var(--ink); line-height: 1.45; }
.vf-tips li::before { content: "✓"; position: absolute; left: 0; color: var(--felt); font-weight: 800; }

/* ── Chi organizza (scelta a schede) ───────────────────────── */
.vf-cards { display: grid; gap: 10px; }
.vf-card label.vf-option {
  display: flex; gap: 12px; align-items: flex-start; margin: 0; cursor: pointer;
  padding: 14px 16px; border-radius: var(--r-sm);
  border: 1.5px solid rgba(45, 45, 45, .14); background: #fff;
  font-weight: 500; transition: border-color .2s, background .2s, box-shadow .2s;
}
.vf-option:hover { border-color: rgba(230, 57, 70, .45); }
.vf-option input {
  flex: 0 0 auto; width: 22px; height: 22px; margin: 1px 0 0;
  accent-color: var(--coral);
}
.vf-option-body { display: grid; gap: 2px; }
.vf-option-body strong { font-size: 1rem; }
.vf-option-body span { font-size: .88rem; color: var(--ink-soft); line-height: 1.45; }
.vf-option:has(input:checked) { border-color: var(--coral); background: rgba(230, 57, 70, .05); box-shadow: 0 0 0 1px var(--coral) inset; }
.is-invalid .vf-option { border-color: rgba(220, 38, 38, .5); }

/* ── Riepilogo ─────────────────────────────────────────────── */
.vf-summary-card { max-width: 340px; margin: 0 auto 22px; }
.vf-recap { display: grid; gap: 10px; }
.vf-recap-group { padding: 14px 16px; border-radius: var(--r-sm); background: #FFFAF8; border: 1px solid var(--line); }
.vf-recap-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.vf-recap-head dt { font-weight: 800; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.vf-recap-head dt span { margin-right: 6px; }
.vf-recap-head .vf-red { color: var(--coral); }
.vf-recap dd { font-size: .95rem; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.vf-recap dd + dd { margin-top: 2px; }
.vf-recap dd.vf-muted { color: var(--ink-soft); font-style: italic; }
.vf-recap .vf-link-btn { min-height: 36px; padding: 0 10px; font-size: .86rem; }

/* ── Navigazione (in basso, sempre a portata di pollice) ──── */
.vf-nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  margin: 8px -34px 0; padding: 16px 34px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 26%);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.vf-nav .btn { flex: 1; min-width: 0; padding: 17px 20px; font-size: 1.06rem; white-space: nowrap; }
.vf-nav .btn:disabled { opacity: .7; cursor: wait; transform: none; }
.vf-nav .btn.is-soft { background: #fff; color: var(--coral); border: 1.5px solid var(--coral); box-shadow: none; }
.vf-back {
  flex: 0 0 auto; min-height: 56px; padding: 0 18px;
  border: 1.5px solid var(--line); border-radius: var(--r-pill); background: #fff;
  font: 700 .98rem var(--font-body); color: var(--ink); cursor: pointer; transition: .2s;
}
.vf-back:hover { border-color: var(--ink); }
.vf-back[hidden] { display: none; }
.vf-next[hidden] { display: none; }

.vf-msg { display: none; margin: 4px 0 0; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: .93rem; line-height: 1.45; }
.vf-msg.err { display: block; background: #FEF2F2; color: #B91C1C; border: 1px solid rgba(220, 38, 38, .2); }
.vf-msg.info { display: block; background: #F5F1EF; color: var(--ink); }

.vf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ── Fatto ─────────────────────────────────────────────────── */
.vf-done { text-align: center; padding: 10px 0 32px; animation: vf-in .5s ease both; }
.vf-done[hidden] { display: none; }
.vf-done > p { color: var(--ink-soft); margin: 10px auto 22px; max-width: 44ch; }
.vf-done > p strong { color: var(--ink); }
.vf-done-cards { display: flex; justify-content: center; margin: 8px 0 18px; height: 70px; }
.vf-done-cards span {
  width: 44px; height: 60px; margin: 0 -6px; border-radius: 8px; display: grid; place-items: center;
  background: #fff; border: 1.5px solid rgba(45, 45, 45, .14); box-shadow: var(--shadow-sm);
  font-size: 1.5rem; color: var(--ink);
  animation: vf-fan .7s cubic-bezier(.34, 1.56, .64, 1) both;
}
.vf-done-cards span.vf-red { color: var(--coral); }
.vf-done-cards span:nth-child(1) { --r: -18deg; --y: 8px; }
.vf-done-cards span:nth-child(2) { --r: -6deg; --y: 0; animation-delay: .06s; }
.vf-done-cards span:nth-child(3) { --r: 6deg; --y: 0; animation-delay: .12s; }
.vf-done-cards span:nth-child(4) { --r: 18deg; --y: 8px; animation-delay: .18s; }
@keyframes vf-fan { from { opacity: 0; transform: translateY(20px) rotate(0); } to { opacity: 1; transform: translateY(var(--y)) rotate(var(--r)); } }
.vf-next-steps { list-style: none; text-align: left; max-width: 360px; margin: 0 auto 24px; display: grid; gap: 0; counter-reset: s; }
.vf-next-steps li {
  position: relative; padding: 0 0 16px 44px; counter-increment: s;
  display: grid; gap: 1px;
}
.vf-next-steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: .86rem; background: #F3ECE9; color: var(--ink-soft);
}
.vf-next-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: #F0E6E2;
}
.vf-next-steps li.is-done::before { content: "✓"; background: var(--felt); color: #fff; }
.vf-next-steps b { font-size: .98rem; }
.vf-next-steps span { font-size: .84rem; color: var(--ink-soft); }

/* ── Card della vetrina (anteprima e riepilogo) ────────────── */
.vf-preview { position: sticky; top: 96px; }
.vf-preview-label {
  font-weight: 800; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--coral);
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.vf-preview-label::before { content: ""; width: 18px; height: 2px; background: var(--coral); border-radius: 2px; }
.vf-preview-note { font-size: .8rem; color: var(--ink-soft); margin-top: 12px; text-align: center; }

.vf-vcard {
  background: #fff; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  transform: rotate(1.2deg); transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.vf-summary-card .vf-vcard { transform: none; }
.vf-vcard:hover { transform: rotate(0); }
.vf-vcard-photo {
  position: relative; aspect-ratio: 16 / 10; background-size: cover; background-position: center;
  background-color: #2D7A3E;
}
.vf-vcard-photo.is-empty {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .12), transparent 55%),
    linear-gradient(135deg, var(--felt), var(--felt-dark));
  display: grid; place-items: center;
}
.vf-vcard-photo.is-empty::after {
  content: "♠ ♥ ♦ ♣"; color: rgba(255, 255, 255, .28); font-size: 1.7rem; letter-spacing: .3em; padding-left: .3em;
}
.vf-vcard-badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .94); font-size: .74rem; font-weight: 800; color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.vf-vcard-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.vf-vcard-body { padding: 14px 16px 16px; }
.vf-vcard-name { font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; line-height: 1.2; color: var(--ink); }
.vf-vcard-name.is-ph { color: #C2BCBA; }
.vf-vcard-meta { font-size: .86rem; color: var(--ink-soft); margin-top: 2px; }
.vf-vcard-key {
  display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line);
  font-size: .86rem; font-weight: 700; color: var(--ink);
}
.vf-vcard-key span.is-ph { color: #C2BCBA; font-weight: 600; }
.vf-vcard-formula {
  margin-top: 10px; padding: 8px 10px; border-radius: 10px;
  background: rgba(212, 175, 55, .14); border-left: 3px solid var(--gold);
  font-size: .84rem; font-weight: 600; color: #5A4708; line-height: 1.4;
}
.vf-vcard-services { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.vf-vcard-services span { font-size: .76rem; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill); background: #F5F1EF; color: var(--ink); }
.vf-vcard-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.vf-vcard-actions span {
  display: grid; place-items: center; min-height: 38px; border-radius: var(--r-pill);
  font-size: .84rem; font-weight: 800;
}
.vf-vcard-actions span:first-child { border: 1.5px solid var(--line); color: var(--ink); }
.vf-vcard-actions span:last-child { background: linear-gradient(135deg, var(--coral), var(--coral-dark)); color: #fff; }

/* ── Responsive ────────────────────────────────────────────── */
@media (min-width: 561px) {
  .vf-chips-type { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vf-chips-type .vf-chip span { width: 100%; justify-content: center; }
}
/* Su desktop l'anteprima è già a fianco: nel riepilogo non si ripete. */
@media (min-width: 901px) { .vf-summary-card { display: none; } }
@media (max-width: 900px) {
  .vf-shell { grid-template-columns: 1fr; max-width: 620px; }
  .vf-preview { display: none; }
}
@media (max-width: 900px) {
  /* Sul telefono i pulsanti restano a portata di pollice mentre si scorre. */
  .vf-nav { position: sticky; bottom: 0; }
}
@media (max-width: 560px) {
  .vf-section .wrap { padding: 0 14px; }
  .vf-card { padding: 24px 18px 0; border-radius: var(--r-md); }
  .vf-card::before { border-radius: var(--r-md) var(--r-md) 0 0; }
  .vf-nav { margin: 8px -18px 0; padding: 14px 18px 18px; border-radius: 0 0 var(--r-md) var(--r-md); }
  .vf-nav .btn { padding: 16px 12px; font-size: 1rem; }
  .vf-back { padding: 0 14px; font-size: .94rem; }
  .vf-row { grid-template-columns: 1fr; }
  .vf-days { gap: 4px; }
  .vf-days span { height: 46px; font-size: .8rem; border-radius: 10px; }
  .vf-hour { grid-template-columns: 40px 1fr auto 1fr; padding: 6px 8px 6px 10px; gap: 6px; }
  .vf-card .vf-hour select { padding: 8px 24px 8px 10px; background-position: right 8px center; font-size: .95rem; }
  .vf-capacity { max-width: none; }
  .vf-chip span { padding: 9px 14px; font-size: .92rem; }
}

@media (prefers-reduced-motion: reduce) {
  .vf-step:not([hidden]), .vf-hour, .vf-done, .vf-done-cards span, .vf-photo-preview img { animation: none !important; }
  .vf-done-cards span { transform: translateY(var(--y)) rotate(var(--r)); }
  .vf-suit, .vf-bar i, .vf-vcard { transition: none; }
}
