/* Tres Pisos · tortas a tu medida (demo). Crema, rosa suave y frambuesa, con texto color cacao.
   Tipografía: Gloock (titulares), Cookie (la firma y los acentos escritos con manga) y Figtree (texto). Primero el teléfono. */

:root {
  --crema: #fbf3ea;
  --crema-2: #f6e9dc;
  --crema-3: #efdccb;
  --rosa: #f3c9cf;
  --rosa-2: #f9e3e5;
  --baya: #b8325a;
  --baya-osc: #8f2246;
  --cacao: #3b2420;
  --cacao-2: #6e4a40;
  --linea: rgb(59 36 32 / .12);
  --r: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --serif: "Gloock", Georgia, serif;
  --firma: "Cookie", "Brush Script MT", cursive;
  --sans: "Figtree", system-ui, sans-serif;
  --cab-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--crema); color: var(--cacao); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
button, input, select { font: inherit; color: inherit; }
.envoltura { width: min(1200px, 100% - 32px); margin-inline: auto; }
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .14; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .42 0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ---------- Tipos ---------- */
.antetitulo { margin-bottom: .8rem; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--baya); }
.titulo-sec { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 10.5vw, 5.4rem); line-height: .98; letter-spacing: -.015em; text-wrap: balance; }
.titulo-sec em, .titulo-fase em { font-family: var(--firma); font-style: normal; font-size: 1.12em; line-height: .8; color: var(--baya); letter-spacing: 0; }
.sec-bajada { margin-top: 1rem; max-width: 46ch; color: var(--cacao-2); }
.nota { color: var(--cacao-2); font-size: .82rem; margin-top: .9rem; }
.sec-cab { margin-bottom: 2rem; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 52px; padding: 0 1.5rem; border-radius: 999px; border: 0; cursor: pointer; font-weight: 650; font-size: .96rem; text-decoration: none;
  transition: transform .35s var(--ease), background-color .25s, box-shadow .25s, color .25s; }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn-baya { background: var(--baya); color: #fff7f2; box-shadow: 0 12px 28px -14px rgb(143 34 70 / .9); }
.btn-baya:hover { background: var(--baya-osc); }
.btn-oscuro { background: var(--cacao); color: var(--crema); }
.btn-oscuro:hover { background: var(--baya-osc); }
.btn-borde { box-shadow: inset 0 0 0 1.5px var(--cacao); background: rgb(251 243 234 / .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-borde:hover { background: var(--cacao); color: var(--crema); }
.btn-sm { height: 40px; padding: 0 1.1rem; font-size: .86rem; }
.btn-lg { height: 58px; padding: 0 2rem; font-size: 1.02rem; width: 100%; }
.cuenta { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: #fff7f2; color: var(--baya); font-size: .75rem; font-weight: 800; }
.cuenta[hidden] { display: none; }
:focus-visible { outline: 2px solid var(--baya); outline-offset: 3px; border-radius: 8px; }

/* ---------- Carga ---------- */
.carga { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; gap: .6rem; background: var(--crema); }
.carga-firma { width: min(86vw, 520px); height: auto; overflow: visible; }
.carga-firma text { font-family: var(--firma); font-size: 150px; }
.cf-sombra { fill: none; stroke: var(--crema-3); stroke-width: 1.5; }
.cf-crema { fill: var(--baya); stroke: var(--baya-osc); stroke-width: 1; paint-order: stroke; }
.carga-firma:not(.lista) text { visibility: hidden; }
.carga-manga { will-change: transform; }
.carga-txt { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cacao-2); }
.carga-txt b { color: var(--cacao); font-variant-numeric: tabular-nums; }
html:not(.js) .carga { display: none; }

/* ---------- Cabecera ---------- */
.cab { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--cab-h); display: flex; align-items: center; gap: 1rem; padding: 0 16px; transition: background-color .4s, box-shadow .4s; }
.cab.solida { background: rgb(251 243 234 / .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--linea); }
.marca { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-family: var(--firma); font-size: 2.1rem; line-height: 1; color: var(--baya); }
.marca span { transform: translateY(2px); }
.marca-icono { width: 26px; height: 26px; fill: var(--rosa); stroke: var(--cacao); stroke-width: 1.6; }
.cab-nav { display: none; gap: 1.8rem; margin-left: auto; }
.cab-nav a { text-decoration: none; font-weight: 550; font-size: .9rem; color: var(--cacao-2); }
.cab-nav a:hover { color: var(--baya); }
.cab .btn { margin-left: auto; }
@media (min-width: 960px) { .cab { padding: 0 32px; } .cab-nav { display: flex; } .cab .btn { margin-left: 1.4rem; } }

/* ---------- Inicio ---------- */
.inicio { position: relative; height: 420vh; }
.inicio-fijo { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(70% 55% at 50% 72%, #fff8f2 0%, rgb(255 248 242 / 0) 70%), radial-gradient(120% 80% at 50% 100%, var(--rosa-2), var(--crema) 70%); }
.escena { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.escena-respaldo { position: absolute; left: 50%; bottom: 6vh; width: min(88vw, 620px); transform: translateX(-50%); border-radius: 28px; opacity: 0; box-shadow: 0 30px 60px -30px rgb(59 36 32 / .5); }
.sin-3d .escena-respaldo { opacity: 1; }
.sin-3d .inicio { height: auto; }
.sin-3d .inicio-fijo { position: relative; }
.sin-3d .fase-2, .sin-3d .fase-3, .sin-3d .fase-4, .sin-3d .baja { display: none; }
.sin-3d .fase-1 { opacity: 1 !important; visibility: visible !important; }
.fase { position: absolute; left: 16px; right: 16px; z-index: 2; text-align: center; }
.fase-1 { top: calc(var(--cab-h) + 1.5vh); }
.titulo { font-family: var(--serif); font-weight: 400; font-size: clamp(3.6rem, 17.5vw, 9.6rem); line-height: .9; letter-spacing: -.025em; }
.titulo > span { display: inline-block; }
.titulo .l { display: inline-block; }
.lema { font-family: var(--firma); font-size: clamp(2.1rem, 9vw, 3.4rem); line-height: 1; color: var(--baya); margin-top: .1rem; }
.fase-1 .bajada { margin: .7rem auto 0; max-width: 33ch; color: var(--cacao-2); font-size: .98rem; }
.acciones { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.fase-2, .fase-3, .fase-4 { top: calc(var(--cab-h) + 3vh); opacity: 0; visibility: hidden; }
.titulo-fase { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 11vw, 5.2rem); line-height: 1; letter-spacing: -.015em; }
.titulo-fase .linea { display: block; }
.titulo-fase .pal { display: inline-block; white-space: pre; }
.fase-4 .btn { margin-top: .2rem; }
.baja { position: absolute; left: 50%; bottom: 18px; z-index: 2; display: grid; justify-items: center; gap: .4rem; transform: translateX(-50%); font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cacao-2); }
.baja i { width: 1.5px; height: 34px; background: linear-gradient(var(--cacao-2) 50%, transparent 50%) 0 0 / 100% 200%; animation: baja 1.6s var(--ease) infinite; }
@keyframes baja { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
@media (min-width: 900px) {
  .fase { left: 6vw; right: auto; max-width: 42vw; text-align: left; }
  .fase-1 { top: auto; bottom: 12vh; }
  .fase-1 .bajada { margin: .8rem 0 0; }
  .acciones { justify-content: flex-start; }
  .fase-2, .fase-3, .fase-4 { top: auto; bottom: 14vh; }
  .titulo-fase { font-size: clamp(3rem, 5.6vw, 5.6rem); }
  .escena-respaldo { left: auto; right: 6vw; bottom: 10vh; width: min(44vw, 640px); transform: none; }
}

/* ---------- Arma tu torta ---------- */
.arma { padding: 12vh 0 10vh; position: relative; }
.arma-grid { display: grid; gap: 1.6rem; align-items: start; }
.visor { position: sticky; top: calc(var(--cab-h) + 6px); z-index: 5; height: 42vh; height: 42svh; min-height: 260px; max-height: 360px; border-radius: 26px; overflow: hidden;
  background: radial-gradient(90% 70% at 50% 34%, #fffaf5 0%, var(--rosa-2) 62%, #f4d2d6 100%); box-shadow: 0 22px 40px -28px rgb(59 36 32 / .55), inset 0 0 0 1px rgb(255 255 255 / .6); touch-action: pan-y; }
.visor-lienzo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.visor-lienzo:active { cursor: grabbing; }
.visor-datos { position: absolute; left: 14px; right: 14px; bottom: 10px; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; pointer-events: none; }
.visor-pisos { display: grid; line-height: 1.2; font-size: .8rem; color: var(--cacao-2); padding: .45rem .75rem; border-radius: 14px; background: rgb(255 250 245 / .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.visor-pisos b { color: var(--cacao); font-size: .92rem; }
.visor-precio { display: grid; justify-items: end; line-height: 1; padding: .45rem .75rem; border-radius: 14px; background: rgb(255 250 245 / .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.visor-precio small { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cacao-2); }
.visor-precio b { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin-top: .2rem; font-variant-numeric: tabular-nums; }
.visor-corte { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: .4rem; height: 36px; padding: 0 .8rem 0 .6rem; border: 0; border-radius: 99px; cursor: pointer;
  background: rgb(255 250 245 / .85); box-shadow: 0 4px 14px -8px rgb(59 36 32 / .5); font-size: .8rem; font-weight: 650; transition: background-color .25s, color .25s; }
.visor-corte svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.visor-corte[aria-pressed="true"] { background: var(--cacao); color: var(--crema); }
.visor-ayuda { position: absolute; left: 14px; top: 16px; font-size: .74rem; color: var(--cacao-2); display: none; pointer-events: none; }
.torta-css { display: none; }
.sin-3d .visor-lienzo { display: none; }
.sin-3d .torta-css { --cob: #f3c3cc; position: absolute; left: 50%; bottom: 64px; display: grid; justify-items: center; transform: translateX(-50%); }
.sin-3d .torta-css i { display: block; height: 46px; border-radius: 10px 10px 6px 6px; background: linear-gradient(180deg, color-mix(in srgb, var(--cob), white 25%), var(--cob)); box-shadow: inset 0 -6px 0 rgb(0 0 0 / .06); }
.sin-3d .torta-css i:nth-child(1) { width: 80px; } .sin-3d .torta-css i:nth-child(2) { width: 124px; } .sin-3d .torta-css i:nth-child(3) { width: 168px; }
.sin-3d .torta-css b { width: 210px; height: 10px; border-radius: 50%; background: #e9c0c6; }
.torta-css[data-pisos="1"] i:nth-child(-n+2), .torta-css[data-pisos="2"] i:nth-child(1) { display: none !important; }

.arma-pegado { display: grid; gap: 1.2rem; }
.pasos { display: grid; gap: 1.5rem; }
.paso legend { display: flex; align-items: center; gap: .55rem; margin-bottom: .7rem; font-family: var(--serif); font-size: 1.45rem; line-height: 1.1; }
.paso legend i { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--baya); color: #fff7f2; font: 700 .8rem var(--sans); font-style: normal; }
.paso legend small { font: 500 .82rem var(--sans); color: var(--cacao-2); margin-left: .2rem; }
.paso input[type="radio"], .paso input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.paso label { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.paso input:focus-visible + span { outline: 2px solid var(--baya); outline-offset: 2px; }

.op-pisos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.op-pisos span { display: grid; justify-items: center; gap: .1rem; height: 100%; padding: .7rem .4rem .6rem; border-radius: 16px; text-align: center; background: #fffaf5; box-shadow: inset 0 0 0 1.5px var(--linea); transition: background-color .3s, color .3s, box-shadow .3s, transform .4s var(--ease); }
.op-pisos svg { width: 40px; height: 34px; fill: var(--rosa); stroke: var(--cacao); stroke-width: 1.4; margin-bottom: .15rem; }
.op-pisos b { font-size: .98rem; }
.op-pisos small { font-size: .7rem; line-height: 1.25; color: var(--cacao-2); }
.op-pisos input:checked + span { background: var(--cacao); color: var(--crema); box-shadow: none; }
.op-pisos input:checked + span small { color: #e6cfc4; }
.op-pisos input:checked + span svg { fill: var(--baya); stroke: var(--crema); }

.op-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.op-chips span { display: inline-flex; align-items: center; gap: .5rem; height: 44px; padding: 0 1rem 0 .55rem; border-radius: 99px; background: #fffaf5; box-shadow: inset 0 0 0 1.5px var(--linea); font-weight: 550; font-size: .92rem; transition: background-color .25s, color .25s, box-shadow .25s; }
.op-chips span::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -3px 0 rgb(0 0 0 / .12), 0 0 0 2px #fff; }
.op-chips small { font-size: .74rem; font-weight: 600; color: var(--baya); }
.op-chips input:checked + span { background: var(--cacao); color: var(--crema); box-shadow: none; }
.op-chips input:checked + span small { color: var(--rosa); }

.op-colores { display: flex; flex-wrap: wrap; gap: .4rem .55rem; }
.op-colores label { display: grid; justify-items: center; gap: .25rem; width: 52px; font-size: .7rem; font-weight: 600; color: var(--cacao-2); }
.op-colores span { display: block; width: 46px; height: 46px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -5px 8px rgb(0 0 0 / .08), 0 0 0 1.5px var(--linea); transition: box-shadow .3s, transform .4s var(--ease); }
.op-colores input:checked + span { box-shadow: inset 0 -5px 8px rgb(0 0 0 / .08), 0 0 0 3px var(--crema), 0 0 0 5px var(--cacao); transform: scale(1.04); }
.op-colores input:checked ~ em { color: var(--cacao); }
.op-colores em { font-style: normal; }

.op-deco { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.op-deco span { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: .55rem; align-items: center; height: 100%; padding: .6rem 1.8rem .6rem .7rem; border-radius: 16px; background: #fffaf5; box-shadow: inset 0 0 0 1.5px var(--linea); transition: background-color .25s, box-shadow .25s; }
.op-deco svg { grid-row: span 2; width: 34px; height: 34px; }
.op-deco b { font-size: .9rem; line-height: 1.15; }
.op-deco small { font-size: .72rem; color: var(--cacao-2); }
.op-deco span::after { content: ""; position: absolute; right: 8px; top: 8px; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--linea); background: #fff; }
.op-deco input:checked + span { background: var(--rosa-2); box-shadow: inset 0 0 0 2px var(--baya); }
.op-deco input:checked + span::after { background: var(--baya) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 9.5l2.6 2.6L13 6.6' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 100% no-repeat; box-shadow: none; }

.campo-msg { position: relative; }
.campo-msg input { width: 100%; height: 56px; padding: 0 4.2rem 0 1rem; border-radius: 16px; border: 0; background: #fffaf5; box-shadow: inset 0 0 0 1.5px var(--linea); font-family: var(--firma); font-size: 1.9rem; color: var(--baya-osc); }
.campo-msg input::placeholder { color: #c7a99f; }
.campo-msg input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--baya); }
.campo-msg span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: .78rem; font-weight: 600; color: var(--cacao-2); font-variant-numeric: tabular-nums; }
.ayuda { margin-top: .5rem; font-size: .8rem; color: var(--cacao-2); }

.op-entrega { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.op-entrega span { display: grid; height: 100%; padding: .7rem .9rem; border-radius: 16px; background: #fffaf5; box-shadow: inset 0 0 0 1.5px var(--linea); transition: background-color .25s, color .25s; }
.op-entrega b { font-size: .92rem; }
.op-entrega small { font-size: .74rem; color: var(--cacao-2); }
.op-entrega input:checked + span { background: var(--cacao); color: var(--crema); }
.op-entrega input:checked + span small { color: #e6cfc4; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .6rem; }
.campo { display: grid; gap: .25rem; font-size: .74rem; font-weight: 600; letter-spacing: .04em; color: var(--cacao-2); }
.campo input, .campo select { width: 100%; height: 48px; padding: 0 .8rem; border-radius: 14px; border: 0; background: #fffaf5; box-shadow: inset 0 0 0 1.5px var(--linea); font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--cacao); }
.campo-distrito { grid-column: 1 / -1; }
.campo[hidden] { display: none; }

.resumen { padding: 1.4rem 1.2rem; border-radius: var(--r); background: #fffaf5; box-shadow: 0 30px 50px -40px rgb(59 36 32 / .6), inset 0 0 0 1px var(--linea); scroll-margin-top: calc(var(--cab-h) + 16px); }
.resumen h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1; margin-bottom: .6rem; }
.res-lista li { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; align-items: start; padding: .7rem 0; border-bottom: 1px dashed var(--crema-3); }
.res-lista li > span:first-child b { display: block; }
.res-lista small { display: block; color: var(--cacao-2); font-size: .8rem; line-height: 1.4; }
.res-lista .monto { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.res-acciones { display: flex; gap: .4rem; margin-top: .3rem; }
.res-acciones button, .res-cant button { height: 30px; padding: 0 .7rem; border-radius: 99px; border: 0; cursor: pointer; background: var(--crema-2); font-size: .78rem; font-weight: 650; }
.res-cant { display: inline-flex; align-items: center; gap: .45rem; margin-top: .3rem; font-weight: 650; }
.res-cant button { width: 30px; padding: 0; font-size: 1rem; }
.res-vacio { color: var(--cacao-2); }
.res-total { display: flex; justify-content: space-between; align-items: baseline; margin: 1rem 0; font-weight: 600; }
.res-total b { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; font-variant-numeric: tabular-nums; }

@media (min-width: 900px) {
  .arma-grid { grid-template-columns: 1.08fr .92fr; grid-template-rows: auto auto; column-gap: 4rem; row-gap: 1.6rem; }
  .arma-pegado { display: contents; }
  .visor { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .pasos, .resumen { grid-column: 2; }
  .visor { top: calc(var(--cab-h) + 20px); height: calc(100vh - var(--cab-h) - 40px); max-height: 760px; border-radius: 32px; }
  .visor-ayuda { display: block; }
  .visor-datos { left: 22px; right: 22px; bottom: 20px; }
  .visor-precio b { font-size: 2.6rem; }
  .visor-corte { right: 18px; top: 16px; }
  .op-deco { grid-template-columns: 1fr 1fr; }
}

/* ---------- Carta ---------- */
.carta { padding: 12vh 0; background: linear-gradient(180deg, var(--crema), var(--rosa-2) 18%, var(--rosa-2) 82%, var(--crema)); }
.pestanas { display: flex; gap: .5rem; margin-bottom: 1.2rem; }
.pestana { height: 42px; padding: 0 1.2rem; border-radius: 99px; border: 0; cursor: pointer; background: rgb(59 36 32 / .06); color: var(--cacao-2); font-weight: 650; font-size: .9rem; transition: background-color .25s, color .25s; }
.pestana[aria-selected="true"] { background: var(--cacao); color: var(--crema); }
.vitrina { display: grid; gap: .8rem; }
.plato { display: grid; grid-template-columns: 112px 1fr; gap: .9rem; padding: .6rem; border-radius: 20px; background: #fffaf5; box-shadow: 0 14px 30px -26px rgb(59 36 32 / .6); }
.plato-foto { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; }
.plato-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.plato:hover .plato-foto img { transform: scale(1.06); }
.plato h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.08; margin-top: .2rem; }
.plato p { color: var(--cacao-2); font-size: .82rem; line-height: 1.45; margin-top: .25rem; }
.precios { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .55rem; }
.sumar { display: inline-flex; align-items: center; gap: .4rem; height: 36px; padding: 0 .35rem 0 .75rem; border-radius: 99px; border: 0; cursor: pointer; background: var(--crema-2); font-size: .78rem; font-weight: 600; transition: background-color .25s, color .25s; }
.sumar b { font-weight: 750; }
.sumar i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--baya); color: #fff; font-style: normal; font-size: 1.05rem; line-height: 1; transition: transform .35s var(--ease); }
.sumar:hover { background: var(--rosa); }
.sumar:hover i { transform: rotate(90deg); }
@media (min-width: 900px) {
  .vitrina { grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
  .plato { grid-template-columns: 1fr; padding: .7rem .7rem 1rem; }
  .plato > div:last-child { padding: 0 .3rem; }
  .plato h3 { font-size: 1.45rem; margin-top: .4rem; }
}

/* ---------- Cómo pedir ---------- */
.como { padding: 12vh 0; }
.como-grid { display: grid; gap: 2.4rem; }
.pasos-pedido { position: relative; display: grid; gap: 1.6rem; padding-left: 0; }
.pasos-pedido::before, .pasos-pedido::after { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; background: var(--crema-3); }
.pasos-pedido::after { background: var(--baya); transform-origin: top; transform: scaleY(var(--avance, 0)); }
.pasos-pedido li { position: relative; z-index: 1; display: grid; grid-template-columns: 64px 1fr; gap: 1rem; align-items: start; }
.pp-icono { width: 64px; height: 64px; padding: 12px; border-radius: 50%; background: var(--rosa-2); box-shadow: 0 0 0 6px var(--crema); fill: none; stroke: var(--cacao); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: background-color .4s; }
.pasos-pedido li.activo .pp-icono { background: var(--rosa); }
.pasos-pedido b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.1; margin-top: .5rem; }
.pasos-pedido p { color: var(--cacao-2); margin-top: .3rem; max-width: 40ch; }
@media (min-width: 900px) { .como-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; } .como-cab { position: sticky; top: calc(var(--cab-h) + 40px); align-self: start; } .pasos-pedido { gap: 2.6rem; } }

/* ---------- Galería ---------- */
.galeria { padding: 10vh 0 12vh; overflow: hidden; }
.galeria .envoltura { margin-bottom: 2rem; }
.tira { overflow: hidden; }
.tira + .tira { margin-top: 14px; }
.tira-pista { display: flex; gap: 14px; width: max-content; will-change: transform; }
.tira figure { flex: none; height: clamp(190px, 52vw, 340px); border-radius: 20px; overflow: hidden; }
.tira img { height: 100%; width: auto; max-width: none; object-fit: cover; }

/* ---------- Delivery ---------- */
.delivery { padding: 12vh 0; background: var(--crema-2); }
.delivery-grid { display: grid; gap: 2.4rem; align-items: center; }
.zonas { display: grid; gap: .5rem; margin-top: 1.6rem; }
.zonas li { display: grid; grid-template-columns: 14px 1fr auto; gap: .2rem .8rem; align-items: center; padding: .8rem 1rem; border-radius: 16px; background: #fffaf5; transition: box-shadow .3s, transform .4s var(--ease); cursor: default; }
.zonas li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px rgb(255 255 255 / .9), 0 0 0 4.5px rgb(184 50 90 / .45); }
.zonas b { font-weight: 700; }
.zonas small { grid-column: 2; color: var(--cacao-2); font-size: .82rem; line-height: 1.35; }
.zonas .costo { grid-row: 1 / span 2; grid-column: 3; font-family: var(--serif); font-size: 1.5rem; }
.zonas li.activa { box-shadow: inset 0 0 0 2px var(--baya); }
.datos { margin-top: 1.2rem; }
.datos li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--linea); font-size: .92rem; }
.datos span { color: var(--cacao-2); text-align: right; }
.mapa-zonas { max-width: 520px; width: 100%; margin-inline: auto; }
.mapa-zonas svg { display: block; width: 100%; height: auto; overflow: visible; }
.mz-anillo { stroke: #fff; stroke-width: 2; transition: stroke .3s, stroke-width .3s; }
.mz-anillo.activa { stroke: var(--baya); stroke-width: 3; }
.mz-3 { fill: #f6dadd; } .mz-2 { fill: #f0c2c9; } .mz-1 { fill: #e7a3b0; }
.mz-ruta circle { fill: #fff; stroke: var(--baya); stroke-width: 3; }
.mz-ruta path { fill: none; stroke: var(--baya); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 8; }
.mz-nombre { font: 600 11px var(--sans); fill: var(--cacao); text-anchor: middle; paint-order: stroke; stroke: rgb(255 250 245 / .85); stroke-width: 3px; }
.mz-tienda circle:nth-child(2) { fill: var(--baya); }
.mz-tienda path { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.mz-onda { fill: var(--baya); opacity: .25; transform-origin: center; transform-box: fill-box; animation: onda 2.2s var(--ease) infinite; }
@keyframes onda { from { transform: scale(.5); opacity: .45; } to { transform: scale(1.9); opacity: 0; } }
@media (min-width: 900px) { .delivery-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

/* ---------- Tienda ---------- */
.local { padding: 12vh 0 12vh; }
.local-grid { display: grid; gap: 2.4rem; align-items: center; }
.estado { display: inline-flex; align-items: center; gap: .6rem; margin: 1.4rem 0 1rem; padding: .5rem 1rem; border-radius: 99px; background: rgb(46 125 80 / .12); color: #24653f; font-size: .9rem; }
.estado.cerrado { background: rgb(59 36 32 / .07); color: var(--cacao-2); }
.punto { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: late 2s infinite; }
.estado.cerrado .punto { animation: none; }
@keyframes late { 0% { box-shadow: 0 0 0 0 rgb(46 125 80 / .5); } 100% { box-shadow: 0 0 0 9px rgb(46 125 80 / 0); } }
.horario div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--linea); max-width: 440px; }
.horario dt { color: var(--cacao-2); }
.horario dd { font-weight: 650; font-variant-numeric: tabular-nums; }
.direccion { margin-top: 1.2rem; }
.direccion span { color: var(--cacao-2); font-size: .8rem; }
.mapa { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 60px -40px rgb(59 36 32 / .6); }
.mapa svg { display: block; width: 100%; height: auto; }
.mapa figcaption { position: absolute; left: 12px; bottom: 10px; padding: .25rem .6rem; border-radius: 99px; background: rgb(255 250 245 / .9); font-size: .72rem; font-weight: 600; color: var(--cacao-2); }
.mp-fondo { fill: #f4e6d8; }
.mp-parque { fill: #dce8c8; rx: 14px; }
.mp-calles path { fill: none; stroke: #fffaf5; stroke-width: 14; }
.mp-avenida path { fill: none; stroke: #fff; stroke-width: 24; }
.mp-nombre { font: 600 12px var(--sans); fill: #9b7e72; }
.mp-pin path { fill: var(--baya); }
.mp-pin circle { fill: #fff; }
@media (min-width: 900px) { .local-grid { grid-template-columns: 1fr 1.1fr; gap: 5rem; } }

/* ---------- Pie ---------- */
.pie { padding: 4rem 0 7rem; border-top: 1px solid var(--linea); }
.pie-marca { font-family: var(--firma); font-size: clamp(5.5rem, 30vw, 15rem); line-height: .8; color: var(--crema-3); }
.pie-aviso { margin-top: 1rem; color: var(--cacao-2); font-size: .82rem; max-width: 72ch; }
.pie-firma { margin-top: .8rem; font-size: .9rem; }
.pie-firma a { color: var(--baya); font-weight: 700; }

/* ---------- Barra de pedido (teléfono) ---------- */
.pedido-barra { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: .6rem; padding: 8px 8px 8px 18px; max-width: 560px; margin-inline: auto;
  border-radius: 99px; background: rgb(255 250 245 / .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 20px 50px -14px rgb(59 36 32 / .5); }
.pedido-barra[hidden] { display: none; }
@media (min-width: 900px) { .pedido-barra { display: none !important; } }
.pr { flex: 1; display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font-size: .86rem; color: var(--cacao-2); }
.pr b { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; color: var(--cacao); }

/* ---------- Vista previa del mensaje ---------- */
.panel { width: min(500px, 100% - 24px); max-height: calc(100% - 24px); padding: 0; border: 0; border-radius: var(--r); background: #fffaf5; color: var(--cacao); }
.panel::backdrop { background: rgb(59 36 32 / .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.panel-in { position: relative; padding: 1.5rem; display: grid; gap: .8rem; }
.panel .antetitulo { margin-bottom: 0; }
.panel h2 { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1; }
.cerrar { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgb(59 36 32 / .07); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.wa-chat { padding: .9rem; border-radius: 16px; background: #0b141a; }
.wa-burbuja { margin-left: auto; max-width: 94%; padding: .7rem .9rem 1.2rem; border-radius: 12px 12px 2px 12px; background: #005c4b; color: #e9edef; font-size: .84rem; line-height: 1.45; white-space: pre-line; position: relative; }
.wa-burbuja::after { content: "✓✓"; position: absolute; right: 8px; bottom: 4px; font-size: .65rem; color: #53bdeb; }
.panel .nota { margin-top: 0; }
.demo-cta { padding-top: .9rem; border-top: 1px solid var(--linea); display: grid; gap: .7rem; }
.demo-cta p { font-family: var(--serif); font-size: 1.4rem; line-height: 1.1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .inicio { height: auto; }
  .inicio-fijo { position: relative; height: 100svh; }
  .fase-2, .fase-3, .fase-4, .baja { display: none; }
  .baja i, .mz-onda, .punto { animation: none; }
}
