/* ==========================================================================
   QUECHO · SITIO PÚBLICO
   Una sola hoja para todo el sitio. Escala en múltiplos de 8; los tamaños de
   letra y los márgenes crecen con la pantalla vía clamp() entre el diseño de
   celular (390) y el de escritorio (1440).
   ========================================================================== */

:root {
  --crema: #FFFFFF;
  --blanco: #FFFFFF;
  --tinta: #1B1513;
  --rojo: #E63C2F;
  --rojo-2: #D5352A;
  --gris: #5C5C5C;
  --linea: #E1E1E1;
  --noche: #161110;
  --crema-2: #F2F2F2;
  --gris-noche: #A6A6A6;
  --amarillo: #F4C95D;
  --disco: #F2F2F2;
  --arena: #F4F4F4;
  --verde: #14794A;
  --azul: #2F6FDE;

  --f-display: 'Archivo', 'Arial Narrow', sans-serif;
  --f-texto: 'Outfit', system-ui, -apple-system, sans-serif;
  --f-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;   /* solo el ticket de ejemplo */

  --px: clamp(20px, 5.6vw, 80px);          /* margen lateral */
  --seccion: clamp(56px, 7vw, 100px);    /* aire vertical de sección */
  --max: 1440px;
  --radio: 10px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* Nada se desplaza de lado en celular: `clip` corta lo que sobresale sin
   volver a la página un contenedor de scroll (el encabezado sticky sigue
   funcionando). iOS ignora `overflow-x: hidden` del body solo. */
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--crema); color: var(--tinta);
  font-family: var(--f-texto); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; }
:focus-visible { outline: 3px solid var(--rojo); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.i { flex-shrink: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--tinta); color: #fff; padding: 12px 16px; border-radius: 8px; }
.saltar:focus { top: 16px; }

.contenedor { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--px); padding-right: var(--px); }
.seccion { padding-top: var(--seccion); padding-bottom: var(--seccion); }
.fondo-blanco { background: var(--blanco); }
.fondo-noche { background: var(--noche); color: var(--crema-2); }
.fondo-tinta { background: var(--tinta); color: var(--crema-2); }
.fondo-rojo { background: var(--rojo); color: #fff; }

/* --- Tipografía -------------------------------------------------------- */
.display {
  font-family: var(--f-display); font-stretch: 66%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -.005em; line-height: .9;
}
/* El acento de color dentro de un titular: misma letra, solo cambia el color. */
.italica { font: inherit; letter-spacing: inherit; text-transform: inherit; }
.rojo { color: var(--rojo); }
.amarillo { color: var(--amarillo); }
.t-hero { font-size: clamp(52px, 7.6vw, 110px); line-height: .88; }
.t-1 { font-size: clamp(40px, 5.3vw, 76px); line-height: .94; }
.t-2 { font-size: clamp(32px, 3.9vw, 56px); line-height: .96; }
.t-3 { font-size: clamp(22px, 2.2vw, 32px); line-height: 1; }
.cejilla { font-size: clamp(11px, .9vw, 13px); line-height: 16px; letter-spacing: .2em; font-weight: 700; text-transform: uppercase; color: var(--rojo); }
.fondo-noche .cejilla, .fondo-tinta .cejilla, .fondo-rojo .cejilla { color: var(--amarillo); }
.lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; color: var(--gris); max-width: 560px; }
.fondo-noche .lead, .fondo-tinta .lead { color: var(--gris-noche); }
.fondo-rojo .lead { color: #FDE7E4; }
.nowrap { white-space: nowrap; }
.miga { display: flex; gap: 8px; font-size: 14px; color: var(--gris); }
.miga b { color: var(--tinta); font-weight: 600; }
.miga a:hover { color: var(--tinta); }

/* --- Textos legales (aviso de privacidad, términos) -------------------- */
.legal { max-width: 760px; margin-top: 32px; font-size: 16px; line-height: 1.65; color: var(--gris); }
.legal > * + * { margin-top: 16px; }
.legal h2 { color: var(--tinta); margin-top: 48px; scroll-margin-top: 120px; }
.legal h3 { color: var(--tinta); font-size: 17px; font-weight: 700; margin-top: 28px; }
.legal b, .legal strong { color: var(--tinta); }
.legal ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal a { text-decoration: underline; color: var(--tinta); }
.legal .fecha { font-size: 14px; }
.legal .indice { background: #fff; border-radius: 14px; padding: 20px 24px; box-shadow: inset 0 0 0 1px var(--linea), 0 1px 2px rgba(27,21,19,.05), 0 6px 16px -4px rgba(27,21,19,.07); columns: 2; column-gap: 32px; list-style: decimal; padding-left: 44px; display: block; }
.legal .indice li { margin-bottom: 6px; break-inside: avoid; }
.legal .prox { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--rojo); background: #fff; box-shadow: inset 0 0 0 1px var(--rojo); border-radius: 6px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px; }
@media (max-width: 640px) { .legal .indice { columns: 1; } }

/* --- Botones ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: var(--radio); border: 0;
  font-size: 16px; font-weight: 700; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, box-shadow .25s, color .25s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::after { /* barrido de luz al pasar */
  content: ''; position: absolute; inset: 0; z-index: -1; transform: translateX(-101%);
  background: rgba(255,255,255,.14); transition: transform .5s var(--ease);
}
.btn:hover::after { transform: translateX(0); }
.btn:active { transform: scale(.97); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 14px; }
.btn-md { height: 50px; padding: 0 24px; font-size: 15px; }
.btn-full { display: flex; width: 100%; }
.btn-rojo { background: var(--rojo); color: #fff; }
.btn-rojo:hover { background: var(--rojo-2); }
.btn-tinta { background: var(--tinta); color: #fff; }
.btn-blanco { background: #fff; color: var(--tinta); }
.btn-linea { background: #fff; box-shadow: inset 0 0 0 1.5px var(--tinta), 0 2px 6px rgba(27,21,19,.08); color: var(--tinta); }
.btn-rojo { box-shadow: 0 4px 14px rgba(200,40,40,.22); }
@media (hover: hover) {
  .btn-rojo:hover, .btn-linea:hover { transform: translateY(-2px); }
  .btn-rojo:hover { box-shadow: 0 8px 20px rgba(200,40,40,.28); }
  .btn-linea:hover { box-shadow: inset 0 0 0 1.5px var(--tinta), 0 8px 18px rgba(27,21,19,.16); }
}
.btn-linea::after { background: var(--tinta); }
.btn-linea:hover { color: #fff; }
.btn-linea-clara { box-shadow: inset 0 0 0 1.5px rgba(242,242,242,.4); color: var(--crema-2); }
.btn .i { transition: transform .35s var(--ease); }
.btn:hover .i-arrow, .btn:hover span + .i { transform: translateX(4px); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.mas {
  width: 48px; height: 48px; flex-shrink: 0; border: 0; border-radius: var(--radio);
  background: var(--tinta); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease), background-color .2s;
}
.mas:hover { background: var(--rojo); transform: rotate(90deg); }
.mas-sm { width: 40px; height: 40px; }
.enlace { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 700; font-size: 15px; }
.enlace .i { transition: transform .3s var(--ease); }
.enlace:hover .i { transform: translateX(4px); }

/* --- Barra superior y header -------------------------------------------- */

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--linea); transition: transform .45s var(--ease), box-shadow .3s; }
.header.oculto { transform: translateY(-100%); }
.header.con-sombra { box-shadow: 0 10px 30px rgba(27,21,19,.06); }
.header-in { height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.logo { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.logo img { width: 48px; height: 48px; border-radius: 10px; }
.logo-txt { display: flex; flex-direction: column; line-height: 1; }
.logo-txt b { font-family: var(--f-display); font-stretch: 80%; font-weight: 900; font-size: 22px; letter-spacing: .08em; }
.logo-txt small { font-size: 9px; letter-spacing: .28em; font-weight: 600; margin-top: 5px; color: var(--gris); }
.logo-claro .logo-txt small { color: var(--gris-noche); }
.nav { display: flex; gap: 40px; font-size: 15px; font-weight: 600; }
.nav a { position: relative; padding: 8px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--rojo); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current] { color: var(--rojo); }
.header-acc { display: flex; gap: 12px; align-items: center; justify-self: end; }
.burger { display: none; width: 48px; height: 48px; border: 0; background: none; position: relative; margin-right: -12px; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--tinta); border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

.menu-movil { position: fixed; inset: 0; z-index: 45; background: var(--rojo); color: #fff; padding: 128px var(--px) calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0 at calc(100% - 44px) 60px); transition: clip-path .7s var(--ease); }
.menu-movil.abierto { clip-path: circle(150% at calc(100% - 44px) 60px); }
.menu-movil nav { display: flex; flex-direction: column; }
.menu-movil nav a { font-family: var(--f-display); font-stretch: 66%; font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 12vw, 64px); line-height: 1.02; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease); transition-delay: calc(var(--i) * 50ms + 150ms); }
.menu-movil nav a[aria-current] { color: var(--amarillo); }
.menu-movil.abierto nav a { opacity: 1; transform: none; }
.menu-movil-pie { display: flex; flex-direction: column; gap: 20px; font-size: 15px; }
body.menu-abierto { overflow: hidden; }
body.menu-abierto .header { background: transparent; border-color: transparent; backdrop-filter: none; box-shadow: none; }
body.menu-abierto .header .logo-txt, body.menu-abierto .header .burger span { color: #fff; }
body.menu-abierto .header .burger span { background: #fff; }
body.menu-abierto .logo-txt small { color: #FDE7E4; }

/* --- Barra fija de pedir (celular) --------------------------------------- */
.barra-pedir { display: none; }

/* --- Piezas comunes ----------------------------------------------------- */
.encabezado-sec { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-bottom: 24px; border-bottom: 1.5px solid currentColor; }
.encabezado-sec > div { display: flex; flex-direction: column; gap: 12px; }
.encabezado-sec .nota { font-size: 15px; color: var(--gris); max-width: 360px; text-align: right; }
.fondo-noche .encabezado-sec .nota { color: var(--gris-noche); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--linea); font-size: 15px; font-weight: 600; white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s; display: inline-flex; align-items: center; gap: 8px; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--tinta); }
.chip[aria-pressed="true"], .chip[aria-selected="true"], .chip[aria-checked="true"] { background: var(--tinta); color: #fff; box-shadow: none; }
/* Chips de opción múltiple (casillas) */
.chip-check { cursor: pointer; position: relative; user-select: none; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check:has(input:checked) { background: var(--tinta); color: #fff; box-shadow: none; }
.chip-check:has(input:focus-visible) { outline: 2px solid var(--rojo); outline-offset: 2px; }
.chip .cuenta { font-size: 12px; font-weight: 600; color: var(--gris); background: var(--arena); border-radius: 999px; padding: 2px 8px; }
.ficha-flotante { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 14px; padding: 12px 12px 12px 20px; box-shadow: 0 16px 40px rgba(27,21,19,.16); }
.ficha-flotante small { display: block; font-size: 12px; color: var(--gris); line-height: 16px; }
.ficha-flotante b { font-size: 16px; line-height: 22px; }
.beneficios { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; padding-top: 32px; border-top: 1px solid var(--linea); }
.beneficio { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: #fff; border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--linea), 0 1px 2px rgba(27,21,19,.05), 0 6px 16px -4px rgba(27,21,19,.07); transition: box-shadow .3s, transform .45s var(--ease); }
@media (hover: hover) { .beneficio:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--linea), 0 10px 24px rgba(27,21,19,.08); } }
.beneficio .circ { width: 48px; height: 48px; flex-shrink: 0; border: 1.5px solid var(--tinta); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.beneficio b { display: block; font-size: 15px; } .beneficio small { font-size: 13px; color: var(--gris); }

/* --- Producto (tarjeta de pizza) ---------------------------------------- */
.productos { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 56px 32px; }
.productos.cuatro { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 64px 24px; }
.producto { display: flex; flex-direction: column; align-items: center; text-align: center; }
.producto .disco { width: min(100%, 280px); aspect-ratio: 1; border-radius: 50%; background: var(--disco); display: flex; align-items: center; justify-content: center; position: relative; }
.cuatro .producto .disco { width: min(100%, 248px); }
.producto .disco img { width: 87.5%; aspect-ratio: 1; border-radius: 50%; filter: drop-shadow(0 14px 18px rgba(27,21,19,.22)); transition: transform 1.1s var(--ease); }
.producto:hover .disco img { transform: rotate(38deg) scale(1.04); }
.producto h3 { margin-top: 24px; font-size: clamp(22px, 1.9vw, 28px); }
.producto p { margin-top: 8px; font-size: 15px; line-height: 22px; min-height: 44px; color: var(--gris); max-width: 300px; }
.producto .pie { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.producto .precio { font-family: var(--f-display); font-stretch: 66%; font-weight: 900; font-size: 28px; line-height: 1; color: var(--rojo); }
.producto.arma .disco { background: #FFF6F4; box-shadow: inset 0 0 0 2px var(--rojo); }
.producto.arma h3 { color: var(--rojo); }
.mitades { position: relative; width: 82%; aspect-ratio: 1; }
.mitades img { position: absolute; inset: 0; width: 100% !important; border-radius: 50%; filter: none !important; }
.mitades img:first-child { clip-path: inset(0 50% 0 0); }
.mitades img:last-child { clip-path: inset(0 0 0 50%); transform: translateX(10px) !important; }
.producto.arma:hover .mitades img:first-child { transform: translateX(-6px) !important; }
.producto.arma:hover .mitades img:last-child { transform: translateX(16px) !important; }

/* --- Filas de lista (complementos, bebidas) -------------------------------- */
.fila { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; border-bottom: 1px solid var(--linea); }
.fila .nom { display: flex; flex-direction: column; gap: 2px; }
.fila .nom b { font-size: 17px; font-weight: 600; } .fila .nom small { font-size: 14px; color: var(--gris); }
.fila .der { display: flex; align-items: center; gap: 16px; font-weight: 700; font-size: 17px; }
.fondo-noche .fila { border-color: #342A26; min-height: 56px; font-size: 16px; }
.fondo-noche .mas { background: #2A211E; color: var(--crema-2); }
.fondo-noche .mas:hover { background: var(--rojo); }

/* --- Formularios ------------------------------------------------------- */
.form { display: flex; flex-direction: column; gap: 32px; background: #fff; border-radius: 20px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 24px 60px rgba(27,21,19,.10); }
.form-cab h2 { font-size: clamp(32px, 2.8vw, 40px); }
.form-cab p { font-size: 15px; color: var(--gris); margin-top: 6px; }
.grupo { display: flex; flex-direction: column; gap: 16px; }
.grupo-t { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.grupo-t .n { width: 28px; height: 28px; border-radius: 50%; background: var(--tinta); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.grupo-t .display { font-size: 24px; }
.dos { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.campo { display: flex; flex-direction: column; gap: 8px; }
.campo-cab { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 600; }
.campo-cab .req { color: var(--rojo); }
.campo-cab .opc, .campo-cab .pista { font-weight: 400; color: var(--gris); }
.campo-cab .pista { font-size: 13px; }
.control { position: relative; }
.input, .select, .textarea {
  width: 100%; height: 52px; padding: 0 16px; border: 0; border-radius: var(--radio); background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--linea); font-size: 16px; color: var(--tinta); outline: none;
  transition: box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #A3A3A3; }
.input:hover, .select:hover, .textarea:hover { box-shadow: inset 0 0 0 1.5px #CFCFCF; }
.input:focus, .select:focus, .textarea:focus { box-shadow: inset 0 0 0 2px var(--tinta), 0 0 0 4px rgba(27,21,19,.08); }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.control .prefijo { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 16px; font-weight: 600; color: var(--tinta); pointer-events: none; }
.input.con-prefijo { padding-left: 32px; }
.select { padding-right: 44px; cursor: pointer; }
.control .chev { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--gris); }
.textarea { height: 140px; padding: 14px 16px; resize: vertical; line-height: 24px; }
.campo.ok .input { box-shadow: inset 0 0 0 1.5px var(--verde); padding-right: 44px; }
.campo.error .input { box-shadow: inset 0 0 0 1.5px var(--rojo); }
.campo .estado { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--verde); display: none; }
.campo.ok .estado { display: block; }
.campo .ayuda { font-size: 13px; line-height: 18px; color: var(--gris); }
.campo.ok .ayuda { color: var(--verde); } .campo.error .ayuda { color: var(--rojo); }
.casilla { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; cursor: pointer; }
.casilla input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--linea); background: #fff; display: grid; place-items: center; }
.casilla input:checked { background: var(--tinta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; box-shadow: none; }
.btn-enviar { height: 60px; width: 100%; border: 0; border-radius: 12px; font-size: 17px; }
.privacidad { font-size: 13px; line-height: 20px; color: var(--gris); text-align: center; }
.privacidad .i { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.privacidad a { color: var(--tinta); text-decoration: underline; }
.separador { height: 1px; background: var(--linea); }
.subir { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 28px 16px; border-radius: 12px; background: #FFF8F6; box-shadow: inset 0 0 0 1.5px var(--rojo); outline: 2px dashed rgba(230,60,47,.35); outline-offset: -8px; text-align: center; cursor: pointer; transition: background-color .2s; color: var(--rojo); }
.subir:hover, .subir.encima { background: #FFEFEC; }
.subir b { font-size: 15px; color: var(--tinta); } .subir b u { color: var(--rojo); }
.subir small { font-size: 13px; color: var(--gris); }
.archivo { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radio); box-shadow: inset 0 0 0 1.5px var(--linea); }
.archivo[hidden] { display: none; }
.archivo .doc { width: 40px; height: 48px; border-radius: 6px; background: var(--arena); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.archivo .doc img { width: 100%; height: 100%; object-fit: cover; }
.archivo .meta { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }
.archivo .meta b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.archivo .meta small { font-size: 12px; color: var(--verde); font-weight: 600; }
.archivo button { width: 40px; height: 40px; border: 0; background: none; color: var(--gris); display: flex; align-items: center; justify-content: center; }
.aviso-form { padding: 14px 16px; border-radius: var(--radio); font-size: 15px; }
.aviso-form.error { background: #FDECEA; color: #9C231A; }
.aviso-form[hidden] { display: none; }

details.faq { background: #fff; border-radius: 14px; padding: 0 20px; margin-bottom: 10px;
  box-shadow: inset 0 0 0 1px var(--linea), 0 1px 2px rgba(27,21,19,.05), 0 6px 16px -4px rgba(27,21,19,.07); transition: box-shadow .3s, transform .45s var(--ease); }
details.faq[open] { box-shadow: inset 0 0 0 1px var(--linea), 0 10px 24px rgba(27,21,19,.08); }
@media (hover: hover) { details.faq:not([open]):hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--linea), 0 10px 24px rgba(27,21,19,.08); } }
details.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; cursor: pointer; font-size: clamp(16px, 1.3vw, 18px); line-height: 26px; font-weight: 600; padding: 8px 0; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq .signo { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--arena); display: flex; align-items: center; justify-content: center; transition: background-color .25s, transform .4s var(--ease); }
details.faq[open] .signo { background: var(--tinta); color: #fff; transform: rotate(180deg); }
details.faq p { padding: 0 0 20px; font-size: 16px; line-height: 26px; color: var(--gris); max-width: 560px; }

/* --- Footer -------------------------------------------------------------- */
.footer { position: relative; background: var(--noche); border-top: 4px solid var(--rojo); color: var(--gris-noche); padding-bottom: 24px; overflow: hidden; isolation: isolate; }
.footer h2 { color: var(--crema-2); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }

.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; padding-top: 56px; font-size: 14px; line-height: 1.85; }
.footer-cols > div, .footer-cols > nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer-cols a:not(.logo):not(.red):not(.app-f) { position: relative; transition: color .25s; }
.footer-cols a:not(.logo):not(.red):not(.app-f):hover { color: #fff; }
.footer-cols .mas-link { display: inline-flex; align-items: center; gap: 6px; color: var(--amarillo); font-weight: 600; }
.footer-marca { gap: 14px; }
.footer .logo img { width: 44px; height: 44px; border-radius: 8px; }
.footer .logo-txt b { font-size: 19px; }
.footer-marca p { color: var(--crema-2); font-size: 14px; line-height: 22px; max-width: 300px; }
.footer .logo-txt b { color: #fff; }

.redes { display: flex; gap: 10px; }
.red { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--crema-2); box-shadow: inset 0 0 0 1.5px #3A2F2B; transition: transform .45s var(--ease), background .3s, color .3s, box-shadow .3s; }
.red:hover { transform: translateY(-4px) rotate(-8deg); color: #fff; box-shadow: none; }
.red-instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.red-facebook:hover { background: #0866FF; }
.red-whatsapp:hover { background: #25D366; }
.red-tiktok:hover { background: #000; box-shadow: 2px 2px 0 #FE2C55, -2px -2px 0 #25F4EE; }

.footer-apps { gap: 8px; }
.footer-apps h2 { margin-bottom: 4px; }
.app-f { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 240px; height: 44px; padding: 0 14px 0 6px; border-radius: 11px; box-shadow: inset 0 0 0 1.5px #3A2F2B; color: var(--crema-2); font-weight: 700; font-size: 15px; line-height: 1; transition: box-shadow .3s, transform .45s var(--ease), background .3s; }
.app-f img, .app-f .sin-logo { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; }
.app-f .sin-logo { background: #2A211E; display: flex; align-items: center; justify-content: center; color: var(--amarillo); }
.app-f span { flex-grow: 1; }
.app-f .app-f-flecha { opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease); }
.app-f:hover { background: #211918; box-shadow: inset 0 0 0 1.5px var(--crema-2); transform: translateX(4px); }
.app-f:hover .app-f-flecha { opacity: 1; transform: none; }

.footer-legal { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; font-size: 13px; border-top: 1px solid #2A211E; padding-top: 20px; margin-top: 44px; }
.footer-legal-links { display: flex; gap: 24px; flex-wrap: wrap; margin-right: auto; margin-left: 40px; }
.footer-legal a:hover { color: #fff; }
.arriba { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #2A211E; color: var(--crema-2); display: flex; align-items: center; justify-content: center; transform: rotate(-90deg); transition: background .3s, transform .45s var(--ease); }
.arriba:hover { background: var(--rojo); color: #fff; transform: rotate(-90deg) translateX(4px); }

/* ==========================================================================
   INICIO
   ========================================================================== */
.hero { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: 24px; align-items: center; padding-top: 40px; padding-bottom: 64px; }
.hero-txt { display: flex; flex-direction: column; }
.hero-txt h1 { margin-top: 24px; font-size: clamp(54px, 7vw, 100px); line-height: .88; }
.hero-txt .lead { margin-top: 28px; max-width: 500px; }
.hero-txt .lead .italica { font-family: var(--f-texto); font-weight: 700; color: var(--tinta); text-transform: none; }
.hero-txt .btns { margin-top: 32px; }
.hero-txt .beneficios { margin-top: 40px; }
/* El video va a sangre: del borde del header al final del hero y hasta el
   borde derecho de la ventana, sin marco ni sombra; el corte con el crema es
   recto. El grano fino lo acerca a foto y lo aleja de anuncio. */
.hero { position: relative; min-height: min(840px, calc(100svh - 72px)); }
.hero-video { position: absolute; top: 0; bottom: 0; right: calc((100vw - 100%) / -2); left: max(52%, calc(var(--px) + 700px)); overflow: hidden; background: #2A1D17; }
.hero-video video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
/* Primer cuadro encima del video hasta que el video pinta el suyo: en celular, al darle play
   se quita el poster antes de tener imagen y se veía un corte en negro */
.hero-video .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: opacity .2s; }
.hero-video .hero-poster.fuera { opacity: 0; }
.hero-video::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }

.favoritas .cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.favoritas .productos { margin-top: 56px; }
.centrado { display: flex; justify-content: center; }

.promo-pasos { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); }
.promo { background: var(--rojo); color: #fff; position: relative; overflow: hidden; min-height: 520px; display: flex; align-items: center; padding: 80px var(--px); }
.promo-txt { position: relative; z-index: 1; max-width: 420px; display: flex; flex-direction: column; gap: 20px; }
.promo-txt h2 { font-size: clamp(56px, 6.1vw, 88px); line-height: .88; }
.promo-precio { display: flex; align-items: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.promo-precio .etiqueta { height: 56px; display: flex; align-items: center; padding: 0 20px; background: var(--amarillo); color: var(--tinta); border-radius: var(--radio); font-family: var(--f-display); font-stretch: 66%; font-weight: 900; font-size: 32px; }
.promo .disco-promo { position: absolute; right: -120px; top: 50%; width: 480px; aspect-ratio: 1; border-radius: 50%; background: var(--rojo-2); transform: translateY(-45%); }
.promo .pizza-promo { position: absolute; right: -150px; top: 50%; width: 580px; transform: translateY(-40%); filter: drop-shadow(0 30px 30px rgba(0,0,0,.3)); }
/* Los pasos van en crema cálido: separan el rojo de la promo del negro de
   "Del fuego" que sigue abajo. */
.pasos { background: var(--crema-2); color: var(--tinta); padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.paso { display: grid; grid-template-columns: 72px minmax(0,1fr); align-items: center; padding: 22px 0; border-bottom: 1px solid var(--linea); }
.paso .n { font-family: var(--f-display); font-stretch: 66%; font-weight: 900; font-size: 64px; line-height: 1; color: var(--rojo); }
.paso b { display: block; font-family: var(--f-display); font-stretch: 66%; font-weight: 900; text-transform: uppercase; font-size: 32px; line-height: 1; }
.paso small { color: var(--gris); font-size: 15px; }

.dividido { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.dividido > div:has(> .foto) { overflow: hidden; }
.dividido > img, .dividido .foto { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.dividido-txt { padding: var(--seccion) var(--px); display: flex; flex-direction: column; justify-content: center; }
.dividido-txt h2 { margin-top: 16px; }
.dividido-txt .lead { margin-top: 20px; }
.dividido-txt .btns { margin-top: 40px; }

.sucursales-home { display: grid; grid-template-columns: minmax(0, 540px) minmax(0,1fr); gap: 64px; align-items: center; }
.sucursales-home h2 { margin-top: 16px; }
.sucursales-home .lead { margin-top: 20px; }
.sucursales-home > div > .btn { margin-top: 32px; align-self: flex-start; }
/* El mapa flota sobre el crema: marco blanco, filo cálido y sombra en capas */
.sucursales-home .mapa-real { border: 8px solid #fff; border-radius: 22px; box-shadow: 0 0 0 1px rgba(27,21,19,.07), 0 2px 4px rgba(27,21,19,.04), 0 12px 24px -6px rgba(27,21,19,.10), 0 36px 72px -18px rgba(27,21,19,.14); }
.sucursales-home .mapa-real .leaflet-container, .sucursales-home .mapa-real .leaflet-gl-layer canvas { border-radius: 14px; }
.lista-suc { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; font-size: 15px; font-weight: 600; }
.lista-suc a { display: flex; gap: 8px; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 44px; padding: 0 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--linea), 0 1px 2px rgba(27,21,19,.05); transition: color .2s, box-shadow .25s, transform .35s var(--ease); }
.lista-suc a.largo { grid-column: span 2; }
.lista-suc a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--rojo); flex-shrink: 0; }
.lista-suc a:hover { color: var(--rojo); }
@media (hover: hover) { .lista-suc a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px #D4D4D4, 0 8px 18px rgba(27,21,19,.08); } }
.sucursales-home > div > .btn { box-shadow: 0 8px 18px -6px rgba(27,21,19,.45); }
.mapa { position: relative; border-radius: 16px; overflow: hidden; background: #EDEDED; aspect-ratio: 676 / 560; }

.mapa .pin { cursor: pointer; }
.mapa .pin path { fill: var(--rojo); stroke: #fff; stroke-width: 1.5; paint-order: stroke; transition: fill .3s; }
.mapa .pin-in { transform-origin: 0 0; transition: transform .45s var(--ease); }
.mapa .pin:hover .pin-in { transform: scale(1.12); }
.mapa .pin.sel path { fill: var(--tinta); }
.mapa .pin.sel .pin-in { transform: scale(1.35); }
.mapa .pin.cerrada path { fill: #9A9A9A; }
.mapa-ficha { position: absolute; left: 24px; bottom: 24px; background: #fff; padding: 20px 24px; border-radius: 12px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 12px 32px rgba(27,21,19,.14); }
.estado-abierto { font-size: 12px; line-height: 16px; color: var(--verde); font-weight: 700; letter-spacing: .08em; }
.estado-abierto::before { content: '● '; }

.apps { display: flex; gap: 12px; flex-wrap: wrap; }
.app { height: 56px; display: inline-flex; align-items: center; gap: 12px; padding: 0 20px 0 8px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px #3A2F2B; font-weight: 700; font-size: 16px; transition: box-shadow .2s, transform .3s var(--ease); }
.app img { width: 40px; height: 40px; border-radius: 9px; }
.app .sin-logo { width: 40px; height: 40px; border-radius: 9px; background: #2A211E; display: flex; align-items: center; justify-content: center; color: var(--amarillo); }
.app:hover { box-shadow: inset 0 0 0 1.5px var(--crema-2); transform: translateY(-2px); }
.fondo-blanco .app { box-shadow: inset 0 0 0 1.5px var(--linea); color: var(--tinta); }
.fondo-blanco .app .sin-logo { background: var(--crema); color: var(--rojo); }
.fondo-blanco .app:hover { box-shadow: inset 0 0 0 1.5px var(--tinta); }

/* ==========================================================================
   PÁGINAS INTERIORES
   ========================================================================== */
.cab-pagina { padding-top: 48px; padding-bottom: 56px; }
.cab-pagina h1 { margin-top: 24px; }
.cab-pagina .lead { margin-top: 20px; }
.cab-dos { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 48px; align-items: end; }

/* Menú */
.pedido-caja { width: 440px; background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 16px 40px rgba(27,21,19,.08); display: flex; flex-direction: column; gap: 16px; }
.segmento { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); padding: 4px; background: #EDEDED; border-radius: 12px; }
.segmento button { height: 48px; border: 0; border-radius: 9px; background: transparent; font-weight: 600; color: var(--gris); display: flex; align-items: center; justify-content: center; gap: 8px; transition: background-color .25s, color .25s, box-shadow .25s; }
.segmento button[aria-checked="true"], .segmento button[aria-selected="true"] { background: #fff; color: var(--tinta); font-weight: 700; box-shadow: 0 1px 3px rgba(27,21,19,.12); }
.suc-elegida { display: flex; align-items: center; gap: 14px; }
.suc-elegida .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--arena); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.suc-elegida span { flex-grow: 1; display: flex; flex-direction: column; }
.suc-elegida small { color: var(--verde); font-weight: 700; font-size: 13px; } .suc-elegida b { font-size: 16px; }
.suc-elegida a { color: var(--rojo); font-weight: 700; font-size: 15px; min-height: 44px; display: flex; align-items: center; }
.barra-cat { position: sticky; top: 72px; z-index: 30; background: #fff; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); box-shadow: 0 8px 24px rgba(27,21,19,.06); transition: top .45s var(--ease); }
.header-oculto .barra-cat { top: 0; }
.barra-cat-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.tabs { display: flex; gap: 40px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { height: 64px; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--gris); white-space: nowrap; position: relative; }
.tabs a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rojo); transform: scaleX(0); transition: transform .4s var(--ease); }
.tabs a.activo { color: var(--tinta); font-weight: 700; }
.tabs a.activo::after { transform: scaleX(1); }
.tabs .cuenta { font-size: 12px; font-weight: 600; color: var(--gris); background: var(--arena); border-radius: 999px; padding: 2px 8px; }
.buscador { display: flex; align-items: center; gap: 10px; width: 320px; height: 48px; padding: 0 16px; border-radius: var(--radio); background: #F4F4F4; color: var(--gris); }
.buscador input { border: 0; background: transparent; outline: none; font-size: 16px; width: 100%; color: var(--tinta); }
.sin-resultados { padding: 48px 0; text-align: center; color: var(--gris); font-size: 17px; }
.sin-resultados[hidden] { display: none; }
[data-oculto-busqueda] { display: none !important; }
.menu-dos { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 80px; }
.menu-dos .t-2 { font-size: clamp(36px, 3.9vw, 56px); }
.menu-dos > div { display: flex; flex-direction: column; gap: 24px; }
.bebidas { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 80px; margin-top: 48px; }
.bebidas h3 { font-size: 13px; letter-spacing: .14em; color: var(--gris-noche); font-weight: 700; margin-bottom: 16px; }
.bebidas .cols { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 48px; }
.banda-cta { display: flex; justify-content: space-between; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.banda-cta .lead { margin-top: 16px; }

/* Sucursales */
.localizador-cab { display: grid; grid-template-columns: minmax(0,1fr) 520px; gap: 48px; align-items: end; }
.localizador-cab .acciones { display: flex; flex-direction: column; gap: 12px; }
.buscador-grande { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 18px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linea); color: var(--gris); }
.buscador-grande input { border: 0; outline: none; background: transparent; font-size: 16px; width: 100%; color: var(--tinta); }
.buscador-grande:focus-within { box-shadow: inset 0 0 0 2px var(--tinta); }
.localizador { display: grid; grid-template-columns: 520px minmax(0,1fr); gap: 24px; align-items: start; }
.localizador-lista { display: flex; flex-direction: column; gap: 16px; }
.localizador-lista .conteo { font-size: 14px; font-weight: 600; color: var(--gris); }
ul[data-sucursales] { display: flex; flex-direction: column; gap: 12px; }
.suc { padding: 24px; background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--linea), 0 1px 2px rgba(27,21,19,.05), 0 6px 16px -4px rgba(27,21,19,.07); display: flex; flex-direction: column; gap: 16px; cursor: pointer; transition: box-shadow .3s, transform .45s var(--ease); }
@media (hover: hover) { .suc:not(.activa):hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px #D4D4D4, 0 10px 24px rgba(27,21,19,.07); } }
.suc.activa { box-shadow: inset 0 0 0 2px var(--tinta), 0 12px 28px rgba(27,21,19,.08); }
.suc-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; cursor: pointer; }
.suc-top h2 { font-size: clamp(24px, 2vw, 28px); }
.suc-top .dir { font-size: 15px; color: var(--gris); }
.suc-top .km { font-size: 14px; font-weight: 700; white-space: nowrap; padding-top: 6px; }
.estado-suc { font-size: 13px; font-weight: 700; color: var(--verde); }
.estado-suc.cerrada { color: var(--gris); }
.suc-detalle { display: none; flex-direction: column; gap: 16px; }
.suc.activa .suc-detalle { display: flex; }
.horario { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4px 24px; padding: 16px 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); font-size: 14px; line-height: 22px; }
.horario span { display: flex; justify-content: space-between; color: var(--gris); }
.horario span.hoy { color: var(--tinta); font-weight: 700; }
.servicios { display: flex; gap: 8px; flex-wrap: wrap; }
.servicios span { height: 28px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--arena); font-size: 13px; font-weight: 600; }
.suc-acc { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.btn-ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radio); box-shadow: inset 0 0 0 1.5px var(--linea); background: #fff; display: inline-flex; align-items: center; justify-content: center; transition: box-shadow .2s; }
.btn-ico:hover { box-shadow: inset 0 0 0 1.5px var(--tinta); }
.suc-apps { display: flex; gap: 6px; margin-left: auto; }
.suc-apps img { width: 28px; height: 28px; border-radius: 7px; }
.localizador-mapa { position: sticky; top: 104px; }
.localizador-mapa .mapa { aspect-ratio: auto; height: min(980px, calc(100vh - 128px)); border-radius: 20px; }
/* Localizador con relieve: mapa enmarcado como en Inicio; filtros, buscador y botones elevados */
.localizador-mapa .mapa-real { border: 8px solid #fff; border-radius: 24px; box-shadow: 0 0 0 1px rgba(27,21,19,.07), 0 2px 4px rgba(27,21,19,.04), 0 12px 24px -6px rgba(27,21,19,.10), 0 36px 72px -18px rgba(27,21,19,.14); }
.localizador-mapa .mapa-real .leaflet-container, .localizador-mapa .mapa-real .leaflet-gl-layer canvas { border-radius: 16px; }
.localizador-lista .chip:not([aria-pressed="true"]) { background: #fff; box-shadow: inset 0 0 0 1px var(--linea), 0 1px 2px rgba(27,21,19,.05); }
.localizador-lista .chip { transition: background-color .2s, color .2s, box-shadow .25s, transform .35s var(--ease); }
.localizador-lista .chip[aria-pressed="true"] { box-shadow: 0 6px 14px -4px rgba(27,21,19,.35); }
.localizador-cab .buscador-grande { box-shadow: inset 0 0 0 1px var(--linea), 0 2px 6px rgba(27,21,19,.05); }
.localizador-cab .buscador-grande:focus-within { box-shadow: inset 0 0 0 2px var(--tinta), 0 6px 16px rgba(27,21,19,.08); }
.localizador-cab [data-ubicacion] { box-shadow: 0 8px 18px -6px rgba(230,60,47,.45); }
.suc .btn-ico { box-shadow: inset 0 0 0 1px var(--linea), 0 1px 2px rgba(27,21,19,.06); transition: box-shadow .25s, transform .35s var(--ease); }
@media (hover: hover) {
  .localizador-lista .chip:not([aria-pressed="true"]):hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px #D4D4D4, 0 6px 14px rgba(27,21,19,.08); }
  .suc .btn-ico:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--tinta), 0 6px 12px rgba(27,21,19,.08); }
}
.mapa-zoom { position: absolute; right: 20px; top: 20px; display: flex; flex-direction: column; border-radius: var(--radio); background: #fff; box-shadow: 0 6px 18px rgba(27,21,19,.12); }
.mapa-zoom button { width: 44px; height: 44px; border: 0; background: none; display: flex; align-items: center; justify-content: center; }
.mapa-zoom button + button { border-top: 1px solid var(--linea); }
.mapa-leyenda { position: absolute; left: 20px; bottom: 20px; display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 12px; padding: 12px 16px; font-size: 13px; font-weight: 600; box-shadow: 0 6px 18px rgba(27,21,19,.12); }
.mapa-leyenda span { display: flex; align-items: center; gap: 6px; }
.mapa-leyenda i { width: 10px; height: 10px; border-radius: 50%; }
.vista-movil { display: none; }

/* Nosotros */
.nos-hero { display: grid; grid-template-columns: minmax(0,1fr) 520px; gap: 64px; align-items: center; padding-top: 48px; padding-bottom: 96px; }
.nos-hero h1 { margin-top: 24px; font-size: clamp(54px, 7.8vw, 112px); }
.nos-hero .foto-horno { position: relative; }
.nos-hero .foto-horno img { width: 100%; aspect-ratio: 560/640; object-fit: cover; border-radius: 20px; }
.trabaja-proceso { margin-top: 20px; padding-left: 16px; border-left: 3px solid var(--rojo); font-size: 16px; line-height: 26px; color: var(--tinta); max-width: 560px; }
.que-sigue { font-size: 14px; line-height: 22px; color: var(--gris); text-align: center; }
.que-sigue b { color: var(--tinta); }
.historia { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 96px; }
.cita { display: flex; flex-direction: column; gap: 24px; }
.cita .comilla { font-family: var(--f-display); font-stretch: 66%; font-weight: 900; font-size: 120px; line-height: 64px; height: 64px; color: var(--rojo); }
.cita p { font-family: var(--f-display); font-stretch: 66%; font-weight: 900; text-transform: uppercase; font-size: clamp(32px, 3.9vw, 56px); line-height: .98; }
.cita footer b { display: block; font-size: 16px; } .cita footer span { color: var(--gris); }
.historia-txt { display: flex; flex-direction: column; gap: 24px; padding-top: 48px; font-size: 19px; line-height: 32px; color: var(--gris); }
.historia-txt p:first-of-type { color: var(--tinta); }
.cifras { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.cifra { padding: 72px 48px; display: flex; flex-direction: column; gap: 12px; }
.cifra:first-child { padding-left: var(--px); }
.cifra + .cifra { border-left: 1px solid rgba(255,255,255,.25); }
.cifra b { font-family: var(--f-display); font-stretch: 66%; font-weight: 900; font-size: clamp(52px, 8.3vw, 120px); line-height: .84; }
.cifra span { font-size: 18px; color: #FDE7E4; }
.proceso { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; margin-top: 64px; }
.proceso article { display: flex; flex-direction: column; }
.proceso .img { aspect-ratio: 302/340; border-radius: 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.proceso .img > img.cubrir { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.proceso article:hover .img > img.cubrir { transform: scale(1.06); }
.proceso .n { font-family: var(--f-display); font-stretch: 66%; font-weight: 900; font-size: 40px; line-height: 1; color: var(--rojo); margin-top: 24px; }
.proceso h3 { margin-top: 8px; font-size: 32px; }
.proceso p { margin-top: 12px; font-size: 15px; line-height: 24px; color: var(--gris); }
.img-vacia { background: #EDEDED; color: var(--gris); font-size: 14px; font-weight: 600; }
.galeria { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); grid-auto-rows: 280px; grid-auto-flow: dense; gap: 16px; margin-top: 48px; }
.galeria > * { border-radius: 16px; overflow: hidden; }
.galeria img.cubrir { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.galeria > *:hover img { transform: scale(1.05); }
.galeria .g2x2 { grid-column: span 2; grid-row: span 2; } .galeria .g2x1 { grid-column: span 2; }
.galeria .gpizza { background: var(--disco); display: flex; align-items: center; justify-content: center; }
.galeria .gpizza img { width: 220px; border-radius: 50%; filter: drop-shadow(0 12px 16px rgba(27,21,19,.2)); transition: transform 1.2s var(--ease); }
.galeria .gpizza:hover img { transform: rotate(40deg); }

/* Facturación */
.fact-hero { display: grid; grid-template-columns: minmax(0,1fr) 440px; gap: 48px; align-items: center; padding-top: 48px; overflow: hidden; }
.fact-hero .hero-txt { padding-bottom: 96px; }
.fact-hero h1 { margin-top: 40px; }
.ticket-arte { position: relative; height: 560px; display: flex; justify-content: center; align-items: flex-start; padding-top: 24px; }
.ticket-arte .disco-fondo { position: absolute; left: 30px; top: 60px; width: 420px; aspect-ratio: 1; border-radius: 50%; background: var(--disco); }
.ticket-arte .ing-chile { position: absolute; right: -30px; bottom: 40px; width: 150px; transform: rotate(-30deg); }
.ticket-rot { position: relative; transform: rotate(-4deg); margin-left: -60px; }
.ticket { width: 315px; background: #fff; padding: 29px 25px 42px; font-family: var(--f-mono); font-size: 13.6px; line-height: 22px; color: #2A221F; display: flex; flex-direction: column; gap: 2px; filter: drop-shadow(0 20px 30px rgba(27,21,19,.15)); clip-path: polygon(0 0,100% 0,100% calc(100% - 10px),95% 100%,90% calc(100% - 10px),85% 100%,80% calc(100% - 10px),75% 100%,70% calc(100% - 10px),65% 100%,60% calc(100% - 10px),55% 100%,50% calc(100% - 10px),45% 100%,40% calc(100% - 10px),35% 100%,30% calc(100% - 10px),25% 100%,20% calc(100% - 10px),15% 100%,10% calc(100% - 10px),5% 100%,0 calc(100% - 10px)); }
.ticket .c { text-align: center; } .ticket .marca { font-weight: 600; font-size: 17px; letter-spacing: .1em; } .ticket .lema { font-size: 11.5px; letter-spacing: .14em; }
.ticket .corte { border-top: 1.5px dashed #BDBDBD; margin: 8px 0; }
.ticket .ln { display: flex; justify-content: space-between; }
.ticket .marca-roja { margin: 0 -8px; padding: 4px 8px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--rojo); background: rgba(230,60,47,.06); font-weight: 600; }
.ticket-etq { position: absolute; left: calc(100% + 16px); display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--rojo); white-space: nowrap; }
.ticket-etq::before { content: ''; width: 28px; height: 2px; background: var(--rojo); }
.pasos-banda { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
.pasos-banda > div { padding: 48px; display: flex; gap: 20px; align-items: flex-start; }
.pasos-banda > div:first-child { padding-left: var(--px); }
.pasos-banda > div + div { border-left: 1px solid #342A26; }
.pasos-banda .n { font-family: var(--f-display); font-stretch: 66%; font-weight: 900; font-size: 64px; line-height: 56px; color: var(--rojo); }
.pasos-banda b { display: block; font-family: var(--f-display); font-stretch: 66%; font-weight: 900; text-transform: uppercase; font-size: 28px; line-height: 1; padding-top: 6px; }
.pasos-banda small { display: block; margin-top: 6px; font-size: 15px; color: var(--gris-noche); }
.fact-cuerpo { display: grid; grid-template-columns: minmax(0,1fr) 640px; gap: 80px; align-items: start; }
.fact-lado { display: flex; flex-direction: column; gap: 56px; position: sticky; top: 104px; }
.requisitos { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 24px; font-size: 15px; font-weight: 600; }
.requisitos li { display: flex; gap: 10px; align-items: center; color: var(--tinta); }
.requisitos .i { color: var(--rojo); }
.info-caja { display: flex; flex-direction: column; gap: 24px; padding: 28px; border-radius: 16px; background: var(--arena); }
.info-caja > div { display: flex; gap: 16px; align-items: flex-start; }
.info-caja .ico { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-caja b { display: block; font-size: 16px; } .info-caja span span, .info-caja span a { color: var(--gris); font-size: 15px; }
.exito { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 24px 0; }
.exito[hidden] { display: none; }
.exito .palomita { width: 96px; height: 96px; border-radius: 50%; background: var(--verde); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 12px rgba(20,121,74,.12); }
.exito .resumen { width: 100%; padding: 20px; border-radius: 16px; background: var(--crema); display: flex; flex-direction: column; gap: 12px; font-size: 15px; text-align: left; }
.exito .resumen span { display: flex; justify-content: space-between; gap: 12px; } .exito .resumen span b { font-family: var(--f-mono); font-weight: 600; }

/* Contacto */
.canales { border-top: 1.5px solid var(--tinta); margin-top: 72px; }
.canal { display: grid; grid-template-columns: 72px minmax(0,1fr) 220px 56px; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--linea); }
.canal .ico { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1.5px var(--tinta); transition: background-color .3s, color .3s; }
.canal.destacado .ico { background: var(--rojo); color: #fff; box-shadow: none; }
.canal .txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.canal .txt small { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.canal.destacado .txt small { color: var(--rojo); }
.canal .txt b { font-size: clamp(28px, 3.9vw, 56px); line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.canal .desc { font-size: 15px; color: var(--gris); }
.canal .flecha { width: 56px; height: 56px; border-radius: 50%; background: var(--tinta); color: #fff; display: flex; align-items: center; justify-content: center; transition: transform .4s var(--ease), background-color .3s; }
.canal:hover .flecha { transform: translateX(8px); background: var(--rojo); }
.canal:hover .ico { background: var(--tinta); color: #fff; }
.canal.destacado:hover .ico { background: var(--rojo-2); }
.canal-redes .redes { grid-column: 3 / 5; justify-content: flex-end; flex-wrap: wrap; }
.canal-redes .red { width: 52px; height: 52px; color: var(--tinta); box-shadow: inset 0 0 0 1.5px var(--tinta); }
.canal-redes .red:hover { color: #fff; box-shadow: none; }
.canal-redes:hover .ico { background: none; color: inherit; }
.contacto-cuerpo { display: grid; grid-template-columns: minmax(0,1fr) 680px; gap: 80px; align-items: start; }
.contacto-lado { display: flex; flex-direction: column; gap: 48px; }
.atajo { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--linea); }
.atajo b { display: block; font-size: 20px; line-height: 28px; } .atajo small { font-size: 14px; color: var(--gris); }
.atajo .i { transition: transform .3s var(--ease); } .atajo:hover .i { transform: translateX(6px); }
.nota-pizza { display: flex; gap: 20px; align-items: center; padding: 24px; border-radius: 16px; background: var(--crema); }
.nota-pizza img { width: 88px; height: 88px; border-radius: 50%; flex-shrink: 0; }
.nota-pizza b { display: block; font-size: 17px; } .nota-pizza span span { font-size: 15px; color: var(--gris); }
.evento-extra { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; padding: 20px; border-radius: 14px; background: #FFF8F6; box-shadow: inset 0 0 0 1.5px rgba(230,60,47,.25); }
.evento-extra[hidden] { display: none; }
.evento-extra > span { grid-column: 1 / -1; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rojo); }
.banda-evento { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; min-height: 560px; overflow: hidden; position: relative; }
.banda-evento .txt { padding: 0 var(--px); position: relative; z-index: 1; display: flex; flex-direction: column; }
.banda-evento h2 { margin-top: 16px; }
.banda-evento .arte { position: relative; height: 560px; }
.banda-evento .arte img { position: absolute; left: 0; top: 90px; width: 780px; max-width: none; filter: drop-shadow(0 30px 30px rgba(0,0,0,.3)); }

/* ==========================================================================
   ANIMACIÓN — estados iniciales (solo si hay JS y el usuario no pidió
   reducir movimiento). El JS los lleva a su estado final.
   ========================================================================== */
.js [data-rv] { opacity: 0; transform: translateY(40px); }
.js .linea-mask { display: block; overflow: hidden; padding: .14em 0 .06em; margin: -.14em 0 -.06em; }
.js .linea-mask > span { display: block; transform: translateY(105%); }
.js .hero-video { clip-path: inset(0 0 0 100%); }
@media (prefers-reduced-motion: reduce) {
  .js [data-rv] { opacity: 1; transform: none; }
  .js .linea-mask > span { transform: none; }
  .js .hero-video { clip-path: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .35s var(--ease) both salir; }
::view-transition-new(root) { animation: .55s var(--ease) both entrar; }
@keyframes salir { to { opacity: 0; transform: translateY(-12px); } }
@keyframes entrar { from { opacity: 0; transform: translateY(16px); } }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1279px) {
  .nav { gap: 28px; }
  .productos.cuatro { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .fact-cuerpo, .contacto-cuerpo { grid-template-columns: minmax(0,1fr) minmax(0, 560px); gap: 56px; }
  .localizador { grid-template-columns: 440px minmax(0,1fr); }
  .promo .pizza-promo { width: 600px; right: -200px; }
}

@media (max-width: 1023px) {
  .nav, .solo-escritorio { display: none !important; }
  .burger { display: block; }
  .header-in { height: 64px; grid-template-columns: 1fr auto; }
  .logo img { width: 44px; height: 44px; border-radius: 8px; }
  .logo-txt b { font-size: 19px; }
  .barra-cat { top: 64px; }
  .barra-pedir {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    height: 68px; align-items: center; justify-content: space-between; padding: 0 8px 0 16px; border-radius: 14px;
    background: #fff; box-shadow: 0 12px 32px rgba(27,21,19,.22); transition: transform .5s var(--ease);
  }
  .barra-pedir span { display: flex; flex-direction: column; line-height: 1.2; }
  .barra-pedir small { font-size: 12px; color: var(--gris); } .barra-pedir b { font-size: 16px; }
  .barra-pedir.fuera { transform: translateY(140%); }
  .footer { padding-bottom: 120px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 40px 24px; padding-top: 64px; }
  .footer-marca, .footer-apps { grid-column: 1 / -1; }
  .app-f { max-width: none; }
  .footer-apps { display: grid !important; grid-template-columns: 1fr 1fr; }
  .footer-apps h2 { grid-column: 1 / -1; }
  .footer-legal-links { margin-left: 0; gap: 16px; }

  .hero { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 48px; gap: 8px; }
  .hero { min-height: 0; }
  .hero-video { position: relative; inset: auto; order: 2; margin: 24px calc(var(--px) * -1) 0; aspect-ratio: 5 / 4; }
  .hero-txt { display: contents; }
  .hero-txt > .cejilla, .hero-txt > h1, .hero-txt > .lead { order: 1; }
  .hero-txt > .btns { order: 3; margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; }
  .hero-txt > .btns .btn { height: 56px; padding: 0 16px; font-size: 16px; }
  .hero-txt > .beneficios { order: 4; margin-top: 32px; }
  .hero-txt h1 { margin-top: 16px; }
  .hero-txt .lead { margin-top: 16px; }
  .beneficio small { display: none; }
  .beneficio { align-items: center; }

  .favoritas .cab, .encabezado-sec { flex-direction: column; align-items: flex-start; gap: 20px; }
  .encabezado-sec .nota { text-align: left; }
  .favoritas .chips, .barra-cat .tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; margin-right: calc(var(--px) * -1); padding-right: var(--px); }
  .productos, .productos.cuatro { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px 12px; }
  .productos .producto p { display: none; }
  .productos .producto h3 { margin-top: 16px; }
  .productos .producto .pie { gap: 12px; margin-top: 10px; }
  .productos .producto .precio { font-size: 22px; }
  .productos .mas { width: 44px; height: 44px; }
  .promo-pasos, .dividido, .sucursales-home, .historia, .fact-cuerpo, .contacto-cuerpo, .banda-evento, .menu-dos, .bebidas, .localizador, .localizador-cab, .cab-dos, .nos-hero, .fact-hero { grid-template-columns: 1fr; }
  .promo { min-height: 520px; align-items: flex-start; padding: 48px var(--px) 0; }
  .promo .disco-promo { display: none; }
  .promo .pizza-promo { width: 420px; right: auto; left: 50%; top: auto; bottom: -40px; transform: translateX(-50%); }
  .pasos { padding: 48px var(--px); }
  .paso { grid-template-columns: 44px minmax(0,1fr); padding: 16px 0; }
  .paso .n { font-size: 44px; } .paso b { font-size: 24px; } .paso small { display: none; }
  .dividido > div:has(> .foto) { overflow: hidden; }
.dividido > img, .dividido .foto { min-height: 240px; height: 260px; }
  .dividido-txt { padding: 40px var(--px) 48px; }
  .dividido > div:has(> .foto) { order: -1; overflow: hidden; }
  .dividido-txt .btns .btn { width: 100%; }
  .lista-suc { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sucursales-home > div > .btn { align-self: stretch; }
  .sucursales-home .mapa-real { border-width: 6px; border-radius: 18px; }
  .pedido-caja { width: 100%; padding: 0; background: none; box-shadow: none; }
  .buscador { display: none; }
  .tabs { gap: 24px; } .tabs a { height: 52px; }
  .fila .der .mas { width: 44px; height: 44px; }
  .bebidas .cols { grid-template-columns: 1fr; }
  .banda-cta { flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
  .banda-cta .btn { width: 100%; }
  .localizador-mapa { position: static; }
  .localizador-mapa .mapa { height: 220px; border-radius: 14px; }
  .localizador-mapa .mapa-real { border-width: 6px; border-radius: 18px; }
  .mapa-zoom, .mapa-leyenda { display: none; }
  .vista-movil { display: grid; }
  .localizador-lista { order: 2; }
  .suc { padding: 20px 16px; }
  .nos-hero { padding-bottom: 48px; gap: 28px; }
  .historia { gap: 24px; }
  .historia-txt { padding-top: 0; font-size: 17px; line-height: 28px; }
  .cita .comilla { font-family: var(--f-display); font-stretch: 66%; font-weight: 900; font-size: 120px; line-height: 64px; height: 64px; color: var(--rojo); }
  .cifras { padding: 40px var(--px); gap: 12px; }
  .cifra, .cifra:first-child { padding: 0; }
  .cifra + .cifra { border-left: 0; }
  .cifra span { font-size: 13px; line-height: 18px; }
  .proceso { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .proceso .img { aspect-ratio: 350/200; }
  .galeria { grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: 160px; gap: 8px; }
  .galeria .gpizza img { width: 120px; }
  .fact-hero .hero-txt { padding-bottom: 0; display: flex; }
  .fact-hero .ticket-arte { order: 2; }
  .fact-hero h1 { margin-top: 20px; }
  .ticket-arte { height: 360px; padding-top: 28px; }
  .ticket-arte .disco-fondo { left: 50%; margin-left: -140px; width: 280px; }
  .ticket-arte .ing-chile, .ticket-etq { display: none; }
  .ticket-rot { margin-left: 0; transform: rotate(-4deg) scale(.78); transform-origin: top center; }
  .pasos-banda { grid-template-columns: 1fr; padding: 28px var(--px); gap: 16px; }
  .pasos-banda > div, .pasos-banda > div:first-child { padding: 0; align-items: center; }
  .pasos-banda > div + div { border-left: 0; }
  .pasos-banda .n { font-size: 40px; line-height: 40px; width: 24px; }
  .pasos-banda b { font-size: 20px; padding-top: 0; } .pasos-banda small { font-size: 14px; margin-top: 2px; }
  .fact-lado { position: static; gap: 40px; order: 2; }
  .dos { grid-template-columns: 1fr; }
  .form { border-radius: 20px; margin-left: -8px; margin-right: -8px; }
  .canales { margin-top: 24px; }
  .canal { grid-template-columns: 48px minmax(0,1fr) 24px; gap: 14px; padding: 18px 0; }
  .canal .ico { width: 44px; height: 44px; }
  .canal .desc { display: none; }
  .canal .flecha { width: 24px; height: 24px; background: none; color: var(--tinta); }
  .canal-redes .redes { grid-column: 2 / 4; justify-content: flex-start; }
  .canal-redes .red { width: 44px; height: 44px; }
  .canal .txt small { font-size: 12px; } .canal .txt b { font-size: 30px; }
  .canal.destacado { display: none; }
  .wa-movil { display: flex !important; }
  .banda-evento { min-height: 500px; align-items: start; padding-top: 44px; }
  .banda-evento .arte { height: 280px; }
  .banda-evento .arte img { width: 420px; top: 20px; }
  .evento-extra { grid-template-columns: 1fr 1fr; }
}
.wa-movil { display: none !important; }

@media (max-width: 639px) {
  .lista-suc { grid-template-columns: 1fr 1fr; font-size: 14px; }
  .requisitos { grid-template-columns: 1fr 1fr; font-size: 14px; }
  .t-hero { font-size: clamp(44px, 13.4vw, 64px); }
  .productos .producto .disco { width: 156px; }
  .menu-lista-movil .producto { display: none; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); }
}

/* ==========================================================================
   MAPA REAL (Leaflet) Y BÚSQUEDA POR CERCANÍA
   ========================================================================== */
.mapa-real { isolation: isolate; z-index: 0; background: #EDEDED; }
.mapa-real .leaflet-gl-layer { opacity: 0; transition: opacity .6s ease; }
.mapa-real.mapa-listo .leaflet-gl-layer { opacity: 1; }
.mapa-raster .leaflet-tile-pane { filter: grayscale(1) brightness(1.06) contrast(.92); }
.mapa-real .leaflet-control-attribution { font-size: 10px; background: rgba(255,255,255,.8); }
.mapa-real .leaflet-control-zoom a { width: 40px; height: 40px; line-height: 40px; color: var(--tinta); }
.pin-mapa { background: none; border: 0; }
.pin-caer { display: block; position: relative; }
.mapa-real:not(.visto) .pin-caer { opacity: 0; }
.mapa-real.visto .pin-caer { animation: pin-cae .8s var(--ease) both; animation-delay: calc(var(--i) * 70ms + .15s); }
@keyframes pin-cae { from { opacity: 0; transform: translateY(-36px); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
/* Las abiertas "respiran": un halo en la base del pin */
.pin-mapa.abierta .pin-caer::before { content: ""; position: absolute; left: 50%; bottom: -2px; width: 34px; height: 12px; margin-left: -17px; border-radius: 50%; background: rgba(230,60,47,.45); animation: pin-halo 2.4s ease-out infinite; animation-delay: calc(var(--i) * 240ms); z-index: -1; }
@keyframes pin-halo { from { transform: scale(.3); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }

/* Tarjeta de la sucursal sobre el mapa */
.ficha-mapa .leaflet-popup-content-wrapper { border-radius: 14px; padding: 0; box-shadow: 0 18px 40px rgba(27,21,19,.22); }
.ficha-mapa .leaflet-popup-content { margin: 0; width: 290px !important; font: 16px/1.5 var(--f-texto); color: var(--tinta); }
.ficha-mapa .leaflet-popup-tip { box-shadow: none; }
.ficha-mapa a.leaflet-popup-close-button { top: 10px; right: 10px; width: 28px; height: 28px; font: 400 22px/26px var(--f-texto); color: var(--gris); border-radius: 50%; }
.ficha-mapa a.leaflet-popup-close-button:hover { background: var(--crema); color: var(--tinta); }
.fm { padding: 18px 20px 20px; display: flex; flex-direction: column; }
.fm-estado { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--gris); }
.fm-estado::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9A9A9A; }
.fm-estado.abierta { color: var(--verde); } .fm-estado.abierta::before { background: var(--verde); }
.fm h3 { margin-top: 8px; font-size: 26px; padding-right: 24px; }
.ficha-mapa .fm p { margin: 8px 0 0; font-size: 14px; line-height: 20px; color: var(--gris); }
.fm-tel { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--tinta) !important; }
.fm-acc { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fm-acc .btn { padding: 0 10px; gap: 6px; white-space: nowrap; }
.ficha-mapa .fm-acc .btn-rojo { color: #fff; }
.ficha-mapa .fm-acc .btn-linea { color: var(--tinta); }
.ficha-mapa .fm-acc .btn-linea:hover, .ficha-mapa .fm-acc .btn-linea:focus-visible { color: #fff; }
@media (prefers-reduced-motion: reduce) { .mapa-real .pin-caer, .pin-mapa.abierta .pin-caer::before { animation: none; opacity: 1; } }

.pin-mapa svg { width: 36px; height: 48px; display: block; overflow: visible; transform-origin: 50% 100%; transition: transform .45s var(--ease); filter: drop-shadow(0 4px 6px rgba(27,21,19,.3)); }
.pin-mapa path { fill: var(--rojo); stroke: #fff; stroke-width: 1.5; paint-order: stroke; transition: fill .3s; }
.pin-mapa.cerrada path { fill: #9A9A9A; }
.pin-mapa:hover svg { transform: scale(1.12); }
.pin-mapa.sel { z-index: 1000 !important; }
.pin-mapa.sel path { fill: var(--tinta); }
.pin-mapa.sel svg { transform: scale(1.3); }
.leaflet-tooltip.pin-etq { background: var(--tinta); color: #fff; border: 0; border-radius: 8px; padding: 6px 10px; font: 700 13px var(--f-texto); box-shadow: 0 6px 16px rgba(27,21,19,.25); }
.leaflet-tooltip.pin-etq::before { border-top-color: var(--tinta); }
.buscador-grande .btn { flex-shrink: 0; }
.estado-busqueda { font-size: 14px; line-height: 20px; color: var(--tinta); background: #fff; border-radius: var(--radio); padding: 12px 14px; box-shadow: inset 0 0 0 1.5px var(--linea); }
.estado-busqueda button { border: 0; background: none; padding: 0; font-weight: 700; color: var(--rojo); text-decoration: underline; }
.suc .km { color: var(--rojo); }
.suc-top-h .rojo { font-size: .7em; vertical-align: .1em; }
@media (max-width: 1023px) {
  .localizador-mapa .mapa.mapa-real { height: 300px; }
}

/* ==========================================================================
   MENÚ — HERO
   ========================================================================== */
.menu-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 48px; }
.menu-hero-txt { display: flex; flex-direction: column; }
.menu-hero-txt h1 { margin-top: 20px; }
.menu-hero-txt .lead { margin-top: 16px; }
.menu-hero-txt .btns { margin-top: 28px; }
.menu-datos { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--linea); }
.menu-datos li { display: flex; flex-direction: column; gap: 4px; }
.menu-datos b { font-family: var(--f-display); font-stretch: 66%; font-weight: 900; font-size: 32px; line-height: 1; }
.menu-datos li:nth-child(2) b { color: var(--rojo); }
.menu-datos span { font-size: 14px; color: var(--gris); }
.menu-hero-arte { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 400px; justify-self: end; }
.menu-hero-arte > * { position: absolute; }
.menu-hero-arte .disco-rojo { inset: 6%; border-radius: 50%; background: var(--rojo); }
.menu-hero-arte .pizza { left: 9%; top: 9%; width: 82%; aspect-ratio: 1; border-radius: 50%; filter: drop-shadow(0 30px 40px rgba(27,21,19,.35)); }
.menu-hero-arte .ing-tomate { right: 2%; top: 0; width: 20%; }
.menu-hero-arte .ing-hoja { left: 0; bottom: 8%; width: 17%; }
.menu-hero-arte .ing-chile { right: -6%; bottom: 14%; width: 34%; }
.menu-hero-arte .ficha-a { left: -24%; top: 44%; }
.menu-hero-arte .ficha-b { right: -4%; bottom: -2%; padding: 8px 20px 8px 8px; }
.menu-hero-arte .ficha-b img { width: 44px; height: 44px; border-radius: 50%; }
@media (max-width: 1023px) {
  .menu-hero { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 40px; gap: 16px; }
  .menu-hero-arte { justify-self: center; max-width: 300px; order: 2; }
  .menu-hero-arte .ficha-a { left: -2%; top: auto; bottom: 18%; }
  .menu-hero-arte .ficha-b { display: none; }
  .menu-hero-txt .btns { display: grid; grid-template-columns: 1fr 1fr; }
  .menu-hero-txt .btns .btn { height: 56px; padding: 0 12px; font-size: 16px; }
  .menu-datos { gap: 24px; margin-top: 32px; }
  .menu-datos b { font-size: 32px; }
}

/* ==========================================================================
   EFECTOS: pizza que vuela al pedido
   ========================================================================== */
.vuela { position: fixed; z-index: 90; border-radius: 50%; pointer-events: none; filter: drop-shadow(0 18px 24px rgba(27,21,19,.35)); will-change: transform; }
.btn.recibe { animation: recibe .6s var(--ease); }
@keyframes recibe { 30% { transform: scale(1.12); } 60% { transform: scale(.96); } }
.btn .burbuja { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--amarillo); color: var(--tinta); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px #fff; }
.btn:has(.burbuja) { overflow: visible; }

/* Profundidad del hero: la capa se mueve con el cursor sin pisar las demás animaciones */
[data-hero-arte] > * { translate: var(--px, 0px) var(--py, 0px); }

/* Nosotros — lo que nos define */
.promesas { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 96px; align-items: start; }
.promesas-cab { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 120px; }
.promesas-lista { border-top: 1.5px solid var(--tinta); }
.promesas-lista li { display: grid; grid-template-columns: 56px 56px minmax(0, 1fr); align-items: center; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--linea); }
.promesa-n { font-family: var(--f-display); font-stretch: 66%; font-weight: 900; font-size: 32px; color: var(--rojo); }
.promesa-ico { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: #FDECEA; color: var(--rojo); transition: background .3s, color .3s, transform .5s var(--ease); }
.promesas-lista li:hover .promesa-ico { background: var(--rojo); color: #fff; transform: rotate(-12deg) scale(1.06); }
.promesa-txt { display: flex; flex-direction: column; gap: 4px; }
.promesa-txt b { font-family: var(--f-display); font-stretch: 66%; font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 2vw, 28px); line-height: 1.05; }
.promesa-txt span { font-size: 16px; line-height: 24px; color: var(--gris); }
@media (max-width: 1023px) {
  .promesas { grid-template-columns: 1fr; gap: 32px; }
  .promesas-cab { position: static; }
  .promesas-lista li { grid-template-columns: 36px 44px minmax(0, 1fr); gap: 14px; padding: 20px 0; }
  .promesa-ico { width: 44px; height: 44px; }
  .promesa-n { font-size: 24px; }
}

/* Sin rótulos pequeños sobre los títulos: el titular abre la sección */
.hero-txt > h1:first-child, .dividido-txt > h2:first-child, .promo-txt > h2:first-child, .banda-evento .txt > h2:first-child,
.sucursales-home > div > h2:first-child, .promesas-cab > h2:first-child, .favoritas .cab h2:first-child { margin-top: 0; }
.nos-hero h1 { margin-top: 40px; }

/* Vapor sobre la pizza del hero */
.vapor { position: absolute; left: 30%; top: -6%; width: 40%; pointer-events: none; overflow: visible; z-index: 2; }
.vapor path { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; opacity: 0; filter: blur(3px); stroke-dasharray: 60 200; animation: vapor 3.6s ease-in-out infinite; }
.vapor path:nth-child(2) { animation-delay: 1.2s; }
.vapor path:nth-child(3) { animation-delay: 2.4s; }
@keyframes vapor {
  0% { opacity: 0; stroke-dashoffset: 0; transform: translateY(20px); }
  25% { opacity: .75; }
  100% { opacity: 0; stroke-dashoffset: -160; transform: translateY(-40px); }
}
.menu-hero-arte .vapor { top: -4%; }
@media (prefers-reduced-motion: reduce) { .vapor { display: none; } }
