/* ========================================
   SECCIÓN HERO CON GLASSMORPHISM
======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 50px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero);
  z-index: -2;

  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    z-index: -1;
  }
}

.hero-content {
  gap: var(--spacing-2xl);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.hero-text {
  text-align: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  color: white;

  .title-highlight {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .title-animated {
    display: inline-block;
    animation: bounce 2s infinite;
  }
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-2xl);
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    padding: 0 var(--spacing-lg);
  }

  .hero-text {
    text-align: left;
  }

  .hero-cta {
    justify-content: flex-start;
  }
}

/* Estadísticas del hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);

  .stat-item {
    text-align: center;
    color: white;

    .stat-number {
      display: block;
      font-size: var(--text-3xl);
      font-weight: 700;
      font-family: var(--font-display);
    }

    .stat-label {
      font-size: var(--text-sm);
      opacity: 0.8;
    }
  }
}

/* Imagen del hero */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

  .image-container {
    position: relative;
    max-width: 500px;
    width: 100%;

    .hero-img {
      width: 100%;
      height: auto;
      border-radius: var(--radius-2xl);
      box-shadow: var(--shadow-xl);
      transition: transform var(--transition-slow);
      /* crear sombra a png */
      filter: drop-shadow(0 0px 16px rgba(0, 0, 0, 0.1));

      &:hover {
        transform: scale(1.05);
      }
    }

    .floating-elements {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      pointer-events: none;

      /* Elementos flotantes animados */
      .floating-item {
        position: absolute;
        font-size: var(--text-2xl);
        animation: float 3s ease-in-out infinite;

        &:nth-child(1) {
          top: 10%;
          left: 10%;
          animation-delay: 0s;
        }

        &:nth-child(2) {
          top: 20%;
          right: 15%;
          animation-delay: 0.5s;
        }

        &:nth-child(3) {
          bottom: 30%;
          left: 5%;
          animation-delay: 1s;
        }

        &:nth-child(4) {
          bottom: 10%;
          right: 10%;
          animation-delay: 1.5s;
        }
      }
    }
  }
}
