/* Restaurante El Cerro · Arquetipo 14 (señal de carretera), versión "Costanera"
   Rótulos verdes de carretera con filete blanco, rombo amarillo y línea de la calle; Overpass + Overpass Mono. */
:root {
  --bg: #f4f4ef; --bg-2: #ffffff; --bg-3: #e6e8df;
  --ink: #1c211e; --mute: #51594f; --line: rgba(28,33,30,.2);
  --accent: #0b6b43; --accent-dk: #085434; --accent-ink: #ffffff;
  --strip-bg: #1c211e; --strip-ink: #ffd100;
  --ph: #8f4a00; --ok: #2f9e5b;
  --serif: "Overpass", "Highway Gothic", Arial, sans-serif; --sans: "Overpass", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 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 1rem/1.7 var(--sans); 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(--accent); color: var(--accent-ink); 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(--strip-bg); color: var(--strip-ink); font-size: .78rem; text-align: center; }
.demo-strip a { color: inherit; }
.demo-strip .kdk { font-weight: 700; }
.demo-wa { border: 1px solid currentColor; border-radius: 99px; padding: .1rem .7rem; text-decoration: none; }

.nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 1rem; padding: .75rem clamp(16px, 4vw, 48px); background: rgba(244,244,239,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-solid { border-bottom-color: var(--line); }
.brand { font: 900 1.4rem/1 "Overpass", sans-serif; text-decoration: none; margin: 0; }
.nav-links { display: none; gap: 1.8rem; margin-left: 1.8rem; font-size: .9rem; }
.nav-links a { text-decoration: none; color: var(--mute); }
.nav-links a:hover { color: var(--accent); }
.lang { margin-left: auto; display: flex; gap: .2rem; }
.lang button { position: relative; touch-action: manipulation; border: 1px solid var(--line); background: none; color: var(--ink); font: 600 .78rem var(--sans); padding: .38rem .75rem; border-radius: 99px; cursor: pointer; min-height: 44px; min-width: 46px; }
.lang button::after { content: ""; position: absolute; inset: -5px 0; }
.lang button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
@media (min-width: 820px) { .nav-links { display: flex; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .9rem 1.4rem; border-radius: 99px; font: 600 .95rem var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; min-height: 50px; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-main { background: var(--accent); color: var(--accent-ink); }
.btn-main:hover { background: var(--accent-dk); }
.btn-alt { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-alt:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; max-width: 1220px; margin: 0 auto; padding: clamp(2rem, 6vw, 4.5rem) clamp(16px, 4vw, 48px); align-items: center; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; object-fit: cover; }
figcaption { font-size: .74rem; font-style: italic; color: var(--mute); margin-top: .5rem; }
.kicker { font: 600 .74rem var(--sans); text-transform: uppercase; letter-spacing: .18em; color: var(--accent); margin: 0 0 1rem; }
h1 { margin: 0 0 1.1rem; }
.sub { color: var(--mute); font-size: 1.08rem; max-width: 34rem; margin: 0 0 1.4rem; }
.status { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.3rem; padding: .38rem .9rem; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--mute); }
.is-open .dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(47,158,91,.18); }
.is-closed .dot { background: var(--accent); }

.notice { display: block; margin: 0 0 1.2rem; padding: .8rem 1rem; border: 2px solid var(--line); border-radius: var(--r); background: var(--bg-3); font-weight: 500; max-width: 34rem; }
.notice b { font-weight: 700; }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 2rem; padding: 1.4rem 0 0; margin: 1.6rem 0 0; border-top: 1px solid var(--line); }
.stats li { display: grid; }
.stats b { font: 400 2.4rem/1 var(--serif); color: var(--accent); }
.stats span { font-size: .82rem; color: var(--mute); }

.section { max-width: 1220px; margin: 0 auto; padding: clamp(2.6rem, 7vw, 5rem) clamp(16px, 4vw, 48px); scroll-margin-top: 80px; }
.sec-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; margin-bottom: 2rem; align-items: baseline; }
.num { font: 600 1rem var(--sans); color: var(--accent); margin: 0; letter-spacing: .1em; }
h2 { font: 400 clamp(2.1rem, 6vw, 3.6rem)/1.02 var(--serif); margin: 0 0 .5rem; }
.lede { margin: 0; color: var(--mute); max-width: 40rem; }
.note { font-size: .86rem; color: var(--mute); margin: 1.2rem 0 0; }
.note a { color: var(--accent); font-weight: 600; }

.dishes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 760px) { .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .dishes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dish { background: var(--bg-2); padding: 1.4rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; border-radius: var(--r); }
.dish:not(:has(.count)) { grid-template-columns: minmax(0, 1fr); }
.count { font: 400 2rem/1 var(--serif); color: var(--accent); min-width: 3rem; }
.dish h3 { font: 400 1.5rem/1.15 var(--serif); margin: 0 0 .3rem; }
.dish p { margin: 0; color: var(--mute); font-size: .94rem; }

.said-sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; }
@media (min-width: 900px) { .said-sec { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3.5rem; } }
.said-photo { margin: 0; }
.said-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); }
.said { list-style: none; padding: 0; margin: 1rem 0 0; }
.said li { font: 400 clamp(1.2rem, 3vw, 1.55rem)/1.35 var(--serif); padding: .8rem 0; border-bottom: 1px solid var(--line); }

.form { display: grid; gap: 1rem; max-width: 640px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.2rem, 3vw, 2rem); }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); min-width: 0; }
.form input, .form select { font: 400 1rem var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: .75rem .7rem; width: 100%; min-width: 0; min-height: 48px; color-scheme: light; }
.form input:focus, .form select:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
.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: 2.4rem; }
@media (min-width: 900px) { .visit { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.hours { width: 100%; border-collapse: collapse; margin-top: .4rem; }
.hours th, .hours td { text-align: left; padding: .5rem .4rem; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today { background: rgba(255,209,0,.35); font-weight: 600; }
.facts { margin: 1.2rem 0 1.4rem; }
.facts div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--mute); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; padding-top: .25rem; }
.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 380px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block;  }

.footer { max-width: 1220px; margin: 0 auto; padding: 2.4rem clamp(16px, 4vw, 48px) 3rem; border-top: 1px solid var(--line); color: var(--mute); font-size: .86rem; }
.footer p { margin: 0 0 .6rem; }
.footer .brand { display: block; color: var(--ink); margin-bottom: 1rem; }

.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: .5rem; padding: .5rem .7rem calc(.5rem + env(safe-area-inset-bottom)); background: rgba(244,244,239,.97); border-top: 1px solid var(--line); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem; border-radius: 99px; font-weight: 600; text-decoration: none; color: var(--accent-ink); background: var(--accent); }
.mobile-bar .mb-alt { background: var(--bg-3); color: var(--ink); }
@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; } }

/* ---- piezas del lote 8 ---- */
.ph-frame { position: relative; }
.sec-head { display: block; }
.dish { display: block; }
.dish .price { margin-top: .5rem; }
.count { display: inline-block; font: 700 .78rem var(--sans); min-width: 0; }
.strip-sec { max-width: 1220px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.strip { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.strip li { display: grid; }
.strip span { color: var(--mute); font-size: .9rem; }
@media (min-width: 760px) { .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 680px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feats h3 { margin: 0 0 .3rem; font: 400 1.4rem/1.2 var(--serif); }
.feats p { margin: 0; }
.loc-grid { display: grid; gap: 1.6rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.loc .map { min-height: 240px; margin-top: 1.2rem; } .loc .map iframe { min-height: 240px; }
.loc h3 { font: 400 2rem/1.1 var(--serif); margin: 0 0 .6rem; }
.loc .actions { margin-top: 1.2rem; }
.btn-txt { border-color: transparent; text-decoration: underline; text-underline-offset: 4px; color: var(--ink); padding-left: .4rem; padding-right: .4rem; }
.hero-form h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin: 0 0 .8rem; }
.demo-wa { display: inline-flex; align-items: center; min-height: 32px; }
figcaption { font-style: normal; }

/* Firma 14: todo lo importante va en un rótulo verde de carretera; la línea amarilla es la Costanera */
.brand { display: inline-flex; align-items: center; } .brand b { background: #0b6b43; color: #fff; padding: .35rem .6rem .25rem; border-radius: 7px; margin-left: .4rem; box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #0b6b43; }
.hero-text { background: #0b6b43; color: #fff; border-radius: 24px; padding: clamp(1.6rem, 4.5vw, 3rem) clamp(1.3rem, 4vw, 2.8rem); box-shadow: inset 0 0 0 6px #0b6b43, inset 0 0 0 10px #fff; position: relative; }
.hero .kicker { color: #ffd100; letter-spacing: .1em; font-weight: 800; }
h1 { font: 900 clamp(2.2rem, 7.8vw, 4.2rem)/1.06 var(--serif); letter-spacing: -.02em; }
h1 b { font-weight: 900; color: #ffd100; }
.hero .sub { color: #e8f5ee; }
.hero .status { background: #fff; color: var(--ink); }
.hero .btn-main { background: #ffd100; color: #1c211e; } .hero .btn-main:hover { background: #ffdf4d; }
.hero .btn-alt { border: 2px solid #fff; color: #fff; } .hero .btn-alt:hover { color: #ffd100; border-color: #ffd100; }
.hero .stats { border-top: 2px solid rgba(255,255,255,.55); } .hero .stats b { color: #ffd100; font-weight: 900; font-size: 2.1rem; } .hero .stats span { color: #e8f5ee; }
.hero-photo { max-width: 400px; width: 100%; margin: 1rem auto 0; }
.hero-photo .ph-frame { width: 72%; margin: 12% auto; aspect-ratio: 1; transform: rotate(45deg); overflow: hidden; border-radius: 26px; border: 8px solid #1c211e; outline: 8px solid #ffd100; background: #ffd100; }
.hero-photo img { transform: rotate(-45deg) scale(1.45); aspect-ratio: 1; width: 100%; }
.hero-photo figcaption { text-align: center; position: relative; margin-top: 18%; }
@media (min-width: 900px) { #main > .hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } .hero-photo { order: 2; } }
h2 { font-weight: 900; font-size: clamp(1.8rem, 5.4vw, 3rem); letter-spacing: -.02em; line-height: 1.08; }
/* Platos como salidas: flecha, nombre y precio */
.dishes { grid-template-columns: minmax(0, 1fr) !important; gap: .7rem; } @media (min-width: 860px) { .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.dish { background: #0b6b43; color: #fff; box-shadow: inset 0 0 0 4px #0b6b43, inset 0 0 0 6px #fff; padding: 1.4rem 1.5rem 1.3rem 4.2rem; position: relative; }
.dish::before { content: "➜"; position: absolute; left: 1.4rem; top: 1.1rem; font-size: 1.7rem; color: #ffd100; }
.dish h3 { font-weight: 800; font-size: 1.25rem; }
.dish p { color: #e8f5ee; } .dish .ph, .dish .ph * { color: #ffe680; }
.count { background: #ffd100; color: #1c211e; border-radius: 6px; padding: .15rem .55rem; margin-bottom: .3rem; font-family: "Overpass Mono", monospace; }
.visit { position: relative; } .visit::before, .ask::before { content: ""; position: absolute; left: clamp(16px, 4vw, 48px); right: clamp(16px, 4vw, 48px); top: 0; height: 6px; background: repeating-linear-gradient(90deg, #ffd100 0 38px, transparent 38px 62px); } .ask { position: relative; }
.hours td { font-family: "Overpass Mono", monospace; font-size: .9rem; }
.said li { font: 700 clamp(1.08rem, 2.4vw, 1.3rem)/1.4 var(--sans); }
.said-photo img { border-radius: 18px; border: 4px solid #1c211e; }
.form { border: 3px solid #1c211e; }
.map { border: 4px solid #1c211e; }
.mobile-bar a { background: #0b6b43; } .mobile-bar .mb-alt { background: #ffd100; color: #1c211e; }
