/* ==========================================================================
   La Cazuela de Marina — main.css
   Tokens → base → layout → components → utilities
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */
:root {
  /* Palette: Colombian flag — amarillo, azul, rojo — on white */
  --noche: #101427;
  --noche-2: #1a2038;
  --azul: #00297a;
  --azul-2: #003da5;
  --amarillo: #fcd116;
  --amarillo-2: #ffe168;
  --rojo: #ce1126;
  --rojo-2: #e8384f;
  --papel: #ffffff;
  --papel-2: #eef1f7;
  --tinta: #14182b;
  --tinta-60: rgba(20, 24, 43, 0.64);
  --linea: rgba(20, 24, 43, 0.14);

  /* Type */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --text: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.75vw, 1.95rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.5vw, 2.8rem);
  --step-4: clamp(2.4rem, 1.7rem + 3.4vw, 4.6rem);

  /* Space & shape */
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --block: clamp(3.75rem, 8vw, 7rem);
  --maxw: 1200px;
  --r-s: 6px;
  --r-m: 14px;
  --r-l: 26px;
  --shadow: 0 18px 44px -24px rgba(16, 20, 39, 0.55);
  --ring: 0 0 0 3px rgba(252, 209, 22, 0.55);

  --header-h: 68px;
}

/* ----------------------------------------------------------------- 2. Base */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--text);
  font-size: var(--step-0);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 40;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.005em; }

p { margin: 0 0 1.1em; max-width: 68ch; }
a { color: inherit; }
img, picture, svg, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--r-s);
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  translate: -50% -120%;
  z-index: 200;
  background: var(--noche);
  color: var(--papel);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--r-m) var(--r-m);
  text-decoration: none;
  transition: translate 0.2s;
}
.skip-link:focus { translate: -50% 0; }

/* --------------------------------------------------------------- 3. Layout */
.wrap {
  width: min(100% - (var(--gutter) * 2), var(--maxw));
  margin-inline: auto;
}

.section { padding-block: var(--block); position: relative; }
.section--tight { padding-block: calc(var(--block) * 0.6); }
.section--dark { background: var(--noche); color: var(--papel); }
.section--rojo { background: var(--rojo); color: var(--papel); }
.section--azul { background: var(--azul); color: var(--papel); }
.section--paper { background: var(--papel); }
.section--hueso { background: var(--papel-2); }

/* Mola textile stripe — the recurring seam between sections */
.mola {
  height: 8px;
  border: 0;
  margin: 0;
  background: linear-gradient(
    to bottom,
    var(--amarillo) 0 50%,
    var(--azul) 50% 75%,
    var(--rojo) 75% 100%
  );
}

.section-head { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-head p { color: var(--tinta-60); font-size: var(--step-1); line-height: 1.45; }
.section--dark .section-head p,
.section--azul .section-head p,
.section--rojo .section-head p { color: rgba(255, 255, 255, 0.72); }

/* -------------------------------------------------------------- 4. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--amarillo);
  color: var(--noche);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, translate 0.18s ease;
}
.btn:hover { background: var(--amarillo-2); translate: 0 -2px; }
.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(252, 209, 22, 0.14); translate: 0 -2px; }
.btn--solid-dark { background: var(--noche); color: var(--papel); }
.btn--solid-dark:hover { background: var(--azul); }
.btn--block { width: 100%; }

/* --------------------------------------------------------------- 5. Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(16, 20, 39, 0.72), rgba(16, 20, 39, 0));
  color: var(--papel);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-stuck {
  background: var(--noche);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.9);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.brand svg { width: 34px; height: 34px; flex: none; }
.brand span small {
  display: block;
  font-family: var(--text);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--amarillo);
}

.nav { display: none; }
.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0;
  position: relative;
  opacity: 0.88;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--amarillo);
  transition: right 0.22s ease;
}
.nav a:hover::after,
.nav a[aria-current="true"]::after { right: 0; }
.nav a:hover { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.lang {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  overflow: hidden;
}
.lang button {
  background: none;
  border: 0;
  padding: 0.3rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  opacity: 0.7;
}
.lang button[aria-pressed="true"] { background: var(--amarillo); color: var(--noche); opacity: 1; }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger i {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: translate 0.24s ease, rotate 0.24s ease, opacity 0.18s ease;
}
.burger[aria-expanded="true"] i:nth-child(1) { translate: 0 7px; rotate: 45deg; }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { translate: 0 -7px; rotate: -45deg; }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--noche);
  color: var(--papel);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  translate: 0 -100%;
  visibility: hidden;
  transition: translate 0.36s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.36s;
}
.drawer.is-open { translate: 0 0; visibility: visible; }
.drawer a {
  font-family: var(--display);
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.drawer .drawer-foot { margin-top: auto; display: grid; gap: 0.6rem; padding-top: 1.5rem; }
.drawer .drawer-foot a { font-family: var(--text); font-size: 0.95rem; border: 0; }

/* ----------------------------------------------------------------- 6. Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: calc(var(--header-h) + 2.5rem) 3.5rem;
  background: var(--azul);
  color: var(--papel);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.38;
  filter: saturate(1.05);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 70% at 78% 30%, rgba(252, 209, 22, 0.22), transparent 60%),
    linear-gradient(to bottom, rgba(0, 41, 122, 0.90) 0%, rgba(0, 41, 122, 0.74) 45%, rgba(16, 20, 39, 0.96) 100%);
}
.hero .wrap { display: grid; gap: clamp(2rem, 6vw, 4rem); }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.35rem 0.85rem 0.35rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amarillo);
  box-shadow: 0 0 0 0 rgba(252, 209, 22, 0.7);
}
.dot.is-open { background: var(--amarillo); animation: pulse 2.4s infinite; }
.dot.is-closed { background: var(--rojo); }
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(252, 209, 22, 0); }
  100% { box-shadow: 0 0 0 0 rgba(252, 209, 22, 0); }
}

.hero h1 { margin-bottom: 0.35em; text-wrap: balance; }
.hero h1 em {
  font-style: normal;
  display: block;
  color: var(--amarillo);
  font-variation-settings: "SOFT" 60, "WONK" 1, "opsz" 144;
}
.hero__lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 2rem;
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.66);
}
.hero__meta strong { color: var(--papel); font-weight: 700; }

/* Medallion: the one bold moment */
.medallion { position: relative; width: min(100%, 460px); margin-inline: auto; aspect-ratio: 1; }
.medallion__ring { position: absolute; inset: 0; animation: spin 68s linear infinite; }
.medallion__img {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  object-fit: cover;
  width: 84%;
  height: 84%;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.85);
}
.medallion__tag {
  position: absolute;
  right: -2%;
  bottom: 8%;
  background: var(--rojo);
  color: var(--papel);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  rotate: -4deg;
}
@keyframes spin { to { rotate: 360deg; } }

/* ------------------------------------------------------------- 7. Historia */
.split { display: grid; gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--r-l); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.split__media figcaption {
  position: absolute;
  left: 50%;
  bottom: -18px;
  translate: -50% 0;
  background: var(--papel);
  border: 1px solid var(--linea);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.quote {
  font-family: var(--display);
  font-size: var(--step-2);
  line-height: 1.25;
  border-left: 4px solid var(--rojo);
  padding-left: 1.1rem;
  margin: 1.75rem 0;
  font-variation-settings: "SOFT" 60, "WONK" 1, "opsz" 72;
}
.quote cite { display: block; font-family: var(--text); font-size: 0.85rem; font-style: normal; opacity: 0.66; margin-top: 0.7rem; }

.facts { display: grid; gap: 1px; background: var(--linea); border: 1px solid var(--linea); border-radius: var(--r-m); overflow: hidden; margin-top: 2rem; }
.facts div { background: var(--papel); padding: 1.1rem 1.25rem; }
.facts b { display: block; font-family: var(--display); font-size: var(--step-2); line-height: 1; }
.facts span { font-size: var(--step--1); color: var(--tinta-60); }

/* ----------------------------------------------------------------- 8. Menu */
.menu-tools { display: grid; gap: 0.9rem; margin-bottom: 2rem; }
.tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  border: 1px solid var(--linea);
  background: transparent;
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s, color 0.16s, border-color 0.16s;
}
.tab[aria-selected="true"] { background: var(--azul); color: var(--papel); border-color: var(--azul); }

.search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--linea);
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 1rem;
}
.search input { border: 0; background: none; outline: none; flex: 1; font-size: 0.95rem; min-width: 0; }
.search svg { width: 18px; height: 18px; opacity: 0.45; flex: none; }

.menu-section { margin-bottom: clamp(2.25rem, 5vw, 3.5rem); scroll-margin-top: calc(var(--header-h) + 90px); }
.menu-section__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 2px solid var(--tinta);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}
.menu-section__head h3 { margin: 0; font-size: var(--step-2); }
.menu-section__head p { margin: 0; font-size: var(--step--1); color: var(--tinta-60); text-align: right; flex: 1; }

.dishes { display: grid; gap: 1.4rem; }
.dish { display: grid; grid-template-columns: 76px 1fr; gap: 1rem; align-items: start; }
.dish__thumb {
  width: 76px;
  height: 76px;
  border-radius: var(--r-m);
  object-fit: cover;
  background: var(--papel-2);
  cursor: zoom-in;
  transition: scale 0.2s ease;
}
.dish__thumb:hover { scale: 1.04; }
.dish__line { display: flex; align-items: baseline; gap: 0.5rem; }
.dish__line h4 { margin: 0; font-size: var(--step-0); font-weight: 600; font-family: var(--display); }
.dish__dots { flex: 1; border-bottom: 1px dotted var(--linea); translate: 0 -4px; min-width: 12px; }
.dish__price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dish__desc { margin: 0.25rem 0 0; font-size: var(--step--1); color: var(--tinta-60); max-width: 58ch; }
.dish__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.45rem; }
.chip {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: var(--papel-2);
  color: var(--tinta-60);
}
.chip--firma { background: var(--amarillo); color: var(--noche); }
.chip--popular { background: rgba(206, 17, 38, 0.10); color: var(--rojo); }

.menu-empty { padding: 2.5rem 0; text-align: center; color: var(--tinta-60); }

/* -------------------------------------------------------------- 9. Gallery */
.gallery { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); }
.gallery button {
  border: 0;
  padding: 0;
  background: var(--noche-2);
  border-radius: var(--r-m);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  aspect-ratio: 1;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.4s ease, opacity 0.3s; }
.gallery button:hover img { scale: 1.06; }
.gallery button::after {
  content: attr(data-label);
  position: absolute;
  inset: auto 0 0;
  padding: 2.2rem 0.85rem 0.7rem;
  background: linear-gradient(to top, rgba(16, 20, 39, 0.85), transparent);
  color: var(--papel);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: left;
}
.gallery button:nth-child(1) { grid-column: span 2; aspect-ratio: 16 / 10; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(10, 13, 26, 0.95);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(100%, 1000px); text-align: center; }
.lightbox img { max-height: 76svh; width: auto; margin-inline: auto; border-radius: var(--r-m); }
.lightbox figcaption { color: var(--papel); margin-top: 0.9rem; font-size: 0.9rem; }
.lb-btn {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(16, 20, 39, 0.6);
  color: var(--papel);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.3rem;
}
.lb-prev { left: max(0.75rem, 2vw); }
.lb-next { right: max(0.75rem, 2vw); }
.lb-close { top: max(0.75rem, 2vw); right: max(0.75rem, 2vw); translate: 0; }

/* -------------------------------------------------------------- 10. Order */
.order-grid { display: grid; gap: 1rem; }
.order-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-m);
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, translate 0.2s;
}
.order-card:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--amarillo); translate: 0 -3px; }
.order-card__mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--noche);
  flex: none;
}
.order-card b { display: block; font-size: 1rem; }
.order-card span { font-size: var(--step--1); opacity: 0.7; }
.order-card .arrow { margin-left: auto; opacity: 0.6; }

/* ------------------------------------------------------------- 11. Visit */
.visit-grid { display: grid; gap: clamp(1.75rem, 5vw, 3rem); }
.hours { border: 1px solid var(--linea); border-radius: var(--r-m); overflow: hidden; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.1rem;
  font-size: var(--step--1);
  border-bottom: 1px solid var(--linea);
}
.hours { list-style: none; margin: 0; padding: 0; }
.hours li:last-child { border-bottom: 0; }
.hours li.is-today { background: rgba(252, 209, 22, 0.32); font-weight: 700; }
.hours li span:last-child { font-variant-numeric: tabular-nums; }

.map-embed {
  position: relative;
  border-radius: var(--r-m);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--papel-2) url("../img/brand/map-placeholder.svg") center / cover no-repeat;
  display: grid;
  place-items: center;
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Contact form — ProWork Contact Stack v1 */
.form { display: grid; gap: 0.9rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; }
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--linea);
  border-radius: var(--r-s);
  background: #fff;
  color: inherit;
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #e07a1f; background: #fff8f0; }
.field .err { font-size: 0.72rem; color: #b4560d; min-height: 1em; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-note { font-size: 0.75rem; color: var(--tinta-60); }
.form-status { font-size: 0.85rem; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: #157347; }
.form-status.bad { color: #b4232a; }
.spinner {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.is-sending .spinner { display: inline-block; }

/* -------------------------------------------------------------- 12. Footer */
.site-footer { background: var(--noche); color: rgba(255, 255, 255, 0.72); padding-block: 3.5rem 6.5rem; }
.footer-grid { display: grid; gap: 2rem; }
.site-footer h4 { color: var(--papel); font-size: 1rem; margin-bottom: 0.7rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--amarillo); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; font-size: var(--step--1); }
.social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
}
.social a:hover { background: var(--amarillo); color: var(--noche); border-color: var(--amarillo); }
.legal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
}

/* Sticky mobile action bar */
.actionbar {
  position: fixed;
  inset: auto 0 0;
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--noche-2);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar a {
  padding: 0.7rem 0.4rem;
  text-align: center;
  color: var(--papel);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  gap: 0.25rem;
  justify-items: center;
}
.actionbar a svg { width: 19px; height: 19px; }
.actionbar a.primary { background: var(--amarillo); color: var(--noche); }

.to-top {
  position: fixed;
  right: 1rem;
  bottom: calc(72px + env(safe-area-inset-bottom));
  z-index: 94;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--azul);
  color: var(--papel);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  box-shadow: var(--shadow);
}
.to-top.is-visible { opacity: 1; visibility: visible; }

/* ----------------------------------------------------------- 13. Utilities */
.reveal { opacity: 0; translate: 0 18px; transition: opacity 0.6s ease, translate 0.6s cubic-bezier(0.32, 0.72, 0, 1); }
.reveal.is-in { opacity: 1; translate: 0 0; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

/* ---------------------------------------------------------- 14. Breakpoints */
@media (min-width: 640px) {
  .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.5rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .gallery button:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: 1; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-tools { grid-template-columns: 1fr 260px; align-items: center; }
  .order-grid { grid-template-columns: repeat(3, 1fr); }
  .order-card { flex-direction: column; align-items: flex-start; }
  .order-card .arrow { margin: 0; }
}

@media (min-width: 900px) {
  :root { --header-h: 78px; }
  .nav { display: flex; gap: clamp(1rem, 2.2vw, 2rem); align-items: center; }
  .burger { display: none; }
  .brand { font-size: 1.2rem; }
  .brand svg { width: 42px; height: 42px; }
  .hero .wrap { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
  .split { grid-template-columns: 0.85fr 1.15fr; }
  .split--flip .split__media { order: 2; }
  .visit-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .actionbar { display: none; }
  .to-top { bottom: 1.5rem; }
  .site-footer { padding-bottom: 3.5rem; }
}

@media (min-width: 1100px) {
  .dishes { gap: 1.75rem 3.5rem; }
}

/* ------------------------------------------------------- 15. Preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; translate: none; }
}

@media print {
  .site-header, .actionbar, .to-top, .hero__cta, .drawer, .lightbox, .gallery, .map-embed, form { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1rem; }
}
