/* Don Papón · estilos
   Paleta tomada de la carta física: marrón oscuro, pergamino y dorado. */

@font-face {
  font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/anton-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/anton-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #1a110b;
  --bg-2: #241810;
  --parchment: #f4e8cc;
  --parchment-2: #ecdcb6;
  --ink: #2b1b10;
  --muted: #6e5842;
  --line: #c9b17f;
  --gold-1: #f3cb55;
  --gold-2: #b8841a;
  --gold-grad: linear-gradient(180deg, #f6d56a 0%, #d9a52a 55%, #a87814 100%);
  --text-on-dark: #f4e8cc;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --head-h: 58px;
  --f-title: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
    --f-body: Arial, 'Liberation Sans', Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 62px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-on-dark);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(184, 132, 26, .18), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(120, 70, 30, .22), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
img, iframe { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold-1); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold-1); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); margin: 6px 0 0; }

/* ---------- barra superior ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: var(--head-h);
  background: rgba(26, 17, 11, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(243, 203, 85, .25);
}
.topbar-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-script { height: 22px; width: auto; display: block; }
.brand-name { height: 27px; width: auto; display: block; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45)); }
.topnav { display: none; gap: 22px; }
.topnav a { text-decoration: none; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .9rem; opacity: .85; }
.topnav a:hover { opacity: 1; color: var(--gold-1); }

.langs { display: flex; gap: 4px; flex: none; }
.lang {
  font: 600 .85rem/1 var(--f-body); letter-spacing: .06em;
  min-width: 38px; min-height: 38px; padding: 0 8px;
  color: var(--text-on-dark); background: transparent;
  border: 1px solid rgba(243, 203, 85, .45); border-radius: 999px; cursor: pointer;
}
.lang:hover { background: rgba(243, 203, 85, .15); }
.lang[aria-pressed="true"] { background: var(--gold-grad); color: var(--ink); border-color: transparent; }

/* ---------- hero ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hero { padding: 40px 0 44px; text-align: center; }
.hero-in { display: grid; gap: 18px; justify-items: center; }
.hero-title { margin: 0; display: grid; gap: 4px; justify-items: center; line-height: 0; }
.hero-script { width: min(80vw, 400px); height: auto; display: block; }
.hero-name { width: min(88vw, 520px); height: auto; display: block; filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .55)); }
.hero-tag { max-width: 34rem; margin: 18px auto 26px; font-size: 1.15rem; opacity: .92; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-oven { order: -1; width: min(150px, 40vw); }
.hero-oven img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55)) drop-shadow(0 0 16px rgba(243, 203, 85, .18));
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px; line-height: 1.2; border-radius: 999px; border: 2px solid transparent;
  font: 700 .95rem/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; text-align: center;
}
.btn-gold { background: var(--gold-grad); color: var(--ink); box-shadow: 0 6px 18px rgba(184, 132, 26, .35); }
.btn-gold:hover { filter: brightness(1.07); }
.btn-ghost { color: var(--text-on-dark); border-color: rgba(243, 203, 85, .6); background: rgba(0, 0, 0, .15); }
.btn-ghost:hover { background: rgba(243, 203, 85, .15); }

/* ---------- bloques ---------- */
.block-head { text-align: center; margin: 12px 0 22px; }
.block-head h2 { margin: 0; font: 400 clamp(2.4rem, 8vw, 3.6rem)/1 var(--f-title); letter-spacing: .03em; color: var(--gold-1); }
.block-head p { margin: 8px 0 0; opacity: .85; }

/* ---------- carta ---------- */
.menu { padding: 32px 0 8px; }
.chips {
  position: sticky; top: var(--head-h); z-index: 40;
  background: rgba(26, 17, 11, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(243, 203, 85, .2);
}
.chips-in {
  display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px;
  max-width: 1120px; margin: 0 auto; scrollbar-width: none;
}
.chips-in::-webkit-scrollbar { display: none; }
.chip {
  flex: none; text-decoration: none; padding: 8px 16px; border-radius: 999px;
  font-weight: 600; font-size: .92rem; white-space: nowrap;
  border: 1px solid rgba(243, 203, 85, .4); background: rgba(0, 0, 0, .2);
}
.chip:hover { background: rgba(243, 203, 85, .15); }
.chip.on { background: var(--gold-grad); color: var(--ink); border-color: transparent; }

#menu-root { display: grid; gap: 22px; padding-top: 24px; padding-bottom: 8px; }

.cat {
  position: relative; isolation: isolate; overflow: hidden; container-type: inline-size;
  background: #f7ecd5; color: #15100b;
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 0 0 8px;
}
/* foto difuminada de cada sección, la misma del PDF */
.cat[data-bg]::before {
  content: ''; position: absolute; z-index: -1; right: 0; bottom: 0; pointer-events: none;
  width: 100%; height: min(100%, calc(100cqw * var(--ar, 1)));
  background: var(--bg-img) right bottom / 100% auto no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
}
.cat[data-pos="top"]::before {
  top: 0; bottom: auto; background-position: right top;
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 22%);
          mask-image: linear-gradient(to top, transparent 0, #000 22%);
}
/* en tarjetas anchas la foto no se estira: se queda a la derecha con tamaño natural */
@container (min-width: 700px) {
  .cat[data-bg]::before {
    width: 680px; height: min(100%, calc(680px * var(--ar, 1)));
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%), linear-gradient(to right, transparent 0, #000 30%);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(to bottom, transparent 0, #000 22%), linear-gradient(to right, transparent 0, #000 30%);
            mask-composite: intersect;
  }
  .cat[data-pos="top"]::before {
    -webkit-mask-image: linear-gradient(to top, transparent 0, #000 22%), linear-gradient(to right, transparent 0, #000 30%);
            mask-image: linear-gradient(to top, transparent 0, #000 22%), linear-gradient(to right, transparent 0, #000 30%);
  }
}
/* rótulo de la sección, como en la carta: letra negra y barra dorada */
.cat-head { display: flex; align-items: center; padding: 16px 18px 4px; }
.cat-head h3 {
  margin: 0; flex: none; position: relative; z-index: 1;
  font: 400 clamp(1.9rem, 6vw, 2.5rem)/1 var(--f-title); letter-spacing: -.01em; text-transform: uppercase; color: #000;
  text-shadow: -1px -1px 0 #fbf1d6, 1px -1px 0 #fbf1d6, -1px 1px 0 #fbf1d6, 1px 1px 0 #fbf1d6, -1px 2px 0 #d3a22a;
  padding-right: 4px;
}
.cat-bar {
  flex: 1; align-self: stretch; margin-left: 2px; min-width: 24px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #f7d760 0%, #d9a52a 52%, #8f6410 100%);
  font: 400 clamp(1rem, 3.4vw, 1.5rem)/1 var(--f-title); letter-spacing: 0; text-transform: uppercase; color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35); white-space: nowrap; padding: 0 12px; overflow: hidden;
}
.cat-sub { margin: 14px 20px 0; color: var(--muted); font-style: italic; }

.dishes { list-style: none; margin: 0; padding: 8px 20px 12px; display: grid; gap: 0 36px; }
.dish { padding: 12px 0; border-bottom: 1px dashed rgba(110, 88, 66, .35); break-inside: avoid; }
.dish:last-child { border-bottom: 0; }
.dish-row { display: flex; align-items: baseline; gap: 8px; }
.dish-name { font-weight: 700; font-size: 1.08rem; }
.dish-dots { flex: 1; min-width: 16px; border-bottom: 2px dotted rgba(110, 88, 66, .55); transform: translateY(-4px); }
.dish-price { font-weight: 700; white-space: nowrap; color: #15100b; font-variant-numeric: tabular-nums; }
.dish-price small { font-weight: 600; color: var(--muted); font-size: .8em; }
.dish-desc { margin: 3px 0 0; color: #3a2a1d; font-size: .94rem; }

/* hamburguesas "make your way" */
.steps { list-style: none; margin: 0; padding: 14px 20px 8px; display: grid; gap: 18px; }
.step { display: flex; gap: 14px; }
.step-n {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1b0f06; color: var(--gold-1); font: 400 1.3rem/1 var(--f-title);
}
.step-body { flex: 1; min-width: 0; }
.step-title { margin: 4px 0 8px; font: 700 .98rem/1.3 var(--f-body); letter-spacing: .05em; text-transform: uppercase; }
.step-extra { margin-left: 10px; padding: 2px 10px; border-radius: 999px; background: #1b0f06; color: var(--gold-1); font-size: .85rem; letter-spacing: 0; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 5px 12px; border-radius: 999px; background: var(--parchment-2); border: 1px solid var(--line); font-size: .95rem; }
.priced { list-style: none; margin: 0; padding: 0; }
.priced li { display: flex; align-items: baseline; gap: 8px; padding: 4px 0; }

.allergens { text-align: center; opacity: .8; font-size: .95rem; margin: 24px 0 0; }

/* ---------- contacto ---------- */
.contact { padding: 64px 0 8px; }
.contact-grid { display: grid; gap: 16px; max-width: 720px; margin: 0 auto; }
.ccard { text-align: center; }
.form { text-align: left; }
.form button { justify-self: center; }
.ccard {
  background: var(--parchment); color: var(--ink); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.ccard h3 { margin: 0 0 10px; font: 400 1.7rem/1 var(--f-title); letter-spacing: .04em; }
.big-link { display: inline-block; font-weight: 700; font-size: 1.5rem; color: #7a4d0a; text-decoration: none; word-break: break-word; }
.big-link:hover { text-decoration: underline; }
.hours-line { margin: 4px 0; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form input, .form textarea {
  font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fffaf0; color: var(--ink);
}
.form button { justify-self: start; }

/* ---------- dónde estamos ---------- */
.where { padding: 64px 0 56px; }
.where-grid { display: grid; gap: 20px; }
.where-info {
  background: var(--parchment); color: var(--ink); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); display: grid; gap: 20px; align-content: start;
}
address { font-style: normal; display: grid; gap: 2px; font-size: 1.15rem; }
address strong { font: 400 2rem/1 var(--f-title); letter-spacing: .04em; margin-bottom: 6px; }
.where-btns { display: grid; gap: 10px; }
.where-info .btn-ghost { color: var(--ink); border-color: var(--gold-2); background: transparent; }
.where-info .btn-ghost:hover { background: rgba(184, 132, 26, .12); }
.map-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 3px solid var(--gold-2); background: var(--bg-2); height: 340px; min-width: 0;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.where-grid > * { min-width: 0; }

/* ---------- pie ---------- */
.foot { border-top: 1px solid rgba(243, 203, 85, .25); padding: 22px 0 30px; font-size: .92rem; opacity: .85; }
.foot-in { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.foot a { color: var(--gold-1); }

/* ---------- pantallas medianas y grandes ---------- */
@media (min-width: 860px) {
  .hero { padding: 56px 0 52px; }
  .hero-in { grid-template-columns: minmax(0, 640px) auto; justify-content: center; align-items: center; gap: 56px; }
  .hero-oven { order: 0; width: 250px; }
}
@media (min-width: 720px) {
  .topnav { display: flex; }
  .dishes { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 22px 36px; }
  .contact-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .ccard-wide { grid-column: 1 / -1; }
  .where-grid { grid-template-columns: 5fr 7fr; align-items: stretch; }
  .where-btns { grid-template-columns: 1fr; }
  .map-frame { height: auto; min-height: 380px; }
}
@media (min-width: 1000px) {
  .cat-head { padding: 14px 28px 10px; }
  .dishes, .steps { padding-left: 28px; padding-right: 28px; }
  .cat-sub { margin-left: 28px; margin-right: 28px; }
}
/* menú de secciones: lateral fijo en pantallas grandes (en móvil/tablet sigue siendo la barra horizontal) */
@media (min-width: 1100px) {
  html { scroll-padding-top: calc(var(--head-h) + 20px); }
  .menu-layout {
    max-width: 1280px; margin: 0 auto; padding: 0 16px;
    display: grid; grid-template-columns: 210px minmax(0, 1fr); column-gap: 28px; align-items: start;
  }
  .menu-layout .wrap { max-width: none; padding: 0; grid-column: 2; }
  .menu-layout .chips {
    grid-column: 1; grid-row: 1 / span 2;
    top: calc(var(--head-h) + 16px); margin-top: 24px;
    max-height: calc(100vh - var(--head-h) - 32px); overflow-y: auto; scrollbar-width: thin;
    border: 1px solid rgba(243, 203, 85, .25); border-radius: 14px;
  }
  .menu-layout .chips-in { flex-direction: column; gap: 6px; overflow: visible; padding: 12px; max-width: none; }
  .menu-layout .chip { text-align: left; border-radius: 10px; padding: 9px 14px; white-space: normal; }
}
@media (max-width: 560px) {
  .brand-script { display: none; }
  .brand-name { font-size: 1.6rem; }
  .lang { min-width: 36px; min-height: 36px; padding: 0 6px; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
