.wpcf7 .hidden-fields-container {
  display: none;
}

.wpcf7 .screen-reader-response {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

.el-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.el-hp-wrap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.el-field {
  display: block;
  width: 100%;
  padding: 14px 16px;
  background: var(--color-cream);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-ink);
  outline: none;
  box-shadow: 0 0 0 0 transparent;
  transition: box-shadow .15s;
}

@media (min-width: 1024px) {
  .el-field {
    font-size: 14px;
  }
}

.el-field:focus {
  box-shadow: 0 0 0 2px rgba(19, 48, 126, .4);
}

.el-field.el-field--invalid,
.el-field.wpcf7-not-valid {
  box-shadow: 0 0 0 2px var(--color-danger);
}

textarea.el-field {
  resize: vertical;
  min-height: 96px;
}

.wpcf7-not-valid-tip {
  display: none;
}

.el-field.wpcf7-not-valid::placeholder {
  color: var(--color-danger);
  opacity: 1;
}

.wpcf7-acceptance .wpcf7-list-item {
  display: block;
  margin: 0;
}

.wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.wpcf7-acceptance input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  margin-top: 0;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.5px solid var(--color-muted);
  border-radius: 4px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 9px;
  cursor: pointer;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}

.wpcf7-acceptance input[type="checkbox"]:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 18%, transparent);
}

.wpcf7-acceptance input[type="checkbox"]:focus-visible {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 30%, transparent);
}

.wpcf7-acceptance input[type="checkbox"]:checked {
  border-color: var(--color-accent);
  background-color: var(--color-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.2 4.4 8.6 11 1.7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.wpcf7-acceptance .wpcf7-list-item-label {
  color: var(--color-muted);
  font-size: 11px;
  line-height: 1.4;
}

.wpcf7-acceptance .wpcf7-list-item-label a {
  color: var(--color-accent);
  transition: color .15s;
}

.wpcf7-acceptance .wpcf7-list-item-label a:hover {
  color: var(--color-muted);
}

.wpcf7-acceptance.wpcf7-not-valid .wpcf7-list-item-label {
  color: var(--color-danger);
}

.el-form input[type="submit"].btn {
  position: relative;
  padding-right: 48px;
  width: 100%;
}

.el-form input[type="submit"].btn::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background-color: #fff;
  -webkit-mask: url("../img/icons/arrow-right.svg") center / contain no-repeat;
  mask: url("../img/icons/arrow-right.svg") center / contain no-repeat;
  transition: background-color .15s;
}

.el-form input[type="submit"].btn:hover::after {
  background-color: var(--color-accent);
}

.el-submit {
  position: relative;
  display: block;
}

.wpcf7-spinner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: none;
  border-radius: 8px;
  background: rgba(10, 31, 74, .55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s;
  pointer-events: none;
}

.wpcf7-spinner::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 100%;
  animation: el-spin 700ms linear infinite;
}

form.submitting .wpcf7-spinner {
  opacity: 1;
  visibility: visible;
}

form.submitting .el-submit ~ .wpcf7-spinner,
form.submitting .wpcf7-spinner ~ .wpcf7-spinner {
  display: none;
}

form.submitting .wpcf7-submit,
.wpcf7-submit:disabled {
  cursor: not-allowed;
  pointer-events: none;
}

form.submitting .wpcf7-submit::after {
  opacity: 0;
}

@keyframes el-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.wpcf7-response-output {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  background: var(--color-cream);
  color: var(--color-ink2);
}

.el-form.init .wpcf7-response-output,
.el-form.resetting .wpcf7-response-output,
.el-form.submitting .wpcf7-response-output,
.el-form.invalid .wpcf7-response-output {
  display: none;
}

.el-form.sent .wpcf7-response-output {
  background: rgba(98, 197, 132, .14);
  color: #2f7a49;
}

.el-form.failed .wpcf7-response-output,
.el-form.aborted .wpcf7-response-output,
.el-form.spam .wpcf7-response-output {
  background: rgba(207, 1, 41, .1);
  color: var(--color-danger);
}

.el-form.invalid .wpcf7-response-output,
.el-form.unaccepted .wpcf7-response-output {
  background: rgba(226, 166, 60, .16);
  color: #96701c;
}

.lwpcngNotice {
  z-index: 220 !important;
}

.lwpcngNotice.lwpcngNoticeBox {
  max-width: 640px;
}

.lwpcngNotice.lwpcngNotice-dark {
  background: #fff;
  border: none;
  border-radius: 16px !important;
  box-shadow: 0 20px 48px -16px rgba(10, 31, 74, .35);
  color: var(--color-ink);
  font-size: var(--text-caption);
  line-height: var(--leading-body);
  padding: 20px 24px;
}

.lwpcngNotice.lwpcngNotice-dark .lwpcngNotice_message a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity .15s;
}

.lwpcngNotice.lwpcngNotice-dark .lwpcngNotice_message a:hover {
  opacity: .8;
}

.lwpcngNotice.lwpcngNotice-dark .lwpcngNotice_accept {
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: var(--text-btn);
  font-weight: 500;
  padding: 12px 24px;
  min-height: 44px;
  box-shadow: none;
  white-space: nowrap;
}

.lwpcngNotice.lwpcngNotice-dark .lwpcngNotice_accept:hover {
  background: var(--color-accent-hover);
  color: #fff;
  box-shadow: none;
}

@media (max-width: 639.98px) {
  .lwpcngNotice.lwpcngNoticeBox-bottomRight {
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
  }

  .lwpcngNotice.lwpcngNotice-dark.lwpcngNotice-active {
    align-items: stretch;
  }

  .lwpcngNotice.lwpcngNotice-dark .lwpcngNotice_accept {
    width: 100%;
  }
}
