/* Gestión de redes · Metodología: «El recorrido de una pregunta» (móvil con chat, publicación, Google y cita de la IA).
   Dibujo de línea propio de la web: trazo 1,5 px morado, rellenos planos al 14 %, un elemento destacado en morado sólido.
   Decorativo (aria-hidden); los cuatro pasos siguen como texto debajo. Sin JS se ve el ejemplo de reformas. */
.rq{--rq-coral:#e2557a;--rq-wa:#25d366;--rq-blue:#1a56c4;--rq-panel:#f4edf7;--rq-card:#fff;--rq-soft:#fbf8fc;--rq-fill:rgba(107,38,156,.14);--rq-rule:rgba(107,38,156,.22);--ease:cubic-bezier(.16,1,.3,1);margin:clamp(40px,5vw,72px) 0 0}
html[data-theme="dark"] .rq{--rq-panel:#30203c;--rq-card:#3d2a4b;--rq-soft:#2a1a35;--rq-blue:#9dbcff}
.rq :is(p,h3,ul,ol){margin:0}
.rq svg{stroke-linecap:round;stroke-linejoin:round}
html body.svc-unified .rq-head{display:flex;align-items:center;justify-content:space-between;gap:16px 32px;flex-wrap:wrap;margin-bottom:18px}
.rq-cap{font:400 22px/1.3 'Caviar Dreams',sans-serif;color:var(--white)}
.rq-cap span{color:var(--purple)}
.rq-stage{position:relative;height:560px;border-radius:16px;overflow:hidden;isolation:isolate;background:var(--rq-panel) radial-gradient(rgba(107,38,156,.16) 1px,transparent 1.4px) 0 0/22px 22px}
.rq-route{position:absolute;inset:0;width:100%;height:100%;z-index:-1}
.rq-route path{fill:none;stroke-linecap:round}
.rq-route .under{stroke:var(--rq-card);stroke-width:7}
.rq-route .flow{stroke:var(--purple-light);stroke-width:2.5;stroke-dasharray:6 9;animation:qRoute 7s linear infinite}
.rq-route circle{fill:var(--purple);stroke:var(--rq-card);stroke-width:3}
.rq-item{position:absolute}
.rq-tag{display:block;margin-bottom:10px;font:500 12px/1.3 'DM Sans',sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--purple)}

/* 01 · Móvil con la pregunta */
.rq-phone{left:56px;top:34px;width:244px}
.rq-ph{position:relative;height:456px;border:1.5px solid var(--purple);border-radius:30px;background:var(--rq-soft);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 18px 40px rgba(48,37,56,.1)}
.rq-ph-bar{display:flex;align-items:center;gap:10px;padding:18px 16px 12px;border-bottom:1.5px solid var(--rule)}
.rq-ph-av{width:34px;height:34px;border-radius:50%;background:var(--rq-fill);border:1.5px solid var(--purple);display:grid;place-items:center;color:var(--purple)}
.rq-ph-av svg{width:18px;height:18px}
.rq-ph-bar b{display:block;font:600 13px/1.2 'DM Sans',sans-serif}
.rq-ph-bar small{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--gray-dim)}
.rq-ph-bar small i{width:7px;height:7px;border-radius:50%;background:var(--rq-wa)}
.rq-ph-body{flex:1;padding:18px 14px;display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.rq-ph-sk{height:30px;border-radius:14px 14px 14px 4px;background:var(--rq-fill)}
.rq-ph-q{position:relative;max-width:92%;padding:13px 15px;border-radius:16px 16px 16px 4px;background:var(--purple);color:#fff;font:500 15px/1.4 'DM Sans',sans-serif;box-shadow:0 10px 22px rgba(87,33,119,.22)}
.rq-ph-q::before,.rq-ph-q::after{content:'';position:absolute;inset:-10px;border:1px solid rgba(141,79,187,.55);border-radius:24px;animation:qPulse 4s ease-out infinite;pointer-events:none}
.rq-ph-q::after{animation-delay:2s}
.rq-ph-time{font-size:10px;color:var(--gray-dim);margin-left:6px}
.rq-ph-typing{align-self:flex-end;display:flex;gap:4px;padding:10px 12px;border-radius:14px 14px 4px 14px;border:1.5px solid var(--rq-rule);background:#fff}
.rq-ph-typing i{width:6px;height:6px;border-radius:50%;background:var(--purple-mid);animation:qDot 1.2s ease-in-out infinite}
.rq-ph-typing i:nth-child(2){animation-delay:.15s}.rq-ph-typing i:nth-child(3){animation-delay:.3s}
@keyframes qDot{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-3px);opacity:1}}
.rq-ph-input{display:flex;align-items:center;gap:10px;margin:0 12px 14px;padding:6px 6px 6px 14px;border:1.5px solid var(--rq-rule);border-radius:30px;font-size:12px;color:var(--gray-dim)}
.rq-ph-input span{flex:1}
.rq-ph-input i{width:30px;height:30px;border-radius:50%;background:var(--rq-wa);display:grid;place-items:center;color:#fff}
.rq-ph-input svg{width:15px;height:15px}

/* 02 · La publicación */
.rq-pub{left:400px;top:34px;display:grid;grid-template-columns:230px 1fr;column-gap:26px;width:500px}
.rq-pub .rq-tag{grid-column:1/-1}
.rq-pub-stack{position:relative;height:262px}
.rq-pub-art,.rq-pub-car,.rq-pub-reel{position:absolute;border:1.5px solid var(--purple);background:var(--rq-soft)}
.rq-pub-art{right:0;top:26px;width:112px;height:150px;border-radius:8px;transform:rotate(6deg);padding:14px 12px;display:grid;gap:7px;align-content:start}
.rq-pub-art i{height:3px;border-radius:3px;background:var(--purple-mid);opacity:.6}
.rq-pub-art i:first-child{height:34px;background:var(--rq-fill);opacity:1}
.rq-pub-car{right:22px;bottom:0;width:104px;height:104px;border-radius:10px;transform:rotate(-4deg);display:grid;place-items:end center;padding-bottom:9px;background:var(--rq-soft) linear-gradient(var(--rq-fill),var(--rq-fill))}
.rq-pub-car span{display:flex;gap:4px}
.rq-pub-car span i{width:5px;height:5px;border-radius:50%;background:var(--purple-mid)}
.rq-pub-car span i:first-child{background:var(--purple)}
.rq-pub-reel{left:0;top:0;width:140px;height:248px;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;padding:12px;background:linear-gradient(160deg,rgba(226,85,122,.2),rgba(107,38,156,.16)),#fbf8fc;box-shadow:0 14px 30px rgba(48,37,56,.12);transform:rotate(-3deg)}
.rq-pub-reel .rq-kind{position:absolute;left:12px;top:12px;display:flex;align-items:center;gap:5px;font:600 10px/1 'DM Sans',sans-serif;letter-spacing:.1em;text-transform:uppercase;color:var(--rq-coral)}
.rq-pub-reel .rq-kind i{width:6px;height:6px;border-radius:50%;background:var(--rq-coral)}
.rq-pub-reel .rq-play{position:absolute;left:50%;top:38%;translate:-50% -50%;width:44px;height:44px;border-radius:50%;background:var(--rq-coral);display:grid;place-items:center;color:#fff;box-shadow:0 8px 18px rgba(226,85,122,.35)}
.rq-pub-reel .rq-play svg{width:16px;height:16px;margin-left:2px}
.rq-pub-reel p{font:600 12px/1.35 'DM Sans',sans-serif;color:var(--white)}
.rq-pub-reel .rq-bar{height:3px;border-radius:3px;background:rgba(107,38,156,.2);margin-top:10px;overflow:hidden}
.rq-pub-reel .rq-bar i{display:block;height:100%;width:40%;background:var(--rq-coral);border-radius:3px;animation:qBar 6s linear infinite}
.rq-pub-list{list-style:none;margin:8px 0 0;padding:0;align-self:start}
.rq-pub-list li{padding:10px 0;border-top:1px solid var(--rule);font-size:12px;color:var(--gray)}
.rq-pub-list li:last-child{border-bottom:1px solid var(--rule)}
.rq-pub-list b{display:block;font:400 17px/1.2 'Caviar Dreams',sans-serif;color:var(--white)}

/* 03 · Google */
.rq-google{left:762px;top:262px;width:290px}
.rq-card{background:var(--rq-card);border-radius:18px;box-shadow:0 10px 40px rgba(48,37,56,.1);padding:16px}
.rq-g-search{display:flex;align-items:center;gap:9px;padding:9px 14px;border:1.5px solid var(--rq-rule);border-radius:30px;font:500 12px/1.3 'DM Sans',sans-serif}
.rq-g-search svg{width:15px;height:15px;color:var(--purple);flex:none}
.rq-g-res{margin-top:14px;display:grid;gap:5px}
.rq-g-url{font-size:11px;color:#1c7a45}
.rq-g-res b{font:500 15px/1.3 'DM Sans',sans-serif;color:var(--rq-blue)}
.rq-g-res i{height:5px;border-radius:5px;background:#ece6f0}
.rq-g-res i.s{width:62%}

/* 04 · La IA */
.rq-ia{left:420px;top:342px;width:300px}
.rq-ia .rq-card{display:grid;gap:12px}
.rq-ia-top{display:flex;gap:10px;align-items:flex-start}
.rq-ia-top svg{width:20px;height:20px;color:var(--purple);flex:none;margin-top:2px}
.rq-ia-top p{font:400 13px/1.55 'DM Sans',sans-serif;color:var(--white)}
.rq-ia-src{justify-self:start;display:flex;align-items:center;gap:6px;padding:6px 11px;border-radius:30px;background:#f2ebf8;border:1px solid #e8dcf1;font:600 11px/1 'DM Sans',sans-serif;color:var(--purple)}
.rq-ia-src svg{width:12px;height:12px}

/* Texto de los cuatro pasos */
.rq-steps{list-style:none;margin:30px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:0 36px}
.rq-steps li{padding-top:16px;border-top:1.5px solid var(--purple)}
.rq-steps .rq-lbl{display:block;margin-bottom:10px;font:500 12px/1.3 DM,'DM Sans',sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--purple)}
.rq-steps p{font:400 14px/1.62 DM,'DM Sans',sans-serif;color:var(--gray)}
.rq-foot{margin-top:18px}

.rq.is-switching .dyn{animation:qSwap .45s var(--ease) both}
.rq.is-switching .rq-pub .dyn{animation-delay:.1s}
.rq.is-switching .rq-google .dyn{animation-delay:.2s}
.rq.is-switching .rq-ia .dyn{animation-delay:.3s}
@keyframes qSwap{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}
@keyframes qPulse{0%{transform:scale(.92);opacity:0}20%{opacity:.8}100%{transform:scale(1.22);opacity:0}}
@keyframes qRoute{to{stroke-dashoffset:-150}}
@keyframes qBar{from{width:6%}to{width:100%}}

@media(max-width:1179px){
.rq-stage{height:auto;padding:26px 20px 30px;display:grid;gap:30px;justify-items:center}
.rq-route{display:none}
.rq-item{position:relative;left:auto;top:auto;width:100%;max-width:330px}
.rq-item+.rq-item::before{content:'';position:absolute;left:50%;top:-24px;height:18px;border-left:2px dashed var(--purple-light)}
.rq-ph{height:auto;min-height:400px}
.rq-pub{grid-template-columns:1fr;row-gap:14px}
.rq-pub-stack{width:230px;margin:0 auto}
.rq-steps{grid-template-columns:1fr 1fr;gap:24px 24px}
}
@media(max-width:560px){.rq-steps{grid-template-columns:1fr}.rq-cap{font-size:19px}}
@media(prefers-reduced-motion:reduce){.rq-route .flow,.rq-ph-q::before,.rq-ph-q::after,.rq-pub-reel .rq-bar i,.rq-ph-typing i,.rq.is-switching .dyn{animation:none}}

.rq-cap{margin:0}
.rq-chips{display:flex;gap:8px;flex-wrap:wrap}
.rq-chips button{border:1px solid rgba(107,38,156,.28);background:transparent;color:var(--purple);border-radius:30px;padding:9px 16px;font:600 12px/1 DM,'DM Sans',sans-serif;cursor:pointer;transition:background .2s,color .2s}
.rq-chips button[aria-pressed=true]{background:var(--purple);color:#fff;border-color:var(--purple)}
.rq-chips button:focus-visible{outline:2px solid var(--purple);outline-offset:3px}
.rq-steps h3{margin:0 0 8px;font:400 22px/1.15 Caviar,'Caviar Dreams',sans-serif;letter-spacing:-.01em;color:var(--white)}
.rq-note{margin-top:18px;font-size:11px;line-height:1.5;color:var(--gray-dim)}
