/* ==========================================================================
   Restaurante de autor — hoja de estilos
   Sistema: papel y tinta. La web cambia de «luz» con la hora de la sala
   (día / noche) a través de [data-theme] en <html>.
   ========================================================================== */

@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('/assets/fonts/schibsted-grotesk-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/montserrat-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('/assets/fonts/schibsted-grotesk-latin-wght-italic.woff2') format('woff2-variations');
  font-weight: 400 900; font-style: italic; font-display: swap;
}

/* Bagatge: colores del logotipo. Marrón chocolate de fondo, crema para el
   texto y un caramelo como acento. De noche, un marrón más profundo. Los
   titulares usan una geométrica (Montserrat) que acompaña al logotipo. */
:root {
  --paper: #3b2516;
  --paper-2: #43291a;
  --paper-3: #4c2f1e;
  --ink: #e7d7c0;
  --ink-2: #d9c8b0;
  --muted: #ad9a82;
  --line: rgba(231, 215, 192, .16);
  --line-strong: rgba(231, 215, 192, .38);
  --accent: #e7d7c0;
  --accent-ink: #3b2516;
  --plate: #e7d7c0;
  --plate-line: rgba(59, 37, 22, .22);
  --plate-shadow: rgba(0, 0, 0, .35);
  --ok: #b3cf9f;
  --danger: #f09a82;
  --focus: #e7d7c0;

  --serif: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --display-weight: 560;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --header-h: 80px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  color-scheme: dark;
}


/* Logotipo: máscara que toma el color del texto */
.logo { display: block; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.logo-box { --logo: url('/assets/img/logo-box.png'); aspect-ratio: 510 / 670; }
.logo-full { --logo: url('/assets/img/logo-full.png'); aspect-ratio: 510 / 780; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color .8s var(--ease), color .8s var(--ease);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }
.skip { border-radius: var(--radius); }

.num { font-variant-numeric: tabular-nums lining-nums; }
.nw { white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.5; }
em { font-style: normal; color: var(--accent); }

.eyebrow {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--muted);
  margin: 0;
}

.lead {
  font-family: var(--sans);
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.3;
  letter-spacing: -.015em;
  font-weight: 450;
  color: var(--ink);
  max-width: 30ch;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Titulares ---------- */
.brand, .hero-title, .section-title, .page-title, .manifesto-text, .menu-card-title, .menu-detail-title,
.chef-intro-name, .visit-title, .pillar-title, .option-title, .form-title, .footer-name, .step-title,
.sentence, .calendar-month, .service-name, .waitlist-title, .menu-choice-name, .producer-name, .team-name,
.course-name, .price-big, .menu-card-price .num, .menu-choice-price, .gift-card-brand, .gift-card-to,
.done-details dd, .info-big, .legal h2, .mobile-nav nav a, .figure-n, .field output, .gift-card-menu .num {
  font-family: var(--serif);
  font-weight: var(--display-weight);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.course-name, .producer-name, .team-name, .done-details dd, .info-big, .legal h2, .menu-choice-price,
.price-big, .menu-card-price .num, .gift-card-to { font-weight: 560; letter-spacing: -.02em; }
.manifesto-text { font-weight: 400; letter-spacing: -.01em; }
.sentence { font-weight: 560; letter-spacing: -.025em; }

/* ---------- Botones y enlaces ---------- */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 46px;
  padding: 12px 24px;
  border: 1px solid var(--b);
  border-radius: var(--radius);
  background: var(--b);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn:hover { --b: var(--accent); color: var(--accent-ink); }
.btn:active { transform: scale(.98); }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .45; cursor: not-allowed; }
.btn-lg { min-height: 56px; padding: 16px 32px; font-size: 16px; }
.btn-sm { min-height: 38px; padding: 8px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); --b: var(--line-strong); }
.btn-ghost:hover { --b: var(--ink); background: transparent; color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: 15px; font-weight: 480;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: border-color .3s, color .3s, gap .3s var(--ease);
}
.link-arrow::after { content: '→'; transition: transform .3s var(--ease); }
.link-arrow:hover { border-color: var(--accent); gap: .8em; }
.link-button { background: none; border: 0; border-bottom: 1px solid var(--line-strong); padding: 0 0 3px; cursor: pointer; }

.icon-btn {
  width: 44px; height: 44px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  display: inline-grid; place-items: center; font-size: 18px;
  transition: background .3s, border-color .3s;
}
.icon-btn:hover:not([disabled]) { border-color: var(--ink); }
.icon-btn[disabled] { opacity: .3; cursor: default; }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
  height: 100%;
  max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.brand { justify-self: start; display: block; width: 40px; color: var(--ink); }
.brand .logo { width: 100%; }
.brand:hover { color: var(--ink); }
.nav ul { display: flex; gap: clamp(16px, 2.2vw, 36px); }
.nav a {
  position: relative;
  font-size: 14.5px; font-weight: 450;
  text-decoration: none;
  padding: 6px 0;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.nav a:hover { color: var(--ink); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.lang-links { display: flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 560; letter-spacing: .1em; }
.lang-links li + li::before { content: '·'; color: var(--line-strong); margin: 0 4px; }
.lang-links a { text-decoration: none; color: var(--muted); padding: 4px 2px; }
.lang-links a:hover { color: var(--ink); }
.lang-links [aria-current] { color: var(--ink); }
.footer-langs { color: var(--muted); }
.mobile-langs { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.mobile-langs [aria-current] { color: var(--ink); font-weight: 560; }

.menu-toggle {
  display: none;
  align-items: center; gap: 10px;
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  font-size: 14px; font-weight: 500;
}
.menu-toggle-icon { position: relative; width: 22px; height: 10px; }
.menu-toggle-icon span {
  position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.menu-toggle-icon span:first-child { top: 0; }
.menu-toggle-icon span:last-child { top: 8px; }
.menu-toggle[aria-expanded='true'] .menu-toggle-icon span:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle-icon span:last-child { top: 4px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 45;
  background: var(--paper);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto;
  opacity: 0; transition: opacity .4s var(--ease);
}
.mobile-nav.is-open { opacity: 1; }
.mobile-nav ol { display: grid; gap: 2px; }
.mobile-nav li { overflow: hidden; }
.mobile-nav nav a {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--serif); font-size: clamp(40px, 11vw, 64px); line-height: 1.08;
  text-decoration: none; letter-spacing: -.02em;
  transform: translateY(105%); transition: transform .7s var(--ease);
}
.mobile-nav.is-open nav a { transform: none; }
.mobile-nav.is-open li:nth-child(2) a { transition-delay: .04s; }
.mobile-nav.is-open li:nth-child(3) a { transition-delay: .08s; }
.mobile-nav.is-open li:nth-child(4) a { transition-delay: .12s; }
.mobile-nav.is-open li:nth-child(5) a { transition-delay: .16s; }
.mobile-nav.is-open li:nth-child(6) a { transition-delay: .2s; }
.mobile-nav.is-open li:nth-child(7) a { transition-delay: .24s; }
.mobile-nav nav a[aria-current='page'] { color: var(--accent); }
.mobile-nav-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; font-size: 14px; color: var(--muted); margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.mobile-nav-foot .mobile-langs { grid-column: 1 / -1; font-size: 15px; }
.mobile-nav-foot p { margin: 0; }
.mobile-nav-foot a { text-decoration: none; }
body.menu-open { overflow: hidden; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(72px, 11vw, 168px) 0; }
.section:last-child { padding-bottom: clamp(72px, 11vw, 168px); }
.hero + .manifesto { padding-top: clamp(40px, 5vw, 64px); }
main > .section:last-of-type { padding-bottom: clamp(72px, 11vw, 168px); }
.section-head {
  display: grid; grid-template-columns: minmax(160px, 3fr) 9fr; gap: 24px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 1;
  max-width: 18ch;
}
.section-more { margin-top: 40px; }

.page-head { padding-top: calc(var(--header-h) + clamp(24px, 4vw, 56px)); padding-bottom: clamp(48px, 7vw, 96px); }
.page-head-compact { padding-bottom: clamp(32px, 4vw, 56px); }
.page-title {
  font-family: var(--serif);
  font-size: clamp(56px, 10vw, 160px);
  line-height: .92;
  letter-spacing: -.055em;
  margin: 18px 0 clamp(24px, 3vw, 40px);
}
.page-title-sm { font-size: clamp(48px, 8vw, 120px); }
.page-lead { max-width: 26ch; }

.split-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }

/* ---------- Portada: hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 8vw, 120px));
  overflow: hidden;
}
.hero-plate {
  position: absolute;
  width: min(36vw, 540px);
  aspect-ratio: 1;
  right: var(--gutter);
  top: calc(var(--header-h) + clamp(24px, 4vw, 64px));
  pointer-events: none;
  animation: plate-in 1.4s var(--ease) both .2s;
}
.hero-plate .plate { width: 100%; height: 100%; filter: drop-shadow(0 24px 40px var(--plate-shadow)); }
@keyframes plate-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.hero-inner { position: relative; padding-bottom: 0; min-height: calc(min(36vw, 540px) + 24px); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 18px; }
.hero-logo { width: clamp(150px, 19vw, 280px); margin: 0 0 clamp(28px, 4vw, 48px); color: var(--ink); }
.hero-title {
  font-size: clamp(76px, 15vw, 236px);
  line-height: .86;
  letter-spacing: -.06em;
  margin-left: -.05em;
  margin-bottom: clamp(32px, 5vw, 64px);
  max-width: 62%;
}
/* La máscara de la animación deja sitio a los descendentes (g, p, j). */
.hero-word { display: inline-flex; overflow: hidden; padding: 0 .08em .2em 0; margin-bottom: -.2em; }
.hero-word span { display: inline-block; transform: translateY(105%); animation: letter-up 1s var(--ease) both; animation-delay: calc(.1s + var(--i) * .045s); }
@keyframes letter-up { to { transform: none; } }
.hero-foot {
  display: grid; gap: 28px; max-width: 58%;
}
.hero-lede { font-size: clamp(21px, 2vw, 28px); line-height: 1.3; font-weight: 450; letter-spacing: -.015em; max-width: 26ch; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

.live { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.live:hover { color: var(--ink); }
.live:hover [data-live-text] { text-decoration: underline; text-underline-offset: .25em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); position: relative; flex: none; }
.live[data-state='open'] .live-dot, .live[data-state='few'] .live-dot { background: var(--ok); }
.live[data-state='few'] .live-dot { background: var(--accent); }
.live[data-state='open'] .live-dot::after, .live[data-state='few'] .live-dot::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid currentColor; color: var(--ok);
  animation: pulse 2.4s var(--ease) infinite;
}
.live[data-state='few'] .live-dot::after { color: var(--accent); }
@keyframes pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.live strong { font-weight: 560; }

/* ---------- Manifiesto y cifras ---------- */
.manifesto-body { display: grid; grid-template-columns: minmax(160px, 3fr) 9fr; gap: 24px; }
.manifesto-text {
  grid-column: 2;
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 54px);
  line-height: 1.1;
  max-width: 26ch;
  margin-bottom: 40px;
}
.manifesto-text em { color: var(--accent); }
.manifesto-body .link-arrow { grid-column: 2; justify-self: start; }

/* ---------- Tarjetas de menú ---------- */
.menu-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.menu-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; border-top: 1px solid var(--line); padding-top: 32px; }
.menu-card-plate { filter: drop-shadow(0 20px 30px var(--plate-shadow)); transition: transform 1.2s var(--ease); }
.menu-card:hover .menu-card-plate { transform: rotate(-24deg) scale(1.03); }
.menu-card-title { font-family: var(--serif); font-size: clamp(48px, 5.4vw, 88px); line-height: .95; letter-spacing: -.03em; margin: 10px 0 14px; }
.menu-card-summary { color: var(--ink-2); max-width: 34ch; }
.menu-card-price { font-size: 15px; margin-bottom: 18px; }
.menu-card-price .num { font-family: var(--serif); font-size: 28px; }

/* ---------- Xef ---------- */
.chef-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.chef-intro-name { font-family: var(--serif); font-size: clamp(56px, 9vw, 150px); line-height: .9; letter-spacing: -.03em; padding-bottom: .12em; text-wrap: balance; }
.chef-intro .eyebrow { margin-bottom: 14px; }
.chef-intro-text { color: var(--ink-2); max-width: 40ch; margin-bottom: 24px; }

/* ---------- Productores ---------- */
.producers { border-top: 1px solid var(--line); }
.producers li {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 16px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.producer-kind { color: var(--muted); font-size: 14px; }
.producer-name { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.1; }
.producer-dist { font-size: 14px; color: var(--muted); text-align: right; }

/* ---------- Visita ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.visit-title { font-family: var(--serif); font-size: clamp(64px, 11vw, 176px); line-height: .88; letter-spacing: -.035em; }
.visit-title em { color: var(--accent); }
.visit-place { display: flex; flex-direction: column; gap: 28px; }
.visit-logo { width: clamp(110px, 9vw, 150px); color: var(--ink); margin-top: auto; }
.visit-info > p { color: var(--ink-2); max-width: 40ch; }
.visit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }

.hours { margin: 0; display: grid; gap: 14px; font-size: 15px; }
.hours div { display: grid; gap: 2px; }
.hours dt { font-weight: 560; }
.hours dd { margin: 0; color: var(--ink-2); }

/* ---------- Página de menús: partitura ---------- */
.score-hint { font-size: 14px; margin-top: 28px; }
.menu-detail { padding-top: clamp(56px, 8vw, 120px); }
.menu-detail + .menu-detail { margin-top: clamp(56px, 8vw, 120px); border-top: 1px solid var(--line); }
.menu-detail-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.menu-detail-head .eyebrow { grid-column: 1 / -1; }
.menu-detail-title { font-family: var(--serif); font-size: clamp(80px, 14vw, 220px); line-height: .82; letter-spacing: -.04em; padding-bottom: .24em; }
.menu-detail-head .lead { grid-column: 1 / -1; grid-row: auto; max-width: 40ch; align-self: end; }
.menu-detail-prices { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.menu-detail-prices p { margin: 0; }
.price-big { font-family: var(--serif); font-size: clamp(40px, 4vw, 56px); line-height: 1; }
.pairings { display: grid; gap: 4px; font-size: 15px; }
.pairings li { display: flex; gap: 16px; justify-content: space-between; min-width: 260px; }
.menu-detail-prices .btn { margin-left: auto; }

.score { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.score-list { counter-reset: c; border-top: 1px solid var(--line); }
.course {
  display: grid; grid-template-columns: minmax(0, 1fr) 0; align-items: baseline; gap: 12px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  cursor: default; outline: none;
  transition: color .3s, padding .5s var(--ease);
}
.course-name { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -.005em; }
.course-plate { display: none; }
.course.is-active .course-name, .course:focus-visible .course-name { color: var(--accent); }
.course.is-active { padding-left: 8px; }
.score-stage { position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 1 / 1.12; }
.stage-plate { position: absolute; inset: 0; opacity: 0; transform: rotate(-30deg) scale(.96); transition: opacity .7s var(--ease), transform 1.2s var(--ease); pointer-events: none; }
.stage-plate.is-active { opacity: 1; transform: none; }
.stage-plate .plate { width: 100%; height: auto; filter: drop-shadow(0 30px 40px var(--plate-shadow)); }
.stage-caption { margin-top: 20px; font-size: 14px; color: var(--muted); }

.notes-grid { display: grid; grid-template-columns: minmax(160px, 3fr) 9fr; gap: 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.notes-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 48px; font-size: 16px; color: var(--ink-2); }
.notes-list li { padding-left: 22px; position: relative; }
.notes-list li::before { content: ''; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--ink); }
.notes-illustration { grid-column: 2; margin-top: 24px; }

/* ---------- Filosofía ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.pillar { border-top: 1px solid var(--line); padding-top: 18px; }
.pillar-title { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 68px); line-height: 1; letter-spacing: -.02em; margin: 24px 0 18px; }
.pillar p:last-child { color: var(--ink-2); max-width: 38ch; }
.split .section-title { margin-top: 14px; }
.pull { margin: 40px 0 0; padding-left: 24px; border-left: 1px solid var(--accent); }
.pull p { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.25; margin: 0; color: var(--ink-2); }
.team { border-top: 1px solid var(--line); }
.team li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.team-name { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; }

.plan-figure { margin: 0; color: var(--ink); }
.plan-small { margin-top: 48px; max-width: 520px; }
.floorplan { width: 100%; height: auto; overflow: visible; }
.floorplan .fp-wall { fill: none; stroke: currentColor; stroke-width: 1.4; }
.floorplan .fp-window { stroke: var(--paper); stroke-width: 4; }
.floorplan .fp-kitchen { fill: var(--paper-2); stroke: currentColor; stroke-width: .8; }
.floorplan .fp-table { fill: var(--plate); stroke: currentColor; stroke-width: 1; }
.floorplan .fp-seat { fill: none; stroke: var(--accent); stroke-width: 1; }
.floorplan .fp-seat-extra { stroke-dasharray: 2 2; opacity: .7; }
.floorplan .fp-door { fill: none; stroke: currentColor; stroke-width: .8; stroke-dasharray: 3 3; }
.floorplan .fp-label { font: 500 9px var(--sans); letter-spacing: .2em; text-transform: uppercase; fill: var(--muted); text-anchor: middle; }
[data-draw] .floorplan * { transition: opacity .8s var(--ease); }
.js [data-draw]:not(.is-in) .fp-seat, .js [data-draw]:not(.is-in) .fp-table { opacity: 0; }
[data-draw].is-in .fp-seat { transition-delay: .5s; }

/* ---------- Opciones (eventos / regalo) ---------- */
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.option { border-top: 1px solid var(--line); padding-top: 18px; }
.option-title { font-family: var(--serif); font-size: clamp(36px, 3.6vw, 56px); line-height: 1; letter-spacing: -.02em; margin: 24px 0 16px; }
.option p:last-child { color: var(--ink-2); max-width: 36ch; }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 26px; max-width: 760px; }
.form-title { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; }
.form-sub { margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.form-row { display: grid; gap: 26px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label:not(.check), .field legend, .field .label {
  font-size: 12px; font-weight: 520; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0;
}
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit; font-size: 18px; font-weight: 400;
  color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 8px 0 10px;
  transition: border-color .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.field input:hover, .field textarea:hover, .field select:hover { border-bottom-color: var(--ink-2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field input[type='date'] { min-height: 46px; }
.select { position: relative; }
.select::after { content: ''; position: absolute; right: 4px; top: 50%; width: 7px; height: 7px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: translateY(-75%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 28px; cursor: pointer; }
.select option { background: var(--paper); color: var(--ink); }
.field-hint { font-size: 13px; color: var(--muted); margin: 0; }
.field-error { font-size: 13px; color: var(--danger); margin: 0; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-bottom-color: var(--danger); }
.field output { font-family: var(--serif); font-size: 32px; line-height: 1.2; }

.field-check { gap: 4px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check-box { width: 20px; height: 20px; border: 1px solid var(--line-strong); border-radius: 4px; margin-top: 1px; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.check-box::after { content: ''; width: 10px; height: 5px; border-left: 1.5px solid var(--paper); border-bottom: 1.5px solid var(--paper); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked + .check-box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check-box::after { opacity: 1; }
.check input:focus-visible + .check-box { outline: 2px solid var(--focus); outline-offset: 2px; }
.check a { color: var(--ink); }

.chips-field legend { margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha { min-height: 65px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 4px; }
.form-status { margin: 0; font-size: 15px; padding: 14px 18px; border-radius: var(--radius); background: var(--paper-2); }
.form-status.is-error { color: var(--danger); }
.form-status.is-ok { color: var(--ok); }

/* ---------- Tarjeta regalo ---------- */
.gift-grid { align-items: start; }
.gift-visual { position: sticky; top: calc(var(--header-h) + 32px); }
.gift-card {
  aspect-ratio: 1.6;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  padding: clamp(20px, 2.6vw, 34px);
  display: grid; grid-template-rows: auto 1fr auto;
  position: relative; overflow: hidden;
  box-shadow: 0 40px 80px -30px var(--plate-shadow), 0 2px 0 rgba(255, 255, 255, .06) inset;
  transform: rotate(-3deg);
  transition: transform 1s var(--ease);
}
.gift-card:hover { transform: rotate(0); }
.gift-card .eyebrow { color: color-mix(in srgb, var(--paper) 60%, transparent); }
.gift-card-top { display: flex; justify-content: space-between; align-items: baseline; position: relative; z-index: 1; }
.gift-card-brand { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1; }
.gift-card-plate { position: absolute; width: 62%; right: -14%; top: 50%; transform: translateY(-50%); opacity: .95; }
.gift-card-plate .plate { --plate: #23211d; --plate-line: rgba(255, 255, 255, .18); }
.gift-card-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.gift-card-bottom > div { display: grid; gap: 4px; }
.gift-card-to { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.05; max-width: 14ch; overflow-wrap: anywhere; }
.gift-card-menu { text-align: right; font-size: 14px; }
.gift-card-menu .num { font-family: var(--serif); font-size: 24px; }
.gift-total { align-content: end; }

/* ---------- Contacto ---------- */
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.info-grid > div { border-top: 1px solid var(--line); padding-top: 18px; display: grid; align-content: start; gap: 12px; }
.info-grid .eyebrow:not(:first-child) { margin-top: 16px; }
.info-grid p, .info-grid address { margin: 0; }
.info-big { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; overflow-wrap: anywhere; }
.info-big a { text-decoration: none; }

/* ---------- Reservas ---------- */
.booking {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 112px);
  align-items: start;
  padding-bottom: clamp(72px, 10vw, 140px);
}
.booking-summary { position: sticky; top: calc(var(--header-h) + 32px); border-top: 1px solid var(--line); padding-top: 22px; }
.sentence { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 48px); line-height: 1.12; letter-spacing: -.01em; margin-bottom: 28px; }
.sentence-fixed { color: var(--muted); }
.sentence-part {
  font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink);
  border-bottom: 1px dashed var(--line-strong); line-height: 1.05;
  transition: color .3s, border-color .3s;
}
.sentence-part:disabled { cursor: default; border-bottom-color: transparent; }
.sentence-part.is-empty { color: var(--line-strong); }
.sentence-part:not(:disabled):hover { color: var(--accent); border-bottom-color: var(--accent); }
.sentence-part.is-filled { animation: pop .6s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(6px); display: inline-block; } to { opacity: 1; transform: none; } }
.booking-policy { max-width: 36ch; }

.booking-steps { position: relative; min-width: 0; }
.steps-progress { height: 1px; background: var(--line); margin-bottom: 22px; position: relative; overflow: hidden; }
.steps-progress span { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .8s var(--ease); }
.step { animation: step-in .7s var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.step-head { margin-bottom: clamp(24px, 3vw, 40px); }
.step-title { font-family: var(--serif); font-size: clamp(40px, 4.6vw, 72px); line-height: 1; letter-spacing: -.02em; margin-top: 12px; outline: none; }
.step-foot { margin-top: 24px; }
.step-foot a { color: var(--ink); }
.step-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 36px; }
.step-nav:has(> :only-child) { justify-content: flex-start; }

.party-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; max-width: 640px; }
.party-btn {
  aspect-ratio: 1;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: transparent; cursor: pointer;
  font-family: var(--serif); font-size: clamp(32px, 3.4vw, 44px); line-height: 1;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.party-btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.party-btn[aria-checked='true'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.calendar { max-width: 560px; }
.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.calendar-month { margin: 0; font-family: var(--serif); font-size: 30px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-wd { text-align: center; font-size: 11px; font-weight: 560; letter-spacing: .12em; color: var(--muted); padding-bottom: 10px; }
.cal-day {
  position: relative;
  aspect-ratio: 1; min-height: 40px;
  border: 0; border-radius: var(--radius);
  background: transparent; cursor: pointer;
  font-size: 16px; font-variant-numeric: tabular-nums;
  transition: background .25s, color .25s;
}
.cal-day:hover:not(:disabled) { background: var(--paper-2); }
.cal-day[data-status='few']::after { content: ''; position: absolute; left: 50%; bottom: 16%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.cal-day[data-status='full'] { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.cal-day:disabled { color: var(--muted); opacity: .38; cursor: default; }
.cal-day[aria-pressed='true'] { background: var(--ink); color: var(--paper); opacity: 1; }
.cal-day[aria-pressed='true']::after { background: var(--paper); }
.cal-day.is-today { box-shadow: inset 0 0 0 1px var(--line-strong); }
.cal-day.is-loading { animation: shimmer 1.2s ease-in-out infinite; }
@keyframes shimmer { 50% { opacity: .35; } }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; color: var(--muted); }
.calendar-legend li { display: inline-flex; align-items: center; gap: 8px; }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.lg-open { border: 1px solid var(--ink); }
.lg-few { background: var(--accent); }
.lg-full { border: 1px solid var(--muted); background: linear-gradient(135deg, transparent 45%, var(--muted) 45%, var(--muted) 55%, transparent 55%); }
.lg-closed { background: var(--line-strong); }

.services { display: grid; gap: 36px; }
.service { border-top: 1px solid var(--line); padding-top: 18px; }
.service-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.service-name { font-family: var(--serif); font-size: 32px; line-height: 1; }
.service-tag { font-size: 12px; font-weight: 560; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.slots { display: flex; flex-wrap: wrap; gap: 10px; }
.slot {
  min-width: 96px; min-height: 48px; padding: 10px 20px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: transparent; cursor: pointer;
  font-size: 17px; font-variant-numeric: tabular-nums;
  transition: background .25s, color .25s, border-color .25s;
}
.slot:hover:not(:disabled) { border-color: var(--ink); }
.slot:disabled { color: var(--muted); opacity: .45; text-decoration: line-through; cursor: default; }
.slot[aria-checked='true'] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.services-empty { font-family: var(--serif); font-size: 26px; line-height: 1.2; margin: 0 0 18px; }

.waitlist { margin-top: 40px; padding: clamp(20px, 3vw, 36px); border-radius: var(--radius); background: var(--paper-2); }
.waitlist-title { font-family: var(--serif); font-size: 32px; margin-bottom: 8px; }
.waitlist .form { margin-top: 20px; }
.waitlist .form-status { background: var(--paper); }

.menu-choices { display: grid; gap: 12px; }
.menu-choice {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center;
  text-align: left; width: 100%;
  padding: 18px 22px 18px 18px;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: transparent; cursor: pointer;
  transition: border-color .3s, background .3s;
}
.menu-choice:hover { border-color: var(--ink); }
.menu-choice[aria-checked='true'] { border-color: var(--ink); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--ink); }
.menu-choice .plate { width: 76px; }
.menu-choice-name { display: block; font-family: var(--serif); font-size: 32px; line-height: 1; }
.menu-choice-meta { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; }
.menu-choice-price { font-family: var(--serif); font-size: 26px; }
.menu-choice-undecided { grid-template-columns: minmax(0, 1fr); }
.pairing-choice { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0 4px 96px; }

.step-done { text-align: left; }
.done-mark { width: 64px; height: 64px; margin-bottom: 28px; color: var(--ok); }
.done-mark svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.done-mark circle { stroke-dasharray: 176; stroke-dashoffset: 176; animation: draw 1s var(--ease) forwards; }
.done-mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s var(--ease) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 36px 0; border-top: 1px solid var(--line); }
.done-details div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.done-details dt { font-size: 11.5px; font-weight: 520; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.done-details dd { margin: 6px 0 0; font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.done-details .code { letter-spacing: .08em; }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }

.manage { padding-bottom: clamp(72px, 10vw, 140px); max-width: 1000px; margin-left: auto; margin-right: auto; }
.manage-status { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 520; letter-spacing: .12em; text-transform: uppercase; }
.manage-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.manage-status[data-status='cancelled']::before, .manage-status[data-status='no_show']::before { background: var(--danger); }
.manage-status[data-status='pending']::before { background: var(--accent); }
.manage-lookup { max-width: 760px; }
.manage-confirm { display: grid; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--paper-2); margin-bottom: 28px; max-width: 640px; }
.manage-confirm p { margin: 0; }
.btn-danger { --b: var(--danger); }
.btn-danger:hover { --b: var(--ink); color: var(--paper); }
.manage-lookup .section-title { font-size: clamp(32px, 3.6vw, 52px); }

/* ---------- Legales y 404 ---------- */
.legal { max-width: 860px; padding-bottom: clamp(72px, 10vw, 140px); margin-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
.legal section { border-top: 1px solid var(--line); padding: 24px 0 12px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; }
.legal h2 { font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal ul { display: grid; gap: 10px; margin-bottom: 1em; }
.legal li { padding-left: 18px; position: relative; }
.legal li::before { content: ''; position: absolute; left: 0; top: .75em; width: 8px; height: 1px; background: var(--ink); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 520; }
.not-found { min-height: 80vh; padding-top: calc(var(--header-h) + 15vh); }

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 96px); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; font-size: 15px; }
.footer-grid .eyebrow { margin-bottom: 14px; }
.footer-grid address, .footer-grid p { margin: 0 0 14px; color: var(--ink-2); }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-links { display: grid; gap: 6px; }
.footer-name { width: clamp(140px, 16vw, 220px); margin: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); color: var(--ink); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--line); padding: 20px 0 28px; font-size: 13px; color: var(--muted);
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal a { text-decoration: none; }

/* ---------- Aparición al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Plato ---------- */
.plate { width: 100%; height: auto; }
.plate-food { transform-origin: 100px 100px; }

/* ---------- Responsive ---------- */
.hero-facts { display: none; }
@media (min-width: 861px) {
  .hero-inner {
    display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(48px, 8vw, 140px);
    align-items: end; min-height: 0;
  }
  .hero-meta { grid-column: 1 / -1; }
  .hero-logo { margin: 0; width: clamp(220px, 22vw, 320px); }
  .hero-foot { max-width: none; gap: 36px; padding-left: clamp(32px, 5vw, 72px); border-left: 1px solid var(--line); align-self: stretch; align-content: end; }
  .hero-lede { font-size: clamp(26px, 2.6vw, 40px); max-width: 22ch; }
  .hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 8px 56px; margin: 12px 0 0; padding-top: 28px; border-top: 1px solid var(--line); font-size: 15px; }
  .hero-facts dt { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
  .hero-facts dd { margin: 0; line-height: 1.5; }
  .hero-facts a { color: inherit; text-decoration: none; }
  .hero-facts a:hover { text-decoration: underline; }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-card { grid-template-columns: 1fr; }
  .menu-card-plate { max-width: 280px; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .notes-list { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .header-book, .header-actions > .lang-links { display: none; }
  .section-head, .manifesto-body, .chef-intro, .notes-grid { grid-template-columns: 1fr; gap: 14px; }
  .manifesto-text, .manifesto-body .link-arrow, .notes-illustration { grid-column: 1; }
  .menu-cards { grid-template-columns: 1fr; }
  .producers li { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .producer-kind { grid-column: 1 / -1; }
  .visit-grid, .split-grid, .booking, .score, .menu-detail-head { grid-template-columns: 1fr; }
  .menu-detail-head .lead { grid-column: 1; grid-row: auto; }
  .menu-detail-prices .btn { margin-left: 0; }
  .score-stage { display: none; }
  .course { grid-template-columns: minmax(0, 1fr) 64px; align-items: center; }
  .course-plate { display: block; width: 64px; }
  .course.is-active { padding-left: 0; }
  .pillars, .options { grid-template-columns: 1fr; }
  .team li { grid-template-columns: 1fr auto; }
  .team li > .muted { grid-column: 1 / -1; }
  .gift-visual { position: static; max-width: 460px; }
  .booking-summary { position: static; }
  .sentence { font-size: 28px; margin-bottom: 12px; }
  .legal section { grid-template-columns: 1fr; gap: 8px; }
  .legal { margin-left: 0; }
  .hero-foot { max-width: none; }
  .hero-inner { min-height: 0; }
  .hero-plate { width: 46vw; right: var(--gutter); top: calc(var(--header-h) + 16px); }
  .hero-title { max-width: none; }
}

@media (max-width: 560px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .info-grid, .footer-grid { grid-template-columns: 1fr; }
  .visit-cols { grid-template-columns: 1fr; }
  .menu-card { grid-template-columns: 1fr; }
  .menu-card-plate { max-width: 220px; }
  .party-grid { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .party-btn { aspect-ratio: auto; height: 56px; font-size: 24px; }
  .page-head-compact { padding-bottom: 20px; }
  .page-head-compact .page-lead { font-size: 17px; }
  .booking { gap: 20px; }
  .booking-summary { padding-top: 14px; }
  .sentence { font-size: 22px; margin-bottom: 8px; }
  .step-head { margin-bottom: 16px; }
  .step-title { font-size: 34px; }
  .menu-choice { grid-template-columns: minmax(0, 1fr); padding: 14px; gap: 14px; }
  .menu-choice-undecided { grid-template-columns: minmax(0, 1fr); }
  .menu-choice .plate { width: 52px; }
  .menu-choice-price { grid-column: 1; font-size: 22px; }
  .menu-choice-name { font-size: 26px; }
  .pairing-choice { padding-left: 0; }
  .slot { min-width: 84px; flex: 1 0 calc(33% - 10px); }
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero-plate { display: none; }
  .hero-plate { width: 52vw; right: var(--gutter); top: calc(var(--header-h) + 8px); }
  .hero-title { font-size: 22vw; margin-bottom: 28px; }
  .hero-lede { font-size: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .gift-card { aspect-ratio: 1.45; }
  .step-nav { flex-direction: column-reverse; align-items: stretch; }
  .step-nav .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .mobile-nav, .hero-plate, body::after { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Esdeveniments: contacte per correu */
.event-mail { display: grid; gap: 20px; align-content: start; justify-items: start; padding-top: 8px; }
.event-mail-address { font-family: var(--serif); font-size: clamp(24px, 3vw, 40px); line-height: 1.1; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; border-bottom: 1px solid var(--line-strong); padding-bottom: 6px; }
.event-mail-address:hover { border-color: var(--ink); }
.event-mail .muted { max-width: 44ch; margin: 0; }

/* Targeta de garantia */
.card-field { border: 1px solid var(--line-strong); padding: 20px 20px 16px; display: grid; gap: 12px; }
.card-field legend { padding: 0 8px; margin-left: -8px; }
.card-field > .field-hint { margin: 0; max-width: 60ch; }
.card-element { padding: 12px 0; border-bottom: 1px solid var(--line-strong); min-height: 24px; }
.card-element .card-sim { width: 100%; background: transparent; border: 0; color: var(--ink); font: inherit; font-size: 17px; padding: 0; outline: none; }
.card-element .field-hint { margin: 8px 0 0; }

/* Targeta regal al reservar */
.gift-redeem { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 18px; }
.gift-redeem summary { cursor: pointer; font-weight: 500; }
.gift-redeem-form { display: flex; gap: 16px; align-items: end; flex-wrap: wrap; margin-top: 14px; }
.gift-redeem-form .field { flex: 1 1 200px; margin: 0; }
.gift-redeem-form input { text-transform: uppercase; letter-spacing: .08em; }
[data-gift-msg] { margin: 12px 0 0; max-width: 60ch; }
[data-gift-msg].is-ok { color: var(--ink); }
[data-gift-msg].is-error { color: var(--danger); }
.party-btn:disabled { opacity: .3; cursor: not-allowed; }
.menu-choice:disabled { opacity: .35; cursor: not-allowed; }
