:root {
  --thrive-footer-blue: #043e64;
  --thrive-footer-blue-deep: #032f4c;
  --thrive-footer-green: #08ae0c;
  --thrive-footer-green-hover: #078c0a;
  --thrive-footer-white: #fff;
  --thrive-footer-copy: #d8e7f2;
  --thrive-footer-muted: #aec5d5;
  --thrive-footer-line: rgba(255, 255, 255, .15);
}
footer.thrive-main-footer,
footer.site-footer.thrive-modern-footer {
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 4px solid var(--thrive-footer-green);
  background: radial-gradient(circle at 14% 0%, rgba(0,132,255,.18), transparent 28%), linear-gradient(145deg, var(--thrive-footer-blue) 0%, var(--thrive-footer-blue-deep) 100%);
  color: var(--thrive-footer-white);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  text-align: left;
}
.thrive-main-footer .thrive-footer-shell,
.site-footer.thrive-modern-footer .shell {
  width: min(calc(100% - 48px), 1170px);
  margin: 0 auto;
  padding-right: 0;
  padding-left: 0;
}
.thrive-main-footer .thrive-footer-grid,
.site-footer.thrive-modern-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(260px,1.35fr) minmax(160px,.72fr) minmax(270px,1.18fr) minmax(220px,.92fr);
  gap: 44px;
  align-items: start;
  padding: 66px 0 52px;
}
.thrive-main-footer .thrive-footer-grid > *,
.site-footer.thrive-modern-footer .footer-grid > * {
  min-width: 0;
  background: transparent !important;
  box-shadow: none !important;
}
.thrive-main-footer .thrive-footer-brand,
.site-footer.thrive-modern-footer .brand-footer {
  display: inline-flex;
  margin: 0 0 22px;
  padding: 0;
  background: transparent;
}
.thrive-main-footer .thrive-footer-brand img,
.site-footer.thrive-modern-footer .brand-footer img {
  display: block;
  width: 174px;
  height: auto;
  max-height: none;
}
.thrive-main-footer h2,
.site-footer.thrive-modern-footer h2 {
  margin: 3px 0 18px;
  padding: 0;
  color: var(--thrive-footer-white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .01em;
  text-transform: none;
}
.thrive-main-footer p,
.site-footer.thrive-modern-footer p {
  margin: 0;
  color: var(--thrive-footer-copy);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.72;
}
.thrive-main-footer .thrive-footer-intro > p { max-width: 350px; }
.thrive-main-footer a,
.site-footer.thrive-modern-footer a:not(.brand) {
  color: var(--thrive-footer-copy);
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}
.thrive-main-footer a:hover,
.thrive-main-footer a:focus,
.site-footer.thrive-modern-footer a:not(.brand):hover,
.site-footer.thrive-modern-footer a:not(.brand):focus { color: var(--thrive-footer-white); }
.thrive-main-footer .thrive-footer-nav a,
.site-footer.thrive-modern-footer .footer-grid > div > a:not(.brand):not(.button) {
  display: block;
  margin: 0;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--thrive-footer-copy);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}
.thrive-main-footer .thrive-footer-nav a:last-child,
.site-footer.thrive-modern-footer .footer-grid > div > a:not(.brand):not(.button):last-child { border-bottom: 0; }
.thrive-main-footer .thrive-footer-coverage a {
  color: var(--thrive-footer-white);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.3);
  text-underline-offset: 3px;
}
.thrive-main-footer .thrive-footer-offices p + p { margin-top: 16px; }
.thrive-main-footer .thrive-footer-offices strong { color: var(--thrive-footer-white); font-weight: 700; }
.thrive-main-footer .thrive-footer-social {
  display: flex;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.thrive-main-footer .thrive-footer-social li { float: none; margin: 0; padding: 0; }
.thrive-main-footer .thrive-footer-social a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--thrive-footer-white);
}
.thrive-main-footer .thrive-footer-social a:hover,
.thrive-main-footer .thrive-footer-social a:focus {
  border-color: var(--thrive-footer-green);
  background: var(--thrive-footer-green);
  transform: translateY(-2px);
}
.thrive-main-footer .thrive-footer-bottom,
.site-footer.thrive-modern-footer .footer-bottom {
  display: grid;
  grid-template-columns: minmax(250px,.7fr) minmax(0,1.8fr);
  gap: 36px;
  align-items: start;
  margin: 0;
  padding: 24px 0 30px;
  border-top: 1px solid var(--thrive-footer-line);
  color: var(--thrive-footer-muted);
  font-size: 12px;
}
.thrive-main-footer .thrive-footer-bottom p,
.site-footer.thrive-modern-footer .footer-bottom,
.site-footer.thrive-modern-footer .footer-bottom span {
  color: var(--thrive-footer-muted);
  font-size: 12px;
  line-height: 1.65;
}
.thrive-main-footer .thrive-footer-copyright strong { color: var(--thrive-footer-white); }
.site-footer.thrive-modern-footer .footer-button {
  display: inline-flex;
  width: 100%;
  min-height: 50px;
  margin-top: 16px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: var(--thrive-footer-green) !important;
  color: var(--thrive-footer-white) !important;
  font-weight: 700;
}
.site-footer.thrive-modern-footer .footer-button:hover,
.site-footer.thrive-modern-footer .footer-button:focus { background: var(--thrive-footer-green-hover) !important; color: #fff !important; }
@media (max-width: 1050px) {
  .thrive-main-footer .thrive-footer-grid,
  .site-footer.thrive-modern-footer .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px 52px; }
}
@media (max-width: 680px) {
  .thrive-main-footer .thrive-footer-shell,
  .site-footer.thrive-modern-footer .shell { width: min(calc(100% - 32px),1170px); }
  .thrive-main-footer .thrive-footer-grid,
  .site-footer.thrive-modern-footer .footer-grid { grid-template-columns: 1fr; gap: 34px; padding: 48px 0 36px; }
  .thrive-main-footer .thrive-footer-brand img,
  .site-footer.thrive-modern-footer .brand-footer img { width: 160px; }
  .thrive-main-footer .thrive-footer-intro > p,
  .site-footer.thrive-modern-footer p { max-width: none; }
  .thrive-main-footer .thrive-footer-bottom,
  .site-footer.thrive-modern-footer .footer-bottom { grid-template-columns: 1fr; gap: 14px; padding: 22px 0 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .thrive-main-footer a,
  .site-footer.thrive-modern-footer a { transition: none; }
}
