/* Isabel de la Cruz · app del cliente
   Marca: azul marino y dorado del monograma (foto de perfil), crema y cobre de su carta impresa, terrazo de sus mesas.
   Registro: color pleno, título grande con sombra dura, producto que flota solo dentro del arco, sello que gira, botón con canto,
   cinta que corre y tarjetas que asoman. El dorado va solo en detalles finos (filetes, arcos, cantos, destellos): nunca como luz. */
:root {
  --azul: #142F4D; --azul-2: #1C3D61; --azul-3: #26507B; --azul-hondo: #0D2137;
  --oro: #A98B5A; --oro-c: #D6BB86; --oro-o: #7C6440;
  --crema: #F4EFE6; --papel: #FBF8F2; --piedra: #E6E0D5; --cobre: #A4693A; --mostaza: #B98A45;
  --terracota: #B85C3C; --celeste: #8DB1D1; --tinta: #1B2636; --gris: #6B7380;
  --serif: 'Bodoni Moda', 'Didot', Georgia, serif; --sans: 'Montserrat', system-ui, sans-serif; --script: 'Pinyon Script', cursive;
  --tope: 58px; --dock: 0px; --barra: 74px; --r: 22px;
  --sombra: 0 18px 40px -22px rgba(13, 33, 55, .55), 0 2px 6px rgba(13, 33, 55, .08);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-padding-top: calc(var(--tope) + var(--dock) + 56px); }
body { font-family: var(--sans); color: var(--tinta); background: var(--crema);
  min-height: 100svh; overflow-x: hidden; -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--barra) + 24px + env(safe-area-inset-bottom)); }
body.con-mesa { --dock: 52px; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.vista[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ───────── tope ───────── */
.tope { position: fixed; inset: 0 0 auto; z-index: 40; color: var(--crema); background: var(--azul); transition: background .3s, box-shadow .3s;
  padding-top: env(safe-area-inset-top); }
body.en-inicio:not(.bajo) .tope { background: transparent; }
body.bajo .tope, body:not(.en-inicio) .tope { box-shadow: 0 8px 24px -18px rgba(0, 0, 0, .6); }
.tope-fila { height: var(--tope); display: flex; align-items: center; gap: 10px; padding: 0 16px; max-width: 1240px; margin: 0 auto; }
.tope-logo { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--oro); border: 1.4px solid rgba(169, 139, 90, .75); flex: none; }
.tope-logo .mono { height: 23px; width: auto; }
.tope-nombre { flex: 1; min-width: 0; }
.palabra { display: inline-flex; align-items: baseline; gap: .42em; font-family: var(--serif); font-weight: 600; letter-spacing: .26em; white-space: nowrap; }
.palabra small { font-size: .56em; letter-spacing: .2em; }
.tope-nombre .palabra { font-size: 12.5px; color: var(--crema); }
.tope-reales { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 5px; border-radius: 99px; background: rgba(244, 239, 230, .1);
  border: 1px solid rgba(169, 139, 90, .55); font-weight: 700; font-size: 13.5px; color: var(--crema); }
.tope-reales .moneda-svg { width: 24px; height: 24px; }

/* barra de la mesa: segunda fila del tope */
.dock { height: var(--dock); display: flex; align-items: center; gap: 8px; padding: 0 12px 8px; max-width: 1240px; margin: 0 auto; }
.dock-mesa { display: grid; place-items: center; line-height: 1; min-width: 52px; height: 40px; border-radius: 12px; border: 1.4px solid var(--oro); color: var(--oro-c); }
.dock-mesa small { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.dock-mesa b { font-family: var(--serif); font-size: 19px; font-weight: 800; }
.dock-b { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 12px; background: rgba(244, 239, 230, .09); font-weight: 700; font-size: 12.5px; }
.dock-b svg { width: 18px; height: 18px; color: var(--oro-c); }
.dock-b.espera { background: var(--oro); color: var(--azul); }
.dock-b.espera svg { color: var(--azul); }
.dock-p { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px; background: var(--crema); color: var(--azul);
  box-shadow: inset 0 -3px 0 var(--oro); font-weight: 700; font-size: 12.5px; }
.dock-p span { flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-p b { white-space: nowrap; }
.dock-p i { min-width: 22px; height: 22px; border-radius: 99px; background: var(--azul); color: var(--crema); font-style: normal; display: grid; place-items: center; font-size: 11.5px; }
.dock-p.sigue i { background: var(--c); width: 10px; min-width: 10px; height: 10px; animation: late 1.4s infinite; }
.dock-p.calmo { background: rgba(244, 239, 230, .09); color: var(--crema); box-shadow: inset 0 0 0 1px rgba(169, 139, 90, .45); }
@keyframes late { 50% { transform: scale(1.45); opacity: .6; } }
/* sin mesa: el botón a la mesa de demo */
.ir-mesa { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 99px; border: 1px solid rgba(169, 139, 90, .7);
  color: var(--oro-c); font-weight: 700; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; background: rgba(13, 33, 55, .35); }
.ir-mesa svg { width: 15px; height: 15px; }

/* ───────── botones ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 99px; font-weight: 800; font-size: 13px;
  letter-spacing: .07em; text-transform: uppercase; text-decoration: none; transition: transform .12s, box-shadow .12s; white-space: nowrap; }
.btn:active { transform: translateY(3px); }
.btn-crema { background: var(--crema); color: var(--azul); box-shadow: 0 4px 0 var(--oro); }
.btn-crema:active { box-shadow: 0 1px 0 var(--oro); }
.btn-azul { background: var(--azul); color: var(--crema); box-shadow: 0 4px 0 var(--oro); }
.btn-azul:active { box-shadow: 0 1px 0 var(--oro); }
.btn-oro { background: var(--oro); color: var(--azul); box-shadow: 0 4px 0 var(--oro-o); }
.btn-linea { background: transparent; color: var(--azul); box-shadow: inset 0 0 0 1.5px var(--azul); }
.btn-linea.claro { color: var(--crema); box-shadow: inset 0 0 0 1.5px rgba(244, 239, 230, .7); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.ancho { width: 100%; }
.btn + .btn.ancho, .btn.ancho + .btn.ancho { margin-top: 12px; }

/* ───────── inicio: el héroe ───────── */
.heroe { position: relative; background: var(--azul); color: var(--crema); overflow: hidden; isolation: isolate;
  height: clamp(560px, calc(100svh - 186px), 740px); padding-top: calc(var(--tope) + var(--dock) + env(safe-area-inset-top)); }
.heroe::after { content: ''; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(transparent, rgba(13, 33, 55, .35)); pointer-events: none; z-index: 3; }
.slides { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden;
  padding: calc(var(--tope) + var(--dock) + env(safe-area-inset-top) + 18px) 20px 0; }
.s-arco { position: absolute; right: -3%; bottom: -1%; width: 66%; height: 50%; color: var(--oro); opacity: .85; z-index: 0; }
.s-arco .arco { width: 100%; height: 100%; }
/* el producto flota solo, centrado en el arco, con su sombra en el piso */
.s-foto { position: absolute; right: 0; bottom: 8%; width: 60%; height: 41%; z-index: 2; transform-origin: 50% 100%; }
.s-foto img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 22px 20px rgba(5, 15, 28, .5)); }
.s-foto::after { content: ''; position: absolute; left: 24%; right: 24%; bottom: -9%; height: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(5, 15, 28, .6), transparent); }
/* las copas son angostas: más altas y un poco a la derecha, sin tocar el botón (solo teléfono) */
@media (max-width: 767px) { .slide[data-k="milkshake"] .s-foto, .slide[data-k="aperol"] .s-foto { width: 44%; height: 46%; right: 5%; } }
.s-texto { position: relative; z-index: 4; max-width: 330px; }
.s-saludo { font-family: var(--script); font-size: 30px; color: var(--oro-c); line-height: 1; margin-bottom: 2px; }
.s-titulo { font-family: var(--serif); line-height: .9; margin: 6px 0 12px; }
.s-titulo .t1 { display: block; font-weight: 800; font-style: italic; color: var(--crema); letter-spacing: -.01em; font-size: var(--fs, 76px);
  text-shadow: 3px 3px 0 var(--oro), 6px 6px 0 var(--azul-hondo); white-space: nowrap; }
.s-titulo .t2 { display: block; font-family: var(--script); font-weight: 400; font-size: 40px; color: var(--oro-c); margin-top: 4px; line-height: 1.05; }
.s-corto { font-size: 13.5px; line-height: 1.45; color: rgba(244, 239, 230, .82); max-width: 215px; margin-bottom: 18px; }
.s-acciones { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.s-precio { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--oro-c); letter-spacing: .04em; }
.s-precio b { font-size: 24px; color: var(--crema); font-weight: 800; }
.d { position: absolute; color: var(--oro-c); z-index: 3; width: var(--t, 12px); height: var(--t, 12px); left: var(--x); top: var(--y); animation: titila 3.4s var(--dl, 0s) infinite ease-in-out; }
@keyframes titila { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1); } }
/* sello que gira con el lema */
.sello { position: absolute; z-index: 4; left: 18px; bottom: 62px; width: 112px; height: 112px; border-radius: 50%; background: var(--crema); color: var(--azul);
  display: grid; place-items: center; box-shadow: 0 0 0 4px var(--azul), 0 0 0 5.5px var(--oro), 0 14px 28px -10px rgba(0, 0, 0, .5); transform: rotate(-8deg); }
.sello svg.anillo { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); animation: gira 22s linear infinite; }
.sello text { font-family: var(--sans); font-weight: 800; font-size: 7.6px; fill: var(--azul); }
.sello-centro { position: relative; text-align: center; line-height: 1; }
.sello-centro .corona { width: 34px; height: auto; display: block; margin: 0 auto 3px; }
.sello-centro small { display: block; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cobre); }
.sello-centro b { font-family: var(--serif); font-size: 17px; font-weight: 800; }
@keyframes gira { to { transform: rotate(360deg); } }
.pts { position: absolute; z-index: 5; left: 20px; bottom: 26px; display: flex; gap: 7px; }
.pts i { width: 8px; height: 8px; border-radius: 99px; background: rgba(244, 239, 230, .35); transition: width .3s, background .3s; }
.pts i.si { width: 26px; background: var(--oro-c); }
.heroe .ir-mesa { position: absolute; z-index: 6; right: 16px; top: calc(var(--tope) + env(safe-area-inset-top) + 2px); }

/* entrada de cada slide */
.slide .s-foto { opacity: 0; transform: translateY(14%) scale(.9); transition: opacity .7s .1s, transform .9s .1s cubic-bezier(.2, .8, .2, 1); }
.slide .s-texto > * { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .7s cubic-bezier(.2, .8, .2, 1); }
.slide .s-arco { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s cubic-bezier(.6, 0, .2, 1); }
.slide.entra .s-foto { opacity: 1; transform: none; }
.slide.entra .s-arco { clip-path: inset(0 0 0 0); }
.slide.entra .s-texto > * { opacity: 1; transform: none; }
.slide.entra .s-texto > :nth-child(2) { transition-delay: .08s; }
.slide.entra .s-texto > :nth-child(3) { transition-delay: .16s; }
.slide.entra .s-texto > :nth-child(4) { transition-delay: .24s; }
.slide.entra .s-foto img { animation: flota 6s 1s ease-in-out infinite; }
.slide.entra .s-foto::after { animation: sombra 6s 1s ease-in-out infinite; }
@keyframes flota { 50% { transform: translateY(-12px) rotate(-1deg); } }
@keyframes sombra { 50% { transform: scaleX(.82); opacity: .65; } }

/* cinta */
.cinta { position: relative; z-index: 6; background: var(--oro); color: var(--azul); overflow: hidden; border-block: 2px solid var(--azul); }
.cinta::before, .cinta::after { content: ''; position: absolute; inset: 3px 0 auto; height: 1px; background: rgba(20, 47, 77, .35); }
.cinta::after { inset: auto 0 3px; }
.cinta-pista { display: flex; width: max-content; animation: corre 38s linear infinite; }
.cinta-pista span { display: inline-flex; align-items: center; gap: 16px; padding: 11px 0 11px 16px; font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.cinta-pista .destello { width: 11px; height: 11px; color: var(--azul); }
@keyframes corre { to { transform: translateX(-50%); } }

/* ───────── inicio: tarjetas ───────── */
.zona { padding: 22px 16px 10px; max-width: 1240px; margin: 0 auto; }
/* el terrazo de sus mesas va de fondo en el inicio y en la corona; la carta queda lisa para leer */
#v-inicio, #v-corona { background-image: var(--terrazo); background-size: 240px 240px; }
.tarjetas { display: grid; gap: 16px; }
.tj { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--sombra); }
.tj-eti { display: inline-block; padding: 5px 12px 4px; font-weight: 800; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; border-radius: 6px; }
.tj h3 { font-family: var(--serif); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -.01em; }
.tj h3 em { font-family: var(--script); font-style: normal; font-weight: 400; font-size: 1.05em; color: var(--oro); }
.tj p { font-size: 13.5px; line-height: 1.5; }
.marco { position: absolute; inset: 8px; border: 1px solid rgba(169, 139, 90, .55); border-radius: calc(var(--r) - 7px); pointer-events: none; }

/* tu corona */
.tj-corona { background: var(--azul); color: var(--crema); padding: 22px 20px 20px; min-height: 240px; }
.tj-corona .tj-eti { background: rgba(169, 139, 90, .2); color: var(--oro-c); }
.tj-corona h3 { margin: 12px 0 6px; color: var(--crema); }
.tj-corona p { color: rgba(244, 239, 230, .8); max-width: 190px; }
.tj-corona .corona { position: absolute; right: -14px; top: 30px; width: 190px; transform: rotate(9deg); }
.tj-corona .btn { margin-top: 18px; }
.cuenta-piedras { display: flex; gap: 6px; margin-top: 12px; }
.cuenta-piedras i { width: 26px; height: 6px; border-radius: 4px; background: rgba(244, 239, 230, .18); }
.cuenta-piedras i.si { background: var(--c); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset; }

/* menú ejecutivo */
.tj-ejecutivo { background: var(--papel); padding: 20px; min-height: 230px; }
.tj-ejecutivo .tj-eti { background: var(--mostaza); color: #fff; }
.tj-ejecutivo h3 { color: var(--azul); margin: 12px 0 4px; max-width: 200px; }
.tj-ejecutivo p { color: var(--gris); max-width: 175px; }
.tj-ejecutivo .plato { position: absolute; right: -46px; top: 22px; width: 196px; height: 196px; border-radius: 50%; overflow: hidden; border: 6px solid #fff;
  box-shadow: 0 0 0 1.5px var(--oro), 0 22px 32px -16px rgba(13, 33, 55, .5); }
.tj-ejecutivo .plato img { width: 100%; height: 100%; object-fit: cover; }
.tj-ejecutivo .precio-sello { position: absolute; right: 108px; top: 150px; width: 70px; height: 70px; border-radius: 50%; background: var(--azul); color: var(--crema);
  display: grid; place-items: center; text-align: center; line-height: 1; box-shadow: 0 0 0 3px var(--papel), 0 0 0 4.5px var(--oro); transform: rotate(-10deg); }
.precio-sello small { display: block; font-size: 7.5px; font-weight: 800; letter-spacing: .12em; color: var(--oro-c); }
.precio-sello b { font-family: var(--serif); font-size: 15px; font-weight: 800; }
.tj-ejecutivo .btn { margin-top: 16px; }

/* promos de la tarde */
.tj-promo { background: var(--crema); padding: 0; border: 1.5px solid var(--azul); }
.tj-promo .promo-cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--azul); color: var(--crema); padding: 12px 18px; }
.tj-promo .promo-cab b { font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.tj-promo .ahora { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--oro); color: var(--azul); padding: 4px 9px; border-radius: 99px; }
.tj-promo ul { list-style: none; padding: 6px 18px 14px; }
.tj-promo li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px dashed rgba(20, 47, 77, .22); }
.tj-promo li:last-child { border: 0; }
.tj-promo li b { font-family: var(--serif); font-size: 26px; font-weight: 800; font-style: italic; color: var(--cobre); min-width: 46px; }
.tj-promo li span { flex: 1; font-weight: 600; font-size: 14px; color: var(--azul); }
.tj-promo li em { font-style: normal; font-weight: 700; font-size: 13px; color: var(--gris); }

/* invitá a tu gente */
.tj-gente { background: var(--azul-2); color: var(--crema); padding: 22px 20px 20px; }
.tj-gente .tj-eti { background: var(--crema); color: var(--azul); }
.tj-gente h3 { margin: 12px 0 6px; }
.tj-gente p { color: rgba(244, 239, 230, .82); max-width: 240px; }
.tj-gente .lema { font-family: var(--script); font-size: 26px; color: var(--oro-c); line-height: 1.1; margin-top: 14px; }
.tj-gente .btn { margin-top: 16px; }
.tj-gente .corazon { position: absolute; right: 16px; top: 18px; width: 64px; color: var(--oro); opacity: .9; }

.efectivo { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--papel); border: 1px dashed var(--oro); color: var(--azul); font-size: 13.5px; }
.efectivo b { font-family: var(--serif); font-size: 24px; font-weight: 800; font-style: italic; color: var(--cobre); white-space: nowrap; }
.pie { text-align: center; padding: 26px 16px 8px; color: var(--gris); font-size: 12px; line-height: 1.6; }
.pie .mono { height: 34px; width: auto; color: var(--oro); margin: 0 auto 8px; }
.pie .palabra { font-size: 13px; color: var(--azul); }

/* ───────── vistas internas ───────── */
.pagina { padding: calc(var(--tope) + var(--dock) + env(safe-area-inset-top) + 18px) 16px 10px; max-width: 1240px; margin: 0 auto; }
.cab { margin-bottom: 18px; }
.cab small { font-family: var(--script); font-size: 26px; color: var(--cobre); display: block; line-height: 1; }
.cab h1 { font-family: var(--serif); font-weight: 800; font-style: italic; font-size: 46px; line-height: .95; color: var(--azul); text-shadow: 2px 2px 0 var(--oro-c); }
.cab p { font-size: 13.5px; color: var(--gris); margin-top: 8px; max-width: 520px; line-height: 1.5; }

/* carta */
.cartas { display: flex; gap: 6px; padding: 5px; border-radius: 99px; background: var(--azul); margin-bottom: 18px; }
.cartas button { flex: 1; height: 40px; border-radius: 99px; color: rgba(244, 239, 230, .78); font-weight: 700; font-size: 12px; letter-spacing: .02em; }
.cartas button.si { background: var(--crema); color: var(--azul); box-shadow: inset 0 -3px 0 var(--oro); }
.destacados { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px 22px; padding: 2px 16px 12px; scrollbar-width: none; }
.destacados::-webkit-scrollbar { display: none; }
.dest { flex: 0 0 44%; max-width: 230px; scroll-snap-align: start; background: var(--papel); border-radius: 18px; overflow: hidden; box-shadow: var(--sombra); text-align: left; position: relative; }
.dest-foto { aspect-ratio: 1; background: var(--piedra); position: relative; }
.dest-foto img { width: 100%; height: 100%; object-fit: cover; }
.dest-txt { padding: 10px 12px 12px; }
.dest-txt b { display: block; font-family: var(--serif); font-weight: 700; font-size: 15.5px; line-height: 1.15; color: var(--azul); min-height: 2.3em; }
.dest-txt span { font-weight: 700; font-size: 13px; color: var(--cobre); }
.dest .mas { position: absolute; right: 8px; top: 8px; }
.rubros-nav { position: sticky; top: calc(var(--tope) + var(--dock) + env(safe-area-inset-top)); z-index: 20; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 -16px 8px; padding: 10px 16px; background: rgba(244, 239, 230, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid rgba(20, 47, 77, .08); }
.rubros-nav::-webkit-scrollbar { display: none; }
.rubros-nav button { flex: none; height: 32px; padding: 0 13px; border-radius: 99px; background: var(--papel); border: 1px solid rgba(20, 47, 77, .16); font-weight: 600; font-size: 12px; color: var(--azul); }
.rubro { padding: 16px 0 6px; }
.rubro-cab { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.rubro-cab h2 { font-family: var(--serif); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--cobre); background: var(--piedra); padding: 6px 12px 5px; border-radius: 4px; }
.rubro-cab span { font-family: var(--serif); font-style: italic; font-size: 13.5px; color: var(--cobre); }
.renglon { display: flex; align-items: center; gap: 12px; width: 100%; border-bottom: 1px solid rgba(20, 47, 77, .09); }
.renglon-abre { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; text-align: left; padding: 13px 0; }
.dest-abre { display: block; width: 100%; text-align: left; }
.tj-promo li { cursor: pointer; }
.fc-cat { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cobre); margin-bottom: 4px; }
.celebra { display: grid; place-items: center; padding: 6px 0 10px; }
.celebra .corona.grande { width: 220px; }
.celebra .moneda-svg.grande { width: 96px; height: 96px; }
.corona.nueva .gema.llena:last-of-type, .corona.nueva .gema.llena { animation: engarza .7s calc(var(--i) * .08s) cubic-bezier(.2, 1.6, .4, 1) both; transform-box: fill-box; transform-origin: center; }
@keyframes engarza { from { transform: scale(0); opacity: 0; } }
.renglon-txt { flex: 1; min-width: 0; }
.renglon-txt b { display: block; font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--azul); line-height: 1.2; }
.renglon-txt em { display: block; font-family: var(--serif); font-style: italic; font-size: 13.5px; color: #555c66; line-height: 1.35; margin-top: 2px; }
.renglon-precio { font-weight: 700; font-size: 14px; color: var(--azul); white-space: nowrap; }
.mas { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--azul); color: var(--crema); display: grid; place-items: center; box-shadow: 0 3px 0 var(--oro); }
.mas svg { width: 16px; height: 16px; }
.info-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0; }
.info-chips span { padding: 7px 12px; border-radius: 99px; border: 1px dashed var(--cobre); font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--cobre); }
.nota { font-size: 12px; color: var(--gris); line-height: 1.5; margin-top: 12px; }
.nota-precios { text-align: center; margin: 20px 0 0; }

/* ficha del producto */
.fc-foto { position: relative; margin: -22px -20px 16px; aspect-ratio: 1; max-height: 44svh; width: calc(100% + 40px); overflow: hidden; background: var(--azul); border-radius: 26px 26px 0 0; }
.fc-foto.real img { width: 100%; height: 100%; object-fit: cover; }
.fc-foto.flota { display: grid; place-items: end center; }
.fc-foto.flota .s-arco { right: 50%; transform: translateX(50%); width: 62%; height: 92%; bottom: -4%; clip-path: none; }
.fc-foto.flota::after { content: ''; position: absolute; left: 32%; right: 32%; bottom: 7%; height: 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .5), transparent); z-index: 1; }
.fc-foto.flota img { position: relative; z-index: 2; height: 74%; width: auto; max-width: 84%; object-fit: contain; margin-bottom: 11%; filter: drop-shadow(0 24px 24px rgba(0, 0, 0, .4)); }
.fc-nombre { font-family: var(--serif); font-weight: 800; font-style: italic; font-size: 32px; line-height: 1; color: var(--azul); }
.fc-desc { font-family: var(--serif); font-style: italic; font-size: 15.5px; color: #4E5663; line-height: 1.45; margin: 8px 0 4px; }
.fc-precio { display: flex; align-items: baseline; gap: 12px; margin: 10px 0 4px; }
.fc-precio b { font-family: var(--serif); font-weight: 800; font-size: 26px; color: var(--azul); }
.fc-precio span { font-size: 12.5px; font-weight: 700; color: var(--cobre); display: inline-flex; align-items: center; gap: 5px; }
.fc-precio .moneda-svg { width: 18px; height: 18px; }
.op-grupo { margin-top: 16px; }
.op-grupo h4 { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin-bottom: 8px; }
.op-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.op-chips button { min-height: 38px; padding: 7px 14px; border-radius: 12px; background: var(--papel); border: 1.4px solid rgba(20, 47, 77, .18); font-weight: 600; font-size: 13px; color: var(--azul); text-align: left; }
.op-chips button small { color: var(--cobre); font-weight: 700; margin-left: 4px; }
.op-chips button.si { background: var(--azul); border-color: var(--azul); color: var(--crema); box-shadow: inset 0 -3px 0 var(--oro); }
.op-chips button.si small { color: var(--oro-c); }
.fc-pie { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.cant { display: inline-flex; align-items: center; gap: 4px; background: var(--papel); border-radius: 99px; padding: 4px; border: 1px solid rgba(20, 47, 77, .14); }
.cant button { width: 38px; height: 38px; border-radius: 50%; font-size: 20px; font-weight: 600; color: var(--azul); }
.cant span { min-width: 22px; text-align: center; font-weight: 800; }
.fc-pie .btn { flex: 1; }
.sin-mesa { margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: var(--piedra); font-size: 13.5px; line-height: 1.5; color: var(--azul); }
.sin-mesa a { font-weight: 800; }

/* hoja */
#hoja { position: fixed; inset: 0; z-index: 70; }
#hoja[hidden] { display: none; }
.hoja-fondo { position: absolute; inset: 0; background: rgba(9, 20, 33, .55); opacity: 0; transition: opacity .25s; }
.hoja-caja { position: absolute; left: 0; right: 0; bottom: 0; max-height: 90svh; overflow-y: auto; overscroll-behavior: contain; background: var(--crema); border-radius: 26px 26px 0 0;
  padding: 22px 20px calc(24px + env(safe-area-inset-bottom)); transform: translateY(104%); transition: transform .38s cubic-bezier(.2, .8, .2, 1); max-width: 620px; margin: 0 auto; }
#hoja.abierta .hoja-fondo { opacity: 1; }
#hoja.abierta .hoja-caja { transform: none; }
.hoja-x { position: sticky; top: 14px; display: block; margin: -8px -6px -28px auto; z-index: 5; width: 36px; height: 36px; border-radius: 50%; background: var(--azul); color: var(--crema); box-shadow: 0 0 0 1.5px var(--oro); }
.hoja-cuerpo > h2:first-child, .hoja-cuerpo > .fc-cat:first-child { padding-right: 44px; }
.hoja-x::before, .hoja-x::after { content: ''; position: absolute; left: 11px; top: 17px; width: 14px; height: 2px; background: currentColor; transform: rotate(45deg); }
.hoja-x::after { transform: rotate(-45deg); }
.hoja-cuerpo h2 { font-family: var(--serif); font-weight: 800; font-style: italic; font-size: 30px; color: var(--azul); line-height: 1; margin-bottom: 8px; }
.hoja-cuerpo > p { font-size: 14px; line-height: 1.5; color: #4E5663; margin-bottom: 12px; }

/* pedido y cuenta */
.ped-lista, .cuenta-lista { list-style: none; margin: 8px 0 12px; }
.ped-lista li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(20, 47, 77, .1); }
.ped-lista li > div:first-child { flex: 1; min-width: 0; }
.ped-lista b { display: block; font-family: var(--serif); font-size: 16px; color: var(--azul); }
.ped-lista small { display: block; font-size: 12px; color: var(--gris); margin-top: 2px; }
.ped-lista span { font-weight: 700; font-size: 13.5px; color: var(--cobre); }
.ped-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 18px; }
.ped-total span { font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.ped-total b { font-family: var(--serif); font-size: 28px; font-weight: 800; color: var(--azul); }
.cuenta-lista li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed rgba(20, 47, 77, .18); font-size: 14px; }
.cuenta-lista li span { font-weight: 800; color: var(--cobre); min-width: 22px; }
.cuenta-lista li b { flex: 1; font-weight: 600; color: var(--azul); }
.cuenta-lista li em { font-style: normal; font-weight: 700; }
.cuenta-efectivo { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--papel); border: 1px dashed var(--oro); margin: -6px 0 14px; font-size: 13.5px; color: var(--azul); }
.cuenta-efectivo b { font-family: var(--serif); font-size: 20px; }
.cuenta-gana { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--azul); color: var(--crema); margin-bottom: 14px; font-size: 13.5px; line-height: 1.4; }
.cuenta-gana .corona { width: 64px; flex: none; }
.cuenta-ok { padding: 12px 14px; border-radius: 14px; background: var(--oro); color: var(--azul); font-weight: 700; font-size: 14px; margin-bottom: 12px; text-align: center; }
.seg { background: var(--papel); border-radius: 18px; padding: 14px 16px; margin-bottom: 12px; box-shadow: var(--sombra); }
.seg.recien { box-shadow: 0 0 0 2px var(--oro), var(--sombra); }
.seg-cab { display: flex; align-items: baseline; gap: 10px; }
.seg-cab b { font-family: var(--serif); font-size: 18px; color: var(--azul); }
.seg-cab span { font-size: 12px; color: var(--gris); }
.seg-cab strong { margin-left: auto; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.seg-pasos { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 12px 0 10px; }
.seg-pasos li { display: grid; gap: 6px; font-size: 10.5px; font-weight: 700; color: var(--gris); }
.seg-pasos li i { height: 6px; border-radius: 4px; background: rgba(20, 47, 77, .12); }
.seg-pasos li.si i { background: var(--c); }
.seg-pasos li.ahora { color: var(--azul); }
.seg-pasos li.ahora i { animation: late 1.6s infinite; }
.seg-items { font-size: 13px; color: #4E5663; line-height: 1.5; }
.seg-total { font-weight: 800; margin-top: 6px; color: var(--azul); }

/* ───────── corona (credencial y QR) ───────── */
.credencial { position: relative; background: var(--azul); color: var(--crema); border-radius: 28px; padding: 26px 20px 22px; text-align: center; overflow: hidden; box-shadow: var(--sombra); }
.credencial .marco { inset: 9px; }
.credencial .corona { width: 220px; margin: 0 auto -4px; display: block; }
.credencial h2 { font-family: var(--serif); font-weight: 800; font-style: italic; font-size: 34px; line-height: 1; }
.credencial h2 + p { font-size: 13.5px; color: rgba(244, 239, 230, .8); margin: 8px auto 0; max-width: 280px; line-height: 1.5; }
.ventana { position: relative; width: 210px; margin: 20px auto 0; background: var(--crema); border-radius: 105px 105px 18px 18px; padding: 26px 22px 18px; color: var(--azul);
  box-shadow: 0 0 0 4px var(--azul), 0 0 0 5.5px var(--oro); }
.ventana svg { width: 100%; height: auto; display: block; }
.ventana small { display: block; font-weight: 800; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; margin-top: 10px; }
.ventana code { font-family: var(--serif); font-weight: 700; font-size: 16px; letter-spacing: .1em; }
.regalos { margin-top: 18px; display: grid; gap: 10px; }
.regalo { display: flex; align-items: center; gap: 12px; background: var(--papel); border-radius: 16px; padding: 12px 14px; box-shadow: var(--sombra); }
.regalo .corona, .regalo .moneda-svg { width: 46px; flex: none; }
.regalo div { flex: 1; min-width: 0; }
.regalo b { display: block; font-family: var(--serif); font-size: 16.5px; color: var(--azul); }
.regalo small { font-size: 12px; color: var(--gris); }
.regalo .btn { height: 38px; padding: 0 14px; font-size: 11px; }
.demo-caja { margin-top: 18px; padding: 16px; border-radius: 18px; border: 1.5px dashed rgba(20, 47, 77, .35); background: var(--papel); }
.demo-caja h3 { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); margin-bottom: 6px; }
.demo-caja p { font-size: 13.5px; line-height: 1.5; color: #4E5663; margin-bottom: 12px; }
.demo-caja .fila { display: flex; gap: 8px; flex-wrap: wrap; }
.demo-caja .btn { height: 42px; font-size: 11.5px; padding: 0 16px; }

/* ───────── reales ───────── */
.saldo { display: flex; align-items: center; gap: 16px; background: var(--azul); color: var(--crema); border-radius: 24px; padding: 20px; position: relative; overflow: hidden; box-shadow: var(--sombra); }
.saldo .moneda-svg { width: 84px; height: 84px; flex: none; }
.saldo b { font-family: var(--serif); font-weight: 800; font-style: italic; font-size: 52px; line-height: .9; display: block; }
.saldo span { font-size: 13px; color: rgba(244, 239, 230, .8); line-height: 1.45; }
.canjes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.canje { background: var(--papel); border-radius: 18px; padding: 14px; box-shadow: var(--sombra); display: flex; flex-direction: column; gap: 6px; text-align: left; }
.canje b { font-family: var(--serif); font-size: 16px; color: var(--azul); line-height: 1.15; flex: 1; }
.canje span { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; font-size: 13px; color: var(--cobre); }
.canje span .moneda-svg { width: 18px; height: 18px; }
.canje .btn { height: 36px; font-size: 10.5px; padding: 0 12px; margin-top: 6px; }
.canje.falta { opacity: .62; }
.canje .barrita { height: 5px; border-radius: 3px; background: rgba(20, 47, 77, .1); overflow: hidden; }
.canje .barrita i { display: block; height: 100%; background: var(--oro); }
.tit-sec { font-family: var(--serif); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--cobre); margin: 26px 0 8px; }
.movs { list-style: none; }
.movs li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(20, 47, 77, .09); font-size: 13.5px; }
.movs li span { color: var(--gris); min-width: 44px; }
.movs li b { flex: 1; font-weight: 600; color: var(--azul); }
.movs li em { font-style: normal; font-weight: 800; color: var(--cobre); }

/* ───────── invitá a tu gente ───────── */
.gente-heroe { background: var(--azul-2); color: var(--crema); border-radius: 24px; padding: 22px 20px; position: relative; overflow: hidden; box-shadow: var(--sombra); }
.gente-heroe .lema { font-family: var(--script); font-size: 30px; color: var(--oro-c); line-height: 1.1; }
.gente-heroe p { font-size: 14px; line-height: 1.5; color: rgba(244, 239, 230, .85); margin: 10px 0 16px; }
.gente-heroe .link { display: flex; align-items: center; gap: 8px; background: rgba(244, 239, 230, .1); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; word-break: break-all; margin-bottom: 12px; border: 1px solid rgba(169, 139, 90, .4); }
.burbuja { margin: 16px 0 4px; background: #E7F0E1; border-radius: 4px 18px 18px 18px; padding: 10px; max-width: 320px; box-shadow: var(--sombra); }
.burbuja .bv { border-radius: 10px; overflow: hidden; background: #fff; }
.burbuja .bv img { aspect-ratio: 1200 / 630; object-fit: cover; width: 100%; }
.burbuja .bv div { padding: 8px 10px; font-size: 12px; }
.burbuja .bv b { display: block; font-size: 13px; }
.burbuja p { font-size: 13px; line-height: 1.45; padding: 8px 4px 2px; white-space: pre-line; }
.amigos { list-style: none; margin-top: 8px; }
.amigos li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(20, 47, 77, .09); }
.amigos li i { width: 36px; height: 36px; border-radius: 50%; background: var(--piedra); display: grid; place-items: center; font-style: normal; font-weight: 800; color: var(--azul); }
.amigos li div { flex: 1; }
.amigos li b { display: block; font-weight: 700; color: var(--azul); font-size: 14px; }
.amigos li small { color: var(--gris); font-size: 12px; }
.amigos .btn { height: 34px; font-size: 10.5px; padding: 0 12px; }

/* ───────── barra de abajo ───────── */
.barra { position: fixed; z-index: 45; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(calc(100% - 24px), 440px); height: 64px;
  display: flex; align-items: center; justify-content: space-around; background: var(--azul); border-radius: 22px; box-shadow: 0 0 0 1px rgba(169, 139, 90, .5), 0 18px 34px -14px rgba(5, 15, 28, .7); padding: 0 6px; }
.barra button { flex: 1; height: 100%; display: grid; place-items: center; align-content: center; gap: 4px; color: rgba(244, 239, 230, .6); font-size: 10.5px; font-weight: 700; letter-spacing: .03em; }
.barra button svg { width: 22px; height: 22px; }
.barra button.activo { color: var(--oro-c); }
.barra .barra-corona { flex: none; width: 66px; height: 66px; margin-top: -26px; border-radius: 50%; background: var(--crema); box-shadow: 0 0 0 4px var(--azul), 0 0 0 5.5px var(--oro), 0 12px 20px -8px rgba(0, 0, 0, .5); }
.barra .barra-corona i { width: 46px; display: block; }
.barra .barra-corona .corona { width: 100%; }
.barra .barra-corona.activo { background: var(--oro-c); }

/* aviso */
#aviso { position: fixed; z-index: 80; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--azul); color: var(--crema); padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: 13.5px; box-shadow: 0 0 0 1px var(--oro), 0 14px 30px -10px rgba(0, 0, 0, .5);
  transition: opacity .25s, transform .3s; max-width: calc(100% - 32px); text-align: center; }
#aviso.ver { opacity: 1; transform: translate(-50%, 0); }
body.con-hoja #aviso { bottom: auto; top: calc(16px + env(safe-area-inset-top)); }
.vuela { position: fixed; z-index: 90; width: 32px; height: 32px; pointer-events: none; }
.vuela .corona { width: 100%; }

/* ───────── entrada ───────── */
#entrada { position: fixed; inset: 0; z-index: 100; background: var(--azul); display: grid; place-items: center; color: var(--oro); }
.ent-caja { text-align: center; }
.ent-mono .mono { height: 120px; width: auto; margin: 0 auto; overflow: visible; }
.ent-mono path { fill: transparent; stroke: var(--oro); stroke-width: 22; stroke-dasharray: 6000; stroke-dashoffset: 6000; }
#entrada.corre .ent-mono path { animation: traza 1.15s cubic-bezier(.6, 0, .3, 1) forwards, llena .45s 1s forwards; }
@keyframes traza { to { stroke-dashoffset: 0; } }
@keyframes llena { to { fill: var(--oro); stroke-width: 0; } }
.ent-palabra { margin-top: 22px; font-size: 17px; color: var(--crema); opacity: 0; letter-spacing: .5em; }
.ent-palabra .palabra { letter-spacing: inherit; }
#entrada.corre .ent-palabra { animation: abre 1s .85s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes abre { to { opacity: 1; letter-spacing: .26em; } }
.ent-lema { font-family: var(--script); font-size: 26px; color: var(--oro-c); margin-top: 12px; opacity: 0; }
#entrada.corre .ent-lema { animation: aparece .7s 1.35s forwards; }
@keyframes aparece { to { opacity: 1; } }
#entrada.sale { animation: telon .7s cubic-bezier(.7, 0, .3, 1) forwards; }
@keyframes telon { to { clip-path: inset(0 0 100% 0); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .slide .s-foto, .slide .s-texto > * { opacity: 1; transform: none; } .slide .s-arco { clip-path: none; } }

/* teléfono bajo (Safari con barras): todo más compacto */
@media (max-height: 720px) and (max-width: 600px) {
  .heroe { height: max(540px, calc(100svh - 96px)); }
  .s-titulo .t1 { font-size: calc(var(--fs, 76px) * .86); }
  .s-titulo .t2 { font-size: 34px; }
  .s-corto { margin-bottom: 12px; }
  .sello { width: 96px; height: 96px; bottom: 54px; }
  .s-foto { height: 37%; }
  .slide[data-k="milkshake"] .s-foto, .slide[data-k="aperol"] .s-foto { height: 41%; }
}
@media (max-width: 430px) {
  .dock-b { padding: 0 10px; gap: 5px; }
  .dock-p:not(.sigue):not(.calmo) { justify-content: center; }
  .dock-p:not(.sigue):not(.calmo) span, .dock-p.calmo b { display: none; }
}
@media (max-width: 359px) { .tope-nombre .palabra { font-size: 10.5px; letter-spacing: .18em; } .dock-b span { display: none; } }

/* ───────── iPad y compu ───────── */
@media (min-width: 768px) {
  .heroe { height: clamp(600px, calc(100svh - 150px), 800px); }
  .slide { padding-left: max(40px, calc((100vw - 1160px) / 2)); padding-right: 40px; }
  .s-texto { max-width: 470px; padding-top: 4vh; }
  .s-saludo { font-size: 38px; }
  .s-titulo .t2 { font-size: 54px; }
  .s-corto { font-size: 16px; max-width: 360px; }
  .s-foto { width: min(40%, 460px); height: 62%; bottom: 9%; right: calc(max(3%, calc((100vw - 1160px) / 2 - 40px)) + 23% - min(20%, 230px)); }
  .s-arco { width: 46%; height: 88%; right: max(3%, calc((100vw - 1160px) / 2 - 40px)); }
  .sello { left: auto; right: calc(max(7%, calc((100vw - 1160px) / 2)) + min(46%, 500px)); bottom: 80px; width: 128px; height: 128px; }
  .pts { left: max(40px, calc((100vw - 1160px) / 2)); }
  .zona { padding: 30px 32px 10px; }
  .tarjetas { grid-template-columns: 1fr 1fr; }
  .tj-gente, .efectivo { grid-column: span 1; }
  .pagina { padding-left: 32px; padding-right: 32px; }
  .canjes { grid-template-columns: repeat(3, 1fr); }
  .dest { flex-basis: 30%; }
  .lista-rubros { columns: 2; column-gap: 40px; }
  .rubro { break-inside: avoid; }
  .hoja-caja { bottom: 50%; transform: translateY(60%) scale(.96); opacity: 0; border-radius: 26px; transition: transform .3s, opacity .25s; max-height: 86vh; }
  #hoja.abierta .hoja-caja { transform: translateY(50%); opacity: 1; }
  .fc-foto { border-radius: 26px 26px 0 0; }
  .credencial-fila { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: start; }
  .credencial-fila .regalos { margin-top: 0; }
}
@media (min-width: 1100px) {
  .tarjetas { grid-template-columns: repeat(3, 1fr); }
  .tj-corona { grid-row: span 2; min-height: 100%; }
  .tj-corona .corona { width: 260px; right: -10px; top: auto; bottom: 30px; }
  .tj-corona p { max-width: 260px; }
  .s-titulo .t1 { font-size: calc(var(--fs, 76px) * 1.35); }
  .dest { flex-basis: 22%; }
  .lista-rubros { columns: 3; }
}
