.btn {
    height: 48px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0 40px;
    font-size: 16px;
    line-height: 1.25;
    text-align: center;
    border-radius: 8px;
}

.h0 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2222222222;
    margin: 0px;
}
.breadcrumbs {
    margin: 16px 0;
}

.contacts-main ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  list-style: none;
}

.contacts-main__media {
  border-radius: 50%;
  overflow: hidden;
  width: 40px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 40px;
          flex: 0 0 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border: 1px solid #d7d7d7;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.contacts-main__media:hover {
  border-color: transparent;
}

.contacts-main__media svg {
  width: 100%;
  height: 100%;
}

.contacts-main__media rect,
.contacts-main__media stop,
.contacts-main__media path {
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.contacts-main .inst stop {
  stop-color: white;
}

.contacts-main .inst path {
  fill: #0e0e0e;
}

.contacts-main .inst:hover stop:nth-child(1) {
  stop-color: #f9ed32;
}

.contacts-main .inst:hover stop:nth-child(2) {
  stop-color: #ee2a7b;
}

.contacts-main .inst:hover stop:nth-child(3) {
  stop-color: #d22a8a;
}

.contacts-main .inst:hover stop:nth-child(4) {
  stop-color: #8b2ab2;
}

.contacts-main .inst:hover stop:nth-child(5) {
  stop-color: #1b2af0;
}

.contacts-main .inst:hover stop:nth-child(6) {
  stop-color: #002aff;
}

.contacts-main .inst:hover path {
  fill: white;
}

.contacts-main .youtube rect {
  fill: #fff;
}

.contacts-main .youtube path {
  fill: #0e0e0e;
}

.contacts-main .youtube:hover rect {
  fill: #f40000;
}

.contacts-main .youtube:hover path {
  fill: #fff;
}

.contacts-main .vk rect {
  fill: #fff;
}

.contacts-main .vk path {
  fill: #0e0e0e;
}

.contacts-main .vk:hover rect {
  fill: #0077ff;
}

.contacts-main .vk:hover path {
  fill: #fff;
}

.contacts-main .tg rect {
  fill: #fff;
}

.contacts-main .tg path {
  fill: #0e0e0e;
}

.contacts-main .tg:hover rect {
  fill: #27a6e5;
}

.contacts-main .tg:hover path {
  fill: #fff;
}

.contacts-main .wht rect {
  fill: #fff;
}

.contacts-main .wht path {
  fill: #0e0e0e;
}

.contacts-main .wht:hover rect {
  fill: #48c95f;
}

.contacts-main .wht:hover path {
  fill: #fff;
}

.contacts-main .dzen rect {
  fill: #fff;
}

.contacts-main .dzen path {
  scale: 0.7;
  -webkit-transform-origin: center;
      -ms-transform-origin: center;
          transform-origin: center;
  fill: #0e0e0e;
}

.contacts-main .dzen:hover rect {
  fill: #2c3036;
}

.contacts-main .dzen:hover path {
  scale: 1;
  fill: #fff;
}

.contacts-main .rutube .circle {
  opacity: 0;
  transition: 0.3s;
}

.contacts-main .rutube:hover .circle {
 opacity: 1;
}

.contacts-main .rutube:hover .duplicate {
  opacity: 0;
    transition: 0.3s;

}

.contacts-main .rutube:hover .letter {
  fill: #ffffff;
    transition: 0.3s;

}

.contacts-main .rutube:hover .background {
  fill: #100943;
    transition: 0.3s;

}



.contacts-page {
  margin-bottom: 120px;
}

.contacts-page__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 32px;
}

.contacts-page__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}

.contacts-page__upper {
  padding: 60px;
  background-color: #f5f5f7;
  border-radius: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 60px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.contacts-main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 32px;
}

.contacts-main__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
}
.contacts-main__header{
    list-style: none;
}

.contacts-main__header span {
  color: #7d7d7d;
  font-size: 16px;
  line-height: 1.25;
}

.contacts-main__link {
  white-space: nowrap;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  color: #0e0e0e;
  border-bottom: 2px solid transparent;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding-bottom: 2px;
  font-weight: 600;
}

.contacts-main__link:active {
  border-color: #0e0e0e;
}

.contacts-main__footer a {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background-color: #0e0e0e;
  color: #fff;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.contacts-main__footer a:hover {
  background-color: #3a3a3c;
  color: #fff;
}

.contacts-main__footer a:active {
  background-color: #fff;
  border: 1px solid #0e0e0e;
  color: #0e0e0e;
}

.contacts-list {
  border-left: 1px solid #e1e1e3;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
  grid-template-columns: repeat(3, 1fr);
  -webkit-column-gap: 80px;
     -moz-column-gap: 80px;
          column-gap: 80px;
  row-gap: 40px;
  padding: 37px 0;
  padding-left: 60px;
}

.contacts-list__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
}

.contacts-list__item h5 {
  font-size: 16px;
  line-height: 1.25;
  color: #7d7d7d;
  font-weight: 400;
}

.contacts-list__item a {
  font-size: 600px;
  font-size: 20px;
}

.contacts-down {
  border: 1px solid #e1e1e3;
  border-radius: 12px;
  padding: 32px 60px;
}

.contacts-down__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 60px;
}

.contacts-down__wrapper div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
  font-size: 16px;
  line-height: 1.25;
}

.contacts-down__wrapper div span {
  color: #7d7d7d;
}

.contacts-down__wrapper div p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}

.contacts-down__wrapper div p span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
}

.contacts-down__wrapper div p,
.contacts-down__wrapper div a {
  color: #0e0e0e;
}

.contacts-down__wrapper div strong {
  margin-bottom: 2px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.contacts-down__list {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[3];
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
}

.contacts-down__list li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
  font-size: 16px;
  line-height: 1.25;
}

.contacts-down__list li span {
  color: #7d7d7d;
}

.contacts-down__list li p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}

.contacts-down__list li p span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
}

.contacts-down__list li p,
.contacts-down__list li a {
  color: #0e0e0e;
}

.contacts-modal__content {
  border-radius: 12px;
}

.contacts-modal__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  gap: 32px;
  padding: 40px;
  width: 440px;
}

.contacts-modal__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1666666667;
  color: #0e0e0e;
}

.contacts-modal__main {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 32px;
}

.contacts-modal__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.contacts-modal__list input {
  border-color: #e1e1e3;
}

.contacts-modal__list textarea {
  background-color: #f5f5f7;
}

.contacts-modal__list .app-input:has(textarea).filled label {
  top: 0;
}

.contacts-modal__list .app-input:has(textarea) label {
  top: 21px;
  background-color: #f5f5f7;
}

.contacts-modal__list textarea {
  padding-top: 12px;
  height: 140px;
}

.contacts-modal__btn {
  width: 100%;
}

.app-input {
  position: relative;
  list-style: none;
}

.app-input.filled label {
  font-size: 12px;
  line-height: 1.3333333333;
  top: 0;
}
.app-input input{
    background-color: #fff;
    height: 48px;
}
.app-input input,
.app-input textarea {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: 8px;
  border: 1px solid #7d7d7d;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.25;
  color: #0e0e0e;
}

.app-input label {
  position: absolute;
  pointer-events: none;
  padding-left: 5px;
  padding-right: 5px;
  background-color: #fff;
  z-index: 1;
  left: 15px;
  top: 50%;
  translate: 0 -50%;
  color: #7d7d7d;
  font-size: 16px;
  line-height: 1.25;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.app-btn {
  background-color: #0e0e0e;
  color: #fff;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.app-btn:hover {
  background-color: #3a3a3c;
}

.app-btn:active {
  background-color: #fff;
  border: 1px solid #0e0e0e;
  color: #0e0e0e;
}
.app-input div.error{
    display: none;
}

.requisites-btn {
  padding: 10px 20px;
  color: #0A53FF;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.requisites-btn.active {
  color: #6E6E6E;
}

.contacts-down {
  opacity: 0;
  display: none;
  overflow: hidden;
  transition:
          opacity 0.3s ease-out;
}

.contacts-down.show {
  opacity: 1;
  display: flex;
}

.contacts-main__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.requisites-btn.mobile {
  display: none;
}

@media (max-width: 1608px) {
  .contacts-page__upper {
    padding: 40px;
    gap: 40px;
  }

  .contacts-list {
    -webkit-column-gap: 40px;
       -moz-column-gap: 40px;
            column-gap: 40px;
    padding-left: 40px;
  }
}

@media (max-width: 1440px) {
  .contacts-down {
    padding: 32px 40px;
  }

  .contacts-down__wrapper {
    gap: 40px;
  }

  .contacts-down__list {
    gap: 80px;
  }
}

@media (max-width: 1300px) {
  .contacts-list {
    row-gap: 20px;
    padding-left: 40px;
    padding-top: 13px;
    padding-bottom: 13px;
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }

  .contacts-down__wrapper {
    gap: 135px;
  }

  .contacts-down__wrapper div strong {
    margin-bottom: 32px;
  }

  .contacts-down__wrapper div p {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 4px;
  }

  .contacts-down__list {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .contacts-page {
    margin-bottom: 80px;
  }

  .contacts-page__wrapper {
    gap: calc(20px + 8 * (100vw - 768px) / 256);
  }

  .contacts-page__content {
    gap: calc(12px + 8 * (100vw - 768px) / 256);
  }

  .contacts-page__upper {
    padding: calc(20px + 20 * (100vw - 768px) / 256);
    gap: calc(28px + 12 * (100vw - 768px) / 256);
  }

  .contacts-main {
    gap: calc(28px + 4 * (100vw - 768px) / 256);
  }

  .contacts-main__header {
    gap: calc(8px + 4 * (100vw - 768px) / 256);
  }

  .contacts-main__header span {
    gap: calc(14px + 2 * (100vw - 768px) / 256);
  }

  .contacts-main__link {
    font-size: calc(24px + 12 * (100vw - 768px) / 256);
  }

  .contacts-main__main ul {
    gap: calc(8px + 8 * (100vw - 768px) / 256);
  }

  .contacts-main__footer a {
    height: calc(40px + 8 * (100vw - 768px) / 256);
    font-size: calc(14px + 2 * (100vw - 768px) / 256);
    padding: 0 calc(20px + 20 * (100vw - 768px) / 256);
  }

  .contacts-list {
    -webkit-column-gap: calc(32px + 8 * (100vw - 768px) / 256);
       -moz-column-gap: calc(32px + 8 * (100vw - 768px) / 256);
            column-gap: calc(32px + 8 * (100vw - 768px) / 256);
    row-gap: 20px;
    padding-left: calc(28px + 12 * (100vw - 768px) / 256);
  }

  .contacts-list__item h5 {
    font-size: calc(12px + 4 * (100vw - 768px) / 256);
  }

  .contacts-list__item a {
    font-size: calc(14px + 6 * (100vw - 768px) / 256);
  }
}

@media (max-width: 992px) {
  .contacts-down {
    padding: 20px;
  }

  .contacts-down__wrapper div {
    gap: 4px;
  }

  .contacts-down__wrapper div strong {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .contacts-down__wrapper div span {
    font-size: 12px;
    line-height: 1.3333333333;
  }

  .contacts-down__wrapper div p span {
    font-size: 14px;
    line-height: 1.4285714286;
  }

  .contacts-down__list {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .contacts-down__list li {
    gap: 4px;
  }

  .contacts-down__item span {
    font-size: 12px;
    line-height: 1.3333333333;
  }

  .contacts-down__item p,
  .contacts-down__item a {
    font-size: 14px;
    line-height: 1.4285714286;
  }
}

@media (max-width: 768px) {
  .h0 {
    font-size: 24px;
  }

  .contacts-page__wrapper {
    gap: 20px;
  }

  .contacts-page__content {
    gap: 12px;
  }

  .contacts-page__upper {
    padding: 20px;
    gap: 28px;
  }

  .contacts-main {
    gap: 28px;
  }

  .contacts-main__header {
    gap: 8px;
  }

  .contacts-main__header span {
    gap: 14px;
  }

  .contacts-main__link {
    font-size: 24px;
  }

  .contacts-main__main ul {
    gap: 8px;
  }

  .contacts-main__footer a {
    height: 40px;
    font-size: 14px;
    padding: 0 20px;
  }

  .contacts-list {
    width: 100%;
    -webkit-column-gap: 32px;
       -moz-column-gap: 32px;
            column-gap: 32px;
    row-gap: 20px;
    padding-left: 28px;
  }

  .contacts-list__item h5 {
    font-size: 12px;
  }

  .contacts-list__item a {
    font-size: 14px;
  }

  .contacts-modal__wrapper {
    height: 100%;
    width: 100%;
    padding-top: 44px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 46px;
    text-align: left;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 40px;
  }

  .contacts-modal__main {
    height: 100%;
  }

  .contacts-modal__title {
    font-size: 20px;
  }

  .contacts-modal__list {
    gap: 12px;
  }

  .app-input.filled label {
    font-size: 10px;
    line-height: 1.3333333333;
  }

  .app-input label {
    font-size: 12px;
    line-height: 1.3333333333;
  }

  .app-input input {
    height: 40px;
  }

  .app-input input,
  .app-input textarea {
    font-size: 14px;
    line-height: 1.4285714286;
  }

  .app-input label {
    font-size: 14px;
    line-height: 1.4285714286;
  }
}

@media (max-width: 760px) {
  .contacts-page__upper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 28px;
  }

  .contacts-main {
    width: 100%;
  }

  .contacts-main ul {
    gap: 8px;
  }

  .contacts-main ul span {
    font-size: 14px;
  }

  .contacts-main__footer a {
    width: 100%;
  }

  .contacts-main__main ul {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }

  .contacts-list {
    padding: 0;
    padding-left: 0;
    padding-top: 28px;
    border-left: 0;
    border-top: 1px solid #e1e1e3;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contacts-list__item {
    gap: 4px;
  }
}

@media (max-width: 650px) {
  .contacts-page {
    margin-bottom: 42px;
  }

  .contacts-down {
    padding: 20px 13px;
  }

  .contacts-down__wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 28px;
  }

  .contacts-down__wrapper div strong {
    margin-bottom: 8px;
  }
}

@media (max-width: 568px) {
  .contacts-modal__wrapper {
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 20px;
    padding-bottom: 42px;
  }
  .requisites-btn.desktop {
    display: none!important;
  }

  .requisites-btn.mobile {
    display: flex;
  }
}

@media (hover: hover) {
  .contacts-main__link:hover {
    border-color: #0e0e0e;
    color: #0e0e0e;
  }
}
