/* ============================================================
   NeuroNet · Home (rediseño) — css/home-redesign.css
   Se carga SOLO en index.html y DESPUÉS de css/styles.css.
   · Prefijo rd- en todo selector nuevo (evita colisiones con styles.css)
   · BEM: .rd-hero__title, .rd-techos__item, .rd-puertas__item--growth
   · Mobile-first · breakpoints 700px / 1024px / 1360px
     (900px o 1200px solo cuando una sección concreta lo necesite)
   · Reutiliza los tokens de :root de styles.css (--bg, --card, --gold,
     --text…, --serif / --sans / --mono); tokens nuevos solo si hacen falta
   · Cache-busting: subir el ?v= de este archivo en index.html al tocarlo
   Estado, orden de secciones y decisiones: docs/home-redesign.md
   ============================================================ */

/* ---------- Tokens propios de la home ----------
   Solo valores que no existen en :root. --rd-nav-h es el hueco que deja
   el nav fijo (píldora): 72px en móvil, 88px desde 1024px. */
.home-rd {
  --rd-nav-h: 72px;
}
@media (min-width: 1024px) {
  .home-rd { --rd-nav-h: 88px; }
}

/* ---------- Base de las secciones nuevas ----------
   Cada <section> nueva lleva .rd-section + su clase propia:
   <section class="rd-section rd-hero" id="…">. Así sus anclas quedan
   por debajo del nav fijo. .rd-ancla es para anclas internas (p. ej. los
   destinos de "VER SOLUCIONES"). Todavía sin estilos visuales. */
.home-rd .rd-section,
.home-rd .rd-ancla {
  scroll-margin-top: var(--rd-nav-h);
}

/* ---------- Nav · overrides solo en la home ----------
   La referencia integra el nav con el fondo: sin píldora, sin borde ni
   cristal, a todo el ancho y alineado con .container. main.js sigue
   controlando .nav__burger / #menu-movil y Cal.com sigue en .nav__cta. */
.home-rd .nav {
  top: 0; left: 0;
  width: 100%;
  padding: 22px 22px 18px;
  border: 0; border-radius: 0; box-shadow: none;
  background: linear-gradient(180deg, rgba(6, 4, 11, 0.92) 0%, rgba(6, 4, 11, 0.55) 62%, rgba(6, 4, 11, 0) 100%);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transform: none; animation: none;
}
.home-rd .nav__brand-name {
  display: inline;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--text);
}
@media (min-width: 1024px) {
  .home-rd .nav { padding: 24px max(40px, calc((100% - 1280px) / 2)) 20px; }
  .home-rd .nav__links { gap: 34px; }
  .home-rd .nav__links a { font-size: 14px; color: #b9b4c4; }
  .home-rd .nav__links a:hover { color: var(--text); }
  .home-rd .nav__cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--rd-gold-btn);
    padding: 11px 20px;
    font-size: 13.5px; font-weight: 600;
  }
}

/* ============================================================
   01 · HERO (.rd-hero) — desktop aprobado (2026-09-25)
   Referencia: captura aprobada 2026-09-25 (desktop 1440–1920).
   Composición ~55 % texto / 45 % visual. La esfera se dibuja en canvas
   (home-redesign.js) sobre un fallback CSS (.rd-hero__sphere) sin JS.
   ============================================================ */
.home-rd {
  --rd-gold: #b9a6ff;      /* dorado del titular y detalles: la referencia es algo más claro que --gold */
  --rd-gold-btn: #b9a6ff;  /* fondo del CTA principal: dorado suave, no amarillo saturado */
  --rd-ink: #0b0814;       /* texto sobre dorado */
}
.rd-hero {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;
  padding-top: var(--rd-nav-h);
  background-color: #06040b;
  background-image:
    radial-gradient(52% 58% at 79% 50%, rgba(74, 46, 132, 0.28), transparent 70%),
    radial-gradient(44% 52% at 58% 0%, rgba(54, 34, 96, 0.20), transparent 72%),
    radial-gradient(28% 34% at 100% 94%, rgba(112, 72, 72, 0.16), transparent 72%);
  color: var(--text);
}

/* --- Visual derecho: esfera --- */
.rd-hero__visual {
  position: absolute; z-index: 0;
  top: 50%; left: 79vw;
  width: 72vw; aspect-ratio: 1;   /* la esfera ocupa 40vw (S / 1.8); el resto es sitio para órbitas y halo */
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.rd-hero__sphere {                /* fallback sin JS: cuerpo + borde iluminado */
  position: absolute; left: 50%; top: 50%;
  width: 55.56%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #160f28 0%, #090612 55%, #030205 100%);
  box-shadow: inset 2px -3px 16px rgba(190, 150, 255, 0.35), 0 0 65px 8px rgba(96, 58, 168, 0.18);
}
.rd-hero__visual--canvas .rd-hero__sphere { display: none; }
.rd-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* --- Contenido --- */
.rd-hero__inner {
  position: relative; z-index: 1;
  flex: 1;
  display: flex; align-items: center;
  width: 100%;
  padding-block: 24px;
}
.rd-hero__content { max-width: 56%; }
.rd-hero__eyebrow {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 30px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8b8692;
}
.rd-hero__eyebrow-line { width: 32px; height: 1px; background: var(--rd-gold); flex-shrink: 0; }
.rd-hero__title {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(40px, 5.35vw, 88px);
  line-height: 0.9; letter-spacing: -0.025em;
  color: #f7f6f9;
}
.rd-hero__title-em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 0.97em; letter-spacing: 0;
  color: var(--rd-gold);
}
.rd-hero__lead {
  max-width: 460px;
  margin-top: 30px;
  font-size: 19px; line-height: 1.55;
  color: #b5b2bd;
}
.rd-hero__actions {
  display: flex; align-items: center; flex-wrap: wrap; gap: 20px 36px;
  margin-top: 24px;
}
.rd-hero__cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 34px;
  border-radius: 999px;
  background: var(--rd-gold-btn);
  color: var(--rd-ink);
  font-size: 16px; font-weight: 500;
  transition: filter .18s ease;
}
.rd-hero__cta:hover { filter: brightness(1.06); }
.rd-hero__link {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rd-gold);
  color: #ececef;
  font-size: 16px; font-weight: 500;
  transition: color .18s ease;
}
.rd-hero__link:hover { color: #fff; }

/* --- Franja inferior: metadata + indicador de scroll --- */
.rd-hero__foot {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start;
  width: 100%;
  column-gap: 40px;
  padding-bottom: 26px;
}
.rd-hero__meta {
  padding-top: 30px;
  border-top: 1px solid rgba(244, 241, 248, 0.18);
  font-size: 12px; color: #8f8a99;
}
.rd-hero__meta--left {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
}
.rd-hero__meta--right {
  display: flex; justify-content: flex-end; gap: 12px;
  font-size: 13px; color: #9a95a3;
}
.rd-hero__meta--right span + span::before { content: '/'; margin-right: 12px; color: #6f6880; }
.rd-hero__scroll {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin-top: -18px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #a9a5b0;
}
.rd-hero__scroll-line { width: 1px; height: 34px; background: rgba(244, 241, 248, 0.5); }
.rd-hero__scroll-dot { width: 5px; height: 5px; border-radius: 50%; background: #f4f1f8; }

/* --- Por debajo de 1024px: solo que no se rompa (responsive fino: tarea aparte) --- */
@media (max-width: 1023px) {
  .rd-hero__inner { align-items: flex-start; padding-block: 24px 32px; }
  .rd-hero__content { max-width: 100%; }
  .rd-hero__visual { top: 42%; left: 88vw; width: 130vw; opacity: 0.75; }
  .rd-hero__lead { font-size: 17px; }
  .rd-hero__foot { grid-template-columns: 1fr; row-gap: 14px; }
  .rd-hero__scroll { display: none; }
  .rd-hero__meta--right { justify-content: flex-start; flex-wrap: wrap; padding-top: 0; border-top: 0; }
}

/* ============================================================
   02 · LOS 4 TECHOS (.rd-techos) — desktop aprobado (2026-09-25)
   Referencia: captura aprobada 2026-09-25. Cabecera (texto + gráfica SVG
   inline) y cuatro columnas editoriales separadas por líneas de 1px;
   cierre con frase y CTA de texto. Continúa el fondo opaco del hero.
   ============================================================ */
.home-rd {
  --rd-blue: 100, 136, 255;    /* #6488ff · acento captación */
  --rd-cyan: 66, 212, 223;     /* #42d4df · acento operación */
  --rd-violet: 187, 108, 255;  /* #bb6cff · acento tecnología */
  --rd-goldc: 185, 166, 255;   /* --rd-gold en RGB · acento capacidad */
  --rd-line: rgba(244, 241, 248, 0.12);
}
.rd-techos {
  padding: 56px 0 48px;
  background-color: #06040b;
  background-image:
    radial-gradient(42% 46% at 76% 22%, rgba(74, 46, 132, 0.22), transparent 70%),
    radial-gradient(30% 36% at 6% 100%, rgba(54, 34, 96, 0.16), transparent 72%);
  color: var(--text);
}
.rd-techos__inner { display: flex; flex-direction: column; gap: 44px; }

/* --- Cabecera: texto + gráfica --- */
.rd-techos__header {
  display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
  column-gap: 40px; align-items: start;
}
.rd-techos__eyebrow {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rd-gold);
}
.rd-techos__eyebrow-line { width: 58px; height: 1px; background: var(--rd-gold); opacity: 0.8; }
.rd-techos__kicker {
  margin-top: 10px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d6d0e2;
}
.rd-techos__title {
  margin-top: 18px;
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(34px, 3.4vw, 46px);   /* 46px desde ~1360; entre 1024 y 1360 la itálica no debe tapar la gráfica */
  line-height: 1.08; letter-spacing: -0.02em;
  white-space: nowrap;   /* como en la referencia: la itálica invade la zona de la gráfica */
  color: #f7f6f9;
}
.rd-techos__title-em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1em; letter-spacing: 0;
  color: var(--rd-gold);
}
.rd-techos__lead { margin-top: 20px; max-width: 440px; font-size: 16px; line-height: 1.55; color: #b5b2bd; }
.rd-techos__visual { position: relative; }
.rd-techos__chart { display: block; width: 100%; height: auto; }
.rd-techos__lbl-num { font-family: var(--mono); font-size: 14px; font-weight: 500; }
.rd-techos__lbl-name { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; fill: #e8e4f0; }
.rd-techos__lbl-end { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; fill: #b7b5b8; }

/* --- Cuatro columnas (sin cajas: solo líneas verticales de 1px) --- */
.rd-techos__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rd-techos__item {
  --c: var(--rd-blue);
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 6px 28px 4px 30px;
  border-left: 1px solid var(--rd-line);
}
.rd-techos__item:first-child { border-left: 0; padding-left: 26px; }
.rd-techos__item--growth { --c: var(--rd-blue); }
.rd-techos__item--ops { --c: var(--rd-cyan); }
.rd-techos__item--tech { --c: var(--rd-violet); }
.rd-techos__item--ai { --c: var(--rd-goldc); }
.rd-techos__item-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  width: 100%; min-height: 66px;
}
.rd-techos__num { padding-top: 4px; font-family: var(--mono); font-size: 20px; color: rgb(var(--c)); }
.rd-techos__num::after { content: ''; display: block; width: 44px; height: 1px; margin-top: 10px; background: rgba(var(--c), 0.8); }
.rd-techos__icon { width: 84px; height: 64px; flex-shrink: 0; margin: -4px -6px 0 0; color: rgb(var(--c)); }
.rd-techos__cat {
  margin-top: 8px;
  font-family: var(--mono); font-weight: 500; font-size: 19px; letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f4f1f8;
}
.rd-techos__sub { margin-top: 6px; font-size: 15px; color: #e8e4f0; }
.rd-techos__text { margin-top: 16px; font-size: 14.5px; line-height: 1.55; color: #a9a4b8; }
.rd-techos__text::after { content: ''; display: block; width: 28px; height: 1px; margin-top: 16px; background: rgba(var(--c), 0.6); }
.rd-techos__result { margin-top: 14px; font-size: 15px; line-height: 1.55; color: #f4f1f8; }
.rd-techos__result span { color: rgb(var(--c)); }
.rd-techos__cta {
  display: inline-flex; gap: 10px;
  margin-top: auto; padding-top: 22px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em;
  color: #d6d0e2;
  transition: color .18s ease;
}
.rd-techos__cta:hover { color: #fff; }

/* --- Cierre --- */
.rd-techos__footer {
  display: flex; align-items: center; gap: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 241, 248, 0.16);
}
.rd-techos__mark {
  flex-shrink: 0; width: 24px; height: 16px;
  background: repeating-linear-gradient(to bottom, var(--rd-gold) 0 2px, transparent 2px 7px);
}
.rd-techos__quote {
  flex: 1; max-width: 660px;
  font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.4;
  color: #f4f1f8;
}
.rd-techos__explore {
  display: inline-flex; gap: 10px;
  margin-left: auto; padding-bottom: 10px;
  border-bottom: 1px solid var(--rd-gold);
  font-size: 15px; font-weight: 500; white-space: nowrap;
  color: #f4f1f8;
  transition: color .18s ease;
}
.rd-techos__explore:hover { color: #fff; }

/* --- Por debajo de 1024px: solo que no se rompa --- */
@media (max-width: 1023px) {
  .rd-techos { padding: 56px 0 48px; }
  .rd-techos__inner { gap: 40px; }
  .rd-techos__header { grid-template-columns: 1fr; row-gap: 32px; }
  .rd-techos__title { font-size: 36px; white-space: normal; }
  .rd-techos__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .rd-techos__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .rd-techos__footer { flex-wrap: wrap; }
  .rd-techos__explore { margin-left: 0; }
}
@media (max-width: 699px) {
  .rd-techos__grid { grid-template-columns: 1fr; }
  .rd-techos__item { border-left: 0; padding-left: 0; padding-right: 0; }
  .rd-techos__title { font-size: 30px; }
}

/* ============================================================
   03A · CUATRO PUERTAS · EXPERIENCIA (.rd-puertas-intro) — desktop aprobado (2026-09-25)
   Referencia: captura oficial 2026-09-25. Escenario de 100svh con el mensaje
   centrado, tres órbitas (SVG inline) y doce fragmentos absolutos alrededor.
   Toda la composición se mide en la unidad --u (= 1em dentro de la sección):
   10px a 1440, 13.3px a 1920. Cada fragmento declara --x/--y (desplazamiento
   desde el centro del escenario, en u), --w (ancho) y, si lo necesita, --h.
   Estado visible: 01 / CRECER. Los cuatro estados están preparados en el
   HTML (data-door) y en los tokens --door*; la interacción es tarea aparte.
   ============================================================ */
.rd-puertas-intro {
  --u: clamp(7px, 0.6944vw, 13.5px);
  --door: var(--rd-blue);
  --door-a: #a3b6ff;   /* extremo claro del degradado de la palabra */
  --door-b: #4d6bf0;   /* extremo oscuro */
  position: relative;
  font-size: var(--u);
  background-color: #06040b;
  background-image:
    radial-gradient(36% 40% at 8% 100%, rgba(122, 62, 168, 0.18), transparent 70%),
    radial-gradient(30% 42% at 97% 56%, rgba(74, 46, 132, 0.20), transparent 72%),
    radial-gradient(30% 30% at 58% 4%, rgba(54, 34, 96, 0.14), transparent 72%);
  color: var(--text);
}
.rd-puertas-intro[data-door="operations"] { --door: var(--rd-cyan);   --door-a: #a6f1f6; --door-b: #1fb3c2; }
.rd-puertas-intro[data-door="platform"]   { --door: var(--rd-violet); --door-a: #dcb8ff; --door-b: #985af0; }
.rd-puertas-intro[data-door="ai"]         { --door: var(--rd-goldc);  --door-a: #e4dcff; --door-b: #6b3fd1; }

.rd-puertas-intro__stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; min-height: 100svh;
  padding: 12em 0;
}

/* --- Etiqueta superior izquierda (alineada con .container) --- */
.rd-puertas-intro__eyebrow {
  position: absolute; z-index: 3;
  top: calc(var(--u) * 5.2);
  left: max(40px, calc((100% - 1280px) / 2));
  display: flex; align-items: center; gap: 18px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d6d0e2;
}
.rd-puertas-intro__eyebrow-num { color: var(--rd-gold); }
.rd-puertas-intro__eyebrow-line { width: 58px; height: 1px; background: var(--rd-gold); opacity: 0.8; }

/* --- Órbitas: SVG inline decorativo y estático (viewBox en u, centrado) --- */
.rd-puertas-intro__orbit {
  position: absolute; z-index: 0;
  left: 50%; top: 50%;
  width: 200em; height: 120em;
  margin: -60em 0 0 -100em;
  overflow: visible;
  pointer-events: none;
}

/* --- Mensaje central --- */
.rd-puertas-intro__center { position: relative; z-index: 2; top: 1em; max-width: 100em; text-align: center; }
.rd-puertas-intro__headline {
  font-family: var(--sans); font-weight: 350;
  font-size: 5.7em; line-height: 1; letter-spacing: -0.012em;
  color: #f7f6f9;
}
.rd-puertas-intro__headline-top { display: block; }
.rd-puertas-intro__words { display: block; margin-top: 0.05em; }
.rd-puertas-intro__word {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.4em; line-height: 1; letter-spacing: 0;
  text-transform: uppercase;
  background-image: linear-gradient(120deg, var(--door-a) 0%, var(--door-b) 62%, var(--door-b) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.rd-puertas-intro__lead {
  max-width: 26em;
  margin: calc(var(--u) * 2.7) auto 0;
  font-size: clamp(16px, 1.7em, 21px); line-height: 1.55;
  color: #a9a4b8;
}
.rd-puertas-intro__indicator {
  display: flex; justify-content: center; align-items: center;
  margin: calc(var(--u) * 3.2) 0 0; padding: 0; list-style: none;
  font-size: 1.5em; font-weight: 500; letter-spacing: 0.04em;
  color: #4f4a63;
}
.rd-puertas-intro__step { display: flex; align-items: center; }
.rd-puertas-intro__step::before,
.rd-puertas-intro__step:last-child::after { content: ''; width: 2.2em; height: 1px; margin: 0 1em; background: #35304a; }
.rd-puertas-intro__step-num { position: relative; display: inline-block; padding: 0 0.1em; }
.rd-puertas-intro__step[aria-current] { color: rgb(var(--door)); }
.rd-puertas-intro__step[aria-current] .rd-puertas-intro__step-num::after {
  content: ''; position: absolute; left: -0.3em; right: -0.3em; bottom: -0.75em;
  height: 2px; border-radius: 1px;
  background: rgb(var(--door));
}

/* --- Fragmentos: capa absoluta, cada uno colocado desde el centro --- */
.rd-puertas-intro__fragments { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.rd-puertas-intro__fragment {
  position: absolute; margin: 0;
  left: calc(50% + var(--x) * 1em); top: calc(50% + var(--y) * 1em);
  width: calc(var(--w) * 1em);
  opacity: var(--o, 1);
}
/* Panel de interfaz: carbón translúcido, borde de 1px, radio moderado, sombra suave */
.rd-puertas-intro__panel {
  padding: 1.6em 1.8em;
  border-radius: 1.4em;
  border: 1px solid rgba(160, 140, 215, 0.22);
  background:
    linear-gradient(155deg, rgba(60, 46, 96, 0.28), rgba(60, 46, 96, 0) 48%),
    rgba(15, 11, 26, 0.84);
  box-shadow: 0 2.4em 5em -1.4em rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #e8e4f0;
  font-size: 1em; line-height: 1.3;
}
.rd-puertas-intro__panel-head { display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.rd-puertas-intro__panel-title { display: inline-flex; align-items: center; gap: 0.6em; font-size: 1.15em; font-weight: 500; white-space: nowrap; color: #f0edf5; }
.rd-puertas-intro__panel-title svg { width: 1.3em; height: 1.3em; color: #f4f1f8; }
.rd-puertas-intro__more { font-size: 1.3em; letter-spacing: 0.08em; line-height: 1; color: #6f6880; }
.rd-puertas-intro__kpi { margin-top: 0.9em; font-size: 2.2em; font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; color: #fbfaff; }
.rd-puertas-intro__delta { margin-top: 0.35em; font-size: 1.05em; font-weight: 500; color: var(--green); }
.rd-puertas-intro__chip {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.4em 0.8em;
  border-radius: 0.7em; border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.95em; white-space: nowrap;
  color: #d6d0e2;
}
.rd-puertas-intro__chip svg { width: 0.8em; height: 0.8em; }
.rd-puertas-intro__chip--live { color: var(--green); border-color: rgba(74, 222, 128, 0.25); background: rgba(74, 222, 128, 0.10); }
.rd-puertas-intro__chip--live i { width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--green); box-shadow: 0 0 0.5em var(--green); }

/* Iconos sueltos (barras, capas) */
.rd-puertas-intro__icon {
  display: flex; align-items: center; justify-content: center;
  height: calc(var(--h) * 1em);
  border-radius: 1.2em; border: 1px solid rgba(160, 140, 215, 0.22);
  background: linear-gradient(155deg, rgba(60, 46, 96, 0.3), rgba(15, 11, 26, 0.85) 60%);
  box-shadow: 0 1.6em 3em -1.2em rgba(0, 0, 0, 0.6);
}
.rd-puertas-intro__icon svg { width: 62%; height: 62%; }

/* Piezas "fotográficas" (hoy SVG temporales en assets/opt/home/frag-*.svg) */
.rd-puertas-intro__photo {
  height: calc(var(--h) * 1em);
  overflow: hidden;
  border-radius: 1.3em; border: 1px solid rgba(220, 210, 245, 0.18);
  background: #0b0914;
  box-shadow: 0 1.8em 3.6em -1.4em rgba(0, 0, 0, 0.7);
}
.rd-puertas-intro__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Posición y tamaño de cada fragmento (u desde el centro; medidos en la captura a 1440) */
.rd-puertas-intro__fragment--bars     { --x: -65.4; --y: -17.4; --w: 5.8;  --h: 6.2; --o: 0.92; }
.rd-puertas-intro__fragment--acq      { --x: -54.7; --y: -25.9; --w: 19.6; min-height: 15.2em; padding: 1.5em 1.6em 1.4em; transform: perspective(90em) rotateY(-14deg) rotate(-2.5deg); }
.rd-puertas-intro__fragment--building { --x: -66.2; --y: -6.1;  --w: 15.8; --h: 11.9; --o: 0.95; }
.rd-puertas-intro__fragment--pipe     { --x: -60.5; --y: 9.1;   --w: 29.2; padding: 1.6em 1.8em 1.7em; }
.rd-puertas-intro__fragment--earth    { --x: -21.2; --y: -30.5; --w: 15.5; --h: 10.4; }
.rd-puertas-intro__fragment--wind     { --x: -27.9; --y: 18.4;  --w: 10.7; --h: 11.2; --o: 0.95; }
.rd-puertas-intro__fragment--code     { --x: -4.7;  --y: 20.9;  --w: 25;   --o: 0.95; padding: 0; }
.rd-puertas-intro__fragment--flow     { --x: 7.9;   --y: -33.4; --w: 19.8; padding: 1.3em 1.4em 1.1em; }
.rd-puertas-intro__fragment--tower    { --x: 39.2;  --y: -29.1; --w: 9.4;  --h: 10.1; --o: 0.85; }
.rd-puertas-intro__fragment--agent    { --x: 47.2;  --y: -17.2; --w: 20.6; padding: 1.2em 1.3em 1.3em; }
.rd-puertas-intro__fragment--ops      { --x: 25.1;  --y: 2.9;   --w: 25.7; padding: 1.6em 1.8em 1.4em; }
.rd-puertas-intro__fragment--layers   { --x: 56.5;  --y: 5.8;   --w: 7.6;  --h: 7.9; }
.rd-puertas-intro__fragment--city     { --x: 53.3;  --y: 17.7;  --w: 8.3;  --h: 8.6; --o: 0.8; }

/* Adquisición de clientes: cifra + gráfica de barras */
.rd-puertas-intro__fragment--acq .rd-puertas-intro__kpi { margin-top: 1.5em; }
.rd-puertas-intro__bars { position: absolute; right: 1.3em; bottom: 1.2em; width: 10.8em; height: 6.6em; }

/* Pipeline: filas con punto, etiqueta, barra y cifra */
.rd-puertas-intro__list { display: grid; row-gap: 1.25em; margin: 1.45em 0 0; padding: 0; list-style: none; }
.rd-puertas-intro__row {
  display: grid; grid-template-columns: 1.05em minmax(0, 1fr) 9em 3.4em; align-items: center; column-gap: 0.9em;
  font-size: 1.05em; white-space: nowrap; color: #c8c1d6;
}
.rd-puertas-intro__dot { width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--c); box-shadow: 0 0 0.6em rgba(255, 255, 255, 0.12); }
.rd-puertas-intro__bar { height: 0.6em; border-radius: 0.3em; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.rd-puertas-intro__bar::before { content: ''; display: block; width: var(--p); height: 100%; border-radius: inherit; background: var(--c); }
.rd-puertas-intro__val { font-size: 1.15em; font-weight: 500; text-align: right; color: #f4f1f8; }
.rd-puertas-intro__row--leads { --c: #5b7cff; --p: 42%; }
.rd-puertas-intro__row--qual  { --c: #7b78ff; --p: 56%; }
.rd-puertas-intro__row--prop  { --c: #3fb88a; --p: 38%; }
.rd-puertas-intro__row--won   { --c: #e2b84d; --p: 36%; }

/* Flujo / automatización: tres pasos conectados y un "+" */
.rd-puertas-intro__flow { display: grid; row-gap: 0.55em; margin: 0; padding: 0; list-style: none; }
.rd-puertas-intro__flow-step {
  position: relative;
  display: flex; align-items: center; gap: 1em;
  padding: 0.4em 0.8em 0.4em 0.4em;
  border: 1px solid transparent; border-radius: 0.9em;
  font-size: 1.1em; color: #e8e4f0;
}
.rd-puertas-intro__flow-step + .rd-puertas-intro__flow-step::before {
  content: ''; position: absolute; left: 1.45em; top: -1em; width: 1px; height: 1.4em;
  background: rgba(200, 190, 230, 0.35);
}
.rd-puertas-intro__flow-step--soft { background: rgba(255, 255, 255, 0.035); }
.rd-puertas-intro__flow-step--active { background: rgba(70, 100, 230, 0.22); border-color: rgba(120, 150, 255, 0.55); color: #fff; }
.rd-puertas-intro__flow-icon {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.2em; height: 2.2em;
  border-radius: 0.6em; border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: #c8c1d6;
}
.rd-puertas-intro__flow-icon svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.rd-puertas-intro__flow-step--active .rd-puertas-intro__flow-icon { background: rgba(120, 150, 255, 0.2); color: #dfe6ff; }
.rd-puertas-intro__flow-add {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 1.8em; height: 1.8em; margin: 0.9em auto 0;
  border-radius: 50%; background: rgba(255, 255, 255, 0.08);
  font-size: 1em; color: #c8c1d6;
}
.rd-puertas-intro__flow-add::before { content: ''; position: absolute; left: 50%; top: -0.9em; width: 1px; height: 0.9em; background: rgba(200, 190, 230, 0.3); }

/* Agente IA: conversación breve */
.rd-puertas-intro__chat { display: grid; row-gap: 0.7em; margin-top: 1em; }
.rd-puertas-intro__msg { padding: 0.7em 0.9em; border-radius: 1em; font-size: 0.92em; line-height: 1.38; color: #e8e4f0; }
.rd-puertas-intro__msg--user { justify-self: end; max-width: 84%; border-top-right-radius: 0.3em; border: 1px solid rgba(165, 135, 255, 0.28); background: rgba(125, 100, 230, 0.4); }
.rd-puertas-intro__msg-row { display: flex; align-items: flex-start; gap: 0.6em; }
.rd-puertas-intro__avatar {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1em; height: 2.1em; border-radius: 50%;
  background: linear-gradient(140deg, #8ea6ff, #4e6cf2);
  font-size: 0.8em; font-weight: 600; color: #fff;
}
.rd-puertas-intro__msg--bot { position: relative; flex: 1; padding-right: 2.2em; border-bottom-left-radius: 0.3em; border: 1px solid rgba(255, 255, 255, 0.06); background: rgba(255, 255, 255, 0.06); }
.rd-puertas-intro__msg-arrow { position: absolute; right: 0.9em; bottom: 0.8em; color: #c8c1d6; }

/* Operación: sparkline + cifra, y lista de procesos con estado */
.rd-puertas-intro__ops-top {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 1.2em;
  margin-top: 1.2em; padding-bottom: 1.3em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.rd-puertas-intro__spark { display: block; width: 100%; height: 4.8em; }
.rd-puertas-intro__ops-kpi { text-align: right; }
.rd-puertas-intro__ops-kpi .rd-puertas-intro__kpi { margin-top: 0; }
.rd-puertas-intro__panel-head--sub { margin-top: 1.2em; }
.rd-puertas-intro__list--procs { row-gap: 0.95em; margin-top: 1.1em; }
.rd-puertas-intro__proc { display: flex; align-items: center; gap: 0.9em; font-size: 1.05em; color: #e8e4f0; }
.rd-puertas-intro__proc-icon {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.7em; height: 1.7em; border-radius: 50%;
  background: var(--c); color: #0b0812;
}
.rd-puertas-intro__proc-icon svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rd-puertas-intro__proc-icon--green  { --c: #35c58a; }
.rd-puertas-intro__proc-icon--mint   { --c: #3fb8a0; }
.rd-puertas-intro__proc-icon--blue   { --c: #5b8cff; }
.rd-puertas-intro__proc-icon--violet { --c: #b06be0; }
.rd-puertas-intro__pill { margin-left: auto; padding: 0.35em 0.8em; border-radius: 0.6em; background: rgba(255, 255, 255, 0.05); font-size: 0.9em; white-space: nowrap; color: #8f86a4; }

/* Código: bloque mono con margen de números */
.rd-puertas-intro__code {
  margin: 0; padding: 1.1em 1.3em 1.1em 0;
  border-radius: inherit; overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 3.4em, transparent 3.4em);
  font-family: var(--mono); font-size: 0.86em; line-height: 1.55;
  white-space: pre; color: #d6d0e2;
}
.rd-puertas-intro__code code { font: inherit; }
.rd-puertas-intro__ln { display: inline-block; width: 3.4em; padding-right: 0.9em; text-align: right; color: #55506a; }
.rd-puertas-intro__cm { color: #6f6880; }
.rd-puertas-intro__kw { color: #c39bff; }
.rd-puertas-intro__str { color: #f0a070; }
.rd-puertas-intro__str--ok { color: #7fd8a8; }

/* Entre 1024 y 1200 el escenario se estrecha: el lead no debe rozar el panel Operación */
@media (max-width: 1199px) {
  .rd-puertas-intro__lead { max-width: 22em; }
}

/* --- Por debajo de 1024px: solo que no se rompa (responsive fino: tarea aparte) --- */
@media (max-width: 1023px) {
  .rd-puertas-intro__stage { flex-direction: column; min-height: 0; padding: 88px 22px 96px; }
  .rd-puertas-intro__eyebrow { position: static; margin-bottom: 44px; }
  .rd-puertas-intro__fragments { display: none; }
  .rd-puertas-intro__orbit { width: 140em; height: 84em; margin: -42em 0 0 -70em; opacity: 0.7; }
  .rd-puertas-intro__headline { font-size: clamp(38px, 10vw, 56px); }
  .rd-puertas-intro__lead { font-size: 16px; margin-top: 22px; }
  .rd-puertas-intro__indicator { font-size: 14px; margin-top: 30px; }
}

/* ============================================================
   03B · CUATRO PUERTAS · DETALLE (.rd-puertas-detail) — desktop en revisión
   Referencia: captura oficial 2026-09-25. Segunda mitad del capítulo 03:
   cabecera editorial, tira horizontal de cuatro puertas (el track es más
   ancho que el viewport y la cuarta queda parcialmente fuera), progreso
   con controles y cierre. Estático: el desplazamiento, el progreso y los
   botones se programan en la fase de interacción (ver docs §14).
   Visuales de producto: HTML/CSS + SVG inline dentro de .__visual (aria-hidden),
   colocados en % de la puerta; los textos internos van en px.
   ============================================================ */
.rd-puertas-detail {
  --door-w: clamp(400px, calc(15.15vw + 200px), 520px);   /* 418px a 1440 · 442 a 1600 · 491 a 1920 */
  --door-gap: 16px;
  --track-x: max(18px, calc(50% - 684px));                 /* borde de .container (1280) menos 44px */
  --progress: 0.25;                                        /* la interacción lo actualizará */
  position: relative;
  padding: 40px 0 72px;
  background-color: #06040b;
  background-image:
    radial-gradient(38% 30% at 58% 100%, rgba(90, 50, 150, 0.16), transparent 70%),
    radial-gradient(28% 40% at 97% 10%, rgba(74, 46, 132, 0.14), transparent 72%);
  color: var(--text);
}

/* --- Cabecera --- */
.rd-puertas-detail__header {
  display: grid; grid-template-columns: minmax(0, 1fr) 286px; align-items: center; column-gap: 40px;
}
.rd-puertas-detail__eyebrow {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 22px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d6d0e2;
}
.rd-puertas-detail__eyebrow-num { color: var(--rd-gold); }
.rd-puertas-detail__eyebrow-line { width: 58px; height: 1px; background: var(--rd-gold); opacity: 0.8; }
.rd-puertas-detail__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 2.8vw, 42px); line-height: 1.14; letter-spacing: -0.005em;
  color: #f7f6f9;
}
.rd-puertas-detail__title-em { display: block; font-style: italic; color: var(--rd-gold); }
.rd-puertas-detail__sub { margin-top: 14px; font-size: 17px; line-height: 1.5; color: #b5b2bd; }
.rd-puertas-detail__aside {
  padding-left: 44px;
  border-left: 1px solid rgba(244, 241, 248, 0.18);
  font-size: 13.5px; line-height: 1.6;
  color: #b5b2bd;
}
.rd-puertas-detail__aside::after { content: ''; display: block; width: 40px; height: 1px; margin-top: 16px; background: var(--rd-gold); }

/* --- Tira horizontal --- */
.rd-puertas-detail__viewport {
  margin-top: 28px;
  padding: 6px 0 12px;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none;
}
.rd-puertas-detail__viewport::-webkit-scrollbar { display: none; }
.rd-puertas-detail__track {
  display: flex; gap: var(--door-gap);
  width: max-content;
  padding-inline: var(--track-x);
}
.rd-puertas-detail__door {
  --c: var(--rd-blue);
  position: relative;
  flex: 0 0 var(--door-w); width: var(--door-w); min-height: 480px;
  display: flex; flex-direction: column;
  padding: 26px 26px 24px;
  border: 1px solid rgba(var(--c), 0.22); border-radius: 10px;
  background:
    radial-gradient(70% 55% at 85% 0%, rgba(var(--c), 0.12), transparent 70%),
    #0a0813;
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.8);
  overflow: hidden;   /* recorta los visuales que asoman por el borde, como en la captura */
}
.rd-puertas-detail__door--growth   { --c: var(--rd-blue); }
.rd-puertas-detail__door--ops      { --c: var(--rd-cyan); }
.rd-puertas-detail__door--platform { --c: var(--rd-violet); }
.rd-puertas-detail__door--ai       { --c: var(--rd-goldc); }
.rd-puertas-detail__body { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.rd-puertas-detail__num {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--serif); font-size: 46px; line-height: 1; letter-spacing: -0.01em;
  color: rgb(var(--c));
}
.rd-puertas-detail__num-of { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: #8f86a4; }
.rd-puertas-detail__cat {
  margin-top: 16px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(var(--c));
}
.rd-puertas-detail__door-title {
  max-width: 62%; margin-top: 16px;   /* % del cuerpo de la puerta (366px a 1440): 2 líneas como en la captura */
  font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2;
  color: #f7f6f9;
}
.rd-puertas-detail__text { max-width: 80%; margin-top: 14px; font-size: 12.5px; line-height: 1.55; color: #b5b2bd; }
.rd-puertas-detail__list { display: grid; row-gap: 7px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 11.5px; color: #d6d0e2; }
.rd-puertas-detail__list li { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.rd-puertas-detail__list li::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--c)); box-shadow: 0 0 8px rgba(var(--c), 0.5); }
.rd-puertas-detail__result {
  position: relative;
  max-width: 60%; margin-top: 14px; padding-top: 12px;
  font-size: 14px; font-weight: 500; line-height: 1.45;
  color: rgb(var(--c));
}
.rd-puertas-detail__result::before { content: ''; position: absolute; top: 0; left: 0; width: 28px; height: 1px; background: rgba(var(--c), 0.7); }
.rd-puertas-detail__cta {
  position: relative;
  display: inline-flex; gap: 12px;
  margin-top: auto; padding: 16px 0 8px;
  font-size: 14px; font-weight: 500;
  color: #f4f1f8;
  transition: color .18s ease;
}
.rd-puertas-detail__cta::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 1px; background: rgb(var(--c)); }
.rd-puertas-detail__cta:hover { color: #fff; }
.rd-puertas-detail__cta:focus-visible, .rd-puertas-detail__closing-cta:focus-visible { outline: 2px solid var(--rd-gold); outline-offset: 4px; }

/* --- Visuales de producto (decorativos) --- */
.rd-puertas-detail__visual { position: absolute; inset: 0; z-index: 0; pointer-events: none; font-size: 10.5px; line-height: 1.3; color: #d6d0e2; }
.rd-puertas-detail__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rd-puertas-detail__panel {
  position: absolute;
  padding: 10px 12px;
  border-radius: 8px; border: 1px solid rgba(var(--c), 0.22);
  background: linear-gradient(160deg, rgba(var(--c), 0.10), rgba(var(--c), 0) 50%), rgba(11, 9, 20, 0.9);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.9);
}
.rd-puertas-detail__panel ul { display: grid; row-gap: 8px; margin: 0; padding: 0; list-style: none; }
.rd-puertas-detail__panel li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.rd-puertas-detail__ico {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 4px;
  background: rgba(var(--c), 0.16); color: rgb(var(--c));
}
.rd-puertas-detail__ico svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.rd-puertas-detail__panel-label { display: block; font-size: 9.5px; color: #9d95b0; white-space: nowrap; }
.rd-puertas-detail__panel-kpi { display: block; margin-top: 4px; font-size: 20px; font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; color: #fbfaff; }
.rd-puertas-detail__panel-delta { display: block; margin-top: 3px; font-size: 10px; font-weight: 500; color: var(--green); }
.rd-puertas-detail__panel-title { display: block; font-size: 11px; font-weight: 500; color: #f0edf5; }
.rd-puertas-detail__panel-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 500; color: #f0edf5; }
.rd-puertas-detail__panel-head .rd-puertas-detail__ico { background: transparent; color: #6f6880; }

/* 01 · Crecimiento */
.rd-puertas-detail__panel--side { left: 54%; top: 22%; width: 28%; padding: 8px 10px; font-size: 8.5px; overflow: hidden; transform: perspective(600px) rotateY(-18deg); transform-origin: right center; }
.rd-puertas-detail__panel--side ul { row-gap: 8px; }
.rd-puertas-detail__panel--side .rd-puertas-detail__ico { width: 14px; height: 14px; }
.rd-puertas-detail__panel--kpi { left: 72%; top: 7%; width: 29%; height: 118px; }
.rd-puertas-detail__panel-bars { position: absolute; right: 10px; bottom: 10px; width: 46%; height: 52px; }
.rd-puertas-detail__panel--spark { left: 87%; top: 43%; width: 26%; height: 62px; padding: 8px; }
.rd-puertas-detail__panel--spark svg { display: block; width: 100%; height: 100%; }
.rd-puertas-detail__panel--table { left: 57%; top: 56%; width: 43%; }
.rd-puertas-detail__table { display: grid; row-gap: 7px; margin-top: 8px; }
.rd-puertas-detail__table-row { display: grid; grid-template-columns: 1fr auto; column-gap: 8px; font-size: 8.5px; white-space: nowrap; }
.rd-puertas-detail__table-row--head { font-size: 9px; color: #6f6880; }
.rd-puertas-detail__table-row span:first-child { display: flex; align-items: center; gap: 6px; }
.rd-puertas-detail__table-row span:last-child { color: #a9a4b8; }
.rd-puertas-detail__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dc, rgb(var(--c))); }
.rd-puertas-detail__dot--b2 { --dc: #7b78ff; }
.rd-puertas-detail__dot--green { --dc: #3fb88a; }
.rd-puertas-detail__dot--gold { --dc: #e2b84d; }

/* 02 · Operación */
.rd-puertas-detail__panel--tabs { left: 44%; top: 12%; width: 54%; padding: 9px 10px 0; transform: perspective(800px) rotateY(-9deg) rotateX(3deg); transform-origin: left center; }
.rd-puertas-detail__tabs { display: flex; gap: 9px; margin-top: 8px; font-size: 8px; white-space: nowrap; color: #8f86a4; }
.rd-puertas-detail__tab { padding: 6px 4px 7px; }
.rd-puertas-detail__tab--on { color: #f0edf5; border-bottom: 1.5px solid rgb(var(--c)); }
.rd-puertas-detail__panel--stat { padding: 8px 9px; }
.rd-puertas-detail__panel--stat .rd-puertas-detail__panel-label { font-size: 8px; }
.rd-puertas-detail__panel--stat .rd-puertas-detail__panel-kpi { font-size: 17px; }
.rd-puertas-detail__panel--stat-1 { left: 57%; top: 27%; width: 23%; }
.rd-puertas-detail__panel--stat-2 { left: 80.5%; top: 25%; width: 20%; }
.rd-puertas-detail__panel--stat-3 { left: 72%; top: 43%; width: 27%; }
.rd-puertas-detail__panel--start { left: 56%; top: 51%; width: 11%; padding: 7px 4px; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 8.5px; }
.rd-puertas-detail__panel--step { display: flex; align-items: center; gap: 8px; width: 34%; padding: 7px 10px; font-size: 9.5px; white-space: nowrap; }
.rd-puertas-detail__panel--step-1 { left: 65%; top: 59%; }
.rd-puertas-detail__panel--step-2 { left: 65%; top: 68.5%; }
.rd-puertas-detail__panel--step-3 { left: 65%; top: 78%; }

/* 03 · Productos digitales */
.rd-puertas-detail__panel--chart { left: 84%; top: 10%; width: 34%; height: 34%; padding: 10px; }
.rd-puertas-detail__panel--chart svg { display: block; width: 100%; height: 44%; margin-top: 8px; }
.rd-puertas-detail__ghost-rows { display: block; height: 22px; margin-top: 8px; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 8px); }
.rd-puertas-detail__panel--nav { left: 66%; top: 9%; width: 22%; transform: perspective(600px) rotateY(-14deg); transform-origin: right center; }
.rd-puertas-detail__panel--nav ul { margin-top: 10px; row-gap: 9px; }
.rd-puertas-detail__stack { position: absolute; left: 58%; top: 44%; width: 44%; height: 24%; perspective: 520px; }
.rd-puertas-detail__plane {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  border-radius: 4px; border: 1px solid rgba(187, 108, 255, 0.45);
  background:
    linear-gradient(90deg, transparent 8%, rgba(187, 108, 255, 0.35) 8% 22%, transparent 22% 28%, rgba(187, 108, 255, 0.25) 28% 42%, transparent 42%),
    linear-gradient(180deg, rgba(187, 108, 255, 0.22), rgba(120, 60, 200, 0.10));
  background-size: 100% 30%, 100% 100%; background-repeat: no-repeat; background-position: 0 60%, 0 0;
  box-shadow: 0 0 22px rgba(187, 108, 255, 0.18);
  transform: translate(var(--dx), var(--dy)) rotateX(56deg) rotateZ(-24deg);
}
.rd-puertas-detail__plane--1 { --dx: 0; --dy: 0; }
.rd-puertas-detail__plane--2 { --dx: 6%; --dy: -24%; opacity: 0.85; }
.rd-puertas-detail__plane--3 { --dx: 12%; --dy: -48%; opacity: 0.7; }
.rd-puertas-detail__panel--code { left: 57%; top: 66%; width: 42%; padding: 9px 10px; font-family: var(--mono); font-size: 8.5px; line-height: 1.5; color: #c8c1d6; }
.rd-puertas-detail__panel--code pre { margin: 0; font: inherit; font-variant-ligatures: none; white-space: pre; }
.rd-puertas-detail__badge {
  position: absolute; right: 8px; bottom: 24px;
  padding: 4px 8px;
  border-radius: 6px; border: 1px solid rgba(var(--c), 0.35);
  background: rgba(var(--c), 0.12);
  font-family: var(--mono); font-size: 9px; color: #f0edf5;
}
.rd-puertas-detail__code-cm { color: #6f6880; }
.rd-puertas-detail__code-kw { color: #c39bff; }
.rd-puertas-detail__code-str { color: #f0a070; }
.rd-puertas-detail__code-fn { color: #8ecdf5; }

/* 04 · Inteligencia artificial */
.rd-puertas-detail__net { position: absolute; left: 54%; top: 2%; width: 60%; height: auto; opacity: 0.95; }
.rd-puertas-detail__panel--agents { left: 53%; top: 56%; width: 48%; height: 40%; }
.rd-puertas-detail__panel--agents ul { margin-top: 10px; row-gap: 9px; }
.rd-puertas-detail__panel--agents li:nth-child(3) { opacity: 0.55; }
.rd-puertas-detail__panel--agents li:nth-child(4) { opacity: 0.28; }

/* --- Progreso y controles --- */
.rd-puertas-detail__progress { display: flex; align-items: center; gap: 22px; margin-top: 18px; }
.rd-puertas-detail__count { display: flex; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; white-space: nowrap; color: #8f86a4; }
.rd-puertas-detail__count-cur { margin-right: 0.5em; color: rgb(var(--rd-blue)); }
.rd-puertas-detail__count::after { content: ''; width: 1px; height: 12px; margin-left: 16px; background: rgba(244, 241, 248, 0.25); }
.rd-puertas-detail__bar { flex: 1; height: 2px; border-radius: 1px; background: rgba(244, 241, 248, 0.12); overflow: hidden; }
.rd-puertas-detail__bar-fill { display: block; width: calc(var(--progress) * 100%); height: 100%; border-radius: inherit; background: #e8e4f0; }
.rd-puertas-detail__controls { display: flex; gap: 14px; }
.rd-puertas-detail__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0;
  border: 1px solid rgba(244, 241, 248, 0.28); border-radius: 50%;
  background: transparent;
  font: 500 15px/1 var(--sans); color: #f4f1f8;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}
.rd-puertas-detail__btn:hover { border-color: rgba(244, 241, 248, 0.6); background-color: rgba(244, 241, 248, 0.06); }
.rd-puertas-detail__btn:focus-visible { outline: 2px solid var(--rd-gold); outline-offset: 3px; }

/* --- Cierre --- */
.rd-puertas-detail__closing { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 40px; margin-top: 22px; }
.rd-puertas-detail__closing-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #8f86a4; }
.rd-puertas-detail__closing-title { margin-top: 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.2vw, 38px); line-height: 1.15; color: #f7f6f9; }
.rd-puertas-detail__closing-em { font-style: italic; color: var(--rd-gold); }
.rd-puertas-detail__closing-cta {
  display: inline-flex; gap: 10px;
  margin-bottom: 6px; padding-bottom: 10px;
  border-bottom: 1px solid var(--rd-gold);
  font-size: 15px; font-weight: 500; white-space: nowrap;
  color: #f4f1f8;
  transition: color .18s ease;
}
.rd-puertas-detail__closing-cta:hover { color: #fff; }

/* --- Por debajo de 1024px: solo que no se rompa (responsive fino: tarea aparte) --- */
@media (max-width: 1023px) {
  .rd-puertas-detail { padding: 48px 0 64px; }
  .rd-puertas-detail__header { grid-template-columns: 1fr; row-gap: 28px; }
  .rd-puertas-detail__aside { padding-left: 22px; }
  .rd-puertas-detail { --door-w: min(86vw, 400px); --track-x: 22px; }
  .rd-puertas-detail__door { min-height: 0; padding: 22px 20px 20px; }
  .rd-puertas-detail__door-title, .rd-puertas-detail__text, .rd-puertas-detail__result { max-width: 100%; }
  .rd-puertas-detail__closing { grid-template-columns: 1fr; row-gap: 22px; }
  .rd-puertas-detail__closing-cta { justify-self: start; }
}
@media (max-width: 699px) {
  .rd-puertas-detail__visual { display: none; }
}

/* ============================================================
   04 · CÓMO TRABAJAMOS + MODELO NEURONET (.rd-metodo) — pendiente
   ============================================================ */

/* ============================================================
   05 · PROYECTOS SELECCIONADOS (.rd-proyectos) — pendiente
   ============================================================ */

/* ============================================================
   06 · LA FIRMA + EQUIPO (.rd-firma) — pendiente
   ============================================================ */

/* ---------- Movimiento ----------
   Las animaciones de las secciones nuevas se declaran en su bloque y se
   anulan aquí bajo prefers-reduced-motion. El revelado [data-reveal]
   reutiliza .reveal / .in-view de styles.css, que ya lo respetan. */
@media (prefers-reduced-motion: reduce) {
  /* pendiente: anular las animaciones rd- cuando existan */
}

/* Hero en movimiento · entrada, órbitas y transición hacia los cuatro techos. */
.rd-hero { overflow: clip; }
.rd-hero__scroll:focus-visible {
  outline: 2px solid var(--rd-gold); outline-offset: 6px;
}
.rd-hero__scroll { min-width: 72px; padding: 0 8px 8px; }
.rd-hero__scroll-line { height: 42px; background: linear-gradient(transparent, var(--rd-gold)); }
.rd-hero__scroll-dot { background: var(--rd-gold); box-shadow: 0 0 12px rgba(185, 166, 255,.45); }
.rd-techos { position: relative; padding-top: 100px; }
.rd-techos::before {
  content: ''; position: absolute; top: 0; left: 50%; width: 1px; height: 62px;
  background: linear-gradient(var(--rd-gold), transparent); opacity: .5;
}
.rd-techos__item.reveal { transition-delay: 0s; }
.rd-techos__item:nth-child(2).reveal { transition-delay: 90ms; }
.rd-techos__item:nth-child(3).reveal { transition-delay: 180ms; }
.rd-techos__item:nth-child(4).reveal { transition-delay: 270ms; }
@keyframes rd-hero-enter {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes rd-world-enter {
  from { opacity: 0; scale: .94; }
  to { opacity: 1; scale: 1; }
}
@keyframes rd-scroll-signal {
  0%, 100% { transform: translateY(-7px); opacity: .35; }
  55% { transform: translateY(4px); opacity: 1; }
}
@keyframes rd-world-depart {
  from { translate: 0 0; }
  to { translate: 0 150px; }
}
@media (prefers-reduced-motion: no-preference) {
  .rd-hero__eyebrow { animation: rd-hero-enter .85s .08s both; }
  .rd-hero__title { animation: rd-hero-enter 1s .18s both; }
  .rd-hero__lead { animation: rd-hero-enter .9s .32s both; }
  .rd-hero__actions { animation: rd-hero-enter .9s .46s both; }
  .rd-hero__canvas { animation: rd-world-enter 1.6s .1s both; }
  .rd-hero__scroll-dot { animation: rd-scroll-signal 2.4s ease-in-out infinite; }
  @supports ((animation-timeline: view()) and (animation-range: exit)) {
    .rd-hero { view-timeline: --rd-hero block; }
    .rd-hero__visual {
      animation: rd-world-depart linear both;
      animation-timeline: --rd-hero;
      animation-range: exit 0% exit 100%;
    }
  }
}
@media (max-width: 1023px) {
  .rd-hero__foot { grid-template-columns: 1fr auto; column-gap: 16px; padding-bottom: 24px; }
  .rd-hero__meta--left { grid-column: 1; }
  .rd-hero__meta--right { grid-column: 1; font-size: 11px; }
  .rd-hero__scroll { display: flex; grid-column: 2; grid-row: 1 / 3; margin-top: 0; align-self: center; }
  }
@media (max-width: 699px) {
  .rd-hero { min-height: 850px; min-height: max(850px, 100svh); }
  .rd-hero__inner { padding-top: 28px; padding-bottom: 395px; }
  .rd-hero__eyebrow { font-size: 8px; letter-spacing: .1em; gap: 10px; margin-bottom: 24px; }
  .rd-hero__eyebrow-line { width: 18px; }
  .rd-hero__title { font-size: clamp(38px, 9.6vw, 62px); line-height: .98; }
  .rd-hero__lead { font-size: 15px; max-width: 350px; margin-top: 22px; }
  .rd-hero__actions { gap: 16px 22px; }
  .rd-hero__cta { font-size: 14px; padding: 14px 24px; }
  .rd-hero__link { font-size: 13px; padding-bottom: 7px; }
  .rd-hero__visual { width: 120vw; left: 58%; top: auto; bottom: 62px; transform: translateX(-50%); opacity: .85; }
    .rd-hero__meta--left { font-size: 8px; letter-spacing: .1em; padding-top: 18px; }
  .rd-hero__meta--right { font-size: 9px; gap: 7px; }
  .rd-hero__meta--right span + span::before { margin-right: 7px; }
  .rd-techos { padding-top: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.home-rd) { scroll-behavior: auto; }
  .rd-techos [data-reveal] { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 1023px) {
  .rd-hero__scroll { margin-right: 76px; }
}
@media (max-width: 699px) {
  .rd-hero__foot { grid-template-columns: 1fr; }
  .rd-hero__scroll { grid-column: 1; grid-row: 1; justify-self: start; flex-direction: row; gap: 12px; margin: 0 0 4px; padding: 8px 0; }
  .rd-hero__scroll-line { width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--rd-gold)); }
  .rd-hero__scroll-dot { width: 4px; height: 4px; }
  .rd-hero__meta--left { grid-row: 2; }
  .rd-hero__meta--right { grid-row: 3; padding-right: 54px; }
    .rd-hero__visual { bottom: 105px; }
}

@media (min-width: 700px) and (max-width: 1023px) {
  .rd-hero__visual { left: 75vw; width: 94vw; top: 46%; opacity: 1; }
}

/* ============================================================
   MOTION-SCALE · lenguaje visual y de movimiento en TODA la home
   (2026-11-24, inspirado en scale.com). Una sola capa para todas
   las secciones, de hero a footer:
   · titulares que entran palabra por palabra (máscara + giro)
   · bloques que suben con desenfoque, en cascada
   · líneas de eyebrow/kicker que se dibujan
   · imágenes que se descubren de abajo arriba
   · paralaje suave en visuales · contadores en los paneles
   · nav que se oculta al bajar y vuelve en vidrio al subir
   · barra de progreso de lectura · franja de logos infinita
   · luz que sigue al cursor en tarjetas · botones magnéticos
   Las secciones heredadas (.social, .firma, .recursos, .bprev,
   .cta-final, .pie) se igualan aquí al sistema rd- sin tocar
   styles.css. Los estados ocultos solo existen con html.rd-motion,
   que añade home-redesign.js si no hay prefers-reduced-motion.
   ============================================================ */
.home-rd {
  --rd-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --rd-text: #f7f6f9;
  --rd-muted: #b5b2bd;
  --rd-dim: #6f6a7c;
}

/* ---------- Barra de progreso de lectura ---------- */
.rd-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 71;
  pointer-events: none; transform-origin: 0 50%;
  transform: scaleX(var(--rd-p, 0));
  background: linear-gradient(90deg, rgb(var(--rd-violet)), var(--rd-gold) 60%, #e4dcff);
  box-shadow: 0 0 12px rgba(var(--rd-goldc), 0.6);
}

/* ---------- Nav: se oculta al bajar y vuelve en vidrio al subir ---------- */
.home-rd .nav { transition: transform 0.6s var(--rd-ease), background 0.4s ease, box-shadow 0.4s ease; }
.home-rd .nav.rd-nav--solid {
  background: rgba(6, 4, 11, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 -1px 0 rgba(244, 241, 248, 0.08);
}
.home-rd .nav.rd-nav--hidden { transform: translate3d(0, -110%, 0); }

/* ---------- Titulares: palabra por palabra ---------- */
.rd-motion .rd-split .rd-w {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding: 0.04em 0.12em 0.16em 0; margin: -0.04em -0.12em -0.16em 0;
}
.rd-motion .rd-split .rd-w__in {
  display: inline-block;
  transform: translate3d(0, 115%, 0) rotate(6deg); transform-origin: 0 100%;
  transition: transform 1.3s var(--rd-ease);
  transition-delay: calc(var(--d, 0) * 40ms + var(--rd-d0, 0ms));
}
.rd-motion .rd-split.is-in .rd-w__in { transform: none; }
.rd-motion .rd-hero__title { animation: none; }
.rd-motion .rd-hero__title { --rd-d0: 120ms; }

/* ---------- Bloques que suben (propios y los .reveal de main.js) ---------- */
.rd-motion [data-rd-in] {
  opacity: 0; translate: 0 36px; filter: blur(8px);
  transition: opacity 1s ease, translate 1.2s var(--rd-ease), filter 1s ease;
}
.rd-motion [data-rd-in].is-in { opacity: 1; translate: none; filter: none; }
@media (prefers-reduced-motion: no-preference) {
  .home-rd .reveal {
    opacity: 0; transform: translate3d(0, 40px, 0); filter: blur(8px);
    transition: opacity 1s ease, transform 1.2s var(--rd-ease), filter 1s ease, translate 0.7s var(--rd-ease), border-color 0.5s ease, box-shadow 0.6s ease;
  }
  .home-rd .reveal.in-view { opacity: 1; transform: none; filter: none; }
}
/* La cascada solo se aplica mientras entra; luego el hover responde sin retraso. */
.rd-motion [data-rd-in].is-in:not(.rd-done),
.rd-motion .reveal.in-view:not(.rd-done) { transition-delay: var(--rd-delay, 0ms); }

/* ---------- Eyebrows y kickers: la línea se dibuja ---------- */
.home-rd main .kicker {
  display: flex; align-items: center; gap: 16px;
  font-size: 11.5px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rd-gold);
}
.home-rd main .kicker::before {
  content: ''; flex: 0 0 auto; width: 48px; height: 1px;
  background: currentColor; opacity: 0.8;
  transform-origin: 0 50%; transition: transform 1.2s var(--rd-ease) 0.15s;
}
.home-rd main .kicker--xs::before, .home-rd main .kicker--sm::before { width: 24px; }
.rd-motion main .kicker[data-rd-in]:not(.is-in)::before,
.rd-motion [data-rd-in]:not(.is-in) > [class$="eyebrow-line"] { transform: scaleX(0); }
.home-rd [class$="eyebrow-line"] { transform-origin: 0 50%; transition: transform 1.2s var(--rd-ease) 0.2s; }

/* ---------- Imágenes que se descubren ---------- */
.rd-motion .rd-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--rd-ease); transition-delay: var(--rd-delay, 0ms); }
.rd-motion .rd-img img { color: transparent; scale: 1.2; transition: scale 1.8s var(--rd-ease); transition-delay: var(--rd-delay, 0ms); }
.rd-motion .rd-img.is-in { clip-path: inset(0 0 0 0); }
.rd-motion .rd-img.is-in img { scale: 1; }

/* ---------- Titulares heredados → sistema rd- ---------- */
.home-rd .social__title, .home-rd .firma__title, .home-rd .faq-block__title,
.home-rd .bprev__title, .home-rd .cta-final__title, .home-rd .lead-magnet__title {
  font-family: var(--sans); font-weight: 400;
  letter-spacing: -0.04em; line-height: 1.03;
  color: var(--rd-text);
}
.home-rd .social__title, .home-rd .firma__title, .home-rd .faq-block__title, .home-rd .bprev__title {
  font-size: clamp(36px, 4.4vw, 66px);
}
.home-rd .lead-magnet__title { font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -0.03em; }
.home-rd .cta-final__title { font-size: clamp(44px, 7.2vw, 112px); line-height: 0.98; letter-spacing: -0.05em; }
.home-rd .social__title em, .home-rd .firma__title em, .home-rd .faq-block__title em,
.home-rd .bprev__title em, .home-rd .cta-final__title em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -0.01em; color: var(--rd-gold);
}
/* Mismo sistema tipográfico en 03B y en las tarjetas (antes en Playfair) */
.home-rd .rd-puertas-detail__title, .home-rd .rd-puertas-detail__closing-title {
  font-family: var(--sans); font-weight: 400; letter-spacing: -0.04em; color: var(--rd-text);
}
.home-rd .rd-puertas-detail__title { font-size: clamp(34px, 3.6vw, 54px); line-height: 1.04; }
.home-rd .rd-puertas-detail__title-em, .home-rd .rd-puertas-detail__closing-em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em;
}
.home-rd .rd-puertas-detail__door-title, .home-rd .bprev__cardtitle {
  font-family: var(--sans); font-weight: 500; letter-spacing: -0.025em;
}
.home-rd .section-sub, .home-rd .faq-block__sub, .home-rd .cta-final__sub { color: var(--rd-muted); }
.home-rd .cta-final__sub { font-size: clamp(16px, 1.4vw, 20px); }
.home-rd .firma__sub { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--rd-text); max-width: 1040px; }

/* Ritmo vertical y fondo continuo, como el resto del rediseño */
.home-rd .social, .home-rd .firma, .home-rd .recursos, .home-rd .bprev { padding-block: clamp(96px, 10vw, 150px); }
.home-rd .cta-final { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(120px, 14vw, 220px); }

/* ---------- Frase de la firma: se ilumina al leer ---------- */
.rd-motion [data-rd-scrub] .rd-sw { opacity: 0.18; transition: opacity 0.35s ease; }
.rd-motion [data-rd-scrub] .rd-sw.is-lit { opacity: 1; }

/* ---------- Tarjetas: elevación + luz que sigue al cursor ---------- */
.home-rd .rd-has-spot { position: relative; isolation: isolate; }
.rd-spot {
  position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity 0.5s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--rd-goldc), 0.13), transparent 62%);
}
.rd-has-spot:hover > .rd-spot { opacity: 1; }
.home-rd .cliente, .home-rd .bprev__card, .home-rd .ficha, .home-rd .lead-magnet {
  transition: opacity 1s ease, transform 1.2s var(--rd-ease), filter 1s ease, translate 0.7s var(--rd-ease), border-color 0.5s ease, box-shadow 0.6s ease;
}
.home-rd .cliente:hover, .home-rd .bprev__card:hover, .home-rd .ficha:hover, .home-rd .rd-puertas-detail__door:hover {
  translate: 0 -6px;
  border-color: rgba(var(--rd-goldc), 0.35);
  box-shadow: 0 30px 80px -34px rgba(var(--rd-goldc), 0.3);
}
.home-rd .rd-puertas-detail__door { transition: translate 0.7s var(--rd-ease), border-color 0.5s ease, box-shadow 0.6s ease; }
.home-rd .persona__foto { transition: translate 0.7s var(--rd-ease), box-shadow 0.6s ease; }
.home-rd .persona:hover .persona__foto { translate: 0 -6px; box-shadow: 0 18px 40px -14px rgba(var(--rd-goldc), 0.45); }

/* FAQ: línea dorada que recorre la pregunta al pasar */
.home-rd .faq__item { position: relative; }
.home-rd .faq__item::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--rd-gold) 50%, transparent);
  transform: scaleX(0); transition: transform 0.9s var(--rd-ease);
}
.home-rd .faq__item:hover::after, .home-rd .faq__item[open]::after { transform: scaleX(1); }

/* ---------- Botones: magnéticos y con brillo ---------- */
.home-rd .rd-magnet { transition: translate 0.6s var(--rd-ease), box-shadow 0.5s ease, filter 0.3s ease; }
.home-rd .rd-magnet:hover { box-shadow: 0 16px 44px -12px rgba(var(--rd-goldc), 0.55); }

/* ---------- Franja de logos infinita ---------- */
.rd-logos { position: relative; padding: 48px 0 12px; background-color: #06040b; }
.rd-logos__inner { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 40px; }
.rd-logos__label {
  font-family: var(--mono); font-size: 11px; line-height: 1.7;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--rd-dim);
}
.rd-logos__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.rd-logos__track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; }
.rd-logos__track li { flex: 0 0 auto; margin-right: 64px; }
.rd-logos__track img {
  display: block; width: 76px; height: 76px; object-fit: contain;
  filter: brightness(0) invert(1); opacity: 0.5;
  transition: filter 0.5s ease, opacity 0.5s ease, scale 0.5s var(--rd-ease);
}
.rd-logos__track li:hover img { filter: none; opacity: 1; scale: 1.08; }
.rd-motion .rd-logos__track { animation: rd-marquee 42s linear infinite; }
.rd-logos__viewport:hover .rd-logos__track { animation-play-state: paused; }
@keyframes rd-marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- CTA final: aurora en movimiento ---------- */
.rd-aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.rd-aurora span {
  position: absolute; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px;
  border-radius: 50%; filter: blur(70px); opacity: 0.55;
}
.rd-aurora span:nth-child(1) { left: 8%; top: 10%; background: radial-gradient(circle, rgba(var(--rd-violet), 0.45), transparent 65%); animation: rd-drift-a 16s ease-in-out infinite alternate; }
.rd-aurora span:nth-child(2) { right: 6%; top: 24%; background: radial-gradient(circle, rgba(var(--rd-goldc), 0.38), transparent 65%); animation: rd-drift-b 19s ease-in-out infinite alternate; }
.rd-aurora span:nth-child(3) { left: 36%; bottom: -30%; background: radial-gradient(circle, rgba(var(--rd-blue), 0.3), transparent 65%); animation: rd-drift-a 22s ease-in-out infinite alternate-reverse; }
@keyframes rd-drift-a { to { transform: translate3d(12vw, 6vw, 0) scale(1.15); } }
@keyframes rd-drift-b { to { transform: translate3d(-14vw, -4vw, 0) scale(0.9); } }
.home-rd .cta-final .container { position: relative; }

/* ---------- Footer: marca gigante ---------- */
.home-rd .pie::after {
  content: 'NeuroNet'; display: block;
  margin: 56px auto 0; text-align: center;
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(84px, 19vw, 300px); line-height: 0.78; letter-spacing: -0.06em;
  background: linear-gradient(180deg, rgba(244, 241, 248, 0.16), rgba(244, 241, 248, 0));
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  pointer-events: none; user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  .rd-aurora span, .rd-logos__track { animation: none; }
  .home-rd .nav.rd-nav--hidden { transform: none; }
}
@media (max-width: 699px) {
  .rd-logos__inner { grid-template-columns: 1fr; gap: 20px; }
  .rd-logos__label { text-align: center; }
  .rd-logos__track li { margin-right: 44px; }
  .rd-logos__track img { width: 60px; height: 60px; }
}

/* ============================================================
   SCALE-FEEL · composición y acabados inspirados en scale.com
   (2026-11-24) sobre la capa MOTION-SCALE:
   hero en panel redondeado que se encoge al salir · etiquetas con
   triángulo ◥ · botones rectos con caja de flecha · declaración
   centrada con planos 3D que se separan con el scroll · láminas
   (.rd-sheet) que suben y crecen al entrar · panel de texto que se
   ilumina con fotos en paralaje · clientes en carrusel horizontal ·
   blog en lámina clara · CTA en lámina dorada con trazo · footer negro.
   ============================================================ */

/* ---------- Hero en panel redondeado ---------- */
.home-rd .rd-hero {
  margin: 10px 10px 0;
  border-radius: 26px;
  box-shadow: inset 0 0 0 1px rgba(244, 241, 248, 0.07);
}
/* El nav fijo vive dentro del hero: se escala el contenido, nunca la sección
   (un transform en .rd-hero convertiría al nav en hijo desplazable). */
.home-rd .rd-hero__inner, .home-rd .rd-hero__foot {
  transform-origin: 50% 0;
  scale: calc(1 - var(--rd-hero-p, 0) * 0.06);
  opacity: calc(1 - var(--rd-hero-p, 0) * 1.6);
}
.home-rd { background-color: #030207; }
/* "Explorar" como en la referencia: texto + caja con flecha */
.home-rd .rd-hero__scroll { flex-direction: row-reverse; align-items: center; gap: 14px; }
.home-rd .rd-hero__scroll-line { display: none; }
.home-rd .rd-hero__scroll-dot {
  position: relative; width: 34px; height: 34px; border-radius: 7px;
  background: transparent; box-shadow: inset 0 0 0 1px rgba(244, 241, 248, 0.45);
  animation: none;
}
.home-rd .rd-hero__scroll-dot::after {
  content: '↓'; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 15px; color: #f4f1f8; animation: rd-scroll-signal 2.4s ease-in-out infinite;
}
.home-rd .rd-hero__scroll-txt { letter-spacing: 0.02em; text-transform: none; font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: #f4f1f8; }

/* ---------- Etiquetas con triángulo ◥ ---------- */
.rd-tag, .home-rd main .kicker, .rd-techos__eyebrow, .rd-puertas-intro__eyebrow, .rd-puertas-detail__eyebrow, .rd-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
}
.rd-tag {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #cfc9da;
}
.rd-tag::before, .home-rd main .kicker::before,
.rd-techos__eyebrow::before, .rd-puertas-intro__eyebrow::before, .rd-puertas-detail__eyebrow::before, .rd-hero__eyebrow::before {
  content: ''; flex: 0 0 auto; width: 9px; height: 9px;
  background: var(--rd-gold); opacity: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transform: none; transition: transform 0.8s var(--rd-ease) 0.1s;
}
.home-rd [class$="eyebrow-line"] { display: none; }
.rd-motion main .kicker[data-rd-in]:not(.is-in)::before,
.rd-motion [data-rd-in]:not(.is-in).rd-tag::before { transform: scale(0) rotate(-90deg); }

/* ---------- Botones rectos con caja de flecha ---------- */
.home-rd .rd-hero__cta, .home-rd .nav__cta, .home-rd .btn--gold-solid, .home-rd .btn--gold { border-radius: 9px; }
.home-rd .rd-hero__cta { padding-right: 10px; gap: 14px; }
.home-rd .rd-hero__cta-arrow, .home-rd .nav__cta > span, .rd-btn__box {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 6px;
  background: rgba(36, 27, 8, 0.16); font-size: 14px;
  transition: transform 0.5s var(--rd-ease), background 0.3s ease;
}
.home-rd .nav__cta { padding: 7px 7px 7px 16px; }
.home-rd .nav__cta > span { width: 26px; height: 26px; }
.home-rd .rd-hero__cta:hover .rd-hero__cta-arrow, .home-rd .nav__cta:hover > span, .rd-btn:hover .rd-btn__box, .home-rd .btn:hover .rd-btn__box { transform: translateX(3px); }
.home-rd .btn .rd-btn__box { margin-left: 12px; margin-right: -8px; }
.rd-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 18px; border-radius: 9px;
  background: rgba(244, 241, 248, 0.06); color: #f4f1f8;
  box-shadow: inset 0 0 0 1px rgba(244, 241, 248, 0.14);
  font-size: 14.5px; font-weight: 500; text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, translate 0.6s var(--rd-ease);
}
.rd-btn:hover { background: rgba(var(--rd-goldc), 0.14); box-shadow: inset 0 0 0 1px rgba(var(--rd-goldc), 0.5); }
.rd-btn .rd-btn__box { background: rgba(244, 241, 248, 0.1); }

/* ---------- Declaración centrada + planos 3D + logos ---------- */
.rd-statement { position: relative; padding: clamp(110px, 12vw, 180px) 0 clamp(60px, 7vw, 100px); background: transparent; }
.rd-statement__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.rd-statement__title {
  margin-top: 22px; max-width: 18em;
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(34px, 4.2vw, 62px); line-height: 1.04; letter-spacing: -0.04em; color: var(--rd-text);
}
.rd-statement__title em { font-family: var(--serif); font-style: italic; letter-spacing: -0.01em; color: var(--rd-gold); }
.rd-statement__lead { margin-top: 22px; max-width: 640px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--rd-muted); }
.rd-statement .rd-btn { margin-top: 34px; }

.rd-stack { --sp: 0; width: min(520px, 86vw); aspect-ratio: 16 / 10; margin-bottom: clamp(48px, 6vw, 80px); perspective: 1400px; }
.rd-stack__rig {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(calc(12deg - var(--sp) * 4deg)) rotateY(calc(-30deg + var(--sp) * 12deg)) rotateZ(3deg);
}
.rd-stack__plane {
  position: absolute; inset: 0; border-radius: 16px;
  transform: translateZ(calc((var(--i) - 1.5) * (12px + var(--sp) * 44px))) translateX(calc((var(--i) - 1.5) * var(--sp) * 16px));
  background: linear-gradient(160deg, rgba(var(--c), 0.14), rgba(var(--c), 0.02) 60%);
}
.rd-stack__plane svg { display: block; width: 100%; height: 100%; overflow: visible; }
.rd-stack__plane--a { --i: 0; --c: var(--rd-violet); }
.rd-stack__plane--b { --i: 1; --c: var(--rd-goldc); }
.rd-stack__plane--c { --i: 2; --c: var(--rd-cyan); }
.rd-stack__plane--d { --i: 3; --c: 244, 241, 248; background: linear-gradient(160deg, rgba(244, 241, 248, 0.06), rgba(244, 241, 248, 0)); }
.rd-stack__frame { fill: none; stroke: rgba(var(--c), 0.75); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.rd-stack__ln { fill: none; stroke: rgba(var(--c), 0.55); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.rd-stack__ln--hot { stroke: rgb(var(--c)); stroke-width: 1.8; filter: drop-shadow(0 0 6px rgba(var(--c), 0.9)); }
.rd-stack__dot { fill: rgb(var(--c)); filter: drop-shadow(0 0 5px rgba(var(--c), 1)); }
.rd-stack__caret { fill: var(--rd-gold); animation: rd-caret 1.1s steps(1) infinite; }
@keyframes rd-caret { 50% { opacity: 0; } }
.rd-motion .rd-stack .rd-stack__frame, .rd-motion .rd-stack .rd-stack__ln { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--rd-ease); }
.rd-motion .rd-stack .rd-stack__plane--b .rd-stack__ln { transition-delay: 0.3s; }
.rd-motion .rd-stack .rd-stack__plane--c .rd-stack__ln { transition-delay: 0.5s; }
.rd-motion .rd-stack .rd-stack__plane--d .rd-stack__ln { transition-delay: 0.7s; }
.rd-motion .rd-stack .rd-stack__dot { opacity: 0; transition: opacity 0.6s ease 1.4s; }
.rd-motion .rd-stack.is-in .rd-stack__frame, .rd-motion .rd-stack.is-in .rd-stack__ln { stroke-dashoffset: 0; }
.rd-motion .rd-stack.is-in .rd-stack__dot { opacity: 1; }

.rd-statement .rd-logos { width: 100%; margin-top: clamp(64px, 7vw, 100px); padding: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.rd-statement .rd-logos__label { text-align: center; }
.rd-statement .rd-logos__viewport { width: 100%; }

/* ---------- Láminas que suben (.rd-sheet) ---------- */
.home-rd .rd-sheet {
  position: relative; overflow: hidden; isolation: isolate;
  margin-inline: 10px; border-radius: 28px;
  transform-origin: 50% 0;
  transform: scale(calc(0.93 + var(--rd-sheet-p, 1) * 0.07));
  will-change: transform;
}
.home-rd .rd-sheet + .rd-sheet, .home-rd .rd-sheet--gold { margin-top: 10px; }

/* ---------- Panel de texto que se ilumina ---------- */
.rd-stat { margin-block: clamp(40px, 6vw, 90px); padding: 0; background: radial-gradient(70% 90% at 85% 0%, rgba(var(--rd-violet), 0.22), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(var(--rd-goldc), 0.12), transparent 60%), #0e0a18; box-shadow: inset 0 0 0 1px rgba(244, 241, 248, 0.07); }
.rd-stat__inner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: min(86vh, 760px); padding: clamp(40px, 5vw, 80px); }
.rd-stat__media { position: relative; height: 100%; min-height: 420px; }
.rd-stat__img { position: absolute; display: block; height: auto; object-fit: cover; border-radius: 14px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(244, 241, 248, 0.1); }
.rd-stat__img--1 { width: 78%; aspect-ratio: 16 / 10; left: 0; top: 4%; }
.rd-stat__img--2 { width: 46%; aspect-ratio: 3 / 4; right: 0; top: 30%; }
.rd-stat__img--3 { width: 58%; aspect-ratio: 4 / 3; left: 8%; bottom: 2%; }
.rd-stat__text {
  margin-top: 26px;
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(32px, 4.3vw, 68px); line-height: 1.08; letter-spacing: -0.04em; color: var(--rd-text);
}
.rd-stat__foot { margin-top: 32px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rd-dim); }
.rd-motion .rd-stat__text .rd-sw { opacity: 0.16; }

/* ---------- Clientes: carrusel horizontal ---------- */
.home-rd .clientes__grid {
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 0;
  margin-right: calc(50% - 50vw); padding: 6px max(22px, calc(50vw - 50%)) 10px 0;
  scrollbar-width: none; cursor: grab;
}
.home-rd .clientes__grid::-webkit-scrollbar { display: none; }
.home-rd .clientes__grid.is-drag { cursor: grabbing; scroll-snap-type: none; }
.home-rd .clientes__grid.is-drag * { pointer-events: none; }
.home-rd .cliente {
  flex: 0 0 min(400px, 84vw); scroll-snap-align: start;
  min-height: 380px; padding: 28px;
  border: 0; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 0 0 1px rgba(244, 241, 248, 0.08);
}
.home-rd .cliente:hover { box-shadow: inset 0 0 0 1px rgba(var(--rd-goldc), 0.35), 0 30px 80px -34px rgba(var(--rd-goldc), 0.3); }
.home-rd .cliente__media { justify-content: flex-start; height: auto; padding: 0; background: none !important; }
.home-rd .cliente__tile, .home-rd .cliente__logo { width: 60px; height: 60px; padding: 8px; border-radius: 12px; box-shadow: none !important; }
.home-rd .cliente__body { margin-top: auto; padding: 48px 0 0; gap: 10px; }
.home-rd .cliente__sector { order: -1; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rd-dim); }
.home-rd .cliente__name { font-size: 15px; font-weight: 500; color: var(--rd-muted); }
.home-rd .cliente__desc { order: -1; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.3; letter-spacing: -0.02em; color: var(--rd-text); }
.home-rd .cliente__badge { margin: 18px 0 0; }
.rd-carrusel__nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; }
.rd-carrusel__bar { flex: 1; height: 1px; background: var(--rd-line); position: relative; }
.rd-carrusel__bar span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--rd-gold); width: var(--w, 30%); transform: translateX(var(--x, 0)); transition: transform 0.3s ease; }
.rd-carrusel__btns { display: flex; gap: 8px; }
.rd-carrusel__btn {
  width: 40px; height: 40px; border-radius: 9px; border: 0; cursor: pointer;
  background: rgba(244, 241, 248, 0.06); color: #f4f1f8; font-size: 16px;
  box-shadow: inset 0 0 0 1px rgba(244, 241, 248, 0.14);
  transition: background 0.3s ease;
}
.rd-carrusel__btn:hover { background: rgba(var(--rd-goldc), 0.18); }

/* ---------- Blog en lámina clara ---------- */
.home-rd .rd-sheet--light { background: #f3efe7; color: #17131f; }
.home-rd .rd-sheet--light .kicker, .home-rd .rd-sheet--light .bprev__more { color: #6b3fd1; }
.home-rd .rd-sheet--light .kicker::before { background: #6b3fd1; }
.home-rd .rd-sheet--light .bprev__title { color: #16121e; }
.home-rd .rd-sheet--light .bprev__title em { color: #6b3fd1; }
.home-rd .rd-sheet--light .bprev__ver { color: #6b3fd1; }
.home-rd .rd-sheet--light .bprev__card {
  background: #fffdf9; border-color: rgba(23, 19, 31, 0.08);
  box-shadow: 0 1px 0 rgba(23, 19, 31, 0.04);
}
.home-rd .rd-sheet--light .bprev__card:hover { border-color: rgba(164, 124, 44, 0.4); box-shadow: 0 30px 70px -36px rgba(40, 20, 90, 0.45); }
.home-rd .rd-sheet--light .bprev__cardtitle, .home-rd .rd-sheet--light .bprev__cardtitle a { color: #16121e; }
.home-rd .rd-sheet--light .bprev__sub { color: #5d5868; }
.home-rd .rd-sheet--light .bprev__meta, .home-rd .rd-sheet--light .bprev__autor { color: #6b6576; border-color: rgba(23, 19, 31, 0.08); }
.home-rd .rd-sheet--light .bprev__tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(23, 19, 31, 0.05); color: #4a4455; border-color: transparent;
}
.home-rd .rd-sheet--light .bprev__tag::before { content: ''; width: 7px; height: 7px; background: #6b3fd1; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.home-rd .rd-sheet--light .rd-spot { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(107, 63, 209, 0.12), transparent 62%); }

/* ---------- CTA en lámina dorada con trazo ---------- */
.home-rd .rd-sheet--gold {
  background: linear-gradient(135deg, #b9a6ff 0%, #b9a6ff 55%, #6b3fd1 100%);
  color: #1a1307;
}
.home-rd .rd-sheet--gold .rd-aurora { display: none; }
.home-rd .rd-sheet--gold .container {
  z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; text-align: left;
}
.home-rd .rd-sheet--gold .cta-final__title { color: #0b0814; font-size: clamp(40px, 5.4vw, 84px); max-width: 11em; }
.home-rd .rd-sheet--gold .cta-final__title em { color: #0b0814; }
.home-rd .rd-sheet--gold .cta-final__sub { color: #3d2f14; max-width: 30em; }
.home-rd .rd-sheet--gold .btn--gold-solid { background: #0b0814; color: #f6efe0; box-shadow: none; }
.home-rd .rd-sheet--gold .btn--gold-solid .rd-btn__box { background: rgba(246, 239, 224, 0.14); }
.rd-cta-art {
  position: absolute; z-index: 0; right: clamp(-60px, 2vw, 60px); top: 50%;
  width: min(46vw, 620px); height: auto; transform: translateY(-50%); pointer-events: none;
}
.rd-cta-art__ln { fill: none; stroke: #0b0814; stroke-width: 1.2; opacity: 0.55; vector-effect: non-scaling-stroke; }
.rd-cta-art__ln--route { stroke-width: 1.8; opacity: 0.85; }
.rd-cta-art__tri { fill: #0b0814; }
.rd-motion .rd-cta-art__ln { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--rd-ease); }
.rd-motion .rd-cta-art__ln--route { transition-delay: 0.8s; }
.rd-motion .rd-cta-art__tri { opacity: 0; transition: opacity 0.6s ease 2s; }
.rd-motion .rd-cta-art.is-in .rd-cta-art__ln { stroke-dashoffset: 0; }
.rd-motion .rd-cta-art.is-in .rd-cta-art__tri { opacity: 1; }
.rd-cta-art { animation: rd-cta-float 9s ease-in-out infinite alternate; }
@keyframes rd-cta-float { to { transform: translateY(-50%) rotate(4deg); } }

/* ---------- Footer negro ---------- */
.home-rd .pie { background: #000; }
.home-rd .pie__heading { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rd-dim); }

@media (prefers-reduced-motion: reduce) {
  .home-rd .rd-sheet { transform: none; }
  .home-rd .rd-hero__inner, .home-rd .rd-hero__foot { scale: none; opacity: 1; }
  .rd-cta-art, .rd-stack__caret, .home-rd .rd-hero__scroll-dot::after { animation: none; }
}
@media (max-width: 1023px) {
  .rd-stat__inner { grid-template-columns: 1fr; min-height: 0; }
  .rd-stat__media { min-height: 300px; }
  .rd-cta-art { opacity: 0.35; width: 80vw; }
}
@media (max-width: 699px) {
  .home-rd .rd-hero { margin: 6px 6px 0; border-radius: 20px; }
  .home-rd .rd-sheet { margin-inline: 6px; border-radius: 22px; }
  .rd-stat__inner { padding: 28px 22px 40px; }
  .rd-stat__media { min-height: 280px; margin-bottom: 16px; }
  .rd-stack { width: 86vw; }
}

/* ============================================================
   PREMIUM · pulido final (2026-11-24) sobre SCALE-FEEL:
   hero centrado con el globo saliendo como un planeta · bloque
   de planos fijado que recorre las cuatro capacidades · grano
   fino en toda la página · Firma en lámina clara · ritmo y
   tipografía más amplios.
   ============================================================ */

/* ---------- Grano fino (textura premium, sin imágenes) ---------- */
.rd-grain {
  position: fixed; inset: -50%; z-index: 72; pointer-events: none;
  width: 200%; height: 200%; opacity: 0.045; mix-blend-mode: overlay;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: rd-grain 1.2s steps(6) infinite;
}
@keyframes rd-grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- Hero centrado: el globo sale por abajo como un planeta ---------- */
@media (min-width: 1024px) {
  .home-rd .rd-hero {
    min-height: calc(100vh - 10px);
    background-image:
      radial-gradient(60% 55% at 50% 108%, rgba(120, 76, 210, 0.42), transparent 70%),
      radial-gradient(40% 40% at 50% 0%, rgba(54, 34, 96, 0.22), transparent 72%);
  }
  .home-rd .rd-hero__visual {
    left: 50%; top: calc(100% + 24vw);
    width: 118vw; max-width: 1900px;
  }
  .home-rd .rd-hero__inner { align-items: flex-start; padding-top: clamp(40px, 9vh, 110px); }
  .home-rd .rd-hero__content { max-width: 1120px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .home-rd .rd-hero__eyebrow { justify-content: center; margin-bottom: 26px; }
  .home-rd .rd-hero__title {
    font-size: clamp(56px, 6.6vw, 112px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 300;
    max-width: 12.5em;
  }
  .home-rd .rd-hero__title br { display: none; }
  .home-rd .rd-hero__lead { max-width: 600px; margin-top: 28px; font-size: 19px; }
  .home-rd .rd-hero__actions { justify-content: center; margin-top: 34px; }
  .home-rd .rd-hero__foot { position: relative; z-index: 2; }
}
/* Viñeta inferior para que el planeta se funda con el panel */
.home-rd .rd-hero::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 30%; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(6, 4, 11, 0.55));
}

/* ---------- Declaración fijada: recorre las cuatro capacidades ---------- */
.rd-statement { padding: 0 0 clamp(60px, 7vw, 100px); }
.rd-statement__pin { padding-top: clamp(100px, 11vw, 160px); }
.rd-statement__steps {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: 40px 0 0; padding: 0; list-style: none;
}
.rd-statement__steps li {
  --c: var(--rd-blue);
  position: relative; overflow: hidden;
  padding: 9px 16px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rd-dim);
  box-shadow: inset 0 0 0 1px rgba(244, 241, 248, 0.1);
  transition: color 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
}
.rd-statement__steps li::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: rgb(var(--c)); transform-origin: 0 50%; transform: scaleX(var(--f, 0));
}
.rd-statement__steps li.is-active {
  color: #f4f1f8; background: rgba(var(--c), 0.12);
  box-shadow: inset 0 0 0 1px rgba(var(--c), 0.55), 0 0 24px -6px rgba(var(--c), 0.6);
}
/* Color de la pila según la capacidad activa */
.rd-stack { --hot: var(--rd-blue); }
.rd-stack[data-state="1"] { --hot: var(--rd-cyan); }
.rd-stack[data-state="2"] { --hot: var(--rd-violet); }
.rd-stack[data-state="3"] { --hot: var(--rd-goldc); }
.rd-stack__plane--a, .rd-stack__plane--b { --c: var(--hot); }
.rd-stack__plane { transition: background 0.8s ease; }
.rd-stack__frame, .rd-stack__ln, .rd-stack__dot { transition: stroke 0.8s ease, fill 0.8s ease, stroke-dashoffset 2.2s var(--rd-ease), opacity 0.6s ease; }
.rd-stack::after {   /* halo que cambia de color */
  content: ''; position: absolute; left: 50%; top: 50%; width: 120%; height: 120%; z-index: -1;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--hot), 0.22), transparent 70%);
  transition: background 0.8s ease; pointer-events: none;
}
.rd-stack { position: relative; isolation: isolate; }

@media (min-width: 1024px) {
  .rd-statement.is-pinned .rd-statement__pin { height: 300vh; padding-top: 0; }
  .rd-statement.is-pinned .rd-statement__inner {
    position: sticky; top: 0; height: 100vh;
    justify-content: center; padding-top: var(--rd-nav-h);
  }
  .rd-statement.is-pinned .rd-stack { width: min(480px, 40vw); margin-bottom: clamp(32px, 4vh, 56px); }
}

/* ---------- Firma en lámina clara ---------- */
.home-rd .firma.rd-sheet--light {
  --text: #16121e; --muted: #5d5868; --text-2: #3f3a4a; --text-3: #3f3a4a;
  --rd-text: #16121e; --rd-muted: #5d5868; --rd-dim: #8a8494;
  background: #f3efe7;
}
.home-rd .firma.rd-sheet--light .firma__title em { color: #6b3fd1; }
.home-rd .firma.rd-sheet--light .rule { border-color: rgba(23, 19, 31, 0.1); background: rgba(23, 19, 31, 0.1); }
.home-rd .firma.rd-sheet--light .ficha {
  --text: #f7f6f9; --muted: #9a95a6; --text-2: #d9d6e0; --text-3: #d9d6e0;
  background: #0e0a18; border-color: transparent;
  box-shadow: 0 40px 90px -40px rgba(23, 19, 31, 0.6);
}
.home-rd .firma.rd-sheet--light .ficha__kicker { color: var(--rd-gold); }
.home-rd .firma.rd-sheet--light .persona__foto { box-shadow: 0 14px 30px -14px rgba(23, 19, 31, 0.5); }
.home-rd .firma.rd-sheet--light .persona figcaption strong { color: #16121e; }
.home-rd .firma.rd-sheet--light .persona figcaption span { color: #6b6576; }
.home-rd .firma.rd-sheet--light .firma__list li, .home-rd .firma.rd-sheet--light .firma__mercados strong { color: #16121e; }
.home-rd .firma.rd-sheet--light .firma__mercados small { color: #6b6576; }
.home-rd .firma.rd-sheet--light .rd-spot { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--rd-goldc), 0.16), transparent 62%); }
.home-rd .rd-sheet--light + .recursos, .home-rd .recursos { position: relative; }

/* ---------- Ritmo y tipografía más amplios ---------- */
.home-rd .social__title, .home-rd .firma__title, .home-rd .faq-block__title, .home-rd .bprev__title {
  font-size: clamp(40px, 5vw, 76px); letter-spacing: -0.045em; line-height: 1;
}
.home-rd .rd-techos__title, .home-rd .rd-puertas-detail__title { letter-spacing: -0.045em; }
.home-rd .social, .home-rd .recursos { padding-block: clamp(110px, 12vw, 180px); }
.home-rd .firma.rd-sheet, .home-rd .bprev.rd-sheet { padding-block: clamp(100px, 11vw, 170px); }
.home-rd .nav__links a { letter-spacing: -0.005em; }

@media (prefers-reduced-motion: reduce) {
  .rd-grain { animation: none; }
}
@media (max-width: 1023px) {
  .home-rd .rd-hero__title br { display: none; }
}

.home-rd .rd-statement { overflow: visible; }   /* section{overflow:hidden} anularía el sticky */
/* Equipo: retratos más grandes, con anillo dorado al pasar */
.home-rd .persona__foto { width: 116px; height: 116px; transition: translate 0.7s var(--rd-ease), box-shadow 0.6s ease; }
.home-rd .persona:hover .persona__foto { box-shadow: 0 0 0 2px #f3efe7, 0 0 0 4px var(--rd-gold), 0 18px 40px -14px rgba(var(--rd-goldc), 0.5); }
.home-rd .persona figcaption strong { font-size: 16px; letter-spacing: -0.01em; }
.home-rd .equipo { row-gap: 44px; }
@media (max-width: 699px) { .home-rd .persona__foto { width: 92px; height: 92px; } }

/* ============================================================
   02 · LOS 4 TECHOS · lista interactiva (2026-11-24)
   Sustituye a las cuatro columnas de texto: una fila por techo con
   nombre grande + síntoma en una línea; al pasar o tocar se abre la
   solución con su ícono y enlace (patrón de acordeón).
   ============================================================ */
.home-rd .rd-techos { padding-bottom: clamp(100px, 11vw, 160px); }
.home-rd .rd-techos__title { font-size: clamp(40px, 4.6vw, 72px); line-height: 1; white-space: normal; }
.home-rd .rd-techos__header { align-items: center; }
.rd-limits { margin: clamp(24px, 4vw, 56px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rd-line); }
.rd-limit { --c: var(--rd-blue); position: relative; border-bottom: 1px solid var(--rd-line); }
.rd-limit::before {   /* barra de color que crece al abrir */
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, rgb(var(--c)), transparent 70%);
  transform-origin: 0 50%; transform: scaleX(0); transition: transform 0.9s var(--rd-ease);
}
.rd-limit.is-open::before { transform: scaleX(1); }
.rd-limit::after {   /* resplandor de fondo */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 120% at 0% 50%, rgba(var(--c), 0.1), transparent 70%);
  opacity: 0; transition: opacity 0.6s ease;
}
.rd-limit.is-open::after { opacity: 1; }
.rd-limit__head {
  width: 100%; display: grid; align-items: baseline;
  grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1fr) 28px; gap: 24px;
  padding: clamp(22px, 2.6vw, 34px) 0;
  background: none; border: 0; cursor: pointer; text-align: left; font: inherit; color: inherit;
}
.rd-limit__head:focus-visible { outline: 1px solid var(--rd-gold); outline-offset: 4px; }
.rd-limit__num { font-family: var(--mono); font-size: 13px; color: rgb(var(--c)); }
.rd-limit__name {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(34px, 4.4vw, 68px); line-height: 1; letter-spacing: -0.045em;
  color: rgba(244, 241, 248, 0.42);
  transition: color 0.5s ease, transform 0.7s var(--rd-ease);
}
.rd-limit.is-open .rd-limit__name, .rd-limit__head:hover .rd-limit__name { color: #f7f6f9; }
.rd-limit.is-open .rd-limit__name { transform: translateX(10px); }
.rd-limit__pain { font-size: clamp(16px, 1.35vw, 20px); line-height: 1.4; color: var(--rd-muted); transition: color 0.5s ease; }
.rd-limit.is-open .rd-limit__pain { color: #e9e6ef; }
.rd-limit__plus { position: relative; width: 18px; height: 18px; align-self: center; justify-self: end; }
.rd-limit__plus::before, .rd-limit__plus::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px;
  background: rgb(var(--c)); transition: transform 0.5s var(--rd-ease);
}
.rd-limit__plus::after { transform: rotate(90deg); }
.rd-limit.is-open .rd-limit__plus::after { transform: rotate(0deg); }
.rd-limit__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.7s var(--rd-ease); }
.rd-limit.is-open .rd-limit__body { grid-template-rows: 1fr; }
.rd-limit__body-in {
  overflow: hidden; min-height: 0;
  display: grid; grid-template-columns: 64px minmax(0, 0.9fr) minmax(0, 1fr) 28px; gap: 24px; align-items: center;
}
.rd-limit__body-in > .rd-techos__icon {
  grid-column: 2; width: 120px; height: 90px; margin: 0 0 clamp(26px, 3vw, 40px) 10px; color: rgb(var(--c));
  opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease 0.1s, transform 0.8s var(--rd-ease) 0.1s;
}
.rd-limit__fix {
  grid-column: 3; margin: 0 0 clamp(26px, 3vw, 40px);
  font-size: clamp(20px, 1.8vw, 27px); line-height: 1.25; letter-spacing: -0.025em; color: #f7f6f9;
  opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease 0.18s, transform 0.8s var(--rd-ease) 0.18s;
}
.rd-limit__label { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(var(--c)); }
.rd-limit__cta {
  grid-column: 3; justify-self: start; margin: -10px 0 clamp(30px, 3.4vw, 44px);
  opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease 0.26s, transform 0.8s var(--rd-ease) 0.26s, background 0.3s ease, box-shadow 0.3s ease;
}
.rd-limit__body-in { grid-template-rows: auto auto; }
.rd-limit__body-in > .rd-techos__icon { grid-row: 1 / 3; align-self: start; }
.rd-limit.is-open .rd-limit__body-in > * { opacity: 1; transform: none; }
.rd-techos__end { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }

@media (max-width: 1023px) {
  .rd-limit__head { grid-template-columns: 40px minmax(0, 1fr) 24px; row-gap: 8px; }
  .rd-limit__pain { grid-column: 2; grid-row: 2; }
  .rd-limit__plus { grid-column: 3; grid-row: 1; }
  .rd-limit__body-in { grid-template-columns: 40px minmax(0, 1fr); }
  .rd-limit__body-in > .rd-techos__icon { display: none; }
  .rd-limit__fix, .rd-limit__cta { grid-column: 2; }
}
@media (min-width: 1024px) {
  .home-rd .rd-techos__header { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 48px; }
  .home-rd .rd-techos__title { font-size: clamp(40px, 3.9vw, 56px); }
}
@media (max-width: 1023px) { .rd-limit.is-open .rd-limit__name { transform: none; } }
.home-rd main h2, .home-rd .rd-hero__title { text-wrap: balance; }

/* ============================================================
   03B · CUATRO PUERTAS · tarjetas limpias (2026-11-24)
   Sin paneles de "dashboard" ni listas: tarjeta alta con un ícono
   grande, categoría, título y un botón. Más cerca de las tarjetas
   de clientes de scale.com.
   ============================================================ */
.home-rd .rd-puertas-detail__title { font-size: clamp(40px, 4.4vw, 68px); line-height: 1; max-width: 14em; }
.home-rd .rd-puertas-detail__header { grid-template-columns: 1fr; }
.home-rd .rd-puertas-detail__visual { display: none; }
.home-rd .rd-puertas-detail__door {
  min-height: 520px; padding: 34px 34px 30px;
  border: 0; border-radius: 22px;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(var(--c), 0.22), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: inset 0 0 0 1px rgba(244, 241, 248, 0.08);
  transition: translate 0.7s var(--rd-ease), box-shadow 0.5s ease;
}
.home-rd .rd-puertas-detail__door:hover { box-shadow: inset 0 0 0 1px rgba(var(--c), 0.5), 0 40px 90px -40px rgba(var(--c), 0.55); }
.rd-door-art { position: absolute; top: 34px; right: 30px; z-index: 1; }
.rd-door-art .rd-door-icon {
  display: block; width: 150px; height: 112px; color: rgb(var(--c));
  filter: drop-shadow(0 0 18px rgba(var(--c), 0.45));
  transition: transform 0.9s var(--rd-ease);
}
.rd-puertas-detail__door:hover .rd-door-icon { transform: translateY(-6px) scale(1.06); }
.home-rd .rd-puertas-detail__body { justify-content: flex-end; height: 100%; }
.home-rd .rd-puertas-detail__num {
  position: absolute; top: 0; left: 0;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: rgb(var(--c));
}
.home-rd .rd-puertas-detail__num-of { color: var(--rd-dim); margin-left: 6px; }
.home-rd .rd-puertas-detail__cat {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #cfc9da;
}
.home-rd .rd-puertas-detail__cat::before { content: ''; width: 8px; height: 8px; background: rgb(var(--c)); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.home-rd .rd-puertas-detail__door-title {
  margin-top: 16px; max-width: 11em;
  font-size: clamp(28px, 2.5vw, 38px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 400; color: #f7f6f9;
}
.home-rd .rd-puertas-detail__cta {
  margin-top: 30px; display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 18px; border-radius: 9px;
  background: rgba(244, 241, 248, 0.06); box-shadow: inset 0 0 0 1px rgba(244, 241, 248, 0.14);
  font-size: 14.5px; font-weight: 500; color: #f4f1f8; text-decoration: none;
}
.home-rd .rd-puertas-detail__cta::after { display: none; }
.home-rd .rd-puertas-detail__cta > span {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 6px;
  background: rgba(var(--c), 0.25); transition: transform 0.5s var(--rd-ease);
}
.home-rd .rd-puertas-detail__cta:hover > span { transform: translateX(3px); }
.home-rd .rd-puertas-detail__closing-title { font-size: clamp(26px, 2.6vw, 40px); }
@media (max-width: 699px) {
  .home-rd .rd-puertas-detail__door { min-height: 440px; padding: 26px 24px; }
  .rd-door-art { top: 26px; right: 20px; }
  .rd-door-art .rd-door-icon { width: 110px; height: 82px; }
}

/* ============================================================
   PANEL "EN PRODUCCIÓN" · una foto con anotaciones (2026-11-24)
   Una sola imagen con recuadros y etiquetas (como las fotos
   anotadas de scale.com) + texto en panel tintado.
   ============================================================ */
.home-rd .rd-stat { background: #06040b; box-shadow: none; }
.rd-stat__inner { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.6fr); align-items: stretch; gap: 14px; padding: 14px; min-height: min(84vh, 720px); }
.rd-stat__media { min-height: 460px; border-radius: 18px; overflow: hidden; }
.rd-stat__media .rd-stat__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  border-radius: 0; box-shadow: none; filter: saturate(0.85) contrast(1.05);
}
.rd-stat__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 4, 11, 0.1), rgba(6, 4, 11, 0.55)); }
.rd-stat__box {
  position: absolute; z-index: 1; border: 1.5px solid rgba(var(--rd-goldc), 0.9); border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 0 18px rgba(var(--rd-goldc), 0.35);
}
.rd-stat__box--a { left: 2%; top: 32%; width: 30%; height: 50%; }
.rd-stat__box--b { left: 60%; top: 22%; width: 28%; height: 20%; border-color: rgba(var(--rd-violet), 0.9); box-shadow: 0 0 18px rgba(var(--rd-violet), 0.4); }
.rd-stat__chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 10px; border-radius: 6px; background: rgba(6, 4, 11, 0.72);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #f4f1f8;
}
.rd-stat__chip::before { content: ''; width: 7px; height: 7px; background: var(--rd-gold); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.rd-stat__chip--a { left: 2%; top: calc(32% - 34px); }
.rd-stat__chip--b { left: 18px; bottom: 18px; }
.rd-motion .rd-stat__box { opacity: 0; transform: scale(1.15); transition: opacity 0.6s ease 0.6s, transform 1s var(--rd-ease) 0.6s; }
.rd-motion .rd-stat__box--b { transition-delay: 0.9s; }
.rd-motion .rd-stat.is-seen .rd-stat__box { opacity: 1; transform: none; }
.rd-stat__copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(36px, 5vw, 80px); border-radius: 18px;
  background: radial-gradient(70% 90% at 100% 0%, rgba(var(--rd-violet), 0.28), transparent 60%), #120d1f;
}
.rd-stat__text { font-size: clamp(32px, 4vw, 64px); line-height: 1.06; }
@media (max-width: 1023px) {
  .rd-stat__inner { grid-template-columns: 1fr; }
  .rd-stat__media { min-height: 380px; margin-bottom: 0; }
}

/* ============================================================
   RONDA FINAL (2026-11-24): hero, En producción, Nosotros, Blog
   ============================================================ */

/* ---------- Hero: titular más contenido, menos ruido abajo ---------- */
@media (min-width: 1024px) {
  .home-rd .rd-hero__title { font-size: clamp(52px, 5.4vw, 92px); max-width: 15em; line-height: 1; }
  .home-rd .rd-hero__lead { font-size: 18px; max-width: 520px; color: #a9a4b8; }
  .home-rd .rd-hero__foot { display: flex; justify-content: flex-end; border: 0; padding-bottom: 30px; }
  .home-rd .rd-hero__foot::before, .home-rd .rd-hero__foot::after { display: none; }
  .home-rd .rd-hero__meta { display: none; }
  .home-rd .rd-hero__scroll { margin: 0; }
}

/* ---------- En producción: titular corto + cifras ---------- */
.rd-stat__copy { justify-content: space-between; gap: 48px; }
.rd-stat__text { margin-top: 22px; max-width: 13em; font-size: clamp(36px, 4.4vw, 72px); line-height: 1.02; letter-spacing: -0.045em; }
.rd-stat__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgba(244, 241, 248, 0.12); }
.rd-stat__nums > div { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 0 0; }
.rd-stat__nums > div + div { padding-left: 24px; border-left: 1px solid rgba(244, 241, 248, 0.12); }
.rd-stat__nums dd {
  margin: 0; order: -1;
  font-family: var(--sans); font-weight: 300; font-size: clamp(44px, 4.6vw, 76px); line-height: 1; letter-spacing: -0.05em; color: #f7f6f9;
}
.rd-stat__nums dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rd-muted); }
.rd-stat__nums > div:nth-child(2) dd { color: var(--rd-gold); }
.rd-stat__box--a { left: 4%; top: 30%; width: 30%; height: 52%; }
.rd-stat__chip--a { left: 4%; top: calc(30% - 34px); }

/* ---------- Nosotros: hechos en vez de párrafo ---------- */
.rd-firma__lead { margin-top: 26px; max-width: 34em; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.45; letter-spacing: -0.015em; color: #3f3a4a; }
.rd-firma__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(44px, 5vw, 72px); }
.rd-fact {
  display: flex; flex-direction: column; min-height: 240px; padding: 28px;
  border-radius: 18px; background: #fffdf9; box-shadow: inset 0 0 0 1px rgba(23, 19, 31, 0.07);
  transition: opacity 1s ease, translate 0.7s var(--rd-ease), filter 1s ease, box-shadow 0.5s ease;
}
.rd-fact:hover { translate: 0 -6px; box-shadow: inset 0 0 0 1px rgba(164, 124, 44, 0.35), 0 30px 70px -36px rgba(40, 20, 90, 0.45); }
.rd-fact__label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #6b3fd1; }
.rd-fact__label::before { content: ''; width: 8px; height: 8px; background: #6b3fd1; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.rd-fact__big { margin-top: auto; font-family: var(--sans); font-weight: 400; font-size: clamp(34px, 3.3vw, 52px); line-height: 1; letter-spacing: -0.045em; color: #16121e; }
.rd-fact__sub { margin-top: 12px; font-size: 14.5px; line-height: 1.45; color: #6b6576; }
.rd-fact--dark { background: #0e0a18; box-shadow: none; }
.rd-fact--dark .rd-fact__label { color: var(--rd-gold); }
.rd-fact--dark .rd-fact__label::before { background: var(--rd-gold); }
.rd-fact--dark .rd-fact__big { color: #f7f6f9; }
.rd-fact--dark .rd-fact__sub { color: #a9a4b8; }
.rd-firma__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.rd-firma__chips li { padding: 9px 16px; border-radius: 999px; font-size: 14px; color: #3f3a4a; box-shadow: inset 0 0 0 1px rgba(23, 19, 31, 0.12); }

/* ---------- Blog: rejilla tipo bento ---------- */
@media (min-width: 1024px) {
  .home-rd .bprev__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 14px; }
  .home-rd .bprev__grid > .bprev__card:first-child { grid-row: 1 / 3; min-height: 600px; border: 0; }
  .home-rd .bprev__grid > .bprev__card:first-child .bprev__media { position: absolute; inset: 0; height: auto; padding: 0; clip-path: none; }
  .home-rd .bprev__grid > .bprev__card:first-child .bprev__media img { border: 0; border-radius: 0; transition: scale 1.4s var(--rd-ease); }
  .home-rd .bprev__grid > .bprev__card:first-child:hover .bprev__media img { scale: 1.04; }
  .home-rd .bprev__grid > .bprev__card:first-child .bprev__media::after {
    content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 7, 16, 0) 35%, rgba(10, 7, 16, 0.88));
  }
  .home-rd .bprev__grid > .bprev__card:first-child .bprev__body { position: relative; z-index: 2; margin-top: auto; flex: 0; padding: 32px; }
  .home-rd .rd-sheet--light .bprev__grid > .bprev__card:first-child .bprev__cardtitle,
  .home-rd .rd-sheet--light .bprev__grid > .bprev__card:first-child .bprev__cardtitle a { color: #fff; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.08; letter-spacing: -0.035em; }
  .home-rd .rd-sheet--light .bprev__grid > .bprev__card:first-child .bprev__sub { color: rgba(255, 255, 255, 0.78); font-size: 16px; }
  .home-rd .rd-sheet--light .bprev__grid > .bprev__card:first-child .bprev__tag { background: rgba(255, 255, 255, 0.16); color: #fff; }
  .home-rd .rd-sheet--light .bprev__grid > .bprev__card:first-child .bprev__meta,
  .home-rd .rd-sheet--light .bprev__grid > .bprev__card:first-child .bprev__autor { color: rgba(255, 255, 255, 0.75); border-color: rgba(255, 255, 255, 0.18); }
  .home-rd .bprev__grid > .bprev__card:not(:first-child) { flex-direction: row; }
  .home-rd .bprev__grid > .bprev__card:not(:first-child) .bprev__media { flex: 0 0 44%; height: auto; padding: 10px 0 10px 10px; }
  .home-rd .bprev__grid > .bprev__card:not(:first-child) .bprev__body { padding: 24px 26px; }
  .home-rd .bprev__grid > .bprev__card:not(:first-child) .bprev__cardtitle { font-size: 22px; line-height: 1.2; letter-spacing: -0.025em; }
  .home-rd .bprev__grid > .bprev__card:not(:first-child) .bprev__sub { display: none; }
}
.home-rd .bprev__card { border-radius: 20px; }

@media (max-width: 1023px) {
  .rd-firma__facts { grid-template-columns: 1fr; }
  .rd-fact { min-height: 170px; }
  .rd-stat__nums dd { font-size: 40px; }
}
@media (max-width: 699px) {
  .rd-stat__nums { grid-template-columns: 1fr; }
  .rd-stat__nums > div, .rd-stat__nums > div + div { padding: 20px 0; border-left: 0; border-bottom: 1px solid rgba(244, 241, 248, 0.12); }
}
.rd-firma__facts, .rd-firma__chips { width: 100%; align-self: stretch; }

/* ============================================================
   VISTA EXPLOTADA (2026-11-24) · escena de scale.com con NeuroNet
   Pila de 5 planos (contornos, foto real, flujos, marcos) que
   arranca centrada con el titular; al seguir bajando se va a la
   izquierda, se separa en profundidad y a la derecha pasan las
   cuatro capacidades, cambiando foto y color. ≥1024px: fijada
   (sticky 100vh dentro de 460vh). <1024px: todo apilado.
   ============================================================ */
.rd-statement__pin { position: relative; }
.rd-statement__stage { position: relative; display: flex; flex-direction: column; align-items: center; padding: clamp(90px, 10vw, 140px) 0 40px; }

/* --- Pila --- */
.rd-x {
  --sp: 0.15; --hot: var(--rd-blue);
  position: relative; width: min(560px, 82vw); aspect-ratio: 4 / 3; perspective: 1800px; margin: 0;
}
.rd-x[data-state="1"] { --hot: var(--rd-cyan); }
.rd-x[data-state="2"] { --hot: var(--rd-violet); }
.rd-x[data-state="3"] { --hot: var(--rd-goldc); }
.rd-x::after { content: ''; position: absolute; inset: -20%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--hot), 0.2), transparent 70%); transition: background 0.8s ease; }
.rd-x .rd-stack__rig {
  position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  transform: rotateY(calc(-24deg - var(--sp) * 16deg)) rotateX(calc(8deg - var(--sp) * 2deg)) rotateZ(-1.5deg);
}
.rd-x__plane {
  position: absolute; inset: 0; border-radius: 18px;
  transform: translateZ(calc((var(--i) - 2) * (16px + var(--sp) * 120px))) translateX(calc((var(--i) - 2) * var(--sp) * 34px));
}
.rd-x__plane svg { display: block; width: 100%; height: 100%; overflow: visible; }
.rd-x .rd-stack__frame { fill: none; stroke: rgba(244, 241, 248, 0.85); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.rd-x .rd-stack__ln { fill: none; stroke: rgba(244, 241, 248, 0.55); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rd-x__dots { stroke-dasharray: 2 4; }
.rd-x__flow { stroke: rgba(244, 241, 248, 0.9) !important; stroke-width: 1.4 !important; }
.rd-x__node { fill: rgba(6, 4, 11, 0.6); stroke: rgba(244, 241, 248, 0.85); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rd-x__tri { fill: #f4f1f8; }
.rd-x__plane--photo { overflow: hidden; background: #0b0814; box-shadow: 0 40px 120px -30px rgba(var(--hot), 0.45); transition: box-shadow 0.8s ease; }
.rd-x__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.55) brightness(0.72) contrast(1.08);
  opacity: 0; transition: opacity 0.9s ease, transform 1.6s var(--rd-ease); transform: scale(1.08);
}
.rd-x__img.is-on { opacity: 1; transform: none; }
.rd-x__plane--photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(var(--hot), 0.35), transparent 60%); mix-blend-mode: color; transition: background 0.8s ease; }
.rd-x__plane:not(.rd-x__plane--photo):nth-child(4) .rd-stack__frame { stroke: rgb(var(--hot)); transition: stroke 0.8s ease; }
/* dibujo de los trazos al aparecer (reutiliza feel-trazos: .rd-stack.is-in) */
.rd-motion .rd-x .rd-stack__frame, .rd-motion .rd-x .rd-x__flow { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--rd-ease), stroke 0.8s ease; }
.rd-motion .rd-x .rd-x__tri, .rd-motion .rd-x .rd-x__node { opacity: 0; transition: opacity 0.6s ease 1.2s; }
.rd-motion .rd-x.is-in .rd-stack__frame, .rd-motion .rd-x.is-in .rd-x__flow { stroke-dashoffset: 0; }
.rd-motion .rd-x.is-in .rd-x__tri, .rd-motion .rd-x.is-in .rd-x__node { opacity: 1; }

/* --- Intro centrada --- */
.rd-statement__intro { display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: clamp(40px, 5vw, 70px); transition: opacity 0.7s ease, transform 0.9s var(--rd-ease); }
.rd-statement__intro .rd-statement__title { font-size: clamp(34px, 3.8vw, 58px); }

/* --- Escenas (capacidades) --- */
.rd-scenes { width: 100%; padding: 0 22px; display: grid; gap: 56px; margin-top: 70px; }
.rd-scene__tag::before { background: rgb(var(--c)) !important; }
.rd-scene__title { margin-top: 18px; font-family: var(--sans); font-weight: 400; font-size: clamp(32px, 3.3vw, 54px); line-height: 1.04; letter-spacing: -0.045em; color: #f7f6f9; }
.rd-scene__title em { font-family: var(--serif); font-style: italic; letter-spacing: -0.01em; color: rgb(var(--c)); }
.rd-scene__lead { margin-top: 18px; max-width: 26em; font-size: 17px; line-height: 1.55; color: var(--rd-muted); }
.rd-scene__btn { margin-top: 28px; }
.rd-scene__btn .rd-btn__box { background: rgba(var(--c), 0.3); }
.rd-scenes__progress { display: none; }

@media (min-width: 1024px) {
  .rd-statement.is-pinned .rd-statement__pin { height: 460vh; }
  .rd-statement.is-pinned .rd-statement__stage {
    position: sticky; top: 0; height: 100vh; padding: var(--rd-nav-h) 0 0; display: block; overflow: hidden;
  }
  .rd-statement.is-pinned .rd-x {
    position: absolute; left: 50%; top: 40%; width: min(560px, 42vw);
    transform: translate(-50%, -50%);
    transition: left 1.1s var(--rd-ease), top 1.1s var(--rd-ease), width 1.1s var(--rd-ease);
  }
  .rd-statement.is-pinned .rd-statement__intro { position: absolute; left: 0; right: 0; top: 66%; margin: 0; }
  .rd-statement.is-pinned .rd-scenes { position: absolute; right: max(40px, calc((100vw - 1280px) / 2)); top: 50%; width: min(460px, 34vw); padding: 0; margin: 0; transform: translateY(-50%); display: block; }
  .rd-statement.is-pinned .rd-scene {
    position: absolute; left: 0; right: 0; top: 50%; transform: translateY(calc(-50% + 30px));
    opacity: 0; visibility: hidden; filter: blur(6px);
    transition: opacity 0.6s ease, transform 0.9s var(--rd-ease), filter 0.6s ease, visibility 0s linear 0.6s;
  }
  .rd-statement.is-pinned .rd-scene.is-on { opacity: 1; visibility: visible; filter: none; transform: translateY(-50%); transition-delay: 0.15s, 0.15s, 0.15s, 0s; }
  .rd-statement.is-pinned .rd-scenes__progress {
    display: flex; align-items: center; gap: 14px; position: absolute; left: 0; top: calc(50% + 230px);
    font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; color: var(--rd-dim);
  }
  .rd-scenes__count { color: #f4f1f8; }
  .rd-scenes__bar { position: relative; width: 120px; height: 1px; background: rgba(244, 241, 248, 0.15); }
  .rd-scenes__bar i { position: absolute; inset: 0; background: rgb(var(--hot, var(--rd-blue))); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }
  /* fase dividida: pila a la izquierda, intro fuera, escenas dentro */
  .rd-statement.is-split .rd-x { left: 30%; top: 52%; width: min(640px, 46vw); }
  .rd-statement.is-split .rd-statement__intro { opacity: 0; transform: translateY(40px); pointer-events: none; }
  .rd-statement:not(.is-split) .rd-scenes { opacity: 0; pointer-events: none; }
  .rd-statement .rd-scenes { transition: opacity 0.6s ease; }
}

/* ============================================================
   PANEL "EN PRODUCCIÓN" · como la referencia: foto pequeña con
   marcas + gran panel de color con texto que se ilumina.
   ============================================================ */
.home-rd .rd-stat { background: transparent; }
.rd-stat__inner { grid-template-columns: minmax(0, 0.5fr) minmax(0, 1.5fr); align-items: center; gap: 14px; padding: 0; min-height: 0; }
.rd-stat__media { min-height: 0; height: auto; width: 100%; aspect-ratio: 1 / 1.05; border-radius: 22px; }
.rd-stat__media::after { background: rgba(6, 4, 11, 0.18); }
.rd-stat__tri { position: absolute; z-index: 1; width: 9px; height: 9px; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%); opacity: 0.9; }
.rd-stat__sq { position: absolute; z-index: 1; width: 30px; height: 30px; border: 1.5px solid rgba(255, 255, 255, 0.9); border-radius: 6px; }
.rd-stat__sq::after { content: ''; position: absolute; left: 9px; top: 9px; width: 9px; height: 9px; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.rd-motion .rd-stat__tri, .rd-motion .rd-stat__sq { opacity: 0; transform: scale(0.4); transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.2, 0, 0, 1); }
.rd-motion .rd-stat.is-seen .rd-stat__tri, .rd-motion .rd-stat.is-seen .rd-stat__sq { opacity: 0.9; transform: none; }
.rd-stat__copy {
  min-height: min(82vh, 700px); padding: clamp(40px, 5vw, 76px);
  border-radius: 22px;
  background: radial-gradient(80% 90% at 100% 0%, rgba(var(--rd-violet), 0.35), transparent 60%), linear-gradient(160deg, #2a1748, #170e2a 70%);
}
.rd-stat__copy > div:first-child .rd-tag { display: none; }
.rd-stat__text { margin-top: 0; max-width: 14em; font-size: clamp(40px, 5vw, 84px); line-height: 1.04; }
.rd-motion .rd-stat__text .rd-sw { opacity: 0.22; }
.rd-stat__nums { border-top-color: rgba(244, 241, 248, 0.16); }
@media (max-width: 1023px) {
  .rd-stat__inner { grid-template-columns: 1fr; }
  .rd-stat__media { max-width: 420px; }
  .rd-stat__copy { min-height: 0; }
}
@media (max-width: 1023px) { .rd-statement:not(.is-pinned) .rd-x { --sp: 0.12 !important; width: 74vw; } }

/* ============================================================
   03A · NUBE DE FOTOS (2026-11-24) · escena de scale.com
   Lámina clara, titular centrado con palabra que rota y 13 fotos
   reales flotando. Al bajar (fijada ≥1024px) las fotos se abren
   hacia afuera y crecen según su profundidad (--z); el ratón las
   desplaza en paralaje. Sustituye a .rd-puertas-intro.
   ============================================================ */
.home-rd .rd-cloud { padding: 0; overflow: clip; }
.rd-cloud__stage { position: relative; height: max(760px, 100vh); }
.rd-cloud__photos { position: absolute; inset: 0; --p: 0; --mx: 0; --my: 0; }
.rd-cloud__photo {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); aspect-ratio: 1 / 1;
  border-radius: calc(var(--w) * 0.09); overflow: hidden;
  box-shadow: 0 calc(var(--z) * 40px) calc(var(--z) * 70px) calc(var(--z) * -24px) rgba(23, 19, 31, 0.45);
  /* abrir hacia afuera desde el centro + escala por profundidad + paralaje de ratón */
  transform:
    translate(-50%, -50%)
    translate(calc((var(--x) - 50%) * 0 + (var(--dx) * var(--p) * (0.6 + var(--z))) + var(--mx) * var(--z) * 26px),
              calc((var(--dy) * var(--p) * (0.6 + var(--z))) + var(--my) * var(--z) * 20px))
    scale(calc(1 + var(--p) * var(--z) * 0.55));
  transition: transform 0.25s linear, opacity 0.6s ease;
  will-change: transform;
}
.rd-cloud__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale 0.8s var(--rd-ease); }
.rd-cloud__photo:hover img { scale: 1.08; }
.rd-motion .rd-cloud__photo { opacity: 0; }
.rd-motion .rd-cloud.is-in .rd-cloud__photo { opacity: 1; transition: transform 0.25s linear, opacity 0.9s ease calc(var(--k) * 70ms); }
.rd-cloud__photo { animation: rd-float 7s ease-in-out infinite alternate; animation-delay: calc(var(--k) * -0.9s); }
@keyframes rd-float { to { translate: 0 -10px; } }

.rd-cloud__center {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: min(900px, 90vw);
  transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; text-align: center;
}
.rd-cloud__tag { color: #6b6576; }
.rd-cloud__tag::before { background: #6b3fd1 !important; }
.rd-cloud__title {
  margin-top: 22px; font-family: var(--sans); font-weight: 400;
  font-size: clamp(44px, 6vw, 104px); line-height: 1; letter-spacing: -0.05em; color: #16121e;
}
.rd-cloud__words { position: relative; display: block; height: 1.22em; overflow: hidden; padding-bottom: 0.1em; }
.rd-cloud__words em {
  position: absolute; left: 0; right: 0; top: 0;
  font-family: var(--serif); font-style: italic; letter-spacing: -0.02em;
  background: linear-gradient(100deg, rgb(var(--c)), #6b3fd1 120%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  opacity: 0; transform: translateY(40%);
  transition: opacity 0.6s ease, transform 0.8s var(--rd-ease);
}
.rd-cloud__words em.is-on { opacity: 1; transform: none; }
.rd-cloud__words em.is-out { opacity: 0; transform: translateY(-40%); }
.rd-cloud__center .rd-btn { margin-top: 38px; }
.rd-btn--ink { background: #16121e !important; color: #f6efe0 !important; box-shadow: none !important; }
.rd-btn--ink .rd-btn__box { background: rgba(246, 239, 224, 0.14) !important; }
.rd-btn--ink:hover { background: #2a2134 !important; }

@media (min-width: 1024px) {
  .rd-cloud.is-pinned .rd-cloud__pin { height: 190vh; }
  .rd-cloud.is-pinned .rd-cloud__stage { position: sticky; top: 0; height: 100vh; }
}
@media (max-width: 699px) {
  .rd-cloud__stage { height: 720px; }
  .rd-cloud__title { font-size: 40px; }
  .rd-cloud__photo { width: calc(var(--w) * 0.5); }
  .rd-cloud__photo:nth-child(n+10) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rd-cloud__photo { animation: none; } }

/* 03A · Nube de fotos en oscuro + más movimiento */
.home-rd .rd-cloud {
  background:
    radial-gradient(50% 55% at 50% 50%, rgba(var(--rd-violet), 0.22), transparent 70%),
    radial-gradient(35% 40% at 20% 90%, rgba(var(--rd-blue), 0.14), transparent 70%),
    radial-gradient(35% 40% at 85% 10%, rgba(var(--rd-goldc), 0.12), transparent 70%),
    #07050d;
  box-shadow: inset 0 0 0 1px rgba(244, 241, 248, 0.07);
}
.rd-cloud__glow {
  position: absolute; left: 50%; top: 50%; width: min(900px, 80vw); aspect-ratio: 1; z-index: 1; pointer-events: none;
  transform: translate(-50%, -50%); border-radius: 50%; filter: blur(60px); opacity: 0.55;
  background: conic-gradient(from var(--rd-angle), rgba(var(--rd-blue), 0.5), rgba(var(--rd-cyan), 0.35), rgba(var(--rd-violet), 0.5), rgba(var(--rd-goldc), 0.45), rgba(var(--rd-blue), 0.5));
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 70%); mask-image: radial-gradient(closest-side, #000 20%, transparent 70%);
  animation: rd-angle 12s linear infinite;
}
.rd-cloud__tag { color: #cfc9da !important; }
.rd-cloud__tag::before { background: var(--rd-gold) !important; }
.rd-cloud__title { color: #f7f6f9; text-shadow: 0 10px 60px rgba(6, 4, 11, 0.8); }
.rd-cloud__words em { background: linear-gradient(100deg, rgb(var(--c)), #e4dcff 130%); -webkit-background-clip: text; background-clip: text; }
.rd-btn--gold { background: var(--rd-gold-btn) !important; color: var(--rd-ink) !important; box-shadow: 0 16px 50px -14px rgba(var(--rd-goldc), 0.7) !important; }
.rd-btn--gold .rd-btn__box { background: rgba(36, 27, 8, 0.16) !important; }
.rd-cloud__photo {
  box-shadow: 0 0 0 1px rgba(244, 241, 248, 0.12), 0 calc(var(--z) * 40px) calc(var(--z) * 80px) calc(var(--z) * -20px) rgba(0, 0, 0, 0.8),
              0 0 calc(var(--z) * 40px) rgba(var(--rd-violet), calc(var(--z) * 0.25));
  animation: rd-float2 calc(6s + var(--k) * 0.45s) ease-in-out infinite alternate;
  animation-delay: calc(var(--k) * -0.7s);
}
.rd-cloud__photo img { filter: saturate(0.9) brightness(0.88); transition: scale 0.8s var(--rd-ease), filter 0.5s ease; }
.rd-cloud__photo:hover img { filter: saturate(1.1) brightness(1); }
.rd-cloud__photo:hover { z-index: 3; }
@keyframes rd-float2 {
  0%   { translate: 0 0; rotate: -2.5deg; }
  50%  { translate: calc(var(--z) * 10px) calc(var(--z) * -22px); rotate: 1.5deg; }
  100% { translate: calc(var(--z) * -8px) calc(var(--z) * -8px); rotate: 3deg; }
}
/* brillo que recorre cada foto */
.rd-cloud__photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  transform: translateX(-120%); animation: rd-sheen 5.5s ease-in-out infinite; animation-delay: calc(var(--k) * 0.6s);
}
@keyframes rd-sheen { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
/* partículas */
.rd-cloud__stage::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.55;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 70%, #b9a6ff, transparent),
    radial-gradient(1.5px 1.5px at 70% 30%, #bb6cff, transparent), radial-gradient(1px 1px at 85% 75%, #fff, transparent),
    radial-gradient(1px 1px at 50% 12%, #42d4df, transparent), radial-gradient(1.5px 1.5px at 60% 88%, #fff, transparent),
    radial-gradient(1px 1px at 92% 45%, #b9a6ff, transparent), radial-gradient(1px 1px at 6% 80%, #6488ff, transparent);
  animation: rd-twinkle 4s ease-in-out infinite alternate;
}
@keyframes rd-twinkle { to { opacity: 0.15; transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) {
  .rd-cloud__glow, .rd-cloud__photo, .rd-cloud__photo::after, .rd-cloud__stage::before { animation: none; }
}

/* En producción · carrusel de fotos que rota solo */
.rd-stat__media { aspect-ratio: 4 / 5 !important; background: #0b0814; }
.rd-stat__media .rd-stat__img {
  opacity: 0; transform: scale(1.12); filter: saturate(0.9) brightness(0.92);
  transition: opacity 1.1s ease, transform 6s linear;
}
.rd-stat__media .rd-stat__img.is-on { opacity: 1; transform: scale(1); }
.rd-stat__media::after { z-index: 1; background: linear-gradient(180deg, rgba(6, 4, 11, 0) 50%, rgba(6, 4, 11, 0.75)); }
.rd-stat__marks { position: absolute; inset: 0; z-index: 2; transition: opacity 0.4s ease; }
.rd-stat__marks.is-swap { opacity: 0; }
.rd-stat__tri, .rd-stat__sq { transition: left 0.9s var(--rd-ease), top 0.9s var(--rd-ease), opacity 0.5s ease, transform 0.7s cubic-bezier(0.2, 0, 0, 1) !important; }
.rd-stat__label {
  position: absolute; left: 18px; bottom: 44px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 7px;
  background: rgba(6, 4, 11, 0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #f4f1f8;
  transition: opacity 0.35s ease, transform 0.5s var(--rd-ease);
}
.rd-stat__label::before { content: ''; width: 7px; height: 7px; background: var(--rd-gold); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.rd-stat__label.is-swap { opacity: 0; transform: translateY(8px); }
.rd-stat__dots { position: absolute; left: 18px; right: 18px; bottom: 20px; z-index: 3; display: flex; gap: 6px; }
.rd-stat__dots i { flex: 1; height: 2px; border-radius: 2px; background: rgba(244, 241, 248, 0.25); overflow: hidden; position: relative; }
.rd-stat__dots i::after { content: ''; position: absolute; inset: 0; background: var(--rd-gold); transform-origin: 0 50%; transform: scaleX(0); }
.rd-stat__dots i.is-done::after { transform: scaleX(1); }
.rd-stat__dots i.is-on::after { animation: rd-dot 3.6s linear forwards; }
@keyframes rd-dot { to { transform: scaleX(1); } }
.rd-stat__media { cursor: pointer; }

/* ============================================================
   05 · NOSOTROS en oscuro y animado (2026-11-24)
   Mapa de puntos con la ruta Xalapa → Irlanda → España que se
   dibuja y un cometa que la recorre; tarjetas de vidrio con borde
   de luz giratorio; chips con brillo.
   ============================================================ */
.home-rd .rd-firma {
  background:
    radial-gradient(45% 50% at 85% 15%, rgba(var(--rd-violet), 0.2), transparent 70%),
    radial-gradient(40% 45% at 5% 95%, rgba(var(--rd-goldc), 0.1), transparent 70%),
    #08060f;
  box-shadow: inset 0 0 0 1px rgba(244, 241, 248, 0.07);
}
.home-rd .rd-firma .firma__title { color: #f7f6f9; }
.home-rd .rd-firma .firma__title em { color: var(--rd-gold); }
.rd-firma__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.home-rd .rd-firma .rd-firma__lead { color: #c9c4d4; }
.rd-firma__map { display: block; width: 100%; height: auto; overflow: visible; }
.rd-firma__dots circle { fill: rgba(244, 241, 248, 0.22); }
.rd-motion .rd-firma__dots { opacity: 0; transition: opacity 1.4s ease; }
.rd-firma__route { fill: none; stroke: url(#rd-route); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(var(--rd-violet), 0.9)); }
.rd-firma__route--b { stroke: var(--rd-gold); stroke-width: 1.5; }
.rd-motion .rd-firma__route { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--rd-ease) 0.5s; }
.rd-motion .rd-firma__route--b { transition-delay: 2s; }
.rd-firma__comet { fill: #fff; filter: drop-shadow(0 0 8px #fff) drop-shadow(0 0 14px rgba(var(--rd-goldc), 1)); }
.rd-motion .rd-firma__comet { opacity: 0; transition: opacity 0.6s ease 2.6s; }
.rd-firma__pin circle:not(.rd-firma__ping) { fill: var(--rd-gold); filter: drop-shadow(0 0 6px rgba(var(--rd-goldc), 1)); }
.rd-firma__ping { fill: none; stroke: var(--rd-gold); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: rd-ping 2.2s ease-out infinite; }
.rd-firma__pin text { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; fill: #f4f1f8; }
.rd-motion .rd-firma__pin { opacity: 0; transition: opacity 0.6s ease 1.2s; }
.rd-motion .rd-firma.is-seen .rd-firma__dots, .rd-motion .rd-firma.is-seen .rd-firma__pin, .rd-motion .rd-firma.is-seen .rd-firma__comet { opacity: 1; }
.rd-motion .rd-firma.is-seen .rd-firma__route { stroke-dashoffset: 0; }

/* Tarjetas de vidrio con borde giratorio */
.home-rd .rd-firma .rd-fact {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)); box-shadow: none;
}
.home-rd .rd-firma .rd-fact::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--rd-angle), rgba(244, 241, 248, 0.08), var(--rd-gold) 10%, rgba(var(--rd-violet), 0.8) 20%, rgba(244, 241, 248, 0.08) 32%, rgba(244, 241, 248, 0.08));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: rd-angle 6s linear infinite;
}
.home-rd .rd-firma .rd-fact:nth-child(2)::before { animation-delay: -2s; }
.home-rd .rd-firma .rd-fact:nth-child(3)::before { animation-delay: -4s; }
.home-rd .rd-firma .rd-fact::after {
  content: ''; position: absolute; right: -30%; top: -40%; width: 70%; aspect-ratio: 1; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--rd-violet), 0.35), transparent); filter: blur(10px);
  transition: transform 1s var(--rd-ease);
}
.home-rd .rd-firma .rd-fact:hover::after { transform: translate(-30%, 40%) scale(1.3); }
.home-rd .rd-firma .rd-fact__label { color: var(--rd-gold); }
.home-rd .rd-firma .rd-fact__label::before { background: var(--rd-gold); }
.home-rd .rd-firma .rd-fact__big { color: #f7f6f9; transition: letter-spacing 0.6s var(--rd-ease); }
.home-rd .rd-firma .rd-fact:hover .rd-fact__big { letter-spacing: -0.02em; }
.home-rd .rd-firma .rd-fact__sub { color: #a9a4b8; }
.home-rd .rd-firma .rd-fact--dark { background: linear-gradient(160deg, rgba(var(--rd-goldc), 0.2), rgba(var(--rd-goldc), 0.03)); }
.home-rd .rd-firma .rd-fact:hover { box-shadow: 0 40px 90px -40px rgba(var(--rd-violet), 0.6); }
.home-rd .rd-firma .rd-firma__chips li {
  position: relative; overflow: hidden; color: #d9d6e0; box-shadow: inset 0 0 0 1px rgba(244, 241, 248, 0.14);
  transition: color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.home-rd .rd-firma .rd-firma__chips li::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  transform: translateX(-120%); animation: rd-sheen 6s ease-in-out infinite;
}
.home-rd .rd-firma .rd-firma__chips li:nth-child(2)::after { animation-delay: 0.6s; }
.home-rd .rd-firma .rd-firma__chips li:nth-child(3)::after { animation-delay: 1.2s; }
.home-rd .rd-firma .rd-firma__chips li:nth-child(4)::after { animation-delay: 1.8s; }
.home-rd .rd-firma .rd-firma__chips li:hover { color: #fff; background: rgba(var(--rd-goldc), 0.12); box-shadow: inset 0 0 0 1px rgba(var(--rd-goldc), 0.5); }
.home-rd .rd-firma .rule { border-color: rgba(244, 241, 248, 0.1); background: rgba(244, 241, 248, 0.1); }
.home-rd .rd-firma .persona figcaption strong { color: #f7f6f9; }
.home-rd .rd-firma .persona figcaption span { color: #a9a4b8; }
.home-rd .rd-firma .persona:hover .persona__foto { box-shadow: 0 0 0 2px #08060f, 0 0 0 4px var(--rd-gold), 0 18px 40px -14px rgba(var(--rd-goldc), 0.6); }
@media (max-width: 1023px) { .rd-firma__head { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .home-rd .rd-firma .rd-fact::before, .home-rd .rd-firma .rd-firma__chips li::after, .rd-firma__ping { animation: none; }
}

/* ============================================================
   04 · PRUEBA SOCIAL · titular corto + insignias + globo libre
   (2026-11-24). El globo sale de su caja, crece y gana halo
   pulsante, tres órbitas con satélites y chips flotantes.
   ============================================================ */
@media (min-width: 1024px) {
  .home-rd .social__top { display: grid !important; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
}
.home-rd .rd-social__intro .social__title { font-size: clamp(42px, 5vw, 80px); line-height: 1; }
.rd-proof { display: grid; gap: 10px; margin: 40px 0 0; padding: 0; list-style: none; }
.rd-proof li {
  --c: var(--rd-goldc);
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: 14px;
  background: linear-gradient(90deg, rgba(var(--c), 0.1), rgba(255, 255, 255, 0.02) 60%);
  box-shadow: inset 0 0 0 1px rgba(244, 241, 248, 0.08);
  transition: translate 0.6s var(--rd-ease), box-shadow 0.4s ease, opacity 1s ease, filter 1s ease;
}
.rd-proof li:hover { translate: 8px 0; box-shadow: inset 0 0 0 1px rgba(var(--c), 0.6), 0 20px 50px -24px rgba(var(--c), 0.7); }
.rd-proof li::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.12) 50%, transparent 65%);
  transform: translateX(-120%); animation: rd-sheen 5s ease-in-out infinite;
}
.rd-proof li:nth-child(2)::after { animation-delay: 0.7s; }
.rd-proof li:nth-child(3)::after { animation-delay: 1.4s; }
.rd-proof__ico {
  flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px;
  background: rgba(var(--c), 0.18); color: rgb(var(--c)); font-weight: 600; font-size: 17px;
  box-shadow: 0 0 22px -4px rgba(var(--c), 0.8); animation: rd-breathe 3s ease-in-out infinite;
}
.rd-proof li:nth-child(2) .rd-proof__ico { animation-delay: -1s; }
.rd-proof li:nth-child(3) .rd-proof__ico { animation-delay: -2s; }
@keyframes rd-breathe { 50% { box-shadow: 0 0 34px 2px rgba(var(--c), 0.9); transform: scale(1.06); } }
.rd-proof strong { display: block; font-size: 17px; font-weight: 500; color: #f7f6f9; letter-spacing: -0.01em; }
.rd-proof small { display: block; margin-top: 3px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rd-muted); }

/* Globo sin caja */
.home-rd .social .globo {
  max-width: none; aspect-ratio: 1 / 0.92; overflow: visible;
  background: none; border: 0; border-radius: 0;
}
.home-rd .social .globo__glow {
  width: 86%; left: 7%; top: 3%;
  background: radial-gradient(closest-side, rgba(var(--rd-violet), 0.45), rgba(var(--rd-blue), 0.12) 60%, transparent);
  filter: blur(10px); animation: rd-halo 5s ease-in-out infinite alternate;
}
@keyframes rd-halo { to { transform: scale(1.12); opacity: 0.7; } }
.home-rd .social .globo__label--kicker, .home-rd .social .globo__label--foot { display: none; }
.home-rd .social .globo__live {
  top: 6%; right: 6%; z-index: 3; padding: 6px 12px; border-radius: 999px;
  background: rgba(6, 4, 11, 0.6); box-shadow: inset 0 0 0 1px rgba(53, 214, 138, 0.4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.home-rd .social .globo__live .dot { animation: rd-ping-dot 1.6s ease-out infinite; }
@keyframes rd-ping-dot { 0% { box-shadow: 0 0 0 0 rgba(53, 214, 138, 0.7); } 100% { box-shadow: 0 0 0 10px rgba(53, 214, 138, 0); } }
.rd-orbit {
  position: absolute; left: 50%; top: 50%; z-index: 1; pointer-events: none; border-radius: 50%;
  border: 1px solid rgba(244, 241, 248, 0.12); transform-style: preserve-3d;
}
.rd-orbit i { position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; }
.rd-orbit--a { width: 96%; aspect-ratio: 1; margin: -48% 0 0 -48%; transform: rotateX(72deg); animation: rd-spin-a 14s linear infinite; border-color: rgba(var(--rd-goldc), 0.35); }
.rd-orbit--a i { background: var(--rd-gold); box-shadow: 0 0 14px 3px rgba(var(--rd-goldc), 0.9); }
.rd-orbit--b { width: 108%; aspect-ratio: 1; margin: -54% 0 0 -54%; transform: rotateX(70deg) rotateY(28deg); animation: rd-spin-b 20s linear infinite; border-color: rgba(var(--rd-violet), 0.3); }
.rd-orbit--b i { background: #bb6cff; box-shadow: 0 0 14px 3px rgba(var(--rd-violet), 0.9); }
.rd-orbit--c { width: 84%; aspect-ratio: 1; margin: -42% 0 0 -42%; transform: rotateX(76deg) rotateY(-32deg); animation: rd-spin-c 11s linear infinite reverse; border-color: rgba(var(--rd-cyan), 0.28); }
.rd-orbit--c i { background: #42d4df; box-shadow: 0 0 14px 3px rgba(var(--rd-cyan), 0.9); }
@keyframes rd-spin-a { to { transform: rotateX(72deg) rotateZ(360deg); } }
@keyframes rd-spin-b { to { transform: rotateX(70deg) rotateY(28deg) rotateZ(360deg); } }
@keyframes rd-spin-c { to { transform: rotateX(76deg) rotateY(-32deg) rotateZ(360deg); } }
.home-rd .social .globo__canvas { z-index: 2; }
.rd-gchip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 7px; border-radius: 999px; white-space: nowrap;
  background: rgba(14, 10, 24, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(244, 241, 248, 0.14), 0 14px 40px -14px rgba(0, 0, 0, 0.9);
  font-size: 12.5px; color: #e9e6ef; animation: rd-bob 4.5s ease-in-out infinite alternate;
}
.rd-gchip b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--rd-gold); color: #0b0814; font-family: var(--mono); font-size: 10px; }
.rd-gchip--a { right: 0; top: 22%; }
.rd-gchip--b { left: 0; top: 58%; animation-delay: -1.5s; }
.rd-gchip--b b { background: #6488ff; color: #fff; }
.rd-gchip--c { right: 6%; bottom: 10%; animation-delay: -3s; }
.rd-gchip--c b { background: #bb6cff; color: #fff; }
@keyframes rd-bob { from { translate: 0 -8px; } to { translate: 0 8px; } }
@media (max-width: 699px) { .rd-gchip { font-size: 11px; } .rd-orbit--b { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .rd-orbit, .rd-gchip, .rd-proof li::after, .rd-proof__ico, .home-rd .social .globo__glow { animation: none; }
}

/* ============================================================
   HERO · el mundo como protagonista (2026-11-24)
   Más planeta visible, atmósfera brillante y, al hacer scroll, el
   mundo sube y crece mientras el texto se desvanece (--rd-hero-p).
   ============================================================ */
@media (min-width: 1024px) {
  .home-rd .rd-hero__visual {
    top: calc(100% + 1vw); width: 100vw; max-width: 1700px;
    transform: translate(-50%, calc(-50% - var(--rd-hero-p, 0) * 34vh)) scale(calc(1 + var(--rd-hero-p, 0) * 0.22));
    animation: none !important; translate: none !important;
    transition: transform 0.15s linear;
  }
  .home-rd .rd-hero__inner { padding-top: clamp(24px, 6vh, 70px); }
  .home-rd .rd-hero__title { font-size: clamp(48px, 4.8vw, 84px); }
  .home-rd .rd-hero__lead { margin-top: 20px; }
  .home-rd .rd-hero__actions { margin-top: 26px; }
}
/* atmósfera: anillo de luz sobre el borde del planeta */
.home-rd .rd-hero__visual::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 57%; aspect-ratio: 1; z-index: 0;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(196, 160, 255, 0.35), 0 0 60px 10px rgba(var(--rd-violet), 0.45), 0 0 180px 40px rgba(var(--rd-violet), 0.28), inset 0 0 80px rgba(var(--rd-violet), 0.35);
  animation: rd-atmos 4s ease-in-out infinite alternate;
}
@keyframes rd-atmos { to { box-shadow: 0 0 0 1px rgba(185, 166, 255, 0.4), 0 0 80px 14px rgba(var(--rd-violet), 0.55), 0 0 240px 60px rgba(var(--rd-blue), 0.25), inset 0 0 100px rgba(var(--rd-violet), 0.45); } }
.home-rd .rd-hero__canvas { position: relative; z-index: 1; filter: brightness(1.35) saturate(1.2) drop-shadow(0 0 40px rgba(var(--rd-violet), 0.4)); }
/* el texto respira sobre el planeta */
.home-rd .rd-hero__content { position: relative; z-index: 2; }
.home-rd .rd-hero__title, .home-rd .rd-hero__lead { text-shadow: 0 6px 40px rgba(6, 4, 11, 0.9); }
.home-rd .rd-hero::after { height: 18%; background: linear-gradient(180deg, transparent, rgba(6, 4, 11, 0.35)); }
@media (max-width: 1023px) {
  .home-rd .rd-hero__canvas { filter: brightness(1.3) saturate(1.2); }
}
@media (prefers-reduced-motion: reduce) {
  .home-rd .rd-hero__visual { transform: translate(-50%, -50%) !important; }
  .home-rd .rd-hero__visual::before { animation: none; }
}

/* Clientes · cinta continua (2026-11-24) */
.home-rd .clientes__grid.is-marquee {
  display: block; overflow: hidden; cursor: default; padding: 20px 0 30px; margin-right: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.rd-marquee { display: flex; gap: 16px; width: max-content; }
.rd-motion .rd-marquee { animation: rd-marquee 48s linear infinite; }
.clientes__grid.is-marquee:hover .rd-marquee { animation-play-state: paused; }
.rd-marquee .cliente { flex: 0 0 360px; min-height: 340px; }
.home-rd .rd-carrusel__nav { display: none; }
/* tarjetas: color propio, borde de luz y elevación */
.home-rd .cliente { --cc: var(--rd-blue); position: relative; overflow: hidden; isolation: isolate; transition: translate 0.6s var(--rd-ease), box-shadow 0.5s ease, rotate 0.6s var(--rd-ease); }
.home-rd .cliente--teal { --cc: var(--rd-cyan); }
.home-rd .cliente--gold { --cc: var(--rd-goldc); }
.home-rd .cliente--purple { --cc: var(--rd-violet); }
.home-rd .cliente--mint { --cc: 53, 214, 138; }
.home-rd .cliente--pink { --cc: 236, 112, 180; }
.home-rd .cliente::before {
  content: ''; position: absolute; right: -25%; top: -35%; width: 80%; aspect-ratio: 1; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--cc), 0.35), transparent); filter: blur(8px);
  animation: rd-blob 6s ease-in-out infinite alternate;
}
@keyframes rd-blob { to { transform: translate(-20%, 25%) scale(1.2); } }
.home-rd .cliente:hover { translate: 0 -10px; rotate: -1deg; box-shadow: inset 0 0 0 1px rgba(var(--cc), 0.6), 0 40px 80px -30px rgba(var(--cc), 0.6); }
.home-rd .cliente__tile, .home-rd .cliente__logo { transition: transform 0.6s var(--rd-ease); }
.home-rd .cliente:hover .cliente__tile, .home-rd .cliente:hover .cliente__logo { transform: scale(1.1) rotate(-4deg); }
.home-rd .cliente__badge .dot { animation: rd-ping-dot 1.8s ease-out infinite; }
@media (max-width: 699px) { .rd-marquee .cliente { flex-basis: 280px; min-height: 300px; } .rd-motion .rd-marquee { animation-duration: 36s; } }
@media (prefers-reduced-motion: reduce) { .home-rd .clientes__grid.is-marquee { overflow-x: auto; } .home-rd .cliente::before { animation: none; } }

/* ============================================================
   RENDIMIENTO + CELULAR (2026-11-24)
   1) Fuera de pantalla: toda sección marcada .rd-off pausa sus
      animaciones infinitas (lo pone home-redesign.js).
   2) En táctil / pantallas pequeñas: sin grano de pantalla completa,
      sin vidrio esmerilado, sin desenfoques animados, sin brillos
      decorativos en bucle y sin sombras animadas. Se conserva todo el
      movimiento con sentido (revelados, rotaciones, cintas, contadores),
      solo con opacity/transform, que van por GPU.
   ============================================================ */
.rd-off, .rd-off *, .rd-off *::before, .rd-off *::after { animation-play-state: paused !important; }

@media (max-width: 1023px), (hover: none) {
  .rd-grain { display: none !important; }
  .home-rd *, .home-rd *::before, .home-rd *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  /* revelados: sin blur (muy caro en móvil) */
  .rd-motion [data-rd-in], .home-rd .reveal { filter: none !important; }
  .home-rd .reveal { transition: opacity 0.7s ease, transform 0.8s var(--rd-ease) !important; }
  .rd-motion [data-rd-in] { transition: opacity 0.7s ease, translate 0.8s var(--rd-ease) !important; translate: 0 24px; }
  .rd-motion .rd-split .rd-w__in { transition-duration: 0.9s; }
  /* decoraciones en bucle que no aportan en pantalla chica */
  .rd-cloud__photo::after, .rd-proof li::after, .rd-firma__chips li::after, .home-rd .cliente::before,
  .rd-cloud__stage::before, .home-rd .rd-firma .rd-fact::after { animation: none !important; }
  .rd-cloud__photo { animation-duration: 9s !important; }
  .home-rd .rd-firma .rd-fact::before, .rd-memb__cta, .home-rd .rd-sheet--gold { animation: none !important; }
  .home-rd .rd-hero__visual::before { animation: none !important; }
  .rd-proof__ico { animation: none !important; }
  .home-rd .social .globo__glow, .rd-cloud__glow { animation: none !important; filter: none !important; }
  .rd-cloud__glow { opacity: 0.35; }
  .home-rd .rd-hero__canvas { filter: brightness(1.3) saturate(1.15) !important; }
  .rd-x__img, .rd-stat__media .rd-stat__img { transition: opacity 0.8s ease !important; transform: none !important; }
  .rd-x::after, .rd-stack::after { filter: none; }
  /* sin escalado de láminas ni del hero con el scroll (evita repintados) */
  .home-rd .rd-sheet { transform: none !important; will-change: auto !important; }
  .home-rd .rd-hero__inner, .home-rd .rd-hero__foot { scale: none !important; }
  .rd-cloud__photo { will-change: auto; transition: opacity 0.6s ease !important; }
  /* CTA final: el dibujo no compite con el texto */
  .rd-cta-art { display: none; }
  /* toques: áreas cómodas */
  .home-rd .rd-btn, .home-rd .btn, .rd-limit__head { min-height: 44px; }
  .home-rd { -webkit-tap-highlight-color: transparent; }
}
@media (max-width: 699px) {
  .home-rd .social, .home-rd .recursos, .home-rd .firma.rd-sheet, .home-rd .bprev.rd-sheet { padding-block: 72px; }
  .rd-statement__stage { padding-top: 64px; }
  .rd-scenes { gap: 44px; margin-top: 48px; }
  .home-rd .rd-cloud__stage { height: 620px; }
  .rd-orbit--c { display: none; }
  .home-rd .social .globo { aspect-ratio: 1 / 0.95; }
  .rd-gchip--c { display: none; }
}
/* celular: los titulares con revelado no recortan descendentes (g, p, y) */
@media (max-width: 1023px) {
  .rd-motion .rd-split .rd-w { padding-bottom: 0.24em; margin-bottom: -0.24em; }
  .home-rd .rd-hero__title { line-height: 1.04; }
}

/* 03B · Cuatro puertas: las 4 tarjetas visibles a la vez (sin deslizar) */
.home-rd .rd-puertas-detail__progress { display: none !important; }
.home-rd .rd-puertas-detail__viewport { overflow: visible !important; padding: 0 !important; }
.home-rd .rd-puertas-detail__track {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
  width: auto !important; max-width: 1280px; margin: 0 auto; padding: 0 !important;
  transform: none !important; overflow: visible !important;
}
.home-rd .rd-puertas-detail__door { width: auto !important; flex: none !important; min-height: 460px; padding: 28px 26px 26px; }
.home-rd .rd-puertas-detail__door-title { font-size: clamp(24px, 1.9vw, 30px); }
.rd-door-art { top: 26px; right: 22px; }
.rd-door-art .rd-door-icon { width: 120px; height: 90px; animation: rd-door-float 5s ease-in-out infinite alternate; }
.rd-puertas-detail__door:nth-child(2) .rd-door-icon { animation-delay: -1.2s; }
.rd-puertas-detail__door:nth-child(3) .rd-door-icon { animation-delay: -2.4s; }
.rd-puertas-detail__door:nth-child(4) .rd-door-icon { animation-delay: -3.6s; }
@keyframes rd-door-float { to { translate: 0 -10px; } }
/* entrada en cascada */
.rd-motion .rd-puertas-detail__door { opacity: 0; translate: 0 60px; transition: opacity 0.9s ease, translate 1.1s var(--rd-ease), box-shadow 0.5s ease; }
.rd-motion .rd-puertas-detail__door:nth-child(2) { transition-delay: 0.12s; }
.rd-motion .rd-puertas-detail__door:nth-child(3) { transition-delay: 0.24s; }
.rd-motion .rd-puertas-detail__door:nth-child(4) { transition-delay: 0.36s; }
.rd-motion .rd-puertas-detail.is-seen .rd-puertas-detail__door { opacity: 1; translate: 0 0; }
.rd-motion .rd-puertas-detail.is-seen .rd-puertas-detail__door:hover { translate: 0 -10px; transition-delay: 0s; }
/* borde de luz que recorre las tarjetas una tras otra */
.home-rd .rd-puertas-detail__door::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgb(var(--c)), transparent);
  transform: translateX(-100%); animation: rd-door-scan 6s ease-in-out infinite;
}
.home-rd .rd-puertas-detail__door:nth-child(2)::after { animation-delay: 1.5s; }
.home-rd .rd-puertas-detail__door:nth-child(3)::after { animation-delay: 3s; }
.home-rd .rd-puertas-detail__door:nth-child(4)::after { animation-delay: 4.5s; }
@keyframes rd-door-scan { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@media (max-width: 1023px) {
  .home-rd .rd-puertas-detail__track { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 22px !important; }
}
@media (max-width: 699px) {
  .home-rd .rd-puertas-detail__track { grid-template-columns: 1fr; }
  .home-rd .rd-puertas-detail__door { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .rd-door-art .rd-door-icon, .home-rd .rd-puertas-detail__door::after { animation: none; } }
@media (min-width: 1024px) and (max-width: 1359px) { .home-rd .rd-puertas-detail__track { margin: 0 40px; } }
@media (max-width: 1023px) { .home-rd .rd-puertas-detail__track { margin: 0 22px; } }

/* 02 · Gráfica de los techos animada */
.rd-tc .rd-tc-mesh { animation: rd-tc-wave 6s ease-in-out infinite alternate; }
@keyframes rd-tc-wave { from { transform: translate(-6px, 2px) skewX(-1.5deg); } to { transform: translate(6px, -3px) skewX(1.5deg); } }
.rd-tc .rd-tc-stars { animation: rd-tc-twinkle 3.5s ease-in-out infinite alternate; }
@keyframes rd-tc-twinkle { to { opacity: 0.35; } }
.rd-tc .rd-tc-glow { transform-box: fill-box; transform-origin: center; animation: rd-tc-pulse 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * 0.5s); }
@keyframes rd-tc-pulse { 50% { transform: scale(1.25); opacity: 0.6; } }
.rd-tc .rd-tc-rise { animation: rd-tc-up 4s linear infinite; }
.rd-tc .rd-tc-rise:nth-of-type(odd) { animation-duration: 5.5s; }
@keyframes rd-tc-up { 0% { transform: translateY(8px); opacity: 0; } 30%, 70% { opacity: 1; } 100% { transform: translateY(-22px); opacity: 0; } }
.rd-tc-comet { fill: #fff; filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 8px #b9a6ff); }
/* entrada (solo con movimiento) */
.rd-motion .rd-tc .rd-techos__panel { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); opacity: 0;
  transition: transform 1.1s cubic-bezier(0.2, 0, 0, 1), opacity 0.5s ease; transition-delay: calc(0.2s + var(--i) * 0.22s); }
.rd-motion .rd-tc.is-play .rd-techos__panel { transform: none; opacity: 1; }
.rd-motion .rd-tc .rd-tc-curve { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--rd-ease) 0.9s; }
.rd-motion .rd-tc.is-play .rd-tc-curve { stroke-dashoffset: 0; }
.rd-motion .rd-tc .rd-tc-arrow, .rd-motion .rd-tc .rd-tc-comet { opacity: 0; transition: opacity 0.5s ease 2.6s; }
.rd-motion .rd-tc.is-play .rd-tc-arrow, .rd-motion .rd-tc.is-play .rd-tc-comet { opacity: 1; }
.rd-motion .rd-tc .rd-tc-label { opacity: 0; transition: opacity 0.6s ease; transition-delay: calc(0.7s + var(--i) * 0.22s); }
.rd-motion .rd-tc.is-play .rd-tc-label { opacity: 1; }
.rd-motion .rd-tc .rd-tc-glow { opacity: 0; transition: opacity 1s ease 1s; }
.rd-motion .rd-tc.is-play .rd-tc-glow { opacity: 1; }
/* al pasar el ratón: las columnas se encienden */
.rd-tc .rd-techos__panel { transition: filter 0.4s ease; }
.rd-techos__visual:hover .rd-techos__panel { filter: brightness(1.35) drop-shadow(0 0 8px rgba(255,255,255,0.25)); }
@media (prefers-reduced-motion: reduce) { .rd-tc .rd-tc-mesh, .rd-tc .rd-tc-stars, .rd-tc .rd-tc-glow, .rd-tc .rd-tc-rise { animation: none; } }

/* ============================================================
   EN PRODUCCIÓN · panel vivo (2026-11-24): aurora y retícula en
   movimiento, ruta MX–IE–ES con pulsos, feed de proyectos en vivo,
   barras que se llenan bajo las cifras.
   ============================================================ */
.rd-stat__copy { position: relative; overflow: hidden; isolation: isolate; gap: 36px; }
.rd-stat__copy > * { position: relative; z-index: 1; }
.rd-stat__aurora { position: absolute !important; inset: 0; z-index: 0 !important; pointer-events: none; }
.rd-stat__aurora::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(244, 241, 248, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 241, 248, 0.05) 1px, transparent 1px);
  background-size: 48px 48px; animation: rd-grid-move 14s linear infinite;
  -webkit-mask-image: radial-gradient(80% 70% at 70% 40%, #000 20%, transparent 80%); mask-image: radial-gradient(80% 70% at 70% 40%, #000 20%, transparent 80%);
}
@keyframes rd-grid-move { to { background-position: 48px 48px; } }
.rd-stat__aurora i { position: absolute; width: 55%; aspect-ratio: 1; border-radius: 50%; filter: blur(50px); opacity: 0.55; }
.rd-stat__aurora i:nth-child(1) { right: -10%; top: -25%; background: rgba(var(--rd-violet), 0.6); animation: rd-drift-a 11s ease-in-out infinite alternate; }
.rd-stat__aurora i:nth-child(2) { left: -15%; bottom: -35%; background: rgba(var(--rd-blue), 0.45); animation: rd-drift-b 14s ease-in-out infinite alternate; }
.rd-stat__aurora i:nth-child(3) { left: 35%; top: 30%; width: 35%; background: rgba(var(--rd-goldc), 0.25); animation: rd-drift-a 17s ease-in-out infinite alternate-reverse; }

.rd-live { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.rd-live__route { display: flex; align-items: center; gap: 0; }
.rd-live__node {
  --c: var(--rd-blue); flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rd-muted);
}
.rd-live__node b {
  position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: rgba(var(--c), 0.18); color: #fff; font-size: 13px; letter-spacing: 0.06em;
  box-shadow: inset 0 0 0 1px rgba(var(--c), 0.6), 0 0 30px -4px rgba(var(--c), 0.8);
}
.rd-live__node b::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(var(--c), 0.7); animation: rd-ping 2.4s ease-out infinite; }
.rd-live__node:nth-child(3) b::after { animation-delay: 0.8s; }
.rd-live__node:nth-child(5) b::after { animation-delay: 1.6s; }
.rd-live__wire { position: relative; flex: 1; height: 2px; margin: 0 8px 22px; background: repeating-linear-gradient(90deg, rgba(244, 241, 248, 0.25) 0 6px, transparent 6px 12px); overflow: hidden; }
.rd-live__wire i { position: absolute; top: -2px; left: -12%; width: 12%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, transparent, #e4dcff); box-shadow: 0 0 10px #b9a6ff; animation: rd-wire 2.4s linear infinite; }
.rd-live__wire i:nth-child(2) { animation-delay: 0.8s; }
.rd-live__wire i:nth-child(3) { animation-delay: 1.6s; }
.rd-live__wire:nth-child(4) i { animation-direction: reverse; background: linear-gradient(90deg, #dcb8ff, transparent); box-shadow: 0 0 10px #bb6cff; }
@keyframes rd-wire { to { left: 100%; } }

.rd-live__feed { padding: 16px 18px; border-radius: 14px; background: rgba(6, 4, 11, 0.45); box-shadow: inset 0 0 0 1px rgba(244, 241, 248, 0.1); }
.rd-live__head { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #35d68a; }
.rd-live__rec { width: 7px; height: 7px; border-radius: 50%; background: #35d68a; animation: rd-ping-dot 1.6s ease-out infinite; }
.rd-live__feed ul { position: relative; height: 46px; margin: 0; padding: 0; list-style: none; overflow: hidden; }
.rd-live__feed li {
  position: absolute; inset: 0; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  opacity: 0; transform: translateY(100%); transition: opacity 0.5s ease, transform 0.6s var(--rd-ease);
}
.rd-live__feed li.is-on { opacity: 1; transform: none; }
.rd-live__feed li.is-out { opacity: 0; transform: translateY(-100%); }
.rd-live__dot { grid-row: 1 / 3; width: 8px; height: 8px; border-radius: 50%; background: var(--rd-gold); box-shadow: 0 0 10px var(--rd-gold); }
.rd-live__feed strong { font-size: 15px; font-weight: 500; color: #f7f6f9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-live__feed small { grid-column: 2; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--rd-muted); }
.rd-live__feed em { grid-row: 1 / 3; grid-column: 3; font-style: normal; font-size: 11.5px; padding: 4px 9px; border-radius: 6px; background: rgba(53, 214, 138, 0.14); color: #6ee7a8; white-space: nowrap; }

.rd-stat__bar { display: block; height: 2px; margin-top: 4px; border-radius: 2px; background: rgba(244, 241, 248, 0.1); position: relative; overflow: hidden; }
.rd-stat__bar::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--rd-violet)), var(--rd-gold)); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.8s var(--rd-ease); }
.rd-stat__nums > div:nth-child(2) .rd-stat__bar::after { transition-delay: 0.2s; }
.rd-stat__nums > div:nth-child(3) .rd-stat__bar::after { transition-delay: 0.4s; }
.rd-stat.is-seen .rd-stat__bar::after { transform: scaleX(1); }
.rd-stat__nums > div:nth-child(1) .rd-stat__bar { order: 2; }
.rd-stat__nums > div:nth-child(1) dt, .rd-stat__nums > div dt { order: 3; }
.rd-stat__nums dd { transition: text-shadow 0.4s ease; }
.rd-stat__nums > div:hover dd { text-shadow: 0 0 30px rgba(var(--rd-goldc), 0.6); }

@media (max-width: 1023px) {
  .rd-live { grid-template-columns: 1fr; }
}
@media (max-width: 1023px), (hover: none) {
  .rd-stat__aurora i { filter: blur(30px); animation: none; }
  .rd-stat__aurora::before { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rd-stat__aurora i, .rd-stat__aurora::before, .rd-live__node b::after, .rd-live__wire i, .rd-live__rec { animation: none; }
}

/* ============================================================
   03A · CUATRO PUERTAS en vivo (2026-11-24) · .rd-pi
   ============================================================ */
.home-rd .rd-pi { overflow: clip; }
/* paneles: entran desde el centro y luego flotan (keyframes: no se interrumpen) */
.rd-motion .rd-pi:not(.is-live) .rd-puertas-intro__fragment { opacity: 0; }
.rd-pi.is-live .rd-puertas-intro__fragment {
  animation: rd-pi-in 1.1s var(--rd-ease) both, rd-pi-float calc(6s + var(--k) * 0.4s) ease-in-out infinite alternate;
  animation-delay: calc(var(--k) * 80ms), calc(1.2s + var(--k) * -0.6s);
  transition: filter 0.6s ease, box-shadow 0.6s ease;
}
@keyframes rd-pi-in { from { opacity: 0; scale: 0.55; translate: 0 50px; } to { opacity: var(--o, 1); scale: 1; translate: 0 0; } }
@keyframes rd-pi-float { 0% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -12px; rotate: 0.6deg; } 100% { translate: 0 4px; rotate: -0.6deg; } }
/* puerta activa encendida; las demás algo atenuadas */
.rd-pi.is-live .rd-puertas-intro__fragment:not(.is-hot) { filter: brightness(0.62) saturate(0.75); }
.rd-pi .rd-puertas-intro__fragment.is-hot { filter: none; box-shadow: 0 0 0 1px rgba(var(--door), 0.6), 0 0 50px -8px rgba(var(--door), 0.75); }
/* órbitas: luz que corre + destellos que laten */
.rd-pi .rd-puertas-intro__orbit ellipse.rd-pi-run { stroke: #e4dcff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 0.06 0.94; filter: drop-shadow(0 0 3px #b9a6ff); animation: rd-pi-orbit 9s linear infinite; }
.rd-pi .rd-puertas-intro__orbit ellipse.rd-pi-run:nth-of-type(5) { animation-duration: 13s; animation-direction: reverse; stroke: #dcb8ff; filter: drop-shadow(0 0 3px #bb6cff); }
.rd-pi .rd-puertas-intro__orbit ellipse.rd-pi-run:nth-of-type(6) { animation-duration: 7s; }
@keyframes rd-pi-orbit { to { stroke-dashoffset: -1; } }
.rd-pi .rd-puertas-intro__orbit circle { transform-box: fill-box; transform-origin: center; animation: rd-tc-pulse 2.6s ease-in-out infinite; }
.rd-pi .rd-puertas-intro__orbit circle:nth-of-type(4n) { animation-delay: -0.8s; }
.rd-pi .rd-puertas-intro__orbit circle:nth-of-type(3n) { animation-delay: -1.6s; }
.rd-pi .rd-puertas-intro__orbit { animation: rd-pi-sway 18s ease-in-out infinite alternate; }
@keyframes rd-pi-sway { to { transform: rotate(3deg) scale(1.03); } }

/* palabra: entra con salto */
.rd-pi .rd-puertas-intro__word--active { display: inline-block; animation: rd-pi-word 0.8s var(--rd-ease); }
@keyframes rd-pi-word { from { opacity: 0; transform: translateY(40%) scale(0.9); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.rd-pi .rd-puertas-intro__step { transition: color 0.4s ease; }

/* KPI de adquisición: barras que crecen en bucle */
.rd-pi.is-live .rd-puertas-intro__bars rect, .rd-pi.is-live .rd-puertas-intro__fragment--acq svg rect {
  transform-box: fill-box; transform-origin: 50% 100%; animation: rd-pi-bar 3.2s ease-in-out infinite alternate; }
.rd-pi .rd-puertas-intro__fragment--acq svg rect:nth-child(3n) { animation-delay: -0.6s; }
.rd-pi .rd-puertas-intro__fragment--acq svg rect:nth-child(3n+1) { animation-delay: -1.3s; }
@keyframes rd-pi-bar { from { transform: scaleY(0.55); } to { transform: scaleY(1); } }
.rd-pi .rd-puertas-intro__delta { animation: rd-pi-blink 2s ease-in-out infinite; }
@keyframes rd-pi-blink { 50% { opacity: 0.45; } }

/* pipeline: barras que se llenan */
.rd-pi .rd-puertas-intro__bar { position: relative; overflow: hidden; }
.rd-motion .rd-pi .rd-puertas-intro__bar { transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s var(--rd-ease) 0.8s; }
.rd-motion .rd-pi.is-live .rd-puertas-intro__bar { transform: none; }
.rd-pi .rd-puertas-intro__bar::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent); transform: translateX(-100%); animation: rd-sheen 3s ease-in-out infinite; }

/* operación: curva que se dibuja + chips de procesos que laten */
.rd-motion .rd-pi .rd-puertas-intro__spark path:last-of-type { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--rd-ease) 1s; }
.rd-motion .rd-pi.is-live .rd-puertas-intro__spark path:last-of-type { stroke-dashoffset: 0; }
.rd-pi .rd-puertas-intro__chip--live i { animation: rd-ping-dot 1.6s ease-out infinite; }
.rd-pi .rd-puertas-intro__pill { animation: rd-pi-blink 3s ease-in-out infinite; }
.rd-pi .rd-puertas-intro__proc:nth-child(2) .rd-puertas-intro__pill { animation-delay: -0.7s; }
.rd-pi .rd-puertas-intro__proc:nth-child(3) .rd-puertas-intro__pill { animation-delay: -1.4s; }
.rd-pi .rd-puertas-intro__proc:nth-child(4) .rd-puertas-intro__pill { animation-delay: -2.1s; }
.rd-pi .rd-puertas-intro__proc-icon { animation: rd-pi-spin 6s linear infinite; }
@keyframes rd-pi-spin { to { rotate: 360deg; } }

/* flujo: el paso activo recorre la lista */
.rd-pi .rd-puertas-intro__flow-step { animation: rd-pi-step 4.5s ease-in-out infinite; }
.rd-pi .rd-puertas-intro__flow-step:nth-child(2) { animation-delay: 1.5s; }
.rd-pi .rd-puertas-intro__flow-step:nth-child(3) { animation-delay: 3s; }
@keyframes rd-pi-step { 0%, 30% { background: rgba(100, 136, 255, 0.22); box-shadow: inset 0 0 0 1px rgba(100, 136, 255, 0.6); } 40%, 100% { background: transparent; box-shadow: none; } }

/* código: se escribe línea a línea con cursor */
.rd-motion .rd-pi .rd-pi-line { opacity: 0; transition: opacity 0.3s ease; transition-delay: calc(1s + var(--l) * 0.35s); }
.rd-motion .rd-pi.is-live .rd-pi-line { opacity: 1; }
.rd-pi .rd-puertas-intro__code code::after { content: '▍'; color: var(--rd-gold); animation: rd-caret 1s steps(1) infinite; }

/* agente IA: mensajes que aparecen + escribiendo */
.rd-motion .rd-pi .rd-puertas-intro__msg--user { opacity: 0; translate: 20px 0; transition: opacity 0.5s ease 1.4s, translate 0.6s var(--rd-ease) 1.4s; }
.rd-motion .rd-pi .rd-puertas-intro__msg-row { opacity: 0; translate: -20px 0; transition: opacity 0.5s ease 2.4s, translate 0.6s var(--rd-ease) 2.4s; }
.rd-motion .rd-pi.is-live .rd-puertas-intro__msg--user, .rd-motion .rd-pi.is-live .rd-puertas-intro__msg-row { opacity: 1; translate: 0 0; }
.rd-pi .rd-puertas-intro__avatar { animation: rd-breathe 2.4s ease-in-out infinite; --c: var(--rd-blue); }
.rd-pi .rd-puertas-intro__msg-arrow { display: inline-block; animation: rd-pi-nudge 1.4s ease-in-out infinite; }
@keyframes rd-pi-nudge { 50% { transform: translateX(4px); } }

/* fotos e íconos: leve zoom vivo */
.rd-pi .rd-puertas-intro__photo img { animation: rd-pi-zoom 10s ease-in-out infinite alternate; }
@keyframes rd-pi-zoom { to { transform: scale(1.12); } }

@media (max-width: 1023px), (hover: none) {
  .rd-pi .rd-puertas-intro__orbit, .rd-pi .rd-puertas-intro__photo img, .rd-pi .rd-puertas-intro__bar::after { animation: none; }
  .rd-pi.is-live .rd-puertas-intro__fragment:not(.is-hot) { filter: none; opacity: 0.75; }
}
@media (prefers-reduced-motion: reduce) {
  .rd-pi *, .rd-pi *::after { animation: none !important; }
}

/* ============================================================
   03A · PULIDO (2026-11-24): más aire, paneles de vidrio, foco en
   el titular, órbitas limpias con un solo cometa cada una.
   ============================================================ */
@media (min-width: 1024px) {
  .home-rd .rd-pi .rd-puertas-intro__stage { min-height: max(900px, 100vh); }
}
.home-rd .rd-pi .rd-puertas-intro__eyebrow { top: calc(var(--u) * 4); }
/* sin atenuar: todo se ve limpio; la puerta activa solo gana brillo */
.rd-pi.is-live .rd-puertas-intro__fragment:not(.is-hot) { filter: none !important; opacity: 1; }
/* paneles de vidrio con borde luminoso degradado */
.rd-pi .rd-puertas-intro__panel {
  border: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02) 55%), rgba(14, 10, 24, 0.78);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.rd-pi .rd-puertas-intro__panel::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.04) 40%, rgba(var(--rd-violet), 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.rd-pi .rd-puertas-intro__photo, .rd-pi .rd-puertas-intro__icon { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 26px 60px -26px rgba(0, 0, 0, 0.9); }
.rd-pi .rd-puertas-intro__fragment.is-hot { box-shadow: 0 0 0 1px rgba(var(--door), 0.7), 0 0 60px -6px rgba(var(--door), 0.55), 0 30px 70px -30px rgba(0, 0, 0, 0.9) !important; }
.rd-pi .rd-puertas-intro__fragment.is-hot::before { background: linear-gradient(150deg, rgba(var(--door), 0.9), rgba(var(--door), 0.15) 50%, rgba(var(--door), 0.6)); }
/* foco en el titular: halo oscuro detrás + resplandor del color activo */
.rd-pi .rd-puertas-intro__center { isolation: isolate; }
.rd-pi .rd-puertas-intro__center::before {
  content: ''; position: absolute; left: 50%; top: 45%; z-index: -1; width: 135%; height: 150%;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(6, 4, 11, 0.92), rgba(6, 4, 11, 0.6) 55%, transparent);
}
.rd-pi .rd-puertas-intro__center::after {
  content: ''; position: absolute; left: 50%; top: 40%; z-index: -1; width: 70%; height: 45%;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; filter: blur(40px);
  background: radial-gradient(closest-side, rgba(var(--door), 0.35), transparent); transition: background 0.8s ease;
}
/* órbitas: un cometa limpio por elipse */
.rd-pi .rd-puertas-intro__orbit ellipse.rd-pi-run { vector-effect: none; stroke-width: 0.28; stroke-dasharray: 0.03 0.97; }
.rd-pi .rd-puertas-intro__orbit g[mask] { opacity: 0.85; }
@media (max-width: 1023px) {
  .rd-pi .rd-puertas-intro__center::after { filter: blur(24px); }
}

/* ============================================================
   NEURA · identidad minimalista (2026-11-24)
   Sin dorado: lavanda Neura como acento, blanco marfil para los
   botones, títulos en sans (peso fuerte + ligero, estilo Apple) y
   el hero con Neura 3D entre anillos metálicos.
   ============================================================ */
.home-rd {
  --rd-gold: #b9a6ff;  --rd-gold-btn: #f4f1ea;  --rd-ink: #0b0814;
  --rd-goldc: 185, 166, 255;
  --gold: #b9a6ff;  --gold-btn: #f4f1ea;  --gold-ink: #0b0814;
  --rd-neura-blue: 95, 242, 255;
}
/* títulos: sans, peso fuerte + parte ligera en lugar de itálicas serif */
.home-rd :is(h1, h2, h3, p, span, a) em,
.home-rd [class*="title-em"], .home-rd .rd-puertas-intro__word, .rd-cloud__words em {
  font-family: var(--sans) !important; font-style: normal !important; letter-spacing: -0.04em !important;
}
.home-rd main h2 em, .home-rd .cta-final__title em, .home-rd .rd-statement__title em, .home-rd .rd-scene__title em,
.home-rd .rd-modelo__statement em, .home-rd .rd-memb__cta-txt em, .home-rd .rd-puertas-detail__closing-em {
  font-weight: 300 !important; color: #a29bb3 !important;
}
.home-rd .rd-puertas-intro__word { font-weight: 600 !important; text-transform: none !important; }
.home-rd .rd-scene__title em { color: rgb(var(--c)) !important; }
.home-rd main h2 { font-weight: 600 !important; letter-spacing: -0.045em !important; }
.home-rd .rd-techos__title { font-weight: 600; }
/* botones: blanco marfil, texto oscuro (como la referencia) */
.home-rd .rd-hero__cta, .home-rd .nav__cta, .home-rd .btn--gold-solid, .home-rd .btn--gold, .rd-btn--gold {
  background: #f4f1ea !important; color: #0b0814 !important; box-shadow: none !important; border-radius: 6px !important;
}
.home-rd .rd-hero__cta-arrow, .home-rd .nav__cta > span, .home-rd .btn .rd-btn__box, .rd-btn--gold .rd-btn__box { background: transparent !important; width: auto !important; color: #0b0814; }
.home-rd .nav__cta { padding: 9px 16px !important; font-weight: 500 !important; }
/* CTA final: lámina marfil en lugar de dorada */
.home-rd .rd-sheet--gold { background: #f4f1ea !important; color: #0b0814; }
.home-rd .rd-sheet--gold .cta-final__title { color: #0b0814 !important; }
.home-rd .rd-sheet--gold .cta-final__title em { color: #6b6576 !important; }
.home-rd .rd-sheet--gold .cta-final__sub { color: #4a4555 !important; }
.home-rd .rd-sheet--gold .btn--gold-solid { background: #0b0814 !important; color: #f4f1ea !important; }
.home-rd .rd-sheet--gold .btn .rd-btn__box { color: #f4f1ea; }
.home-rd .rd-cta-art__ln, .home-rd .rd-cta-art__tri { stroke: #6b3fd1; }
.home-rd .rd-cta-art__tri { fill: #6b3fd1; }
.rd-progress { background: linear-gradient(90deg, #6b3fd1, #b9a6ff 60%, #5ff2ff); box-shadow: 0 0 12px rgba(185, 166, 255, 0.6); }

/* ---------- HERO con Neura ---------- */
.home-rd .rd-hero { background: radial-gradient(60% 70% at 72% 45%, rgba(107, 63, 209, 0.16), transparent 70%), #050409; }
.home-rd .rd-hero::after { display: none; }
.home-rd .rd-hero__inner { align-items: center; }
.home-rd .rd-hero__content { max-width: 600px !important; margin: 0 !important; text-align: left !important; align-items: flex-start !important; position: relative; z-index: 2; }
.home-rd .rd-hero__eyebrow { justify-content: flex-start !important; gap: 14px; font-size: 11px !important; letter-spacing: 0.18em !important; color: #a29bb3 !important; margin-bottom: 26px !important; }
.home-rd .rd-hero__eyebrow::before { content: ''; width: 34px; height: 1px; background: #a29bb3; clip-path: none !important; }
.home-rd .rd-hero__title {
  font-family: var(--sans) !important; font-size: clamp(44px, 5.2vw, 84px) !important; line-height: 1 !important;
  letter-spacing: -0.045em !important; font-weight: 300 !important; max-width: none !important; text-shadow: none !important;
}
.home-rd .rd-hero__title strong { display: block; font-weight: 700; color: #fff; }
.home-rd .rd-hero__title-light { display: block; font-weight: 250; color: #e4e0ee; }
.home-rd .rd-hero__lead { max-width: 460px !important; font-size: 17px !important; line-height: 1.6 !important; color: #b7b2c4 !important; margin-top: 30px !important; text-shadow: none !important; }
.home-rd .rd-hero__actions { justify-content: flex-start !important; gap: 28px !important; margin-top: 34px !important; }
.home-rd .rd-hero__cta { padding: 14px 22px !important; font-size: 14.5px !important; font-weight: 500 !important; gap: 22px !important; }
.home-rd .rd-hero__link { border: 0 !important; padding: 0 !important; font-size: 14.5px !important; color: #f4f1f8 !important; }
.home-rd .rd-hero__link span { display: inline-block; margin-left: 6px; transition: transform 0.4s var(--rd-ease); }
.home-rd .rd-hero__link:hover span { transform: translateX(4px); }

.home-rd .rd-hero__foot { display: block !important; position: relative; z-index: 2; padding-bottom: 34px !important; }
.rd-hero__metas { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid rgba(244, 241, 248, 0.1); }
.home-rd .rd-hero__meta { display: flex !important; align-items: center; gap: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #6f6a7c; }
.rd-hero__meta--neura { color: #b9a6ff !important; }
.rd-hero__meta-line { width: 34px; height: 1px; background: currentColor; }
.rd-hero__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 22px 0 0; list-style: none; }
.rd-hero__facts li { display: flex; flex-direction: column; gap: 6px; padding-right: 20px; }
.rd-hero__facts li + li { padding-left: 24px; border-left: 1px solid rgba(244, 241, 248, 0.1); }
.rd-hero__facts small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #6f6a7c; }
.rd-hero__facts strong { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.rd-hero__facts span { font-size: 13px; color: #8f8a9c; }
.rd-motion .rd-hero__facts li { opacity: 0; translate: 0 16px; animation: rd-fact-in 0.9s var(--rd-ease) forwards; animation-delay: calc(0.9s + var(--i, 0) * 0.12s); }
.rd-hero__facts li:nth-child(2) { --i: 1; } .rd-hero__facts li:nth-child(3) { --i: 2; } .rd-hero__facts li:nth-child(4) { --i: 3; }
@keyframes rd-fact-in { to { opacity: 1; translate: 0 0; } }

/* escena de Neura */
.rd-neura {
  position: absolute; z-index: 1; right: max(-4vw, calc((100% - 1500px) / 2)); top: 50%;
  width: min(62vw, 980px); aspect-ratio: 1.25; transform: translateY(-56%); pointer-events: none;
}
.rd-neura__rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.rd-neura__halo {
  position: absolute; left: 50%; top: 47%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(107, 63, 209, 0.55), rgba(70, 90, 255, 0.18) 55%, transparent);
  filter: blur(20px); animation: rd-halo 5s ease-in-out infinite alternate;
}
.rd-neura__float {
  --px: 0; --py: 0;
  position: absolute; left: 50%; top: 47%; width: 22%; transform: translate(-50%, -50%); perspective: 600px;
  animation: rd-neura-float 5s ease-in-out infinite;
}
@keyframes rd-neura-float { 50% { translate: 0 -14px; } }
.rd-neura__bot {
  display: block; width: 100%; height: auto; overflow: visible;
  transform: rotateY(calc(var(--px) * 18deg)) rotateX(calc(var(--py) * -12deg));
  transition: transform 0.6s var(--rd-ease);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 40px rgba(185, 166, 255, 0.25));
}
.rd-neura__head { transform-box: fill-box; transform-origin: 50% 90%; transform: translate(calc(var(--px) * 5px), calc(var(--py) * 3px)) rotate(calc(var(--px) * 5deg)); transition: transform 0.5s var(--rd-ease); animation: rd-neura-nod 6s ease-in-out infinite; }
@keyframes rd-neura-nod { 0%, 100% { rotate: 0deg; } 30% { rotate: -3deg; } 60% { rotate: 2deg; } }
.rd-neura__eyes { transform: translate(calc(var(--px) * 9px), calc(var(--py) * 5px)); transition: transform 0.3s ease; }
.rd-neura__eye { transform-box: fill-box; transform-origin: center; animation: rd-blink 4.6s ease-in-out infinite; }
@keyframes rd-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
.rd-neura__arm { transform-box: fill-box; transform-origin: 50% 10%; }
.rd-neura__arm--r { animation: rd-wave 6s ease-in-out infinite; }
@keyframes rd-wave { 0%, 70%, 100% { rotate: 0deg; } 78% { rotate: -22deg; } 86% { rotate: -8deg; } 92% { rotate: -20deg; } }
.rd-neura__shadow { fill: rgba(0, 0, 0, 0.55); filter: blur(4px); transform-box: fill-box; transform-origin: center; animation: rd-neura-shadow 5s ease-in-out infinite; }
@keyframes rd-neura-shadow { 50% { transform: scaleX(0.82); opacity: 0.6; } }
.rd-motion .rd-neura { opacity: 0; animation: rd-neura-in 1.6s var(--rd-ease) 0.2s forwards; }
@keyframes rd-neura-in { from { opacity: 0; scale: 0.92; } to { opacity: 1; scale: 1; } }

@media (max-width: 1023px) {
  .rd-neura { position: relative; right: auto; top: auto; transform: none; width: 112vw; margin: -10px 0 0 -6vw; }
  .home-rd .rd-hero__inner { flex-direction: column; }
  .rd-hero__facts { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .rd-hero__facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .rd-hero__metas { flex-direction: column; gap: 8px; }
  .rd-neura__halo { filter: none; animation: none; }
}
@media (max-width: 699px) {
  .rd-neura__float { width: 26%; }
}
@media (prefers-reduced-motion: reduce) {
  .rd-neura__float, .rd-neura__head, .rd-neura__eye, .rd-neura__arm--r, .rd-neura__shadow, .rd-neura__halo { animation: none; }
}
.home-rd .rd-hero__content { max-width: 760px !important; }
.home-rd .rd-hero__title strong { white-space: nowrap; }
.home-rd .rd-hero__meta { border: 0 !important; padding: 0 !important; margin: 0 !important; }
.home-rd .rd-hero__foot::before, .home-rd .rd-hero__foot::after, .home-rd .rd-hero__metas::before { display: none !important; content: none !important; }
@media (min-width: 1024px) { .rd-neura { width: min(56vw, 900px); right: max(-2vw, calc((100% - 1440px) / 2)); } }
@media (max-width: 699px) { .home-rd .rd-hero__title strong { white-space: normal; } }

/* ============================================================
   CTA FINAL oscuro y animado (2026-11-24): aurora Neura, reloj de
   30 minutos que se llena, manecilla, órbitas y satélite.
   ============================================================ */
.home-rd .rd-cta {
  background: radial-gradient(60% 80% at 80% 50%, rgba(107, 63, 209, 0.28), transparent 70%), radial-gradient(40% 60% at 10% 100%, rgba(70, 90, 255, 0.16), transparent 70%), #07050d !important;
  box-shadow: inset 0 0 0 1px rgba(244, 241, 248, 0.08);
  padding-block: clamp(90px, 10vw, 150px) !important;
}
.home-rd .rd-cta .rd-aurora { display: block !important; }
.home-rd .rd-cta .rd-aurora span:nth-child(1) { background: radial-gradient(circle, rgba(107, 63, 209, 0.5), transparent 65%); }
.home-rd .rd-cta .rd-aurora span:nth-child(2) { background: radial-gradient(circle, rgba(95, 242, 255, 0.18), transparent 65%); }
.home-rd .rd-cta .rd-aurora span:nth-child(3) { background: radial-gradient(circle, rgba(70, 90, 255, 0.3), transparent 65%); }
.rd-cta__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.rd-cta__copy { display: flex; flex-direction: column; align-items: flex-start; }
.rd-cta__copy .rd-tag { color: #b9a6ff; }
.home-rd .rd-cta .cta-final__title { margin-top: 22px; color: #fff !important; font-size: clamp(44px, 5.6vw, 92px) !important; font-weight: 700 !important; line-height: 0.98; text-align: left; }
.home-rd .rd-cta .cta-final__title em { display: block; color: #8f89a3 !important; font-weight: 300 !important; }
.rd-cta__points { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; padding: 0; list-style: none; }
.rd-cta__points li {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  font-size: 14px; color: #d9d4e6; box-shadow: inset 0 0 0 1px rgba(244, 241, 248, 0.14); background: rgba(255, 255, 255, 0.03);
}
.rd-cta__points li::before { content: '✓'; color: #5ff2ff; font-size: 12px; }
.home-rd .rd-cta .btn--gold-solid { margin-top: 36px; background: #f4f1ea !important; color: #0b0814 !important; padding: 17px 26px; font-size: 15.5px; }
.home-rd .rd-cta .btn .rd-btn__box { color: #0b0814 !important; }
.home-rd .rd-cta .btn--gold-solid:hover { box-shadow: 0 0 0 6px rgba(185, 166, 255, 0.18), 0 20px 50px -14px rgba(185, 166, 255, 0.6) !important; }

.rd-cta__art { position: relative; display: grid; place-items: center; }
.rd-clock { width: min(460px, 100%); height: auto; overflow: visible; }
.rd-clock__orbit { fill: none; stroke: rgba(185, 166, 255, 0.28); stroke-width: 1; }
.rd-clock__orbit--b { stroke: rgba(95, 242, 255, 0.18); }
.rd-clock__ticks line { stroke: rgba(244, 241, 248, 0.2); stroke-width: 1.5; stroke-linecap: round; }
.rd-clock__ticks line.is-major { stroke: rgba(244, 241, 248, 0.55); stroke-width: 2; }
.rd-clock__ticks { transform-origin: 200px 200px; animation: rd-pi-spin 120s linear infinite; }
.rd-clock__track { fill: none; stroke: rgba(244, 241, 248, 0.08); stroke-width: 14; }
.rd-clock__arc {
  fill: none; stroke: url(#rd-clk); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  filter: drop-shadow(0 0 10px rgba(185, 166, 255, 0.7));
  animation: rd-clock-fill 8s cubic-bezier(0.6, 0, 0.3, 1) infinite;
}
@keyframes rd-clock-fill { 0% { stroke-dashoffset: 1; } 75% { stroke-dashoffset: 0; } 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.rd-clock__core { stroke: rgba(185, 166, 255, 0.25); stroke-width: 1; }
.rd-clock__hand { transform-origin: 200px 200px; animation: rd-clock-hand 8s cubic-bezier(0.6, 0, 0.3, 1) infinite; }
.rd-clock__hand line { stroke: rgba(244, 241, 248, 0.35); stroke-width: 1.5; }
.rd-clock__hand circle { fill: #fff; filter: drop-shadow(0 0 8px #b9a6ff); }
@keyframes rd-clock-hand { 0% { transform: rotate(0deg); } 75%, 100% { transform: rotate(360deg); } }
.rd-clock__sat { transform-origin: 200px 200px; animation: rd-pi-spin 14s linear infinite; }
.rd-clock__sat circle { fill: #5ff2ff; filter: drop-shadow(0 0 8px #5ff2ff); }
.rd-clock__num { font-family: var(--sans); font-weight: 700; font-size: 84px; letter-spacing: -4px; text-anchor: middle; fill: #fff; }
.rd-clock__unit { font-family: var(--mono); font-size: 13px; letter-spacing: 5px; text-anchor: middle; fill: #b9a6ff; }
.rd-cta__art::before {
  content: ''; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(107, 63, 209, 0.55), transparent); filter: blur(30px); animation: rd-halo 4s ease-in-out infinite alternate;
}
@media (max-width: 1023px) {
  .rd-cta__inner { grid-template-columns: 1fr; }
  .rd-cta__art { order: -1; }
  .rd-clock { width: min(320px, 80vw); }
  .rd-cta__art::before { filter: none; animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rd-clock__arc { animation: none; stroke-dashoffset: 0; }
  .rd-clock__hand, .rd-clock__sat, .rd-clock__ticks, .rd-cta__art::before { animation: none; }
}

/* ============================================================
   BRAND BOOK OFICIAL · Edición 2.0 · 2026 (aplicado 2026-11-24)
   Color: Negro Absoluto #000 · Blanco Plano #F4F2EE · Azul Cósmico
   #0B3D91 · Morado Imperial #6A0DAD · Lavanda Línea #B9A4F4 (solo
   traza). Dorado: solo metal impreso, nunca en pantalla.
   Degradado oficial único "Hora Azul" (azul→morado 135°) solo en
   motion y luz de Neura. Tipografía: Poppins (titular = 700 + 100),
   DM Mono para etiquetas. Motion: cubic-bezier(.2,0,0,1), sin rebotes,
   "se dibuja y luego se llena". Neura: los ojos (cian) son el único
   color saturado; parpadeo cada 4–6 s.
   ============================================================ */
@font-face { font-family: 'Poppins'; font-weight: 100; font-style: normal; font-display: swap; src: url('../fonts/poppins-100.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 200; font-style: normal; font-display: swap; src: url('../fonts/poppins-200.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 300; font-style: normal; font-display: swap; src: url('../fonts/poppins-300.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'DM Mono'; font-weight: 300; font-style: normal; font-display: swap; src: url('../fonts/dm-mono-300.woff2') format('woff2'); }
@font-face { font-family: 'DM Mono'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/dm-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'DM Mono'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/dm-mono-500.woff2') format('woff2'); }

.home-rd {
  --sans: 'Poppins', 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', 'JetBrains Mono', ui-monospace, monospace;
  --nn-black: #000; --nn-white: #F4F2EE; --nn-blue: #0B3D91; --nn-purple: #6A0DAD; --nn-lav: #B9A4F4; --nn-cyan: #5FF2FF;
  --nn-hora-azul: linear-gradient(135deg, #0B3D91, #6A0DAD);
  /* acentos del sistema rd- → familia oficial (azules y morados ampliados) */
  --rd-blue: 76, 130, 224;     /* #4C82E0 */
  --rd-cyan: 157, 190, 242;    /* #9DBEF2 */
  --rd-violet: 178, 102, 230;  /* #B266E6 */
  --rd-goldc: 185, 164, 244;   /* #B9A4F4 lavanda */
  --rd-gold: #B9A4F4; --rd-gold-btn: #F4F2EE; --rd-ink: #000;
  --gold: #B9A4F4; --gold-btn: #F4F2EE; --gold-ink: #000;
  --rd-ease: cubic-bezier(0.2, 0, 0, 1);
  --text: #F4F2EE;
  font-family: var(--sans);
  background: #000;
}
body.home-rd { background: #000; color: #F4F2EE; }
.home-rd, .home-rd p, .home-rd li, .home-rd a, .home-rd button, .home-rd input, .home-rd strong, .home-rd small, .home-rd dt, .home-rd dd, .home-rd figcaption { font-family: var(--sans); }
.home-rd [class*="eyebrow"], .home-rd .kicker, .home-rd .rd-tag, .home-rd [class*="__label"], .home-rd [class*="__num"], .home-rd small, .home-rd .rd-hero__meta, .home-rd dt, .home-rd code, .home-rd pre { font-family: var(--mono) !important; }

/* Titulares: parte sólida 700 + parte línea 100 */
.home-rd main h2, .home-rd .rd-hero__title, .home-rd .cta-final__title, .home-rd .rd-scene__title, .home-rd .rd-stat__text, .home-rd .rd-puertas-intro__headline, .home-rd .rd-cloud__title {
  font-family: var(--sans) !important; font-weight: 700 !important; letter-spacing: -0.045em !important; color: #F4F2EE;
}
.home-rd main h2 em, .home-rd .cta-final__title em, .home-rd .rd-scene__title em, .home-rd .rd-puertas-detail__closing-em,
.home-rd .rd-hero__title-light, .home-rd .rd-puertas-intro__headline-top {
  font-family: var(--sans) !important; font-weight: 100 !important; font-style: normal !important; color: #F4F2EE !important; letter-spacing: -0.04em !important;
}
.home-rd .rd-hero__title strong { font-weight: 700; color: #F4F2EE; }
.home-rd .rd-puertas-intro__word { font-weight: 700 !important; }
.home-rd p, .home-rd .rd-hero__lead, .home-rd .section-sub { font-weight: 300; }
.home-rd .rd-hero__lead, .home-rd .rd-statement__lead, .home-rd .rd-scene__lead, .home-rd .rd-firma__lead, .home-rd .section-sub { color: #A9A6A0 !important; }

/* Etiquetas DM Mono: marcador de cuadro (gramática: sólido / línea) */
.rd-tag::before, .home-rd main .kicker::before, .rd-techos__eyebrow::before, .rd-puertas-intro__eyebrow::before, .rd-puertas-detail__eyebrow::before,
.home-rd .rd-puertas-detail__cat::before, .rd-fact__label::before, .rd-stat__chip::before, .rd-stat__label::before {
  width: 8px !important; height: 8px !important; clip-path: none !important; background: transparent !important; box-shadow: inset 0 0 0 1px #B9A4F4;
}
.home-rd main .kicker, .rd-tag, .rd-techos__eyebrow, .rd-puertas-intro__eyebrow, .rd-puertas-detail__eyebrow { color: #B9A4F4 !important; letter-spacing: 0.06em !important; }
.home-rd .rd-hero__eyebrow::before { box-shadow: none !important; }

/* Fondos: negro absoluto, sin degradados de fondo */
.home-rd .rd-hero, .home-rd main > section:not(.rd-sheet--light):not(.rd-cta), .home-rd .rd-firma, .home-rd .rd-stat, .home-rd .pie { background: #000 !important; }
.home-rd .rd-stat__copy { background: #0B0B0E !important; box-shadow: inset 0 0 0 1px #2A2A2E; }
.home-rd .rd-sheet--light { background: #F4F2EE !important; }
.home-rd .rd-sheet--light .kicker { color: #6A0DAD !important; }
.home-rd .rd-sheet--light .bprev__title, .home-rd .rd-sheet--light .bprev__title em { color: #000 !important; }
.home-rd .rd-sheet--light .bprev__tag::before { background: #6A0DAD; }

/* Botones del kit de interfaz V2.0: rectos, sólidos */
.home-rd .rd-hero__cta, .home-rd .nav__cta, .home-rd .btn--gold-solid, .home-rd .btn--gold, .rd-btn--gold, .home-rd .rd-btn, .home-rd .rd-puertas-detail__cta {
  border-radius: 2px !important; font-family: var(--sans) !important; font-weight: 500 !important;
}
.home-rd .rd-btn, .home-rd .rd-puertas-detail__cta { background: transparent !important; box-shadow: inset 0 0 0 1px rgba(244, 242, 238, 0.4) !important; color: #F4F2EE !important; }
.home-rd .rd-btn:hover, .home-rd .rd-puertas-detail__cta:hover { background: #F4F2EE !important; color: #000 !important; }
.home-rd .rd-btn .rd-btn__box, .home-rd .rd-puertas-detail__cta > span { background: transparent !important; color: inherit !important; }
.home-rd .rd-hero__cta:hover, .home-rd .btn--gold-solid:hover { background: #fff !important; }

/* Tarjetas y paneles: grafito sobre negro, trazo fino */
.home-rd .rd-puertas-detail__door, .home-rd .cliente, .home-rd .rd-fact:not(.rd-fact--dark), .rd-proof li, .home-rd .faq__item {
  background: #0B0B0E !important;
}
.home-rd .rd-firma .rd-fact--dark { background: var(--nn-hora-azul) !important; }

/* Luz de Neura: Hora Azul */
.rd-neura__halo { background: radial-gradient(closest-side, rgba(106, 13, 173, 0.6), rgba(11, 61, 145, 0.35) 55%, transparent) !important; }
.home-rd .rd-hero { background: #000 !important; }
.rd-progress { background: var(--nn-hora-azul) !important; box-shadow: none !important; height: 2px; }
.rd-progress { background: linear-gradient(90deg, #0B3D91, #6A0DAD, #B9A4F4) !important; }

/* Motion oficial: sin rebotes */
.rd-motion .rd-tc .rd-techos__panel { transition-timing-function: cubic-bezier(0.2, 0, 0, 1), ease !important; }

/* CTA: reloj en Hora Azul + lavanda (cian solo para Neura) */
.home-rd .rd-cta { background: #000 !important; }
.home-rd .rd-cta .rd-aurora span:nth-child(1) { background: radial-gradient(circle, rgba(106, 13, 173, 0.45), transparent 65%) !important; }
.home-rd .rd-cta .rd-aurora span:nth-child(2) { background: radial-gradient(circle, rgba(11, 61, 145, 0.45), transparent 65%) !important; }
.home-rd .rd-cta .rd-aurora span:nth-child(3) { display: none; }
.rd-cta__points li::before { color: #B9A4F4 !important; }
.rd-clock__sat circle { fill: #B9A4F4 !important; filter: drop-shadow(0 0 8px #B9A4F4) !important; }
.rd-clock__orbit--b { stroke: rgba(76, 130, 224, 0.25) !important; }
.rd-clock__num { font-family: var(--sans); font-weight: 700; }
.rd-clock__unit { font-family: var(--mono); fill: #B9A4F4; }
@media (min-width: 1024px) {
  .home-rd .cta-final.rd-cta .rd-cta__inner.container { display: grid !important; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) !important; align-items: center !important; text-align: left !important; }
}
.home-rd .cta-final.rd-cta .rd-cta__copy { align-items: flex-start !important; text-align: left !important; }
.rd-clock__num { font-family: 'Poppins', sans-serif !important; font-weight: 700; }

/* ============================================================
   LOGOTIPO + BELIEVE DIFFERENT (2026-11-24, brand book §III/§XII)
   Logotipo: «Neuro» sólido 700 + «Net» línea 100. Firma del footer:
   «Believe» 100 + «Different» 700, con la línea punteada lavanda que
   se dibuja hasta los ojos de Neura (cian), que parpadean y miran.
   ============================================================ */
.rd-wordmark { font-family: 'Poppins', sans-serif; font-weight: 100; letter-spacing: -0.03em; color: #F4F2EE; line-height: 1; }
.rd-wordmark b { font-weight: 700; }
.home-rd .nav__brand .rd-wordmark { font-size: 21px; }
.home-rd .nav__brand-name { display: none; }
.rd-pie__brand .rd-wordmark { font-size: clamp(34px, 3.2vw, 48px); }
.home-rd .pie__logo { display: none; }
.rd-pie__legal { margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #5F5C56; }
.home-rd .pie::after { content: none !important; display: none !important; }

.rd-believe { position: relative; margin: clamp(70px, 8vw, 120px) 0 clamp(20px, 3vw, 40px); padding-bottom: 40px; }
.rd-believe__txt {
  margin: 0; font-family: 'Poppins', sans-serif; font-weight: 100; color: #F4F2EE;
  font-size: clamp(56px, 11vw, 180px); line-height: 0.95; letter-spacing: -0.05em; white-space: nowrap;
}
.rd-believe__txt b { font-weight: 700; }
.rd-believe__path { display: block; width: 100%; height: clamp(60px, 9vw, 130px); margin-top: 10px; overflow: visible; }
.rd-believe__dots { fill: none; stroke: #B9A4F4; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 0.1 6; vector-effect: non-scaling-stroke; opacity: 0.85; }
.rd-believe__reveal { fill: none; stroke: #fff; stroke-width: 12; stroke-dasharray: 1; stroke-dashoffset: 0; }
.rd-believe__spark { fill: #B9A4F4; filter: drop-shadow(0 0 6px #B9A4F4); }
.rd-believe__eyes {
  position: absolute; right: 2.5%; bottom: calc(40px + clamp(60px, 9vw, 130px) * 0.72); display: flex; gap: 9px;
}
.rd-believe__eyes i {
  display: block; width: 9px; height: 18px; border-radius: 9px; background: #5FF2FF;
  box-shadow: 0 0 10px #5FF2FF, 0 0 24px rgba(95, 242, 255, 0.6);
  animation: rd-bd-blink 5s cubic-bezier(0.2, 0, 0, 1) infinite, rd-bd-look 9s cubic-bezier(0.2, 0, 0, 1) infinite;
}
@keyframes rd-bd-blink { 0%, 90%, 100% { transform: scaleY(1); } 93% { transform: scaleY(0.12); } }
@keyframes rd-bd-look { 0%, 30%, 100% { translate: 0 0; } 40%, 55% { translate: -4px 1px; } 65%, 80% { translate: 3px -1px; } }
/* entrada: «Believe» en línea, luego se llena «Different»; la línea se dibuja y aparecen los ojos */
.rd-motion .rd-believe__txt span, .rd-motion .rd-believe__txt b { display: inline-block; opacity: 0; translate: 0 30px; transition: opacity 0.6s ease, translate 0.6s cubic-bezier(0.2, 0, 0, 1); }
.rd-motion .rd-believe__txt b { transition-delay: 0.4s; }
.rd-motion .rd-believe__reveal { stroke-dashoffset: 1; transition: stroke-dashoffset 2s cubic-bezier(0.2, 0, 0, 1) 0.8s; }
.rd-motion .rd-believe__eyes, .rd-motion .rd-believe__spark { opacity: 0; transition: opacity 0.6s ease 2.6s; }
.rd-motion .rd-believe.is-in .rd-believe__txt span, .rd-motion .rd-believe.is-in .rd-believe__txt b { opacity: 1; translate: 0 0; }
.rd-motion .rd-believe.is-in .rd-believe__reveal { stroke-dashoffset: 0; }
.rd-motion .rd-believe.is-in .rd-believe__eyes, .rd-motion .rd-believe.is-in .rd-believe__spark { opacity: 1; }
@media (max-width: 699px) {
  .rd-believe__txt { white-space: normal; }
  .rd-believe__eyes i { width: 7px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) { .rd-believe__eyes i { animation: none; } }

/* Logotipo con isotipo Neura animado (horizontal en el menú, vertical en el footer) */
.rd-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.rd-logo--v { flex-direction: column; align-items: center; gap: 10px; }
.rd-iso { display: block; width: 26px; height: auto; overflow: visible; }
.rd-logo--v .rd-iso { width: 52px; }
.rd-iso__head, .rd-iso__body, .rd-iso__arm ellipse { fill: #F4F2EE; }
.rd-iso__visor { fill: #000; }
.rd-iso__eyes rect { fill: #5FF2FF; filter: drop-shadow(0 0 2px #5FF2FF); transform-box: fill-box; transform-origin: center; animation: rd-blink 5s cubic-bezier(0.2, 0, 0, 1) infinite; }
.rd-iso__bot { animation: rd-iso-float 3.6s ease-in-out infinite; }
@keyframes rd-iso-float { 50% { transform: translateY(-1.6px); } }
.rd-iso__arm { transform-box: fill-box; transform-origin: 50% 15%; }
.rd-logo:hover .rd-iso__arm--r { animation: rd-wave 1.2s cubic-bezier(0.2, 0, 0, 1) 1; }
.rd-logo:hover .rd-iso__eyes rect { animation: none; transform: scaleY(0.55) translateY(-1px); }
.rd-logo--v .rd-iso__eyes rect { filter: drop-shadow(0 0 4px #5FF2FF); }
@media (prefers-reduced-motion: reduce) { .rd-iso__bot, .rd-iso__eyes rect { animation: none; } }

/* ============================================================
   HERO · Escena 3D (2026-11-24): maqueta CDMX · Madrid · Dublín
   (render oficial) con Neura 3D flotando encima. Inclinación 3D
   con el ratón, Neura flota y respira, ojos que parpadean (cian,
   según brand book), destello que recorre la maqueta, reflejo y
   chispas. Sustituye a los anillos .rd-neura.
   ============================================================ */
.rd-scene3d {
  position: absolute; z-index: 1; right: max(-1vw, calc((100% - 1460px) / 2)); top: 54%;
  width: min(60vw, 960px); transform: translateY(-50%); perspective: 1400px; pointer-events: none;
}
.rd-scene3d__tilt {
  --rx: 0; --ry: 0;
  position: relative; transform-style: preserve-3d;
  transform: rotateX(calc(8deg + var(--ry) * -4deg)) rotateY(calc(var(--rx) * 7deg));
  transition: transform 0.9s cubic-bezier(0.2, 0, 0, 1);
}
.rd-scene3d__glow {
  position: absolute; left: 8%; right: 8%; bottom: 6%; height: 46%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(106, 13, 173, 0.55), rgba(11, 61, 145, 0.25) 60%, transparent);
  filter: blur(40px); animation: rd-halo 6s ease-in-out infinite alternate;
}
.rd-scene3d__city { position: relative; margin-top: 30%; transform: translateZ(0); }
.rd-scene3d__city-img { display: block; width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.8)); }
/* destello que recorre solo los edificios (usa la propia imagen como máscara) */
.rd-scene3d__sheen {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  -webkit-mask: url('../assets/opt/home/hero-ciudad-v3-960.webp') center / 100% 100% no-repeat; mask: url('../assets/opt/home/hero-ciudad-v3-960.webp') center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(214, 196, 255, 0.55) 48%, rgba(255, 255, 255, 0.85) 50%, rgba(214, 196, 255, 0.5) 52%, transparent 62%) no-repeat;
  background-size: 250% 100%; animation: rd-sheen-sweep 7s cubic-bezier(0.2, 0, 0, 1) infinite;
}
@keyframes rd-sheen-sweep { 0%, 15% { background-position: 120% 0; } 70%, 100% { background-position: -20% 0; } }

.rd-scene3d__neura {
  position: absolute; left: 44%; top: 0; width: 24%; transform: translateZ(80px);
}
.rd-scene3d__bot { position: relative; animation: rd-s3-float 5s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.rd-scene3d__bot img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 40px rgba(185, 164, 244, 0.35)); transform: rotate(calc(var(--tilt, 0) * 6deg)); transition: transform 0.8s cubic-bezier(0.2, 0, 0, 1); }
@keyframes rd-s3-float { 0%, 100% { translate: 0 0; rotate: -2deg; } 50% { translate: 0 -18px; rotate: 2deg; } }
/* ojos: luz cian que parpadea encima de los ojos del render */
.rd-scene3d__eye {
  position: absolute; top: 31.5%; width: 5.4%; height: 11.2%; border-radius: 999px;
  background: radial-gradient(closest-side, #E8FFFF, #5FF2FF 55%, #16B4D8);
  box-shadow: 0 0 10px #5FF2FF, 0 0 26px rgba(95, 242, 255, 0.65);
  transform-origin: center; animation: rd-s3-blink 5s cubic-bezier(0.2, 0, 0, 1) infinite;
}
.rd-scene3d__eye--l { left: 32.4%; }
.rd-scene3d__eye--r { left: 51.6%; }
@keyframes rd-s3-blink { 0%, 88%, 100% { transform: scaleY(1); } 91% { transform: scaleY(0.1); } 94% { transform: scaleY(1); } 96% { transform: scaleY(0.1); } }
.rd-scene3d__shadow {
  position: absolute; left: 18%; right: 18%; bottom: -22%; height: 9%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), transparent); filter: blur(4px);
  animation: rd-s3-shadow 5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes rd-s3-shadow { 50% { transform: scaleX(0.78); opacity: 0.55; } }
/* chispas */
.rd-scene3d__sparks i {
  position: absolute; left: var(--x); top: var(--y); width: 3px; height: 3px; border-radius: 50%;
  background: #B9A4F4; box-shadow: 0 0 8px #B9A4F4; opacity: 0; scale: var(--s);
  animation: rd-s3-spark 6s ease-in-out infinite; animation-delay: var(--d);
}
@keyframes rd-s3-spark { 0% { opacity: 0; translate: 0 10px; } 30% { opacity: 0.9; } 70% { opacity: 0.4; } 100% { opacity: 0; translate: 0 -40px; } }
/* entrada: la maqueta sube y luego llega Neura */
.rd-motion .rd-scene3d__city { opacity: 0; translate: 0 50px; animation: rd-s3-in 1.4s cubic-bezier(0.2, 0, 0, 1) 0.2s forwards; }
.rd-motion .rd-scene3d__neura { opacity: 0; animation: rd-s3-neura 1.2s cubic-bezier(0.2, 0, 0, 1) 1s forwards; }
@keyframes rd-s3-in { to { opacity: 1; translate: 0 0; } }
@keyframes rd-s3-neura { from { opacity: 0; translate: 0 -60px; scale: 0.8; } to { opacity: 1; translate: 0 0; scale: 1; } }

.home-rd .rd-neura { display: none; }

/* Píldora «Neura AI» (lanzador del chat de main.js) */
.home-rd .neura__launcher {
  width: auto !important; height: 58px !important; padding: 0 22px 0 8px !important; border-radius: 999px !important;
  display: inline-flex !important; align-items: center; gap: 14px;
  background: #000 !important; color: #F4F2EE !important;
  box-shadow: inset 0 0 0 1.5px rgba(244, 242, 238, 0.55), 0 16px 40px -12px rgba(0, 0, 0, 0.9), 0 0 30px -8px rgba(185, 164, 244, 0.45) !important;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 18px; letter-spacing: -0.01em;
}
.home-rd .neura__launcher::before {
  content: ''; flex: 0 0 auto; width: 66px; height: 42px; border-radius: 999px;
  background:
    radial-gradient(4.5px 9px at 36% 50%, #5FF2FF 85%, transparent 100%),
    radial-gradient(4.5px 9px at 64% 50%, #5FF2FF 85%, transparent 100%),
    radial-gradient(60% 80% at 50% 30%, #1d1d24, #050507);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 14px rgba(95, 242, 255, 0.25);
  animation: rd-pill-blink 5s cubic-bezier(0.2, 0, 0, 1) infinite;
}
@keyframes rd-pill-blink { 0%, 90%, 100% { filter: none; } 93% { filter: brightness(0.35); } }
.home-rd .neura__launcher::after { content: 'Neura AI'; }
.home-rd .neura__launcher .neura__icon-chat { display: none !important; }
.home-rd .neura__launcher .neura__status { display: none; }
.home-rd .neura--open .neura__launcher::before, .home-rd .neura--open .neura__launcher::after { display: none; }
.home-rd .neura--open .neura__launcher { width: 58px !important; padding: 0 !important; justify-content: center; }

@media (max-width: 1023px) {
  .rd-scene3d { position: relative; right: auto; top: auto; transform: none; width: 100%; margin: 20px 0 0; }
  .rd-scene3d__tilt { transform: none; }
  .rd-scene3d__glow { filter: blur(24px); animation: none; }
  .rd-scene3d__sheen { display: none; }
  .home-rd .rd-hero__inner { flex-direction: column; align-items: stretch !important; }
}
@media (max-width: 699px) {
  .home-rd .neura__launcher { height: 50px !important; font-size: 16px; padding-right: 18px !important; }
  .home-rd .neura__launcher::before { width: 54px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .rd-scene3d__bot, .rd-scene3d__eye, .rd-scene3d__shadow, .rd-scene3d__sparks i, .rd-scene3d__sheen, .rd-scene3d__glow, .home-rd .neura__launcher::before { animation: none; }
}
/* ajustes escena 3D: ojos sobre el render, Neura sobre la maqueta, sin pisar la franja */
.rd-scene3d__eye { top: 29.8%; width: 5.8%; height: 9.6%; }
.rd-scene3d__eye--l { left: 39.3%; }
.rd-scene3d__eye--r { left: 60.6%; }
@media (min-width: 1024px) {
  .rd-scene3d { top: 47%; width: min(56vw, 900px); }
  .rd-scene3d__city { margin-top: 34%; }
  .rd-scene3d__neura { left: 41%; top: -2%; width: 21%; }
}
@media (max-width: 1023px) { .rd-scene3d__neura { left: 39%; width: 24%; top: -4%; } .rd-scene3d__city { margin-top: 26%; } }
/* celular: texto → escena 3D → franja, como el diseño; sin desvanecer ni huecos */
@media (max-width: 1023px) {
  .home-rd .rd-hero { display: flex; flex-direction: column; min-height: 0 !important; }
  .home-rd .rd-hero__inner { order: 1; flex: 0 0 auto !important; min-height: 0 !important; padding-top: 28px !important; padding-bottom: 0 !important; }
  .rd-scene3d { order: 2; margin: 8px 0 0 !important; }
  .home-rd .rd-hero__foot { order: 3; }
  .home-rd .rd-hero__inner, .home-rd .rd-hero__foot { opacity: 1 !important; }
  .home-rd .rd-hero__actions { flex-direction: column; align-items: flex-start !important; gap: 18px !important; }
  .home-rd .rd-hero__metas { justify-content: center; text-align: center; }
}
/* Neura más arriba: flota sobre la ciudad sin tocarla */
@media (min-width: 1024px) {
  .rd-scene3d { top: 50%; }
  .rd-scene3d__city { margin-top: 42%; }
  .rd-scene3d__neura { top: -6%; width: 19%; left: 42%; }
}
@media (max-width: 1023px) {
  .rd-scene3d__city { margin-top: 38%; }
  .rd-scene3d__neura { top: -2%; width: 22%; left: 40%; }
}
@media (min-width: 1024px) {
  .rd-scene3d { top: 44%; width: min(52vw, 840px); }
  .rd-scene3d__city { margin-top: 40%; }
  .rd-scene3d__neura { top: -12%; width: 18%; left: 42%; }
}
@media (max-width: 1023px) { .rd-scene3d__neura { top: -10%; } .rd-scene3d__city { margin-top: 36%; } }
@media (min-width: 1024px) { .rd-scene3d__neura { top: -19%; } .rd-scene3d { top: 46%; } }
@media (max-width: 1023px) { .rd-scene3d__neura { top: -16%; width: 20%; left: 41%; } .rd-scene3d__city { margin-top: 42%; } }
@media (max-width: 1023px) { .rd-scene3d__neura { top: -24%; } .rd-scene3d__city { margin-top: 46%; } }
/* Neura con ojos blancos (como el render oficial): sin luz azul.
   El parpadeo es un párpado negro que cubre el ojo un instante. */
.rd-scene3d__eye {
  background: #000 !important; box-shadow: none !important; border-radius: 999px;
  transform-origin: 50% 0; transform: scaleY(0); animation: rd-lid 5s cubic-bezier(0.2, 0, 0, 1) infinite !important;
  width: 7.6% !important; height: 12% !important; top: 28.6% !important;
}
.rd-scene3d__eye--l { left: 38.3% !important; }
.rd-scene3d__eye--r { left: 59.6% !important; }
@keyframes rd-lid { 0%, 88%, 100% { transform: scaleY(0); } 91% { transform: scaleY(1.05); } 94% { transform: scaleY(0); } 96% { transform: scaleY(1.05); } 98% { transform: scaleY(0); } }
.rd-iso__eyes rect { fill: #F4F2EE !important; filter: none !important; }
.rd-scene3d__bot img { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 40px rgba(185, 164, 244, 0.25)) !important; }
/* ============================================================
   CELULAR = LAPTOP · Declaración fijada también en móvil:
   pila 3D arriba, escena (texto) abajo, cambia con el scroll.
   ============================================================ */
@media (max-width: 1023px) {
  .rd-statement.is-pinned .rd-statement__pin { height: 420vh; padding-top: 0; }
  .rd-statement.is-pinned .rd-statement__stage {
    position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; display: block; overflow: hidden;
  }
  .rd-statement.is-pinned .rd-x {
    position: absolute; left: 50%; top: 34%; width: 70vw; max-width: 460px;
    transform: translate(-50%, -50%);
    transition: top 1.1s var(--rd-ease), width 1.1s var(--rd-ease);
  }
  .rd-statement.is-pinned .rd-statement__intro { position: absolute; left: 22px; right: 22px; top: 60%; margin: 0; }
  .rd-statement.is-pinned .rd-statement__intro .rd-statement__title { font-size: clamp(30px, 8.4vw, 44px); }
  .rd-statement.is-pinned .rd-scenes { position: absolute; left: 22px; right: 22px; top: 57%; bottom: 0; width: auto; padding: 0; margin: 0; display: block; }
  .rd-statement.is-pinned .rd-scene {
    position: absolute; left: 0; right: 0; top: 0;
    opacity: 0; visibility: hidden; filter: blur(6px); transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.9s var(--rd-ease), filter 0.6s ease, visibility 0s linear 0.6s;
  }
  .rd-statement.is-pinned .rd-scene.is-on { opacity: 1; visibility: visible; filter: none; transform: none; transition-delay: 0.15s, 0.15s, 0.15s, 0s; }
  .rd-statement.is-pinned .rd-scene__title { font-size: clamp(28px, 7.6vw, 40px); margin-top: 12px; }
  .rd-statement.is-pinned .rd-scene__lead { margin-top: 12px; font-size: 15.5px; }
  .rd-statement.is-pinned .rd-scene__btn { margin-top: 20px; }
  .rd-statement.is-pinned .rd-scenes__progress {
    display: flex; align-items: center; gap: 14px; position: absolute; left: 0; bottom: max(28px, 5svh);
    font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; color: var(--rd-dim);
  }
  .rd-statement.is-pinned .rd-scenes__count { color: #f4f1f8; }
  .rd-statement.is-pinned .rd-scenes__bar { position: relative; width: 120px; height: 1px; background: rgba(244, 241, 248, 0.15); }
  .rd-statement.is-pinned .rd-scenes__bar i { position: absolute; inset: 0; background: rgb(var(--hot, var(--rd-blue))); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }
  .rd-statement.is-split .rd-x { top: 29%; width: 78vw; }
  .rd-statement.is-split .rd-statement__intro { opacity: 0; transform: translateY(40px); pointer-events: none; }
  .rd-statement:not(.is-split) .rd-scenes { opacity: 0; pointer-events: none; }
  .rd-statement .rd-scenes { transition: opacity 0.6s ease; }
}
@media (max-width: 1023px) { .rd-statement.is-split .rd-x { top: 30%; left: 47%; width: 58vw; } .rd-statement.is-pinned .rd-x { width: 60vw; } }
/* CELULAR = LAPTOP · 03 Cuatro puertas: los paneles flotantes también en móvil,
   a escala, en una franja arriba y otra abajo del titular. */
@media (max-width: 1023px) {
  .home-rd .rd-pi .rd-puertas-intro__stage { min-height: 0; padding: calc(var(--fu) * 100) 22px calc(var(--fu) * 96); }
  .rd-puertas-intro { --fu: min(1.18vw, 7px); }
  .rd-puertas-intro__fragments { display: block; font-size: var(--fu); }
  .rd-puertas-intro__eyebrow { position: absolute; top: 28px; left: 22px; margin: 0; }
  .rd-puertas-intro__content, .rd-puertas-intro__copy { position: relative; z-index: 2; }
  .rd-puertas-intro__fragment { left: calc(50% + var(--mx) * 1em); top: calc(50% + var(--my) * 1em); }
  .rd-puertas-intro__fragment--acq      { --mx: -41; --my: -86; }
  .rd-puertas-intro__fragment--earth    { --mx: -18; --my: -90; }
  .rd-puertas-intro__fragment--flow     { --mx: 1;   --my: -92; }
  .rd-puertas-intro__fragment--tower    { --mx: 24;  --my: -90; }
  .rd-puertas-intro__fragment--agent    { --mx: 20;  --my: -74; }
  .rd-puertas-intro__fragment--bars     { --mx: -16; --my: -74; }
  .rd-puertas-intro__fragment--building { --mx: -8;  --my: -76; }
  .rd-puertas-intro__fragment--layers   { --mx: 34;  --my: -56; }
  .rd-puertas-intro__fragment--pipe     { --mx: -41; --my: 52; }
  .rd-puertas-intro__fragment--wind     { --mx: -10; --my: 50; }
  .rd-puertas-intro__fragment--code     { --mx: -41; --my: 76; }
  .rd-puertas-intro__fragment--ops      { --mx: 3;   --my: 62; }
  .rd-puertas-intro__fragment--city     { --mx: 30;  --my: 48; }
}
@media (max-width: 1023px) {
  .rd-puertas-intro__fragment--acq  { --mx: -37; }
  .rd-puertas-intro__fragment--pipe { --mx: -37; }
  .rd-puertas-intro__fragment--code { --mx: -37; }
}
/* CELULAR = LAPTOP · 03B las 4 tarjetas juntas (2×2) y compactas */
@media (max-width: 699px) {
  .home-rd .rd-puertas-detail__track { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; margin: 0 16px !important; padding: 0 !important; }
  .home-rd .rd-puertas-detail__door { min-height: 268px !important; padding: 16px 14px 16px !important; }
  .home-rd .rd-puertas-detail__door-title { font-size: 17px !important; line-height: 1.15; }
  .rd-door-art { top: 14px; right: 10px; }
  .rd-door-art .rd-door-icon { width: 66px; height: 50px; }
  .home-rd .rd-puertas-detail__door .rd-btn, .home-rd .rd-puertas-detail__door a { font-size: 11.5px; }
  .home-rd .rd-puertas-detail__door .rd-btn { padding: 8px 10px; gap: 6px; }
}
/* CELULAR = LAPTOP · panel En producción: foto pequeña + panel grande */
@media (max-width: 1023px) {
  .rd-stat__inner { grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr) !important; gap: 10px !important; align-items: stretch; }
  .rd-stat__media { aspect-ratio: auto !important; height: auto; min-height: 0 !important; max-width: none; border-radius: 16px; }
  .rd-stat__copy { padding: 22px 18px !important; border-radius: 16px; }
  .rd-stat__text { font-size: clamp(22px, 6.4vw, 40px) !important; }
}
@media (max-width: 1023px) {
  .rd-stat__inner { grid-template-columns: 1fr !important; }
  .rd-stat__media { aspect-ratio: 16 / 9 !important; max-height: 220px; }
  .rd-stat__nums { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .rd-stat__nums > div, .rd-stat__nums > div + div { padding: 18px 8px 0 0 !important; border-bottom: 0 !important; }
  .rd-stat__nums > div + div { padding-left: 10px !important; border-left: 1px solid rgba(244, 241, 248, 0.12) !important; }
  .rd-stat__nums dd { font-size: 30px !important; }
  .rd-stat__nums dt { font-size: 9px !important; letter-spacing: 0.08em; }
}
/* CELULAR = LAPTOP · 05 sedes en fila de 3 y CTA con el reloj después del texto */
@media (max-width: 1023px) {
  .rd-fact { min-width: 0; }
  .rd-fact:nth-child(1), .rd-fact:nth-child(2), .rd-fact:nth-child(3) { padding: 14px 10px !important; min-height: 120px !important; }
  .rd-fact__big { font-size: clamp(15px, 4.4vw, 26px) !important; letter-spacing: -0.02em; }
  .rd-fact__sub { font-size: 9.5px !important; line-height: 1.35; }
  .rd-fact__label { font-size: 8.5px !important; letter-spacing: 0.08em; }
  .rd-cta__inner { display: flex !important; flex-direction: column; }
  .rd-cta__inner > :not(.rd-cta__art) { order: 1; }
  .rd-cta__art { order: 2; margin-top: 36px; }
}
@media (max-width: 1023px) { .home-rd .rd-firma__facts { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; } .home-rd .rd-firma .rd-fact { min-height: 120px !important; padding: 14px 10px !important; } }

/* ============================================================
   Rendimiento · lo que está lejos del viewport no se maqueta ni se pinta
   hasta acercarse (auto recuerda el tamaño real después del primer pintado).
   El grano de escritorio queda fijo: moverlo obligaba a recomponer toda
   la pantalla 5 veces por segundo.
   ============================================================ */
.home-rd #clientes, .home-rd #nosotros, .home-rd #recursos, .home-rd #momentos, .home-rd > footer {
  content-visibility: auto; contain-intrinsic-size: auto 1000px;
}
.rd-grain { animation: none !important; width: 100%; height: 100%; inset: 0; }

/* ---------- Equipo · retratos rectangulares en B/N con etiqueta de nombre ---------- */
.home-rd .equipo--retratos { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; row-gap: 28px; }
.home-rd .equipo--retratos .persona { max-width: none; align-items: stretch; text-align: left; gap: 12px; }
.home-rd .equipo--retratos .persona__foto,
.home-rd .equipo--retratos .persona:hover .persona__foto {
  width: 100%; height: auto; aspect-ratio: 1 / 2; border-radius: 0; box-shadow: none; translate: none; background: #b8b8b8;
}
.home-rd .equipo--retratos .persona__foto img { transition: transform 0.6s var(--rd-ease); }
.home-rd .equipo--retratos .persona:hover .persona__foto img { transform: scale(1.04); }
.home-rd .equipo--retratos .persona__tag {
  position: absolute; left: 0; bottom: 8px; padding: 4px 8px; background: #000; color: #F4F2EE;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 13px; line-height: 1.2; letter-spacing: -0.01em;
}
.home-rd .equipo--retratos figcaption { gap: 4px; padding-top: 10px; border-top: 1px solid rgba(244, 242, 238, 0.18); }
.home-rd .equipo--retratos figcaption strong { font-size: 13px; line-height: 1.3; }
.home-rd .equipo--retratos figcaption span { font-size: 11px; line-height: 1.4; }
@media (max-width: 1023px) {
  .home-rd .equipo--retratos { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 24px; }
}
@media (max-width: 699px) {
  .home-rd .equipo--retratos { gap: 6px; row-gap: 20px; }
  .home-rd .equipo--retratos .persona__tag { font-size: 10px; padding: 3px 5px; bottom: 6px; }
  .home-rd .equipo--retratos figcaption strong { font-size: 11px; }
  .home-rd .equipo--retratos figcaption span { font-size: 9.5px; }
}

/* ============================================================
   Imágenes oficiales de la landing (assets/opt/landing, guía 01–25)
   ============================================================ */
/* Carrusel: las pantallas se ven con su color real */
.rd-x__img { filter: saturate(0.95) brightness(0.9) contrast(1.04); }
.rd-x__plane--photo::after { opacity: 0.45; }
/* Iconos de los techos y de las puertas (PNG/WebP con fondo transparente) */
img.rd-techos__icon--img { object-fit: contain; color: transparent; }
.rd-limit__body-in > img.rd-techos__icon--img { width: 132px; height: 126px; }
.rd-door-art img.rd-door-icon--img { object-fit: contain; }
/* Iconos sueltos de la órbita (barras → 06, capas → 08) */
.rd-puertas-intro__icon img { width: 84%; height: 84%; object-fit: contain; }
/* Tarjetas de la órbita: la imagen ya trae su propio panel */
.rd-puertas-intro__shot { padding: 0 !important; min-height: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.rd-puertas-intro__shot::before { display: none !important; }
.rd-puertas-intro__shot img { display: block; width: 100%; height: auto; filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.55)); }
.rd-pi .rd-puertas-intro__fragment.rd-puertas-intro__shot.is-hot { box-shadow: none !important; }
.rd-pi .rd-puertas-intro__fragment.rd-puertas-intro__shot.is-hot img { filter: drop-shadow(0 0 28px rgba(var(--door), 0.55)) drop-shadow(0 26px 40px rgba(0, 0, 0, 0.55)); }
/* Mapa de Nosotros */
img.rd-firma__map { object-fit: contain; border-radius: 18px; }

/* ============================================================
   Fluidez en escritorio (igual que ya se hacía en móvil):
   sin capa de grano fusionada sobre toda la pantalla, sin vidrio
   esmerilado y sin desenfoque animado en las entradas. Solo
   opacity/transform, que van por GPU y no repintan al hacer scroll.
   ============================================================ */
.rd-grain { display: none !important; }
.home-rd *, .home-rd *::before, .home-rd *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.home-rd .nav.rd-nav--solid { background: rgba(6, 4, 11, 0.94); }
.rd-motion [data-rd-in], .home-rd .reveal, .home-rd .rd-scene, .home-rd .rd-tag, .home-rd .rd-btn,
.home-rd .rd-statement__lead, .home-rd .rd-logos__label, .home-rd .rd-logos__viewport { filter: none !important; }
.home-rd .reveal { transition: opacity 0.7s ease, transform 0.8s var(--rd-ease), translate 0.7s var(--rd-ease) !important; }
.rd-motion [data-rd-in] { transition: opacity 0.7s ease, translate 0.8s var(--rd-ease) !important; }

/* ============================================================
   Pedidos de revisión (Lima): hero quieto, carrusel nítido,
   logos oficiales y mapa animado
   ============================================================ */
/* Hero: ciudad y Neura más arriba; sin inclinación con el ratón ni destello que recorre la ciudad */
.rd-scene3d__tilt { transform: rotateX(8deg) !important; transition: none !important; }
.rd-scene3d__sheen { display: none !important; }
.rd-scene3d__bot { animation: rd-s3-flota 5s ease-in-out infinite !important; }
.rd-scene3d__bot img { transform: none !important; }
@keyframes rd-s3-flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (min-width: 1024px) {
  .rd-scene3d { top: 40%; }
  .rd-scene3d__neura { top: -25%; }
}
@media (max-width: 1023px) {
  .rd-scene3d__city { margin-top: 40%; }
  .rd-scene3d__neura { top: -30%; }
}
/* Carrusel: fotos nítidas, sin líneas, nodos ni tinte encima */
.rd-x__img { filter: none !important; }
.rd-x__plane--photo::after { display: none !important; }
.rd-x .rd-x__flow, .rd-x .rd-x__node, .rd-x .rd-x__tri, .rd-x .rd-stack__ln, .rd-x .rd-x__dots { display: none !important; }
/* Logos oficiales */
.rd-iso--img { width: 24px; height: auto; }
.rd-logo-oficial { display: block; width: 180px; height: auto; }
/* Mapa de Nosotros animado */
.rd-mapa { position: relative; margin: 0; overflow: hidden; border-radius: 18px; }
.rd-mapa__img { display: block; width: 100%; height: auto; transform: scale(1.06); transition: transform 2.4s cubic-bezier(0.2, 0, 0, 1); }
.rd-firma.is-seen .rd-mapa__img { transform: scale(1); animation: rd-mapa-deriva 18s ease-in-out 2.4s infinite alternate; }
@keyframes rd-mapa-deriva { to { transform: scale(1.035) translate(-0.6%, 0.4%); } }
.rd-mapa__fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.rd-mapa__ruta { fill: none; stroke: url(#rd-mapa-g); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(185, 164, 244, 0.8)); }
.rd-firma.is-seen .rd-mapa__ruta { transition: stroke-dashoffset 2.2s cubic-bezier(0.6, 0, 0.2, 1) 0.3s; stroke-dashoffset: 0; }
.rd-mapa__cometa { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 0.05 0.95; stroke-dashoffset: 0.05; opacity: 0; filter: drop-shadow(0 0 8px #fff); }
.rd-firma.is-seen .rd-mapa__cometa { opacity: 1; animation: rd-mapa-cometa 3.6s cubic-bezier(0.45, 0, 0.55, 1) 2.6s infinite; }
@keyframes rd-mapa-cometa { from { stroke-dashoffset: 0.05; } to { stroke-dashoffset: -1; } }
.rd-mapa__pin circle { fill: none; stroke: #F4F2EE; stroke-width: 3; transform-box: fill-box; transform-origin: center; }
.rd-mapa__pin .rd-mapa__onda { opacity: 0; }
.rd-firma.is-seen .rd-mapa__onda { animation: rd-mapa-onda 2.4s ease-out calc(2.4s + var(--d)) infinite; }
@keyframes rd-mapa-onda { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(4.5); } }
@media (prefers-reduced-motion: reduce) {
  .rd-mapa__img, .rd-mapa__cometa, .rd-mapa__onda { animation: none !important; }
  .rd-mapa__ruta { stroke-dashoffset: 0; }
}

/* Equipo · nombre, puesto y descripción como en el Brand Book (p. 18) */
.home-rd .equipo--retratos figcaption { gap: 6px; }
.home-rd .equipo--retratos .persona__nombre { display: flex; flex-direction: column; font-size: 17px; line-height: 1.05; font-weight: 200; letter-spacing: -0.02em; color: #F4F2EE !important; }
.home-rd .equipo--retratos .persona__nombre b { font-weight: 700; }
.home-rd .equipo--retratos .persona__puesto { font-family: var(--mono); font-size: 11.5px; line-height: 1.45; color: #B9A4F4 !important; }
.home-rd .equipo--retratos .persona__desc { font-size: 12.5px; line-height: 1.45; color: #a9a4b8 !important; }
@media (max-width: 699px) {
  .home-rd .equipo--retratos .persona__nombre { font-size: 13px; }
  .home-rd .equipo--retratos .persona__puesto { font-size: 9.5px; }
  .home-rd .equipo--retratos .persona__desc { font-size: 10px; }
}
/* Mapa: el globo se funde con el negro (la imagen trae bordes rectos arriba y abajo) */
.rd-mapa {
  border-radius: 0; overflow: visible;
  -webkit-mask-image: radial-gradient(ellipse 66% 56% at 52% 50%, #000 64%, rgba(0, 0, 0, 0.6) 80%, transparent 100%);
          mask-image: radial-gradient(ellipse 66% 56% at 52% 50%, #000 64%, rgba(0, 0, 0, 0.6) 80%, transparent 100%);
}
.rd-mapa__img { transform: none; }
.rd-firma.is-seen .rd-mapa__img { transform: none; animation: rd-mapa-respira 14s ease-in-out 2.4s infinite alternate; }
@keyframes rd-mapa-respira { to { transform: scale(1.025); } }

/* Believe Different · galaxia arriba a la derecha */
.rd-believe__galaxia {
  position: absolute; z-index: 0; pointer-events: none;
  right: calc(-1 * max(24px, (100vw - 1280px) / 2)); top: calc(-1 * clamp(40px, 5vw, 80px));
  width: min(1200px, 90vw); aspect-ratio: 16 / 9;
  background: url('../assets/opt/landing/galaxia.webp') right top / contain no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 56%, transparent 100%), linear-gradient(to left, #000 70%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 56%, transparent 100%), linear-gradient(to left, #000 70%, transparent 100%); mask-composite: intersect;
  opacity: 1; animation: rd-galaxia 40s ease-in-out infinite alternate;
}
@keyframes rd-galaxia { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-2%, 1.5%, 0) scale(1.06); } }
.rd-believe__txt, .rd-believe__path, .rd-believe__eyes { position: relative; z-index: 1; }
.rd-believe__eyes { position: absolute; }
@media (max-width: 699px) { .rd-believe__galaxia { width: 130vw; top: -30px; right: -20vw; } }
@media (prefers-reduced-motion: reduce) { .rd-believe__galaxia { animation: none; } }
/* Galaxia más grande y más arriba: sube detrás de los enlaces del pie */
.home-rd .pie { overflow-x: clip; }
.home-rd .pie__top { position: relative; z-index: 2; }
.rd-believe__galaxia {
  width: min(1750px, 125vw); top: calc(-1 * clamp(260px, 26vw, 440px));
  right: calc(-1 * max(120px, (100vw - 1280px) / 2 + 120px));
}
@media (max-width: 699px) { .rd-believe__galaxia { width: 170vw; top: -150px; right: -45vw; } }
/* Galaxia: la nebulosa queda justo arriba de "Different" */
.rd-believe__galaxia {
  top: calc(-1 * clamp(120px, 13vw, 210px));
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 60%, transparent 100%), linear-gradient(to left, #000 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 60%, transparent 100%), linear-gradient(to left, #000 70%, transparent 100%);
}
@media (max-width: 699px) { .rd-believe__galaxia { top: -60px; } }

/* Fotos en producción · blanco y negro + un trazo por foto (Brand Book: "Personas reales. Una línea encima.") */
.rd-stat__media .rd-stat__img { filter: grayscale(1) contrast(1.06) brightness(0.95) !important; }
.rd-stat__trazo { inset: auto; position: absolute; z-index: 2; pointer-events: none; box-sizing: border-box;
  clip-path: inset(0 100% 0 0); transition: left 0.6s var(--rd-ease), top 0.6s var(--rd-ease), width 0.6s var(--rd-ease), height 0.6s var(--rd-ease); }
.rd-stat__trazo.is-marco { border: 1.5px solid #F4F2EE; }
.rd-stat__trazo.is-punteado { border: 1.5px dashed #F4F2EE; }
.rd-stat__trazo.is-linea { border-top: 1.5px solid #F4F2EE; }
.rd-stat__trazo.is-draw { animation: rd-trazo 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.35s forwards; }
@keyframes rd-trazo { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .rd-stat__trazo { clip-path: none; animation: none !important; } }

/* ---------- Fotos en producción · visor de cámara que enfoca a la persona / NeuroNet ---------- */
.rd-stat__trazo.is-cam { clip-path: none; border: 0; transition: left 0.95s cubic-bezier(0.65, 0, 0.35, 1), top 0.95s cubic-bezier(0.65, 0, 0.35, 1), width 0.95s cubic-bezier(0.65, 0, 0.35, 1), height 0.95s cubic-bezier(0.65, 0, 0.35, 1); }
.rd-stat__trazo.is-quieto { transition: none !important; }
.rd-stat__trazo.is-cam.is-punteado { border: 1.5px dashed rgba(244, 242, 238, 0.55); }
.rd-stat__trazo i { display: none; position: absolute; width: 18px; height: 18px; border: 0 solid #F4F2EE; }
.rd-stat__trazo.is-cam i { display: block; }
.rd-stat__trazo .c1 { left: -2px; top: -2px; border-left-width: 2.5px; border-top-width: 2.5px; }
.rd-stat__trazo .c2 { right: -2px; top: -2px; border-right-width: 2.5px; border-top-width: 2.5px; }
.rd-stat__trazo .c3 { left: -2px; bottom: -2px; border-left-width: 2.5px; border-bottom-width: 2.5px; }
.rd-stat__trazo .c4 { right: -2px; bottom: -2px; border-right-width: 2.5px; border-bottom-width: 2.5px; }
.rd-stat__mira { display: none; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.rd-stat__trazo.is-cam .rd-stat__mira { display: block; }
.rd-stat__mira::before, .rd-stat__mira::after { content: ''; position: absolute; background: #F4F2EE; }
.rd-stat__mira::before { left: 6px; top: 0; width: 2px; height: 14px; }
.rd-stat__mira::after { top: 6px; left: 0; height: 2px; width: 14px; }
.rd-stat__trazo.is-fijo i { animation: rd-cam-fijo 0.45s ease-out; }
.rd-stat__trazo.is-fijo .rd-stat__mira { opacity: 0; transition: opacity 0.4s ease 0.2s; }
@keyframes rd-cam-fijo { 0% { transform: scale(1.35); } 100% { transform: scale(1); } }
/* autoenfoque: la foto llega desenfocada y se nitidiza cuando el visor se fija */
.rd-stat__media .rd-stat__img { transition: opacity 0.9s ease, filter 0.35s ease !important; }
.rd-stat__media.is-enfocando .rd-stat__img.is-on { filter: grayscale(1) contrast(1.06) brightness(0.95) blur(4px) !important; }
.rd-stat__flash { position: absolute; inset: 0; z-index: 3; background: #fff; opacity: 0; pointer-events: none; }
.rd-stat__flash.is-on { animation: rd-cam-flash 0.45s ease-out; }
@keyframes rd-cam-flash { 0% { opacity: 0.55; } 100% { opacity: 0; } }

/* ---------- Patrones del Brand Book ---------- */
#clientes, #contacto { isolation: isolate; position: relative; }
.rd-patron { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
/* Campo: cada cuadro, una empresa */
.rd-patron--campo {
  background-image: linear-gradient(rgba(185, 164, 244, 0.13) 1px, transparent 1px), linear-gradient(90deg, rgba(185, 164, 244, 0.13) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 28% 45%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 60% 70% at 28% 45%, #000 30%, transparent 80%);
}
.rd-patron--campo i { position: absolute; width: 64px; height: 64px; opacity: 0; }
.rd-patron--campo .is-blanco { background: #F4F2EE; }
.rd-patron--campo .is-morado { background: #6A0DAD; }
.rd-patron--campo .is-on { animation: rd-campo 2.6s ease-in-out; }
.rd-patron--campo .is-tenue.is-on { animation-name: rd-campo-tenue; }
@keyframes rd-campo { 0%, 100% { opacity: 0; } 25%, 70% { opacity: 0.85; } }
@keyframes rd-campo-tenue { 0%, 100% { opacity: 0; } 25%, 70% { opacity: 0.3; } }
/* Horizonte: líneas discontinuas, el futuro */
.rd-patron--horizonte { -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%, #000 85%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, #000 45%, #000 85%, transparent 100%); }
.rd-patron--horizonte i {
  position: absolute; left: -32px; right: -32px; top: calc(10% + var(--k) * 8.5%); height: 1px;
  background: repeating-linear-gradient(90deg, rgba(185, 164, 244, 0.7) 0 8px, transparent 8px 16px);
  opacity: 0.35; animation: rd-horizonte calc(1.6s + var(--k) * 0.22s) linear infinite;
}
.rd-patron--horizonte i:nth-child(3n+1) { opacity: 0.7; }
.rd-patron--horizonte i:nth-child(even) { animation-direction: reverse; }
@keyframes rd-horizonte { to { transform: translateX(16px); } }
/* Progresión: el cuadro que se llena */
.rd-puertas-detail__header { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.rd-patron--progresion { position: relative; inset: auto; z-index: auto; overflow: visible; flex-shrink: 0; display: grid; grid-template-columns: repeat(8, 30px); gap: 6px; padding: 14px; border: 1px solid rgba(244, 242, 238, 0.14); }
.rd-patron--progresion i { position: relative; height: 62px; border: 1px solid rgba(244, 242, 238, 0.85); overflow: hidden; }
.rd-patron--progresion i.is-vacio { border: 1px dashed rgba(244, 242, 238, 0.4); }
.rd-patron--progresion b { position: absolute; inset: 0; background: #F4F2EE; transform: scaleY(var(--f, 0.5)); transform-origin: bottom; transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1); }
@media (max-width: 1100px) { .rd-patron--progresion { grid-template-columns: repeat(8, 22px); } .rd-patron--progresion i { height: 46px; } }
@media (max-width: 899px) { .rd-patron--progresion { display: none; } }
@media (prefers-reduced-motion: reduce) { .rd-patron--horizonte i, .rd-patron--campo i { animation: none !important; } }
.rd-patron--progresion { grid-template-columns: repeat(8, 18px); gap: 5px; padding: 10px; align-self: flex-end; margin-bottom: 8px; }
.rd-patron--progresion i { height: 34px; }
@media (max-width: 1100px) { .rd-patron--progresion { grid-template-columns: repeat(8, 14px); } .rd-patron--progresion i { height: 28px; } }

/* ---------- "Tecnología que es tuya": pila de fotos como carpeta ---------- */
/* Cada capa es una foto; la activa va al frente y, al avanzar, la de enfrente se va hacia atrás. */
.rd-x--carpeta .rd-x__card {
  position: absolute; inset: 0; border-radius: 16px; overflow: hidden; background: #0b0814;
  border: 1px solid rgba(244, 242, 238, 0.4);
  transform: translate3d(calc(var(--pos) * -6%), calc(var(--pos) * -5.5%), calc(var(--pos) * -80px));
  filter: brightness(calc(1 - var(--pos) * 0.17)); opacity: calc(1 - var(--pos) * 0.1);
  box-shadow: 0 28px 70px -28px rgba(0, 0, 0, 0.95);
  transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1), filter 1s ease, opacity 1s ease, box-shadow 1s ease;
}
.rd-x--carpeta .rd-x__card.is-front { border-color: rgba(244, 242, 238, 0.7); box-shadow: 0 40px 120px -30px rgba(var(--hot), 0.55), 0 28px 70px -28px rgba(0, 0, 0, 0.95); }
.rd-x--carpeta .rd-x__card .rd-x__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
/* brillo de canto: las orillas de cada foto se leen como hojas apiladas */
.rd-x--carpeta .rd-x__card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
@media (prefers-reduced-motion: reduce) { .rd-x--carpeta .rd-x__card { transition: none; } }
.rd-x--carpeta .rd-x__card {
  z-index: calc(10 - var(--pos));
  transform: translate(calc(var(--pos) * 5.5%), calc(var(--pos) * -6%)) scale(calc(1 - var(--pos) * 0.055));
  transform-origin: 100% 0;
}
/* Carpeta que se va llenando: las fotos aún no sumadas esperan fuera y caen al frente */
.rd-x--carpeta .rd-x__card {
  transform: translate(calc(var(--pos) * 4.5%), calc(var(--pos) * -4%)) scale(calc(1 - var(--pos) * 0.05));
  transition: transform 0.9s cubic-bezier(0.2, 0.9, 0.25, 1), filter 0.9s ease, opacity 0.6s ease, box-shadow 0.9s ease;
}
.rd-x--carpeta .rd-x__card.is-pend { z-index: 20; opacity: 0; transform: translate(-6%, 14%) scale(1.08) rotate(-3deg); pointer-events: none; }
/* "Tecnología que es tuya": título centrado de verdad y siempre debajo de la foto */
@media (min-width: 1024px) {
  .rd-statement.is-pinned .rd-statement__intro {
    left: 50%; right: auto; width: min(1100px, calc(100vw - 48px)); max-width: none; padding: 0;
    transform: translateX(-50%);
    top: calc(40% + min(560px, 42vw) * 0.375 + 34px);
  }
  .rd-statement.is-split .rd-statement__intro { transform: translate(-50%, 40px); }
  .rd-statement.is-pinned .rd-statement__intro .rd-statement__title { font-size: clamp(34px, 3.4vw, 54px); text-wrap: balance; }
  .rd-statement.is-pinned .rd-statement__intro .rd-statement__lead { margin-top: 14px; }
}
@media (max-width: 1023px) {
  .rd-statement.is-pinned .rd-statement__intro { left: 50%; right: auto; width: calc(100vw - 44px); transform: translateX(-50%); top: calc(34% + 60vw * 0.375 + 26px); }
  .rd-statement.is-split .rd-statement__intro { transform: translate(-50%, 40px); }
}
/* Mapa v2: el globo llena el cuadro; el desvanecido termina antes de las orillas */
.rd-mapa {
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, rgba(0, 0, 0, 0.55) 80%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, rgba(0, 0, 0, 0.55) 80%, transparent 100%);
}
/* Hero: todo un poco más arriba y Neura con aire sobre la ciudad */
@media (min-width: 1024px) {
  .home-rd .rd-hero__content { translate: 0 -36px; }
  .rd-scene3d { top: 36%; }
  .rd-scene3d__neura { top: -36%; }
}
@media (max-width: 1023px) { .rd-scene3d__neura { top: -40%; } .rd-scene3d__city { margin-top: 48%; } }
/* Neura AI flotante: escondido mientras estás hasta arriba, entra al bajar */
.home-rd .neura { transition: opacity .45s cubic-bezier(.2,0,0,1), transform .45s cubic-bezier(.2,0,0,1); }
html.rd-arriba .home-rd .neura:not(.neura--open), html.rd-arriba body.home-rd > .neura:not(.neura--open) { opacity: 0; transform: translateY(24px); pointer-events: none; }
/* Inicio un poco más compacto para que la fila de datos quede dentro de la primera pantalla */
@media (min-width: 1024px) {
  .home-rd .rd-hero__content { translate: 0 -52px; }
  .rd-scene3d { top: 33%; }
  .home-rd .rd-hero__foot { margin-top: -44px; }
}
/* Equipo: sin etiqueta de nombre sobre la foto ni nombre/descripción abajo; solo el puesto */
.home-rd .equipo--retratos .persona__tag,
.home-rd .equipo--retratos .persona__desc { display: none !important; }
/* Neura más abajo: la barriga a la altura del Ángel */
@media (min-width: 1024px) { .rd-scene3d__neura { top: -12%; } }
/* Neura un poco a la derecha: el brazo no toca el ángel del domo */
@media (min-width: 1024px) { .rd-scene3d__neura { left: 47%; } }
@media (max-width: 1023px) { .rd-scene3d__neura { left: 46%; } }
.rd-scene3d__neura { margin-top: var(--al, 0px); }
/* Paradas de escena nativas: proximidad (no obliga), solo donde hay marcas */
html:has(.rd-snap) { scroll-snap-type: y proximity; }
.rd-statement__pin { position: relative; }
.rd-snap { position: absolute; left: 0; width: 1px; height: 1px; scroll-snap-align: start; pointer-events: none; }
/* Botón Neura AI: visor real (cápsula negra brillante con ojos cian) */
.home-rd .neura__launcher::before {
  width: 76px; height: 39px; border-radius: 999px;
  background: url('../assets/opt/home/neura-visor.webp') center / contain no-repeat !important;
  box-shadow: 0 0 16px rgba(95, 242, 255, 0.22);
}
/* Galaxia del pie: más tenue y fina, sin nube brillante */
.rd-believe__galaxia { opacity: 0.55 !important; filter: saturate(0.8) brightness(0.7) contrast(1.1); }
/* Chat: el avatar del encabezado es el visor de Neura (mismos ojos que el botón) */
.home-rd .neura__avatar {
  width: 62px; height: 32px; border-radius: 999px; border: 0;
  background: url('../assets/opt/home/neura-visor.webp') center / contain no-repeat;
  box-shadow: 0 0 14px rgba(95, 242, 255, 0.22);
  animation: rd-pill-blink 5s cubic-bezier(0.2, 0, 0, 1) infinite;
}
.home-rd .neura__avatar img { display: none; }
/* Fila de datos del hero más arriba: deja libre la esquina para el botón Neura AI */
@media (min-width: 1024px) {
  .home-rd .rd-hero { min-height: max(calc(100vh - 100px), 790px) !important; }
  .home-rd .rd-hero__content { translate: 0 -4px; }
}
@media (min-width: 1024px) and (min-height: 880px) {
  html.rd-arriba .home-rd .neura:not(.neura--open), html.rd-arriba body.home-rd > .neura:not(.neura--open) { opacity: 1; transform: none; pointer-events: auto; }
}
/* Galaxia del pie v2: estrellas finas y nebulosa en diagonal arriba a la derecha (como la referencia) */
.rd-believe__galaxia {
  background-image: url('../assets/opt/landing/galaxia-v3.webp') !important;
  background-position: right top !important; background-size: cover !important;
  right: calc(-1 * max(24px, (100vw - 1280px) / 2)) !important;
  top: calc(-1 * clamp(150px, 16vw, 280px)) !important;
  width: min(1500px, 100vw) !important; aspect-ratio: 1400 / 800;
  opacity: 1 !important; filter: none !important;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%) !important; mask-image: linear-gradient(to bottom, #000 70%, transparent 100%) !important;
  animation: rd-galaxia 60s ease-in-out infinite alternate;
}
@media (max-width: 699px) { .rd-believe__galaxia { width: 160vw !important; top: -90px !important; right: -20vw !important; } }
/* Galaxia del pie más pequeña: solo la esquina de arriba a la derecha */
.rd-believe__galaxia {
  width: min(900px, 60vw) !important;
  top: calc(-1 * clamp(90px, 9vw, 160px)) !important;
}
@media (max-width: 699px) { .rd-believe__galaxia { width: 110vw !important; top: -60px !important; right: -10vw !important; } }
.rd-believe__galaxia {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 68%, transparent 100%), linear-gradient(to left, #000 65%, transparent 100%) !important;
  -webkit-mask-composite: source-in !important;
          mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 68%, transparent 100%), linear-gradient(to left, #000 65%, transparent 100%) !important;
          mask-composite: intersect !important;
}
/* Botón Neura AI: siempre visible. En el inicio va compacto (solo los ojos) para no tapar nada;
   al bajar se expande con el texto. */
html.rd-arriba .home-rd .neura:not(.neura--open), html.rd-arriba body.home-rd > .neura:not(.neura--open) { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
.home-rd .neura__launcher { transition: padding .45s cubic-bezier(.2,0,0,1), gap .45s cubic-bezier(.2,0,0,1); }
.home-rd .neura__launcher::after { display: inline-block; max-width: 120px; overflow: hidden; white-space: nowrap; transition: max-width .45s cubic-bezier(.2,0,0,1), opacity .3s ease; }
html.rd-arriba .home-rd .neura__launcher { padding: 0 8px !important; gap: 0 !important; }
html.rd-arriba .home-rd .neura__launcher::after { max-width: 0; opacity: 0; }

/* ============================================================
   Rendimiento · sin animaciones decorativas infinitas que no aportan
   (se conservan: Neura flotando, parpadeos, cinta de logos, mapa, galaxia lenta)
   ============================================================ */
body::before { animation: none !important; }                        /* campo de estrellas fijo: ya no se desplaza */
.rd-scene3d__sparks { display: none !important; }                   /* 18 chispas del inicio */
.rd-scene3d__glow, .rd-neura__halo, .rd-stat__aurora i, .home-rd .rd-hero__visual::before { animation: none !important; }
.rd-pi .rd-puertas-intro__photo img { animation: none !important; }  /* zoom continuo de 5 fotos */
.rd-scene3d__shadow { animation: none !important; }
.home-rd .rd-stat__aurora i { filter: blur(40px); }
/* secciones lejanas: el navegador no las maqueta ni pinta hasta acercarse */
.home-rd #soluciones, .home-rd .rd-stat { content-visibility: auto; contain-intrinsic-size: auto 1100px; }
/* Rendimiento · capas: las secciones grandes ya no son capas propias ni cambian de escala con el scroll */
.home-rd .rd-sheet { transform: none !important; will-change: auto !important; }
.rd-aurora span { animation: none !important; }
@media (prefers-reduced-motion: no-preference) {
  .home-rd .reveal:not(.is-in) { transform: translate(0, 40px) !important; }
}

/* ============================================================
   CELULAR PRIMERO · ajustes finos (≤ 699px)
   ============================================================ */
@media (max-width: 699px) {
  /* Inicio: la ciudad y Neura entran en la primera pantalla, sin hueco */
  .home-rd .rd-hero__inner { padding-top: 18px !important; }
  .home-rd .rd-hero__title { font-size: clamp(40px, 11.5vw, 50px) !important; line-height: 1.02 !important; }
  .home-rd .rd-hero__lead { font-size: 15.5px !important; line-height: 1.5 !important; margin-top: 14px !important; }
  .home-rd .rd-hero__actions { margin-top: 20px !important; gap: 14px !important; }
  .rd-scene3d { margin-top: -6px !important; width: 108% !important; margin-left: -4% !important; }
  .rd-scene3d__city { margin-top: 30% !important; }
  .rd-scene3d__neura { top: -2% !important; width: 21% !important; left: 40% !important; margin-top: 0 !important; }

  /* Botón Neura AI: compacto (solo el visor) para no tapar contenido */
  .home-rd .neura__launcher, .neura__launcher { height: 50px !important; padding: 0 7px !important; gap: 0 !important; }
  .home-rd .neura__launcher::after, .neura__launcher::after { max-width: 0 !important; opacity: 0 !important; overflow: hidden; }
  .home-rd .neura__launcher::before, .neura__launcher::before { width: 66px !important; height: 34px !important; }
  .neura__launcher { right: 14px !important; bottom: 14px !important; }

  /* Equipo: 2 columnas, retratos más grandes y texto legible */
  .home-rd .equipo--retratos { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; row-gap: 26px !important; }
  .home-rd .equipo--retratos .persona__foto { aspect-ratio: 3 / 4 !important; }
  .home-rd .equipo--retratos .persona__foto img { object-position: 50% 22%; }
  .home-rd .equipo--retratos .persona__nombre { font-size: 17px !important; }
  .home-rd .equipo--retratos .persona__puesto { font-size: 11px !important; line-height: 1.5 !important; }

  /* Nosotros: datos en tarjetas apiladas y legibles */
  .home-rd .rd-firma__facts { grid-template-columns: 1fr !important; gap: 10px !important; }
  .home-rd .rd-fact:nth-child(1), .home-rd .rd-fact:nth-child(2), .home-rd .rd-fact:nth-child(3) { min-height: 0 !important; padding: 18px 18px !important; }
  .home-rd .rd-fact__big { font-size: 26px !important; }
  .home-rd .rd-fact__sub, .home-rd .rd-fact__label { font-size: 12px !important; }

  /* Cuatro puertas (intro): menos piezas, más grandes y sin amontonarse */
  .rd-puertas-intro__fragment--bars, .rd-puertas-intro__fragment--layers, .rd-puertas-intro__fragment--city,
  .rd-puertas-intro__fragment--tower, .rd-puertas-intro__fragment--wind, .rd-puertas-intro__fragment--earth,
  .rd-puertas-intro__fragment--building { display: none !important; }

  /* Ritmo: un poco menos de aire vertical entre secciones */
  .home-rd main > section { scroll-margin-top: 70px; }
  .home-rd .rd-section { padding-block: clamp(56px, 14vw, 80px); }
}
/* Pantallas táctiles: sin efectos de hover que se quedan "pegados" */
@media (hover: none) {
  .home-rd .persona:hover .persona__foto img, .rd-puertas-detail__door:hover .rd-door-icon { transform: none !important; }
}
/* Cuatro puertas en celular: 6 tarjetas grandes en rejilla 2×2 arriba y 1×2 abajo del titular */
@media (max-width: 699px) {
  .rd-puertas-intro { --fu: 2.05vw; }
  .home-rd .rd-pi .rd-puertas-intro__stage { padding: calc(var(--fu) * 40 + 40px) 16px calc(var(--fu) * 26) !important; }
  .rd-puertas-intro__shot { --w: 19 !important; transform: none !important; }
  .rd-puertas-intro__fragment--acq   { --mx: -20 !important; --my: -54 !important; }
  .rd-puertas-intro__fragment--flow  { --mx: 1 !important;   --my: -54 !important; }
  .rd-puertas-intro__fragment--pipe  { --mx: -20 !important; --my: -38 !important; }
  .rd-puertas-intro__fragment--agent { --mx: 1 !important;   --my: -38 !important; }
  .rd-puertas-intro__fragment--code  { --mx: -20 !important; --my: 22 !important; }
  .rd-puertas-intro__fragment--ops   { --mx: 1 !important;   --my: 22 !important; }
}
@media (max-width: 699px) {
  .rd-puertas-intro__eyebrow { display: none !important; }   /* se repite justo en la sección siguiente */
  .home-rd .rd-pi .rd-puertas-intro__stage { padding-bottom: calc(var(--fu) * 44) !important; }
  .rd-puertas-intro__fragment--code { --my: 36 !important; }
  .rd-puertas-intro__fragment--ops  { --my: 36 !important; }
}

/* ============================================================
   CELULAR (revisión en iPhone real)
   ============================================================ */
@media (max-width: 699px) {
  /* --- 03 Cuatro puertas: sección normal, sin piezas flotantes ni huecos --- */
  .home-rd .rd-pi .rd-puertas-intro__stage, .home-rd .rd-puertas-intro__stage {
    display: flex !important; flex-direction: column; align-items: stretch;
    min-height: 0 !important; padding: 72px 16px 64px !important;
  }
  .rd-puertas-intro__orbit { display: none !important; }
  .rd-puertas-intro__center { order: 1; top: 0 !important; max-width: none; }
  .rd-puertas-intro__headline { font-size: clamp(34px, 9.6vw, 42px) !important; line-height: 1.05 !important; }
  .rd-pi .rd-puertas-intro__word--active { animation: rd-pi-word-m 0.6s cubic-bezier(.2,0,0,1) !important; }
  @keyframes rd-pi-word-m { from { opacity: 0; transform: translateY(18%); } to { opacity: 1; transform: none; } }
  .rd-puertas-intro__lead { font-size: 15px !important; line-height: 1.55 !important; margin-top: 16px !important; }
  .rd-puertas-intro__fragments {
    order: 2; position: static !important; inset: auto !important;
    display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 32px; font-size: 16px !important;
  }
  .rd-puertas-intro__fragment.rd-puertas-intro__shot {
    position: static !important; left: auto !important; top: auto !important; width: auto !important;
    transform: none !important; opacity: 1 !important; animation: none !important;
  }
  .rd-puertas-intro__shot img { filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.6)) !important; }
  .rd-pi .rd-puertas-intro__fragment.rd-puertas-intro__shot:not(.is-hot) { opacity: 0.55 !important; transition: opacity .5s ease; }

  /* --- Chat: pantalla completa, como una app --- */
  .neura__panel {
    position: fixed !important; inset: 0 !important; width: 100% !important; max-width: none !important;
    height: 100dvh !important; max-height: none !important; border-radius: 0 !important; border: 0 !important;
    z-index: 1000 !important; padding-top: env(safe-area-inset-top);
  }
  .neura--open .neura__launcher { display: none !important; }
  .neura__head { padding-top: 14px !important; }
  .neura__body { flex: 1 1 auto; }
  .neura__form { padding-bottom: calc(12px + env(safe-area-inset-bottom)) !important; }
  .neura__input { font-size: 16px !important; }   /* evita el zoom automático de iOS al escribir */

  /* --- Inicio: la ciudad sube; Neura con aire sobre el domo --- */
  .home-rd .rd-hero__actions { margin-top: 18px !important; }
  .rd-scene3d { margin-top: -28px !important; }
  .rd-scene3d__neura { top: -10% !important; left: 42% !important; width: 19% !important; }
}
/* pantallas bajas (navegador de Instagram, etc.): todo un poco más compacto */
@media (max-width: 699px) and (max-height: 720px) {
  .home-rd .rd-hero__inner { padding-top: 10px !important; }
  .home-rd .rd-hero__eyebrow { margin-bottom: 10px !important; }
  .home-rd .rd-hero__title { font-size: clamp(36px, 10.5vw, 44px) !important; }
  .home-rd .rd-hero__lead { font-size: 14.5px !important; margin-top: 10px !important; }
  .rd-scene3d { margin-top: -44px !important; }
}

/* ============================================================
   CELULAR · carruseles que se deslizan con el dedo y se detienen en cada tarjeta
   ============================================================ */
@media (max-width: 699px) {
  /* Clientes: sin cinta automática; deslizar con el dedo */
  .home-rd .clientes__grid.is-marquee {
    overflow-x: auto !important; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-inline: -16px; padding: 4px 16px 18px !important; scroll-padding-inline: 16px;
    -webkit-mask-image: none !important; mask-image: none !important;
  }
  .home-rd .clientes__grid.is-marquee .rd-marquee { animation: none !important; transform: none !important; display: flex !important; gap: 12px !important; width: max-content; }
  .home-rd .clientes__grid.is-marquee .rd-marquee > [aria-hidden="true"] { display: none !important; }
  .home-rd .clientes__grid.is-marquee .cliente { flex: 0 0 82vw !important; width: 82vw !important; max-width: 340px; scroll-snap-align: start; }

  /* Cuatro formas de empezar: tarjetas grandes en carrusel */
  .home-rd .rd-puertas-detail__viewport { overflow-x: auto !important; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; padding-bottom: 14px !important; }
  .home-rd .rd-puertas-detail__viewport::-webkit-scrollbar { display: none; }
  .home-rd .rd-puertas-detail__track { display: flex !important; gap: 12px !important; margin: 0 !important; padding: 0 16px !important; width: max-content; }
  .home-rd .rd-puertas-detail__door { flex: 0 0 78vw !important; width: 78vw !important; max-width: 320px; min-height: 300px !important; padding: 22px 20px !important; scroll-snap-align: start; }
  .home-rd .rd-puertas-detail__door :is(h3, .rd-puertas-detail__door-title) { font-size: 22px !important; line-height: 1.15 !important; }
  .home-rd .rd-door-art .rd-door-icon { width: 86px !important; height: 64px !important; }

  /* indicación de que se desliza */
  .home-rd .rd-puertas-detail__header::after, .home-rd #clientes .clientes__grid::before { content: none; }

  /* Menos huecos negros entre secciones */
  .home-rd .rd-techos { padding-bottom: 56px !important; }
  .home-rd .rd-techos__end { margin-top: 28px !important; }
}

/* ============================================================
   CELULAR / TÁCTIL · scroll 100 % nativo, sin tirones ni brincos
   ============================================================ */
@media (max-width: 1023px), (hover: none) {
  /* sin paradas: Safari jalaba de regreso a la escena más cercana al soltar el dedo */
  html, html:has(.rd-snap) { scroll-snap-type: none !important; }
  .rd-snap { display: none !important; }
  /* sin dibujado diferido: al dibujarse la sección cambiaba de altura y la página brincaba */
  .home-rd #clientes, .home-rd #nosotros, .home-rd #recursos, .home-rd #momentos, .home-rd > footer,
  .home-rd #soluciones, .home-rd .rd-stat { content-visibility: visible !important; contain-intrinsic-size: none !important; }
  html, body { overflow-x: clip; }
}
@media (max-width: 699px) {
  /* "Tecnología que es tuya": tramo fijado más corto (menos tiempo "atrapado") */
  .rd-statement.is-pinned .rd-statement__pin { height: 330vh !important; }
}
/* CELULAR · capas ligeras en la pila de fotos y en la cinta de logos (mismo look, mucho menos trabajo) */
@media (max-width: 699px) {
  .rd-x { perspective: none !important; }
  .rd-x .rd-stack__rig { transform: none !important; transform-style: flat !important; }
  .rd-x--carpeta .rd-x__card { filter: none !important; box-shadow: 0 18px 34px -20px rgba(0, 0, 0, 0.95) !important; }
  .rd-x--carpeta .rd-x__card::before { content: ''; position: absolute; inset: 0; z-index: 1; background: #000; opacity: calc(var(--pos) * 0.17); pointer-events: none; transition: opacity .9s ease; }
  .rd-x::after { inset: -10% !important; }
  .rd-logos__viewport { -webkit-mask-image: none !important; mask-image: none !important; }
}

/* ---- Ajustes de Lima ---- */
@media (min-width: 1024px) {
  /* Ciudad más abajo: su borde inferior a la altura de "Explora las soluciones" (Neura no se mueve) */
  .rd-scene3d__city { top: 64px; }
  .rd-scene3d__glow { margin-bottom: -64px; }
  /* Fila de datos un poco más abajo (el botón Neura AI ya no estorba) */
  .home-rd .rd-hero { min-height: max(100vh, 790px) !important; min-height: max(100svh, 790px) !important; }
  .home-rd .rd-hero__foot { position: relative; margin-top: auto; padding-bottom: 30px !important; }
}
/* Carpeta de fotos apuntando hacia adentro: capas hacia la izquierda y giro hacia el texto */
@media (min-width: 700px) {
  .rd-x .rd-stack__rig { transform: rotateY(calc(7deg + var(--sp) * 4deg)) rotateX(3deg) rotateZ(0.4deg) !important; }
  .rd-x--carpeta .rd-x__card {
    transform: translate(calc(var(--pos) * -5.5%), calc(var(--pos) * -6%)) scale(calc(1 - var(--pos) * 0.055)) !important;
    transform-origin: 0 0 !important;
  }
}
@media (max-width: 699px) {
  .rd-x--carpeta .rd-x__card {
    transform: translate(calc(var(--pos) * -4.5%), calc(var(--pos) * -4%)) scale(calc(1 - var(--pos) * 0.05)) !important;
    transform-origin: 0 0 !important;
  }
}

/* Portada de la carpeta: sin etiqueta "NeuroNet" (el título ya lo dice) */
.rd-statement__intro .rd-tag { display: none !important; }
/* Logos: al pasar el cursor se quedan blancos (algunos originales son oscuros y desaparecían) */
/* Al pasar el cursor: logo original a color y un poco más grande.
   Los de texto oscuro llevan un fondo claro para leerse; ShipEase se queda en blanco. */
.rd-logos__track img { border-radius: 14px; transition: filter .45s ease, opacity .45s ease, scale .45s cubic-bezier(.2,0,0,1), background-color .45s ease, padding .45s ease !important; }
.rd-logos__track li:hover img { filter: none !important; opacity: 1 !important; scale: 1.14; }
.rd-logos__track li:hover img[src*="shipease"] { filter: brightness(0) invert(1) !important; }
.rd-logos__track li:hover img:is([src*="milegalista"], [src*="bacio"], [src*="centumx"], [src*="la-concha"]) { background-color: #F4F2EE; padding: 6px; }

/* ---- Globo interactivo: pines con nombre, tarjeta al pasar y ciudades clicables ---- */
.globo__pins { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.globo__pin {
  position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 7px;
  pointer-events: auto; cursor: pointer; white-space: nowrap; will-change: transform, opacity;
  transition: opacity .25s ease; font-family: 'Poppins', sans-serif;
}
.globo__pin i { width: 9px; height: 9px; border-radius: 50%; background: #b9a4f4; box-shadow: 0 0 0 3px rgba(185, 164, 244, 0.2), 0 0 12px rgba(155, 106, 214, 0.8); flex: none; margin-left: -4.5px; }
.globo__pin b { font-weight: 500; font-size: 12px; color: #F4F2EE; padding: 4px 9px; border-radius: 999px; background: rgba(8, 7, 12, 0.72); border: 1px solid rgba(244, 242, 238, 0.12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.globo__pin small { position: absolute; left: 14px; top: calc(100% + 6px); display: block; min-width: 180px; padding: 9px 11px; border-radius: 10px; background: rgba(8, 7, 12, 0.94); border: 1px solid rgba(244, 242, 238, 0.12); font-size: 11.5px; line-height: 1.45; color: #bdb9b3; opacity: 0; transform: translateY(-4px); transition: opacity .2s ease, transform .2s ease; pointer-events: none; white-space: normal; }
.globo__pin small strong { display: block; color: #F4F2EE; font-weight: 600; font-size: 12px; }
.globo__pin:hover, .globo__pin.is-on { z-index: 2; }
.globo__pin:hover small, .globo__pin.is-on small { opacity: 1; transform: none; }
.globo__pin.is-on b { background: #F4F2EE; color: #0a0a0b; border-color: #F4F2EE; }
.globo__pin.is-hub i { width: 11px; height: 11px; margin-left: -5.5px; }
.globo--3d .rd-gchip { display: none !important; }
.rd-gchip--d { left: 4%; top: 22%; animation-delay: -2.2s; }
.rd-gchip--d b { background: #35d68a; color: #04140a; }
.globo__pin.is-left { flex-direction: row-reverse; }
.globo__pin.is-left i { margin-left: 0; margin-right: -4.5px; }
.globo__pin.is-left small { left: auto; right: 14px; }
.home-rd .globo__pin small { font-family: 'Poppins', sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; }

/* ============================================================
   CELULAR v2 · Cuatro puertas: órbitas con fotos redondas y tarjetas,
   como en escritorio (antes: rejilla de tarjetas sin órbitas)
   ============================================================ */
@media (max-width: 699px) {
  .home-rd .rd-pi .rd-puertas-intro__stage, .home-rd .rd-puertas-intro__stage {
    display: grid !important; grid-template-columns: 100%; grid-template-areas: "c" "v";
    padding: 64px 16px 0 !important; overflow: hidden;
  }
  .rd-puertas-intro__center { grid-area: c; }
  .rd-puertas-intro__orbit {
    display: block !important; grid-area: v; position: relative !important; inset: auto !important;
    width: 172% !important; height: auto !important; max-width: none !important; justify-self: center; align-self: center;
    transform: none !important; margin: 0 !important; opacity: 1 !important; pointer-events: none;
  }
  .home-rd .rd-puertas-intro .rd-puertas-intro__fragments {
    grid-area: v; position: relative !important; inset: auto !important; display: block !important;
    height: 112vw; max-height: 470px; margin: 8px -16px 0 !important; font-size: 16px !important;
  }
  .home-rd .rd-puertas-intro .rd-puertas-intro__fragment {
    position: absolute !important; margin: 0 !important; animation: rd-pi-m-float 7s ease-in-out infinite !important;
    animation-delay: calc(var(--k, 0) * -0.9s) !important; transition: opacity .5s ease, box-shadow .5s ease !important;
  }
  @keyframes rd-pi-m-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
  /* Solo estas piezas en celular */
  .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--pipe, .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--flow, .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--code,
  .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--ops, .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--tower { display: none !important; }
  .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--earth, .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--wind, .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--building,
  .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--city, .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--bars, .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--layers { display: flex !important; }
  /* Fotos: círculos sobre las órbitas */
  .home-rd .rd-puertas-intro .rd-puertas-intro__fragment.rd-puertas-intro__photo {
    width: 21vw !important; height: 21vw !important; max-width: 92px; max-height: 92px;
    border-radius: 50% !important; transform: none !important; opacity: 1 !important;
  }
  .home-rd .rd-puertas-intro .rd-puertas-intro__fragment.rd-puertas-intro__icon {
    width: 14vw !important; height: 14vw !important; max-width: 60px; max-height: 60px;
    border-radius: 16px !important; transform: none !important; opacity: 1 !important;
  }
  .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--earth    { left: 7% !important;  top: 6% !important; }
  .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--building { right: 9% !important; top: 2% !important; left: auto !important; }
  .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--wind     { left: 13% !important; top: auto !important; bottom: 5% !important; }
  .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--city     { right: 6% !important; left: auto !important; top: auto !important; bottom: 10% !important; }
  .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--bars     { left: 41% !important; top: 1% !important; }
  .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--layers   { left: 47% !important; top: auto !important; bottom: 2% !important; }
  /* Dos tarjetas al centro de la órbita */
  .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--acq, .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--agent { display: block !important; position: absolute !important; width: 50% !important; opacity: 1 !important; }
  .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--acq   { left: 3% !important;  top: 29% !important; transform: rotate(-3deg) !important; z-index: 2; }
  .home-rd .rd-puertas-intro .rd-puertas-intro__fragment--agent { right: 3% !important; left: auto !important; top: 41% !important; transform: rotate(2.5deg) !important; z-index: 1; }
  .rd-pi .rd-puertas-intro__fragment.rd-puertas-intro__shot:not(.is-hot) { opacity: 0.8 !important; }
  .rd-pi .rd-puertas-intro__fragment.rd-puertas-intro__photo:not(.is-hot),
  .rd-pi .rd-puertas-intro__fragment.rd-puertas-intro__icon:not(.is-hot) { opacity: 0.6 !important; }
}

/* Celular: Neura centrado y separado de la ciudad */
@media (max-width: 699px) {
  .rd-scene3d { margin-top: 40px !important; }
  .rd-scene3d__neura { left: 38% !important; width: 24% !important; top: -64px !important; }
}

/* Celular: globo 3D en recorrido — solo la ciudad activa muestra nombre y tarjeta */
.globo--tour .globo__pin:not(.is-on) b { display: none; }
.globo--tour .globo__pin small { min-width: 0; width: 144px; }
@media (max-width: 1023px) { .globo--tour .rd-orbit { display: none !important; } }

/* Globo: etiquetas de Europa separadas entre sí */
.globo__pin.is-sur b { translate: 0 24px; }
.globo__pin.is-sur small { top: calc(100% + 30px); }

/* Recurso PDF: nunca se sale de su tarjeta, aunque el celular use letra grande */
.home-rd .lead-magnet { box-sizing: border-box; max-width: 100%; }
.home-rd .lead-magnet__content { width: 100%; max-width: 100%; min-width: 0; }
.home-rd .lead-magnet__content > * { max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
.home-rd .lead-magnet__form .btn { max-width: 100%; min-width: 0; white-space: normal; text-align: center; justify-content: center; }
.home-rd .lead-magnet__ver { border: 1px solid rgba(244, 242, 238, 0.3); color: #F4F2EE; border-radius: 2px; }
.home-rd .lead-magnet__ver:hover { border-color: #F4F2EE; }
@media (max-width: 699px) {
  .home-rd .lead-magnet__form .btn { width: 100%; }
  .home-rd .pdf-mock { height: auto; min-height: 236px; max-width: 100%; }
  .home-rd .pdf-mock__foot { padding-top: 24px; }
}

/* Globo mientras carga o sin WebGL: imagen fija idéntica al globo 3D */
.globo__fijo { object-fit: contain; }
.globo .globo__sphere { display: none; }
.globo .globo__fijo { transition: opacity .5s ease; }
.globo--3d .globo__grid.globo__fijo { display: block; opacity: 0; }
.home-rd .globo .globo__canvas { animation: none; opacity: 0; transition: opacity .5s ease; }
.home-rd .globo--3d .globo__canvas { opacity: 1; }
.globo:not(.globo--3d) .globo__pins { visibility: hidden; }

/* Avión de Neura que recorre las rutas del globo */
.globo__avion { position: absolute; left: 0; top: 0; width: 58px; height: 58px; opacity: 0; z-index: 3; pointer-events: none; will-change: transform, opacity; filter: drop-shadow(0 0 8px rgba(155, 106, 214, 0.75)); }
.globo__avion svg { display: block; width: 100%; height: 100%; overflow: visible; }
.globo__avion-ojos { transform-box: fill-box; transform-origin: center; animation: globo-ojos 4s ease-in-out infinite; }
@keyframes globo-ojos { 0%, 90%, 97%, 100% { transform: scaleY(1); } 93.5% { transform: scaleY(0.12); } }
.globo__pin b { transition: opacity .3s ease; }
.globo__pin.is-on { z-index: 4; }
@media (max-width: 699px) { .globo__avion { width: 50px; height: 50px; } }

/* Celular: nada se sale de la pantalla (360 px, letra grande, navegador de Instagram) */
@media (max-width: 699px) {
  .home-rd .cta-band { box-sizing: border-box; max-width: 100%; }
  .home-rd .cta-band > * { min-width: 0; max-width: 100%; }
  .home-rd .cta-band .btn { width: 100%; justify-content: space-between; }
  .home-rd .rd-cta__copy { min-width: 0; max-width: 100%; width: 100%; }
  .home-rd main h2, .home-rd main h3, .home-rd main p { max-width: 100%; overflow-wrap: break-word; }
  .home-rd .rd-w, .home-rd .rd-w__in { max-width: 100%; }
  .rd-puertas-intro__indicator { max-width: 100%; }
  .rd-puertas-intro__step { min-width: 0 !important; flex: 1 1 0 !important; padding-inline: 0 !important; }
}

/* Banderas en su asta: la punta del asta es el punto exacto del mapa; la tela ondea por tiras */
.globo__pin i { position: relative; width: 7px !important; height: 7px !important; margin-left: -3.5px !important; }
.globo__pin.is-left i { margin-left: 0 !important; margin-right: -3.5px !important; }
.globo__bandera {
  --ancho: 30px; --alto: 20px;
  position: absolute; left: 50%; bottom: 50%; width: 0; height: var(--asta); font-style: normal;
  transform-origin: 0 100%; transition: transform .45s cubic-bezier(.2,0,0,1);
}
.globo__bandera u {
  position: absolute; left: -1px; top: 0; width: 2px; height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, #fff, #b7b2c9 55%, #6f6888); box-shadow: 0 0 4px rgba(0, 0, 0, .6);
}
.globo__bandera u::before { content: ''; position: absolute; left: -1.5px; top: -4px; width: 5px; height: 5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #b9a4f4 60%, #7d5fd0); }
.globo__bandera span { position: absolute; left: 1px; top: 1px; display: flex; width: var(--ancho); height: var(--alto); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55)); }
.globo__bandera.is-izq span { left: auto; right: 1px; }
.globo__bandera s {
  flex: none; width: calc(var(--ancho) / 6 + .4px); margin-right: -.4px; height: 100%;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .16), rgba(255, 255, 255, .14) 50%, rgba(0, 0, 0, .16)), var(--tela);
  background-size: calc(var(--ancho) / 3) 100%, var(--ancho) var(--alto);
  background-position: calc(var(--t) * var(--ancho) / -6) 0, calc(var(--t) * var(--ancho) / -6) 0;
  animation: globo-ondea 1.7s ease-in-out infinite; animation-delay: calc(var(--t) * .17s - 2s);
}
.globo__bandera.is-izq s { animation-delay: calc((5 - var(--t)) * .17s - 2s); }
@keyframes globo-ondea { 0%, 100% { transform: translateY(-1.1px); } 50% { transform: translateY(1.3px); } }
.globo__pin.is-on .globo__bandera { transform: scale(1.3); }
@media (max-width: 699px) {
  .globo__bandera { --ancho: 24px; --alto: 16px; height: calc(var(--asta) * .8); }
}
@media (prefers-reduced-motion: reduce) { .globo__bandera s { animation: none; } }

/* Globo realista: halo azul de atmósfera en lugar de morado; el nombre es una etiqueta blanca */
.home-rd .social .globo__glow { background: radial-gradient(closest-side, rgba(70, 140, 255, 0.26), rgba(70, 140, 255, 0.08) 62%, transparent); }
.globo__pin b { text-shadow: none; }
