/* fce-polish.css — pulido FCE (carga al FINAL para ganar sobre theme.css y caché).
   Formularios unificados + botón flotante ecosistema. */

/* ── Botón flotante ecosistema (siempre visible) ── */
.wa-float .fce-eco-float {
  display: flex !important;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: 8px;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.fce-eco-float__btn {
  width: 52px !important;
  height: 52px !important;
  background: linear-gradient(145deg, #0d3d47 0%, #178a83 100%) !important;
  border: 2px solid rgba(95, 240, 230, .55) !important;
  box-shadow: 0 8px 24px rgba(5, 35, 49, .35), 0 0 0 1px rgba(0, 0, 0, .08) !important;
}

.fce-eco-float__btn img {
  width: 28px !important;
  height: 28px !important;
  filter: brightness(0) invert(1);
}

.body--unit-solow .fce-eco-float__btn img.fce-eco-float__btn-logo--brand {
  filter: none !important;
  opacity: 1 !important;
}

.fce-eco-float__link-logo--solow {
  border-radius: 6px;
}

.fce-eco-float__btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(5, 35, 49, .42), 0 0 0 2px rgba(95, 240, 230, .4) !important;
}

.fce-eco-float__link {
  width: 44px !important;
  height: 44px !important;
  background: #fff !important;
  border: 1.5px solid rgba(11, 78, 101, .22) !important;
  box-shadow: 0 6px 16px rgba(5, 35, 49, .18) !important;
}

/* ── Formularios FCE (card oscura + variant default) ── */
.home-contact-nice__card-intro {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.home-contact-nice__card .lead-form--card .lead-form__control,
.home-contact-nice__card .cms-form--nice-card .cms-form__control,
.home-contact-nice__card .cms-form .cms-form__control,
.home-contact-nice__card .solow-encontranos-wa-form .form-input {
  background: #f4f8fa !important;
  border: 2px solid #c8d8e2 !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  color: #152530 !important;
  font-size: .96rem !important;
  box-shadow: inset 0 1px 2px rgba(15, 35, 50, .04);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.home-contact-nice__card .lead-form--card .lead-form__control::placeholder,
.home-contact-nice__card .cms-form--nice-card .cms-form__control::placeholder,
.home-contact-nice__card .cms-form .cms-form__control::placeholder,
.home-contact-nice__card .solow-encontranos-wa-form .form-input::placeholder {
  color: #7a8d9a !important;
}

.home-contact-nice__card .lead-form--card .lead-form__control:hover,
.home-contact-nice__card .cms-form--nice-card .cms-form__control:hover,
.home-contact-nice__card .cms-form .cms-form__control:hover,
.home-contact-nice__card .solow-encontranos-wa-form .form-input:hover {
  border-color: #9eb8c8 !important;
  background: #fff !important;
}

.home-contact-nice__card .lead-form--card .lead-form__control:focus,
.home-contact-nice__card .cms-form--nice-card .cms-form__control:focus,
.home-contact-nice__card .cms-form .cms-form__control:focus,
.home-contact-nice__card .solow-encontranos-wa-form .form-input:focus {
  outline: none !important;
  border-color: var(--teal, #20b2aa) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal, #20b2aa) 32%, transparent) !important;
}

.home-contact-nice__card .lead-form__submit--card,
.home-contact-nice__card .cms-form--nice-card .cms-form__submit,
.home-contact-nice__card .solow-encontranos-wa-form .lead-form__submit--card {
  width: 100%;
  margin-top: 6px;
  padding: 15px 24px !important;
  font-weight: 800 !important;
  letter-spacing: .07em;
  text-transform: uppercase;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--teal, #20b2aa) 0%, var(--teal-dark, #178a83) 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(23, 138, 131, .35) !important;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.home-contact-nice__card .lead-form__submit--card:hover,
.home-contact-nice__card .cms-form--nice-card .cms-form__submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 12px 26px rgba(23, 138, 131, .42) !important;
}

.home-contact-nice__card .lead-form__submit--card:focus-visible,
.home-contact-nice__card .cms-form--nice-card .cms-form__submit:focus-visible {
  outline: 2px solid #5ff0e6 !important;
  outline-offset: 3px;
}

/* Formularios default (nosotros legacy, paneles claros) */
.lead-form:not(.lead-form--card) .lead-form__control {
  border-bottom: 2px solid var(--border, #d9e2ec) !important;
  padding: 10px 0 !important;
}

.lead-form:not(.lead-form--card) .lead-form__control:focus {
  border-bottom-color: var(--teal, #20b2aa) !important;
  box-shadow: 0 2px 0 0 color-mix(in srgb, var(--teal, #20b2aa) 40%, transparent);
}

.lead-form:not(.lead-form--card) .lead-form__submit.btn--primary {
  background: linear-gradient(135deg, var(--teal, #20b2aa) 0%, var(--teal-dark, #178a83) 100%);
  border: 0;
  box-shadow: 0 8px 20px rgba(23, 138, 131, .28);
}

[data-theme="dark"] .home-contact-nice__card .lead-form--card .lead-form__control,
[data-theme="dark"] .home-contact-nice__card .cms-form--nice-card .cms-form__control {
  background: #fff !important;
  border-color: rgba(255, 255, 255, .28) !important;
  color: #152530 !important;
}

@media (max-width: 640px) {
  .fce-eco-float__btn,
  .wa-float__btn {
    width: 50px !important;
    height: 50px !important;
  }
}

/* ── Footer: tipografía unificada en todo el ecosistema ── */
.footer__col h5 {
  color: #ffffff !important;
  font-size: .72rem !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  margin-bottom: 14px !important;
}

.footer__col a:not(.footer__social-btn),
.footer__link-muted {
  font-size: .875rem !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  color: rgba(255, 255, 255, .62) !important;
}

.footer__col a:not(.footer__social-btn):hover {
  color: var(--teal, #20b2aa) !important;
}

.footer__col--social .footer__social-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  flex-shrink: 0 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: inherit !important;
  line-height: 1 !important;
}

.footer__col--social .footer__social {
  flex-wrap: nowrap !important;
  gap: 6px !important;
}
