/* Soul Therapy Dogs · Modular footer · Astra */

body {
  --std-footer-night: #061827;
  --std-footer-navy: #102a46;
  --std-footer-red: #c93b3d;
  --std-footer-rose: #eda7a8;
  --std-footer-paper: #f5f2ec;
  --std-footer-muted: #b9c7d0;
}

body .site-above-footer-wrap {
  border-top: 4px solid var(--std-footer-red);
  border-bottom: 0;
  background: var(--std-footer-rose);
}

body .site-primary-footer-wrap {
  border-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  background: var(--std-footer-night);
}

body .site-below-footer-wrap {
  border-top: 0;
  background: var(--std-footer-navy);
}

.std-footer,
.std-footer * {
  box-sizing: border-box;
}

.std-footer {
  width: 100%;
  margin: 0;
  color: var(--std-footer-paper);
  font-family: "Montserrat", Arial, sans-serif;
}

.std-footer a {
  color: inherit;
  text-decoration: none;
}

.std-footer a:focus-visible {
  outline: 3px solid var(--std-footer-rose);
  outline-offset: 4px;
}

.std-footer__visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.std-footer__eyebrow,
.std-footer__title {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.std-footer__title {
  color: var(--std-footer-rose);
}

/* Above-footer CTA */
.std-footer-cta {
  max-width: 1240px;
  min-height: 210px;
  margin-inline: auto;
  padding: 42px clamp(22px, 4vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  color: var(--std-footer-night);
}

.std-footer-cta__copy {
  max-width: 850px;
}

.std-footer-cta .std-footer__eyebrow {
  color: #7c2225;
}

.std-footer-cta h2 {
  max-width: 850px;
  margin: 0;
  color: var(--std-footer-night);
  font-size: clamp(32px, 4.4vw, 62px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
}

.std-footer__button {
  min-height: 52px;
  padding: 14px 21px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 2px solid var(--std-footer-night);
  border-radius: 999px;
  color: #fff !important;
  background: var(--std-footer-night);
  font-size: 12px;
  font-weight: 800;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.std-footer__button:hover {
  color: var(--std-footer-night) !important;
  background: transparent;
  transform: translateY(-2px);
}

.std-footer__button:focus-visible {
  outline-color: var(--std-footer-night);
}

/* Primary footer columns */
.std-footer-brand,
.std-footer-nav,
.std-footer-contact {
  padding-block: clamp(42px, 5vw, 70px);
}

.std-footer-brand__logo {
  width: min(190px, 68%);
  min-height: 44px;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
}

.std-footer-brand__logo img {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
}

.std-footer-brand > p {
  max-width: 480px;
  margin: 0 0 20px;
  color: var(--std-footer-muted);
  font-size: 14px;
  line-height: 1.8;
}

.std-footer-brand__location {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.std-footer-brand__location::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--std-footer-red);
}

.std-footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.std-footer-nav li + li {
  margin-top: 7px;
}

.std-footer-nav a {
  min-height: 44px;
  padding-block: 9px;
  display: inline-flex;
  align-items: center;
  color: #e7eef2;
  font-size: 14px;
  font-weight: 600;
  transition: color .2s ease, transform .2s ease;
}

.std-footer-nav a:hover {
  color: var(--std-footer-rose);
  transform: translateX(4px);
}

.std-footer-contact address {
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--std-footer-muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.7;
}

.std-footer-contact address a,
.std-footer-contact address span {
  min-height: 38px;
  padding-block: 7px;
  display: inline-flex;
  align-items: center;
  overflow-wrap: anywhere;
}

.std-footer-contact address a:hover {
  color: var(--std-footer-rose);
}

.std-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.std-footer-social a {
  min-height: 44px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.std-footer-social a:hover {
  border-color: var(--std-footer-rose);
  background: rgba(237, 167, 168, .12);
  transform: translateY(-2px);
}

/* Below-footer legal row */
.std-footer-legal {
  min-height: 76px;
  padding-block: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 36px;
  color: #c4d0d8;
  font-size: 11px;
  line-height: 1.6;
}

.std-footer-legal p {
  margin: 0;
}

.std-footer-legal a {
  padding-block: 8px;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--std-footer-red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.std-footer-legal a:hover {
  color: var(--std-footer-rose);
}

@media (max-width: 920px) {
  .std-footer-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .std-footer__button {
    align-self: flex-start;
  }
}

@media (max-width: 720px) {
  .std-footer-cta {
    min-height: 0;
    padding: 48px 20px;
    gap: 28px;
  }

  .std-footer-cta h2 {
    font-size: 38px;
    line-height: 1.04;
  }

  .std-footer__button {
    width: 100%;
  }

  .std-footer-brand,
  .std-footer-nav,
  .std-footer-contact {
    padding-block: 34px;
  }

  .std-footer-brand__logo {
    width: 165px;
  }

  .std-footer-legal {
    min-height: 0;
    padding-block: 25px;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .std-footer a {
    scroll-behavior: auto;
    transition: none;
  }

  .std-footer__button:hover,
  .std-footer-nav a:hover,
  .std-footer-social a:hover {
    transform: none;
  }
}
