/* Soda Típica Las Palmeras · Arquetipo 09 (Periódico), versión "diario de la palmera":
   papel de periódico, tinta negra, verde palma como único color, columnas y filetes. */
:root {
  --paper: #f2ede1;
  --paper-2: #e9e2d2;
  --ink: #161512;
  --mute: #5d584d;
  --palm: #1f6b3a;
  --palm-lt: #d9e8d6;
  --rule: #161512;
  --line: rgba(22, 21, 18, .2);
  --ph: #a23b1c;
  --head: "Playfair Display", Georgia, serif;
  --body: "Source Serif 4", Georgia, serif;
  --label: "Oswald", "Arial Narrow", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.05rem/1.65 var(--body); padding-bottom: 64px; }
img { max-width: 100%; height: auto; 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(--paper); 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(--palm); color: #fff; font: 400 .8rem var(--body); text-align: center; }
.demo-strip a { color: #fff; }
.demo-strip .kdk { font-weight: 600; }
.demo-wa { border: 1px solid rgba(255,255,255,.8); padding: .05rem .6rem; text-decoration: none; font-family: var(--label); letter-spacing: .05em; }

/* Cabecera de periódico */
.nav { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .3rem 1rem; padding: .55rem clamp(14px, 4vw, 40px); background: var(--paper); border-bottom: 4px double var(--rule); }
.brand { grid-row: 1; font: 900 clamp(1.5rem, 5vw, 2.2rem)/1 var(--head); text-decoration: none; letter-spacing: -.02em; }
.brand .b2 { font-style: italic; color: var(--palm); }
.nav-links { grid-row: 2; grid-column: 1 / -1; display: flex; gap: 1.4rem; font: 500 .78rem var(--label); text-transform: uppercase; letter-spacing: .14em; border-top: 1px solid var(--rule); padding-top: .4rem; overflow-x: auto; }
.nav-links a { text-decoration: none; white-space: nowrap; }
.nav-links a:hover { color: var(--palm); }
.lang { grid-row: 1; grid-column: 2; justify-self: end; display: flex; border: 1px solid var(--rule); }
.lang button { border: 0; background: none; color: var(--ink); font: 500 .8rem var(--label); letter-spacing: .08em; padding: .35rem .75rem; cursor: pointer; min-height: 34px; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.nav.is-solid { box-shadow: 0 6px 16px -14px rgba(0,0,0,.6); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.25rem; font: 500 .9rem var(--label); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; cursor: pointer; border: 2px solid var(--ink); min-height: 50px; transition: background .15s, color .15s; }
.btn-main { background: var(--palm); border-color: var(--palm); color: #fff; }
.btn-main:hover { background: var(--ink); border-color: var(--ink); }
.btn-alt { background: transparent; color: var(--ink); }
.btn-alt:hover { background: var(--ink); color: var(--paper); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Portada: foto arriba, titular a todo el ancho */
.hero { max-width: 1180px; margin: 0 auto; padding: clamp(1.2rem, 3vw, 2rem) clamp(14px, 4vw, 40px) clamp(2rem, 5vw, 3rem); display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
.hero-photo { margin: 0; border-bottom: 1px solid var(--rule); padding-bottom: .4rem; }
.hero-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: grayscale(.35) contrast(1.05); }
@media (min-width: 760px) { .hero-photo img { aspect-ratio: 16/7; } }
figcaption { font: italic 400 .8rem var(--body); color: var(--mute); margin-top: .35rem; }
.kicker { font: 500 .78rem var(--label); text-transform: uppercase; letter-spacing: .2em; color: var(--palm); margin: 0 0 .5rem; border-top: 3px solid var(--ink); padding-top: .5rem; display: inline-block; }
h1 { font: 900 clamp(2.6rem, 8vw, 5.4rem)/1 var(--head); margin: 0 0 1rem; letter-spacing: -.02em; }
h1 em { color: var(--palm); }
.sub { font-size: 1.15rem; max-width: 40rem; margin: 0 0 1rem; column-gap: 2rem; }
.sub::first-letter { float: left; font: 900 3.4rem/.8 var(--head); padding: .3rem .4rem 0 0; color: var(--palm); }
.status { display: inline-flex; align-items: center; gap: .5rem; font: 500 .85rem var(--label); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 1.2rem; padding: .3rem .7rem; border: 1px solid var(--rule); background: var(--paper-2); }
.dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--mute); }
.is-open .dot { background: #2aa35a; }
.is-closed .dot { background: var(--ph); }
.stats { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stats li { padding: .8rem .6rem; border-left: 1px solid var(--line); display: grid; }
.stats li:first-child { border-left: 0; }
.stats b { font: 900 clamp(1.6rem, 5vw, 2.4rem)/1 var(--head); color: var(--palm); }
.stats span { font-size: .82rem; color: var(--mute); line-height: 1.3; margin-top: .2rem; }

/* Secciones */
.section { max-width: 1180px; margin: 0 auto; padding: clamp(2.4rem, 6vw, 4rem) clamp(14px, 4vw, 40px); border-top: 4px double var(--rule); scroll-margin-top: 110px; }
.sec-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; margin-bottom: 1.6rem; }
.num { font: 900 3rem/.9 var(--head); color: var(--palm); margin: 0; }
h2 { font: 900 clamp(1.9rem, 5vw, 3rem)/1.05 var(--head); margin: 0 0 .4rem; }
.lede { margin: 0; color: var(--mute); font-style: italic; }
.note { font-size: .88rem; color: var(--mute); margin: 1rem 0 0; }
.note a { color: var(--palm); font-weight: 600; }

.dishes { list-style: none; margin: 0; padding: 0; columns: 1; column-gap: 2.4rem; column-rule: 1px solid var(--line); }
@media (min-width: 760px) { .dishes { columns: 2; } }
.dish { break-inside: avoid; display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: .8rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.count { font: 900 1.7rem/1 var(--head); color: var(--palm); }
.dish:not(:has(.count)) { grid-template-columns: minmax(0, 1fr); }
.dish h3 { font: 700 1.35rem/1.15 var(--head); margin: 0 0 .25rem; }
.dish p { margin: 0; }

.said-sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 880px) { .said-sec { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; } }
.said-photo { margin: 0; }
.said-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: grayscale(.25); }
.said { list-style: none; padding: 0; margin: .8rem 0 0; }
.said li { font: italic 400 1.2rem/1.45 var(--body); padding: .7rem 0 .7rem 1.6rem; border-bottom: 1px solid var(--line); position: relative; }
.said li::before { content: "“"; position: absolute; left: 0; top: .3rem; font: 900 2rem/1 var(--head); color: var(--palm); }

.form { display: grid; gap: 1rem; max-width: 640px; border: 2px solid var(--ink); padding: clamp(1rem, 3vw, 1.8rem); background: #fbf8f1; }
.form label { display: grid; gap: .35rem; font: 500 .78rem var(--label); text-transform: uppercase; letter-spacing: .12em; color: var(--mute); min-width: 0; }
.form input, .form select { font: 400 1rem var(--body); color: var(--ink); background: #fff; border: 1px solid var(--ink); border-radius: 0; padding: .7rem; width: 100%; min-width: 0; min-height: 48px; }
.form input:focus, .form select:focus { outline: 3px solid var(--palm-lt); border-color: var(--palm); }
.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; }

.visit { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 900px) { .visit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .45rem .3rem; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today { background: var(--palm-lt); font-weight: 600; }
.facts { margin: 1.2rem 0 1.4rem; }
.facts div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 .74rem var(--label); text-transform: uppercase; letter-spacing: .12em; color: var(--mute); padding-top: .25rem; }
.facts dd { margin: 0; }
.map { border: 2px solid var(--ink); min-height: 360px; }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: grayscale(.6) sepia(.15); }

.footer { max-width: 1180px; margin: 0 auto; padding: 2rem clamp(14px, 4vw, 40px) 3rem; border-top: 4px double var(--rule); font-size: .88rem; color: var(--mute); }
.footer p { margin: 0 0 .6rem; }
.footer .brand { display: block; 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; border-top: 2px solid var(--ink); padding-bottom: env(safe-area-inset-bottom); background: var(--paper); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1rem; font: 500 .9rem var(--label); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; color: #fff; background: var(--palm); }
.mobile-bar .mb-alt { background: var(--paper); color: var(--ink); }
@media (min-width: 860px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

.js-reveal .reveal { opacity: 0; transition: opacity .6s ease; }
.js-reveal .reveal.is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
