/* Asador El Sabrosón: "Letrero amarillo". Built from the shop's own yellow sign:
   sign yellow, maroon slab lettering, black spit-and-cage art, cream paper for the menu.
   Mobile first; wider layouts in min-width queries. */
@font-face { font-family: "Alfa Slab One"; src: url(../fonts/alfa-slab-one-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(../fonts/work-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(../fonts/work-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --yellow: #F2C91E;
  --yellow-pale: #FCEDB0;
  --maroon: #7A1F1F;
  --maroon-dark: #5C1414;
  --ink: #2A1C14;
  --paper: #FFF6DF;
  --line: rgba(42, 28, 20, .18);
  --slab: "Alfa Slab One", "Rockwell", Georgia, serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--sans); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--slab); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: .005em; }
h2 { font-size: clamp(2rem, 7.2vw, 3.25rem); color: var(--maroon); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 80; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--maroon); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border-radius: 999px;
  font: 600 1.0625rem/1.2 var(--sans); text-decoration: none; text-align: center; border: 2.5px solid transparent;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease; }
.btn-main { background: var(--maroon); color: var(--paper); box-shadow: 0 4px 0 var(--ink); }
.btn-main:hover { background: var(--maroon-dark); transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn-main:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--yellow); }
.btn-ink { background: var(--ink); color: var(--yellow); }
.btn-ink:hover { background: #000; transform: translateY(-2px); }

/* Header */
.top { background: var(--yellow); border-bottom: 2px solid var(--ink); }
.top-in { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.top-brand { display: flex; align-items: center; gap: 8px; font: 400 1.25rem/1 var(--slab); color: var(--maroon); text-decoration: none; margin-right: auto; }
.top-brand img { border-radius: 7px; }
.top-nav { display: none; gap: 22px; }
.top-nav a, .top-tel { font-weight: 600; text-decoration: none; padding: 10px 2px; }
.top-nav a:hover, .top-tel:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.top-tel { white-space: nowrap; }

/* Hero: the sign assembles (cage first, then the name stamps on) */
.hero { background: var(--yellow); display: grid; }
.hero-text { padding: 26px 16px 34px; text-align: center; display: grid; justify-items: center;
  /* their own shop interior, washed in sign yellow so the logo and text stay readable */
  background: linear-gradient(rgba(242, 201, 30, .72), rgba(242, 201, 30, .72)), url(../img/interior-640.webp) center / cover var(--yellow); }
.sign { position: relative; width: min(80vw, 380px); aspect-ratio: 1080 / 1030; margin-bottom: 18px; }
.sign img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero h1 { font-size: clamp(1.75rem, 7vw, 2.9rem); color: var(--ink); max-width: 18ch; }
.hero-sub { font-size: 1.125rem; max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 6px 0 18px; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; font-size: .98rem; }
.hero-facts a { display: inline-block; padding: 12px 0; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.now { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.now::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--maroon); box-shadow: 0 0 0 3px rgba(122, 31, 31, .2); }
.now.open::before { background: #1F7A3A; box-shadow: 0 0 0 3px rgba(31, 122, 58, .22); }
.hero-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-top: 2px solid var(--ink); }

/* Section heads */
.sec-head { max-width: 640px; margin-bottom: 26px; }
.sec-head p { font-size: 1.125rem; }

/* Combos by number: panels like the flyer, rows are order links */
.combos { padding: 54px 0 60px; }
.combo-grid { display: grid; gap: 22px; }
.panel { background: #FFFDF7; border: 2.5px solid var(--ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--ink); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 16px 14px; background: var(--yellow); border-bottom: 2.5px solid var(--ink); }
.panel-head h3 { color: var(--maroon); margin: 0; }
.panel-note { margin: 4px 0 0; font-size: .95rem; }
.panel-pic { width: 96px; height: 96px; flex: none; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--ink); }
.combo-list { list-style: none; margin: 0; padding: 0; }
.combo-list li + li { border-top: 1.5px dashed var(--line); }
.combo { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; text-decoration: none; min-height: 64px;
  transition: background-color .18s ease; }
.combo:hover { background: var(--yellow-pale); }
.num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--maroon); color: var(--paper); font: 400 1.25rem/1 var(--slab); }
.c-name { display: block; font-weight: 600; line-height: 1.3; }
.c-inc { display: block; font-size: .94rem; line-height: 1.4; color: #4A3A30; }
.price { font: 400 1.1875rem/1 var(--slab); color: var(--maroon); white-space: nowrap; }

/* The asador on video */
.brasa { position: relative; min-height: 86svh; display: grid; align-items: end; color: var(--paper); background: #1A110C; overflow: hidden; }
.brasa-media, .brasa-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brasa-vid { opacity: 0; transition: opacity .8s ease; }
.brasa-vid.on { opacity: 1; }
.brasa::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 13, 8, .92) 0%, rgba(22, 13, 8, .62) 38%, rgba(22, 13, 8, 0) 70%); }
.brasa-text { position: relative; z-index: 1; padding: 0 0 48px; }
.brasa h2 { color: var(--yellow); max-width: 14ch; }
.brasa p { font-size: 1.125rem; max-width: 34ch; }

/* La carta: pollo solo + acompañantes, pica pollo */
.carta { padding: 56px 0 64px; }
.tiles { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tile { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: baseline; }
.tile img { grid-column: 1 / -1; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; border: 2px solid var(--ink); margin-bottom: 6px; }
.t-name { font-weight: 600; line-height: 1.25; }
.tile .price { font-size: 1.0625rem; }
.pica { display: grid; gap: 0; border: 2.5px solid var(--ink); border-radius: var(--r); overflow: hidden; background: #FFFDF7; box-shadow: 6px 6px 0 var(--ink); }
.pica-pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pica-body { padding: 20px 18px 10px; }
.pica-body h3 { color: var(--maroon); font-size: 1.75rem; }
.pica-list { list-style: none; margin: 0; padding: 0; }
.pica-list li { display: flex; align-items: baseline; gap: 8px; padding: 10px 0; border-top: 1.5px dashed var(--line); font-weight: 600; }
.pica-list li span:first-child { flex: 1; }

/* How to order */
.how { background: var(--maroon); color: var(--paper); padding: 54px 0 58px; }
.how h2 { color: var(--yellow); }
.steps { list-style: none; counter-reset: s; margin: 0 0 26px; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 14px; font-size: 1.125rem; }
.steps li::before { content: counter(s); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font: 400 1.5rem/1 var(--slab); }
.steps b { color: var(--yellow); }
.how .btn-main { background: var(--yellow); color: var(--ink); }
.how .btn-main:hover { background: #FFD83A; }

/* Reviews */
.reviews { background: var(--yellow); padding: 50px 0; border-block: 2px solid var(--ink); }
.reviews-in { display: grid; gap: 6px; }
.score { font: 400 clamp(5rem, 24vw, 8.5rem)/.9 var(--slab); color: var(--maroon); margin: 0; }
.reviews h2 { color: var(--ink); font-size: clamp(1.75rem, 6vw, 2.5rem); }

/* Visit */
.visit { padding: 56px 0 64px; }
.visit-in { display: grid; gap: 34px; }
.addr { font-size: 1.25rem; font-weight: 600; }
.visit-links { display: flex; flex-wrap: wrap; gap: 12px; }
.ig { display: inline-block; padding: 10px 0; font-weight: 600; text-underline-offset: 4px; }
.hours-title { color: var(--maroon); }
.hours-box { background: #FFFDF7; border: 2.5px solid var(--ink); border-radius: var(--r); overflow: hidden; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 14px 16px; border-top: 1.5px dashed var(--line); vertical-align: top; }
.hours tr:first-child th, .hours tr:first-child td { border-top: 0; }
.hours th { font-weight: 600; }
.hours tr.today { background: var(--yellow-pale); }
.hours tr.today th::after { content: " (hoy)"; font-weight: 400; }

/* Footer */
.foot { background: var(--ink); color: var(--paper); padding: 40px 0 30px; font-size: .98rem; }
.foot-bar { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.foot-in { display: grid; gap: 22px; }
.foot img { width: 140px; border-radius: 12px; }
.foot a { color: var(--yellow); }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.legal-links a { padding: 8px 0; display: inline-block; }

/* Order bar (phones) */
.orderbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--yellow); border-top: 2px solid var(--ink); }
.orderbar .btn { flex: 1; box-shadow: none; }
.orderbar-tel { width: 52px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 2.5px solid var(--ink); color: var(--ink); }

/* Order window over the site */
.order-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: end center; }
.order-modal[hidden] { display: none; }
.order-modal-backdrop { position: absolute; inset: 0; background: rgba(42, 28, 20, .76); }
.order-modal-inner { position: relative; width: 100%; height: 94svh; background: #000; border-radius: 18px 18px 0 0; overflow: hidden; }
.order-modal-inner iframe { width: 100%; height: 100%; border: 0; }
.order-modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
body.modal-open { overflow: hidden; }

/* Legal pages */
.legal { padding: 40px 0 60px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 7vw, 2.75rem); color: var(--maroon); }
.legal h2 { font-size: 1.5rem; margin: 28px 0 8px; color: var(--ink); }
.legal .ph { background: var(--yellow-pale); padding: 0 4px; border-radius: 4px; font-weight: 600; }
.back { display: inline-block; margin-bottom: 18px; font-weight: 600; padding: 8px 0; }

@media (min-width: 640px) {
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .steps li { grid-template-columns: 1fr; align-items: start; }
  .reviews-in { grid-template-columns: auto 1fr; align-items: center; gap: 34px; }
  .foot-in { grid-template-columns: auto 1fr; align-items: start; gap: 32px; }
}

@media (min-width: 760px) {
  .combo-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 28px; }
  .panel-pic { width: 132px; height: 132px; margin: -6px 0; }
  .pica { grid-template-columns: 1fr 1fr; }
  .pica-pic { position: relative; min-height: 340px; }
  .pica-pic img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .pica-body { padding: 28px 30px 18px; }
  .brasa { min-height: 72vh; }
  .order-modal { place-items: center; }
  .order-modal-inner { width: min(560px, 94vw); height: min(860px, 92vh); border-radius: 18px; }
}

@media (min-width: 960px) {
  .foot-bar { padding-bottom: 30px; }
  .orderbar { display: none; }
  .top-nav { display: flex; }
  .top-tel { margin-left: 14px; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; }
  .top-tel:hover { background: var(--ink); color: var(--yellow); text-decoration: none; }
  .hero { grid-template-columns: 1.05fr 1fr; min-height: min(86vh, 820px); }
  .hero-text { background-image: linear-gradient(rgba(242, 201, 30, .72), rgba(242, 201, 30, .72)), url(../img/interior-1100.webp); text-align: left; justify-items: start; align-content: center; padding: 48px 48px 56px max(24px, calc((100vw - 1180px) / 2)); }
  .sign { width: min(31vw, 400px); margin-bottom: 22px; }
  .hero-cta, .hero-facts { justify-content: flex-start; }
  .hero-pic { position: relative; }
  .hero-pic img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; border-top: 0; border-left: 2px solid var(--ink); }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .visit-in { grid-template-columns: 1fr 1fr; align-items: start; gap: 60px; }
  .carta, .combos, .visit { padding: 80px 0 88px; }
}

/* Motion: one hero moment + gentle reveals. Everything is visible without JS
   or with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .sign-cage { animation: cage .6s cubic-bezier(.2, .7, .2, 1) .1s both; }
  .sign-name { animation: stamp .42s cubic-bezier(.3, 1.5, .55, 1) .6s both; }
  .sign { animation: thud .22s ease-out .98s both; }
  @keyframes cage { from { opacity: 0; transform: scale(.88); } }
  @keyframes stamp { from { opacity: 0; transform: scale(1.4) rotate(-4deg); } }
  @keyframes thud { 50% { transform: translateY(4px); } }
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
