/* Propuesta visual: logo limpio y presentación animada sobre el operador. */
.hero-bg {
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 35%, rgba(255,255,255,.2) 60%, rgba(3,14,22,.1) 100%),
    linear-gradient(0deg, rgba(2,17,27,.45), transparent 56%),
    url('assets/hero-operador-holografico-bordado-v2.png') 72% center / cover;
  clip-path: inset(0 52% 0 0);
  animation:
    hero-image-reveal 2.4s cubic-bezier(.45,0,.2,1) forwards,
    operator-focus 13s ease-in-out 2.4s infinite alternate;
}

.hero-reveal-bar {
  position: absolute;
  z-index: 8;
  top: 102px;
  bottom: 0;
  left: 0;
  width: clamp(70px, 7vw, 145px);
  pointer-events: none;
  opacity: 0;
  transform: translateX(-110%);
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.72) 32%, #fff 70%, rgba(255,255,255,.15) 100%);
  box-shadow: 18px 0 45px rgba(255,255,255,.72), -12px 0 30px rgba(255,255,255,.34);
  animation: hero-bar-sweep 3.2s cubic-bezier(.72,0,.2,1) forwards;
  display: none;
}

.hero-neural-trail {
  position: absolute;
  z-index: 7;
  top: 102px;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  background-image:
    radial-gradient(circle at 12% 24%, #fff 0 2px, #12d8f2 3px 6px, transparent 7px),
    radial-gradient(circle at 29% 72%, #fff 0 2px, #e20c17 3px 6px, transparent 7px),
    radial-gradient(circle at 51% 36%, #fff 0 2px, #12d8f2 3px 6px, transparent 7px),
    radial-gradient(circle at 73% 68%, #fff 0 2px, #12d8f2 3px 6px, transparent 7px),
    linear-gradient(90deg, transparent 9%, rgba(17,218,243,.75) 9% 9.25%, transparent 9.25% 28%, rgba(255,255,255,.55) 28% 28.18%, transparent 28.18% 54%, rgba(226,12,23,.7) 54% 54.24%, transparent 54.24%),
    linear-gradient(0deg, transparent 17%, rgba(17,218,243,.68) 17% 17.28%, transparent 17.28% 42%, rgba(255,255,255,.48) 42% 42.2%, transparent 42.2% 71%, rgba(17,218,243,.7) 71% 71.25%, transparent 71.25%),
    url('assets/circuit-neural-nav.png');
  background-size: 330px 280px,420px 340px,470px 310px,380px 360px,260px 210px,280px 240px,cover;
  background-position: 0 0,40px 20px,80px -10px,120px 30px,0 0,0 0,center;
  mix-blend-mode: screen;
  filter: brightness(1.32) contrast(1.18) saturate(1.15) drop-shadow(0 0 8px rgba(13,211,239,.9));
  mask-image: linear-gradient(90deg, rgba(0,0,0,.2), #000 18%, #000 82%, rgba(0,0,0,.3));
  animation: none;
  display: none;
}

.hero-brand-stage {
  width: min(690px, 100%);
  height: auto;
  min-height: 0;
  display: block;
  overflow: visible;
  background: transparent;
  margin: 0 0 1.6rem;
}

.hero-brand-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(8,18,25,.16));
}

.brand-disciplines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.55rem, 1.4vw, 1.15rem);
  margin: .2rem 3% 0 23%;
  color: #101923;
  font: 800 clamp(.58rem, 1vw, .78rem)/1 Inter, sans-serif;
  letter-spacing: .13em;
  white-space: nowrap;
}

.brand-disciplines span {
  opacity: 0;
  transform: translateY(-13px);
  filter: blur(5px);
  animation: discipline-in .72s cubic-bezier(.2,.8,.2,1) forwards;
}

.brand-disciplines span:nth-of-type(1) { animation-delay: .35s; }
.brand-disciplines span:nth-of-type(2) { animation-delay: 1.05s; }
.brand-disciplines span:nth-of-type(3) { animation-delay: 1.75s; }

.brand-disciplines i {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #e20c17;
  box-shadow: 0 0 10px rgba(226,12,23,.45);
  opacity: 0;
  transform: scale(0);
  animation: separator-in .4s ease-out 2.35s forwards;
}

.hero-copy {
  position: relative;
  z-index: 4;
  background: linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.83) 78%, transparent);
  backdrop-filter: none;
}

.hero-tech-layer {
  position: absolute;
  z-index: 1;
  inset: 102px 0 0 48%;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(rgba(13,207,237,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,207,237,.09) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 24%, #000 92%, transparent);
}

.hero-tech-layer:before,
.hero-tech-layer:after {
  content: '';
  position: absolute;
  border: 1px solid rgba(17,220,244,.62);
  box-shadow: 0 0 24px rgba(17,220,244,.18), inset 0 0 20px rgba(17,220,244,.08);
  animation: hud-pulse 3.8s ease-in-out infinite;
}

.hero-tech-layer:before { width: 210px; height: 210px; right: 16%; top: 18%; }
.hero-tech-layer:after { width: 310px; height: 170px; right: 8%; bottom: 14%; animation-delay: -1.4s; }

.tech-scan {
  position: absolute;
  inset: 0 auto 0 -18%;
  width: 18%;
  background: linear-gradient(90deg, transparent, rgba(24,221,244,.2), rgba(255,255,255,.42), transparent);
  filter: blur(1px);
}

.tech-scan-intro { animation: tech-scan 2.4s cubic-bezier(.45,0,.2,1) 1 forwards; }
.tech-scan-loop { opacity:0; animation: tech-scan-loop 7.5s linear 2.4s infinite; }

.tech-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #0ed2ed;
  box-shadow: 0 0 0 7px rgba(14,210,237,.14), 0 0 22px #0ed2ed;
  animation: node-pulse 2.4s ease-in-out infinite;
}

.tech-node:after { content: ''; position: absolute; left: 10px; top: 4px; width: 120px; height: 1px; background: linear-gradient(90deg, #0ed2ed, transparent); }
.tech-node-a { right: 36%; top: 28%; }
.tech-node-b { right: 18%; top: 54%; animation-delay: -.8s; }
.tech-node-c { right: 42%; bottom: 18%; animation-delay: -1.6s; }

.tech-status {
  position: absolute;
  right: 4vw;
  top: 2rem;
  color: #d7fbff;
  background: rgba(2,20,31,.76);
  border-left: 3px solid #13d9f2;
  padding: .55rem .8rem;
  font: 700 .6rem/1 Inter, sans-serif;
  letter-spacing: .18em;
}

@keyframes operator-focus {
  0% { transform: scale(1.01) translate3d(0,0,0); filter: brightness(.92) saturate(.95); }
  45% { filter: brightness(1.04) saturate(1.08); }
  100% { transform: scale(1.075) translate3d(-1.2%,-.35%,0); filter: brightness(.96) saturate(1.03); }
}
@keyframes hero-image-reveal {
  0% { clip-path: inset(0 52% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}
@keyframes hero-bar-sweep {
  0% { opacity: 1; transform: translateX(-110%); }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { opacity: 0; transform: translateX(calc(100vw + 10%)); visibility: hidden; }
}
@keyframes neural-trail-pass {
  0% { opacity: 0; clip-path: inset(0 100% 0 0); background-position: 0 0; }
  8% { opacity: .72; }
  52% { opacity: .7; clip-path: inset(0 28% 0 0); }
  67% { opacity: .62; clip-path: inset(0 0 0 0); }
  100% { opacity: 0; clip-path: inset(0 0 0 0); background-position: 52px -24px; visibility: hidden; }
}
@keyframes tech-scan { to { transform: translateX(660%); } }
@keyframes tech-scan-loop {
  0% { opacity:0; transform:translateX(-110%); }
  8% { opacity:.42; }
  88% { opacity:.42; }
  100% { opacity:0; transform:translateX(660%); }
}
@keyframes hud-pulse { 50% { opacity: .35; transform: scale(1.035); } }
@keyframes node-pulse { 50% { transform: scale(1.3); opacity: .65; } }
@keyframes discipline-in { to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes separator-in { to { opacity: 1; transform: scale(1); } }

@media (max-width: 980px) {
  .hero-tech-layer { inset: 88px 0 0 35%; opacity: .72; }
  .hero-reveal-bar { top: 88px; }
  .hero-neural-trail { top: 88px; }
  .hero-brand-stage { width: min(620px, 100%); }
}

@media (max-width: 620px) {
  .hero-bg { background: linear-gradient(rgba(255,255,255,.9),rgba(255,255,255,.72)),url('assets/hero-operador-holografico-bordado-v2.png') 68% center/cover; }
  .hero-tech-layer { inset: 78px 0 0 0; opacity: .35; }
  .hero-reveal-bar { top: 78px; width: 72px; }
  .hero-neural-trail { top: 78px; opacity: .45; }
  .hero-tech-layer:before,.hero-tech-layer:after,.tech-status { display:none; }
  .hero-brand-stage { width: 100%; margin-bottom: 1rem; }
  .brand-disciplines { margin-left: 0; margin-right: 0; gap: .45rem; font-size: .48rem; letter-spacing: .08em; }
  .brand-disciplines i { width: 4px; height: 4px; flex-basis: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation:none!important; clip-path:inset(0)!important; }
  .hero-reveal-bar { display:none!important; }
  .hero-neural-trail { display:none!important; }
  .hero-tech-layer *,.hero-tech-layer:before,.hero-tech-layer:after { animation: none!important; }
}
