/* ============================================================
   index.css
   ============================================================ */
html, body { overflow: hidden; }

.hd, .edge { pointer-events: none; }
.hd :is(a, button) { pointer-events: auto; }

.edge {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 45;
}
.edge i { display: block; height: 100%; width: 0; background: var(--acc); }

.view {
  position: relative; z-index: 2;
  height: 100vh; height: 100dvh;
  display: flex;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}
.view::-webkit-scrollbar { display: none; }

.sec {
  position: relative; overflow: clip;
  flex: 0 0 100vw; height: 100%;
  scroll-snap-align: start; scroll-snap-stop: always;
  padding: 86px var(--pad) 58px;
  display: flex; flex-direction: column;
}

.rev { transition: opacity .7s var(--ez), transform .7s var(--ez); transition-delay: var(--d, 0s); }
html.js .rev { opacity: 0; transform: translateX(34px); }
html.js .sec.in .rev { opacity: 1; transform: none; }

.ghost {
  position: absolute; right: 2vw; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono); font-weight: 700;
  font-size: 44vh; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--ghost);
  pointer-events: none; user-select: none; z-index: 0;
}

.hero {
  position: relative; z-index: 2;
  flex: 1; min-height: 0;
  display: flex; flex-direction: column;
  justify-content: safe center;
}
.kick-row {
  display: flex; justify-content: space-between; gap: 20px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .26em; color: var(--mut);
  margin-bottom: 3.2vh;
}
.kick-row b { font-weight: 400; color: var(--acc); }

/* ============================================================
   ✅ REEMPLAZO DEL TEXTO ANIMADO POR LA IMAGEN neuro-tec.jpg
   ============================================================ */
.hero-logo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  /* Mantiene el mismo ancho visual que ocupaba el texto */
}
.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.hero-row {
  display: flex; align-items: flex-end;
  gap: clamp(24px, 3.5vw, 70px); margin-top: 2.6vh;
  justify-content: flex-end;
}

.gosec {
  flex: none;
  width: 52px; height: 52px;
  border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center;
  transition: border-color .25s, color .25s;
}
.gosec:hover { border-color: var(--acc); color: var(--acc); }
.gosec svg { width: 18px; height: 18px; transition: transform .25s var(--ez); }
.gosec:hover svg { transform: translateX(4px); }

.hint {
  position: absolute; left: 50%; bottom: 20px;
  transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  transition: opacity .5s;
}
.hint.off { opacity: 0; }
.hint span { font-family: var(--mono); font-size: 9px; letter-spacing: .32em; color: var(--mut); }
.hint-line {
  width: 46px; height: 1px; background: var(--line);
  overflow: hidden; position: relative; display: block;
}
.hint-line::after {
  content: ''; position: absolute;
  top: 0; left: -45%; width: 45%; height: 100%;
  background: var(--acc);
  animation: slideR 1.7s ease-in-out infinite;
}
@keyframes slideR { to { left: 110%; } }

.cross { position: absolute; width: 11px; height: 11px; z-index: 3; pointer-events: none; }
.cross::before, .cross::after { content: ''; position: absolute; background: var(--mut); }
.cross::before { left: 5px; top: 0; width: 1px; height: 11px; }
.cross::after { top: 5px; left: 0; height: 1px; width: 11px; }
.c-tl { top: 78px; left: 24px; }
.c-tr { top: 78px; right: 24px; }

@media (max-width: 759px) {
  .hd {
    padding: 14px 16px;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .hd-meta { display: none; }
  .sec { padding: 70px 18px calc(76px + env(safe-area-inset-bottom, 0px)); }
  .kick-row { flex-direction: column; gap: 6px; }
  .hint { display: none; }
  .ghost { font-size: 26vh; right: 4vw; }

  .hero { justify-content: flex-start; flex: 0 0 auto; min-height: auto; }
  .hero-row { flex-direction: column; align-items: flex-end; gap: 18px; margin-top: 3vh; }
  .gosec { width: 46px; height: 46px; }
  .gosec svg { width: 16px; height: 16px; }
}

@media (max-height: 560px) {
  .hd { padding-top: 10px; padding-bottom: 10px; }
  .sec { padding-top: 58px; padding-bottom: 42px; }
  .hint { display: none; }
  .kick-row { margin-bottom: 1vh; }
  .hero-row { margin-top: 1.2vh; gap: 12px; }
  .gosec { width: 38px; height: 38px; }
  .gosec svg { width: 14px; height: 14px; }
  .ghost { font-size: 28vh; }
}

@media (min-width: 1600px) {
  :root { --pad: clamp(32px, 3.2vw, 96px); }
  .kick-row { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .view { scroll-snap-type: x proximity; }
  html.js .rev { transition: none; opacity: 1; transform: none; }
  .hint-line::after { animation: none; }
}