/* HERO-TEXT BLOCK - Versión mejorada */
.hero-text {
  background-color: #f3f4f6;
  padding: 6rem 1rem;
}

/* Dark mode support */
:is(.dark, .dark-mode) .hero-text {
  background-color: rgba(15, 23, 42, 0.4);
}

@media (min-width: 768px) {
  .hero-text {
    padding: 8rem 1rem;
  }
}

/* Modificadores de fondo */
.hero-text--light-bg {
  background-color: #f3f4f6;
}

.hero-text--white-bg {
  background-color: white;
}

.hero-text--primary-bg {
  background-color: #399b6a;
}

.hero-text--primary-bg .hero-text__title,
.hero-text--primary-bg .hero-text__badge,
.hero-text--primary-bg .hero-text__description {
  color: white;
}

.hero-text--dark-bg {
  background-color: #0f172a;
}

.hero-text--dark-bg .hero-text__title,
.hero-text--dark-bg .hero-text__description {
  color: white;
}

.hero-text--dark-bg .hero-text__description {
  color: rgba(255, 255, 255, 0.8);
}

.hero-text--gradient-bg {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

:is(.dark, .dark-mode) .hero-text--gradient-bg {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.4) 100%);
}

/* Modificadores de padding */
.hero-text--small {
  padding: 4rem 1rem;
}

.hero-text--large {
  padding: 10rem 1rem;
}

@media (min-width: 768px) {
  .hero-text--large {
    padding: 12rem 1rem;
  }
}

.hero-text__container {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

/* Modificadores de container */
.hero-text__container--narrow {
  max-width: 48rem;
}

.hero-text__container--wide {
  max-width: 64rem;
}

.hero-text__container--full {
  max-width: 100%;
  padding: 0 2rem;
}

.hero-text__badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #399b6a;
  margin-bottom: 1rem;
}

/* Dark mode support for badge */
:is(.dark, .dark-mode) .hero-text__badge {
  color: #4ade80;
}

.hero-text__title {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

/* Dark mode support for title */
:is(.dark, .dark-mode) .hero-text__title {
  color: white;
}

@media (min-width: 768px) {
  .hero-text__title {
    font-size: 3.75rem;
  }
}

/* Modificadores de título */
.hero-text__title--xl {
  font-size: 2.5rem;
}

@media (min-width: 768px) {
  .hero-text__title--xl {
    font-size: 4.5rem;
  }
}

.hero-text__title--lg {
  font-size: 2rem;
}

@media (min-width: 768px) {
  .hero-text__title--lg {
    font-size: 3rem;
  }
}

.hero-text__title--sm {
  font-size: 1.875rem;
}

@media (min-width: 768px) {
  .hero-text__title--sm {
    font-size: 2.5rem;
  }
}

.hero-text__title--white {
  color: white;
}

.hero-text__title--primary {
  color: #399b6a;
}

.hero-text__description {
  font-size: 1.125rem;
  line-height: 1.625;
  color: #475569;
  max-width: 48rem;
  margin: 0 auto;
}

/* Dark mode support for description */
:is(.dark, .dark-mode) .hero-text__description {
  color: #94a3b8;
}

@media (min-width: 768px) {
  .hero-text__description {
    font-size: 1.25rem;
  }
}

/* Modificadores de descripción */
.hero-text__description--large {
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  .hero-text__description--large {
    font-size: 1.5rem;
  }
}

.hero-text__description--small {
  font-size: 1rem;
}

@media (min-width: 768px) {
  .hero-text__description--small {
    font-size: 1.125rem;
  }
}

.hero-text__description--white {
  color: white;
}

.hero-text__description--muted {
  opacity: 0.9;
}

.hero-text__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-text__button {
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.hero-text__button--primary {
  background-color: #399b6a;
  color: white;
}

.hero-text__button--primary:hover {
  background-color: #2d7a52;
  transform: scale(1.05);
}

.hero-text__button--outline {
  background-color: transparent;
  border: 2px solid #399b6a;
  color: #399b6a;
}

.hero-text__button--outline:hover {
  background-color: #399b6a;
  color: white;
  transform: scale(1.05);
}

.hero-text__button--white {
  background-color: white;
  color: #399b6a;
}

.hero-text__button--white:hover {
  background-color: #f0fdf4;
  transform: scale(1.05);
}