/* Подвал #main — единый для всех лендингов (вёрстка и стили пользователя 21.10.2026; свои стили подвала у лендингов
   отменены). Пишется руками: генератор tools/css_majority.py этот файл не трогает. Медиазапросы — в конце, по убыванию ширины.
   Правка вне Astro: python tools/export_footer.py → export/footer/ (footer.html + этот файл), правки — обратно сюда. */
.footer {
  background: #F7F9FD;
  padding-top: 32px;
  line-height: normal; /* не от страницы: у части лендингов у body свой межстрочный */
}
.footer * {
  font-family: Roboto !important; /* !important — у ty2 на странице body * { Gotham !important } */
}
/* контейнер и картинки — как в основе (base.css), не от страницы: у части лендингов свой .container2 (tarif-startup — 90%) */
.footer .container2 {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0;
}
.footer img {
  max-width: 100%;
}
/* выделенное в реквизитах — того же начертания, что текст (как в вёрстке подвала: у основы * { font-weight:400 }; у elama иначе) */
.footer b {
  font-weight: 400;
}
.footer__wrapper {
  padding-bottom: 21px;
}
.footer__box {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.footer__column {
  width: 226px;
}
.footer__title {
  font-size: 17px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: inherit; /* не от страницы: у ty2 заголовкам h3 задан свой цвет */
}
.footer__title img {
  display: none;
}
.footer__link {
  color: #364A51;
  line-height: 20px;
  font-size: 14px;
}
.footer__link:hover {
  text-decoration: underline;
}
.footer__link.footer__link--hl {
  color: var(--accent);
}
.footer__link.footer__link--hl:hover {
  color: var(--accent);
}
.footer__menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none; /* не от страницы: у части лендингов у ul — маркеры */
}
.footer__payments-box {
  align-items: center;
  display: flex;
  gap: 25px;
  margin-bottom: 10px;
}
.footer__payments-text {
  color: #364A51;
  font-family: Roboto;
  font-size: 12px;
}
.footer__bottom {
  justify-content: space-between;
  padding: 25px 0;
  align-items: center;
  display: flex;
}
.footer__left {
  align-items: center;
  display: flex;
  gap: 20px;
  color: #364A51;
  font-size: 14px;
}
.footer__payments {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
}
.footer__socials {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 11px;
}
.footer__socials-title {
  color: #364A51;
  font-size: 14px;
}
.footer__social {
  height: 24px;
  margin: 0 6px;
  width: 24px;
}
.footer__social svg {
  fill: #9b9c9f;
  height: 30px;
  transition: .2s;
  width: 30px;
}
.footer__social svg:hover {
  fill: #111;
}
.footer-border {
  border-top: 1px solid #E0E2E4;
}
.footer_regails_wrap {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: center;
  row-gap: 26px;
  margin-bottom: 25px;
  padding-top: 30px;
}
.footer_regails_wrap_left {
  display: flex;
  gap: 18px;
  align-items: center;
}
/* реквизиты (в оригиналах — инлайн-стиль в разметке) */
.footer__requisites {
  font-size: 14px;
  color: #98A3A9;
  max-width: 351px;
}
/* значки «Проверено» и реестр в подвале — только внутри .footer (у промо и других блоков свои — verified.css) */
.footer .checked__registry {
  align-items: center;
  display: flex;
  gap: 12px;
}
.footer .checked__registry .checked__registry-icon {
  opacity: .5;
}
.footer .checked__registry:hover .checked__registry-icon {
  opacity: 1;
}
.footer .checked__registry-content span {
  color: #111;
  font-size: 12px;
  text-transform: uppercase;
}
.footer .checked__registry-content p {
  color: #111;
  display: block;
  font-size: 12px;
  margin-top: 5px;
  opacity: .5;
}
.footer .checked__registry:hover .checked__registry-content p {
  opacity: 1;
}
.footer .checked__socials {
  display: flex;
  gap: normal; /* у значков вне подвала (verified.css) — 40px */
}
.footer .checked__socials-item {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 4px;
  position: relative;
}
.footer .checked__socials-item:not(:last-child) {
  padding-right: 16px;
  margin-right: 16px;
  border-right: 1px solid #E0E2E4;
}
.footer .checked__socials-item:after {
  content: "";
  height: 15px;
  position: absolute;
  top: -15px;
  width: 100%;
}
.footer .checked__socials-item span {
  color: #364A51;
  font-size: 12px;
}
.footer .checked__socials-item-popup {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 4px;
  bottom: calc(100% + 10px);
  color: #333;
  cursor: default;
  display: none;
  font-size: 14px;
  left: 0;
  line-height: 20px;
  padding: 10px;
  position: absolute;
  width: 300px;
}
.footer .checked__socials-item-popup a {
  color: #6695e2;
  text-decoration: none;
}
.footer .checked__socials-item-popup a:hover {
  text-decoration: underline;
}
.footer .checked__socials-item-popup:after {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-left: none;
  border-top: none;
  bottom: -5px;
  content: "";
  height: 10px;
  position: absolute;
  transform: rotate(45deg);
  width: 10px;
  left: 40px;
}
.footer .checked__socials-item:hover .checked__socials-item-popup {
  display: block;
}
.footer .checked__socials .checked__socials-item:last-child .checked__socials-item-popup {
  left: auto;
  right: 0;
}
.footer .checked__socials .checked__socials-item:last-child .checked__socials-item-popup:after {
  left: auto;
  right: 40px;
}
.footer .checked__socials .checked__socials-item:nth-child(2) .checked__socials-item-popup {
  left: 50%;
  margin-left: -140px;
  right: 0;
}
.footer .checked__socials .checked__socials-item:nth-child(2) .checked__socials-item-popup:after {
  left: auto;
  right: 50%;
}

@media screen and (max-width:1370px) {
  .footer .container2 {
    max-width: 960px;
  }
  .footer__left {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .footer__box {
    flex-wrap: wrap;
    gap: 40px 118px;
  }
  .footer__column {
    width: 280px;
  }
}

@media screen and (max-width:991px) {
  .footer .container2 {
    max-width: 720px;
  }
  footer .container2:last-child {
    background-color: #293033;
  }
  /* ===== раскрытие колонок меню по заголовку (до 991px, где видна стрелка) ===== */
  /* закрыто: высота 0; открыто: высота по содержимому. Плавность — скрипт анимирует высоту (с её точного значения до 0 и обратно) */
  .footer__title {
    font-size: 15px;
    margin-bottom: 0;
    cursor: pointer;
    user-select: none;
  }
  .footer__menu {
    padding-top: 16px;
    gap: 18px;
  }
  .footer__requisites {
    font-size: 13px;
    line-height: 1.2;
    color: #B2BCC1;
  }
  .footer .container2:last-child { /* только подвал (без .footer задевало последний контейнер любого блока) */
    max-width: 100%;
    padding: 0 15px;
  }
  .footer {
    padding-top: 28px;
  }
  .footer__title img {
    display: block;
    transition: transform .3s ease;
  }
  .footer__bottom {
    flex-wrap: wrap;
    border-top: 1px solid #676F7390;
  }
  .footer__payments-box {
    margin-bottom: 8px;
  }
  .footer__socials {
    margin-top: 20px;
  }
  .footer__box {
    gap: 50px 0;
    justify-content: space-between;
  }
  .footer__column {
    width: 45%;
  }
  .footer_regails_wrap {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer_regails_wrap_left {
    flex-wrap: wrap;
    filter: invert(1) hue-rotate(200deg) brightness(1.2);
    border-bottom: 1px solid #676F7390;
    padding-bottom: 26px;
  }
  .footer__wrapper {
    padding-bottom: 30px;
  }
  .footer .checked__socials {
    order: 3;
  }
  .footer__payments {
    order: 4;
    align-items: start;
  }
  .footer .checked__socials-item {
    border: none!important;
  }
  .footer .checked__socials-item span {
    font-size: 13px;
    margin-top: 10px;
    color: #B2BCC1;
  }
  .footer .checked__socials-item img {
    width: 28px;
  }
  .footer__payments-text {
    font-size: 14px;
    color: #B2BCC1;
  }
  .footer__socials-box {
    filter: invert(1) hue-rotate(200deg) brightness(2);
  }
  .footer__socials-title {
    display: none;
  }
  .footer__roots {
    color: #E8E8E8;
    font-size: 14px;
  }
  .footer__menu {
    height: 0;
    overflow: hidden;
    padding-top: 0;
    transition: height .3s ease, padding-top .3s ease;
  }
  .footer__column.open .footer__menu {
    height: auto;
    padding-top: 16px;
  }
  .footer__column.open .footer__title img {
    transform: rotate(180deg);
  }
}

@media screen and (max-width:768px) {
  .footer .container2 {
    max-width: 500px;
  }
}

@media screen and (max-width:767px) {
  .footer .checked__socials-item {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer__left {
    order: 3;
  }
  .footer__socials {
    margin-top: 0;
  }
}

@media screen and (max-width:574px) {
  .footer .container2 {
    max-width: 100%;
    padding: 0 15px;
  }
  .footer .checked__socials-item-popup {
    width: 280px;
  }
  .footer__payments-box {
    flex-wrap: wrap;
    max-width: 100%;
  }
}

@media screen and (max-width:480px) {
  .footer__box {
    gap: 16px 0;
  }
  .footer__column {
    width: 100%;
    padding-bottom: 16px;
    border-bottom: 1px solid #E0E2E4;
  }
}
