/* =============================================================
   La Norteñita · Comida criolla — styles.css
   Arquetipo: Editorial (verde botella, dorado y marfil)
   1. Tokens  2. Reset  3. Utilities  4. Typography  5. Components
   6. Sections  7. Floating (WhatsApp, chat, barra móvil)  8. Effects
   9. Responsive  10. Reduced motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --paper:     #F6F1E7;   /* marfil */
  --paper-2:   #EAE7DB;   /* salvia clara */
  --card:      #FFFDF8;
  --ink:       #17241D;   /* verde casi negro */
  --ink-soft:  #3B4A41;
  --mute:      #6B746C;
  --brand:     #1E4D3B;   /* verde botella */
  --brand-2:   #143A2C;
  --deep:      #12221A;   /* fondos oscuros */
  --deepest:   #0D1913;
  --gold:      #C9A04E;   /* dorado sobre oscuro y botones */
  --gold-2:    #B68B39;
  --gold-ink:  #8A6626;   /* dorado legible sobre claro */
  --gold-soft: #F0E5C9;
  --ivory:     #F6F1E7;
  --wa:        #1FA855;
  --wa-2:      #168A44;
  --open:      #3CC173;
  --line:      rgba(23, 36, 29, .13);
  --line-2:    rgba(23, 36, 29, .22);
  --line-dark: rgba(246, 241, 231, .14);

  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans:    "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --radius-sm: 14px;
  --nav-h: 72px;
  --shadow: 0 1px 2px rgba(23, 36, 29, .06), 0 12px 32px -12px rgba(23, 36, 29, .22);
  --shadow-lg: 0 2px 4px rgba(23, 36, 29, .06), 0 30px 60px -20px rgba(18, 34, 26, .4);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================================
   2. Reset
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; line-height: 1.04; letter-spacing: -0.01em; }
::selection { background: var(--brand); color: var(--ivory); }
:focus-visible { outline: 2.5px solid var(--gold-ink); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--max); 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-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; border-radius: 10px;
  background: var(--gold); color: var(--deep); font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   4. Typography
   ============================================================= */
.kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-ink);
}
.kicker::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
  margin-top: .9rem;
}
.section-title em { font-style: italic; color: var(--brand); }
.section-lead { margin-top: 1.2rem; max-width: 58ch; font-size: 1.12rem; color: var(--ink-soft); }
.section-head { max-width: 780px; }
.serif-note { font-family: var(--display); font-style: italic; font-weight: 400; }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.55rem; border-radius: 999px;
  font-weight: 700; font-size: .98rem; line-height: 1.1; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease-out), background-color .25s, color .25s, box-shadow .35s var(--ease-out), border-color .25s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--brand); color: var(--ivory); box-shadow: 0 10px 24px -12px rgba(30, 77, 59, .75); }
.btn-primary:hover { background: var(--brand-2); box-shadow: 0 16px 30px -12px rgba(20, 58, 44, .8); }
.btn-gold { background: var(--gold); color: var(--deep); box-shadow: 0 10px 26px -12px rgba(201, 160, 78, .7); }
.btn-gold:hover { background: #D6AE5C; box-shadow: 0 16px 32px -12px rgba(201, 160, 78, .8); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }
.btn-wa { background: var(--wa); color: #FFFDF8; box-shadow: 0 10px 24px -12px rgba(31, 168, 85, .7); }
.btn-wa:hover { background: var(--wa-2); }
.btn-sm { padding: .62rem 1.05rem; font-size: .9rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; color: var(--gold);
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
  transition: gap .3s var(--ease-out);
}
.link-arrow:hover { gap: .85rem; }

.status-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: var(--gold);
}
.is-open .status-dot { background: var(--open); box-shadow: 0 0 0 0 rgba(60, 193, 115, .6); animation: pulseDot 2.4s infinite; }
.is-closed .status-dot { background: #E2553F; }
.is-soon .status-dot { background: var(--gold); }

/* =============================================================
   6. Sections
   ============================================================= */

/* ---------- Topbar ---------- */
.topbar { background: var(--deepest); color: var(--ivory); font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar-status { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; color: rgba(246, 241, 231, .9); }
.topbar-extra { display: none; color: rgba(246, 241, 231, .6); }
.topbar-extra a { color: var(--gold); font-weight: 700; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(18, 34, 26, .96);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow .3s, background-color .3s;
}
@supports (backdrop-filter: blur(12px)) {
  .nav { background: rgba(18, 34, 26, .95); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.nav.is-scrolled { box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .55); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ivory); }
.brand-mark { width: 26px; height: 32px; color: var(--gold); }
.brand-name { font-family: var(--display); font-size: 1.55rem; line-height: 1; letter-spacing: -.01em; }
.nav-links { display: none; gap: 2rem; margin-left: auto; font-weight: 600; font-size: .95rem; }
.nav-links a { position: relative; padding-block: .3rem; color: rgba(246, 241, 231, .72); transition: color .25s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.is-active { color: var(--ivory); }
.nav-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.nav-actions .btn-wa, .nav-call { display: none; }
.nav .btn-ghost { border-color: rgba(246, 241, 231, .4); color: var(--ivory); }
.nav .btn-ghost:hover { background: var(--ivory); border-color: var(--ivory); color: var(--deep); }
.nav-toggle { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: var(--ivory); border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { display: none; }
.nav-mobile.is-open {
  display: flex; flex-direction: column;
  padding: .5rem var(--gutter) 1.5rem;
  border-top: 1px solid var(--line-dark);
  background: var(--deep);
}
.nav-mobile a {
  padding: .95rem 0; border-bottom: 1px solid var(--line-dark);
  font-family: var(--display); font-size: 1.5rem; color: var(--ivory);
}
.nav-mobile a:last-child { border-bottom: 0; font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--deep); color: var(--ivory);
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem);
}
.hero::before {
  /* halo dorado detrás de la foto */
  content: ""; position: absolute;
  width: min(80vw, 760px); aspect-ratio: 1; right: -14%; top: -4%;
  background: radial-gradient(circle, rgba(201, 160, 78, .2) 0%, rgba(201, 160, 78, 0) 62%);
  pointer-events: none;
}
.hero::after {
  /* textura muy sutil de líneas finas */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(90deg, rgba(246, 241, 231, .035) 1px, transparent 1px);
  background-size: 80px 100%;
}
.hero .container { position: relative; z-index: 1; }
.hero .kicker { color: var(--gold); }
.hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.hero-title {
  font-family: var(--display);
  font-size: clamp(2.9rem, 8.4vw, 5.9rem);
  line-height: .98; letter-spacing: -.02em;
  margin-top: 1.1rem; max-width: 12ch;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub { margin-top: 1.4rem; max-width: 44ch; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(246, 241, 231, .76); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 1.2rem 2rem;
  margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark);
}
.hero-facts li { display: flex; flex-direction: column; gap: .15rem; }
.hero-facts strong { font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1.1; }
.hero-facts li > span { font-size: .9rem; color: rgba(246, 241, 231, .58); }
.hero-facts .star { color: var(--gold); font-size: 1.1rem; }

.hero-visual { position: relative; padding: 0 0 12% 0; max-width: 560px; width: 100%; margin-inline: auto; }
.hero-arch {
  position: relative; width: 80%; margin-left: auto;
  aspect-ratio: 4 / 5;
}
.hero-arch::before {
  /* contorno del arco, guiño a las portadas coloniales del Rímac */
  content: ""; position: absolute; inset: -14px;
  border: 1px solid var(--gold); border-radius: 999px 999px 30px 30px; opacity: .6;
}
.hero-arch img {
  position: relative; width: 100%; height: 100%; object-fit: cover;
  border-radius: 999px 999px 22px 22px;
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .7);
}
.hero-plate {
  position: absolute; left: 0; bottom: 0; width: 44%; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden;
  border: 8px solid var(--deep); box-shadow: 0 0 0 1px rgba(201, 160, 78, .5), 0 24px 50px -20px rgba(0, 0, 0, .7);
}
.hero-plate img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero-stamp {
  position: absolute; left: 2%; top: 4%;
  width: clamp(110px, 26%, 148px); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--gold); color: var(--deep);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .7);
}
.hero-stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.hero-stamp text { font-family: var(--sans); font-size: 15px; font-weight: 800; letter-spacing: 2.4px; fill: var(--deep); }
.hero-stamp-core { position: relative; text-align: center; font-size: .62rem; line-height: 1.1; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.hero-stamp-core b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.15rem; line-height: 1.05; text-transform: none; letter-spacing: 0; color: var(--brand-2); margin-block: .1rem; }
.hero-note {
  display: none;
  position: absolute; right: -2%; bottom: 3%;
  font-family: var(--display); font-style: italic; font-size: clamp(1.1rem, 1.9vw, 1.35rem); line-height: 1.15;
  color: var(--gold); text-align: right;
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--gold); color: var(--deep);
  overflow: hidden; padding-block: .95rem;
}
.ticker-track {
  display: flex; align-items: center; gap: 1.6rem; width: max-content;
  font-family: var(--display); font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.85rem); white-space: nowrap;
  animation: ticker 48s linear infinite;
}
.ticker-track i { font-style: normal; color: var(--brand); font-size: .75em; }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- Secciones genéricas ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); position: relative; }

/* ---------- Carta ---------- */
.dishes { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 3.75rem); }
.dish {
  --rx: 0deg; --ry: 0deg; --lift: 0px;
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), opacity .8s var(--ease-out);
  will-change: transform;
}
.dish:hover { --lift: -6px; box-shadow: var(--shadow-lg); }
.dish-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--paper-2); }
.dish-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .6s; }
.dish:hover .dish-media img { transform: scale(1.06); filter: saturate(1.1); }
.dish-body { position: relative; padding: 1.5rem 1.6rem 1.75rem; }
.dish-num {
  position: absolute; right: 1.4rem; top: -2.1rem;
  display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 50%;
  background: var(--deep); border: 1px solid rgba(201, 160, 78, .55);
  font-family: var(--display); font-size: 1.45rem; color: var(--gold);
  box-shadow: var(--shadow);
  transition: transform .6s var(--ease-bounce), background-color .3s, color .3s;
}
.dish:hover .dish-num { transform: rotate(-12deg) scale(1.06); background: var(--gold); color: var(--deep); }
.dish-tag { font-family: var(--display); font-style: italic; font-size: 1.08rem; line-height: 1.1; color: var(--gold-ink); }
.dish-name { font-family: var(--display); font-size: clamp(1.8rem, 2.6vw, 2.25rem); margin-top: .4rem; }
.dish-desc { margin-top: .6rem; color: var(--ink-soft); max-width: 46ch; }

.classics {
  display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.2rem;
  margin-top: 2.25rem; padding: 1.4rem 1.6rem;
  border: 1px solid var(--line-2); border-radius: var(--radius);
}
.classics-label { font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.classics-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.classics-list li {
  padding: .4rem .95rem; border-radius: 999px;
  background: var(--gold-soft); font-weight: 700; font-size: .95rem; color: var(--ink);
}
.classics-note { flex-basis: 100%; font-size: .92rem; color: var(--mute); }

/* ---------- Estilo ---------- */
.estilo { background: var(--paper-2); }
.estilo-grid { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
.pillars { display: grid; gap: 1.25rem; counter-reset: pillar; }
.pillar {
  counter-increment: pillar; position: relative;
  padding: 2rem 1.75rem 2.1rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar::after {
  content: "0" counter(pillar); position: absolute; top: 1.6rem; right: 1.6rem;
  font-family: var(--display); font-size: 1.1rem; color: var(--gold-ink);
}
.pillar-icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--deep); color: var(--gold);
}
.pillar-icon svg { width: 34px; height: 34px; }
.pillar h3 { font-family: var(--display); font-size: 1.9rem; margin-top: 1.3rem; }
.pillar p { margin-top: .5rem; color: var(--ink-soft); }

/* ---------- La casa ---------- */
.casa-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.casa-figure { position: relative; max-width: 480px; width: 100%; margin-inline: auto; }
.casa-figure img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 999px 999px 22px 22px; box-shadow: var(--shadow-lg);
}
.casa-figure::before {
  content: ""; position: absolute; top: 18px; left: 18px; right: -18px; aspect-ratio: 4 / 5; z-index: -1;
  border-radius: 999px 999px 22px 22px; border: 1px solid var(--gold-ink); opacity: .55;
}
.casa-figure figcaption {
  margin-top: 1.6rem; font-family: var(--display); font-style: italic; font-size: 1.15rem; line-height: 1.3;
  color: var(--ink-soft); text-align: center;
}
.casa-copy > p:not(.kicker) { margin-top: 1.2rem; font-size: 1.08rem; color: var(--ink-soft); max-width: 58ch; }
.casa-copy .section-title { margin-bottom: .4rem; }
.casa-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.casa-stats li { display: flex; flex-direction: column; gap: .2rem; }
.casa-stats strong { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--brand); }
.casa-stats li > span { font-size: .88rem; color: var(--mute); line-height: 1.35; }

/* ---------- Opiniones ---------- */
.opiniones { background: var(--deep); color: var(--ivory); overflow: hidden; }
.opiniones::before {
  content: ""; position: absolute; width: 560px; aspect-ratio: 1; left: -180px; top: -220px;
  background: radial-gradient(circle, rgba(201, 160, 78, .16), transparent 65%); pointer-events: none;
}
.opiniones-inner { position: relative; display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.score { display: flex; flex-direction: column; align-items: flex-start; }
.score-num { font-family: var(--display); font-size: clamp(5.5rem, 14vw, 9rem); line-height: .9; color: var(--gold); }
.score-stars { position: relative; display: inline-block; font-size: 1.9rem; letter-spacing: .18em; line-height: 1; margin-top: .9rem; white-space: nowrap; }
.stars-bg { color: rgba(246, 241, 231, .18); }
.stars-fg { position: absolute; inset: 0 auto 0 0; width: var(--fill); overflow: hidden; color: var(--gold); }
.score-count { margin-top: .9rem; font-weight: 600; color: rgba(246, 241, 231, .72); }
.opiniones .section-title { margin-top: 0; }
.opiniones .section-title em { color: var(--gold); }
.opiniones-copy > p { margin-top: 1.1rem; max-width: 56ch; color: rgba(246, 241, 231, .78); font-size: 1.06rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 1.8rem; }
.tags li {
  padding: .4rem .95rem; border-radius: 999px; font-size: .92rem; font-weight: 600;
  border: 1px solid rgba(246, 241, 231, .24);
  transition: background-color .25s, color .25s, border-color .25s;
}
.tags li:hover { background: var(--gold); color: var(--deep); border-color: var(--gold); }

/* ---------- Horario ---------- */
.horario-grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.horario-copy > p:not(.kicker):not(.status-pill) { margin-top: 1.2rem; font-size: 1.08rem; color: var(--ink-soft); max-width: 52ch; }
.status-pill {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.6rem;
  padding: .6rem 1.1rem; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: .95rem;
}
.hours-card {
  padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hours-card-title { font-family: var(--display); font-style: italic; font-size: 1.45rem; color: var(--brand); line-height: 1.1; }
.hours-list { margin: 1.1rem 0 1.6rem; }
.hours-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .72rem .8rem; border-bottom: 1px solid var(--line); font-size: .98rem;
  border-radius: 10px;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list li span:last-child { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours-list li.is-today { background: var(--gold-soft); border-bottom-color: transparent; font-weight: 800; }
.hours-list li.is-today span:first-child::after {
  content: "Hoy"; margin-left: .55rem; padding: .1rem .5rem; border-radius: 999px;
  background: var(--brand); color: var(--ivory); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px;
}

/* ---------- Ubicación ---------- */
.ubicacion { background: var(--paper-2); }
.map-wrap { display: grid; gap: 1.25rem; margin-top: clamp(2rem, 4vw, 3rem); }
.map-frame {
  position: relative; min-height: 360px; border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-card {
  padding: clamp(1.6rem, 3vw, 2.2rem); border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.map-card-label { font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.map-card-address { font-family: var(--display); font-size: clamp(1.7rem, 2.8vw, 2.1rem); line-height: 1.12; margin-top: .6rem; }
.map-card-hint { margin-top: .6rem; color: var(--mute); }
.map-card-data { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: grid; gap: .8rem; }
.map-card-data dt { font-size: .8rem; font-weight: 700; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; }
.map-card-data dd { font-weight: 600; }
.map-card-data a { color: var(--brand); }
.map-card-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: 1.6rem; }

/* ---------- CTA ---------- */
.cta { background: var(--brand); color: var(--ivory); padding-block: clamp(4.5rem, 10vw, 7.5rem); text-align: center; overflow: hidden; position: relative; }
.cta::before, .cta::after {
  content: ""; position: absolute; width: 380px; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(201, 160, 78, .28); pointer-events: none;
}
.cta::before { left: -140px; top: -160px; }
.cta::after { right: -120px; bottom: -200px; width: 460px; }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-hand { font-family: var(--display); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.5rem); color: var(--gold); }
.cta-title { font-family: var(--display); font-size: clamp(2.5rem, 6.4vw, 4.9rem); line-height: 1; margin-top: .6rem; max-width: 14ch; }
.cta-title em { font-style: italic; color: var(--gold); }
.cta-sub { margin-top: 1.2rem; max-width: 46ch; font-size: 1.1rem; color: rgba(246, 241, 231, .82); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2.2rem; }

/* ---------- Footer ---------- */
.footer { background: var(--deepest); color: rgba(246, 241, 231, .72); padding-block: 4rem 6rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer-name { font-family: var(--display); font-size: 2rem; color: var(--ivory); line-height: 1; margin-bottom: .7rem; }
.footer-label { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .55rem; }
.footer a { color: var(--ivory); transition: color .2s; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark);
  font-size: .82rem; color: rgba(246, 241, 231, .55);
}
.footer-credits a { text-decoration: underline; text-underline-offset: 3px; }

/* =============================================================
   7. Floating — WhatsApp, chat, barra móvil
   ============================================================= */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 253, 248, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -18px rgba(23, 36, 29, .45);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
  min-height: 62px; font-size: .78rem; font-weight: 700; color: var(--ink);
}
.action-bar a + a { border-left: 1px solid var(--line); }
.action-bar svg { width: 22px; height: 22px; color: var(--brand); }
.action-bar a.is-wa svg, .action-bar a.is-wa { color: var(--wa-2); }

.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 70;
  display: none; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(22, 138, 68, .7);
  transition: transform .4s var(--ease-bounce), background-color .25s;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: ring 2.8s var(--ease-out) infinite;
}
.wa-float:hover { transform: scale(1.08); background: var(--wa-2); }
.wa-float-tip {
  position: absolute; right: calc(100% + 12px); top: 50%;
  padding: .55rem .9rem; border-radius: 12px; white-space: nowrap;
  background: var(--deep); color: var(--ivory); font-size: .85rem; font-weight: 700;
  opacity: 0; transform: translate(8px, -50%); pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease-out);
}
.wa-float:hover .wa-float-tip, .wa-float:focus-visible .wa-float-tip, .wa-float.is-hint .wa-float-tip { opacity: 1; transform: translate(0, -50%); }

.chat-launcher {
  position: fixed; right: 16px; bottom: calc(62px + 14px + env(safe-area-inset-bottom)); z-index: 71;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.1rem .7rem .8rem; border-radius: 999px;
  background: var(--brand); color: var(--ivory); font-weight: 700; font-size: .92rem;
  border: 2px solid rgba(201, 160, 78, .85);
  box-shadow: 0 14px 30px -12px rgba(18, 34, 26, .7);
  transition: transform .4s var(--ease-bounce), background-color .25s, opacity .25s;
}
.chat-launcher:hover { transform: translateY(-3px); background: var(--brand-2); }
.chat-launcher-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--deep); }
.chat-launcher-icon svg { width: 18px; height: 18px; }
.chat.is-open .chat-launcher { opacity: 0; pointer-events: none; transform: scale(.9); }

.chat-panel {
  position: fixed; z-index: 80;
  left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom));
  height: min(78svh, 620px);
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 30px 80px -20px rgba(18, 34, 26, .6);
  overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(.98); transform-origin: bottom right;
  transition: opacity .3s var(--ease-out), transform .45s var(--ease-out);
}
.chat-panel.is-shown { opacity: 1; transform: none; }
.chat-head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1rem 1rem 1.1rem; background: var(--deep); color: var(--ivory); border-bottom: 2px solid var(--gold); }
.chat-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--ivory); flex: none; }
.chat-avatar svg { width: 22px; height: 26px; }
.chat-title { font-family: var(--display); font-size: 1.2rem; line-height: 1.1; }
.chat-sub { font-size: .78rem; color: rgba(246, 241, 231, .7); line-height: 1.3; margin-top: .15rem; }
.chat-close { margin-left: auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--ivory); transition: background-color .2s; flex: none; }
.chat-close:hover { background: rgba(246, 241, 231, .14); }
.chat-close svg { width: 20px; height: 20px; }
.chat-log { flex: 1; overflow-y: auto; padding: 1.1rem 1rem .6rem; display: flex; flex-direction: column; gap: .65rem; overscroll-behavior: contain; scroll-behavior: smooth; }
.msg { max-width: 88%; padding: .7rem .95rem; border-radius: 16px; font-size: .94rem; line-height: 1.5; animation: msgIn .4s var(--ease-out) both; }
.msg-bot { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg-user { align-self: flex-end; background: var(--brand); color: var(--ivory); border-bottom-right-radius: 5px; }
.msg p + p, .msg p + ul, .msg ul + p { margin-top: .45rem; }
.msg ul { padding-left: 0; }
.msg li { position: relative; padding-left: 1rem; }
.msg li::before { content: "•"; position: absolute; left: .1rem; color: var(--gold-ink); }
.msg strong { font-weight: 800; }
.msg-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.msg-actions a {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .42rem .8rem; border-radius: 999px; font-size: .84rem; font-weight: 700;
  background: var(--brand); color: var(--ivory);
}
.msg-actions a.is-wa { background: var(--wa); color: #fff; }
.msg-actions a.is-soft { background: var(--card); color: var(--ink); border: 1px solid var(--line-2); }
.msg-typing { display: inline-flex; gap: 4px; padding: .85rem 1rem; }
.msg-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); animation: typing 1.1s infinite ease-in-out; }
.msg-typing span:nth-child(2) { animation-delay: .15s; }
.msg-typing span:nth-child(3) { animation-delay: .3s; }
.chat-chips {
  display: flex; gap: .45rem; padding: .5rem 1rem .7rem; overflow-x: auto; overflow-y: visible;
  scrollbar-width: none; flex: none;
}
.chat-chips::-webkit-scrollbar { display: none; }
.chat-chips button {
  flex: none; padding: .45rem .85rem; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--paper);
  font-size: .84rem; font-weight: 700; color: var(--ink-soft);
  transition: background-color .2s, color .2s, border-color .2s;
}
.chat-chips button:hover { background: var(--gold-soft); border-color: var(--gold); color: var(--ink); }
.chat-form { display: flex; gap: .5rem; padding: .7rem .8rem .8rem; border-top: 1px solid var(--line); background: var(--card); flex: none; }
.chat-form input {
  flex: 1; min-width: 0; padding: .75rem 1rem; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--paper); font-size: 1rem;
}
.chat-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30, 77, 59, .15); }
.chat-form button { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: var(--ivory); flex: none; transition: background-color .2s, transform .3s var(--ease-bounce); }
.chat-form button:hover { background: var(--brand-2); transform: scale(1.06); }
.chat-form button svg { width: 20px; height: 20px; }

/* =============================================================
   8. Effects
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .dish.reveal.is-visible { transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift)); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(60, 193, 115, .6); }
  70% { box-shadow: 0 0 0 9px rgba(60, 193, 115, 0); }
  100% { box-shadow: 0 0 0 0 rgba(60, 193, 115, 0); }
}
@keyframes ring {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.55); opacity: 0; }
}
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* =============================================================
   9. Responsive
   ============================================================= */
body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }

@media (min-width: 540px) {
  .nav-call { display: inline-flex; }
  .chat-panel { left: auto; right: 16px; width: 390px; bottom: calc(62px + 14px + env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px) {
  .topbar-extra { display: block; }
  .hero-note { display: block; }
  .dishes { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .map-wrap { grid-template-columns: 1.5fr 1fr; }
  .map-frame { min-height: 460px; }
  .opiniones-inner { grid-template-columns: auto 1fr; }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .action-bar { display: none; }
  .wa-float { display: grid; }
  .chat-launcher { right: 24px; bottom: calc(24px + 62px + 16px); }
  .chat-panel { right: 24px; bottom: 24px; height: min(620px, calc(100svh - 48px)); }

  .nav-links { display: flex; }
  .nav-actions { margin-left: 1.5rem; }
  .nav-actions .btn-wa { display: inline-flex; }
  .nav-toggle, .nav-mobile, .nav-mobile.is-open { display: none; }

  .hero-grid { grid-template-columns: 1.08fr .92fr; }
  .hero-visual { margin-right: 0; }

  .dishes { grid-template-columns: repeat(12, 1fr); }
  .dish--a { grid-column: span 7; }
  .dish--b { grid-column: span 5; }
  .dish--c { grid-column: span 5; }
  .dish--d { grid-column: span 7; }
  .dish-media { aspect-ratio: auto; flex: 1 1 auto; min-height: 320px; }
  .dish-media img { position: absolute; inset: 0; }

  .estilo-grid { grid-template-columns: 1fr; }
  .casa-grid { grid-template-columns: .9fr 1.1fr; }
  .casa-figure { margin-inline: 0; }
  .horario-grid { grid-template-columns: 1.1fr .9fr; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}

@media (min-width: 1280px) {
  .hero-title { font-size: 6.2rem; }
  .dish-media { min-height: 360px; }
}

/* =============================================================
   10. Reduced motion — solo efectos intrusivos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation-duration: 120s; }
  .wa-float::before, .is-open .status-dot { animation: none; }
}
