/* New Footer BEM styles */
.footer {
  padding: 50px 53px;
  border-radius: 24px;
  margin: 70px auto 0;
  background-color: #252B3B;
  color: #ffffff;
  width: 100%;
  max-width: 1472px;
}

body.overflow footer {
  padding-right: 10px;
}

.footer__wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* Логотип */
.footer__logo {
  display: flex;
  justify-content: flex-start;
}

.footer__logo-img {
  width: 224px;
  height: 55px;
}

/* Основной контент */
.footer__content {
  display: grid;
  grid-template-columns: 350px 300px 600px;
  gap: 39px;
  justify-content: space-between;
}

.footer__column--subcolumns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 39px;
}

.footer__column-title a {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  color: #F06500;
  margin-bottom: 36px;
}

.footer__column-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer__column-item {
  margin: 0;
}

.footer__column-link {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__column-link:hover {
  color: #F06500;
}

/* Нижняя секция */
.footer__bottom-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 238px;
}

.footer__action-group {
  display: flex;
  align-items: center;
  gap: 36px;
}

.footer__cta {
  display: flex;
  align-items: center;
}

/* Кнопка заявки */
.footer__cta-button.btn {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid var(--orange);
  border-radius: 12px;
  padding: 12px 30px;
  font-family: var(--font);
  font-size: 14px;
  line-height: 25px;
  font-weight: 400;
  cursor: pointer;
  transition: opacity 0.3s ease;
  width: 200px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer__cta-button:hover {
  color: var(--orange);
}

/* Контакты */
.footer__contacts {
  display: flex;
  gap: 36px;
}

.footer__contact-item {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 0;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.footer__contact-item:hover {
  color: #F06500;
}

/* WhatsApp */
.footer__whatsapp {
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.footer__whatsapp-icon {
  width: 36px;
  height: 36px;
}

.footer__whatsapp.d-none {
  display: none;
}


/* Награды */
.footer__awards {
  display: flex;
  gap: 48px;
  align-items: center;
}

.footer__award {
  display: block;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.footer__award:hover {
  opacity: 0.8;
}

.footer__award img {
  height: 85px;
  width: auto;
}

/* Дисклеймер */
.footer__disclaimer {
  margin: 0;
}

.footer__disclaimer p {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #ffffff;
  opacity: 0.5;
  margin: 0 0 22px 0;
}

.footer__disclaimer p:last-child {
  margin-bottom: 0;
}

/* Копирайт */
.footer__copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright-text {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #ffffff;
  opacity: 0.6;
}

.footer__copyright-link {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__copyright-link:hover {
  color: #F06500;
}

.footer__designby {
  padding: 0 0 50px;
}
.footer__designby-text {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-family: var(--font);
  font-size: 14px;
  line-height: 25px;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .3s ease-in-out;
}

.footer__designby-text span {
  font-weight: 700;
  transition: all .3s ease-in-out;
}

.footer__designby-text:hover {
  color: #252B3B;
}

.footer__designby-text:hover span {
  color: #F06500;
}

/* Адаптивные стили для нового подвала */
@media (max-width: 1519px) {
  .footer {
    margin: 60px auto 0;
    width: min(100%, 1236px);
    max-width: 100%;
  }

  .footer__content {
    grid-template-columns: 350px 300px 1fr;
    gap: 0;
  }

  .footer__column--subcolumns {
    gap: 0;
  }
  
  .footer__bottom-section {
    gap: unset;
  }
  .footer__awards {
    gap: 36px;
  }
  .footer__award {
    max-width: 170px;
  }
  .footer__award svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .footer__copyright-link,
  .footer__copyright-text,
  .footer__disclaimer p {
    font-size: 14px;
    line-height: 25px;
  }
  .footer__designby {
    padding: 24px 0 60px;
  }
}

@media (max-width: 1279px) {
  .footer {
    padding: 50px 20px;
    margin: 0 20px;
    max-width: calc(100% - 40px);
  }

  .footer__wrapper {
    gap: 42px;
  }

  .footer__logo-img {
    width: fit-content;
    height: 40px;
  }
  
  .footer__content {
    grid-template-columns: 230px 180px 1fr;
    gap: 60px;
  }

  .footer__column--subcolumns {
    gap: 24px;
    display: flex;
    flex-direction: column;
  }

  .footer__column-title {
    margin-bottom: 0;
  }

  .footer__column-title a {
    margin: 0;
    font-size: 18px;
    line-height: 28px;
  }

  .footer__column-list {
    margin-top: 24px;
    gap: 15px;
  }

  .footer__column-link {
    font-size: 14px;
    line-height: 25px;
  }
  
  .footer__contact-item {
    padding: 0;
    font-size: 14px;
  }
  
  .footer__bottom-section {
    flex-direction: column;
    gap: 42px;
    align-items: stretch;
  }

  .footer__cta-button.btn {
    padding: 0 20px;
    width: auto;
    height: 35px;
    min-width: 200px;
  }
  
  .footer__contacts {
    width: 100%;
    order: 0;
    justify-content: flex-start;
  }
  
  .footer__awards {
    gap: 60px;
  }

  .footer__whatsapp svg {
    width: 35px;
    height: 35px;
  }

  .footer__disclaimer p {
    font-size: 14px;
    line-height: 25px;
  }

  .footer__copyright-text {
    font-size: 14px;
    line-height: 25px;
  }

  .footer__designby {
    padding: 24px 0 50px;
  }
}

@media (max-width: 767px) {
  .footer {
    padding: 36px 14px;
    margin: 0 14px;
    max-width: calc(100% - 28px);
  }

  .footer__logo-img {
    width: 110px;
    height: 27px;
  }

  .footer__wrapper {
    gap: 38px;
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__column-title {
    font-size: 16px;
    line-height: 22px;
  }

  .footer__column-list {
    margin-top: 12px;
    gap: 8px;
  }

  .footer__column-link br {
    display: none;
  }
  
  .footer__cta-button {
    width: 100%;
    padding: 15px 30px;
    font-size: 12px;
  }
  
  .footer__awards {
    gap: 39px;
    justify-content: space-between;
    flex-direction: row-reverse;
  }
  
  .footer__contacts {
    justify-content: space-between;
  }

  
  .footer__award {
    max-width: 180px;
  }
  
  .footer__award img {
    max-height: 70px;
  }
  
  .footer__disclaimer-text {
    font-size: 14px;
    line-height: 20px;
  }

  .footer__copyright {
    flex-direction: column-reverse;
    gap: 16px;
    text-align: left;
    align-items: flex-start;
  }

  .footer__cta-button.btn {
    min-width: 214px;
  }

  .footer__copyright-text {
    color: rgba(255, 255, 255, 0.50);
    font-feature-settings: 'liga' off, 'clig' off;
  }
  
  .footer__copyright-text,
  .footer__copyright-link {
    font-size: 14px;
  }

  .footer__whatsapp.m-none {
    display: none;
  }

  .footer__whatsapp.d-none {
    display: flex;
  }

  .footer__whatsapp.d-none svg {
    width: 35px;
    height: 35px;
  }

  .footer__disclaimer p {
    margin: 0 0 12px 0;
    font-size: 12px;
    line-height: 19px;
  }

  .footer__designby {
    padding: 14px 0 36px;
  }
  
  .footer__bottom-section {
    flex-direction: column;
    gap: 38px;
    align-items: stretch;
  }
  
  .footer__action-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer__cta {
    order: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .footer__contacts {
    gap: 0;
  }
  .footer__whatsapp-icon {
    width: auto;
    flex: 1;
    display: none;
  }
} 