/* Cafetería Popular · hoja de estilos pública (rediseño 2026-11-20)
   Referencias elegidas por el fundador: milkbarstore.com y poilane.com.
   Fondo claro, foto real grande y rectangular, mayúsculas sobrias en Jost, botones rectangulares
   y el color reservado a detalles. Paleta de cafetería popular colombiana (tinto, achiote, hoja de café, panela).
   Paleta «Tinto y achiote», elegida por el fundador el 2026-11-20. Los colores pueden cambiarse desde el panel (tema). */

:root {
  /* Paleta A · Tinto y achiote */
  --bg: #faf4ea;          /* masa de arepa */
  --bg-2: #f2e6d4;        /* panela clara */
  --card: #fffdf8;
  --ink: #2b1b12;         /* tinto */
  --ink-soft: #6e5848;
  --hero-bg: #2b1b12;
  --hero-ink: #f6ecdc;
  --hero-soft: rgba(246, 236, 220, 0.74);
  --hero-float: #c99a63;  /* granos y tazas */
  --accent: #c2412d;      /* achiote */
  --accent-ink: #fff8ef;
  --verde: #3f5a3c;       /* hoja de café */
  --verde-ink: #f4ecdd;
  --panela: #c98b4b;
  --line: rgba(43, 27, 18, 0.14);
  --line-strong: rgba(43, 27, 18, 0.5);
  --strip-bg: #2b1b12;
  --strip-ink: #f6ecdc;
  --h-weight: 500;
  --h-track: 0.01em;

  --r: 6px;
  --header-h: 68px;
  --announce-h: 0px;
  --hero-overlay: 0.55;
  --f-head: 'Jost', 'Futura', 'Gill Sans', system-ui, sans-serif;
  --f-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-accent: 'Cormorant Garamond', Georgia, serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --gutter: 1.25rem;
}
/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--announce-h) + 72px); }
body { margin: 0; font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--f-head); font-weight: var(--h-weight); text-transform: uppercase; letter-spacing: var(--h-track); line-height: 1.02; }
p { text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.prewrap { white-space: pre-line; }
.container { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; }
.container-narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.etiqueta { font-weight: 600; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }

/* ---------- Botones: rectángulos sobrios ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.95rem 1.5rem; border-radius: 4px;
  border: 1px solid transparent; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2;
  text-decoration: none; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: var(--accent-ink); }
.btn-outline, .btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover, .btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.btn-wa { background: #1f8f55; color: #fff; }
.btn-wa:hover { background: #17703f; }

/* ---------- Cabecera ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--hero-ink); transition: color 0.3s; }
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; background: var(--bg); border-bottom: 1px solid var(--line); transition: opacity 0.3s; }
.site-header.is-scrolled, .site-header.nav-open { color: var(--ink); }
.site-header.is-scrolled::before, .site-header.nav-open::before { opacity: 1; }
.notices:empty { display: none; }
.notice { padding: 0.45rem 1rem; font-size: 0.76rem; font-weight: 500; letter-spacing: 0.04em; text-align: center; line-height: 1.35; }
.notice-draft { background: #7a2b18; color: #fff; }
.notice-promo { background: var(--strip-bg); color: var(--strip-ink); }
.notice-promo a { text-underline-offset: 3px; }
.site-header.is-scrolled .notice-draft { display: none; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-logo { width: auto; max-width: 200px; object-fit: contain; border-radius: 4px; }
.brand-name { display: block; font-family: var(--f-head); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.1; }
.brand-sub { display: block; font-size: 0.78rem; letter-spacing: 0.04em; opacity: 0.75; line-height: 1.2; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 46px; height: 46px; padding: 0 11px; background: none; border: 0; }
.nav-toggle span { display: block; height: 2px; background: currentColor; transition: transform 0.3s var(--ease); }
.nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Menú móvil a pantalla completa */
.site-nav {
  position: fixed; inset: calc(var(--header-h) + var(--announce-h)) 0 0 0; z-index: 40; display: flex; flex-direction: column;
  padding: 0.6rem 1.5rem calc(2rem + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; background: var(--bg); color: var(--ink);
  visibility: hidden; opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s;
}
.nav-open .site-nav { visibility: visible; opacity: 1; pointer-events: auto; transition-delay: 0s; }
.site-nav a:not(.nav-cta) {
  display: flex; align-items: center; justify-content: space-between; padding: 1.15rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-head); font-weight: var(--h-weight); font-size: 1.7rem; text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none;
}
.site-nav a:not(.nav-cta)::after { content: '→'; font-size: 1.1rem; color: var(--accent); }
.site-nav a[aria-current='page'] { color: var(--accent); }
.nav-cta { margin-top: auto; }
.nav-cta + .nav-cta { margin-top: 0.6rem; }
.nav-cta.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.nav-sub { margin-top: 1.2rem; text-align: center; font-size: 0.9rem; color: var(--ink-soft); }
html.nav-lock, html.nav-lock body { overflow: hidden; }

/* ---------- Portada ---------- */
.hero, .page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--hero-bg); color: var(--hero-ink); }
.hero { padding: calc(var(--header-h) + var(--announce-h) + 2.2rem) 0 2.8rem; }
.hero-inner { position: relative; z-index: 1; display: grid; gap: 2.2rem; align-items: center; }
.hero .etiqueta { color: var(--hero-float); margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.3rem, 9.4vw, 4.3rem); text-wrap: balance; }
.hero-lead { margin-top: 1.2rem; max-width: 38ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--hero-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.8rem 0 1.2rem; }
.hero .btn-primary { background: var(--hero-ink); color: var(--hero-bg); }
.hero .btn-primary:hover { background: var(--accent); color: var(--accent-ink); }
.hero .btn-ghost { border-color: var(--hero-soft); color: var(--hero-ink); }
.hero .btn-ghost:hover { background: var(--hero-ink); color: var(--hero-bg); border-color: var(--hero-ink); }
.status { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.92rem; color: inherit; opacity: 0.85; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--panela); flex: none; }
.status.is-open::before { background: #4caf74; box-shadow: 0 0 0 4px rgba(76, 175, 116, 0.2); }

/* Escaparate: dos fotos verticales */
.hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; align-items: start; }
.hero-foto { position: relative; display: block; overflow: hidden; border-radius: var(--r); text-decoration: none; background: rgba(0, 0, 0, 0.15); }
.hero-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1s var(--ease); }
.hero-foto:hover img { transform: scale(1.04); }
.hero-foto.hf2 { margin-top: 2.2rem; }
.hero-foto-tag { position: absolute; left: 0.6rem; bottom: 0.6rem; right: 0.6rem; display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.4rem 0.6rem; border-radius: 3px; background: var(--card); color: var(--ink); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.25; }
.hero-foto-tag b { color: var(--accent); white-space: nowrap; }
.hero.has-photo .hero-visual { display: none; }
.hero-photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero.has-photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #000; opacity: var(--hero-overlay); }

/* Granos y tazas flotando */
.beans { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bean { position: absolute; left: var(--x); bottom: -70px; width: calc(26px * var(--s, 1)); height: auto; color: var(--hero-float); opacity: 0; animation: flotar var(--d, 18s) linear var(--delay, 0s) infinite; }
@keyframes flotar {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  12% { opacity: 0.38; }
  80% { opacity: 0.22; }
  100% { transform: translateY(-900px) rotate(var(--r, 180deg)); opacity: 0; }
}

/* Cabecera de páginas interiores */
.page-hero { padding: calc(var(--header-h) + var(--announce-h) + 2.4rem) 0 2.6rem; }
.page-hero h1 { font-size: clamp(2.4rem, 9vw, 4.6rem); }
.page-hero p { margin-top: 0.9rem; max-width: 50ch; font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--hero-soft); }

/* ---------- Cinta ---------- */
.strip { overflow: hidden; background: var(--strip-bg); color: var(--strip-ink); padding: 0.75rem 0; }
.strip .container { width: 100%; }
.strip-list { display: flex; flex-wrap: wrap; justify-content: center; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.strip-list li { display: inline-flex; align-items: center; white-space: nowrap; }
.strip-list li::after { content: '•'; margin: 0 1.4rem; color: var(--accent); }
.strip-list:not(.is-marquee) li:last-child::after { content: none; }
.strip-list.is-marquee { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: cinta var(--marquee-s, 40s) linear infinite; }
@keyframes cinta { to { transform: translateX(-50%); } }
@media (max-width: 639px) { .strip-list:not(.is-marquee) { flex-direction: column; align-items: center; gap: 0.2rem; } .strip-list:not(.is-marquee) li::after { content: none; } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(3.6rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-2); }
.section-dark { background: var(--verde); color: var(--verde-ink); }
.section-head { max-width: 680px; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head h2, .menu-dia h2, .origen-texto h2, .visita h2 { font-size: clamp(2rem, 6vw, 3.4rem); text-wrap: balance; }
.section-head p { margin-top: 0.8rem; font-size: 1.08rem; color: var(--ink-soft); max-width: 54ch; }
.section-dark .section-head p { color: inherit; opacity: 0.8; }
.section-foot { margin-top: 2.2rem; }
.section-dark .btn-primary { background: var(--verde-ink); color: var(--verde); }
.section-dark .btn-ghost { border-color: rgba(255, 255, 255, 0.5); color: var(--verde-ink); }
.section-dark .btn { margin: 0 0.5rem 0.6rem 0; }

/* ---------- Menú del día ---------- */
.menu-dia { background: var(--bg-2); }
.menu-dia-inner { display: grid; gap: 2.4rem; align-items: center; }
.menu-dia .etiqueta { margin-bottom: 0.8rem; }
.menu-sub { margin-top: 0.8rem; color: var(--ink-soft); max-width: 46ch; }
.menu-precio { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.3rem 0.9rem; margin: 1.6rem 0; color: var(--ink-soft); font-weight: 500; }
.menu-precio-n { font-family: var(--f-head); font-weight: var(--h-weight); font-size: clamp(3rem, 8vw, 4.2rem); line-height: 1; color: var(--accent); }
.menu-pasos { counter-reset: paso; display: grid; margin-bottom: 1.8rem; border-top: 1px solid var(--line); }
.menu-pasos li { counter-increment: paso; display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 0.8rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.menu-pasos li::before { content: '0' counter(paso); grid-row: span 2; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; color: var(--accent); padding-top: 0.2rem; }
.menu-pasos strong { font-weight: 600; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; }
.menu-pasos span { color: var(--ink-soft); }
.menu-acciones { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.menu-dia-lado { display: grid; gap: 1.2rem; }
.foto-menu img { aspect-ratio: 4 / 3; }
.foto-menu .foto-orientativa { left: 0.7rem; bottom: 0.7rem; }
.menu-carnes { padding: 1.4rem 1.5rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.menu-carnes h3 { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.18em; margin-bottom: 0.8rem; }
.menu-carnes h3 span { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink-soft); }
.menu-carnes ul { display: grid; gap: 0.3rem 1.4rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.menu-carnes li { position: relative; padding-left: 1rem; }
.menu-carnes li::before { content: ''; position: absolute; left: 0; top: 0.68em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ---------- Platos ---------- */
.grid { display: grid; gap: 1.2rem; }
.dish { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.dish-media { position: relative; overflow: hidden; background: var(--bg-2); }
.dish-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.dish:hover .dish-media img { transform: scale(1.04); }
.dish-art { display: grid; place-items: center; color: var(--panela); }
.dish-art svg { width: 64px; height: 64px; }
.dish-body { display: flex; flex-direction: column; gap: 0.45rem; padding: 1.1rem 1.2rem 1.25rem; flex: 1; }
.dish-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.8rem; }
.dish-name { font-weight: 600; font-size: 0.95rem; letter-spacing: 0.1em; line-height: 1.3; }
.dish-leader { display: none; }
.dish-price { font-weight: 600; font-size: 1rem; color: var(--accent); white-space: nowrap; }
.dish-desc { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; }
.dish-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem; margin-top: auto; padding-top: 0.5rem; }
/* Etiquetas al estilo de las referencias: borde fino de color, sin relleno */
.badge { display: inline-block; padding: 0.12rem 0.5rem; border: 1px solid currentColor; border-radius: 2px; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.badge-star { color: var(--accent); }
.badge-soldout { color: var(--ink); background: var(--bg-2); }
.dish:not(.dish-list) .badge-star { position: absolute; top: 0.8rem; left: 0.8rem; z-index: 2; background: var(--card); }
.alergia-lbl { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-right: 0.1rem; }
.chip { display: inline-block; padding: 0.04rem 0.5rem; border-radius: 2px; background: var(--bg-2); font-size: 0.74rem; color: var(--ink-soft); }
.alergia-nota { font-size: 0.8rem; color: var(--ink-soft); font-style: italic; }
.foto-orientativa { position: absolute; left: 8px; bottom: 8px; z-index: 1; padding: 0.1rem 0.45rem; border-radius: 2px; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.06em; color: #fff; background: rgba(20, 12, 8, 0.6); white-space: nowrap; }
.dish.is-soldout { opacity: 0.6; }
.dish.is-soldout .dish-name { text-decoration: line-through; }
.dish:not(.dish-list) .dish-media { aspect-ratio: 1; }

/* Carta: miniatura cuadrada (sin recortes raros), texto al lado, alérgenos debajo */
.dish-list { --thumb: 96px; display: grid; grid-template-columns: var(--thumb) minmax(0, 1fr); align-items: start; column-gap: 1rem; padding: 0.9rem; }
.dish-list .dish-media { grid-column: 1; grid-row: 1; width: var(--thumb); height: var(--thumb); border-radius: 4px; }
.dish-list .dish-body { grid-column: 2; grid-row: 1; padding: 0.1rem 0 0; min-width: 0; gap: 0.3rem; }
.dish-list.no-media .dish-body { grid-column: 1 / -1; }
.dish-list .dish-meta { grid-column: 1 / -1; grid-row: 2; margin-top: 0.75rem; padding-top: 0.6rem; border-top: 1px solid var(--line); }
.dish-list .foto-orientativa { left: 4px; bottom: 4px; font-size: 0.52rem; padding: 0.04rem 0.3rem; }
.dish-list .dish-meta .badge-star { margin-right: 0.3rem; }
@media (min-width: 560px) { .dish-list { --thumb: 112px; padding: 1rem; column-gap: 1.2rem; } }
@media (max-width: 380px) { .dish-list { --thumb: 80px; column-gap: 0.8rem; } }

/* ---------- Promociones ---------- */
.promo { position: relative; padding: 1.6rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.promo h3 { font-size: 1.3rem; margin: 0.6rem 0 0.5rem; }
.promo p { color: var(--ink-soft); }
.promo-tag { display: inline-block; padding: 0.12rem 0.5rem; border: 1px solid var(--accent); border-radius: 2px; color: var(--accent); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.promo-price { margin-top: 0.8rem; font-weight: 600; font-size: 1.6rem; color: var(--accent) !important; }
.promo-until { margin-top: 0.4rem; font-size: 0.85rem; }

/* ---------- Origen (bloque verde hoja de café) ---------- */
#origen { background: var(--verde); color: var(--verde-ink); }
.origen { display: grid; gap: 2.2rem; grid-template-areas: 'texto' 'foto' 'ing'; }
.origen-texto { grid-area: texto; }
.origen-texto p { margin-top: 1rem; opacity: 0.85; font-size: 1.08rem; max-width: 48ch; }
.ing-lista { grid-area: ing; display: grid; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.ing { padding: 1.2rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 0.8rem; }
.ing-n { grid-row: span 2; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; padding-top: 0.15rem; opacity: 0.7; }
.ing h3 { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.16em; margin-bottom: 0.3rem; }
.ing p { opacity: 0.82; }
.foto { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--bg-2); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto-origen { grid-area: foto; }
.foto-origen img { aspect-ratio: 4 / 3; }

/* ---------- Galería ---------- */
.galeria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; grid-auto-flow: dense; }
.galeria-item { position: relative; padding: 0; border: 0; overflow: hidden; border-radius: var(--r); background: var(--bg-2); aspect-ratio: 1; cursor: zoom-in; }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.galeria-item:hover img { transform: scale(1.04); }

/* ---------- Reseñas ---------- */
.resena { padding: 1.6rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.estrellas { color: var(--accent); letter-spacing: 0.12em; margin-bottom: 0.6rem; }
.resena blockquote { font-size: 1.05rem; margin-bottom: 0.9rem; }
.resena figcaption { font-size: 0.88rem; color: var(--ink-soft); }
#resenas { padding-block: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
#resenas .section-head { margin-bottom: 1.4rem; }
.resenas-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.resenas-cta p { font-size: 1.1rem; flex: 1 1 280px; }

/* ---------- Visítanos ---------- */
#visita { background: var(--bg-2); }
.visita { display: grid; gap: 2.2rem; align-items: start; }
.visita h2 { margin-bottom: 1.4rem; }
.dato { margin-bottom: 1.1rem; }
.dato dt { font-weight: 600; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.15rem; }
.dato dd { font-size: 1.1rem; }
.dato a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.dato a:hover { color: var(--accent); border-color: var(--accent); }
.foto-visita { margin-bottom: 1.4rem; }
.foto-visita img { aspect-ratio: 4 / 3; }
.horario-card { padding: 1.5rem 1.6rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.horario-tit { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.18em; margin-bottom: 0.4rem; }
.horas-resumen li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.horas-resumen li.hoy { color: var(--accent); font-weight: 600; }
.horas-resumen em { margin-left: 0.5rem; padding: 0.04rem 0.4rem; border: 1px solid currentColor; border-radius: 2px; font-style: normal; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; vertical-align: 2px; }
.horario-card .status { margin-top: 1rem; }

/* ---------- Carta ---------- */
.carta-bar { position: sticky; top: calc(var(--header-h) + var(--announce-h)); z-index: 20; padding: 0.6rem 0; background: var(--bg); border-bottom: 1px solid var(--line); transition: box-shadow 0.3s; }
.carta-bar.is-stuck { box-shadow: 0 10px 20px -16px rgba(43, 27, 18, 0.5); }
.tablist {
  --fl: 0px; --fr: 0px; display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  margin-inline: calc(-1 * var(--gutter)); padding: 0.15rem var(--gutter); scroll-padding-inline: var(--gutter);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%);
}
.tablist::-webkit-scrollbar { display: none; }
.tab { flex: none; scroll-snap-align: center; padding: 0.6rem 1rem; border: 1px solid var(--line); border-radius: 4px; background: var(--card); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.tab:hover { border-color: var(--ink); }
.tab[aria-selected='true'] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.carta-cuerpo { padding: 1.8rem 0 4rem; min-height: 50vh; }
.carta-tools { margin-bottom: 1.1rem; }
.buscar-wrap { position: relative; }
.buscar-wrap::before {
  content: ''; position: absolute; left: 1rem; top: 50%; width: 17px; height: 17px; margin-top: -8.5px; pointer-events: none; opacity: 0.6;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b1b12' stroke-width='2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M20 20l-3.5-3.5'/></svg>") center / contain no-repeat;
}
.buscar { width: 100%; padding: 0.8rem 1rem 0.8rem 2.7rem; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--card); }
.buscar:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.aviso, .nota-alergenos { position: relative; display: block; padding: 0.9rem 1rem 0.9rem 2.5rem; margin-bottom: 1.6rem; border-radius: 4px; border-left: 3px solid var(--accent); background: var(--bg-2); font-size: 0.93rem; line-height: 1.55; color: var(--ink-soft); }
.nota-alergenos > span { position: absolute; left: 0.95rem; top: 0.9rem; color: var(--accent); }
.nota-alergenos strong { color: var(--ink); font-weight: 600; }
.nota-alergenos a, .aviso a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }
.cat-head { margin-bottom: 1.2rem; }
.cat-head h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
.cat-head p { margin-top: 0.3rem; color: var(--ink-soft); }
.cat-bloque { scroll-margin-top: 7rem; }
.cat-bloque + .cat-bloque { margin-top: 2.8rem; padding-top: 2.4rem; border-top: 1px solid var(--line); }
.estrella { margin-bottom: 3rem; }
.vacio { padding: 2.4rem 1rem; text-align: center; font-size: 1.15rem; color: var(--ink-soft); }
.alergenos-info { margin-top: 2.8rem; border-radius: 4px; border: 1px solid var(--line); background: var(--card); }
.alergenos-info summary { padding: 1rem 1.2rem; font-weight: 600; cursor: pointer; }
.alergenos-info > div { padding: 0 1.2rem 1.2rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.alergenos-info p { width: 100%; font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0.4rem; }
#alergenos-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }

/* ---------- Nosotros ---------- */
.nos-layout { display: grid; gap: 2rem; }
.nos-layout:not(.has-foto) { width: min(100% - 2 * var(--gutter), 760px); }
.historia p { font-size: 1.12rem; line-height: 1.75; color: var(--ink-soft); }
.historia p + p { margin-top: 1.2rem; }
.historia p:first-child { font-size: clamp(1.3rem, 2.6vw, 1.6rem); line-height: 1.45; color: var(--ink); }
.cita { margin: 2.2rem 0; padding-left: 1.2rem; border-left: 2px solid var(--accent); font-family: var(--f-accent); font-style: italic; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.3; }
.firma { margin-top: 1.8rem; font-family: var(--f-accent); font-style: italic; font-size: 1.6rem; color: var(--accent); }
.foto-nosotros img { aspect-ratio: 4 / 5; }
.valores { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; counter-reset: valor; }
.valor { counter-increment: valor; padding: 1.6rem; background: var(--card); }
.valor::before { content: '0' counter(valor); display: block; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.8rem; }
.valor h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: 0.12em; margin-bottom: 0.4rem; }
.valor p { color: var(--ink-soft); }

/* ---------- Contacto ---------- */
.contacto-grid { display: grid; gap: 1.2rem; }
.contacto-col { display: grid; gap: 1.2rem; align-content: start; }
.panel { padding: 1.6rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.panel h2 { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.18em; margin-bottom: 1rem; }
.panel > p { color: var(--ink-soft); }
.tel-lista { display: grid; gap: 0.3rem; margin-bottom: 0.9rem; }
.tel-lista a { font-family: var(--f-head); font-weight: var(--h-weight); font-size: 1.8rem; letter-spacing: 0.02em; text-decoration: none; }
.tel-lista a:hover { color: var(--accent); }
.panel .status { margin-bottom: 0.8rem; }
.tabla-horas { width: 100%; border-collapse: collapse; }
.tabla-horas th, .tabla-horas td { padding: 0.6rem 0; text-align: left; border-bottom: 1px solid var(--line); font-weight: 400; }
.tabla-horas td { text-align: right; }
.tabla-horas tr.hoy th, .tabla-horas tr.hoy td { color: var(--accent); font-weight: 600; }
.mapa { position: relative; overflow: hidden; aspect-ratio: 4 / 3; min-height: 320px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); }
.mapa iframe { width: 100%; height: 100%; border: 0; }
.mapa-aviso { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.8rem; padding: 1.2rem; text-align: center; background: repeating-linear-gradient(45deg, rgba(43, 27, 18, 0.04) 0 2px, transparent 2px 22px), var(--bg-2); }
.mapa-pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; background: var(--accent); transform: rotate(-45deg); }
.mapa-pin::after { content: ''; display: block; width: 10px; height: 10px; margin: 10px; border-radius: 50%; background: var(--card); }
.mapa-dir { font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.95rem; }
.mapa-link { font-size: 0.9rem; font-weight: 600; color: var(--accent); text-underline-offset: 3px; }
.mapa-nota { max-width: 34ch; font-size: 0.8rem; color: var(--ink-soft); }
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; }
.form input, .form select, .form textarea { width: 100%; padding: 0.8rem 0.9rem; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--bg); font-size: 1rem; letter-spacing: 0; text-transform: none; font-weight: 400; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form-nota { font-size: 0.86rem; color: var(--ink-soft); }
.form-estado { min-height: 1.3em; font-size: 0.92rem; color: var(--accent); }

/* ---------- Legal ---------- */
.legal-doc { color: var(--ink-soft); }
.legal-doc h2 { font-size: clamp(1.4rem, 3.4vw, 1.8rem); color: var(--ink); margin: 2.8rem 0 0.9rem; scroll-margin-top: calc(var(--header-h) + var(--announce-h) + 1rem); }
.legal-doc h2:first-of-type { margin-top: 1.8rem; }
.legal-doc p + p { margin-top: 0.8rem; }
.legal-doc strong { color: var(--ink); }
.legal-doc a { color: var(--accent); text-underline-offset: 3px; }
.legal-indice { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.legal-indice a { padding: 0.45rem 0.9rem; border: 1px solid var(--line-strong); border-radius: 4px; text-decoration: none; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.legal-indice a:hover { background: var(--ink); color: var(--bg); }
.legal-datos { display: grid; gap: 0.35rem; margin: 1rem 0 1.2rem; padding: 1.1rem 1.3rem; border-radius: 4px; background: var(--card); border: 1px solid var(--line); }
.legal-datos > div { display: grid; grid-template-columns: minmax(5.2rem, 7.5rem) 1fr; gap: 0.6rem; }
.legal-datos dt { font-weight: 600; }
.legal-datos dd { color: var(--ink); }
.creditos { display: grid; gap: 0.55rem; margin-top: 1rem; font-size: 0.86rem; }
.creditos li { padding-left: 0.9rem; border-left: 2px solid var(--line); }
.creditos-nota { margin-top: 1.2rem; font-size: 0.86rem; }
.hero-404 { min-height: 80vh; display: flex; align-items: center; }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: rgba(255, 248, 238, 0.75); padding: 3.6rem 0 6.5rem; }
.footer-grid { display: grid; gap: 2.2rem; }
.site-footer h2 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; color: #fff8ee; margin-bottom: 0.8rem; }
.site-footer a { text-decoration: none; border-bottom: 1px solid rgba(255, 248, 238, 0.25); }
.site-footer a:hover { color: #fff; border-color: #fff; }
.site-footer li { margin-bottom: 0.3rem; }
.footer-logo { height: 48px; width: auto; max-width: 200px; object-fit: contain; border-radius: 4px; margin-bottom: 0.9rem; }
.footer-brand { font-family: var(--f-head); font-weight: 600; font-size: 1.3rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff8ee; margin-bottom: 0.5rem; }
.legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 248, 238, 0.15); font-size: 0.84rem; }

/* ---------- Botones flotantes ---------- */
.wa-float { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 45; display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.85rem; border-radius: 999px; background: #1f8f55; color: #fff; font-weight: 600; font-size: 0.88rem; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); }
.wa-float:hover { background: #17703f; }
.wa-float svg { width: 22px; height: 22px; }
.wa-float span { display: none; }
.to-top { position: fixed; left: max(1rem, env(safe-area-inset-left)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 44; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 4px; border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity 0.3s, transform 0.3s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); color: var(--bg); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; border: 0; padding: 0; background: transparent; color: #fff; }
.lightbox::backdrop { background: rgba(20, 12, 8, 0.94); }
.lightbox[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; justify-items: center; }
.lightbox figure { display: grid; gap: 0.8rem; justify-items: center; max-width: 100%; }
.lightbox img { max-width: min(88vw, 1200px); max-height: 80vh; border-radius: 4px; }
.lightbox-cap { font-size: 0.95rem; letter-spacing: 0.04em; text-align: center; min-height: 1.4em; opacity: 0.85; }
.lightbox-nav, .lightbox-x { width: 46px; height: 46px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.4); background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; }
.lightbox-nav:hover, .lightbox-x:hover { background: #fff; color: #000; }
.lightbox-x { position: absolute; top: 1rem; right: 1rem; }
.lightbox-prev { margin-left: 0.8rem; }
.lightbox-next { margin-right: 0.8rem; }

/* ---------- Aparición suave ---------- */
@keyframes subir { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js-reveal .reveal:not(.in) { opacity: 0; }
.js-reveal .reveal.in { animation: subir 0.8s var(--ease) backwards; }
.hero-copy > *, .page-hero h1, .page-hero p { animation: subir 0.8s var(--ease) backwards; }
.hero-copy > :nth-child(2) { animation-delay: 0.06s; } .hero-copy > :nth-child(3) { animation-delay: 0.12s; } .hero-copy > :nth-child(4) { animation-delay: 0.18s; } .hero-copy > :nth-child(5) { animation-delay: 0.24s; }
.hero-foto { animation: subir 1s var(--ease) 0.2s backwards; }
.hero-foto.hf2 { animation-delay: 0.35s; }
.is-preview [data-edit] { cursor: pointer; }
.is-preview [data-edit]:hover { outline: 2px dashed var(--accent); outline-offset: 4px; }
.is-preview .hero-copy > *, .is-preview .reveal, .is-preview .hero-foto { animation: none; }

/* ---------- Móvil ---------- */
@media (max-width: 639px) {
  .notice { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #destacados-grid, .estrella .grid, #promos-grid {
    display: flex; gap: 0.8rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding: 0.2rem var(--gutter) 0.8rem; scroll-padding-inline: var(--gutter);
  }
  #destacados-grid::-webkit-scrollbar, .estrella .grid::-webkit-scrollbar, #promos-grid::-webkit-scrollbar { display: none; }
  #destacados-grid > *, .estrella .grid > *, #promos-grid > * { flex: 0 0 76%; scroll-snap-align: start; }
}

/* ---------- Tableta y escritorio ---------- */
@media (min-width: 640px) {
  :root { --gutter: 2rem; }
  .wa-float { padding: 0.8rem 1.15rem; }
  .wa-float span { display: inline; }
  .grid-2, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .valores { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .galeria { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
  .buscar-wrap { max-width: 420px; }
  .tablist { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0.5rem; }
}
@media (min-width: 900px) {
  :root { --header-h: 80px; }
  .nav-toggle { display: none; }
  .site-nav { position: static; flex-direction: row; align-items: center; gap: 2.2rem; padding: 0; overflow: visible; background: none; color: inherit; visibility: visible; opacity: 1; pointer-events: auto; transition: none; }
  .site-nav a:not(.nav-cta) { display: inline-block; position: relative; padding: 0.3rem 0; border: 0; font-family: var(--f-body); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.18em; }
  .site-nav a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
  .site-nav a:not(.nav-cta):hover::after, .site-nav a[aria-current='page']::after { transform: scaleX(1); }
  .site-nav a[aria-current='page'] { color: inherit; }
  .nav-cta, .nav-sub { display: none; }

  .hero { min-height: min(88vh, 820px); display: flex; align-items: center; padding: calc(var(--header-h) + var(--announce-h) + 2.6rem) 0 4rem; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
  .hero h1 { font-size: clamp(2.9rem, 4.1vw, 4.3rem); }
  .hero-visual { gap: 1rem; }
  .hero-foto.hf2 { margin-top: 4rem; }
  .hero-foto-tag { font-size: 0.74rem; }

  .page-hero { padding: calc(var(--header-h) + var(--announce-h) + 3.4rem) 0 3.4rem; }
  .page-hero .container { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); align-items: end; gap: 1rem 4rem; }
  .page-hero p { margin: 0 0 0.4rem; justify-self: end; text-align: right; }

  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid { gap: 1.4rem; }
  .menu-dia-inner { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .origen { grid-template-columns: 1fr 1fr; grid-template-areas: 'foto texto' 'foto ing'; column-gap: 4.5rem; row-gap: 2rem; align-items: start; }
  .foto-origen { align-self: stretch; }
  .foto-origen img { aspect-ratio: auto; min-height: 100%; }
  .galeria { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .galeria-item:nth-child(7n + 1) { grid-column: span 2; grid-row: span 2; }
  .visita { grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
  .contacto-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .nos-layout.has-foto { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .site-footer { padding-bottom: 4rem; }
}

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

/* Con «reducir movimiento» los granos y tazas se quedan quietos, repartidos como decoración */
@media (prefers-reduced-motion: reduce) {
  .beans { display: block; }
  .bean { top: var(--y, 50%); bottom: auto; opacity: 0.22; transform: rotate(var(--r, 0deg)); }
}

/* Carta en móvil: nombres algo más compactos para que no ocupen tres líneas */
@media (max-width: 559px) { .dish-list .dish-name { font-size: 0.88rem; letter-spacing: 0.05em; } .dish-list .dish-price { font-size: 0.95rem; } }

/* =====================================================================
   Mejora 2026-11-29 (paso a cafeteriapopular.com)
   Misma identidad «Tinto y achiote»; más oficio: datos útiles arriba,
   tarjetas de portada limpias, índice de la carta y barra de acciones en el móvil.
   ===================================================================== */

/* Portada: datos prácticos bajo los botones */
.hero-datos { display: grid; margin-top: 0.4rem; border-top: 1px solid rgba(246, 236, 220, 0.18); max-width: 560px; }
.hero-datos li { display: grid; grid-template-columns: 5.2rem 1fr; align-items: baseline; gap: 0.8rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(246, 236, 220, 0.18); font-size: 0.95rem; }
.hd-k { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--hero-float); }
.hero-datos a { color: var(--hero-ink); text-decoration: none; border-bottom: 1px solid rgba(246, 236, 220, 0.3); }
.hero-datos a:hover { border-color: var(--hero-ink); }
.hero-datos .status { opacity: 1; font-size: inherit; }
.hero-actions { margin-bottom: 1.6rem; }
@media (max-width: 639px) {
  .hero { padding-bottom: 2.2rem; }
  .hero h1 { font-size: clamp(2.05rem, 8.6vw, 2.6rem); }
  .hero .etiqueta { font-size: 0.66rem; letter-spacing: 0.18em; }
  .hero-lead { font-size: 1rem; margin-top: 0.9rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; margin: 1.4rem 0 1.2rem; }
  .hero-actions .btn { padding-inline: 0.6rem; }
  .hero-visual { grid-template-columns: 1.15fr 1fr; }
  .hero-foto.hf2 { margin-top: 1.6rem; }
  .hero-foto-tag { font-size: 0.62rem; letter-spacing: 0.06em; padding: 0.35rem 0.45rem; }
}
@media (min-width: 640px) { .hero-datos li { grid-template-columns: 6rem 1fr; } }

/* Destacados de portada: foto grande, nombre y precio con filete, sin caja */
.dish-home { display: flex; flex-direction: column; background: none; border: 0; border-radius: 0; text-decoration: none; color: inherit; overflow: visible; }
.dish-home .dish-media { aspect-ratio: 4 / 5 !important; border-radius: var(--r); }
.dish-home .dish-body { padding: 1rem 0 0; gap: 0.4rem; }
.dish-home .dish-head { padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.dish-home .dish-name { font-size: 0.98rem; letter-spacing: 0.12em; text-transform: uppercase; }
.dish-home .dish-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish-cat { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.dish-home:hover .dish-name { color: var(--accent); }
.dish-home:focus-visible { outline-offset: 6px; }
.link-flecha { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 0.25rem; }
.link-flecha::after { content: '→'; color: var(--accent); transition: transform 0.25s var(--ease); }
.link-flecha:hover { color: var(--accent); border-color: var(--accent); }
.link-flecha:hover::after { transform: translateX(4px); }
#destacados .section-head { display: grid; gap: 0.6rem; }
@media (min-width: 900px) {
  #destacados .section-head { max-width: none; grid-template-columns: 1fr 1fr; align-items: end; column-gap: 4rem; }
  #destacados .section-head p { margin: 0 0 0.3rem; justify-self: end; text-align: right; }
}

/* Índice de la carta */
#carta-indice { border-top: 1px solid var(--line); }
.indice { display: grid; gap: 2rem; }
.indice-head .etiqueta { margin-bottom: 0.8rem; }
.indice-head h2 { font-size: clamp(2rem, 6vw, 3.4rem); text-wrap: balance; }
.indice-head p { margin: 0.9rem 0 1.6rem; color: var(--ink-soft); max-width: 36ch; }
.indice-lista { border-top: 1px solid var(--line-strong); }
.indice-lista a {
  display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; grid-template-areas: 'n txt flecha' 'n meta flecha'; align-items: center; column-gap: 0.8rem; row-gap: 0.3rem;
  padding: 1.1rem 0.2rem; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color 0.25s, padding 0.25s var(--ease);
}
.ix-n { grid-area: n; align-self: start; padding-top: 0.25rem; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; color: var(--accent); }
.ix-txt { grid-area: txt; display: grid; gap: 0.15rem; min-width: 0; }
.ix-nombre { font-weight: 500; font-size: clamp(1.12rem, 2.6vw, 1.55rem); letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.15; }
.ix-desc { font-size: 0.92rem; color: var(--ink-soft); }
.ix-meta { grid-area: meta; display: flex; gap: 0.9rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.ix-desde { color: var(--accent); }
.ix-flecha { grid-area: flecha; font-size: 1.2rem; color: var(--accent); transition: transform 0.25s var(--ease); }
.indice-lista a:hover { background: var(--card); padding-inline: 0.9rem; }
.indice-lista a:hover .ix-flecha { transform: translateX(5px); }
@media (min-width: 640px) {
  .indice-lista a { grid-template-columns: 2.6rem minmax(0, 1fr) auto auto; grid-template-areas: 'n txt meta flecha'; column-gap: 1.4rem; padding-block: 1.3rem; }
  .ix-meta { flex-direction: column; align-items: flex-end; gap: 0.2rem; text-align: right; }
}
@media (min-width: 900px) {
  .indice { grid-template-columns: 0.8fr 1.2fr; gap: 4.5rem; align-items: start; }
  .indice-head { position: sticky; top: calc(var(--header-h) + var(--announce-h) + 2rem); }
}

/* Visítanos */
.visita-acciones { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.visita-resena { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--ink-soft); max-width: 46ch; }
.visita-resena a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }

/* Barra de acciones del móvil: llamar, pedir por WhatsApp y cómo llegar */
.barra-movil { display: none; }
@media (max-width: 899px) {
  .barra-movil {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 46; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    padding-bottom: env(safe-area-inset-bottom); background: var(--hero-bg); color: var(--hero-ink); border-top: 1px solid rgba(246, 236, 220, 0.12);
  }
  .barra-movil a { display: flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 56px; white-space: nowrap; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
  .barra-movil a + a { border-left: 1px solid rgba(246, 236, 220, 0.12); }
  .barra-movil svg { width: 19px; height: 19px; flex: none; }
  .barra-movil .bm-wa { background: var(--accent); color: var(--accent-ink); }
  body.has-barra { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  body.has-barra .wa-float { display: none; }
  body.has-barra .to-top { display: none; }
  body.has-barra .site-footer { padding-bottom: 3rem; }
  html.nav-lock .barra-movil { display: none; }
}

@media (min-width: 640px) { .dish-home .dish-media { aspect-ratio: 1 !important; } }
@media (min-width: 900px) {
  .hero h1 { font-size: clamp(2.6rem, 3.5vw, 3.9rem); }
  .hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .hero-actions { margin: 1.6rem 0 1.4rem; }
}
