.vfm-form-wrap,
.vfm-form-wrap * {
  box-sizing: border-box;
}

.vfm-form-wrap {
  --vfm-primary: #002f56;
  --vfm-accent: #12b8ad;
  width: 100%;
  max-width: 600px;
  min-height: 650px;
  margin: 0 auto;
  padding: 32px 38px 62px;
  border: 0;
  border-radius: 28px;
  color: #101820;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 27, 49, 0.2);
  font-family: "Poppins", "Avenir Next", Arial, sans-serif;
}

.vfm-form-heading {
  max-width: 520px;
  margin-bottom: 54px;
}

.vfm-form-heading > span {
  display: block;
  margin-bottom: 24px;
  color: #008f89;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.vfm-form-heading h2 {
  max-width: 500px;
  margin: 0;
  color: var(--vfm-primary);
  font-size: clamp(31px, 3.2vw, 36px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.vfm-form-heading p {
  max-width: 500px;
  margin: 28px 0 0;
  color: #65788b;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

.vfm-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 15px;
}

.vfm-field {
  display: grid;
  grid-column: 1 / -1;
  gap: 4px;
  min-width: 0;
}

.vfm-field--half {
  grid-column: span 1;
}

.vfm-field > span {
  color: #07121b;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.vfm-field input:not([type="checkbox"]),
.vfm-field select,
.vfm-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 59px;
  padding: 13px 20px;
  border: 1px solid #d3dee4;
  border-radius: 10px;
  color: #102333;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 38, 65, 0.05);
  font: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vfm-field input::placeholder,
.vfm-field textarea::placeholder {
  color: #758492;
  opacity: 1;
}

.vfm-field select {
  appearance: none;
  padding-right: 52px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath fill='%23102738' d='M8 10 0 0h16z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px 9px;
}

.vfm-field textarea {
  min-height: 120px;
  resize: vertical;
}

.vfm-field input:focus,
.vfm-field select:focus,
.vfm-field textarea:focus {
  border-color: var(--vfm-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--vfm-accent) 15%, transparent);
}

.vfm-field--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding-top: 5px;
}

.vfm-field--checkbox input {
  margin: 3px 0 0;
  accent-color: var(--vfm-accent);
}

.vfm-field--checkbox > span {
  color: #5f7180;
  font-size: 11px;
  line-height: 1.5;
}

.vfm-submit {
  display: inline-flex;
  width: 100%;
  min-height: 59px;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 12px;
  padding: 14px 24px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--vfm-accent);
  box-shadow: none;
  font: inherit;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.vfm-submit span {
  display: none;
}

.vfm-submit:hover {
  transform: translateY(-2px);
  filter: brightness(0.96);
  box-shadow: 0 12px 25px color-mix(in srgb, var(--vfm-accent) 24%, transparent);
}

.vfm-submit:disabled {
  opacity: 0.72;
  cursor: wait;
}

.vfm-status {
  min-height: 18px;
  margin-top: 9px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.vfm-status.is-success {
  color: #087d68;
}

.vfm-status.is-error {
  color: #b3261e;
}

.vfm-privacy {
  display: block;
  margin-top: 5px;
  color: #7a8994;
  font-size: 9px;
  line-height: 1.45;
  text-align: center;
}

.vfm-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 767px) {
  .vfm-form-wrap {
    min-height: 0;
    padding: 30px 22px 40px;
    border-radius: 20px;
  }

  .vfm-form-heading {
    margin-bottom: 34px;
  }

  .vfm-form-heading > span {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .vfm-form-heading h2 {
    font-size: 31px;
  }

  .vfm-form-heading p {
    margin-top: 20px;
    font-size: 14px;
  }

  .vfm-form-grid {
    grid-template-columns: 1fr;
  }

  .vfm-field--half {
    grid-column: 1 / -1;
  }

  .vfm-field > span {
    font-size: 14px;
  }

  .vfm-field input:not([type="checkbox"]),
  .vfm-field select,
  .vfm-field textarea {
    min-height: 54px;
    padding: 12px 16px;
    font-size: 16px;
  }

  .vfm-submit {
    min-height: 55px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vfm-form-wrap * {
    transition: none !important;
  }
}
