/* =========================================================
   Antonella Verdecchi · Mozzarella & Basilico — prototipo
   ========================================================= */

:root {
  /* Paleta del Manual de Identidad: Pantone 7409C (#e7a300), Black (#1d1d1b) y sus tramas */
  --ink: #1d1d1b;          /* Black 100 % */
  --ink-2: #262624;        /* Black, fondo de sección */
  --ink-3: #343432;
  --cream: #fdf6e6;        /* 7409C trama 10 % */
  --paper: #faedcc;        /* 7409C trama 20 % */
  --gold: #e7a300;         /* Pantone 7409C */
  --gold-soft: #f1c866;    /* 7409C trama 60 % */
  --text: #1d1d1b;
  --muted: #5f5f5d;        /* Black trama 70 % */
  --muted-light: #bbbbba;  /* Black trama 30 % */

  /* Tipografía del manual: Trajan Pro (corporativa) -> Cinzel en web; Arial (editorial) */
  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;

  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: clamp(1.25rem, 5vw, 5rem);
  --nav-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums; /* cifras alineadas */
}

img { max-width: 100%; height: auto; display: block; }

/* La cinta diagonal sobresale a propósito: recortamos sin crear scroll horizontal */
main { overflow-x: clip; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--gold); color: var(--ink); padding: .6rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Tipografía ---------- */

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 1.2rem;
  display: flex; align-items: center; gap: .8rem;
}
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--dark { color: var(--ink); }
.eyebrow--dark::before { background: var(--gold); opacity: 1; height: 2px; }
.way--home .eyebrow--dark::before { background: var(--ink); }

.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.2vw, 2.7rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 0 0 1.5rem;
  color: var(--ink);
}
/* Sin cursivas (no están en el manual). En fondo oscuro el acento es dorado; en fondo claro, negro con subrayado dorado (el dorado sobre crema no es legible) */
em { font-style: normal; }
.h2 em, .way__title em { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: .22em; }
.hero__title em, .h2--light em, .way--table .way__title em, .page-hero__title em { color: var(--gold); text-decoration: none; }
.h2--light { color: var(--cream); }
.h2--light em { color: var(--gold-soft); }

/* ---------- Botones ---------- */

.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--h);
  padding: 0 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  text-decoration: none;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .35s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { --h: 40px; padding: 0 1.1rem; font-size: .85rem; }
.btn--lg { --h: 56px; padding: 0 1.9rem; font-size: 1rem; }

.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(227, 162, 26, .7); }
.btn--gold:hover { background: var(--gold-soft); box-shadow: 0 16px 36px -12px rgba(227, 162, 26, .85); }

.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(246, 240, 229, .35); }
.btn--ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--ink-3); }

.link {
  color: inherit; font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: background-size .3s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Navegación ---------- */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0 var(--pad);
  color: var(--cream);
  transition: background .4s, box-shadow .4s, height .4s;
}
.nav.is-scrolled {
  background: rgba(20, 18, 14, .86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(243, 201, 108, .12);
  --nav-h: 64px;
}

.brand { display: flex; align-items: center; text-decoration: none; padding: .35rem 0; }
.brand img { display: block; height: 46px; width: auto; }

.nav__links { display: flex; gap: 2.2rem; }
.nav__links a {
  text-decoration: none; font-size: .9rem; font-weight: 500; letter-spacing: .04em;
  opacity: .85; position: relative; transition: opacity .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

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

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; position: relative;
}
.nav__toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--cream);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(100svh, 960px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  padding: calc(var(--nav-h) + 3rem) var(--pad) 5rem;
  background:
    radial-gradient(60% 70% at 78% 50%, rgba(227, 162, 26, .16), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(231, 163, 0, .06), transparent 70%),
    var(--ink);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}

.hero__grain {
  position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hero__copy { max-width: 620px; position: relative; z-index: 2; }

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: .95;
  letter-spacing: -.02em;
  margin: 0 0 1.8rem;
}
.hero__title em { color: var(--gold-soft); font-weight: 400; }

.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted-light); max-width: 480px; margin: 0 0 2.4rem; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }

.status { display: inline-flex; align-items: center; gap: .65rem; font-size: .88rem; color: var(--muted-light); margin: 0; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted-light); flex: none; }
.status.is-open .status__dot { background: var(--gold); box-shadow: 0 0 0 0 rgba(231, 163, 0, .6); animation: pulse 2.2s infinite; }
.status.is-open .status__text strong { color: var(--gold); }
.status.is-closed .status__dot { background: #6b6b69; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(231, 163, 0, .55); }
  70% { box-shadow: 0 0 0 10px rgba(231, 163, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(231, 163, 0, 0); }
}

.hero__photo {
  position: relative; margin: 0;
  width: min(100%, 620px); justify-self: center;
}
/* halo cálido para que el perfil (pelo oscuro) no se pierda sobre el fondo negro */
.hero__photo::before {
  content: ""; position: absolute; inset: 4% 2% 2% 6%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(246, 240, 229, .22), rgba(243, 201, 108, .12) 55%, transparent 100%);
}
.hero__photo::after {
  content: ""; position: absolute; inset: 1%; border-radius: 50%; z-index: -1;
  border: 1px solid rgba(243, 201, 108, .22);
}
.hero__photo img {
  width: 100%; height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55));
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(246, 240, 229, .35); border-radius: 14px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 2px; background: var(--gold); animation: scrollcue 2s var(--ease) infinite;
}
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Ribbon ---------- */

.ribbon {
  background: var(--gold); color: var(--ink);
  overflow: hidden; white-space: nowrap;
  padding: 1rem 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin-top: -1.2rem;
  position: relative; z-index: 3;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .5);
}
/* Dos grupos idénticos que se desplazan su propio ancho: el segundo ocupa el sitio del primero y el bucle no tiene saltos */
.ribbon__track { display: flex; width: max-content; }
.ribbon__group { display: flex; flex: none; align-items: center; gap: 2rem; padding-right: 2rem; animation: marquee 60s linear infinite; }
.ribbon span { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: .04em; }
.ribbon i { font-style: normal; font-size: .9rem; opacity: .6; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- La casa ---------- */

.casa {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(5rem, 11vw, 9rem) var(--pad);
  background:
    radial-gradient(50% 60% at 20% 50%, rgba(227, 162, 26, .12), transparent 70%),
    var(--cream);
}
.casa__copy > p { color: var(--muted); max-width: 540px; }
.casa__copy strong { color: var(--ink); font-weight: 600; }

.pillars { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.4rem; align-self: center; }
.pillars li { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: start; padding-top: 1.2rem; border-top: 1px solid rgba(43, 38, 32, .12); }
.pillars__num { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--gold); line-height: 1; }
.pillars h3 { margin: 0 0 .2rem; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); letter-spacing: .04em; }
.pillars p { margin: 0; color: var(--muted); font-size: .98rem; }

.signature { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: .12em; color: var(--ink); margin: 0; line-height: 1; }
.signature::after { content: ""; display: block; width: 3rem; height: 2px; background: var(--gold); margin-top: .9rem; }

/* ---------- Carta ---------- */

.carta {
  background: var(--ink-2);
  color: var(--cream);
  padding: clamp(5rem, 10vw, 8rem) var(--pad);
  position: relative;
  overflow: hidden;
}
.carta::before {
  content: "Menu"; position: absolute; right: -2vw; top: 2rem;
  font-family: var(--serif); font-size: clamp(6rem, 16vw, 15rem); line-height: 1;
  color: rgba(243, 201, 108, .05); pointer-events: none;
}
.carta__head { max-width: 760px; margin-bottom: 3.5rem; position: relative; }
.carta__intro { color: var(--muted-light); max-width: 560px; }

.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.tab {
  border: 1px solid rgba(246, 240, 229, .2); background: transparent; color: var(--cream);
  padding: .55rem 1.15rem; border-radius: 999px; font-size: .88rem; font-weight: 500;
  transition: background .3s, border-color .3s, color .3s;
}
.tab:hover { border-color: var(--gold-soft); }
.tab.is-active { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.dishes {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
@media (min-width: 1000px) { .dishes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dish { transition: opacity .4s, transform .4s var(--ease); }
.dish.is-hidden { display: none; }

.dish__btn {
  width: 100%; height: 100%; text-align: left;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 1.4rem 1.6rem 1.6rem;
  background: linear-gradient(180deg, rgba(246, 240, 229, .045), rgba(246, 240, 229, .015));
  border: 1px solid rgba(246, 240, 229, .08);
  border-radius: var(--radius);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  transition: border-color .4s, background .4s, transform .5s var(--ease);
}
.dish__btn::after {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 80%;
  background: radial-gradient(closest-side, rgba(227, 162, 26, .22), transparent);
  opacity: 0; transition: opacity .5s;
}
.dish__btn:hover { border-color: rgba(243, 201, 108, .4); transform: translateY(-6px); }
.dish__btn:hover::after { opacity: 1; }

.dish__plate { display: block; position: relative; width: 100%; aspect-ratio: 3 / 2; margin-bottom: 1.1rem; }
.dish__plate img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .55));
  transition: transform .7s var(--ease);
}
.dish__plate--round img { transform: scale(.92); }
.dish__btn:hover .dish__plate img { transform: scale(1.06) rotate(-4deg); }
.dish__btn:hover .dish__plate--round img { transform: scale(1) rotate(18deg); }

.dish__tag { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: .4rem; }
.dish__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1.2; letter-spacing: .02em; margin-bottom: .4rem; }
.dish__desc { color: var(--muted-light); font-size: .95rem; margin-bottom: 1.2rem; }
.dish__cta {
  margin-top: auto; font-size: .85rem; font-weight: 600; letter-spacing: .06em; color: var(--gold-soft);
  display: inline-flex; gap: .4rem; position: relative; z-index: 1;
}
.dish__cta span { transition: transform .35s var(--ease); }
.dish__btn:hover .dish__cta span { transform: translateX(5px); }

.carta__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 3.5rem; }

/* ---------- El viaje ---------- */

.viaje {
  background: var(--paper);
  padding: clamp(5rem, 10vw, 8rem) var(--pad);
}
.viaje__intro {
  display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: 1100px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.viaje__intro p:not(.eyebrow) { color: var(--muted); max-width: 560px; }

.viaje__portrait { margin: 0; position: relative; }
.viaje__portrait img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  border-radius: 200px 200px var(--radius) var(--radius);
  filter: saturate(.9) contrast(1.02);
}
.viaje__portrait figcaption {
  position: absolute; left: 50%; bottom: -1.1rem; transform: translateX(-50%) rotate(-3deg);
  background: var(--ink); color: var(--gold-soft); white-space: nowrap;
  font-family: var(--serif); font-size: .95rem; font-weight: 600; letter-spacing: .08em; padding: .45rem 1.1rem; border-radius: 6px;
}

.route {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem;
  position: relative;
}
.route::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 0;
  border-top: 1.5px dashed rgba(163, 111, 0, .5);
}
.route__stop { position: relative; padding-right: .5rem; }
.route__pin {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--gold); color: var(--ink);
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem;
  position: relative; margin-bottom: 1.1rem;
}
.route__stop--home .route__pin { background: var(--gold); border-color: var(--gold); color: var(--ink); box-shadow: 0 0 0 6px rgba(227, 162, 26, .2); }
.route h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; letter-spacing: .03em; margin: 0 0 .4rem; color: var(--ink); }
.route p { margin: 0; font-size: .95rem; color: var(--muted); }

.quote { margin: clamp(4rem, 8vw, 6rem) auto 0; max-width: 900px; text-align: center; }
.quote p {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.3rem, 2.5vw, 2rem); line-height: 1.35; color: var(--ink); margin: 0;
}

/* ---------- Dos maneras ---------- */

.ways { display: grid; grid-template-columns: 1fr 1fr; }
.way {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6rem) var(--pad) clamp(3.5rem, 7vw, 6rem);
  min-height: 520px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.way > *:not(.way__img) { position: relative; z-index: 1; max-width: 400px; }
.way--table { background: var(--ink); color: var(--cream); }
.way--table p:not(.eyebrow) { color: var(--muted-light); }
.way--home { background: var(--gold); color: var(--ink); }
.way--home .way__title em { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

.way__img {
  position: absolute; top: 50%; right: -24%; width: 66%; max-width: 680px;
  translate: 0 -50%;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45));
  transition: transform 1s var(--ease);
}
.way--home .way__img { right: -22%; width: 60%; }
.way:hover .way__img { transform: rotate(-8deg) scale(1.04); }

.way__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.5vw, 2.2rem); line-height: 1.2; margin: 0 0 1rem; }
.way--table .way__title em { color: var(--gold-soft); }
.way__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 1.4rem; }

/* ---------- Visita ---------- */

.visita {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  background: var(--cream);
}
.visita__info { padding: clamp(5rem, 9vw, 7rem) var(--pad); }
.visita__cols { display: grid; grid-template-columns: 1fr 1.25fr; gap: 2.5rem; margin-top: 2rem; }
.label { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 0 0 .7rem; }
.label:not(:first-child) { margin-top: 2rem; }
address { font-style: normal; color: var(--ink); margin-bottom: .6rem; }
.phone { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.phone:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

.hours { width: 100%; border-collapse: collapse; font-size: .93rem; }
.hours th, .hours td { padding: .55rem 0; border-bottom: 1px solid rgba(43, 38, 32, .1); text-align: left; }
.hours th { font-weight: 600; color: var(--ink); padding-right: 1rem; }
.hours td { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours th { vertical-align: top; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ink); font-weight: 700; }
.hours tr.is-today th::after { content: "hoy"; margin-left: .5rem; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: .15rem .45rem; border-radius: 999px; vertical-align: middle; }

.visita__map { min-height: 420px; position: relative; }
.visita__map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(1) sepia(.25) contrast(1.05) brightness(.97);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--ink); color: var(--muted-light);
  text-align: center; padding: 5rem var(--pad) 3rem;
}
.footer__logo { width: 170px; height: auto; margin: 0 auto 2.2rem; }
.footer__script { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: .14em; color: var(--gold); margin: 0 0 1.8rem; line-height: 1; }
.footer__nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.8rem; margin-bottom: 2.4rem; }
.footer__nav a { text-decoration: none; color: var(--cream); font-size: .92rem; }
.footer__nav a:hover { color: var(--gold-soft); }
.footer__legal { font-size: .8rem; margin: 0; }
.footer__legal a { color: inherit; }

/* ---------- Acciones flotantes (cápsula centrada en escritorio, barra en móvil) ---------- */

.dock {
  position: fixed; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom)); z-index: 90;
  display: flex; gap: .35rem; padding: .4rem;
  background: rgba(20, 18, 14, .9);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(243, 201, 108, .25); border-radius: 999px;
  box-shadow: 0 24px 50px -14px rgba(0, 0, 0, .65), 0 0 0 6px rgba(20, 18, 14, .06);
  transform: translate(-50%, 160%); opacity: 0; pointer-events: none;
  transition: transform .55s var(--ease), opacity .4s;
}
.dock.is-visible { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.dock button, .dock a {
  display: inline-flex; align-items: center; gap: .55rem; height: 50px; padding: 0 1.5rem;
  border: 0; border-radius: 999px; background: none; color: var(--cream);
  font-size: .93rem; font-weight: 600; letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  transition: background .3s, color .3s;
}
.dock button:first-child { background: var(--gold); color: var(--ink); }
.dock button:first-child:hover { background: var(--gold-soft); }
.dock button:nth-child(2):hover, .dock a:hover { background: rgba(246, 240, 229, .1); color: var(--gold-soft); }
.dock a { color: var(--muted-light); font-variant-numeric: tabular-nums; }
.dock svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dock__s { display: none; }
.footer { padding-bottom: 7rem; }

/* ---------- Animación de entrada ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .route { grid-template-columns: 1fr; gap: 1.8rem; max-width: 620px; }
  .route::before { left: 21px; right: auto; top: 22px; bottom: 22px; height: auto; border-top: 0; border-left: 1.5px dashed rgba(163, 111, 0, .5); }
  .route__stop { display: grid; grid-template-columns: 44px 1fr; column-gap: 1.2rem; }
  .route__pin { grid-row: span 2; margin: 0; }
}

@media (max-width: 960px) {
  :root { --nav-h: 66px; }

  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; gap: 0;
    background: rgba(20, 18, 14, .97); padding: .5rem var(--pad) 1.5rem;
    transform: translateY(-120%); transition: transform .45s var(--ease); z-index: -1;
  }
  .nav__links.is-open { transform: none; }
  .nav__links a { padding: 1rem 0; border-bottom: 1px solid rgba(246, 240, 229, .08); font-family: var(--serif); font-size: 1.25rem; letter-spacing: .04em; }
  .nav__links a::after { display: none; }
  .nav__toggle { display: block; }
  .nav__cta .btn { display: none; }
  .nav { background: rgba(20, 18, 14, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

  .hero { grid-template-columns: 1fr; text-align: left; padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 6rem; }
  .hero__photo { order: -1; width: min(86vw, 440px); margin-bottom: -.5rem; }
  .hero__scroll { display: none; }

  .casa, .visita { grid-template-columns: 1fr; }
  .viaje__intro { grid-template-columns: 1fr; }
  .viaje__portrait { max-width: 300px; }

  .ways { grid-template-columns: 1fr; }
  .way { min-height: 0; justify-content: flex-start; padding-top: 0; }
  .way__img, .way--home .way__img {
    position: relative; top: auto; right: auto; translate: none;
    width: min(78%, 420px); align-self: flex-end; margin: -1.5rem calc(var(--pad) * -1 - 12%) 1rem 0;
  }

  .visita__map { min-height: 340px; }

  .dock {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
    transform: none; opacity: 1; pointer-events: auto;
    position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 90;
    background: rgba(20, 18, 14, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(243, 201, 108, .2); border-radius: 20px; padding: .35rem;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .6);
  }
  .dock button, .dock a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
    height: auto; background: none; border: 0; color: var(--cream); text-decoration: none;
    font-size: .74rem; font-weight: 600; letter-spacing: .04em; padding: .5rem 0; border-radius: 14px;
  }
  .dock__l { display: none; }
  .dock__s { display: inline; }
  .dock button:first-child { background: var(--gold); color: var(--ink); }
  .dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .footer { padding-bottom: 7.5rem; }
}

@media (max-width: 600px) {
  .brand img { height: 38px; }
  .visita__cols { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Páginas interiores
   ========================================================= */

.nav__links a[aria-current="page"] { opacity: 1; color: var(--gold-soft); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 2rem;
  padding: calc(var(--nav-h) + clamp(3rem, 7vw, 5.5rem)) var(--pad) clamp(3.5rem, 7vw, 5.5rem);
  background:
    radial-gradient(55% 80% at 85% 50%, rgba(227, 162, 26, .16), transparent 70%),
    radial-gradient(40% 60% at 5% 100%, rgba(231, 163, 0, .05), transparent 70%),
    var(--ink);
  color: var(--cream);
}
.page-hero__copy { max-width: 680px; position: relative; z-index: 1; }
.page-hero__title {
  font-family: var(--serif); font-weight: 500; line-height: 1.12;
  font-size: clamp(1.9rem, 3.8vw, 3.3rem); letter-spacing: .01em; margin: 0 0 1.4rem;
}
.page-hero__title em { color: var(--gold-soft); font-weight: 400; }
.page-hero .hero__lead { margin-bottom: 2rem; }
.page-hero .hero__lead a { color: var(--gold-soft); }
.page-hero__img {
  width: min(100%, 460px); justify-self: center; height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6));
}

/* banda de datos de reparto */
.band {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--gold); color: var(--ink);
}
.band__item { padding: 1.6rem var(--pad); border-right: 1px solid rgba(20, 18, 14, .15); display: flex; flex-direction: column; gap: .25rem; }
.band__item:last-child { border-right: 0; }
.band--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.band a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.band__k { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.band__v { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; line-height: 1.1; }
.band__v--sm { font-family: var(--sans); font-size: .95rem; font-weight: 600; line-height: 1.4; }

/* secciones genéricas */
.sec { background: var(--cream); padding: clamp(4rem, 8vw, 6.5rem) var(--pad); }
.sec__inner { max-width: 1180px; margin: 0 auto; }
.sec__inner > p { color: var(--muted); max-width: 720px; }
.h2--sm { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: clamp(3rem, 6vw, 4.5rem); }
.center { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.small { font-size: .92rem; color: var(--muted); margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split p { color: var(--muted); }
.btn--ghost-dark { background: transparent; color: var(--ink); border-color: rgba(20, 18, 14, .3); }
.btn--ghost-dark:hover { border-color: var(--ink); }
.phone--sm { font-size: 1.35rem; }
.phone-alt { margin: .4rem 0 0; font-size: .92rem; color: var(--muted); }
.phone-alt a { color: var(--ink); font-weight: 600; }

/* tarjetas de platos sobre fondo claro */
.sec .dishes { margin-top: 2rem; }
.dishes--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)) !important; }
.sec .dish__btn { background: var(--ink-2); }
.dish { list-style: none; }

/* pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.steps li { border-top: 1px solid rgba(43, 38, 32, .15); padding-top: 1.4rem; }
.steps span { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: var(--gold); line-height: 1; }
.steps h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; margin: .6rem 0 .3rem; color: var(--ink); }
.steps p { margin: 0; color: var(--muted); }

/* zonas */
.zonas { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.zonas a {
  display: inline-block; padding: .5rem 1rem; border-radius: 999px; text-decoration: none; font-size: .88rem;
  border: 1px solid rgba(43, 38, 32, .18); color: var(--ink); transition: background .3s, border-color .3s;
}
.zonas a:hover { background: var(--gold); border-color: var(--gold); }

/* carta */
.sec--menu .sec__inner { max-width: 980px; }
.menu-nav {
  position: sticky; top: var(--nav-h); z-index: 5;
  display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none;
  padding: .9rem 0; margin-bottom: 1rem; background: var(--cream);
  border-bottom: 1px solid rgba(43, 38, 32, .1);
}
.menu-nav::-webkit-scrollbar { display: none; }
.menu-nav a {
  flex: none; padding: .45rem 1rem; border-radius: 999px; text-decoration: none; font-size: .86rem; font-weight: 600;
  border: 1px solid rgba(43, 38, 32, .18); color: var(--ink);
}
.menu-nav a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.menu-sec { padding-top: 2.5rem; scroll-margin-top: calc(var(--nav-h) + 70px); }
.menu-sec__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.2rem; margin-bottom: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: .6rem; }
.menu-sec__head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; color: var(--ink); }
.menu-sec__head p { margin: 0; color: var(--muted); font-size: .92rem; }

.mi__name { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; letter-spacing: .02em; color: var(--ink); line-height: 1.3; }
.mi__desc { display: block; color: var(--muted); font-size: .9rem; font-weight: 400; margin-top: .15rem; }
.mi__price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }

.menu-table { width: 100%; border-collapse: collapse; }
.menu-table thead th {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); font-weight: 700;
  text-align: right; padding: .4rem 0 .6rem;
}
.menu-table tbody th { text-align: left; font-weight: 400; padding: 1rem 1rem 1rem 0; }
.menu-table td { text-align: right; padding: 1rem 0 1rem .8rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; width: 5.5rem; vertical-align: top; }
.menu-table tbody tr { border-bottom: 1px dashed rgba(43, 38, 32, .18); }

.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px dashed rgba(43, 38, 32, .18); }
.menu-note { margin-top: 2.5rem; font-size: .88rem; color: var(--muted); }
.menu-note a { color: var(--ink); font-weight: 600; }

/* textos legales */
.prose { max-width: 760px; margin: 0 auto; font-size: .98rem; color: var(--text); }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; line-height: 1.2; color: var(--ink); margin: 2.4rem 0 .8rem; }
.prose h3 { font-size: 1rem; margin: 1.6rem 0 .4rem; color: var(--ink); }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2rem; }
.legal-data { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.5rem; padding: 1.4rem 1.6rem; background: var(--paper); border-radius: var(--radius); margin: 0 0 2rem; }
.legal-data dt { font-weight: 700; color: var(--ink); }
.legal-data dd { margin: 0; color: var(--muted); }

/* pie: dirección, zonas y aviso FEDER */
.footer__addr { font-style: normal; color: var(--muted-light); font-size: .92rem; margin: -0.6rem 0 1.8rem; line-height: 1.7; }
.footer__addr a { color: var(--cream); }
.footer__zonas { max-width: 900px; margin: 0 auto 2.2rem; font-size: .82rem; }
.footer__zonas summary { cursor: pointer; color: var(--gold-soft); font-weight: 600; letter-spacing: .06em; }
.footer__zonas p { line-height: 1.9; margin-top: 1rem; }
.footer__zonas a { color: var(--muted-light); text-decoration: none; }
.footer__zonas a:hover { color: var(--cream); }
.eu {
  display: flex; gap: 1.2rem; align-items: flex-start; text-align: left;
  max-width: 900px; margin: 0 auto 2rem; padding: 1.2rem 1.4rem;
  border: 1px solid rgba(246, 240, 229, .12); border-radius: 12px; font-size: .78rem; line-height: 1.55;
}
.eu p { margin: 0; }
.eu strong { color: var(--cream); }
.eu__flag { flex: none; width: 60px; height: 40px; }

@media (max-width: 960px) {
  .page-hero { grid-template-columns: 1fr; }
  .page-hero__img { order: -1; width: min(60vw, 280px); margin-bottom: -1rem; }
  .band { grid-template-columns: 1fr 1fr; }
  .band__item:nth-child(2) { border-right: 0; }
  .band__item:nth-child(-n+2) { border-bottom: 1px solid rgba(20, 18, 14, .15); }
  .split, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .band__v { font-size: 1.4rem; }
  .menu-table td { width: auto; padding-left: .5rem; font-size: .88rem; }
  .menu-table thead th { font-size: .62rem; letter-spacing: .08em; }
  .mi__name { font-size: .98rem; }
  .eu { flex-direction: column; }
  .legal-data { grid-template-columns: 1fr; }
}
