.footer {
  background-color: var(--secondary-background-color);
  color: var(--main-white-font-color);
  padding: 6vw 3vw;
  text-align: center;
  font-family: var(--main-font-family);
}

.footer-container {
  max-width: 62.5vw;
  margin: 0 auto;
}

.footer-description {
  font-size: 1.4vw;
  color: var(--main-white-font-color);
  letter-spacing: 0.07em;
  line-height: 200%;
  max-width: 37vw;
  margin: 0 auto 5vw auto;
}

.footer-socials {
  margin-bottom: 3vw;
}

.footer-socials a {
  color: var(--main-white-font-color);
  text-decoration: none;
  font-size: 0.9vw;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.footer-socials span {
  color: var(--main-font-color-active);
  margin: 0 0.6vw;
  font-size: 0.9vw;
}

.footer-socials a:hover {
  color: var(--yellow-color);
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.8vw;
  margin-bottom: 3vw;
}

.footer-nav a {
  color: var(--main-white-font-color-active);
  text-decoration: none;
  font-size: 0.8vw;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--main-white-font-color);
}

.footer-bottom {
  border-top: 1px solid var(--main-font-color);
  padding-top: 1vw;
  font-size: 0.76vw;
  color: var(--main-white-font-color-transparent);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1vw;
}

.footer-bottom a {
  color: var(--main-white-font-color-transparent);
  text-decoration: underline;
  transition: color 0.3s ease, text-decoration 0.3s ease-in-out;
  padding: 0 0.3vw;
}

.footer-bottom a:hover {
  color: var(--yellow-color);
  text-decoration: none;
}


/* ==========================
   📱 АДАПТИВ
   ========================== */

/* 1024px ↓ */
@media (max-width: 1024px) {
  .footer-container {
    max-width: 80vw;
  }
  .footer-description {
    font-size: 1.8vw;
    max-width: 55vw;
  }
  .footer-socials a, .footer-socials span {
    font-size: 1.3vw;
  }
  .footer-nav a {
    font-size: 1.1vw;
  }
  .footer-bottom {
    font-size: 1vw;
  }
}

/* 768px ↓ (планшети) */
@media (max-width: 768px) {
  .footer {
    padding: 10vw 5vw;
  }
  .footer-container {
    max-width: 90vw;
  }
  .footer-description {
    font-size: 2.4vw;
    max-width: 75vw;
    margin-bottom: 7vw;
  }
  .footer-socials {
    margin-bottom: 5vw;
  }
  .footer-socials a, .footer-socials span {
    font-size: 2vw;
  }
  .footer-nav {
    gap: 3vw;
    margin-bottom: 6vw;
  }
  .footer-nav a {
    font-size: 1.8vw;
  }
  .footer-bottom {
    font-size: 1.6vw;
    gap: 2vw;
  }
}

/* 480px ↓ (телефони) */
@media (max-width: 480px) {
  .footer {
    padding: 12vw 4vw;
  }
  .footer-description {
    font-size: 3.4vw;
    max-width: 90vw;
    margin-bottom: 8vw;
  }
  .footer-socials a, .footer-socials span {
    font-size: 3vw;
  }
  .footer-nav {
    flex-direction: column;
    gap: 4vw;
  }
  .footer-nav a {
    font-size: 3.2vw;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    font-size: 2.8vw;
    padding-top: 4vw;
    gap: 3vw;
  }
}

/* 300px ↓ (дуже малі екрани) */
@media (max-width: 300px) {
  .footer {
    padding: 15vw 5vw;
  }
  .footer-description {
    font-size: 4vw;
    max-width: 90vw;
  }
  .footer-socials a, .footer-socials span {
    font-size: 3.5vw;
  }
  .footer-nav a {
    font-size: 3.8vw;
  }
  .footer-bottom {
    font-size: 3.2vw;
  }
}
