/* LA SPRITZZERÍA · Carta — design tokens from Carta.dc.html */
:root{
  --bg:#F7EAD3;
  --surface:#FFF7EA;
  --ink:#2A1B10;
  --muted:#5E3F24;
  --accent:#C6521E;
  --accent2:#215E86;
  --price:#B5321F;
  --line:rgba(42,27,16,.14);
  --cardBg:#FFFFFF;
  --cardShadow:rgba(120,60,20,.4);
  --onAccent:#FFF3E0;
  --bezel:#EAD9BC;
  --statusInk:#2A1B10;
  --navBg:rgba(247,234,211,.9);
  --segBg:#EADCC4;
  --chipBg:#FFF7EA;
  --chipInk:#7A4A28;
  --heroAccent:#F4C57A;
}

/* Digits are excluded so numerals fall back to Fraunces, as in the design */
@font-face{
  font-family:'Bogart';
  src:url('fonts/Bogart.ttf') format('truetype');
  font-weight:300 800;
  font-style:normal;
  font-display:swap;
  unicode-range:U+0-2F,U+3A-10FFFF;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);-webkit-font-smoothing:antialiased}
a{color:var(--price);text-decoration:none}
a:hover{color:#8f2716}
button{font:inherit;-webkit-tap-highlight-color:transparent}

.page{max-width:480px;margin:0 auto;background:var(--bg)}

/* ---- sticky mini-header ---- */
.mini-header{
  position:fixed;top:0;left:50%;transform:translate(-50%,-100%);
  width:100%;max-width:480px;z-index:40;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:calc(11px + env(safe-area-inset-top,0px)) 22px 11px;
  background:var(--navBg);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
  opacity:0;pointer-events:none;
  transition:opacity .25s ease,transform .25s ease;
}
.mini-header.is-visible{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.mini-header__brand{
  font-family:'Bogart','Fraunces',serif;font-weight:600;font-size:15px;
  letter-spacing:.02em;text-transform:uppercase;color:var(--ink);
}
.mini-header__section{
  font-family:'EB Garamond',serif;font-size:11px;letter-spacing:.2em;
  text-transform:uppercase;color:var(--accent2);
}

/* ---- hero ---- */
.hero{position:relative;height:342px;overflow:hidden}
.hero__img{width:100%;height:100%;object-fit:cover;display:block}
.hero__shade{
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,0) 34%, rgba(0,0,0,.28) 62%, rgba(0,0,0,.82) 100%);
}
.hero__pill{
  position:absolute;top:18px;left:22px;display:inline-flex;align-items:center;gap:8px;
  background:var(--accent);color:var(--onAccent);
  font-family:'EB Garamond',serif;font-weight:600;font-size:11px;
  letter-spacing:.28em;text-transform:uppercase;padding:6px 13px;border-radius:999px;
}
.lang-toggle{
  position:absolute;top:16px;right:22px;display:flex;gap:2px;padding:3px;z-index:5;
  background:rgba(0,0,0,.34);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.28);border-radius:999px;
}
.lang-toggle__btn{
  border:none;cursor:pointer;
  font-family:'EB Garamond',serif;font-weight:600;font-size:12px;letter-spacing:.1em;
  padding:5px 11px;border-radius:999px;color:#FFF4E3;background:transparent;
  transition:background .2s,color .2s;
}
.lang-toggle__btn.is-active{background:var(--accent);color:var(--onAccent)}
.hero__text{position:absolute;left:22px;right:22px;bottom:22px}
.hero__title{
  margin:0;font-family:'Bogart','Fraunces',serif;font-weight:600;font-size:40px;line-height:1;
  color:#FFF4E3;letter-spacing:.02em;text-transform:uppercase;
  text-shadow:0 2px 18px rgba(0,0,0,.5);
}
.hero__tagline{
  font-family:'Fraunces',serif;font-style:italic;font-weight:500;font-size:15px;
  color:var(--heroAccent);margin-top:8px;text-shadow:0 1px 8px rgba(0,0,0,.6);
}
.hero__subtitle{
  font-family:'EB Garamond',serif;font-size:12px;letter-spacing:.24em;
  text-transform:uppercase;color:rgba(255,244,227,.82);margin-top:8px;
}

/* ---- sticky nav ---- */
.nav{
  position:sticky;top:0;z-index:20;
  background:var(--navBg);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
  transition:top .25s ease;
}
/* While the mini-header is shown, stick the nav below it so the
   Comida/Barra control isn't covered. --miniH is set from JS. */
body.is-scrolled .nav{top:var(--miniH,46px)}
.nav__seg-wrap{padding:12px 22px 8px}
.seg{display:flex;background:var(--segBg);border-radius:999px;padding:4px;gap:4px}
.seg__btn{
  flex:1;text-align:center;padding:10px 0;border:none;cursor:pointer;
  font-family:'Bogart','Fraunces',serif;font-weight:600;font-size:16px;border-radius:999px;
  transition:background .2s,color .2s;background:transparent;color:var(--muted);
}
.seg__btn.is-active{
  background:var(--accent);color:var(--onAccent);
  box-shadow:0 3px 12px -3px var(--accent);
}
.chips{display:flex;gap:8px;overflow-x:auto;padding:0 22px 12px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{
  flex:0 0 auto;border:1px solid var(--line);background:var(--chipBg);color:var(--chipInk);
  font-family:'Bogart','Fraunces',serif;font-weight:600;font-size:14.5px;
  padding:8px 16px;border-radius:999px;cursor:pointer;white-space:nowrap;
  transition:background .18s,color .18s,border-color .18s;
}
.chip.is-active{background:var(--accent);color:var(--onAccent);border-color:transparent}

/* ---- sections ---- */
.band{position:relative;margin:24px 0 4px;overflow:hidden}
.band__img{width:100%;height:auto;aspect-ratio:1100/619;display:block}
.band__shade{
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.08) 45%, rgba(0,0,0,.42) 100%);
}
.section-head{padding:26px 22px 2px}
.section-head__kicker{
  font-family:'EB Garamond',serif;font-size:12px;letter-spacing:.28em;
  text-transform:uppercase;color:var(--accent2);
}
.section-head__title{
  font-family:'Bogart','Fraunces',serif;font-weight:600;font-size:33px;
  color:var(--accent);line-height:1.02;margin-top:4px;
}
.section-head__rule{
  height:2px;width:42px;background:var(--accent);opacity:.55;margin-top:12px;border-radius:2px;
}
.item{padding:13px 22px;border-bottom:1px solid var(--line)}
.item__row{display:flex;align-items:baseline;gap:9px}
.item__name{
  font-family:'Bogart','Fraunces',serif;font-weight:600;font-size:20px;
  color:var(--ink);flex:0 1 auto;
}
.item__spicy{flex:0 0 auto;align-self:center;font-size:14px;line-height:1}
.item__spacer{flex:1 1 auto}
.item__price{
  font-family:'Fraunces',serif;font-weight:600;font-size:17px;
  color:var(--price);white-space:nowrap;flex:0 0 auto;
}
.item__desc{
  margin:6px 0 0;font-family:'EB Garamond',serif;font-size:17px;
  line-height:1.45;color:var(--muted);max-width:92%;
}

/* ---- brunch teaser ---- */
.brunch{
  margin:30px 22px 4px;position:relative;border-radius:22px;overflow:hidden;
  min-height:158px;display:flex;align-items:flex-end;
  box-shadow:0 18px 40px -24px var(--cardShadow);
}
.brunch__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.brunch__shade{
  position:absolute;inset:0;
  background:linear-gradient(100deg, rgba(0,0,0,.68) 8%, rgba(0,0,0,.28) 46%, rgba(0,0,0,0) 78%);
}
.brunch__content{position:relative;padding:18px 20px 20px}
.brunch__tag{
  display:inline-block;background:var(--accent);color:var(--onAccent);
  font-family:'EB Garamond',serif;font-weight:600;font-size:10px;
  letter-spacing:.24em;text-transform:uppercase;padding:5px 11px;
  border-radius:999px;margin-bottom:9px;
}
.brunch__title{
  font-family:'Bogart','Fraunces',serif;font-weight:600;font-size:27px;line-height:1;
  color:#FFF4E3;text-shadow:0 2px 12px rgba(0,0,0,.5);
}
.brunch__desc{
  font-family:'EB Garamond',serif;font-size:13.5px;
  color:rgba(255,244,227,.88);margin-top:6px;max-width:220px;
}

/* ---- footer ---- */
.footer{padding:34px 24px 40px;text-align:center}
.footer__tag{
  font-family:'Fraunces',serif;font-style:italic;font-weight:600;font-size:20px;color:var(--accent);
}
.footer__note{
  font-family:'EB Garamond',serif;font-size:12.5px;line-height:1.5;
  color:var(--muted);margin-top:12px;
}
.footer__brand{
  font-family:'EB Garamond',serif;font-size:12px;letter-spacing:.24em;
  text-transform:uppercase;color:var(--accent2);margin-top:14px;
}

/* ================= tablet ================= */
@media (min-width:700px){
  .page,.mini-header{max-width:720px}

  .hero{height:420px}
  .hero__title{font-size:54px}
  .hero__tagline{font-size:18px}
  .hero__subtitle{font-size:13px}
  .hero__text{left:32px;right:32px;bottom:30px}
  .hero__pill{top:24px;left:32px}
  .lang-toggle{top:22px;right:32px}

  .mini-header{padding-left:32px;padding-right:32px}
  .nav__seg-wrap{padding:14px 32px 9px}
  .chips{padding:0 32px 14px}
  .section-head{padding:32px 32px 4px}
  .section-head__title{font-size:38px}
  .item{padding:15px 32px}
  .brunch{margin:36px 32px 6px;min-height:200px}
  .brunch__title{font-size:31px}
  .brunch__desc{font-size:15px;max-width:300px}
  .footer{padding:42px 32px 52px}
}

/* ================= desktop ================= */
@media (min-width:1040px){
  /* Grow with the window instead of locking to a fixed column */
  .page,.mini-header{width:100%;max-width:min(1680px,94vw)}

  .hero{height:clamp(460px,34vw,620px)}
  .hero__title{font-size:68px}
  .hero__tagline{font-size:20px;margin-top:10px}
  .hero__subtitle{font-size:14px;margin-top:10px}
  .hero__text{left:44px;right:44px;bottom:40px}
  .hero__pill{top:28px;left:44px;font-size:12px;padding:7px 15px}
  .lang-toggle{top:26px;right:44px}

  .mini-header{padding-left:44px;padding-right:44px}
  .mini-header__brand{font-size:17px}
  .mini-header__section{font-size:12px}

  /* One full-width bar: group toggle on the left, categories spread across
     the rest of the width instead of bunched up beside it. */
  .nav{display:flex;align-items:center;gap:40px;padding:14px 44px}
  .nav__seg-wrap{padding:0;flex:0 0 auto}
  .seg{width:340px;max-width:none}
  .chips{
    flex:1 1 auto;padding:0;overflow:visible;flex-wrap:wrap;
    justify-content:space-between;row-gap:10px;
  }

  /* Section photo beside its title instead of a full-width band */
  .section-intro.has-band{
    display:grid;grid-template-columns:minmax(0,560px) minmax(0,1fr);
    align-items:center;gap:48px;padding:0 44px;margin:46px 0 10px;
  }
  .section-intro.has-band .band{margin:0;border-radius:20px}
  .section-intro.has-band .section-head{padding:0}
  .section-head{padding:40px 44px 6px}
  .section-head__kicker{font-size:13px}
  .section-head__title{font-size:46px}
  .section-head__rule{margin-top:16px}

  /* Columns adapt to the window: 2 on a laptop, 3 on a wide monitor */
  .items{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(380px,1fr));
    column-gap:48px;padding:0 44px;
  }
  .item{padding:16px 0}
  .item__name{font-size:21px}
  .item__price{font-size:19px}
  .item__desc{font-size:17px;max-width:100%}

  .brunch{margin:52px 44px 8px;min-height:260px}
  .brunch__content{padding:26px 30px 28px}
  .brunch__title{font-size:36px}
  .brunch__desc{font-size:16px;max-width:340px}

  .footer{padding:56px 44px 64px}
  .footer__tag{font-size:24px}
  .footer__note{font-size:13.5px;max-width:640px;margin-left:auto;margin-right:auto}
}
