@font-face {
  font-family: "Alfa Slab One";
  src: url("../fonts/alfa-slab-one-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --anil: #221a3d;
  --anil-2: #2e2452;
  --masa: #f6ecd6;
  --masa-2: #efe0bf;
  --sol: #f2a71b;
  --chile: #b42318;
  --rosa: #d9467a;
  --nopal: #24603f;
  --slab: "Alfa Slab One", "Rockwell", "Roboto Slab", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --bar: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.week .h, .foot .hours .h { white-space: nowrap; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--masa);
  color: var(--anil);
  font: 400 1.0625rem/1.55 var(--sans);
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom));
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--slab); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: .005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 3px; border-radius: 4px; }
.on-masa :focus-visible, main :focus-visible { outline-color: var(--chile); }
.skip { position: absolute; left: -999px; top: 0; background: var(--sol); color: var(--anil); padding: .6rem 1rem; z-index: 50; font-weight: 700; }
.skip:focus { left: 1rem; top: .5rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header ---------- */
.top {
  background: var(--anil);
  color: var(--masa);
  position: relative;
  z-index: 20;
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand svg { width: 52px; height: 26px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name small { font: 700 .66rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--sol); margin-bottom: .2rem; }
.brand-name b { font: 400 1.18rem/1 var(--slab); }

.nwd-lang-toggle { display: flex; border: 2px solid rgba(246,236,214,.35); border-radius: 999px; padding: 2px; }
.nwd-lang-toggle button {
  font: 700 .78rem/1 var(--sans); color: var(--masa); background: transparent; border: 0;
  padding: .5rem .7rem; border-radius: 999px; cursor: pointer; letter-spacing: .02em;
}
.nwd-lang-toggle button[aria-pressed="true"] { background: var(--sol); color: var(--anil); text-decoration: none; }

/* Nav: bottom tab bar on phones, header nav on wide screens */
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--anil); color: var(--masa);
  border-top: 3px solid var(--sol);
  padding-bottom: env(safe-area-inset-bottom);
}
.nav ul { display: grid; grid-template-columns: repeat(5, 1fr); height: var(--bar); }
.nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
  height: 100%; text-decoration: none; font: 700 .7rem/1 var(--sans); letter-spacing: .02em;
  color: rgba(246,236,214,.86);
}
.nav a svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav a[aria-current="page"] { color: var(--sol); }
.nav a.nav-call { background: var(--chile); color: var(--masa); }
.nav .num { display: none; }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .top .wrap { min-height: 84px; }
  .brand svg { width: 64px; height: 32px; }
  .brand-name b { font-size: 1.45rem; }
  .nav { position: static; border: 0; background: transparent; margin-left: auto; padding: 0; }
  .nav ul { display: flex; height: auto; gap: .35rem; align-items: center; }
  .nav a { flex-direction: row; font: 400 1rem/1 var(--slab); padding: .7rem .9rem; border-radius: 999px; color: var(--masa); letter-spacing: .01em; }
  .nav a svg { display: none; }
  .nav a[aria-current="page"] { background: rgba(242,167,27,.14); color: var(--sol); }
  .nav a:hover { color: var(--sol); }
  .nav a.nav-call { margin-left: .5rem; padding: .75rem 1.1rem; }
  .nav a.nav-call:hover { color: var(--masa); background: #9b1d13; }
  .nav a.nav-call .lbl { display: none; }
  .nav .num { display: inline; }
}

/* ---------- Motifs ---------- */
.scallop { height: 18px; background: radial-gradient(circle at 14px 0, var(--anil) 13px, transparent 13.5px) 0 0 / 28px 18px repeat-x; }
.scallop.chile { background-image: radial-gradient(circle at 14px 0, var(--chile) 13px, transparent 13.5px); }
.kicker { font: 800 .76rem/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .8rem 1.3rem; border-radius: 999px;
  font: 400 1.05rem/1.1 var(--slab); text-decoration: none; letter-spacing: .01em;
  border: 3px solid transparent;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-chile { background: var(--chile); color: var(--masa); }
.btn-chile:hover { background: #9b1d13; }
.btn-sol { background: var(--sol); color: var(--anil); }
.btn-sol:hover { background: #ffb935; }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: rgba(246,236,214,.1); }
.arrow { text-decoration: none; font: 400 1.05rem/1.2 var(--slab); display: inline-flex; gap: .4rem; align-items: center; border-bottom: 3px solid var(--sol); padding-bottom: .15rem; }
.arrow:hover { border-color: var(--chile); }

/* ---------- Home hero ---------- */
.hero { background: var(--anil); color: var(--masa); overflow: hidden; }
.hero .wrap { display: grid; gap: 1.2rem; padding-top: 1.4rem; padding-bottom: 2rem; }
.hero-suns { width: 100%; max-width: 260px; height: auto; }
.hero .kicker { color: var(--sol); }
.hero h1 { display: flex; flex-direction: column; }
.hero h1 .t { font-size: clamp(1.5rem, 6.5vw, 2.6rem); color: var(--sol); }
.hero h1 .n { font-size: clamp(3.05rem, 15.2vw, 7.4rem); line-height: .92; margin-top: .1em; }
.hero .place { font: 600 1.05rem/1.3 var(--sans); display: flex; align-items: center; gap: .5rem; color: rgba(246,236,214,.9); }
.hero .place::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rosa); flex: none; }
.today-chip {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem;
  border: 2px dashed rgba(242,167,27,.6); border-radius: 14px; padding: .65rem .9rem; width: fit-content;
}
.today-chip b { font: 400 1rem/1 var(--slab); color: var(--sol); }
.today-chip span.slot { font-weight: 600; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero .actions .btn { flex: 1 1 auto; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.25fr 1fr; align-items: center; padding-top: 4.5rem; padding-bottom: 5rem; gap: 2rem 4rem; }
  .hero .copy { display: grid; gap: 1.4rem; }
  .hero-suns { max-width: none; grid-column: 2; grid-row: 1; }
  .hero .actions .btn { flex: 0 0 auto; }
}
.hero .copy { display: grid; gap: 1.05rem; }

/* ---------- La pizarra (home taco board) ---------- */
.board-sec { padding: 3rem 0 3.5rem; }
.board-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.board-head .kicker { color: var(--chile); margin-bottom: .5rem; }
.board-head h2 { font-size: clamp(2.6rem, 10vw, 4.4rem); }
.board {
  background: var(--anil); color: var(--masa); border-radius: 22px; padding: .5rem 1.1rem;
  box-shadow: inset 0 0 0 3px var(--anil), inset 0 0 0 6px var(--sol);
}
.board li { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: center; padding: 1.05rem .4rem; border-bottom: 2px dashed rgba(246,236,214,.22); }
.board li:last-child { border-bottom: 0; }
.board h3 { font-size: 1.3rem; }
.board p { font-size: .95rem; color: rgba(246,236,214,.84); grid-column: 1; }
.disc {
  grid-row: 1 / span 2; grid-column: 2;
  width: 74px; height: 74px; border-radius: 50%; background: var(--sol); color: var(--anil);
  display: grid; place-items: center; font: 400 1.02rem/1 var(--slab);
  box-shadow: 0 0 0 4px var(--anil), 0 0 0 6px rgba(242,167,27,.5);
}
@media (min-width: 900px) {
  .board { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; padding: 1.4rem 2.4rem; }
  .board li:nth-last-child(2) { border-bottom: 0; }
  .board h3 { font-size: 1.55rem; }
}
.board-foot { margin-top: 1.6rem; }

/* ---------- Home doorways ---------- */
.doors { padding: 0 0 3.5rem; }
.doors .wrap { display: grid; gap: 1.2rem; }
.door { border-radius: 22px; padding: 1.8rem 1.4rem; display: grid; gap: 1rem; align-content: start; }
.door-about { background: var(--chile); color: var(--masa); }
.door-about .big { font: 400 clamp(2rem, 8vw, 3rem)/1.05 var(--slab); }
.door-about .arrow { border-color: var(--sol); }
.door-visit { background: var(--sol); color: var(--anil); }
.door-visit .arrow { border-color: var(--anil); }
.door .kicker { opacity: .9; }
.door-visit .today-big { font: 400 clamp(1.7rem, 7vw, 2.4rem)/1.1 var(--slab); }
@media (min-width: 900px) {
  .doors .wrap { grid-template-columns: 1.4fr 1fr; }
  .door { padding: 2.6rem 2.4rem; }
}

/* ---------- Page heads ---------- */
.page-head { background: var(--anil); color: var(--masa); padding: 2.2rem 0 1.8rem; }
.page-head.chile { background: var(--chile); }
.page-head .wrap { display: grid; gap: .9rem; }
.page-head .kicker { color: var(--sol); }
.page-head.chile .kicker { color: var(--masa); opacity: .9; }
.page-head h1 { font-size: clamp(3.2rem, 15vw, 7rem); line-height: .95; }
.page-head .lede { font-size: 1.1rem; max-width: 38ch; color: rgba(246,236,214,.92); }
.page-head .mini-suns { width: 120px; height: 60px; }
@media (min-width: 900px) {
  .page-head { padding: 3.6rem 0 3rem; }
  .page-head .wrap { grid-template-columns: 1fr auto; align-items: end; }
  .page-head .mini-suns { width: 220px; height: 110px; grid-column: 2; grid-row: 1 / span 3; }
}

/* ---------- Menu page ---------- */
.jump { position: sticky; top: 0; z-index: 10; background: var(--masa); border-bottom: 2px solid var(--masa-2); }
.jump ul { display: flex; gap: .5rem; padding: .7rem 0; overflow-x: auto; }
.jump a { display: block; text-decoration: none; font: 400 .98rem/1 var(--slab); padding: .6rem 1rem; border: 2px solid var(--anil); border-radius: 999px; white-space: nowrap; }
.jump a:hover { background: var(--anil); color: var(--masa); }
.menu-sec { padding: 2.6rem 0 1rem; scroll-margin-top: 64px; }
.sec-title { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.4rem; }
.sec-title h2 { font-size: clamp(2.3rem, 9vw, 3.6rem); }
.sec-title::after { content: ""; flex: 1; height: 4px; background: repeating-linear-gradient(90deg, var(--anil) 0 14px, transparent 14px 22px); }
.sec-title .dot { width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--sol); }
.sec-title .dot.rosa { background: var(--rosa); }
.sec-title .dot.chile { background: var(--chile); }

.tickets { display: grid; gap: 1.1rem; }
.ticket {
  position: relative; background: #fffaf0; border: 3px solid var(--anil); border-radius: 18px;
  padding: 1.2rem 6rem 1.2rem 1.2rem; min-height: 112px; display: grid; gap: .35rem; align-content: center;
}
.ticket h3 { font-size: 1.32rem; }
.ticket p { font-size: .98rem; color: #3b3352; }
.ticket .disc { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); box-shadow: 0 0 0 3px var(--anil); }
.tag { display: inline-block; width: fit-content; background: var(--nopal); color: #fff; font: 800 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: .38rem .55rem; border-radius: 6px; }
@media (min-width: 720px) { .tickets { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .tickets { grid-template-columns: repeat(3, 1fr); } }

.lined li { padding: 1.15rem 0; border-bottom: 2px solid var(--masa-2); display: grid; gap: .3rem; }
.lined .row { display: flex; align-items: baseline; gap: .6rem; }
.lined h3 { font-size: 1.35rem; }
.lined .row::after { content: none; }
.lined .lead { flex: 1; border-bottom: 3px dotted rgba(34,26,61,.45); transform: translateY(-.3em); min-width: 1.5rem; }
.lined .price { font: 400 1.25rem/1 var(--slab); color: var(--chile); }
.lined p { color: #3b3352; max-width: 48ch; }
.plates { display: grid; gap: 1.6rem; }
.weekend {
  background: var(--sol); color: var(--anil); border-radius: 22px; padding: 1.6rem 1.4rem;
  display: grid; gap: .7rem; align-content: start; position: relative; overflow: hidden;
}
.weekend svg { width: 140px; height: 70px; }
.weekend h3 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
.weekend .price { font: 400 1.5rem/1 var(--slab); }
.weekend p { font: 700 1.15rem/1.35 var(--sans); }
@media (min-width: 900px) {
  .plates { grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
  .weekend { padding: 2.2rem; }
}

.drinks-sec { background: var(--anil); color: var(--masa); margin-top: 2.6rem; padding: 2.6rem 0 3rem; }
.drinks-sec .sec-title::after { background: repeating-linear-gradient(90deg, var(--masa) 0 14px, transparent 14px 22px); }
.drinks { display: grid; gap: 1rem; }
.drink { border: 2px solid rgba(246,236,214,.3); border-radius: 18px; padding: 1.2rem; display: grid; gap: .35rem; }
.drink .row { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.drink h3 { font-size: 1.3rem; }
.drink .price { font: 400 1.2rem/1 var(--slab); color: var(--sol); }
.drink p { color: rgba(246,236,214,.86); }
@media (min-width: 720px) { .drinks { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Visit page ---------- */
.visit-grid { display: grid; gap: 1.2rem; padding: 2rem 0 1rem; }
.today-card { background: var(--sol); border-radius: 22px; padding: 1.6rem 1.4rem; display: grid; gap: .5rem; }
.today-card .kicker { color: var(--anil); }
.today-card .day { font: 400 clamp(2.4rem, 11vw, 4rem)/1 var(--slab); }
.today-card .slot { font: 400 clamp(1.35rem, 6vw, 2rem)/1.15 var(--slab); }
.contact-card { background: var(--anil); color: var(--masa); border-radius: 22px; padding: 1.6rem 1.4rem; display: grid; gap: 1.2rem; align-content: start; }
.contact-card .kicker { color: var(--sol); margin-bottom: .35rem; }
.contact-card .big { font: 400 clamp(1.6rem, 7vw, 2.3rem)/1.1 var(--slab); }
.contact-card .phone { text-decoration: none; }
.contact-card .phone:hover { color: var(--sol); }
.contact-card .btn { width: 100%; }
@media (min-width: 900px) {
  .visit-grid { grid-template-columns: 1fr 1fr; padding-top: 3rem; }
  .today-card, .contact-card { padding: 2.4rem; }
}
.week-sec { padding: 1.5rem 0 3.5rem; }
.week { border: 3px solid var(--anil); border-radius: 22px; overflow: hidden; background: #fffaf0; }
.week li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 2px solid var(--masa-2); }
.week li:last-child { border-bottom: 0; }
.week .d { font: 400 1.15rem/1.1 var(--slab); display: flex; align-items: center; gap: .6rem; }
.week .d::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(34,26,61,.35); flex: none; }
.week .h { font-weight: 600; text-align: right; }
.week li.closed .h { color: var(--chile); }
.week li.is-today { background: var(--anil); color: var(--masa); }
.week li.is-today .d::before { background: var(--sol); border-color: var(--sol); }
.week li.is-today.closed .h { color: #ff9d8f; }
.week .today-tag { display: none; font: 800 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; background: var(--sol); color: var(--anil); padding: .3rem .45rem; border-radius: 5px; }
.week li.is-today .today-tag { display: inline-block; }
@media (min-width: 900px) {
  .week-sec .wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: start; }
  .week li { padding: 1.15rem 1.8rem; }
}
.week-sec h2 { font-size: clamp(2.2rem, 8vw, 3.2rem); margin-bottom: 1.2rem; }

/* ---------- About page ---------- */
.since { background: var(--anil); color: var(--masa); padding: 1rem 0 3rem; overflow: hidden; }
.since .year {
  font: 400 clamp(5rem, 27vw, 17rem)/.85 var(--slab); color: transparent;
  -webkit-text-stroke: 3px var(--sol); letter-spacing: -.01em;
}
.since .fact { font: 400 clamp(1.6rem, 7vw, 2.8rem)/1.1 var(--slab); max-width: 18ch; margin-top: 1rem; }
@media (min-width: 900px) {
  .since .wrap { display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: end; }
}
.made { padding: 3.2rem 0; }
.made .wrap { display: grid; gap: 1.6rem; }
.made .statement { font: 400 clamp(2rem, 9vw, 4.4rem)/1.04 var(--slab); color: var(--chile); max-width: 16ch; }
.made .suns-row { display: flex; gap: .7rem; }
.made .suns-row span { width: 34px; height: 34px; border-radius: 50%; }
.service { background: var(--sol); padding: 2.4rem 0; }
.service .wrap { display: grid; gap: 1.2rem; }
.service p { font: 400 clamp(1.5rem, 6.5vw, 2.4rem)/1.1 var(--slab); }
.service .links { display: flex; flex-wrap: wrap; gap: .8rem; }
.service .btn-line { color: var(--anil); }
.service .btn-line:hover { background: rgba(34,26,61,.08); }
@media (min-width: 900px) {
  .service .wrap { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- Review fixes ---------- */
.page-head .kicker, .page-head h1, .page-head .lede { grid-column: 1; }
.brand-name b { white-space: nowrap; }
@media (max-width: 899px) {
  .brand { gap: .5rem; }
  .brand svg { width: 42px; height: 21px; }
  .brand-name b { font-size: 1.02rem; }
  .nwd-lang-toggle button { padding: .5rem .55rem; font-size: .74rem; }
}
.ticket { padding-right: 6.8rem; }
.week li { flex-wrap: wrap; row-gap: .25rem; }
.week .h { margin-left: auto; }
@media (max-width: 899px) {
  .week li { padding: .9rem 1rem; }
  .week .h { font-size: .98rem; }
  .week .today-tag { display: none !important; }
}

/* ---------- Footer ---------- */
.foot { background: var(--anil); color: var(--masa); padding: 2.6rem 0 2rem; border-top: 5px solid var(--sol); }
.foot .wrap { display: grid; gap: 2rem; }
.foot h2 { font-size: 1.15rem; color: var(--sol); margin-bottom: .8rem; }
.foot .brand-name b { font-size: 1.6rem; }
.foot .who { display: grid; gap: .8rem; align-content: start; }
.foot .who a { text-decoration: none; font: 400 1.2rem/1 var(--slab); }
.foot .who a:hover { color: var(--sol); }
.foot .hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid rgba(246,236,214,.14); font-size: .95rem; }
.foot .hours li.is-today { color: var(--sol); font-weight: 700; }
.foot .pages a { display: inline-block; padding: .35rem 0; text-decoration: none; font-weight: 600; }
.foot .pages a:hover { color: var(--sol); }
.foot .small { font-size: .82rem; color: rgba(246,236,214,.7); border-top: 1px solid rgba(246,236,214,.14); padding-top: 1.2rem; }
@media (min-width: 900px) {
  .foot .wrap { grid-template-columns: 1.2fr 1.4fr 1fr; gap: 3rem; }
  .foot .small { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
