/* ============================================================
   ESPACIO DESCANSO — hoja de estilos v1
   Mobile-first. Tema claro deliberado (sitio comercial).
   v2 (31/08): elevación de diseño — navbar glass flotante,
   hero con auroras + price-tag, íconos SVG, cards con
   profundidad, banda de empresas, footer con onda.
   ============================================================ */
:root {
  /* NEGRO + ROJO con degradés — el negro manda, el rojo acentúa */
  --night: #0B0B0D;      /* negro base: hero, footer */
  --night-2: #16161A;
  --night-3: #2A1216;    /* negro rojizo, para los degradés */
  --paper: #F7F7F8;      /* gris casi blanco */
  --card: #FFFFFF;
  --ink: #131316;
  --ink-soft: #5A5A63;
  --line: #E5E5E8;
  --promo: #E11D2E;      /* rojo vivo */
  --promo-dark: #A50E1C;
  --promo-grad: linear-gradient(135deg, #F03544, #A50E1C);
  --gold: #FF5A67;       /* rojo claro para detalles sobre negro */
  --gold-soft: #FFC2C7;
  --gold-grad: linear-gradient(115deg, #FF7A85, #E11D2E);
  --accent: #E11D2E;
  --wa: #1faa59;
  --wa-dark: #178a48;
  --ok: #15803D;
  --danger: #A50E1C;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --shadow-sm: 0 2px 12px rgba(11, 11, 13, .08);
  --shadow: 0 12px 34px rgba(11, 11, 13, .14);
  --shadow-lg: 0 26px 70px rgba(11, 11, 13, .40);
  --display: "Outfit", "Segoe UI", sans-serif;
  --body: "DM Sans", "Segoe UI", sans-serif;
  --z-nav: 60; --z-fab: 70; --z-modal: 90; --z-chat: 100;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  /* fondo con intención: papel cálido + glows de marca + trama sutil */
  background:
    radial-gradient(rgba(11, 11, 13, .045) 1px, transparent 1.3px) 0 0 / 28px 28px,
    radial-gradient(1150px 540px at 86% -130px, rgba(225, 29, 46, .10), transparent 62%),
    radial-gradient(920px 540px at -170px 32%, rgba(11, 11, 13, .05), transparent 60%),
    radial-gradient(1000px 640px at 106% 82%, rgba(225, 29, 46, .07), transparent 55%),
    var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* iOS-proof: overflow:hidden no alcanza en Safari — el body queda clavado */
body.modal-open { overflow: hidden; position: fixed; left: 0; right: 0; width: 100%; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); line-height: 1.04; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Íconos del sprite */
.ic { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -2px; }
.ic-fill { fill: currentColor; stroke: none; flex: none; vertical-align: -1px; }

/* ============ BARRA DE ANUNCIO — el gancho #1 ============ */
.announce {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: var(--gold-grad); color: var(--night);
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  padding: 8px 14px; text-align: center;
  position: relative; z-index: 61;
}
.announce strong { font-weight: 800; letter-spacing: .04em; }
.announce .ic { color: var(--night); }
.announce-pay { display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; justify-content: center; }
.announce-sub { opacity: .75; font-weight: 600; }
.announce-wa { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.wa-lbl { font-size: 12px; font-weight: 700; opacity: .8; }
.wa-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--night); color: #fff; text-decoration: none;
  font-size: 12.5px; font-weight: 700;
  padding: 6px 13px; border-radius: 99px;
  transition: transform .15s ease, background .15s ease;
}
.wa-link .ic-fill { color: #35d073; }
.wa-link:hover { background: var(--night-2); transform: translateY(-1px); }
@media (max-width: 480px) { .announce-sub { display: none; } }
@media (min-width: 760px) {
  .announce { flex-direction: row; justify-content: space-between; padding: 8px 22px; }
}

/* ============ HEADER — pill flotante glass ============ */
.topbar { position: sticky; top: 10px; z-index: var(--z-nav); padding: 0 10px; }
.topbar-inner {
  display: flex; align-items: center; gap: 8px;
  max-width: 1440px; margin: 0 auto; padding: 8px 12px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, background .25s ease;
}
.topbar.scrolled .topbar-inner { box-shadow: var(--shadow); background: rgba(255, 255, 255, .92); }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--night); min-width: 0; flex: none; }
.logo-block { display: flex; flex-direction: column; min-width: 0; }
.logo-tag {
  display: none;
  font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 1px;
}
/* nav central: llena el header a lo ancho con accesos útiles */
.topnav { display: none; align-items: center; gap: 2px; margin: 0 auto; }
.topnav button {
  position: relative;
  font-size: 14.5px; font-weight: 700; color: var(--ink);
  padding: 10px 15px; border-radius: 11px;
  transition: background .15s ease, color .15s ease;
  cursor: pointer;
}
.topnav button:hover { background: var(--paper); color: var(--accent); }
.topnav button::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 5px; height: 2.5px;
  border-radius: 2px; background: var(--gold-grad);
  transform: scaleX(0); transition: transform .2s ease;
}
.topnav button:hover::after { transform: scaleX(1); }
.nav-hot {
  position: absolute; top: 6px; right: 6px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--promo); box-shadow: 0 0 6px rgba(232, 69, 44, .8);
}
.logo-moon {
  display: grid; place-items: center; width: 36px; height: 36px; flex: none;
  background: linear-gradient(140deg, var(--night), var(--night-3));
  color: var(--gold-soft); border-radius: 11px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
}
.logo-text {
  font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.zone-pill {
  display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 99px;
  padding: 8px 13px; font-size: 13px; font-weight: 700; color: var(--night);
  max-width: 44vw; min-height: 44px;
  transition: border-color .2s ease, background .2s ease;
}
.zone-pill .ic { color: var(--promo); }
.zone-pill span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zone-pill:hover { border-color: var(--accent); background: #fff; }
.cart-btn {
  position: relative; padding: 10px; color: var(--night); flex: none;
  min-width: 44px; min-height: 44px; border-radius: 12px;
  transition: background .2s ease;
}
.cart-btn:hover { background: var(--paper); }
.cart-count {
  position: absolute; top: 2px; right: 2px;
  background: var(--promo-grad); color: #fff; font-size: 11px; font-weight: 800;
  min-width: 19px; height: 19px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px;
  box-shadow: 0 2px 8px rgba(232, 69, 44, .5);
}
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.5); } }

/* ============ HERO ============ */
.hero { position: relative; color: #fff; overflow: hidden; margin-top: -64px; padding-top: 64px; }
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, #10142a 0%, var(--night) 40%, var(--night-3) 78%, #43407e 100%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob-a {
  width: 420px; height: 420px; right: -140px; top: -120px;
  background: radial-gradient(circle, rgba(233, 180, 76, .55), transparent 65%);
  animation: drift 16s ease-in-out infinite alternate;
}
.blob-b {
  width: 380px; height: 380px; left: -150px; bottom: -140px;
  background: radial-gradient(circle, rgba(232, 69, 44, .4), transparent 65%);
  animation: drift 19s ease-in-out infinite alternate-reverse;
}
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.15); } }
.hero-grain {
  position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.deco { position: absolute; color: var(--gold-soft); opacity: .5; fill: currentColor; stroke: none; }
.deco-1 { top: 18%; left: 6%; animation: twinkle 4s ease-in-out infinite; }
.deco-2 { top: 12%; right: 22%; animation: twinkle 5s ease-in-out 1.2s infinite; }
.deco-3 { bottom: 26%; right: 8%; animation: twinkle 4.5s ease-in-out .6s infinite; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.85) rotate(0deg); } 50% { opacity: .65; transform: scale(1.1) rotate(12deg); } }

.hero-carousel { position: relative; width: 100%; padding: 0 clamp(0px, 2vw, 40px); }
.slide {
  display: none; align-items: center; gap: 16px;
  padding: 30px 22px 56px; min-height: 430px;
  grid-template-columns: 1fr;
  max-width: 1560px; margin: 0 auto; width: 100%;
}
.slide.is-active { display: grid; animation: slideIn .55s ease both; }
@keyframes slideIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.slide-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(245, 217, 152, .45);
  color: var(--gold-soft);
  border-radius: 99px; padding: 7px 15px; font-size: 12px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; margin-bottom: 16px;
}
.slide h1 { font-size: clamp(38px, 9.5vw, 68px); font-weight: 800; letter-spacing: -.02em; }
.slide h1 em {
  font-style: normal;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.slide-sub { font-size: 15px; opacity: .88; margin-top: 8px; max-width: 34em; }
.slide-sub.big { font-size: 17px; margin-top: 14px; }

/* price tag — etiqueta sticker */
.price-tag {
  display: inline-flex; flex-direction: column; gap: 2px;
  background: #fff; color: var(--night);
  border-radius: 14px; padding: 12px 20px 14px;
  margin: 18px 0 4px;
  transform: rotate(-1.6deg);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .35), 0 0 0 5px rgba(255, 255, 255, .08);
  position: relative;
}
.price-tag::before {
  content: ""; position: absolute; top: -7px; left: 26px; width: 46px; height: 15px;
  background: rgba(245, 217, 152, .85); border-radius: 3px; transform: rotate(-2deg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}
.pt-label { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); letter-spacing: .02em; }
.pt-price {
  font-family: var(--display); font-weight: 800; line-height: 1;
  font-size: clamp(38px, 9vw, 54px); color: var(--night);
  font-variant-numeric: tabular-nums;
}
.pt-zone {
  position: absolute; right: -10px; top: -14px;
  background: var(--promo-grad); color: #fff;
  border-radius: 9px; padding: 5px 11px; font-size: 12px; font-weight: 800;
  transform: rotate(3deg);
  box-shadow: 0 6px 16px rgba(232, 69, 44, .45);
}
/* banner de pago — sticker ruidoso estilo campaña */
.pay-banner {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-grad); color: var(--night);
  font-family: var(--display); font-weight: 800; font-size: clamp(13px, 3.6vw, 16px);
  letter-spacing: .05em;
  padding: 10px 18px; border-radius: 10px;
  transform: rotate(1.2deg);
  margin: 16px 0 0;
  box-shadow: 0 10px 26px rgba(233, 180, 76, .35);
  animation: payPulse 3s ease-in-out infinite;
}
@keyframes payPulse { 0%, 100% { transform: rotate(1.2deg) scale(1); } 50% { transform: rotate(1.2deg) scale(1.035); } }
.hero-checks { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; }
.hero-checks li { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; opacity: .92; }
.hero-checks .ic { color: var(--gold-soft); }

.slide-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 13px; padding: 15px 24px; font-size: 15.5px; font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, filter .18s ease;
  cursor: pointer;
}
.btn:active { transform: scale(.97); }
.btn-promo { background: var(--promo-grad); color: #fff; box-shadow: 0 8px 24px rgba(232, 69, 44, .42); }
.btn-promo:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(232, 69, 44, .5); }
.btn-promo .ic { transition: transform .18s ease; }
.btn-promo:hover .ic { transform: translateX(3px); }
.btn-ghost-light { background: rgba(255, 255, 255, .09); color: #fff; border: 1.5px solid rgba(255, 255, 255, .38); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .18); }
.btn-night { background: var(--night); color: #fff; }
.btn-night:hover { background: var(--night-2); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-block { display: flex; width: 100%; }

.slide-media { display: grid; place-items: center; position: relative; }
.media-glow {
  position: absolute; width: 78%; height: 60%;
  background: radial-gradient(ellipse, rgba(245, 217, 152, .3), transparent 70%);
  filter: blur(30px);
}
.slide-media img {
  position: relative;
  max-height: 300px; border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
  transform: rotate(1.5deg);
  animation: floaty 5s ease-in-out infinite alternate;
}
@keyframes floaty { from { transform: rotate(1.5deg) translateY(0); } to { transform: rotate(1.5deg) translateY(-12px); } }
.media-ribbon {
  position: absolute; bottom: 10px; right: 4px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold-grad); color: var(--night);
  font-size: 11.5px; font-weight: 800; letter-spacing: .06em;
  padding: 8px 14px; border-radius: 99px; transform: rotate(-2deg);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}
.slide-media-map { min-height: 300px; position: relative; }
.map-dots {
  position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .5) 1.5px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent 75%);
}
/* panel de cobertura: llena el lado derecho del slide con contenido real */
.cov-panel {
  position: relative; z-index: 2;
  width: min(92%, 420px);
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(245, 217, 152, .35);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  padding: 22px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  animation: floaty 5s ease-in-out infinite alternate;
}
.cov-zone { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; }
.cov-zone + .cov-zone { border-top: 1px dashed rgba(255, 255, 255, .2); }
.cov-zone .ic { color: var(--gold-soft); margin-top: 2px; }
.cov-zone strong { display: block; font-family: var(--display); font-size: 16.5px; font-weight: 700; }
.cov-zone span { font-size: 12.5px; opacity: .75; }
.cov-total {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px;
  background: var(--gold-grad); color: var(--night);
  font-size: 12.5px; font-weight: 800; letter-spacing: .04em;
  padding: 8px 14px; border-radius: 99px;
}
.cov-chip {
  position: absolute; z-index: 1;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(245, 217, 152, .4);
  color: var(--gold-soft);
  font-size: 11px; font-weight: 800; letter-spacing: .06em;
  padding: 7px 13px; border-radius: 99px;
  backdrop-filter: blur(4px);
  animation: floaty 4s ease-in-out infinite alternate;
}
.cov-chip::before { content: "📍 "; font-size: 10px; }
.c1 { top: 2%; left: 6%; animation-delay: .3s; }
.c2 { top: 14%; right: 2%; animation-delay: 1.1s; }
.c3 { bottom: 16%; left: 0; animation-delay: .7s; }
.c4 { bottom: 2%; right: 12%; animation-delay: 1.6s; }
.c5 { top: 48%; left: -2%; animation-delay: 2s; display: none; }
.c6 { bottom: 34%; right: -3%; animation-delay: .5s; display: none; }
@media (min-width: 1200px) { .c5, .c6 { display: inline-block; } }

.hero-dots { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; z-index: 2; }
.hero-dots button { width: 36px; height: 36px; display: grid; place-items: center; background: none; }
.hero-dots button::before { content: ""; width: 26px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .3); transition: background .25s, width .25s; }
.hero-dots button.is-on::before { background: var(--gold-soft); width: 34px; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 42px; fill: rgba(255, 255, 255, .05); pointer-events: none; }

/* ============ MARQUEE ============ */
.marquee {
  background: var(--night); color: var(--gold-soft);
  overflow: hidden; border-top: 1px solid rgba(245, 217, 152, .18);
  box-shadow: inset 0 8px 20px rgba(0, 0, 0, .25);
}
.marquee-track {
  display: flex; align-items: center; gap: 30px; padding: 12px 0; width: max-content;
  animation: marquee 28s linear infinite;
  font-size: 13.5px; font-weight: 700; letter-spacing: .03em; white-space: nowrap;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 8px; }
.marquee-track .sep { color: rgba(245, 217, 152, .45); font-size: 11px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ PASOS — cómo funciona (conversión) ============ */
.steps { padding: 44px 0 0; }
.steps-band {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 22px 28px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.steps-band::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--gold-grad);
}
.steps-title {
  font-size: clamp(21px, 5vw, 28px); color: var(--night); text-align: center;
  margin-bottom: 22px; letter-spacing: -.01em;
}
.steps-row { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.step { text-align: center; flex: 1; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 10px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--night), var(--night-3));
  color: var(--gold-soft);
  font-family: var(--display); font-weight: 800; font-size: 19px;
  box-shadow: 0 6px 16px rgba(23, 28, 54, .25);
}
.step:last-child .step-num { background: var(--gold-grad); color: var(--night); }
.step h3 { font-size: 16.5px; color: var(--night); margin-bottom: 4px; }
.step p { font-size: 13px; color: var(--ink-soft); max-width: 24em; margin: 0 auto; }
.step-arrow { color: var(--line); align-self: center; transform: rotate(90deg); }

/* ============ PROMOCIONES DE LA SEMANA ============ */
.promos { padding: 40px 0 0; }
.promo-band {
  position: relative;
  background: var(--promo-grad); color: #fff;
  border-radius: var(--r-lg);
  padding: 22px 24px 24px; text-align: center;
  transform: rotate(-.5deg);
  box-shadow: 0 16px 44px rgba(232, 69, 44, .35);
  margin-bottom: 18px; overflow: hidden;
}
.promo-band::after {
  content: ""; position: absolute; inset: 0; opacity: .18;
  background-image: radial-gradient(rgba(255, 255, 255, .8) 1.5px, transparent 1.6px);
  background-size: 26px 26px;
}
.promo-band h2 {
  font-size: clamp(23px, 5.6vw, 36px); font-weight: 800; letter-spacing: .01em;
  position: relative; z-index: 1;
}
.promo-band p { position: relative; z-index: 1; font-size: 14px; opacity: .92; margin-top: 6px; font-weight: 600; }
.promo-flame {
  position: relative; z-index: 1;
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  background: var(--gold-grad); color: var(--night); border-radius: 50%;
  margin-bottom: 8px; box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
  animation: payPulse 2.6s ease-in-out infinite;
}
/* Cinta infinita: el track (2 copias) se traslada en loop permanente.
   El movimiento lo maneja JS (rAF) en app.js — NO una animación CSS —
   porque el auto-avance y el arrastre con el dedo tienen que compartir
   el MISMO transform. Antes esto era `animation: promoLoop 55s` + un
   `.promo-track:hover { animation-play-state: paused }`: en el celular
   el :hover queda PEGADO al primer toque y la cinta no arrancaba más. */
.promo-rail {
  overflow: hidden; padding: 8px 0 16px;
  touch-action: pan-y pinch-zoom; /* la página sigue scrolleando en vertical y se puede hacer zoom; el horizontal es nuestro */
  cursor: grab;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.promo-rail.is-dragging { cursor: grabbing; }
.promo-track {
  display: flex; gap: 12px; width: max-content;
  will-change: transform;
}
.promo-set { display: flex; gap: 12px; padding-right: 12px; }
.promo-card {
  position: relative; flex: none; width: min(78vw, 258px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow);
  cursor: pointer;
  transition: box-shadow .25s ease, transform .25s ease;
}
.promo-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.promo-card.promo-star {
  border: 2.5px solid var(--gold); box-shadow: 0 14px 40px rgba(233, 180, 76, .35);
}
.promo-card-badge { top: 10px; left: 10px; right: auto; }
.promo-card.promo-star .promo-card-badge { left: 10px; right: auto; }
.promo-imgwrap { aspect-ratio: 5 / 4.2; overflow: hidden; background: #ece8dd; }
.promo-imgwrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.promo-card:hover .promo-imgwrap img { transform: scale(1.05); }
.promo-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.promo-body h3 { font-family: var(--display); font-size: 18px; font-weight: 800; color: var(--night); }
.promo-prices { display: grid; gap: 4px; border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 2px; }
.pp { display: flex; justify-content: space-between; align-items: baseline; }
.pp span { font-size: 12px; color: var(--ink-soft); font-weight: 600; }
.pp strong { font-family: var(--display); font-size: 17px; font-weight: 800; color: var(--night); font-variant-numeric: tabular-nums; }
.promo-card.promo-star .pp:first-child strong { color: var(--promo); font-size: 19px; }
.promo-body .pcard-cta { margin-top: 6px; }
@media (min-width: 760px) {
  .promo-card { width: 262px; }
}

/* ============ SECCIONES — a lo ANCHO de toda la página ============ */
main { width: 100%; padding: 0 clamp(16px, 3vw, 48px); }
section { padding: 52px 0 10px; }
.section-head { margin-bottom: 24px; }
.eyebrow {
  font-family: var(--display); font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--promo); margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::after { content: ""; height: 1.5px; width: 44px; background: currentColor; opacity: .4; }
.eyebrow-light { color: var(--gold-soft); }
.section-head h2 { font-size: clamp(28px, 6.5vw, 44px); font-weight: 800; color: var(--night); letter-spacing: -.015em; }
.section-sub { color: var(--ink-soft); margin-top: 8px; max-width: 44em; }
.link-zone { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; cursor: pointer; }

/* ============ FILTROS ============ */
.filters { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip-row[aria-label="Filtrar por medida"] { flex-wrap: wrap; }
.chip {
  flex: none; background: var(--card); border: 1.5px solid var(--line); border-radius: 99px;
  padding: 10px 17px; font-size: 13.5px; font-weight: 700; color: var(--ink);
  min-height: 44px;
  transition: all .18s ease;
  box-shadow: var(--shadow-sm);
}
.chip:hover { border-color: var(--night); }
.chip.is-on { background: var(--night); border-color: var(--night); color: #fff; box-shadow: 0 6px 16px rgba(23, 28, 54, .25); }
.chip-alt.is-on { background: var(--accent); border-color: var(--accent); box-shadow: 0 6px 16px rgba(59, 91, 191, .3); }

/* ============ GRID DE PRODUCTOS ============ */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pcard {
  background: var(--card); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease, box-shadow .25s ease;
  cursor: pointer;
}
.pcard.revealed { opacity: 1; transform: none; }
.pcard:hover { box-shadow: var(--shadow-lg); }
.pcard-imgwrap { position: relative; aspect-ratio: 5 / 6; overflow: hidden; background: #ece8dd; }
.pcard-imgwrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23, 28, 54, .18), transparent 30%);
  pointer-events: none;
}
.pcard-imgwrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s ease; }
.pcard:hover .pcard-imgwrap img { transform: scale(1.05); }
.pcard-badge {
  position: absolute; top: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 800;
  padding: 6px 11px; border-radius: 99px; letter-spacing: .05em; text-transform: uppercase;
}
.pcard-badge .ic-fill, .pcard-badge .ic { width: 11px; height: 11px; }
.badge-pago {
  left: 10px;
  background: var(--gold-grad); color: var(--night);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .25);
}
.badge-flag {
  right: 10px; left: auto;
  background: var(--promo-grad); color: #fff;
  box-shadow: 0 5px 14px rgba(232, 69, 44, .5);
}
.badge-flag.badge-premium { background: linear-gradient(135deg, var(--night-2), var(--night-3)); box-shadow: 0 5px 14px rgba(23, 28, 54, .4); color: var(--gold-soft); }
.pcard-body { padding: 13px 13px 15px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard-name { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--night); letter-spacing: -.01em; }
.pcard-size { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }
.pcard-specs { display: flex; flex-wrap: wrap; gap: 4px; }
.spec {
  font-size: 10.5px; font-weight: 700; color: var(--ink-soft);
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px;
  letter-spacing: .02em;
}
.pcard-price { margin-top: auto; padding-top: 6px; border-top: 1px dashed var(--line); }
.pcard-price .lbl { font-size: 11.5px; color: var(--ink-soft); display: block; font-weight: 600; }
.pcard-price .val {
  font-family: var(--display); font-weight: 800; font-size: 23px; color: var(--night);
  font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.pay-line {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; color: var(--ok); margin-top: 3px;
}
.pay-line .ic { width: 12px; height: 12px; }
.pcard-cta {
  margin-top: 9px; background: var(--night); color: #fff; border-radius: 11px;
  padding: 12px; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  transition: background .2s ease, gap .2s ease;
  cursor: pointer;
}
.pcard-cta .ic { width: 15px; height: 15px; }
.pcard:hover .pcard-cta { background: var(--accent); gap: 11px; }

/* ============ ACCESORIOS (compactos, centrados y COMPRABLES) ============ */
.accesorios { max-width: 960px; margin: 0 auto; }
.acc-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.acc-card .acc-imgwrap { max-height: 190px; }
.acc-buy {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; background: var(--card);
  border: 1.5px solid var(--line); border-radius: 9px; padding: 7px 11px;
  font-variant-numeric: tabular-nums; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
}
.acc-buy .acc-plus {
  display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%;
  background: var(--night); color: var(--gold-soft); font-size: 12px; font-weight: 800; line-height: 1;
}
.acc-buy:hover { border-color: var(--accent); background: #f0f3fb; }
.acc-buy:active { transform: scale(.95); }
.acc-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-columns: 118px 1fr;
  transition: box-shadow .25s ease;
}
.acc-card:hover { box-shadow: var(--shadow-lg); }
.acc-card .acc-imgwrap { overflow: hidden; }
.acc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.acc-card:hover img { transform: scale(1.06); }
.acc-body { padding: 16px; }
.acc-body h3 { font-size: 19px; color: var(--night); margin-bottom: 4px; }
.acc-body p { font-size: 13px; color: var(--ink-soft); margin-bottom: 9px; }
.acc-prices { display: flex; flex-wrap: wrap; gap: 5px; }
.acc-tag {
  font-size: 12px; font-weight: 700; background: var(--paper); border: 1px solid var(--line);
  border-radius: 7px; padding: 4px 9px; font-variant-numeric: tabular-nums;
}
.acc-add {
  margin-top: 12px; padding: 12px 20px; font-size: 14px; border-radius: 11px;
}

/* ============ EMPRESAS — banda nocturna ============ */
.empresas {
  background: linear-gradient(150deg, #141830, var(--night) 55%, var(--night-2));
  color: #fff; padding: 56px 0; margin: 48px 0 0;
  position: relative; overflow: hidden;
}
.empresas::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1.5px, transparent 1.6px);
  background-size: 30px 30px;
}
.emp-inner { position: relative; width: 100%; padding: 0 clamp(16px, 3vw, 48px); }
.empresas h2 { color: #fff; }
.empresas .section-sub { color: rgba(255, 255, 255, .72); }
.emp-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 26px; }
.emp-card {
  display: block; text-decoration: none; cursor: pointer;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r); backdrop-filter: blur(6px);
  padding: 18px 14px; text-align: center;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.emp-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); border-color: rgba(245, 217, 152, .4); }
.emp-logo {
  position: relative; overflow: hidden;
  width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 15px;
  background: var(--gold-grad);
  color: var(--night); font-family: var(--display); font-weight: 800; font-size: 19px;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3), 0 0 0 2px rgba(245, 217, 152, .35);
}
.emp-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.emp-card strong { display: block; font-size: 14.5px; color: #fff; }
.emp-card span { font-size: 11.5px; color: rgba(255, 255, 255, .6); }
.emp-msgr {
  display: inline-flex !important; align-items: center; gap: 5px;
  margin-top: 9px; padding: 6px 12px; border-radius: 99px;
  background: rgba(0, 132, 255, .18); border: 1px solid rgba(90, 170, 255, .45);
  color: #9cc8ff !important; font-size: 11.5px !important; font-weight: 700;
  transition: background .2s ease;
}
.emp-card:hover .emp-msgr { background: rgba(0, 132, 255, .32); }

/* ============ CONFIANZA ============ */
.confianza { padding-bottom: 16px; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.trust {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 18px; box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease;
}
.trust:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.trust-ico {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(140deg, var(--night), var(--night-3));
  color: var(--gold-soft); margin-bottom: 10px;
}
.trust h3 { font-size: 16.5px; color: var(--night); margin: 0 0 4px; }
.trust p { font-size: 13px; color: var(--ink-soft); }

/* ============ FOOTER ============ */
.footer { background: var(--night); color: #cdd0e4; position: relative; }
.footer-wave { display: block; width: 100%; height: 54px; fill: var(--paper); transform: scaleY(-1); }
.footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 30px 18px 16px;
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
.footer-brand strong { font-family: var(--display); font-size: 19px; color: #fff; display: block; margin-top: 8px; }
.footer-brand .logo-moon { background: rgba(255, 255, 255, .1); }
.footer-brand p, .footer-col p { font-size: 13.5px; margin-top: 6px; }
.footer-col h4 {
  color: var(--gold-soft); font-size: 12px; text-transform: uppercase; letter-spacing: .12em;
  font-family: var(--display); font-weight: 700;
}
.footer a { color: #fff; }
.footer .link-zone { color: #93a8e8; padding: 0; margin-top: 6px; }
.footer-note { font-size: 12px; opacity: .65; }
.footer-col .ic { color: var(--gold-soft); }
.footer-legal {
  max-width: 1180px; margin: 0 auto;
  padding: 14px 18px calc(96px + env(safe-area-inset-bottom));
  font-size: 11.5px; opacity: .5; border-top: 1px solid rgba(255, 255, 255, .1);
}

/* ============ SHEETS / MODALES ============ */
.sheet-backdrop {
  position: fixed; inset: 0; background: rgba(16, 20, 42, .6); z-index: 80;
  backdrop-filter: blur(3px);
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-modal);
  background: var(--card); border-radius: 24px 24px 0 0;
  padding: 14px 18px calc(20px + env(safe-area-inset-bottom));
  max-height: 88vh; max-height: 88dvh; overflow-y: auto;
  overscroll-behavior: contain;
  animation: sheetUp .32s cubic-bezier(.2, .9, .3, 1);
  box-shadow: 0 -16px 60px rgba(16, 20, 42, .35);
}
@keyframes sheetUp { from { transform: translateY(60px); opacity: 0; } }
.sheet-grip { width: 42px; height: 5px; background: var(--line); border-radius: 3px; margin: 0 auto 14px; }
.sheet h3 { font-size: 23px; color: var(--night); letter-spacing: -.01em; }
.sheet-sub { font-size: 14px; color: var(--ink-soft); margin: 4px 0 16px; }
.sheet-close {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; z-index: 3;
  background: rgba(255, 255, 255, .94); border-radius: 50%; font-size: 18px; font-weight: 700;
  display: grid; place-items: center; color: var(--ink);
  box-shadow: 0 2px 12px rgba(16, 20, 42, .22);
  transition: background .2s ease;
}
.sheet-close:hover { background: var(--paper); }

/* zona v2 — popup de localidad (obligatorio la primera vez) */
.zone-v2 { text-align: center; }
.zone-v2.is-mandatory .sheet-close { display: none; } /* sin escape hasta elegir */
.zone-pin-hero {
  display: inline-grid; place-items: center; width: 56px; height: 56px;
  border-radius: 50%; background: var(--gold-grad); color: var(--night);
  margin: 4px auto 10px; box-shadow: 0 10px 26px rgba(233, 180, 76, .4);
  animation: payPulse 2.8s ease-in-out infinite;
}
.zone-v2 h3 { font-size: 26px; }
.zone-claim {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
  background: linear-gradient(120deg, #fbf3dd, #f7e9c4);
  border: 1.5px solid #e6cd93; border-radius: 12px;
  padding: 11px 16px; margin: 12px 0 18px;
  font-size: 14.5px; color: #6b4f14;
}
.zone-claim .ic { color: #a87c1e; }
.zone-claim strong { color: #52400f; }
.loc-inputwrap {
  display: flex; align-items: center; gap: 10px;
  border: 2px solid var(--night); border-radius: 14px;
  padding: 0 16px; background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.loc-inputwrap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(59, 91, 191, .12); }
.loc-inputwrap .ic { color: var(--ink-soft); flex: none; }
.loc-inputwrap input {
  flex: 1; border: none; padding: 16px 0; font-size: 17px; font-family: inherit;
  background: none; min-width: 0;
}
.loc-inputwrap input:focus { outline: none; }
.zone-chips-label { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; margin: 16px 0 8px; }
.zone-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.zchip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 99px;
  padding: 10px 15px; font-size: 13.5px; font-weight: 700; color: var(--night);
  min-height: 44px; cursor: pointer;
  transition: all .15s ease;
}
.zchip .ic { color: var(--promo); }
.zchip:hover { border-color: var(--night); background: var(--paper); transform: translateY(-1px); }
.loc-results { margin-top: 6px; max-height: 180px; overflow-y: auto; overscroll-behavior: contain; }
.loc-results { margin-top: 8px; text-align: left; }
.loc-item {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  width: 100%; text-align: left; padding: 13px 12px; border-bottom: 1px solid var(--line);
  font-size: 15px; font-weight: 600; cursor: pointer; border-radius: 10px;
  transition: background .15s ease;
}
.loc-item > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.loc-item .ic { color: var(--promo); }
.loc-item:hover { background: var(--paper); }
.loc-item .loc-zone { font-size: 11.5px; color: var(--ok); font-weight: 700; white-space: nowrap; }
.loc-empty { padding: 10px 8px; font-size: 13.5px; color: var(--ink-soft); }
.zone-note { font-size: 13px; color: var(--ink-soft); margin-top: 12px; }

/* producto */
.prod-layout { display: block; }
.prod-media { position: relative; }
/* galería: fotos y VIDEOS del producto (desde GLOX AI), con swipe y miniaturas */
.gal-main { position: relative; }
.gal-main video.prod-img { width: 100%; max-height: 60vh; background: #10142a; }
.gal-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.gal-thumbs::-webkit-scrollbar { display: none; }
.gal-th {
  flex: none; width: 62px; height: 62px; border-radius: 10px; overflow: hidden;
  border: 2.5px solid var(--line); padding: 0; background: #10142a;
  display: grid; place-items: center; cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
}
.gal-th img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gal-th.is-on { border-color: var(--promo); transform: scale(1.04); }
.gal-play { color: #fff; font-size: 20px; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.sheet-lg .prod-img { border-radius: 14px; margin-bottom: 4px; box-shadow: var(--shadow-sm); width: 100%; }
.prod-caption { font-size: 12px; color: var(--ink-soft); margin-bottom: 10px; }
.prod-title-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.prod-title-row .pcard-size { font-size: 14px; }
.prod-specs { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0 16px; }
.combo-list { display: grid; gap: 9px; margin-bottom: 16px; }
.combo {
  display: flex; align-items: center; gap: 12px; border: 2px solid var(--line);
  border-radius: 14px; padding: 13px 15px; background: var(--card); text-align: left;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
  cursor: pointer;
}
.combo:hover { border-color: #d9a196; }
.combo.is-on { border-color: var(--promo); background: #fdf4f2; box-shadow: 0 4px 14px rgba(232, 69, 44, .12); }
.combo-radio {
  width: 21px; height: 21px; border: 2px solid var(--line); border-radius: 50%; flex: none;
  display: grid; place-items: center; transition: border-color .18s ease;
}
.combo.is-on .combo-radio { border-color: var(--promo); }
.combo.is-on .combo-radio::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--promo-grad); }
.combo-info { flex: 1; }
.combo-info strong { display: block; font-size: 14.5px; color: var(--night); }
.combo-info span { font-size: 12px; color: var(--ink-soft); }
.combo-price { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--night); font-variant-numeric: tabular-nums; }
.qty-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.qty-row .lbl { font-weight: 700; font-size: 14.5px; }
.qty-ctl { display: flex; align-items: center; gap: 4px; }
.qty-ctl button {
  width: 44px; height: 44px; border-radius: 12px; background: var(--paper);
  border: 1.5px solid var(--line); font-size: 20px; font-weight: 700; color: var(--night);
  cursor: pointer; transition: border-color .18s ease;
}
.qty-ctl button:hover { border-color: var(--night); }
.qty-ctl .qty-val { min-width: 36px; text-align: center; font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.pay-box {
  display: flex; align-items: flex-start; gap: 10px;
  background: linear-gradient(120deg, #fbf3dd, #f7e9c4);
  border: 1.5px solid #e6cd93; border-radius: 12px;
  padding: 12px 15px; margin-top: 12px; margin-bottom: 12px;
  font-size: 13.5px; line-height: 1.45; color: #6b4f14; font-weight: 600;
}
.pay-box .ic { color: #a87c1e; margin-top: 1px; }
.pay-box strong { color: #52400f; font-weight: 800; }
.prod-zone-note { font-size: 12.5px; color: var(--ink-soft); text-align: center; margin-top: 8px; }
.prod-zone-note button { color: var(--accent); font-weight: 700; text-decoration: underline; cursor: pointer; }

/* FAQ general de la página (contenido corto → centrado) */
.faq-page { max-width: 880px; margin: 0 auto; padding-bottom: 56px; }
.faq-page .faq summary { font-size: 15.5px; }

/* FAQ del producto */
.prod-faq { margin-top: 26px; border-top: 2px solid var(--line); padding-top: 20px; }
.faq-title { font-family: var(--display); font-size: 19px; font-weight: 800; color: var(--night); margin-bottom: 12px; }
.faq-list { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); }
.faq { border-bottom: 1px solid var(--line); }
.faq:last-child { border-bottom: none; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  list-style: none; cursor: pointer;
  padding: 14px 16px; font-size: 14.5px; font-weight: 700; color: var(--ink);
  transition: background .15s ease;
  min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--paper); }
.faq summary .ic { color: var(--ink-soft); transform: rotate(90deg); transition: transform .2s ease; }
.faq[open] summary .ic { transform: rotate(-90deg); }
.faq[open] summary { color: var(--accent); }
.faq p { padding: 0 16px 14px; font-size: 14px; color: var(--ink-soft); max-width: 60em; }
.faq-chat {
  display: flex; flex-direction: column; gap: 12px;
  background: #eafaf1; border: 1.5px solid #b9e6cc; border-radius: 14px;
  padding: 16px 18px; margin-top: 14px;
}
.faq-chat-txt strong { color: var(--night); font-size: 15px; }
.faq-chat-txt p { font-size: 13.5px; color: var(--ink-soft); margin-top: 2px; }
@media (min-width: 760px) {
  .faq-chat { flex-direction: row; align-items: center; justify-content: space-between; }
  .faq-chat .btn { flex: none; }
}

/* Wizard del caminito (3 pasos) */
.wiz-head { flex: 1; min-width: 0; }
.wiz-head h3 { font-size: 19px; }
.wiz-progress { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.wiz-step {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800; font-family: var(--display);
  background: var(--paper); border: 1.5px solid var(--line); color: var(--ink-soft);
}
.wiz-step.done { background: var(--night); border-color: var(--night); color: var(--gold-soft); }
.wiz-progress i { height: 2px; width: 22px; background: var(--line); border-radius: 1px; }
.wiz-progress i.done { background: var(--night); }
.wiz-sub { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.wiz-picked {
  display: flex; align-items: center; gap: 8px;
  background: #eafaf1; border: 1.5px solid #b9e6cc; border-radius: 11px;
  padding: 11px 14px; font-size: 14px; font-weight: 700; color: var(--ok);
}
.btn-xl { padding: 18px 24px; font-size: 17.5px; letter-spacing: .02em; }
.sincob { max-width: 34em; margin: 0 auto; text-align: center; padding: 10px 0 20px; }
.sincob h3 { font-size: 23px; color: var(--night); margin-bottom: 8px; }
.sincob > p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 10px; }
.sincob .f-field { text-align: left; margin-top: 12px; }
.sincob .btn { margin-top: 8px; }
.big-ico-warm { background: var(--gold-grad) !important; color: var(--night) !important; }

/* ============ CARRITO ============ */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-modal); width: 100%;
  height: 100dvh;
  background: var(--paper); display: flex; flex-direction: column;
  animation: drawerIn .3s cubic-bezier(.2, .9, .3, 1);
}
@keyframes drawerIn { from { transform: translateX(70px); opacity: 0; } }
.drawer-head {
  display: flex; align-items: center; gap: 10px; padding: 16px 18px;
  padding-top: calc(16px + env(safe-area-inset-top));
  background: var(--card); border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-size: 21px; color: var(--night); flex: 1; }
.drawer-head .sheet-close { position: static; flex: none; box-shadow: none; background: var(--paper); }
.drawer-back { color: var(--night); font-size: 24px; padding: 8px 12px 8px 2px; cursor: pointer; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 18px; overscroll-behavior: contain; }
.cart-empty { text-align: center; padding: 48px 20px; color: var(--ink-soft); }
.cart-empty .big-ico, .ok-screen .big-ico, .empty-state .big-ico {
  display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 14px;
  border-radius: 22px; background: linear-gradient(140deg, var(--night), var(--night-3));
  color: var(--gold-soft);
}
.ok-screen .big-ico { background: linear-gradient(140deg, #1e7a4d, #27a06a); color: #fff; }
.citem {
  display: grid; grid-template-columns: 66px 1fr auto; gap: 12px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 11px; margin-bottom: 10px; box-shadow: var(--shadow-sm);
}
.citem img { width: 66px; height: 66px; object-fit: cover; object-position: top; border-radius: 10px; }
.citem-info strong { display: block; font-size: 14.5px; color: var(--night); }
.citem-info span { font-size: 12px; color: var(--ink-soft); display: block; }
.citem-side { text-align: right; }
.citem-price { font-weight: 800; font-family: var(--display); font-size: 15.5px; font-variant-numeric: tabular-nums; }
.citem-qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 6px; }
.citem-qty button {
  width: 38px; height: 38px; border-radius: 10px; background: var(--paper);
  border: 1px solid var(--line); font-weight: 700; font-size: 17px; cursor: pointer;
}
.citem-qty .q { min-width: 26px; text-align: center; font-weight: 700; font-size: 15px; }
.citem-del { font-size: 12.5px; color: var(--danger); margin-top: 2px; padding: 9px 6px; cursor: pointer; }
.drawer-foot {
  background: var(--card); border-top: 1px solid var(--line);
  padding: 14px 18px calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(23, 28, 54, .06);
}
.total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.total-row .lbl { font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.total-row .val { font-family: var(--display); font-weight: 800; font-size: 27px; color: var(--night); font-variant-numeric: tabular-nums; }
.total-note { font-size: 12px; color: var(--ok); font-weight: 700; margin-bottom: 12px; }

/* checkout */
.f-field { margin-bottom: 13px; }
.f-field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.f-field input, .f-field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px;
  font-size: 16px; font-family: inherit; background: var(--card);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.f-field input:focus, .f-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 91, 191, .12); }
.f-field .f-err { display: none; font-size: 12px; color: var(--danger); margin-top: 4px; font-weight: 700; }
.f-field.has-err input { border-color: var(--danger); }
.f-field.has-err .f-err { display: block; }
.f-hint { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }
.lbl-op { font-weight: 400; color: var(--ink-soft); }
.loc-wrap { position: relative; }
.loc-drop {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 5; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  max-height: 170px; overflow-y: auto; overscroll-behavior: contain;
}
.co-alert {
  background: #f9f0da; color: #8f6218;
  border: 1px solid #e2ce9c; border-radius: 11px;
  padding: 11px 14px; font-size: 13.5px; font-weight: 600; margin-bottom: 10px;
}
.co-alert a { color: inherit; font-weight: 800; }
.ok-screen { text-align: center; padding: 40px 18px; }
.ok-screen h3 { font-size: 25px; color: var(--night); margin-bottom: 8px; }
.ok-screen p { color: var(--ink-soft); font-size: 14.5px; max-width: 30em; margin: 0 auto 8px; }

/* estado vacío del catálogo */
.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 40px 20px;
  background: var(--card); border: 1.5px dashed var(--line); border-radius: var(--r-lg);
  color: var(--ink-soft);
}
.empty-state p { margin: 0 auto 8px; max-width: 30em; }
.empty-ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }

/* ============ CHAT ============ */
/* FAB del chat: círculo con ONDAS expansivas tipo sonar — imposible no verlo */
.chat-fab {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: var(--z-fab);
  width: 82px; height: 82px;
  background: none; border: none; padding: 0;
  cursor: pointer;
}
.fab-core {
  position: relative; z-index: 2;
  display: grid; place-items: center;
  width: 82px; height: 82px; border-radius: 50%;
  background: linear-gradient(140deg, #F03544, #DC2626 70%, #A50E1C);
  color: #fff;
  box-shadow:
    0 0 0 3px #fff,
    0 8px 20px rgba(18, 166, 86, .45),
    0 18px 44px rgba(18, 166, 86, .3);
  transition: transform .2s ease;
  animation: fabBeat 2.4s ease-in-out infinite;
}
.chat-fab:hover .fab-core { transform: scale(1.08); animation-play-state: paused; }
@keyframes fabBeat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.07); } 24% { transform: scale(1); } }
/* la foto de Daniela llena el circulo; el iconito de chat aclara que es un chat */
.fab-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 50%; object-fit: cover; object-position: top center;
}
.fab-chatico {
  position: absolute; right: -2px; bottom: -1px; z-index: 3;
  width: 27px; height: 27px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #34e186, #0d8a46);
  border: 2.5px solid #fff;
  box-shadow: 0 3px 10px rgba(18, 166, 86, .5);
}
.fab-dot {
  position: absolute; right: 5px; top: 1px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold-grad); border: 2.5px solid #fff;
  box-shadow: 0 0 8px rgba(233, 180, 76, .9);
}
/* las ondas: 3 anillos que nacen del botón y se expanden sin parar */
.fab-wave {
  position: absolute; inset: 0; z-index: 1;
  border-radius: 50%;
  border: 3px solid #22c76b;
  opacity: 0;
  animation: fabWave 2.6s cubic-bezier(.2, .6, .4, 1) infinite;
  pointer-events: none;
}
.fab-wave:nth-child(2) { animation-delay: .85s; }
.fab-wave:nth-child(3) { animation-delay: 1.7s; }
@keyframes fabWave {
  0%   { transform: scale(1); opacity: .75; border-width: 4px; }
  100% { transform: scale(2.35); opacity: 0; border-width: 1px; }
}
/* globito de invitación flotando arriba del botón */
.fab-bubble {
  position: absolute; right: 6px; bottom: calc(100% + 12px); z-index: 3;
  background: #fff; color: var(--night);
  font-size: 13.5px; font-weight: 800; white-space: nowrap;
  padding: 9px 15px; border-radius: 14px 14px 3px 14px;
  box-shadow: 0 8px 24px rgba(23, 28, 54, .25);
  border: 1px solid var(--line);
  animation: bubbleBob 3s ease-in-out infinite;
  pointer-events: none;
}
.fab-bubble::after {
  content: ""; position: absolute; right: 14px; top: 100%;
  border: 6px solid transparent; border-top-color: #fff; border-right-color: #fff;
}
@keyframes bubbleBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.fab-badge {
  position: absolute; top: -4px; left: -4px; z-index: 4;
  background: var(--promo-grad); color: #fff; font-size: 12px; font-weight: 800;
  min-width: 21px; height: 21px; border-radius: 11px; display: grid; place-items: center; padding: 0 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}
.chat-panel {
  position: fixed; left: 0; right: 0; top: 0; z-index: var(--z-chat); background: #e9e2d6;
  height: 100dvh;
  display: flex; flex-direction: column;
  animation: sheetUp .3s cubic-bezier(.2, .9, .3, 1);
  will-change: transform, height; /* en iOS persigue al teclado via JS (chat.js) */
}
.chat-head {
  display: flex; align-items: center; gap: 11px; padding: 12px 14px;
  padding-top: calc(12px + env(safe-area-inset-top));
  background: linear-gradient(140deg, #141830, var(--night)); color: #fff;
}
.chat-back { font-size: 24px; padding: 10px 14px 10px 4px; color: #fff; cursor: pointer; }
.chat-x, .chat-expand {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .12); color: #fff;
  font-size: 17px; font-weight: 700; cursor: pointer;
  transition: background .15s ease;
}
.chat-x:hover, .chat-expand:hover { background: rgba(255, 255, 255, .22); }
.chat-expand { display: none; } /* solo tiene sentido en PC */
.chat-avatar {
  position: relative; overflow: hidden;
  width: 54px; height: 54px; border-radius: 50%; flex: none;
  background: var(--gold-grad); color: var(--night);
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 19px;
  box-shadow: 0 0 0 2.5px rgba(245, 217, 152, .6);
  border: none; padding: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.chat-avatar:hover { transform: scale(1.07); box-shadow: 0 0 0 3px var(--gold-soft); }
.chat-avatar img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%; z-index: 1;
}
.chat-avatar-letter { position: relative; }
.chat-id { flex: 1; min-width: 0; }
.chat-id strong { display: block; font-size: 15.5px; }
.chat-status { font-size: 12px; opacity: .8; display: flex; align-items: center; gap: 5px; }
.chat-status .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px #4ade80; }
.chat-msgs {
  flex: 1; overflow-y: auto; padding: 16px 12px; display: flex; flex-direction: column; gap: 8px;
  overscroll-behavior: contain;
  background-image: radial-gradient(rgba(23, 28, 54, .05) 1.4px, transparent 1.5px);
  background-size: 22px 22px;
}
.chat-msgs.no-anim .msg { animation: none; }
/* lightbox de la foto de la asesora */
.ava-lightbox {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(16, 20, 42, .78); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 24px;
  animation: fadeIn .2s ease; cursor: pointer;
}
.ava-card {
  position: relative; max-width: min(440px, 92vw);
  background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 3px var(--gold-soft);
  animation: sheetUp .3s cubic-bezier(.2, .9, .3, 1);
}
.ava-card img { width: 100%; max-height: 70vh; object-fit: cover; display: block; }
.ava-caption { padding: 14px 20px 18px; text-align: center; }
.ava-caption strong { font-family: var(--display); font-size: 20px; color: var(--night); display: block; }
.ava-caption span { font-size: 13.5px; color: var(--ink-soft); }
.ava-close {
  position: absolute; top: 12px; right: 12px; width: 42px; height: 42px;
  background: rgba(255, 255, 255, .92); border-radius: 50%;
  display: grid; place-items: center; font-size: 17px; font-weight: 700; color: var(--ink);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .3); cursor: pointer;
}
.msg {
  max-width: min(82%, 560px); padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08); white-space: pre-wrap; word-wrap: break-word;
  animation: msgIn .25s ease both;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg.in { align-self: flex-start; background: #fff; border-bottom-left-radius: 5px; }
.msg.out { align-self: flex-end; background: #d7f3e3; border-bottom-right-radius: 5px; }
.msg img { border-radius: 10px; margin-top: 4px; }
.msg .msg-time { display: block; font-size: 10.5px; color: rgba(32, 35, 58, .45); margin-top: 3px; text-align: right; }
.msg-typing { display: inline-flex; gap: 4px; padding: 13px 15px; }
.msg-typing i { width: 7px; height: 7px; border-radius: 50%; background: #b6b9c9; animation: blink 1.2s infinite; }
.msg-typing i:nth-child(2) { animation-delay: .2s; }
.msg-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.chat-note {
  align-self: center; background: rgba(23, 28, 54, .08); color: var(--ink-soft);
  font-size: 11.5px; padding: 5px 12px; border-radius: 99px; text-align: center; max-width: 90%;
}
.qr-row { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; max-width: 92%; }
.qr {
  background: #fff; border: 1.5px solid var(--wa); color: var(--wa-dark);
  border-radius: 99px; padding: 11px 15px; font-size: 13.5px; font-weight: 700;
  min-height: 44px; cursor: pointer;
  transition: background .18s ease;
}
.qr:hover, .qr:active { background: #eafaf1; }
.chat-inputbar {
  display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: #f2ecdf; border-top: 1px solid var(--line);
}
.chat-input {
  flex: 1; border: none; border-radius: 22px; background: #fff; padding: 12px 16px;
  font-size: 16px; font-family: inherit; resize: none; max-height: 110px; line-height: 1.4;
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow .2s ease;
}
.chat-input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.chat-send {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, #23c06a, #189a4f); color: #fff;
  display: grid; place-items: center; flex: none; cursor: pointer;
  transition: filter .18s ease, transform .18s ease;
}
.chat-send:hover { filter: brightness(1.08); transform: scale(1.05); }
.chat-send:disabled { background: #b8bcc9; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.revealed { opacity: 1; transform: none; }
.grid .pcard:nth-child(2), .acc-grid .acc-card:nth-child(2) { transition-delay: .07s; }
.grid .pcard:nth-child(3), .acc-grid .acc-card:nth-child(3) { transition-delay: .14s; }
.grid .pcard:nth-child(4) { transition-delay: .21s; }

/* ============ DESKTOP ============ */
@media (min-width: 1024px) {
  .topnav { display: flex; }
  .logo-tag { display: block; }
  .topbar-inner { padding: 8px 16px; }
  .zone-pill { margin-left: 0; }
}
@media (min-width: 760px) {
  .logo-text { font-size: 20px; }
  .hero { margin-top: -68px; padding-top: 68px; }
  .slide { grid-template-columns: 1.05fr 1fr; gap: 44px; padding: 64px 36px 72px; min-height: 500px; }
  .slide-media img { max-height: 420px; }
  .media-ribbon { right: 30px; bottom: 24px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
  .acc-grid { grid-template-columns: repeat(3, 1fr); }
  .acc-card { grid-template-columns: 1fr; }
  .acc-card .acc-imgwrap { aspect-ratio: 5 / 3.4; max-height: 170px; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .steps-row { flex-direction: row; gap: 8px; }
  .step-arrow { transform: none; }
  .steps-band { padding: 34px 32px 36px; }
  .footer-inner { grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; padding-top: 40px; }
  .sheet {
    left: 50%; right: auto; bottom: auto; top: 50%; transform: translate(-50%, -50%);
    width: min(560px, 92vw); border-radius: 24px; max-height: 86vh; max-height: 86dvh;
    animation: fadeIn .25s ease;
  }
  /* la ficha de producto: casi pantalla completa en PC */
  .sheet-lg {
    width: min(1150px, 95vw);
    max-height: 92vh; max-height: 92dvh;
    padding: 26px 34px calc(28px + env(safe-area-inset-bottom));
  }
  .prod-layout { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 30px; align-items: start; }
  .prod-media { position: sticky; top: 0; }
  .sheet-lg .prod-img { max-height: 72vh; object-fit: contain; background: #eef2f7; }
  .sheet-grip { display: none; }
  .drawer { width: 460px; box-shadow: var(--shadow-lg); height: 100vh; height: 100dvh; }
  .drawer-head { padding-top: 16px; }
  .chat-panel {
    inset: auto 24px 24px auto; width: 400px; height: min(660px, calc(100vh - 48px));
    border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
    transition: width .25s ease, height .25s ease;
  }
  .chat-head { padding-top: 12px; }
  .chat-expand { display: grid; }
  /* modo AMPLIADO: pantalla casi completa, centrado */
  .chat-panel.expanded {
    inset: 3vh 0 3vh 0; margin: 0 auto;
    width: min(1150px, 94vw); height: 94vh;
    border-radius: 22px;
  }
  .chat-panel.expanded .chat-msgs { padding: 22px 8%; }
}
@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); }
}
@media (max-width: 759px) {
  .chat-fab.mini .fab-bubble { display: none; } /* en el celu el globito se esconde a los segundos; las ondas siguen */
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .slide-media img, .blob, .deco, .map-pin-big { animation: none; }
  /* la cinta no se mueve sola: queda scrolleable a mano (JS no la anima, ver app.js) */
  .promo-track { animation: none; transform: none !important; }
  .promo-rail { overflow-x: auto; touch-action: auto; cursor: auto; }
  .fab-wave, .fab-bubble, .fab-core { animation: none; }
}

/* ============ ADJUNTOS DEL CHAT (v21): clip, mic y grabación ============ */
.chat-tool, .chat-mic {
  background: none; border: none; cursor: pointer; color: #5b6470;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
  transition: background .15s ease, color .15s ease;
}
.chat-tool:hover, .chat-mic:hover { background: rgba(18, 166, 86, .1); color: #12a656; }
.chat-tool[hidden], .chat-mic[hidden] { display: none; }
.rec-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: #fff; border-top: 1px solid var(--line);
}
.rec-bar[hidden] { display: none; }
.chat-panel.recording .chat-inputbar { display: none; }
.rec-dot { width: 12px; height: 12px; border-radius: 50%; background: #e5484d; animation: recPulse 1s ease-in-out infinite; }
@keyframes recPulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
#recTime { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--night); min-width: 38px; }
.rec-hint { font-size: 12.5px; color: #5b6470; flex: 1; }
.rec-cancel {
  background: none; border: none; cursor: pointer; font-size: 16px; color: #5b6470;
  width: 36px; height: 36px; border-radius: 50%;
}
.rec-cancel:hover { background: rgba(229, 72, 77, .12); color: #e5484d; }
.rec-send {
  background: linear-gradient(140deg, #34e186, #0d8a46); border: none; cursor: pointer;
  color: #fff; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: 0 4px 12px rgba(18, 166, 86, .4);
}
.msg audio { width: 240px; max-width: 100%; margin-top: 2px; }

/* ============ SUPER PROMO del hero (flyer de Daniela, v21) ============ */
.slide-kicker-hot {
  background: var(--gold-grad, linear-gradient(90deg, #f6c14d, #e9a13b));
  color: #171c36; font-weight: 900; letter-spacing: .4px;
}
.promo-flyer {
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  max-height: min(62vh, 560px);
  width: auto; max-width: 100%;
  object-fit: contain;
}

/* ============ TILDES DE ESTADO + "escribiendo…" (v22) ============ */
.msg-time .ticks {
  font-weight: 800; letter-spacing: -2px; margin-left: 1px;
  color: inherit; opacity: .8;
  transition: color .25s ease, opacity .25s ease;
}
.msg-time .ticks.st-read { color: #2f9de4; opacity: 1; }
.chat-status .dot.escribiendo { animation: dotPulse 1s ease-in-out infinite; }
@keyframes dotPulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* v23: formato del agente renderizado (negrita/links) */
.msg strong { font-weight: 800; }
.msg a { color: #0d6e3c; text-decoration: underline; word-break: break-all; }
.msg.out a { color: inherit; }

/* ============ v24: PASOS ANIMADOS ============ */
.step-num {
  position: relative;
  width: 62px; height: 62px; margin: 0 auto 14px;
}
.step-num::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 2px dashed rgba(233, 180, 76, .75);
  animation: ringSpin 16s linear infinite;
}
.step-num b { font-size: 24px; }
.step.revealed .step-num b { animation: stepPop .65s cubic-bezier(.3, 1.6, .5, 1) both; }
.step-ico {
  position: absolute; top: -12px; right: -14px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--night);
  border: 1px solid var(--line);
  box-shadow: 0 4px 10px rgba(23, 28, 54, .18);
}
.step-num.num-gold .step-ico { color: #9a6b12; }
.steps-row .step:nth-child(3) { transition-delay: .12s; }
.steps-row .step:nth-child(5) { transition-delay: .24s; }
.step-link {
  flex: 0 0 64px; height: 3px; align-self: flex-start; margin-top: 30px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--gold, #e9b44c) 0 9px, transparent 9px 18px);
  animation: linkFlow 1.1s linear infinite;
  display: none;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes stepPop { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.18); } 100% { transform: scale(1); opacity: 1; } }
@keyframes linkFlow { to { background-position: 18px 0; } }
@media (min-width: 760px) {
  .step-link { display: block; }
}

/* ============ v24: ESTAMPA GARANTÍA + SELLO DE PAGO ============ */
.head-catalogo { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.head-cat-txt { min-width: 260px; }
.sellos { display: flex; align-items: center; gap: 20px; }
.stamp {
  width: 132px; height: 132px; color: var(--night);
  opacity: .92;
  filter: drop-shadow(0 8px 18px rgba(23, 28, 54, .2));
  animation: stampFloat 6s ease-in-out infinite;
}
.stamp svg { width: 100%; height: 100%; }
.stamp-arc { font: 800 10px var(--body); letter-spacing: 2px; fill: currentColor; }
.stamp-big { font: 800 46px var(--display); fill: currentColor; }
.stamp-small { font: 800 13px var(--body); letter-spacing: 4.5px; fill: currentColor; }
.sello-pago {
  background: var(--gold-grad); color: var(--night);
  border-radius: 16px; padding: 14px 18px;
  text-align: center; transform: rotate(3deg);
  box-shadow: 0 12px 28px rgba(233, 180, 76, .4);
  animation: selloBob 5s ease-in-out infinite;
}
.sello-pago .sp-top { display: block; font-weight: 900; font-size: 16.5px; letter-spacing: .3px; }
.sello-pago .sp-sub { display: block; font-weight: 800; font-size: 12.5px; line-height: 1.2; margin-top: 2px; }
@keyframes stampFloat { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(-7deg) translateY(-7px); } }
@keyframes selloBob { 0%, 100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-5px); } }
@media (max-width: 759px) {
  .sellos { width: 100%; justify-content: center; margin-top: 4px; }
  .stamp { width: 106px; height: 106px; }
}
@media (prefers-reduced-motion: reduce) {
  .step-num::before, .step-link, .stamp, .sello-pago { animation: none; }
}

/* ============ v25: indicador de AUDIO + botón reiniciar ============ */
.msg-typing.is-audio { display: flex; align-items: center; gap: 7px; }
.typ-mic { color: #12a656; display: grid; place-items: center; animation: micPulse 1.1s ease-in-out infinite; }
@keyframes micPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(1.16); } }
.chat-head .chat-reset { width: 34px; height: 34px; color: #fff; opacity: .85; }
.chat-head .chat-reset:hover { opacity: 1; background: rgba(255, 255, 255, .16); }

/* v27: videos que manda la asesora dentro de la burbuja */
.msg video { width: 100%; max-width: 320px; border-radius: 12px; margin-top: 4px; background: #000; }


/* ============================================================
   CAPA DE MOVIMIENTO — Espacio Descanso
   Todo entra al hacer scroll. Respeta prefers-reduced-motion.
   ============================================================ */
@keyframes edReveal {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes edRevealScale {
  from { opacity: 0; transform: translateY(20px) scale(.965); }
  to   { opacity: 1; transform: none; }
}
@keyframes edSlideL {
  from { opacity: 0; transform: translateX(-34px); }
  to   { opacity: 1; transform: none; }
}
@keyframes edGlowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .34); }
  55%      { box-shadow: 0 0 0 16px rgba(220, 38, 38, 0); }
}
@keyframes edFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-11px) rotate(-.6deg); }
}
@keyframes edShine {
  from { background-position: -220% 0; }
  to   { background-position: 220% 0; }
}
@keyframes edCount {
  from { opacity: 0; transform: translateY(9px); }
  to   { opacity: 1; transform: none; }
}

/* elementos que esperan al scroll */
.reveal { opacity: 0; }
.reveal.in        { animation: edReveal .78s var(--ease-out) both; }
.reveal-scale.in  { animation: edRevealScale .8s var(--ease-out) both; }
.reveal-left.in   { animation: edSlideL .72s var(--ease-out) both; }
/* cascada: cada hijo entra un toque despues que el anterior */
.stagger.in > *          { animation: edRevealScale .68s var(--ease-out) both; }
.stagger.in > *:nth-child(1) { animation-delay: .04s }
.stagger.in > *:nth-child(2) { animation-delay: .10s }
.stagger.in > *:nth-child(3) { animation-delay: .16s }
.stagger.in > *:nth-child(4) { animation-delay: .22s }
.stagger.in > *:nth-child(5) { animation-delay: .28s }
.stagger.in > *:nth-child(6) { animation-delay: .34s }
.stagger.in > *:nth-child(7) { animation-delay: .40s }
.stagger.in > *:nth-child(8) { animation-delay: .46s }
.stagger.in > *:nth-child(n+9) { animation-delay: .52s }

/* el precio grande "cuenta" al aparecer */
.price-pop.in { animation: edCount .6s var(--ease-out) both; }

/* brillo que cruza el boton principal cada tanto */
.shine { position: relative; overflow: hidden; }
.shine::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.42) 50%, transparent 62%);
  background-size: 220% 100%;
  animation: edShine 4.6s var(--ease-soft) infinite;
}

/* levantar tarjeta al pasar el mouse — solo con mouse de verdad */
@media (hover: hover) and (pointer: fine) {
  .lift { transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
  .lift:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
  .lift img { transition: transform .6s var(--ease-out); }
  .lift:hover img { transform: scale(1.055); }
}

/* el CTA respira */
.pulse { animation: edGlowPulse 2.9s var(--ease-soft) infinite; }
/* la foto del hero flota */
.float { animation: edFloat 7.5s ease-in-out infinite; }

/* subrayado que se dibuja al entrar el titulo */
.underline-draw { position: relative; display: inline-block; }
.underline-draw::after {
  content: ""; position: absolute; left: 0; bottom: -.12em; height: .1em; width: 0;
  background: var(--gold-grad); border-radius: 4px;
  transition: width .85s var(--ease-out) .22s;
}
.underline-draw.in::after { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in, .reveal-scale.in, .reveal-left.in,
  .stagger.in > *, .price-pop.in { animation: none !important; opacity: 1 !important; transform: none !important; }
  .shine::after, .pulse, .float { animation: none !important; }
  .underline-draw::after { transition: none; width: 100%; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HERO PROPIO — el selector de medida
   Central del Descanso lidera con una promo en carrusel.
   Acá lidera la MEDIDA, que es como la gente busca colchón.
   ============================================================ */
.hero-ed { position: relative; padding: 72px 0 60px; overflow: hidden; }
.hero-ed-inner {
  position: relative; z-index: 2;
  width: min(1180px, 92vw); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 54px; align-items: center;
}
.hero-ed-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--gold-soft); background: rgba(248, 113, 113, .14);
  border: 1px solid rgba(248, 113, 113, .3);
  padding: 7px 14px; border-radius: 100px; margin-bottom: 20px;
}
.hero-ed-copy h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(38px, 5.6vw, 66px); line-height: 1.02;
  letter-spacing: -.03em; color: #fff; margin-bottom: 18px;
}
.hero-ed-copy h1 em {
  font-style: normal; color: var(--gold);
  background: var(--gold-grad); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-ed-sub {
  font-size: 17.5px; line-height: 1.62; color: rgba(255, 255, 255, .82);
  max-width: 46ch; margin-bottom: 24px;
}
.hero-ed-checks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.hero-ed-checks li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .93);
}
.hero-ed-checks .ic { color: var(--gold); }

/* la tarjeta del selector */
.hero-ed-picker {
  background: rgba(255, 255, 255, .97); border-radius: var(--r-lg);
  padding: 26px 26px 20px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .6);
}
.picker-title {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  color: var(--ink); margin-bottom: 16px; text-align: center;
}
.size-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.size-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 16px 8px 13px; border-radius: var(--r-sm);
  background: var(--paper); border: 2px solid var(--line);
  transition: transform .28s var(--ease-out), border-color .28s, box-shadow .28s;
}
.size-card b { font-family: var(--display); font-size: 14.5px; color: var(--ink); }
.size-cm { font-size: 11.5px; color: var(--ink-soft); }
.size-from {
  font-size: 11.5px; font-weight: 700; color: var(--promo);
  margin-top: 3px; min-height: 15px;
}
.size-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.size-card.is-on { border-color: var(--accent); background: #fff; box-shadow: var(--shadow); }
.size-card.size-featured { border-color: var(--gold); }
.size-flag {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: #fff; background: var(--promo-grad);
  padding: 3px 9px; border-radius: 100px; white-space: nowrap;
}
/* silueta de la cama, a escala real entre medidas */
.size-bed {
  display: block; background: linear-gradient(160deg, var(--night-3), var(--night));
  border-radius: 4px; margin-bottom: 7px; opacity: .88;
}
.size-1  { width: 20px; height: 30px; }
.size-15 { width: 25px; height: 30px; }
.size-2  { width: 34px; height: 30px; }
.size-q  { width: 39px; height: 31px; }
.size-k  { width: 44px; height: 31px; }
.size-sk { width: 48px; height: 31px; }
.size-card:hover .size-bed { opacity: 1; }

.picker-help {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 14px; padding: 11px;
  font-size: 13.5px; font-weight: 600; color: var(--accent);
  background: rgba(220, 38, 38, .07); border-radius: var(--r-sm);
  transition: background .25s;
}
.picker-help:hover { background: rgba(225, 29, 46, .10); }

@media (max-width: 900px) {
  .hero-ed { padding: 46px 0 40px; }
  .hero-ed-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-ed-copy h1 { font-size: clamp(32px, 8vw, 44px); }
  .hero-ed-sub { font-size: 16px; }
  .hero-ed-picker { padding: 20px 16px 16px; }
  .size-grid { gap: 8px; }
  .size-card { padding: 13px 5px 11px; }
}
@media (max-width: 380px) {
  .size-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   COMPARADOR TÉCNICO — la sección propia
   Datos reales del catálogo de fábrica. Barina no publica fichas,
   así que esto no existe en Central del Descanso.
   ============================================================ */
.comparador { width: min(1180px, 92vw); margin: 0 auto; padding: 68px 0 20px; }
.comp-wrap {
  overflow-x: auto; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow); margin-top: 26px;
}
.comp-table { width: 100%; border-collapse: collapse; min-width: 660px; }
.comp-table thead th {
  text-align: left; font-family: var(--display); font-size: 11.5px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft);
  padding: 16px 18px; background: var(--paper); border-bottom: 2px solid var(--line);
  white-space: nowrap;
}
.comp-table tbody th[scope="row"] {
  display: flex; align-items: center; gap: 13px; padding: 14px 18px; text-align: left;
  min-width: 260px;
}
.comp-table tbody th img {
  width: 62px; height: 46px; object-fit: cover; border-radius: 8px; flex: none;
  background: var(--paper);
}
.comp-table tbody th span { display: flex; flex-direction: column; gap: 2px; }
.comp-table tbody th b { font-family: var(--display); font-size: 15.5px; color: var(--ink); }
.comp-table tbody th small { font-size: 12px; color: var(--ink-soft); font-weight: 400; }
.comp-table td {
  padding: 14px 18px; font-size: 14.5px; color: var(--ink); vertical-align: middle;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.comp-table tbody tr:last-child td, .comp-table tbody tr:last-child th { border-bottom: none; }
.comp-table tbody tr { transition: background .25s; }
.comp-table tbody tr:hover { background: var(--paper); }
.comp-table tr.is-top { background: rgba(248, 113, 113, .07); }
.comp-table tr.is-top:hover { background: rgba(248, 113, 113, .12); }
.tag-tipo {
  display: inline-block; font-size: 11.5px; font-weight: 700; padding: 4px 11px;
  border-radius: 100px; letter-spacing: .02em;
}
.tag-espuma  { background: rgba(225, 29, 46, .10); color: var(--accent); }
.tag-resorte { background: rgba(248, 113, 113, .16); color: #B91C1C; }

.comp-guia {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 18px; margin-top: 26px;
}
.guia-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.guia-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.guia-ico {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--gold-grad); color: #fff; margin-bottom: 13px;
}
.guia-card h3 { font-family: var(--display); font-size: 17px; margin-bottom: 7px; color: var(--ink); }
.guia-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.comp-pie { text-align: center; margin-top: 24px; font-size: 15px; color: var(--ink-soft); }

@media (max-width: 700px) {
  .comparador { padding: 46px 0 12px; }
  .comp-table tbody th[scope="row"] { min-width: 210px; }
  .comp-table tbody th img { width: 48px; height: 36px; }
}


/* ============================================================
   CARRUSEL DE PROMOCIONES DEL HERO
   5 flyers armados con la foto real de cada modelo.
   Autoplay + fade + swipe. Se pausa si el visitante no quiere movimiento.
   ============================================================ */
.hero-ed-promos { position: relative; }
.promo-stage {
  position: relative; width: 100%; aspect-ratio: 1120 / 780;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--night);
}
.promo-slide {
  position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer;
  opacity: 0; transform: scale(1.04);
  transition: opacity .85s var(--ease-soft), transform 1.3s var(--ease-out);
}
.promo-slide.is-active { opacity: 1; transform: scale(1); z-index: 2; }
.promo-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-stage::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13); border-radius: var(--r-lg);
}
.promo-dots { display: flex; justify-content: center; gap: 9px; margin-top: 15px; }
.promo-dot {
  width: 28px; height: 5px; border-radius: 100px; border: 0; padding: 0;
  background: rgba(255, 255, 255, .34); cursor: pointer;
  transition: background .3s, width .3s var(--ease-out);
}
.promo-dot.is-on { background: #fff; width: 44px; }

/* la banda del selector, ahora fuera del hero */
.picker-band {
  width: min(1180px, 92vw); margin: -36px auto 0; position: relative; z-index: 5;
}
.picker-inner {
  background: var(--card); border-radius: var(--r-lg); padding: 24px 26px 20px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
@media (max-width: 900px) {
  .picker-band { margin-top: -22px; }
  .picker-inner { padding: 18px 15px 15px; }
}

/* ============================================================
   HERO NEGRO CON DEGRADÉS ROJOS + MÁS MOVIMIENTO
   El negro manda; el rojo entra por los bordes y las auroras.
   ============================================================ */
.hero, .hero-ed {
  background:
    radial-gradient(900px 520px at 88% 12%, rgba(225, 29, 46, .34), transparent 60%),
    radial-gradient(720px 480px at 8% 88%, rgba(165, 14, 28, .28), transparent 62%),
    radial-gradient(1000px 700px at 50% -10%, rgba(255, 90, 103, .12), transparent 65%),
    linear-gradient(155deg, #0B0B0D 0%, #14090C 42%, #2A1216 78%, #3A141A 100%);
}
/* auroras que se mueven despacio detrás del hero */
.hero-ed .blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
  will-change: transform;
}
.hero-ed .blob-a {
  width: 460px; height: 460px; top: -140px; right: -80px;
  background: radial-gradient(circle, rgba(225, 29, 46, .75), transparent 70%);
  animation: auroraA 17s var(--ease-soft) infinite alternate;
}
.hero-ed .blob-b {
  width: 380px; height: 380px; bottom: -130px; left: -70px;
  background: radial-gradient(circle, rgba(255, 90, 103, .5), transparent 70%);
  animation: auroraB 21s var(--ease-soft) infinite alternate;
}
@keyframes auroraA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-70px, 60px, 0) scale(1.18); }
}
@keyframes auroraB {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(80px, -50px, 0) scale(1.14); }
}

/* halo rojo que respira alrededor del carrusel.
   OJO: antes esto era un conic-gradient con .promo-stage > * { position: relative },
   y eso pisaba el position:absolute de los slides y rompia el apilado. No repetir. */
.promo-stage { position: relative; animation: haloRojo 3.6s var(--ease-soft) infinite; }
@keyframes haloRojo {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(225, 29, 46, .38); }
  55%      { box-shadow: var(--shadow-lg), 0 0 46px 6px rgba(225, 29, 46, .30); }
}
.promo-slide { z-index: 1; }
.promo-slide.is-active { z-index: 2; }
.promo-dots { position: relative; z-index: 3; }

/* el marquee, más ágil */
.marquee-track, .marquee span { animation-duration: 22s !important; }

/* las tarjetas del catálogo reaccionan más */
.pcard { transition: transform .42s var(--ease-out), box-shadow .42s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover { transform: translateY(-9px) scale(1.012); box-shadow: var(--shadow-lg); }
  .pcard:hover .pcard-imgwrap img { transform: scale(1.07); }
  .pcard-imgwrap img { transition: transform .7s var(--ease-out); }
  .size-card:hover { transform: translateY(-6px) scale(1.03); }
  .guia-card:hover .guia-ico { transform: rotate(-8deg) scale(1.08); }
  .guia-ico { transition: transform .4s var(--ease-out); }
}

/* el botón principal late y brilla */
.btn-promo {
  position: relative; overflow: hidden;
  animation: latido 2.6s var(--ease-soft) infinite;
}
@keyframes latido {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 46, .45); }
  60%      { box-shadow: 0 0 0 18px rgba(225, 29, 46, 0); }
}
.btn-promo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .38) 50%, transparent 60%);
  background-size: 250% 100%; animation: edShine 3.2s var(--ease-soft) infinite;
}

/* el revelado por scroll, más ágil */
.reveal.in       { animation-duration: .58s; }
.reveal-scale.in { animation-duration: .6s; }
.stagger.in > *  { animation-duration: .5s; }
.stagger.in > *:nth-child(1) { animation-delay: .02s }
.stagger.in > *:nth-child(2) { animation-delay: .06s }
.stagger.in > *:nth-child(3) { animation-delay: .10s }
.stagger.in > *:nth-child(4) { animation-delay: .14s }
.stagger.in > *:nth-child(5) { animation-delay: .18s }
.stagger.in > *:nth-child(6) { animation-delay: .22s }
.stagger.in > *:nth-child(n+7) { animation-delay: .26s }

/* el sello de garantía gira apenas */
.seal, .guarantee-seal { animation: edFloat 6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .hero-ed .blob, .promo-stage::before, .btn-promo, .btn-promo::after,
  .seal, .guarantee-seal { animation: none !important; }
}

/* ============================================================
   IDENTIDAD PROPIA — CAPAS Y ÁNGULOS
   Un colchón son capas apiladas. Ese es el motivo de la marca.
   Formas con esquina cortada, nunca círculos ni estrellas
   (eso es de la otra casa).
   ============================================================ */

/* ---- logo: tres capas apiladas ---- */
.logo-capas {
  display: flex; flex-direction: column; justify-content: center; gap: 3px;
  width: 40px; height: 40px; padding: 8px 7px; flex: none;
  background: linear-gradient(150deg, #17171B, #0B0B0D);
  border-radius: 11px 11px 11px 3px;      /* esquina cortada: la firma */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.logo-capas .cap { display: block; height: 4px; border-radius: 2px; }
.cap-1 { width: 100%; background: var(--promo); }
.cap-2 { width: 74%; background: #FF7A85; opacity: .9; }
.cap-3 { width: 46%; background: rgba(255, 255, 255, .5); }
.logo-capas-sm { width: 34px; height: 34px; padding: 7px 6px; gap: 2.5px; }
.logo-capas-sm .cap { height: 3px; }
@media (hover: hover) {
  .logo:hover .cap-1 { width: 46%; }
  .logo:hover .cap-3 { width: 100%; }
  .logo-capas .cap { transition: width .45s var(--ease-out); }
}

/* ---- barra de anuncio: negra, con datos separados ---- */
.announce {
  background: #0B0B0D; border-bottom: 1px solid rgba(225, 29, 46, .28);
  padding: 0; overflow: hidden;
}
.announce-run {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 0 26px; padding: 9px 18px;
  width: min(1180px, 94vw); margin-inline: auto;
}
.an-item {
  font-size: 12.5px; color: rgba(255, 255, 255, .62); letter-spacing: .01em;
  white-space: nowrap;
}
.an-item b { color: #fff; font-weight: 700; }
.an-sep { width: 5px; height: 5px; background: var(--promo); border-radius: 1px; transform: rotate(45deg); flex: none; }
@media (max-width: 780px) {
  .an-item:nth-child(n+5), .an-sep:nth-child(n+5) { display: none; }
  .announce-run { gap: 0 16px; }
}

/* ---- los 3 pasos: número grande, sin círculo ni línea punteada ---- */
.steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.stepx {
  position: relative; display: flex; align-items: flex-start; gap: 16px;
  padding: 24px 22px; background: var(--card);
  border: 1px solid var(--line); border-radius: 18px 18px 18px 4px;
  overflow: hidden; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.stepx::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--promo-grad);
}
.stepx:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stepx-n {
  font-family: var(--display); font-size: 46px; font-weight: 800; line-height: .9;
  letter-spacing: -.04em; color: transparent;
  -webkit-text-stroke: 2px rgba(225, 29, 46, .34);
  flex: none; transition: -webkit-text-stroke-color .4s;
}
.stepx:hover .stepx-n { -webkit-text-stroke-color: var(--promo); }
.stepx-body h3 { font-family: var(--display); font-size: 17.5px; margin-bottom: 5px; color: var(--ink); }
.stepx-body p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

/* ---- sello de garantía: bloque de capas, no un círculo ---- */
.gtia {
  position: relative; display: grid; grid-template-columns: auto 1fr;
  align-items: center; gap: 14px; padding: 16px 22px 16px 18px;
  background: linear-gradient(150deg, #17171B, #0B0B0D); color: #fff;
  border-radius: 16px 16px 16px 4px; box-shadow: var(--shadow);
}
.gtia::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 9px; height: 3px;
  background: linear-gradient(90deg, var(--promo) 0 34%, rgba(255,255,255,.28) 34% 62%, transparent 62%);
  border-radius: 2px;
}
.gtia-n {
  font-family: var(--display); font-size: 50px; font-weight: 800; line-height: .84;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gtia-txt { font-size: 13px; line-height: 1.28; color: rgba(255, 255, 255, .72); }
.gtia-txt b { color: #fff; font-family: var(--display); font-size: 15px; }
.gtia-pie {
  position: absolute; right: 20px; bottom: -9px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: var(--promo); padding: 3px 9px; border-radius: 4px 4px 4px 1px;
}

/* ---- etiqueta "no pagás nada": esquina cortada ---- */
.etq-pago {
  display: flex; flex-direction: column; gap: 2px; padding: 15px 20px;
  background: var(--promo-grad); color: #fff;
  border-radius: 14px 14px 14px 3px; box-shadow: 0 10px 26px -10px rgba(225, 29, 46, .7);
}
.etq-top { font-family: var(--display); font-weight: 800; font-size: 16.5px; letter-spacing: -.01em; }
.etq-sub { font-size: 12.5px; opacity: .92; }

/* ---- etiqueta PROMO (reemplaza la estrella) ---- */
.promo-tag {
  display: inline-block; font-family: var(--display); font-size: 11px; font-weight: 800;
  letter-spacing: .16em; color: var(--promo); background: #fff;
  padding: 5px 11px; border-radius: 5px 5px 5px 1px; margin-right: 12px;
  vertical-align: middle;
}

/* ---- navbar: barra oscura, no la píldora blanca ---- */
.topbar-inner {
  background: rgba(11, 11, 13, .90) !important;
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .09) !important;
  border-radius: 0 0 20px 20px !important;
  box-shadow: 0 10px 34px -14px rgba(0, 0, 0, .8) !important;
}
.topbar-inner::after {
  content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--promo) 22% 78%, transparent);
  opacity: .85;
}
.logo-text { color: #fff !important; }
.logo-tag { color: rgba(255, 255, 255, .5) !important; }
.topnav button { color: rgba(255, 255, 255, .82) !important; }
.topnav button:hover { color: #fff !important; }
.cart-btn { color: #fff !important; }

/* banda de promos: alineada a la izquierda, con etiqueta angular (sin estrella) */
.promo-band {
  display: flex; align-items: center; gap: 20px; text-align: left !important;
  padding: 24px 30px !important;
  background: linear-gradient(120deg, #0B0B0D 0%, #2A1216 55%, var(--promo-dark) 100%) !important;
  border-radius: 20px 20px 20px 5px !important;
}
.promo-band .promo-tag { flex: none; align-self: flex-start; margin: 2px 0 0; }
.promo-band-txt h2 { color: #fff; font-size: clamp(20px, 2.6vw, 28px); margin-bottom: 5px; text-align: left; }
.promo-band-txt p { color: rgba(255, 255, 255, .78); font-size: 14.5px; text-align: left; }
@media (max-width: 620px) {
  .promo-band { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px !important; }
}


/* ── botón del chat: la cara de Delfina, no un círculo de color ── */
.fab-core { overflow: hidden; }
.fab-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%; z-index: 1;
}
.fab-core .fab-chatico {
  position: absolute; right: -2px; bottom: -2px; z-index: 3;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--promo); border: 3px solid #fff;
}
.fab-core .fab-dot { z-index: 3; }
/* las ondas acompañan en rojo */
.fab-wave { border-color: rgba(225, 29, 46, .45) !important; }
