/* Encuentros · Arquetipo 07 (Brutalista), versión "puerto":
   azul marino de muelle, rojo boya, blanco; grilla con líneas de 2px, cero curvas, tipografía pesada + mono. */
:root {
  --navy: #0d1b3d;
  --white: #f7f7f2;
  --red: #ff3b30;
  --sky: #9fd3ff;
  --mute: #4a5677;
  --ph: #c2261c;
  --heavy: "Archivo Black", Impact, "Arial Black", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 .98rem/1.6 var(--mono); 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(--red); color: #fff; 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(--red); color: #fff; font-size: .76rem; text-align: center; border-bottom: 2px solid var(--navy); }
.demo-strip a { color: #fff; }
.demo-strip .kdk { font-weight: 600; }
.demo-wa { border: 2px solid #fff; padding: .05rem .6rem; text-decoration: none; font-weight: 600; }

.nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: stretch; background: var(--navy); color: var(--white); border-bottom: 2px solid var(--navy); min-height: 56px; }
.brand { display: flex; align-items: center; padding: 0 16px; font: 400 1.25rem/1 var(--heavy); text-decoration: none; border-right: 2px solid var(--white); letter-spacing: .02em; }
.brand span { color: var(--red); }
.nav-links { display: none; }
.nav-links a { display: flex; align-items: center; padding: 0 1.2rem; text-decoration: none; font-size: .8rem; text-transform: uppercase; border-right: 2px solid var(--white); }
.nav-links a:hover { background: var(--white); color: var(--navy); }
.lang { margin-left: auto; display: flex; border-left: 2px solid var(--white); }
.lang button { border: 0; border-left: 2px solid var(--white); background: none; color: var(--white); font: 600 .8rem var(--mono); padding: 0 1rem; cursor: pointer; min-height: 52px; }
.lang button:first-child { border-left: 0; }
.lang button[aria-pressed="true"] { background: var(--red); }
@media (min-width: 860px) { .nav-links { display: flex; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.2rem; font: 600 .86rem var(--mono); text-transform: uppercase; text-decoration: none; border: 2px solid var(--navy); cursor: pointer; min-height: 50px; box-shadow: 5px 5px 0 var(--navy); transition: transform .1s, box-shadow .1s; }
.btn:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--navy); }
.btn-main { background: var(--red); color: #fff; }
.btn-alt { background: var(--white); color: var(--navy); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* HERO: dos columnas separadas por una línea gruesa */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); border-bottom: 2px solid var(--navy); }
.hero-photo { margin: 0; position: relative; order: 2; border-top: 2px solid var(--navy); }
.hero-photo img { width: 100%; height: 100%; min-height: 300px; aspect-ratio: 4/3; object-fit: cover; filter: contrast(1.1) saturate(1.15); }
.hero-photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--navy); color: var(--white); font-size: .66rem; padding: .3rem .6rem; }
.hero-text { padding: clamp(1.4rem, 4vw, 2.6rem) clamp(16px, 4vw, 40px); }
.kicker { font: 600 .74rem var(--mono); letter-spacing: .1em; margin: 0 0 1rem; color: var(--mute); }
h1 { font: 400 clamp(2.8rem, 10vw, 6rem)/.95 var(--heavy); margin: 0 0 1.2rem; text-transform: uppercase; }
h1 mark { background: var(--red); color: #fff; padding: 0 .12em; }
.sub { max-width: 32rem; margin: 0 0 1.3rem; }
.status { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .86rem; margin: 0 0 1.4rem; padding: .35rem .7rem; border: 2px solid var(--navy); background: var(--sky); }
.dot { width: .65rem; height: .65rem; background: var(--mute); }
.is-open .dot { background: #12b76a; }
.is-closed .dot { background: var(--red); }
.stats { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 2px solid var(--navy); }
.stats li { padding: .8rem 1rem; display: grid; }
.stats li + li { border-left: 2px solid var(--navy); }
.stats b { font: 400 2.2rem/1 var(--heavy); color: var(--red); }
.stats span { font-size: .76rem; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .hero-photo { border-top: 0; border-left: 2px solid var(--navy); }
}

/* Secciones */
.section { padding: clamp(2.4rem, 6vw, 4rem) clamp(16px, 4vw, 40px); border-bottom: 2px solid var(--navy); scroll-margin-top: 60px; }
.sec-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 1.6rem; margin-bottom: 1.8rem; max-width: 1200px; }
.num { font: 400 3.4rem/.85 var(--heavy); color: var(--red); margin: 0; }
h2 { font: 400 clamp(2rem, 6vw, 3.6rem)/.95 var(--heavy); margin: 0 0 .5rem; text-transform: uppercase; }
.lede { margin: 0; max-width: 40rem; }
.note { font-size: .8rem; color: var(--mute); margin: 1.2rem 0 0; }
.note a { font-weight: 600; }

.dishes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); border: 2px solid var(--navy); max-width: 1200px; }
@media (min-width: 760px) { .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dish { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 1rem; padding: 1.2rem; border-bottom: 2px solid var(--navy); background: var(--white); transition: background .15s, color .15s; }
@media (min-width: 760px) { .dish:nth-child(odd) { border-right: 2px solid var(--navy); } .dish:nth-last-child(-n+2) { border-bottom: 0; } }
.dish:hover { background: var(--navy); color: var(--white); }
.count { font: 400 2rem/1 var(--heavy); color: var(--red); }
.dish h3 { font: 400 1.4rem/1.1 var(--heavy); margin: 0 0 .3rem; text-transform: uppercase; }
.dish p { margin: 0; }

.said-sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; }
@media (min-width: 900px) { .said-sec { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.said-photo { margin: 0; position: relative; border-bottom: 2px solid var(--navy); }
@media (min-width: 900px) { .said-photo { border-bottom: 0; border-right: 2px solid var(--navy); } }
.said-photo img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; filter: grayscale(1) contrast(1.15); }
.said-photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--white); border-top: 2px solid var(--navy); border-right: 2px solid var(--navy); font-size: .66rem; padding: .3rem .6rem; }
.said-text { padding: clamp(2rem, 5vw, 3.4rem) clamp(16px, 4vw, 40px); background: var(--navy); color: var(--white); }
.said-text .note { color: var(--sky); }
.said { list-style: none; padding: 0; margin: 1rem 0 0; counter-reset: s; }
.said li { counter-increment: s; display: flex; gap: 1rem; padding: .8rem 0; border-bottom: 2px solid rgba(247,247,242,.25); font-weight: 600; }
.said li::before { content: "0" counter(s); color: var(--red); font-family: var(--heavy); }

.form { display: grid; gap: 1rem; max-width: 640px; border: 2px solid var(--navy); padding: clamp(1rem, 3vw, 1.8rem); box-shadow: 8px 8px 0 var(--navy); background: #fff; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .74rem; text-transform: uppercase; min-width: 0; }
.form input, .form select { font: 400 1rem var(--mono); color: var(--navy); background: var(--white); border: 2px solid var(--navy); padding: .7rem; width: 100%; min-width: 0; min-height: 48px; }
.form input:focus, .form select:focus { outline: 3px solid var(--red); outline-offset: 0; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .8rem; }
.small { font-size: .76rem; 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; border: 2px solid var(--navy); }
.hours th, .hours td { text-align: left; padding: .5rem .7rem; border-bottom: 2px solid var(--navy); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today { background: var(--red); color: #fff; font-weight: 600; }
.facts { margin: 1.4rem 0; border-top: 2px solid var(--navy); }
.facts div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; padding: .6rem 0; border-bottom: 2px solid var(--navy); }
.facts dt { font-size: .72rem; text-transform: uppercase; padding-top: .2rem; font-weight: 600; }
.facts dd { margin: 0; }
.map { border: 2px solid var(--navy); min-height: 380px; box-shadow: 8px 8px 0 var(--navy); }
.map iframe { width: 100%; height: 100%; min-height: 376px; border: 0; display: block; filter: grayscale(1) contrast(1.1); }

.footer { padding: 2rem clamp(16px, 4vw, 40px) 3rem; background: var(--navy); color: var(--white); font-size: .82rem; }
.footer p { margin: 0 0 .6rem; }
.footer .brand { display: inline-block; border: 0; padding: 0; margin-bottom: 1rem; font-size: 1.6rem; }

.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(--navy); padding-bottom: env(safe-area-inset-bottom); background: var(--white); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1rem; font-weight: 600; text-transform: uppercase; text-decoration: none; color: #fff; background: var(--red); }
.mobile-bar .mb-alt { background: var(--white); color: var(--navy); border-left: 2px solid var(--navy); }
@media (min-width: 860px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

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