.contact {
  color: #333333;
  background-color: #ffffff;
}

.contact-body {
  max-width: 1080px;
  padding: 0 24px;
  margin: 0 auto;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .contact-body {
    padding: 0 16px;
  }
}
.contact-body {
  padding-top: 50px;
  padding-bottom: 80px;
}
.contact-body__description {
  margin: 0 0 40px;
  font-size: 24px;
  font-weight: 700;
  color: #333333;
  line-height: 40px;
  letter-spacing: 0.02em;
  text-align: center;
}
@media (max-width: 768px) {
  .contact-body {
    padding-top: 30px;
    padding-bottom: 60px;
  }
  .contact-body__description {
    font-size: 16px;
    line-height: 32px;
    margin: 0 0 24px;
  }
}

.contact-info {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}
.contact-info__card {
  display: flex;
  flex-direction: column;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  padding: 8px 24px;
  border: 2px solid #8db8e8;
  border-radius: 12px;
  background-color: #ffffff;
}
.contact-info__row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 12px 0;
}
.contact-info__row + .contact-info__row {
  border-top: 1px dashed #8db8e8;
}
.contact-info__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: block;
}
.contact-info__label {
  font-size: 18px;
  font-weight: 700;
  color: #8db8e8;
  line-height: 35px;
  white-space: nowrap;
  min-width: 220px;
}
.contact-info__number {
  font-size: clamp(22px, 4.5vw, 32px);
  font-weight: 700;
  color: #0f3580;
  line-height: 35px;
  letter-spacing: 0.02em;
  padding-left: 24px;
  border-left: 1px solid #8db8e8;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .contact-info {
    margin-bottom: 32px;
  }
  .contact-info__card {
    padding: 4px 16px;
  }
  .contact-info__row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    padding: 12px 0;
  }
  .contact-info__label {
    min-width: 0;
  }
  .contact-info__number {
    width: 100%;
    padding-left: 0;
    border-left: none;
    text-align: center;
  }
}

.contact-form-wrap .wpcf7 {
  border: none;
  background: transparent;
  padding: 0;
}
.contact-form-wrap .wpcf7-form-control-wrap {
  display: block;
}
.contact-form-wrap .cf7-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.contact-form-wrap .cf7-field__label {
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  line-height: 29px;
}
.contact-form-wrap .cf7-field__required {
  color: #ff460d;
  font-size: 12px;
  margin-left: 4px;
}
.contact-form-wrap .cf7-field__privacy-link {
  color: inherit;
  text-decoration: underline;
}
.contact-form-wrap .cf7-field__privacy-link:hover, .contact-form-wrap .cf7-field__privacy-link:focus {
  color: inherit;
  opacity: 0.7;
}
.contact-form-wrap .cf7-field--privacy {
  margin-bottom: 30px;
}
.contact-form-wrap input[type=text],
.contact-form-wrap input[type=email],
.contact-form-wrap input[type=tel] {
  width: 100%;
  height: 36px;
  border: 1px solid #cccccc;
  background-color: #ffffff;
  padding: 0 8px;
  font-size: 14px;
  color: #333333;
  border-radius: 0;
  box-sizing: border-box;
}
.contact-form-wrap input[type=text]::-moz-placeholder, .contact-form-wrap input[type=email]::-moz-placeholder, .contact-form-wrap input[type=tel]::-moz-placeholder {
  color: #cccccc;
}
.contact-form-wrap input[type=text]::placeholder,
.contact-form-wrap input[type=email]::placeholder,
.contact-form-wrap input[type=tel]::placeholder {
  color: #cccccc;
}
.contact-form-wrap select {
  width: 160px;
  height: 36px;
  border: 1px solid #cccccc;
  background-color: #ffffff;
  padding: 0 36px 0 8px;
  font-size: 14px;
  color: #333333;
  border-radius: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 6 5-6' stroke='%23333333' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  box-sizing: border-box;
  cursor: pointer;
}
.contact-form-wrap textarea {
  width: 100%;
  height: 183px;
  border: 1px solid #cccccc;
  background-color: #ffffff;
  padding: 10px 8px;
  font-size: 14px;
  color: #333333;
  resize: none;
  border-radius: 0;
  box-sizing: border-box;
}
.contact-form-wrap textarea::-moz-placeholder {
  color: #cccccc;
}
.contact-form-wrap textarea::placeholder {
  color: #cccccc;
}
.contact-form-wrap .wpcf7-radio {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.contact-form-wrap .wpcf7-list-item {
  display: flex;
  align-items: center;
  margin: 0;
}
.contact-form-wrap .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #333333;
  cursor: pointer;
}
.contact-form-wrap .wpcf7-list-item input[type=radio] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #0f3580;
  cursor: pointer;
}
.contact-form-wrap .wpcf7-checkbox .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #333333;
  cursor: pointer;
}
.contact-form-wrap .wpcf7-checkbox .wpcf7-list-item input[type=checkbox] {
  width: 15px;
  height: 15px;
  margin: 0;
  border: 1px solid #d9d9d9;
  accent-color: #0f3580;
  cursor: pointer;
}
.contact-form-wrap input.wpcf7-submit {
  display: block;
  margin: 0 auto;
  width: 316px;
  height: 59px;
  background-color: #0f3580;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease;
}
.contact-form-wrap input.wpcf7-submit:hover {
  transform: translateY(-4px);
}
@media (prefers-reduced-motion: reduce) {
  .contact-form-wrap input.wpcf7-submit {
    transition: none;
  }
  .contact-form-wrap input.wpcf7-submit:hover {
    transform: none;
  }
}
.contact-form-wrap .wpcf7-not-valid-tip {
  color: #ff460d;
  font-size: 12px;
  margin-top: 4px;
}
.contact-form-wrap .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  font-size: 14px;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .contact-form-wrap .wpcf7 form {
    margin-left: 0;
    margin-right: 0;
  }
  .contact-form-wrap select {
    width: 100%;
    max-width: 100%;
  }
}
