:root{
  --u: min(calc(100vw / 1585), calc(100svh / 992));     /* escala del diseño */
  --cq: calc(var(--u) * 15.85);                          /* calc(1 * var(--cq)) viejo = 1 --cq */
  --oy: max(0px, calc((100svh - 992 * var(--u)) / 2));   /* centrado vertical si sobra alto */
}
@supports not (height: 100svh){
  :root{ --u: min(calc(100vw / 1585), calc(100vh / 992)); --oy: max(0px, calc((100vh - 992 * var(--u)) / 2)); }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  width: 100%; min-height: 100%; overflow-x: hidden; overflow-y: auto;           /* scroll habilitado */
  background: #FDE6EE;
  font-family: 'Poppins', system-ui, sans-serif; color: #9C1257;
  -webkit-font-smoothing: antialiased;
}
.hero {
  position: relative; width: 100vw; min-height: 100vh; min-height: 100dvh; overflow: hidden;           /* fondo a pantalla completa */
  background: linear-gradient(135deg, #FFEAF1 0%, #FCDDE8 100%);
}
.stage { position: absolute; inset: 0; overflow: hidden; visibility: hidden; }
.stage.is-ready { visibility: visible; }
.stage > * { position: absolute; }
.stage img { display: block; height: auto; max-width: none; user-select: none; -webkit-user-drag: none; }

/* ==========================================================================
   1. FONDOS, FORMAS Y BLOBS (z-index: 0)
   ========================================================================== */

.blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* Blob esquina superior izquierda */
.blob-top-left {
  left: -3%;
  top: -4%;
  width: 11%;
  height: 15%;
  background: #FBD3E0;
  border-radius: 0 0 85% 0 / 0 0 85% 0;
}

/* Blob inferior izquierdo */
.blob-bottom-left {
  left: -6%;
  top: 59.5%;
  width: 15%;
  height: 20%;
  background: #FBD0DF;
  border-radius: 50% 60% 60% 50% / 50% 50% 70% 60%;
  opacity: 0.85;
}

/* Blob claro detrás del frappé chocolate */
.blob-choco {
  left: 59.5%;
  top: 18%;
  width: 19%;
  height: 33%;
  background: #FADDE7;
  border-radius: 50%;
  filter: blur(2px);
}

/* Blob grande detrás de la planta decorativa */
.blob-plant {
  left: 84%;
  top: 28%;
  width: 18%;
  height: 23%;
  background: #F8C4D6;
  border-radius: 50%;
}

/* Franja inferior con borde ondulado */
.strip {
  left: 0;
  top: 78%;
  width: 100%;
  height: 22%;
  z-index: 0;
  pointer-events: none;
}

/* ==========================================================================
   2. ELEMENTOS CON IMAGEN (Posiciones exactas de la especificación)
   ========================================================================== */

/* Planta decorativa en esquina derecha detrás de la mesa y crepe */
.planta {
  left: 92.5%;
  top: 18.0%;
  width: 7.5%;
  z-index: 1;
  pointer-events: none;
}

/* Mesa de madera */
.mesa {
  left: 33.1%;
  top: 50.4%;
  width: 66.9%;
  z-index: 1;
}

/* Frappé Kinder / Chocolate (atrás del frappé caramelo) */
.frappe-choco {
  left: 61.5%;
  top: 12.1%;
  width: 16.4%;
  z-index: 3;
}

/* Frappé Caramelatte (delante del chocolate, apoyado en el posavasos) */
.frappe-caramelo {
  left: 45.5%;
  top: 19.2%;
  width: 19.1%;
  z-index: 4;
}

/* Crepa con fresas (al frente, solapándose a la mesa y chocolate) */
.crepe {
  left: 60.6%;
  top: 45.9%;
  width: 39.4%;
  z-index: 5;
}

/* Logo FrappeLand */
.logo {
  left: 6.3%;
  top: 1.5%;
  width: 10.9%;
  z-index: 8;
}

/* Título principal con cinta de pincel */
.titulo {
  left: 2.6%;
  top: 19.1%;
  width: 39%;
  z-index: 8;
}

/* ==========================================================================
   3. CABECERA: NAVEGACIÓN Y BOTÓN PEDIR (z-index: 8)
   ========================================================================== */

.nav {
  left: 27.3%;
  top: 4.7%;
  height: 4.5%;
  display: flex;
  align-items: center;
  gap: calc(0.6 * var(--cq));
  z-index: 8;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 calc(1.95 * var(--cq));
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: calc(1.26 * var(--cq));
  line-height: 1;
  color: #9C1257;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.nav-item:hover {
  background-color: rgba(249, 191, 211, 0.45);
  transform: translateY(calc(-0.08 * var(--cq)));
}

.nav-item.active {
  background: #F9BFD3;
}

/* Botón Superior Derecho "PEDIR ▾" */
.btn-pedir {
  left: 82.8%;
  top: 3.8%;
  width: 13%;
  height: 6.8%;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(0.9 * var(--cq));
  background: linear-gradient(180deg, #E91E8C 0%, #D01575 100%);
  color: #fff;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: calc(1.65 * var(--cq));
  line-height: 1;
  letter-spacing: 0.02em;
  box-shadow: 0 calc(0.5 * var(--cq)) calc(1.2 * var(--cq)) rgba(214, 24, 122, 0.28);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-pedir:hover {
  filter: brightness(1.06);
  box-shadow: 0 calc(0.7 * var(--cq)) calc(1.5 * var(--cq)) rgba(214, 24, 122, 0.38);
}

.btn-pedir .ico-wa {
  width: calc(3.4 * var(--cq));
  height: calc(3.4 * var(--cq));
  object-fit: contain;
  margin-left: calc(-0.4 * var(--cq));
  margin-right: calc(-0.3 * var(--cq));
  flex-shrink: 0;
  display: block;
}

.btn-pedir .chevron {
  width: calc(1.3 * var(--cq));
  height: calc(1.3 * var(--cq));
  flex-shrink: 0;
}

/* ==========================================================================
   4. BLOQUE IZQUIERDO: SLOGAN MANUSCRITO Y CTAS (z-index: 8)
   ========================================================================== */

.slogan-block {
  left: 11.2%;
  top: 47.2%;
  width: 21.4%;
  transform: rotate(-9deg);
  transform-origin: left top;
  z-index: 8;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: calc(2.65 * var(--cq));
  line-height: 1.02;
  color: #9C1257;
  pointer-events: none;
}

.slogan-line1 {
  white-space: nowrap;
}

.slogan-line2 {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: calc(4.2 * var(--cq));
  margin-top: 0;
  white-space: nowrap;
}

.slogan-underline {
  position: absolute;
  left: calc(4.0 * var(--cq));
  bottom: calc(-0.2 * var(--cq));
  width: calc(6.2 * var(--cq));
  height: calc(0.9 * var(--cq));
  overflow: visible;
}

.slogan-heart {
  width: calc(2.1 * var(--cq));
  height: calc(2.1 * var(--cq));
  margin-left: calc(0.5 * var(--cq));
  transform: rotate(8deg);
  flex-shrink: 0;
  overflow: visible;
}

/* Botón "PEDIR POR WHATSAPP →" */
.btn-wa {
  left: 10%;
  top: 59.5%;
  width: 24.9%;
  height: 7.4%;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: calc(1.1 * var(--cq));
  padding: 0 calc(1.6 * var(--cq));
  background: linear-gradient(180deg, #E91E8C 0%, #D01575 100%);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: calc(1.26 * var(--cq));
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  box-shadow: 0 calc(0.6 * var(--cq)) calc(1.4 * var(--cq)) rgba(214, 24, 122, 0.30);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-wa:hover {
  filter: brightness(1.06);
  box-shadow: 0 calc(0.8 * var(--cq)) calc(1.8 * var(--cq)) rgba(214, 24, 122, 0.42);
}

.btn-wa .ico-wa {
  width: calc(3.8 * var(--cq));
  height: calc(3.8 * var(--cq));
  object-fit: contain;
  margin-left: calc(-0.5 * var(--cq));
  margin-right: calc(-0.4 * var(--cq));
  flex-shrink: 0;
  display: block;
}

.btn-wa .ico-arrow {
  width: calc(1.6 * var(--cq));
  height: calc(1.6 * var(--cq));
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn-wa:hover .ico-arrow {
  transform: translateX(calc(0.25 * var(--cq)));
}

/* Enlace "☰ Ver menú →" */
.ver-menu {
  left: 10.7%;
  top: 69.2%;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: calc(0.7 * var(--cq));
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: calc(1.26 * var(--cq));
  line-height: 1;
  color: #9C1257;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.ver-menu:hover {
  color: #E0197D;
  transform: translateX(calc(0.3 * var(--cq)));
}

.ver-menu .ico-menu {
  width: calc(1.3 * var(--cq));
  height: calc(1.3 * var(--cq));
}

.ver-menu .ico-arrow-small {
  width: calc(1.3 * var(--cq));
  height: calc(1.3 * var(--cq));
  transition: transform 0.2s ease;
}

.ver-menu:hover .ico-arrow-small {
  transform: translateX(calc(0.2 * var(--cq)));
}

/* ==========================================================================
   5. ETIQUETAS MANUSCRITAS Y FLECHAS (z-index: 7)
   ========================================================================== */

/* Caramelatte */
.tag-caramelatte {
  left: 44.1%;
  top: 16.8%;
  width: 9.3%;
  z-index: 7;
  pointer-events: none;
}

.tag-caramelatte .tag-text {
  display: block;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: calc(2.4 * var(--cq));
  line-height: 0.95;
  color: #7A1048;
  transform: rotate(-10deg);
  transform-origin: left bottom;
  white-space: nowrap;
}

.tag-arrow-caramelatte {
  position: absolute;
  left: calc(3.8 * var(--cq));
  top: calc(2.2 * var(--cq));
  width: calc(1.9 * var(--cq));
  height: calc(1.9 * var(--cq));
  overflow: visible;
}

/* Frappe Kinder */
.tag-kinder {
  left: 80.0%;
  top: 19.8%;
  width: 6.5%;
  z-index: 7;
  pointer-events: none;
}

.tag-kinder .tag-text-block {
  display: flex;
  flex-direction: column;
  transform: rotate(-8deg);
  transform-origin: left top;
}

.tag-text-frappe {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: calc(2.0 * var(--cq));
  line-height: 0.95;
  color: #7A1048;
}

.tag-text-kinder {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: calc(2.5 * var(--cq));
  line-height: 0.95;
  color: #7A1048;
}

.tag-heart-kinder {
  position: absolute;
  left: calc(4.6 * var(--cq));
  top: calc(4.4 * var(--cq));
  width: calc(1.5 * var(--cq));
  height: calc(1.5 * var(--cq));
  transform: rotate(8deg);
  overflow: visible;
}

.tag-arrow-kinder {
  position: absolute;
  left: calc(-2.2 * var(--cq));
  top: calc(4.6 * var(--cq));
  width: calc(2.8 * var(--cq));
  height: calc(2.4 * var(--cq));
  overflow: visible;
}

/* Crepas */
.tag-crepas {
  left: 87.1%;
  top: 43.6%;
  width: 6.0%;
  z-index: 7;
  pointer-events: none;
}

.tag-crepas .tag-text {
  display: block;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: calc(2.4 * var(--cq));
  line-height: 0.95;
  color: #7A1048;
  transform: rotate(-15deg);
  transform-origin: left center;
  white-space: nowrap;
}

.tag-crepas .tag-mini-heart {
  position: absolute;
  left: calc(1.4 * var(--cq));
  top: calc(2.3 * var(--cq));
  width: calc(1.0 * var(--cq));
  height: calc(1.0 * var(--cq));
  transform: rotate(-5deg);
}

.tag-crepas .tag-arrow-wrap {
  position: absolute;
  left: calc(3.2 * var(--cq));
  top: calc(1.6 * var(--cq));
  width: calc(3.0 * var(--cq));
  height: calc(3.6 * var(--cq));
}

.tag-crepas-heart-arrow {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ==========================================================================
   6. DECORACIONES: CORAZONES Y DESTELLOS (z-index: 7)
   ========================================================================== */

.spark-choco-heart {
  left: 61.5%;
  top: 17.3%;
  width: 1.3%;
  height: 1.8%;
  z-index: 7;
  pointer-events: none;
  overflow: visible;
}

.spark-center-heart {
  left: 38.8%;
  top: 43.1%;
  width: 2.3%;
  height: 2.8%;
  transform: rotate(15deg);
  z-index: 7;
  pointer-events: none;
}

.spark-star {
  z-index: 7;
  pointer-events: none;
}

.star-large {
  left: 42.3%;
  top: 48.3%;
  width: 2.0%;
  height: 2.5%;
}

.star-med {
  left: 79.9%;
  top: 36.6%;
  width: 1.6%;
  height: 2.0%;
}

.star-mini {
  left: 78.4%;
  top: 39.2%;
  width: 0.8%;
  height: 1.0%;
}

/* ==========================================================================
   7. FRANJA INFERIOR (z-index: 8)
   ========================================================================== */

/* Estilos comunes para los grupos de sucursales */
.branch-group {
  display: flex;
  align-items: center;
  gap: calc(0.8 * var(--cq));
  z-index: 8;
}

.branch-gladiolas {
  left: 3.9%;
  top: 84.7%;
}

.branch-ico {
  width: calc(4.4 * var(--cq)) !important;
  height: auto !important;
  margin-left: calc(-0.4 * var(--cq));
  margin-right: calc(-0.2 * var(--cq));
  flex-shrink: 0;
  pointer-events: none;
}

.branch-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.branch-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: calc(1.15 * var(--cq));
  line-height: 1.15;
  color: #8E1050;
  white-space: nowrap;
}

.branch-phone {
  margin-top: calc(0.3 * var(--cq));
  display: flex;
  align-items: center;
  gap: calc(0.4 * var(--cq));
  text-decoration: none;
  line-height: 1;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.branch-phone:hover {
  transform: scale(1.02);
  opacity: 0.95;
}

.ico-phone-wa {
  width: calc(2.4 * var(--cq)) !important;
  height: calc(2.4 * var(--cq)) !important;
  object-fit: contain;
  margin-left: calc(-0.35 * var(--cq));
  margin-right: calc(-0.15 * var(--cq));
  flex-shrink: 0;
  display: block;
}

.phone-number {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: calc(1.95 * var(--cq));
  line-height: 1;
  color: #E0197D;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.branch-cta {
  margin-top: calc(0.25 * var(--cq));
  padding-left: calc(1.9 * var(--cq));
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: calc(0.85 * var(--cq));
  line-height: 1;
  color: #8A5A70;
  white-space: nowrap;
}

/* Divisores verticales */
.branch-divider {
  top: 84.5%;
  height: 9.3%;
  width: 2px;
  background: #E57AA8;
  border-radius: 2px;
  z-index: 8;
  pointer-events: none;
}

.divider-1 {
  left: 24.2%;
}

.divider-2 {
  left: 49.8%;
}

/* Grupo 2: Sucursal Tikal */
.branch-tikal {
  left: 27.4%;
  top: 84.7%;
}

/* Grupo 3: DiDi */
.didi-group {
  left: 53.5%;
  top: 84.4%;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: calc(0.8 * var(--cq));
}

.didi-ico {
  width: calc(6.0 * var(--cq)) !important;
  height: auto !important;
  margin-left: calc(-0.4 * var(--cq));
  margin-right: calc(-0.3 * var(--cq));
  flex-shrink: 0;
  pointer-events: none;
}

.didi-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.didi-title-row {
  display: flex;
  align-items: center;
  gap: calc(0.4 * var(--cq));
}

.didi-title {
  font-family: 'Lobster Two', cursive;
  font-style: italic;
  font-weight: 700;
  font-size: calc(2.8 * var(--cq));
  line-height: 1;
  color: #E0197D;
  transform: rotate(-3deg);
  transform-origin: left center;
  white-space: nowrap;
}

.didi-heart-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: calc(-0.6 * var(--cq));
}

.didi-heart {
  width: calc(1.1 * var(--cq));
  height: calc(1.1 * var(--cq));
  overflow: visible;
}

.didi-rays {
  position: absolute;
  right: calc(-0.45 * var(--cq));
  top: calc(-0.15 * var(--cq));
  display: flex;
  flex-direction: column;
  gap: calc(0.2 * var(--cq));
}

.didi-rays .ray {
  display: block;
  width: calc(0.35 * var(--cq));
  height: 1.5px;
  background: #E0197D;
  border-radius: 1px;
}

.didi-rays .ray-1 {
  transform: rotate(20deg);
}

.didi-rays .ray-2 {
  transform: rotate(45deg);
}

.didi-sub {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: calc(1.07 * var(--cq));
  line-height: 1.2;
  color: #7A1048;
  margin-top: calc(0.35 * var(--cq));
  white-space: nowrap;
}

/* Cinta decorativa derecha "El verdadero sabor del chocolate" */
.cinta-chocolate {
  left: 83.6%;
  top: 83.8%;
  width: 14.5%;
  z-index: 8;
  pointer-events: none;
}

/* ===== MOTOR DE POSICIÓN (px de diseño) ===== */
.stage > [data-edit] {
  position: absolute !important;
  top:    calc(var(--oy) + var(--y, 0) * var(--u)) !important;
  width:  calc(var(--w) * var(--u)) !important;      /* si no hay --w queda auto */
  height: calc(var(--h) * var(--u)) !important;      /* si no hay --h queda auto */
  z-index: var(--z, 1) !important;
  opacity: var(--o, 1) !important;
  transform: rotate(calc(var(--r, 0) * 1deg)) scale(var(--s, 1)) !important;
  transform-origin: 0 0 !important;
}
.stage > [data-anchor="L"] { left: calc(var(--x, 0) * var(--u)) !important; }
.stage > [data-anchor="C"] { left: calc((100vw - 1585 * var(--u)) / 2 + var(--x, 0) * var(--u)) !important; }
.stage > [data-anchor="R"] { left: calc(100vw - 1585 * var(--u) + var(--x, 0) * var(--u)) !important; }

/* Franja inferior: ancho completo, siempre pegada al fondo */
.strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; pointer-events: none;
         top: calc(var(--oy) + 774 * var(--u)); display: flex; flex-direction: column; }
.strip svg { display: block; width: 100%; height: calc(60 * var(--u)); flex: none; }
.strip-fill { flex: 1; background: #FFF0F5; }

/* Tamaños base de cada elemento (px de diseño). El editor NO los cambia: usa --s (escala). */
[data-edit="blob-top-left"]{--w:174;--h:149;}
[data-edit="blob-bottom-left"]{--w:238;--h:198;}
[data-edit="blob-choco"]{--w:301;--h:327;}
[data-edit="blob-plant"]{--w:285;--h:228;}
[data-edit="planta"]{--w:119;}
[data-edit="mesa"]{--w:1060;}
[data-edit="frappe-choco"]{--w:260;}
[data-edit="frappe-caramelo"]{--w:303;}
[data-edit="crepe"]{--w:625;}
[data-edit="logo"]{--w:173;}
[data-edit="nav"]{--h:45;}
[data-edit="btn-pedir"]{--w:206;--h:67;}
[data-edit="titulo"]{--w:618;}
[data-edit="slogan-block"]{--w:339;}
[data-edit="btn-wa"]{--w:395;--h:73;}
[data-edit="tag-caramelatte"]{--w:147;}
[data-edit="tag-kinder"]{--w:103;}
[data-edit="tag-crepas"]{--w:95;}
[data-edit="spark-choco-heart"]{--w:21;--h:18;}
[data-edit="spark-center-heart"]{--w:36;--h:32;}
[data-edit="star-large"]{--w:32;--h:32;}
[data-edit="star-med"]{--w:25;--h:25;}
[data-edit="star-mini"]{--w:13;--h:13;}
[data-edit="divider-1"]{--w:2;--h:92;}
[data-edit="divider-2"]{--w:2;--h:92;}
[data-edit="cinta-chocolate"]{--w:230;}

/* ==========================================================================
   8. ANIMACIONES INTERACTIVAS: PRODUCTOS (Flotación Idle + Hover Lift)
   ========================================================================== */
.stage > .frappe-choco,
.stage > .frappe-caramelo,
.stage > .crepe {
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28),
              filter 0.35s ease;
  will-change: transform, translate, rotate, filter;
}

/* Movimiento continuo sutil (idle float) desfasado una vez terminada la entrada */
.stage.entrance-done > .frappe-caramelo {
  animation: product-float-caramelo 5.4s ease-in-out infinite;
}

.stage.entrance-done > .frappe-choco {
  animation: product-float-choco 6.2s ease-in-out infinite -2.3s;
}

.stage.entrance-done > .crepe {
  animation: product-float-crepe 7.0s ease-in-out infinite -4.1s;
}

@keyframes product-float-caramelo {
  0%, 100% {
    translate: 0 0;
    rotate: 0deg;
  }
  50% {
    translate: 0 calc(-8 * var(--u));
    rotate: 0.7deg;
  }
}

@keyframes product-float-choco {
  0%, 100% {
    translate: 0 0;
    rotate: 0deg;
  }
  50% {
    translate: 0 calc(-7 * var(--u));
    rotate: -0.8deg;
  }
}

@keyframes product-float-crepe {
  0%, 100% {
    translate: 0 0;
    rotate: 0deg;
  }
  50% {
    translate: 0 calc(-5 * var(--u));
    rotate: 0.5deg;
  }
}

/* Hover: Al pasar el cursor, el producto se alza con spring bounce y sombra enriquecida */
.stage > .frappe-choco:hover {
  transform: translateY(calc(-24 * var(--u))) rotate(calc(var(--r, 0) * 1deg)) scale(calc(var(--s, 1) * 1.045)) !important;
  filter: drop-shadow(0 calc(24 * var(--u)) calc(30 * var(--u)) rgba(138, 16, 75, 0.38)) brightness(1.04);
  z-index: 6 !important;
}

.stage > .frappe-caramelo:hover {
  transform: translateY(calc(-24 * var(--u))) rotate(calc(var(--r, 0) * 1deg)) scale(calc(var(--s, 1) * 1.045)) !important;
  filter: drop-shadow(0 calc(24 * var(--u)) calc(30 * var(--u)) rgba(138, 16, 75, 0.38)) brightness(1.04);
  z-index: 6 !important;
}

.stage > .crepe:hover {
  transform: translateY(calc(-18 * var(--u))) rotate(calc(var(--r, 0) * 1deg)) scale(calc(var(--s, 1) * 1.035)) !important;
  filter: drop-shadow(0 calc(20 * var(--u)) calc(26 * var(--u)) rgba(138, 16, 75, 0.35)) brightness(1.04);
  z-index: 6 !important;
}

/* Flotación sutil complementaria en etiquetas de producto tras la entrada */
.stage.entrance-done > .tag-caramelatte {
  animation: tag-float-caramelo 5.4s ease-in-out infinite;
}

.stage.entrance-done > .tag-kinder {
  animation: tag-float-kinder 6.2s ease-in-out infinite -2.3s;
}

.stage.entrance-done > .tag-crepas {
  animation: tag-float-crepas 7.0s ease-in-out infinite -4.1s;
}

@keyframes tag-float-caramelo {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 calc(-4 * var(--u)); }
}

@keyframes tag-float-kinder {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 calc(-4 * var(--u)); }
}

@keyframes tag-float-crepas {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 calc(-3 * var(--u)); }
}

/* Micro-interacción en etiquetas de producto al pasar el cursor */
.stage > .tag-caramelatte,
.stage > .tag-kinder,
.stage > .tag-crepas {
  cursor: pointer;
  transition: transform 0.32s cubic-bezier(0.18, 0.89, 0.32, 1.28),
              filter 0.3s ease;
}

.stage > .tag-caramelatte:hover {
  transform: translateY(calc(-8 * var(--u))) rotate(calc(var(--r, 0) * 1deg - 2deg)) scale(calc(var(--s, 1) * 1.05)) !important;
  filter: drop-shadow(0 calc(6 * var(--u)) calc(12 * var(--u)) rgba(122, 16, 72, 0.25));
}

.stage > .tag-kinder:hover {
  transform: translateY(calc(-8 * var(--u))) rotate(calc(var(--r, 0) * 1deg + 2deg)) scale(calc(var(--s, 1) * 1.05)) !important;
  filter: drop-shadow(0 calc(6 * var(--u)) calc(12 * var(--u)) rgba(122, 16, 72, 0.25));
}

.stage > .tag-crepas:hover {
  transform: translateY(calc(-8 * var(--u))) rotate(calc(var(--r, 0) * 1deg - 2deg)) scale(calc(var(--s, 1) * 1.05)) !important;
  filter: drop-shadow(0 calc(6 * var(--u)) calc(12 * var(--u)) rgba(122, 16, 72, 0.25));
}

/* ==========================================================================
   9. ANIMACIONES DE PARTÍCULAS (Destellos y Corazones)
   ========================================================================== */

/* Destellos de 4 puntas: Brillo pulsante, rotación sutil y destello orgánico */
.spark-star {
  overflow: visible !important;
}

.spark-star path {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity, filter;
}

.star-large path {
  animation: star-twinkle-large 3.4s ease-in-out infinite;
}

.star-med path {
  animation: star-twinkle-med 2.6s ease-in-out infinite 0.6s;
}

.star-mini path {
  animation: star-twinkle-mini 1.9s ease-in-out infinite 1.2s;
}

@keyframes star-twinkle-large {
  0% {
    transform: scale(0.85) rotate(0deg);
    opacity: 0.7;
    filter: drop-shadow(0 0 2px rgba(244, 169, 196, 0.4));
  }
  50% {
    transform: scale(1.3) rotate(22deg);
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(244, 169, 196, 0.95)) drop-shadow(0 0 16px rgba(224, 25, 125, 0.5));
  }
  100% {
    transform: scale(0.85) rotate(0deg);
    opacity: 0.7;
    filter: drop-shadow(0 0 2px rgba(244, 169, 196, 0.4));
  }
}

@keyframes star-twinkle-med {
  0% {
    transform: scale(0.8) rotate(0deg);
    opacity: 0.65;
    filter: drop-shadow(0 0 2px rgba(244, 169, 196, 0.4));
  }
  50% {
    transform: scale(1.35) rotate(-28deg);
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(244, 169, 196, 0.9)) drop-shadow(0 0 14px rgba(224, 25, 125, 0.45));
  }
  100% {
    transform: scale(0.8) rotate(0deg);
    opacity: 0.65;
    filter: drop-shadow(0 0 2px rgba(244, 169, 196, 0.4));
  }
}

@keyframes star-twinkle-mini {
  0% {
    transform: scale(0.7) rotate(0deg);
    opacity: 0.55;
    filter: drop-shadow(0 0 1px rgba(244, 169, 196, 0.3));
  }
  50% {
    transform: scale(1.4) rotate(45deg);
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(244, 169, 196, 0.9)) drop-shadow(0 0 10px rgba(224, 25, 125, 0.5));
  }
  100% {
    transform: scale(0.7) rotate(0deg);
    opacity: 0.55;
    filter: drop-shadow(0 0 1px rgba(244, 169, 196, 0.3));
  }
}

/* Corazón contorno choco: Flotación + latido suave */
.spark-choco-heart {
  overflow: visible !important;
}

.spark-choco-heart path {
  transform-box: fill-box;
  transform-origin: center;
  animation: heart-float-choco 3.2s ease-in-out infinite;
  will-change: transform, filter;
}

@keyframes heart-float-choco {
  0% {
    transform: translateY(0px) scale(0.92) rotate(-3deg);
    filter: drop-shadow(0 2px 4px rgba(224, 25, 125, 0.2));
  }
  50% {
    transform: translateY(-8px) scale(1.15) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(224, 25, 125, 0.5));
  }
  100% {
    transform: translateY(0px) scale(0.92) rotate(-3deg);
    filter: drop-shadow(0 2px 4px rgba(224, 25, 125, 0.2));
  }
}

/* Corazón relleno centro: Latido dulce rítmico */
.spark-center-heart {
  overflow: visible !important;
}

.spark-center-heart path {
  transform-box: fill-box;
  transform-origin: center;
  animation: heart-pulse-center 2.8s ease-in-out infinite 0.4s;
  will-change: transform, filter;
}

@keyframes heart-pulse-center {
  0% {
    transform: translateY(0px) scale(0.95);
    filter: drop-shadow(0 2px 6px rgba(247, 182, 204, 0.4));
  }
  40% {
    transform: translateY(-6px) scale(1.18);
    filter: drop-shadow(0 8px 16px rgba(224, 25, 125, 0.45));
  }
  60% {
    transform: translateY(-4px) scale(1.08);
    filter: drop-shadow(0 6px 12px rgba(224, 25, 125, 0.35));
  }
  80% {
    transform: translateY(-6px) scale(1.15);
    filter: drop-shadow(0 7px 14px rgba(224, 25, 125, 0.4));
  }
  100% {
    transform: translateY(0px) scale(0.95);
    filter: drop-shadow(0 2px 6px rgba(247, 182, 204, 0.4));
  }
}

/* Corazón en slogan manuscrito: latido alegre */
.slogan-heart {
  animation: heart-thump 2.6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes heart-thump {
  0%, 100% { transform: scale(1) rotate(8deg); }
  14% { transform: scale(1.22) rotate(12deg); }
  28% { transform: scale(1.05) rotate(6deg); }
  42% { transform: scale(1.18) rotate(10deg); }
  70% { transform: scale(1) rotate(8deg); }
}

/* Corazones en etiquetas (Kinder y Crepas) */
.tag-heart-kinder path,
.tag-mini-heart path {
  transform-box: fill-box;
  transform-origin: center;
  animation: heart-mini-pulse 2.4s ease-in-out infinite;
}

.tag-mini-heart path {
  animation-delay: 1.1s;
}

@keyframes heart-mini-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22); filter: drop-shadow(0 0 4px rgba(224, 25, 125, 0.4)); }
}

/* Corazón en DiDi */
.didi-heart {
  animation: didi-heart-beat 2.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes didi-heart-beat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.25); }
  30% { transform: scale(1.08); }
  45% { transform: scale(1.2); }
  60% { transform: scale(1); }
}

/* Animación sutil de los destellos/rayos DiDi */
.didi-rays .ray {
  animation: ray-shine 2.2s ease-in-out infinite;
}

.didi-rays .ray-2 {
  animation-delay: 0.15s;
}

@keyframes ray-shine {
  0%, 100% { opacity: 0.4; transform: scaleX(0.8); }
  50% { opacity: 1; transform: scaleX(1.25); filter: drop-shadow(0 0 3px #E0197D); }
}

/* En modo edición (?edit), pausar animaciones para ajustar con precisión de pixel */
body.has-editor .stage > *,
body.has-editor .stage path,
body.has-editor .stage svg {
  animation: none !important;
  translate: 0 0 !important;
  rotate: 0deg !important;
}

/* ==========================================================================
   10. ANIMACIÓN DE ENTRADA COREOGRAFIADA (Hero Entrance Reveal)
   ========================================================================== */

@keyframes hero-drop-down {
  0% {
    translate: 0 calc(-35 * var(--u));
    opacity: 0;
  }
  100% {
    translate: 0 0;
    opacity: 1;
  }
}

@keyframes hero-slide-left {
  0% {
    translate: calc(-50 * var(--u)) 0;
    opacity: 0;
  }
  100% {
    translate: 0 0;
    opacity: 1;
  }
}

@keyframes hero-pop-up {
  0% {
    translate: 0 calc(60 * var(--u));
    opacity: 0;
  }
  100% {
    translate: 0 0;
    opacity: 1;
  }
}

@keyframes hero-slide-up {
  0% {
    translate: 0 calc(35 * var(--u));
    opacity: 0;
  }
  100% {
    translate: 0 0;
    opacity: 1;
  }
}

@keyframes hero-slide-right {
  0% {
    translate: calc(40 * var(--u)) 0;
    opacity: 0;
  }
  100% {
    translate: 0 0;
    opacity: 1;
  }
}

@keyframes hero-pop-scale {
  0% {
    scale: 0.3;
    opacity: 0;
  }
  70% {
    scale: 1.1;
    opacity: 1;
  }
  100% {
    scale: 1;
    opacity: 1;
  }
}

@keyframes hero-fade-scale {
  0% {
    scale: 0.95;
    opacity: 0;
  }
  100% {
    scale: 1;
    opacity: 1;
  }
}

/* 1. Fondos y Franja ondulada */
.stage.is-ready:not(.entrance-done) > .blob-top-left,
.stage.is-ready:not(.entrance-done) > .blob-bottom-left,
.stage.is-ready:not(.entrance-done) > .blob-choco,
.stage.is-ready:not(.entrance-done) > .blob-plant {
  animation: hero-fade-scale 0.7s cubic-bezier(0.25, 1, 0.5, 1) both;
}

.stage.is-ready:not(.entrance-done) > .strip {
  animation: hero-slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

/* 2. Cabecera y Navegación */
.stage.is-ready:not(.entrance-done) > .logo {
  animation: hero-drop-down 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}
.stage.is-ready:not(.entrance-done) > .nav {
  animation: hero-drop-down 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}
.stage.is-ready:not(.entrance-done) > .btn-pedir {
  animation: hero-drop-down 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.20s both;
}

/* 3. Bloque Izquierdo (Título, Slogan, Botón WhatsApp, Ver menú) */
.stage.is-ready:not(.entrance-done) > .titulo {
  animation: hero-slide-left 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.stage.is-ready:not(.entrance-done) > .slogan-block {
  animation: hero-slide-left 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}
.stage.is-ready:not(.entrance-done) > .btn-wa {
  animation: hero-pop-scale 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.42s both;
}
.stage.is-ready:not(.entrance-done) > .ver-menu {
  animation: hero-slide-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.52s both;
}

/* 4. Mesa de madera y Planta decorativa */
.stage.is-ready:not(.entrance-done) > .planta {
  animation: hero-slide-right 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}
.stage.is-ready:not(.entrance-done) > .mesa {
  animation: hero-slide-up 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

/* 5. Productos estrella (salto con rebote apetitoso) */
.stage.is-ready:not(.entrance-done) > .frappe-choco {
  animation: hero-pop-up 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}
.stage.is-ready:not(.entrance-done) > .frappe-caramelo {
  animation: hero-pop-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both;
}
.stage.is-ready:not(.entrance-done) > .crepe {
  animation: hero-pop-up 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.52s both;
}

/* 6. Etiquetas de producto con rebote elástico */
.stage.is-ready:not(.entrance-done) > .tag-caramelatte {
  animation: hero-pop-scale 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.62s both;
}
.stage.is-ready:not(.entrance-done) > .tag-kinder {
  animation: hero-pop-scale 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.72s both;
}
.stage.is-ready:not(.entrance-done) > .tag-crepas {
  animation: hero-pop-scale 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.80s both;
}

/* 7. Partículas y destellos */
.stage.is-ready:not(.entrance-done) > .spark-choco-heart,
.stage.is-ready:not(.entrance-done) > .spark-center-heart,
.stage.is-ready:not(.entrance-done) > .star-large,
.stage.is-ready:not(.entrance-done) > .star-med,
.stage.is-ready:not(.entrance-done) > .star-mini {
  animation: hero-pop-scale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.75s both;
}

/* 8. Sucursales en franja inferior */
.stage.is-ready:not(.entrance-done) > .branch-gladiolas {
  animation: hero-slide-up 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}
.stage.is-ready:not(.entrance-done) > .divider-1 {
  animation: hero-fade-scale 0.6s cubic-bezier(0.25, 1, 0.5, 1) 0.55s both;
}
.stage.is-ready:not(.entrance-done) > .branch-tikal {
  animation: hero-slide-up 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}
.stage.is-ready:not(.entrance-done) > .divider-2 {
  animation: hero-fade-scale 0.6s cubic-bezier(0.25, 1, 0.5, 1) 0.65s both;
}
.stage.is-ready:not(.entrance-done) > .didi-group {
  animation: hero-slide-up 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}
.stage.is-ready:not(.entrance-done) > .cinta-chocolate {
  animation: hero-slide-right 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}
