/* =============================================================
   La Marea · Cocina marinera — demo
   Arquetipo 01 Editorial Light Cream, reinterpretado: papel, tinta,
   salmonete y azul mar. Mobile-first.
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  --paper: #F3ECE0;
  --paper-2: #EAE0CF;
  --paper-3: #FBF7F0;
  --ink: #1D1A16;
  --ink-2: #433C34;
  --mute: #6B6155;
  --sal: #C8553D;
  --sal-d: #A3402B;
  --sal-l: #F4DCD2;
  --mar: #2B4C5C;
  --mar-d: #1E3844;
  --mar-l: #DDE6E6;
  --line: rgba(29, 26, 22, .13);
  --line-2: rgba(29, 26, 22, .26);

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gut: clamp(18px, 4.6vw, 56px);
  --wrap: 1320px;
  --nav-h: 62px;
  --r: 18px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow: 0 1px 0 rgba(29,26,22,.04), 0 18px 40px -22px rgba(29,26,22,.35);
}

/* 2. Reset & base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  position: relative;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .11 0 0 0 0 .1 0 0 0 0 .08 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; line-height: 1.05; }
ul, ol { padding: 0; }
em { font-style: italic; }
::selection { background: var(--sal); color: #fff; }
:focus-visible { outline: 2.5px solid var(--mar); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* 3. Utilities ------------------------------------------------ */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.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-link { position: fixed; top: -100px; left: 1rem; z-index: 9999; padding: .6rem 1rem; background: var(--ink); color: var(--paper); border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.hide-s { display: none; }
.sec { padding-block: clamp(72px, 11vw, 150px); position: relative; }

/* 4. Typography ----------------------------------------------- */
.sec-n {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sal-d); margin-bottom: 18px; display: flex; gap: 8px; align-items: baseline;
}
.sec-n span { color: var(--mute); }
h2 { font-family: var(--serif); font-size: clamp(2.3rem, 7.4vw, 4.6rem); letter-spacing: -.01em; line-height: 1.02; }
h2 em, h1 em { color: var(--sal); }
.fig-cap { font-family: var(--mono); font-size: .74rem; color: var(--mute); margin-top: 12px; display: flex; gap: 10px; }
.fig-cap span { color: var(--ink); flex: none; }
.eyebrow { font-family: var(--mono); font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }

/* 5. Components ----------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  font-weight: 700; font-size: .97rem; letter-spacing: .005em; line-height: 1.1; text-align: center;
  transition: transform .45s var(--ease-out), background-color .3s, color .3s, box-shadow .45s var(--ease-out), border-color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.btn:hover .ico { transform: translateX(3px); }
.btn small { font-weight: 500; opacity: .8; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-sal { background: var(--sal); color: #fff; box-shadow: 0 10px 24px -14px rgba(200,85,61,.9); }
.btn-sal:hover { background: var(--sal-d); box-shadow: 0 16px 30px -14px rgba(163,64,43,.85); }
.btn-line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-light { border: 1.5px solid rgba(243,236,224,.45); color: var(--paper); }
.btn-ghost-light:hover { background: var(--paper); color: var(--mar-d); border-color: var(--paper); }

.linkbtn {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--mar);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; padding: 4px 0;
}
.linkbtn:hover { color: var(--sal-d); }

.demo-pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600;
  padding: 7px 13px; border-radius: 999px; background: var(--mar-l); color: var(--mar-d); line-height: 1.3;
}
.demo-pill .ico { width: 16px; height: 16px; }

/* Demo bar */
.demo-bar { background: var(--mar-d); color: var(--paper); font-size: .76rem; text-align: center; padding: 7px var(--gut); line-height: 1.35; }
.demo-bar a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(243,236,224,.9); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav { background: rgba(243,236,224,.78); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
}
.nav.is-scrolled { border-color: var(--line); }
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; color: var(--sal); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; transition: transform .8s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-18deg); }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; letter-spacing: -.01em; }
.brand-sub { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-top: 3px; }
.nav-links { display: none; }
.nav-cta { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.burger { width: 42px; height: 42px; border-radius: 50%; display: grid; place-content: center; gap: 6px; border: 1.5px solid var(--line-2); }
.burger span { display: block; width: 18px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease-out); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.9px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.9px) rotate(-45deg); }
.sheet { border-top: 1px solid var(--line); background: var(--paper); }
.sheet-links { display: grid; padding-block: 10px 22px; }
.sheet-links a { font-family: var(--serif); font-size: 1.85rem; padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; }
.sheet-links a span { font-family: var(--mono); font-size: .74rem; color: var(--sal-d); }

/* 6. Sections ------------------------------------------------- */

/* Hero */
.hero { padding-top: clamp(26px, 5vw, 56px); position: relative; }
.hero-grid { display: grid; gap: 28px; grid-template-areas: "copy" "fig" "facts"; }
.hero-copy { grid-area: copy; }
.hero-title { font-family: var(--serif); font-size: clamp(2.65rem, 11.4vw, 5.6rem); line-height: .98; letter-spacing: -.018em; }
.hero-title em { display: inline; }
.hero-sub { font-size: clamp(1.06rem, 2.6vw, 1.26rem); color: var(--ink-2); max-width: 36ch; margin-top: 20px; line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-cta .btn { flex: 1 1 auto; }
.hero-fig { grid-area: fig; position: relative; margin: 0; }
.arch {
  position: relative; overflow: hidden; aspect-ratio: 4 / 4.3; width: 100%;
  border-radius: 999px 999px 22px 22px; background: var(--paper-2);
  box-shadow: 0 30px 60px -38px rgba(29,26,22,.6);
}
.arch img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 40%; margin-top: -6%; }
.stamp { position: absolute; width: 112px; height: 112px; right: -4px; top: -10px; }
.stamp-bg { fill: var(--sal); }
.stamp-txt { font-family: var(--mono); font-size: 14.2px; letter-spacing: 1.2px; fill: var(--paper); }
.stamp-ico { fill: none; stroke: var(--paper); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.stamp text, .stamp .stamp-ico { transform-origin: 100px 100px; }
.stamp { animation: stampSpin 38s linear infinite; }
@keyframes stampSpin { to { transform: rotate(360deg); } }
.hero-fig .fig-cap { justify-content: flex-end; }
.hero-facts { grid-area: facts; list-style: none; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-2); }
.hero-facts li { display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: center; }
.hero-facts .ico { grid-row: span 2; width: 22px; height: 22px; color: var(--sal); }
.hero-facts b { font-weight: 700; font-size: .98rem; line-height: 1.25; }
.hero-facts span { font-size: .86rem; color: var(--mute); line-height: 1.3; }

.tide { width: 100%; height: 34px; margin-top: clamp(30px, 6vw, 70px); }
.tide path { fill: none; stroke: var(--sal); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.reveal-on .tide path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease-soft); }
.reveal-on .tide.is-in path { stroke-dashoffset: 0; }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 60s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3.4vw, 2.1rem); white-space: nowrap; color: var(--ink-2); }
.marquee i { width: 9px; height: 9px; border-radius: 50%; background: var(--sal); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Reveal */
.reveal-on .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal-on .reveal.is-in { opacity: 1; transform: none; }

/* Casa */
.casa-grid { display: grid; gap: 34px; grid-template-areas: "head" "text" "fig" "pilares"; }
.casa-head { grid-area: head; }
.casa-text { grid-area: text; max-width: 60ch; }
.casa-text p + p { margin-top: 16px; }
.lead { font-size: clamp(1.14rem, 2.4vw, 1.34rem); line-height: 1.55; color: var(--ink); }
.dropcap::first-letter { font-family: var(--serif); float: left; font-size: 4.6em; line-height: .78; padding: 8px 12px 0 0; color: var(--sal); }
.casa-text p:not(.lead) { color: var(--ink-2); }
.demo-note { display: flex; gap: 10px; font-size: .9rem; color: var(--mute) !important; border-left: 2px solid var(--sal); padding-left: 12px; }
.demo-note .ico { margin-top: 3px; color: var(--sal-d); }
.casa-fig { grid-area: fig; margin: 0; }
.casa-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); filter: saturate(1.05); }
.pilares { grid-area: pilares; list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.pilares li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; }
.pilar-n { font-family: var(--serif); font-style: italic; color: var(--sal); font-size: 1.4rem; grid-row: span 2; line-height: 1; }
.pilares h3 { font-family: var(--serif); font-size: 1.65rem; margin-bottom: 6px; }
.pilares p { color: var(--ink-2); font-size: .98rem; }

/* ---------- LA CARTA ---------- */
.carta { background: var(--paper-3); border-block: 1px solid var(--line); }
.carta-head { display: grid; gap: 22px; margin-bottom: 34px; }
.carta-intro p:first-child { color: var(--ink-2); max-width: 52ch; }
.aviso {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 16px;
  background: var(--sal-l); color: #6E2B1C; border-radius: 14px; padding: 12px 14px; font-size: .92rem; line-height: 1.45;
}
.aviso .ico { width: 20px; height: 20px; margin-top: 1px; color: var(--sal-d); }
.ask { margin-top: 12px; }
.ask .ico { width: 20px; height: 20px; }

/* Barra de herramientas (sticky en móvil) */
.carta-tools {
  position: sticky; top: var(--nav-h); z-index: 30;
  margin-inline: calc(-1 * var(--gut)); padding: 8px 0 9px;
  background: rgba(251,247,240,.94); border-block: 1px solid var(--line);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .carta-tools { background: rgba(251,247,240,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.carta-nav, .carta-filtros {
  display: flex; gap: 6px; overflow-x: auto; overflow-y: visible; scrollbar-width: none;
  padding-inline: var(--gut); scroll-padding-inline: var(--gut); -webkit-overflow-scrolling: touch;
}
.carta-nav::-webkit-scrollbar, .carta-filtros::-webkit-scrollbar { display: none; }
.carta-nav a {
  flex: none; font-size: .86rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; color: var(--ink-2);
  transition: background-color .3s, color .3s;
}
.carta-nav a.is-active { background: var(--ink); color: var(--paper); }
.carta-filtros { margin-top: 6px; align-items: center; }
.carta-filtros-k { flex: none; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); padding-right: 2px; }
.no-js .carta-filtros, .no-js [data-carta-ctrl] { display: none; }
.fchip {
  flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 13px 0 9px;
  border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--paper-3); font-size: .88rem; font-weight: 600; color: var(--ink);
  transition: background-color .25s, color .25s, border-color .25s, transform .4s var(--ease-out);
}
.fchip .ico { width: 20px; height: 20px; color: var(--mar); stroke-width: 1.6; }
.fchip:hover { border-color: var(--ink); }
.fchip[aria-pressed="true"] { background: var(--mar); border-color: var(--mar); color: var(--paper); }
.fchip[aria-pressed="true"] .ico { color: var(--paper); }
.fchip:active { transform: scale(.96); }

.carta-estado { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; padding: 16px 0 6px; }
.carta-estado-txt { font-size: .92rem; color: var(--ink-2); flex: 1 1 260px; }
.carta-estado-txt b { color: var(--mar-d); }
.carta-estado-ctrl { display: flex; align-items: center; gap: 16px; }
.switch { display: inline-flex; align-items: center; gap: 9px; font-size: .88rem; font-weight: 600; cursor: pointer; position: relative; }
.switch input { position: absolute; opacity: 0; width: 38px; height: 22px; margin: 0; cursor: pointer; }
.switch-ui { width: 38px; height: 22px; border-radius: 99px; background: var(--line-2); position: relative; transition: background-color .3s; flex: none; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease-out); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .switch-ui { background: var(--mar); }
.switch input:checked + .switch-ui::after { transform: translateX(16px); }
.switch input:focus-visible + .switch-ui { outline: 2.5px solid var(--mar); outline-offset: 3px; }

/* Secciones y platos */
.carta-sec { padding-top: 34px; scroll-margin-top: calc(var(--nav-h) + 108px); }
.carta-sec-head { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
.carta-sec-n { font-family: var(--mono); font-size: .8rem; color: var(--sal-d); }
.carta-sec-head h3 { font-family: var(--serif); font-size: clamp(2rem, 6.4vw, 2.8rem); }
.carta-sec-intro { grid-column: 1 / -1; font-style: italic; color: var(--mute); font-size: .95rem; margin: 6px 0 8px; }
.carta-sec-count { grid-column: 1 / -1; font-family: var(--mono); font-size: .74rem; color: var(--mar); margin-bottom: 8px; }

.dishes { display: grid; }
.dish {
  display: grid; grid-template-columns: 1fr; gap: 14px; padding: 20px 0;
  border-bottom: 1px dashed var(--line-2); position: relative;
  transition: opacity .35s;
}
.dish.has-foto { grid-template-columns: 76px 1fr; }
.dish-foto { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--paper-3), 0 0 0 5px var(--line-2); margin-top: 4px; }
.dish-top { display: flex; align-items: baseline; gap: 10px; }
.dish-name { font-family: var(--serif); font-size: 1.36rem; line-height: 1.12; letter-spacing: -.003em; flex: 0 1 auto; }
.dish.is-casa .dish-name::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sal); margin-left: 8px; vertical-align: .32em; }
.dish-lead { flex: 1 1 14px; min-width: 14px; border-bottom: 2px dotted var(--line-2); transform: translateY(-6px); }
.dish-price { font-family: var(--mono); font-weight: 500; font-size: 1rem; white-space: nowrap; text-align: right; line-height: 1.1; }
.dish-price small { display: block; font-size: .66rem; color: var(--mute); font-weight: 400; margin-top: 2px; }
.dish-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink-2); line-height: 1.3; }
.tag .ico { width: 12px; height: 12px; }
.tag-de-la-casa { background: var(--sal); border-color: var(--sal); color: #fff; }
.tag-vegetariano { color: #3C5A36; border-color: rgba(60,90,54,.45); }
.tag-picante { color: var(--sal-d); border-color: rgba(163,64,43,.45); }
.dish-desc { color: var(--ink-2); font-size: .98rem; margin-top: 7px; line-height: 1.5; }
.dish-ing { font-family: var(--mono); font-size: .74rem; color: var(--mute); margin-top: 6px; line-height: 1.5; }
.dish-k { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sal-d); margin-right: 4px; }
.dish-alg { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.alg {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; line-height: 1;
  padding: 3px 10px 3px 3px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  transition: background-color .25s, color .25s, border-color .25s;
}
.alg .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--mar); color: var(--paper); stroke-width: 1.9; }
.alg.is-hit { background: var(--sal-l); border-color: var(--sal); color: #6E2B1C; }
.alg.is-hit .ico { background: var(--sal); }
.dish-alg-none { display: inline-flex; gap: 6px; align-items: center; font-size: .8rem; color: var(--mar); font-weight: 600; margin-top: 11px; }
.dish-alg-none .ico { width: 17px; height: 17px; }
.dish-aviso { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .82rem; font-weight: 700; padding: 5px 11px; border-radius: 10px; line-height: 1.3; }
.dish-aviso .ico { width: 16px; height: 16px; }
.dish-aviso.is-bad { background: var(--sal-l); color: #6E2B1C; }
.dish-aviso.is-good { background: var(--mar-l); color: var(--mar-d); }
.dish.is-out .dish-foto, .dish.is-out .dish-top, .dish.is-out .dish-desc, .dish.is-out .dish-ing, .dish.is-out .dish-tags, .dish.is-out .alg:not(.is-hit) { opacity: .42; }
.dish.is-out .dish-foto { filter: grayscale(1); }
.dish.is-out .dish-name { text-decoration: line-through; text-decoration-color: rgba(163,64,43,.55); text-decoration-thickness: 1.5px; }
.carta-body.is-hide .dish.is-out { display: none; }
.carta-sec-empty { font-style: italic; color: var(--mute); padding: 18px 0; }
.carta-body.is-hide .carta-sec.is-empty .dishes { display: none; }
.dish.is-flash { animation: flash 1.2s var(--ease-soft); }
@keyframes flash { 0% { background: rgba(43,76,92,.12); } 100% { background: transparent; } }

/* Leyenda */
.leyenda { margin-top: 40px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; }
.leyenda summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 700; }
.leyenda summary::-webkit-details-marker { display: none; }
.leyenda-plus { width: 20px; height: 20px; transition: transform .4s var(--ease-out); }
.leyenda[open] .leyenda-plus { transform: rotate(45deg); }
.leyenda-list { list-style: none; display: grid; gap: 2px; padding: 0 18px 18px; }
.leyenda-list li { display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.leyenda-list .ico { grid-row: span 2; width: 28px; height: 28px; padding: 4px; border-radius: 50%; background: var(--mar); color: var(--paper); }
.leyenda-list b { font-size: .92rem; }
.leyenda-list span { font-size: .82rem; color: var(--mute); }

/* ---------- ARROCES ---------- */
.arroces { background: var(--mar); color: var(--paper); overflow: clip; }
.arroces .sec-n { color: #F1B9A6; }
.arroces .sec-n span { color: rgba(243,236,224,.6); }
.arroces h2 em { color: #F1B9A6; }
.arroces-grid { display: grid; gap: 40px; align-items: center; }
.arroces-fig { margin: 0; position: relative; }
.plato { position: relative; width: min(100%, 560px); margin-inline: auto; aspect-ratio: 1; }
.plato::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1.5px dashed rgba(243,236,224,.35); }
.plato img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.arroces-fig .fig-cap { color: rgba(243,236,224,.65); justify-content: center; margin-top: 26px; }
.arroces-fig .fig-cap span { color: var(--paper); }
.arroces-lede { color: rgba(243,236,224,.85); margin-top: 18px; max-width: 52ch; }
.arroces-list { list-style: none; margin-top: 28px; border-top: 1px solid rgba(243,236,224,.25); }
.arroz { padding: 18px 0; border-bottom: 1px solid rgba(243,236,224,.18); }
.arroz-top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.arroz h3 { font-family: var(--serif); font-size: 1.55rem; line-height: 1.12; }
.arroz-casa { display: inline-block; vertical-align: middle; font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; background: var(--sal); color: #fff; padding: 3px 8px; border-radius: 99px; margin-left: 6px; position: relative; top: -3px; }
.arroz-precio { font-family: var(--mono); white-space: nowrap; text-align: right; line-height: 1.1; }
.arroz-precio small { display: block; font-size: .66rem; color: rgba(243,236,224,.65); }
.arroz-desc { color: rgba(243,236,224,.82); font-size: .97rem; margin-top: 6px; }
.arroz-alg { font-family: var(--mono); font-size: .72rem; color: rgba(243,236,224,.7); margin-top: 6px; }
.arroz-alg span { color: #F1B9A6; text-transform: uppercase; letter-spacing: .06em; }
.arroces-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.arroces-cta .btn { flex: 1 1 auto; }

/* ---------- RESERVAS ---------- */
.reservas-grid { display: grid; gap: 40px; }
.reservas-copy > div > p { color: var(--ink-2); margin-top: 18px; max-width: 48ch; }
.checks { list-style: none; margin-top: 20px; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .98rem; }
.checks .ico { width: 20px; height: 20px; color: var(--sal); margin-top: 3px; stroke-width: 2.2; }
.reservas-fig { margin: 30px 0 0; display: none; }
.reservas-fig img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 999px 999px var(--r) var(--r); }
.reserva-card { background: #FFFCF7; border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 4vw, 34px); box-shadow: var(--shadow); align-self: start; }
.reserva-card .demo-pill { margin-bottom: 18px; }
.reserva-form { display: grid; gap: 16px; }
.f-2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
.field { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; }
.field label, .field legend { font-weight: 700; font-size: .9rem; }
.field label small { font-weight: 400; color: var(--mute); }
.field input[type="text"], .field input[type="tel"], .field input[type="date"], .field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff;
  font-size: 1rem; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field input[type="date"] { min-width: 0; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231D1A16' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 92px; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mar); box-shadow: 0 0 0 3px rgba(43,76,92,.18); }
.field [aria-invalid="true"] { border-color: var(--sal) !important; background: #FFF6F3; }
.f-err { color: var(--sal-d); font-size: .84rem; font-weight: 600; }
.f-hint { color: var(--mar-d); font-size: .84rem; }
.stepper { display: grid; grid-template-columns: 50px 1fr 50px; border: 1.5px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #fff; }
.stepper button { font-size: 1.4rem; line-height: 1; color: var(--mar); min-height: 47px; }
.stepper button:hover { background: var(--mar-l); }
.field .stepper input { border: 0; border-radius: 0; text-align: center; font-family: var(--mono); font-size: 1.1rem; min-height: 47px; -moz-appearance: textfield; }
.field .stepper input:focus { box-shadow: inset 0 0 0 2px var(--mar); }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.radios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.radios label { position: relative; }
.radios input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.radios span { display: grid; place-items: center; min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line-2); font-weight: 600; font-size: .9rem; background: #fff; transition: all .2s; text-align: center; padding: 0 4px; }
.radios input:checked + span { background: var(--mar); color: var(--paper); border-color: var(--mar); }
.radios input:focus-visible + span { outline: 2.5px solid var(--mar); outline-offset: 2px; }
.r-filtros { font-size: .86rem; justify-self: start; text-align: left; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: .9rem !important; line-height: 1.45; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--mar); margin-top: 1px; flex: none; }
.check small { color: var(--mute); }
.reserva-ok { text-align: left; outline: none; }
.ok-mark { width: 60px; height: 60px; border-radius: 50%; background: var(--mar); color: var(--paper); display: grid; place-items: center; margin-bottom: 16px; }
.ok-mark .ico { width: 30px; height: 30px; stroke-width: 2.4; }
.reserva-ok h3 { font-family: var(--serif); font-size: 2rem; }
.ok-resumen { list-style: none; margin: 18px 0; border-top: 1px solid var(--line); }
.ok-resumen li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.ok-resumen li span:first-child { color: var(--mute); }
.ok-resumen li span:last-child { font-weight: 700; text-align: right; }
.ok-demo { background: var(--sal-l); color: #6E2B1C; padding: 12px 14px; border-radius: 12px; font-size: .92rem; margin-bottom: 16px; }

/* ---------- HORARIO Y CÓMO LLEGAR ---------- */
.llegar { background: var(--paper-2); }
.llegar-grid { display: grid; gap: 40px; }
.estado { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 6px; padding: 8px 14px; border-radius: 999px; background: var(--paper-3); font-weight: 700; font-size: .92rem; border: 1px solid var(--line); }
.estado-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sal); position: relative; }
.estado.is-open .estado-dot { background: #3E7A55; }
.estado.is-open .estado-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #3E7A55; opacity: 0; animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.4); opacity: 0; } }
.horario { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: .98rem; }
.horario th, .horario td { padding: 11px 0; border-bottom: 1px dotted var(--line-2); text-align: left; vertical-align: baseline; }
.horario th { font-weight: 600; width: 38%; }
.horario td { font-family: var(--mono); font-size: .88rem; text-align: right; }
.horario tr.is-hoy th, .horario tr.is-hoy td { color: var(--mar-d); font-weight: 700; }
.horario tr.is-hoy th::after { content: "hoy"; font-family: var(--mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; background: var(--mar); color: var(--paper); padding: 2px 7px; border-radius: 99px; margin-left: 8px; vertical-align: 2px; font-weight: 500; }
.dir { font-style: normal; display: flex; gap: 12px; margin-top: 24px; font-size: .96rem; line-height: 1.55; }
.dir .ico { width: 24px; height: 24px; color: var(--sal); margin-top: 2px; }
.dir a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.dir small { color: var(--mute); }
.mapa { margin: 0; }
.mapa svg { width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper-2); }
.m-lbl { font-family: var(--mono); font-size: 17px; fill: var(--ink-2); letter-spacing: .5px; }
.m-mar { font-family: var(--serif); font-style: italic; font-size: 34px; fill: var(--paper); opacity: .92; }
.m-dir { font-family: var(--mono); font-size: 17px; fill: var(--paper); opacity: .85; }
.m-bus { font-family: var(--mono); font-size: 12px; font-weight: 500; fill: var(--ink); }
.m-name { font-family: var(--serif); font-size: 22px; fill: var(--paper); }
.m-sub { font-family: var(--mono); font-size: 13px; fill: rgba(243,236,224,.8); }
.m-nn { font-family: var(--mono); font-size: 0; }
.m-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.rutas { list-style: none; margin-top: 20px; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.rutas li { display: grid; grid-template-columns: 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); gap: 2px; }
.rutas b { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sal-d); font-weight: 500; }
.rutas span { font-size: .95rem; color: var(--ink-2); }
.saber-wrap { margin-top: clamp(56px, 8vw, 96px); }
.saber-t { font-family: var(--serif); font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: 22px; }
.saber { display: grid; gap: 12px; }
.saber-it { background: var(--paper-3); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.saber dt { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sal-d); margin-bottom: 6px; }
.saber dd { margin: 0; font-size: .95rem; color: var(--ink-2); line-height: 1.5; }

/* ---------- OPINIONES ---------- */
.op-head { display: grid; gap: 18px; margin-bottom: 38px; }
.op-head .demo-pill { justify-self: start; }
.quotes { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.quote { margin: 0; padding: 26px 0; border-bottom: 1px solid var(--line); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--serif); font-size: clamp(1.4rem, 4.4vw, 1.85rem); line-height: 1.22; }
.quote blockquote p::before { content: "«"; color: var(--sal); }
.quote blockquote p::after { content: "»"; color: var(--sal); }
.quote figcaption { margin-top: 14px; font-weight: 700; font-size: .92rem; }
.quote figcaption span { font-weight: 400; color: var(--mute); }

/* ---------- PIE ---------- */
.foot { background: var(--ink); color: var(--paper); padding-bottom: 110px; }
.foot a:hover { color: #F1B9A6; }
.foot-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding-block: clamp(60px, 9vw, 110px); border-bottom: 1px solid rgba(243,236,224,.14); }
.foot .foot-big { font-family: var(--serif); font-size: clamp(3rem, 12vw, 7.4rem); line-height: .95; letter-spacing: -.02em; color: var(--paper); }
.foot-big em { color: var(--sal); }
.foot-grid { display: grid; gap: 28px; padding-block: 44px; grid-template-columns: 1fr; }
.foot p { color: rgba(243,236,224,.78); font-size: .95rem; }
.foot p + p { margin-top: 8px; }
.brand-light .brand-mark { color: #F1B9A6; }
.brand-light .brand-sub { color: rgba(243,236,224,.6); }
.foot-brand p { margin-top: 12px; max-width: 30ch; }
.foot-t { font-family: var(--mono); font-size: .72rem !important; text-transform: uppercase; letter-spacing: .1em; color: #F1B9A6 !important; margin-bottom: 10px; }
.foot-links { list-style: none; display: grid; gap: 6px; font-size: .95rem; }
.foot-links a, .foot p a { text-decoration: underline; text-decoration-color: rgba(243,236,224,.35); text-underline-offset: 3px; }
.foot-legal { border-top: 1px solid rgba(243,236,224,.14); padding-top: 22px; display: grid; gap: 6px; }
.foot-legal p { font-size: .82rem; color: rgba(243,236,224,.62); margin: 0 !important; }
.foot-legal b { color: var(--paper); font-weight: 700; }

/* ---------- ASISTENTE ---------- */
.chat-launch {
  position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 80;
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-weight: 700; font-size: .93rem;
  box-shadow: 0 0 0 1px rgba(243,236,224,.22), 0 16px 34px -14px rgba(29,26,22,.7);
  transition: transform .5s var(--ease-out), opacity .3s;
}
.chat-launch:hover { transform: translateY(-3px); }
.chat-launch.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }
.chat-launch-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--sal); display: grid; place-items: center; }
.chat-launch-ico .ico { width: 21px; height: 21px; }
.chat {
  position: fixed; z-index: 90; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom));
  height: min(82svh, 640px); display: flex; flex-direction: column;
  background: var(--paper-3); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(29,26,22,.65);
  animation: chatIn .5s var(--ease-out);
}
@keyframes chatIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; background: var(--mar); color: var(--paper); }
.chat-av { width: 38px; height: 38px; border-radius: 50%; background: var(--paper); color: var(--sal); display: grid; place-items: center; flex: none; }
.chat-av .ico { width: 26px; height: 26px; stroke-width: 1.4; }
.chat-id { display: flex; flex-direction: column; line-height: 1.2; margin-right: auto; }
.chat-id b { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.chat-id small { font-size: .76rem; opacity: .85; display: flex; align-items: center; gap: 6px; }
.chat-id small i { width: 7px; height: 7px; border-radius: 50%; background: #8FD19E; }
.chat-x { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--paper); }
.chat-x:hover { background: rgba(243,236,224,.14); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.cmsg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: .94rem; line-height: 1.5; overflow-wrap: anywhere; }
.cmsg-bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; align-self: flex-start; }
.cmsg-user { background: var(--mar); color: var(--paper); border-bottom-right-radius: 5px; align-self: flex-end; }
.cmsg a { color: var(--sal-d); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.cmsg ul { padding-left: 18px; margin: 4px 0; }
.cmsg li + li { margin-top: 3px; }
.cmsg-note { display: block; margin-top: 6px; font-size: .76rem; color: var(--mute); }
.cmsg.is-pop { animation: pop .45s var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.msg-typing { display: inline-flex; gap: 4px; }
.msg-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); animation: typing 1.1s infinite; }
.msg-typing i:nth-child(2) { animation-delay: .15s; }
.msg-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.cmsg-cta { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; }
.cmsg-cta .btn { min-height: 38px; padding: 0 14px; font-size: .86rem; }
.chat-sugs { display: flex; gap: 6px; overflow-x: auto; padding: 0 14px 10px; scrollbar-width: none; }
.chat-sugs::-webkit-scrollbar { display: none; }
.chat-sugs button { flex: none; font-size: .84rem; font-weight: 600; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; }
.chat-sugs button:hover { border-color: var(--mar); color: var(--mar); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-form input { flex: 1; min-width: 0; min-height: 46px; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 0 16px; background: var(--paper-3); font-size: 1rem; }
.chat-form input:focus { outline: none; border-color: var(--mar); }
.chat-form button { width: 46px; height: 46px; border-radius: 50%; background: var(--sal); color: #fff; display: grid; place-items: center; flex: none; }
.chat-form button:disabled { opacity: .5; }
.chat-legal { font-size: .7rem; color: var(--mute); padding: 0 14px 10px; background: #fff; line-height: 1.35; }

/* Créditos */
.page-creditos main { padding-block: 60px 100px; }
.page-creditos h1 { font-family: var(--serif); font-size: clamp(2.4rem, 7vw, 4rem); margin-bottom: 18px; }
.cred-list { list-style: none; display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line-2); }
.cred-list li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cred-list img { width: 90px; height: 68px; object-fit: cover; border-radius: 10px; }
.cred-list a { text-decoration: underline; text-underline-offset: 3px; }
.cred-list small { color: var(--mute); display: block; }

/* 8. Responsive ------------------------------------------------ */
@media (min-width: 540px) {
  .hide-s { display: inline; }
  .hero-cta .btn { flex: 0 0 auto; }
  .f-2 { grid-template-columns: 1fr 1fr; }
  .saber { grid-template-columns: 1fr 1fr; }
  .stamp { width: 134px; height: 134px; right: 2%; }
  .arroces-cta .btn { flex: 0 0 auto; }
}

@media (min-width: 720px) {
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
  .hero-facts li { border-bottom: 0; padding-right: 12px; }
  .hero-facts li + li { border-left: 1px solid var(--line); padding-left: 16px; }
  .arch { aspect-ratio: 16 / 12; }
  .casa-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "head head" "text fig" "pilares pilares"; column-gap: 48px; }
  .pilares { grid-template-columns: repeat(3, 1fr); column-gap: 32px; border-top: 0; }
  .pilares li { border-top: 1px solid var(--line-2); border-bottom: 0; grid-template-columns: 1fr; }
  .pilar-n { grid-row: auto; margin-bottom: 8px; }
  .quotes { grid-template-columns: repeat(3, 1fr); column-gap: 32px; border-top: 0; }
  .quote { border-top: 1px solid var(--line-2); border-bottom: 0; }
  .op-head { grid-template-columns: 1fr auto; align-items: end; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .rutas li { grid-template-columns: 130px 1fr; align-items: baseline; }
  .chat { left: auto; right: 18px; bottom: 18px; width: 400px; height: min(78vh, 660px); }
  .chat-launch { right: 22px; bottom: 22px; }
}

@media (min-width: 960px) {
  :root { --nav-h: 72px; }
  .nav-links { display: flex; gap: 4px; margin-right: 18px; }
  .nav-links a { font-weight: 600; font-size: .96rem; padding: 8px 14px; border-radius: 99px; position: relative; }
  .nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1.5px; background: var(--sal); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
  .nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
  .burger, .sheet { display: none !important; }
  .nav-cta { min-height: 44px; padding: 0 20px; }

  .hero-grid { grid-template-columns: 1.08fr .92fr; grid-template-areas: "copy fig" "facts fig"; column-gap: clamp(40px, 5vw, 90px); row-gap: 40px; align-items: end; }
  .hero-copy { align-self: center; padding-top: 20px; }
  .hero-title { font-size: clamp(3.8rem, 6.2vw, 6rem); }
  .arch { aspect-ratio: 4 / 5; max-width: 520px; margin-left: auto; }
  .stamp { width: 150px; height: 150px; left: -56px; right: auto; top: 12%; }
  .hero-fig .fig-cap { max-width: 520px; margin-left: auto; }

  .casa-grid { grid-template-columns: 1.1fr .9fr; grid-template-areas: "head fig" "text fig" "pilares pilares"; row-gap: 30px; column-gap: 80px; }
  .casa-fig img { aspect-ratio: 4 / 5; border-radius: var(--r) var(--r) 999px 999px; }
  .casa-head h2 { max-width: 13ch; }

  .carta-head { grid-template-columns: 1fr 1fr; align-items: end; column-gap: 80px; margin-bottom: 56px; }
  .carta-wrap { display: grid; grid-template-columns: 270px 1fr; column-gap: 64px; grid-template-areas: "tools estado" "tools body" "tools leyenda"; }
  .carta-tools { grid-area: tools; position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; margin: 0; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; scrollbar-width: thin; }
  .carta-nav { flex-direction: column; gap: 0; padding: 0; overflow: visible; border-top: 2px solid var(--ink); }
  .carta-nav a { border-radius: 0; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .98rem; display: flex; justify-content: space-between; align-items: center; }
  .carta-nav a::after { content: "→"; opacity: 0; transform: translateX(-6px); transition: all .35s var(--ease-out); color: var(--sal); }
  .carta-nav a:hover::after, .carta-nav a.is-active::after { opacity: 1; transform: none; }
  .carta-nav a.is-active { background: none; color: var(--sal-d); }
  .carta-filtros { flex-wrap: wrap; overflow: visible; padding: 0; margin-top: 26px; gap: 7px; }
  .carta-filtros-k { width: 100%; margin-bottom: 4px; }
  .carta-estado { grid-area: estado; padding-top: 0; }
  .carta-body { grid-area: body; }
  .carta-sec { scroll-margin-top: calc(var(--nav-h) + 24px); }
  .carta-sec:first-child { padding-top: 10px; }
  .leyenda { grid-area: leyenda; }
  .leyenda-list { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .dish.has-foto { grid-template-columns: 96px 1fr; gap: 20px; }
  .dish-foto { width: 96px; height: 96px; }

  .arroces-grid { grid-template-columns: .95fr 1.05fr; column-gap: 90px; }

  .reservas-grid { grid-template-columns: .9fr 1.1fr; column-gap: 80px; align-items: start; }
  .reservas-fig { display: block; max-width: 420px; }
  .reserva-card { position: sticky; top: calc(var(--nav-h) + 20px); }

  .llegar-grid { grid-template-columns: .85fr 1.15fr; column-gap: 80px; align-items: start; }
  .saber { grid-template-columns: repeat(4, 1fr); }
  .quote-mid blockquote p { font-size: 2.15rem; }
  .foot { padding-bottom: 40px; }
}

@media (min-width: 1280px) {
  .dishes { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .carta-wrap { grid-template-columns: 290px 1fr; column-gap: 80px; }
}

/* 9. Reduced motion (solo lo intrusivo) ----------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stamp, .m-pulse, .estado-dot::after { animation: none !important; }
  .marquee-track { animation-duration: 140s; }
}

/* Reservas reales (módulo de reservas) */
.ok-links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1rem 0 1.2rem; }
.ok-links .linkbtn { font-size: .92rem; }
.reserva-form select option:disabled { color: #9a9087; }
