/* Raíces · app del cliente. Blanco, fino, con el bronce de su marca. */
:root {
  --tinta: #17130f;
  --tinta-2: #3f3931;
  --gris: #857c71;
  --gris-cl: #b5ada2;
  --bronce: #7a5f40;
  --bronce-2: #9b7c55;
  --bronce-cl: #cdb998;
  --linea: #ebe5db;
  --linea-2: #f2eee7;
  --crema: #f7f3ec;
  --blanco: #ffffff;
  --verde: #4f8a5b;
  --sombra-corte: drop-shadow(0 22px 20px rgba(64, 40, 18, .17)) drop-shadow(0 4px 5px rgba(64, 40, 18, .12));
  --r: 24px;
  --tabs: 66px;
  --seguro-abajo: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
[hidden] { display: none !important; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--blanco);
  color: var(--tinta);
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.app { min-height: 100svh; padding-bottom: calc(var(--tabs) + 26px + var(--seguro-abajo)); }
.envoltura { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.envoltura.angosta { max-width: 620px; }

/* Tipografía chica */
.sobre { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--bronce); }
.gris { color: var(--gris); }
.chico { font-size: 12px; margin-top: 10px; }
.precio { font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .01em; white-space: nowrap; }
.precio.grande { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.precio .cons { font-size: 12px; font-weight: 500; color: var(--gris); letter-spacing: .04em; text-transform: uppercase; }
.tachado { text-decoration: line-through; color: var(--gris-cl); font-size: 12px; font-weight: 500; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-tinta { background: var(--tinta); color: var(--blanco); box-shadow: 0 10px 24px -12px rgba(23, 19, 15, .55); }
.btn-linea { border: 1px solid var(--tinta); color: var(--tinta); background: var(--blanco); }
.btn-ancho { width: 100%; }
.btn-mas {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  border: 1px solid var(--tinta); color: var(--tinta); font-size: 22px; font-weight: 300; line-height: 1;
  display: grid; place-items: center; background: var(--blanco);
  transition: background .2s, color .2s, transform .2s;
}
.btn-mas:active { transform: scale(.9); }
.btn-mas.hecho { background: var(--tinta); color: var(--blanco); }
.link { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--bronce); padding: 8px 0; }
.link.centro { display: block; margin: 14px auto 0; color: var(--gris); }

/* Barra superior */
.barra {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 0 16px; padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.barra.con-linea { border-bottom-color: var(--linea); }
.barra-marca img { height: 30px; width: auto; }
.barra-nav { display: none; }
.barra-reservar { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--tinta); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
body.en-inicio .barra:not(.con-linea) .barra-marca { opacity: 0; pointer-events: none; }
.barra-marca { transition: opacity .3s; }

/* Vistas */
.vista { animation: aparece .45s ease both; }
@keyframes aparece { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ===== Héroe ===== */
.heroe {
  position: relative; overflow: hidden;
  height: clamp(420px, 56svh, 500px);
  display: grid; place-items: center;
  margin-top: -1px;
}
/* Teléfonos bajos: el héroe cede un poco para que la primera card asome antes de la barra de abajo */
@media (max-width: 699px) and (max-height: 740px) {
  .heroe { height: clamp(350px, 54svh, 420px); }
}
.heroe-escena { position: absolute; inset: 0; pointer-events: none; }
.corte {
  position: absolute; height: auto;
  filter: var(--sombra-corte);
  rotate: var(--g, 0deg); opacity: 0;
  will-change: translate;
}
body.listo .corte { opacity: 1; animation: entra 1.15s cubic-bezier(.2, .8, .2, 1) both, flota 7s ease-in-out infinite; animation-delay: var(--d, 0s), calc(var(--d, 0s) + 1.15s); }
.c-bife { width: 40%; max-width: 330px; top: 2%; left: -9%; --g: -13deg; --d: .05s; }
.c-tira { width: 46%; max-width: 380px; top: 1%; right: -15%; --g: 11deg; --d: .15s; }
.c-entrana { width: 38%; max-width: 330px; bottom: 1%; left: -11%; --g: 7deg; --d: .25s; }
.c-chorizo { width: 37%; max-width: 320px; bottom: 0; right: -10%; --g: -9deg; --d: .35s; }
.c-morcilla { display: none; width: 38%; max-width: 270px; bottom: -1%; left: 32%; --g: 3deg; --d: .45s; }
@keyframes entra { from { opacity: 0; scale: .86; translate: 0 26px; } to { opacity: 1; scale: 1; translate: 0 0; } }
@keyframes flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }

.heroe-marca { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 22px; }
.logo { width: min(60vw, 280px); }
.logo svg { display: block; width: 100%; height: auto; overflow: visible; }
body.listo .logo .raiz { animation: raiz 1.4s cubic-bezier(.3, .7, .2, 1) .35s both; transform-box: fill-box; transform-origin: 50% 0; }
body.listo .logo .letras { animation: letras 1s cubic-bezier(.2, .8, .2, 1) .1s both; }
@keyframes raiz { from { opacity: 0; transform: scaleY(.2); } to { opacity: 1; transform: none; } }
@keyframes letras { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.bajada { width: min(44vw, 200px); margin-top: 14px; opacity: 0; }
body.listo .bajada { opacity: 1; animation: letras 1s ease .3s both; }
.logo .raiz, .logo .letras { opacity: 0; }
body.listo .logo .raiz, body.listo .logo .letras { opacity: 1; }
.estado {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 500; color: var(--tinta-2); letter-spacing: .02em;
  padding: 8px 15px; border-radius: 999px; background: rgba(255, 255, 255, .92); border: 1px solid var(--linea);
  opacity: 0;
}
body.listo .estado { opacity: 1; animation: letras 1s ease .5s both; }
.punto { width: 7px; height: 7px; border-radius: 50%; background: var(--gris-cl); flex: none; }
.estado.abierto .punto { background: var(--verde); box-shadow: 0 0 0 4px rgba(79, 138, 91, .15); }
.heroe-botones { display: flex; gap: 10px; margin-top: 20px; animation: letras 1s ease .85s both; }
.heroe-botones .btn { height: 46px; padding: 0 20px; font-size: 12px; }

/* ===== Parrillada ===== */
.parrillada {
  position: relative; margin-top: 18px;
  background: var(--crema); border-radius: 30px;
  padding: 14px 22px 24px; overflow: hidden;
  display: flex; flex-direction: column-reverse;
}
.parrillada-foto { width: 108%; max-width: none; margin: 0 -4% -3%; filter: drop-shadow(0 24px 22px rgba(64, 40, 18, .22)); }
.parrillada h2 { font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin-top: 8px; }
.parrillada-desc { color: var(--tinta-2); margin-top: 8px; font-size: 15px; }
.parrillada-pie { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(122, 95, 64, .2); }
.parrillada-acciones { display: flex; gap: 8px; align-items: center; }
.parrillada-acciones .btn { height: 44px; padding: 0 20px; }

/* ===== Bloques ===== */
.bloque { margin-top: 44px; }
.bloque-tit { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.bloque-tit h2 { font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.filete { flex: 1; height: 1px; background: linear-gradient(90deg, var(--bronce-cl), transparent); }
.riel {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 -20px; padding: 6px 20px 18px; scroll-padding: 0 20px;
}
.riel::-webkit-scrollbar { display: none; }
.riel > * { scroll-snap-align: start; }
.riel-platos { grid-auto-columns: 56%; }

.combo {
  border: 1px solid var(--linea); border-radius: var(--r); background: var(--blanco);
  padding: 16px 18px 18px; display: flex; flex-direction: column; text-align: left;
  transition: transform .25s ease, box-shadow .25s ease;
}
.combo:hover { box-shadow: 0 20px 40px -26px rgba(64, 40, 18, .35); }
.combo-foto { height: 168px; display: grid; place-items: center; margin: -4px -6px 6px; position: relative; }
.combo-foto .acomp { position: absolute; filter: drop-shadow(0 10px 10px rgba(40, 25, 10, .2)); max-height: none; }
.combo-foto .acomp.botella { width: 74%; bottom: 2px; right: -4px; rotate: -10deg; }
.combo-foto .acomp.chico { width: 44%; bottom: 0; }
.combo-foto .acomp.chico.izq { left: -2px; rotate: -6deg; }
.combo-foto .acomp.chico.der { right: -4px; rotate: 7deg; }
.combo-foto .acomp.atras { width: 70%; top: 0; right: -6px; rotate: 9deg; }
.combo-foto img { max-height: 168px; width: auto; max-width: 100%; object-fit: contain; filter: var(--sombra-corte); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.combo:hover .combo-foto img { transform: scale(1.04) rotate(-1.5deg); }
.combo h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.combo .nota { font-size: 13px; color: var(--gris); margin-top: 4px; min-height: 39px; }
.combo-pie { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 14px; }
.combo-pie .precio { font-size: 19px; display: block; }
.etiqueta { align-self: flex-start; display: inline-block; font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--bronce); border: 1px solid var(--bronce-cl); border-radius: 999px; padding: 3px 9px; margin-bottom: 8px; }

.plato-card { border-radius: var(--r); background: var(--blanco); padding: 4px 2px 6px; text-align: left; }
.plato-card .pc-foto { height: 132px; display: grid; place-items: center; background: var(--crema); border-radius: 22px; margin-bottom: 12px; padding: 8px; }
.plato-card .pc-foto img { max-height: 112px; max-width: 100%; width: auto; object-fit: contain; filter: var(--sombra-corte); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.plato-card:hover .pc-foto img { transform: scale(1.05); }
.plato-card h3 { font-size: 15px; font-weight: 600; line-height: 1.3; }
.plato-card .pc-pie { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.plato-card .btn-mas { width: 34px; height: 34px; font-size: 19px; }

/* ===== Vinos ===== */
.vinos-tease {
  position: relative; margin-top: 44px; overflow: hidden;
  border: 1px solid var(--linea); border-radius: 30px; padding: 34px 22px 28px; text-align: center;
}
.vt-vino { position: absolute; width: 92px; top: 108px; left: -30px; opacity: .45; }
.vt-uvas { position: absolute; width: 150px; bottom: -14px; right: -30px; opacity: .45; }
.vt-txt { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.vinos-tease h2 { font-size: 26px; font-weight: 600; letter-spacing: -.01em; margin-top: 6px; }
.vt-botellas { position: relative; width: 100%; max-width: 380px; height: 150px; margin: 12px 0 18px; }
.vt-botellas img { position: absolute; width: 74%; left: 13%; filter: drop-shadow(0 10px 10px rgba(30, 20, 10, .18)); }
.vt-botellas img:nth-child(1) { top: 6%; rotate: -8deg; }
.vt-botellas img:nth-child(2) { top: 34%; rotate: 2deg; }
.vt-botellas img:nth-child(3) { top: 62%; rotate: -3deg; }

.info-mini { margin: 34px 0 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.info-mini > div { padding: 14px 6px; border-top: 1px solid var(--linea); }
.info-mini p:last-child { font-size: 13px; font-weight: 500; margin-top: 4px; line-height: 1.35; }

/* ===== Carta ===== */
.carta-cab { text-align: center; padding: 26px 20px 8px; }
.carta-r { height: 46px; width: auto; margin: 0 auto 10px; }
.carta-cab h2 { font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; }
.chips-wrap { position: sticky; top: 59px; z-index: 20; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--linea); }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; max-width: 1160px; margin: 0 auto; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 34px; padding: 0 15px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--tinta-2); border: 1px solid transparent; transition: all .2s; }
.chip.activo { border-color: var(--tinta); color: var(--tinta); font-weight: 600; }
.cat { padding-top: 30px; scroll-margin-top: 120px; }
.cat-tit { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.cat-tit::before, .cat-tit::after { content: ''; flex: 1; height: 1px; background: var(--linea); }
.cat-tit h3 { font-size: 14px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--bronce); white-space: nowrap; }
.grupo-tit { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin: 22px 0 2px; }
.item {
  width: 100%; display: grid; grid-template-columns: 1fr 32px; align-items: center; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--linea-2); text-align: left; cursor: pointer;
}
.item.con-foto { grid-template-columns: 70px 1fr 32px; }
.item.con-botella { grid-template-columns: 92px 1fr 32px; }
.item-foto { width: 70px; height: 58px; display: grid; place-items: center; }
.item-foto img { max-height: 58px; max-width: 70px; width: auto; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(64, 40, 18, .2)); }
.item.con-botella .item-foto { width: 92px; height: 36px; }
.item.con-botella .item-foto img { width: 92px; max-width: none; height: auto; max-height: none; filter: drop-shadow(0 5px 5px rgba(30, 20, 10, .2)); }
.item-linea { display: flex; align-items: baseline; gap: 10px; }
.item-linea h4 { flex: 1; font-size: 15px; font-weight: 600; line-height: 1.3; }
.item-linea .precio { font-size: 15px; }
.item p { font-size: 13px; color: var(--gris); margin-top: 4px; line-height: 1.45; }
.item .btn-mas { width: 32px; height: 32px; font-size: 18px; }
.btn-mas-vacio { width: 32px; }
.carta-cuerpo { padding-bottom: 40px; }
.carta-nota { text-align: center; font-size: 12px; color: var(--gris); margin-top: 26px; }

/* ===== Reservar ===== */
.pag-cab { padding: 28px 0 8px; }
.pag-cab h2 { font-size: 30px; font-weight: 600; letter-spacing: -.02em; margin-top: 6px; }
.pag-sub { color: var(--gris); margin-top: 6px; }
.campo { margin-top: 24px; }
.campo-tit { display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--tinta-2); margin-bottom: 10px; }
.campo-fila { display: flex; align-items: center; justify-content: space-between; }
.campo-fila .campo-tit { margin: 0; }
.dias { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px 4px; }
.dias::-webkit-scrollbar { display: none; }
.dia { flex: none; width: 62px; padding: 10px 0 9px; border-radius: 18px; border: 1px solid var(--linea); text-align: center; transition: all .2s; }
.dia .d1 { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.dia .d2 { font-size: 21px; font-weight: 600; line-height: 1.2; }
.dia .d3 { font-size: 10px; color: var(--gris); }
.dia.activo { background: var(--tinta); border-color: var(--tinta); color: var(--blanco); }
.dia.activo .d1, .dia.activo .d3 { color: rgba(255, 255, 255, .7); }
.segm { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--crema); border-radius: 999px; }
.segm button { height: 42px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--tinta-2); transition: all .2s; }
.segm button.activo { background: var(--blanco); color: var(--tinta); box-shadow: 0 4px 12px -6px rgba(23, 19, 15, .3); }
.segm button:disabled { color: var(--gris-cl); cursor: not-allowed; }
.segm small { display: block; font-size: 10px; font-weight: 500; color: var(--gris); margin-top: -2px; }
.horas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hora { height: 42px; border-radius: 14px; border: 1px solid var(--linea); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; transition: all .2s; }
.hora.activo { border-color: var(--tinta); background: var(--tinta); color: var(--blanco); }
.hora:disabled { color: var(--gris-cl); text-decoration: line-through; cursor: not-allowed; }
.paso { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--linea); border-radius: 999px; padding: 4px; }
.paso button { width: 36px; height: 36px; border-radius: 50%; font-size: 19px; font-weight: 400; }
.paso button:active { background: var(--crema); }
.paso span { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.entrada { width: 100%; height: 48px; border: 0; border-bottom: 1px solid var(--linea); font: inherit; font-size: 16px; padding: 0 2px; background: transparent; color: var(--tinta); outline: none; border-radius: 0; transition: border-color .2s; }
.entrada:focus { border-bottom-color: var(--tinta); }
.entrada::placeholder { color: var(--gris-cl); }
.ticket { margin: 30px 0 18px; border-radius: 22px; background: var(--crema); padding: 20px 22px; position: relative; }
.ticket::before, .ticket::after { content: ''; position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--blanco); translate: 0 -50%; }
.ticket::before { left: -9px; } .ticket::after { right: -9px; }
.ticket .t-dia { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.ticket .t-det { display: flex; gap: 18px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--bronce-cl); font-size: 13px; color: var(--tinta-2); flex-wrap: wrap; }
.ticket .t-det b { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronce); font-weight: 600; }

/* ===== El lugar ===== */
.local-cab { text-align: center; padding: 30px 0 8px; }
.local-r { height: 64px; width: auto; margin: 0 auto; }
.lema { margin-top: 14px; font-size: 12px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--bronce); }
.local-card { margin-top: 16px; padding: 22px; border: 1px solid var(--linea); border-radius: var(--r); }
.local-card h3 { font-size: 20px; font-weight: 600; margin: 6px 0 6px; letter-spacing: -.01em; }
.local-card p { color: var(--tinta-2); }
.grande-txt { font-size: 19px; font-weight: 600; color: var(--tinta) !important; margin-top: 6px; line-height: 1.3; }
.local-acc { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.local-acc .btn { height: 42px; padding: 0 18px; font-size: 11.5px; }
.evento { background: var(--crema); border-color: transparent; }
.evento .btn { margin-top: 16px; height: 42px; font-size: 11.5px; }
.horarios { margin-top: 10px; }
.horarios .fila { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--linea-2); font-size: 14px; font-variant-numeric: tabular-nums; }
.horarios .fila span:nth-child(n+2) { color: var(--tinta-2); text-align: right; min-width: 88px; }
.horarios .fila { font-size: 13.5px; gap: 10px; }
.horarios .fila.hoy { font-weight: 600; background: var(--crema); margin: 0 -12px; padding: 9px 12px; border-radius: 12px; border-bottom-color: transparent; }
.horarios .cerrado { color: var(--gris-cl) !important; }
.ig { display: block; text-align: center; margin: 26px 0 30px; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--bronce); }

/* ===== Tabs (flotantes) ===== */
.tabs {
  position: fixed; left: 14px; right: 14px; bottom: calc(12px + var(--seguro-abajo)); z-index: 40;
  height: 64px; padding: 0 6px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(235, 229, 219, .9); border-radius: 26px;
  box-shadow: 0 18px 40px -18px rgba(40, 26, 12, .38), 0 2px 6px rgba(40, 26, 12, .06);
}
body.listo .tabs { animation: tabs-entra .7s cubic-bezier(.2, .9, .2, 1) .5s both; }
@keyframes tabs-entra { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.tabs button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--gris); font-size: 10.5px; font-weight: 600; letter-spacing: .03em; position: relative; border-radius: 20px; margin: 6px 0; transition: color .2s, background .25s; }
.tabs svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.tabs button.activo { color: var(--tinta); background: var(--crema); }
.tab-badge { position: absolute; top: 6px; right: calc(50% - 18px); width: 8px; height: 8px; border-radius: 50%; background: var(--bronce); box-shadow: 0 0 0 2px #fff; }
body.con-mesa .solo-sin-mesa, body:not(.con-mesa) .solo-mesa { display: none !important; }

/* ===== Pedido ===== */
.pedido-barra { position: fixed; left: 22px; right: 22px; bottom: calc(var(--tabs) + var(--seguro-abajo) + 24px); z-index: 35; animation: sube .35s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes sube { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.pedido-btn { width: 100%; height: 56px; border-radius: 999px; background: var(--tinta); color: var(--blanco); display: flex; align-items: center; gap: 12px; padding: 0 22px 0 10px; box-shadow: 0 18px 36px -16px rgba(23, 19, 15, .6); }
.pedido-cant { width: 36px; height: 36px; border-radius: 50%; background: var(--bronce); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.pedido-txt { flex: 1; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.pedido-total { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 16px; }
.pedido-barra.late .pedido-cant { animation: late .5s ease; }
@keyframes late { 40% { transform: scale(1.25); } }
.pedido-lista { margin: 14px 0 18px; max-height: 38vh; overflow: auto; }
.pl-fila { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--linea-2); }
.pl-fila h4 { font-size: 14px; font-weight: 600; }
.pl-fila small { color: var(--gris); font-size: 12px; }
.pl-fila .paso { padding: 2px; }
.pl-fila .paso button { width: 30px; height: 30px; font-size: 16px; }
.pedido-tot { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 16px; }
.pedido-tot span:first-child { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }

/* ===== Hojas ===== */
.velo { position: fixed; inset: 0; z-index: 50; background: rgba(23, 19, 15, .38); animation: velo .3s ease both; }
@keyframes velo { from { opacity: 0; } }
.hoja {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  overscroll-behavior: contain;
  max-height: 92svh; overflow: auto; background: var(--blanco);
  border-radius: 30px 30px 0 0; padding-bottom: calc(18px + var(--seguro-abajo));
  animation: hoja .42s cubic-bezier(.2, .85, .2, 1) both;
}
@keyframes hoja { from { transform: translateY(100%); } }
.hoja-cerrar { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .9); border: 1px solid var(--linea); font-size: 22px; font-weight: 300; line-height: 1; }
.ficha-foto { background: var(--crema); display: grid; place-items: center; padding: 28px 22px 20px; min-height: 230px; }
.ficha-foto img { max-height: 280px; width: auto; max-width: 100%; object-fit: contain; filter: var(--sombra-corte); animation: entra .7s cubic-bezier(.2, .8, .2, 1) both; }
.ficha-foto.botella img { width: 92%; max-height: none; height: auto; rotate: -6deg; }
.ficha-foto.sin-foto { min-height: 120px; }
.ficha-foto.sin-foto img { height: 64px; filter: none; opacity: .9; }
.ficha-txt { padding: 22px 22px 6px; }
.ficha-txt h3 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin: 6px 0 8px; }
.ficha-pie { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 18px; }

/* Aviso */
.aviso { position: fixed; left: 50%; top: 74px; z-index: 80; translate: -50% -10px; opacity: 0; pointer-events: none; background: var(--tinta); color: var(--blanco); font-size: 13px; font-weight: 500; padding: 11px 18px; border-radius: 999px; transition: opacity .25s, translate .25s; white-space: nowrap; }
.aviso.ver { opacity: 1; translate: -50% 0; }


/* ===== Barra de mesa (arriba) ===== */
.barra-der { display: flex; align-items: center; gap: 6px; }
.m-chip, .m-btn {
  height: 36px; padding: 0 13px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.m-chip { background: var(--tinta); color: var(--blanco); letter-spacing: .1em; }
.m-chip b { font-size: 14px; letter-spacing: 0; }
.m-btn { border: 1px solid var(--linea); background: var(--blanco); color: var(--tinta); transition: background .2s, border-color .2s, color .2s; }
.m-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.m-btn.linea { border-color: var(--tinta); }
.m-btn.en-curso { background: var(--crema); border-color: var(--bronce-cl); color: var(--bronce); }
.m-btn.en-curso svg { animation: campana 1.2s ease-in-out infinite; transform-origin: 50% 20%; }
@keyframes campana { 0%, 60%, 100% { rotate: 0deg; } 15% { rotate: 14deg; } 30% { rotate: -12deg; } 45% { rotate: 6deg; } }
body.con-mesa .barra-marca { opacity: 1 !important; pointer-events: auto !important; }

/* ===== Rubros ===== */
.rubros { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 4px -20px 0; padding: 4px 20px 6px; }
.rubros::-webkit-scrollbar { display: none; }
.rubro { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--linea); font-size: 12px; font-weight: 600; color: var(--tinta-2); display: inline-flex; align-items: center; gap: 8px; }
.rubro img { height: 22px; width: auto; filter: drop-shadow(0 3px 3px rgba(64, 40, 18, .2)); }
.bloque.primero { margin-top: 22px; }

/* ===== Cards de producto ===== */
.grilla { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pcard {
  position: relative; display: flex; flex-direction: column; text-align: left;
  background: var(--crema); border-radius: 24px; padding: 12px 14px 14px; cursor: pointer;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
}
.pcard:active { transform: scale(.98); }
.pcard-foto { height: 118px; display: grid; place-items: center; margin: -4px -6px 8px; }
.pcard-foto img { max-height: 118px; max-width: 108%; width: auto; object-fit: contain; filter: var(--sombra-corte); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.pcard:hover .pcard-foto img { transform: scale(1.06) rotate(-2deg); }
.pcard h3 { font-size: 14.5px; font-weight: 600; line-height: 1.25; letter-spacing: -.005em; }
.pcard p { font-size: 12px; color: var(--gris); line-height: 1.4; margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-pie { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.pcard-pie .precio { font-size: 15.5px; }
.pcard .btn-mas { width: 34px; height: 34px; font-size: 19px; background: var(--blanco); border-color: transparent; box-shadow: 0 4px 12px -6px rgba(40, 26, 12, .35); }
.pcard .btn-mas.hecho { background: var(--tinta); }
.pcard.ancha { grid-column: span 2; flex-direction: row; align-items: center; gap: 4px; padding: 16px 0 16px 18px; overflow: hidden; }
.pcard.ancha .pcard-txt { flex: 1; display: flex; flex-direction: column; align-self: stretch; z-index: 1; }
.pcard.ancha h3 { font-size: 21px; margin-top: 6px; }
.pcard.ancha p { font-size: 13px; -webkit-line-clamp: 3; }
.pcard.ancha .pcard-foto { width: 58%; height: auto; margin: -10px -24px -14px 0; }
.pcard.ancha .pcard-foto img { max-height: 190px; max-width: 100%; }
.pcard.ancha .precio { font-size: 19px; }
.pcard .etiqueta { margin-bottom: 0; }
body.listo .grilla .pcard { animation: card-entra .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.35s + var(--i, 0) * 70ms); }
@keyframes card-entra { from { opacity: 0; transform: translateY(22px); } }

/* ===== Mi mesa ===== */
.mesa-cab h2 { font-size: 40px; }
.mesa-botones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.mesa-gran { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 18px 16px; border-radius: 22px; border: 1px solid var(--linea); background: var(--blanco); transition: background .2s, border-color .2s; }
.mesa-gran svg { width: 28px; height: 28px; fill: none; stroke: var(--tinta); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.mesa-gran b { font-size: 15px; font-weight: 600; }
.mesa-gran span { font-size: 12px; color: var(--gris); }
.mesa-gran.en-curso { background: var(--crema); border-color: var(--bronce-cl); }
.mesa-gran.en-curso span { color: var(--bronce); font-weight: 600; }
.mesa-gran.en-curso svg { animation: campana 1.2s ease-in-out infinite; transform-origin: 50% 20%; }
.mesa-sub { margin-top: 34px; }
.ronda { border: 1px solid var(--linea); border-radius: 22px; padding: 16px 18px; margin-bottom: 12px; }
.ronda-cab { display: flex; justify-content: space-between; align-items: baseline; }
.ronda-cab b { font-size: 15px; font-weight: 600; }
.ronda-cab span { font-size: 12px; color: var(--gris); }
.ronda ul { list-style: none; margin: 10px 0 14px; font-size: 13.5px; color: var(--tinta-2); }
.ronda li { display: flex; justify-content: space-between; padding: 3px 0; }
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pasos i { height: 4px; border-radius: 4px; background: var(--linea); position: relative; overflow: hidden; }
.pasos i.hecho { background: var(--bronce); }
.pasos i.ahora { background: var(--linea); }
.pasos i.ahora::after { content: ''; position: absolute; inset: 0; background: var(--bronce); animation: carga 1.6s ease-in-out infinite; transform-origin: left; }
@keyframes carga { from { transform: scaleX(0); } to { transform: scaleX(1); opacity: .3; } }
.pasos-txt { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--bronce); }
.mesa-vacia { text-align: center; color: var(--gris); padding: 26px 10px 20px; font-size: 14px; }
.mesa-total { display: flex; justify-content: space-between; align-items: center; padding: 6px 2px 18px; }
.mesa-total span:first-child { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }

/* ===== Opciones (mozo y cuenta) ===== */
.opciones { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 16px 0 20px; }
.opciones.dos { grid-template-columns: 1fr 1fr; margin-top: 4px; }
.opciones button { min-height: 48px; padding: 10px 16px; border-radius: 16px; border: 1px solid var(--linea); text-align: left; font-size: 14px; font-weight: 500; transition: all .2s; }
.opciones.dos button { text-align: center; }
.opciones button.activo { border-color: var(--tinta); background: var(--tinta); color: var(--blanco); font-weight: 600; }
.cuenta-tot { margin: 10px 0 18px; padding: 16px 18px; background: var(--crema); border-radius: 18px; display: flex; justify-content: space-between; align-items: center; }
.cuenta-tot span { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.cuenta-div { margin: 14px 0 6px; }
.cuenta-pp { font-size: 13px; color: var(--gris); min-height: 20px; margin-bottom: 14px; }

/* ===== Animación de entrada ===== */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--blanco); display: grid; place-items: center; cursor: pointer; }
.intro.fuera { clip-path: inset(0 0 100% 0); transition: clip-path .9s cubic-bezier(.75, 0, .2, 1); }
.intro.fuera .intro-centro { transform: translateY(-40px) scale(.96); opacity: 0; transition: transform .8s cubic-bezier(.6, 0, .2, 1), opacity .5s ease .1s; }
.intro-centro { position: relative; display: flex; flex-direction: column; align-items: center; }
.intro-r { width: 96px; height: auto; clip-path: inset(0 0 100% 0); animation: crece 1.05s cubic-bezier(.65, 0, .25, 1) .15s forwards; }
@keyframes crece { to { clip-path: inset(0 0 0 0); } }
.intro-palabra { width: 220px; margin-top: 26px; opacity: 0; animation: letras .9s cubic-bezier(.2, .8, .2, 1) .85s both; }
.intro-linea { display: block; width: 210px; height: 1px; margin-top: 18px; background: var(--bronce-cl); transform: scaleX(0); animation: linea .8s cubic-bezier(.6, 0, .2, 1) 1.2s forwards; }
@keyframes linea { to { transform: scaleX(1); } }
.intro-bajada { width: 170px; margin-top: 14px; opacity: 0; animation: bajada 1s ease 1.4s forwards; }
@keyframes bajada { from { opacity: 0; letter-spacing: 0; transform: scaleX(.9); } to { opacity: 1; transform: none; } }
.intro-chispas { position: absolute; left: 50%; top: 96px; width: 0; height: 0; }
.chispa { position: absolute; left: 0; top: 0; width: var(--t); height: var(--t); border-radius: 50%; background: var(--c); opacity: 0; box-shadow: 0 0 6px var(--c); animation: chispa var(--dur) cubic-bezier(.2, .6, .3, 1) var(--del) forwards; }
@keyframes chispa { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(.2); } }

/* ===== Pantallas anchas ===== */
@media (min-width: 700px) {
  .riel { grid-auto-columns: 44%; }
  .riel-platos { grid-auto-columns: 30%; }
  .heroe { height: 520px; }
  .c-bife { width: 30%; top: 2%; left: -4%; } .c-tira { width: 33%; top: 0; right: -6%; } .c-entrana { width: 29%; bottom: 3%; left: -5%; } .c-chorizo { width: 28%; bottom: 2%; right: -5%; }
  .c-morcilla { display: block; width: 22%; bottom: -6%; left: 39%; }
  .grilla { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .pcard-foto { height: 140px; } .pcard-foto img { max-height: 140px; }
  .tabs { left: 50%; right: auto; width: 440px; translate: -50% 0; }
  .logo { width: 340px; }
  .bajada { width: 240px; }
  .parrillada { flex-direction: row; align-items: center; padding: 34px 0 34px 40px; }
  .parrillada-txt { flex: 1; }
  .parrillada-foto { width: 56%; margin: -30px -40px -30px 0; }
  .pedido-barra { left: auto; right: 24px; width: 360px; }
}
@media (min-width: 1000px) {
  .app { padding-bottom: 0; }
  .tabs { display: none; }
  .barra { height: 72px; padding: 0 32px; }
  .barra-nav { display: flex; gap: 4px; position: absolute; left: 50%; translate: -50% 0; }
  .barra-nav button { height: 38px; padding: 0 16px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); transition: color .2s; }
  .barra-nav button.activo, .barra-nav button:hover { color: var(--tinta); }
  body.en-inicio .barra:not(.con-linea) .barra-marca { opacity: 1; pointer-events: auto; }
  .heroe { height: min(calc(100svh - 72px - 120px), 600px); min-height: 520px; }
  .grilla { grid-template-columns: repeat(4, 1fr); }
  .pcard.ancha { grid-column: span 2; grid-row: span 2; flex-direction: column; align-items: stretch; padding: 22px 26px 26px; }
  .pcard.ancha .pcard-foto { width: 100%; margin: 0 0 10px; flex: 1; }
  .pcard.ancha .pcard-foto img { max-height: 300px; }
  .pcard.ancha h3 { font-size: 28px; }
  .pcard-foto { height: 150px; } .pcard-foto img { max-height: 150px; }
  .c-bife { width: 25%; max-width: 330px; top: 9%; left: 5%; }
  .c-tira { width: 28%; max-width: 380px; top: 5%; right: 3%; }
  .c-entrana { width: 25%; bottom: 10%; left: 2%; }
  .c-chorizo { width: 24%; bottom: 12%; right: 5%; }
  .c-morcilla { width: 19%; bottom: -3%; left: 40%; }
  .logo { width: 420px; }
  .bajada { width: 270px; }
  .heroe-marca { margin-top: -5%; }
  .riel { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 6px 0 0; }
  .riel-platos { grid-template-columns: repeat(5, 1fr); }
  .bloque { margin-top: 64px; }
  .vinos-tease { margin-top: 64px; padding: 50px 40px 40px; }
  .vt-vino { width: 190px; top: 30px; left: 30px; }
  .vt-uvas { width: 230px; right: 10px; bottom: 6px; }
  .vt-botellas { max-width: 460px; height: 180px; }
  .info-mini { margin: 50px auto 60px; max-width: 760px; }
  .pedido-barra { bottom: 24px; }
  .chips-wrap { top: 71px; }
  .chips { justify-content: center; }
  .cat { scroll-margin-top: 140px; }
  .carta-cuerpo { max-width: 1100px; columns: 2; column-gap: 64px; }
  .cat { break-inside: avoid; }
  .cat[data-cat="vinos"] { column-span: all; }
  .cat[data-cat="vinos"] .vinos-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
  .hoja { left: 50%; right: auto; bottom: auto; top: 50%; width: 520px; translate: -50% -50%; border-radius: 30px; max-height: 88vh; animation: hoja-c .35s cubic-bezier(.2, .85, .2, 1) both; }
  @keyframes hoja-c { from { opacity: 0; transform: translateY(24px) scale(.97); } }
  .aviso { top: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
