.lp-cintas .lp-cintas__form .crmWebToEntityForm {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
}

.lp-cintas .lp-cintas__form .crmWebToEntityForm form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

/* Labels ocultos */
.lp-cintas .lp-cintas__form .zcwf_col_lab {
  display: none;
}

.lp-cintas .lp-cintas__form .zcwf_row {
  margin: 0;
  flex-shrink: 0;
}

.lp-cintas .lp-cintas__form .zcwf_row:has(.formsubmit) {
  margin-top: 0;
  flex-shrink: 0;
}

.lp-cintas .lp-cintas__form .zcwf_col_fld {
  width: 100%;
  float: none;
  padding: 0;
  margin-top: 0;
}

/* Inputs y textarea */
.lp-cintas .lp-cintas__form .zcwf_col_fld input[type="text"],
.lp-cintas .lp-cintas__form .zcwf_col_fld textarea {
  width: 100%;
  border: 2px solid var(--color-naranja);
  border-radius: 4px;
  padding: clamp(8px, 1.2vh, 12px) 14px;
  margin: 0 0 clamp(6px, 1vh, 14px);
  background-color: var(--color-claro);
  color: var(--color-texto);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  box-sizing: border-box;
  resize: none;
  -webkit-appearance: none;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}

/* Hero: texto ingresado y placeholder en naranja (como footer con color claro) */
.lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .zcwf_col_fld input[type="text"],
.lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .zcwf_col_fld textarea {
  color: var(--color-naranja);
  caret-color: var(--color-naranja);
}

/* Hero: mensaje crece; captcha + enviar van juntos al fondo */
.lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .zcwf_row:has(#Description) {
  flex: 1 1 0;
  min-height: 48px;
  display: flex;
  flex-direction: column;
}

.lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .zcwf_row:has(#Description) .zcwf_col_fld {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) #Description {
  flex: 1 1 0;
  min-height: 48px;
  height: 100%;
  margin-bottom: 10px;
}

.lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .lp-cintas__form-actions {
  flex-shrink: 0;
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.lp-cintas .lp-cintas__form-actions .zcwf_row {
  margin: 0;
}

.lp-cintas .lp-cintas__form .zcwf_col_fld input[type="text"]::placeholder,
.lp-cintas .lp-cintas__form .zcwf_col_fld textarea::placeholder {
  color: var(--color-naranja);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  opacity: 1;
}

/* Select */
.lp-cintas .lp-cintas__form .zcwf_col_fld_slt {
  width: 100%;
  border: 2px solid var(--color-naranja);
  border-radius: 0;
  padding: clamp(8px, 1.2vh, 12px) 14px;
  margin: 0 0 clamp(6px, 1vh, 14px);
  background-color: var(--color-claro);
  color: var(--color-naranja);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  text-transform: none;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23F6821F' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.lp-cintas .lp-cintas__form .zcwf_col_fld_slt option {
  color: var(--color-texto);
}

.lp-cintas .lp-cintas__form .zcwf_col_fld input[type="text"]:focus,
.lp-cintas .lp-cintas__form .zcwf_col_fld textarea:focus,
.lp-cintas .lp-cintas__form .zcwf_col_fld_slt:focus {
  outline: none;
  border-color: var(--color-naranja);
}

/* Autocompletado — hero: sin fondo del navegador */
.lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .zcwf_col_fld input[type="text"]:-webkit-autofill,
.lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .zcwf_col_fld input[type="text"]:-webkit-autofill:hover,
.lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .zcwf_col_fld input[type="text"]:-webkit-autofill:focus,
.lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .zcwf_col_fld textarea:-webkit-autofill,
.lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .zcwf_col_fld textarea:-webkit-autofill:hover,
.lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .zcwf_col_fld textarea:-webkit-autofill:focus,
.lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .zcwf_col_fld_slt:-webkit-autofill,
.lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .zcwf_col_fld_slt:-webkit-autofill:hover,
.lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .zcwf_col_fld_slt:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--color-naranja);
  caret-color: var(--color-naranja);
  -webkit-box-shadow: 0 0 0 1000px var(--color-claro) inset;
  box-shadow: 0 0 0 1000px var(--color-claro) inset;
  transition: background-color 5000s ease-in-out 0s;
}

/* Campos ocultos de Zoho */
.lp-cintas .lp-cintas__form .wfrm_fld_dpNn {
  display: none;
}

/* Hero reCAPTCHA — tamaño nativo (sin scale ni recorte) */
.lp-cintas .lp-cintas__form-actions .g-recaptcha {
  margin: 0 0 10px;
  min-height: 78px;
  overflow: visible;
}

.lp-cintas .lp-cintas__form-actions [id^="recapErr"] {
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  line-height: 0;
}

.lp-cintas .lp-cintas__form-actions [id^="recapErr"][style*="visibility: visible"],
.lp-cintas .lp-cintas__form-actions [id^="recapErr"][style*="visibility:visible"] {
  max-height: 2em;
  line-height: 1.2;
  margin-bottom: 4px;
}


.lp-cintas .lp-cintas__form [id^="recapErr"] {
  color: #cc0000;
  font-size: 12px;
  margin-bottom: 8px;
}

/* Botón enviar */
.lp-cintas .lp-cintas__form .formsubmit.zcwf_button {
  width: 100%;
  height: 50px;
  padding: 10px 20px;
  margin-top: 0;
  border: none;
  border-radius: 4px;
  background-color: var(--color-naranja);
  color: var(--color-claro);
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

/* .lp-cintas .lp-cintas__form .formsubmit.zcwf_button:hover {
  opacity: 0.9;
  background-color: var(--color-naranja);
  color: var(--color-claro);
} */

.lp-cintas .lp-cintas__form input[type="reset"] {
  display: none;
}

.lp-cintas .lp-cintas__form .zcwf_col_fld .zcwf_col_help {
  display: none;
}

@media (max-height: 720px) {
  .lp-cintas .lp-cintas__form .zcwf_col_fld input[type="text"],
  .lp-cintas .lp-cintas__form .zcwf_col_fld textarea,
  .lp-cintas .lp-cintas__form .zcwf_col_fld_slt {
    padding: 8px 12px;
    margin-bottom: 6px;
    font-size: 13px;
  }
}

/* Hero form — mobile: flujo natural, sin alturas forzadas */
@media (max-width: 767px) {
  .lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .crmWebToEntityForm,
  .lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .crmWebToEntityForm form {
    flex: none;
    min-height: auto;
  }

  .lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .zcwf_row:has(#Description),
  .lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .zcwf_row:has(#Description) .zcwf_col_fld {
    flex: none;
    min-height: 0;
  }

  .lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) #Description {
    flex: none;
    height: auto;
    min-height: 112px;
  }

  .lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .lp-cintas__form-actions {
    margin-top: 0;
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .lp-cintas__form-actions .zcwf_row:has(.g-recaptcha),
  .lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .lp-cintas__form-actions .zcwf_row:has(.formsubmit) {
    width: 100%;
    min-width: 0;
  }

  .lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .lp-cintas__form-actions .zcwf_row:has(.g-recaptcha) .zcwf_col_fld {
    width: 100%;
    min-width: 0;
    overflow: visible;
    text-align: center;
  }

  /* reCAPTCHA 304px — escalar al ancho disponible, centrado, sin recorte */
  .lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .lp-cintas__form-actions .g-recaptcha {
    display: inline-block;
    width: 304px;
    margin: 0 0 10px;
    text-align: left;
    transform-origin: top center;
    transform: scale(min(1, calc((100vw - 112px) / 304)));
  }

  @supports (zoom: 1) {
    .lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .lp-cintas__form-actions .g-recaptcha {
      zoom: min(1, calc((100vw - 112px) / 304));
      transform: none;
    }
  }
}

@media (max-width: 480px) {
  .lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .lp-cintas__form-actions .g-recaptcha {
    transform: scale(min(1, calc((100vw - 96px) / 304)));
  }

  @supports (zoom: 1) {
    .lp-cintas .lp-cintas__form:not(.lp-cintas__form--footer) .lp-cintas__form-actions .g-recaptcha {
      zoom: min(1, calc((100vw - 96px) / 304));
      transform: none;
    }
  }
}

/* ============================================
   Variante footer
   ============================================ */

.lp-cintas .lp-cintas__form--footer {
  width: 100%;
  min-width: 0;
  max-width: none;
  height: auto;
  max-height: none;
  padding: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.lp-cintas .lp-cintas__form--footer .crmWebToEntityForm {
  flex: none;
  min-height: auto;
}

.lp-cintas .lp-cintas__form--footer .crmWebToEntityForm form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  align-items: start;
  flex: none;
  min-height: auto;
}

.lp-cintas .lp-cintas__form--footer .zcwf_row:has(#First_Name_ft) {
  grid-column: 1;
  grid-row: 1;
}

.lp-cintas .lp-cintas__form--footer .zcwf_row:has(#Last_Name_ft) {
  grid-column: 1;
  grid-row: 2;
}

.lp-cintas .lp-cintas__form--footer .zcwf_row:has(#Company_ft) {
  grid-column: 1;
  grid-row: 3;
}

.lp-cintas .lp-cintas__form--footer .zcwf_row:has(#Industry_ft) {
  grid-column: 1;
  grid-row: 4;
}

.lp-cintas .lp-cintas__form--footer .zcwf_row:has(#Email_ft) {
  grid-column: 2;
  grid-row: 1;
}

.lp-cintas .lp-cintas__form--footer .zcwf_row:has(#Phone_ft) {
  grid-column: 2;
  grid-row: 2;
}

.lp-cintas .lp-cintas__form--footer .zcwf_row:has(#Description_ft) {
  grid-column: 2;
  grid-row: 3 / span 2;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.lp-cintas .lp-cintas__form--footer .zcwf_row:has(#Description_ft) .zcwf_col_fld {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lp-cintas .lp-cintas__form--footer .zcwf_row:has(#Description_ft) #Description_ft {
  flex: 1;
  min-height: 100%;
  height: 100%;
}

.lp-cintas .lp-cintas__form--footer .lp-cintas__form-actions--footer {
  grid-column: 2;
  grid-row: 5;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.lp-cintas .lp-cintas__form--footer .lp-cintas__form-actions--footer .zcwf_row {
  margin: 0;
}

.lp-cintas .lp-cintas__form--footer .lp-cintas__form-actions--footer .zcwf_row:has(.g-recaptcha) {
  width: auto;
  max-width: 100%;
  align-self: flex-end;
}

.lp-cintas .lp-cintas__form--footer .lp-cintas__form-actions--footer .zcwf_row:has(.g-recaptcha) .zcwf_col_fld {
  width: auto;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.lp-cintas .lp-cintas__form--footer .lp-cintas__form-actions--footer .g-recaptcha {
  margin: 0;
  min-height: 78px;
  overflow: visible;
}

.lp-cintas .lp-cintas__form--footer .lp-cintas__form-actions--footer .zcwf_row:has(.formsubmit) {
  width: 100%;
}

.lp-cintas .lp-cintas__form--footer .lp-cintas__form-actions--footer [id^="recapErr"] {
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  line-height: 0;
}

.lp-cintas .lp-cintas__form--footer .lp-cintas__form-actions--footer [id^="recapErr"][style*="visibility: visible"],
.lp-cintas .lp-cintas__form--footer .lp-cintas__form-actions--footer [id^="recapErr"][style*="visibility:visible"] {
  max-height: 2em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.lp-cintas .lp-cintas__form--footer .lp-cintas__form-actions--footer .zcwf_row:has(.formsubmit) .zcwf_col_fld {
  display: flex;
  justify-content: flex-end;
}

.lp-cintas .lp-cintas__form--footer .zcwf_col_fld input[type="text"],
.lp-cintas .lp-cintas__form--footer .zcwf_col_fld textarea {
  border: 2px solid var(--color-claro);
  background-color: transparent;
  color: var(--color-claro);
  padding: 12px 14px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.lp-cintas .lp-cintas__form--footer .zcwf_col_fld input[type="text"]::placeholder,
.lp-cintas .lp-cintas__form--footer .zcwf_col_fld textarea::placeholder {
  color: var(--color-claro);
  font-size: 16px;
  font-weight: 700;
  opacity: 1;
}

.lp-cintas .lp-cintas__form--footer .zcwf_col_fld_slt {
  border: 2px solid var(--color-claro);
  border-radius: 4px;
  background-color: transparent;
  color: var(--color-claro);
  padding: 12px 36px 12px 14px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23FFFEFE' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}

.lp-cintas .lp-cintas__form--footer .zcwf_col_fld_slt option {
  color: var(--color-texto);
  font-weight: 400;
}

.lp-cintas .lp-cintas__form--footer .zcwf_col_fld input[type="text"]:focus,
.lp-cintas .lp-cintas__form--footer .zcwf_col_fld textarea:focus,
.lp-cintas .lp-cintas__form--footer .zcwf_col_fld_slt:focus {
  outline: none;
  border-color: var(--color-claro);
}

/* Autocompletado — footer: fondo naranja del contenedor, texto claro */
.lp-cintas .lp-cintas__form--footer .zcwf_col_fld input[type="text"]:-webkit-autofill,
.lp-cintas .lp-cintas__form--footer .zcwf_col_fld input[type="text"]:-webkit-autofill:hover,
.lp-cintas .lp-cintas__form--footer .zcwf_col_fld input[type="text"]:-webkit-autofill:focus,
.lp-cintas .lp-cintas__form--footer .zcwf_col_fld textarea:-webkit-autofill,
.lp-cintas .lp-cintas__form--footer .zcwf_col_fld textarea:-webkit-autofill:hover,
.lp-cintas .lp-cintas__form--footer .zcwf_col_fld textarea:-webkit-autofill:focus,
.lp-cintas .lp-cintas__form--footer .zcwf_col_fld_slt:-webkit-autofill,
.lp-cintas .lp-cintas__form--footer .zcwf_col_fld_slt:-webkit-autofill:hover,
.lp-cintas .lp-cintas__form--footer .zcwf_col_fld_slt:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--color-claro);
  caret-color: var(--color-claro);
  -webkit-box-shadow: 0 0 0 1000px var(--color-naranja) inset;
  box-shadow: 0 0 0 1000px var(--color-naranja) inset;
  transition: background-color 5000s ease-in-out 0s;
}

.lp-cintas .lp-cintas__form--footer #Description_ft {
  min-height: calc(2 * 48px + 14px);
  margin-bottom: 0;
}

.lp-cintas .lp-cintas__form--footer .formsubmit.zcwf_button {
  width: auto;
  height: auto;
  padding: 10px 20px;
  border-radius: 4px;
  background-color: var(--color-claro);
  color: var(--color-naranja);
  font-size: 18px;
  font-weight: 700;
}


@media (max-width: 767px) {
  .lp-cintas .lp-cintas__form--footer {
    --footer-mobile-control-width: min(304px, calc(100vw - 112px));
  }

  .lp-cintas .lp-cintas__form--footer .crmWebToEntityForm form {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .lp-cintas .lp-cintas__form--footer .zcwf_col_fld {
    width: var(--footer-mobile-control-width);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .lp-cintas .lp-cintas__form--footer .zcwf_row:has(#First_Name_ft),
  .lp-cintas .lp-cintas__form--footer .zcwf_row:has(#Last_Name_ft),
  .lp-cintas .lp-cintas__form--footer .zcwf_row:has(#Company_ft),
  .lp-cintas .lp-cintas__form--footer .zcwf_row:has(#Industry_ft),
  .lp-cintas .lp-cintas__form--footer .zcwf_row:has(#Email_ft),
  .lp-cintas .lp-cintas__form--footer .zcwf_row:has(#Phone_ft),
  .lp-cintas .lp-cintas__form--footer .zcwf_row:has(#Description_ft),
  .lp-cintas .lp-cintas__form--footer .lp-cintas__form-actions--footer {
    grid-column: 1;
    grid-row: auto;
  }

  .lp-cintas .lp-cintas__form--footer .zcwf_row:has(#Description_ft),
  .lp-cintas .lp-cintas__form--footer .zcwf_row:has(#Description_ft) .zcwf_col_fld {
    flex: none;
    min-height: 0;
  }

  .lp-cintas .lp-cintas__form--footer .zcwf_col_fld input[type="text"],
  .lp-cintas .lp-cintas__form--footer .zcwf_col_fld textarea,
  .lp-cintas .lp-cintas__form--footer .zcwf_col_fld_slt {
    padding: clamp(8px, 1.2vh, 12px) 14px;
    margin: 0 0 clamp(6px, 1vh, 14px);
    font-size: 14px;
  }

  .lp-cintas .lp-cintas__form--footer .zcwf_col_fld_slt {
    padding-right: 36px;
  }

  .lp-cintas .lp-cintas__form--footer .zcwf_col_fld input[type="text"]::placeholder,
  .lp-cintas .lp-cintas__form--footer .zcwf_col_fld textarea::placeholder {
    font-size: 14px;
  }

  .lp-cintas .lp-cintas__form--footer #Description_ft {
    min-height: 112px;
    height: auto;
    margin-bottom: 10px;
  }

  .lp-cintas .lp-cintas__form--footer .lp-cintas__form-actions--footer {
    margin-top: 0;
    align-items: center;
    gap: 0;
  }

  .lp-cintas .lp-cintas__form--footer .lp-cintas__form-actions--footer .zcwf_row:has(.formsubmit) .zcwf_col_fld {
    width: var(--footer-mobile-control-width);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .lp-cintas .lp-cintas__form--footer .lp-cintas__form-actions--footer .zcwf_row:has(.g-recaptcha) .zcwf_col_fld {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .lp-cintas .lp-cintas__form--footer .lp-cintas__form-actions--footer .g-recaptcha {
    display: inline-block;
    width: 304px;
    margin: 0 0 10px;
    transform-origin: top center;
    transform: scale(min(1, calc((100vw - 112px) / 304)));
  }

  @supports (zoom: 1) {
    .lp-cintas .lp-cintas__form--footer .lp-cintas__form-actions--footer .g-recaptcha {
      zoom: min(1, calc((100vw - 112px) / 304));
      transform: none;
    }
  }

  .lp-cintas .lp-cintas__form--footer .zcwf_row:has(.formsubmit) .zcwf_col_fld {
    justify-content: stretch;
  }

  .lp-cintas .lp-cintas__form--footer .formsubmit.zcwf_button {
    width: 100%;
    height: 50px;
    padding: 10px 20px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .lp-cintas .lp-cintas__form--footer {
    --footer-mobile-control-width: min(304px, calc(100vw - 96px));
  }

  .lp-cintas .lp-cintas__form--footer .lp-cintas__form-actions--footer .g-recaptcha {
    transform: scale(min(1, calc((100vw - 96px) / 304)));
  }

  @supports (zoom: 1) {
    .lp-cintas .lp-cintas__form--footer .lp-cintas__form-actions--footer .g-recaptcha {
      zoom: min(1, calc((100vw - 96px) / 304));
      transform: none;
    }
  }
}
