/* ============ B · Proyectos / Servicios / Proceso ============ */

/* ---------- Proyectos: escena 3D fijada ---------- */
.bp { background: #000; }
.bp-escena { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #000; isolation: isolate; }
.bp-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.95; max-width: none; }
.bp-velo { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% 50%, transparent 35%, rgba(0, 0, 0, 0.55) 80%, #000 100%),
    linear-gradient(to bottom, #000 0%, transparent 16%, transparent 80%, #000 100%); }
.bp-titulo-capa { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; text-align: center; pointer-events: none; padding-inline: var(--gutter); }
.bp-etq { margin-bottom: 18px; color: rgba(233, 238, 246, 0.6); }
.bp-titulo { font-size: clamp(54px, 10.5vw, 168px); line-height: 0.92; letter-spacing: -0.045em; font-weight: 500; will-change: transform, filter, opacity; }
.bp-titulo em { display: block; letter-spacing: -0.06em; padding-bottom: 0.06em; }
.bp-lienzo { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.bp-lienzo.sin-gl { display: none; }
.bp-escena.hover .bp-lienzo { cursor: pointer; }

.bp-cursor { position: absolute; z-index: 5; left: 0; top: 0; pointer-events: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(233, 238, 246, 0.95); color: #05070c; font-size: 13px; font-weight: 500; opacity: 0; transform: translate(-50%, -50%) scale(0.6); transition: opacity 0.25s ease, transform 0.25s ease; white-space: nowrap; }
.bp-escena.hover .bp-cursor { opacity: 1; }
@media (hover: none) { .bp-cursor { display: none; } }

.bp-pie { position: absolute; z-index: 6; left: 0; right: 0; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 22px; pointer-events: none; margin-inline: auto; }
.bp-pie > * { pointer-events: auto; }
.bp-actual { display: inline-flex; align-items: center; gap: 14px; padding: 8px 18px 8px 8px; border-radius: 999px; border: 1px solid var(--linea-2); background: rgba(5, 7, 12, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); cursor: pointer; text-align: left; max-width: min(100%, 420px); transition: border-color 0.3s ease, background 0.3s ease; }
.bp-actual:hover { border-color: rgba(25, 200, 240, 0.6); background: rgba(10, 20, 34, 0.8); }
.bp-actual-num { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--texto); color: var(--fondo); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bp-actual-txt { display: grid; min-width: 0; line-height: 1.2; }
.bp-actual-txt small { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tenue); }
.bp-actual-txt b { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-progreso { flex: 1; height: 1px; background: var(--linea-2); position: relative; overflow: hidden; }
.bp-progreso i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--azul), var(--cian)); transform-origin: left; transform: scaleX(0); }
.bp-pista { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tenue); white-space: nowrap; }

/* ---------- En línea hoy: sistemas reales con captura ---------- */
.bv { padding-top: clamp(72px, 9vw, 128px); }
.bv-cab { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.bv-cab .etiqueta { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 10px; color: var(--cian); }
.bv-pulso { width: 8px; height: 8px; border-radius: 50%; background: #2ee59d; box-shadow: 0 0 0 0 rgba(46, 229, 157, 0.6); animation: bvPulso 2s ease-out infinite; }
@keyframes bvPulso { 0% { box-shadow: 0 0 0 0 rgba(46, 229, 157, 0.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(46, 229, 157, 0); } }
.bv-titulo { font-size: clamp(40px, 5.6vw, 80px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 500; }
.bv-sub { color: var(--tenue); font-size: 17px; max-width: 460px; justify-self: end; }
.bv-carrusel { position: relative; }
.bv-rejilla { --vis: 2; --gap: 20px; list-style: none; display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding: 6px 2px 14px; margin: -6px -2px 0; }
.bv-rejilla::-webkit-scrollbar { display: none; }
.bv-item { flex: 0 0 calc((100% - (var(--vis) - 1) * var(--gap)) / var(--vis)); min-width: 0; scroll-snap-align: start; }
.bv-ctrl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.bv-btn { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid var(--linea-2); background: rgba(255, 255, 255, 0.03); color: var(--texto); cursor: pointer; transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease; }
.bv-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(25, 200, 240, 0.5); }
.bv-btn:active { transform: scale(0.94); }
.bv-btn[hidden] { display: none; }
.bv-pausa .ico-play { display: none; }
.bv-pausa.pausado .ico-play { display: block; }
.bv-pausa.pausado .ico-pausa { display: none; }
.bv-puntos-nav { display: flex; align-items: center; gap: 4px; }
.bv-punto { position: relative; width: 26px; height: 26px; border: 0; background: none; cursor: pointer; padding: 0; }
.bv-punto::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; translate: -50% -50%; border-radius: 999px; background: rgba(255, 255, 255, 0.22); transition: width 0.4s cubic-bezier(.2,.7,.2,1), background 0.3s ease; }
.bv-punto[aria-current="true"]::before { width: 24px; background: linear-gradient(90deg, var(--azul), var(--cian)); }
.bv-punto:hover::before { background: rgba(255, 255, 255, 0.5); }
.bv-tarj { height: 100%; display: flex; flex-direction: column; border-radius: 20px; border: 1px solid var(--linea); background: linear-gradient(180deg, #0c121d, #080c14); overflow: hidden; transition: border-color 0.4s ease, transform 0.5s cubic-bezier(.2,.7,.2,1), box-shadow 0.5s ease; }
.bv-tarj:hover { border-color: rgba(25, 200, 240, 0.45); transform: translateY(-4px); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(25, 200, 240, 0.08) inset; }
.bv-nav { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--linea); background: rgba(255, 255, 255, 0.02); }
.bv-puntos { display: inline-flex; gap: 6px; flex: none; }
.bv-puntos i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.bv-dom { flex: 1; min-width: 0; font-family: var(--mono); font-size: 12px; color: var(--tenue); padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.bv-media { margin: 0; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #04060a; }
.bv-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transform-origin: 50% 0; transition: transform 1.1s cubic-bezier(.2,.7,.2,1), filter 0.5s ease; filter: saturate(0.92); }
.bv-tarj:hover .bv-media img { transform: scale(1.045); filter: none; }
.bv-info { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.bv-tipo { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cian); }
.bv-tipo > span:first-child { color: var(--tenue); }
.bv-vivo { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #7fe9bd; letter-spacing: 0.08em; }
.bv-vivo i { width: 6px; height: 6px; border-radius: 50%; background: #2ee59d; box-shadow: 0 0 8px #2ee59d; }
.bv-vivo-priv { color: var(--tenue); }
.bv-vivo-priv i { background: #f5b84a; box-shadow: 0 0 8px #f5b84a; }
.bv-nom { font-size: clamp(21px, 1.8vw, 26px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.bv-txt { color: #b2bccb; font-size: 15px; line-height: 1.5; }
.bv-acc { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.bv-ver { padding: 11px 18px; font-size: 14px; }
.bv-extra { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--texto); border-bottom: 1px solid var(--linea-2); padding: 4px 0; transition: color 0.3s ease, border-color 0.3s ease; }
.bv-extra:hover { color: var(--cian); border-color: var(--cian); }
.bv-privado { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px dashed var(--linea-2); font-size: 13px; color: var(--tenue); }
@media (max-width: 1000px) {
  .bv-rejilla { --vis: 2; }
  .bv-cab { grid-template-columns: 1fr; }
  .bv-sub { justify-self: start; }
}
@media (max-width: 640px) {
  /* Celular: una tarjeta y asoma la siguiente */
  .bv-rejilla { --gap: 12px; margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px))); padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); scroll-padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); }
  .bv-item { flex: 0 0 84%; }
  .bv-info { padding: 16px 16px 18px; }
  .bv-txt { font-size: 14px; }
  .bv-sub { font-size: 15px; }
  .bv-ctrl { gap: 8px; }
  .bv-punto { width: 18px; }
}

/* ---------- Todos los proyectos: mosaico donde manda la imagen ---------- */
.bp-lista { padding-top: clamp(56px, 6vw, 96px); padding-bottom: clamp(64px, 7vw, 110px); }
.bp-lista-cab { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.bp-lista-sub { color: var(--tenue); font-size: 15px; }
.bp-rejilla { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, clamp(140px, 11vw, 158px)); gap: 12px; }
/* Bento: 01 grande (2×2), 08 ancha (2×1), las demás 1×1, sin huecos */
.bp-c1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.bp-c2 { grid-column: 3; grid-row: 1; }
.bp-c3 { grid-column: 4; grid-row: 1; }
.bp-c4 { grid-column: 3; grid-row: 2; }
.bp-c5 { grid-column: 4; grid-row: 2; }
.bp-c6 { grid-column: 1; grid-row: 3; }
.bp-c7 { grid-column: 2; grid-row: 3; }
.bp-c8 { grid-column: 3 / 5; grid-row: 3; }
.bp-celda { min-width: 0; min-height: 0; perspective: 1100px; }
.bp-item { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%; position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 18px; background: #04060a; text-align: left; cursor: pointer; overflow: hidden; isolation: isolate;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07) inset; transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform 0.5s cubic-bezier(.2,.7,.2,1), box-shadow 0.5s ease; }
.bp-item-media { position: absolute; inset: -4% 0; overflow: hidden; z-index: 0; }
.bp-item-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.04); filter: saturate(0.85) brightness(0.78) contrast(1.05); transition: transform 1.4s cubic-bezier(.2,.7,.2,1), filter 0.6s ease; will-change: transform; }
.bp-c2 { --pos: 50% 42%; } .bp-c3 { --pos: 50% 55%; } .bp-c4 { --pos: 40% 40%; } .bp-c5 { --pos: 30% 40%; } .bp-c6 { --pos: 0% 30%; } .bp-c7 { --pos: 0% 20%; } .bp-c8 { --pos: 50% 26%; } .bp-c1 { --pos: 0% 0%; }
.bp-item::before { content: ""; position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset; transition: box-shadow 0.4s ease; }
.bp-item::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(4, 6, 10, 0.55) 0%, rgba(4, 6, 10, 0) 30%, rgba(4, 6, 10, 0) 45%, rgba(4, 6, 10, 0.88) 100%); }
.bp-item-brillo { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: radial-gradient(380px circle at var(--gx) var(--gy), rgba(25, 200, 240, 0.25), transparent 60%); transition: opacity 0.4s ease; mix-blend-mode: screen; }
.bp-item-top { position: absolute; z-index: 3; top: 14px; left: 16px; right: 16px; display: flex; align-items: center; gap: 10px; }
.bp-item-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--texto); font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 10px; }
.bp-item-num::after { content: ""; width: 18px; height: 1px; background: rgba(233, 238, 246, 0.45); }
.bp-item-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(233, 238, 246, 0.8); padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(5, 7, 12, 0.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bp-item-pie { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.bp-item-nom { font-size: clamp(15px, 1.2vw, 18px); font-weight: 500; line-height: 1.18; letter-spacing: -0.01em; color: var(--texto); max-width: 15em; }
.bp-c1 .bp-item-nom { font-size: clamp(22px, 2.3vw, 34px); letter-spacing: -0.025em; max-width: 11em; }
.bp-c8 .bp-item-nom { font-size: clamp(18px, 1.7vw, 24px); }
.bp-c1 .bp-item-top, .bp-c1 .bp-item-pie { left: 22px; right: 22px; } .bp-c1 .bp-item-top { top: 20px; } .bp-c1 .bp-item-pie { bottom: 20px; }
.bp-item-ver { position: absolute; z-index: 3; right: 16px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--texto); padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); white-space: nowrap; opacity: 0; transform: translateY(8px); transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.2,.7,.2,1), background 0.3s ease, color 0.3s ease; }
.bp-item-ver svg { transition: transform 0.35s ease; }
.bp-c1 .bp-item-ver, .bp-c8 .bp-item-ver { opacity: 1; transform: none; }
.bp-c1 .bp-item-ver { right: 22px; bottom: 20px; }
.bp-c1 .bp-item-pie, .bp-c8 .bp-item-pie { padding-right: 110px; }
.bp-celda:not(.bp-c1):not(.bp-c8) .bp-item-ver { top: 11px; bottom: auto; right: 12px; transform: translateY(-6px); }
.bp-item-tag { transition: opacity 0.3s ease; }
.bp-celda:not(.bp-c1):not(.bp-c8) .bp-item:hover .bp-item-tag, .bp-celda:not(.bp-c1):not(.bp-c8) .bp-item:focus-visible .bp-item-tag { opacity: 0; }
.bp-item:hover, .bp-item:focus-visible, .bp-item.vivo { box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55); }
.bp-item:hover::before, .bp-item:focus-visible::before, .bp-item.vivo::before { box-shadow: 0 0 0 1px rgba(25, 200, 240, 0.55) inset; }
.bp-item:hover .bp-item-media img, .bp-item.vivo .bp-item-media img { filter: saturate(1.05) brightness(0.95) contrast(1.05); }
.bp-item:hover .bp-item-media img { transform: scale(1.12); }
.bp-item.vivo .bp-item-media img { animation: bpKen 9s ease-in-out infinite alternate; }
@keyframes bpKen { from { transform: scale(1.04) translate3d(-2%, 1%, 0); } to { transform: scale(1.16) translate3d(2%, -2%, 0); } }
.bp-item:hover .bp-item-brillo { opacity: 1; }
.bp-item:hover .bp-item-ver, .bp-item:focus-visible .bp-item-ver, .bp-item.vivo .bp-item-ver { opacity: 1; transform: none; }
.bp-item:hover .bp-item-ver { background: var(--texto); color: var(--fondo); border-color: var(--texto); }
.bp-item:hover .bp-item-ver svg { transform: translateX(3px); }
@media (hover: none) { .bp-item:hover .bp-item-media img { transform: scale(1.04); } .bp-item-ver { opacity: 1; transform: none; } }

/* Modal */
.bp-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.bp-modal[hidden] { display: none; }
.bp-modal-fondo { position: absolute; inset: 0; background: rgba(2, 4, 8, 0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bp-modal-caja { position: relative; width: min(100%, 1040px); max-height: calc(100svh - 40px); overflow: auto; overscroll-behavior: contain; display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 24px; border: 1px solid var(--linea-2); background: linear-gradient(180deg, #0e1524, #080c14); box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(25, 200, 240, 0.06) inset; outline: none; }
.bp-modal-img { margin: 0; position: relative; min-height: 100%; background: #04060a; }
.bp-modal-img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.bp-modal-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(8, 12, 20, 0.9)); pointer-events: none; }
.bp-modal-cuerpo { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.bp-modal-cuerpo .etiqueta { color: var(--cian); }
.bp-modal-cuerpo h3 { font-size: clamp(28px, 3.2vw, 40px); }
.bp-modal-dl { display: grid; gap: 0; border-top: 1px solid var(--linea); }
.bp-modal-dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linea); }
.bp-modal-dl dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cian); line-height: 1.9; }
.bp-modal-dl dd { color: #b9c2d0; font-size: 15px; }
.bp-modal-acc { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; }
.bp-modal-nav { display: flex; gap: 8px; }
.bp-modal-flecha, .bp-modal-x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linea-2); background: rgba(255, 255, 255, 0.03); cursor: pointer; transition: background 0.25s ease, border-color 0.25s ease; }
.bp-modal-flecha:hover, .bp-modal-x:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }
.bp-modal-x { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(5, 7, 12, 0.7); }

@media (max-width: 760px) {
  /* Tablet chica y celular: 2 columnas; 01 y 08 a lo ancho */
  .bp-rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: clamp(110px, 30vw, 180px); gap: 10px; }
  .bp-c1 { grid-column: 1 / -1; grid-row: span 2; }
  .bp-c8 { grid-column: 1 / -1; grid-row: auto; }
  .bp-c2, .bp-c3, .bp-c4, .bp-c5, .bp-c6, .bp-c7 { grid-column: auto; grid-row: auto; }
}
@media (max-width: 760px) {
  .bp-pista { display: none; }
  .bp-pie { gap: 14px; }
  .bp-modal { padding: 0; place-items: end center; }
  .bp-modal-caja { grid-template-columns: 1fr; border-radius: 22px 22px 0 0; max-height: 92svh; }
  .bp-modal-img img { min-height: 0; aspect-ratio: 16 / 9; max-height: 34svh; }
  .bp-modal-img::after { background: linear-gradient(180deg, transparent 55%, rgba(14, 21, 36, 1)); }
  .bp-modal-dl > div { grid-template-columns: 1fr; gap: 4px; }
  .bp-modal-cuerpo { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 520px) {
  .bp-item { border-radius: 14px; }
  .bp-item-top { top: 10px; left: 11px; right: 11px; }
  .bp-item-pie { left: 11px; right: 11px; bottom: 10px; }
  .bp-c1 .bp-item-top { top: 14px; left: 16px; right: 16px; } .bp-c1 .bp-item-pie { left: 16px; right: 16px; bottom: 14px; }
  .bp-item-tag { display: none; }
  .bp-c1 .bp-item-tag, .bp-c8 .bp-item-tag { display: block; }
  .bp-item-nom { font-size: 13px; }
  .bp-c1 .bp-item-nom { font-size: 22px; }
  .bp-c8 .bp-item-nom { font-size: 17px; }
  .bp-item-ver { padding: 0; width: 28px; height: 28px; justify-content: center; font-size: 0; gap: 0; }
  .bp-celda:not(.bp-c1):not(.bp-c8) .bp-item-ver { top: auto; bottom: 10px; right: 10px; transform: none; }
  .bp-celda:not(.bp-c1):not(.bp-c8) .bp-item-pie { padding-right: 32px; }
  .bp-c1 .bp-item-ver, .bp-c8 .bp-item-ver { width: auto; height: auto; padding: 6px 11px; font-size: 12px; gap: 6px; right: 12px; bottom: 12px; }
  .bp-c1 .bp-item-pie, .bp-c8 .bp-item-pie { padding-right: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-item, .bp-item-media img, .bp-item-ver, .bv-tarj, .bv-media img { transition: none !important; animation: none !important; }
  .bp-item { transform: none !important; }
  .bv-pulso { animation: none; }
}

/* ---------- Servicios: escena fijada servicio por servicio ---------- */
.bs { padding-top: 0; padding-bottom: 0; background: var(--fondo); }
.bs-oculto { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bs-cab { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.bs-cab .etiqueta { grid-column: 1 / -1; }
.bs-titulo { font-size: clamp(40px, 5.6vw, 80px); }
.bs-intro { color: var(--tenue); font-size: 18px; max-width: 460px; justify-self: end; }

/* Base (móvil, movimiento reducido, sin JS): tarjetas grandes que se apilan */
.bs-nav { display: none; }
.bs-escenario { display: grid; gap: 18px; }
.bs-art { position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); height: min(calc(100svh - 110px), 760px); min-height: 520px; border-radius: 24px; overflow: hidden; border: 1px solid var(--linea-2); background: #05070c; box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.6); transform-origin: 50% 0; }
.bs-media { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.bs-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.bs-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5, 7, 12, 0) 25%, rgba(5, 7, 12, 0.82) 58%, rgba(5, 7, 12, 0.97) 100%); }
.bs-info { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; }
.bs-cont { font-family: var(--mono); font-size: 13px; color: var(--tenue); margin-bottom: 10px; }
.bs-cont b { color: var(--cian); font-weight: 500; }
.bs-info h3 { font-size: clamp(28px, 3.4vw, 50px); margin-bottom: 12px; }
.bs-txt { color: #c3cad6; font-size: 16px; max-width: 470px; }
.bs-puntos { list-style: none; display: grid; gap: 8px; margin-top: 16px; }
.bs-puntos li { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--texto); }
.bs-puntos li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cian); box-shadow: 0 0 10px var(--cian); flex: none; }
.bs-ver { margin-top: 20px; }

/* Escritorio con movimiento: escena fijada */
.bs.bs-pin .bs-escena { height: 100vh; height: 100svh; padding: 100px 0 28px; }
.bs.bs-pin .bs-rejilla { display: grid; grid-template-columns: minmax(240px, 300px) 1fr; gap: clamp(28px, 4vw, 56px); height: 100%; }
.bs.bs-pin .bs-nav { display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.bs-lista { list-style: none; display: grid; gap: 2px; }
.bs-paso { position: relative; width: 100%; display: flex; align-items: baseline; gap: 14px; padding: 11px 0 11px 18px; background: none; border: 0; text-align: left; cursor: pointer; font-size: 17px; line-height: 1.25; color: var(--tenue); transition: color 0.35s ease, transform 0.35s ease; }
.bs-paso span { font-family: var(--mono); font-size: 12px; color: rgba(139, 150, 168, 0.6); transition: color 0.35s ease; }
.bs-paso::before { content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 0; translate: 0 -50%; background: linear-gradient(var(--cian), var(--azul)); border-radius: 2px; transition: height 0.4s ease; }
.bs-paso:hover { color: var(--texto); }
.bs-paso.activo { color: var(--texto); transform: translateX(6px); }
.bs-paso.activo span { color: var(--cian); }
.bs-paso.activo::before { height: 70%; }
.bs-barra { height: 2px; background: var(--linea-2); border-radius: 2px; overflow: hidden; }
.bs-barra i { display: block; height: 100%; background: linear-gradient(90deg, var(--azul), var(--cian)); transform-origin: left; transform: scaleX(0); }
.bs.bs-pin .bs-escenario { position: relative; display: block; height: 100%; border-radius: 28px; overflow: hidden; border: 1px solid var(--linea-2); background: #05070c; }
.bs.bs-pin .bs-art { position: absolute; inset: 0; top: 0; height: auto; min-height: 0; border: 0; border-radius: 0; box-shadow: none; }
.bs.bs-pin .bs-art::after { background: linear-gradient(90deg, rgba(5, 7, 12, 0.94) 0%, rgba(5, 7, 12, 0.7) 38%, rgba(5, 7, 12, 0) 70%), linear-gradient(0deg, rgba(5, 7, 12, 0.6), transparent 40%); }
.bs.bs-pin .bs-info { left: clamp(28px, 3.5vw, 52px); right: auto; bottom: clamp(28px, 3.5vw, 52px); max-width: 500px; }
.bs.bs-pin .bs-txt { font-size: 17px; }

@media (max-width: 760px) {
  .bs-cab { grid-template-columns: 1fr; }
  .bs-intro { justify-self: start; font-size: 16px; }
  .bs-art { min-height: 0; height: calc(100svh - 104px); max-height: 700px; border-radius: 22px; }
  .bs-txt { font-size: 15px; }
  .bs-puntos li { font-size: 13.5px; }
}
@media (max-width: 760px) and (max-height: 700px) { .bs-puntos { display: none; } }

/* ---------- Capacitación ---------- */
.bk { padding-top: clamp(72px, 9vw, 140px); background: var(--fondo); }
.bk-cab { text-align: center; max-width: 940px; margin: 0 auto clamp(36px, 5vw, 56px); }
.bk-cab .etiqueta { margin-bottom: 18px; }
.bk-titulo { font-size: clamp(40px, 6vw, 88px); }
.bk-titulo em { display: block; }
.bk-intro { color: var(--tenue); font-size: 18px; max-width: 640px; margin: 22px auto 0; }
.bk-escena { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.bk-marco { position: absolute; inset: 0; clip-path: inset(6% 6% round 28px); background: #05070c; will-change: clip-path; }
.bk-video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform-origin: 50% 50%; }
.bk-velo { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 7, 12, 0.78) 0%, rgba(5, 7, 12, 0.25) 50%, transparent 75%), linear-gradient(0deg, rgba(5, 7, 12, 0.65), transparent 45%); }
.bk-frases { position: absolute; left: max(var(--gutter), 8%); bottom: 14%; right: var(--gutter); display: grid; gap: 14px; pointer-events: none; }
.bk-frase { font-size: clamp(26px, 3.4vw, 52px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; max-width: 640px; }
.bk-frase .etiqueta { display: block; margin-bottom: 12px; color: rgba(233, 238, 246, 0.7); }
.bk-frase em { display: block; }
.bk-escena.bk-anim .bk-frases { gap: 0; }
.bk-escena.bk-anim .bk-frase { position: absolute; left: 0; bottom: 0; font-size: clamp(36px, 5.4vw, 84px); opacity: 0; }
.bk-reloj { position: absolute; left: 50%; bottom: 4%; width: min(240px, 50vw); height: 2px; translate: -50% 0; background: rgba(255, 255, 255, 0.14); border-radius: 2px; overflow: hidden; opacity: 0; }
.bk-escena.bk-anim .bk-reloj { opacity: 1; }
.bk-reloj i { display: block; height: 100%; background: linear-gradient(90deg, var(--azul), var(--cian)); transform-origin: left; transform: scaleX(0); }

.bk-modos { padding-block: clamp(72px, 9vw, 130px) clamp(40px, 5vw, 72px); }
.bk-modos-cab { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.bk-sub { font-size: clamp(30px, 3.8vw, 54px); max-width: 720px; }
.bk-tarjetas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bk-modo { position: relative; padding: 12px 12px 26px; border-radius: 24px; border: 1px solid var(--linea); background: linear-gradient(180deg, #0c121e, #070a11); }
.bk-foto { margin: 0 0 22px; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: #05070c; }
.bk-foto img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; will-change: transform; }
.bk-num { position: absolute; top: 26px; left: 26px; font-family: var(--mono); font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(5, 7, 12, 0.7); border: 1px solid var(--linea-2); color: var(--cian); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bk-modo h4 { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; margin: 0 10px 10px; }
.bk-modo p { color: var(--tenue); font-size: 15px; margin: 0 10px; }

.bk-incluye { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 28px clamp(32px, 5vw, 80px); padding: clamp(28px, 4vw, 52px); border-radius: 28px; border: 1px solid var(--linea-2); background: radial-gradient(60% 90% at 0% 0%, rgba(25, 200, 240, 0.10), transparent 70%), #080c14; }
.bk-incluye-txt { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; letter-spacing: -0.02em; margin-top: 14px; }
.bk-incluye-txt em { display: block; font-size: 0.8em; margin-top: 6px; }
.bk-lista { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.bk-lista li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 4px; align-items: start; }
.bk-ico { grid-row: 1 / 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; border: 1px solid var(--linea-2); color: var(--cian); background: radial-gradient(circle at 30% 20%, rgba(25, 200, 240, 0.18), rgba(255, 255, 255, 0.02) 70%); }
.bk-ico svg { width: 22px; height: 22px; }
.bk-lista b { font-weight: 500; font-size: 17px; }
.bk-lista span:not(.bk-ico) { color: var(--tenue); font-size: 14.5px; }
.bk-cta { grid-column: 1 / -1; display: flex; gap: 12px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--linea); padding-top: 26px; }

@media (max-width: 900px) {
  .bk-tarjetas { grid-template-columns: 1fr; }
  .bk-incluye { grid-template-columns: 1fr; }
  .bk-foto { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .bk-intro { font-size: 16px; }
  .bk-lista { grid-template-columns: 1fr; gap: 20px; }
  .bk-marco { clip-path: inset(10% 4% round 22px); }
  .bk-velo { background: linear-gradient(0deg, rgba(5, 7, 12, 0.9) 0%, rgba(5, 7, 12, 0.35) 55%, transparent 80%); }
  .bk-frases { bottom: 16%; }
  .bk-cta .boton { width: 100%; justify-content: center; }
}

/* ---------- Proceso: tarjetas apiladas ---------- */
.bc { padding-block: clamp(48px, 6vw, 96px) clamp(80px, 10vw, 140px); background: var(--fondo); }
.bc-cab { text-align: center; max-width: 820px; margin: 0 auto clamp(48px, 7vw, 88px); }
.bc-cab .etiqueta { margin-bottom: 18px; }
.bc-titulo { font-size: clamp(40px, 5.6vw, 80px); }
.bc-intro { color: var(--tenue); font-size: 18px; margin-top: 20px; }
.bc-pila { list-style: none; display: grid; gap: 28px; }
.bc-tarjeta { position: sticky; top: calc(96px + var(--i) * 18px); display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 56px); align-items: center; min-height: min(560px, calc(100svh - 160px)); padding: clamp(24px, 3.5vw, 44px); border-radius: 28px; border: 1px solid var(--linea-2); background: linear-gradient(160deg, #101827 0%, #0a0f18 55%, #070a11 100%); box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.55); transform-origin: 50% 0%; will-change: transform; }
.bc-tarjeta::before { content: ""; position: absolute; left: 10%; right: 10%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(25, 200, 240, 0.7), transparent); }
.bc-sombra { position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: 0; pointer-events: none; }
.bc-num { display: block; font-family: var(--mono); font-weight: 500; font-size: clamp(56px, 7vw, 104px); letter-spacing: -0.06em; line-height: 0.9; color: transparent; -webkit-text-stroke: 1px rgba(25, 200, 240, 0.75); margin-bottom: 18px; }
.bc-texto h3 { font-size: clamp(32px, 3.6vw, 52px); margin-bottom: 14px; }
.bc-texto > p { color: #b9c2d0; font-size: 18px; max-width: 420px; }
.bc-liga { color: var(--cian); margin-left: 6px; white-space: nowrap; }
.bc-liga:hover { text-decoration: underline; }
.bc-puntos { list-style: none; margin-top: 26px; display: grid; gap: 10px; }
.bc-puntos li { display: flex; gap: 12px; align-items: center; color: var(--tenue); font-size: 15px; }
.bc-puntos li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cian); box-shadow: 0 0 10px var(--cian); flex: none; }
.bc-boton { margin-top: 28px; }
.bc-visual { margin: 0; height: 100%; min-height: 280px; border-radius: 18px; overflow: hidden; border: 1px solid var(--linea); position: relative; background: #05070c; }
.bc-visual img { width: 100%; height: 100%; object-fit: cover; }
.bc-mapa { display: grid; place-items: center; background: radial-gradient(80% 80% at 70% 30%, rgba(47, 107, 255, 0.14), transparent 70%), #060910; }
.bc-mapa svg { width: 100%; height: auto; }
.bc-ruta { stroke-dasharray: 700; stroke-dashoffset: 700; }
.bc-pulso { transform-origin: 336px 200px; animation: bcPulso 2.2s ease-out infinite; }
@keyframes bcPulso { from { transform: scale(0.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

@media (max-width: 860px) {
  .bc-tarjeta { grid-template-columns: 1fr; top: calc(78px + var(--i) * 12px); min-height: 0; gap: 20px; padding: 20px; border-radius: 22px; }
  .bc-visual { order: -1; min-height: 0; aspect-ratio: 16 / 9; height: auto; }
  .bc-num { font-size: 56px; margin-bottom: 8px; }
  .bc-texto > p { font-size: 16px; }
  .bc-puntos { margin-top: 16px; gap: 8px; }
  .bc-puntos li { font-size: 14px; }
  .bc-intro { font-size: 16px; }
}
@media (max-width: 860px) and (max-height: 760px) {
  .bc-puntos { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bc-ruta { stroke-dashoffset: 0; }
  .bc-pulso { animation: none; opacity: 0; }
  .bs-paso, .bp-item, .bp-item img { transition: none; }
}

/* v3: servicios entra directo con las tarjetas; transiciones sin huecos */
.bs-escena { position: relative; z-index: 2; background: var(--fondo); }
.bs:not(.bs-pin) .bs-escena { padding-top: clamp(24px, 4vw, 48px); }
.bs-escenario, .bs-rejilla { transform-origin: 50% 30%; will-change: transform; }
