/* ==========================================================================
   Footer: brand, phone number, address, hours and service area
   ========================================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: var(--section-gap);
  padding: clamp(40px, 6vw, 88px) var(--page-gutter) 28px;
  border-radius: 36px 36px 0 0;
  background: #0b1220;
  color: var(--color-white);
}

/* Blue glow in the top-right corner */
.site-footer::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -40%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(47, 134, 240, 0.28), transparent 65%);
  pointer-events: none;
}

.site-footer > * {
  position: relative;
}

.site-footer .brand__logo {
  height: 64px;
}

.site-footer .brand__name {
  top: 7px;
  margin-left: 0;
  font-size: 1.25rem;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.site-footer__brand p {
  max-width: 24em;
  color: #b8c3d6;
}

.site-footer__phone {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer__phone span {
  color: #8fa0bb;
}

.site-footer__phone a {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}

.site-footer__phone a:hover {
  color: var(--color-sky-300);
}

.site-footer__body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px clamp(24px, 4vw, 56px);
  padding-top: clamp(28px, 4vw, 48px);
}

.site-footer__heading {
  margin-bottom: 12px;
  color: #8fa0bb;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
}

.site-footer__col p {
  max-width: 22em;
  margin-bottom: 6px;
}

.site-footer__label {
  display: block;
  color: #8fa0bb;
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-footer__col .site-footer__note {
  margin-top: 12px;
  color: #b8c3d6;
  font-size: 0.9375rem;
}

.site-footer__regions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer__regions li {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9375rem;
}

.site-footer__legal {
  margin-top: clamp(32px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #8fa0bb;
  font-size: 0.875rem;
}

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

  .site-footer__body > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-footer__body {
    grid-template-columns: 1fr;
  }
}
