.footer {
  background: #2E364F;
  padding: 40px 0px 60px 0;
  color: #fff;
  font-family: "FiraCode", monospace;
  font-size: 14px;
}

.footer__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 26px;
  display: flex;
  flex-direction: column;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: stretch;   /* колонки одинаковой высоты */
  position: relative;
}

/* базовый стиль колонок */
.footer__col {
  flex: 1;
  padding: 30px 75px 0px 75px;
  box-sizing: border-box;
  position: relative;
}

/* колонка с логотипом */
.footer__logo {
  display: flex;
  flex-direction: column;
  justify-content: center; /* центрируем по вертикали */
  align-items: center;     /* центрируем по горизонтали */
}

/* центральная колонка шире */
.footer__center {
  flex: 1.3;  
  padding-left: 75px;
  padding-right: 75px;
}

.footer__col:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background-color: rgba(255,255,255,0.2);
  transform: none;
}

.footer__logo-img {
  display: block;
  width: 183px;
  height: 68px;
  object-fit: contain;
  object-position: center;
  padding: 31px auto;
}

.footer__slogan {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  margin-top: 10px;
  color: #fff;
}

.footer__menu {
  flex: 0.8;
  display: flex;
  justify-content: space-between;
  gap: 105px;
  padding: 30px 75px;
}

.footer__col h4 {
  margin: 0;
  padding: 0 0 5px 0;
  line-height: 1.2;
  font-size: 16px;
  font-weight: 500;
}

.footer__col-title {
  margin-top: 0;
  padding-top: 0;
}

.footer__menu a {
  display: block;
  color: #A2A2A2;
  margin: 8px 0;
  text-decoration: none;
  font-size: 16px;
  font-weight: 300;
}
.footer__menu a:hover {
  opacity: 1;
  color: #FFB900;
}

/* блок контактов */
.footer__contacts p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 0;
  font-size: 14px;
}

.footer__contacts p:first-child {
  margin-top: 0;
  padding-top: 0;
}

.footer__contacts p + p {
  margin-top: 16px;
}

.footer-icon {
  flex-shrink: 0;
  opacity: 0.9;
  margin-top: 2px;
}

.footer__socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  
}

.footer__bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 12px;
  color: #A2A2A2;
  text-align: center;
  font-size: 14px;
}

.footer__bottom span:last-child {
  margin-top: 15px;
  color: #ffffff;
  font-size: 12px;
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
@media (max-width: 860px) {
  .footer {
    padding: 40px;
    font-size: 13px;
  }

  .footer__top {
    flex-direction: column;   /* всё в столбик */
    align-items: center;
    text-align: center;
  }

  .footer__col {
    padding: 0;
  }

  .footer__col:not(:first-child)::before {
    display: none; /* убираем разделительные линии */
  }

  .footer__logo-img {
    width: 128px;
    height: auto;
    margin-bottom: 5px;
  }

  .footer__slogan {
    font-size: 12px;
    margin: 6px 0px 0px 0px;
    font-weight: 300;
  }

/* === исправлено меню === */
.footer__menu {
  display: flex;
  justify-content: space-between; /* колонки по краям */
  width: 100%;
  gap: clamp(0px, 100%, 80px);    /* не больше 80px */
  margin: 0 auto;
  padding: 20px 0;
}

.footer__menu div {
  flex: 1;                  /* колонки тянутся */

  margin-bottom: 0;
  text-align: left;
}

.footer__menu a {
  font-size: 14px;
  margin: 6px 0;
}


 .footer__contacts {
    margin-top: 15px;
    text-align: left; /* ← выравниваем текст по левой стороне */
    width: 100%;      /* растягиваем на всю ширину */
  }

  .footer__contacts p {
    justify-content: flex-start; /* ← иконки и текст тоже слева */
    font-size: 13px;
    margin-top: 12px;
  }

  .footer__socials {
    margin-top: 20px;
    gap: 25px;
  }

  .footer__bottom {
    font-size: 11px;
    margin-top: 20px;
    padding: 0 10px;
  }

  .footer__col h4 {
    font-size: 16px;
  }

#map {
  width: 100%;
   aspect-ratio: 16 / 9; 

  margin: 0 auto;
}
.ymaps-2-1-79-map ymaps {
  border-radius: 20px;
}

}
