/* Portada · Opción B — video del dron con planos de concreto y franja lima (referencia hero 2) */
.heroB { position: relative; height: 100svh; min-height: 640px; padding: 0 !important; overflow: hidden; isolation: isolate; background: #1b1c1e; }
.heroB__video { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 42% 45%; }
.heroB::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, .6), transparent 55%), linear-gradient(to top, rgba(0, 0, 0, .75), transparent 50%), linear-gradient(to bottom, rgba(0, 0, 0, .5), transparent 22%); }/* Planos de concreto (textura del propio muro del video) */
/* Detalles gráficos */

.heroB__puntos { position: absolute; right: 4%; top: calc(var(--hdr) + 60px); width: 100px; height: 130px; background: radial-gradient(circle, rgba(255, 255, 255, .85) 2px, transparent 2.5px) 0 0 / 25px 26px; }
.heroB__rayas { position: absolute; right: 4%; bottom: 7%; width: 150px; height: 26px; background: repeating-linear-gradient(-60deg, var(--lima) 0 14px, transparent 14px 30px); }
.heroB__escuadra { position: absolute; left: 41%; bottom: 10.5%; width: 52px; height: 52px; border-right: 9px solid var(--lima); border-bottom: 9px solid var(--lima); }

.heroB__txt { position: absolute; left: var(--pad); bottom: clamp(32px, 7vh, 72px); display: grid; gap: 16px; max-width: 760px; }
.heroB h1 { font-size: clamp(42px, 5vw, 84px); font-weight: 700; line-height: .98; letter-spacing: -.02em; text-transform: uppercase; }
.heroB__lema { font-size: clamp(12px, 1vw, 15px); font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: #e8e9eb; }
.heroB__lema::after { content: ""; display: block; width: 62px; height: 6px; margin-top: 14px; background: var(--lima); }
.heroB__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* Entrada (una sola vez, solo CSS) */
.js .heroB .heroB__video { transform: scale(1.12); }
.js .heroB .heroB__deco { opacity: 0; transform: scale(.6); }
.js .heroB [data-b] { opacity: 0; transform: translateY(30px); }
.js .heroB.entra .heroB__video { transform: none; transition: transform 2.6s cubic-bezier(.16, 1, .3, 1); }
.js .heroB.entra .heroB__deco { opacity: 1; transform: none; transition: opacity .7s ease 1s, transform .9s cubic-bezier(.34, 1.56, .64, 1) 1s; }
.js .heroB.entra [data-b] { opacity: 1; transform: none; transition: opacity .9s ease, transform 1s cubic-bezier(.2, .8, .2, 1); }
.js .heroB.entra [data-b="1"] { transition-delay: .6s; }
.js .heroB.entra [data-b="2"] { transition-delay: .75s; }
.js .heroB.entra [data-b="3"] { transition-delay: .9s; }
.js .heroB.entra [data-b="4"] { transition-delay: 1.05s; }

@media (max-width: 1024px) {
  .pB--3, .heroB__escuadra, .heroB__cruz { display: none; }
  .heroB__video { object-position: 30% 40%; }
}
@media (max-width: 680px) {
  .heroB { min-height: 700px; }
  .heroB__puntos { width: 75px; height: 78px; }
  .heroB__rayas { display: none; }
  .heroB h1 { font-size: 11.5vw; }
  .heroB__lema { letter-spacing: .18em; font-size: 11px; }
  .heroB__acciones .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .js .heroB .heroB__video, .js .heroB .pB, .js .heroB .heroB__deco, .js .heroB [data-b] { transform: none; opacity: 1; }
}

