/* Origin Service - Contact Form 7 */
#contact {
  background: #f5f8fb;
}

#contact .inner {
  max-width: 920px;
}

#contact > .inner > h2 {
  margin-bottom: 0.55em;
}

#contact .design2 {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: #4d5966;
  line-height: 1.9;
}

.origin-cf7-wrap {
  max-width: 820px;
  margin: 3.5rem auto 0;
  padding: 4.2rem 4.5rem;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e2e8ef;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(26, 61, 91, 0.08);
  text-align: left;
}

.origin-cf7-wrap .wpcf7-form {
  margin: 0;
}

.origin-cf7-wrap .origin-form-row {
  margin: 0 0 2.4rem;
}

.origin-cf7-wrap .origin-form-row:last-of-type {
  margin-bottom: 0;
}

.origin-cf7-wrap .origin-form-label {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 .8rem;
  color: #1b2733;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.5;
}

.origin-cf7-wrap .origin-required,
.origin-cf7-wrap .origin-optional {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.6rem;
  height: 2rem;
  padding: 0 .6rem;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
}

.origin-cf7-wrap .origin-required {
  background: #e5484d;
  color: #fff;
}

.origin-cf7-wrap .origin-optional {
  background: #edf1f5;
  color: #63707d;
}

.origin-cf7-wrap input[type="text"],
.origin-cf7-wrap input[type="email"],
.origin-cf7-wrap input[type="tel"],
.origin-cf7-wrap select,
.origin-cf7-wrap textarea {
  width: 100%;
  max-width: none;
  min-height: 54px;
  margin: 0;
  padding: 1.2rem 1.4rem;
  box-sizing: border-box;
  border: 1px solid #cfd8e2;
  border-radius: 9px;
  outline: 0;
  background: #fff;
  color: #24313d;
  font-family: inherit;
  font-size: 1.6rem;
  line-height: 1.5;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.origin-cf7-wrap textarea {
  min-height: 180px;
  resize: vertical;
}

.origin-cf7-wrap input::placeholder,
.origin-cf7-wrap textarea::placeholder {
  color: #9aa6b2;
}

.origin-cf7-wrap input:focus,
.origin-cf7-wrap select:focus,
.origin-cf7-wrap textarea:focus {
  border-color: #1677c8;
  box-shadow: 0 0 0 4px rgba(22, 119, 200, 0.10);
  background: #fff;
}

.origin-cf7-wrap .origin-form-note {
  margin: .7rem 0 0;
  color: #7b8793;
  font-size: 1.3rem;
  line-height: 1.6;
}

.origin-cf7-wrap .origin-privacy {
  margin: 2.8rem 0 2.3rem;
  padding: 1.8rem 2rem;
  border-radius: 10px;
  background: #f6f8fa;
  color: #45515e;
  font-size: 1.4rem;
  line-height: 1.8;
}

.origin-cf7-wrap .origin-privacy a {
  color: #0969b3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.origin-cf7-wrap .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  cursor: pointer;
}

.origin-cf7-wrap .wpcf7-acceptance input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: .25rem 0 0;
  flex: 0 0 auto;
  accent-color: #1677c8;
}

.origin-cf7-wrap .origin-submit-wrap {
  margin: 0;
  text-align: center;
}

.origin-cf7-wrap input[type="submit"],
.origin-cf7-wrap .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 420px);
  min-height: 62px;
  margin: 0;
  padding: 1.3rem 3rem;
  border: 0;
  border-radius: 999px;
  background: #0878c9;
  color: #fff;
  font-family: inherit;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.4;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(8, 120, 201, .22);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  -webkit-appearance: none;
  appearance: none;
}

.origin-cf7-wrap input[type="submit"]:hover,
.origin-cf7-wrap .wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 24px rgba(8, 120, 201, .28);
}

.origin-cf7-wrap input[type="submit"]:disabled,
.origin-cf7-wrap .wpcf7-submit:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

.origin-cf7-wrap .wpcf7-spinner {
  vertical-align: middle;
}

.origin-cf7-wrap .wpcf7-not-valid-tip {
  margin-top: .55rem;
  color: #c9363b;
  font-size: 1.3rem;
}

.origin-cf7-wrap .wpcf7-response-output {
  margin: 2.2rem 0 0 !important;
  padding: 1.3rem 1.5rem !important;
  border-width: 1px !important;
  border-radius: 8px;
  font-size: 1.4rem;
  line-height: 1.7;
}

.origin-cf7-setup,
.origin-cf7-unavailable {
  max-width: 820px;
  margin: 3rem auto 0;
  padding: 2rem;
  box-sizing: border-box;
  border: 1px solid #d7e0e8;
  border-radius: 10px;
  background: #fff;
  color: #475462;
  font-size: 1.5rem;
  line-height: 1.8;
}

@media screen and (max-width: 767px) {
  #contact {
    padding: 5rem 1.6rem;
  }

  .origin-cf7-wrap {
    width: 100%;
    margin-top: 2.4rem;
    padding: 2.4rem 1.6rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(26, 61, 91, 0.07);
  }

  .origin-cf7-wrap .origin-form-row {
    margin-bottom: 2rem;
  }

  .origin-cf7-wrap .origin-form-label {
    font-size: 1.55rem;
  }

  .origin-cf7-wrap input[type="text"],
  .origin-cf7-wrap input[type="email"],
  .origin-cf7-wrap input[type="tel"],
  .origin-cf7-wrap select,
  .origin-cf7-wrap textarea {
    min-height: 52px;
    padding: 1.15rem 1.2rem;
    font-size: 16px;
  }

  .origin-cf7-wrap textarea {
    min-height: 150px;
  }

  .origin-cf7-wrap .origin-privacy {
    padding: 1.5rem;
  }

  .origin-cf7-wrap input[type="submit"],
  .origin-cf7-wrap .wpcf7-submit {
    min-height: 58px;
    font-size: 1.6rem;
  }
}
