/* ===== Banco del Talento Digital (Home): isotipo FLOW completo + ciclo de 4 etapas ===== */
.banco { background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); }
.banco__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.banco__copy p { font-size: 1.1rem; max-width: 46ch; }
/* isotipo: el aro queda arriba a la izquierda del lienzo y el mango baja hacia la derecha, como en el logo */
.banco__iso { width: min(340px, 100%); margin-top: clamp(20px, 3vw, 36px); filter: drop-shadow(0 22px 30px rgba(0,72,170,.22)); }
.banco__iso svg { display: block; width: 100%; height: auto; transform-origin: 36.8% 36.8%; transition: transform .6s var(--ease); }
.banco:has(.cyc:hover) .banco__iso svg { transform: scale(1.03); }

.cyc-list { list-style: none; position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: clamp(48px, 6vw, 76px) clamp(44px, 5vw, 70px); padding: 8px 0; }
.cyc { position: relative; padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 36px -28px rgba(7,27,72,.5); transition: border-color .25s; }
.cyc:hover { border-color: #9CC6F5; }
.cyc h3 { margin: 0 0 6px; }
.cyc p { margin: 0; font-size: .93rem; }
.cyc__n { float: right; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: .85rem; }
/* anillo al pasar el mouse: sombras del propio círculo (nítidas y sin recortes) */
.cyc__n { position: relative; z-index: 1; box-shadow: 0 0 0 0 #fff, 0 0 0 0 var(--blue); transition: transform .3s var(--ease), background-color .3s, box-shadow .35s var(--ease); }
.cyc__n::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; pointer-events: none; border: 2px solid var(--blue); opacity: 0; }
.cyc:hover .cyc__n { transform: scale(1.08); background: var(--navy); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--blue); }
.cyc:hover .cyc__n::after { animation: cyc-ring 1.6s .45s ease-out infinite; }
@keyframes cyc-ring { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
/* orden visual del ciclo: 1 arriba izq., 2 arriba der., 3 abajo der., 4 abajo izq. */
.cyc--0 { grid-area: 1 / 1; } .cyc--1 { grid-area: 1 / 2; } .cyc--2 { grid-area: 2 / 2; } .cyc--3 { grid-area: 2 / 1; }

/* flechas curvas entre tarjetas (Atrae → Evalúa → Selecciona → Crea → Atrae); las dibuja banco.js */
.cyc-flow { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cyc-flow g { opacity: 0; transition: opacity .3s; }
.cyc-flow g.is-on { opacity: 1; }
.cyc-flow path { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cyc-flow__line { stroke-dasharray: 3 6; }
.cyc-flow g.is-on .cyc-flow__line { animation: cyc-flow 1.2s linear infinite; }
@keyframes cyc-flow { to { stroke-dashoffset: -18; } }
.cyc-list:has(.cyc--0:hover) .cyc--1, .cyc-list:has(.cyc--1:hover) .cyc--2,
.cyc-list:has(.cyc--2:hover) .cyc--3, .cyc-list:has(.cyc--3:hover) .cyc--0 { border-color: #9CC6F5; box-shadow: 0 0 0 4px rgba(0,104,232,.08), 0 16px 36px -28px rgba(7,27,72,.5); }

@media (max-width: 960px) {
  .banco__grid { grid-template-columns: 1fr; }
  .banco__copy { display: grid; justify-items: center; text-align: center; }
  .banco__iso { width: min(240px, 66%); }
  .cyc-list { gap: 12px; grid-auto-rows: auto; }
  .cyc--0, .cyc--1, .cyc--2, .cyc--3 { grid-area: auto; }
  .cyc-flow { display: none; }
}
@media (max-width: 760px) { .cyc-list { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .banco__iso svg { transition: none; }
  .banco:has(.cyc:hover) .banco__iso svg { transform: none; }
  .cyc:hover .cyc__n::after { animation: none; }
  .cyc-flow g.is-on .cyc-flow__line { animation: none; }
}

/* ===== Para todos los niveles de puestos (Home): escalera de fotos ===== */
.lva { background: #fff; }
.lva__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.lva__head h2, .lva__head p { margin: 0; }
.lva__head > p { font-size: 1.1rem; }
.lva__steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: end; }
.lva__card { position: relative; border-radius: 22px; overflow: hidden; background: var(--navy); box-shadow: 0 30px 50px -34px rgba(7,27,72,.7); transition: transform .4s var(--ease); }
.lva__card:nth-child(1) { height: 360px; --lc: #F07013; } .lva__card:nth-child(2) { height: 400px; --lc: #DF0B17; }
.lva__card:nth-child(3) { height: 440px; --lc: #1A8E2E; } .lva__card:nth-child(4) { height: 480px; --lc: #1260B0; }
.lva__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.lva__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,27,72,0) 35%, rgba(7,27,72,.88) 78%, #071B48 100%); }
.lva__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; color: #fff; }
.lva__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--lc); color: #fff; font-weight: 800; margin-bottom: 12px; }
.lva__body h3 { color: #fff; font-size: 1.2rem; margin: 0 0 6px; }
.lva__body p { color: #D6E4FA; margin: 0; font-size: .93rem; }
.lva__card:hover { transform: translateY(-6px); }
.lva__card:hover img { transform: scale(1.05); }
.lva__foot { display: flex; align-items: center; gap: 14px; margin: 26px 0 0; color: var(--muted, #435570); font-weight: 600; }
.lva__foot i { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #F07013, #DF0B17, #1A8E2E, #1260B0); }
@media (max-width: 960px) {
  .lva__head { grid-template-columns: 1fr; gap: 16px; }
  .lva__steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; align-items: stretch; scrollbar-width: thin; }
  .lva__card { flex: 0 0 min(300px, 78%); scroll-snap-align: start; height: 400px !important; }
  .lva__foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .lva__foot i { width: 100%; flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lva__card, .lva__card img { transition: none; }
  .lva__card:hover, .lva__card:hover img { transform: none; }
}
.lva__steps:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 22px; }
/* justo después de Banco del Talento: sin doble espacio entre secciones */
.banco + .lva { padding-top: clamp(16px, 2.5vw, 32px); }
