/* ==========================================================
   Soda La Puesta de Sol · propuesta privada
   Arquetipo 05 (Degradado reactivo) · versión "atardecer de carretera"
   Fondo cálido casi negro + un atardecer que sigue el mouse/dedo.
   Letra grande (Young Serif + Inter), un solo acento: dorado de sol.
   ========================================================== */

:root {
  --bg:     #160d0b;   /* casi negro, cálido (nunca #000) */
  --bg-2:   #20140f;
  --bg-3:   #2b1b14;
  --ink:    #fbf1e4;   /* crema, casi blanco */
  --mute:   #c9b5a3;
  --dim:    #8f7867;
  --accent: #ffb547;   /* el ÚNICO acento: dorado de sol */
  --g1: #ff7a1a;       /* naranja */
  --g2: #f0436a;       /* coral-rosado */
  --g3: #6d2a7c;       /* morado de anochecer */
  --wa:  #25d366;
  --line: rgba(251, 241, 228, .12);
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  padding-bottom: 72px; /* barra fija del celular */
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 6.4vw, 3.6rem); }
h2 em, h1 em, .big-para em { font-style: normal; color: var(--accent); }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Idioma: se muestra solo el activo ---- */
html.lang-es [data-lang="en"], html.lang-en [data-lang="es"] { display: none !important; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #1a0f08; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: .5rem; top: .5rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---- Franja de demo ---- */
.demo-strip {
  display: flex; flex-wrap: wrap; gap: .3rem 1rem; justify-content: center; align-items: center;
  padding: .5rem 1rem; font-size: .78rem; line-height: 1.35; text-align: center;
  background: #f6ead9; color: #3b261a; position: relative; z-index: 60;
}
.demo-strip a { color: #3b261a; font-weight: 600; }
.demo-strip .kdk { display: inline-flex; align-items: center; gap: .3rem; text-decoration: none; }
.demo-strip .kdk svg { border-radius: 3px; }
.demo-wa { background: #3b261a; color: #f6ead9 !important; padding: .2rem .6rem; border-radius: 99px; text-decoration: none; white-space: nowrap; }

/* ---- Navegación ---- */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, backdrop-filter .3s; }
.nav.is-solid { background: rgba(22, 13, 11, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 1rem; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-family: var(--serif); font-size: 1.15rem; }
.brand-sun { width: 34px; height: 20px; color: var(--accent); }
.nav-links { display: none; gap: 1.6rem; margin-left: auto; font-size: .92rem; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--mute); position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--accent); transition: right .25s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.lang { margin-left: auto; display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 2px; }
.lang button { font: 600 .78rem var(--sans); color: var(--mute); background: none; border: 0; padding: .4rem .7rem; border-radius: 99px; cursor: pointer; min-width: 40px; min-height: 32px; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
@media (min-width: 860px) { .nav-links { display: flex; } .lang { margin-left: 1.5rem; } }

/* ---- Botones ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .8rem 1.35rem; border-radius: 99px;
  font: 600 1rem var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sun { background: var(--accent); color: #2a1406; box-shadow: 0 10px 30px -10px rgba(255, 181, 71, .7); }
.btn-sun:hover { background: #ffc66e; }
.btn-ghost { border: 1.5px solid rgba(251, 241, 228, .4); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--ink); color: var(--bg); }
.btn-light:hover { background: var(--accent); }

/* ==========================================================
   HERO · el atardecer que sigue el mouse (y en el celular, el scroll)
   ========================================================== */
.hero { position: relative; min-height: min(92svh, 860px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; margin-top: -60px; padding-top: 60px; }
.hero-sky {
  position: absolute; inset: -10%; z-index: -3;
  background:
    radial-gradient(circle 46vmax at var(--mx, 62%) var(--my, 58%), var(--g1) 0%, transparent 60%),
    radial-gradient(circle 52vmax at calc(var(--mx, 62%) - 22%) calc(var(--my, 58%) - 26%), var(--g2) 0%, transparent 62%),
    radial-gradient(circle 60vmax at calc(var(--mx, 62%) + 20%) 0%, var(--g3) 0%, transparent 65%),
    var(--bg);
  filter: blur(36px) saturate(135%);
  transition: background-position .4s;
}
.hero-sun {
  position: absolute; z-index: -2; left: var(--sunx, 70%); top: calc(22% + var(--sink, 0px));
  width: clamp(140px, 30vw, 300px); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff2c8 0%, #ffcf6b 45%, rgba(255, 160, 60, 0) 72%);
  opacity: .95;
}
.hero-horizon {
  position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 52%;
  background: linear-gradient(180deg, rgba(22, 13, 11, 0) 0%, rgba(22, 13, 11, .78) 42%, var(--bg) 100%);
}
.hero-horizon::before { /* línea del horizonte */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 220, 160, .55), transparent);
}
.hero-inner { padding: 5rem 0 3.2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin: 0 0 1.4rem; font-size: .9rem; font-weight: 500; }
.status { display: inline-flex; align-items: center; gap: .5rem; background: rgba(22, 13, 11, .55); border: 1px solid var(--line); padding: .35rem .8rem; border-radius: 99px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); }
.status.is-open .dot { background: #5ee08a; box-shadow: 0 0 0 4px rgba(94, 224, 138, .2); animation: pulse 2s infinite; }
.status.is-closed .dot { background: #ff8a6a; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(94, 224, 138, 0); } }
.where { color: var(--ink); opacity: .85; align-self: center; }
.hero-title { font-size: clamp(3.1rem, 13.5vw, 8.4rem); line-height: .92; text-shadow: 0 2px 30px rgba(22, 13, 11, .35); }
.hero-title em { white-space: nowrap; }
.hero-title small { display: block; font-size: .42em; line-height: 1.1; margin-top: .35em; color: var(--ink); opacity: .92; }
.hero-sub { max-width: 34rem; margin: 1.4rem 0 1.8rem; font-size: 1.08rem; color: #f3e3d1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---- Cifras ---- */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 1.4rem .4rem; display: flex; flex-direction: column; gap: .2rem; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 1rem; }
.stat .n { font-family: var(--serif); font-size: clamp(2.2rem, 8vw, 3.2rem); line-height: 1; color: var(--ink); }
.stat .n small { font-size: .42em; margin-left: .25em; color: var(--accent); font-family: var(--sans); font-weight: 600; }
.stat .l { font-size: .88rem; color: var(--mute); }
@media (min-width: 760px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; border-right: 1px solid var(--line); padding: 1.8rem 1.4rem; }
  .stat:last-child { border-right: 0; }
}

/* ---- Manifiesto ---- */
.manifesto { padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 7vw, 5rem); }
.big-para { font-family: var(--serif); font-size: clamp(1.55rem, 4.4vw, 2.6rem); line-height: 1.22; max-width: 26ch; max-width: 38rem; margin: 0; }
.perks { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.perks li { display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 99px; font-weight: 500; font-size: .95rem; background: var(--bg-2); }
.perks .ico { color: var(--accent); }

/* ---- Secciones ---- */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.head { margin-bottom: 2.2rem; }
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 .8rem; }
.fineprint { font-size: .85rem; color: var(--dim); margin-top: 1.4rem; }
.ph { color: var(--accent); opacity: .85; font-style: italic; font-size: .95rem; }

/* ---- Platos: filas que se abren (details/summary, funciona sin JS) ---- */
.rows { border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); }
.row summary {
  list-style: none; cursor: pointer; display: grid; align-items: center; gap: .3rem 1rem;
  grid-template-columns: auto 1fr auto; padding: 1.3rem 0;
}
.row summary::-webkit-details-marker { display: none; }
.row-no { font-size: .8rem; font-weight: 600; color: var(--dim); }
.row-name { font-family: var(--serif); font-size: clamp(1.6rem, 6vw, 2.8rem); line-height: 1.05; transition: color .2s; }
.row-price { grid-column: 2; font-size: .92rem; font-weight: 600; color: var(--accent); }
.row-plus { grid-column: 3; grid-row: 1 / span 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .3s, background .3s; }
.row-plus::before, .row-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.row-plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.row[open] .row-plus { background: var(--accent); border-color: var(--accent); }
.row[open] .row-plus::before, .row[open] .row-plus::after { background: #2a1406; }
.row[open] .row-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.row summary:hover .row-name { color: var(--accent); }
.row-body { display: grid; gap: 1.2rem; padding: 0 0 1.8rem; }
.row-body figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-3); }
.row-body img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.03); }
.row-body figcaption, .road figcaption {
  position: absolute; left: .7rem; bottom: .7rem; font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  background: rgba(22, 13, 11, .78); color: var(--ink); padding: .25rem .6rem; border-radius: 99px;
}
.row-body p { margin: 0; color: var(--mute); max-width: 36rem; }
@media (min-width: 760px) {
  .row summary { grid-template-columns: 4rem 1fr auto auto; padding: 1.6rem 0; }
  .row-price { grid-column: 3; padding-right: 1.4rem; }
  .row-plus { grid-column: 4; grid-row: 1; }
  .row-body { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; column-gap: 2.4rem; padding-left: 4rem; }
  .row-body figure { grid-row: 1 / span 2; }
  .row-body p:first-of-type { font-size: 1.15rem; color: var(--ink); }
}

/* ---- Menú: grande y claro en el celular ---- */
.menu { background: var(--bg-2); border-block: 1px solid var(--line); }
.menu-tabs {
  position: sticky; top: 60px; z-index: 10; display: flex; gap: .5rem; overflow-x: auto;
  padding: .7rem 0; margin-bottom: 1.8rem; background: var(--bg-2); scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tabs a { flex: none; text-decoration: none; padding: .55rem 1rem; border-radius: 99px; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.menu-tabs a:hover, .menu-tabs a.is-active { background: var(--ink); color: var(--bg); }
.menu-cols { display: grid; gap: 2.4rem; }
@media (min-width: 860px) { .menu-cols { grid-template-columns: 1fr 1fr; gap: 3rem 4rem; } }
.menu-cat { scroll-margin-top: 130px; }
.menu-cat h3 { font-size: clamp(1.7rem, 5.5vw, 2.2rem); display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .7rem; padding-bottom: .8rem; border-bottom: 2px solid var(--accent); }
.menu-cat h3 small { font: 500 .85rem var(--sans); color: var(--mute); }
.menu-cat ul { list-style: none; margin: 0; padding: 0; }
.menu-cat li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; font-weight: 500; }
.menu-cat li b { font-weight: 600; font-size: 1rem; color: var(--accent); white-space: nowrap; }
.menu-cat li.ph { font-size: 1.05rem; }
.menu-foot { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; }
.menu-foot p { margin: 0; max-width: 34rem; color: var(--mute); font-size: .95rem; }

/* ---- Reseñas ---- */
.resenas-grid { display: grid; gap: 3rem; }
@media (min-width: 860px) { .resenas-grid { grid-template-columns: 1fr 1.4fr; align-items: center; } }
.score-n { font-family: var(--serif); font-size: clamp(6rem, 24vw, 10rem); line-height: .9; margin: 0; }
.score-n span { color: var(--accent); font-size: .45em; vertical-align: super; margin-left: .1em; }
.score-l { color: var(--mute); margin: .6rem 0 1.6rem; font-size: 1.05rem; }
.mentions h2 { margin-bottom: 1.6rem; }
.mentions ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.mentions li { padding: .7rem 1.1rem; border-radius: 99px; background: var(--bg-3); border: 1px solid var(--line); font-weight: 500; }

/* ---- Cómo llegar ---- */
.llegar { background: linear-gradient(180deg, var(--bg) 0%, #26140f 100%); }
.llegar-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .llegar-grid { grid-template-columns: 1fr 1.15fr; align-items: stretch; } }
.addr { display: flex; gap: .7rem; font-size: 1.2rem; font-weight: 500; margin: 0 0 .6rem; }
.addr .ico { color: var(--accent); margin-top: .25rem; }
.nav-btns { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 2rem; }
.nav-btns .btn { flex: 1 1 140px; }
.road { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.road img { width: 100%; height: 100%; object-fit: cover; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 340px; border: 1px solid var(--line); background: var(--bg-3); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: saturate(.9); }

/* ---- Horario + contacto ---- */
.horario-grid { display: grid; gap: 3.4rem; }
@media (min-width: 900px) { .horario-grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.horario h2 { margin-bottom: 1.6rem; }
.hours { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.hours th, .hours td { padding: .8rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--mute); font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--accent); font-weight: 700; }
.hours tr.is-today th::after { content: attr(data-today); margin-left: .6rem; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: #2a1406; padding: .15rem .5rem; border-radius: 99px; vertical-align: middle; }
.contact-lead { font-size: 1.15rem; color: var(--mute); margin: 0 0 .4rem; }
.contact-big {
  display: inline-flex; align-items: center; gap: .3em; text-decoration: none; position: relative;
  font-family: var(--serif); font-size: clamp(3rem, 13vw, 5.6rem); line-height: 1.05; color: var(--ink);
  padding: .05em .15em; margin-left: -.15em; border-radius: 12px; transition: background .2s, color .2s;
}
.contact-big .ico { width: .7em; height: .7em; color: var(--wa); }
.contact-big::after { content: ""; position: absolute; left: .15em; right: .15em; bottom: 0; height: 3px; background: var(--accent); transform-origin: left; transform: scaleX(.25); transition: transform .35s; }
.contact-big:hover { background: var(--ink); color: var(--bg); } /* inversión al pasar */
.contact-big:hover::after { transform: scaleX(1); }
.tel { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.2rem; color: var(--mute); text-decoration: none; font-weight: 500; }
.tel:hover { color: var(--ink); }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--line); padding: 3rem 0 2.4rem; background: #120a08; }
.footer-inner { display: grid; gap: 1rem; font-size: .88rem; color: var(--dim); }
.footer-brand { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); margin: 0; display: flex; flex-direction: column; }
.footer-brand small { font: 500 .85rem var(--sans); color: var(--mute); margin-top: .3rem; }
.footer p { margin: 0; }
.footer a { color: var(--mute); }

/* ---- Barra fija del celular ---- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1.4fr 1fr; gap: .5rem; padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom)); background: rgba(18, 10, 8, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; border-radius: 99px; text-decoration: none; font-weight: 600; }
.mb-wa { background: var(--wa); color: #06210f; }
.mb-map { border: 1px solid var(--line); }
@media (min-width: 860px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* ---- Apariciones suaves (sin JS, todo visible) ---- */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* Reduced motion: solo se apaga lo intrusivo (el cielo que se mueve y el pulso) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .status.is-open .dot { animation: none; }
}
