/* === RESET === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === HERO SECTION === */
.hero {
  background-image: url('../Assets/banner-hero.jpg');
  background-size: cover;
  background-position: center;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0);
  padding: 2rem;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-central {
  width: clamp(120px, 25vw, 200px);
  margin-bottom: 1rem;
}

.hero-overlay h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.hero-overlay p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 90%;
}

.hero-buttons {
  margin-top: 2rem;
}

.hero-buttons .btn {
  background-color: #ffffff;
  color: #d53369;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn:hover {
  background-color: #f0f0f0;
  transform: scale(1.05);
}

/* === BIENVENIDA === */
.bienvenida {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 5%;
  background: white;
  gap: 2rem;
}

.bienvenida img {
  flex: 1 1 300px;
  max-width: 100%;
  border-radius: 10px;
}

.bienvenida .texto {
  flex: 1 1 300px;
  text-align: left;
}

/* === SERVICIOS Y ESPERAMOS === */
.info-dual {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 3rem 5%;
  background-color: #f7f7f7;
  gap: 2rem;
}

.info-dual > div {
  flex: 1 1 300px;
  max-width: 45%;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 2rem;
}

.info-dual img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* === CURSO ONLINE === */
.curso-online {
  background-size: cover;
  background-position: center;
  color: white;
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.curso-content {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 90%;
}

.curso-content h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.curso-content .btn {
  background-color: #ffffff;
  color: #d53369;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.curso-content .btn:hover {
  background-color: #f0f0f0;
}

/* === FORMULARIO PASO A PASO === */
.formulario {
  background-color: #f9f9f9;
  padding: 4rem 1.5rem;
  text-align: center;
}

.formulario h2 {
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  margin-bottom: 2rem;
  color: #2b2b2b;
  font-weight: 700;
}

.form-container {
  background-color: #fff;
  padding: 2rem;
  max-width: 720px;
  margin: 0 auto;
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.form-container p.paso {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #555;
}

#pregunta {
  font-weight: 600;
  font-size: 1.25rem;
  margin: 1rem 0 2rem;
  color: #333;
}

.opciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
}

.opcion {
  background-color: #444;
  color: #fff;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 0 1 auto;
  min-width: 150px;
  max-width: 240px;
  text-align: center;
}

.opcion:hover {
  background-color: #000;
}

/* === MEDIA QUERIES PARA AJUSTES EXTRAS === */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
    background-size: cover;
  }

  .formulario {
    padding: 2rem 1rem;
  }

  .bienvenida,
  .info-dual {
    flex-direction: column;
    text-align: center;
  }

  .info-dual > div {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 60vh;
  }

  .hero-buttons {
    margin-top: 1.5rem;
  }

  .opcion {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
