/* ==========================================================================
   Site footer
   Column layout adapted from the utacgroup.com footer, restyled for the
   Coastline dark theme. Legal links point to the local policy pages.
   ========================================================================== */

.site-footer {
  background: var(--nav-ink, #0b0a1e);
  color: #fff;
  font-family: var(--nav-font, "Segoe UI", "Microsoft YaHei", system-ui, sans-serif);
}
.footer-inner {
  width: min(1320px, calc(100% - var(--nav-gutter, 32px) * 2));
  margin-inline: auto;
  padding-top: 72px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
}
.footer-logo {
  display: inline-block;
}
.footer-logo img {
  width: 170px;
  height: auto;
}
.footer-desc {
  max-width: 34ch;
  margin: 20px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.52);
}
.site-footer .icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 13.5px;
  color: #fff;
  text-decoration: none;
}
.footer-mail:hover {
  border-bottom-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.footer-title {
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--nav-red, #ec1c24);
}
.footer-title--gap {
  margin-top: 30px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-col a {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: #fff;
}
.footer-rule {
  margin: 56px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 24px;
  padding: 22px 0 26px;
}
.footer-copy {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 1024px) {
  .footer-inner {
    padding-top: 56px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-rule {
    margin-top: 44px;
  }
}
@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}
