/* Конверсионный футер Стройдок-АБВ. Все правила изолированы классом sd-footer. */
#footer-nav.sd-footer-legacy-nav {
  display: none !important;
}

footer#footer.sd-footer {
  --sdf-ink: #0b1d34;
  --sdf-blue: #005eac;
  --sdf-orange: #ff6400;
  --sdf-orange-dark: #df5200;
  position: relative;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
  background: #081b31 !important;
  color: #fff;
  font-family: "Rubik", Arial, sans-serif;
}

footer#footer.sd-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--sdf-orange) 0 22%, var(--sdf-blue) 22% 100%);
}

.sd-footer *,
.sd-footer *::before,
.sd-footer *::after {
  box-sizing: border-box;
}

footer#footer.sd-footer > .sd-footer__inner {
  position: relative;
  display: block !important;
  min-height: 0;
  padding-top: 46px !important;
  padding-bottom: 28px !important;
}

.sd-footer a {
  color: inherit;
  text-decoration: none;
}

.sd-footer__cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 350px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: linear-gradient(120deg, #0e2a48 0%, #0a223c 70%, #10375c 100%);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .18);
}

.sd-footer__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #ff8a3d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sd-footer__eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  background: var(--sdf-orange);
}

.sd-footer__cta h2 {
  max-width: 760px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(28px, 3.1vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.sd-footer__cta p {
  max-width: 720px;
  margin: 0;
  color: #b7c6d6;
  font-size: 16px;
  line-height: 1.55;
}

.sd-footer__actions {
  display: grid;
  gap: 14px;
}

.sd-footer__primary {
  min-height: 68px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 13px 24px !important;
  border: 0 !important;
  border-radius: 5px;
  background: var(--sdf-orange) !important;
  box-shadow: 0 12px 28px rgba(255, 100, 0, .24);
  color: #fff !important;
  text-align: center;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.sd-footer__primary span {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
}

.sd-footer__primary small {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 500;
  opacity: .86;
}

.sd-footer__primary:hover {
  background: var(--sdf-orange-dark) !important;
  box-shadow: 0 15px 32px rgba(255, 100, 0, .3);
  transform: translateY(-2px);
}

.sd-footer__secondary {
  justify-self: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .38);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
}

.sd-footer__secondary span { color: #ff8a3d; }

.sd-footer__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) minmax(280px, 1fr) minmax(260px, .9fr);
  gap: clamp(36px, 5vw, 74px);
  padding: 48px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.sd-footer__logo {
  width: fit-content;
  max-width: 100%;
  display: inline-flex !important;
  align-items: center;
  gap: 11px;
  padding: 12px 15px !important;
  border-radius: 5px;
  background: #fff;
  color: var(--sdf-ink) !important;
}

.sd-footer__logo .logo-icon {
  width: 35px !important;
  height: 50px !important;
  flex: 0 0 auto;
}

.sd-footer__logo-text {
  display: grid;
  line-height: 1;
}

.sd-footer__logo-text strong {
  color: var(--sdf-ink);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.sd-footer__logo-text i {
  width: 36px;
  height: 2px;
  margin: 7px 0 5px;
  background: var(--sdf-orange);
}

.sd-footer__logo-text small {
  color: #64758a;
  font-size: 9px;
  font-style: normal;
}

.sd-footer__brand > p {
  max-width: 400px;
  margin: 22px 0 18px;
  color: #aebdcd;
  font-size: 14px;
  line-height: 1.6;
}

.sd-footer__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sd-footer__proof a,
.sd-footer__proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px !important;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 4px;
  background: rgba(255, 255, 255, .055);
  color: #dbe5ef !important;
  font-size: 11px;
  font-weight: 600;
}

.sd-footer__proof strong {
  margin-right: 5px;
  color: #ff7a21;
  font-size: 15px;
}

.sd-footer__navigation h2,
.sd-footer__contacts h2 {
  margin: 4px 0 20px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sd-footer__navigation h2::after,
.sd-footer__contacts h2::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin-top: 11px;
  background: var(--sdf-orange);
}

.sd-footer__links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 24px;
}

.sd-footer__links-grid a {
  position: relative;
  min-height: 38px;
  display: flex !important;
  align-items: center;
  padding: 7px 0 7px 14px !important;
  color: #c7d3df !important;
  font-size: 13px;
  font-weight: 600;
  transition: color .18s ease, transform .18s ease;
}

.sd-footer__links-grid a::before {
  content: "";
  position: absolute;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--sdf-orange);
}

.sd-footer__links-grid a:hover {
  color: #fff !important;
  transform: translateX(3px);
}

.sd-footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sd-footer__phone {
  color: #fff !important;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.sd-footer__email {
  margin-top: 7px;
  color: #86c7ff !important;
  font-size: 14px;
  font-weight: 700;
}

.sd-footer__messengers {
  display: flex;
  gap: 9px;
  margin-top: 17px;
}

.sd-footer__messenger {
  width: 38px;
  height: 38px;
  display: grid !important;
  place-items: center;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 5px;
  background: rgba(255, 255, 255, .07);
  transition: transform .18s ease, background .18s ease;
}

.sd-footer__messenger:hover {
  background: rgba(255, 255, 255, .14);
  transform: translateY(-2px);
}

.sd-footer__messenger svg {
  width: 27px;
  height: 27px;
  display: block;
}

.sd-footer__phones {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.sd-footer__phones a {
  color: #aebdcd !important;
  font-size: 13px;
  font-weight: 600;
}

.sd-footer__trust {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.sd-footer__rating {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sd-footer__rating > span {
  color: #c5d2df;
  font-size: 12px;
  font-weight: 700;
}

.sd-footer__rating iframe {
  width: 150px !important;
  height: 50px !important;
  display: block;
  border: 0;
  border-radius: 4px;
  background: #fff;
}

.sd-footer__trust > p {
  max-width: 520px;
  margin: 0;
  color: #aebdcd;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.sd-footer__trust strong { color: #dce6ef; }

.sd-footer__bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  color: #7f91a5;
  font-size: 11px;
}

.sd-footer__bottom p { margin: 0; }

.sd-footer__bottom > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.sd-footer__bottom a {
  color: #9dabb9 !important;
  border-bottom: 1px solid transparent;
}

.sd-footer__bottom a:hover {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .45);
}

.sd-footer a:focus-visible {
  outline: 3px solid rgba(255, 138, 61, .55);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .sd-footer__grid {
    grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
  }

  .sd-footer__contacts {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    column-gap: 28px;
    align-items: center;
  }

  .sd-footer__contacts h2 { grid-column: 1 / -1; }
  .sd-footer__email { grid-column: 1; }
  .sd-footer__messengers { grid-column: 2; grid-row: 2 / 4; margin-top: 0; }
  .sd-footer__phones { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  footer#footer.sd-footer > .sd-footer__inner {
    padding-top: 24px !important;
    padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
  }

  .sd-footer__cta {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 25px 20px;
  }

  .sd-footer__cta h2 { font-size: clamp(27px, 9vw, 38px); }
  .sd-footer__cta p { font-size: 14px; }

  .sd-footer__secondary {
    justify-self: start;
    margin-right: 88px;
  }

  .sd-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 38px 0 30px;
  }

  .sd-footer__brand > p { margin-top: 18px; }

  .sd-footer__contacts {
    grid-column: auto;
    display: flex;
    align-items: flex-start;
  }

  .sd-footer__contacts h2,
  .sd-footer__email,
  .sd-footer__messengers,
  .sd-footer__phones { grid-column: auto; grid-row: auto; }

  .sd-footer__messengers { margin-top: 17px; }

  .sd-footer__trust {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 22px 0;
  }

  .sd-footer__rating {
    width: 100%;
    justify-content: space-between;
  }

  .sd-footer__trust > p { text-align: left; }

  .sd-footer__bottom {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    padding-top: 24px;
  }

  .sd-footer__bottom > div {
    max-width: calc(100% - 92px);
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
  }
}

@media (max-width: 390px) {
  .sd-footer__links-grid { column-gap: 14px; }
  .sd-footer__phone { font-size: 21px; }
  .sd-footer__rating { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .sd-footer *,
  .sd-footer *::before,
  .sd-footer *::after { transition: none !important; }
}
