footer {
  background-color: #0c1e34;
}
footer .footer {
  max-width: 1440px;
  margin: 0 auto;
}
footer .footer .navigation {
  padding: 130px 0 56px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
footer .footer .navigation .nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 290px;
  width: 100%;
}
footer .footer .navigation .nav ul {
  padding: 0;
  list-style: none;
  margin: 0;
}
footer .footer .navigation .nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  line-height: 27px;
  text-align: left;
}
footer .footer .navigation .nav ul li:hover a {
  color: #ffbf00;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
}
footer .footer .navigation .nav ul li:first-child a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
}
footer .footer .navigation .nav ul li:first-child:hover a {
  color: #ffbf00;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
}
footer .footer .navigation .info .logo {
  width: 91px;
  height: 37px;
  background-position: center;
  background-size: cover;
  cursor: default;
}
footer .footer .navigation .info .address {
  margin-top: 29px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer .footer .navigation .info .address p {
  color: #d5deed;
  font-size: 18px;
  margin: 0;
  font-weight: normal;
}
footer .footer .navigation .info .info_mail a {
  text-decoration: none;
}
footer .footer .navigation .info .info_mail a h4 {
  margin-top: 24px;
  color: #fff;
}
footer .footer .navigation .info .info_mail a:hover h4 {
  color: #ffbf00;
}
footer .footer .navigation .info .dropdown-custom {
  display: block;
  margin-bottom: 40px;
  margin-top: 35px;
}
footer .footer .navigation .info .dropdown-custom svg {
  fill: #fff;
  transform: rotate(270deg);
}
footer .footer .navigation .info .dropdown-custom span {
  color: #fff;
}
footer .footer .navigation .info .dropdown-custom {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  gap: 6px;
  position: relative;
}
footer .footer .navigation .info .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  color: #fff;
  min-width: 100px;
  z-index: 1000;
  display: none;
  flex-direction: column;
  background-color: #0c1e34;
  border: solid #fff 2px;
}
footer .footer .navigation .info .dropdown-menu div {
  padding: 8px;
  cursor: pointer;
}
footer .footer .navigation .info .dropdown-menu div:hover {
  background-color: #f0f0f0;
}
footer .footer .navigation .info .dropdown-custom.active .dropdown-menu {
  display: flex;
}
footer .footer .navigation .info .dropdown-custom.active svg {
  transform: rotate(0deg);
}
footer .footer .social {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}
footer .footer .social .slogan {
  max-width: 524px;
}
footer .footer .social .slogan .main {
  color: #fff;
  font-family: Geologica, "cursive";
  font-size: 40px;
  font-weight: 600;
  line-height: 56px;
  letter-spacing: -0.035em;
  text-align: left;
  pointer-events: none;
  user-select: none;
}
footer .footer .social .social-link {
  display: flex;
}
footer .footer .social .social-link .linkedIn {
  background-image: url(../img/linkedIn-cube.svg);
  background-size: contain;
}
footer .footer .social .social-link .linkedIn:hover {
  background-image: url(../img/linkedIn-cube-hover.svg);
}
footer .footer .social .social-link .facebook {
  background-image: url(../img/facebook-cube.svg);
  background-size: contain;
}
footer .footer .social .social-link .facebook:hover {
  background-image: url(../img/facebook-cube-hover.svg);
}
footer .footer .social .social-link .instagram {
  background-image: url(../img/instagram-cube.svg);
  background-size: contain;
}
footer .footer .social .social-link .instagram:hover {
  background-image: url(../img/instagram-cube-hover.svg);
}
footer .footer .social .social-link .social-cube {
  width: 166px;
  height: 153px;
  cursor: pointer;
}
footer .footer .rights-policy {
  display: flex;
  justify-content: space-between;
  padding: 56px 80px;
  align-items: center;
}
footer .footer .rights-policy .copyright p {
  color: #c4cdd8;
  font-weight: 400;
  font-size: 18px;
  margin: 0;
}
footer .footer .rights-policy .policy a {
  text-decoration: none;
  color: #c4cdd8;
}
@media (max-width: 1480px) {
  footer .footer .navigation {
    padding-left: 80px;
    padding-right: 80px;
  }
}
@media (max-width: 767px) {
  footer .footer {
    padding: 50px 80px 0 56px;
  }
  footer .footer .social {
    display: block;
    padding: 0;
  }
  footer .footer .social .slogan .main {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 20px;
  }
  footer .footer .rights-policy {
    padding: 56px 0 0 0;
  }
  footer .footer .navigation {
    padding: 0 0 40px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  footer .footer .navigation .nav {
    flex: 0 0 48%;
    padding: 20px;
    box-sizing: border-box;
  }
  footer .footer .navigation .info .address {
    margin-top: 0;
  }
}
@media (max-width: 640px) {
  footer .footer {
    padding: 20px 60px 0 20px;
  }
  footer .footer .navigation .nav {
    padding: 20px 0 20px 20px;
  }
}
@media (max-width: 549px) {
  footer .footer .navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "technologies company" "services company" "industries company" "info company";
    gap: 20px;
    padding: 40px 20px 56px;
    align-items: start;
    grid-auto-rows: min-content;
  }
  footer .footer .navigation > .technologies {
    grid-area: technologies;
  }
  footer .footer .navigation > .technologies .nav li:not(:first-child) {
    display: none;
  }
  footer .footer .navigation > .services {
    grid-area: services;
  }
  footer .footer .navigation > .services .nav li:not(:first-child) {
    display: none;
  }
  footer .footer .navigation > .industries {
    grid-area: industries;
  }
  footer .footer .navigation > .industries .nav li:not(:first-child) {
    display: none;
  }
  footer .footer .navigation > .company {
    grid-area: company;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: auto;
  }
  footer .footer .navigation > .company > .info {
    grid-area: none;
    order: 99;
    margin-top: 24px;
    margin-left: -47vw;
  }
  footer .footer .navigation .info .dropdown-custom {
    display: block;
    margin-bottom: 40px;
    margin-top: 0;
  }
  footer .footer .navigation .info .dropdown-custom svg {
    fill: #fff;
    transform: rotate(270deg);
  }
  footer .footer .navigation .info .dropdown-custom span {
    color: #fff;
  }
  footer .footer .navigation .info .dropdown-custom {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 6px;
    position: relative;
  }
  footer .footer .navigation .info .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    color: #fff;
    min-width: 100px;
    z-index: 1000;
    display: none;
    flex-direction: column;
    background-color: #0c1e34;
  }
  footer .footer .navigation .info .dropdown-menu div {
    padding: 8px;
    cursor: pointer;
  }
  footer .footer .navigation .info .dropdown-menu div:hover {
    background-color: #f0f0f0;
  }
  footer .footer .navigation .info .dropdown-custom.active .dropdown-menu {
    display: flex;
  }
  footer .footer .navigation .info .dropdown-custom.active svg {
    transform: rotate(0deg);
  }
  footer .footer .navigation .nav {
    padding: 0;
  }
  footer .footer .navigation .nav .info {
    margin-left: -41vw;
  }
  footer .footer .social {
    padding: 0 10px;
    display: block;
  }
  footer .footer .social .social-link {
    gap: 8px;
  }
  footer .footer .social .social-link a div {
    margin-top: 20px;
    background-repeat: no-repeat;
  }
  footer .footer .social .social-link .social-cube {
    width: 107px;
  }
  footer .footer .social .slogan .main {
    font-size: 28px;
    line-height: 40px;
  }
  footer .footer .rights-policy {
    padding: 0 10px;
    display: grid;
    grid-template-areas: "policy" "copyright";
  }
  footer .footer .rights-policy > .policy {
    grid-area: policy;
  }
  footer .footer .rights-policy > .copyright {
    grid-area: copyright;
  }
  footer .footer .rights-policy .policy {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
    footer .footer .social {
        padding: 0 40px !important;
    }
    footer .footer .social .slogan .main {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 20px;
    }
    footer .footer .navigation {
        padding: 100px 0 56px;
        gap: 50px;
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 549px) {
  footer .footer .navigation .nav .info {
    display: block;
    /* margin-left: 0; */
        margin-left: calc(-46vw + 20px) !important;
    }
  footer .footer .navigation {
        padding: 56px 0 56px;
        gap: 17px;
        padding-left: 16px;
        padding-right: 0;
    }

    footer .footer .social {
        padding: 0 15px !important;
    }
}

@media (max-width: 375px) {
    footer .footer .social {
        padding: 0 10px !important;
    }
}

@media screen and (min-width:550px) and (max-width: 767px) {
    footer .footer {
        /* Оставляем твои отступы */
        padding: 50px 20px 0 20px;
    }

    footer .footer .navigation {
        padding: 0 0 40px 0;
        display: flex !important;
        flex-wrap: wrap !important; /* Позволяет блокам перепрыгивать на новую строку */
        gap: 80px 0; /* Отступ между рядами */
        justify-content: space-between;
    }

    footer .footer .navigation .nav {
        /* Делаем каждый блок шириной почти в половину, чтобы встали по 2 в ряд */
        flex: 0 0 48% !important; 
        max-width: 48% !important;
        padding: 0 !important;
        box-sizing: border-box;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px;
    }

    /* УБИРАЕМ скрытие списков. Теперь всё будет отображаться полностью */
    footer .footer .navigation .nav ul li:not(:first-child) {
        display: block !important;
    }

    /* Настраиваем блок INFO, чтобы он не ломал вторую строку */
    footer .footer .navigation .company.nav {
        position: relative;
    }

    footer .footer .navigation .info {
        /* Убираем твои отрицательные маржины, они всё ломали */
        margin-left: 0 !important;
        margin-top: -32px !important;
        width: 100% !important;
        /* Выносим его визуально на 3-ю строку */
        flex: 0 0 100% !important;
    }

    footer .footer .navigation .info .address {
        margin-top: 20px;
    }

    /* Твои стили для социалок и слогана */
    footer .footer .social {
        display: block;
        padding: 0 !important;
        gap: 0;
    }

    footer .footer .social .slogan .main {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 20px;
    }

    footer .footer .social .social-link .social-cube {
      width: 130px;
      height: 120px;
      cursor: pointer;
    }

}

@media (max-width:320px) {
  footer .footer .social .social-link {
        gap: 0px;
        margin-left: -15px;
    }

        footer .footer .rights-policy {
        padding: 0 ;
        display: grid;
        grid-template-areas:
        "policy"
        "copyright";
    }
}