/* Soda Soy Tico · Arquetipo 06 (Revista), versión "papaya y menta":
   papel crema, tinta café oscuro, papaya como acento principal y menta como secundario. */
:root {
  --bg: #fff4e8;
  --paper: #fffaf3;
  --ink: #2a1b14;
  --mute: #6f5a4e;
  --papaya: #e8552f;
  --papaya-dk: #c2401f;
  --mint: #1f8a6b;
  --line: rgba(42, 27, 20, .16);
  --ph: #b0441f;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::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.02rem/1.65 var(--sans); padding-bottom: 64px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: .6rem 1rem; z-index: 99; }
.skip-link:focus { left: 8px; top: 8px; }
.lang-en [data-lang="es"], .lang-es [data-lang="en"] { display: none !important; }
.ph, .ph * { color: var(--ph); font-style: italic; }

.demo-strip { display: flex; flex-wrap: wrap; gap: .3rem 1rem; justify-content: center; align-items: center; padding: .45rem 16px; background: var(--ink); color: var(--bg); font-size: .78rem; text-align: center; }
.demo-strip a { color: var(--bg); }
.demo-strip .kdk { font-weight: 800; }
.demo-wa { border: 1px solid currentColor; border-radius: 99px; padding: .1rem .7rem; text-decoration: none; font-weight: 600; }
.demo-wa:hover { background: var(--bg); color: var(--ink); }

/* ---------- Cabecera tipo revista ---------- */
.mast { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 3px double var(--ink); transition: box-shadow .2s; }
.mast.is-solid { box-shadow: 0 6px 20px -14px rgba(42,27,20,.5); }
.mast-inner { display: flex; align-items: center; gap: 1rem; max-width: 1180px; margin: 0 auto; padding: .55rem 18px; }
.logo { font: 400 1.9rem/1 var(--serif); text-decoration: none; letter-spacing: -.01em; margin: 0; }
.logo em { color: var(--papaya); }
.issue { display: none; margin: 0; font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--mute); }
.lang { margin-left: auto; display: flex; border: 1.5px solid var(--ink); border-radius: 99px; overflow: hidden; }
.lang button { border: 0; background: none; color: var(--ink); font: 800 .78rem var(--sans); padding: .42rem .8rem; cursor: pointer; min-height: 36px; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.toc { display: flex; gap: 1.4rem; overflow-x: auto; max-width: 1180px; margin: 0 auto; padding: .35rem 18px .5rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; scrollbar-width: none; }
.toc::-webkit-scrollbar { display: none; }
.toc a { text-decoration: none; white-space: nowrap; }
.toc a:hover { color: var(--papaya); }
@media (min-width: 760px) { .issue { display: block; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.3rem; border-radius: 99px; font: 800 .95rem var(--sans); text-decoration: none; border: 2px solid var(--ink); cursor: pointer; min-height: 48px; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-main { background: var(--papaya); border-color: var(--papaya); color: #fff; }
.btn-main:hover { background: var(--papaya-dk); border-color: var(--papaya-dk); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---------- Portada ---------- */
.cover { max-width: 1180px; margin: 0 auto; padding: clamp(1.6rem, 4vw, 3rem) 18px; display: grid; gap: 1.6rem; grid-template-columns: minmax(0, 1fr); position: relative; }
.kicker { font: 800 .76rem var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--mint); margin: 0 0 .8rem; }
h1 { font: 400 clamp(2.7rem, 8.5vw, 5.4rem)/.98 var(--serif); margin: 0 0 1.1rem; letter-spacing: -.015em; }
h1 em, h2 em { color: var(--papaya); }
.deck { font-size: 1.12rem; max-width: 34rem; margin: 0 0 1.2rem; color: var(--mute); }
.status { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: .92rem; margin: 0 0 1.3rem; padding: .35rem .8rem; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); }
.status .dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--mute); }
.status.is-open .dot { background: #1fae63; box-shadow: 0 0 0 4px rgba(31,174,99,.18); }
.status.is-closed .dot { background: var(--papaya); }
.cover-photo { margin: 0; position: relative; }
.cover-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
figcaption { font-size: .72rem; color: var(--mute); margin-top: .4rem; font-style: italic; }
.cover-score { position: absolute; right: 26px; top: clamp(1.6rem, 4vw, 3rem); width: 118px; height: 118px; border-radius: 50%; background: var(--papaya); color: #fff; display: grid; place-content: center; text-align: center; transform: rotate(-8deg); box-shadow: 0 10px 24px -12px rgba(194,64,31,.7); }
.cover-score b { font: 400 2.2rem/1 var(--serif); }
.cover-score span { font-size: .7rem; line-height: 1.2; padding: 0 .9rem; font-weight: 600; }
@media (max-width: 899px) { .cover-score { position: static; transform: none; width: auto; height: auto; border-radius: 99px; display: flex; align-items: center; justify-content: center; gap: .8rem; padding: .7rem 1rem; } .cover-score span { padding: 0; font-size: .85rem; } }
@media (min-width: 900px) {
  .cover { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 3rem; }
  .cover-score { right: 18px; top: 1.2rem; }
}

/* ---------- Secciones ---------- */
.section { max-width: 1180px; margin: 0 auto; padding: clamp(2.4rem, 6vw, 4.4rem) 18px; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.sec-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 1.4rem; align-items: start; margin-bottom: 2rem; }
.num { font: 400 clamp(2.8rem, 7vw, 4.4rem)/.9 var(--serif); color: var(--papaya); margin: 0; }
h2 { font: 400 clamp(2rem, 5.2vw, 3.2rem)/1.05 var(--serif); margin: 0 0 .5rem; }
.lede { margin: 0; color: var(--mute); max-width: 40rem; }
.note { font-size: .85rem; color: var(--mute); margin: 1.2rem 0 0; }
.note a { color: var(--mint); font-weight: 600; }

.plates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2.4rem; }
@media (min-width: 760px) { .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plates li { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; border-bottom: 1px dashed var(--line); }
.pl-n { font: 400 1.9rem/1 var(--serif); color: var(--mint); }
.pl-n::after { content: "×"; font-size: .9rem; margin-left: .1rem; color: var(--mute); }
.plates h3 { font: 400 1.45rem/1.15 var(--serif); margin: 0 0 .2rem; }
.plates p { margin: 0; font-size: .95rem; }

.feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; }
@media (min-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; } }
.feature-photo { margin: 0; }
.feature-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; }
.said { list-style: none; padding: 0; margin: 1rem 0 0; }
.said li { font: 400 1.3rem/1.3 var(--serif); padding: .7rem 0 .7rem 2rem; border-bottom: 1px solid var(--line); position: relative; }
.said li::before { content: "“"; position: absolute; left: 0; top: .35rem; font: 400 2.4rem/1 var(--serif); color: var(--papaya); }

.ask { background: linear-gradient(180deg, transparent, rgba(31,138,107,.06)); }
.form { display: grid; gap: 1rem; max-width: 640px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.2rem, 3vw, 2rem); box-shadow: 0 20px 40px -30px rgba(42,27,20,.5); }
.form label { display: grid; gap: .35rem; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); min-width: 0; }
.form input, .form select { font: 400 1rem var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 6px; padding: .75rem .7rem; width: 100%; min-width: 0; min-height: 48px; }
.form input:focus, .form select:focus { outline: 3px solid rgba(232,85,47,.35); border-color: var(--papaya); }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .8rem; }
.small { font-size: .8rem; color: var(--mute); margin: 0; text-align: center; }

.where { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
@media (min-width: 900px) { .where { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 3.5rem; } }
.hours { width: 100%; border-collapse: collapse; margin-top: .4rem; }
.hours th, .hours td { text-align: left; padding: .6rem .4rem; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today { background: rgba(232,85,47,.1); font-weight: 800; }
.hours tr.is-today th::after { content: " ●"; color: var(--papaya); }
.facts { margin: 1rem 0 1.4rem; }
.facts div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); padding-top: .2rem; }
.facts dd { margin: 0; }
.map { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 1rem; }
.map iframe { width: 100%; height: 320px; border: 0; display: block; }

.footer { max-width: 1180px; margin: 0 auto; padding: 2.4rem 18px 3rem; border-top: 3px double var(--ink); font-size: .85rem; color: var(--mute); }
.footer p { margin: 0 0 .6rem; }
.footer .logo { color: var(--ink); margin-bottom: .8rem; }

.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 2fr 1fr; background: var(--ink); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1rem; font-weight: 800; text-decoration: none; color: #fff; background: var(--papaya); }
.mobile-bar .mb-alt { background: var(--ink); color: var(--bg); }
@media (min-width: 860px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn:hover { transform: none; } }
