/*----------------------------------------------
Site footer, on the blue of the GPTC logo.
----------------------------------------------*/

.sf {
  background: #384ea3;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  line-height: 1.7;
  overflow: hidden;
  position: relative;
}

/* Same hexagon motif as the banners */
.sf::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 240'%3E%3Cg fill='%23ffffff' opacity='.05'%3E%3Cpath d='M82 6l32 18v37L82 79 50 61V24z'/%3E%3Cpath d='M44 72l32 18v37l-32 18-32-18V90z'/%3E%3Cpath d='M82 138l32 18v37l-32 18-32-18v-37z'/%3E%3C/g%3E%3C/svg%3E") right 4% center / 170px auto no-repeat;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.sf-wrap {
  margin: 0 auto;
  max-width: 1240px;
  padding: 0 24px;
  position: relative;
}

.sf-main {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.2fr);
  padding-bottom: 56px;
  padding-top: 64px;
}

/* Brand */
.sf-logo {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(4, 22, 60, 0.25);
  display: inline-block;
  padding: 12px 16px;
}

.sf-logo img {
  display: block;
  height: auto;
  max-width: 100%;
  width: 220px;
}

.sf-brand p {
  color: rgba(255, 255, 255, 0.82);
  margin: 22px 0;
  max-width: 380px;
}

.sf-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sf-social a {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: #ffffff;
  display: flex;
  font-size: 15px;
  height: 40px;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  width: 40px;
}

.sf-social a:hover {
  background: #ffffff;
  color: #384ea3;
  transform: translateY(-2px);
}

/* Columns */
.sf-col h4 {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 22px;
  padding-bottom: 12px;
  position: relative;
  text-transform: none;
}

.sf-col h4::after {
  background: linear-gradient(90deg, #35b0f6, #7cc9ff);
  border-radius: 999px;
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 36px;
}

.sf-links,
.sf-contact {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sf a {
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.sf-links a,
.sf-contact a {
  color: rgba(255, 255, 255, 0.82);
}

.sf-links a:hover,
.sf-contact a:hover {
  color: #7cc9ff;
}

.sf-links a:hover {
  padding-left: 4px;
}

.sf-contact {
  gap: 14px;
}

.sf-contact li {
  align-items: flex-start;
  display: flex;
  gap: 12px;
}

.sf-contact i {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #7cc9ff;
  display: flex;
  flex: 0 0 36px;
  font-size: 14px;
  height: 36px;
  justify-content: center;
}

.sf-contact li > span,
.sf-contact li > a {
  padding-top: 5px;
}

.sf a:focus-visible {
  outline: 2px solid #7cc9ff;
  outline-offset: 3px;
}

/* Bottom bar */
.sf-bottom {
  background: rgba(20, 30, 80, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13.5px;
  position: relative;
}

.sf-bottom-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding-bottom: 18px;
  padding-top: 18px;
}

@media (max-width: 1199px) {
  .sf-main {
    gap: 40px 32px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sf-brand {
    grid-column: 1 / -1;
  }

  .sf-brand p {
    max-width: 560px;
  }
}

@media (max-width: 767px) {
  .sf-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-bottom: 44px;
    padding-top: 48px;
  }

  .sf-main > .sf-col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .sf-wrap {
    padding: 0 16px;
  }

  .sf-main {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr);
  }

  .sf-bottom-inner {
    justify-content: center;
    text-align: center;
  }
}
