/* Restaurante Kathia · Arquetipo 08 (Olas), versión "mantel de domingo":
   mantel a cuadros guayaba, verde hoja y maíz; bordes de ondas como un mantel; Caprasimo + Hind. */
:root {
  --bg: #fff7e8; --paper: #fffdf8; --ink: #33241a; --mute: #6d5848; --line: rgba(51,36,26,.16);
  --red: #b5362e; --red-dk: #8f2a24; --green: #1f4a34; --corn: #f4b63f; --ph: #8a4b0c; --ok: #2c8a4b;
  --disp: "Caprasimo", Georgia, serif; --sans: "Hind", system-ui, -apple-system, "Segoe UI", sans-serif;
  --check: linear-gradient(90deg, rgba(181,54,46,.34) 50%, transparent 50%) 0 0/28px 28px, linear-gradient(rgba(181,54,46,.34) 50%, transparent 50%) 0 0/28px 28px, #fff7e8;
  --wave: radial-gradient(circle at 16px 0, #000 15.4px, transparent 16px) 0 0/32px 16px repeat-x;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.04rem/1.65 var(--sans); padding-bottom: 64px; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
h1, h2, h3 { font-family: var(--disp); font-weight: 400; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(1.9rem, 6.2vw, 3rem); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(18px, 4.5vw, 40px); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--green); 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; }
:focus-visible { outline: 3px solid var(--corn); outline-offset: 2px; }

.demo-strip { display: flex; flex-wrap: wrap; gap: .3rem 1rem; justify-content: center; align-items: center; padding: .45rem 16px; background: var(--green); color: #fff7e8; font-size: .8rem; text-align: center; line-height: 1.45; }
.demo-strip .kdk { font-weight: 700; }
.demo-wa { border: 1px solid currentColor; border-radius: 99px; padding: .15rem .8rem; text-decoration: none; }

.nav { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 1rem; padding: .6rem clamp(16px, 4vw, 40px); background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-solid { border-bottom-color: var(--line); }
.brand { font: 400 1.65rem/1 var(--disp); color: var(--green); text-decoration: none; margin: 0; display: inline-flex; flex-direction: column; }
.brand small { font: 600 .72rem/1.2 var(--sans); color: var(--red); }
.nav-links { display: none; gap: 1.7rem; margin-left: 2rem; font-weight: 500; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--red); }
.lang { margin-left: auto; display: flex; gap: .3rem; }
.lang button { position: relative; touch-action: manipulation; border: 1.5px solid var(--green); background: none; color: var(--green); font: 700 .88rem var(--sans); border-radius: 99px; cursor: pointer; min-height: 44px; min-width: 48px; padding: 0 .8rem; }
.lang button[aria-pressed="true"] { background: var(--green); color: #fff7e8; }
@media (min-width: 860px) { .nav-links { display: flex; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .8rem 1.4rem; border-radius: 99px; font: 600 1.02rem/1.2 var(--sans); text-decoration: none; cursor: pointer; border: 2px solid transparent; min-height: 52px; text-align: center; transition: background .2s, color .2s, border-color .2s; }
.btn-main { background: var(--red); color: #fff; }
.btn-main:hover { background: var(--red-dk); }
.btn-alt { border-color: var(--green); color: var(--green); background: transparent; }
.btn-alt:hover { background: var(--green); color: #fff7e8; }
.btn-corn { background: var(--corn); color: var(--ink); }
.btn-corn:hover { background: #ffcb66; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.actions.center { justify-content: center; }

/* Portada: plato sobre mantel */
.hero { position: relative; display: grid; gap: 2rem; padding: 1.6rem clamp(18px, 4.5vw, 40px) 2.6rem; max-width: 1200px; margin: 0 auto; }
.kicker { margin: 0 0 .7rem; font-weight: 600; color: var(--red); }
h1 { font-size: clamp(2.7rem, 12vw, 5rem); color: var(--green); line-height: 1.02; }
h1 em { font-style: normal; color: var(--red); }
.sub { font-size: 1.14rem; margin: 1rem 0 0; max-width: 34ch; }
.status { display: inline-flex; align-items: center; gap: .55rem; margin: 1.1rem 0 0; font-weight: 600; font-size: .97rem; line-height: 1.4; }
.dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--mute); flex: none; }
.status.is-open .dot { background: var(--ok); }
.status.is-closed .dot { background: var(--red); }
.score { display: inline-flex; align-items: center; gap: .9rem; margin-top: 1.5rem; text-decoration: none; line-height: 1.35; font-size: .95rem; }
.score b { font: 400 2.1rem/1 var(--disp); color: var(--ink); background: var(--corn); border-radius: 14px; padding: .5rem .8rem .55rem; }
.plate { position: relative; align-self: center; padding: clamp(18px, 5vw, 40px); background: var(--check); border-radius: 28px; }
.plate-rim { border-radius: 50%; overflow: hidden; border: clamp(8px, 2.4vw, 16px) solid #fff; box-shadow: 0 14px 34px rgba(51,36,26,.24); aspect-ratio: 1; }
.plate-rim img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.plate figcaption { margin-top: 1rem; text-align: center; }
figcaption { font-size: .82rem; color: var(--mute); line-height: 1.4; }
.plate figcaption span { background: var(--bg); padding: .2rem .7rem; border-radius: 10px; display: inline-block; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.05fr .95fr; align-items: center; padding-top: 3rem; padding-bottom: 4rem; } }

/* Lo que más elogian */
.praise { background: var(--corn); padding: 2.6rem 0 3.4rem; position: relative; }
.praise::before, .clientes::after, .grupos::before { content: ""; position: absolute; left: 0; right: 0; height: 16px; pointer-events: none; }
.praise::before { top: 0; background: var(--bg); -webkit-mask: var(--wave); mask: var(--wave); }
.praise h2 { color: var(--ink); margin-top: .8rem; }
.praise-list { display: grid; gap: 1.4rem 2rem; margin-top: 1.6rem; grid-template-columns: 1fr; }
.praise-list li { display: grid; grid-template-columns: auto 1fr; gap: .1rem 1rem; align-items: start; }
.pic { grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; background: #fff7e8; color: var(--red); display: grid; place-items: center; font: 400 1.5rem/1 Georgia, serif; }
.praise-list h3 { font-size: 1.3rem; color: var(--green); }
.praise-list p { margin: .2rem 0 0; line-height: 1.45; }
@media (min-width: 600px) { .praise-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .praise-list { grid-template-columns: repeat(4, 1fr); } .praise-list li { grid-template-columns: 1fr; gap: .6rem; } }
.note { font-size: .88rem; color: var(--mute); margin: 1.4rem 0 0; }
.praise .note { color: #57411f; }

/* Reseñas */
.clientes { position: relative; background: var(--green); color: #fff7e8; padding: 3.4rem 0 3.6rem; }
.clientes::after { top: 100%; background: var(--green); -webkit-mask: var(--wave); mask: var(--wave); z-index: 1; }
.sec-head { max-width: 46rem; }
.lede { font-size: 1.1rem; margin: .7rem 0 0; }
.quotes { display: grid; gap: 1rem; margin-top: 2rem; }
.quote { background: var(--paper); color: var(--ink); border-radius: 20px; padding: 1.4rem 1.4rem 1.2rem; display: flex; flex-direction: column; justify-content: space-between; gap: .9rem; }
.quote blockquote { margin: 0; font: 400 1.22rem/1.38 var(--disp); color: var(--green); }
.who { margin: 0; font-size: .92rem; color: var(--mute); }
.who b { color: var(--red); }
.clientes .note { color: #d9e2d3; text-align: center; }
@media (min-width: 640px) { .quotes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* Menú */
.menu { padding: 4.4rem 0 3.6rem; }
.menu h2, .visita h2, .opinion h2 { color: var(--green); }
.menu-grid { display: grid; gap: 1.2rem; margin-top: 2rem; }
.mph img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 22px; }
.mph figcaption { margin-top: .5rem; }
@media (min-width: 700px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }
.group { font-size: 1.55rem; color: var(--red); margin: 2.4rem 0 .4rem; }
.dishes { display: grid; column-gap: 3rem; }
.dish { padding: 1rem 0; border-bottom: 2px dotted var(--line); display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: baseline; }
.dish h3 { font: 600 1.14rem/1.3 var(--sans); }
.dish p { margin: .15rem 0 0; grid-column: 1; color: var(--mute); line-height: 1.45; }
.dish .ph { grid-column: 2; grid-row: 1; margin: 0; white-space: nowrap; }
@media (min-width: 760px) { .dishes { grid-template-columns: 1fr 1fr; } }

/* Grupos */
.two { display: grid; gap: 2.2rem; }
@media (min-width: 860px) { .two { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.two > * { min-width: 0; }
.grupos { position: relative; background: var(--check); padding: 4.4rem 0 3.6rem; }
.grupos::before { top: 0; background: var(--bg); -webkit-mask: var(--wave); mask: var(--wave); }
.grupos .two > div { background: var(--bg); border-radius: 24px; padding: 1.6rem; }
.grupos h2 { color: var(--red); }
.sunset { margin-top: 1.4rem; }
.sunset img { width: 100%; border-radius: 16px; }
.sunset figcaption { margin-top: .5rem; }
.form { background: var(--paper); border-radius: 24px; padding: 1.6rem; display: grid; gap: 1.1rem; box-shadow: 0 12px 30px rgba(51,36,26,.14); }
.form label { display: grid; gap: .35rem; font-weight: 600; min-width: 0; }
.form select, .form input { width: 100%; min-width: 0; min-height: 50px; border: 1.5px solid rgba(51,36,26,.35); border-radius: 12px; background: #fff; color: var(--ink); font: 400 1rem var(--sans); padding: 0 .8rem; }
.row2 { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 420px) { .row2 { grid-template-columns: 1fr 1fr; } }
.small { font-size: .88rem; color: var(--mute); margin: 0; line-height: 1.45; }

/* Visita */
.visita { padding: 4rem 0 3.4rem; }
.hours { width: 100%; border-collapse: collapse; margin-top: 1.2rem; }
.hours th { text-align: left; font-weight: 500; padding: .5rem .6rem; }
.hours td { text-align: right; padding: .5rem .6rem; white-space: nowrap; }
.hours tr { border-bottom: 1px solid var(--line); }
.hours .is-today { background: var(--corn); font-weight: 700; }
.hours .is-today th { font-weight: 700; }
.facts { margin: 1.4rem 0 0; }
.facts div { padding: .5rem 0; }
.facts dt { font-weight: 700; color: var(--green); }
.facts .ph dt { color: var(--ph); }
.facts dd { margin: 0; }
.map { border-radius: 24px; overflow: hidden; min-height: 360px; border: 6px solid #fff; box-shadow: 0 12px 30px rgba(51,36,26,.14); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
@media (min-width: 860px) { .map, .map iframe { min-height: 520px; } }

.opinion { padding: 3rem 0 3.6rem; text-align: center; border-top: 2px dotted var(--line); }
.opinion .lede { max-width: 44rem; margin-inline: auto; }

.footer { background: var(--green); color: #fff7e8; padding: 2.4rem clamp(18px, 4.5vw, 40px) 2.8rem; font-size: .92rem; }
.footer .brand { color: #fff7e8; }
.footer .brand small { color: var(--corn); }
.footer p { max-width: 60rem; margin: .9rem 0 0; }

.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1.5fr 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--red); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 58px; text-decoration: none; font-weight: 700; color: #fff; }
.mobile-bar .mb-alt { background: var(--corn); 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 .5s ease, transform .5s ease; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js-reveal .reveal { transform: none; } }
