.footer{
  background: #262626;
  padding: 30px 0;
}

.footer__content{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.50);
  @media(max-width: 999px){
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
  @media(max-width: 500px){
    gap: 25px 10px;
  }
}

.footer__logo{
  max-width: 160px;
  height: auto;
  display: block;
}

.footer__socials{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.footer__copy{
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 14px */
}

.footer__email-label{
  margin-top: 15px;
  color: var(--text-color);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
}

.footer__email{
  color: #FFEBA5;
  transition: color .3s ease, opacity .3s ease;
}

@media(hover: hover){
  .footer__email:hover{
    color: #fff3c7;
    opacity: .9;
  }
}

.footer__menu-label{
  color: var(--text-color);
  font-size: 20px;
  font-style: normal;
  margin-bottom: 20px;
  font-weight: 400;
  line-height: 120%; /* 24px */
  @media(max-width: 500px){
    font-size: 18px;
  }
}

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

.footer__menu-link{
  color: var(--text-color);
  font-size: 16px;
  font-style: normal;
  transition: .4s ease all;
  font-weight: 400;
  line-height: 100%; /* 16px */
  @media(max-width: 500px){
    font-size: 14px;
  }
}

.footer__menu-link.is-active{
  color: var(--accent);
}

@media(hover: hover){
  .footer__menu-link:hover{
    color: var(--accent);
  }
}

.footer__message{
  display: flex;
  margin-top: 30px;
  flex-direction: column;
  gap: 10px;
}

.footer__legal{
  margin-bottom: 6px;
}

.footer__legal-inline,
.footer__legal-link{
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

.footer__legal-link{
  transition: color .3s ease;
}

@media(hover: hover){
  .footer__legal-link:hover{
    color: #fff;
  }
}

@media(max-width: 500px){
  .footer__legal-inline,
  .footer__legal-link{
    font-size: 11px;
    line-height: 135%;
  }

  .footer__legal-inline{
    word-break: break-word;
  }
}

/* cleanup legacy styles if they remain in cascade */
.footer__legal-links,
.footer__legal-title{
  display: none;
}

/* keep old class lightweight if rendered elsewhere */
.footer__legal-link{
  border: 0;
  padding: 0;
  min-height: 0;
  background: transparent;
  border-radius: 0;
  display: inline;
  @media(max-width: 500px){
    width: auto;
  }
}

.footer__message-text{
  color: rgba(255, 255, 255, 0.70);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%; /* 15.6px */
  @media(max-width: 500px){
    font-size: 12px;
  }
}

.footer__left{
  @media(max-width: 999px){
    grid-column: span 2;
  }
}

.footer__socials a svg rect,
.footer__socials a svg path{
  transition: .4s ease all;
}

@media(hover: hover){
  .footer__socials a:hover svg path{
    fill: var(--text-color);
  }
  .footer__socials a:hover svg rect{
    stroke: var(--text-color);
  }
}