.contacts-connect {
  background: #efefef;
  padding-top: 4.625rem;
  padding-bottom: 5.25rem;
}

.contacts-connect__title {
  margin: 0;
  font-family: "Roboto Slab", serif;
  font-size: 3rem;
  line-height: 1.08;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  color: #313f7c;
}

.contacts-connect__layout {
  margin-top: 2.625rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.625rem;
}

.contacts-connect__columns {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}

.contacts-connect__column {
  flex: 1 1 0;
  min-width: 0;
}

.contacts-connect__subtitle {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  color: #111111;
}

.contacts-connect__list {
  margin-top: 1.125rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
}

.contacts-connect__item {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 1.25rem;
  line-height: 1.3;
  color: #111111;
}

.contacts-connect__item--phone {
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 700;
}

.contacts-connect__item--phone a {
  white-space: nowrap;
}

.contacts-connect__icon {
  width: 1.375rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.0625rem;
}

.contacts-connect__icon img {
  display: block;
  width: 100%;
  height: auto;
}

.contacts-connect__banking {
  margin: 1.125rem 0 0;
  max-width: 24.5rem;
  font-size: 1.25rem;
  line-height: 1.32;
  color: #111111;
}

.contacts-feedback {
  flex: 0 0 36rem;
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 0.625rem 1.5rem rgba(28, 42, 72, 0.12);
  border: 1px solid #e5e5e5;
  padding: 1.5rem 1.625rem 1.75rem;
}

.contacts-feedback__title {
  margin: 0;
  padding-bottom: 0.625rem;
  font-family: "Roboto Slab", serif;
  font-size: 1.875rem;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  color: #4aa2cf;
}

.contacts-feedback__form {
  margin-top: 1rem;
}

.contacts-feedback__grid {
  display: flex;
  gap: 0.8125rem;
}

.contacts-feedback__fields {
  flex: 0 0 16.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contacts-feedback__field {
  display: block;
}

.contacts-feedback__field input,
.contacts-feedback__field textarea {
  width: 100%;
  border: 1px solid #e3e3e3;
  border-radius: 0.25rem;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  color: #111111;
  background: #ffffff;
}

.contacts-feedback__field input {
  height: 2.5rem;
  padding: 0.625rem 0.75rem;
}

.contacts-feedback__field textarea {
  min-height: 8.4375rem;
  resize: none;
  padding: 0.625rem 0.75rem;
}

.contacts-feedback__field input::placeholder,
.contacts-feedback__field textarea::placeholder {
  color: #b5b5b5;
}

.contacts-feedback__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.contacts-feedback__field--message {
  flex: 1 1 auto;
}

.contacts-feedback__consent {
  margin-top: 0.625rem;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  line-height: 1.2;
  color: #b5b5b5;
}

.contacts-feedback__consent input {
  margin: 0;
  width: 0.75rem;
  height: 0.75rem;
}

.contacts-feedback__consent a {
  text-decoration: underline;
}

.contacts-feedback__consent a:hover,
.contacts-feedback__consent a:focus-visible {
  text-decoration: none;
}

.contacts-feedback__submit {
  margin-top: 0.9375rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: 999px;
  padding: 0.96rem 3.36rem;
  font-size: 0.96rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #ffffff;
  background: #3da6de;
  box-shadow: none;
  cursor: pointer;
}

.contacts-feedback__submit:hover,
.contacts-feedback__submit:focus-visible {
  filter: none;
}

@media (min-width: 1200px) {
  .contacts-connect__subtitle {
    font-size: 1.7rem;
  }

  .contacts-connect__item--phone {
    font-size: 1.7rem;
  }

  .contacts-connect__layout {
    gap: 0;
  }

  .contacts-connect__columns,
  .contacts-feedback {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .contacts-connect__columns {
    padding-right: 2.625rem;
  }

  .contacts-feedback__fields,
  .contacts-feedback__field--message {
    flex: 0 0 calc((100% - 0.8125rem) / 2);
    max-width: calc((100% - 0.8125rem) / 2);
  }

  .contacts-feedback__consent {
    font-size: 0.85rem;
  }

  .contacts-feedback__submit {
    min-width: 0;
    min-height: 0;
    border-radius: 999px;
    padding: 1.3333rem 4.6667rem;
    font-size: 1.3333rem;
    font-weight: 500;
    letter-spacing: 0;
    color: #ffffff;
    background: #3da6de;
    box-shadow: none;
  }

  .contacts-feedback__submit:hover,
  .contacts-feedback__submit:focus-visible {
    filter: none;
  }
}

@media (max-width: 1199px) {
  .contacts-connect {
    padding-top: 4.25rem;
    padding-bottom: 4.75rem;
  }

  .contacts-connect__title {
    font-size: 2.5rem;
  }

  .contacts-connect__layout {
    margin-top: 2.25rem;
    gap: 2rem;
  }

  .contacts-connect__columns {
    gap: 1.75rem;
  }

  .contacts-connect__subtitle {
    font-size: 1.625rem;
  }

  .contacts-connect__item {
    font-size: 1.125rem;
  }

  .contacts-connect__item--phone {
    font-size: 1.5rem;
  }

  .contacts-connect__banking {
    font-size: 1.0625rem;
  }

  .contacts-feedback {
    flex-basis: 31.5rem;
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .contacts-feedback__title {
    font-size: 1.5rem;
  }

  .contacts-feedback__fields {
    flex-basis: 14.5rem;
  }

  .contacts-feedback__field input,
  .contacts-feedback__field textarea {
    font-size: 0.9375rem;
  }
}

@media (max-width: 991px) {
  .contacts-connect {
    padding-top: 3.5rem;
    padding-bottom: 3.75rem;
  }

  .contacts-connect__title {
    font-size: 2.125rem;
  }

  .contacts-connect__layout {
    margin-top: 2rem;
    flex-direction: column;
    gap: 1.5rem;
  }

  .contacts-connect__columns {
    width: 100%;
    gap: 1.25rem;
  }

  .contacts-feedback {
    width: 100%;
    flex-basis: auto;
  }

  .contacts-feedback__submit {
    padding: 0.94rem 3.15rem;
    font-size: 0.94rem;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .contacts-feedback__fields,
  .contacts-feedback__field--message {
    flex: 0 0 calc((100% - 0.8125rem) / 2);
    max-width: calc((100% - 0.8125rem) / 2);
  }
}

@media (max-width: 767px) {
  .contacts-connect {
    padding-top: 3rem;
    padding-bottom: 3.25rem;
  }

  .contacts-connect__title {
    font-size: 1.875rem;
    line-height: 1.12;
  }

  .contacts-connect__layout {
    margin-top: 1.625rem;
    gap: 1.25rem;
  }

  .contacts-connect__columns {
    flex-direction: column;
    gap: 1.625rem;
  }

  .contacts-connect__subtitle {
    font-size: 1.5rem;
  }

  .contacts-connect__item {
    font-size: 1rem;
  }

  .contacts-connect__item--phone {
    font-size: 1.375rem;
  }

  .contacts-connect__banking {
    margin-top: 0.75rem;
    max-width: 100%;
    font-size: 0.9375rem;
    line-height: 1.35;
  }

  .contacts-feedback__title {
    font-size: 1.375rem;
  }

  .contacts-feedback__grid {
    flex-direction: column;
    gap: 0.625rem;
  }

  .contacts-feedback__fields {
    flex-basis: auto;
  }

  .contacts-feedback__field textarea {
    min-height: 7rem;
  }

  .contacts-feedback__submit {
    padding: 0.9rem 2.75rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 575px) {
  .contacts-connect {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .contacts-connect__title {
    font-size: 1.625rem;
  }

  .contacts-connect__subtitle {
    font-size: 1.25rem;
  }

  .contacts-connect__list {
    margin-top: 0.875rem;
    gap: 0.75rem;
  }

  .contacts-connect__item--phone {
    font-size: 1.25rem;
  }

  .contacts-feedback {
    padding: 1rem 0.875rem 1.25rem;
  }

  .contacts-feedback__title {
    font-size: 1.25rem;
  }

  .contacts-feedback__field input {
    height: 2.25rem;
  }

  .contacts-feedback__field input,
  .contacts-feedback__field textarea {
    font-size: 0.875rem;
  }

  .contacts-feedback__submit {
    padding: 0.875rem 2.5rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .contacts-connect {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .contacts-connect__title {
    font-size: 1.5rem;
  }

  .contacts-feedback__submit {
    padding: 0.8rem 2.25rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 320px) {
  .contacts-connect__title {
    font-size: 1.375rem;
  }

  .contacts-connect__subtitle {
    font-size: 1.125rem;
  }

  .contacts-connect__item,
  .contacts-connect__banking {
    font-size: 0.875rem;
  }

  .contacts-connect__item--phone {
    font-size: 1.125rem;
  }

  .contacts-feedback__submit {
    padding: 0.75rem 2rem;
    font-size: 0.75rem;
  }
}
