.kr-footer {
  padding: 60px 0 40px 0;
  background: #365caf;
  color: #fff;
}

.wrapper.kr-footer__wrapper {
  margin-bottom: 0;
  display: grid;
  gap: 40px 60px;
}

/* Логотип и копирайт */
.kr-footer__logo-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 150px;
  justify-content: space-between;
}

.kr-footer__logo-link {
  display: inline-block;
  text-decoration: none;
}

.kr-footer__logo-img {
  display: block;
  height: auto;
  width: 350px;
  max-width: 100%;
}

.kr-footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.4;
}

/* Меню */
.kr-footer__col-menu {
  display: block;
}

/* Контакты и действия */
.kr-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-end;
  min-height: 150px;
  justify-content: space-between;
}

.kr-footer .footer-question_btn {
  margin-top: 0;
  align-self: stretch;
  background-color: #fff;
  color: #365caf;
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  text-align: center;
}

.kr-footer .footer-question_btn:hover {
  background: #e8e8e8;
  color: #365caf;
}

/* Социальные сети */
.kr-footer__socs {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  list-style: none;
  padding: 0;
  margin: 0;
}

.kr-soc {
  display: block !important;
  width: 32px !important;
  height: 32px !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
  transition: opacity 0.3s ease !important;
}

.kr-soc:hover {
  opacity: 0.7 !important;
}

.kr-soc__icon {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Меню политики */
.kr-footer__menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.kr-footer__menu a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease-in-out;
  text-align: right;
  display: block;
}

.kr-footer__menu a:hover {
  color: rgba(255, 255, 255, 1);
}

/* Юридический текст */
.kr-footer-text {
  font-size: 12px;
  line-height: 1.6;
  color: #fff;
  margin-top: 20px;
  grid-column: 1 / -1;
}

/* Адаптивность */
@media (min-width: 920px) {
  .wrapper.kr-footer__wrapper {
    grid-template-columns: auto 1fr auto;
    align-items: start;
  }

  .kr-footer__logo-section {
    width: 400px;
    min-width: 400px;
  }

  .kr-footer__col-menu {
    display: block;
  }

  .kr-footer__contacts {
    min-width: 250px;
    align-items: flex-end;
  }

  .kr-footer .footer-question_btn {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .kr-footer__col-menu {
    display: none !important;
  }

  .wrapper.kr-footer__wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .kr-footer__logo-section {
    align-items: center;
    min-height: auto;
  }

  .kr-footer__contacts {
    align-items: center;
    min-height: auto;
  }

  .kr-footer__socs {
    justify-content: center;
  }

  .kr-footer__menu {
    text-align: center;
  }

  .kr-footer__menu a {
    text-align: center;
  }
}
