/* ==========================================================================
   El Canó Resto Bar — L'Ametlla de Mar
   Sistema de diseño
   ========================================================================== */

/* ---------- Tipografías autoalojadas (funciona sin conexión) ---------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/fraunces-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/fraunces-normal-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'InterVar';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'InterVar';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/inter-normal-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Paleta: marina profunda + arena + latón del cañón */
  --ink:        #08192a;
  --sea-900:    #0b2438;
  --sea-800:    #10314a;
  --sea-700:    #164460;
  --sea-500:    #2d6d8c;
  --sea-glass:  #7fb0ac;

  --foam:       #fbf7ef;
  --sand:       #f1e7d6;
  --sand-deep:  #e2d3bb;
  --line:       #ddcfb7;

  --brass:      #b0802f;
  --brass-soft: #d7a859;
  --coral:      #bb4b32;

  --text:       #1b2a36;
  --text-soft:  #4d6273;
  --on-dark:    #f4ece0;
  --on-dark-soft: rgba(244, 236, 224, .72);

  /* Tipografía */
  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, 'Times New Roman', serif;
  --font-body: 'InterVar', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(.82rem, .79rem + .14vw, .9rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.09rem);
  --step-1:  clamp(1.2rem, 1.12rem + .38vw, 1.45rem);
  --step-2:  clamp(1.45rem, 1.3rem + .72vw, 1.95rem);
  --step-3:  clamp(1.8rem, 1.5rem + 1.4vw, 2.75rem);
  --step-4:  clamp(2.2rem, 1.6rem + 2.8vw, 4rem);
  --step-5:  clamp(2.7rem, 1.7rem + 4.6vw, 5.6rem);

  /* Espaciado y formas */
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --wrap: 1220px;
  --wrap-narrow: 820px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(8, 25, 42, .06), 0 4px 12px rgba(8, 25, 42, .06);
  --shadow-md: 0 2px 6px rgba(8, 25, 42, .07), 0 14px 34px rgba(8, 25, 42, .10);
  --shadow-lg: 0 8px 20px rgba(8, 25, 42, .10), 0 30px 70px rgba(8, 25, 42, .18);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--foam);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
  font-variation-settings: 'SOFT' 20, 'WONK' 1;
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection { background: var(--brass); color: #fff; }

/* ---------- Utilidades ---------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - var(--gutter) * 2, var(--wrap-narrow)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 200;
  background: var(--sea-900); color: var(--on-dark);
  padding: .7rem 1.1rem; border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

section { scroll-margin-top: 96px; }

/* Textura de papel muy sutil en los bloques claros */
.grain::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}

/* ---------- Encabezados de sección ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body);
  font-size: var(--step--1); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6;
}
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head h2 { font-size: var(--step-3); margin-top: .8rem; }
.section-head p { margin-top: 1rem; color: var(--text-soft); font-size: var(--step-1); line-height: 1.55; }
.section-pad { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.6rem; border: 1px solid transparent; border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--step-0); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn-primary { background: var(--brass); color: #fff; box-shadow: 0 6px 18px rgba(176, 128, 47, .3); }
.btn-primary:hover { background: #9c6f26; box-shadow: 0 10px 26px rgba(176, 128, 47, .38); }

.btn-dark { background: var(--sea-900); color: var(--on-dark); }
.btn-dark:hover { background: var(--sea-800); }

.btn-ghost { border-color: rgba(8, 25, 42, .22); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--sea-900); background: rgba(8, 25, 42, .04); }

.btn-ghost-light { border-color: rgba(244, 236, 224, .4); color: var(--on-dark); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { border-color: var(--on-dark); background: rgba(255, 255, 255, .14); }

.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #188945; }

.btn-sm { padding: .58rem 1.05rem; font-size: var(--step--1); }
.btn-lg { padding: 1.05rem 2rem; font-size: var(--step-1); }
.btn-block { width: 100%; }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .bar {
  display: flex; align-items: center; gap: 1.2rem;
  padding-block: .85rem;
}
.site-header.is-solid {
  background: rgba(251, 247, 239, .92);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 30px rgba(8, 25, 42, .07);
}

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--on-dark); }
.site-header.is-solid .brand { color: var(--sea-900); }
.brand .mark { width: 46px; height: 30px; flex: none; }
.brand .word { display: grid; line-height: 1; }
.brand .word b {
  font-family: var(--font-display); font-weight: 600; font-size: 1.28rem;
  letter-spacing: .05em; text-transform: uppercase;
}
.brand .word span {
  font-size: .56rem; letter-spacing: .3em; text-transform: uppercase;
  opacity: .72; margin-top: .3rem; font-weight: 500;
}

.nav { display: flex; align-items: center; gap: .3rem; margin-left: auto; }
.nav a {
  padding: .5rem .8rem; border-radius: var(--r-pill); text-decoration: none;
  font-size: var(--step--1); font-weight: 500; color: var(--on-dark-soft);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav a:hover, .nav a[aria-current='page'] { color: var(--on-dark); background: rgba(255, 255, 255, .1); }
.site-header.is-solid .nav a { color: var(--text-soft); }
.site-header.is-solid .nav a:hover,
.site-header.is-solid .nav a[aria-current='page'] { color: var(--sea-900); background: rgba(8, 25, 42, .05); }

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

/* Selector de idioma */
.lang { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(244, 236, 224, .3);
  color: var(--on-dark); border-radius: var(--r-pill);
  padding: .48rem .8rem; font-size: var(--step--1); font-weight: 600; cursor: pointer;
  text-transform: uppercase; letter-spacing: .08em;
}
.site-header.is-solid .lang-toggle { background: rgba(8, 25, 42, .04); border-color: rgba(8, 25, 42, .16); color: var(--sea-900); }
.lang-toggle svg { width: .7em; height: .7em; transition: transform .2s var(--ease); }
.lang[data-open='true'] .lang-toggle svg { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + .5rem); right: 0; min-width: 168px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: .35rem; display: none; z-index: 5;
}
.lang[data-open='true'] .lang-menu { display: block; }
.lang-menu button {
  display: flex; width: 100%; align-items: center; gap: .6rem;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: .55rem .7rem; border-radius: var(--r-sm); font-size: var(--step--1); color: var(--text);
}
.lang-menu button:hover { background: var(--sand); }
.lang-menu button[aria-selected='true'] { font-weight: 700; color: var(--sea-900); }
.lang-menu button[aria-selected='true']::after { content: '✓'; margin-left: auto; color: var(--brass); }

/* Botón hamburguesa */
.burger {
  display: none; width: 44px; height: 44px; border-radius: var(--r-pill);
  border: 1px solid rgba(244, 236, 224, .3); background: rgba(255, 255, 255, .1);
  cursor: pointer; align-items: center; justify-content: center;
}
.site-header.is-solid .burger { border-color: rgba(8, 25, 42, .16); background: rgba(8, 25, 42, .04); }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; position: relative; color: var(--on-dark); transition: background .2s; }
.site-header.is-solid .burger span { color: var(--sea-900); }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
  transition: transform .3s var(--ease), top .2s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* Menú móvil */
.mobile-nav {
  position: fixed; inset: 0; z-index: 85;
  background: var(--sea-900); color: var(--on-dark);
  padding: 6rem var(--gutter) 2rem;
  display: grid; align-content: start; gap: .3rem;
  transform: translateY(-100%); transition: transform .45s var(--ease);
  overflow-y: auto;
}
body.menu-open .mobile-nav { transform: translateY(0); }
.mobile-nav a {
  font-family: var(--font-display); font-size: var(--step-2); text-decoration: none;
  padding: .55rem 0; border-bottom: 1px solid rgba(244, 236, 224, .12);
}
.mobile-nav .mobile-cta { margin-top: 1.6rem; display: grid; gap: .7rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 860px);
  display: grid; align-items: end;
  color: var(--on-dark); overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; animation: slowzoom 26s var(--ease) forwards; }
@keyframes slowzoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 25, 42, .72) 0%, rgba(8, 25, 42, .22) 32%, rgba(8, 25, 42, .55) 68%, rgba(8, 25, 42, .93) 100%),
    linear-gradient(95deg, rgba(8, 25, 42, .55) 0%, rgba(8, 25, 42, 0) 62%);
}
.hero-inner { padding-block: clamp(3rem, 9vh, 6rem) clamp(2.4rem, 6vh, 4rem); }
.hero h1 {
  font-size: var(--step-5); font-weight: 500; letter-spacing: -.03em;
  max-width: 16ch; margin-block: 1.1rem 1.3rem;
}
.hero h1 em { font-style: italic; color: var(--brass-soft); font-variation-settings: 'SOFT' 60, 'WONK' 1; }
.hero .lede { font-size: var(--step-1); max-width: 46ch; color: var(--on-dark-soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 2.4rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(244, 236, 224, .2);
  font-size: var(--step--1); color: var(--on-dark-soft);
}
.hero-facts span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-facts svg { width: 1.05em; height: 1.05em; color: var(--brass-soft); }

.rating-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(244, 236, 224, .28);
  backdrop-filter: blur(10px); border-radius: var(--r-pill);
  padding: .45rem .95rem .45rem .55rem; font-size: var(--step--1); font-weight: 500;
  text-decoration: none;
}
.rating-pill:hover { background: rgba(255, 255, 255, .2); }
.rating-pill b { font-size: 1.05rem; font-weight: 700; }
.stars { display: inline-flex; gap: 1px; color: #f0b429; }
.stars svg { width: .95em; height: .95em; }

.scroll-hint {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--on-dark-soft); display: grid; justify-items: center; gap: .5rem;
}
.scroll-hint::after {
  content: ''; width: 1px; height: 34px;
  background: linear-gradient(var(--brass-soft), transparent);
  animation: hintline 2.4s var(--ease) infinite;
}
@keyframes hintline { 0%, 100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- Franja de confianza ---------- */
.trust {
  background: var(--sea-900); color: var(--on-dark);
  padding-block: clamp(1.6rem, 3vw, 2.4rem);
}
.trust .items {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.4rem 2rem; align-items: start;
}
.trust .item { display: grid; gap: .25rem; }
.trust .item b { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; color: var(--brass-soft); }
.trust .item span { font-size: var(--step--1); color: var(--on-dark-soft); line-height: 1.45; }

/* ---------- Historia / filosofía ---------- */
.story { background: var(--sand); position: relative; overflow: hidden; }
.story-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1.05fr .95fr; } }
.story p + p { margin-top: 1.1rem; }
.story p { color: var(--text-soft); font-size: var(--step-1); line-height: 1.6; }
.story strong { color: var(--sea-900); font-weight: 600; }
.quote {
  margin-top: 2rem; padding: 1.4rem 1.6rem; border-left: 3px solid var(--brass);
  background: rgba(255, 255, 255, .55); border-radius: 0 var(--r-md) var(--r-md) 0;
}
.quote p { font-family: var(--font-display); font-style: italic; font-size: var(--step-2); color: var(--sea-900); line-height: 1.3; }
.quote cite { display: block; margin-top: .6rem; font-style: normal; font-size: var(--step--1); color: var(--text-soft); letter-spacing: .08em; text-transform: uppercase; }

.story-media { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.story-media figure { margin: 0; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-md); }
.story-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.story-media figure:first-child { grid-row: span 2; }
.story-media figure:first-child img { aspect-ratio: 3 / 5; }

.badges { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.8rem; }
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: .42rem .9rem;
  font-size: var(--step--1); font-weight: 500; color: var(--sea-800);
}
.badge svg { width: 1em; height: 1em; color: var(--brass); }

/* ---------- Especialidades ---------- */
.dish-grid {
  display: grid; gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
}
.dish-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--sea-900); color: var(--on-dark);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  min-height: 340px; display: grid; align-items: end;
  text-decoration: none;
}
.dish-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dish-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease); z-index: 0;
}
.dish-card:hover img { transform: scale(1.06); }
.dish-card::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8, 25, 42, 0) 30%, rgba(8, 25, 42, .55) 62%, rgba(8, 25, 42, .95) 100%);
}
.dish-card .body { position: relative; z-index: 2; padding: 1.4rem; display: grid; gap: .4rem; }
.dish-card h3 { font-size: var(--step-1); font-weight: 500; }
.dish-card p { font-size: var(--step--1); color: var(--on-dark-soft); line-height: 1.5; }
.dish-card .price {
  font-family: var(--font-display); font-size: var(--step-1); color: var(--brass-soft); font-weight: 600;
}
.dish-card .tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--coral); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .32rem .7rem; border-radius: var(--r-pill);
}
.dish-card .tag.brass { background: var(--brass); }
.dish-card.is-wide { grid-column: span 2; min-height: 400px; }
@media (max-width: 640px) { .dish-card.is-wide { grid-column: span 1; } }

/* Tarjeta tipográfica: para platos de los que no tenemos foto propia */
.dish-card.no-photo {
  background: linear-gradient(155deg, var(--sea-800) 0%, var(--sea-900) 55%, var(--ink) 100%);
}
.dish-card.no-photo::after {
  background: linear-gradient(180deg, rgba(8, 25, 42, 0) 40%, rgba(8, 25, 42, .7) 100%);
}
.dish-card .watermark {
  position: absolute; z-index: 0; width: 82%; right: -14%; top: 16%;
  color: var(--brass-soft); opacity: .16;
  transition: transform .7s var(--ease);
}
.dish-card:hover .watermark { transform: translateX(-6px) scale(1.04); }
.dish-card.no-photo .body { padding-top: 3rem; }

/* ---------- Menú del día ---------- */
.menudia { background: var(--sea-900); color: var(--on-dark); position: relative; overflow: hidden; }
.menudia::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(70% 90% at 82% 18%, rgba(45, 109, 140, .45), transparent 65%);
}
.menudia .wrap { position: relative; }
.menudia .section-head h2 { color: var(--on-dark); }
.menudia .section-head p { color: var(--on-dark-soft); }
.menudia-card {
  background: rgba(251, 247, 239, .05); border: 1px solid rgba(244, 236, 224, .18);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 3rem);
  backdrop-filter: blur(6px);
}
.menudia-top {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 1rem; padding-bottom: 1.4rem; margin-bottom: 1.8rem;
  border-bottom: 1px dashed rgba(244, 236, 224, .25);
}
.menudia-top h3 { font-size: var(--step-2); font-weight: 500; }
.menudia-price { font-family: var(--font-display); font-size: var(--step-4); color: var(--brass-soft); line-height: 1; font-weight: 600; }
.menudia-cols { display: grid; gap: clamp(1.6rem, 4vw, 3rem); grid-template-columns: 1fr; }
@media (min-width: 760px) { .menudia-cols { grid-template-columns: 1fr 1fr; } }
.menudia-cols h4 {
  font-family: var(--font-body); font-size: var(--step--1); font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--brass-soft);
  margin-bottom: 1.1rem;
}
.menudia-cols ul { list-style: none; padding: 0; display: grid; gap: 1rem; }
.menudia-cols li b { display: block; font-weight: 600; font-size: var(--step-0); }
.menudia-cols li span { font-size: var(--step--1); color: var(--on-dark-soft); }
.menudia-foot {
  margin-top: 2rem; padding-top: 1.4rem; border-top: 1px dashed rgba(244, 236, 224, .25);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  font-size: var(--step--1); color: var(--on-dark-soft);
}

/* ---------- Reseñas ---------- */
.reviews { background: var(--foam); }
.review-summary {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  grid-template-columns: 1fr; margin-bottom: 2.6rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm);
}
@media (min-width: 820px) { .review-summary { grid-template-columns: auto 1fr auto; } }
.score { text-align: center; }
.score b { display: block; font-family: var(--font-display); font-size: var(--step-4); line-height: 1; color: var(--sea-900); }
.score .stars { margin-top: .5rem; font-size: 1.05rem; }
.score small { display: block; margin-top: .45rem; font-size: var(--step--1); color: var(--text-soft); }
.bars { display: grid; gap: .45rem; min-width: 0; }
.bar-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .7rem; font-size: var(--step--1); color: var(--text-soft); }
.bar-track { height: 7px; background: var(--sand-deep); border-radius: var(--r-pill); overflow: hidden; }
.bar-fill { height: 100%; background: var(--brass); border-radius: var(--r-pill); width: 0; transition: width 1.1s var(--ease); }
.review-source { display: grid; gap: .6rem; justify-items: center; }

.review-filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.6rem; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: var(--r-pill);
  padding: .45rem 1rem; font-size: var(--step--1); font-weight: 500; cursor: pointer;
  transition: all .22s var(--ease); color: var(--text-soft); white-space: nowrap;
}
.cat-scroll .chip { flex: none; }
.chip:hover { border-color: var(--sea-700); color: var(--sea-900); }
.chip[aria-pressed='true'] { background: var(--sea-900); border-color: var(--sea-900); color: var(--on-dark); }

.review-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); align-items: start; }
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.3rem; box-shadow: var(--shadow-sm); display: grid; gap: .8rem;
}
.review-card .head { display: flex; align-items: center; gap: .75rem; }
.review-card .avatar {
  width: 40px; height: 40px; border-radius: var(--r-pill); flex: none;
  background: var(--sea-700); color: var(--on-dark);
  display: grid; place-items: center; font-weight: 700; font-size: .95rem;
  font-family: var(--font-display);
}
.review-card .who { display: grid; line-height: 1.25; min-width: 0; }
.review-card .who b { font-size: var(--step-0); font-weight: 600; }
.review-card .who small { color: var(--text-soft); font-size: .78rem; }
.review-card blockquote { font-size: var(--step-0); line-height: 1.6; color: var(--text); }
.review-card .flag {
  margin-left: auto; flex: none;
  font-size: .64rem; font-weight: 700; letter-spacing: .1em;
  color: var(--text-soft); background: var(--sand);
  padding: .22rem .5rem; border-radius: var(--r-pill);
}
.chip .flag-code {
  font-size: .62rem; font-weight: 700; letter-spacing: .1em;
  opacity: .6; margin-right: .1rem;
}
.owner-reply {
  background: var(--sand); border-radius: var(--r-sm); padding: .85rem 1rem;
  font-size: var(--step--1); color: var(--text-soft); line-height: 1.55;
}
.owner-reply b { display: block; color: var(--sea-900); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .3rem; }

.keyword-cloud { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.keyword {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--sand); border-radius: var(--r-pill); padding: .4rem .9rem;
  font-size: var(--step--1); color: var(--sea-800);
}
.keyword b { color: var(--brass); font-weight: 700; }

/* ---------- Galería ---------- */
.gallery { background: var(--sand); }
.gallery-grid { columns: 3 240px; column-gap: 1rem; }
.gallery-grid figure { margin: 0 0 1rem; break-inside: avoid; position: relative; }
.gallery-grid button {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm);
}
.gallery-grid img { width: 100%; transition: transform .6s var(--ease), filter .4s var(--ease); }
.gallery-grid button:hover img { transform: scale(1.05); filter: brightness(1.05); }
.gallery-grid figcaption {
  position: absolute; left: .8rem; bottom: .8rem; z-index: 2;
  background: rgba(8, 25, 42, .72); color: var(--on-dark); backdrop-filter: blur(6px);
  font-size: .75rem; padding: .28rem .7rem; border-radius: var(--r-pill);
  opacity: 0; transform: translateY(6px); transition: all .3s var(--ease); pointer-events: none;
}
.gallery-grid figure:hover figcaption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 120; display: none;
  background: rgba(8, 25, 42, .96); padding: clamp(1rem, 4vw, 3rem);
  place-items: center;
}
.lightbox[open], .lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: var(--on-dark-soft); text-align: center; margin-top: 1rem; font-size: var(--step--1); }
.lightbox .lb-close, .lightbox .lb-nav {
  position: absolute; background: rgba(255, 255, 255, .12); border: 1px solid rgba(244, 236, 224, .3);
  color: var(--on-dark); width: 46px; height: 46px; border-radius: var(--r-pill);
  cursor: pointer; display: grid; place-items: center; z-index: 3;
  backdrop-filter: blur(4px);
}
.lightbox .lb-close { top: 1.2rem; right: 1.2rem; }
.lightbox .lb-nav.prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-nav.next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-nav:hover, .lightbox .lb-close:hover { background: rgba(255, 255, 255, .24); }

/* ---------- Reserva ---------- */
.booking { background: var(--foam); position: relative; }
.booking-shell {
  display: grid; gap: 0; grid-template-columns: 1fr;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: #fff; border: 1px solid var(--line);
}
@media (min-width: 940px) { .booking-shell { grid-template-columns: 1fr 340px; } }

.booking-main { padding: clamp(1.3rem, 3.5vw, 2.6rem); }
.booking-aside {
  background: var(--sea-900); color: var(--on-dark);
  padding: clamp(1.3rem, 3.5vw, 2.2rem); display: grid; align-content: start; gap: 1.2rem;
}
.booking-aside h3 { font-size: var(--step-1); font-weight: 500; }
.summary-list { display: grid; gap: .1rem; }
.summary-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .72rem 0; border-bottom: 1px solid rgba(244, 236, 224, .14);
  font-size: var(--step--1);
}
.summary-row span { color: var(--on-dark-soft); }
.summary-row b { font-weight: 600; text-align: right; }
.summary-row b.empty { color: rgba(244, 236, 224, .35); font-weight: 400; font-style: italic; }
.policy {
  font-size: .8rem; color: var(--on-dark-soft); line-height: 1.55;
  background: rgba(255, 255, 255, .06); border-radius: var(--r-sm); padding: .85rem 1rem;
  border-left: 2px solid var(--brass-soft);
}
.policy b { color: var(--on-dark); }

/* Pasos */
.steps { display: flex; gap: .4rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.step-dot {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .04em;
  color: var(--text-soft); padding: .3rem .7rem .3rem .3rem; border-radius: var(--r-pill);
  background: var(--sand); transition: all .3s var(--ease);
}
.step-dot i {
  width: 22px; height: 22px; border-radius: var(--r-pill); background: #fff; color: var(--text-soft);
  display: grid; place-items: center; font-style: normal; font-size: .72rem; font-weight: 700;
}
.step-dot.is-active { background: var(--sea-900); color: var(--on-dark); }
.step-dot.is-active i { background: var(--brass); color: #fff; }
.step-dot.is-done { background: rgba(176, 128, 47, .14); color: var(--brass); }
.step-dot.is-done i { background: var(--brass); color: #fff; }

.step-panel { display: none; animation: fadeUp .4s var(--ease); }
.step-panel.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.step-panel > h3 { font-size: var(--step-2); font-weight: 500; margin-bottom: .4rem; }
.step-panel > .hint { color: var(--text-soft); font-size: var(--step--1); margin-bottom: 1.4rem; }

.option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .55rem; }
.option {
  border: 1px solid var(--line); background: #fff; border-radius: var(--r-md);
  padding: .9rem .4rem; cursor: pointer; text-align: center;
  font-weight: 600; transition: all .22s var(--ease); line-height: 1.2;
}
.option small { display: block; font-size: .68rem; font-weight: 500; color: var(--text-soft); margin-top: .15rem; }
.option:hover { border-color: var(--sea-700); transform: translateY(-2px); }
.option[aria-pressed='true'] { background: var(--sea-900); border-color: var(--sea-900); color: var(--on-dark); }
.option[aria-pressed='true'] small { color: var(--on-dark-soft); }
.option:disabled { opacity: .35; cursor: not-allowed; transform: none; }

/* Calendario */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-head b { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; text-transform: capitalize; }
.cal-nav { display: flex; gap: .4rem; }
.cal-nav button {
  width: 36px; height: 36px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: #fff; cursor: pointer; display: grid; place-items: center;
}
.cal-nav button:hover:not(:disabled) { border-color: var(--sea-700); }
.cal-nav button:disabled { opacity: .3; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; }
.cal-grid .dow {
  text-align: center; font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-soft); padding-bottom: .4rem;
}
.cal-day {
  aspect-ratio: 1; border: 1px solid transparent; background: var(--sand);
  border-radius: var(--r-sm); cursor: pointer; font-size: .92rem; font-weight: 500;
  display: grid; place-items: center; transition: all .18s var(--ease); position: relative;
}
.cal-day:hover:not(:disabled) { background: var(--sand-deep); }
.cal-day:disabled { background: transparent; color: rgba(77, 98, 115, .35); cursor: not-allowed; text-decoration: line-through; }
.cal-day.is-empty { background: transparent; cursor: default; }
.cal-day[aria-pressed='true'] { background: var(--sea-900); color: var(--on-dark); }
.cal-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: 1rem; font-size: .76rem; color: var(--text-soft); }
.cal-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.cal-legend i { width: 11px; height: 11px; border-radius: 3px; background: var(--sand); display: inline-block; }
.cal-legend i.closed { background: transparent; border: 1px dashed var(--text-soft); }

.slot-group + .slot-group { margin-top: 1.4rem; }
.slot-group h4 {
  font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-soft); margin-bottom: .7rem;
  display: flex; align-items: center; gap: .5rem;
}
.slot-group h4 svg { width: 1.1em; height: 1.1em; color: var(--brass); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: .5rem; }

/* Formulario */
.field-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .field-grid.two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .38rem; }
.field label { font-size: var(--step--1); font-weight: 600; color: var(--sea-900); }
.field label .req { color: var(--coral); }
.field input, .field textarea, .field select {
  border: 1px solid var(--line); background: #fff; border-radius: var(--r-sm);
  padding: .78rem .9rem; font-size: var(--step-0); width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--sea-700); box-shadow: 0 0 0 3px rgba(22, 68, 96, .12);
}
.field textarea { min-height: 92px; resize: vertical; }
.field .err { font-size: .78rem; color: var(--coral); display: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--coral); }
.field.has-error .err { display: block; }
.field-help { font-size: .78rem; color: var(--text-soft); }

.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .84rem; color: var(--text-soft); line-height: 1.5; }
.check input { width: 18px; height: 18px; margin-top: .15rem; flex: none; accent-color: var(--brass); }

.step-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; align-items: center; }
.step-actions .spacer { margin-left: auto; }

.booking-done { text-align: center; padding: 1rem 0; }
.booking-done .tick {
  width: 66px; height: 66px; border-radius: var(--r-pill); margin: 0 auto 1.2rem;
  background: rgba(31, 168, 85, .12); color: #1fa855; display: grid; place-items: center;
}
.booking-done .tick svg { width: 32px; height: 32px; }
.booking-done h3 { font-size: var(--step-2); margin-bottom: .6rem; }
.booking-done p { color: var(--text-soft); max-width: 46ch; margin-inline: auto; }
.recap {
  margin: 1.6rem auto 0; max-width: 460px; text-align: left;
  border: 1px dashed var(--line); border-radius: var(--r-md); padding: 1.1rem 1.3rem;
  background: var(--sand);
}
.recap .summary-row { border-bottom-color: rgba(8, 25, 42, .1); }
.recap .summary-row span { color: var(--text-soft); }
.recap .summary-row b { color: var(--sea-900); }
.send-options { display: grid; gap: .7rem; margin-top: 1.6rem; max-width: 460px; margin-inline: auto; }

/* ---------- Per emportar ---------- */
.takeaway { background: var(--sea-900); color: var(--on-dark); position: relative; overflow: hidden; }
.takeaway::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 15% 85%, rgba(176, 128, 47, .25), transparent 60%);
}
.takeaway .wrap { position: relative; }
.takeaway .section-head h2 { color: var(--on-dark); }
.takeaway .section-head p { color: var(--on-dark-soft); }
.ta-layout { display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .ta-layout { grid-template-columns: 1fr 330px; } }
.ta-list { display: grid; gap: .5rem; }
.ta-item {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 1rem;
  background: rgba(251, 247, 239, .05); border: 1px solid rgba(244, 236, 224, .14);
  border-radius: var(--r-md); padding: .8rem 1rem;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.ta-item:hover { border-color: rgba(244, 236, 224, .3); background: rgba(251, 247, 239, .08); }
.ta-item .nm { display: grid; gap: .1rem; min-width: 0; }
.ta-item .nm b { font-weight: 600; font-size: var(--step-0); text-wrap: balance; }
@media (max-width: 560px) {
  .ta-item {
    grid-template-columns: 1fr auto;
    grid-template-areas: 'nm nm' 'pr qty';
    row-gap: .6rem;
  }
  .ta-item .nm { grid-area: nm; }
  .ta-item .pr { grid-area: pr; align-self: center; }
  .ta-item .qty { grid-area: qty; }
}
.ta-item .nm small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-soft); }
.ta-item .pr { font-family: var(--font-display); font-size: var(--step-1); color: var(--brass-soft); font-weight: 600; }
.qty { display: inline-flex; align-items: center; gap: .2rem; background: rgba(0, 0, 0, .22); border-radius: var(--r-pill); padding: .2rem; }
.qty button {
  width: 30px; height: 30px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  background: transparent; color: var(--on-dark); font-size: 1.1rem; line-height: 1;
  display: grid; place-items: center;
}
.qty button:hover { background: rgba(255, 255, 255, .14); }
.qty output { min-width: 22px; text-align: center; font-weight: 700; font-size: .9rem; }
.ta-cart {
  position: sticky; top: 100px;
  background: var(--foam); color: var(--text); border-radius: var(--r-lg);
  padding: 1.4rem; box-shadow: var(--shadow-lg);
}
.ta-cart h3 { font-size: var(--step-1); font-weight: 500; margin-bottom: 1rem; }
.ta-cart .lines { display: grid; gap: .5rem; max-height: 260px; overflow-y: auto; margin-bottom: 1rem; }
.ta-cart .line { display: flex; justify-content: space-between; gap: .8rem; font-size: var(--step--1); }
.ta-cart .line span { color: var(--text-soft); }
.ta-cart .empty { color: var(--text-soft); font-size: var(--step--1); font-style: italic; }
.ta-cart .total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--line); padding-top: .9rem; margin-bottom: 1rem;
  font-family: var(--font-display); font-size: var(--step-1);
}
.ta-note { font-size: .76rem; color: var(--text-soft); margin-top: .8rem; line-height: 1.5; }

/* ---------- Ubicación ---------- */
.visit { background: var(--sand); }
.visit-grid { display: grid; gap: clamp(1.4rem, 3vw, 2.6rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1.15fr; } }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow-sm);
}
.info-block + .info-block { margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.info-block h3 {
  font-family: var(--font-body); font-size: .76rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brass); margin-bottom: .8rem;
}
.info-block p, .info-block a { font-size: var(--step-0); line-height: 1.6; }
.info-block a { color: var(--sea-800); text-decoration-color: rgba(22, 68, 96, .3); text-underline-offset: 3px; }
.info-block a:hover { color: var(--brass); }
.hours-table { width: 100%; border-collapse: collapse; font-size: var(--step-0); }
.hours-table td { padding: .42rem 0; border-bottom: 1px dashed var(--line); }
.hours-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--text-soft); }
.hours-table tr.today td { color: var(--sea-900); font-weight: 700; }
.hours-table tr.today td:last-child { color: var(--sea-900); }
.hours-table tr.closed td:last-child { color: var(--coral); }
.open-state {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
  font-size: var(--step--1); font-weight: 600; padding: .35rem .85rem;
  border-radius: var(--r-pill); background: var(--sand);
}
.open-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--text-soft); }
.open-state.open { background: rgba(31, 168, 85, .14); color: #16773d; }
.open-state.open i { background: #1fa855; box-shadow: 0 0 0 3px rgba(31, 168, 85, .2); }
.open-state.closed { background: rgba(187, 75, 50, .1); color: var(--coral); }
.open-state.closed i { background: var(--coral); }

.map-wrap {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md);
  background: var(--sea-800); min-height: 340px; position: relative; display: grid;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }
.map-fallback {
  position: absolute; inset: 0; display: grid; place-content: center; gap: .8rem;
  justify-items: center; text-align: center; color: var(--on-dark); padding: 2rem;
  background: linear-gradient(140deg, var(--sea-800), var(--sea-900));
}

/* ---------- Carta (página) ---------- */
.page-hero {
  position: relative; padding-block: clamp(7rem, 16vh, 11rem) clamp(2.5rem, 6vw, 4rem);
  background: var(--sea-900); color: var(--on-dark); overflow: hidden; isolation: isolate;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .42; }
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 25, 42, .85), rgba(8, 25, 42, .6) 45%, rgba(8, 25, 42, .95));
}
.page-hero h1 { font-size: var(--step-4); font-weight: 500; margin-block: .8rem .9rem; }
.page-hero p { color: var(--on-dark-soft); font-size: var(--step-1); max-width: 52ch; }

.menu-toolbar {
  position: sticky; top: 68px; z-index: 40;
  background: rgba(251, 247, 239, .94); backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
  padding-block: .75rem;
}
.menu-toolbar .inner { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.cat-scroll { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; flex: 1 1 320px; }
.cat-scroll::-webkit-scrollbar { display: none; }
.search-box { position: relative; flex: 0 1 240px; }
.search-box input {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: .55rem 1rem .55rem 2.3rem; font-size: var(--step--1); background: #fff;
}
.search-box input:focus { outline: none; border-color: var(--sea-700); box-shadow: 0 0 0 3px rgba(22, 68, 96, .1); }
.search-box svg { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); width: 1em; height: 1em; color: var(--text-soft); }

.menu-section { padding-block: clamp(2.2rem, 5vw, 3.6rem); scroll-margin-top: 190px; }
@media (min-width: 620px) { .menu-section { scroll-margin-top: 140px; } }
.menu-section > h2 {
  font-size: var(--step-3); font-weight: 500; margin-bottom: .4rem;
  display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap;
}
.menu-section > h2 small { font-family: var(--font-body); font-size: var(--step--1); color: var(--text-soft); font-weight: 400; letter-spacing: 0; }
.menu-section > .sub { color: var(--text-soft); margin-bottom: 2rem; max-width: 60ch; }

.menu-list { display: grid; gap: .2rem; }
.menu-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: start;
  padding: 1rem 0; border-bottom: 1px dashed var(--line);
  transition: background .2s var(--ease);
}
.menu-row:hover { background: rgba(255, 255, 255, .55); }
.menu-row.is-plain { grid-template-columns: 1fr auto; }
.menu-row .thumb {
  width: 68px; height: 68px; border-radius: var(--r-sm); object-fit: cover; flex: none;
  box-shadow: var(--shadow-sm);
}
.menu-row .thumb-ph {
  width: 68px; height: 68px; border-radius: var(--r-sm); flex: none;
  background: var(--sand-deep); display: grid; place-items: center; color: var(--sea-700); opacity: .55;
}
.menu-row .thumb-ph svg { width: 26px; height: 26px; }
.menu-row .txt { min-width: 0; }
.menu-row .txt h3 { font-family: var(--font-body); font-size: var(--step-0); font-weight: 700; letter-spacing: 0; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.menu-row .txt p { font-size: var(--step--1); color: var(--text-soft); margin-top: .25rem; line-height: 1.5; }
.menu-row .money {
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 600;
  color: var(--sea-900); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.pill-star {
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(176, 128, 47, .14); color: var(--brass);
  font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: var(--r-pill);
}
.pill-star svg { width: .9em; height: .9em; }
.menu-row.is-hidden { display: none; }
.no-results { padding: 2.5rem 0; text-align: center; color: var(--text-soft); display: none; }
.no-results.show { display: block; }

.wine-note {
  background: var(--sea-900); color: var(--on-dark); border-radius: var(--r-md);
  padding: 1.1rem 1.4rem; display: flex; gap: 1rem; align-items: center;
  margin-bottom: 2rem; font-size: var(--step-0);
}
.wine-note svg { width: 2rem; height: 2rem; flex: none; color: var(--brass-soft); }

/* ---------- Barra de acción móvil ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(251, 247, 239, .96); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  display: none; gap: .5rem;
  box-shadow: 0 -6px 26px rgba(8, 25, 42, .1);
}
.action-bar .btn { flex: 1 1 0; min-width: 0; padding-inline: .55rem; font-size: .82rem; }
.action-bar .btn:last-child { flex: 1.25 1 0; }
.action-bar .btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) {
  .action-bar { display: flex; }
  body { padding-bottom: 72px; }
  .scroll-hint { display: none; }
}

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand { color: var(--on-dark); }
.site-footer h4 {
  font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brass-soft); margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; font-size: var(--step--1); }
.site-footer a:hover { color: var(--on-dark); }
.footer-tagline { color: var(--on-dark-soft); margin-top: 1.1rem; max-width: 34ch; font-size: var(--step--1); line-height: 1.6; }
.socials { display: flex; gap: .55rem; margin-top: 1.3rem; }
.socials a {
  width: 40px; height: 40px; border-radius: var(--r-pill);
  border: 1px solid rgba(244, 236, 224, .22); display: grid; place-items: center;
  transition: all .2s var(--ease);
}
.socials a:hover { background: var(--brass); border-color: var(--brass); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(244, 236, 224, .14);
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between;
  font-size: .78rem; color: rgba(244, 236, 224, .5);
}

/* ---------- Animaciones de entrada ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay='1'] { transition-delay: .08s; }
[data-reveal][data-delay='2'] { transition-delay: .16s; }
[data-reveal][data-delay='3'] { transition-delay: .24s; }
[data-reveal][data-delay='4'] { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header-actions .btn-primary { display: none; }
}
@media (max-width: 620px) {
  .hero { min-height: min(94svh, 760px); }
  .hero h1 { margin-block: .85rem 1rem; }
  .hero .lede { font-size: var(--step-0); }
  .hero-cta { gap: .6rem; margin-top: 1.5rem; }
  .hero-cta .btn-lg { padding: .9rem 1.5rem; font-size: var(--step-0); }
  .hero-facts { margin-top: 1.5rem; padding-top: 1.1rem; gap: .35rem 1.1rem; font-size: .78rem; }
  .rating-pill { font-size: .8rem; }
}

@media (max-width: 560px) {
  .gallery-grid { columns: 2 150px; }
  .menu-row { grid-template-columns: auto 1fr; grid-template-areas: 'thumb txt' 'money money'; }
  .menu-row .thumb, .menu-row .thumb-ph { grid-area: thumb; }
  .menu-row .txt { grid-area: txt; }
  .menu-row .money { grid-area: money; text-align: right; }
  .hero h1 { font-size: clamp(2.4rem, 12vw, 3.4rem); }
}

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

@media print {
  .site-header, .action-bar, .booking, .takeaway, .site-footer, .menu-toolbar, .hero-cta { display: none !important; }
  body { background: #fff; color: #000; }
}
