/* Zona Fresa · Página de presentación (2026-12-01, rediseño claro + «scrollytelling» del vaso 3D)
   Colores: portada vino-rojo cálido · «Así se arma» rosados por capítulo · Cómo pedir / Menú / Visítanos crema y rosado claro
   con texto vino · vitrina y sellos rosado fuerte · cierre rojo de marca.
   Movimiento: solo transform/opacity; curvas fuertes; hover solo con puntero fino; «reducir movimiento» deja solo fundidos. */
:root {
  --insignia: 0px; /* alto de la insignia «Powered by Netlify» (plan gratis); 0px si se quita */
  --vino: #4a0a24; /* texto sobre fondos claros */
  --vino2: #6b1735; /* texto secundario sobre claros (AA) */
  --acento: #b3123f; /* cejillas y precios sobre claros (AA) */
  --hero: #7a0f2e; /* borde de la portada */
  --hero2: #c42552; /* centro de la portada */
  --rojo: #c40f35; /* rojo de marca (cinta y cierre) */
  --rosa: #ff5c97;
  --rosa2: #ffc6d9;
  --crema: #fff6f0;
  --rosado: #ffeef3;
  --fuerte: #ff8db0;
  --oro: #e9c27a;
  --oro2: #c8973f;
  --blanco: #fff8fa;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--crema) }
body { font: 500 18px/1.5 'Baloo 2', system-ui, sans-serif; color: var(--vino); background: var(--crema); overflow-x: clip; -webkit-font-smoothing: antialiased }
img { max-width: 100%; height: auto; display: block }
a { color: inherit }
h2 { font-size: clamp(34px, 5.5vw, 60px); line-height: 1.02; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 14px }
h3 { font-size: 22px; line-height: 1.2 }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.skip { position: absolute; left: -999px; top: 8px; background: var(--oro); color: #2a0716; padding: 8px 14px; border-radius: 8px; z-index: 100 }
.skip:focus { left: 8px }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; border-radius: 6px }
.hero :focus-visible, .nav :focus-visible, .final :focus-visible { outline-color: var(--oro) }
.wrap { max-width: 1120px; margin: auto; padding: 0 22px }
.cejilla { color: var(--acento); text-transform: uppercase; letter-spacing: 0.28em; font-size: 13px; font-weight: 800; margin-bottom: 10px }
@media (max-width: 480px) { .cejilla { letter-spacing: 0.14em; font-size: 12px } }
.sub { color: var(--vino2); font-size: 19px; max-width: 46ch; margin-bottom: 26px }
.blk { position: relative; padding: clamp(80px, 11vw, 140px) 0 }
.claro { background: var(--crema) }
.rosado { background: var(--rosado) }
.fuerte { background: var(--fuerte) }
.fuerte .cejilla { color: #5a0d2c }
.fuerte .sub { color: var(--vino) }

/* Goteo de salsa: cuelga del color de la sección de arriba */
.goteo { position: absolute; z-index: 3; top: -1px; left: 0; width: 100%; height: clamp(34px, 5vw, 76px); pointer-events: none; display: block }

/* ---------- Botones (presión 0.97 · magnético con resorte en JS) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font: 800 19px 'Baloo 2'; padding: 15px 30px; border-radius: 99px; border: 0; cursor: pointer; transition: transform 160ms var(--ease-out), box-shadow 200ms ease, background-color 200ms ease; -webkit-tap-highlight-color: transparent; will-change: transform }
.btn span { display: inline-block; will-change: transform; pointer-events: none }
.btn:active { transform: scale(0.97) }
.btn-oro { background: linear-gradient(135deg, #f3d08e, var(--oro2)); color: #2a0716; box-shadow: 0 10px 30px #8a10354d, inset 0 1px 0 #fff8 }
.btn-fantasma { color: #fff; box-shadow: inset 0 0 0 2px #ffffff66 }
.btn-sm { padding: 9px 20px; font-size: 16px }
.btn-xl { padding: 20px 44px; font-size: 22px }
@media (hover: hover) and (pointer: fine) {
  .btn-oro:hover { box-shadow: 0 14px 40px #8a103573, inset 0 1px 0 #fff8 }
  .btn-fantasma:hover { box-shadow: inset 0 0 0 2px var(--oro) }
}

/* ---------- Navegación (vidrio vino al bajar) ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px max(22px, env(safe-area-inset-right)) 12px max(22px, env(safe-area-inset-left)); transition: background-color 250ms ease, box-shadow 250ms ease }
.nav.vidrio { background: #8a1035d9; backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 6px 20px #4a0a2426 }
.nav-logo img { height: 44px; width: auto }
.nav-links { display: flex; gap: 24px }
.nav-links a { text-decoration: none; color: #ffe3ec; font-weight: 700; transition: color 150ms ease }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--oro) } }
@media (max-width: 820px) { .nav-links { display: none } }

/* ---------- Portada (vino-rojo cálido) ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 78px 20px 64px; color: #fff; background: radial-gradient(ellipse 85% 65% at 50% 55%, var(--hero2) 0%, #a3173f 40%, var(--hero) 78%) var(--hero) }
.hero .cejilla { color: var(--oro) }
.foco { position: absolute; left: 0; top: 0; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; background: radial-gradient(circle, #ffb3cc33 0%, transparent 60%); pointer-events: none; transform: translate3d(50vw, 45vh, 0); will-change: transform }
.bokeh i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%; background: radial-gradient(circle, var(--c) 0%, transparent 70%); filter: blur(6px) }
/* lluvia de colores: chispas alargadas (rotate aparte para no pisar el transform del parallax) */
.bokeh i.chispa { width: var(--s); height: calc(var(--s) * 0.32); border-radius: 99px; background: var(--c); filter: none; rotate: var(--r); opacity: 0.9 }
/* Profundidad (2026-12-01m): el bucle de 01-inicio.js mueve cada .capa[data-d] con la propiedad `translate` (no pisa los transform de .aparece/.plato)
   y le pone .mueve (will-change) solo mientras está en pantalla. fondo = lento (d negativo) · medio = d chico · frente = rápido (d grande). */
.capa.mueve { will-change: translate }
.bokeh i.mancha { filter: none; opacity: 1; width: min(var(--s), 80vw); height: min(var(--s), 80vw) }
.bokeh svg { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); pointer-events: none }
.bokeh svg.gfr { opacity: 0.13; filter: blur(4px); rotate: 14deg }
.bokeh svg.mini { opacity: 0.95; rotate: var(--r, 0deg) }
.hero-in { max-width: 100%; position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center }
.titulo { font-family: 'Pacifico', cursive; font-weight: 400; font-size: clamp(56px, min(10vw, 13svh), 132px); line-height: 1.05; padding: 0 0.1em; background: linear-gradient(180deg, #fff 20%, #ffe0ea 60%, var(--rosa2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 20px #5a0d2c66) }
.lema { color: var(--oro); font-weight: 800; letter-spacing: 0.08em; font-size: clamp(18px, 2.4vw, 24px); margin-top: -4px }
.vasos { width: min(760px, calc(100vw - 40px)); margin: 0 auto 6px }
.vasos img { width: auto; max-height: min(42svh, 520px); margin: auto; filter: drop-shadow(0 34px 40px #4a0a2499); animation: flota 6s ease-in-out infinite }
@keyframes flota { 50% { transform: translateY(-10px) } }
.acciones { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center }
.bajar { position: absolute; bottom: 22px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border-radius: 99px; box-shadow: inset 0 0 0 2px #ffffff77 }
.bajar span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--oro); animation: rueda 1.8s var(--ease-out) infinite }
@keyframes rueda { 0% { transform: translateY(0); opacity: 1 } 80%, 100% { transform: translateY(14px); opacity: 0 } }

/* Entrada escalonada de la portada (retrasos no uniformes) */
.entra { opacity: 0; transform: translateY(16px); filter: blur(4px); animation: entra 900ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 90ms + var(--i) * var(--i) * 12ms + 120ms) }
@keyframes entra { to { opacity: 1; transform: none; filter: blur(0) } }

/* ---------- Así se arma (scrollytelling) ----------
   Sin .vivo (sin JS, sin WebGL, «reducir movimiento» o si falla el 3D): lista normal con la foto del vaso. */
.armado { position: relative; background: linear-gradient(180deg, #ffe1e8, #ffc6d6) }
.escena { position: relative; max-width: 1120px; margin: auto; padding: clamp(90px, 12vw, 140px) 22px clamp(60px, 9vw, 110px); display: grid; gap: 18px 40px; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start }
.tonos, .flota, .segs { display: none }
.vaso3d { grid-row: 1 / span 7; position: sticky; top: 90px }
.vaso3d .poster { width: min(360px, 70vw); margin: auto; filter: drop-shadow(0 30px 34px #8a10354d) }
.cap-tit { font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.05; letter-spacing: -0.01em }
.cap-n { font-family: 'Pacifico', cursive; color: var(--acento); font-size: 18px; margin-bottom: 2px }
.cap-desc p:not(.cap-n) { color: var(--vino2); max-width: 44ch }
.cap-desc .btn { margin-top: 16px }
.cifras { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 700; color: var(--vino2) }
.cifras b { font-size: 34px; font-weight: 800; color: var(--acento); margin-right: 4px }
@media (max-width: 760px) {
  .escena { grid-template-columns: 1fr }
  .vaso3d { grid-row: auto; position: static }
}

/* Modo vivo: sección alta, escena fija; el vaso 3D al centro y los capítulos se cruzan con fundido */
.armado.vivo { height: 600svh; background: #ffd9e3 }
.armado.vivo .goteo { z-index: 6 }
.vivo .escena { position: sticky; top: 0; height: 100svh; max-width: none; overflow: hidden; padding: 84px max(22px, 4vw) 18px; gap: 0 2vw;
  grid-template-columns: minmax(0, 1fr) minmax(260px, min(42vw, 58svh)) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas: 'tit tit tit' 'cif vaso desc' 'segs segs segs'; align-items: center }
.vivo .tonos, .vivo .flota { display: block; position: absolute; inset: 0; pointer-events: none }
.vivo .tonos i { position: absolute; inset: 0; opacity: 0; transition: opacity 900ms var(--ease-out) }
.vivo .tonos i.on { opacity: 1 }
.tonos i:nth-child(1) { background: radial-gradient(ellipse 70% 60% at 50% 55%, #fff1f4, #ffc2d2 75%) }
.tonos i:nth-child(2) { background: radial-gradient(ellipse 70% 60% at 50% 55%, #fffaf3, #ffd9e1 75%) }
.tonos i:nth-child(3) { background: radial-gradient(ellipse 70% 60% at 50% 55%, #fff0ea, #f3c3c9 75%) }
.tonos i:nth-child(4) { background: radial-gradient(ellipse 70% 60% at 50% 55%, #fff0f8, #ffbfdd 75%) }
.tonos i:nth-child(5) { background: radial-gradient(ellipse 70% 60% at 50% 55%, #ffe3ea, #ffa3bb 75%) }
.tonos i:nth-child(6) { background: radial-gradient(ellipse 70% 60% at 50% 55%, #ffd3df, #ff8aab 75%) }
.flota > * { position: absolute; left: 0; top: 0; will-change: transform; color: #fff }
.flota svg { display: block; width: 100%; height: 100% }
.flota .ch { border-radius: 99px }
.flota .atras { opacity: 0.55; filter: blur(1.5px) }
.vivo .vaso3d { grid-area: vaso; position: relative; top: auto; z-index: 2; width: 100%; height: 100%; min-height: 0; display: grid; place-items: center }
.vivo .vaso3d .poster { width: auto; height: 82%; max-height: 100%; transition: opacity 500ms var(--ease-out) }
.vaso3d.listo .poster { opacity: 0 }
.vaso3d .v3d { position: absolute; inset: 0 }
.vaso3d .v3d-c { width: 100%; height: 100% }
.vaso3d .v3d-c canvas { display: block; width: 100%; height: 100%; cursor: grab }
.vaso3d .v3d-c canvas:active { cursor: grabbing }
.vaso3d .v3d-cap { display: none }
.vivo .cap { display: contents }
.vivo .cap-tit, .vivo .cap-desc { position: relative; z-index: 3; opacity: 0; transform: translateY(28px); transition: opacity 450ms var(--ease-out), transform 700ms var(--ease-out); pointer-events: none }
.vivo .cap-tit { grid-area: tit; text-align: center; font-size: clamp(40px, min(6.6vw, 10svh), 104px); line-height: 0.98; letter-spacing: -0.02em; max-width: 15ch; justify-self: center; text-wrap: balance; padding-bottom: 4px }
.vivo .cap-desc { grid-area: desc; font-size: 19px; max-width: 30ch }
/* halo del color del fondo: los flotantes que pasan por detrás no le quitan legibilidad al texto */
.vivo .cap-desc, .vivo .cifras { text-shadow: 0 0 10px #ffe4ec, 0 0 4px #ffe4ec }
.vivo .cap.antes .cap-tit, .vivo .cap.antes .cap-desc { transform: translateY(-28px) scale(0.97) }
.vivo .cap.on .cap-tit, .vivo .cap.on .cap-desc { opacity: 1; transform: none; pointer-events: auto; transition-delay: 120ms }
.vivo .cifras { grid-area: cif; position: relative; z-index: 3; flex-direction: column; gap: 6px; justify-self: end; text-align: right }
.vivo .cifras li { position: relative; padding-bottom: 4px }
.vivo .cifras li::after { content: ''; position: absolute; right: 0; bottom: 0; width: 100%; height: 4px; border-radius: 4px; background: var(--acento); transform: scaleX(0); transform-origin: right; transition: transform 600ms var(--ease-io) }
.vivo .cifras li.on::after { transform: scaleX(1) }
.vivo .cifras b { font-size: clamp(40px, 4.6vw, 64px); line-height: 1 }
.vivo .segs { grid-area: segs; position: relative; z-index: 4; display: flex; gap: 6px; width: min(560px, 100%); justify-self: center; padding-top: 10px }
.segs button { flex: 1; height: 28px; border: 0; background: none; cursor: pointer; display: grid; align-items: center; -webkit-tap-highlight-color: transparent; transition: transform 160ms var(--ease-out) }
.segs button:active { transform: scale(0.97) }
.segs i { display: block; height: 5px; border-radius: 9px; background: #4a0a2426; overflow: hidden; position: relative }
.segs i::after { content: ''; position: absolute; inset: 0; background: var(--acento); transform: scaleX(var(--p, 0)); transform-origin: left }
@media (hover: hover) and (pointer: fine) { .segs button:hover i { background: #4a0a2440 } }
@media (max-width: 760px) {
  .vivo .escena { padding: 74px 16px 10px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto auto; grid-template-areas: 'tit' 'vaso' 'desc' 'cif' 'segs' }
  .vivo .cap-tit { font-size: clamp(34px, min(10.5vw, 6.4svh), 52px) }
  .vivo .cap-desc { justify-self: center; text-align: center; font-size: 17px; max-width: 34ch }
  .vivo .cap-desc .btn { margin-top: 10px; padding: 12px 26px }
  .vivo .cifras { flex-direction: row; justify-self: center; text-align: center; gap: 16px; padding-top: 6px }
  .vivo .cifras b { font-size: 26px }
  .vivo .cifras li { font-size: 15px }
  .vivo .segs { padding-top: 4px }
}

/* ---------- Cinta ---------- */
.cinta { position: relative; z-index: 4; overflow: hidden; background: var(--rojo); padding: 14px 0 }
.cinta-in { display: flex; gap: 26px; width: max-content; animation: cinta 38s linear infinite; color: #fff; font-weight: 700; font-size: 18px; letter-spacing: 0.04em; white-space: nowrap }
.cinta-in b { color: #ffd36b; font-weight: 400 }
@keyframes cinta { to { transform: translateX(-50%) } }

/* ---------- Cómo pedir ---------- */
.dos { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: start }
@media (max-width: 860px) { .dos { grid-template-columns: 1fr } }
.pegado { position: sticky; top: 110px }
@media (max-width: 860px) { .pegado { position: static } }
.pasos { list-style: none; display: grid; gap: 16px }
.paso { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid #f6d3dd; border-radius: 24px; padding: 24px; box-shadow: 0 10px 30px #b3123f12 }
.paso b { font-family: 'Pacifico', cursive; font-weight: 400; font-size: 40px; line-height: 1; color: var(--rojo); min-width: 40px; text-align: center }
.paso p { color: var(--vino2); margin-top: 4px }

/* ---------- Menú con pestañas ---------- */
.pestanas { position: relative; display: flex; gap: 4px; flex-wrap: wrap; margin: 10px 0 26px; padding: 5px; border-radius: 99px; background: #fff; border: 1px solid #f6d3dd; width: fit-content; max-width: 100% }
.pestanas button { position: relative; z-index: 1; border: 0; background: none; color: var(--vino2); font: 700 16px 'Baloo 2'; padding: 9px 18px; border-radius: 99px; cursor: pointer; transition: color 200ms ease }
.pestanas button[aria-selected='true'] { color: #2a0716 }
.pestanas .raya { position: absolute; z-index: 0; left: 0; top: 0; height: 0; border-radius: 99px; background: linear-gradient(135deg, #f3d08e, var(--oro2)); transition: transform 300ms var(--ease-io), width 300ms var(--ease-io) }
@media (max-width: 560px) { .pestanas { border-radius: 20px } }
.carta { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; min-height: 220px }
.plato { background: #fff; border: 1px solid #f6d3dd; border-radius: 22px; padding: 22px; box-shadow: 0 10px 30px #b3123f12; opacity: 0; transform: translateY(10px); animation: entra 400ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 45ms) }
.plato h3 { font-family: 'Pacifico', cursive; font-weight: 400; color: #c2185b; font-size: 24px; margin-bottom: 8px }
.fila { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed #4a0a2426; font-weight: 600 }
.fila:last-child { border-bottom: 0 }
.fila span:last-child { color: var(--acento); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap }
.nota { color: var(--vino2); font-size: 15px; margin-top: 18px; max-width: 80ch }

/* ---------- Vitrina (rosado fuerte) ---------- */
.vitrina .dos { align-items: center }
.vaso16 { display: grid; place-items: center; min-width: 0 }
.vaso16 img { width: auto; height: auto; max-width: min(100%, 360px); max-height: min(68svh, 560px); object-fit: contain; margin: auto; filter: drop-shadow(0 30px 34px #8a103566) }
.vit-txt { min-width: 0 }
.capas-lista { list-style: none; counter-reset: c; display: grid; gap: 8px; margin: 0 0 26px; padding: 0; max-width: 44ch }
.capas-lista li { counter-increment: c; display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--vino); line-height: 1.3 }
.capas-lista li::before { content: counter(c); flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--vino); color: #fff; font-size: 14px; font-weight: 800 }
.capas-lista b { font-weight: 800 }
@media (max-width: 860px) { .vaso16 img { max-height: min(52svh, 440px) } }

/* ---------- Decoraciones pequeñas (aria-hidden, no tapan nada; solo transform vía .capa) ---------- */
.blk > .wrap { position: relative; z-index: 2 }
.blk, .final, .pie { overflow: clip } /* nada de lo que se mueve crea scroll horizontal (clip no crea contenedor de scroll: el sticky de «Cómo pedir» sigue igual) */
.blk > .deco, .final > .deco, .pie > .deco { position: absolute; z-index: 1; pointer-events: none; display: block }
/* tres profundidades: fondo (manchas y fresa grande desenfocada), medio (d1, d2, gota, chispas) y frente (mini, más rápidas); todas detrás del contenido */
.deco.fondo { z-index: 0 !important }
.deco.mancha { width: min(var(--s, 420px), 80vw); height: min(var(--s, 420px), 80vw); border-radius: 50%; background: radial-gradient(circle, var(--m, #ff8db055) 0%, transparent 68%) }
.deco.gfresa { width: min(var(--s, 220px), 46vw); height: min(var(--s, 220px), 46vw); opacity: 0.14; filter: blur(3px); rotate: -12deg }
.deco.mini { width: var(--s, 26px); height: var(--s, 26px); opacity: 0.95 }
.final > .wrap, .final > h2, .final > .btn { position: relative; z-index: 2 }
.pie { position: relative }
.pie > :not(.deco) { position: relative; z-index: 2 }
.final > .deco.d2 { color: var(--oro) }
.deco.d1 { width: 46px; height: 46px; top: 14%; right: 6%; rotate: 14deg; opacity: 0.9 }
.deco.d2 { width: 26px; height: 26px; bottom: 16%; left: 5%; color: var(--oro); opacity: 0.95 }
.vitrina > .deco.d2 { left: auto; right: 7%; bottom: 7% }
.deco.gota { width: 16px; height: 22px; top: 18%; left: 4%; background: #e0194b; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; opacity: 0.8 }
.deco.chispas { width: 54px; height: 54px; top: 8%; right: 5%; opacity: 0.85; background: linear-gradient(#ffd23f, #ffd23f) 2px 4px / 20px 6px no-repeat, linear-gradient(#4cc9f0, #4cc9f0) 28px 18px / 20px 6px no-repeat, linear-gradient(#b5179e, #b5179e) 6px 40px / 20px 6px no-repeat }
@media (max-width: 700px) { .deco.d1 { width: 32px; height: 32px; top: 5%; right: 3% } .deco.gota, .deco.chispas { display: none } .deco.d2 { left: 3%; bottom: 4% } }

/* ---------- Sellos: tarjeta real de la app ---------- */
.sellos-in { align-items: center }
.tarjeta-ej { position: relative; max-width: 620px; width: 100%; justify-self: center }
.tarjeta-ej .ej { position: absolute; z-index: 6; top: -14px; right: 14px; background: var(--vino); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 99px; rotate: 3deg }
.tarjeta-ej .zcw { margin: 0 }

/* ---------- Visítanos ---------- */
.tres { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px }
.info { background: #fff; border: 1px solid #f6d3dd; border-radius: 24px; padding: 26px; box-shadow: 0 10px 30px #b3123f12 }
.info h3 { color: var(--acento); margin-bottom: 12px }
.info p { color: var(--vino2) }
.info .dir { margin-top: 10px; font-size: 15px }
dl { display: grid; grid-template-columns: auto auto; gap: 6px 16px; color: var(--vino2) }
dd { text-align: right; color: var(--vino); font-weight: 700; font-variant-numeric: tabular-nums }
@media (max-width: 420px) { dl { gap: 6px 10px } dd { white-space: nowrap; font-size: 15px } }
.redes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px }
.redes a { text-decoration: none; font-weight: 700; font-size: 15px; padding: 7px 14px; border-radius: 99px; color: var(--acento); box-shadow: inset 0 0 0 1.5px #b3123f66; transition: transform 160ms var(--ease-out), background-color 200ms ease }
.redes a:active { transform: scale(0.97) }
@media (hover: hover) and (pointer: fine) { .redes a:hover { background: #b3123f12 } }
/* íconos de redes y mapa: el ícono lleva el color de cada marca, el texto queda en el color de la página */
.redes a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 11px }
.redes svg { width: 19px; height: 19px; flex: none; transition: transform 200ms var(--ease-out) }
.redes .wa svg { color: #1faa53 }
.redes .ig svg { color: #d62976 }
.redes .tt svg { color: #111 }
.redes .mp svg { color: #ea4335 }
.info .dir + .redes { margin-top: 12px }
@media (hover: hover) and (pointer: fine) { .redes a:hover svg { transform: scale(1.12) rotate(-6deg) } }
@media (prefers-reduced-motion: reduce) { .redes svg { transition: none } }

/* ---------- Cierre (rojo de marca) y pie ---------- */
.final { position: relative; text-align: center; color: #fff; padding: clamp(100px, 13vw, 160px) 22px clamp(80px, 12vw, 140px); background: radial-gradient(ellipse 60% 80% at 50% 100%, #e8274a, transparent 70%) var(--rojo) }
.final h2 { margin-bottom: 26px }
.pie { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 26px max(22px, env(safe-area-inset-left)) calc(26px + var(--insignia, 0px) + env(safe-area-inset-bottom)); background: #5a0d2c; color: #ffdbe6; font-size: 15px }

/* Aparecer al bajar (una sola vez) */
.aparece { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out) }
.aparece.in { opacity: 1; transform: none }
.pasos .paso:nth-child(2) { transition-delay: 70ms } .pasos .paso:nth-child(3) { transition-delay: 150ms } .pasos .paso:nth-child(4) { transition-delay: 240ms }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .entra, .plato { animation: aparece-suave 300ms ease forwards; transform: none; filter: none }
  .aparece { transform: none; transition: opacity 300ms ease }
  .vasos img, .cinta-in, .bajar span { animation: none }
  .capa, .foco { transform: none !important; translate: none !important }
}
@keyframes aparece-suave { to { opacity: 1 } }

/* ======================================================================================
   Tarjeta de sellos «Fresas con crema»: copia de web/pedido/css/estilos.css (.zc-*, 2026-11).
   Si cambia el diseño en la app, copiar de nuevo. Diferencia: aquí los sellos .lleno reciben
   .on desde 01-inicio.js cuando la tarjeta entra en pantalla (así se ven llenarse).
   ====================================================================================== */
/* ---- Tarjeta de sellos (diseño 2026-11: "Fresas con crema", se adapta al ancho con container queries) ---- */
.zcw {
  container-type: inline-size;
  margin-bottom: 14px;
}
.zc {
  --zb: #98002f;
  --zh: #ef0758;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: 'Baloo 2', 'Nunito', 'Trebuchet MS', sans-serif;
  color: #850b31;
  border-radius: 22px;
  border: 4px solid rgba(255, 255, 255, 0.9);
  padding: 16cqw 4cqw 4cqw;
  background: radial-gradient(
      ellipse at 50% 42%,
      rgba(255, 255, 255, 0.99) 0 18%,
      rgba(255, 245, 247, 0.94) 38%,
      transparent 62%
    ),
    linear-gradient(145deg, #ffb8d0 0%, #ff82b1 28%, #f92975 63%, #cf004d 100%);
  box-shadow:
    0 18px 40px rgba(126, 0, 49, 0.25),
    inset 0 0 0 2px rgba(255, 255, 255, 0.65),
    inset 0 -20px 35px rgba(141, 0, 49, 0.15);
}
.zc::before {
  content: '';
  position: absolute;
  inset: 9px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 15px;
  pointer-events: none;
  z-index: 4;
}
.zc::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  background: radial-gradient(circle at 7% 34%, #fff 0 3px, transparent 4px),
    radial-gradient(circle at 14% 68%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 91% 37%, #fff 0 3px, transparent 4px),
    radial-gradient(circle at 85% 72%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 50% 7%, #fff 0 2px, transparent 3px);
}
.zc-drip {
  position: absolute;
  top: -4px;
  left: 0;
  width: 100%;
  height: 13cqw;
  max-height: 105px;
  z-index: 1;
  filter: drop-shadow(0 6px 4px rgba(167, 0, 60, 0.12));
}
.zc-drip svg {
  width: 100%;
  height: 100%;
  display: block;
}
.zc-brand {
  position: absolute;
  top: 3cqw;
  left: 3.5cqw;
  z-index: 5;
  color: #a3003d;
  background: #fffaf3;
  border: 2px solid #ffd1e0;
  border-radius: 12px;
  padding: 4px 9px;
  font-size: max(11px, 3.2cqw);
  font-weight: 800;
  box-shadow: 0 3px 0 rgba(125, 0, 42, 0.12);
  line-height: 1.2;
}
.zc-brand em {
  color: #ee145d;
  font-style: normal;
}
.zc-heart,
.zc-spark {
  position: absolute;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.65);
  user-select: none;
  pointer-events: none;
  line-height: 1;
  font-family: Arial, sans-serif;
}
.zc-heart {
  font-size: 10cqw;
}
.zc-spark {
  font-size: 6cqw;
}
.zc-heart.h1 {
  left: 4%;
  top: 17%;
  transform: rotate(-12deg);
}
.zc-heart.h2 {
  right: 4%;
  top: 17%;
  transform: rotate(12deg);
}
.zc-heart.h3 {
  left: 3%;
  bottom: 19%;
}
.zc-heart.h4 {
  right: 3%;
  bottom: 19%;
}
.zc-spark.s1 {
  left: 19%;
  top: 6%;
}
.zc-spark.s2 {
  right: 19%;
  top: 7%;
}
.zc-spark.s3 {
  left: 7%;
  top: 50%;
  font-size: 4.5cqw;
}
.zc-spark.s4 {
  right: 7%;
  top: 50%;
  font-size: 4.5cqw;
}
.zc-cup {
  display: none;
  position: absolute;
  z-index: 2;
  width: 20%;
  max-width: 240px;
  top: 19%;
  filter: drop-shadow(0 13px 10px rgba(113, 0, 35, 0.23));
}
.zc-cup.l {
  left: 1.5%;
  transform: rotate(-2deg);
}
.zc-cup.r {
  right: 1.5%;
  transform: scaleX(-1) rotate(-2deg);
}
.zc-cup svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.zc-main {
  position: relative;
  z-index: 3;
  width: 100%;
}
.zc-rib {
  position: relative;
  display: inline-block;
  min-width: 78%;
  margin: 0 auto 4cqw;
  padding: 2.4cqw 5cqw 4cqw;
  background: linear-gradient(180deg, #ff1769 0%, #d9004d 88%);
  border-radius: 16px 16px 22px 22px;
  transform: perspective(500px) rotateX(-3deg);
  box-shadow:
    0 7px 0 #93002f,
    0 12px 18px rgba(111, 0, 39, 0.22),
    inset 0 3px 8px rgba(255, 255, 255, 0.45);
}
.zc-rib::before,
.zc-rib::after {
  content: '';
  position: absolute;
  z-index: -1;
  bottom: 6px;
  width: 9cqw;
  height: 12cqw;
  background: linear-gradient(180deg, #c90049, #93002f);
}
.zc-rib::before {
  left: -5cqw;
  clip-path: polygon(0 0, 100% 18%, 100% 100%, 35% 75%, 0 100%);
  transform: skewY(13deg);
}
.zc-rib::after {
  right: -5cqw;
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 65% 75%, 0 100%);
  transform: skewY(-13deg);
}
.zc-rib h3 {
  margin: 0;
  font-family: 'Pacifico', 'Brush Script MT', cursive;
  font-size: 14.5cqw;
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -1px;
  color: #fffaf1;
  -webkit-text-stroke: 1px #9b0039;
  text-shadow:
    2px 3px 0 #b60042,
    4px 6px 0 #760027,
    0 0 15px rgba(255, 255, 255, 0.8);
}
.zc-rib h3 span {
  display: block;
  margin-top: 2px;
  font-size: 0.57em;
}
.zc-off {
  text-shadow: 0 1px 0 #fff;
}
.zc-off h4 {
  margin: 0;
  font-size: 7.6cqw;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #850b31;
}
.zc-sz {
  margin: 1cqw 0 0;
  font-size: 4.6cqw;
  line-height: 1.2;
  font-weight: 800;
}
.zc-sz strong {
  color: var(--zh);
}
.zc-and {
  display: flex;
  align-items: center;
  gap: 3cqw;
  width: 92%;
  margin: 1cqw auto 0;
  color: #87002d;
}
.zc-and i {
  height: 8px;
  flex: 1;
  background: radial-gradient(circle, #e80057 3px, transparent 4px) left center/16px 8px repeat-x;
}
.zc-and b {
  font-size: 7cqw;
  line-height: 1;
}
.zc-rw {
  margin: 1cqw auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2cqw;
  font-size: 6cqw;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.zc-claim {
  padding: 1cqw 5cqw 1.4cqw;
  color: #fff;
  border-radius: 50px;
  background: linear-gradient(180deg, #ff176a, #db004d);
  box-shadow:
    0 4px 0 #a40039,
    inset 0 2px 5px rgba(255, 255, 255, 0.4);
}
.zc-rw strong {
  color: #ec0757;
}
.zc-st {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 1.6cqw;
  width: 100%;
  margin: 6cqw 0 0;
  padding: 4cqw 0;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 37, 113, 0.12), rgba(201, 0, 70, 0.2));
}
.zc-s {
  position: relative;
  width: 14.6cqw;
  max-width: 150px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #d90050;
  background: radial-gradient(circle at 35% 28%, #fffef9 0, #fff3e9 74%, #fbd5d6 100%);
  border: 3px dashed #d5004b;
  outline: 3px solid #fff8ef;
  outline-offset: 1px;
  box-shadow:
    0 8px 14px rgba(103, 0, 38, 0.22),
    inset 0 0 0 4px rgba(255, 255, 255, 0.8);
  font-size: 8.4cqw;
  line-height: 1;
  font-weight: 800;
}
.zc-s::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(219, 0, 76, 0.17);
  border-radius: 50%;
}
.zc-s.on {
  color: #fff;
  background: radial-gradient(circle at 35% 25%, #ff8db7, #d90050 75%);
  border: 3px solid #fff8f0;
  animation: zcin 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
  animation-delay: var(--d, 0s);
}
.zc-s.on::after {
  content: '✓';
  position: absolute;
  right: -2%;
  top: -2%;
  width: max(18px, 5.2cqw);
  height: max(18px, 5.2cqw);
  max-width: 30px;
  max-height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #98002f;
  font:
    800 max(11px, 3cqw) / 1 Arial,
    sans-serif;
  border: 2px solid #fff;
}
@keyframes zcin {
  from {
    transform: scale(1.6) rotate(-20deg);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .zc-s.on {
    animation: none;
  }
}
.zc-note {
  position: relative;
  z-index: 4;
  width: 100%;
  margin-top: 4cqw;
  padding: 2cqw 3cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2cqw;
  border-radius: 50px;
  color: #8d1235;
  background: linear-gradient(180deg, #fffdf7, #ffe8df);
  box-shadow:
    0 6px 12px rgba(99, 0, 31, 0.24),
    inset 0 2px 5px #fff;
  font-size: max(11.5px, 3.5cqw);
  font-weight: 800;
  line-height: 1.2;
}
.zc-note span {
  color: #e60051;
  font-family: Arial, sans-serif;
  font-size: 1.4em;
}
/* Tarjeta horizontal (pantallas anchas): igual al diseño impreso, con los vasos a los lados */
@container (min-width:620px) {
  .zc {
    aspect-ratio: 1.5/1;
    justify-content: flex-start;
    padding: 5.5cqw 6cqw 2.8cqw;
    border-radius: 30px;
    border-width: 6px;
  }
  .zc::before {
    inset: 12px;
    border-radius: 22px;
  }
  .zc-brand {
    top: 2.2cqw;
    left: 3cqw;
    font-size: max(12px, 1.5cqw);
  }
  .zc-heart {
    font-size: 5.4cqw;
  }
  .zc-heart.h1,
  .zc-heart.h2 {
    top: 15%;
  }
  .zc-heart.h3,
  .zc-heart.h4 {
    bottom: 15%;
  }
  .zc-spark {
    font-size: 3cqw;
  }
  .zc-spark.s3,
  .zc-spark.s4 {
    font-size: 2.2cqw;
  }
  .zc-cup {
    display: block;
  }
  .zc-main {
    width: 66%;
  }
  .zc-rib {
    min-width: 76%;
    margin-bottom: 1.6cqw;
    padding: 1.1cqw 3cqw 1.9cqw;
  }
  .zc-rib::before,
  .zc-rib::after {
    width: 4.6cqw;
    height: 6cqw;
  }
  .zc-rib::before {
    left: -2.6cqw;
  }
  .zc-rib::after {
    right: -2.6cqw;
  }
  .zc-rib h3 {
    font-size: 7.3cqw;
  }
  .zc-off h4 {
    font-size: 3.9cqw;
  }
  .zc-sz {
    font-size: 2.3cqw;
    margin-top: 0.2cqw;
  }
  .zc-and {
    margin-top: 0.4cqw;
  }
  .zc-and b {
    font-size: 3.6cqw;
  }
  .zc-rw {
    flex-direction: row;
    justify-content: center;
    gap: 1.2cqw;
    font-size: 2.9cqw;
    margin-top: 0.4cqw;
  }
  .zc-claim {
    padding: 0.6cqw 2.2cqw 0.8cqw;
  }
  .zc-st {
    margin: auto 0 0;
    width: 86%;
    padding: 1.2cqw 0;
    gap: 2.2cqw;
  }
  .zc-s {
    width: 11cqw;
    font-size: 6cqw;
    border-width: 4px;
    outline-width: 4px;
  }
  .zc-s.on {
    border-width: 4px;
  }
  .zc-note {
    width: 86%;
    margin-top: 1.4cqw;
    padding: 0.9cqw 2cqw;
    font-size: max(12px, 1.6cqw);
    gap: 1.2cqw;
  }
}

/* ---------- Video de portada (2026-12-01) ---------- */
.video-portada { width: min(760px, 92vw, calc(46svh * 1.7778)); aspect-ratio: 16 / 9; margin: 6px auto 10px; border-radius: 28px; overflow: hidden; background: #c98a98 center / cover; box-shadow: 0 30px 60px #0007, 0 0 0 1px #ffffff2e, 0 0 90px #ff5c9750; transform: translateZ(0) }
.video-portada video { width: 100%; height: 100%; object-fit: cover; display: block }
@media (max-width: 640px) { .video-portada { width: min(80vw, calc(44svh * 0.8)); aspect-ratio: 4 / 5; border-radius: 24px } }

/* ---------- Vitrina: vaso por capas con etiquetas alineadas (2026-12-01) ---------- */
.capas-diag { position: relative; height: min(84svh, 860px); width: fit-content; margin: 0 auto; padding-right: min(230px, 44vw) }
.capas-diag img { height: 100%; width: auto; max-width: none; filter: drop-shadow(0 24px 30px #87002e33) }
.capas-diag figcaption span { position: absolute; top: var(--y); left: calc(100% - min(230px, 44vw) + 10px); transform: translateY(-50%); display: flex; flex-direction: column; font-size: 14px; line-height: 1.2; color: #5a0d2c; white-space: nowrap; padding-left: 26px }
.capas-diag figcaption span::before { content: ''; position: absolute; left: 0; top: 50%; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: 0.55 }
.capas-diag figcaption b { font-size: 18px; color: #3b0a1e }
@media (max-width: 860px) { .capas-diag { height: min(78svh, 700px) } }
@media (max-width: 420px) { .capas-diag figcaption span { font-size: 12.5px; white-space: normal; max-width: 40vw } .capas-diag figcaption b { font-size: 16px } }

/* ---------- Botón de sonido (apagado por defecto) ---------- */
.sonido { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; font-size: 20px; background: #fff7f2e6; box-shadow: 0 6px 20px #87002e33, inset 0 0 0 1.5px #e9c27a88; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1) }
.sonido:active { transform: scale(0.94) }
.sonido[hidden] { display: none }

/* Vitrina en 3D (ZF3D.vitrina, 2026-12-01): el canvas a la izquierda y cada etiqueta sigue a su capa (01-inicio.js la mueve solo con transform) */
.btn[hidden] { display: none }
.vit-acc { display: flex; flex-wrap: wrap; align-items: center; gap: 12px }
.btn-linea { color: #5a0d2c; background: #ffffff59; box-shadow: inset 0 0 0 2px #5a0d2c4d }
@media (hover: hover) and (pointer: fine) { .btn-linea:hover { background: #ffffff99 } }
.v3d-vit { position: absolute; left: 0; top: 0; bottom: 0; right: min(190px, 44vw); opacity: 0; transition: opacity 600ms var(--ease-out) }
.v3d-vit canvas { display: block; width: 100%; height: 100% }
.capas-diag.en3d { width: min(100%, 540px) }
.capas-diag.en3d img { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity 500ms var(--ease-out); pointer-events: none }
.en3d .v3d-vit { opacity: 1 }
.en3d figcaption span { top: 0; left: calc(100% - min(190px, 44vw) + 10px); white-space: normal; width: max-content; max-width: min(180px, 44vw); cursor: default; border-radius: 8px; outline-offset: 4px; transition: opacity 250ms var(--ease-out) }
.en3d.resalta figcaption span:not(.on) { opacity: 0.45 }
.en3d figcaption span.on b { color: var(--acento) }
