/* Ported from cp-catapult src/scss/components/_footer.scss */

/* ===========================
   Footer CTA — dark green band
   =========================== */

.c-footer-cta {
  background-color: #004038;
  padding: 4rem 0;
  text-align: center;
}

.c-footer-cta__inner {
  max-width: 600px;
  margin: 0 auto;
}

.c-footer-cta__heading {
  color: #ffffff;
  font-size: clamp(1.5rem, 1.25rem + 1.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.c-footer-cta__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin: 0 0 2rem;
  line-height: 1.6;
}

.c-footer-cta__button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: #ffffff;
  color: #004038;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 100px;
  transition: opacity 0.2s ease;
}

.c-footer-cta__button:hover {
  opacity: 0.9;
  color: #004038;
}

/* ===========================
   Site footer — main columns
   =========================== */

.c-site-footer {
  background-color: #ffffff;
  border-top: 1px solid #dbdbdb;
  padding-top: 2rem;
}

.c-site-footer .row--top {
  margin-top: 2rem;
  display: grid;
  justify-content: space-between;
  grid-template-columns: 1fr;
  gap: 2rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .c-site-footer .row--top {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.c-site-footer .row--top ul {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.c-site-footer .row--top ul li a {
  font-weight: 400;
  display: block;
  padding: 0.5rem 0;
  color: #2e2d2b;
  text-decoration: none;
}

.c-site-footer .row--top ul li a:hover {
  color: #006a52;
}

.c-site-footer__col--1 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.c-site-footer__col--1 img {
  max-height: 7rem;
  max-width: 50%;
  width: auto;
  height: auto;
}

.c-site-footer__col-heading {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  padding-bottom: 0.5rem;
}

/* HubSpot's menu output uses .hs-menu-wrapper — match the cp-catapult ul styling */
.c-site-footer .hs-menu-wrapper > ul {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.c-site-footer .hs-menu-wrapper > ul li a {
  font-weight: 400;
  display: block;
  padding: 0.5rem 0;
  color: #2e2d2b;
  text-decoration: none;
}

.c-site-footer .hs-menu-wrapper > ul li a:hover {
  color: #006a52;
}

/* ===========================
   Privacy / legal menu
   =========================== */

.c-site-footer__legal {
  border-top: 1px solid #dbdbdb;
  margin-top: 1rem;
  padding-top: 1rem;
}

.c-site-footer__legal ul,
.c-site-footer__legal .hs-menu-wrapper > ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  list-style: none;
  padding: 1rem 0;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .c-site-footer__legal ul,
  .c-site-footer__legal .hs-menu-wrapper > ul {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 1140px) {
  .c-site-footer__legal ul,
  .c-site-footer__legal .hs-menu-wrapper > ul {
    display: flex;
    flex-wrap: wrap;
  }
}

.c-site-footer__legal ul li a,
.c-site-footer__legal .hs-menu-wrapper > ul li a {
  font-size: 0.875rem;
  padding: 0.5rem;
  display: block;
  color: #2e2d2b;
  text-decoration: none;
}

.c-site-footer__legal ul li a:hover,
.c-site-footer__legal .hs-menu-wrapper > ul li a:hover {
  color: #006a52;
}

/* ===========================
   Lower bar — green strip
   =========================== */

.c-site-footer__lower {
  background-color: #006a52;
  padding: 0.5rem 0;
  margin-top: 1rem;
}

.c-site-footer__lower p {
  font-size: 0.875rem;
  color: #ffffff;
  margin: 0;
}
