/* Global footer — standalone, shared by every theme template. */
.spt-footer {
  background: #0a100c;
  color: #fff;
  padding-top: clamp(58px, 6vw, 92px);
}

.spt-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(165px, 0.8fr) minmax(270px, 1fr);
  gap: clamp(32px, 6vw, 98px);
  padding-bottom: clamp(54px, 5vw, 82px);
}

.spt-footer__brand { max-width: 420px; }
.spt-footer__logo { display: inline-flex; max-width: 126px; text-decoration: none; }
.spt-footer__logo img,
.spt-footer__logo .custom-logo {
  display: block;
  width: auto;
  max-width: 126px;
  height: 126px;
  max-height: 126px;
  object-fit: contain;
}
.spt-footer__logo .custom-logo-link { display: inline-flex; }
.spt-footer__brand-name {
  color: #fff;
  font: 900 26px/1.2 var(--spt-font-heading, 'Nunito', sans-serif);
  text-decoration: none;
}
.spt-footer__tagline {
  max-width: 370px;
  margin: 18px 0 0;
  color: #adbab0;
  font: 500 14px/1.9 var(--spt-font-body, 'Manrope', sans-serif);
}

.spt-footer__title {
  margin: 7px 0 25px;
  color: #f4f8f3;
  font: 800 20px/1.3 var(--spt-font-heading, 'Nunito', sans-serif);
}

.spt-footer__links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.spt-footer__links li { margin: 0; }
.spt-footer__links a {
  display: inline-flex;
  color: #aebbb0;
  font: 600 14px/1.5 var(--spt-font-body, 'Manrope', sans-serif);
  text-decoration: none;
  transition: color 160ms ease;
}
.spt-footer__links a:hover, .spt-footer__links a:focus-visible { color: var(--spt-lime, #79df09); }

.spt-footer__contact > p {
  margin: 0 0 24px;
  color: #aebbb0;
  font: 500 14px/1.8 var(--spt-font-body, 'Manrope', sans-serif);
}

.spt-footer__contact > a:not(.spt-footer__quote-link) {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 0 0 19px;
  color: #e5eee6;
  overflow-wrap: anywhere;
  font: 700 14px/1.7 var(--spt-font-body, 'Manrope', sans-serif);
  text-decoration: none;
  transition: color 160ms ease;
}
.spt-footer__contact > a svg { flex: 0 0 19px; margin-top: 2px; color: var(--spt-lime, #79df09); }
.spt-footer__contact > a:hover, .spt-footer__contact > a:focus-visible { color: var(--spt-lime, #79df09); }
.spt-footer__contact .spt-footer__quote-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--spt-lime, #79df09);
  color: var(--spt-lime, #79df09);
  font: 800 14px/1.5 var(--spt-font-body, 'Manrope', sans-serif);
  text-decoration: none;
}

.spt-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 30px;
  min-height: 72px;
  padding-block: 22px;
  border-top: 1px solid rgba(233, 248, 229, 0.13);
  color: #94a396;
  font: 500 12px/1.5 var(--spt-font-body, 'Manrope', sans-serif);
}
.spt-footer__bottom small { font: inherit; }
.spt-footer a:focus-visible { outline: 2px solid var(--spt-lime, #79df09); outline-offset: 4px; }

@media (max-width: 900px) {
  .spt-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px; }
  .spt-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  .spt-footer__main { grid-template-columns: 1fr; gap: 34px; }
  .spt-footer__brand { grid-column: auto; }
  .spt-footer__title { margin-bottom: 18px; }
  .spt-footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 16px; }
  .spt-footer__bottom { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .spt-footer__links a, .spt-footer__contact > a { transition: none; }
}
