:root {
  --bg: #14110f;
  --bg-raised: #1d1917;
  --bg-card: #221d1a;
  --line: #332c28;
  --text: #f6f1ec;
  --text-dim: #a89e96;
  --ember: #e3a93a;
  --ember-dark: #c28c23;
  --rosso: #cf2027;
  --green: #4ade80;
  --red: #f87171;
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1060px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --head: "Marcellus", "Georgia", "Times New Roman", serif;
}

* { box-sizing: border-box; }

/* L'attributo hidden deve battere i display: flex/grid/block definiti qui
   sotto: senza questa riga le modali e i pannelli restano sempre a video. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

body.sheet-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  /* Sfumatura invece di tinta piatta: sotto l'header c'e' la foto dell'hero. */
  background: linear-gradient(to bottom, rgba(14, 12, 11, .97), rgba(16, 13, 12, .88));
  backdrop-filter: blur(14px) saturate(130%);
  border-bottom: 1px solid rgba(227, 169, 58, .16);
  transition: box-shadow .25s ease, border-color .25s ease;
}

/* Allo scroll l'header si stacca dal contenuto con un'ombra calda. */
.site-header.is-stuck {
  border-bottom-color: rgba(227, 169, 58, .28);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .75);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.brand-emblem {
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 50%;
  /* alone caldo: stacca il sigillo dal fondo scuro senza bordi duri */
  box-shadow: 0 0 0 1px rgba(227, 169, 58, .35), 0 6px 18px -6px rgba(0, 0, 0, .8);
  transition: transform .25s cubic-bezier(.22, 1, .36, 1);
}

.brand:hover .brand-emblem { transform: scale(1.04) rotate(-2deg); }

.brand-text { display: flex; flex-direction: column; min-width: 0; }

.brand-name {
  font-family: var(--head);
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: .055em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-kicker {
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--ember);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-dim);
}

.status-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
  flex: none;
}

.status-pill.is-open { border-color: rgba(74, 222, 128, .32); color: #bdf0d0; }
.status-pill.is-open i { background: var(--green); box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); animation: live 2.6s infinite; }

@keyframes live { 50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); } }

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 11px 19px;
  border-radius: 999px;
  border: 1px solid rgba(227, 169, 58, .45);
  background: linear-gradient(180deg, rgba(227, 169, 58, .14), rgba(227, 169, 58, .05));
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .12s ease;
}

.phone-link svg { width: 15px; height: 15px; fill: var(--ember); }

.phone-link:hover {
  border-color: var(--ember);
  background: linear-gradient(180deg, rgba(227, 169, 58, .24), rgba(227, 169, 58, .1));
}

.phone-link:active { transform: translateY(1px); }

@media (max-width: 560px) {
  .header-inner { min-height: 66px; }
  .brand-emblem { width: 42px; height: 42px; }
  .brand-name { font-size: 20px; }
  .brand-kicker { font-size: 9.5px; letter-spacing: .15em; }
  .status-pill { display: none; }
  .phone-link { padding: 10px 15px; }
  .phone-link span { display: none; }
}

.notice-bar,
.closed-bar {
  padding: 9px 16px;
  text-align: center;
  font-size: 14px;
}

/* Niente fascia piena: a tutta larghezza l'oro diventa una striscia fangosa.
   Qui resta un fondo quasi nero con una sottolineatura dorata. */
.notice-bar {
  background: rgba(18, 15, 13, .96);
  border-top: 1px solid rgba(227, 169, 58, .14);
  border-bottom: 1px solid rgba(227, 169, 58, .14);
  color: #e6d9c2;
  font-size: 13px;
  letter-spacing: .015em;
}

.closed-bar { background: #3a1414; display: grid; gap: 2px; }
.closed-bar span { color: #e5b4b4; font-size: 13px; }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }

.hero-media { position: absolute; inset: 0; }

.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(110% 90% at 15% 0%, rgba(207, 32, 39, .26), transparent 60%),
              linear-gradient(to bottom, rgba(20, 17, 15, .55), var(--bg));
}

.hero-content { position: relative; z-index: 1; padding-top: 44px; padding-bottom: 40px; }

.hero-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ember);
}

.hero-title {
  margin: 0 0 22px;
  font: 400 clamp(34px, 8.6vw, 62px)/1.04 var(--head);
  letter-spacing: .015em;
  text-transform: uppercase;
}

.hero-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-facts li {
  background: rgba(34, 29, 26, .85);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  display: flex;
  gap: 7px;
}

.hero-facts b { color: var(--ember); font-weight: 600; }
.hero-facts span { color: var(--text-dim); }

.hero-hours { margin: 18px 0 0; font-size: 13.5px; color: var(--text-dim); }

/* ---------- nav categorie ---------- */

.cat-nav {
  position: sticky;
  top: 64px;
  z-index: 30;
  background: rgba(20, 17, 15, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.cat-nav-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 11px 16px;
  -webkit-overflow-scrolling: touch;
}

.cat-nav-inner::-webkit-scrollbar { display: none; }

.cat-nav button {
  flex: none;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-dim);
  font: 600 14px/1 "Inter", sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}

.cat-nav button.is-active {
  background: var(--ember);
  border-color: var(--ember);
  color: #1b1206;
}

/* ---------- menu ---------- */

main { padding-bottom: 120px; }

.cat-block { padding-top: 38px; scroll-margin-top: 118px; }

.cat-title {
  margin: 0 0 16px;
  font: 400 28px/1.12 var(--head);
  letter-spacing: .5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cat-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.item-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

.item-card {
  display: flex;
  gap: 14px;
  align-items: stretch;
  text-align: left;
  width: 100%;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border-color .15s, transform .15s;
}

.item-card:hover { border-color: color-mix(in srgb, var(--ember) 55%, var(--line)); }
.item-card:active { transform: scale(.99); }

.item-text { padding: 14px 0 14px 15px; flex: 1; min-width: 0; display: flex; flex-direction: column; }

.item-name {
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.item-tag { font-size: 11px; line-height: 1; }

.item-desc {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.item-price { font-size: 16px; font-weight: 700; color: var(--ember); white-space: nowrap; }

.item-opts { font-size: 12px; color: var(--text-dim); }

.item-photo {
  width: 112px;
  flex: none;
  position: relative;
  min-height: 104px;
  background: var(--bg-raised);
}

/* assoluta: cosi' una foto verticale non allunga tutta la scheda */
.item-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.item-add {
  width: 34px;
  height: 34px;
  flex: none;
  margin: 14px 15px 14px 0;
  align-self: center;
  border-radius: 10px;
  border: none;
  background: var(--ember);
  color: #1b1206;
  font-size: 22px;
  line-height: 1;
  font-weight: 600;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.menu-skeleton { display: grid; gap: 12px; padding-top: 38px; }

.sk-card {
  height: 112px;
  border-radius: var(--radius);
  background: linear-gradient(100deg, var(--bg-card) 30%, var(--bg-raised) 50%, var(--bg-card) 70%);
  background-size: 300% 100%;
  animation: shimmer 1.3s infinite linear;
}

@keyframes shimmer { to { background-position: -150% 0; } }

/* ---------- barra carrello ---------- */

.cart-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 45;
  width: calc(100% - 32px);
  max-width: 460px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: none;
  border-radius: 999px;
  background: var(--ember);
  color: #1b1206;
  font: 600 16px/1 "Inter", sans-serif;
  box-shadow: 0 10px 34px rgba(227, 169, 58, .30);
  cursor: pointer;
  animation: pop-up .22s ease-out;
}

@keyframes pop-up { from { opacity: 0; transform: translate(-50%, 14px); } }

.cart-count {
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(26, 13, 4, .88);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
}

.cart-label { flex: 1; text-align: left; }
.cart-total { font-weight: 700; }

/* ---------- sheet ---------- */

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(8, 6, 5, .72);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fade .18s ease-out;
}

@keyframes fade { from { opacity: 0; } }

.sheet {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 20px 20px 0 0;
  box-shadow: var(--shadow);
  animation: slide-up .24s cubic-bezier(.22, 1, .36, 1);
}

@keyframes slide-up { from { transform: translateY(24px); } }

.sheet-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(20, 17, 15, .8);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.sheet-photo { height: 190px; flex: none; border-radius: 19px 19px 0 0; overflow: hidden; }
.sheet-photo img { width: 100%; height: 100%; object-fit: cover; }

.sheet-body { padding: 22px 20px; overflow-y: auto; -webkit-overflow-scrolling: touch; }

.sheet-body h3 {
  margin: 0 0 8px;
  font: 400 26px/1.15 var(--head);
  letter-spacing: .3px;
  text-transform: uppercase;
  padding-right: 34px;
}

.sheet-desc { margin: 0 0 20px; color: var(--text-dim); font-size: 14.5px; }

.sheet-foot {
  flex: none;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg-card);
}

.sheet-tall { height: 92vh; }
.sheet-center { max-width: 420px; border-radius: 20px; margin: auto 0 0; }

@media (min-width: 620px) {
  .sheet-backdrop { align-items: center; padding: 20px; }
  .sheet { border-radius: 20px; max-height: 88vh; }
  .sheet-photo { border-radius: 19px 19px 0 0; }
  .sheet-tall { height: auto; }
  .sheet-center { margin: 0; }
}

/* gruppi opzioni */

.opt-group { margin-bottom: 20px; }

.opt-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 9px; }

.opt-head h4 { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .02em; }

.opt-hint { font-size: 12px; color: var(--text-dim); }

.opt-req { font-size: 11px; font-weight: 600; color: var(--ember); text-transform: uppercase; }

.opt-list { display: grid; gap: 7px; }

.opt {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  cursor: pointer;
  font-size: 15px;
  transition: border-color .12s, background .12s;
}

.opt:has(input:checked) {
  border-color: var(--ember);
  background: color-mix(in srgb, var(--ember) 12%, var(--bg-card));
}

.opt input { accent-color: var(--ember); width: 19px; height: 19px; flex: none; margin: 0; }

.opt-name { flex: 1; }

.opt-price { font-size: 13.5px; color: var(--ember); font-weight: 600; }

.opt:has(input:disabled) { opacity: .45; cursor: not-allowed; }

/* campi */

.field { display: block; margin-bottom: 14px; }

.field > span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text);
  font: 400 16px/1.3 "Inter", sans-serif;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ember) 22%, transparent);
}

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

@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* bottoni */

.btn-primary {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 12px;
  background: var(--ember);
  color: #1b1206;
  font: 600 16px/1 "Inter", sans-serif;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background .15s;
}

.btn-primary:hover { background: #f0bb52; }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; }

.btn-ghost {
  padding: 13px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-dim);
  font: 500 15px/1 "Inter", sans-serif;
  cursor: pointer;
}

.btn-block { display: block; width: 100%; margin-top: 10px; }

.qty-picker {
  flex: none;
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-raised);
}

.qty-picker button {
  width: 42px;
  height: 46px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

.qty-picker span { min-width: 26px; text-align: center; font-weight: 600; }

/* ---------- carrello ---------- */

.cart-lines { display: grid; gap: 10px; margin-bottom: 20px; }

.cart-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.cart-line-main { flex: 1; min-width: 0; }

.cart-line-name { font-weight: 600; font-size: 15px; }

.cart-line-opts,
.cart-line-note { font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }

.cart-line-note { font-style: italic; }

.cart-line-side { text-align: right; display: grid; gap: 6px; justify-items: end; }

.cart-line-price { font-weight: 600; white-space: nowrap; }

.line-qty { display: flex; align-items: center; gap: 1px; border: 1px solid var(--line); border-radius: 8px; }

.line-qty button {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 17px;
  cursor: pointer;
}

.line-qty span { min-width: 20px; text-align: center; font-size: 14px; font-weight: 600; }

.cart-empty { color: var(--text-dim); text-align: center; padding: 26px 0; }

.mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  padding: 5px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 18px;
}

.mode-switch button {
  padding: 12px 10px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text-dim);
  font: 600 14.5px/1.2 "Inter", sans-serif;
  cursor: pointer;
}

.mode-switch button.is-active { background: var(--ember); color: #1b1206; }
.mode-switch button:disabled { opacity: .4; cursor: not-allowed; }

.totals {
  display: grid;
  gap: 7px;
  padding: 15px 16px;
  margin-bottom: 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
}

.totals div { display: flex; justify-content: space-between; }
.totals .muted { color: var(--text-dim); }
.totals .warn { color: var(--red); font-size: 13px; }

.totals .grand {
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  font-weight: 700;
}

.totals .grand span:last-child { color: var(--ember); }

.pay-note {
  margin: 4px 0 14px;
  padding: 12px 14px;
  background: color-mix(in srgb, var(--green) 10%, var(--bg-card));
  border: 1px solid color-mix(in srgb, var(--green) 28%, transparent);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: #d6f5e0;
}

.form-error {
  margin: 0 0 12px;
  padding: 12px 14px;
  background: #3a1414;
  border: 1px solid #5c2020;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: #ffd7d7;
}

/* ---------- conferma ---------- */

.done { text-align: center; }

.done-mark {
  width: 66px;
  height: 66px;
  margin: 6px auto 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--green) 18%, transparent);
  display: grid;
  place-items: center;
}

.done-mark svg { width: 38px; height: 38px; fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

.done-code { margin: 0 0 6px; font-size: 17px; }
.done-code strong { color: var(--ember); font-size: 22px; }
.done-eta { margin: 0 0 14px; color: var(--text); }
.done-hint { margin: 0 0 18px; font-size: 13.5px; color: var(--text-dim); }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 110px;
  font-size: 13.5px;
  color: var(--text-dim);
}

.site-footer p { margin: 0 0 6px; }
.footer-zones { font-size: 13px; }
.footer-credit { margin-top: 14px; font-size: 12.5px; opacity: .7; }
.footer-credit a { color: var(--ember); text-decoration: none; }

/* ---------- pagina stato ordine ---------- */

.track { max-width: 560px; margin: 0 auto; padding: 40px 16px 60px; }

.track h2 {
  margin: 0 0 6px;
  font: 400 31px/1.1 var(--head);
  text-transform: uppercase;
  letter-spacing: .4px;
}

.track-code { color: var(--text-dim); margin: 0 0 28px; }
.track-code strong { color: var(--ember); }

.steps { display: grid; gap: 12px; }

.step {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  opacity: .45;
}

.step.is-done { opacity: 1; }

.step.is-current {
  opacity: 1;
  border-color: var(--ember);
  background: color-mix(in srgb, var(--ember) 10%, var(--bg-card));
}

.step-dot {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

.step.is-done .step-dot { background: var(--green); border-color: var(--green); color: #0b2415; }
.step.is-current .step-dot { background: var(--ember); border-color: var(--ember); color: #1b1206; }

.step-label { font-weight: 600; }
.step-sub { font-size: 13px; color: var(--text-dim); }

.track-cancelled {
  padding: 18px;
  background: #3a1414;
  border: 1px solid #5c2020;
  border-radius: var(--radius-sm);
  color: #ffd7d7;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- landing: punti di forza ---------- */

.perks { border-bottom: 1px solid var(--line); background: var(--bg-raised); }

.perks-grid {
  display: grid;
  gap: 18px;
  padding: 34px 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) { .perks-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; } }

/* Icone disegnate a tratto: le emoji cambiano forma su ogni sistema
   operativo e fanno sembrare il sito un prototipo. */
.perk-ico {
  display: block;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--ember);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.perk h3 {
  margin: 12px 0 7px;
  font: 400 20px/1.2 var(--head);
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--ember);
}

.perk p { margin: 0; font-size: 14.5px; color: var(--text-dim); }

.hero-cta { display: flex; gap: 11px; flex-wrap: wrap; margin-top: 24px; }
.hero-btn { flex: 0 0 auto; padding: 14px 26px; text-decoration: none; }

.btn-outline {
  display: inline-block;
  padding: 14px 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(28, 24, 23, .7);
  color: var(--text);
  font: 600 16px/1 "Inter", sans-serif;
  text-decoration: none;
}

.btn-outline:hover { border-color: var(--ember); }

/* ---------- landing: galleria e sedi ---------- */

.section-title {
  margin: 0 0 20px;
  font: 400 28px/1.12 var(--head);
  letter-spacing: .5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.gallery { padding: 44px 0 10px; }

.gallery-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 760px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }

.gallery figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.gallery figure img { width: 100%; height: 100%; object-fit: cover; }

.branches { padding: 44px 0 20px; }

.branch-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }

@media (min-width: 760px) { .branch-grid { grid-template-columns: repeat(3, 1fr); } }

.branch-card {
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ember);
  border-radius: var(--radius);
}

.branch-card h3 { margin: 0 0 6px; font-size: 15px; font-weight: 600; }
.branch-card p { margin: 0 0 12px; font-size: 14px; color: var(--text-dim); }

.branch-card a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ember);
  text-decoration: none;
}

/* Pillola della consegna quando siamo fuori dalle fasce orarie. */
.hero-facts li.is-off { opacity: .72; }
.hero-facts li.is-off b { color: var(--text-dim); }

/* ---------- pagine legali ---------- */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 44px 16px 70px;
  font-size: 15.5px;
  line-height: 1.7;
}

.legal h1 {
  margin: 0 0 6px;
  font: 400 clamp(28px, 6vw, 40px)/1.15 var(--head);
  letter-spacing: .015em;
  text-transform: uppercase;
}

.legal-date { margin: 0 0 30px; color: var(--text-dim); font-size: 13.5px; }

.legal h2 {
  margin: 34px 0 10px;
  font: 400 21px/1.2 var(--head);
  letter-spacing: .02em;
  color: var(--ember);
}

.legal p { margin: 0 0 14px; color: #ddd3c7; }
.legal ul { margin: 0 0 14px; padding-left: 20px; color: #ddd3c7; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--text); }

/* Promemoria visibile: non deve finire online cosi' com'e'. */
.legal-todo {
  padding: 12px 14px;
  background: color-mix(in srgb, var(--rosso) 14%, transparent);
  border: 1px dashed color-mix(in srgb, var(--rosso) 45%, transparent);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
}

.legal-back { margin-top: 36px; }
.legal-back a { color: var(--ember); text-decoration: none; font-weight: 600; }

.footer-legal { margin-top: 10px; }
.footer-legal a { color: var(--text-dim); text-decoration: underline; font-size: 13px; }
.footer-legal a:hover { color: var(--ember); }

.branch-zones { font-size: 13px; color: var(--text-dim); margin-bottom: 12px; }

/* ---------- prenotazione tavoli ---------- */

.reserve { padding: 44px 0 10px; }

.reserve-intro { margin: -6px 0 22px; color: var(--text-dim); font-size: 15px; }

.card-form {
  max-width: 640px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.reserve-ok {
  margin: 0 0 14px;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--green) 12%, var(--bg-card));
  border: 1px solid color-mix(in srgb, var(--green) 32%, transparent);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  color: #d6f5e0;
}

.reserve-form .hint { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--text-dim); }

/* ---------- barra "sei al tavolo" ---------- */

.table-bar {
  display: grid;
  gap: 2px;
  padding: 11px 16px;
  text-align: center;
  background: linear-gradient(180deg, rgba(227,169,58,.22), rgba(227,169,58,.10));
  border-top: 1px solid rgba(227, 169, 58, .35);
  border-bottom: 1px solid rgba(227, 169, 58, .35);
  font-size: 14px;
}

.table-bar strong { font-size: 16px; letter-spacing: .02em; }
.table-bar span { color: #e7d6b4; font-size: 13px; }
.table-bar.is-error { background: #3a1414; border-color: #5c2020; color: #ffd7d7; }
