/* Переключення desktop / mobile */
.desktop-footer {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: var(--color-1);
  color: var(--color-wh);
  padding: 50px 0 22px 0;
}

.mobile-footer {
  display: none;
  background-color: var(--color-1);
  color: var(--color-wh);
  padding: 50px 0 22px 0;
}

/* 1920px */

.container_footer {
  width: 100%;
  max-width: 1047px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer_top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.left_links {
  display: flex;
  align-items: center;
  gap: 120px;
}

.left_links a {
  text-decoration: underline;
  color: var(--color-wh);
  font-weight: var(--fw-medium);
  font-size: 17px;
  line-height: 118%;
}

.right_phone_time {
  display: flex;
  align-items: flex-start;
  gap: 29px;
}

.footer_phone {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer_phone_text {
  font-weight: var(--fw-medium);
  font-size: 17px;
  line-height: 118%;
}

.footer_phone_number {
  font-weight: var(--fw-bold);
  font-size: var(--fs-2);
  line-height: 125%;
}

.footer_time {
  display: flex;
  flex-direction: column;
}

.footer_time p {
  font-weight: var(--fw-regular);
  font-size: 12px;
  line-height: 133%;
}

.footer_bottom {
  display: flex;
  align-items: flex-end;
  gap: 315px;
}

.footer_bottom p {
  font-weight: var(--fw-regular);
  font-size: 12px;
  line-height: 133%;
}

.socials {
  display: flex;
  align-items: flex-end;
  gap: 25px;
}

.socials p {
  font-weight: var(--fw-regular);
  font-size: 12px;
  line-height: 150%;
}

.social_links {
  display: flex;
  gap: 11px;
}

.social_links img {
  width: 24px;
  height: 24px;
}

/* 1280px */
@media (max-width: 1280px) {
  .container_footer {
    max-width: 960px;
  }
  .footer_bottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 231px;
  }
}

/* 1024px */
@media (max-width: 1024px) {
  .container_footer {
    max-width: 920px;
  }
  .footer_bottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 196px;
  }
}

/* 768px */
@media (max-width: 768px) {
  .container_footer {
    max-width: 686px;
  }
  .footer_bottom {
    display: flex;
    align-items: flex-end;
    gap: 66px;
  }
  .footer_bottom p {
    font-size: 10px;
    line-height: 140%;
  }
  .socials p {
    font-size: 10px;
    line-height: 140%;
  }
  .left_links {
    gap: 43px;
  }
  .left_links a {
    font-size: var(--fs-3);
    line-height: 121%;
    white-space: nowrap;
  }
  .footer_phone_text {
    font-size: var(--fs-3);
    line-height: 121%;
  }
  .footer_phone_number {
    font-weight: var(--fw-medium);
    font-size: var(--fs-3);
    line-height: 121%;
  }
  .footer_time p {
    font-weight: var(--fw-regular);
    font-size: 10px;
    line-height: 140%;
  }
}

/* 430px */
@media (max-width: 430px) {
  .desktop-footer {
    display: none;
  }
  .mobile-footer {
    display: flex;
  }
  footer {
    padding: 25px 0 20px 20px;
  }
  .container_footer {
    max-width: 360px;
  }
  .footer {
    gap: 55px;
  }
  .footer_top {
    display: flex;
    flex-direction: column;
    gap: 83px;
  }
  .left_links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 33px;
  }
  .right_phone_time {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .footer_phone {
    gap: 14px;
  }
  .footer_bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .socials {
    display: flex;
    align-items: center;
    gap: 63px;
  }
  .rights_text {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
}

/* 320px */
@media (max-width: 320px) {
  .desktop-footer {
    display: none;
  }
  .mobile-footer {
    display: flex;
    align-items: center;
  }
  .container_footer {
    max-width: 330px;
  }
}
