/* Site footer. Everything is scoped under .gw-footer (Bootstrap + Tailwind are both loaded globally). */
.gw-footer {
  --gwf-bg: #0e1a2b;
  --gwf-bg-2: #13233a;
  --gwf-text: #b9c6d8;
  --gwf-head: #ffffff;
  --gwf-muted: #8394ab;
  --gwf-line: rgba(255, 255, 255, 0.09);
  --gwf-accent: #558ec9;
  --gwf-accent-2: #8fbceb;

  position: relative;
  margin-top: 0;
  background: radial-gradient(1200px 400px at 85% -10%, rgba(85, 142, 201, 0.18), transparent 60%),
    linear-gradient(180deg, var(--gwf-bg-2), var(--gwf-bg));
  color: var(--gwf-text);
  font-size: 15px;
  line-height: 1.6;
}
.gw-footer *,
.gw-footer *::before,
.gw-footer *::after {
  box-sizing: border-box;
}
.gw-footer a {
  color: inherit;
  text-decoration: none;
}
.gw-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.gw-footer h2,
.gw-footer h3,
.gw-footer p {
  margin: 0;
}
.gw-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 28px;
}

/* ---- call to action */
.gw-footer-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 48px;
  padding: 32px 36px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(120deg, #558ec9 0%, #3f74b0 55%, #2f5e95 100%);
  box-shadow: 0 24px 60px -24px rgba(14, 26, 43, 0.55);
  color: #fff;
}
.gw-footer-cta::before,
.gw-footer-cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.gw-footer-cta::before {
  width: 260px;
  height: 260px;
  right: -60px;
  top: -120px;
}
.gw-footer-cta::after {
  width: 160px;
  height: 160px;
  right: 180px;
  bottom: -100px;
}
.gw-footer-cta-copy {
  position: relative;
  max-width: 560px;
}
.gw-footer-cta h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #fff;
}
.gw-footer-cta p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}
.gw-footer-cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}
.gw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.gw-footer .gw-btn-light {
  background: #fff;
  color: #2f5e95;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.35);
}
.gw-footer .gw-btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.45);
}
.gw-footer .gw-btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}
.gw-footer .gw-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---- brand + link columns */
.gw-footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) 3fr;
  gap: 48px;
  padding-bottom: 40px;
}
.gw-footer-logo {
  display: inline-block;
}
.gw-footer-logo img {
  display: block;
  width: 180px;
  height: auto;
  /* The logo is blue on transparent: show it white on the dark footer. */
  filter: brightness(0) invert(1);
}
.gw-footer-tagline {
  max-width: 320px;
  margin-top: 16px !important;
  color: var(--gwf-text);
}
.gw-footer .gw-footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 14px;
  border: 1px solid var(--gwf-line);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.gw-footer .gw-footer-mail:hover {
  border-color: var(--gwf-accent);
  background: rgba(85, 142, 201, 0.12);
}
.gw-footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.gw-footer-col h3 {
  margin-bottom: 14px;
  color: var(--gwf-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gw-footer-col li + li {
  margin-top: 10px;
}
.gw-footer-col a {
  position: relative;
  color: var(--gwf-text);
  font-size: 15px;
  transition: color 0.15s ease;
}
.gw-footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--gwf-accent-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.gw-footer-col a:hover {
  color: #fff;
}
.gw-footer-col a:hover::after {
  transform: scaleX(1);
}
.gw-footer a:focus-visible,
.gw-footer button:focus-visible {
  outline: 2px solid var(--gwf-accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---- promise strip */
.gw-footer-promises {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--gwf-line);
  border-bottom: 1px solid var(--gwf-line);
}
.gw-footer-promises li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gwf-text);
  font-size: 14px;
}
.gw-footer-promise-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(85, 142, 201, 0.16);
  color: var(--gwf-accent-2);
}

/* ---- bottom bar */
.gw-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 22px;
  color: var(--gwf-muted);
  font-size: 13px;
}
.gw-footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.gw-footer-bottom-links a:hover {
  color: #fff;
}
.gw-footer .gw-footer-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--gwf-line);
  border-radius: 999px;
  background: transparent;
  color: var(--gwf-text);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.gw-footer .gw-footer-top:hover {
  border-color: var(--gwf-accent);
  color: #fff;
}

/* ---- tablet */
@media (max-width: 1024px) {
  .gw-footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .gw-footer-promises {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .gw-footer-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
  }
}

/* ---- phone */
@media (max-width: 640px) {
  .gw-footer {
    margin-top: 0;
  }
  .gw-footer-inner {
    padding: 40px 16px 24px;
  }
  .gw-footer-cta {
    margin: 0 0 36px;
    border-radius: 20px;
  }
  .gw-footer-cta-actions,
  .gw-footer-cta-actions .gw-btn {
    width: 100%;
  }
  .gw-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
  .gw-footer-promises {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gw-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gw-footer * {
    transition: none !important;
  }
}

