

/* ===== Modern footer (matches homepage) ===== */
.modern-footer {
  background: #203b5c;
  color: #fff;
  padding: 88px 0 0;
  position: relative;
  overflow: hidden;
}

.modern-footer::before {
  content: "";
  background-image: linear-gradient(#ffffff0d 1px, transparent 1px), linear-gradient(90deg, #ffffff0d 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: .42;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.modern-footer .container {
  position: relative;
  z-index: 1;
}

.modern-footer .footer-outer {
  grid-row-gap: 0;
}

.modern-footer .footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  display: grid;
  grid-column-gap: 40px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  padding-bottom: 42px;
}

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

.footer-logo-link {
  display: inline-flex;
}

.footer-logo {
  width: 230px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-kicker {
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  font-weight: 600;
  line-height: 140%;
  text-transform: uppercase;
}

.footer-cta-link {
  background-color: #fff;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 8px;
  color: #111614;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  text-decoration: none;
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
  white-space: nowrap;
}

.footer-cta-link:hover {
  background-color: #a6cbcd;
  border-color: #a6cbcd;
  transform: translateY(-2px);
}

.footer-cta-link img {
  width: 16px;
  height: 16px;
}

.footer-middle {
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  display: grid;
  grid-column-gap: 56px;
  grid-template-columns: minmax(280px, .95fr) minmax(420px, 1fr);
  padding: 48px 0;
}

.footer-about {
  max-width: 610px;
}

.footer-statement {
  color: #fff;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 112%;
  margin-bottom: 18px;
}

.footer-description {
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
  line-height: 170%;
  max-width: 560px;
}

.modern-footer .footer-right {
  display: grid;
  grid-column-gap: 28px;
  grid-row-gap: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.modern-footer .footer-inner {
  border-left: 1px solid rgba(255, 255, 255, .16);
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-left: 18px;
}

.modern-footer .footer-head {
  color: #a6cbcd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 130%;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.modern-footer .footer-link {
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 150%;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.modern-footer .footer-link:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-icon-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.footer-icon-link {
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}

.footer-icon-link:hover {
  background-color: rgba(166, 203, 205, .18);
  border-color: rgba(166, 203, 205, .8);
  transform: translateY(-2px);
}

.footer-icon-link img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.modern-footer .footer-bottom {
  border-top: 0;
  color: rgba(255, 255, 255, .66);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
}

.modern-footer .footer-utility {
  color: rgba(255, 255, 255, .66);
}

.modern-footer .utility-link {
  color: #fff;
}

@media screen and (max-width: 991px) {
  .modern-footer {
    padding-top: 68px;
  }

  .modern-footer .footer-top,
  .footer-middle {
    grid-template-columns: 1fr;
  }

  .modern-footer .footer-top {
    align-items: start;
    grid-row-gap: 28px;
  }

  .footer-middle {
    grid-row-gap: 38px;
  }

  .modern-footer .footer-right {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .modern-footer {
    padding-top: 56px;
  }

  .modern-footer .footer-top {
    padding-bottom: 34px;
  }

  .footer-middle {
    padding: 38px 0;
  }

  .footer-statement {
    font-size: 30px;
  }

  .modern-footer .footer-right {
    grid-template-columns: 1fr 1fr;
  }

  .modern-footer .footer-bottom {
    align-items: flex-start;
  }
}

@media screen and (max-width: 479px) {
  .footer-logo {
    width: 200px;
  }

  .footer-cta-link {
    width: 100%;
    white-space: normal;
  }

  .footer-statement {
    font-size: 27px;
  }

  .modern-footer .footer-right {
    grid-template-columns: 1fr;
  }

  .modern-footer .footer-inner {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
    padding-left: 0;
    padding-top: 18px;
  }
}
