.contacts-page__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  .contacts-page__container {
    padding: 0 20px;
  }
}

.contacts-page__top {
  margin-bottom: 32px;
}

.contacts-page__title {
  font-family: "Fixel Display", sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  color: #04083a;
  margin: 0;
  letter-spacing: -0.8px;
}
@media screen and (max-width: 768px) {
  .contacts-page__title {
    font-size: 28px;
  }
}
@media screen and (max-width: 480px) {
  .contacts-page__title {
    font-size: 22px;
  }
}

.contacts-topbar {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border: 1px solid #a7ccee;
  border-radius: 4px;
  padding: 40px;
  margin-bottom: 24px;
}
@media screen and (max-width: 1024px) {
  .contacts-topbar {
    flex-direction: column;
    gap: 28px;
    padding: 28px;
  }
}
@media screen and (max-width: 480px) {
  .contacts-topbar {
    padding: 20px 16px;
  }
}

.contacts-topbar__divider {
  width: 1px;
  background: #a7ccee;
  margin: 0 32px;
  flex-shrink: 0;
}
@media screen and (max-width: 1024px) {
  .contacts-topbar__divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }
}

.contacts-topbar__col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts-topbar__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contacts-topbar__row--stack {
  align-items: flex-start;
}

.contacts-topbar__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #eb7a1b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.contacts-topbar__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contacts-topbar__label {
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #04083a;
}

.contacts-topbar__text {
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #04083a;
  letter-spacing: -0.32px;
}

.contacts-topbar__link {
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #0b70cf;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
  letter-spacing: -0.32px;
}
.contacts-topbar__link:active {
  color: rgb(8.8, 89.6, 165.6);
}
@media screen and (min-width: 1025px) {
  .contacts-topbar__link:hover {
    color: rgb(8.8, 89.6, 165.6);
  }
}

.contacts-main {
  display: grid;
  grid-template-columns: 553px 1fr;
  gap: 24px;
  margin-bottom: 24px;
  align-items: stretch;
}
@media screen and (max-width: 1024px) {
  .contacts-main {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 768px) {
  .contacts-main {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.contacts-form-box {
  scroll-margin-top: 96px;
  background: #fff;
  border: 1px solid #a7ccee;
  border-radius: 4px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media screen and (max-width: 1024px) {
  .contacts-form-box {
    scroll-margin-top: 80px;
  }
}
@media screen and (max-width: 480px) {
  .contacts-form-box {
    padding: 24px 16px;
  }
}

.contacts-form-box__title {
  font-family: "Work Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #04083a;
  margin: 0;
  letter-spacing: -0.48px;
  line-height: 1.125;
}

.contacts-native-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts-native-form__field {
  width: 100%;
  height: 50px;
  padding: 14px 16px;
  border: 1px solid #a7ccee;
  border-radius: 4px;
  background: #fff;
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #04083a;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.contacts-native-form__field::placeholder {
  color: rgba(4, 8, 58, 0.25);
}
.contacts-native-form__field:focus {
  border-color: #eb7a1b;
}
.contacts-native-form__field--textarea {
  height: 160px;
  resize: vertical;
}

.screen-reader-response {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wpcf7-form p {
  margin: 0;
}
.wpcf7-form .hidden-fields-container {
  display: none;
}
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form textarea {
  width: 100%;
  height: 50px;
  padding: 14px 16px;
  border: 1px solid #a7ccee;
  border-radius: 4px;
  background: #fff;
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #04083a;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
  appearance: none;
}
.wpcf7-form input[type=text]::placeholder,
.wpcf7-form input[type=email]::placeholder,
.wpcf7-form input[type=tel]::placeholder,
.wpcf7-form textarea::placeholder {
  color: rgba(4, 8, 58, 0.25);
}
.wpcf7-form input[type=text]:focus,
.wpcf7-form input[type=email]:focus,
.wpcf7-form input[type=tel]:focus,
.wpcf7-form textarea:focus {
  border-color: #eb7a1b;
}
.wpcf7-form textarea {
  display: block;
  height: 160px;
  resize: vertical;
}
.wpcf7-form .wpcf7-spinner {
  display: none;
}
.wpcf7-form .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 4px;
}
.wpcf7-form .wpcf7-response-output {
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  margin-top: 0;
  border: none;
}
.wpcf7-form .wpcf7-response-output:empty {
  display: none;
}
.wpcf7-form.sent .wpcf7-response-output {
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid #27ae60;
  color: #27ae60;
}
.wpcf7-form.invalid .wpcf7-response-output, .wpcf7-form.unaccepted .wpcf7-response-output, .wpcf7-form.spam .wpcf7-response-output, .wpcf7-form.aborted .wpcf7-response-output, .wpcf7-form.failed .wpcf7-response-output {
  background: rgba(231, 76, 60, 0.08);
  border: 1px solid #e74c3c;
  color: #e74c3c;
}

.contacts-form-btn,
.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 12px 24px;
  background-color: #eb7a1b;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s;
  align-self: flex-start;
  margin-top: 16px;
}
.contacts-form-btn:active,
.wpcf7-submit:active {
  background-color: rgb(188, 97.6, 21.6);
}
@media screen and (min-width: 1025px) {
  .contacts-form-btn:hover,
  .wpcf7-submit:hover {
    background-color: rgb(188, 97.6, 21.6);
  }
}

.contacts-map-box {
  background: #fff;
  border: 1px solid #a7ccee;
  border-radius: 4px;
  overflow: hidden;
  min-height: 460px;
}
@media screen and (max-width: 768px) {
  .contacts-map-box {
    min-height: 300px;
  }
}
.contacts-map-box iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.contacts-resources {
  background: #fff;
  border: 1px solid #a7ccee;
  border-radius: 4px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
@media screen and (max-width: 768px) {
  .contacts-resources {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 20px;
  }
}

.contacts-resources__title {
  font-family: "Work Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #04083a;
  margin: 0;
  flex-shrink: 0;
  letter-spacing: -0.48px;
  line-height: 1.125;
}

.contacts-resources__links {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
}
@media screen and (max-width: 768px) {
  .contacts-resources__links {
    justify-content: flex-start;
  }
}

.contacts-resources__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 200px;
}
@media screen and (max-width: 640px) {
  .contacts-resources__item {
    width: calc(50% - 10px);
  }
}
@media screen and (max-width: 400px) {
  .contacts-resources__item {
    width: 100%;
  }
}

.contacts-resources__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #eb7a1b;
  display: flex;
  align-items: center;
  margin-top: 2px;
}

.contacts-resources__label {
  display: block;
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #04083a;
  margin-bottom: 8px;
  line-height: 1.25;
}

.contacts-resources__link {
  display: block;
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #0b70cf;
  text-decoration: underline;
  text-underline-offset: 2px;
  letter-spacing: -0.32px;
  transition: color 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contacts-resources__link:active {
  color: rgb(8.8, 89.6, 165.6);
}
@media screen and (min-width: 1025px) {
  .contacts-resources__link:hover {
    color: rgb(8.8, 89.6, 165.6);
  }
}
