.header {
  margin-bottom: 0;
  z-index: 6;
}

.contacts {
  position: relative;
  margin-top: 94px;
  margin-bottom: 112px;
  z-index: 5;
}
.contacts::after {
  content: "";
  position: absolute;
  inset: -186px 0 -160px 0;
  background: url(../img/contacts/2.png) top right/cover no-repeat;
  z-index: -1;
  pointer-events: none;
}
.contacts__box {
  max-width: 448px;
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 99px;
}
.contacts__holder {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(214, 220, 229, 0.5019607843);
}
.contacts__holder:last-child {
  padding-bottom: unset;
  border-bottom: unset;
}
.contacts__city {
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: 120%;
  margin-bottom: 8px;
}
.contacts__adress {
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
}
.contacts__caption {
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: 120%;
  margin-bottom: 19px;
}
.contacts__block {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
}
.contacts__details {
  display: flex;
  flex-direction: column;
}
.contacts__details span {
  display: flex;
  margin-bottom: 11px;
}
.contacts__details span:last-child {
  margin-bottom: 0;
}
.contacts__details.mob {
  display: none;
}
.contacts__region {
  width: 348px;
  padding: 29px 31px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(11.3px);
  -webkit-backdrop-filter: blur(11.3px);
  box-shadow: 0 19px 46.6px rgba(78, 109, 141, 0.08);
  display: flex;
  align-items: center;
  position: absolute;
  top: 32.5%;
  right: 23.7%;
}
.contacts__region p {
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: 120%;
  margin-right: 20px;
}
.contacts__region div {
  display: flex;
  align-items: center;
}
.contacts__region div p {
  font-size: 58px;
  font-weight: var(--font-weight-semibold);
  color: var(--brand-main);
  line-height: 58px;
  margin-right: 12px;
}
.contacts__region div span {
  text-transform: uppercase;
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
  color: var(--brand-main);
  line-height: 120%;
}
.contacts__connect {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 16%;
  right: 13.5%;
}
.contacts__connect a {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: 120%;
  margin-bottom: 8px;
}
.contacts__connect a:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 1450px) {
  .contacts::after {
    content: "";
    position: absolute;
    inset: -127px 0 -160px 0;
    background: url(../img/contacts/2.png) top right/cover no-repeat;
    z-index: -1;
    pointer-events: none;
  }
  .contacts__region {
    width: 250px;
    padding: 16px;
    top: 32.5%;
    right: 23.7%;
  }
  .contacts__region p {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    line-height: 120%;
    margin-right: 16px;
  }
  .contacts__region div {
    display: flex;
    align-items: center;
  }
  .contacts__region div p {
    font-size: 32px;
    font-weight: var(--font-weight-semibold);
    color: var(--brand-main);
    line-height: 58px;
    margin-right: 12px;
  }
  .contacts__region div span {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--brand-main);
    line-height: 120%;
  }
}
@media screen and (max-width: 1280px) {
  .contacts__connect {
    top: 7%;
    right: 9%;
  }
  .contacts__connect a {
    font-size: 16px;
  }
  .contacts__region {
    right: 16%;
  }
}
@media screen and (max-width: 1024px) {
  .contacts::after {
    inset: -48px 0 -160px 0;
  }
  .contacts__connect {
    top: 7%;
    right: 9%;
  }
  .contacts__connect a {
    font-size: 16px;
  }
  .contacts__region {
    right: 8%;
  }
}
@media screen and (max-width: 768px) {
  .contacts {
    margin-bottom: 56px;
  }
  .contacts::after {
    content: unset;
  }
  .contacts__region {
    display: none;
  }
  .contacts__connect {
    position: unset;
  }
  .contacts__desc {
    margin-top: 28px;
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    line-height: 110%;
  }
  .contacts__box {
    margin-top: 16px;
    margin-bottom: 32px;
  }
  .contacts__city {
    font-size: 16px;
  }
  .contacts__adress {
    font-size: 14px;
  }
  .contacts__holder {
    padding-bottom: 16px;
  }
  .contacts__box {
    max-width: unset;
  }
  .contacts__caption {
    margin-bottom: 16px;
  }
  .contacts__details {
    margin-bottom: 32px;
  }
  .contacts__details span {
    font-size: 14px;
  }
  .contacts__details {
    display: none;
  }
  .contacts__details.mob {
    display: flex;
  }
}