/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(115deg, #0d151f 0%, #111b27 55%, #0b1420 100%);
}

.site-footer::before {
  position: absolute;
  top: -8rem;
  left: -5rem;
  width: 22rem;
  height: 22rem;
  content: "";
  border: 1px solid rgba(7, 136, 207, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.site-footer::after {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 10rem;
  height: 9rem;
  content: "";
  opacity: 0.09;
  background-image: radial-gradient(#21a5ec 1px, transparent 1px);
  background-size: 10px 10px;
  pointer-events: none;
}

.footer-container {
  position: relative;
  z-index: 1;
  padding-block: clamp(3.5rem, 5vw, 5rem) 1.6rem;
}


/* =========================================================
   MAIN FOOTER GRID
   ========================================================= */

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(11rem, 0.7fr) minmax(16rem, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
}


/* =========================================================
   BRAND
   ========================================================= */

.footer-brand {
  max-width: 28rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #ffffff;
  text-decoration: none;
}

.footer-logo-mark {
  color: #21a5ec;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.08em;
}

.footer-logo-name {
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.footer-brand-line {
  display: block;
  width: 3rem;
  height: 2px;
  margin-top: 1.25rem;
  background: #21a5ec;
}

.footer-business {
  margin: 1.25rem 0 0;
  color: #f2f6fa;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-description {
  margin: 1rem 0 0;
  color: #9eabb9;
  font-size: 0.77rem;
  line-height: 1.75;
}

.footer-location {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
  color: #d7e0e8;
  text-decoration: none;
  font-size: 0.77rem;
  transition: color 180ms ease;
}

.footer-location svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: #21a5ec;
}

.footer-location:hover {
  color: #21a5ec;
}


/* =========================================================
   HEADINGS
   ========================================================= */

.footer-links h3,
.footer-highlights h3 {
  margin: 0 0 1.35rem;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}


/* =========================================================
   QUICK LINKS
   ========================================================= */

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.95rem;
  color: #b7c2ce;
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links a span {
  color: #21a5ec;
  font-size: 1.2rem;
  line-height: 1;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}


/* =========================================================
   HIGHLIGHTS
   ========================================================= */

.footer-highlights {
  display: flex;
  flex-direction: column;
}

.footer-highlight {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.15rem;
}

.footer-highlight-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #21a5ec;
}

.footer-highlight-icon svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

.footer-highlight-copy {
  display: grid;
  gap: 0.16rem;
}

.footer-highlight-copy strong {
  color: #f4f7fa;
  font-size: 0.76rem;
  font-weight: 700;
}

.footer-highlight-copy span {
  color: #8997a6;
  font-size: 0.68rem;
}


/* =========================================================
   BOTTOM BAR
   ========================================================= */

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2.7rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: #8e9ba9;
  font-size: 0.68rem;
}

.footer-bottom-divider {
  width: 1px;
  height: 1.35rem;
  background: rgba(255, 255, 255, 0.18);
}

.footer-tagline {
  text-align: right;
}


/* =========================================================
   FOCUS
   ========================================================= */

.footer-logo:focus-visible,
.footer-location:focus-visible,
.footer-links a:focus-visible {
  outline: 2px solid #21a5ec;
  outline-offset: 4px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 0.8fr;
  }

  .footer-highlights {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-highlights h3 {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .footer-highlight {
    margin-bottom: 0;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {
  .footer-container {
    padding-block: 3rem 1.4rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    max-width: none;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-brand-line {
    margin: 1rem auto 0;
  }

  .footer-description {
    line-height: 1.7;
  }

  .footer-location {
    justify-content: center;
  }

  .footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    padding-block: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-links h3 {
    display: none;
  }

  .footer-links a {
    margin: 0;
    padding: 0.35rem 0.8rem;
    font-size: 0.72rem;
  }

  .footer-links a + a {
    border-left: 1px solid rgba(33, 165, 236, 0.35);
  }

  .footer-links a span {
    display: none;
  }

  .footer-highlights {
    display: none;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    text-align: center;
  }

  .footer-bottom-divider {
    display: none;
  }

  .footer-tagline {
    text-align: center;
  }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {
  .footer-logo-mark {
    font-size: 2rem;
  }

  .footer-logo-name {
    font-size: 0.95rem;
  }

  .footer-business {
    font-size: 0.78rem;
  }

  .footer-description {
    font-size: 0.7rem;
  }

  .footer-links a {
    padding: 0.35rem 0.55rem;
    font-size: 0.67rem;
  }
}