.guide-offer {
  margin-bottom: 24px;
}

.guide-offer + .questions {
  padding-top: 28px;
  padding-bottom: 48px;
}

.safety-note {
  margin-top: 16px;
  margin-bottom: 28px;
  padding: 34px 38px;
}

.safety-note h2 {
  max-width: 680px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
}

.site-footer {
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 0;
  background: linear-gradient(135deg, #0b2231, #102f42);
}

.footer-inner {
  display: grid;
  grid-template-columns: .9fr 1.35fr .75fr;
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 24px;
}

.footer-summary,
.footer-expert,
.footer-nav {
  min-width: 0;
  min-height: 260px;
  padding: 26px;
  border: 1px solid #315064;
  border-radius: 22px;
  background: rgba(21, 53, 73, .78);
}

.footer-summary p {
  max-width: 330px;
  margin: 22px 0 12px;
  color: #e4ecef;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.55;
}

.footer-summary > small {
  display: block;
  max-width: 360px;
  color: #a9bbc2;
  font-size: 12px;
  line-height: 1.65;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-brand span,
.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand strong {
  font-size: 22px;
}

.footer-brand small {
  color: #9eb1b9;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.footer-expert {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-content: center;
  padding: 26px;
}

.footer-expert > img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
}

.footer-expert span,
.footer-expert strong,
.footer-expert a {
  display: block;
}

.footer-expert span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.footer-expert strong {
  margin: 4px 0;
  color: #fff;
  font-size: 19px;
  line-height: 1.25;
}

.footer-expert a {
  color: #b9cbd2;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.footer-expert .messenger-links {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-nav strong {
  margin-bottom: 6px;
  color: #fff;
  font-size: 17px;
}

.footer-nav a {
  display: block;
  width: 100%;
  max-width: 100%;
  color: #b9cbd2;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: normal;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding: 20px 8px 0;
  border-top: 1px solid #29495c;
  color: #8198a2;
}

.footer-bottom a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-nav {
    grid-column: 1 / -1;
    flex-flow: column nowrap;
  }

  .footer-nav strong {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .mobile-contact-bar strong {
    max-width: 150px;
  }

  .guide-offer + .questions {
    padding-top: 12px;
    padding-bottom: 34px;
  }

  .safety-note {
    margin-top: 0;
    margin-bottom: 18px;
    padding: 28px 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
    max-width: 100%;
    padding-top: 34px;
    overflow: hidden;
  }

  .footer-summary,
  .footer-expert,
  .footer-nav {
    min-height: 0;
    padding: 22px;
  }

  .footer-nav,
  .footer-bottom {
    grid-column: auto;
  }

  .footer-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
}
