.footer {
  background: #2f2f2f;
  color: #bfbfbf;
  font-family: Arial, sans-serif;
  padding: 40px 60px 20px;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* TOP */
.footer__top {
  display: grid;
  grid-template-columns: 200px 1fr 300px 80px;
  gap: 40px;
  align-items: start;
}

.logo {
  font-size: 42px;
  font-weight: bold;
  color: #ffffff;
}

.logo-img {
  max-width: 100%;
  height: auto;
  display: block;
}

.footer__contacts p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #9e9e9e;
}

.footer__menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__menu a {
  font-size: 14px;
}

/* SOCIALS */
.footer__socials {
  display: flex;
  gap: 12px;
}

.whatsapp-icon,
.social-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
}

.whatsapp-icon svg,
.social-icon svg {
  display: block;
}

/* DIVIDER */
.footer__divider {
  height: 1px;
  background: #4a4a4a;
  margin: 30px 0 20px;
}

/* BOTTOM */
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #8f8f8f;
}

.footer__links {
  display: flex;
  gap: 30px;
}

.footer__links a {
  color: #bfbfbf;
}

@media (max-width: 768px) {

  .footer {
    padding: 30px 20px 20px;
  }

  /* TOP */
  .footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__logo {
    text-align: center;
  }

  .logo {
    font-size: 36px;
  }

  .footer__contacts {
    text-align: center;
  }

  .footer__contacts p {
    font-size: 13px;
  }

  /* MENU */
  .footer__menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 20px;
    justify-content: center;
    text-align: center;
  }

  .footer__menu a {
    width: 45%;
    font-size: 14px;
  }

  /* SOCIALS */
  .footer__socials {
    justify-content: center;
    margin-top: 10px;
  }

  /* BOTTOM */
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer__links {
    flex-direction: column;
    gap: 8px;
  }
}

/* === Ссылки в контактах — как обычный текст === */
.footer__contacts a {
  color: inherit;
  text-decoration: none;
}

.footer__contacts a:hover {
  color: #ffffff;
  text-decoration: underline;
}