.cfm-form.cfm-enquiry {
  box-sizing: border-box;
  width: min(100%, 736px);
  margin-inline: auto;
  padding: clamp(18px, 4vw, 28px);
  background: #fff;
  color: #171717;
  border-radius: 24px;
  box-shadow: 0 14px 35px #0002;
}
.cfm-form.cfm-enquiry .elementor-heading-title {
  color: #343434;
  font-size: clamp(25px, 4vw, 32px);
  font-weight: 800;
  text-align: center;
}
.cfm-form.cfm-enquiry .elementor-widget-text-editor {
  color: #393939;
  font-size: clamp(16px, 2.6vw, 20px);
  text-align: center;
}
.cfm-form.cfm-enquiry .elementor-form .elementor-field-group .elementor-field-label {
  color: #101010;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 800;
  margin-bottom: 5px;
}
.cfm-form.cfm-enquiry .elementor-form .elementor-field-group .elementor-field-textual {
  min-height: 47px;
  border: 1px solid #e1d694;
  border-radius: 12px;
  background-color: #fffbe1;
  color: #242424;
  font-size: 16px;
}
.cfm-form.cfm-enquiry .elementor-form .elementor-field-textual:focus-visible {
  outline: 2px solid #856e00;
  outline-offset: 2px;
}
.cfm-form.cfm-enquiry .elementor-form .elementor-field-group:not(.elementor-field-type-hidden) { margin-bottom: 16px; }
.cfm-form.cfm-enquiry .elementor-form .elementor-field-type-submit { width: 100%; padding-top: clamp(12px, 4vw, 32px); }
.cfm-form.cfm-enquiry .elementor-form button[type="submit"],
.cfm-thanks button {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 13px;
  background: #ffdf00;
  color: #121212;
  font-size: clamp(16px, 3vw, 22px);
  font-weight: 850;
  cursor: pointer;
}
.cfm-form.cfm-enquiry .elementor-form button[type="submit"]:hover,
.cfm-thanks button:hover { background: #f3d000; color: #121212; }
.cfm-thanks {
  box-sizing: border-box;
  width: min(730px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: clamp(20px, 4vw, 38px);
  border: 0;
  border-radius: 26px;
  background: #fff;
  color: #121212;
  box-shadow: 0 20px 70px #0005;
  text-align: center;
  font-family: inherit;
}
.cfm-thanks::backdrop { background: rgb(0 0 0 / 55%); }
.cfm-thanks svg { display: block; width: clamp(72px, 15vw, 106px); height: auto; margin: 0 auto 12px; }
.cfm-thanks h2 { color: inherit; font-size: clamp(22px, 4vw, 34px); font-weight: 850; line-height: 1.13; margin: 0 0 12px; }
.cfm-thanks p { color: inherit; font-size: clamp(16px, 2.8vw, 22px); line-height: 1.3; margin: 0; }
.cfm-thanks-number { width: min(100%, 460px); margin: 20px auto 24px; padding: 12px; }
.cfm-thanks--outside .cfm-thanks-number { background: #fff7df; border-radius: 20px; }
.cfm-thanks:not(.cfm-thanks--outside) .cfm-thanks-number p { display: flex; gap: 12px; align-items: center; }
.cfm-thanks:not(.cfm-thanks--outside) .cfm-thanks-number p::before,
.cfm-thanks:not(.cfm-thanks--outside) .cfm-thanks-number p::after { content: ''; flex: 1; border-top: 1px solid #d8dddf; }
.cfm-thanks-number strong { display: block; margin-top: 7px; font-size: clamp(25px, 5.5vw, 38px); line-height: 1.15; }
