/* =====================================================================
   DASVO CONNECTED OPERATIONS — Sistema visual
   ---------------------------------------------------------------------
   Se carga DESPUÉS de styles.css. No modifica ninguna regla previa:
   solo añade tokens y componentes nuevos con prefijo .dco-, de modo que
   el rediseño pueda revertirse quitando este archivo y su <link>.
   ===================================================================== */

:root {
  /* Superficies oscuras */
  --bg-ink:             #06080D;
  --bg-graphite:        #0B0F18;
  --surface-dark:       #111827;
  --surface-dark-raised:#151D2C;

  /* Superficies claras */
  --surface-light:      #F7F9FC;
  --surface-light-blue: #EEF3FF;

  /* Texto */
  --text-dark:          #0B1020;
  --text-light:         #EDF2FF;
  --text-muted-dark:    #647089;
  --text-muted-light:   #A7B0C2;

  /* Acentos */
  --accent-blue:        #5277FF;
  --accent-violet:      #785CFF;
  --accent-cyan:        #29D3C7;
  --accent-green:       #50DFA1;
  --grad-dasvo: linear-gradient(135deg, #5277ff 0%, #765cff 48%, #29d3c7 100%);

  /* Escala de espacio */
  --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px; --sp-5:24px;
  --sp-6:32px; --sp-7:48px; --sp-8:64px; --sp-9:96px; --sp-10:128px;

  /* Radios */
  --r-sm:8px; --r-md:12px; --r-lg:18px; --r-xl:26px; --r-pill:999px;

  /* Elevación */
  --el-1: 0 1px 2px rgba(6,8,13,.06), 0 4px 12px rgba(6,8,13,.05);
  --el-2: 0 2px 6px rgba(6,8,13,.08), 0 14px 34px rgba(6,8,13,.08);
  --el-3: 0 8px 20px rgba(6,8,13,.12), 0 30px 70px rgba(6,8,13,.14);
  --el-dark-2: 0 18px 50px rgba(0,0,0,.46);
  --el-glow: 0 0 0 1px rgba(82,119,255,.24), 0 18px 60px rgba(82,119,255,.20);

  /* Contenedores */
  --w-content: 1320px;

  /* Movimiento */
  --ease-out: cubic-bezier(.22,1,.36,1);
  --t-fast:180ms; --t-base:240ms; --t-slow:620ms;
}

.dco-wrap { width: min(100% - 40px, var(--w-content)); margin-inline: auto; }
@media (max-width: 640px) { .dco-wrap { width: min(100% - 32px, var(--w-content)); } }

/* =====================================================================
   FONDOS
   ===================================================================== */
.dco-light {
  position: relative;
  background:
    radial-gradient(circle at 10% 18%, rgba(82,119,255,.075), transparent 26%),
    radial-gradient(circle at 88% 72%, rgba(41,211,199,.055), transparent 28%),
    var(--surface-light);
  color: var(--text-dark);
  padding: clamp(72px, 9vw, 128px) 0;
}
.dco-light--blue {
  background:
    radial-gradient(circle at 76% 12%, rgba(120,92,255,.08), transparent 30%),
    var(--surface-light-blue);
}
.dco-light h2, .dco-light h3, .dco-light h4, .dco-light b, .dco-light strong { color: var(--text-dark); }
.dco-light p, .dco-light li { color: var(--text-muted-dark); }

.dco-lines::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(11,16,32,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,16,32,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 38%, transparent 78%);
          mask-image: radial-gradient(ellipse at 50% 40%, #000 38%, transparent 78%);
}

.dco-dark {
  position: relative; overflow: hidden;
  background: var(--bg-ink); color: var(--text-light);
  padding: clamp(72px, 9vw, 128px) 0;
}
.dco-dark h2, .dco-dark h3, .dco-dark h4, .dco-dark b, .dco-dark strong { color: var(--text-light); }
.dco-dark p, .dco-dark li { color: var(--text-muted-light); }

.dco-bg { position: absolute; inset: 0; pointer-events: none; }
.dco-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse at 62% 34%, #000 10%, transparent 70%);
          mask-image: radial-gradient(ellipse at 62% 34%, #000 10%, transparent 70%);
}
.dco-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 45%, transparent 40%, rgba(0,0,0,.62) 100%);
}
.dco-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.dco-glow--blue   { width:44vw; height:44vw; max-width:620px; max-height:620px; right:-8%;  top:-14%;    background: radial-gradient(circle, rgba(82,119,255,.52), transparent 66%); }
.dco-glow--violet { width:36vw; height:36vw; max-width:520px; max-height:520px; left:-12%;  bottom:-16%; background: radial-gradient(circle, rgba(120,92,255,.42), transparent 66%); }
.dco-glow--cyan   { width:24vw; height:24vw; max-width:340px; max-height:340px; left:44%;   top:56%;     background: radial-gradient(circle, rgba(41,211,199,.26), transparent 66%); }

/* Costura oscuro -> claro */
.dco-seam { position: relative; height: 0; overflow: visible; }
.dco-seam::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 130px;
  background: linear-gradient(to bottom, rgba(6,8,13,0), var(--surface-light));
  pointer-events: none;
}

/* =====================================================================
   TIPOGRAFÍA
   ===================================================================== */
.dco-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .74rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent-cyan);
}
.dco-eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--grad-dasvo); }
.dco-light .dco-eyebrow { color: var(--accent-blue); }

.dco-h1 { font-size: clamp(2.1rem, 5.4vw, 3.95rem); line-height: 1.05; letter-spacing: -.033em; font-weight: 700; margin: var(--sp-5) 0; max-width: 17ch; }
.dco-h2 { font-size: clamp(1.7rem, 3.9vw, 2.85rem); line-height: 1.12; letter-spacing: -.026em; font-weight: 700; margin: var(--sp-4) 0; max-width: 22ch; }
.dco-h3 { font-size: clamp(1.05rem, 1.7vw, 1.22rem); line-height: 1.3; letter-spacing: -.012em; font-weight: 600; margin: 0 0 var(--sp-2); }
.dco-lead { font-size: clamp(1rem, 1.45vw, 1.11rem); line-height: 1.68; max-width: 56ch; }
.dco-grad { background: var(--grad-dasvo); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =====================================================================
   BOTONES
   ===================================================================== */
.dco-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; min-height: 46px;
  font: inherit; font-size: .95rem; font-weight: 600; text-decoration: none;
  border-radius: var(--r-pill); border: 1px solid transparent; cursor: pointer;
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base), background var(--t-base);
}
.dco-btn:hover { transform: translateY(-2px); }
.dco-btn:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 3px; }
.dco-btn--primary { color: #fff; background: var(--grad-dasvo); box-shadow: 0 10px 30px rgba(82,119,255,.32); }
.dco-btn--primary:hover { box-shadow: 0 16px 42px rgba(82,119,255,.42); }
.dco-btn--ghost { color: var(--text-light); background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.17); }
.dco-btn--ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.34); }
.dco-light .dco-btn--ghost { color: var(--text-dark); background: #fff; border-color: rgba(11,16,32,.13); }
.dco-light .dco-btn--ghost:hover { border-color: var(--accent-blue); }

/* =====================================================================
   REVELADOS
   ===================================================================== */
.dco-in { opacity: 0; transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.dco-in.is-in { opacity: 1; transform: none; }
.dco-d1 { transition-delay: 80ms; }  .dco-d2 { transition-delay: 160ms; }
.dco-d3 { transition-delay: 240ms; } .dco-d4 { transition-delay: 320ms; }
.dco-d5 { transition-delay: 400ms; }

/* =====================================================================
   NAVBAR FLOTANTE
   ===================================================================== */
.dco-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background var(--t-base), border-color var(--t-base),
              backdrop-filter var(--t-base), height var(--t-base);
}
.dco-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; transition: height var(--t-base) var(--ease-out); }
.dco-nav.is-stuck { background: rgba(6,8,13,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: rgba(255,255,255,.08); }
.dco-nav.is-stuck .dco-nav-in { height: 62px; }

.dco-logo { display: inline-flex; align-items: baseline; font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; color: var(--text-light); text-decoration: none; }
.dco-logo i { font-style: normal; background: var(--grad-dasvo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dco-logo:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 4px; border-radius: 4px; }

.dco-nav-links { display: none; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.dco-nav-links a {
  display: inline-block; padding: 9px 14px; border-radius: var(--r-sm);
  font-size: .93rem; color: var(--text-muted-light); text-decoration: none;
  transition: color var(--t-fast), background var(--t-fast);
}
.dco-nav-links a:hover { color: var(--text-light); background: rgba(255,255,255,.06); }
.dco-nav-links a:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }
.dco-nav-links a[aria-current="page"] { color: var(--text-light); }
.dco-nav-cta { display: none; }

.dco-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: rgba(255,255,255,.06); color: var(--text-light);
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); cursor: pointer;
}
.dco-burger svg { width: 20px; height: 20px; }
.dco-burger:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }
.dco-burger .ico-x { display: none; }
.dco-burger[aria-expanded="true"] .ico-m { display: none; }
.dco-burger[aria-expanded="true"] .ico-x { display: block; }

.dco-panel {
  position: fixed; inset: 78px 0 0; z-index: 99;
  padding: 26px 20px 48px; overflow-y: auto;
  background: var(--bg-ink); border-top: 1px solid rgba(255,255,255,.07);
}
.dco-panel[hidden] { display: none; }
.dco-panel ul { list-style: none; margin: 0 0 26px; padding: 0; }
.dco-panel a { display: block; padding: 16px 4px; font-size: 1.08rem; color: var(--text-light); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.07); }
.dco-panel a:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: -2px; }
.dco-panel .dco-btn { width: 100%; }

@media (min-width: 1040px) {
  .dco-nav-links, .dco-nav-cta { display: flex; }
  .dco-burger { display: none; }
  .dco-panel { display: none !important; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.dco-hero { position: relative; min-height: 90vh; display: flex; align-items: center;
  padding: 130px 0 clamp(64px, 8vw, 104px); background: var(--bg-ink); overflow: hidden; }
.dco-hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: clamp(44px, 6vw, 72px); align-items: center; }

.dco-hero-copy .dco-h1 { color: var(--text-light); }
.dco-hero-copy .dco-lead { color: var(--text-muted-light); }
.dco-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--sp-6); }

.dco-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.08); }
.dco-hero-meta span { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--text-muted-light); }
.dco-hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-cyan); }

/* --- Living command center --- */
.dco-cc { position: relative; }
.dco-cc-stage { position: relative; }

.dco-cc-panel {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, rgba(21,29,44,.96), rgba(17,24,39,.96));
  border: 1px solid rgba(255,255,255,.10); border-radius: var(--r-xl);
  box-shadow: var(--el-dark-2), var(--el-glow);
  padding: 18px; overflow: hidden;
}
.dco-cc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.dco-cc-brand { display: flex; align-items: center; gap: 10px; }
.dco-cc-dot { width: 28px; height: 28px; border-radius: 9px; background: var(--grad-dasvo); display: grid; place-items: center; font-size: .78rem; font-weight: 700; color: #fff; }
.dco-cc-brand b { font-size: .9rem; color: var(--text-light); display: block; line-height: 1.15; }
.dco-cc-brand i { font-style: normal; font-size: .72rem; color: var(--text-muted-light); }
.dco-cc-live { display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; color: var(--accent-green); }
.dco-cc-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-green); box-shadow: 0 0 0 0 rgba(80,223,161,.6); animation: dco-pulse 2.4s var(--ease-out) infinite; }
@keyframes dco-pulse { 0% { box-shadow: 0 0 0 0 rgba(80,223,161,.55);} 70% { box-shadow: 0 0 0 8px rgba(80,223,161,0);} 100% { box-shadow: 0 0 0 0 rgba(80,223,161,0);} }

.dco-cc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.dco-kpi { background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); border-radius: var(--r-md); padding: 11px 12px; }
.dco-kpi span { display: block; font-size: .68rem; color: var(--text-muted-light); letter-spacing: .04em; text-transform: uppercase; }
.dco-kpi b { display: block; margin-top: 4px; font-size: 1.16rem; color: var(--text-light); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dco-kpi em { font-style: normal; font-size: .72rem; color: var(--accent-green); }

.dco-cc-feed { display: grid; gap: 8px; }
.dco-ev {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; border-radius: var(--r-md);
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  opacity: .42; transform: translateY(0);
  transition: opacity var(--t-base) var(--ease-out), background var(--t-base), border-color var(--t-base), transform var(--t-base) var(--ease-out);
}
.dco-ev.is-live { opacity: 1; background: rgba(82,119,255,.10); border-color: rgba(82,119,255,.34); transform: translateX(3px); }
.dco-ev-ico { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.06); }
.dco-ev-ico svg { width: 14px; height: 14px; stroke: var(--accent-cyan); }
.dco-ev.is-live .dco-ev-ico { background: rgba(82,119,255,.2); }
.dco-ev-tx { min-width: 0; }
.dco-ev-tx b { display: block; font-size: .84rem; color: var(--text-light); font-weight: 600; line-height: 1.3; }
.dco-ev-tx span { display: block; font-size: .75rem; color: var(--text-muted-light); }

/* Tarjetas flotantes */
.dco-float {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: var(--r-lg);
  background: rgba(17,24,39,.94); border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--el-dark-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.dco-float b { font-size: .8rem; color: var(--text-light); display: block; line-height: 1.25; }
.dco-float span { font-size: .7rem; color: var(--text-muted-light); }
.dco-float-ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--grad-dasvo); }
.dco-float-ico svg { width: 14px; height: 14px; stroke: #fff; }
.dco-float--a { top: -22px; right: -10px; animation: dco-fl-a 7.5s ease-in-out infinite; }
.dco-float--b { bottom: 42px; left: -26px; animation: dco-fl-b 8.5s ease-in-out infinite; }
@keyframes dco-fl-a { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-6px);} }
@keyframes dco-fl-b { 0%,100% { transform: translateY(0);} 50% { transform: translateY(5px);} }

.dco-cc-links { position: absolute; inset: -30px; z-index: 1; pointer-events: none; overflow: visible; }
.dco-cc-links path { fill: none; stroke: url(#dcoGrad); stroke-width: 1.4; stroke-dasharray: 5 7; opacity: .5; animation: dco-dash 5s linear infinite; }
@keyframes dco-dash { to { stroke-dashoffset: -48; } }

@media (min-width: 500px) { .dco-cc-panel { padding: 22px; } }
@media (min-width: 1040px) {
  .dco-hero-in { grid-template-columns: 1.02fr .98fr; gap: 64px; }
  .dco-hero { padding-top: 150px; }
}

/* =====================================================================
   BANDA DE CONFIANZA
   ===================================================================== */
.dco-trust { position: relative; padding: 26px 0; background: var(--surface-light); border-block: 1px solid rgba(11,16,32,.07); overflow: hidden; }
.dco-trust-track { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.dco-trust-item {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 9px 16px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid rgba(11,16,32,.09);
  font-size: .87rem; color: var(--text-muted-dark); box-shadow: var(--el-1);
}
.dco-trust-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad-dasvo); flex: 0 0 auto; }

@media (min-width: 900px) {
  .dco-trust-mask { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .dco-trust-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: dco-marquee 42s linear infinite; }
  .dco-trust:hover .dco-trust-track, .dco-trust:focus-within .dco-trust-track { animation-play-state: paused; }
}
@keyframes dco-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =====================================================================
   NARRATIVA STICKY — DEL CAOS AL SISTEMA
   ===================================================================== */
.dco-story { position: relative; background: var(--bg-graphite); color: var(--text-light); }
.dco-story-rail { position: relative; }
.dco-story-pin { position: sticky; top: 0; min-height: 100vh; display: grid; place-items: center; overflow: hidden; }

.dco-story-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; width: min(100% - 40px, var(--w-content)); margin-inline: auto; padding: 92px 0 56px; }
.dco-story-copy .dco-h2 { color: var(--text-light); }
.dco-story-step { min-height: 84px; }
.dco-story-step b { display: block; font-size: 1.05rem; color: var(--text-light); margin-bottom: 6px; }
.dco-story-step p { color: var(--text-muted-light); font-size: .98rem; line-height: 1.6; margin: 0; max-width: 44ch; }

.dco-story-prog { display: flex; gap: 6px; margin-top: 26px; }
.dco-story-prog i { height: 3px; width: 34px; border-radius: 3px; background: rgba(255,255,255,.14); transition: background var(--t-base); }
.dco-story-prog i.on { background: var(--grad-dasvo); }

/* Escenario de nodos */
.dco-nodes { position: relative; aspect-ratio: 1 / .82; max-width: 560px; margin-inline: auto; width: 100%; }
.dco-node {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 9px 13px; border-radius: var(--r-pill);
  background: rgba(17,24,39,.94); border: 1px solid rgba(255,255,255,.13);
  font-size: .8rem; color: var(--text-muted-light); white-space: nowrap;
  box-shadow: var(--el-dark-2);
  transition: transform var(--t-slow) var(--ease-out), opacity var(--t-slow) var(--ease-out),
              border-color var(--t-slow), color var(--t-slow), background var(--t-slow);
}
.dco-node svg { width: 14px; height: 14px; stroke: currentColor; flex: 0 0 auto; }
.dco-node.is-on { color: var(--text-light); border-color: rgba(82,119,255,.5); background: rgba(82,119,255,.14); }

.dco-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) scale(.82);
  display: grid; place-items: center; text-align: center;
  width: 148px; height: 148px; border-radius: 50%;
  background: radial-gradient(circle, rgba(82,119,255,.24), rgba(6,8,13,.9) 70%);
  border: 1px solid rgba(82,119,255,.42);
  opacity: 0; transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}
.dco-core.is-on { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.dco-core b { font-size: .84rem; color: var(--text-light); letter-spacing: .06em; }
.dco-core span { font-size: .68rem; color: var(--accent-cyan); }

.dco-links { position: absolute; inset: 0; pointer-events: none; }
.dco-links line { stroke: url(#dcoGrad2); stroke-width: 1.3; opacity: 0; transition: opacity var(--t-slow) var(--ease-out); }
.dco-links.is-on line { opacity: .55; }

@media (min-width: 1000px) {
  .dco-story-in { grid-template-columns: .92fr 1.08fr; gap: 64px; padding: 0; }
}

/* Versión móvil en pasos verticales (sin sticky) */
.dco-story-mobile { display: grid; gap: 14px; }
.dco-story-mobile li { list-style: none; padding: 18px 18px 18px 46px; position: relative;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg); }
.dco-story-mobile li::before {
  counter-increment: paso; content: counter(paso);
  position: absolute; left: 15px; top: 18px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: .72rem; color: #fff; background: var(--grad-dasvo);
}
.dco-story-mobile { counter-reset: paso; }
.dco-story-mobile b { display: block; color: var(--text-light); font-size: .98rem; margin-bottom: 4px; }
.dco-story-mobile p { margin: 0; font-size: .9rem; color: var(--text-muted-light); }

/* =====================================================================
   SHOWCASE DE DEMOS
   ===================================================================== */
.dco-demos-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 48px); }
.dco-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.dco-tabs::-webkit-scrollbar { display: none; }
.dco-tab {
  flex: 0 0 auto; padding: 11px 20px; border-radius: var(--r-pill); cursor: pointer;
  font: inherit; font-size: .92rem; font-weight: 500; white-space: nowrap;
  background: #fff; color: var(--text-muted-dark); border: 1px solid rgba(11,16,32,.10);
  transition: color var(--t-base), border-color var(--t-base), background var(--t-base), transform var(--t-base) var(--ease-out);
}
.dco-tab:hover { transform: translateY(-2px); border-color: rgba(82,119,255,.4); }
.dco-tab:focus-visible { outline: 2px solid var(--accent-blue); outline-offset: 2px; }
.dco-tab[aria-selected="true"] { color: #fff; background: var(--grad-dasvo); border-color: transparent; box-shadow: 0 8px 24px rgba(82,119,255,.28); }

.dco-demo-panel { display: grid; grid-template-columns: 1fr; gap: clamp(26px, 4vw, 46px); align-items: center; }
.dco-demo-panel[hidden] { display: none; }
.dco-demo-shot { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid rgba(11,16,32,.10); box-shadow: var(--el-3); background: #fff; }
.dco-demo-shot img { display: block; width: 100%; height: auto; }
.dco-demo-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: var(--r-pill);
  background: rgba(6,8,13,.78); color: #fff; font-size: .74rem;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.dco-demo-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-green); }

.dco-demo-try { list-style: none; margin: var(--sp-5) 0; padding: 0; display: grid; gap: 10px; }
.dco-demo-try li { position: relative; padding-left: 30px; font-size: .95rem; color: var(--text-muted-dark); line-height: 1.55; }
.dco-demo-try li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(82,119,255,.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235277ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}

@media (min-width: 960px) {
  .dco-demos-head { grid-template-columns: 1fr auto; align-items: end; }
  .dco-demo-panel { grid-template-columns: 1.15fr .85fr; }
}

/* =====================================================================
   ARQUITECTURA DEL SISTEMA
   ===================================================================== */
.dco-arch { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: start; }
.dco-arch-mods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dco-mod {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 14px 15px; border-radius: var(--r-md); cursor: pointer; text-align: left;
  font: inherit; font-size: .92rem; color: var(--text-muted-light);
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08);
  transition: color var(--t-base), border-color var(--t-base), background var(--t-base), transform var(--t-base) var(--ease-out);
}
.dco-mod svg { width: 16px; height: 16px; stroke: currentColor; flex: 0 0 auto; }
.dco-mod:hover { transform: translateY(-2px); border-color: rgba(82,119,255,.4); color: var(--text-light); }
.dco-mod:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }
.dco-mod[aria-selected="true"] { color: var(--text-light); background: rgba(82,119,255,.14); border-color: rgba(82,119,255,.5); }

.dco-arch-view {
  padding: clamp(22px, 3vw, 32px); border-radius: var(--r-xl); min-height: 260px;
  background: linear-gradient(180deg, rgba(21,29,44,.9), rgba(17,24,39,.9));
  border: 1px solid rgba(255,255,255,.09); box-shadow: var(--el-dark-2);
}
.dco-arch-view h3 { color: var(--text-light); font-size: 1.16rem; margin: 12px 0 10px; }
.dco-arch-view p { color: var(--text-muted-light); font-size: .97rem; line-height: 1.66; margin: 0 0 16px; }
.dco-arch-eg { padding: 13px 15px; border-radius: var(--r-md); background: rgba(41,211,199,.07); border-left: 2px solid var(--accent-cyan); }
.dco-arch-eg span { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-cyan); margin-bottom: 5px; }
.dco-arch-eg p { font-size: .92rem; margin: 0; color: var(--text-light); }

@media (min-width: 900px) {
  .dco-arch { grid-template-columns: .82fr 1.18fr; gap: 40px; }
  .dco-arch-mods { grid-template-columns: 1fr; }
}

/* =====================================================================
   CTA FINAL
   ===================================================================== */
.dco-close { position: relative; text-align: center; padding: clamp(84px, 11vw, 156px) 0; }
.dco-close .dco-h2 { max-width: 20ch; margin-inline: auto; color: var(--text-light); }
.dco-close .dco-lead { margin-inline: auto; color: var(--text-muted-light); }
.dco-close-cta { margin-top: var(--sp-7); }

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .dco-in { opacity: 1 !important; transform: none !important; transition: none !important; }
  .dco-float, .dco-cc-live::before, .dco-cc-links path, .dco-trust-track { animation: none !important; }
  .dco-btn:hover, .dco-tab:hover, .dco-mod:hover { transform: none; }
  .dco-node, .dco-core, .dco-links line, .dco-ev { transition: none !important; }
  .dco-story-pin { position: static; min-height: 0; }
  .dco-node, .dco-core { opacity: 1 !important; }
  .dco-nav, .dco-nav-in { transition: none !important; }
}
