/* ==========================================================================
   Osteria Fiamma — public site
   Editorial colour-block design: charcoal photography bands alternating with
   warm ivory sections. One accent (flame red) + one deliberate basil block.
   ========================================================================== */

:root {
  --char: #161210;
  --char-2: #201a15;
  --ink: #241c16;
  --ivory: #f8f3e8;
  --ivory-2: #efe6d6;
  --line: #ddd1bd;
  --line-dark: #362d25;
  --muted: #6f6357;
  --muted-dark: #b3a596;
  --red: #d43d20;
  --red-deep: #a92d13;
  --basil: #1d5737;
  --basil-deep: #144028;
  --sans: 'Archivo', system-ui, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--red); color: var(--ivory); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- type system ---------- */
.kicker {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  color: var(--red);
  display: block;
  padding-bottom: 0.2em; /* italic descender clearance */
}
.caps-title {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.32em;
  text-indent: 0.32em; /* balance tracking on centred titles */
  text-transform: uppercase;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  line-height: 1.3;
}
.band-dark .kicker { color: #e8a58f; }
.lead { font-size: 1.06rem; color: var(--muted); max-width: 58ch; }
.band-dark .lead { color: var(--muted-dark); }

/* ---------- bands ---------- */
.band { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.band-dark { background: var(--char); color: var(--ivory); }
.band-basil { background: var(--basil); color: var(--ivory); }
.band-tight { padding: clamp(3rem, 6vw, 5rem) 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red-deep);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease);
  z-index: 0;
}
.btn:hover::before { transform: translateX(0); }
.btn > * { position: relative; z-index: 1; }
.btn-primary { background: var(--red); color: #fdf8ee; }
.btn-ghost { border-color: currentColor; background: transparent; color: var(--ink); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--ivory); }
.band-dark .btn-ghost, .band-basil .btn-ghost, .hero .btn-ghost { color: var(--ivory); }
.band-dark .btn-ghost::before, .band-basil .btn-ghost::before, .hero .btn-ghost::before { background: var(--ivory); }
.band-dark .btn-ghost:hover, .band-basil .btn-ghost:hover, .hero .btn-ghost:hover { color: var(--char); }

/* text link with sliding underline */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--red);
  position: relative;
  padding-bottom: 4px;
}
.tlink::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.tlink:hover::after { transform: scaleX(1); transform-origin: left; }
.tlink svg { width: 16px; height: 16px; }
.band-dark .tlink { color: #e8a58f; }

/* ---------- announcement ribbon ---------- */
.ribbon {
  background: var(--red);
  color: #fdf8ee;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.55rem 1rem;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--char);
  color: var(--ivory);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 8px 30px rgba(12, 8, 5, 0.35); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.brand small {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.brand strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  color: var(--ivory);
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted-dark);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ivory); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-book { margin-left: 0.5rem; }
.nav .btn { padding: 0.65rem 1.4rem; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ivory);
  padding: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; display: block; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92dvh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ivory);
  overflow: hidden;
  isolation: isolate;
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; }
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 11, 8, 0.55), rgba(16, 11, 8, 0.35) 45%, rgba(16, 11, 8, 0.72));
}
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: heroZoom 14s var(--ease) forwards; }
  @keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
}
.hero-content { position: relative; z-index: 1; padding: 6rem 24px; max-width: 820px; }
.hero .kicker { color: #f0b9a4; }
.hero h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(2.3rem, 7vw, 4.6rem);
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  text-transform: uppercase;
  line-height: 1.08;
  margin: 0.35rem 0 1.1rem;
}
.hero p { color: #e4d9c8; font-size: 1.05rem; max-width: 48ch; margin: 0 auto 2.2rem; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* page hero (inner pages): shorter band */
.page-hero { min-height: 46dvh; }
.page-hero h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); }

/* ---------- split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.split.flip { grid-template-columns: 6fr 5fr; }
.split.flip .split-media { order: -1; }
.split-media { position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 4.6; }
.split-media.wide img { aspect-ratio: 5 / 3.6; }
.split-media::after {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--line);
  z-index: -1;
}
.band-dark .split-media::after, .band-basil .split-media::after { border-color: rgba(248, 243, 232, 0.22); }
.split-body h2 { margin-bottom: 1.2rem; }
.split-body .lead { margin-bottom: 1.4rem; }
.split-body .lead + .lead { margin-top: -0.4rem; }
.split-body .tlink, .split-body .btn { margin-top: 0.6rem; }

/* ---------- featured dishes ---------- */
.dishes {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.dish { text-decoration: none; color: inherit; display: block; }
.dish:nth-child(1) { grid-column: span 5; }
.dish:nth-child(2) { grid-column: span 4; margin-top: 3.5rem; }
.dish:nth-child(3) { grid-column: span 3; margin-top: 1.5rem; }
.dish-img { overflow: hidden; margin-bottom: 1.1rem; }
.dish-img img { aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; transition: transform 0.7s var(--ease); }
.dish:hover .dish-img img { transform: scale(1.06); }
.dish h3 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}
.dish h3 .price { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.25rem; color: #e8a58f; letter-spacing: 0; }
.dish p { color: var(--muted-dark); font-size: 0.92rem; margin-top: 0.4rem; }

/* ---------- menu preview list ---------- */
.menu-peek { list-style: none; margin: 2rem 0 1rem; }
.menu-peek li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.85rem 0;
}
.menu-peek li + li { border-top: 1px solid var(--line); }
.menu-peek .n { font-weight: 600; font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; }
.menu-peek .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.menu-peek .p { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.2rem; color: var(--red); }

/* ---------- basil aperitivo block ---------- */
.aperitivo-hours { list-style: none; margin: 1.6rem 0 2rem; }
.aperitivo-hours li {
  display: flex;
  justify-content: space-between;
  max-width: 380px;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(248, 243, 232, 0.2);
  font-size: 0.95rem;
}
.aperitivo-hours b { font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; }
.band-basil .kicker { color: #ffd9a8; }
.band-basil .lead { color: #cfe0d2; }
.band-basil .btn-primary { background: var(--ivory); color: var(--basil-deep); }
.band-basil .btn-primary::before { background: #ffd9a8; }

/* ---------- gallery strip / grid ---------- */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.gallery-strip .g-item:nth-child(even) { transform: translateY(1.8rem); }
.g-item { overflow: hidden; display: block; border: 0; padding: 0; background: none; }
.g-item img { width: 100%; aspect-ratio: 1 / 1.15; object-fit: cover; transition: transform 0.7s var(--ease), filter 0.7s ease; }
.g-item:hover img { transform: scale(1.05); }

.gallery-grid {
  columns: 3;
  column-gap: 1.2rem;
}
.gallery-grid .g-item { margin-bottom: 1.2rem; width: 100%; }
.gallery-grid .g-item img { aspect-ratio: auto; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(14, 10, 7, 0.94);
  display: none;
  place-items: center;
  padding: 4vh 4vw;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: 88dvh; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: 0;
  color: var(--ivory);
  padding: 10px;
}
.lightbox-close svg { width: 28px; height: 28px; }

/* ---------- full menu page ---------- */
.menu-nav {
  position: sticky;
  top: 72px;
  z-index: 30;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.menu-nav ul {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7rem 24px;
}
.menu-nav a {
  display: block;
  padding: 0.5rem 1.1rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.menu-nav a:hover { color: var(--ink); }
.menu-nav a.active { color: var(--red); border-color: var(--red); }

.menu-section { padding: clamp(2.8rem, 5vw, 4rem) 0 1rem; scroll-margin-top: 140px; }
.menu-section header { margin-bottom: 1.8rem; }
.menu-section header p { color: var(--muted); font-size: 0.95rem; margin-top: 0.2rem; }
.menu-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 5vw, 4.5rem); }
.mi { padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.mi-top { display: flex; align-items: baseline; gap: 0.7rem; }
.mi-top h3 { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.mi-top .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); min-width: 24px; }
.mi-top .p { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.3rem; color: var(--red); white-space: nowrap; }
.mi p { color: var(--muted); font-size: 0.92rem; margin-top: 0.3rem; max-width: 52ch; }
.tags { display: inline-flex; gap: 0.35rem; margin-left: 0.15rem; vertical-align: 2px; }
.tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-transform: uppercase;
}
.tag-S { color: var(--red); border-color: var(--red); }
.menu-note { color: var(--muted); font-size: 0.88rem; max-width: 68ch; padding: 2.5rem 0 4rem; }

/* ---------- story page ---------- */
.timeline { list-style: none; margin-top: 2.5rem; max-width: 640px; }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 1.5rem; padding: 1.4rem 0; border-top: 1px solid var(--line-dark); }
.timeline .yr { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.6rem; color: #e8a58f; line-height: 1.2; }
.timeline p { color: var(--muted-dark); font-size: 0.95rem; }
.timeline b { color: var(--ivory); display: block; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 0.2rem; }

.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.35;
  max-width: 22ch;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 0.2em;
}
.pullquote-by { text-align: center; margin-top: 1.4rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* ---------- booking page ---------- */
.book-layout {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.book-card { background: #fffdf8; border: 1px solid var(--line); padding: clamp(1.6rem, 3.5vw, 2.8rem); }
.fieldset { margin-bottom: 1.8rem; }
.fieldset > label, .fieldset > .flabel {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.party-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  min-width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  font-weight: 600;
  transition: all 0.25s ease;
  padding: 0 12px;
}
.chip:hover { border-color: var(--ink); }
.chip.sel { background: var(--char); color: var(--ivory); border-color: var(--char); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 0.5rem; }
.slot {
  padding: 0.7rem 0.4rem;
  border: 1px solid var(--line);
  background: transparent;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.slot:hover:not(:disabled) { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.slot.sel { background: var(--red); border-color: var(--red); color: #fdf8ee; }
.slot:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.slot-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.8rem; min-height: 1.3em; }

.input, textarea.input, select.input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: #fffdf8;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(212, 61, 32, 0.14); }
.input::placeholder { color: #a2937f; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-field label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.45rem; }
.form-help { font-size: 0.8rem; color: var(--muted); margin-top: 0.35rem; }
.form-error { color: var(--red-deep); font-size: 0.88rem; margin-top: 0.8rem; display: none; }
.form-error.show { display: block; }

.book-aside { position: sticky; top: 100px; }
.aside-block { border-top: 2px solid var(--char); padding: 1.4rem 0 1.8rem; }
.aside-block + .aside-block { border-top: 1px solid var(--line); }
.aside-block h3 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem; }
.aside-block h3 svg { width: 17px; height: 17px; color: var(--red); }
.aside-block p, .aside-block li { font-size: 0.92rem; color: var(--muted); }
.aside-block ul { list-style: none; }
.aside-block li { display: flex; justify-content: space-between; padding: 0.3rem 0; }
.aside-block li b { color: var(--ink); font-weight: 600; }

.success-panel { text-align: center; padding: 3rem 1rem; display: none; }
.success-panel.show { display: block; }
.success-panel svg { width: 54px; height: 54px; color: var(--basil); margin: 0 auto 1.2rem; display: block; }
.success-ref {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 2rem;
  color: var(--red);
  margin: 0.8rem 0 1.2rem;
}

/* steps indicator */
.steps { display: flex; gap: 0.4rem; margin-bottom: 2.2rem; }
.steps span { height: 3px; flex: 1; background: var(--line); transition: background 0.4s ease; }
.steps span.done { background: var(--red); }

/* ---------- contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.contact-list { list-style: none; margin: 2rem 0; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; margin-top: 3px; }
.contact-list b { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--red); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.hours-table td { padding: 0.45rem 0; font-size: 0.92rem; border-bottom: 1px solid var(--line); }
.hours-table td:first-child { font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.78rem; }
.hours-table td:last-child { text-align: right; color: var(--muted); }
.hours-table tr.today td { color: var(--red); font-weight: 600; }
#map { height: 380px; border: 1px solid var(--line); filter: saturate(0.85); }
.map-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.7rem; }

/* ---------- footer ---------- */
footer { background: var(--char); color: var(--ivory); padding: clamp(3.5rem, 7vw, 5.5rem) 0 0; }
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: 3rem;
}
.foot-brand strong { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 2rem; display: block; padding-bottom: 0.15em; }
.foot-brand p { color: var(--muted-dark); font-size: 0.92rem; max-width: 30ch; margin-top: 0.6rem; }
.foot-col h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 1.1rem; }
.foot-col ul { list-style: none; }
.foot-col li { padding: 0.28rem 0; font-size: 0.92rem; }
.foot-col a { text-decoration: none; color: var(--ivory); transition: color 0.25s ease; }
.foot-col a:hover { color: #e8a58f; }
.foot-col .fh { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted-dark); }
.foot-col .fh b { color: var(--ivory); font-weight: 500; }
.foot-social { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.foot-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-dark); color: var(--ivory); transition: all 0.3s ease; }
.foot-social a:hover { background: var(--red); border-color: var(--red); }
.foot-social svg { width: 18px; height: 18px; }
.foot-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 1.3rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted-dark);
}
.foot-bottom a { color: inherit; text-decoration: none; }
.foot-bottom a:hover { color: var(--ivory); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: #23a55a;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(12, 8, 5, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 16px 36px rgba(12, 8, 5, 0.4); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease); transition-delay: var(--d, 0s); }
.wipe.in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .wipe { opacity: 1; transform: none; clip-path: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 0; }
  .dishes { grid-template-columns: 1fr 1fr; }
  .dish:nth-child(n) { grid-column: span 1; margin-top: 0; }
  .dish:nth-child(3) { grid-column: span 2; }
  .book-layout, .contact-layout { grid-template-columns: 1fr; }
  .book-aside { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .menu-items { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--char-2);
    padding: 0.6rem 0 1.4rem;
    display: none;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 0.9rem 0; }
  .nav-links a::after { display: none; }
  .nav-book { margin: 0.8rem auto 0; }
  .nav-toggle { display: block; }
  .gallery-strip { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { min-height: 78dvh; }
  .gallery-grid { columns: 1; }
  .foot-grid { grid-template-columns: 1fr; }
}
