/* Start custom CSS for html, class: .elementor-element-49b7ad0 */.formulario-landing {
  font-family: Poppins, Helvetica, Arial, sans-serif;
  /* display: flex;
  justify-content: center; */
  align-items: flex-start;
  padding: 20px;
}

.form-container {
  background-color: rgba(242, 242, 247, 0.9);
  border-radius: 22px !important;
  overflow: hidden;
  width: 487px;
  height: 710px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  padding: 0 !important;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-direction: column;
}

/* Por ahora solo centramos el título y el bloque del formulario dentro */
.form-container h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1e1e1e;
}

.form-container form {
  position: relative;
  overflow: hidden;
}

.form-step {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateX(30px);
  transition: all 0.3s ease;
}

.form-step.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

@keyframes enterFromRight {
  from {
    transform: translateX(60px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes leaveToLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(-60px);
    opacity: 0;
  }
}

.form-step.enter-right {
  animation: enterFromRight .4s ease forwards;
}

.form-step.leave-left {
  animation: leaveToLeft .4s ease forwards;
}

.form-nav {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.form-container label {
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 6px;
  display: block;
}

/* Botón de navegación (solo base visual para “Siguiente”) */
.form-container button {
  align-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 50px;
  border-radius: 30px;
  border: 2px solid #b85574;
  background: white;
  color: #b85574;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-container button:hover {
  background: #b85574;
  color: #fff;
}

/* INPUTS */
.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="number"],
.form-container input[type="date"],
.form-container input[type="tel"] {
  height: 55px !important;
  padding: 16px 20px !important;
  border-radius: 50px !important;
  width: 100% !important;
  border: 1px solid #ccc !important;
  background: #ffffff !important;
  color: #000 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  outline: none !important;
  box-shadow: none !important;
  appearance: none !important;
  margin-bottom: 20px !important;
  -webkit-appearance: none !important;
}

.form-container select {
  height: 55px !important;
  padding: 16px 40px 16px 20px !important;
  border-radius: 50px !important;
  width: 100% !important;
  border: 1px solid #ccc !important;
  background: #ffffff url("data:image/svg+xml,%3Csvg width='20' height='12' viewBox='0 0 20 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 2L10 10L2 2' stroke='%23b85574' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 20px center !important;
  color: #000 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  outline: none !important;
  box-shadow: none !important;
  appearance: none !important;
  margin-bottom: 20px !important;
  -webkit-appearance: none !important;
}

/* === Extiende el fondo rosa para cubrir todo el contenedor gris === */
.form-step:last-child {
  position: relative;
  height: 100%;
}

.form-step:not(:last-child) {
  padding: 0 20px 20px 20px;
  box-sizing: border-box;
}

/* FORMULARIO CUANDO NO PASA */
.form-no-perfila {
  border-radius: 22px;
  background-color: #f8dada;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-family: "Poppins", sans-serif;
  align-items: center;
  padding: 255px 25px;
  z-index: 10;
}

.form-no-perfila h2 {
  color: #000;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 22px;
}

.form-no-perfila p {
  color: #060606;
  font-size: 17px;
  line-height: 30px;
  margin-bottom: 2rem;
  font-weight: 300;
  margin: 40px 18px;
}

/* ===== Campos ===== */
.subform {
  display: flex;
  flex-direction: column;
}

.campo-doble {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.campo-doble>div {
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 45%;
}

.campo-doble label {
  display: block;
  font-weight: 600;
  color: #060606;
  text-align: left;
  margin-bottom: 0.3rem;
}

.campo-doble input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 40px;
  font-size: 0.95rem;
  background-color: #fff;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.campo-doble input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #b85574;
}

.next-btn.final-btn {
  background-color: #7b3b4c;
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 1rem;
  border-radius: 40px;
  cursor: pointer;
  font-size: 1rem;
  width: 50%;
  transition: all 0.3s ease;
}

.next-btn.final-btn:hover {
  background-color: #b85574;
  color: #fff;
}

/* ===== Botón ===== */
.btn-contacta {
  background-color: #7b3b4c;
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 1rem;
  border-radius: 40px;
  cursor: pointer;
  margin-top: 1.5rem;
  font-size: 1rem;
  width: 100%;
  transition: all 0.3s ease;
}

.form-no-perfila .btn-contacta {
  background-color: #7b3b4c !important;
  color: #fff !important;
  font-weight: 600;
  border: none !important;
  padding: 1rem !important;
  border-radius: 40px !important;
  cursor: pointer;
  margin-top: 1.5rem;
  font-size: 1rem;
  width: 100% !important;
  transition: all 0.3s ease;
  box-shadow: none;
}

.form-no-perfila .btn-contacta:hover {
  background-color: #b85574 !important;
  color: #fff !important;
}

/* ===== Animación ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FORMULARIO CUANDO SÍ PERFILA */
.form-si-perfila {
  border-radius: 22px;
  background-color: #d8f3dc;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-family: "Poppins", sans-serif;
  align-items: center;
  padding: 287px 24px;
  z-index: 10;
  animation: fadeIn 0.4s ease-in-out;
}

.form-si-perfila h2 {
  color: #000;
  font-weight: 700;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.form-si-perfila p {
  color: #000;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 14px;
}

/* === Formulario interno (campos) === */
.form-si-perfila .campo-doble {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.form-si-perfila .campo-doble>div {
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 45%;
}

.form-si-perfila input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 40px;
  font-size: 0.95rem;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
}

.form-si-perfila input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #b85574;
}

/* Botón verde */
.form-si-perfila .btn-contacta {
  background-color: #7b3b4c;
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 1rem;
  border-radius: 40px;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  transition: all 0.3s ease;
}

.form-si-perfila .btn-contacta:hover {
  background-color: #b85574;
}

.checkBox-group {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Ícono info */
.info-icon {
  color: #7B859B !important;
  font-weight: 300 !important;
  font-size: 12px !important;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.info-icon:hover {
  text-decoration: underline;
}

/* Texto de las casillas */
.label-checkbox-form {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  color: #7B859B !important;
  font-size: 12px !important;
  font-weight: 300 !important;
  line-height: 1.4 !important;
  cursor: default !important;
}

.label-checkbox-form input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #7B859B;
}

.texto-checkbox {
  display: inline;
  color: inherit;
}

.texto-checkbox a {
  color: #7B859B;
  text-decoration: underline;
  font-weight: 400;
  display: inline;
}

.texto-checkbox a:hover {
  color: #b85574;
}

.label-checkbox-form:hover {
  color: #7B859B !important;
}

/* Tooltip */
.popup {
  display: none;
  position: absolute;
  top: 25px;
  left: 0;
  width: 280px;
  max-width: 90vw;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  padding: 12px;
  border-radius: 8px;
  z-index: 999;
  font-size: 11px;
  line-height: 1.4;
  color: #333;
}

.popup.show {
  display: block;
}

/* ===========================
   📱 VERSIÓN MÓVIL (max 768px)
=========================== */
@media (max-width: 768px) {

  .form-container {
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 20px;
  }

  .form-step {
    padding: 0;
    height: auto;
  }

  /* Inputs apilados y con separación */
  .campo-doble {
    flex-direction: column;
    gap: 0.8rem;
  }

  .campo-doble>div {
    min-width: 100%;
    flex: 1 1 100%;
  }

  /* Ajustes generales de texto */
  .form-container h2 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
  }

  .form-container p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
  }

  /* Inputs más grandes para dedos móviles */
  .form-container input,
  .form-container select {
    height: 52px !important;
    font-size: 13px !important;
    padding: 14px 18px !important;
  }

  /* Botones adaptados */
  .btn-contacta,
  .next-btn {
    width: 100%;
    font-size: 1rem;
    padding: 1rem;
    border-radius: 40px;
    background-color: #7b3b4c;
    color: #fff;
    border: none;
  }

  .btn-contacta:hover,
  .next-btn:hover {
    background-color: #b85574;
  }

  /* Quita márgenes excesivos del formulario */
  .form-nav {
    margin-top: 1rem;
  }

  /* Ajuste visual en paso final (rojo o verde) */
  .form-no-perfila,
  .form-si-perfila {
    border-radius: 20px;
    padding: 40px 20px;
    height: auto;
  }

  .form-step:not(:last-child) {
    padding: 20px;
  }

  .popup {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    width: 307px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    top: 100%;
    left: 0;
    font-size: 14px;
    color: #333;
  }

  .popup p {
    font-size: 11px;
    margin: 0;
    line-height: 1.4;
  }

  .info-icon {
    margin-top: 0px;
    margin-bottom: 10px;
  }

  .container-checkbox-form {
    margin: 0 !important;
    padding: 0 !important;
  }

  .checkBox-group {
    gap: 2px !important;
  }

  .checkBox-group>* {
    margin: 0 !important;
    padding: 0 !important;
  }

  .label-checkbox-form {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
  }

  .checkBox-group br,
  .checkBox-group p:empty,
  .checkBox-group div:empty {
    display: none !important;
  }
}/* End custom CSS */