.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6rem 8%;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
   flex-direction: column;
    text-align: center;
    padding: 20px;
}

/* Fondo diagonal con gradiente tipo Stripe */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(15deg, #0A3D91 0%, #3576F4 50%, #6EC6FF 100%);
  clip-path: polygon(0 0, 100% 0, 100% 450px, 0 470px);
  z-index: 0;
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 1; /* sobre el fondo */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-content h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 440px;
  max-width: 500px;
  margin-bottom: 80px;
  font-size: 3rem;
  line-height: 1.2;
  color: #ffffff;
}

.hero-content p {
  margin: 0 0 40px 0;
  font-size: 1.1em;
  text-align: center;
}

.hero-content .subtext {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

.hero-image {
  display: none;
 
}

.hero-image img {
  max-width: 300px;
  height: auto;
}

/* Responsive: ocultar imagen en mobile */
@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    text-align: center;
    padding: 4rem 5%;
  }

  .hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
  }
  .hero::before {
    clip-path: polygon(0 0, 100% 0, 100% 450px, 0 500px);
  }
}
