.footer {
  padding:  20px 0 25px;
  background-color: var(--c-dark);
  color: var(--c-white);
  font-size: var(--fs-3xl);
  position: absolute;
  width: 100%;
}

footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0;
}

footer .footer-top .text,
footer .footer-top .phone {
  text-align: center;
}

footer .footer-top .text {
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.footer .btn--border {
  color: var(--c-footer-border);
  border-color: var(--c-footer-border)
}

.footer .btn--border:hover {
  color: var(--c-white);
  background-color: var(--c-footer-border)
}

.footer .phone a {
  color: var(--c-white);
}

.footer .social-links a img {
  display: inline-block;
}

.iconsList {
  justify-content: space-evenly;
  width: 100%;
  display: flex;
  gap: 10px;
}

.footer .iconsList {
  margin-bottom: 15px;
}

.iconsList a {
  color: var(--c-white);
  margin: 0 5px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.iconsList a[title="Написать в Whatsapp"] {
  width: 43px;
}

.iconsList img {
  width: 36px;
  height: 36px;
}

.cityList,
.hiddenCitys {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 30px;
}

.hiddenCitys {
  display: none;
}

.hiddenCitys.active {
  display: flex;
  width: 100%;
}

.cityList-item {
  width: 20%;
  text-align: left;
  font-size: var(--fs-3xl);
  background-image: url(../img/house-icon.svg);
  background-repeat: no-repeat;
  background-size: 20px 20px;
  padding: 5px 5px 5px 29px;
  margin-bottom: 5px;
  box-sizing: border-box;
  background-position: left center;
  display: flex;
  align-items: center;
}

.moreBtn {
  font-weight: bold;
  max-width: 300px;
  color: var(--c-white);
  display: block;
  margin: 20px auto;
  text-align: center;
  padding: 10px 30px;
}

.moreBtn.hidden {
  display: none;
}

.moreBtn:hover {
  filter: brightness(90%);
}

#footer-menu ul {
  padding-left: 0;
}

#footer-menu li {
  list-style: none;
}

#footer-menu li a {
  font-size: var(--fs-base);
  color: var(--c-text-light);
}

.nxp-marquee,
.nxp-marquee.has-text-color {
  margin-bottom: 20px;
  color: var(--c-accent) !important;
}

.nxp-marquee svg {
  max-height: 100px;
  fill: currentColor;
}

/* ===== Front-page footer ===== */
/* front-footer.css — extracted from bem-blocks.css */
/* ========================================
   BEM Footer
   ======================================== */
.front-page .footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 55px 0 40px;
}

.front-page .footer__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.front-page .footer__grid {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.front-page .footer__services-lists {
  display: flex;
  gap: 40px;
}



.front-page .footer__title {
  display: inline-block;
  font-size: var(--fs-7xl);
  font-weight: var(--fw-bold);
  color: var(--color-footer-text);
  line-height: 1.3;
  margin-bottom: 10px;
  transition: 0.3s ease;
}

.front-page .footer__title:hover { color: var(--color-accent); }

.front-page .footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.front-page .footer__link {
  font-size: var(--fs-xl);
  font-weight: var(--fw-regular);
  color: var(--color-footer-text);
  line-height: 1.3;
  transition: 0.3s ease;
  white-space: nowrap;
}

.front-page .footer__link:hover { color: var(--color-accent); }

.front-page .footer__question {
  font-size: var(--fs-xl);
  margin-bottom: 10px;
}

.front-page .footer__contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.front-page .footer__telegram {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.front-page .footer__telegram img { width: 40px; height: 40px; }
.front-page .footer__telegram:hover { opacity: 0.7; }

.front-page .footer__email {
  font-size: var(--fs-xl);
  color: var(--color-footer-text);
  transition: 0.3s ease;
}

.front-page .footer__email:hover { color: var(--color-accent); }

.front-page .footer__hours {
  font-size: var(--fs-xl);
  margin-top: 39px;
  margin-bottom: 17px;
}

.front-page .footer__work-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-top: 50px;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
}

.front-page .footer__work-bottom .footer__aside-logo { margin-top: 0; }

.front-page .footer__phone {
  display: inline-block;
  font-size: var(--fs-8xl);
  font-weight: var(--fw-bold);
  color: var(--color-footer-text);
  line-height: 1;
  transition: 0.3s ease;
}

.front-page .footer__phone:hover { color: var(--color-accent); }



.front-page .footer__logo {
  max-width: 360px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 8px;
}

.front-page .footer__slogan {
  margin-left: 50px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  opacity: 0.6;
}

.front-page .footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright-wrap {
  margin: auto;
}

.front-page .footer__privacy {
  font-size: var(--fs-base);
  color: var(--color-text-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: 0.3s ease;
}

.front-page .footer__privacy:hover { color: var(--color-accent); }

.front-page .footer__copyright {
    font-size: var(--fs-base);
    color: var(--color-text-light);
    line-height: 1.4;
    text-align: center;
    max-width: 419px;
    margin: auto;
}

@media (max-width: 1200px) {
  .front-page .footer__grid { grid-template-columns: 1fr 1fr; }
  .front-page .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .front-page .footer__copyright { text-align: left; }
  .front-page .footer__logo { max-width: 280px; }
  .front-page .footer__work-bottom { margin-top: 30px; gap: 30px; }
}

@media (max-width: 960px) {
  .front-page .footer__work-bottom { flex-direction: column; gap: 20px; }
}

@media (max-width: 960px) {
  .front-page .footer__services-lists { flex-direction: column; gap: 20px; }
}

@media (max-width: 640px) {
  .front-page .footer { padding: 40px 0 20px; }
  .front-page .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .front-page .footer__link { white-space: normal; }
  .front-page .footer__logo { max-width: 240px; }
  .front-page .footer__bottom { gap: 12px; }
  .front-page .footer__privacy { font-size: var(--fs-sm); }
  .front-page .footer__copyright { font-size: var(--fs-sm); }
}
