/* Osteria Lume — demo Arvis, settore ristorante (fascia Prenotazioni)
   Tutti i contenuti sono FITTIZI. Stile: caldo, editoriale, serif di sistema. */

:root {
  --carta: #F3F1EA;
  --carta-2: #E6E6DC;
  --inchiostro: #141C18;
  --grigio: #5F6762;   /* contrasto AA sui fondi chiari (era #626B66) */
  --linea: #D5D8CD;
  --cotto: #1F4A3F;          /* accento: verde bosco (famiglia Arvis) */
  --cotto-scuro: #143329;
  --lago: #16302A;           /* verde lago, per le sezioni scure */
  --oro: #C5D9C2;              /* salvia chiaro per gli accenti su scuro */

  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r: 20px;
  --gutter: 20px;
  --max: 1180px;
  --bar: 0px;                /* altezza della barra fissa in basso su mobile */
}
@media (min-width: 768px) { :root { --gutter: 40px; } }
@media (max-width: 767px) { :root { --bar: 76px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--inchiostro); background: var(--carta); -webkit-font-smoothing: antialiased; padding-bottom: var(--bar); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cotto); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--cotto); color: #fff; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 300; background: var(--inchiostro); color: #fff; padding: 10px 14px; border-radius: 99px; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cotto); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 6vw, 60px); line-height: 1.04; letter-spacing: -.02em; }
.h2 em { font-style: italic; color: var(--cotto); }
.lead { font-size: 18px; color: var(--grigio); max-width: 50ch; }

/* ---------- Barra Arvis (solo nella demo) ---------- */
.arvis-bar { background: #1F4A3F; color: #EEF1EA; font-size: 13px; }
.arvis-bar .wrap { display: flex; align-items: center; gap: 10px 14px; min-height: 44px; padding-block: 6px; flex-wrap: wrap; }
.arvis-bar .home { display: flex; align-items: center; gap: 6px; flex: none; }
.arvis-bar svg { width: 44px; height: auto; color: #EEF1EA; flex: none; }
.arvis-bar p { flex: 1; min-width: 180px; opacity: .9; line-height: 1.3; }
.arvis-bar p b { font-weight: 600; }
.arvis-bar a { text-decoration: none; font-weight: 600; white-space: nowrap; }
.arvis-bar .want { background: #EEF1EA; color: #1F4A3F; padding: 6px 12px; border-radius: 99px; }

/* ---------- Pulsanti ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 99px; border: 0; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .4s var(--ease), background-color .25s, color .25s, box-shadow .25s; }
.btn:active { transform: scale(.97); }
.btn-cotto { background: var(--cotto); color: #fff; }
.btn-cotto:hover { background: var(--cotto-scuro); }
.btn-chiaro { background: rgba(255, 255, 255, .92); color: var(--inchiostro); }
.btn-chiaro:hover { background: #fff; }
.btn-linea { background: transparent; color: var(--inchiostro); box-shadow: inset 0 0 0 1.5px var(--inchiostro); }
.btn-linea:hover { background: var(--inchiostro); color: var(--carta); }

/* ---------- Header ---------- */
.head { position: sticky; top: 0; z-index: 50; transition: background-color .35s, box-shadow .35s, color .35s; color: #fff; }
.head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.head.solid { background: rgba(245, 239, 230, .86); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); color: var(--inchiostro); box-shadow: 0 1px 0 var(--linea); }
.head.on-light { color: var(--inchiostro); }
.brand { font-family: var(--serif); font-size: 24px; text-decoration: none; letter-spacing: -.01em; line-height: 1; }
.brand small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .75; margin-top: 3px; }
.head nav { display: none; gap: 28px; font-size: 15px; }
.head nav a { text-decoration: none; opacity: .85; position: relative; }
.head nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.head nav a:hover::after, .head nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.head nav a:hover { opacity: 1; }
.head .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
@media (min-width: 768px) { .head nav { display: flex; } }
@media (max-width: 767px) { .head .btn { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: -64px; min-height: min(100svh, 900px); color: #fff; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(calc(1.08 + var(--hp, 0) * .12)); animation: hero-in 2.2s var(--ease) both; }
@keyframes hero-in { from { transform: scale(1.3); filter: brightness(.4) blur(6px); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,14,10,.45), rgba(20,14,10,0) 30%, rgba(20,14,10,.15) 55%, rgba(20,14,10,.78)); }
.hero .wrap { padding-block: 120px 40px; }
/* su schermo largo il titolo sta sopra la parte chiara della foto: ombra calda a sinistra per leggerlo sempre */
@media (min-width: 900px) { .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,14,10,.62), rgba(20,14,10,.25) 45%, rgba(20,14,10,0) 70%); } }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 11vw, 124px); line-height: .96; letter-spacing: -.03em; max-width: 11ch; }
.hero h1 em { font-style: italic; color: var(--oro); }
.hero p { font-size: 18px; max-width: 34ch; margin-top: 18px; opacity: .92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding: 7px 12px 7px 10px; border-radius: 99px; background: rgba(0, 0, 0, .28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); margin-bottom: 20px; }
.status i { width: 8px; height: 8px; border-radius: 99px; background: #8FD3A0; box-shadow: 0 0 0 0 rgba(143, 211, 160, .7); animation: pulse 2s infinite; }
.status.closed i { background: #E8A07C; animation: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(143, 211, 160, 0); } }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 44px; writing-mode: vertical-rl; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .75; display: none; }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 48px; margin: 12px auto 0; background: currentColor; animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 768px) { .scroll-cue { display: block; } }

/* ---------- Sezioni ---------- */
.section { padding-block: 84px; }
@media (min-width: 768px) { .section { padding-block: 128px; } }

.intro { display: grid; gap: 40px; }
@media (min-width: 900px) { .intro { grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; } }
.intro .h2 { margin-top: 14px; }
.intro .lead { margin-top: 22px; }
.sign { font-family: var(--serif); font-style: italic; font-size: 22px; margin-top: 28px; color: var(--cotto); }
.intro figure { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.intro figure img { width: 100%; height: 115%; object-fit: cover; transform: translateY(var(--py, 0px)); }
.intro figcaption { position: absolute; left: 14px; bottom: 14px; font-size: 12px; color: #fff; background: rgba(0,0,0,.35); padding: 5px 10px; border-radius: 99px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* piatti della casa */
.dishes-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.dishes { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 40px var(--gutter) 8px; scrollbar-width: none; }
.dishes::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .dishes { grid-auto-columns: 40%; } }
@media (min-width: 1100px) { .dishes { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; max-width: var(--max); margin: 0 auto; } }
.dish { scroll-snap-align: start; text-decoration: none; }
.dish .ph { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--carta-2); }
.dish img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dish:hover img { transform: scale(1.06); }
.dish h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin-top: 14px; line-height: 1.15; }
.dish p { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--grigio); margin-top: 4px; }
.dish p b { color: var(--inchiostro); font-weight: 600; }

/* terrazza (sezione scura) */
.lago { background: var(--lago); color: #F2ECE2; }
.split { display: grid; gap: 36px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }
.split .h2 em { color: var(--oro); }
.split .lead { color: rgba(242, 236, 226, .75); margin-top: 20px; }
.split .kicker { color: var(--oro); }
.pics { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; }
.pics .ph { border-radius: var(--r); overflow: hidden; }
.pics .ph:first-child { grid-row: span 2; aspect-ratio: 3 / 4.4; }
.pics .ph:not(:first-child) { aspect-ratio: 1; }
.pics img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; border-top: 1px solid rgba(242, 236, 226, .16); padding-top: 24px; }
.facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1; }
.facts span { font-size: 13px; opacity: .7; }

/* orari e posizione */
.visit { display: grid; gap: 24px; }
.visit > * { min-width: 0; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr; gap: 40px; } }
.card { background: #FAFAF5; border: 1px solid var(--linea); border-radius: var(--r); padding: 26px; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin-bottom: 16px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--linea); font-size: 15px; }
.hours li:last-child { border-bottom: 0; }
.hours li.today { font-weight: 600; color: var(--cotto); }
.hours li span:first-child { white-space: nowrap; }
.hours li span:last-child { text-align: right; }
.hours li.today span:first-child::after { content: "oggi"; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--cotto); color: #fff; padding: 2px 6px; border-radius: 5px; margin-left: 8px; vertical-align: 2px; }
.hours .off { color: var(--grigio); }
.map { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: #D9E2DC; margin-bottom: 18px; }
.map svg { width: 100%; height: 100%; }
.map .pin { position: absolute; left: 56%; top: 44%; transform: translate(-50%, -100%); }
.map .pin span { display: block; background: var(--cotto); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 99px; white-space: nowrap; box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); animation: bob 3s ease-in-out infinite; }
.map .pin::after { content: ""; display: block; width: 10px; height: 10px; margin: 4px auto 0; border-radius: 99px; background: var(--cotto); box-shadow: 0 0 0 6px rgba(31, 74, 63, .2); }
@keyframes bob { 50% { transform: translateY(-4px); } }
.addr { font-size: 16px; }
.addr + .addr { margin-top: 6px; color: var(--grigio); font-size: 14px; }
.card .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.card .row .btn { min-height: 44px; font-size: 14px; padding: 0 16px; }

/* invito finale */
.invite { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; color: #fff; padding: 72px 24px; text-align: center; margin-inline: 8px; }
@media (min-width: 768px) { .invite { margin-inline: 16px; padding: 120px 40px; } }
.invite img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1) translateY(var(--py, 0px)); }
.invite::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20, 14, 10, .55); }
.invite .h2 { max-width: 16ch; margin: 14px auto 0; }
.invite .h2 em { color: var(--oro); }
.invite .kicker { color: var(--oro); }
.invite .btn { margin-top: 30px; }

/* footer */
.foot { padding-block: 64px 32px; font-size: 14px; color: var(--grigio); }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot .brand { color: var(--inchiostro); font-size: 30px; }
.foot h3 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--inchiostro); margin-bottom: 10px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--inchiostro); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--linea); font-size: 12px; }
.fittizio { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #1F4A3F; background: #DDE7DF; padding: 3px 8px; border-radius: 6px; }

/* ---------- Barra fissa mobile ---------- */
.dock { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 6px; padding: 6px; border-radius: 22px; background: rgba(20, 28, 24, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); transform: translateY(140%); transition: transform .6s var(--ease); }
.dock.show { transform: none; }
.dock a, .dock button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 16px; border: 0; background: rgba(255,255,255,.08); color: #fff; font-size: 12px; font-weight: 600; text-decoration: none; }
.dock svg { width: 20px; height: 20px; }
.dock .main { background: var(--cotto); flex-direction: row; gap: 8px; font-size: 15px; }
@media (min-width: 768px) { .dock { display: none; } }

/* ---------- Pagina menù ---------- */
.page-head { padding-block: 48px 24px; }
.page-head .h2 { margin-top: 12px; }
.page-head .lead { margin-top: 14px; }
.menu-bar { position: sticky; top: 64px; z-index: 40; background: rgba(245, 239, 230, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--linea); }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 12px 10px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; text-decoration: none; font-size: 15px; padding: 8px 14px; border-radius: 99px; color: var(--grigio); transition: background-color .3s, color .3s; }
.tabs a.on { background: var(--inchiostro); color: var(--carta); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; padding-bottom: 12px; }
.filter { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--linea); background: #FAFAF5; transition: background-color .25s, border-color .25s, color .25s; }
.filter[aria-pressed="true"] { background: var(--cotto); border-color: var(--cotto); color: #fff; }
.filter-count { font-size: 13px; color: var(--grigio); align-self: center; margin-left: 4px; }

.menu-cat { padding-block: 44px 8px; }
.menu-cat > header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--inchiostro); padding-bottom: 12px; }
.menu-cat h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 52px); letter-spacing: -.02em; line-height: 1; }
.menu-cat > header span { font-size: 13px; color: var(--grigio); }
.items { display: grid; }
@media (min-width: 900px) { .items { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.item { padding: 18px 0; border-bottom: 1px dashed var(--linea); transition: opacity .35s, max-height .5s var(--ease); }
.item.hide { display: none; }
.item-top { display: flex; align-items: baseline; gap: 10px; }
.item h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; }
.item .dots { flex: 1; border-bottom: 1px dotted var(--grigio); transform: translateY(-5px); min-width: 20px; opacity: .6; }
.item .price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.item p { font-size: 14px; color: var(--grigio); margin-top: 4px; max-width: 46ch; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.tag { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: var(--carta-2); color: var(--grigio); }
.tag.v { background: #E1E9D6; color: #4A6431; }
.tag.gf { background: #F1E3C8; color: #7A5A1C; }
.item.feat h3::after { content: "della casa"; font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cotto); margin-left: 8px; vertical-align: middle; }
.menu-empty { display: none; padding: 40px 0; color: var(--grigio); text-align: center; }
.allergeni { margin-top: 56px; font-size: 13px; color: var(--grigio); }
.allergeni dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px 16px; margin-top: 10px; }
.allergeni dt { display: inline; font-weight: 600; color: var(--inchiostro); }
.allergeni dd { display: inline; }

/* ---------- Foglio di prenotazione ---------- */
.sheet-back { position: fixed; inset: 0; z-index: 200; background: rgba(20, 14, 10, .45); opacity: 0; pointer-events: none; transition: opacity .4s; }
.sheet { position: fixed; z-index: 201; left: 0; right: 0; bottom: 0; max-height: 92svh; overflow-y: auto; overscroll-behavior: contain; background: var(--carta); border-radius: 26px 26px 0 0; padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); transform: translateY(105%); transition: transform .6s var(--ease); }
@media (min-width: 768px) { .sheet { left: 50%; right: auto; bottom: 50%; width: 520px; border-radius: 26px; transform: translate(-50%, 60%) scale(.96); opacity: 0; transition: transform .6s var(--ease), opacity .4s; padding: 16px 28px 28px; } }
.booking-open .sheet-back { opacity: 1; pointer-events: auto; }
.booking-open .sheet { transform: none; }
@media (min-width: 768px) { .booking-open .sheet { transform: translate(-50%, 50%); opacity: 1; } }
.booking-open { overflow: hidden; }
.grab { width: 40px; height: 5px; border-radius: 99px; background: var(--linea); margin: 0 auto 14px; }
@media (min-width: 768px) { .grab { display: none; } }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sheet-top h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.x { width: 38px; height: 38px; border-radius: 99px; border: 0; background: var(--carta-2); font-size: 20px; display: grid; place-items: center; }
.steps-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 14px 0 22px; }
.steps-bar i { height: 3px; border-radius: 99px; background: var(--linea); overflow: hidden; position: relative; }
.steps-bar i::after { content: ""; position: absolute; inset: 0; background: var(--cotto); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.steps-bar i.done::after { transform: scaleX(1); }
.step { display: none; }
.step.on { display: block; animation: step-in .5s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(24px); } }
.step.back-anim { animation-name: step-back; }
@keyframes step-back { from { opacity: 0; transform: translateX(-24px); } }
.q { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.q small { font-weight: 400; color: var(--grigio); }
.choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.choice { min-height: 52px; border-radius: 14px; border: 1px solid var(--linea); background: #FAFAF5; font-size: 17px; font-weight: 600; transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.choice:hover { border-color: var(--inchiostro); }
.choice:active { transform: scale(.96); }
.choice[aria-pressed="true"] { background: var(--inchiostro); color: var(--carta); border-color: var(--inchiostro); }
.choice:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.days { display: grid; grid-auto-flow: column; grid-auto-columns: 64px; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.days::-webkit-scrollbar { display: none; }
.day { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 0; }
.day small { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.day b { font-size: 20px; }
.day em { font-style: normal; font-size: 11px; font-weight: 500; opacity: .7; }
.slot-group + .slot-group { margin-top: 18px; }
.slot-group h4 { font-size: 13px; color: var(--grigio); font-weight: 500; margin-bottom: 8px; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slots .choice { font-size: 15px; min-height: 46px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field textarea { font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--linea); background: #FAFAF5; color: var(--inchiostro); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--inchiostro); box-shadow: 0 0 0 3px rgba(33, 25, 19, .08); }
.field textarea { min-height: 76px; resize: vertical; }
.check { display: flex; gap: 10px; font-size: 13px; color: var(--grigio); align-items: flex-start; }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--cotto); flex: none; }
.summary { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.summary span { font-size: 13px; background: var(--carta-2); padding: 5px 10px; border-radius: 99px; }
.sheet-nav { display: flex; gap: 8px; margin-top: 22px; }
.sheet-nav .btn { flex: 1; }
.sheet-nav .btn:disabled { opacity: .35; pointer-events: none; }
.sheet-nav .prev { flex: 0 0 auto; }
.done-box { text-align: center; padding: 10px 0 6px; }
.tick { width: 72px; height: 72px; margin: 6px auto 18px; }
.tick circle { fill: none; stroke: var(--cotto); stroke-width: 3; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw .8s var(--ease) forwards; }
.tick path { fill: none; stroke: var(--cotto); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s var(--ease) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-box h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; }
.done-box p { color: var(--grigio); margin-top: 8px; }
.demo-note { margin-top: 20px; font-size: 13px; background: #DDE7DF; color: #1F4A3F; padding: 12px 14px; border-radius: 12px; text-align: left; }
.demo-note a { font-weight: 600; }

/* ---------- Comparsa allo scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .hero [data-reveal] { transition-delay: calc(400ms + var(--d, 0) * 120ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
html:has(.menu-bar) { scroll-padding-top: 200px; }
.hours li span:last-child { white-space: nowrap; }

/* ---------- selettore di lingua ---------- */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 99px; background: rgba(127,127,127,.12); }
.lang-switch button { font: inherit; font-size: 11px; font-weight: 700; letter-spacing: .03em; line-height: 1; padding: 6px 7px; border: 0; border-radius: 99px; background: none; color: inherit; opacity: .8; cursor: pointer; transition: opacity .2s, background-color .2s; }
.lang-switch button:hover { opacity: 1; }
.lang-switch button[aria-pressed="true"] { opacity: 1; background: rgba(127,127,127,.25); }

/* parole lunghe (tedesco): vanno a capo con il trattino invece di allargare la pagina */
:lang(de) p, :lang(de) li, :lang(de) dd { -webkit-hyphens: auto; hyphens: auto; }

/* etichetta "oggi" negli orari, nelle altre lingue */
:lang(de) .hours li.today span:first-child::after { content: "heute"; }
:lang(fr) .hours li.today span:first-child::after { content: "aujourd’hui"; }
:lang(en) .hours li.today span:first-child::after { content: "today"; }
.hours li { flex-wrap: wrap; }
.hours li span:last-child { margin-left: auto; }
/* etichetta "della casa" nel menù, nelle altre lingue */
:lang(de) .item.feat h3::after { content: "Spezialität"; }
:lang(fr) .item.feat h3::after { content: "maison"; }
:lang(en) .item.feat h3::after { content: "house special"; }
