/* Fuentes alojadas en la página (media/fuentes/): los mismos .woff2 que servía Google Fonts. Licencia SIL OFL 1.1 (ver media/fuentes/). */
/* latin */
@font-face {
  font-family: 'Antonio';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("media/fuentes/antonio-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Antonio';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("media/fuentes/antonio-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Antonio';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("media/fuentes/antonio-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Condensed';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("media/fuentes/ibm-plex-sans-condensed-italic-300-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Condensed';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("media/fuentes/ibm-plex-sans-condensed-300-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("media/fuentes/ibm-plex-sans-condensed-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Mesada. La forma es la de padella.co, medida en MEDIDAS.md (±10 %); la identidad es propia:
   dos tintas (rojo tomate donde Padella pone negro, harina donde pone blanco), Antonio + IBM Plex Sans Condensed 300.
   Antonio va un 5 % más grande que Oswald (es más angosta en mayúsculas): ver LANDING.md, sección 7. */
:root {
  --tomate: #9A2617;      /* fondo de toda la página (Padella #000) */
  --harina: #F6EAD6;      /* texto, marco, líneas e íconos (Padella #FFF) · 6,6:1 sobre tomate */
  --apagada: #E8CDB9;     /* notas y pestaña apagada (Padella #AAA y blanco al 60 %) · 5,2:1 */
  --profundo: 43, 10, 6;  /* tomate profundo #2B0A06, para velos y fondos de capa (Padella: negro) */
  --cartel: "Antonio", "Arial Narrow", sans-serif;
  --texto: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { background: var(--tomate); color: var(--harina); font: 300 16px/1.5 var(--texto); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { fill: none; stroke: currentColor; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.solo-lector { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html.js .sin-js, html:not(.js) .solo-js { display: none !important; }
:focus-visible { outline: 2px solid var(--harina); outline-offset: 4px; }
/* Superficies del navegador, en las dos tintas */
html { scrollbar-color: var(--apagada) rgb(var(--profundo)); }
::selection { background: var(--harina); color: var(--tomate); }
.pc-tarjeta ::selection, .aviso-demo ::selection { background: var(--tomate); color: var(--harina); }
input, textarea { caret-color: var(--tomate); }
.saltar { position: absolute; left: 16px; top: -60px; z-index: 60; padding: 10px 16px; background: var(--harina); color: var(--tomate); font: 500 16px/1 var(--cartel); text-transform: uppercase; text-decoration: none; }
.saltar:focus { top: 16px; }

/* Espacio reservado honesto: "A completar" y la etiqueta de las fotos */
.pendiente { display: inline-block; white-space: nowrap; padding-top: 1px; border-top: 1px dashed currentColor; color: var(--apagada); font-weight: 400; }
.etiqueta-ejemplo { position: absolute; left: 12px; top: 12px; z-index: 3; padding: 4px 8px 3px; border-radius: 3px; background: var(--harina); color: var(--tomate); font: 400 13px/1.3 var(--texto); letter-spacing: 0; pointer-events: none; }

/* Botón (Padella no tiene; toma la letra de su barra): rectangular, harina con texto tomate */
.boton { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 32px; background: var(--harina); color: var(--tomate); font: 500 18px/1 var(--cartel); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; border: 2px solid var(--harina); }
.boton:hover { background: transparent; color: var(--harina); }
.boton:focus-visible { outline-offset: 4px; }
.boton--tomate { background: var(--tomate); color: var(--harina); border-color: var(--tomate); }
.boton--tomate:hover { background: transparent; color: var(--tomate); }
.boton--tomate:focus-visible, .boton--claro:focus-visible { outline-color: var(--tomate); }
.boton--claro { background: var(--tomate); color: var(--harina); border-color: var(--tomate); }
.boton--claro:hover { background: transparent; color: var(--tomate); }

/* ===================== 0. Barra (Padella: sin fondo, logo en arco centrado y fijo que se apaga al bajar) ===================== */
.barra { position: absolute; top: 0; left: 0; right: 0; z-index: 40; display: flex; justify-content: flex-end; align-items: center; min-height: 92px; padding: 24px 16px 16px; pointer-events: none; }
.barra > * { pointer-events: auto; }
.logo { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); width: 120px; height: 36px; color: var(--harina); z-index: 41; }
/* Las letras del arco se salen de la caja del viewBox (las del medio suben ~4 px; las de las puntas van giradas):
   el <svg> dentro del HTML recorta por defecto, así que se deja ver lo que sale. El tamaño y la curva no cambian. */
.logo svg, .ficha-rotulo svg { overflow: visible; }
.logo svg { width: 100%; height: 100%; stroke: none; }
html.vivo .logo { position: fixed; transition: opacity .3s, visibility .3s; }
html.vivo .logo.apagado { opacity: 0; visibility: hidden; }
.barra-enlaces { display: none; }
.barra-menu { position: relative; width: 44px; height: 44px; }
.barra-menu span { position: absolute; left: 7px; right: 7px; height: 2px; background: var(--harina); }
.barra-menu span:nth-child(1) { top: 14px; } .barra-menu span:nth-child(2) { top: 21px; } .barra-menu span:nth-child(3) { top: 28px; }
@media (min-width: 1024px) {
  .barra { padding: 32px; min-height: 0; }
  .logo { width: 220px; height: 66px; }
  .barra-enlaces { display: flex; gap: 32px; }
  .barra-enlaces a { font: 400 19px/27px var(--cartel); text-transform: uppercase; text-decoration: none; }
  .barra-enlaces a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .barra-menu { display: none; }
}

/* Menú de celular (Padella 0b): pantalla completa, ítems de 24 px centrados */
.menu { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; background: rgba(var(--profundo), .96); color: var(--harina); }
.menu::backdrop { background: transparent; }
.menu[open] { display: grid; place-items: center; }
.menu-cerrar { position: absolute; top: 24px; right: 16px; width: 44px; height: 44px; display: grid; place-items: center; }
.menu-cerrar svg { width: 26px; height: 26px; stroke-width: 2; }
.menu-lista { display: grid; gap: 40px; text-align: center; }
.menu-lista a { font: 500 25px/35px var(--cartel); text-transform: uppercase; text-decoration: none; }

/* ===================== 1. Portada: video a sangre, sin texto ===================== */
.portada { position: relative; height: 100vh; min-height: 360px; overflow: hidden; background: rgb(var(--profundo)); }
.portada picture, .portada-foto, .portada-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portada-video { opacity: 0; transition: opacity 1s; }
.portada-video.corriendo { opacity: 1; }
/* Velo medido (LANDING.md, sección 4): 65 % arriba y 45 % al 20 % para el logo; desde ahí, el degradé de Padella hasta 40 % abajo */
.portada-velo { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(var(--profundo), .75) 0%, rgba(var(--profundo), .55) 20%, rgba(var(--profundo), .16) 40%, rgba(var(--profundo), .24) 60%, rgba(var(--profundo), .32) 80%, rgba(var(--profundo), .4) 100%); }
.portada .etiqueta-ejemplo { top: auto; bottom: 12px; }
.portada-bajar { position: absolute; z-index: 2; left: 50%; bottom: 40px; transform: translateX(-50%); width: 44px; height: 44px; display: grid; place-items: center; color: var(--harina); }
.portada-bajar svg { width: 32px; height: 20px; stroke-width: 2.4; }

/* ===================== 2. Cómo comer: tres fichas 3:4 (Padella: 419 × 558, separadas 28) ===================== */
.fichas { padding: 64px 40px 80px; }
.fichas-lista { display: grid; gap: 28px; }
.ficha { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; text-decoration: none; background: rgb(var(--profundo)); }
.ficha img { width: 100%; height: 100%; object-fit: cover; }
html.vivo .ficha img { transition: transform .3s; }
html.vivo .ficha:hover img, html.vivo .ficha:focus-visible img { transform: scale(1.06); }
/* Velo del rótulo: Padella usa 128 px al 60 %; acá 200 px al 80 % (medido: en "Grupos" las patas claras de las sillas caen bajo el rótulo) */
.ficha::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; z-index: 1; background: linear-gradient(rgba(var(--profundo), 0), rgba(var(--profundo), .8)); pointer-events: none; }
.ficha-rotulo { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; padding: 24px 16px; text-align: center; }
.ficha-rotulo svg { width: 80px; height: 24px; margin-bottom: 8px; stroke: none; }
.ficha-nombre { font: 700 21px/1.2 var(--cartel); letter-spacing: -.25px; text-transform: uppercase; }
@media (min-width: 768px) {
  .fichas { padding: 64px 64px 80px; }
  .fichas-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ficha-nombre { font-size: 32px; }
}

/* ===================== 3. La carta del día: marco de 6 px, fecha y dos columnas; en celular, pestañas ===================== */
.carta { padding: 0 16px; }
.carta-caja { padding: 32px 0; text-align: center; }
.carta-fecha { font: 500 42px/51px var(--cartel); text-transform: uppercase; }
.carta-ejemplo { margin-top: 6px; color: var(--apagada); font: italic 300 16px/1.4 var(--texto); }
.carta-pestanas { display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; }
.carta-pestanas button { height: 90px; font: 500 23px/1 var(--cartel); text-transform: uppercase; color: var(--apagada); position: relative; }
.carta-pestanas button[aria-selected="true"] { color: var(--harina); }
.carta-pestanas button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--harina); }
.carta-pestanas button:focus-visible { outline-offset: -4px; }
.carta-columnas { margin-top: 40px; text-align: left; }
html.js .carta-col.oculta { display: none; }
.carta-col { display: flex; flex-direction: column; gap: 24px; }
html:not(.js) .carta-col + .carta-col { margin-top: 32px; }
.rubro { display: flex; flex-direction: column; gap: 8px; }
.rubro h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 400 27px/35px var(--cartel); text-transform: uppercase; }
.rubro-precio { display: flex; gap: 14px; font: 500 11px/1 var(--cartel); letter-spacing: .06em; white-space: nowrap; }
.platos { display: flex; flex-direction: column; gap: 4px; }
.platos li { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: baseline; font-size: 18px; }
.platos span:not(.precio) { font-weight: 300; line-height: 21.6px; }
.platos .precio { min-width: 60px; text-align: right; white-space: nowrap; font: 400 18px/27px var(--cartel); }
.rubro--vinos .platos li { grid-template-columns: 1fr auto auto; }
.rubro--vinos .platos .precio { min-width: 46px; }
.rubro--vinos .rubro-precio span { min-width: 46px; text-align: right; }
.nota { color: var(--apagada); font: italic 300 14px/21px var(--texto); }
@media (min-width: 1024px) {
  .carta { padding: 0 64px; }
  .carta-caja { border: 6px solid var(--harina); }
  .carta-pestanas { display: none; }
  .carta-columnas { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  html.js .carta-col.oculta { display: flex; }
  html:not(.js) .carta-col + .carta-col { margin-top: 0; }
  .carta-col { padding: 0 30px; }
}

/* ===================== 4. Quiénes somos y 4b. Cierre (Padella: About, 626 px centrados) ===================== */
.texto-centro { max-width: calc(626px + 72px); margin: 0 auto; padding: 100px 36px 0; text-align: center; }
.texto-centro h2 { font: 500 42px/51px var(--cartel); text-transform: uppercase; }
.texto-centro p { margin-top: 16px; font: 300 22px/28.16px var(--texto); }
.texto-centro h2 + p { margin-top: 16px; }
.cierre { padding-bottom: 100px; }
.cierre .boton { margin-top: 32px; }

/* ===================== 5. Pie (Padella: línea, ícono en círculo, enlaces subrayados) ===================== */
.pie { margin: 0 20px; padding: 26px 0 32px; border-top: 1px solid var(--harina); }
.pie-fila { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.pie-icono { width: 54px; height: 54px; flex: none; stroke: none; }
.pie-icono circle { stroke: currentColor; }
.pie-enlaces { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 12px 36px; }
.pie-enlaces a { font: 400 18px/25.74px var(--texto); text-underline-offset: 3px; }
.pie-red { display: grid; place-items: center; width: 44px; height: 44px; margin: -10px; }
.pie-red svg { width: 24px; height: 24px; stroke-width: 1.8; }
.aviso { margin-top: 20px; color: var(--apagada); font: 300 15px/1.4 var(--texto); }
.nota-sinjs { margin-top: 16px; padding: 16px; border: 1px dashed var(--harina); }
.nota-sinjs:target { outline: 2px solid var(--harina); }
@media (min-width: 1024px) { .pie-fila { padding-left: 0; } }

/* ===================== Diálogos ===================== */
dialog { color: inherit; }
dialog::backdrop { background: rgba(var(--profundo), .75); }
.aviso-demo { margin: auto; width: min(92vw, 440px); padding: 32px; border: 0; border-radius: 4px; background: var(--harina); color: var(--tomate); text-align: center; }
.aviso-demo h2 { font: 500 28px/1.1 var(--cartel); text-transform: uppercase; }
.aviso-demo p { margin: 14px 0 24px; font: 300 18px/1.45 var(--texto); }

/* Hoja de contacto (Padella 0c): tarjeta de 470 en harina, a 32 px de arriba, foto 3:2, cruz fuera de la tarjeta */
.pc { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 16px 0; border: 0; background: transparent; overflow-y: auto; overscroll-behavior: contain; }
.pc[open] { display: block; }
.pc-cerrar { position: fixed; top: 22px; right: 12px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; color: var(--harina); }
.pc-cerrar svg { width: 24px; height: 24px; stroke-width: 2.4; }
.pc-tarjeta { color-scheme: light; position: relative; width: 95%; margin: 56px auto 0; border-radius: 4px; overflow: hidden; background: var(--harina); color: var(--tomate); text-align: center; }
.pc-foto { position: relative; aspect-ratio: 3 / 2; background: rgba(var(--profundo), .2); }
.pc-foto img { width: 100%; height: 100%; object-fit: cover; }
.pc-foto .etiqueta-ejemplo { background: var(--tomate); color: var(--harina); }
.pc-cuerpo { padding: 16px 16px 24px; }
.pc-cuerpo h2 { font: 500 25px/1.2 var(--cartel); text-transform: uppercase; }
.pc-intro { margin: 10px 0 18px; font: 300 16px/1.5 var(--texto); }
.pc-form { display: grid; gap: 14px; text-align: left; }
.pc-motivos { border: 0; display: grid; gap: 8px; }
.pc-motivos legend { margin-bottom: 8px; font: 500 15px/1.2 var(--cartel); text-transform: uppercase; letter-spacing: .04em; }
.pc-motivos label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--tomate); font: 400 17px/1.2 var(--texto); cursor: pointer; }
.pc-motivos label:has(input:checked) { background: var(--tomate); color: var(--harina); }
/* Radio propio: sin elegir, círculo vacío con borde; elegido, relleno (con un aro del color de fondo para que se lea como marcado) */
.pc-motivos input { appearance: none; color: inherit; flex: none; width: 20px; height: 20px; margin: 0; border: 2px solid currentColor; border-radius: 50%; background: transparent; cursor: pointer; }
.pc-motivos input:checked { background: currentColor; box-shadow: inset 0 0 0 3px var(--tomate); }
/* Foco con teclado: el anillo va en la caja de la opción, por fuera (sobre la tarjeta harina se ve en los dos estados) */
.pc-motivos label:has(input:focus-visible) { outline: 2px solid var(--tomate); outline-offset: 3px; }
.pc-motivos input:focus-visible { outline: none; }
.pc-dos { display: grid; gap: 14px; }
.pc-fila { display: grid; gap: 4px; }
.pc-fila label, .casilla label { font: 400 16px/1.3 var(--texto); }
.opcional { opacity: .85; }
.pc-fila input, .pc-fila textarea { width: 100%; min-height: 44px; padding: 8px 10px; border: 1.5px solid var(--tomate); border-radius: 0; background: #fffaf2; color: var(--tomate); font: 400 17px/1.3 var(--texto); }
.pc-fila textarea { resize: vertical; }
.pc-fila input:focus-visible, .pc-fila textarea:focus-visible, .casilla input:focus-visible { outline: 2px solid var(--tomate); outline-offset: 2px; }
.pc-cerrar:focus-visible { outline-color: var(--harina); }
.casilla label { display: flex; gap: 10px; align-items: flex-start; }
.casilla input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--tomate); }
.error { display: flex; gap: 6px; align-items: center; margin-top: 2px; font: 400 15px/1.3 var(--texto); }
.error svg, .pc-resumen svg { width: 16px; height: 16px; flex: none; stroke-width: 2; }
.pc-resumen:not(:empty) { padding: 10px 12px; border: 1.5px dashed var(--tomate); font: 400 16px/1.4 var(--texto); }
.pc-resumen p { display: flex; gap: 6px; align-items: center; }
.pc-resumen ul { margin: 6px 0 0 22px; list-style: disc; }
[aria-invalid="true"] { border-width: 2.5px !important; }
.pc-form .boton { justify-self: center; margin-top: 6px; }
.pc-resultado:not(:empty) { display: grid; gap: 12px; justify-items: center; font: 300 17px/1.5 var(--texto); }
.pc-resultado h3 { font: 500 22px/1.2 var(--cartel); text-transform: uppercase; }
@media (min-width: 640px) {
  .pc { padding-top: 32px; }
  .pc-tarjeta { width: 60%; margin-top: 0; }
  .pc-cerrar { top: 26px; right: 16px; }
  .pc-dos { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) { .pc-tarjeta { width: 470px; } }
html.vivo .pc[open], html.vivo .aviso-demo[open], html.vivo .menu[open] { animation: aparecer .25s ease-out; }
html.vivo .pc[open]::backdrop, html.vivo .aviso-demo[open]::backdrop { animation: aparecer .25s ease-out; }
@keyframes aparecer { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) { .pc-motivos input:checked { background: CanvasText; } }
