/* ============================================================================
   regalos.css — Landing de regalos empresariales (regalos.html).

   Página AUTOCONTENIDA: no depende de tienda.css ni de home.css, así se puede
   servir o migrar sola. Mantiene los colores del manual de marca de GLIDE
   (azul #004AAD + celeste #5DE0E6, Raleway títulos / Public Sans cuerpo).

   Objetivo 1: que mandar un WhatsApp sea lo más fácil de la página.
   Objetivo 2: llevar a la tienda a quien prefiere autogestionarse.
   Sin emojis: los iconos son SVG inline (regla del sitio).
   ============================================================================ */

:root {
  --azul: #004AAD;
  --azul-d: #00265C;
  --azul-l: #0B5FD0;
  --celeste: #5DE0E6;
  --celeste-d: #2BB6BD;

  --tinta: #053E5C;
  --tinta-2: #4A7A95;
  --tinta-3: #8FB0C2;

  --bg: #F4FAFD;
  --surface: #ffffff;
  --surface-2: #EFF7FC;
  --surface-3: #E4F0F8;
  --border: #D5E6F0;
  --border-2: #B8D2E0;

  --wa: #25D366;
  --wa-d: #128C7E;
  --wa-ink: #075E54;

  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --sh-sm: 0 1px 2px rgba(5, 62, 92, .05), 0 2px 8px rgba(5, 62, 92, .05);
  --sh: 0 2px 6px rgba(5, 62, 92, .06), 0 12px 30px rgba(5, 62, 92, .09);
  --sh-lg: 0 6px 16px rgba(5, 62, 92, .09), 0 26px 60px rgba(5, 62, 92, .16);

  --grad-azul: linear-gradient(150deg, #00265C 0%, #004AAD 48%, #0B5FD0 100%);
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.rg {
  margin: 0;
  font-family: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--tinta);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Raleway', system-ui, sans-serif;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0;
}
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(93, 224, 230, .4); }
:focus-visible { outline: 3px solid var(--celeste); outline-offset: 3px; border-radius: 6px; }

.rg-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.rg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones ---------- */
.rg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 1.6em; border: 0; border-radius: var(--r);
  font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 1rem;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, filter .18s ease;
}
.rg-btn:hover { transform: translateY(-2px); }
.rg-btn:active { transform: translateY(0); }
.rg-btn svg { flex: none; }

.rg-btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(37, 211, 102, .38); }
.rg-btn-wa:hover { background: #22c35e; box-shadow: 0 12px 30px rgba(37, 211, 102, .48); }

.rg-btn-xl { padding: 1.15em 2em; font-size: 1.12rem; border-radius: 16px; }
.rg-btn-sm { padding: .72em 1.05em; font-size: .92rem; border-radius: 11px; }
.rg-btn-block { display: flex; width: 100%; }

.rg-btn-celeste { background: var(--celeste); color: #06344F; box-shadow: 0 8px 22px rgba(93, 224, 230, .4); }
.rg-btn-celeste:hover { filter: brightness(1.05); }
.rg-btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.rg-btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.rg-btn-azul { background: var(--azul); color: #fff; box-shadow: 0 8px 22px rgba(0, 74, 173, .3); }
.rg-btn-azul:hover { background: var(--azul-l); }
.rg-btn-line { background: #fff; color: var(--azul); border: 1.5px solid var(--border); }
.rg-btn-line:hover { border-color: var(--azul); background: var(--surface-2); }

/* Anillo que late alrededor de los CTA de WhatsApp — atrae el ojo a la acción. */
.rg-pulse { position: relative; }
.rg-pulse::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  animation: rgPulse 2.4s cubic-bezier(.22, 1, .36, 1) infinite;
}
@keyframes rgPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================================
   Topbar
   ============================================================ */
.rg-top {
  position: sticky; top: 0; z-index: 60;
  background: rgba(0, 38, 92, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(93, 224, 230, .28);
}
.rg-top .rg-wrap { display: flex; align-items: center; gap: 14px; height: 62px; }
.rg-top .logo img { height: 26px; width: auto; }
.rg-top .sep { flex: 1; }
.rg-top .tel {
  display: inline-flex; align-items: center; gap: .5em; color: #fff; text-decoration: none;
  font-weight: 700; font-size: .95rem; opacity: .92;
}
.rg-top .tel:hover { opacity: 1; color: var(--celeste); }
@media (max-width: 620px) { .rg-top .tel span { display: none; } }

/* ============================================================
   Hero
   ============================================================ */
.rg-hero { position: relative; background: var(--grad-azul); color: #fff; overflow: hidden; }
.rg-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(48% 46% at 82% 8%, rgba(93, 224, 230, .40), transparent 62%),
    radial-gradient(42% 42% at 4% 96%, rgba(0, 20, 70, .6), transparent 64%);
}
/* Trama de puntos: da textura sin pesar. */
.rg-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, #000, transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 72%);
}
.rg-hero-in {
  position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) 20px clamp(48px, 6vw, 76px);
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 30px; align-items: center;
}
.rg-eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: 'Raleway', sans-serif; font-weight: 800; font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(93, 224, 230, .5);
  color: var(--celeste); padding: .55em 1.05em; border-radius: 999px; margin-bottom: 18px;
}
.rg-hero h1 {
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.15rem, 5.4vw, 3.9rem); margin-bottom: 16px;
}
/* Sin caja de fondo: en 2 líneas dejaba dos rectángulos desparejos. El color
   celeste + el halo ya destacan la promesa y el titular respira mejor. */
.rg-hero h1 .hl {
  color: var(--celeste);
  text-shadow: 0 0 34px rgba(93, 224, 230, .45);
}
.rg-lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); opacity: .93; max-width: 44ch; margin-bottom: 22px; }
.rg-lead b { color: #fff; font-weight: 800; }

.rg-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; max-width: 40rem; }
.rg-chip {
  font-family: 'Raleway', sans-serif; font-weight: 700; font-size: .86rem; color: #fff;
  padding: .48em 1em; border-radius: 999px;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .3);
  white-space: nowrap; display: inline-flex; align-items: center; gap: .45em;
}
.rg-chip.hot { background: var(--celeste); color: #06344F; border-color: transparent; }
.rg-chip svg { opacity: .85; }

.rg-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.rg-reply {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .93rem; opacity: .9; font-weight: 600;
}
.rg-reply .dot {
  width: 9px; height: 9px; border-radius: 50%; background: #4ADE80; flex: none;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: rgDot 2s ease-out infinite;
}
@keyframes rgDot {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); }
  70%  { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ---------- Lluvia de productos del hero ----------
   Cuatro columnas de burbujas deslizándose: las pares bajan, las impares suben,
   cada una a distinta velocidad. Muestra los 28 productos en movimiento en vez
   de 5 fijos, y solo anima `transform` (no toca el layout). */
.rg-flow {
  display: grid;
  /* Anchos desparejos a propósito: las columnas finas dan burbujas más chicas y
     el conjunto se lee con profundidad en vez de como una grilla prolija. */
  grid-template-columns: 1fr .84fr 1fr .88fr;
  gap: 14px;
  height: 500px; overflow: hidden; text-decoration: none;
  --g: 14px;               /* separación entre burbujas; la usa el keyframe */
  /* Fundido largo arriba y abajo: las burbujas cortadas por el borde se
     desvanecen del todo en vez de quedar como medias lunas. */
  mask-image: linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent);
}
.rg-col { display: block; overflow: hidden; align-self: start; }
/* Las columnas del medio arrancan corridas: rompe la grilla y se ve más suelto. */
.rg-col:nth-child(2) { margin-top: 34px; }
.rg-col:nth-child(4) { margin-top: 18px; }
/* Las finas van un poco atrás, como si estuvieran más lejos. */
.rg-col:nth-child(2), .rg-col:nth-child(4) { opacity: .84; }
.rg-col-in {
  display: flex; flex-direction: column; gap: var(--g);
  animation: rgFlowUp var(--dur, 30s) linear infinite;
  will-change: transform;
}
.rg-col.rev .rg-col-in { animation-name: rgFlowDown; }
.rg-flow .bub { flex: none; width: 100%; animation: none; }
.rg-flow:hover .rg-col-in { animation-play-state: paused; }

/* El desplazamiento de un ciclo NO es -50%.
   Con N burbujas duplicadas a 2N, el alto es  H = 2N·b + (2N-1)·g  (hay un hueco
   menos que elementos), mientras que un ciclo mide  P = N·(b+g).
   O sea H/2 = P - g/2, y quedarse en -50% deja media separación de más: el salto
   se ve en cada vuelta. Corriendo -50% - g/2 cierra exacto con cualquier tamaño. */
@keyframes rgFlowUp {
  from { transform: translateY(0); }
  to   { transform: translateY(calc(-50% - var(--g) / 2)); }
}
@keyframes rgFlowDown {
  from { transform: translateY(calc(-50% - var(--g) / 2)); }
  to   { transform: translateY(0); }
}

/* ---------- La burbuja (vidrio) ---------- */
.bub {
  position: relative; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .98), rgba(233, 246, 252, .94) 46%, rgba(196, 228, 245, .86) 100%);
  box-shadow:
    inset 0 -20px 36px rgba(0, 74, 173, .10),
    inset 0 14px 26px rgba(255, 255, 255, .95),
    0 20px 44px rgba(0, 18, 55, .3);
  animation: rgFloat var(--fd, 6s) ease-in-out var(--fdl, 0s) infinite;
  will-change: transform;
}
/* Brillo especular arriba a la izquierda. */
.bub::before {
  content: ''; position: absolute; left: 14%; top: 9%; width: 30%; height: 22%;
  border-radius: 50%; background: linear-gradient(140deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0));
  transform: rotate(-18deg); pointer-events: none;
}
/* Absoluta y con caja explícita, a propósito:
   - En flujo, `height: 74%` se resolvía contra una fila de alto indefinido, la
     imagen caía a su alto intrínseco y estiraba la burbuja en óvalo.
   - Con `inset` pero `width/height: auto` tampoco alcanza: en un elemento
     reemplazado los insets no estiran, se queda en su tamaño intrínseco y se
     desborda del círculo.
   Posicionada en absoluto, los % SÍ resuelven contra la burbuja (alto definido
   por aspect-ratio), así que la caja queda cuadrada y object-fit hace el resto. */
.bub img {
  position: absolute; left: 13%; top: 13%;
  width: 74%; height: 74%; object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 30, 70, .26));
  transition: transform .3s ease;
}
@keyframes rgFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(-1.4deg); }
}

/* ============================================================
   Barra de confianza / marcas
   ============================================================ */
.rg-trust { background: var(--surface); padding: 30px 0 26px; border-bottom: 1px solid var(--border); }
.rg-trust .k {
  text-align: center; color: var(--tinta-3); font-weight: 700;
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px;
}
.rg-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.rg-marquee-track {
  display: flex; gap: 26px; width: max-content; align-items: center;
  animation: rgScroll 36s linear infinite;
}
.rg-marquee:hover .rg-marquee-track { animation-play-state: paused; }
/* Todos los logos vienen en un lienzo 300x100, así que fijar la altura alcanza:
   quedan del mismo ancho y con el mismo aire. El gap es chico a propósito
   porque el lienzo ya trae su propio margen. */
.rg-marquee img {
  height: 46px; width: 138px; object-fit: contain;
  filter: grayscale(1); opacity: .62; transition: .25s;
}
.rg-marquee img:hover { filter: none; opacity: 1; }
@keyframes rgScroll { to { transform: translateX(-50%); } }

/* ============================================================
   Secciones
   ============================================================ */
/* scroll-margin: la topbar es sticky, sin esto el titular queda tapado al
   saltar desde "Ver los productos" o desde el contador flotante. */
.rg-sec { padding: clamp(52px, 7vw, 90px) 0; scroll-margin-top: 78px; }
.rg-sec-alt { background: var(--surface); }
.rg-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(30px, 4vw, 46px); }
.rg-head .eyebrow {
  display: inline-block; font-family: 'Raleway', sans-serif; font-weight: 800;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--celeste-d);
  margin-bottom: 12px;
}
.rg-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.7rem); font-weight: 800; margin-bottom: 12px; }
.rg-head p { color: var(--tinta-2); font-size: 1.05rem; }

/* ---------- Filtros por categoría ----------
   Con 28 productos la grilla sin filtro es un muro: nadie llega al final. */
.rg-filtros {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 9px;
  margin: 0 auto clamp(24px, 3vw, 34px); max-width: 54rem;
}
.rg-filtro {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .6em 1.15em; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--border); color: var(--tinta-2);
  font-family: 'Raleway', sans-serif; font-weight: 800; font-size: .92rem;
  transition: .16s ease;
}
.rg-filtro:hover { border-color: var(--celeste-d); color: var(--azul); transform: translateY(-1px); }
.rg-filtro .n {
  background: var(--surface-3); color: var(--tinta-2); border-radius: 999px;
  font-size: .76rem; padding: .1em .55em; transition: .16s ease;
}
.rg-filtro[aria-selected="true"] {
  background: var(--azul); border-color: var(--azul); color: #fff;
  box-shadow: 0 6px 18px rgba(0, 74, 173, .28);
}
.rg-filtro[aria-selected="true"] .n { background: rgba(255, 255, 255, .22); color: #fff; }

/* ---------- Grilla de productos ---------- */
.rg-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
}
.rg-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 18px 18px 20px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--sh-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.rg-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: rgba(93, 224, 230, .7); }
.rg-card:hover .bub img { transform: scale(1.06); }
.rg-card.on { border-color: var(--celeste-d); box-shadow: 0 0 0 3px rgba(93, 224, 230, .28), var(--sh); }

.rg-card .bub {
  width: 100%; max-width: 210px; margin: 0 auto;
  background: radial-gradient(circle at 32% 24%, #fff, #EAF5FB 48%, #D3E9F6 100%);
  box-shadow: inset 0 -16px 30px rgba(0, 74, 173, .08), inset 0 12px 22px rgba(255, 255, 255, .9), 0 14px 30px rgba(0, 40, 92, .14);
}
.rg-card .tag {
  align-self: flex-start;
  font-family: 'Raleway', sans-serif; font-weight: 800; font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--surface-2); color: var(--azul); border: 1px solid var(--border);
  padding: .42em .8em; border-radius: 999px;
}
.rg-card h3 { font-size: 1.13rem; font-weight: 800; }
.rg-card .desc { color: var(--tinta-2); font-size: .93rem; flex: 1; }
.rg-card .acts { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }

/* Toggle "sumar al pedido" — alimenta el armador de mensaje. */
.rg-add {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1em; border-radius: 11px; cursor: pointer;
  background: #fff; border: 1.5px dashed var(--border-2); color: var(--tinta-2);
  font-family: 'Raleway', sans-serif; font-weight: 800; font-size: .9rem;
  transition: .18s ease;
}
.rg-add:hover { border-color: var(--celeste-d); color: var(--azul); background: var(--surface-2); }
.rg-add .ck { display: none; }
.rg-card.on .rg-add { background: var(--celeste); border-color: transparent; border-style: solid; color: #06344F; }
.rg-card.on .rg-add .ck { display: inline-flex; }
.rg-card.on .rg-add .pl { display: none; }

/* ============================================================
   Armador de mensaje — el centro de conversión de la página
   ============================================================ */
.rg-builder { background: var(--grad-azul); color: #fff; position: relative; overflow: hidden; }
.rg-builder::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46% 50% at 90% 4%, rgba(93, 224, 230, .34), transparent 62%);
}
.rg-builder .rg-head { color: #fff; }
.rg-builder .rg-head .eyebrow { color: var(--celeste); }
.rg-builder .rg-head p { color: rgba(255, 255, 255, .88); }

.rg-build-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: start;
}
.rg-panel {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-xl); padding: clamp(20px, 3vw, 30px);
  backdrop-filter: blur(6px);
}
.rg-step { margin-bottom: 22px; }
.rg-step:last-child { margin-bottom: 0; }
.rg-step-h {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 1.02rem;
}
.rg-step-h .n {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--celeste); color: #06344F;
  display: grid; place-items: center; font-size: .84rem; font-weight: 800;
}
.rg-opts { display: flex; flex-wrap: wrap; gap: 9px; }
.rg-opt {
  padding: .58em 1.05em; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .3); color: #fff;
  font-family: 'Raleway', sans-serif; font-weight: 700; font-size: .9rem;
  transition: .16s ease;
}
.rg-opt:hover { background: rgba(255, 255, 255, .2); transform: translateY(-1px); }
.rg-opt[aria-pressed="true"] { background: var(--celeste); border-color: transparent; color: #06344F; }
.rg-opt svg { vertical-align: -2px; opacity: .8; }
/* Chip de producto ya elegido: la equis avisa que se toca para sacarlo. */
.rg-opt.on { padding-right: .8em; }
.rg-opt.on svg { opacity: .55; margin-left: .15em; }
.rg-opt.on:hover { background: #fff; }
.rg-hint { font-size: .88rem; color: rgba(255, 255, 255, .78); margin: 10px 0 10px; }
.rg-input {
  width: 100%; padding: .85em 1.05em; border-radius: 12px;
  background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .3);
  color: #fff; font-size: 1rem; font-family: inherit;
}
.rg-input::placeholder { color: rgba(255, 255, 255, .55); }
.rg-input:focus { background: rgba(255, 255, 255, .16); border-color: var(--celeste); outline: none; }

/* ---------- Vista previa estilo WhatsApp ---------- */
.rg-preview { position: sticky; top: 82px; }
.rg-phone {
  background: #EFE7DE; border-radius: 24px; padding: 14px;
  box-shadow: var(--sh-lg); border: 6px solid #0C2340;
}
.rg-phone-top {
  display: flex; align-items: center; gap: 10px; padding: 4px 4px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, .08); margin-bottom: 12px;
}
.rg-phone-top .av {
  width: 38px; height: 38px; border-radius: 50%; flex: none; background: var(--azul);
  display: grid; place-items: center; padding: 7px;
}
.rg-phone-top .av img { width: 100%; height: 100%; object-fit: contain; }
.rg-phone-top .who { line-height: 1.25; }
.rg-phone-top .who b { display: block; color: #111B21; font-size: .95rem; font-family: 'Raleway', sans-serif; }
.rg-phone-top .who span { font-size: .78rem; color: #667781; }
.rg-msg {
  background: #D9FDD3; border-radius: 14px 4px 14px 14px; padding: 10px 12px 6px;
  color: #111B21; font-size: .9rem; line-height: 1.5; white-space: pre-wrap;
  word-break: break-word; box-shadow: 0 1px 1px rgba(0, 0, 0, .12);
  max-height: 340px; overflow-y: auto;
}
.rg-msg .meta {
  display: flex; align-items: center; justify-content: flex-end; gap: 4px;
  font-size: .68rem; color: #667781; margin-top: 2px;
}
.rg-msg .meta svg { color: #53BDEB; }
.rg-send-note { text-align: center; font-size: .86rem; color: rgba(255, 255, 255, .8); margin-top: 12px; }

/* ============================================================
   Beneficios / pasos / FAQ
   ============================================================ */
.rg-bens { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.rg-ben {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px 20px; box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.rg-ben:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.rg-ben .ic {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--azul), var(--azul-l)); color: #fff; margin-bottom: 14px;
}
.rg-ben h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.rg-ben p { color: var(--tinta-2); font-size: .93rem; }

.rg-steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); counter-reset: s; }
.rg-stepc { position: relative; padding: 24px 20px; background: var(--surface-2); border-radius: var(--r-lg); border: 1px solid var(--border); }
.rg-stepc .n {
  width: 38px; height: 38px; border-radius: 50%; background: var(--celeste); color: #06344F;
  display: grid; place-items: center; font-family: 'Raleway', sans-serif; font-weight: 800;
  font-size: 1.05rem; margin-bottom: 12px;
}
.rg-stepc h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.rg-stepc p { color: var(--tinta-2); font-size: .93rem; }

.rg-faq { max-width: 46rem; margin: 0 auto; display: grid; gap: 10px; }
.rg-faq-i { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.rg-faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 16px 18px; font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.rg-faq-q .chev { transition: transform .22s ease; color: var(--tinta-3); flex: none; }
.rg-faq-i.on .rg-faq-q .chev { transform: rotate(180deg); }
.rg-faq-a { display: none; padding: 0 18px 18px; color: var(--tinta-2); font-size: .95rem; }
.rg-faq-i.on .rg-faq-a { display: block; }

/* ---------- Banda tienda (objetivo 2) ---------- */
.rg-shop {
  background: linear-gradient(135deg, #EAF6FC 0%, #DCEFFA 100%);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: clamp(26px, 4vw, 42px); display: grid; grid-template-columns: 1.3fr .7fr;
  gap: 24px; align-items: center;
}
.rg-shop h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 800; margin-bottom: 10px; }
.rg-shop p { color: var(--tinta-2); margin-bottom: 18px; max-width: 46ch; }
.rg-shop .mini { display: flex; gap: 10px; justify-content: center; }
.rg-shop .mini .bub { width: 84px; }

/* ---------- CTA final ---------- */
.rg-final { background: var(--grad-azul); color: #fff; text-align: center; position: relative; overflow: hidden; }
.rg-final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 50% 0%, rgba(93, 224, 230, .3), transparent 60%);
}
.rg-final .rg-wrap { position: relative; z-index: 2; padding-top: clamp(52px, 7vw, 84px); padding-bottom: clamp(52px, 7vw, 84px); }
.rg-final h2 { font-size: clamp(1.85rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; margin-bottom: 14px; }
.rg-final p { opacity: .92; max-width: 44ch; margin: 0 auto 26px; font-size: 1.05rem; }
.rg-final .rg-hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.rg-foot { background: #04203F; color: rgba(255, 255, 255, .72); padding: 32px 0; font-size: .9rem; }
.rg-foot .rg-wrap { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.rg-foot a { color: var(--celeste); text-decoration: none; }
.rg-foot a:hover { text-decoration: underline; }
.rg-foot .links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ============================================================
   WhatsApp siempre a mano
   ============================================================ */
/* Escritorio: botón flotante con etiqueta. */
.rg-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  display: inline-flex; align-items: center; gap: .6em;
  background: var(--wa); color: #fff; text-decoration: none;
  padding: 1em 1.35em; border-radius: 999px;
  font-family: 'Raleway', sans-serif; font-weight: 800;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.rg-fab:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 38px rgba(37, 211, 102, .55); }

/* Móvil: barra fija abajo, siempre visible. */
.rg-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border); box-shadow: 0 -6px 24px rgba(5, 62, 92, .12);
  gap: 10px; align-items: center;
}
.rg-bar .rg-btn-wa { flex: 1; }
.rg-bar .shop {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--azul);
  text-decoration: none;
}

/* Contador flotante: aparece al elegir productos y lleva al armador. */
.rg-cart {
  position: fixed; left: 50%; transform: translate(-50%, 26px); bottom: 22px; z-index: 69;
  display: inline-flex; align-items: center; gap: .7em;
  background: #0C2340; color: #fff; text-decoration: none;
  padding: .85em 1.3em; border-radius: 999px; box-shadow: var(--sh-lg);
  font-family: 'Raleway', sans-serif; font-weight: 800; font-size: .95rem;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.rg-cart.on { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.rg-cart .n {
  background: var(--celeste); color: #06344F; border-radius: 999px;
  min-width: 24px; height: 24px; padding: 0 7px; display: grid; place-items: center; font-size: .84rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .rg-hero-in { grid-template-columns: 1fr; gap: 6px; }
  .rg-flow { order: -1; height: 340px; margin-bottom: 8px; }
  .rg-build-grid { grid-template-columns: 1fr; }
  .rg-preview { position: static; }
  .rg-shop { grid-template-columns: 1fr; text-align: center; }
  .rg-shop p { margin-left: auto; margin-right: auto; }
  .rg-shop .rg-hero-ctas { justify-content: center; }
}

@media (max-width: 780px) {
  .rg-fab { display: none; }
  .rg-bar { display: flex; }
  /* Espacio para que la barra no tape el final de la página. */
  body.rg { padding-bottom: 76px; }
  .rg-cart { bottom: 86px; }
}

@media (max-width: 560px) {
  /* ---- Ritmo general: menos aire, más contenido por pantalla ---- */
  .rg-sec { padding: 42px 0; }
  .rg-head { margin-bottom: 24px; }
  .rg-head h2 { font-size: 1.6rem; }
  .rg-head p { font-size: .95rem; }
  .rg-wrap { padding: 0 14px; }

  /* ---- Hero ----
     El racimo empujaba el CTA a y=796 en una pantalla de 844, justo debajo de
     la barra fija (y=773): quedaba tapado al abrir. Se achica el racimo y se
     aprietan los márgenes para que el botón entre en la primera pantalla. */
  .rg-hero-in { padding-top: 20px; padding-bottom: 30px; }
  .rg-flow { height: 250px; grid-template-columns: 1fr .86fr 1fr; gap: 10px; margin-bottom: 2px; --g: 10px; }
  /* La cuarta columna no entra a lo ancho en un teléfono. */
  .rg-flow .rg-col:nth-child(4) { display: none; }
  .rg-eyebrow { margin-bottom: 12px; font-size: .7rem; }
  .rg-hero h1 { font-size: clamp(1.9rem, 8.4vw, 2.5rem); margin-bottom: 12px; }
  .rg-lead { font-size: 1rem; margin-bottom: 14px; }
  .rg-chips { gap: 7px; margin-bottom: 16px; }
  .rg-chip { font-size: .8rem; padding: .42em .85em; }
  /* CTAs a todo el ancho: el pulgar no falla y el verde pesa más. */
  .rg-hero-ctas { gap: 10px; }
  .rg-hero-ctas .rg-btn { flex: 1 1 100%; }
  .rg-btn { padding: .9em 1.1em; font-size: .94rem; }
  .rg-btn-xl { padding: 1em 1.2em; font-size: 1.02rem; }

  /* ---- Marcas ---- */
  .rg-trust { padding: 22px 0 20px; }
  .rg-marquee img { height: 34px; width: 102px; }
  .rg-marquee-track { gap: 16px; }

  /* ---- Filtros ---- */
  .rg-filtros { gap: 6px; margin-bottom: 18px; }
  .rg-filtro { font-size: .82rem; padding: .5em .8em; gap: .35em; }
  .rg-filtro .n { font-size: .68rem; }

  /* ---- Tarjetas de producto ---- */
  .rg-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rg-card { padding: 10px 10px 12px; border-radius: 18px; gap: 8px; }
  /* La burbuja se comía media pantalla por tarjeta. */
  .rg-card .bub { max-width: 124px; }
  .rg-card .tag { font-size: .58rem; padding: .36em .6em; }
  /* min-height empareja los títulos de 1 y 2 líneas: las filas dejan de bailar. */
  .rg-card h3 { font-size: .92rem; min-height: 2.3em; }
  .rg-card .desc {
    font-size: .78rem; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .rg-card .acts { gap: 6px; }
  /* nowrap: "Pedir precio" se partía en 2 líneas y el botón quedaba de 74px. */
  .rg-card .rg-btn-sm,
  .rg-card .rg-add { white-space: nowrap; font-size: .82rem; padding: .68em .5em; gap: .35em; }
  .rg-card .rg-btn-sm svg { width: 15px; height: 15px; }

  /* ---- Armador ---- */
  .rg-panel { padding: 16px 14px; border-radius: 20px; }
  .rg-step { margin-bottom: 18px; }
  .rg-step-h { font-size: .95rem; }
  .rg-opt { font-size: .84rem; padding: .5em .85em; }
  .rg-opts { gap: 7px; }
  .rg-phone { padding: 10px; border-radius: 20px; }

  /* ---- Resto ---- */
  .rg-ben, .rg-stepc { padding: 16px 14px; }
  .rg-faq-q { padding: 13px 14px; font-size: .94rem; }
  .rg-final h2 { font-size: 1.75rem; }
  .rg-foot .rg-wrap { justify-content: flex-start; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bub, .rg-marquee-track, .rg-col-in, .rg-pulse::after, .rg-reply .dot { animation: none !important; }
  .rg-btn:hover, .rg-card:hover, .rg-ben:hover { transform: none; }
}
