/* ============ Footer base ============ */
.footer {
  padding: 32px 0 28px;
}

.footer .container {
  max-width: 1200px; /* если у тебя уже есть container — можно убрать */
}

/* ============ Top nav row ============ */
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.footer__top-left {
  min-width: 0;
}

/* если _menu.php выводит <a> — делаем “пилюли” */
.footer__top-left a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
}

.footer__top-right {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer__social a {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
}

.footer__social svg {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

/* кнопка */
.footer__cta.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  background-color: #E8EFF9;
  font-size: 14px;
  margin: 0;
  transition: all 0.3s cubic-bezier(0.6, 0, 0.4, 1);
}

.footer__cta.btn:hover{
  background-color: #1d61c8;
  color: #fff;
}

/* ============ Contact block ============ */
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 0 26px;
}

.footer__contact-title {
  font-size: 40px;
  font-weight: 500;
  font-family: Manrope, Arial, sans-serif;
}

.footer__contact-title strong{
  font-weight: 600;
}

.footer__contact-meta{
  display: flex;
  justify-content: flex-end;
  gap: 40px;
  align-items: flex-end;
}

.footer__contact-phone {
  text-align: right;
  font-size: 40px;
  font-weight: 600;
  font-family: Manrope, Arial, sans-serif;
}

.footer__contact-phone a {
  text-align: right;
  font-size: 40px;
  font-weight: 600;
  font-family: Manrope, Arial, sans-serif;
}

.footer__contact-sub {
  margin-top: 6px;
  text-align: right;
  font-size: 40px;
  font-weight: 500;
  font-family: Manrope, Arial, sans-serif;
}

/* ============ Links grid ============ */
.footer__grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 10px;
}

.footer__title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 14px;
  color: #001E4A;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 14px;
  align-items: flex-start;
  font-family: Manrope, Arial, sans-serif;
}

.footer__links a {
  text-decoration: none;
  color: #586B87;
  text-align: left;
}

.footer__links a:hover {
  color: #1d61c8;
}

.footer__links-2col {
  flex-wrap: wrap;
  max-height: calc(5 * 26px + 4 * 12px);
}

/* нижние мета-строки справа */
.footer__meta {
  margin-top: 18px;
  text-align: left;
}

.footer__text {
  color: #7987A0;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 0;
  text-align: left;
}

.footer__copyright {
  color: #7987A0;
  font-size: 12px;
  font-weight: 500;
  margin-top: 6px;
  margin-bottom: 0;
  text-align: left;
}

.footer__policy {
  margin-top: 10px;
  display: flex;
  gap: 16px;
  font-size: 12px;
}

.footer__policy a {
  text-decoration: none;
  color: #586B87;
}

.footer__policy a:hover {
  color: #1d61c8;
}

/* ============ Disclaimer ============ */
.footer__disc {
  margin-top: 28px;
  padding-top: 18px;
  opacity: 0.55;
  font-size: 14px;
  line-height: 1.55;
}

.footer__disc-title {
  color: #7987A0;
  font-size: 12px;
  font-weight: 500;
}

.footer__disc p{
  color: #7987A0;
  font-size: 11px;
  font-weight: 300;
  line-height: 15px;
}

.mobile__call{
  display: none;
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .mobile__call{
    display: flex;
    justify-content: space-between;
    padding-bottom: 30px;
  }
  .mobile__call-title{
    color: #001E4A;
    font-family: Manrope;
    font-size: 16px;
    font-weight: 500;
  }
  .mobile__call-title strong{
    font-weight: 600;
  }
  .mobile__call-phone{
    color: #001E4A;
    text-align: right;
    font-family: Manrope;
    font-size: 16px;
    font-weight: 600;
  }
  .mobile__call-sub{
    color: #001E4A;
    font-family: Manrope;
    font-size: 16px;
    font-weight: 500;
  }
  .footer__top {
    justify-content: center;
    margin-bottom: 10px;
  }
  .footer__grid {
    flex-direction: column;
  }
  .footer__links-2col {
    max-height: 100%;
  }

  .footer__contact-title{
    display: none;
  }
  .footer__contact-phone{
    display: none;
  }
  .footer__contact-meta {
    justify-content: center;
  }
  .footer__copyright{
    text-align: center;
  }
  .footer__top-left{
    display: none;
  }
  .footer__text{
    text-align: center;
  }
  .footer__disc{
    margin-top: 0;
  }
}

@media (max-width: 430px) {
  .mobile__call-title{
    font-size: 14px;
  }
  .mobile__call-phone{
    font-size: 14px;
  }
  .mobile__call-sub{
    font-size: 14px;
  }
  .footer__title{
    font-size: 14px;
  }
  .footer__links a{
    font-size: 12px;
  }
  .footer__policy{
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}