.footer{
    background-color: var(--color-dark);
    padding: 100px 0 48px 0;
        width: 100%;

}
.footer-content{
    display: flex;
    flex-direction: column;
        width: 100%;

}

.footer-info {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  margin-bottom: 64px;
}

.footer-info > div {
  min-width: 0; 
}

.block-1 {
    justify-self: start;

    display: flex;
    flex-direction: column;
    gap: 8px;
   
}

.block-1 a{
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.3) !important
}

.block-2 {
  justify-self: center;
  text-align: center;
  max-width: 100%;
}

.footer-contacts{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:32px;
}
.block-2 p{
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 16px;
}
.footer-tel{
    font-weight: 400;
    font-size: 56px;
    line-height: 64px;
    text-align: center;

    color: rgba(255, 255, 255, 1);
    background-color: var(--color-dark);
    border:none;
}

.block-3 {
  justify-self: end;
}

.footer-legal{
    display: flex;
    align-items: center;
    justify-content: center;
    gap:32px;
    width: 100%;

    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.footer-legal a{
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--color-white);
    opacity: 0.3
}

.footer-meta{
    margin-top: 32px;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    color: var(--color-white);
    opacity: 0.3
}

.footer-social{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}
.footer-social a{
   width: 32px;
   height: 32px;
   background-color: var(--color-dark);
   color:var(--color-light);
   opacity: 1
}
.footer-address{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-address-item{
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    text-align: right;
    color: rgba(255, 255, 255, 0.3)
}

.footer-interaction-text:hover{
    color: rgba(255, 255, 255, 0.8) !important;
    opacity: 0.7 !important;
}

@media (max-width: 1280px) {
  .footer-tel{
    font-size: 32px;
    line-height: 48px; 
  }
  .footer-address p{
    font-size: 16px;
    line-height: 24px;
  }
  .block-1 a{
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 1024px) {
    .footer{
        padding-top: 96px;
    }
    .footer-info{
       
    }
    .footer-address-item{
    text-align: end;
    }
    .block-1{
        
    }
    .footer-legal{
        gap: 16px;
        text-align: center;
    }
}
@media (max-width: 768px) {
    .footer {
        padding: 64px 0px;
    }
    .footer-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 48px;
    }

    .footer-address-item{
        text-align: center;
    }
    .block-1 {
        display: none;
    }
    .block-2 p{
        font-size: 14px;
        line-height: 20px;
    }
    .footer-contacts{
        gap: 24px;
    }
    
    .footer-tel{
        font-size: 32px;
        line-height: 48px;
    }
    
    .footer-address p{
        font-size: 14px;
        line-height: 20px;
    }
    .footer-info{
        margin-bottom: 48px;
    }
    .footer-legal{
        flex-direction: column;
        gap: 8px;
        padding: 48px 0 0 0;
        border-bottom: none;
    }
    .footer-legal a{
        font-size: 12px;
        line-height: 16px;  
    }
    .footer-meta{
        margin-top: 24px;
        font-size: 12px;
        line-height: 20px;
        text-align: center;
    }
    
}
@media (max-width: 600px) {
    .block-2{
        width: 100%;
    }
    .footer-contacts{
        width: 100%;
    }
    .footer-contacts button{
        width: 100%;
    }
}