:root {
  --bg: #082540;
  --bg-soft: #0c3555;
  --paper: #f7f1e8;
  --ink: #1a2430;
  --muted: #5c6670;
  --gold: #e8c07a;
  --gold-dark: #c9a05a;
  --ok: #1f6b4a;
  --err: #8b2e2e;
  --radius: 10px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  position: relative;
}

.starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* Stelle cadenti sopra hero/form (sotto i modal); il form resta cliccabile */
.meteorfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  display: block;
}

.hero {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  line-height: 0;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  justify-content: center;
}
.hero img,
.hero-video {
  width: 850px;
  max-width: 100%;
  height: 208px;
  max-height: 208px;
  display: block;
  object-fit: contain;
  aspect-ratio: 850 / 208;
}
@media (max-width: 850px) {
  .hero img,
  .hero-video {
    height: auto;
    max-height: none;
  }
}
.hero-media {
  position: relative;
  width: 100%;
  max-width: 820px;
  background: var(--bg);
  border-radius: 8px;
  overflow: hidden;
}
.hero-video {
  opacity: 0;
  transition: opacity 0.35s ease;
  background: var(--bg);
}
.hero-video.is-ready {
  opacity: 1;
}
.hero-unmute {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  border: none;
  border-radius: 999px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  background: rgba(11, 28, 44, 0.72);
  color: #fff8e8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.hero-unmute[hidden] {
  display: none;
}

.panel {
  max-width: 720px;
  margin: 1rem auto 3rem;
  padding: 1.75rem 1.5rem 2rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 1;
}
.page-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}
.page-main .panel {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}
@media (max-width: 600px) {
  .panel {
    margin-top: 0.75rem;
  }
}

h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 1rem;
  color: var(--bg-soft);
}

.lede {
  margin: 0 0 0.35rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.form-intro {
  margin: 0.65rem 0 0;
  padding: 0.85rem 1rem;
  background: #ebe3d6;
  border: 1px solid #d4c8b4;
  border-radius: 8px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  max-width: 42rem;
}

.form label {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
}
.form input,
.form select,
.form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #d4c8b4;
  border-radius: 6px;
  font: inherit;
  background: #fff;
  color: inherit;
  box-sizing: border-box;
}
.form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6a7a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold-dark);
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
@media (max-width: 600px) {
  .grid-2 { grid-template-columns: 1fr; }
}

fieldset {
  border: 1px solid #d4c8b4;
  border-radius: 6px;
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
}
legend {
  padding: 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.radio {
  font-weight: 400 !important;
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem !important;
}
.radio input { width: auto; margin: 0; }

.btn {
  display: inline-block;
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { filter: brightness(1.05); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn.ghost {
  background: transparent;
  border: 1px solid var(--bg-soft);
  color: var(--bg-soft);
}

.totale-box {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  background: #ebe3d6;
  border: 1px solid #d4c8b4;
  border-radius: 8px;
  font-size: 1.05rem;
  color: var(--bg-soft);
}
.totale-box strong {
  font-size: 1.2rem;
  color: var(--ink);
}

.error { color: var(--err); }
.success { color: var(--ok); }
.muted { color: var(--muted); font-size: 0.9rem; }

.iban-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.iban-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #e0d5c4;
}
.iban-list span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.share-box {
  background: #ebe3d6;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0 1.5rem;
  text-align: center;
}
.share-box code {
  display: block;
  word-break: break-all;
  font-size: 0.85rem;
  margin: 0.5rem 0 1rem;
}
.share-box .qr {
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
  margin: 0.75rem 0 1rem;
}
.share-actions .btn {
  margin: 0;
}
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #1da851) !important;
  color: #fff !important;
}
.btn-whatsapp:hover {
  filter: brightness(1.06);
}

.soldout-banner {
  background: #f3e8e4;
  border: 1px solid #d4b4a8;
  border-radius: 8px;
  padding: 1rem 1.1rem;
  margin: 0 0 1.25rem;
}
.soldout-banner p {
  margin: 0;
  font-size: 1.05rem;
  color: #5c2e24;
}

.join-banner {
  background: #ebe3d6;
  border: 1px solid #d4c8b4;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin: 0 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
}
.join-banner[hidden],
.join-panel[hidden],
.join-search[hidden],
.search-results[hidden],
.form-intro[hidden] {
  display: none !important;
}
.join-banner p {
  margin: 0;
  flex: 1;
  min-width: 200px;
  font-size: 0.95rem;
}

.join-panel {
  margin: 0 0 1.25rem;
}
.join-search {
  margin-top: 0.85rem;
  padding: 1rem;
  border: 1px dashed #d4c8b4;
  border-radius: 8px;
  background: #faf6f0;
}
.search-results {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.tavolo-result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  width: 100%;
  text-align: left;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d4c8b4;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font: inherit;
}
.tavolo-result:hover:not(:disabled) {
  border-color: var(--gold-dark);
  outline: 2px solid var(--gold);
}
.tavolo-result:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.tavolo-result strong {
  color: var(--bg-soft);
}
.tavolo-result-cta {
  color: var(--bg-soft) !important;
  font-size: 1.02rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.tavolo-result:not(:disabled):hover .tavolo-result-cta {
  color: var(--gold-dark) !important;
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.25rem;
}
.panel-head h1 { margin-bottom: 0.35rem; }
.panel-head .lede { margin-bottom: 0; }
.panel-head .btn.ghost {
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
  flex-shrink: 0;
}
.panel-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}
.evento-intro {
  margin: 1rem 0 1.25rem;
  padding: 0;
  border-bottom: none;
}
.evento-intro h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin: 0 0 0.85rem;
  color: var(--gold);
}
.evento-intro p {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(247, 241, 232, 0.92);
  max-width: 48rem;
}
.evento-intro p:last-of-type {
  margin-bottom: 0.85rem;
}
.evento-quota {
  margin: 1.35rem 0 1.25rem;
  max-width: 48rem;
}

.promo-price-banner {
  margin: 1.5rem 0 1.35rem;
  padding: 1.35rem 1.4rem 1.45rem;
  max-width: 48rem;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  background:
    linear-gradient(135deg, rgba(232, 192, 122, 0.22) 0%, rgba(8, 37, 64, 0.55) 45%, rgba(8, 37, 64, 0.85) 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  text-align: center;
}
.promo-price-kicker {
  margin: 0 0 0.2rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.promo-price-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 600;
  color: #fff8ea;
  letter-spacing: 0.01em;
}
.promo-price-amount {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(2.1rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold);
}
.promo-price-amount span {
  display: inline-block;
  margin-left: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(247, 241, 232, 0.88);
  vertical-align: middle;
}
.promo-price-compare {
  margin: 0.7rem 0 0;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: rgba(247, 241, 232, 0.82);
}

.day-price-promo {
  margin: 0.55rem 0 0.25rem !important;
  color: var(--ink) !important;
  font-size: 1.05rem !important;
  font-family: var(--font-body);
}
.day-price-promo .day-price-label {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a4316;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 4px;
  vertical-align: middle;
}
.day-price-promo strong {
  font-family: var(--font-body);
  font-size: 1.45rem;
  font-weight: 700;
  color: #8a691f;
  vertical-align: middle;
}
.day-price-promo .day-price-unit {
  font-size: 0.95rem;
  color: var(--muted);
}
.day-price-loco {
  margin: 0 0 0.85rem !important;
  font-family: var(--font-body);
  font-size: 0.92rem !important;
  color: var(--muted) !important;
}

.card-price-promo {
  margin: 0.45rem 0 0.15rem !important;
  font-family: var(--font-body);
}
.card-price-promo span {
  display: inline-block;
  margin-right: 0.3rem;
  padding: 0.12rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5a4316;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 4px;
  vertical-align: middle;
}
.card-price-promo strong {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: #8a691f;
  vertical-align: middle;
}
.card-price-promo em {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
}
.card-price-loco {
  margin: 0 0 0.35rem !important;
  font-family: var(--font-body);
  font-size: 0.9rem !important;
  color: var(--muted) !important;
}

.totale-box-promo {
  border: 2px solid var(--gold-dark);
  background: linear-gradient(180deg, #fff6e3 0%, #fff 70%);
}
.totale-promo-tag {
  display: inline-block;
  margin: 0 0 0.45rem;
  padding: 0.18rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a4316;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 4px;
}
.totale-box-promo #totale-importo {
  color: #8a691f;
  font-size: 1.35rem;
}

.promo-inline {
  font-size: 1.05rem;
  color: #8a691f !important;
}
.promo-compare-inline {
  margin-bottom: 0.75rem !important;
}
.evento-quota .btn {
  margin-top: 0.15rem;
}
.btn-menu-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: auto;
  padding: 0.55rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 14px rgba(232, 192, 122, 0.3);
}
.btn-menu-icon {
  font-size: 1.05rem;
  line-height: 1;
}
.btn-menu-pdf:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 18px rgba(232, 192, 122, 0.4);
}
.menu-subtitle {
  margin: 0 0 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--bg-soft);
  letter-spacing: 0.04em;
}
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-list li {
  position: relative;
  padding: 0.95rem 0.25rem 0.95rem 0;
  border-bottom: 1px solid #e0d5c4;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.5;
  text-align: center;
}
.menu-list li:last-child {
  border-bottom: none;
}
.menu-list li::before {
  content: "✦";
  display: block;
  color: var(--gold-dark);
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
  letter-spacing: 0;
}
.menu-section {
  margin-bottom: 0.65rem;
}
.menu-section:last-of-type {
  margin-bottom: 0;
}
.menu-section-title {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  color: var(--gold-dark);
  letter-spacing: 0.04em;
  line-height: 1.25;
}
.menu-list-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-list-bullets li {
  position: relative;
  padding: 0.28rem 0.15rem 0.28rem 1rem;
  border-bottom: 1px solid #e8dfd0;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.3;
  text-align: left;
}
.menu-list-bullets li:last-child {
  border-bottom: none;
}
.menu-list-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.28rem;
  color: var(--gold-dark);
  font-size: 0.95rem;
  margin: 0;
  display: inline;
  line-height: 1.3;
}
#modal-menu .modal {
  max-height: min(92vh, 720px);
  overflow: hidden;
}
#modal-menu .guida-body.menu-body {
  padding: 0.7rem 1.1rem 0.35rem;
  overflow-y: auto;
  max-height: calc(92vh - 8rem);
}
#modal-menu .modal-head {
  padding: 0.75rem 1.1rem 0.55rem;
}
#modal-menu .modal-head h2 {
  font-size: 1.25rem;
  color: var(--gold-dark);
}
#modal-menu .modal-foot {
  padding: 0.55rem 1.1rem 0.85rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 28, 44, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 1rem;
}
.modal-backdrop.open {
  display: flex;
}
.modal-backdrop[hidden] {
  display: none !important;
}
.toast-confirm-backdrop {
  z-index: 50;
}
.toast-confirm {
  max-width: 380px;
  text-align: center;
}
.toast-confirm-body {
  padding: 1.5rem 1.35rem 0.5rem;
}
.toast-confirm-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--bg-soft);
  line-height: 1.35;
}
.toast-confirm-foot {
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.modal {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 0;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem 0.85rem;
  border-bottom: 1px solid #e0d5c4;
  background: #ebe3d6;
  border-radius: var(--radius) var(--radius) 0 0;
}
.modal-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--bg-soft);
}
.modal-close {
  border: none;
  background: transparent;
  color: var(--bg-soft);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}
.modal-close:hover {
  background: rgba(20, 37, 58, 0.08);
}
.guida-body {
  padding: 1.15rem 1.25rem 0.5rem;
  overflow: visible;
}
.guida-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guida;
}
.guida-list li {
  counter-increment: guida;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.15rem 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #e0d5c4;
}
.guida-list li:last-child {
  border-bottom: none;
}
.guida-list li::before {
  content: counter(guida);
  grid-row: 1 / span 2;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.guida-list strong {
  color: var(--bg-soft);
  font-size: 1rem;
}
.guida-list span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  grid-column: 2;
}
.guida-note {
  margin: 0.5rem 0 0;
  padding: 0.75rem 0.9rem;
  background: #ebe3d6;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--bg-soft);
  line-height: 1.45;
}
.modal-foot {
  padding: 0.85rem 1.25rem 1.15rem;
  display: flex;
  justify-content: flex-end;
}
.modal-foot .btn {
  padding: 0.7rem 1.25rem;
  font-size: 0.95rem;
}

.consents {
  margin: 0 0 1.25rem;
  padding: 1rem;
  background: #ebe3d6;
  border: 1px solid #d4c8b4;
  border-radius: 8px;
}
.consents-link-wrap {
  margin: 0 0 1rem;
}
.link-btn {
  display: inline;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--bg-soft);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}
.link-btn:hover {
  color: var(--gold-dark);
}
.consent-hint {
  margin: 0.85rem 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
}
.consent input {
  width: auto;
  margin: 0.2rem 0 0;
  flex-shrink: 0;
}

.privacy-modal {
  max-width: 640px;
  max-height: min(90vh, 840px);
  overflow: hidden;
}
.privacy-body {
  padding: 1rem 1.25rem;
  overflow-y: auto;
  max-height: min(70vh, 620px);
  -webkit-overflow-scrolling: touch;
}
.privacy-doc h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--bg-soft);
}
.privacy-doc h3 + h3,
.privacy-doc h4 + h3 {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e0d5c4;
}
.privacy-doc h4 {
  margin: 1.1rem 0 0.4rem;
  font-size: 1rem;
  color: var(--bg-soft);
}
.privacy-doc p {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink);
}
.privacy-doc ul,
.privacy-doc ol {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink);
}
.privacy-doc li {
  margin-bottom: 0.25rem;
}
.privacy-doc ol.privacy-letter {
  list-style-type: lower-alpha;
}

.hero-text {
  line-height: 1.3;
  text-align: center;
  padding: 2.5rem 1rem 1rem;
}
.hero-title-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  color: var(--gold);
  margin: 0.2rem 0 0.4rem;
  font-weight: 600;
}
.hero-title-wrap .lede {
  color: var(--paper);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.hero-title-wrap .muted {
  color: rgba(247, 241, 232, 0.75);
}
.formula-intro {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 1.25rem 0;
}
@media (min-width: 760px) {
  .formula-intro { grid-template-columns: 1fr 1fr; }
}
.formula-intro article {
  background: var(--paper);
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  color: var(--ink);
}
.formula-intro article h3 {
  margin: 0 0 0.35rem;
  color: var(--bg-soft);
}
.formula-intro article p,
.formula-intro article li {
  color: var(--ink);
}
.ticketone-box p { color: var(--ink); margin: 0; }
.note-list {
  color: rgba(247, 241, 232, 0.92);
}
.ticketone-box,
.pagamento-sede-box,
.pagamento-online-box {
  margin: 1.25rem 0;
  padding: 1rem;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  background: #fff8ea;
}
.ticketone-box .btn { margin-top: 0.6rem; }
.pagamento-sede-box p,
.pagamento-online-box p { color: var(--ink); margin: 0 0 0.5rem; }
.pagamento-sede-box p:last-child,
.pagamento-online-box p:last-child { margin-bottom: 0; }
body.pay-online .pay-sede-only,
body.pay-sede .pay-online-only {
  display: none !important;
}
.payment-alert {
  max-width: 48rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e1a4a4;
  border-radius: var(--radius);
  color: #fff !important;
  background: var(--err);
  font-weight: 600;
}
.note-list { color: var(--paper); }
.wizard-steps {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex-wrap: wrap;
}
.wizard-steps li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #e8dfd0;
  color: var(--muted);
  font-size: 0.85rem;
}
.wizard-steps li.is-active {
  background: var(--bg-soft);
  color: var(--gold);
}
.wizard-pane[hidden] { display: none !important; }
.wizard-nav {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.partecipante-row.is-primo input[readonly] {
  background: #ebe3d6;
  color: var(--ink);
  cursor: default;
}
.formula-cards {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr;
  margin-bottom: 1rem;
}
@media (min-width: 760px) {
  .formula-cards { grid-template-columns: 1fr 1fr; }
}
.formula-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  background: #fff;
  border: 2px solid #e0d5c4;
  border-radius: var(--radius);
  padding: 1rem;
  cursor: default;
  font: inherit;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.formula-card-select {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.formula-card-select:disabled {
  cursor: not-allowed;
}
.formula-card .btn-menu-giorno {
  align-self: flex-start;
  margin-top: 0.75rem;
}
.formula-intro .btn-menu-giorno {
  margin-top: 0.75rem;
}
.formula-card h3 { margin: 0 0 0.35rem; font-family: var(--font-display); }
.formula-card p { margin: 0 0 0.35rem; }
.formula-card:hover {
  border-color: var(--gold);
}
.formula-card.is-selected {
  border-color: var(--gold-dark);
  background: linear-gradient(180deg, #fff6e3 0%, #fff 62%);
  box-shadow: 0 0 0 4px rgba(201, 160, 90, 0.55), 0 10px 24px rgba(20, 37, 58, 0.16);
  transform: translateY(-2px);
}
.formula-card.is-selected h3 {
  color: #8a691f;
}
.formula-card-badge {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.22rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #14253a;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 999px;
}
.formula-card.is-closed { opacity: 0.55; cursor: not-allowed; }
.formula-qty { align-items: end; }
.esigenze-persona {
  border: 1px solid #e0d5c4;
  border-radius: var(--radius);
  padding: 0.8rem 1rem 1rem;
  margin: 0 0 0.8rem;
}
.riepilogo { margin: 0 0 1rem; }
.riepilogo > div {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 0.4rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid #eadfcf;
}
.riepilogo dt { color: var(--muted); font-weight: 600; }
.riepilogo dd { margin: 0; }
.qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.qr-card {
  text-align: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 0.8rem;
  border: 1px solid #e0d5c4;
}
.qr-card img { width: 160px; height: 160px; }

.info-contatto {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(232, 192, 122, 0.45);
  border-radius: var(--radius);
  color: rgba(247, 241, 232, 0.95);
  background: rgba(0, 0, 0, 0.18);
  line-height: 1.5;
}
.info-contatto a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}
.info-contatto a:hover {
  text-decoration: underline;
}

.site-footer {
  margin: 2rem 0 0;
  padding: 1.25rem 1rem 2rem;
  text-align: center;
  color: rgba(247, 241, 232, 0.75);
  font-size: 0.9rem;
}
.site-footer p {
  margin: 0;
}

