/* Foundtech — formulario nativo de leads (sigue el estilo .ft-hero-form del tema) */
.ft-lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  font-family: 'Montserrat', 'Gotham', Arial, sans-serif;
  color: #3D3D3B;
  text-align: left;
}
.ft-lead-form .ft-lf-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ft-lead-form .ft-lf-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.ft-lead-form label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #3D3D3B !important;
  margin: 0;
}
.ft-lead-form .ft-lf-req { color: #66a130; }
.ft-lead-form .ft-lf-opt { font-weight: 400; color: #777; }
.ft-lead-form input[type="text"],
.ft-lead-form input[type="email"],
.ft-lead-form input[type="tel"],
.ft-lead-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
  color: #222 !important;
  background-color: #f2f2f2;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.ft-lead-form textarea { resize: vertical; min-height: 4.5rem; }
.ft-lead-form input:focus,
.ft-lead-form textarea:focus {
  outline: none;
  border-color: #7ac142;
  background-color: #fff;
}
.ft-lead-form .has-error input,
.ft-lead-form .has-error textarea { border-color: #d64545; }
.ft-lead-form .ft-lf-error {
  min-height: 0;
  font-size: 0.75rem;
  color: #c0392b;
}
.ft-lead-form .ft-lf-error:empty { display: none; }
.ft-lead-form .ft-lf-status {
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  color: #8a1f1f;
  background: #fdecea;
  border-radius: 4px;
}
.ft-lead-form .ft-lf-submit {
  align-self: flex-start;
  margin-top: 0.25rem;
  padding: 0.85rem 2.5rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #fff !important;
  background-color: #7ac142;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.ft-lead-form .ft-lf-submit:hover { background-color: #66a130; }
.ft-lead-form .ft-lf-submit:disabled { opacity: 0.7; cursor: wait; }
.ft-lead-form .ft-lf-privacy {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #666 !important;
}
.ft-lead-form .ft-lf-privacy a { color: #66a130 !important; text-decoration: underline; }
@media (max-width: 600px) {
  .ft-lead-form .ft-lf-submit { align-self: stretch; }
}

/* Página de gracias */
.ft-thanks {
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding: 6rem 1.25rem 4rem;
  background: #fff;
}
.ft-thanks__box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Montserrat', 'Gotham', Arial, sans-serif;
  color: #3D3D3B;
}
.ft-thanks__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: #7ac142;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ft-thanks__title {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: #3D3D3B !important;
}
.ft-thanks__text { font-size: 1.05rem; line-height: 1.6; margin: 0 0 1.75rem; color: #555 !important; }
.ft-thanks__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.ft-thanks__btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none !important;
  border: 2px solid #7ac142;
}
.ft-thanks__btn--primary { background: #7ac142; color: #fff !important; }
.ft-thanks__btn--ghost { background: transparent; color: #3D3D3B !important; }

/* ===== Hero con formulario (texto a la izquierda, tarjeta a la derecha) ===== */
.ft-hero--with-form { padding-top: 6rem !important; padding-bottom: 6rem !important; }
.ft-hero-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 3rem;
  align-items: center;
  width: 100%;
}
.ft-hero-split__text,
.ft-hero-split__text .text-center,
.ft-hero-split__text .home-header-content-wrapper { text-align: left !important; }
.ft-hero-split__text .home-header-content-wrapper { max-width: none !important; margin: 0 !important; }
.ft-hero-split__text .home-header-title,
.ft-hero-split__text .ft-qs-hero-title {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
}
.ft-hero-split__text .home-header-subtitle,
.ft-hero-split__text .ft-qs-hero-subtitle {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 620px !important;
}
.ft-hero-split__text .home-header-btn { margin-top: 1.5rem; }
.ft-hero-split__form {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  color: #3D3D3B;
}
.ft-hero-split__form-title {
  margin: 0 0 1rem;
  font-family: 'Montserrat', 'Gotham', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  color: #3D3D3B !important;
  text-align: left;
}
@media (max-width: 992px) {
  .ft-hero--with-form { padding-top: 4.5rem !important; padding-bottom: 3.5rem !important; }
  .ft-hero-split { grid-template-columns: 1fr; gap: 2rem; }
  .ft-hero-split__text,
  .ft-hero-split__text .text-center,
  .ft-hero-split__text .home-header-content-wrapper,
  .ft-hero-split__text .home-header-title,
  .ft-hero-split__text .ft-qs-hero-title { text-align: center !important; }
  .ft-hero-split__text .home-header-subtitle,
  .ft-hero-split__text .ft-qs-hero-subtitle { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
  .ft-hero-split__form { width: 100%; max-width: 520px; margin: 0 auto; box-sizing: border-box; }
}
@media (max-width: 480px) {
  .ft-hero-split__form { padding: 1.25rem; }
}

/* ===== Botón de WhatsApp en línea (landings) ===== */
.ft-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 11px 26px;
  margin-top: 1.5rem;
  border-radius: 4px;
  background: #25D366;
  color: #fff !important;
  font-family: 'Montserrat', 'Gotham', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: background-color 0.2s ease, transform 0.2s ease;
  vertical-align: middle;
}
.ft-wa-btn:hover { background: #1ebe5b; transform: translateY(-2px); }
.ft-wa-btn svg { flex-shrink: 0; }
.ft-wa-btn--hero { margin-left: 0.75rem; }
.ft-wa-btn--contacto { margin-top: 0.5rem; }
@media (max-width: 992px) {
  .ft-wa-btn--hero { margin-left: 0.5rem; margin-right: 0.5rem; }
}
@media (max-width: 576px) {
  .ft-wa-btn--hero { display: flex; width: fit-content; margin: 0.75rem auto 0; }
}
