/*
 * hero.css stylesheet file.
 * Archivo de hoja de estilos hero.css.
 */

/* Styles for page home. / Estilos para page home. */
.page-home {
  background: var(--bg-dark);
}

/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-light);
}

/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      105deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.8) 42%,
      rgba(255, 255, 255, 0.35) 70%,
      rgba(255, 255, 255, 0.15) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.3) 45%,
      rgba(240, 245, 240, 0.75) 100%
    );
  background-color: var(--bg-light);
}

/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero__stadium {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero__stadium svg {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 70%;
  height: auto;
  opacity: 0.95;
}

/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero__content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 4rem) 2.5rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  max-width: 640px;
}

/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero__location {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--color-green-dim);
  border: 1px solid rgba(46, 204, 80, 0.3);
  border-radius: var(--radius-full);
  padding: 0.38rem 1rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-green);
  margin-bottom: 1.6rem;
  width: fit-content;
  animation: fadeUp 0.6s 0.05s both;
}

/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero__location svg {
  width: 14px;
  height: 14px;
  fill: var(--color-green);
  flex-shrink: 0;
}

/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero__headline {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.15s both;
}

/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero__headline .line1 {
  display: block;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  color: var(--text-primary);
}

/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero__headline .line2 {
  display: block;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  color: var(--color-green);
  text-shadow: 0 0 60px rgba(46, 204, 80, 0.4);
}

/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero__desc {
  font-size: var(--fs-md);
  line-height: 1.68;
  color: var(--text-secondary);
  max-width: 460px;
  margin-bottom: 2.2rem;
  animation: fadeUp 0.6s 0.25s both;
}

/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeUp 0.6s 0.35s both;
}

/* Button styling including spacing and hover states / Estilo de botones incluyendo espaciado y estados hover */
.hero__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-green);
  color: #000;
  padding: 0.88rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--fs-base);
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

/* Button styling including spacing and hover states / Estilo de botones incluyendo espaciado y estados hover */
.hero__btn-primary:hover {
  background: var(--color-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

/* Button styling including spacing and hover states / Estilo de botones incluyendo espaciado y estados hover */
.hero__btn-primary svg {
  width: 18px;
  height: 18px;
}

/* Button styling including spacing and hover states / Estilo de botones incluyendo espaciado y estados hover */
.hero__btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border-dark2);
  color: var(--text-primary);
  padding: 0.88rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--fs-base);
  transition:
    background var(--transition),
    border-color var(--transition);
}

/* Button styling including spacing and hover states / Estilo de botones incluyendo espaciado y estados hover */
.hero__btn-secondary:hover {
  background: var(--bg-light);
  border-color: var(--border-dark);
}

/* Button styling including spacing and hover states / Estilo de botones incluyendo espaciado y estados hover */
.hero__btn-secondary svg {
  width: 18px;
  height: 18px;
}

/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  animation: fadeUp 0.6s 0.45s both;
}



/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero__stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero__stat-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 0.2rem;
}

/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero__scroll-hint {
  position: absolute;
  right: 1.8rem;
  bottom: 2.5rem;
  z-index: 10;
  writing-mode: vertical-rl;
  font-size: var(--fs-xs);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero__scroll-hint::after {
  content: "";
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}

/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero__dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero__dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: var(--border-dark2);
  transition: background 0.3s;
}

/* Hero section layout and typography / Diseño de la sección hero y tipografía */
.hero__dot.active {
  background: var(--color-green);
}

/* ==========================================================================
   MOBILE DEVICES (Hero Responsiveness) / DISPOSITIVOS MÓVILES (Responsividad de Hero)
   ========================================================================== */
@media (max-width: 768px) {
  .hero__content {
    padding: calc(var(--nav-h) + 3rem) 1.5rem 4rem !important;
    max-width: 100% !important;
    min-height: auto !important;
  }
  .hero__stadium svg {
    width: 110% !important;
    right: -5% !important;
    opacity: 0.25 !important; /* Lower opacity to improve mobile text contrast / Reducir opacidad para mejorar contraste en móviles */
    top: auto !important;
    bottom: 0 !important;
    transform: translateY(10%) !important;
  }
  .hero__stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
    padding-top: 1.5rem !important;
  }
  .hero__scroll-hint {
    display: none !important; /* Hide hint on small screens / Ocultar indicador en pantallas pequeñas */
  }
}




