.footer-7 {
  position: relative;
}

.footer-7__main {
  background: #ffffff;
  padding: 68px 0 40px;
}

.footer-7__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 0.95fr 1fr minmax(280px, 0.95fr);
  gap: 48px;
  align-items: start;
}

.footer-7__brand img {
  display: block;
  width: 250px;
  max-width: 100%;
}

.footer-7__column h2,
.footer-7__follow-column h2 {
  margin: 0;
  color: #31353a;
  font-family: var(--font-family-display);
}

.footer-7__nav a,
.footer-7__contact p,
.footer-7__contact a {
  margin: 0;
  color: #4f545c;
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 1.45;
  text-decoration: none;
}

.footer-7__call-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-top: 22px;
  padding: 14px 38px;
  border-radius: 999px;
  background: #9bc9ea;
  color: #ffffff;
  font-family: var(--font-family-display);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-7__call-button:hover {
  background: #88bbe0;
  transform: translateY(-1px);
}

.footer-7__column h2,
.footer-7__follow-column h2 {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 800;
}

.footer-7__nav,
.footer-7__contact,
.footer-7__contact-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-7__contact-block--email {
  margin-top: 10px;
}

.footer-7__nav a:hover,
.footer-7__contact a:hover {
  color: #7baed4;
}

.footer-7__social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-7__social a {
  color: #1f2329;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-7__social a:hover {
  opacity: 0.75;
  transform: translateY(-1px);
}

.footer-7__social svg {
  width: 24px;
  height: 24px;
}

.footer-7__bottom {
  border-top: 2px solid #9bc9ea;
  background: #dff3ff;
  padding: 12px 0;
}

.footer-7__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-7__copyright,
.footer-7__legal a {
  color: #6b7077;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.footer-7__copyright {
  margin: 0;
}

.footer-7__legal {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-7__legal a:hover {
  color: #4d80a8;
}

.footer-7__floating-call {
  position: fixed;
  right: 18px;
  bottom: 16px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 999px;
  background: #9bc9ea;
  color: #ffffff;
  font-family: var(--font-family-display);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(61, 98, 131, 0.28);
  max-width: min(320px, calc(100vw - 24px));
}

.footer-7__floating-call:hover {
  background: #88bbe0;
}

.footer-7__floating-call-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-7__floating-call-icon svg {
  width: 21px;
  height: 21px;
}

@media (max-width: 1240px) {
  .footer-7__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .footer-7__main {
    padding: 46px 0 34px;
  }

  .footer-7__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-7__brand-column {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-7__brand-column,
  .footer-7__column,
  .footer-7__follow-column {
    text-align: center;
  }

  .footer-7__brand {
    display: inline-flex;
  }

  .footer-7__social,
  .footer-7__nav,
  .footer-7__contact,
  .footer-7__contact-block {
    justify-content: center;
    align-items: center;
  }

  .footer-7__call-button {
    display: flex;
    width: min(260px, 100%);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  .footer-7__brand img {
    width: 210px;
  }

  .footer-7__nav a,
  .footer-7__contact p,
  .footer-7__contact a {
    font-size: 16px;
  }

  .footer-7__legal {
    justify-content: center;
  }

  .footer-7__floating-call {
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
    font-size: 13px;
  }
}
