

/* ==========================================================================
   🏁 CONSOLA INSTRUMENTACIÓN HERO - COREOGRAFÍA POLESTAR LABS / SAVEE
   ========================================================================== */

/* Contenedor en paralelo por encima del video de fondo */
.hero-container {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column-reverse; 
  align-items: center;
  justify-content: center;
  gap: 3rem;           
  width: 100%;
  max-width: 1400px;
  margin: 0 0;
  padding: 2rem 1.5rem; 
}

/* Forzar la alineación del texto al centro */
.hero-content {
  flex: 1.2;
  margin-top: 5%;
  width: 100% !important;
  
  /* 🚀 RETORNO SEGURO: Estructura vertical limpia para no romper títulos ni logos */
  display: flex !important;
  flex-direction: column !important;
}

/* ==========================================================================
   🤖 TELEMETRÍA DE MICRO-LABELS (BLOQUE TÁCTICO OSCURO ESTILO HAMCUS)
   ========================================================================== */
/* TEXTO SUPERIOR: "Art Direction, Brand Architecture..." */
.hero-kicker-thin {
  /* 🚀 EL INYECTOR DE PLACA: Convertimos el kicker en un bloque rígido e independiente */
  display: inline-block !important; 
  align-self: flex-start !important; /* Lo ancla firmemente a la izquierda */
  text-align: center !important; /* Centra el micro-texto dentro de su propia caja */
  
  font-family: "Anonymous Pro", monospace !important;
  font-size: 0.65rem !important; /* Un poco más pequeño para look de código puro */
  font-weight: 400 !important;       
  font-style: normal;
  text-transform: uppercase !important; 
  
  /* 🎛️ PALETA INDUSTRIAL HAMCUS: Caja negra con texto gris claro */
  background-color: #000000 !important;
 
  color: #cccccc !important; 
  
  /* Un borde milimétrico oscuro para definir la geometría del bloque sobre el fondo */
  border: 1px solid #222222 !important; 
  
  /* Espaciado interno para que parezca una cinta Dymo o etiqueta de equipaje militar */
  padding: 6px 24px !important; /* Más aire lateral */
  clip-path: polygon(8px 0%, 100% 0%, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0% 100%, 0% 8px) !important; 

  /* Espaciado de letras expandido de interfaz de radar */
  letter-spacing: 0.18em !important; 
  margin-top: 0 !important;
  margin-bottom: 0rem !important; /* Separación limpia antes de chocar con el título */
  
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  text-shadow: none !important; /* Eliminamos sombras de texto viejas */
}

/* ==========================================================================
   🛸 CONTENEDOR POLIGONAL DOBLE BISEL (MANTIENE TU GRADIENTE NEÓN ABAJO)
   ========================================================================== */
.hero-tagline-thin {
  display: inline-flex !important; 
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  align-self: flex-end !important;
  text-align: right !important;
  
  font-family: "Anonymous Pro", monospace !important;
  font-weight: 200 !important; 
  font-style: normal !important;
  font-size: 0.72rem !important;
  text-transform: uppercase !important; 
  
  color: #0b0f12 !important; 
  letter-spacing: 0.08em !important;
  
  padding: 5px 14px !important; 
  margin-top: 30px !important;
  margin-bottom: 50px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);

  background: #CDFA1B;
  background: linear-gradient(270deg, rgba(205, 250, 27, 1) 0%, rgba(196, 194, 194, 1) 100%);

  clip-path: polygon(14px 0%, 100% 0%, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0% 100%, 0% 14px) !important;
  border: none !important; 
}

/* Pseudo-elemento del borde del tagline (se mantiene intacto) */
.hero-tagline-thin::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  
  background: #CDFA1B;
  background: linear-gradient(270deg, rgba(205, 250, 27, 1) 0%, rgba(196, 194, 194, 1) 100%);
  
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box !important;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box !important;
  mask-composite: exclude !important;
  -webkit-mask-composite: destination-out !important;
  border: 1px solid transparent !important;
  
  clip-path: polygon(14px 0%, 100% 0%, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0% 100%, 0% 14px) !important;
  pointer-events: none !important;
  z-index: 1;
}

/* ==========================================================================
   🎯 TÍTULO MONUMENTAL MONOLÍTICO (COMPRESIÓN ULTRA-SAVEE)
   ========================================================================== */
/* TÍTULO PRINCIPAL: "Beyond the Ordinary." */
.hero-title-bold {
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  text-align: left;
  font-weight: 800 !important;
  font-size: clamp(2rem, 4vw + 1.2rem, 4.2rem) !important; 
  color: #ffffff !important;
  padding: 0 14rem;
  margin-bottom: 0px !important;
  
  /* 🚀 EL DETONADOR SAVEE: Tracking ultra-negativo agresivo. Las letras se muerden 
     entre sí eliminando el aire muerto y convirtiendo tu frase en un bloque sólido industrial */
  letter-spacing: -0.07em !important;
  line-height: 0.95 !important; /* Bloque denso de alta costura */
}

/* ==========================================================================
   💎 AJUSTE DE BOTONES CÁPSULA (UNIFICACIÓN EDITORIAL)
   ========================================================================== */
.hero-media {
  flex: 0.8;
  display: flex;
  justify-content: center;
  width: 100%;
  z-index: 1 !important;
  border-radius: 24px !important;
}

.video-base-intro {
  z-index: 1 !important;
  opacity: 1 !important;
  filter: none !important;
}

/* 🚀 LA CORRECCIÓN MAESTRA DE ALTURA:
   En lugar de buscar el height del padre que está en auto, le ordenamos al canvas 
   que se clave de forma absoluta al techo, piso y extremos de la caja .hero-poster-placeholder.
   Esto fuerza a que el canvas mida exactamente el mismo alto vertical (estilo TikTok) que tu video. */
.hero-media canvas {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 2 !important;
  border-radius: 24px !important; /* Mantiene el marco curvo impecable de tu foto */
}

/* Caja del anuncio publicitario morado de la derecha */
.hero-poster-placeholder {
  width: 100%;
  max-width: 400px;
  height: 100% !important; /* 🚀 CAMBIO CLAVE: Forzamos el llenado total para dar base al canvas */
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.hero-reel-video {
  width: 100%;
  height: 100% !important;
  object-fit: cover !important; /* Asegura que la modelo llene la ventana vertical sin deformarse */
}


/* ==========================================================================
   5. COMPONENTES (Botones de acción reparados y alineados)
   ========================================================================== */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px; 
  align-items: center;
}


/* ==========================================================================
   3. SECCIÓN HERO CON FONDO LÍQUIDO ANIMADO (Versión Limpia Premium)
   ========================================================================== */
.video-hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;          /* Ocupa el 100% de la ventana visual */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent !important; /* 🚀 QUITAMOS EL FONDO NEGRO: Ahora se fusiona con el fondo */
  border: none !important;
   z-index: 2;
    margin: 0 !important; 
     height: 100vh;
  scroll-snap-align: start;      /* El imán se engancha aquí cuando estás arriba */
  scroll-snap-stop: always;      /* Evita que el usuario se pase de largo con un scroll rápido */

}



/* Re-estabilizamos las alturas rígidas para que el imán sepa dónde frenar */
.video-hero-section,
.main-page-content {
  overflow: visible !important; /* Libera el trackpad para poder subir y bajar libremente */
}



/* BOTÓN 1: "Design Your Solution" (Oscuro / Esmerilado) */
.btn-quote-dark {
  /* 🚀 AJUSTE 4: Sincronizamos su ADN tipográfico con el balance del lienzo. 
     Se remueve la letra estirada vieja y se asienta tu Helvetica Neue en peso Medium */
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  letter-spacing: -0.02em !important;
  font-size: 13px !important;
  font-weight: 500 !important; /* Peso refinado de agencia */
  color: #ffffff;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 50px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08) !important; 
  
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: none !important; 
  box-shadow: 0 4px 15px rgba(0,0,0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-quote-dark:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 6px 20px rgba(255,255,255, 0.15);
  transform: translateY(-3px) !important;
}

/* BOTÓN 2: "Schedule a Call" (Gris Sólido Premium) */
.btn-quote-bright {
  /* 🚀 AJUSTE 5: Homologamos la tipografía en el botón brillante */
  font-family: 'Helvetica Neue', Arial, sans-serif !important;
  letter-spacing: -0.02em !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #0b0f12 !important; /* El color de tu fondo negro para el texto interno */
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 50px;
  cursor: pointer;
  
  /* Mutación a un degradado metálico plano estilo Polestar */
  background: #ffffff !important;
  border: 1px solid #ffffff !important; 
  box-shadow: 0 4px 15px rgba(0,0,0, 0.3);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-quote-bright:hover {
  background: #cdfa1b !important; /* Tu verde neón se enciende de golpe en el hover */
  border-color: #cdfa1b !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(230, 255, 0, 0.25);
}


.trusted-brands { 
  margin-top: 20vh; 
  margin-left: auto; 
  margin-right: auto; 
  width: 70vh; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
}

/* ==========================================================================
   👽 ERRAK-I STUDIO // CAROUSEL TRACK SHIELD (ANTI-REPETICIÓN)
   ========================================================================== */

/* Tu clase original de visor con máscara degradada (INTACTA) */
.brands-carousel { 
  overflow-x: hidden; 
  scroll-behavior: smooth; 
  min-width: 0;
  flex: 1; 
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000000 15%, #000000 85%, transparent 100%); 
  mask-image: linear-gradient(to right, transparent 0%, #000000 15%, #000000 85%, transparent 100%); 
}

/* Forzamos un canal horizontal que no colapse jamás su anchura */
.carousel-track {
  display: flex !important;
  flex-direction: row !important;      /* Bloquea flujo horizontal estricto */
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 3rem !important;                 /* Espaciado elegante entre marcas */
  width: max-content !important;        /* Impide que el contenedor colapse */
  will-change: transform !important;
  
  /* 🌟 APAGÓN DE ANIMACIONES DE CSS: Matamos cualquier keyframe viejo paralelo */
  animation: none !important;
  -webkit-animation: none !important;
}

/* 🌟 PROTECCIÓN ANTI-APLASTAMIENTO PARA TUS SVG */
.carousel-track > .brand-logo-item {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;             /* Prohibido encogerse */
             /* Ancho real exacto que arrojó tu telemetría */
  min-width: 100px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.carousel-track svg,
.carousel-track img {
   width: 100px !important;  
  height: auto !important;
  display: block !important;
}

.brands-title { 
    font-family: "Anonymous Pro", monospace;
  color: #cdfa1b; 
  font-size: 0.75rem; 
  font-style: italic; 
  letter-spacing: 3px; 
  text-transform: uppercase; 
  margin-bottom: 1rem; 
  text-align: center; 
  text-shadow: 0 2px 20px rgba(205, 250, 27, 0.7); 
}

.carousel-wrapper { 
  display: flex !important; 
  align-items: center !important; 
  justify-content: center !important; 
  gap: 2rem !important;            /* Separa físicamente las flechas de los logos */
  width: 100% !important; 
  max-width: 800px !important; 
  margin: 0 auto !important; 
  position: relative !important;          
  z-index: 9 !important;      
  pointer-events: auto !important; 
}





.client-logo {
  
  height: 100px; 
  width: auto;
  max-width: 150px; 
  object-fit: contain;
  opacity: 0.55; 
  filter: brightness(0) invert(1); 
  transition: opacity 0.3s ease;
   transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-logo:hover {
  opacity: 1; 
  transform: scale(1.5); 
}

/* ==========================================================================
   BOTONES DE FLECHAS CAROUSEL - CORREGIDOS
   ========================================================================== */
.carousel-arrow {
  background: none !important;
  border: none !important;
  cursor: pointer;
  padding: 8px !important; 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.1s cubic-bezier(1, 1, 1, 1);
  z-index: 99!important;
}

/* 🚀 SOLUCIÓN A LA PALIDEZ: Cambiado de rgba transparente a Blanco Sólido */
.carousel-arrow .icon-arrow {
  width: 24px !important;  
  height: 24px !important;
  stroke: #ffffff !important; /* 🎯 Ahora es blanco puro, adiós palidez */
  fill: none !important; /* Evita que el SVG se rellene como un bloque amorfo */
  stroke-width: 2px !important; 
  transition: stroke 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5));
}

.carousel-arrow:hover {
  transform: scale(1.5); 
  opacity: 1;
}

.carousel-arrow:hover .icon-arrow {
  stroke: #cdfa1b !important; 
  filter: drop-shadow(0 0 6px rgba(230, 255, 0, 0.6)) !important; 
}

/* 🎯 Evitamos conflictos de clases repetidas */
.icon-arrow {
  display: block;
}


.menu-carrousel {
  position: absolute !important;
  bottom: 50px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100% !important;
  max-width: 850px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  
  /* 🚀 LAS TRES PROPIEDADES CLAVE */
  z-index: 100 !important;      /* Se posiciona físicamente por encima de todo */
  pointer-events: auto !important; /* Obliga al navegador a capturar el click aquí */
  isolation: isolate !important;   /* Crea un nuevo contexto de renderizado independiente */
}


@media (max-width: 700px) {

  .menu-carrousel {
    bottom: 100px !important;
  left: 50% !important;
  }
}


