/* ==========================================================================
   DATAPRIME — Capa dinámica 2026 (r6)
   Fichero nuevo: se carga DESPUÉS de styles.css y no sustituye nada de él.
   Para desactivar todo lo de este fichero basta con quitar su <link> y el
   <script src="dp-2026-r6.js"> de index.html.
   ========================================================================== */

/* ---------- Barra de progreso de lectura ---------- */
.dp-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  transform-origin: 0 50%; transform: scaleX(0);
  z-index: 1200; pointer-events: none;
}

/* ---------- Aparición al hacer scroll ---------- */
html.dp-js .dp-reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--dp-d, 0ms);
}
html.dp-js .dp-reveal.dp-in { opacity: 1; transform: none; }

.dp-center { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- Enlace Plataforma: punto "en vivo" ---------- */
.nav-platform { position: relative; }
.nav-platform::after {
  content: ""; position: absolute; top: 0; right: -9px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--signal);
  animation: dpPulse 2s ease-out infinite;
}
@keyframes dpPulse {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,.55); }
  100% { box-shadow: 0 0 0 9px rgba(16,185,129,0); }
}

/* ==========================================================================
   TARJETAS DE PRODUCTO
   ========================================================================== */
.product-grid .product-card {
  animation: dpCardIn .6s cubic-bezier(.2,.7,.2,1) both;
  animation-delay: calc(var(--dp-i, 0) * 70ms);
  transition: transform .25s ease, border-color .3s, box-shadow .3s;
  transform-style: preserve-3d;
}
@keyframes dpCardIn {
  from { opacity: 0; transform: translateY(28px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.product-card:hover {
  box-shadow: 0 22px 44px -22px rgba(10,22,40,.38), 0 0 0 1px var(--ink);
}
.product-card.dp-tilting {
  transform: perspective(900px) rotateX(var(--dp-rx, 0deg)) rotateY(var(--dp-ry, 0deg)) translateY(-6px);
  transition: transform .08s linear, border-color .3s, box-shadow .3s;
}
/* brillo que cruza la imagen al pasar el ratón */
.product-img::after {
  content: ""; position: absolute; inset: -20% -60%;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.75) 50%, transparent 58%);
  transform: translateX(-70%); pointer-events: none; opacity: 0;
}
.product-card:hover .product-img::after { opacity: 1; transform: translateX(70%); transition: transform .9s ease, opacity .2s; }
/* la foto flota suavemente (propiedad translate: no pisa el transform del hover original) */
.product-photo { position: relative; z-index: 1; animation: dpFloat 6s ease-in-out infinite; animation-delay: calc(var(--dp-i, 0) * -900ms); }
@keyframes dpFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -7px; } }
/* halo de color bajo el equipo */
.product-img.has-photo { background:
  radial-gradient(60% 55% at 50% 62%, rgba(0,212,255,.20), transparent 70%), var(--paper-warm); }

/* etiqueta de modelo sobre la foto */
.dp-model-chip {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; font-weight: 500;
  background: var(--ink); color: var(--paper); padding: .28rem .6rem; border-radius: 2px;
}
.dp-model-chip i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: .5em; vertical-align: middle; }

/* aviso PRÓXIMAMENTE */
.dp-soon {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-mono); font-size: .65rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  background: #FFB020; color: var(--ink); padding: .28rem .65rem; border-radius: 2px;
  box-shadow: 0 6px 16px -6px rgba(255,176,32,.9);
}
.dp-soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); animation: dpBlink 1.4s ease-in-out infinite; }
@keyframes dpBlink { 0%,100% { opacity: 1; } 50% { opacity: .2; } }
.product-card.is-soon { border-style: dashed; }
.product-card.is-soon:hover { border-style: solid; }

/* nota en la ficha (modal) */
.dp-soon-note {
  display: flex; gap: .75rem; align-items: flex-start;
  background: rgba(255,176,32,.14); border: 1px solid rgba(255,176,32,.6); border-left: 4px solid #FFB020;
  padding: .85rem 1rem; margin: 0 0 1.25rem; font-size: .9rem; line-height: 1.5; color: var(--ink); border-radius: 2px;
}
.modal-visual .dp-soon { position: static; display: inline-flex; margin-bottom: .9rem; }

/* filtros: transición al cambiar */
.filter-bar button { position: relative; overflow: hidden; }
.filter-bar button.active { animation: dpPop .35s ease; }
@keyframes dpPop { 0% { transform: scale(.92); } 60% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* ==========================================================================
   HOME — foco rotatorio de la gama + carrusel
   ========================================================================== */
.dp-spot {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  background: var(--ink); color: var(--paper); border-radius: 6px; overflow: hidden;
  margin-bottom: 2rem; position: relative; min-height: 420px;
}
.dp-spot[hidden] { display: none; }
.dp-spot-visual {
  position: relative; display: grid; place-items: center; padding: 2.5rem; overflow: hidden;
  background:
    radial-gradient(55% 55% at 50% 55%, rgba(0,212,255,.28), transparent 70%),
    linear-gradient(rgba(250,250,247,.045) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(90deg, rgba(250,250,247,.045) 1px, transparent 1px) 0 0 / 34px 34px,
    var(--ink-soft);
}
.dp-spot-visual::before, .dp-spot-visual::after {
  content: ""; position: absolute; left: 50%; top: 55%; width: 62%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(0,212,255,.35); transform: translate(-50%,-50%) scale(.6); opacity: 0;
  animation: dpRing 4s ease-out infinite;
}
.dp-spot-visual::after { animation-delay: 2s; }
@keyframes dpRing { 0% { transform: translate(-50%,-50%) scale(.45); opacity: .9; } 100% { transform: translate(-50%,-50%) scale(1.35); opacity: 0; } }
.dp-spot-img { position: relative; z-index: 1; max-width: 86%; max-height: 300px; object-fit: contain;
  filter: drop-shadow(0 26px 30px rgba(0,0,0,.45)); animation: dpFloat 6s ease-in-out infinite; }
.dp-spot-body { padding: clamp(1.75rem, 3.5vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.dp-spot-body .product-badge { color: var(--accent); background: rgba(0,212,255,.1); border-color: rgba(0,212,255,.35); }
.dp-spot-body h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.025em; line-height: 1.05; margin-bottom: .4rem; }
.dp-spot-tag { font-family: var(--font-mono); font-size: .8rem; color: var(--accent); margin-bottom: 1rem; }
.dp-spot-desc { color: rgba(250,250,247,.75); font-size: .98rem; line-height: 1.6; margin-bottom: 1.25rem; }
.dp-spot-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.dp-spot-facts span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .04em; padding: .35rem .6rem; border: 1px solid rgba(250,250,247,.22); border-radius: 2px; color: rgba(250,250,247,.85); }
.dp-spot-body .btn { align-self: flex-start; background: var(--accent); color: var(--ink); border-color: var(--accent); }
.dp-spot-body .btn:hover { background: var(--paper); border-color: var(--paper); }
.dp-spot .dp-soon { top: 16px; left: 16px; }
.dp-spot-anim { animation: dpSpotIn .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes dpSpotIn { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
.dp-spot-tabs { grid-column: 1 / -1; display: flex; border-top: 1px solid rgba(250,250,247,.12); overflow-x: auto; scrollbar-width: none; }
.dp-spot-tabs::-webkit-scrollbar { display: none; }
.dp-spot-tabs button {
  flex: 1 0 auto; position: relative; padding: .95rem 1rem; color: rgba(250,250,247,.55);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  transition: color .2s, background .2s;
}
.dp-spot-tabs button:hover { color: var(--paper); background: rgba(250,250,247,.05); }
.dp-spot-tabs button.active { color: var(--paper); }
.dp-spot-tabs button::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.dp-spot-tabs button.active::after { animation: dpBar var(--dp-spot-ms, 6000ms) linear forwards; }
.dp-spot.paused .dp-spot-tabs button.active::after { animation-play-state: paused; }
@keyframes dpBar { to { transform: scaleX(1); } }

.dp-rail-wrap { position: relative; }
.product-grid.dp-rail {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .75rem .25rem 1.25rem; scrollbar-width: none; scroll-behavior: smooth;
}
.product-grid.dp-rail::-webkit-scrollbar { display: none; }
.product-grid.dp-rail .product-card { flex: 0 0 clamp(250px, 23vw, 300px); scroll-snap-align: start; }
.dp-rail-btn {
  position: absolute; top: 42%; z-index: 5; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--paper); font-size: 1.5rem; line-height: 1; display: grid; place-items: center;
  box-shadow: 0 10px 24px -10px rgba(10,22,40,.6); transition: transform .2s, background .2s;
}
.dp-rail-btn:hover { background: var(--accent-deep); transform: scale(1.08); }
.dp-rail-prev { left: -14px; } .dp-rail-next { right: -14px; }

/* ==========================================================================
   PRODUCTOS — comparativa
   ========================================================================== */
.dp-compare-wrap { overflow-x: auto; border: 1px solid var(--border); background: var(--paper); border-radius: 4px; }
.dp-compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .9rem; }
.dp-compare th { text-align: left; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); padding: .9rem 1rem; border-bottom: 2px solid var(--ink); white-space: nowrap; }
.dp-compare td { padding: .95rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.dp-compare tbody tr { cursor: pointer; transition: background .2s, box-shadow .2s; }
.dp-compare tbody tr:hover { background: rgba(0,212,255,.09); box-shadow: inset 4px 0 0 var(--accent); }
.dp-compare tbody tr:last-child td { border-bottom: none; }
.dp-compare .dp-c-name { font-family: var(--font-display); font-weight: 700; white-space: nowrap; }
.dp-compare .dp-c-pill { display: inline-block; font-family: var(--font-mono); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; padding: .22rem .55rem; border-radius: 2px; white-space: nowrap; }
.dp-c-now { background: rgba(16,185,129,.14); color: #047857; }
.dp-c-soon { background: rgba(255,176,32,.22); color: #8a5a00; }

/* ==========================================================================
   TECNOLOGÍA — captura real
   ========================================================================== */
.dp-frame { border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid rgba(10,22,40,.14);
  box-shadow: 0 40px 80px -40px rgba(10,22,40,.5), 0 0 0 1px rgba(0,212,255,.12); transition: transform .2s ease; }
.dp-frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #0f1d33; }
.dp-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.dp-frame-bar i:nth-child(2) { background: #febc2e; } .dp-frame-bar i:nth-child(3) { background: #28c840; }
.dp-frame-bar span { margin-left: 10px; flex: 1; font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.07); padding: 4px 12px; border-radius: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-frame-view { position: relative; overflow: hidden; aspect-ratio: 2243 / 979; background: #f3f5f8; }
.dp-frame-view img { position: absolute; left: 0; top: 0; width: 100%; height: auto; max-width: none; display: block; transform-origin: 0 0; }
.dp-frame-hero .dp-frame-view { aspect-ratio: 16 / 10; }
.dp-frame-hero .dp-frame-view img { width: 180%; animation: dpKen 26s ease-in-out infinite alternate; }
@keyframes dpKen {
  0% { transform: translate(0, 0); } 30% { transform: translate(-14%, -5%); }
  60% { transform: translate(-40%, -2%); } 100% { transform: translate(-44%, -20%); }
}
#platform-shot { padding: clamp(3.5rem, 7vw, 6rem) 0; background: #f8f9fb; }
.dp-tour-head { max-width: 760px; margin-bottom: 2.5rem; }
.dp-tour { display: grid; grid-template-columns: 300px 1fr; gap: 1.5rem; align-items: start; }
.dp-tour-tabs { display: grid; gap: .5rem; }
.dp-tour-tab { text-align: left; padding: .9rem 1rem; border: 1px solid #e2e6ec; background: #fff; border-radius: 6px; position: relative; overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s; }
.dp-tour-tab b { display: block; font-family: var(--font-display); font-size: 1rem; color: #0a1628; margin-bottom: .15rem; }
.dp-tour-tab span { display: block; font-size: .8rem; color: #546070; line-height: 1.45; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s ease, opacity .3s; }
.dp-tour-tab:hover { border-color: #00D4FF; transform: translateX(3px); }
.dp-tour-tab.active { border-color: #0a1628; box-shadow: 0 12px 26px -16px rgba(10,22,40,.5); }
.dp-tour-tab.active span { max-height: 6em; opacity: 1; }
.dp-tour-tab::before { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: #00D4FF; transform: scaleX(0); transform-origin: 0 50%; }
.dp-tour-tab.active::before { animation: dpBar var(--dp-tour-ms, 5000ms) linear forwards; }
.dp-tour.paused .dp-tour-tab.active::before { animation-play-state: paused; }
.dp-tour-view { background: #eef1f6; }
/* cada captura llena el marco en altura; las más anchas se recorren de izquierda a derecha */
.dp-tour-view img.dp-shot { height: 100%; object-fit: cover; object-position: 0% 0%; opacity: 0; transition: opacity .7s ease; }
.dp-tour-view img.dp-shot.active { opacity: 1; animation: dpPan var(--dp-tour-ms, 5000ms) ease-in-out both; }
.dp-tour.paused .dp-tour-view img.dp-shot.active { animation-play-state: paused; }
@keyframes dpPan { 0%, 12% { object-position: 0% 0%; } 88%, 100% { object-position: 100% 0%; } }
.dp-tour-note { margin-top: 1.25rem; font-size: .82rem; color: #546070; text-align: center; }
#page-tech .dp-tour-cta a { display: inline-flex; align-items: center; gap: .5em; }

/* ==========================================================================
   CASOS — escenarios
   ========================================================================== */
.dp-scn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; }
.dp-scn { background: var(--paper); border: 1px solid var(--border); padding: 1.75rem; position: relative; overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; }
.dp-scn::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-deep)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s ease; }
.dp-scn:hover { transform: translateY(-5px); border-color: var(--ink); box-shadow: 0 24px 40px -28px rgba(10,22,40,.5); }
.dp-scn:hover::before { transform: scaleX(1); }
.dp-scn-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.dp-scn-n { font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--accent-deep); letter-spacing: -.03em; }
.dp-scn-tag { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); border: 1px dashed var(--muted); padding: .2rem .5rem; border-radius: 2px; }
.dp-scn h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.015em; margin-bottom: .2rem; }
.dp-scn-sector { font-family: var(--font-mono); font-size: .74rem; color: var(--muted-dark); margin-bottom: 1.1rem; }
.dp-scn dt { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-top: .9rem; }
.dp-scn dd { font-size: .9rem; line-height: 1.6; color: var(--muted-dark); margin-top: .25rem; }
.dp-scn-model { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: .72rem; color: var(--muted-dark); }
.dp-scn-model a { color: var(--ink); font-weight: 500; border-bottom: 2px solid var(--accent); }
.dp-scn-note { margin-top: 1.75rem; font-size: .8rem; color: var(--muted); max-width: 760px; }
.dp-cta-band { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; background: var(--ink); color: var(--paper); padding: clamp(1.75rem, 4vw, 3rem); border-radius: 6px; position: relative; overflow: hidden; }
.dp-cta-band::before { content: ""; position: absolute; right: -10%; top: -60%; width: 55%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(0,212,255,.3), transparent 65%); animation: dpDrift 9s ease-in-out infinite alternate; }
@keyframes dpDrift { to { transform: translate(-14%, 18%); } }
.dp-cta-band > * { position: relative; }
.dp-cta-band h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.02em; margin-bottom: .5rem; }
.dp-cta-band p { color: rgba(250,250,247,.75); max-width: 620px; }
.dp-cta-band .dp-cta-small { font-size: .82rem; margin-top: .75rem; color: rgba(250,250,247,.55); }
.dp-cta-band .btn { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.dp-cta-band .btn:hover { background: var(--paper); border-color: var(--paper); }

/* ==========================================================================
   NOTICIAS — simulador + categorías
   ========================================================================== */
.dp-sim { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; max-width: 820px; margin: 0 auto 2rem;
  padding: 1.5rem 1.75rem; border-radius: 8px; color: var(--paper); position: relative; overflow: hidden;
  background: linear-gradient(120deg, #0A1628, #0d3a5c 55%, #0099CC); background-size: 200% 200%; animation: dpSheen 10s ease infinite;
  transition: transform .25s, box-shadow .25s; }
@keyframes dpSheen { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.dp-sim:hover { transform: translateY(-3px); box-shadow: 0 26px 44px -26px rgba(0,153,204,.9); }
.dp-sim-ico { font-size: 2.6rem; line-height: 1; color: var(--accent); animation: dpSpin 14s linear infinite; }
@keyframes dpSpin { to { transform: rotate(360deg); } }
.dp-sim-eyebrow { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .25rem; }
.dp-sim h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.015em; margin-bottom: .3rem; }
.dp-sim p { font-size: .88rem; color: rgba(250,250,247,.78); line-height: 1.5; }
.dp-sim-btn { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; white-space: nowrap; background: var(--accent); color: var(--ink); padding: .7rem 1rem; border-radius: 3px; font-weight: 500; }
.dp-news-filter { display: flex; flex-wrap: wrap; gap: .5rem; max-width: 820px; margin: 0 auto 1rem; }
.dp-news-filter[hidden] { display: none; }
.dp-news-filter button { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: .5rem .85rem; border: 1px solid var(--border); border-radius: 99px; color: var(--muted-dark); transition: all .2s; }
.dp-news-filter button:hover { border-color: var(--ink); color: var(--ink); }
.dp-news-filter button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dp-cat { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 2px; background: rgba(0,153,204,.1); color: var(--accent-deep); }
.dp-cat-launch { background: rgba(255,176,32,.22); color: #8a5a00; }
.dp-cat-events { background: rgba(139,92,246,.14); color: #6d3fd6; }
.dp-cat-platform { background: rgba(16,185,129,.14); color: #047857; }
.post-card.dp-hide { display: none; }
.posts-list .post-card { animation: dpCardIn .5s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--dp-i, 0) * 60ms); }
.post-card-image img[src$="hp9.webp"] { object-fit: contain; padding: .75rem; }

/* ==========================================================================
   SOPORTE — pasos y tarjetas nuevas
   ========================================================================== */
.support-card { transition: transform .3s; }
.support-card:hover { transform: translateY(-5px); }
.support-card.dp-support-new { background: linear-gradient(140deg, var(--ink-soft), #0b3550); }
.dp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; counter-reset: s; position: relative; }
.dp-step { padding: 1.5rem 1.5rem 1.5rem 0; position: relative; }
.dp-step::before { content: ""; position: absolute; left: 0; right: 0; top: 2.6rem; height: 2px; background: var(--border); }
.dp-step::after { content: ""; position: absolute; left: 0; top: 2.6rem; height: 2px; width: 0; background: var(--accent-deep); transition: width 1s ease .2s; }
.dp-step.dp-seen::after { width: 100%; }
.dp-step-n { position: relative; z-index: 1; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; margin-bottom: 1.1rem; box-shadow: 0 0 0 6px var(--paper-warm); }
.dp-step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: .4rem; }
.dp-step p { font-size: .88rem; color: var(--muted-dark); line-height: 1.6; }

/* ==========================================================================
   NOSOTROS — cronología animada
   ========================================================================== */
.about-split { align-items: start; }
.about-split .fact-list { position: relative; padding-left: 1.5rem; }
.about-split .fact-list::before { content: ""; position: absolute; left: 0; top: .6rem; bottom: .6rem; width: 2px; background: var(--border); }
.about-split .fact-list::after { content: ""; position: absolute; left: 0; top: .6rem; width: 2px; height: calc((100% - 1.2rem) * var(--dp-line, 0)); background: linear-gradient(var(--accent), var(--accent-deep)); transition: height .4s linear; }
.about-split .fact { position: relative; }
.about-split .fact::before { content: ""; position: absolute; left: calc(-1.5rem - 5px); top: .7rem; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent-deep); z-index: 1; transition: background .3s, box-shadow .3s; }
.about-split .fact.dp-seen::before { background: var(--accent-deep); box-shadow: 0 0 0 5px rgba(0,153,204,.18); }
.about-split .fact.dp-fact-new .f-year { color: var(--ink); background: linear-gradient(transparent 62%, rgba(0,212,255,.55) 62%); display: inline-block; align-self: start; justify-self: start; }
.about-split .fact.dp-fact-new::before { animation: dpPulse 2s ease-out infinite; border-color: var(--signal); }
.dp-new-chip { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; background: var(--signal); color: #fff; padding: .15rem .45rem; border-radius: 2px; vertical-align: middle; margin-left: .35rem; font-weight: 500; }

/* ==========================================================================
   RESPONSIVE + ACCESIBILIDAD
   ========================================================================== */
@media (max-width: 900px) {
  .dp-spot { grid-template-columns: 1fr; min-height: 0; }
  .dp-spot-visual { padding: 2rem 1.5rem 1rem; min-height: 240px; }
  .dp-spot-img { max-height: 200px; }
  .dp-tour { grid-template-columns: 1fr; }
  .dp-tour-tabs { display: flex; overflow-x: auto; gap: .5rem; padding-bottom: .25rem; scrollbar-width: none; }
  .dp-tour-tabs::-webkit-scrollbar { display: none; }
  .dp-tour-tab { flex: 0 0 auto; padding: .6rem .9rem; }
  .dp-tour-tab span { display: none; }
  .dp-rail-btn { display: none; }
  .dp-sim { grid-template-columns: 1fr; text-align: left; gap: 1rem; }
  .dp-sim-btn { justify-self: start; }
  .product-grid.dp-rail .product-card { flex-basis: 78vw; }
}
@media (prefers-reduced-motion: reduce) {
  html.dp-js .dp-reveal { opacity: 1; transform: none; transition: none; }
  .product-grid .product-card, .posts-list .post-card, .product-photo, .dp-spot-img, .dp-spot-visual::before, .dp-spot-visual::after,
  .dp-frame-hero .dp-frame-view img, .dp-sim, .dp-sim-ico, .dp-cta-band::before, .nav-platform::after, .dp-soon::before, .dp-spot-anim { animation: none !important; }
  .dp-tour-view img.dp-shot, .dp-tour-view img.dp-shot.active { transition: none; animation: none; }
  .dp-frame-hero .dp-frame-view img { width: 100%; }
}

/* ==========================================================================
   r3 · HERO — gráfica de temperatura «en vivo» (simulación)
   ========================================================================== */
.dp-live {
  position: absolute; right: 3%; bottom: calc(100% - 46px); z-index: 4; width: min(330px, 62%);
  background: rgba(10,22,40,.92); color: var(--paper); border-radius: 10px; padding: 14px 16px 12px;
  box-shadow: 0 30px 60px -24px rgba(10,22,40,.75), 0 0 0 1px rgba(0,212,255,.25);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: box-shadow .4s, transform .4s;
  animation: dpLiveIn .8s cubic-bezier(.2,.7,.2,1) .5s both;
}
.dp-live[hidden] { display: none; }
@keyframes dpLiveIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.dp-live.is-alert { box-shadow: 0 30px 60px -24px rgba(239,68,68,.7), 0 0 0 2px rgba(239,68,68,.85); }
.dp-live-head { display: flex; align-items: center; gap: 8px; font-size: .74rem; }
.dp-live-head b { font-family: var(--font-mono); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-live-head i { font-style: normal; font-family: var(--font-mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(250,250,247,.55); border: 1px dashed rgba(250,250,247,.35); padding: 2px 6px; border-radius: 2px; }
.dp-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); animation: dpPulse 2s ease-out infinite; flex: none; }
.dp-live.is-alert .dp-live-dot { background: var(--temp-warm); animation: dpBlink .6s ease-in-out infinite; }
.dp-live-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 0 4px; min-height: 2.1rem; }
.dp-live-val { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; transition: color .3s; }
.dp-live.is-alert .dp-live-val { color: #ff7b7b; }
.dp-live-chip { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 3px; background: rgba(16,185,129,.18); color: #5eead4; white-space: nowrap; transition: background .3s, color .3s; }
.dp-live.is-alert .dp-live-chip { background: var(--temp-warm); color: #fff; animation: dpPop .35s ease; }
.dp-live-svg { display: block; width: 100%; height: 92px; overflow: visible; }
.dp-live-foot { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .08em; color: rgba(250,250,247,.5); text-transform: uppercase; margin-top: 2px; }

/* ==========================================================================
   r3 · PRODUCTOS — selector guiado de modelo
   ========================================================================== */
.dp-sel { background: var(--ink); color: var(--paper); border-radius: 8px; padding: clamp(1.5rem, 4vw, 3rem); position: relative; overflow: hidden; min-height: 340px; }
.dp-sel::before { content: ""; position: absolute; left: -12%; bottom: -70%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(0,212,255,.22), transparent 65%); animation: dpDrift 10s ease-in-out infinite alternate; pointer-events: none; }
.dp-sel > * { position: relative; }
.dp-sel-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.dp-sel-step { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.dp-sel-dots { display: flex; gap: 6px; }
.dp-sel-dots i { width: 34px; height: 4px; border-radius: 2px; background: rgba(250,250,247,.18); transition: background .4s; }
.dp-sel-dots i.on { background: var(--accent); }
.dp-sel-pane { animation: dpSpotIn .45s cubic-bezier(.2,.7,.2,1) both; }
.dp-sel-q { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.8vw, 2.1rem); letter-spacing: -.02em; line-height: 1.15; margin-bottom: 1.5rem; max-width: 820px; }
.dp-sel-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; max-width: 820px; }
.dp-sel-opt { text-align: left; padding: 1.25rem 1.4rem; border: 1px solid rgba(250,250,247,.22); border-radius: 6px; color: var(--paper); background: rgba(250,250,247,.04); transition: transform .2s, border-color .2s, background .2s; display: flex; gap: 1rem; align-items: center; }
.dp-sel-opt:hover, .dp-sel-opt:focus-visible { transform: translateY(-4px); border-color: var(--accent); background: rgba(0,212,255,.1); outline: none; }
.dp-sel-opt .dp-sel-ico { font-size: 1.9rem; line-height: 1; flex: none; }
.dp-sel-opt b { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: .15rem; }
.dp-sel-opt span { display: block; font-size: .82rem; color: rgba(250,250,247,.65); }
.dp-sel-nav { margin-top: 1.5rem; display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
.dp-sel-link { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; color: rgba(250,250,247,.65); border-bottom: 1px solid rgba(250,250,247,.3); padding-bottom: 2px; }
.dp-sel-link:hover { color: var(--accent); border-color: var(--accent); }
.dp-sel-res { display: grid; grid-template-columns: minmax(200px, 320px) 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; }
.dp-sel-res-img { position: relative; display: grid; place-items: center; padding: 1rem; }
.dp-sel-res-img::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(0,212,255,.35), transparent 68%); }
.dp-sel-res-img img { position: relative; max-height: 230px; object-fit: contain; filter: drop-shadow(0 22px 26px rgba(0,0,0,.45)); animation: dpFloat 6s ease-in-out infinite; }
.dp-sel-res-img .dp-soon { top: 0; left: 0; }
.dp-sel-res h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.025em; line-height: 1.05; margin: .4rem 0 .3rem; }
.dp-sel-res .dp-spot-tag { margin-bottom: .9rem; }
.dp-sel-res p { color: rgba(250,250,247,.8); line-height: 1.6; margin-bottom: 1.25rem; max-width: 560px; }
.dp-sel-res .btn { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.dp-sel-res .btn:hover { background: var(--paper); border-color: var(--paper); }
.dp-sel-res .product-badge { color: var(--accent); background: rgba(0,212,255,.1); border-color: rgba(0,212,255,.35); margin-bottom: 0; }

@media (max-width: 980px) {
  .dp-live { position: relative; right: auto; bottom: auto; width: 100%; max-width: 420px; margin: 1.75rem 0 0; }
  .dp-sel-res { grid-template-columns: 1fr; }
  .dp-sel-res-img img { max-height: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .dp-live, .dp-live-dot, .dp-sel::before, .dp-sel-pane, .dp-sel-res-img img { animation: none !important; }
}

/* ==========================================================================
   r4 · SEO — los títulos de pestaña son h2 (un solo h1 en el documento);
   conservan exactamente el aspecto que tenía «.page-hero h1»
   ========================================================================== */
.page-hero .dp-page-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 1rem 0 1rem;
}

/* El vídeo del hero es ahora el recortado (sin el texto antiguo incrustado):
   es más estrecho, así que se limita su ancho para que el hero conserve su altura. */
.hero-premium .hero-video,
.hero-premium .hero-video-fallback { max-width: 600px; }
