/* ============================================
   PATINETE CENTER — Hero Sections
   ============================================ */

/* ── Hero Home (Full Width) ── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-black);
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero__bg-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 50%, #0D0D0D 100%);
  position: relative;
}

.hero__bg-placeholder::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
  opacity: 0.3;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,13,13,0.9) 0%, rgba(13,13,13,0.5) 60%, rgba(13,13,13,0.3) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 1rem;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: var(--radius-full);
  color: var(--color-primary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.6s ease both;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero__title {
  font-size: var(--fs-5xl);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero__title span {
  color: var(--color-primary);
}

.hero__text {
  font-size: var(--fs-lg);
  color: var(--color-gray-300);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero__stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.hero__stat-label {
  font-size: var(--fs-xs);
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Hero Page (Compacto para interiores) ── */
.hero--page {
  min-height: auto;
  padding: var(--space-4xl) 0 var(--space-2xl);
}

.hero--page .hero__content {
  max-width: 100%;
  text-align: center;
}

.hero--page .hero__title {
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-md);
}

.hero--page .hero__text {
  font-size: var(--fs-md);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 0;
}

/* ── Animaciones ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── Hero Responsive ── */
@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }

  .hero__title {
    font-size: var(--fs-3xl);
  }

  .hero__text {
    font-size: var(--fs-base);
  }

  .hero__stats {
    gap: var(--space-xl);
  }

  .hero__stat-number {
    font-size: var(--fs-xl);
  }

  .hero--page {
    padding: var(--space-2xl) 0 var(--space-xl);
  }

  .hero--page .hero__title {
    font-size: var(--fs-2xl);
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 60vh;
  }

  .hero__title {
    font-size: var(--fs-2xl);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--space-md);
  }
}
