/* La Cantina de Ruzafa — «Casa del Poble»
   Cartel popular valenciano + mantel de papel de cuadros. CSS escrito a mano, mobile-first. */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("../assets/fonts/big-shoulders-display-latin.woff2") format("woff2");
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/newsreader-italic-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Paleta (6 roles) */
  --paper: #F5EEE2;      /* fondo: papel */
  --ink: #24180F;        /* texto: tinta */
  --roig: #9C0E1A;       /* acento: rojo del logo */
  --paper-2: #EADCC6;    /* secundario: estraza */
  --mandarina: #E07B24;  /* destacado */
  --horta: #2F4A2A;      /* sección alterna: verde huerta */

  --card: #FFFCF6;
  --ink-soft: rgba(36, 24, 15, 0.74);
  --line: rgba(36, 24, 15, 0.16);
  --gingham: rgba(194, 38, 27, 0.55);

  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 68px;
  --radius: 6px;
}

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

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

body {
  margin: 0;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .14 0 0 0 0 .09 0 0 0 0 .06 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font: 400 1.125rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--roig); }
p { margin: 0 0 1rem; }
::selection { background: rgba(156, 14, 26, 0.18); color: var(--ink); }

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

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

.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: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 4px;
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
}
.skip:focus { left: 12px; color: var(--paper); }

/* ---------- Tipografía de cartel ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: .92;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0;
}
h2 { font-size: clamp(2.7rem, 8.5vw, 4.9rem); margin-bottom: 1.1rem; }
h2 em, h1 em {
  display: block;
  font-family: var(--body);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: .56em;
  line-height: 1.05;
  color: var(--roig);
  margin-top: .22em;
}
.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--roig);
  margin: 0 0 .9rem;
}
.sec-head { max-width: 780px; margin-bottom: clamp(28px, 5vw, 48px); }
.sec-lede { font-size: clamp(1.15rem, 2vw, 1.3rem); color: var(--ink-soft); max-width: 60ch; }
.roig { color: var(--roig); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 50px;
  padding: .7em 1.3em .64em;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-roig { background: var(--roig); color: var(--paper); }
.btn-roig:hover { color: var(--paper); background: #B0121F; }
.btn-linea { background: var(--card); color: var(--ink); }
.btn-linea:hover { color: var(--ink); background: #fff; }
.btn-mandarina { background: var(--mandarina); color: var(--ink); }
.btn-mandarina:hover { color: var(--ink); background: #EC8A35; }
.btn-tinta { background: var(--ink); color: var(--paper); }
.btn-tinta:hover { color: var(--paper); }
.btn-block { width: 100%; }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.tag-pdf {
  font-size: .7em; letter-spacing: .1em;
  border: 1.5px solid currentColor; border-radius: 3px;
  padding: .12em .32em .08em;
}
.link-flecha {
  display: inline-block;
  padding: 9px 0; /* área táctil de 44 px */
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--roig);
  text-decoration: none;
}
.link-flecha::after { content: "  →"; transition: margin .2s ease; }
.link-flecha:hover::after { margin-left: 4px; }

/* ---------- Navegación ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  transition: box-shadow .3s ease;
}
.nav.scrolled { box-shadow: 0 8px 24px rgba(36, 24, 15, .10); }
.nav-inner { display: flex; align-items: center; gap: 18px; height: var(--nav-h); }
.nav-logo { display: block; flex: none; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: none; }
.nav-cta { display: none; min-height: 44px; font-size: 1.05rem; padding: .6em 1.1em .55em; box-shadow: 3px 3px 0 var(--ink); }
.nav-toggle {
  margin-left: auto;
  width: 48px; height: 48px;
  display: grid; place-content: center; gap: 5px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; }

@media (min-width: 720px) {
  .nav-cta { display: inline-flex; margin-left: auto; }
  .nav-toggle { margin-left: 0; }
}
@media (min-width: 1024px) {
  :root { --nav-h: 76px; }
  .nav-logo img { height: 46px; }
  .nav-links { display: flex; gap: 26px; margin-left: auto; }
  .nav-links a {
    font-family: var(--display); font-weight: 700; font-size: 1.12rem;
    letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
    padding: 6px 0; background: linear-gradient(var(--roig), var(--roig)) left bottom / 0 2px no-repeat;
    transition: background-size .25s ease, color .2s ease;
  }
  .nav-links a:hover { color: var(--roig); background-size: 100% 2px; }
  .nav-cta { margin-left: 8px; }
  .nav-toggle { display: none; }
}

/* ---------- Menú móvil (hermano del header) ---------- */
.mm { position: fixed; inset: 0; z-index: 70; }
.mm[hidden] { display: none; }
.mm-bg { position: absolute; inset: 0; background: rgba(36, 24, 15, .62); opacity: 0; transition: opacity .3s ease; }
.mm-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(88vw, 380px);
  display: flex; flex-direction: column;
  background-color: #F5EEE2 !important;
  border-left: 2px solid var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.16, 1, .3, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
  isolation: isolate;
}
.mm.is-open .mm-bg { opacity: 1; }
.mm.is-open .mm-panel { transform: translateX(0); }
.mm-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 2px solid var(--ink);
}
.mm-mark { width: 44px; height: auto; }
.mm-close {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--paper-2); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 50%; cursor: pointer;
}
.mm-links { flex: 1; padding: 6px 22px 12px; }
.mm-links a {
  display: block;
  padding: 14px 0 13px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1;
  text-transform: uppercase; text-decoration: none; color: var(--ink);
  opacity: 0; transform: translateX(14px);
  transition: opacity .3s ease, transform .3s ease;
}
.mm-links a small {
  display: block; margin-bottom: 5px;
  font-family: var(--body); font-style: italic; font-weight: 500; font-size: 1rem;
  text-transform: none; letter-spacing: 0; color: var(--roig);
}
.mm.is-open .mm-links a { opacity: 1; transform: none; }
.mm.is-open .mm-links a:nth-child(1) { transition-delay: .10s; }
.mm.is-open .mm-links a:nth-child(2) { transition-delay: .15s; }
.mm.is-open .mm-links a:nth-child(3) { transition-delay: .20s; }
.mm.is-open .mm-links a:nth-child(4) { transition-delay: .25s; }
.mm.is-open .mm-links a:nth-child(5) { transition-delay: .30s; }
.mm.is-open .mm-links a:nth-child(6) { transition-delay: .35s; }
.mm-foot { padding: 18px 22px calc(26px + env(safe-area-inset-bottom)); border-top: 2px solid var(--ink); }
.mm-tel { display: block; text-align: center; margin-top: 14px; font-style: italic; }

/* ---------- Hero ---------- */
.hero { padding: 26px 0 44px; }
.hero-grid { display: grid; gap: 30px; }
.hero-title {
  font-size: clamp(3.9rem, 18.5vw, 7.4rem);
  font-weight: 900;
  line-height: .84;
  margin-bottom: 1.1rem;
}
.hero-title span { display: block; }
.hero-lede { font-size: clamp(1.18rem, 2.3vw, 1.38rem); line-height: 1.5; color: var(--ink-soft); max-width: 36ch; margin-bottom: 1.2rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  margin: 0 0 1.5rem;
  font-family: var(--display); font-weight: 700; font-size: 1.02rem;
  letter-spacing: .05em; text-transform: uppercase;
}
.estado { display: inline-flex; align-items: center; gap: 8px; }
.estado .dot { width: 10px; height: 10px; border-radius: 50%; background: #8C7F72; flex: none; }
.estado[data-state="open"] .dot { background: #2E8540; box-shadow: 0 0 0 4px rgba(46, 133, 64, .18); }
.estado[data-state="closed"] .dot { background: var(--roig); }
.rating { text-decoration: none; border-bottom: 1.5px solid var(--line); padding-bottom: 1px; }
.rating span { color: var(--mandarina); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-photo { position: relative; margin: 0; }
.hero-photo picture img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 7px 7px 0 var(--roig);
}
.hero-photo figcaption { margin-top: 14px; font-style: italic; font-size: .98rem; color: var(--ink-soft); }
.sello {
  position: absolute;
  width: 116px; height: 116px;
  right: 10px; top: -34px;
  transform: rotate(-10deg);
  border-radius: 50%;
  overflow: hidden; /* el SVG gira: sin esto sus esquinas desbordan la pantalla en móvil */
  filter: drop-shadow(3px 3px 0 rgba(36, 24, 15, .9));
}
.sello svg { width: 100%; height: 100%; display: block; }
.sello text { font-family: var(--display); font-weight: 800; font-size: 15.5px; letter-spacing: 2.1px; fill: var(--roig); }
.sello img { position: absolute; width: 40%; left: 30%; top: 27%; }

@media (min-width: 960px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr 1.06fr; align-items: center; gap: 64px; }
  .hero-photo picture img { box-shadow: 12px 12px 0 var(--roig); }
  .sello { width: 170px; height: 170px; left: -64px; right: auto; top: auto; bottom: 34px; }
}
@media (prefers-reduced-motion: no-preference) {
  .sello svg { animation: girar 60s linear infinite; }
  @keyframes girar { to { transform: rotate(360deg); } }
}

/* ---------- Mantel de cuadros ---------- */
.mantel {
  height: 34px;
  background-color: #FCF8F1;
  background-image:
    linear-gradient(90deg, var(--gingham) 50%, transparent 50%),
    linear-gradient(var(--gingham) 50%, transparent 50%);
  background-size: 34px 34px;
  border-block: 2px solid var(--ink);
}
.mantel-fino { height: 16px; background-size: 16px 16px; border-top: 0; }

/* ---------- Qué cocinamos hoy (reclamo diario hacia Instagram) ---------- */
.hoy-seccion { background: var(--roig); color: var(--paper); padding-top: clamp(52px, 8vw, 96px); overflow: hidden; }
.hoy-grid { display: grid; gap: 40px; align-items: center; padding-bottom: clamp(52px, 8vw, 88px); }
.eyebrow-papel { color: var(--paper); }
.hoy-seccion h2 { font-size: clamp(3.4rem, 13vw, 6.6rem); color: var(--paper); }
.hoy-seccion h2 em { color: var(--paper); font-size: .6em; }
.hoy-lede { font-size: clamp(1.14rem, 2vw, 1.3rem); max-width: 40ch; }
.btn-grande { min-height: 58px; font-size: 1.3rem; padding: .78em 1.4em .72em; margin-top: .6rem; }
.hoy-redes { margin: 1rem 0 0; font-style: italic; color: rgba(245, 238, 226, .9); }
.hoy-redes a { color: var(--paper); }
.hoy-redes a:hover { color: var(--paper); text-decoration-thickness: 3px; }

/* Abanico de «stories»: dos platos que ya han pasado por la cocina y el de hoy, por descubrir */
.stories {
  position: relative; display: block;
  width: calc(100% - 28px); max-width: 440px; margin-inline: auto; /* margen para que las tarjetas giradas no toquen el borde */
  aspect-ratio: 20 / 21;
  text-decoration: none; color: var(--paper);
  -webkit-tap-highlight-color: transparent;
}
.story {
  position: absolute; top: 8%;
  width: 54%; aspect-ratio: 9 / 14;
  overflow: hidden;
  background: var(--ink);
  border: 2px solid var(--ink); border-radius: 16px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.story > img { width: 100%; height: 100%; object-fit: cover; }
.story-a { left: 0; transform: rotate(-9deg); }
.story-b { right: 0; transform: rotate(8deg); }
.story-hoy { top: 0; left: 20%; width: 60%; z-index: 2; transform: rotate(-1.5deg); border-color: var(--paper); box-shadow: 8px 8px 0 var(--ink); }
.story-hoy > img { filter: blur(7px) saturate(1.2) brightness(.62); transform: scale(1.15); }
.stories:hover .story-a { transform: rotate(-13deg) translateX(-10px); }
.stories:hover .story-b { transform: rotate(12deg) translateX(10px); }
.stories:hover .story-hoy { transform: rotate(0deg) translateY(-6px); }

.story-top { position: absolute; top: 10px; left: 10px; right: 10px; display: grid; gap: 8px; }
.story-barras { display: flex; gap: 4px; }
.story-barras i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .45); }
.story-barras i.llena { background: #fff; }
.story-barras i.va { background: linear-gradient(90deg, #fff 35%, rgba(255, 255, 255, .45) 35%); }
.story-perfil {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--body); font-weight: 600; font-size: .92rem; color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}
.story-perfil img { width: 28px; height: 28px; padding: 3px; background: var(--paper); border-radius: 50%; object-fit: contain; }
.story-q {
  position: absolute; inset: auto 12px 18px;
  display: grid; justify-items: center; gap: 10px;
  text-align: center;
  font-family: var(--display); font-weight: 800; font-size: clamp(.82rem, 2.8vw, 1.05rem); letter-spacing: .08em; text-transform: uppercase;
}
.story-q b {
  display: block; width: 100%;
  font-weight: 900; font-size: clamp(2.4rem, 11vw, 4.4rem); line-height: .9; letter-spacing: 0;
  text-shadow: 3px 3px 0 var(--roig);
}
.story-q::after {
  content: "Ver en Instagram  →";
  padding: 9px 14px 8px;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: clamp(.78rem, 2.6vw, .98rem);
  white-space: nowrap;
}
.hoy-visual { width: 100%; max-width: 440px; margin-inline: auto; }
.stories-pie { margin: 16px auto 0; max-width: 36ch; text-align: center; font-style: italic; font-size: 1rem; color: rgba(245, 238, 226, .9); }
@media (min-width: 960px) {
  .hoy-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .hoy-visual, .stories { max-width: 470px; }
}

/* Cinta: fresco, de temporada, cada día distinto */
.hoy-cinta { background: var(--ink); border-block: 2px solid var(--ink); overflow: hidden; }
.hoy-cinta p {
  display: flex; width: max-content; margin: 0; padding: 12px 0 10px;
  font-family: var(--display); font-weight: 800; font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--paper);
}
.hoy-cinta span { padding-right: .4em; }
@media (prefers-reduced-motion: no-preference) {
  .hoy-cinta p { animation: cinta 32s linear infinite; }
  @keyframes cinta { to { transform: translateX(-50%); } }
}

/* ---------- Servicios ---------- */
.servicios { padding: 48px 0 8px; }
.servicios-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.servicio {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
}
.servicio-hora {
  font-family: var(--display); font-weight: 800; font-size: 1.05rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--roig);
  margin-bottom: .45rem;
}
.servicio h3 { font-size: 2.2rem; margin-bottom: .6rem; }
.servicio > p { margin-bottom: .9rem; }
.precio {
  margin-top: auto;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft);
}
.precio strong { font-size: 2.3rem; font-weight: 900; color: var(--ink); letter-spacing: .01em; }
.servicios-nota { margin: 18px 0 0; text-align: center; font-style: italic; color: var(--ink-soft); }
@media (min-width: 820px) {
  .servicios { padding-top: 64px; }
  .servicios-list { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

/* ---------- Esmorzaret ---------- */
.esmorzaret, .casa, .opiniones, .visita { padding: clamp(60px, 9vw, 112px) 0; }
.esm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "a a" "o o" "b c";
  gap: 14px;
}
.esm-foto { margin: 0; }
.esm-foto img { width: 100%; height: 100%; object-fit: cover; border: 2px solid var(--ink); border-radius: 4px; }
.esm-foto-a { grid-area: a; }
.esm-foto-a img { aspect-ratio: 3 / 2; }
.esm-foto-b { grid-area: b; }
.esm-foto-c { grid-area: c; }
.esm-foto-b img, .esm-foto-c img { aspect-ratio: 1 / 1; }
.esm-ofertas { grid-area: o; display: grid; gap: 14px; align-content: start; padding: 6px 0; }
.ticket {
  position: relative;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  outline: 1.5px dashed rgba(36, 24, 15, .3);
  outline-offset: -9px;
  padding: 22px 20px 20px 104px;
  min-height: 118px;
}
.ticket h3 { font-size: 1.75rem; margin-bottom: .45rem; }
.ticket p { margin: 0; font-size: 1.04rem; line-height: 1.45; }
.ticket .ticket-precio {
  position: absolute; left: 18px; top: 20px;
  width: 70px; height: 70px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--roig); color: var(--paper);
  font-family: var(--display); font-weight: 900; font-size: 1.7rem; line-height: 1;
  transform: rotate(-8deg);
  box-shadow: 3px 3px 0 var(--ink);
}
.ticket-festa .ticket-precio { background: var(--mandarina); color: var(--ink); }
.nota-al-momento { margin: 4px 0 0; font-style: italic; color: var(--ink-soft); }

@media (min-width: 960px) {
  .esm-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-areas: "a o o" "a b c";
    gap: 20px;
  }
  .esm-foto-a img { aspect-ratio: auto; min-height: 500px; }
  .esm-foto-b img, .esm-foto-c img { aspect-ratio: 4 / 3; }
  .esm-ofertas { grid-template-columns: 1fr 1fr; padding: 0; gap: 18px; }
  .nota-al-momento { grid-column: 1 / -1; }
}

.pataqueta {
  margin-top: clamp(40px, 6vw, 64px);
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px 20px 22px;
  position: relative;
  overflow: hidden;
}
.pataqueta::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 14px;
  background-image:
    linear-gradient(90deg, var(--gingham) 50%, transparent 50%),
    linear-gradient(var(--gingham) 50%, transparent 50%);
  background-size: 14px 14px;
  border-bottom: 2px solid var(--ink);
}
.pataqueta-head { padding-top: 14px; margin-bottom: 14px; }
.pataqueta-head h3 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: .5rem; }
.pataqueta-head p { color: var(--ink-soft); max-width: 60ch; margin: 0; }
.pobles { list-style: none; margin: 0; padding: 0; }
.pobles li {
  break-inside: avoid;
  padding: 12px 0 11px;
  border-bottom: 1px dashed rgba(36, 24, 15, .28);
  font-size: 1.02rem; line-height: 1.38; color: var(--ink-soft);
}
.pobles b {
  display: block;
  font-family: var(--display); font-weight: 800; font-size: 1.4rem; line-height: 1;
  letter-spacing: .04em; text-transform: uppercase; color: var(--roig);
  margin-bottom: 3px;
}
.tag-veg {
  display: inline-block; margin-left: 4px; padding: 2px 7px 1px;
  font-family: var(--display); font-weight: 800; font-size: .8rem;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--horta); color: var(--paper); border-radius: 3px;
  vertical-align: 2px;
}
.al-plato { margin: 20px 0 6px; font-size: 1.06rem; }
.al-plato span {
  font-family: var(--display); font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--roig); margin-right: .45em;
}
.nota-carta { margin: 6px 0 0; font-style: italic; font-size: .98rem; color: var(--ink-soft); }
.pobles-mas { display: none; }
@media (max-width: 719px) {
  .js .pobles.is-collapsed li:nth-child(n+7) { display: none; }
  .js .pobles-mas { display: inline-flex; margin-top: 16px; min-height: 44px; font-size: 1rem; box-shadow: 3px 3px 0 var(--ink); }
}
@media (min-width: 720px) {
  .pataqueta { padding: 34px 34px 28px; }
  .pobles { columns: 2; column-gap: 40px; }
}
@media (min-width: 1080px) {
  .pataqueta-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .pataqueta-head p { max-width: 44ch; text-align: right; }
  .pobles { columns: 3; }
}

/* ---------- La carta: carta digital (iframe) sobre el mantel de cuadros ---------- */
.menu {
  padding: clamp(56px, 8vw, 104px) 0;
  background-color: #FCF8F1;
  background-image:
    linear-gradient(90deg, var(--gingham) 50%, transparent 50%),
    linear-gradient(var(--gingham) 50%, transparent 50%);
  background-size: 48px 48px;
  border-block: 2px solid var(--ink);
}
.menu-grid { display: grid; gap: 34px; grid-template-columns: minmax(0, 1fr); }
.menu-intro {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  box-shadow: 8px 8px 0 var(--ink);
}
.menu h2 { font-size: clamp(2.8rem, 9vw, 4.4rem); }
.menu-intro > p { font-size: 1.1rem; }
.menu-precios { list-style: none; margin: 18px 0; padding: 0; border-top: 2px solid var(--ink); }
.menu-precios li {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px;
  padding: 11px 0; border-bottom: 1px dashed rgba(36, 24, 15, .3);
}
.menu-precios span { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; }
.menu-precios strong { font-family: var(--display); font-weight: 900; font-size: 1.8rem; line-height: 1; color: var(--roig); }
.menu-ayuda { font-style: italic; color: var(--ink-soft); margin-bottom: .2rem; }
.menu .menu-alerg { margin: .6rem 0 0; font-style: italic; font-size: 1rem; color: var(--ink-soft); }

.carta-marco {
  position: relative;
  width: 100%;
  max-width: 640px;
  justify-self: center;
  padding: 10px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 8px 8px 0 var(--ink);
}
.carta-pestanya {
  position: absolute; top: -19px; left: 22px; z-index: 1;
  margin: 0; padding: 6px 14px 5px;
  font-family: var(--display); font-weight: 800; font-size: 1.05rem;
  letter-spacing: .12em; text-transform: uppercase;
  background: var(--roig); color: var(--paper);
  border: 2px solid var(--ink); border-radius: var(--radius);
  transform: rotate(-2deg);
}
.carta-marco iframe {
  display: block;
  width: 100%;
  height: 78vh;
  height: clamp(540px, calc(100svh - 190px), 800px); /* en móvil, la carta cabe entera en pantalla entre la cabecera y la barra fija */
  border: 0;
  border-radius: 10px;
  background: #F7F8FA;
}
@media (min-width: 1024px) {
  .menu-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 640px); gap: 56px; align-items: start; }
  .menu-intro { position: sticky; top: calc(var(--nav-h) + 28px); padding: 32px 30px 26px; }
  .carta-marco { padding: 12px; box-shadow: 12px 12px 0 var(--ink); }
  .carta-marco iframe { height: 800px; }
}

/* ---------- Arroces por encargo (bloque secundario) ---------- */
.arroces { padding: clamp(40px, 6vw, 64px) 0 0; }
.arroces-card {
  display: grid; gap: 14px 28px; align-items: center;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.arroces h2 { font-size: clamp(1.8rem, 4.4vw, 2.4rem); margin-bottom: .7rem; }
.arroces .eyebrow { font-size: .92rem; margin-bottom: .5rem; }
.arroces-list { list-style: none; margin: 0 0 6px; padding: 0; }
.arroces-list li { font-size: 1.02rem; color: var(--ink-soft); padding: 2px 0; }
.arroces-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; margin: 0; }
.arroces-cta span { font-style: italic; }
.paellera { width: 110px; }
.paellera svg { width: 100%; height: auto; transform: rotate(-6deg); }
@media (min-width: 720px) {
  .arroces-list { display: flex; flex-wrap: wrap; gap: 4px 0; }
  .arroces-list li { padding: 0; }
  .arroces-list li:not(:last-child)::after { content: "·"; margin: 0 .5em; color: var(--roig); }
  .arroces-card { grid-template-columns: 140px 1fr; padding: 24px 30px; }
  .paellera { width: 140px; }
}

/* ---------- La casa ---------- */
.casa-grid { display: grid; gap: 36px; }
.casa-text > p { font-size: 1.16rem; max-width: 62ch; }
.cita {
  margin: 26px 0 0;
  padding: 4px 0 4px 20px;
  border-left: 4px solid var(--roig);
  font-style: italic; font-size: 1.24rem; line-height: 1.45;
}
.casa-lado { display: grid; gap: 28px; align-content: start; }
.casa-logo { margin: 0; display: flex; align-items: center; gap: 18px; }
.casa-logo img {
  width: 96px; height: auto; flex: none;
  padding: 12px; background: var(--card);
  border: 2px solid var(--ink); border-radius: 50%;
  box-shadow: 4px 4px 0 var(--roig);
  transform: rotate(-6deg);
}
.casa-logo figcaption { font-style: italic; font-size: 1.05rem; color: var(--ink-soft); max-width: 24ch; }
.despensa {
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 24px 22px;
  align-self: start;
}
.despensa h3 { font-size: 1.9rem; margin-bottom: .7rem; }
.despensa dl { margin: 16px 0; }
.despensa dt {
  font-family: var(--display); font-weight: 800; font-size: 1.35rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--roig); line-height: 1.05;
}
.despensa dd { margin: 2px 0 14px; }
.despensa-pie { margin: 0; font-style: italic; }
@media (min-width: 960px) {
  .casa-grid { grid-template-columns: 1.35fr .9fr; gap: 64px; }
  .despensa { padding: 30px 28px; }
  .casa-lado { margin-top: 18px; }
  .casa-logo img { width: 120px; }
}

/* ---------- Opiniones y prensa ---------- */
.opiniones { background: var(--paper-2); border-block: 2px solid var(--ink); }
.op-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 30px; }
.op-head h2 { display: flex; align-items: flex-end; gap: 14px; margin: 0; }
.op-nota { font-size: clamp(5.4rem, 18vw, 9rem); font-weight: 900; line-height: .78; color: var(--roig); }
.op-txt { font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: .95; padding-bottom: 4px; }
.op-txt small { display: block; margin-top: 6px; font-family: var(--body); font-style: italic; font-weight: 500; font-size: .52em; text-transform: none; letter-spacing: 0; color: var(--ink-soft); }
.citas { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.citas li { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px 22px 18px; }
.citas p { font-style: italic; font-size: 1.22rem; line-height: 1.42; margin-bottom: 12px; }
.citas span { font-family: var(--display); font-weight: 700; font-size: .98rem; letter-spacing: .1em; text-transform: uppercase; color: var(--roig); }
.prensa { margin-top: 44px; border-top: 2px solid var(--ink); padding-top: 18px; }
.prensa-titulo { font-family: var(--display); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 1.02rem; margin-bottom: 10px; }
.prensa ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; }
.prensa a { display: block; padding: 10px 0; text-decoration: none; }
.prensa b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.45rem; line-height: 1; text-transform: uppercase; }
.prensa a span { display: block; margin-top: 4px; font-style: italic; font-size: .98rem; color: var(--ink-soft); }
.prensa a:hover b { color: var(--roig); }
@media (min-width: 860px) {
  .citas { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .prensa { display: flex; align-items: center; gap: 36px; }
  .prensa-titulo { margin: 0; flex: none; }
  .prensa ul { display: flex; flex-wrap: wrap; gap: 4px 40px; }
}

/* ---------- Visítanos ---------- */
.visita-grid { display: grid; gap: 40px; }
.visita address { font-style: normal; font-size: 1.28rem; line-height: 1.4; margin-bottom: 8px; }
.horario { width: 100%; border-collapse: collapse; margin: 24px 0 22px; }
.horario caption {
  text-align: left; padding-bottom: 8px;
  font-family: var(--display); font-weight: 800; font-size: 1.05rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--roig);
}
.horario th, .horario td { padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.horario tr:first-child th, .horario tr:first-child td { border-top: 2px solid var(--ink); }
.horario th { font-weight: 600; padding-right: 12px; }
.horario td { text-align: right; font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: .03em; line-height: 1.15; }
.horario td small { display: block; margin-top: 4px; font-family: var(--body); font-weight: 400; font-size: .9rem; letter-spacing: 0; color: var(--ink-soft); }
.horario tr.hoy th, .horario tr.hoy td { background: rgba(224, 123, 36, .16); }
.horario tr.hoy th { padding-left: 10px; }
.horario tr.hoy td { padding-right: 10px; }
.horario tr.hoy th::after {
  content: "Hoy";
  display: inline-block; margin-left: 8px; padding: 2px 7px 1px;
  font-family: var(--display); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); border-radius: 3px; vertical-align: 2px;
}
.contacto { list-style: none; margin: 0 0 22px; padding: 0; }
.contacto li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.contacto span { color: var(--ink-soft); }
.contacto a { font-weight: 600; overflow-wrap: anywhere; }
.pills { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li {
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 5px 13px 4px;
  font-family: var(--display); font-weight: 700; font-size: .98rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--card);
}
.visita-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.grupos { margin: 22px 0 0; font-style: italic; }

.mapa {
  position: relative;
  min-height: 380px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #EFE4D2;
  background-image:
    linear-gradient(rgba(36, 24, 15, .07) 2px, transparent 2px),
    linear-gradient(90deg, rgba(36, 24, 15, .07) 2px, transparent 2px),
    linear-gradient(28deg, transparent 47%, rgba(255, 255, 255, .7) 47%, rgba(255, 255, 255, .7) 53%, transparent 53%);
  background-size: 64px 64px, 64px 64px, 100% 100%;
}
.mapa-facade {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 12px;
  padding: 28px; text-align: center;
}
.mapa-mark { width: 74px; height: auto; filter: drop-shadow(3px 3px 0 rgba(36, 24, 15, .25)); }
.mapa-facade p { margin: 0; background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 12px 18px; }
.mapa-facade strong { display: block; font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; line-height: 1.05; }
.mapa-facade small { font-style: italic; color: var(--ink-soft); max-width: 30ch; }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 960px) {
  .visita-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: stretch; }
  .mapa { min-height: 560px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
.footer .mantel-fino { border-bottom: 2px solid var(--ink); }
.footer a { color: var(--paper); }
.footer a:hover { color: var(--mandarina); }
.footer-grid { display: grid; gap: 28px; padding-top: 48px; padding-bottom: 32px; }
.footer-logo { width: auto; height: 62px; background: var(--paper); padding: 9px 14px; border-radius: 4px; margin-bottom: 14px; }
.footer .footer-h { font-family: var(--display); font-weight: 800; font-size: 1.15rem; line-height: 1; letter-spacing: .12em; text-transform: uppercase; color: var(--mandarina); margin-bottom: 12px; }
.footer p { font-size: 1.02rem; color: rgba(245, 238, 226, .88); }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px;
  border-top: 1px solid rgba(245, 238, 226, .2); padding-top: 18px;
}
.footer-legal p { font-size: .92rem; margin: 0; color: rgba(245, 238, 226, .72); }
@media (min-width: 860px) {
  .footer { padding-bottom: 32px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-top: 60px; }
}

/* ---------- Barra fija móvil ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 40;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px;
  transform: translateY(150%);
  visibility: hidden;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .4s;
}
.sticky-cta.is-visible { transform: none; visibility: visible; transition: transform .4s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
.sticky-cta .btn { min-height: 54px; box-shadow: 3px 3px 0 var(--ink); }
.sticky-cta .btn-tinta { border-color: var(--ink); box-shadow: 3px 3px 0 rgba(36, 24, 15, .35); }
@media (min-width: 960px) { .sticky-cta { display: none; } }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- Página legal ---------- */
.legal { padding: clamp(48px, 8vw, 96px) 0; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.8rem, 9vw, 4.6rem); margin-bottom: 1.4rem; }
.legal h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin: 2.2rem 0 .8rem; }
.legal p, .legal li { font-size: 1.08rem; }
.pendiente { background: rgba(224, 123, 36, .22); padding: 0 .3em; border-radius: 3px; font-style: italic; }
