/* 1. Eliminar padding global para que el cover arranque al ras */
body {
  background: #f8f8f8;
  margin: 0; /* nuevo */
  padding: 0; /* cambiado */
}

/* 2. Asegurar que el hero esté detrás del form */
.hero {
  position: relative;
  height: 35vh;
  background-image: url("cover.jpg");
  background-size: cover;
  background-position: center;
  z-index: 1; /* nuevo */
}

/* 3. Gradient overlay (sin cambio) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(248, 248, 248, 1) 100%
  );
  pointer-events: none;
  z-index: 2; /* para que esté sobre la imagen pero detrás del form */
}

/* 4. Form-wrapper sobre la imagen */
.form-wrapper {
  position: relative;
  z-index: 3; /* agregado */
  max-width: 960px;
  margin: -10vh auto 2rem auto; /* ajustado para que suba sobre la imagen */
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 5. Logo más grande */
.logo {
  position: absolute;
  top: 1rem;
  left: 1rem;
  height: 52px; /* antes era 40px */
  z-index: 4;
}

/* 6. Título fijo */
.hero-title {
  position: absolute;
  top: 1rem;
  right: 1rem;
  margin: 0;
  font-size: 1.75rem;
  z-index: 4;
}

.step {
  display: none;
}
.step.active {
  display: block;
}

.yes-only,
.no-only {
  display: none;
}


/* 7. Mobile: logo y título centrados, form más abajo */
@media (max-width: 768px) {
  .logo {
    position: static;
    display: block;
    margin: 0.5rem auto 0;
  }
  .hero-title {
    position: static;
    display: block;
    text-align: center;
    margin: 0.5rem auto;
  }
  .form-wrapper {
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .buttons {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }
  .buttons > div {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
  }
}

