/* /redes: "Tus redes, en historias". Usa los tokens del layout público (--bmp, --bms, --tinta, --piso, --piso-2, --bruma, --acento…).
   Sin la clase html.rds-js todo se ve como lista y en su estado final; redes.js convierte la lista en un celular con historias. */
.rds, .rds-planes, .rds-telon {
    --sale: cubic-bezier(0.23, 1, 0.32, 1);
    --mueve: cubic-bezier(0.77, 0, 0.175, 1);
    --sombra: 0 0 0 1px rgb(4 23 43 / .05), 0 20px 25px -5px rgb(27 22 64 / .12), 0 8px 10px -6px rgb(27 22 64 / .1);
    --amp: 0;
    --oscuro-1: #4E1A5E; --oscuro-2: #2E0F38; --oscuro-3: #170720;
}
.rds ::selection, .rds-planes ::selection { background: color-mix(in srgb, var(--bmp) 24%, transparent); }
.rds :focus-visible, .rds-planes :focus-visible, .rds-telon :focus-visible { outline: 3px solid var(--bmp); outline-offset: 3px; border-radius: 12px; }
.rds-sr, .rds-trampa { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ===== Puerta ===== */
.rds-telon { display: none; }
html.rds-telon-on .rds-telon { display: grid; place-items: center; position: fixed; inset: 0; z-index: 90; padding: 1.5rem;
    background: radial-gradient(ellipse 80% 70% at 50% 44%, var(--oscuro-1) 0%, var(--oscuro-2) 45%, var(--oscuro-3) 100%);
    animation: rds-seguro .01s 5s forwards; }
html.rds-telon-on .rds-telon.listo { animation: none; }
@keyframes rds-seguro { to { visibility: hidden; } }   /* si el script fallara, la página no se queda tapada */
.rds-telon-logo { position: absolute; top: clamp(1.25rem, 4vh, 2.25rem); left: 50%; display: flex; flex-direction: column; align-items: center; gap: .35rem;
    transform: translateX(-50%); opacity: 0; animation: rds-logo-llega .9s var(--sale) .2s forwards; }
.rds-telon-logo img { height: clamp(3rem, 7vh, 4.25rem); width: auto; }
@keyframes rds-logo-llega { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: .95; transform: translate(-50%, 0); } }
/* Sublogo MKT: pastilla con borde degradado y brillo que la recorre */
.rds-mkt { position: relative; overflow: hidden; display: inline-block; padding: .18rem .7rem .16rem .82rem; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .42em; color: #fff;
    background: linear-gradient(var(--oscuro-2), var(--oscuro-2)) padding-box, linear-gradient(90deg, var(--bmp), #c9a6f5, var(--bms)) border-box; border: 1.5px solid transparent; }
.rds-mkt::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .55) 50%, transparent 70%); transform: translateX(-120%); animation: rds-brillo 3.2s ease-in-out 1.2s infinite; }
@keyframes rds-brillo { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.rds-cab-mkt { margin-left: .15rem; padding: 0 .35rem; border-radius: 5px; font-size: .62rem; letter-spacing: .14em; vertical-align: 1px; color: #fff; background: linear-gradient(90deg, var(--bmp), var(--bms)); }
/* Entrada de la puerta: el anillo se enciende y la pregunta llega desenfocada */
html.rds-telon-on .rds-telon:not(.abre) .rds-telon-aro { animation: rds-anillo 5s linear infinite, rds-aro-llega 1.1s var(--sale) both; }
@keyframes rds-aro-llega { from { opacity: 0; transform: scale(.55); filter: blur(10px); } }
html.rds-telon-on .rds-telon:not(.abre) .rds-puerta > * { animation: rds-llega .9s var(--sale) both; }
html.rds-telon-on .rds-telon:not(.abre) .rds-puerta > :nth-child(1) { animation-delay: .45s; }
html.rds-telon-on .rds-telon:not(.abre) .rds-puerta > :nth-child(2) { animation-delay: .75s; }
html.rds-telon-on .rds-telon:not(.abre) .rds-puerta > :nth-child(3) { animation-delay: .95s; }
@keyframes rds-llega { from { opacity: 0; transform: translateY(14px); filter: blur(8px); } }
/* El anillo de historia (degradado) rodea al orbe: así arranca la "IA que te habla" */
.rds-telon-aro { position: absolute; left: 50%; top: 50%; width: 156px; height: 156px; margin: -214px 0 0 -78px; border-radius: 50%; padding: 5px;
    background: conic-gradient(from var(--giro, 0deg), var(--bmp), #c9a6f5, var(--bms), #7fd0ff, var(--bmp)); animation: rds-anillo 5s linear infinite;
    box-shadow: 0 0 60px rgb(65 53 247 / .35); }
.rds-telon-aro::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--oscuro-2); }
.rds-telon-aro .rds-orbe { position: absolute; inset: 14px; width: auto; height: auto; }
@property --giro { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes rds-anillo { to { --giro: 360deg; } }
@keyframes rds-gira { to { transform: rotate(360deg); } }
.rds-puerta { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; margin-top: 150px; text-align: center; }
.rds-pregunta { margin: 0; max-width: 18ch; font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(2.1rem, 5.4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.rds-pregunta em { color: #d9c2f5; }
.rds-empezar { padding-inline: 1.7rem; box-shadow: 0 12px 30px -10px rgb(65 53 247 / .7); }
.rds-empezar svg { width: 1.05rem; height: 1.05rem; }
.rds-sinsonido { background: none; border: 0; color: #d9d5f2; font: inherit; font-size: .95rem; padding: .7rem 1rem; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgb(217 213 242 / .4); }
.rds-sinsonido:hover { color: #fff; }
/* ===== Salida: carrusel 3D de posts → BookMedic MKT → la pantalla se abre en círculo (≈3.4 s) ===== */
@property --r { syntax: '<length>'; inherits: true; initial-value: 0px; }
@property --hueco { syntax: '<length>'; inherits: false; initial-value: 0px; }
.rds-telon { --cy: calc(50% - 136px); perspective: 1100px; }
.rds-giro { position: absolute; left: 50%; top: var(--cy); width: 0; height: 0; transform-style: preserve-3d; pointer-events: none; --rmax: min(300px, 36vw); }
.rds-giro i { position: absolute; width: clamp(78px, 11vw, 116px); aspect-ratio: 4 / 5; translate: -50% -50%; opacity: 0;
    transform: rotateY(calc(var(--k) * 36deg)) translateZ(var(--r)); box-shadow: 0 18px 40px -14px rgb(0 0 0 / .6); border-radius: 14px; }
.rds-giro .rx-pp { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 14px; }
.rds-marca { position: absolute; left: 50%; top: calc(var(--cy) + min(250px, 30vw)); display: flex; flex-direction: column; align-items: center; gap: .55rem; translate: -50% 0; opacity: 0; pointer-events: none; }
.rds-marca img { height: clamp(3.4rem, 9vw, 5.2rem); width: auto; }
.rds-marca .rds-mkt { font-size: .95rem; padding: .28rem 1rem .26rem 1.15rem; }
html.rds-telon-on .rds-telon.abre { pointer-events: none;
    -webkit-mask-image: radial-gradient(circle at 50% var(--cy), transparent var(--hueco), #000 calc(var(--hueco) + 1.5px));
    mask-image: radial-gradient(circle at 50% var(--cy), transparent var(--hueco), #000 calc(var(--hueco) + 1.5px));
    animation: rds-hueco .75s 2.65s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes rds-hueco { to { --hueco: 160vmax; visibility: hidden; } }
.rds-telon.abre .rds-puerta, .rds-telon.abre .rds-telon-logo { animation: rds-puerta-va .4s var(--mueve) forwards; }
.rds-telon.abre .rds-telon-aro { animation: rds-anillo 1.2s linear infinite, rds-aro-hub 3.4s var(--mueve) forwards; }
@keyframes rds-aro-hub { 0% { transform: scale(1); } 12% { transform: scale(.72); } 30% { transform: scale(1.08); } 78% { transform: scale(1); opacity: 1; } 92% { transform: scale(.2); opacity: 0; } 100% { transform: scale(.2); opacity: 0; } }
.rds-telon.abre .rds-giro { animation: rds-giro 3.4s cubic-bezier(.45, 0, .2, 1) forwards; }
@keyframes rds-giro {
    0% { --r: 0px; transform: rotateX(-14deg) rotateY(0deg); }
    32% { --r: var(--rmax); }
    74% { --r: var(--rmax); }
    90% { --r: 0px; }
    100% { --r: 0px; transform: rotateX(-14deg) rotateY(-330deg); } }
.rds-telon.abre .rds-giro i { animation: rds-carta 3.4s linear forwards; }
@keyframes rds-carta { 0%, 8% { opacity: 0; } 22%, 76% { opacity: 1; } 90%, 100% { opacity: 0; } }
.rds-telon.abre .rds-marca { animation: rds-marca 3.4s var(--sale) forwards; }
@keyframes rds-marca { 0%, 30% { opacity: 0; transform: translateY(18px); filter: blur(10px); } 46%, 74% { opacity: 1; transform: none; filter: blur(0); } 86%, 100% { opacity: 0; transform: translateY(-10px) scale(.96); filter: blur(6px); } }
.rds-telon.abre .rds-marca .rds-mkt::after { animation: rds-brillo 1.6s ease-in-out 1.4s 1; }
@media (prefers-reduced-motion: reduce) {
    .rds-telon-aro, .rds-orbe, .rds-orbe-aro, .rds-orbe-chispa { animation: none !important; }
    .rds-polvo { display: none; }
    html.rds-telon-on .rds-telon.abre { -webkit-mask-image: none; mask-image: none; animation: rds-telon-va .3s forwards; }
    .rds-telon.abre :is(.rds-puerta, .rds-telon-aro, .rds-telon-logo) { animation: rds-telon-va .2s forwards; }
    .rds-giro, .rds-marca, .rds-mkt::after { display: none; }
}

/* ===== Escenario ===== */
.rds { position: relative; isolation: isolate; overflow: hidden; padding: clamp(1.5rem, 4vh, 3rem) 1rem 2.5rem; background: var(--piso); }
.rds-aura { position: absolute; inset: 0; z-index: -1; }
.rds-aura i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .4; }
.rds-aura i:nth-child(1) { width: 42vmax; height: 42vmax; right: -8vmax; top: 4%; background: radial-gradient(circle, color-mix(in srgb, var(--bmp) 30%, transparent), transparent 68%); animation: rds-deriva 21s ease-in-out infinite alternate; }
.rds-aura i:nth-child(2) { width: 30vmax; height: 30vmax; left: 30%; bottom: -10vmax; background: radial-gradient(circle, color-mix(in srgb, var(--bms) 22%, transparent), transparent 68%); animation: rds-deriva 26s ease-in-out infinite alternate-reverse; }
.rds-aura i:nth-child(3) { width: 26vmax; height: 26vmax; left: -6vmax; top: 30%; background: radial-gradient(circle, rgb(214 164 224 / .5), transparent 68%); animation: rds-deriva 30s ease-in-out infinite alternate; }
@keyframes rds-deriva { to { transform: translate(-4vmax, 3vmax) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .rds-aura i { animation: none; } }

.rds-grid { display: grid; gap: 1.4rem; max-width: 1240px; margin: 0 auto; }
.rds-intro { display: contents; }
.rds-h1 { order: 1; margin: 0; text-align: center; font-size: clamp(2.6rem, 10vw, 3.4rem); line-height: 1; letter-spacing: -0.025em; text-wrap: balance; }
.rds-lead { order: 2; margin: -.4rem auto 0; max-width: 36ch; text-align: center; font-size: 1.05rem; line-height: 1.55; color: var(--texto-2); text-wrap: pretty; }
.rds-escenario { order: 3; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.rds-mandos { order: 4; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem; }
.rds-ver-planes { order: 5; justify-self: center; }
.rds-pista { flex-basis: 100%; margin: .2rem 0 0; text-align: center; font-size: .85rem; color: var(--texto-2); }
.rds-boton { width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; color: var(--tinta); background: var(--piso-2); transition: background .2s ease, transform .3s var(--sale); }
.rds-boton:hover { background: color-mix(in srgb, var(--bmp) 14%, var(--piso-2)); }
.rds-boton:active { transform: scale(.94); }
.rds-boton svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.rds-boton .i-sigue, .rds-boton .i-mudo { display: none; }
.rds:is([data-estado="pausa"], [data-estado="fin"]) [data-rds-pausa] .i-pausa, [data-rds-silencio][aria-pressed="true"] .i-son { display: none; }
.rds:is([data-estado="pausa"], [data-estado="fin"]) [data-rds-pausa] .i-sigue, [data-rds-silencio][aria-pressed="true"] .i-mudo { display: block; }
.rds-leyenda { margin: .8rem 0 0; font-size: .8rem; color: var(--texto-2); }

@media (max-width: 1023.98px) {
    .rds { padding-top: 1rem; }
    .rds-grid { gap: .9rem; }
    .rds-h1 { font-size: clamp(2.1rem, 8.6vw, 2.6rem); }
    .rds-lead { order: 4; margin-top: .4rem; }
    .rds-mandos { order: 5; }
    .rds-ver-planes { order: 6; }
    .rds-cel { --alto: max(540px, calc(100svh - 64px - 150px)); width: min(100%, 430px, calc(var(--alto) * .56)); }
    .rds-destacadas { padding-bottom: .6rem; }
    .rds-cuadro { padding-bottom: 104px; }   /* deja libre la franja de los botones flotantes del sitio */
}
@media (min-width: 1024px) {
    .rds { padding-block: clamp(1.5rem, 4vh, 3rem); }
    .rds-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 3rem; min-height: calc(100svh - 7rem); }
    .rds-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
    .rds-h1 { text-align: left; font-size: clamp(3.2rem, 5.6vw, 5rem); }
    .rds-lead { margin: 0; text-align: left; font-size: 1.15rem; max-width: 34ch; }
    .rds-mandos { justify-content: flex-start; margin-top: .4rem; }
    .rds-pista { text-align: left; }
}

/* Destacadas (capítulos) */
.rds-destacadas { position: relative; display: flex; gap: .75rem; max-width: 100%; overflow-x: auto; padding: .3rem .25rem .9rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rds-destacadas::-webkit-scrollbar { display: none; }
.rds-dest { flex: none; width: 70px; display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: 0; border: 0; background: none; cursor: pointer; scroll-snap-align: center; color: var(--tinta); font: inherit; }
.rds-dest-aro { position: relative; width: 62px; height: 62px; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, var(--bmp), var(--bms)); transition: transform .3s var(--sale); }
.rds-dest-ico { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--piso); box-shadow: inset 0 0 0 3px var(--piso); color: var(--bmp); }
.rds-dest-ico svg { width: 24px; height: 24px; }
.rds-dest-n { font-size: .74rem; font-weight: 600; line-height: 1.15; text-align: center; color: var(--texto-2); }
.rds-dest.visto .rds-dest-aro { background: color-mix(in srgb, var(--tinta) 16%, var(--piso)); }
.rds-dest.visto .rds-dest-ico { color: var(--texto-2); }
.rds-dest[aria-current="step"] .rds-dest-aro { background: conic-gradient(from 0deg, var(--bmp), #c9a6f5, var(--bms), var(--bmp)); transform: scale(1.06); }
.rds-dest[aria-current="step"] .rds-dest-aro::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--bmp) 22%, transparent); }
.rds-dest[aria-current="step"] .rds-dest-n { color: var(--tinta); }
.rds-dest:hover .rds-dest-aro { transform: scale(1.06); }
@media (min-width: 1024px) { .rds-destacadas { overflow: visible; flex-wrap: nowrap; justify-content: center; } }

/* ===== Celular ===== */
.rds-cel { --alto: min(76svh, 760px); position: relative; width: min(100%, 400px, calc(var(--alto) * .5)); height: var(--alto); border-radius: 40px; overflow: hidden;
    background: var(--oscuro-2); box-shadow: 0 0 0 7px var(--tinta), 0 0 0 8px rgb(255 255 255 / .14), 0 40px 80px -30px rgb(46 15 56 / .55), 0 18px 30px -18px rgb(27 22 64 / .4);
    touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
@media (min-width: 1024px) { .rds-cel { --alto: min(74vh, 740px); } }
.rds-barras { position: absolute; z-index: 4; left: 12px; right: 12px; top: 12px; display: flex; gap: 4px; }
.rds-barras i { flex: 1; height: 3px; border-radius: 3px; overflow: hidden; background: rgb(255 255 255 / .32); }
.rds-barras b { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }
.rds-cab { position: absolute; z-index: 4; left: 14px; right: 14px; top: 24px; display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: #fff; }
.rds-cab b { font-weight: 700; }
.rds-cab span:last-child { opacity: .75; }
.rds-cel[data-tono="claro"] .rds-barras i { background: rgb(27 22 64 / .14); }
.rds-cel[data-tono="claro"] .rds-barras b { background: var(--tinta); }
.rds-cel[data-tono="claro"] .rds-cab { color: var(--tinta); }

.rds-historias { list-style: none; margin: 0; padding: 0; }
.rds-cuadro { position: relative; display: flex; flex-direction: column; gap: 1.2rem; padding: 74px 22px 26px; color: var(--tinta); background: var(--bruma); }
html.rds-js .rds-historias { position: absolute; inset: 0; }
html.rds-js .rds-cuadro { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s var(--sale), visibility 0s .45s; }
html.rds-js .rds-cuadro.activo { opacity: 1; visibility: visible; transition: opacity .45s var(--sale); }
html:not(.rds-js) .rds-cel { height: auto; overflow: visible; }
html:not(.rds-js) .rds-cuadro { border-radius: 24px; margin-bottom: 12px; }
html:not(.rds-js) :is(.rds-barras, .rds-cab, .rds-zona, .rds-mandos) { display: none; }

.rds-frase { margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(1.75rem, calc(var(--alto, 700px) * .042), 2.35rem); line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
html.rds-js .rds-frase .p { opacity: .32; transition: opacity .25s ease; }
html.rds-js .rds-frase .p.ya { opacity: 1; }
.rds-art { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; align-items: stretch; font-size: .86rem; }

/* Fondos por capítulo (como una historia de IG: color a sangre) */
.c-realidad, .c-reels { color: #fff; background: radial-gradient(ellipse 120% 80% at 30% 20%, var(--oscuro-1), var(--oscuro-2) 55%, var(--oscuro-3)); }
.c-reels { background: radial-gradient(ellipse 110% 80% at 70% 10%, #2a1a7a, #160b3c 55%, #0c0620); }
.c-funciona { background: linear-gradient(180deg, var(--acento) 0%, #fff 70%); }
.c-decides { background: linear-gradient(180deg, #fff 0%, var(--piso-2) 100%); }
.c-acompanamos { background: linear-gradient(180deg, #e4e6fb 0%, #fff 75%); }
.c-web { background: linear-gradient(180deg, var(--bruma) 0%, #fff 70%); }
.c-ligado { background: linear-gradient(160deg, #efe4f7 0%, #e3e6fb 100%); }
.c-empieza { color: #fff; background: linear-gradient(150deg, var(--bmp) 0%, var(--bms) 130%); }
.c-empieza .rds-frase { font-size: clamp(2.3rem, calc(var(--alto, 700px) * .058), 3.1rem); margin-top: 12%; }

/* Toques: zonas invisibles izquierda (atrás) y derecha (sigue) */
.rds-zona { position: absolute; z-index: 3; top: 56px; bottom: 0; border: 0; padding: 0; background: none; cursor: pointer; }
.rds-zona.izq { left: 0; width: 32%; }
.rds-zona.der { right: 0; width: 68%; }

/* ===== Entradas: [data-t] aparece cuando redes.js le pone .on ===== */
html.rds-js .rds-cuadro [data-t] { transition: opacity .55s var(--sale), transform .7s var(--sale), filter .55s var(--sale); }
html.rds-js .rds-cuadro [data-t]:not(.on) { opacity: 0; transform: translateY(12px) scale(.97); filter: blur(4px); }
html.rds-js .rds-cuadro path[data-t] { opacity: 1; filter: none; transform: none; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--mueve); }
html.rds-js .rds-cuadro path[data-t]:not(.on) { stroke-dashoffset: 1; }
@media (prefers-reduced-motion: reduce) {
    html.rds-js .rds-cuadro [data-t] { transition: opacity .3s ease; }
    html.rds-js .rds-cuadro [data-t]:not(.on) { transform: none; filter: none; }
}

/* ===== Piezas comunes de las escenas ===== */
.rx-av { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: .66rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--bmp), var(--bms)); box-shadow: 0 0 0 2px #fff; }
.rx-av-g { width: 52px; height: 52px; font-size: .9rem; background: linear-gradient(135deg, #b07aa0, #6d4a8a); box-shadow: 0 0 0 3px rgb(255 255 255 / .9), 0 0 0 5px rgb(255 255 255 / .25); }
.rx-red { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font-weight: 800; font-size: .9rem; color: #fff; }
.rx-red.fb { background: #1877f2; border-radius: 50%; font-family: Georgia, serif; }
.rx-red.ig { background: radial-gradient(circle at 30% 110%, #fdd37a 0%, #f86f3a 30%, #d6297d 58%, #8a3ab9 85%); position: relative; }
.rx-red.ig::before { content: ''; width: 50%; height: 50%; border: 2px solid #fff; border-radius: 30%; }
.rx-red.ig::after { content: ''; position: absolute; width: 3px; height: 3px; right: 24%; top: 22%; background: #fff; border-radius: 50%; }
.rx-boton { align-self: center; display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 1.3rem; border-radius: 999px; font-weight: 600; font-size: .9rem; color: #fff; background: linear-gradient(135deg, var(--bmp), var(--bms) 120%); box-shadow: 0 10px 22px -10px rgb(65 53 247 / .7); }
.rx-boton.chico { min-height: 34px; padding: 0 1rem; font-size: .8rem; }
html.rds-js .rds-cuadro.activo [data-toque].on { animation: rx-toque .5s .45s var(--sale) both; }
@keyframes rx-toque { 40% { transform: scale(.9); box-shadow: 0 0 0 10px rgb(120 43 144 / .18); } 100% { transform: scale(1); box-shadow: 0 10px 22px -10px rgb(65 53 247 / .7); } }
.rx-ok { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #3f8f63; color: #fff; }
.rx-ok svg, .rx-mini-ok svg, .rx-listo svg, .rx-tic, .rds-plan-l svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rx-punto { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--bmp); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bmp) 20%, transparent); }
.rx-paleta { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: .9rem 0 0; }
.rx-paleta i { width: 22px; height: 22px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgb(27 22 64 / .2); }
.rx-paleta i:nth-child(1) { background: #9a3f69; } .rx-paleta i:nth-child(2) { background: #f2e2ea; } .rx-paleta i:nth-child(3) { background: #3d1a4e; }
.rx-paleta span { margin-left: .3rem; font-family: 'Instrument Serif', Georgia, serif; font-size: 1.5rem; }
.rx-nodo { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .9rem .55rem .55rem; border-radius: 999px; background: #fff; box-shadow: var(--sombra); font-weight: 600; }
.rx-ico { width: 22px; height: 22px; color: var(--bmp); }

/* r1 · perfil vacío */
.rx-perfil-cab { display: flex; align-items: center; gap: .8rem; }
.rx-perfil-n { display: flex; flex-direction: column; }
.rx-perfil-n b { font-size: 1rem; }
.rx-perfil-n small { opacity: .7; }
.rx-perfil-num { display: flex; gap: 1.4rem; margin: .8rem 0; }
.rx-perfil-num span { display: flex; flex-direction: column; font-size: .75rem; opacity: .75; }
.rx-perfil-num b { font-size: 1rem; opacity: 1; }
.rx-cuadricula { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.rx-cuadricula i { aspect-ratio: 1; border-radius: 4px; border: 1.5px dashed rgb(255 255 255 / .28); }
.rx-cuadricula i.lleno { border: 0; background: linear-gradient(135deg, #7d4d8f, #4a2a63); }
.rx-cuadricula i.lleno.b { background: linear-gradient(135deg, #a36a8e, #5d3772); }
.rx-cuadricula i.lleno.c { background: linear-gradient(135deg, #5f4a9e, #3a2570); }
.rx-nota { margin: .9rem 0 0; font-size: .82rem; color: #e6c8f2; }

/* r2 · día lleno */
.rx-dia { position: relative; display: flex; flex-direction: column; gap: .4rem; }
.rx-reloj { position: absolute; right: 0; top: -4px; width: 56px; height: 56px; color: #fff; }
.rx-reloj svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.rx-reloj .m { transform-origin: 24px 24px; animation: rds-gira 2.2s linear infinite; }
.rx-reloj .h { transform-origin: 24px 24px; animation: rds-gira 26s linear infinite; }
.rx-dia-c { margin: 0; width: 72%; padding: .55rem .8rem; border-radius: 12px; background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); font-weight: 500; }
.rx-dia-pend { display: flex; align-items: center; gap: .55rem; margin: .5rem 0 0; padding: .7rem .9rem; border-radius: 14px; background: #fff; color: var(--tinta); font-weight: 600; }
.rx-dia-pend em { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 700; color: #9a3f69; background: #f6e3ec; padding: .15rem .5rem; border-radius: 6px; }

/* r3 · factura */
.rx-factura { padding: 1.1rem 1.1rem 1rem; border-radius: 20px; background: #fff; color: var(--tinta); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .5); }
.rx-factura-t { margin: 0 0 .7rem; font-weight: 700; }
.rx-factura-f { display: flex; align-items: center; gap: .8rem; margin: 0; padding: .5rem 0; border-top: 1px solid var(--piso-2); color: var(--texto-2); }
.rx-factura-f i { margin-left: auto; width: 54px; height: 8px; border-radius: 4px; background: var(--piso-2); }
.rx-factura-tot { display: flex; justify-content: space-between; align-items: baseline; margin: .4rem 0 0; padding-top: .7rem; border-top: 2px solid var(--tinta); font-weight: 700; }
.rx-borroso { font-family: 'Instrument Serif', Georgia, serif; font-size: 1.7rem; font-weight: 400; letter-spacing: .05em; color: var(--bmp); }
html.rds-js .rds-cuadro.activo .rx-borroso.on, html.rds-js .rds-cuadro.activo .rx-factura-tot.on .rx-borroso { animation: rx-infla 1.6s .2s var(--sale) both; }
@keyframes rx-infla { 0% { transform: scale(.7); filter: blur(6px); } 60% { transform: scale(1.18); filter: blur(1px); } 100% { transform: scale(1); filter: blur(0); } }

/* f1 · cargas tu contenido */
.rx-carga { position: relative; height: 270px; }
.rx-pieza { position: absolute; display: grid; place-items: end start; width: 84px; height: 84px; padding: .4rem; border-radius: 14px; box-shadow: var(--sombra); background: #fff; }
.rx-pieza small { font-size: .66rem; font-weight: 700; padding: .1rem .4rem; border-radius: 6px; background: rgb(255 255 255 / .85); color: var(--tinta); }
.rx-logo { left: 6%; top: 0; place-items: center; }
.rx-logo svg { width: 42px; height: 42px; fill: none; stroke: var(--bmp); stroke-width: 3; stroke-linecap: round; }
.rx-logo small { position: absolute; left: .4rem; bottom: .4rem; }
.rx-foto.a { left: 36%; top: 18px; transform: rotate(-4deg); background: linear-gradient(160deg, #e8d3c6, #b98f7a); }
.rx-foto.b { right: 4%; top: 4px; transform: rotate(5deg); background: linear-gradient(160deg, #d9e2ea, #8aa0b6); }
.rx-gusto { left: 22%; top: 96px; transform: rotate(3deg); background: linear-gradient(135deg, #f2e2ea, #c9a6f5); }
html.rds-js .rds-cuadro.activo .rx-pieza.on { animation: rx-cae 1.6s var(--mueve) forwards; }
@keyframes rx-cae { 55% { opacity: 1; } 100% { transform: translate(var(--dx, 0), 120px) scale(.35) rotate(0deg); opacity: 0; } }
.rx-logo { --dx: 60px; } .rx-foto.a { --dx: -10px; } .rx-foto.b { --dx: -90px; } .rx-gusto { --dx: 30px; }
.rx-carpeta { position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: 190px; display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: 1rem; border-radius: 22px; background: #fff; box-shadow: var(--sombra); }
.rx-carpeta svg { width: 54px; height: 54px; fill: var(--acento); stroke: var(--bmp); stroke-width: 1.6; stroke-linejoin: round; }
.rx-carpeta b { font-size: .95rem; }
.rx-carpeta em { font-style: normal; font-size: .75rem; color: var(--texto-2); }
html:not(.rds-js) .rx-carga { height: auto; display: flex; flex-wrap: wrap; gap: .5rem; }
html:not(.rds-js) :is(.rx-pieza, .rx-carpeta) { position: static; translate: none; transform: none; }

/* f2 · tres ejemplos */
.rx-modelos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.rx-mini { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; padding: .55rem; display: flex; flex-direction: column; gap: .3rem; background: #fff; box-shadow: var(--sombra); overflow: hidden; }
.rx-mini i { flex: 1; border-radius: 9px; background: linear-gradient(160deg, #e8d3c6, #b98f7a); }
.rx-mini.b i { background: linear-gradient(160deg, #f2e2ea, #c08aa5); }
.rx-mini.c i { background: linear-gradient(160deg, #ddd6f0, #8a74c0); }
.rx-mini b { height: 7px; width: 80%; border-radius: 4px; background: var(--tinta); }
.rx-mini b.c { width: 52%; background: #9a3f69; }
.rx-mini-ok { position: absolute; top: .4rem; right: .4rem; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #3f8f63; color: #fff; }
.rx-mini-ok svg { width: 14px; height: 14px; }
.rx-modelos .rx-paleta { grid-column: 1 / -1; }

/* f3 · aprende tu estilo */
.rx-aprende { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.rx-funde { position: relative; width: 120px; height: 90px; }
.rx-funde i { position: absolute; inset: 0; border-radius: 16px; background: linear-gradient(160deg, #f2e2ea, #c08aa5); box-shadow: var(--sombra); }
.rx-funde i:nth-child(1) { transform: rotate(-9deg) translateX(-26px); background: linear-gradient(160deg, #e8d3c6, #b98f7a); }
.rx-funde i:nth-child(3) { transform: rotate(9deg) translateX(26px); background: linear-gradient(160deg, #ddd6f0, #8a74c0); }
html.rds-js .rds-cuadro.activo .rx-funde.on i { animation: rx-junta 1s .3s var(--mueve) forwards; }
@keyframes rx-junta { to { transform: none; } }
.rx-estilo { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--bmp), var(--bms) 120%); box-shadow: 0 12px 24px -12px rgb(65 53 247 / .8); }
.rx-estilo svg, .rx-sello svg { width: 18px; height: 18px; fill: currentColor; }
.rx-nuevas { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; width: 100%; }
.rx-nuevas .rx-mini { padding: .4rem; gap: .25rem; }
.rx-nuevas .rx-mini b { height: 5px; }

/* f4 · permisos */
.rx-permiso { padding: 1.1rem; border-radius: 22px; background: #fff; box-shadow: var(--sombra); display: flex; flex-direction: column; gap: .8rem; }
.rx-permiso-t { display: flex; align-items: center; gap: .6rem; margin: 0; font-weight: 700; }
.rx-permiso-f { display: flex; align-items: center; gap: .65rem; margin: 0; padding: .6rem .7rem; border-radius: 14px; background: var(--bruma); font-weight: 500; }
.rx-sw { flex: none; margin-left: auto; width: 38px; height: 22px; border-radius: 999px; background: #3f8f63; position: relative; }
.rx-sw::after { content: ''; position: absolute; top: 3px; left: 19px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
html.rds-js .rds-cuadro .rx-sw:not(.on) { opacity: 1; transform: none; filter: none; background: #cfcbe0; }
html.rds-js .rds-cuadro .rx-sw:not(.on)::after { left: 3px; }
.rx-sw::after { transition: left .35s var(--sale); }

/* f5 · notificaciones */
.rx-notifs { display: flex; flex-direction: column; gap: .55rem; }
.rx-notif { display: flex; align-items: center; gap: .7rem; margin: 0; padding: .75rem .85rem; border-radius: 18px; background: rgb(255 255 255 / .92); box-shadow: var(--sombra); }
.rx-notif span:last-child { display: flex; flex-direction: column; }
.rx-notif small { color: var(--texto-2); font-size: .74rem; }

/* d1 · calendario */
.rx-cal { padding: 1rem; border-radius: 22px; background: #fff; box-shadow: var(--sombra); }
.rx-cal-t { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 .7rem; font-family: 'Instrument Serif', Georgia, serif; font-size: 1.5rem; }
.rx-cal-t span { font-family: 'Manrope', sans-serif; font-size: .75rem; color: var(--texto-2); }
.rx-cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.rx-cal-g i { aspect-ratio: 1; border-radius: 8px; background: var(--piso-2); position: relative; }
.rx-cal-g i::after { content: ''; position: absolute; inset: 30%; border-radius: 50%; }
.rx-cal-g i.h::after { background: var(--bmp); } .rx-cal-g i.c::after { background: var(--bms); } .rx-cal-g i.p::after { background: #9a3f69; }
.rx-cal-g i.h { background: var(--acento); } .rx-cal-g i.c { background: #e2e5f8; } .rx-cal-g i.p { background: #f6e3ec; }
.rx-cal-ley { display: flex; justify-content: center; gap: .8rem; margin: .8rem 0 0; font-size: .72rem; color: var(--texto-2); }
.rx-cal-ley span { display: inline-flex; align-items: center; gap: .3rem; }
.rx-cal-ley i { width: 8px; height: 8px; border-radius: 50%; }
.rx-cal-ley i.h { background: var(--bmp); } .rx-cal-ley i.c { background: var(--bms); } .rx-cal-ley i.p { background: #9a3f69; }

/* d2/d3/l2 · posts */
.rx-decide { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; align-items: start; }
.rx-post { position: relative; display: flex; flex-direction: column; gap: .55rem; padding: .55rem; border-radius: 18px; background: #fff; box-shadow: var(--sombra); }
.rx-post-img { position: relative; aspect-ratio: 4 / 5; border-radius: 12px; background: linear-gradient(160deg, #f2e2ea, #c08aa5); }
.rx-post-img.b { background: linear-gradient(160deg, #e9e2d8, #a98f86); }
.rx-post-img.c { background: linear-gradient(160deg, #ddd6f0, #7d64b8); }
.rx-post .rx-ok { position: absolute; top: .9rem; right: .9rem; }
.rx-pide { margin: 0; padding: .45rem .6rem; border-radius: 10px; background: var(--bruma); font-size: .74rem; min-height: 2.6em; }
.rx-teclea { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; max-width: 100%; }
html.rds-js .rds-cuadro.activo .rx-pide.on .rx-teclea { animation: rx-teclea 1.1s steps(var(--n)) both; }
@keyframes rx-teclea { from { max-width: 0; } }
.rx-contador { margin: 0; font-size: .7rem; font-weight: 700; color: var(--bmp); }
.rx-v2 { position: absolute; top: .45rem; left: .45rem; padding: .1rem .45rem; border-radius: 6px; font-size: .68rem; font-weight: 800; color: #fff; background: var(--bmp); }
html.rds-js .rds-cuadro.activo .rx-v2.on { animation: rx-salto .6s var(--sale); }
@keyframes rx-salto { 0% { transform: scale(.4); } 60% { transform: scale(1.2); } }
.rx-sello-w { position: relative; display: grid; place-items: center; }
.rx-post.grande { width: 64%; }
.rx-sello { position: absolute; bottom: -10px; right: 4%; display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .8rem 1rem; border-radius: 18px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--bmp), var(--bms) 120%); box-shadow: 0 18px 30px -14px rgb(46 15 56 / .7); rotate: -6deg; }
.rx-sello b { font-weight: 500; font-size: .76rem; opacity: .9; }
html.rds-js .rds-cuadro.activo .rx-sello.on { animation: rx-golpe .5s var(--sale); }
@keyframes rx-golpe { 0% { transform: scale(1.8); opacity: 0; } 70% { transform: scale(.94); } }

/* a1 · chat de soporte */
.rx-chat { display: flex; flex-direction: column; gap: .55rem; }
.rx-burbuja { margin: 0; max-width: 84%; padding: .7rem .9rem; border-radius: 18px; line-height: 1.4; box-shadow: var(--sombra); }
.rx-burbuja.yo { align-self: flex-end; background: var(--tinta); color: #fff; border-bottom-right-radius: 6px; }
.rx-burbuja.bm { display: flex; align-items: center; gap: .55rem; background: #fff; border-bottom-left-radius: 6px; }
.rx-burbuja.bm .rx-tic { color: #3f8f63; }
.rx-burbuja.escribe { display: inline-flex; gap: 4px; align-self: flex-start; background: #fff; }
.rx-burbuja.escribe i { width: 7px; height: 7px; border-radius: 50%; background: var(--texto-2); animation: rx-punto 1s infinite; }
.rx-burbuja.escribe i:nth-child(2) { animation-delay: .15s; } .rx-burbuja.escribe i:nth-child(3) { animation-delay: .3s; }
@keyframes rx-punto { 50% { transform: translateY(-4px); opacity: .5; } }
html.rds-js .rds-cuadro.activo .rx-burbuja.escribe.on { animation: rx-se-va .35s .7s var(--sale) forwards; }
@keyframes rx-se-va { to { opacity: 0; max-height: 0; padding-block: 0; margin-top: -.55rem; transform: scale(.6); } }
.rx-burbuja.escribe { max-height: 40px; overflow: hidden; }

/* a2 · conectar */
.rx-conecta { position: relative; height: 250px; }
.rx-conecta .rx-nodo { position: absolute; z-index: 1; }
.rx-conecta .ig { left: 0; top: 18px; } .rx-conecta .bm { left: 50%; top: 104px; translate: -50% 0; } .rx-conecta .fb { right: 0; top: 188px; }
.rx-conecta .rx-nodo.ig, .rx-conecta .rx-nodo.fb { padding-right: 1rem; }
.rx-lineas { position: absolute; inset: 0; width: 100%; height: 100%; }
.rx-lineas path { fill: none; stroke: var(--bmp); stroke-width: 2; stroke-dasharray: 1; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.rx-listo { position: absolute; left: 50%; bottom: -6px; translate: -50% 0; display: inline-flex; align-items: center; gap: .35rem; margin: 0; padding: .4rem .9rem; border-radius: 999px; background: #e2efe7; color: #2f6b4b; font-weight: 700; }
html:not(.rds-js) .rx-conecta { height: auto; display: flex; flex-wrap: wrap; gap: .5rem; }
html:not(.rds-js) .rx-conecta :is(.rx-nodo, .rx-listo) { position: static; translate: none; }
html:not(.rds-js) .rx-lineas { display: none; }

/* a3 · ticket */
.rx-ticket { padding: 1.1rem; border-radius: 22px; background: #fff; box-shadow: var(--sombra); }
.rx-ticket-t { display: flex; align-items: center; gap: .55rem; margin: 0 0 .6rem; font-weight: 700; font-size: 1rem; }
.rx-ticket-f { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: .55rem 0; border-top: 1px solid var(--piso-2); }
.rx-ticket-f span { color: var(--texto-2); }
.rx-ticket-f b { font-weight: 600; text-align: right; }
.rx-estado { position: relative; display: inline-grid; }
.rx-estado s, .rx-estado em { grid-area: 1 / 1; text-decoration: none; font-style: normal; padding: .1rem .5rem; border-radius: 6px; transition: opacity .4s ease, transform .5s var(--sale); }
.rx-estado s { background: #f6e3ec; color: #9a3f69; }
.rx-estado em { background: #e2efe7; color: #2f6b4b; }
html.rds-js .rds-cuadro .rx-estado:not(.on) { opacity: 1; transform: none; filter: none; }
html.rds-js .rds-cuadro .rx-estado:not(.on) em, html.rds-js .rds-cuadro .rx-estado.on s { opacity: 0; transform: translateY(6px); }

/* a4 · del boceto al logo */
.rx-logo-w { position: relative; display: flex; flex-direction: column; align-items: center; }
.rx-boceto { width: 150px; height: 150px; }
.rx-boceto path { fill: none; stroke: var(--texto-2); stroke-width: 2; stroke-dasharray: 1; stroke-linecap: round; stroke-linejoin: round; }
.rx-logo-fin { position: absolute; top: 18px; display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .9rem 1.4rem; border-radius: 22px; background: #fff; box-shadow: var(--sombra); }
.rx-logo-iso { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, #9a3f69, #3d1a4e); color: #fff; }
.rx-logo-iso svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.rx-logo-fin b { font-family: 'Instrument Serif', Georgia, serif; font-size: 1.45rem; font-weight: 400; }
.rx-logo-fin small { color: var(--texto-2); }
html:not(.rds-js) .rx-logo-fin { position: static; }

/* v1 · reel */
.rx-reel { display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.rx-reel-p { position: relative; width: 62%; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 1rem .8rem; background: linear-gradient(180deg, #f6e9ef, #e3c9d8); color: var(--tinta); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6), 0 0 0 1px rgb(255 255 255 / .2); }
.rx-reel-t { font-family: 'Instrument Serif', Georgia, serif; font-size: 1.45rem; line-height: 1; }
.rx-reel-t em { display: block; color: #9a3f69; }
.rx-reel-forma { position: relative; height: 70px; }
.rx-reel-forma i { position: absolute; left: 10%; right: 10%; height: 14px; border-radius: 7px; background: #e9b8a6; }
.rx-reel-forma i:nth-child(1) { top: 0; background: #f0c9b8; } .rx-reel-forma i:nth-child(2) { top: 24px; background: #d99a8a; } .rx-reel-forma i:nth-child(3) { top: 48px; background: #b9767a; }
html.rds-js .rds-cuadro.activo .rx-reel-forma.on i:nth-child(2)::after { content: ''; position: absolute; left: 40%; top: 3px; width: 26%; height: 8px; border-radius: 4px; background: #6b3a3f; animation: rx-mancha 2s ease-in-out infinite alternate; }
@keyframes rx-mancha { to { opacity: .35; transform: scaleX(.6); } }
.rx-onda { display: flex; align-items: center; justify-content: center; gap: 3px; height: 28px; }
.rx-onda i { width: 3px; height: calc(30% + 70% * var(--h, .5)); border-radius: 2px; background: var(--bmp); }
html.rds-js .rds-cuadro.activo .rx-onda.on i { animation: rx-onda .9s calc(var(--k) * -70ms) ease-in-out infinite alternate; }
@keyframes rx-onda { from { transform: scaleY(.3); } }
.rx-reel-sub { align-self: center; padding: .25rem .55rem; border-radius: 6px; background: rgb(27 22 64 / .85); color: #fff; font-size: .72rem; font-weight: 600; }
.rx-reel-tag { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border-radius: 999px; font-weight: 700; font-size: .78rem; background: rgb(255 255 255 / .14); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); }
.rx-reel-tag svg { width: 14px; height: 14px; fill: currentColor; }

/* v2 · pasos */
.rx-pasos { position: relative; display: flex; flex-direction: column; gap: 1.1rem; padding-left: 8px; }
.rx-paso { position: relative; z-index: 1; display: flex; align-items: center; gap: .8rem; margin: 0; padding: .8rem 1rem .8rem .7rem; border-radius: 18px; background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); font-weight: 600; font-size: .95rem; }
.rx-paso b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--bmp), var(--bms)); font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 1.2rem; }
.rx-pasos-l { position: absolute; left: 25px; top: 20px; bottom: 20px; width: 10px; height: calc(100% - 40px); }
.rx-pasos-l path { fill: none; stroke: rgb(255 255 255 / .4); stroke-width: 2; stroke-dasharray: 1; vector-effect: non-scaling-stroke; }

/* w1/w2 · página web */
.rx-nav { border-radius: 20px; background: #fff; box-shadow: var(--sombra); overflow: hidden; }
.rx-url { display: flex; align-items: center; gap: .45rem; margin: 0; padding: .6rem .8rem; background: var(--piso-2); font-size: .76rem; font-weight: 600; }
.rx-candado { width: 10px; height: 10px; border-radius: 3px; background: #3f8f63; flex: none; }
.rx-cambia { position: relative; display: inline-grid; }
.rx-cambia s, .rx-cambia em { grid-area: 1 / 1; text-decoration: none; font-style: normal; }
html.rds-js .rds-cuadro.activo .rx-cambia:has(em.on) s { opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .4s var(--sale); }
.rx-cambia em { color: var(--bmp); }
html:not(.rds-js) .rx-cambia s { display: none; }
.rx-web { display: flex; flex-direction: column; gap: .8rem; padding: 1rem; }
.rx-web-h { padding: 1rem; border-radius: 14px; background: linear-gradient(135deg, #f2e2ea, #e7dcf3); display: flex; flex-direction: column; }
.rx-web-h b { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 1.5rem; }
.rx-web-h span { font-size: .76rem; color: var(--texto-2); }
.rx-web-s { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.rx-web-s i { height: 46px; border-radius: 10px; background: var(--piso-2); }
.rx-correo { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 0; padding: .8rem; border-top: 1px solid var(--piso-2); font-weight: 600; color: var(--bmp); }
.rx-correo svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

/* l1 · todo ligado */
.rx-liga { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.rx-liga .rx-nodo { position: relative; z-index: 1; min-width: 160px; }
.rx-cadena { position: absolute; z-index: 0; top: 20px; bottom: 20px; left: 50%; width: 3px; translate: -50% 0; border-radius: 3px; background: linear-gradient(var(--bmp), var(--bms)); transform-origin: top; }
html.rds-js .rds-cuadro .rx-cadena:not(.on) { transform: scaleY(0); filter: none; opacity: 1; }
html.rds-js .rds-cuadro .rx-cadena { transition: transform 1s var(--mueve); }

/* l2 · llega la paciente */
.rx-llega { display: grid; grid-template-columns: .8fr 1.2fr; gap: .6rem; align-items: center; }
.rx-llega .rx-post .rx-boton { align-self: stretch; padding: 0 .5rem; }
.rx-agenda { padding: .6rem; border-radius: 18px; background: #fff; box-shadow: var(--sombra); display: flex; flex-direction: column; gap: .4rem; }
.rx-agenda-f { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .5rem; margin: 0; padding: .5rem .55rem; border-radius: 10px; background: var(--piso-2); font-size: .76rem; }
.rx-agenda-f span { color: var(--texto-2); font-variant-numeric: tabular-nums; }
.rx-agenda-f.nueva { background: var(--acento); }
.rx-agenda-f em { display: inline-flex; align-items: center; gap: .3rem; flex-basis: 100%; font-style: normal; font-size: .68rem; font-weight: 700; color: var(--acento-tinta); }
.rx-agenda-f em .rx-red { width: 16px; height: 16px; border-radius: 5px; }
.rx-agenda-f em .rx-red::before { border-width: 1.5px; }

/* e1 · cierre vivo */
.c-empieza .rds-frase { margin-top: 4%; }
.rx-fin { position: relative; z-index: 6; display: flex; flex-direction: column; align-items: center; gap: .7rem; margin-top: auto; margin-bottom: 4%; }
.rx-giro3d { width: 100%; height: clamp(150px, calc(var(--alto, 700px) * .26), 210px); display: grid; place-items: center; perspective: 760px; margin-bottom: .6rem; }
.rx-giro3d-in { position: relative; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-12deg) rotateY(0deg); animation: rx-rueda 16s linear infinite; }
.rx-giro3d i { position: absolute; width: clamp(58px, calc(var(--alto, 700px) * .1), 78px); aspect-ratio: 4 / 5; translate: -50% -50%;
    transform: rotateY(calc(var(--k) * 45deg)) translateZ(clamp(92px, calc(var(--alto, 700px) * .17), 124px)); border-radius: 10px; box-shadow: 0 14px 26px -12px rgb(23 7 32 / .7); }
.rx-giro3d .rx-pp { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 10px; }
@keyframes rx-rueda { to { transform: rotateX(-12deg) rotateY(-360deg); } }
html.rds-js .rds-cuadro.activo .rx-giro3d { animation: rx-giro-llega 1s var(--sale) both; }
@keyframes rx-giro-llega { from { opacity: 0; transform: scale(.6); filter: blur(8px); } }

.rx-chispas { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.rx-chispas i { position: absolute; left: var(--x); bottom: -10px; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px rgb(201 166 245 / .8); opacity: 0; animation: rx-chispa-sube 6s var(--d) linear infinite; }
.rx-chispas i:nth-child(3n) { width: 3px; height: 3px; box-shadow: 0 0 8px 2px rgb(127 208 255 / .8); }
@keyframes rx-chispa-sube { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: .9; } 80% { opacity: .5; } 100% { transform: translateY(-110cqh) translateX(14px); opacity: 0; } }
html.rds-js .c-empieza { container-type: size; }

/* "Ver planes": grande, blanco, con pulso de radar en el degradado de la marca */
.rx-fin .rx-fin-cta { position: relative; isolation: isolate; min-height: 56px; padding: 0 1.6rem 0 2rem; gap: .6rem; font-size: 1.05rem; font-weight: 600;
    background: #fff; color: var(--tinta); box-shadow: 0 16px 34px -12px rgb(23 7 32 / .65); }
.rx-fin-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--sale); }
html.rds-js .rds-cuadro.activo .rx-fin-cta svg { animation: rx-empuja 1.6s ease-in-out infinite; }
@keyframes rx-empuja { 50% { transform: translateX(4px); } }
.rx-fin-cta::before, .rx-fin-cta::after { content: ''; position: absolute; z-index: -1; inset: -3px; border-radius: inherit; padding: 3px;
    background: linear-gradient(90deg, #fff, #c9a6f5, #7fd0ff, var(--bms));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: rx-radar 2.4s cubic-bezier(.2, .6, .3, 1) infinite; }
.rx-fin-cta::after { animation-delay: 1.2s; }
@keyframes rx-radar { 0% { transform: scale(1); opacity: .95; } 100% { transform: scale(1.32, 1.7); opacity: 0; } }
.rx-fin-cta:hover { transform: translateY(-2px) scale(1.02); }
.rx-fin-cta:active { transform: scale(.97); }
.rx-fin-otra { min-height: 44px; padding: .6rem 1rem; border: 0; background: none; color: #fff; font: inherit; font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgb(255 255 255 / .5); }
@media (prefers-reduced-motion: reduce) {
    .rx-giro3d-in, .rx-chispas i, .rx-fin-cta::before, .rx-fin-cta::after, .rx-fin-cta svg { animation: none !important; }
    .rx-chispas { display: none; }
}

/* ===== Planes ===== */
.rds-planes { padding: clamp(4rem, 9vw, 6.5rem) 1rem; background: var(--bruma); scroll-margin-top: 4rem; }
.rds-planes-in { max-width: 1240px; margin: 0 auto; }
.rds-planes .bm-h2 { margin: 0; text-align: center; text-wrap: balance; }
.rds-planes-lead { margin: 1rem auto 0; max-width: 46ch; text-align: center; font-size: 1.1rem; line-height: 1.55; color: var(--texto-2); }
.rds-planes-g { display: grid; gap: 1rem; margin-top: 2.8rem; }
@media (min-width: 680px) { .rds-planes-g { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1140px) { .rds-planes-g { grid-template-columns: repeat(4, 1fr); } }
.rds-plan { display: flex; flex-direction: column; padding: 1.6rem 1.4rem 1.4rem; border-radius: 24px; background: #fff; }
.rds-plan.es-destacado { background: var(--acento); color: var(--acento-tinta); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--bmp) 40%, transparent); }
.rds-plan-n { margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 2rem; line-height: 1.05; }
.rds-plan-r { margin: .4rem 0 0; color: var(--texto-2); line-height: 1.45; min-height: 2.9em; }
.rds-plan.es-destacado .rds-plan-r { color: color-mix(in srgb, var(--acento-tinta) 78%, transparent); }
.rds-plan-p { display: flex; align-items: baseline; gap: .45rem; margin: 1.2rem 0 1.1rem; }
.rds-plan-p b { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 3rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rds-plan-p span { color: var(--texto-2); font-size: .9rem; }
.rds-plan-l { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-direction: column; gap: .6rem; line-height: 1.4; }
.rds-plan-l li { display: flex; gap: .55rem; }
.rds-plan-l svg { flex: none; margin-top: .1rem; color: var(--bmp); }
.rds-plan-cta { margin-top: auto; width: 100%; }
.rds-extras { margin: 1.4rem auto 0; max-width: 70ch; text-align: center; color: var(--texto-2); font-size: .95rem; line-height: 1.6; }
.rds-extras b { color: var(--tinta); font-weight: 600; }

.rds-faq { max-width: 760px; margin: 4rem auto 0; }
.rds-faq details { border-bottom: 1px solid color-mix(in srgb, var(--tinta) 12%, transparent); }
.rds-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: .9rem 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.08rem; }
.rds-faq summary::-webkit-details-marker { display: none; }
.rds-faq summary::after { content: ''; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--bmp), var(--bmp)) center / 100% 2px no-repeat, linear-gradient(var(--bmp), var(--bmp)) center / 2px 100% no-repeat; transition: transform .3s var(--sale); }
.rds-faq details[open] summary::after { transform: rotate(45deg); }
.rds-faq p { margin: 0 0 1.1rem; max-width: 65ch; line-height: 1.65; color: var(--texto-2); }

.rds-form { max-width: 640px; margin: 4rem auto 0; padding: clamp(1.4rem, 4vw, 2.2rem); border-radius: 24px; background: #fff; scroll-margin-top: 5rem; }
.rds-form-t { margin: 0; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.05; }
.rds-form-p { margin: .6rem 0 0; color: var(--texto-2); line-height: 1.55; }
.rds-form-campos { display: grid; gap: .9rem; margin-top: 1.4rem; }
@media (min-width: 560px) { .rds-form-campos { grid-template-columns: 1fr 1fr; } .rds-form-campos > label:first-of-type, .rds-form-campos > :is(button, p) { grid-column: 1 / -1; } }
.rds-form-campos label { display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; font-weight: 600; }
.rds-form-campos input:not([type="hidden"]) { min-height: 48px; padding: .7rem .9rem; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--tinta) 14%, transparent); background: #fff; font: inherit; font-size: 1rem; font-weight: 400; color: var(--tinta); caret-color: var(--bmp); }
.rds-form-campos input:focus { outline: none; border-color: var(--bmp); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bmp) 16%, transparent); }
.rds-form-error { margin: 0; color: #b02a1a; font-weight: 600; font-size: .9rem; }
.rds-form-nota { margin: 0; font-size: .8rem; color: var(--texto-2); }
.rds-form-nota a { text-decoration: underline; text-underline-offset: 3px; }

/* ===== Orbe: la IA que te habla (degradado morado → azul; MarIA es rosa-morado) ===== */
.rds-orbe { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #fff 0%, #e6e2ff 13%, #a7a0ff 34%, #6a4cf0 58%, var(--bms) 76%, #1d1466 100%);
    box-shadow: inset 0 0 0 2px rgb(255 255 255 / .3), 0 calc(14px + 14px * var(--amp)) calc(36px + 30px * var(--amp)) -12px rgb(65 53 247 / .55);
    transform: scale(calc(1 + .09 * var(--amp))); animation: rds-respira 5.2s ease-in-out infinite; }
@keyframes rds-respira { 50% { scale: 1.03; } }
.rds-orbe-aro { position: absolute; inset: -10%; border-radius: 50%; border: 3px solid transparent; border-top-color: #9fd6ff; border-right-color: rgb(201 166 245 / .75); animation: rds-gira 3s linear infinite; }
.rds-orbe-chispa { position: absolute; inset: 24%; width: 52%; height: 52%; fill: #fff; filter: drop-shadow(0 0 10px rgb(255 255 255 / .9)); animation: rds-chispa 2.4s ease-in-out infinite; }
@keyframes rds-chispa { 0%, 100% { transform: scale(.86) rotate(0deg); } 50% { transform: scale(1.08) rotate(45deg); } }
.rds[data-estado="sigue"] .rds-orbe-aro { animation-duration: 1.4s; }
.rds[data-estado="pausa"] :is(.rds-orbe, .rds-orbe-aro, .rds-orbe-chispa) { animation-play-state: paused; }
.rds-orbe.mini { box-shadow: 0 0 0 2px rgb(255 255 255 / .9); }
.rds-orbe.mini .rds-orbe-aro { display: none; }
.rds-orbe.mini .rds-orbe-chispa { filter: none; }
.rds-cab-orbe { flex: none; width: 28px; height: 28px; }
.rds-voz { display: none; }
@media (min-width: 1024px) {
    .rds-voz { display: block; width: 84px; height: 84px; margin-bottom: -.4rem; }
}

/* ===== Textura del héroe: partículas de marca que suben (puntos y el "+" del isotipo), dibujadas por redes.js ===== */
.rds-polvo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

/* ===== Textura de planes: anillos de historia concéntricos en las esquinas ===== */
.rds-planes { position: relative; isolation: isolate; overflow: hidden; }
.rds-planes::before, .rds-planes::after { content: ''; position: absolute; z-index: -1; width: 720px; height: 720px; border-radius: 50%; pointer-events: none;
    background: repeating-radial-gradient(circle, transparent 0 34px, color-mix(in srgb, var(--bmp) 11%, transparent) 34px 35.5px);
    -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%); }
.rds-planes::before { top: -260px; right: -220px; }
.rds-planes::after { bottom: -300px; left: -260px; background: repeating-radial-gradient(circle, transparent 0 34px, color-mix(in srgb, var(--bms) 10%, transparent) 34px 35.5px); }

/* ===== Posts de ejemplo con fotos reales (Pexels) y diseño de marca encima ===== */
.rx-pp { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; background: #eee6ee; container-type: inline-size; }
.rx-pp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rx-pp:not(.es-texto):has(.rx-pp-t)::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgb(46 15 56 / .72)); }
.rx-pp-t { position: absolute; z-index: 1; left: 8%; right: 8%; bottom: 15%; font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(.7rem, 13cqi, 1.6rem); line-height: 1.02; letter-spacing: -0.01em; color: #fff; text-wrap: balance; }
.rx-pp.es-texto .rx-pp-t { top: 50%; bottom: auto; translate: 0 -50%; text-align: center; color: #3d1a4e; font-size: clamp(.75rem, 15cqi, 1.8rem); }
.rx-pp-firma { position: absolute; z-index: 1; left: 8%; bottom: 5%; display: flex; align-items: center; gap: .3em; font-size: clamp(.32rem, 6.4cqi, .7rem); font-weight: 700; color: #fff; }
.rx-pp.es-texto .rx-pp-firma { left: 50%; translate: -50% 0; color: #3d1a4e; }
.rx-pp-firma i { display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; font-style: normal; font-size: .85em; background: #9a3f69; color: #fff; }
.rx-pp:not(:has(.rx-pp-t)) .rx-pp-firma { display: none; }
/* Ken Burns: la foto respira mientras el cuadro está al frente */
html.rds-js .rds-cuadro.activo .rx-pp-img { animation: rx-kb 7s ease-out both; }
@keyframes rx-kb { from { transform: scale(1.12); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { html.rds-js .rds-cuadro.activo .rx-pp-img { animation: none; } }

.rx-cuadricula i.lleno { padding: 0; overflow: hidden; }
.rx-cuadricula i.lleno .rx-pp { border-radius: 4px; height: 100%; aspect-ratio: auto; }
.rx-pieza img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.rx-pieza small { position: relative; z-index: 1; }
.rx-foto.a, .rx-foto.b, .rx-gusto { overflow: hidden; }

.rx-modelo { position: relative; border-radius: 14px; padding: 5px; background: #fff; box-shadow: var(--sombra); }
.rx-modelo .rx-pp { border-radius: 10px; }
.rx-modelo .rx-mini-ok { z-index: 2; }
.rx-funde i { overflow: hidden; padding: 0; background: #fff; }
.rx-funde i .rx-pp { height: 100%; aspect-ratio: auto; border-radius: 16px; }
.rx-nuevas .rx-pp { box-shadow: var(--sombra); border-radius: 10px; }

.rx-lleno { position: relative; }
.rx-cuadricula.claro { gap: 3px; }
.rx-cuadricula.claro i { border: 0; border-radius: 4px; overflow: hidden; background: var(--piso-2); }
.rx-cuadricula.claro .rx-pp { border-radius: 0; }
.rx-notifs.flota { position: absolute; left: 6%; right: 6%; top: 24%; gap: .45rem; }
.rx-notifs.flota .rx-notif { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: rgb(255 255 255 / .86); }

.rx-post-img { overflow: hidden; background: none; }
.rx-post-img .rx-pp { position: absolute; inset: 0; aspect-ratio: auto; border-radius: inherit; }
.rx-cambia-img .rx-pp.v2 { z-index: 1; }
html.rds-js .rds-cuadro .rx-cambia-img .rx-pp.v2[data-t]:not(.on) { opacity: 0; transform: none; filter: blur(8px); }
html.rds-js .rds-cuadro .rx-cambia-img .rx-pp.v2[data-t] { transition: opacity .7s var(--sale), filter .7s var(--sale); }
.rx-v2 { z-index: 3; }

.rx-web-h.con-foto { position: relative; overflow: hidden; min-height: 110px; justify-content: flex-end; color: #fff;
    background: linear-gradient(180deg, rgb(46 15 56 / .05), rgb(46 15 56 / .7)), var(--foto) center / cover; }
.rx-web-h.con-foto span { color: rgb(255 255 255 / .85); }
.rx-reel-p { background: linear-gradient(180deg, rgb(246 233 239 / .78), rgb(227 201 216 / .9)), var(--foto, none) center / cover; }
.rx-notifs.flota { top: auto; bottom: -6%; }
.rx-notifs.flota .rx-notif { padding: .55rem .7rem; }
.rx-llega .rx-post .rx-boton { white-space: nowrap; font-size: .72rem; }
@keyframes rds-puerta-va { to { opacity: 0; transform: translateY(14px) scale(.96); filter: blur(6px); } }
@keyframes rds-telon-va { to { opacity: 0; visibility: hidden; } }
@media (max-width: 1023.98px) { .rx-fin { margin-bottom: 0; } .rx-giro3d { margin-bottom: 0; } }
