.site-prefooter {
  position: relative;
  padding: 48px 0 28px;
  background: #f4f8fb;
  border-top: 1px solid rgba(21, 48, 79, 0.08);
}

.site-prefooter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.site-prefooter .container {
  position: relative;
  z-index: 1;
}

.site-prefooter-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  padding: 30px 0 18px;
  border-top: 1px solid rgba(21, 48, 79, 0.1);
}

.site-prefooter-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-prefooter-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
}

.site-prefooter-logo img {
  display: block;
  width: auto;
  max-width: min(200px, 100%);
  height: 44px;
  object-fit: contain;
}

.site-prefooter-title {
  margin: 0;
  color: #15304f;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.site-prefooter-description {
  max-width: 420px;
  margin: 12px 1.5rem 0;
  color: #405268;
  font-size: 1.42rem;
  line-height: 1.75;
}

.site-prefooter-highlights,
.site-prefooter-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-prefooter-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.site-prefooter-quick-links a {
  color: #1b6f9d;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.site-prefooter-quick-links a:hover,
.site-prefooter-quick-links a:focus {
  color: #15304f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-prefooter-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.site-prefooter-social {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px 9px 9px;
  border: 1px solid rgba(21, 48, 79, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #20415b;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.site-prefooter-social:hover,
.site-prefooter-social:focus {
  border-color: rgba(21, 48, 79, 0.22);
  background: #fff;
  color: #15304f;
  text-decoration: none;
}

.site-prefooter-social-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1b6f9d;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-prefooter-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-content: start;
}

.site-prefooter-group {
  min-width: 0;
}

.site-prefooter-group-title {
  margin: 0 0 14px;
  color: #15304f;
  font-size: 1.45rem;
  line-height: 1.2;
}

.site-prefooter-list {
  display: grid;
  gap: 8px;
}

.site-prefooter-list a {
  color: #456177;
  font-size: 1.34rem;
  line-height: 1.55;
  text-decoration: none;
}

.site-prefooter-list a:hover,
.site-prefooter-list a:focus {
  color: #15304f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 991px) {
  .site-prefooter {
    padding: 40px 0 24px;
  }

  .site-prefooter-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-prefooter-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .site-prefooter {
    padding: 32px 0 18px;
  }

  .site-prefooter-shell {
    gap: 24px;
    padding: 24px 0 12px;
  }

  .site-prefooter-title {
    font-size: 1.9rem;
  }

  .site-prefooter-description {
    font-size: 1.34rem;
  }

  .site-prefooter-links {
    grid-template-columns: 1fr;
  }
}
