/* Home: THIS IS HOOPLA en serif estilo Locomotive con letras que cambian de tipografía
   (serif, itálica, pixelada, sans) y efecto "transparente" como el de Locomotive:
   texto blanco con mix-blend-mode difference sobre el video, sin velo oscuro detrás. */

.step.uno .fondotransparente { background: rgba(39, 38, 36, .74); }
.step.uno .fondotransparente::after { /* grano, como en Clients */
  content: ""; position: absolute; inset: 0; opacity: .2; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.step.uno .newhome h1.fijo {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 17em;
  line-height: .9;
  letter-spacing: -.01em;
  color: #fff;
  mix-blend-mode: difference;
}
.step.uno .newhome h1.fijo .hl { display: inline-block; text-align: center; }
.step.uno .newhome h1.fijo .h-serif { font-family: "Instrument Serif", Georgia, serif; font-style: normal; }
.step.uno .newhome h1.fijo .h-ital  { font-family: "Instrument Serif", Georgia, serif; font-style: italic; }
.step.uno .newhome h1.fijo .h-pixel { font-family: "Pixelify Sans", monospace; font-size: .6em; }
.step.uno .newhome h1.fijo .h-sans  { font-family: "Neue Montreal", Helvetica, Arial, sans-serif; font-size: .7em; letter-spacing: -.03em; }

/* Con menos velo, los textos chicos necesitan una sombra suave para leerse */
.step.uno .newhome .textohome,
.step.uno .newhome .textoflotado,
.step.uno .newhome .flechader { text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 0 16px rgba(0, 0, 0, .45); }

/* El header ocupa todo el ancho: que no tape el triángulo "we believe in" */
#idHeader { pointer-events: none; }
#idHeader a, #idHeader .abtnnewmenu, #idHeader button { pointer-events: auto; }
.classtriangulo { z-index: 5; }

/* ---- Botón "WATCH REEL" que sigue al mouse (estilo Basic/Dept) ---- */
.reel-cursor {
  position: fixed; top: 0; left: 0; z-index: 60;
  width: 120px; height: 120px; margin: -60px 0 0 -60px;
  border-radius: 50%; color: #fff;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .38);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .25);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
  display: flex; align-items: center; justify-content: center;
  font-family: "Neue Montreal", Helvetica, Arial, sans-serif; font-weight: 700;
  font-size: 13px; line-height: 1.15; letter-spacing: -.01em; text-transform: uppercase; text-align: center;
  pointer-events: none; opacity: 0; transform: translate3d(-200px, -200px, 0) scale(.4);
  transition: opacity .2s cubic-bezier(.28, 0, .49, 1), width .25s, height .25s;
  will-change: transform;
}
.reel-cursor.visible { opacity: 1; }
.reel-cursor .rc-label { position: relative; overflow: hidden; height: 2.3em; width: 6em; }
.reel-cursor .rc-label span { position: absolute; left: 0; width: 100%; top: 0; transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
.reel-cursor .rc-label span + span { transform: translateY(130%); }
.reel-cursor.rodar .rc-label span:first-child { transform: translateY(-110%); }
.reel-cursor.rodar .rc-label span + span { transform: translateY(0); }
.reel-cursor .rc-sub {
  position: absolute; top: calc(100% + 12px); width: 160px; left: 50%; margin-left: -80px;
  color: #fff; font-weight: 400; font-size: 11px; letter-spacing: .04em; text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}
@media (hover: hover) and (pointer: fine) {
  #secHome.activo .step.uno { cursor: none; }
}
/* En pantallas táctiles el botón queda fijo abajo a la derecha del hero */
.reel-cursor.tactil {
  pointer-events: auto; opacity: 1; transform: none; margin: 0;
  top: auto; left: auto; right: 20px; bottom: 76px; width: 92px; height: 92px; font-size: 11px;
}
.reel-cursor.tactil .rc-sub { display: none; }
body:not(.en-home) .reel-cursor.tactil { display: none; }

/* ---- Reproductor del reel ---- */
.reel-modal {
  position: fixed; inset: 0; z-index: 2147483001; background: #000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s;
}
.reel-modal.abierto { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.reel-modal video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.reel-modal .rm-cerrar {
  position: absolute; top: 24px; right: 24px; z-index: 1;
  width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .38) !important;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font: 700 11px/1 "Neue Montreal", Helvetica, Arial, sans-serif; text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .reel-cursor, .reel-cursor .rc-label span { transition: none; }
}

/* Línea descriptiva (SEO/GEO): fuera de la composición, abajo a la izquierda */
.step.uno .h1-seo { position: absolute; left: 6vw; bottom: 104px; z-index: 3; margin: 0; max-width: 24em;
  font-family: "Neue Montreal", Helvetica, Arial, sans-serif; font-size: clamp(11px, .9vw, 14px); line-height: 1.35; letter-spacing: .02em;
  color: #fff; opacity: .8; text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 0 16px rgba(0,0,0,.45); }
@media (max-width: 768px) { .step.uno .h1-seo { left: 16px; right: 16px; bottom: 70px; font-size: 11px; max-width: none; } }
