.mf-form-website {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mf-form-consent {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.mf-form:not(.dark) .mf-form-consent,
.mf-card:not(.dark).mf-form .mf-form-consent,
.mf-build-form .mf-form-consent,
.mf-build-calc .mf-form-consent {
  color: rgba(35, 35, 35, 0.58);
}

.mf-form-consent a {
  color: inherit;
  font-size: inherit !important;
  font-weight: inherit !important;
  text-transform: none !important;
  letter-spacing: inherit !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mf-form-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.mf-form-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mf-form-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mf-form-modal__card {
  position: relative;
  width: min(460px, 100%);
  padding: 34px;
  background:
    radial-gradient(circle at 94% 8%, rgba(245, 155, 45, 0.2), transparent 34%),
    #ffffff;
  color: #111111;
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.24s ease;
}

.mf-form-modal.is-open .mf-form-modal__card {
  transform: translateY(0) scale(1);
}

.mf-form-modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  background: #f59b2d;
  color: #111111;
  font-size: 22px;
  font-weight: 900;
}

.mf-form-modal__card h2 {
  margin: 0 0 12px;
  color: #111111;
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.mf-form-modal__card p {
  margin: 0;
  color: rgba(17, 17, 17, 0.68);
  font-size: 16px;
  line-height: 1.62;
}

.mf-form-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.76);
  color: #111111;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.mf-form-modal__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 24px;
  padding: 0 22px;
  border: 1px solid #111111;
  background: #111111;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

[data-mf-form="lead"] button[disabled] {
  opacity: 0.72;
  cursor: wait;
}

@media (max-width: 640px) {
  .mf-form-modal__card {
    padding: 28px 22px;
  }
}

/* Button standardization: mirrors budivnytstvo hero buttons */
.mf-form-modal__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid #f59b2d !important;
  border-radius: 0 !important;
  background: #f59b2d !important;
  background-color: #f59b2d !important;
  color: #111111 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease !important;
}

.mf-form-modal__button:hover {
  transform: translateY(-2px);
  background: rgba(245, 155, 45, 0.02) !important;
  background-color: rgba(245, 155, 45, 0.02) !important;
  color: #f59b2d !important;
  border-color: #f59b2d !important;
  box-shadow: 0 0 0 4px rgba(245, 155, 45, 0.14) !important;
}
/* End button standardization */
