/* Estilos generales para escritorio (pantallas horizontales) */
.intro-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 60px;
  flex-wrap: nowrap;
}

/* Imagen a la izquierda */
.intro-image {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
}

.intro-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

/* Texto a la derecha */
.intro-text {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.intro-text h2 {
  font-size: 28px;
  line-height: 1.4;
}

/* Estilos para pantallas verticales (móviles) */
@media (max-width: 768px) {
  .intro-section {
    flex-direction: column;
    gap: 20px;
    padding: 40px 20px 20px 20px;
    margin-top: 60px;
    margin-bottom: 20px;
  }

  .intro-image {
    width: 100%;
  }

  .intro-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: 12px;
  }

  .intro-text {
    width: 100%;
    text-align: center;
  }

  .intro-text h2 {
    font-size: 22px;
  }
}

/* --- PANTALLAS HORIZONTALES / GRANDES --- */
@media (min-width: 769px) {
  .intro-section {
    flex-direction: row;
    justify-content: space-between;
    padding: 100px 100px; /* MÁS MÁRGENES HORIZONTALES */
    gap: 60px;
    text-align: left;
  }

  .intro-text {
    margin-top: 0;
  }

  .intro-text h2 {
    font-size: 28px;
  }
}