/* Contenedor del formulario EN — fondo blanco con contraste */
.single-post_landing.postid-15638 #cajaformulario .row > .col-md-5,
.single-post_landing.postid-15649 #cajaformulario .row > .col-md-5,
.single-post_landing.postid-15638 #cajaformulario .unade-form-shell,
.single-post_landing.postid-15649 #cajaformulario .unade-form-shell {
  background: rgba(255, 255, 255, 0.97) !important;
  border-radius: 10px !important;
  box-shadow: 1px 10px 15px rgba(51, 51, 51, 0.9) !important;
}

.unade-form-lead-en {
  padding: 0 14px;
}

.unade-form-lead-en form {
  margin: 0;
}

.unade-form-lead-en .form-row {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.unade-form-lead-en h3 {
  width: 100%;
  margin: 0 0 26px;
  color: #001d63;
  font-family: "Kanit", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-align: center;
}

.unade-form-lead-en h3::after {
  content: none;
}

.unade-form-lead-en .float-label-custom {
  margin-top: 0 !important;
  margin-bottom: 14px !important;
}

.unade-form-lead-en .form-control,
.unade-form-lead-en .tel-wrapper input,
.unade-form-lead-en select {
  width: 100%;
  min-height: 40px;
  height: 40px;
  border: 0;
  border-radius: 0;
  background-color: #fff;
  color: #1c2430;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 40px;
  box-shadow: none;
}

.unade-form-lead-en input.form-control,
.unade-form-lead-en .tel-wrapper input {
  padding: 0 10px;
}

.unade-form-lead-en select.form-control {
  padding: 0 34px 0 10px;
}

.unade-form-lead-en .float-label-custom > label {
  display: none !important;
}

.unade-form-lead-en .tel-wrapper {
  display: flex;
  flex-wrap: wrap;        /* permite que tel-error baje a la siguiente línea */
  align-items: center;
  min-height: 44px;
  margin: 0;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background-color: #fff;
}

/* .iti es el wrapper que genera intl-tel-input (flag + input).
 * flex:1 hace que ocupe todo el ancho disponible del tel-wrapper. */
.unade-form-lead-en .tel-wrapper > .iti {
  flex: 1 1 auto;
  min-width: 0;
}

.unade-form-lead-en .tel-wrapper input {
  height: 42px;
}

.unade-form-lead-en .telefono-valido {
  flex-shrink: 0;
}

.unade-form-lead-en .tel-error {
  display: none;  /* oculto por defecto; componente-telefono.js lo muestra si inválido */
  width: 100%;
  padding: 4px 10px 6px;
  margin-top: 0;
  color: #ff6b35;
  font-size: 12px;
  text-align: left;
  background: #fff;
  border-top: 1px solid #ffe0d6;
  border-radius: 0 0 4px 4px;
}

.unade-form-lead-en .custom-checkbox {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0 20px;
  padding-left: 0;
  color: #001d63;
  font-size: 13px;
}

.unade-form-lead-en .custom-checkbox .custom-control-input {
  position: static;
  width: 13px;
  height: 13px;
  margin: 0 6px 0 0;
  opacity: 1;
}

.unade-form-lead-en .custom-checkbox .custom-control-label {
  color: #001d63;
  line-height: 1.3;
}

.unade-form-lead-en .custom-checkbox .custom-control-label::before,
.unade-form-lead-en .custom-checkbox .custom-control-label::after {
  display: none;
}

.unade-form-lead-en .custom-checkbox a {
  color: #001d63;
  text-decoration: none;
}

.unade-form-lead-en .ct-button.ct-button--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 212px;
  height: 52px;
  margin-top: 4px;
  border: 0;
  border-radius: 28px;
  background-color: #001d63;
  color: #fff;
  font-family: "Kanit", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.34em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 14px 24px rgba(0, 29, 99, 0.22);
}

.unade-form-lead-en .ct-button.ct-button--primary::before,
.unade-form-lead-en .ct-button.ct-button--primary::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  letter-spacing: 0;
}

.unade-form-lead-en .ct-button.ct-button--primary::before {
  content: "\f054";
  margin-right: 12px;
}

.unade-form-lead-en .ct-button.ct-button--primary::after {
  content: "\f053";
  margin-left: 12px;
}

.unade-form-lead-en .ct-button.ct-button--primary:hover,
.unade-form-lead-en .ct-button.ct-button--primary:focus {
  background-color: #ffb312;
  color: #001d63;
}

.unade-form-lead-en .form-control-privacidad {
  max-height: 180px;
  overflow: auto;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

.unade-form-lead-en .hidden-privacidad {
  display: none;
}

/* ── Contact Methods ───────────────────────────────────── */
.unade-form-lead-en .unade-contact-methods {
  margin-bottom: 14px !important;
  padding: 10px 12px;
  background: #f5f7fb;
  border: 1px solid #d6dff0;
  border-radius: 4px;
}
.unade-form-lead-en .unade-contact-methods__title {
  margin: 0 0 8px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #001d63;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
}
.unade-form-lead-en .unade-contact-methods__options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
/* Ocultar el radio nativo */
.unade-form-lead-en .unade-contact-methods__option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
/* Label = pill clickable */
.unade-form-lead-en .unade-contact-methods__option {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
/* Pill: misma fuente/tamaño que los inputs del formulario */
.unade-form-lead-en .unade-contact-methods__option span {
  display: inline-block;
  padding: 7px 14px;
  border: 1.5px solid #001d63;
  border-radius: 9999px;
  background: #fff;
  color: #001d63;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}
/* Estado seleccionado: pill rellena */
.unade-form-lead-en .unade-contact-methods__option input:checked + span {
  background: #001d63;
  color: #fff;
}

.unade-form-lead-en form::after {
  content: "* Required fields";
  display: block;
  width: 100%;
  margin-top: 12px;
  color: #333;
  font-size: 13px;
  text-align: center;
}


@media (max-width: 767px) {
  .unade-form-lead-en {
    padding: 0 8px;
  }

  .unade-form-lead-en h3 {
    font-size: 1.55rem;
    letter-spacing: 0.05em;
  }

  .unade-form-lead-en .ct-button.ct-button--primary {
    min-width: 190px;
    letter-spacing: 0.22em;
  }
}

.unade-form-lead-en .tel-wrapper.is-country-empty .iti__selected-dial-code,
.unade-form-lead-en .tel-wrapper.is-country-empty .iti__flag,
.unade-form-lead-en .tel-wrapper.is-country-empty .iti__arrow {
  opacity: 0 !important;
}

.unade-form-lead-en .tel-wrapper.is-country-empty .iti__selected-flag {
  pointer-events: none;
}