.site-footer {
  display: block;
  min-height: 0;
  padding: 0 clamp(24px, 7vw, 112px);
  background: #1c2023;
  color: #f2f6f7;
  border-top: 1px solid rgba(39, 219, 243, 0.2);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(230px, 1.15fr) repeat(3, minmax(170px, 0.85fr));
  gap: clamp(44px, 6vw, 94px);
  padding: 82px 0 72px;
}

.footer-company,
.footer-column {
  min-width: 0;
}

.site-footer .footer-brand {
  display: inline-flex;
  margin-bottom: 24px;
}

.site-footer .footer-brand .brand-logo {
  width: 176px;
}

.site-footer p {
  color: #c5d0d4;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.65;
}

.site-footer .footer-statement {
  max-width: 270px;
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 800;
}

.site-footer .footer-specialty {
  max-width: 300px;
  margin: 0;
  color: #8fa2aa;
  font-size: 0.84rem;
}

.footer-actions {
  display: flex;
  gap: 9px;
  margin-top: 25px;
}

.footer-actions a,
.footer-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #172126;
  background: #f4f7f8;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.footer-actions a:hover,
.footer-actions a:focus-visible,
.footer-to-top:hover,
.footer-to-top:focus-visible {
  color: #021014;
  background: #27dbf3;
  transform: translateY(-2px);
  outline: none;
}

.site-footer .footer-to-top {
  margin-top: 26px;
  color: #f4f8f9;
  background: #20546b;
  font-size: 1rem;
}

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

.footer-column h2 {
  margin: 0 0 28px;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
}

.footer-column a,
.footer-column > p {
  margin: 0;
  color: #d4dde0;
  font-family: Arial, sans-serif;
  font-size: 0.93rem;
  line-height: 1.45;
}

.footer-column a {
  transition: color 160ms ease, transform 160ms ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #27dbf3;
  transform: translateX(3px);
  outline: none;
}

.footer-contact {
  gap: 18px;
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.footer-contact a span {
  margin-right: 8px;
  color: #27dbf3;
  font-size: 0.72rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 22px 0;
  border-top: 1px solid rgba(39, 219, 243, 0.32);
}

.site-footer .footer-bottom p,
.footer-bottom span {
  margin: 0;
  color: #889ba3;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.72rem;
  font-weight: 600;
}

@media (max-width: 1040px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-inline: 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 64px 0 54px;
  }

  .footer-column h2 {
    margin-bottom: 10px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-block: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-actions a,
  .footer-to-top,
  .footer-column a {
    transition: none;
  }
}
