/*
  Desarrollado por LeanaSoft
  Autor principal: ~ DeadR0k3
  Proyecto: Lukaz&Morriz
*/
/* Estilos del Hero principal y su escena 3D. */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(13, 13, 13, 0.94) 0%, rgba(13, 13, 13, 0.76) 42%, rgba(13, 13, 13, 0.94) 100%),
    url("../img/hero/taller-workshop.svg") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(214, 40, 40, 0.05) 0%, transparent 22%, transparent 78%, rgba(214, 40, 40, 0.05) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px 90px);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 3vw, 3.5rem);
  align-items: center;
  padding-block: 4rem;
}

.hero__content {
  max-width: 36rem;
}

.hero__eyebrow {
  margin: 0 0 1.2rem;
  color: var(--color-primary);
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-secondary);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.95;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero__description {
  max-width: 32rem;
  margin: 0 0 2rem;
  color: rgba(229, 229, 229, 0.82);
  font-size: 1rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero .btn {
  min-width: 11rem;
}

.hero .btn--ghost {
  color: var(--color-text);
  border: 1px solid rgba(229, 229, 229, 0.6);
  background: transparent;
}

.hero .btn--ghost:hover {
  background: rgba(229, 229, 229, 0.12);
  border-color: var(--color-text);
}

.hero__scroll {
  position: absolute;
  left: 0;
  bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(229, 229, 229, 0.72);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero__scroll-line {
  display: inline-block;
  width: 2.2rem;
  height: 1px;
  background: rgba(229, 229, 229, 0.6);
  animation: heroPulse 1.8s ease-in-out infinite;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__frame {
  position: relative;
  width: min(100%, 34rem);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(0,0,0,0.26));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

#hero-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__visual-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(214, 40, 40, 0.12), transparent 42%);
  pointer-events: none;
}

@keyframes heroPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scaleX(0.9);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.05);
  }
}

.page-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 7rem 0 4rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 13, 13, 0.9) 0%, rgba(13, 13, 13, 0.46) 47%, rgba(13, 13, 13, 0.86) 100%),
    url("../img/hero/taller-workshop.svg") center/cover no-repeat;
}

.hero-editorial__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.2) 0%, rgba(13, 13, 13, 0.82) 100%);
  pointer-events: none;
}

.hero-editorial__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.4fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: end;
  padding-block: 2rem;
}

.hero-editorial__copy {
  max-width: 42rem;
}

.hero-editorial__copy h1 {
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.hero-editorial__copy p {
  max-width: 38rem;
  font-size: 1.04rem;
  color: rgba(229, 229, 229, 0.86);
}

.hero-editorial__meta {
  justify-self: end;
  padding: 1.4rem 1.4rem 1.6rem;
  border: 1px solid rgba(229, 229, 229, 0.16);
  background: rgba(13, 13, 13, 0.68);
  min-width: min(100%, 280px);
}

.hero-editorial__meta-label {
  margin: 0 0 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-editorial__meta ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  color: rgba(229, 229, 229, 0.84);
}

.hero-editorial__meta li {
  padding-left: 0.9rem;
  border-left: 1px solid rgba(214, 40, 40, 0.45);
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    padding-block: 5rem 3rem;
  }

  .hero__content {
    max-width: none;
  }

  .hero__scroll {
    position: static;
    margin-top: 1.6rem;
  }

  .hero-editorial__content {
    grid-template-columns: 1fr;
  }

  .hero-editorial__meta {
    justify-self: start;
  }
}
