/* Bahía Mestiza demo — minimal, Apple-style */
:root{--ink:#1d1d1f;--muted:#6e6e73;--hair:#d2d2d7;--alt:#f5f5f7;--accent:#1f5c45;--accent-soft:#e8f1ed;--r:20px;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Inter","Helvetica Neue",Helvetica,Arial,sans-serif}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);font-size:19px;line-height:1.5;color:var(--ink);background:#fff;font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
h1,h2,h3{margin:0;font-weight:700;color:var(--ink)}
h1{font-size:clamp(2.75rem,10vw,4.5rem);line-height:1.04;letter-spacing:-.035em}
h2{font-size:clamp(2rem,6.5vw,3rem);line-height:1.08;letter-spacing:-.03em;text-align:center;margin-bottom:28px}
h3{font-size:1.05rem;letter-spacing:-.01em}
p{margin:0 0 1em}
strong{font-weight:700}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}
address{font-style:normal}
.wrap{width:100%;max-width:1080px;margin:0 auto;padding:0 24px}
.narrow{max-width:620px}
.skip{position:absolute;left:-999px;top:0;background:#fff;padding:12px 16px;z-index:60}
.skip:focus{left:12px;top:12px}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}

.bar{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.8);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px)}
.bar-in{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px}
.demo-note{font-size:.75rem;color:var(--muted);letter-spacing:.01em}
.lang{display:inline-grid;place-items:center;min-width:44px;min-height:44px;padding:0 10px;border-radius:999px;color:var(--ink);font-weight:400;font-size:.85rem}
.lang:hover{background:var(--alt);text-decoration:none}

.hero{padding:44px 0 0;text-align:center}
.hero-txt{display:flex;flex-direction:column;align-items:center}
.lead{font-size:clamp(1.25rem,4.4vw,1.6rem);color:var(--muted);letter-spacing:-.015em;margin:10px 0 14px;font-weight:400}
.status{display:inline-flex;align-items:center;gap:8px;font-size:.95rem;color:var(--muted);margin:0 0 26px}
.dot{width:8px;height:8px;border-radius:50%;background:#aeaeb2;flex:none}
.status[data-state=open]{color:var(--accent)}
.status[data-state=open] .dot{background:var(--accent)}
.btns{display:grid;gap:12px;width:100%;max-width:360px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:54px;padding:0 28px;border-radius:999px;background:var(--accent);color:#fff;font-weight:400;font-size:1.05rem;letter-spacing:-.01em;border:0;cursor:pointer;font-family:inherit;text-align:center;transition:background-color .2s ease,transform .2s ease}
.btn:hover{background:#184b38;text-decoration:none}
.btn:active{transform:scale(.98)}
.btn-line{background:var(--alt);color:var(--ink)}
.btn-line:hover{background:#e8e8ed}
.alt .btn-line{background:#fff}
.alt .btn-line:hover{background:#ececf0}
.btn-block{display:flex;width:100%;max-width:360px;margin:0 auto}
.ico{width:20px;height:20px;flex:none}
.hero-media{margin-top:40px}
.hero-img{width:100%;aspect-ratio:4/3;object-fit:cover}

.section{padding:76px 0}
.alt{background:var(--alt)}
.dishes{list-style:none;margin:0 0 8px;padding:0}
.dishes li{padding:16px 0;border-bottom:1px solid #e8e8ed}
.dishes li:last-child{border-bottom:0}
.dish-top{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.price{font-weight:400;white-space:nowrap;color:var(--ink)}
.dishes p{margin:3px 0 0;color:var(--muted);font-size:.92rem}
.note{font-size:.8rem;color:var(--muted);text-align:center;margin:18px 0 26px}
.qr{display:flex;align-items:center;justify-content:center;gap:18px;margin:40px auto 0;max-width:360px}
.qr img{width:88px;height:88px;flex:none;image-rendering:pixelated;border-radius:8px}
.qr-h{font-weight:700;margin:0;font-size:1rem}
.qr-p{margin:2px 0 0;font-size:.85rem;color:var(--muted);line-height:1.4}

.hours{margin:0 0 30px;font-size:1rem}
.hours div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--hair)}
.hours div:last-child{border-bottom:0}
.hours dt{color:var(--muted)}
.hours dd{margin:0;text-align:right;white-space:nowrap}
.hours .today dt,.hours .today dd{color:var(--ink);font-weight:700}
#horario .status{display:flex;justify-content:center;margin:-12px 0 20px}
address{text-align:center;font-size:1.05rem}
.addr-note{display:block;font-size:.8rem;color:var(--muted);margin-top:4px}
.map{margin:22px 0;border-radius:var(--r);overflow:hidden;height:210px;background:#e8e8ed}
.map iframe{width:100%;height:100%;border:0;display:block;filter:grayscale(.35)}

.gal{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -24px;padding:0 24px 6px;scrollbar-width:none}
.gal::-webkit-scrollbar{display:none}
.gal img{flex:0 0 78%;aspect-ratio:4/5;object-fit:cover;border-radius:var(--r);scroll-snap-align:center}

.foot{background:var(--alt);padding:28px 0 96px;font-size:.78rem;color:var(--muted);text-align:center}
.foot p{margin:0 0 4px}
.foot a{color:var(--muted);display:inline-block;padding:12px 2px}
.foot strong{font-weight:400}

dialog{border:0;border-radius:22px;padding:0;max-width:min(420px,calc(100% - 32px));box-shadow:0 30px 80px -24px rgba(0,0,0,.4)}
dialog::backdrop{background:rgba(0,0,0,.35);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.dlg{padding:30px 24px 18px;text-align:center}
.dlg-k{font-size:.78rem;color:var(--muted);margin:0 0 6px}
.dlg h2{font-size:1.5rem;margin-bottom:12px}
.dlg p{font-size:.95rem;color:var(--muted)}
.dlg-msg{white-space:pre-wrap;font-family:inherit;font-size:.88rem;background:var(--alt);border-radius:14px;padding:14px 16px;margin:0 0 20px;text-align:left}
.dlg-actions{display:grid;gap:10px}
.btn-plain{background:none;border:0;font:inherit;font-size:.95rem;color:var(--accent);min-height:44px;cursor:pointer}

/* subtle reveal (only with JS, never with reduced motion) */
.js .reveal{opacity:0;transform:translateY(24px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.js .reveal.in{opacity:1;transform:none}

/* chat demo: small and quiet */
.cb-fab{position:fixed;right:12px;bottom:12px;z-index:40;display:flex;align-items:center;gap:6px;min-height:46px;padding:0 15px 0 12px;border:0;border-radius:999px;background:rgba(255,255,255,.88);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);color:var(--ink);font:inherit;font-size:.82rem;cursor:pointer;box-shadow:0 4px 18px rgba(0,0,0,.14)}
.cb-fab svg{width:18px;height:18px;color:var(--accent)}
.cb-fab .demo-badge{color:var(--muted)}
.cb-panel{position:fixed;right:12px;bottom:70px;z-index:41;width:min(360px,calc(100% - 24px));height:min(540px,calc(100vh - 100px));height:min(540px,calc(100dvh - 100px));background:#fff;border-radius:22px;box-shadow:0 24px 70px -18px rgba(0,0,0,.35);display:flex;flex-direction:column;overflow:hidden;font-size:16px}
.cb-head{padding:12px 10px 12px 16px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #e8e8ed}
.cb-av{width:32px;height:32px;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;font-weight:700;font-size:.9rem;flex:none}
.cb-title{flex:1;min-width:0;line-height:1.25}
.cb-title strong{display:block;font-size:.95rem}
.cb-title small{color:var(--muted);font-size:.75rem}
.cb-x{background:transparent;border:0;color:var(--muted);font-size:1.5rem;line-height:1;cursor:pointer;min-width:44px;min-height:44px;border-radius:50%}
.cb-x:hover{background:var(--alt)}
.cb-note{color:var(--muted);font-size:.72rem;padding:8px 14px 0;text-align:center}
.cb-log{flex:1;overflow-y:auto;padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.cb-msg{max-width:85%;padding:9px 13px;border-radius:18px;font-size:.92rem;line-height:1.4;white-space:pre-line}
.cb-bot{background:var(--alt);align-self:flex-start}
.cb-me{background:var(--accent);color:#fff;align-self:flex-end}
.cb-me a{color:#fff}
.cb-chips{display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px}
.cb-chip{border:0;background:var(--alt);color:var(--ink);font:inherit;font-size:.85rem;padding:8px 13px;border-radius:999px;cursor:pointer;transition:background-color .2s}
.cb-chip:hover{background:#e8e8ed}
.cb-form{display:flex;gap:8px;padding:6px 12px 12px}
.cb-form input{flex:1;min-width:0;font:inherit;font-size:16px;padding:10px 14px;border-radius:999px;border:1px solid var(--hair)}
.cb-form button{border:0;background:var(--accent);color:#fff;font:inherit;font-size:.9rem;border-radius:999px;padding:0 16px;cursor:pointer}

@media (min-width:860px){
  .hero{padding:80px 0 0}
  .btns{display:flex;justify-content:center;max-width:none}
  .btns .btn{white-space:nowrap}
  .hero-media{max-width:1200px;margin:56px auto 0;padding:0 24px}
  .hero-img{aspect-ratio:21/9;border-radius:28px}
  .section{padding:110px 0}
  .gal{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:0;padding:0;overflow:visible}
  .gal img{width:100%}
  .map{height:260px}
  .foot{padding-bottom:40px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.js .reveal{opacity:1;transform:none;transition:none}.btn{transition:none}}
