/* CREA Tech Experience - v1. SOLO estilos nuevos; no redefine hero, img, alturas ni degradados. */
.ct-intro {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050507;
  pointer-events: none;
  opacity: 0;
  animation: ct-intro-out 1.55s ease-out both;
}
.ct-intro img {
  display: block;
  width: min(400px, 72vw);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(.96);
  animation: ct-logo-in 1.55s ease-out both;
}
/* Firma limpia: luz neutra, sin partículas rojas, marcos ni elementos flotantes. */
/* La posicion original de cada hero se respeta; solo casos static reciben relative via JS. */
.ct-shine-layer {
  position: absolute;
  inset: 0;
  z-index: 8;
  overflow: hidden;
  pointer-events: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  isolation: isolate;
}
.ct-shine-layer::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: -14%;
  left: -58%;
  width: 38%;
  height: 130%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.015) 35%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.015) 65%, transparent 100%);
  transform: translateX(0) skewX(-15deg);
  animation: ct-shine-sweep 8.4s ease-in-out 1.8s infinite;
}
@keyframes ct-intro-out {
  0%, 72% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}
@keyframes ct-logo-in {
  0%, 8% { opacity: 0; transform: scale(.96); }
  23%, 74% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.015); }
}
@keyframes ct-shine-sweep {
  0%, 12% { transform: translateX(0) skewX(-15deg); opacity: 0; }
  16% { opacity: .65; }
  34% { transform: translateX(450%) skewX(-15deg); opacity: .7; }
  40%, 100% { transform: translateX(450%) skewX(-15deg); opacity: 0; }
}
/* Versión corta al navegar entre páginas (la primera de la visita usa la completa). */
.ct-intro.ct-intro--quick{animation-name:ct-intro-out-quick;animation-duration:.7s;}
.ct-intro.ct-intro--quick img{animation-name:ct-logo-in-quick;animation-duration:.7s;}
@keyframes ct-intro-out-quick{
  0%, 62% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}
@keyframes ct-logo-in-quick{
  0% { opacity: 0; transform: scale(.97); }
  28%, 62% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.01); }
}
@media (max-width: 767px) {
  .ct-shine-layer::before { opacity: .55; }
  .ct-intro img { width: min(290px, 67vw); }
}
@media (prefers-reduced-motion: reduce) {
  .ct-intro { display: none !important; animation: none !important; }
  .ct-shine-layer { display: none !important; }
  .ct-shine-layer::before { animation: none !important; }
}
