.novum-footer-cta,
.novum-site-footer {
  --footer-navy: #06366c;
  --footer-navy-dark: #04305f;
  --footer-blue: #006b9f;
  --footer-pink: #ed008c;
  --footer-pink-dark: #c90077;
  --footer-teal: #079da1;
  --footer-white: #fff;
  --footer-width: 1640px;
  font-family: "Roboto", Arial, sans-serif;
}

.novum-footer-shell {
  width: min(var(--footer-width), calc(100% - 70px));
  margin-right: auto;
  margin-left: auto;
}

.novum-footer-cta {
  position: relative;
  overflow: hidden;
  border-top: 5px solid var(--footer-pink);
  color: var(--footer-white);
  background: linear-gradient(112deg, var(--footer-navy-dark), var(--footer-blue));
}

.novum-footer-cta::after {
  position: absolute;
  top: -145px;
  right: -95px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.novum-footer-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  min-height: 225px;
  padding: 46px 75px;
}

.novum-footer-cta__copy {
  max-width: 820px;
}

.novum-footer-cta .novum-footer-eyebrow {
  margin: 0 0 9px;
  padding: 0;
  color: var(--footer-pink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.novum-footer-cta h2 {
  margin: 0;
  color: var(--footer-white);
  font-size: clamp(31px, 3vw, 46px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
  text-transform: none;
}

.novum-footer-cta__copy > p:last-child {
  max-width: 690px;
  margin: 15px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
  line-height: 1.55;
}

.novum-footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.novum-footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 13px 25px;
  border: 2px solid transparent;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.novum-footer-button:hover,
.novum-footer-button:focus-visible {
  transform: translateY(-2px);
}

.novum-footer-button--primary,
.novum-footer-button--primary:hover,
.novum-footer-button--primary:focus-visible {
  border-color: var(--footer-pink);
  color: var(--footer-white);
  background: var(--footer-pink);
}

.novum-footer-button--primary:hover,
.novum-footer-button--primary:focus-visible {
  border-color: var(--footer-pink-dark);
  background: var(--footer-pink-dark);
}

.novum-footer-button--phone,
.novum-footer-button--phone:hover,
.novum-footer-button--phone:focus-visible {
  border-color: rgba(255, 255, 255, .75);
  color: var(--footer-white);
  background: rgba(255, 255, 255, .06);
}

.novum-footer-button--phone:hover,
.novum-footer-button--phone:focus-visible {
  border-color: var(--footer-white);
  background: rgba(255, 255, 255, .14);
}

.novum-footer-button svg {
  width: 21px;
  height: 21px;
  margin-right: 9px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.novum-site-footer {
  color: rgba(255, 255, 255, .78);
  background: #031f40;
}

.novum-site-footer h2,
.novum-site-footer p,
.novum-site-footer address {
  padding: 0;
  font-family: inherit;
}

.novum-footer-main {
  display: grid;
  grid-template-columns: minmax(300px, 1.45fr) minmax(175px, .82fr) minmax(175px, .75fr) minmax(220px, .9fr);
  gap: 60px;
  padding: 70px 0 58px;
}

.novum-footer-logo {
  display: inline-flex;
  max-width: 330px;
  padding: 13px 18px;
  background: var(--footer-white);
}

.novum-footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.novum-footer-brand__description {
  max-width: 430px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  line-height: 1.65;
}

.novum-site-footer h2 {
  margin: 0 0 22px;
  color: var(--footer-white);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

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

.novum-footer-nav li + li {
  margin-top: 12px;
}

.novum-footer-nav a,
.novum-footer-bottom a {
  color: rgba(255, 255, 255, .76);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  transition: color .2s ease;
}

.novum-footer-nav a:hover,
.novum-footer-nav a:focus-visible,
.novum-footer-bottom a:hover,
.novum-footer-bottom a:focus-visible {
  color: var(--footer-white);
}

.novum-footer-nav a::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--footer-pink);
  content: "";
  transform: translateY(-1px);
}

.novum-footer-contact__intro {
  margin: 0 0 15px;
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
  line-height: 1.55;
}

.novum-footer-contact__link,
.novum-footer-contact__email {
  display: block;
  width: fit-content;
  color: var(--footer-white);
  font-weight: 700;
  text-decoration: none;
}

.novum-footer-contact__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  font-size: 21px;
}

.novum-footer-contact__link svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.novum-footer-contact__email {
  margin-top: 17px;
  color: #7fd5d7;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.novum-footer-contact__link:hover,
.novum-footer-contact__link:focus-visible,
.novum-footer-contact__email:hover,
.novum-footer-contact__email:focus-visible {
  color: var(--footer-pink);
}

.novum-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.novum-footer-social a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: var(--footer-white);
  background: rgba(255, 255, 255, .06);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.novum-footer-social a:hover,
.novum-footer-social a:focus-visible {
  border-color: var(--footer-pink);
  background: var(--footer-pink);
  transform: translateY(-2px);
}

.novum-footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}

.novum-footer-social svg rect,
.novum-footer-social svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.novum-footer-social svg .novum-footer-social__play {
  fill: #031f40;
}

.novum-footer-social a:hover .novum-footer-social__play,
.novum-footer-social a:focus-visible .novum-footer-social__play {
  fill: var(--footer-pink);
}

.novum-footer-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, .13);
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.novum-footer-location {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(220px, 1fr) max-content;
  gap: 10px 24px;
  align-items: center;
  min-height: 135px;
  padding: 26px 30px 26px 34px;
  border: 1px solid rgba(255, 255, 255, .11);
  background: rgba(255, 255, 255, .045);
}

.novum-footer-location::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--footer-pink);
  content: "";
}

.novum-footer-location--rehabilitation::before {
  background: var(--footer-teal);
}

.novum-footer-location__type {
  grid-column: 1;
  margin: 0;
  color: #7fd5d7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.35;
  text-transform: uppercase;
  white-space: nowrap;
}

.novum-footer-location h2 {
  grid-column: 1;
  margin: -5px 0 0;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.novum-footer-location address {
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0;
  color: rgba(255, 255, 255, .74);
  font-size: 14px;
  font-style: normal;
  line-height: 1.65;
}

.novum-footer-location > a {
  grid-column: 3;
  grid-row: 1 / 3;
  color: var(--footer-white);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.novum-footer-location > a span {
  margin-left: 4px;
  color: var(--footer-pink);
  font-size: 18px;
}

.novum-footer-location--rehabilitation > a span {
  color: #7fd5d7;
}

.novum-footer-bottom {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 18px 0;
}

.novum-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
}

.novum-footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: flex-end;
}

.novum-footer-bottom a {
  font-size: 13px;
}

.novum-top-button {
  border-color: #ed008c !important;
  background: #ed008c !important;
}

@media (max-width: 1599px) {
  .novum-footer-locations {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1199px) {
  .novum-footer-cta__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .novum-footer-cta__actions {
    justify-content: flex-start;
  }

  .novum-footer-main {
    grid-template-columns: minmax(280px, 1.35fr) repeat(2, minmax(170px, .8fr));
  }

  .novum-footer-contact {
    grid-column: 2 / 4;
  }

}

@media (max-width: 767px) {
  .novum-footer-shell {
    width: 100%;
  }

  .novum-footer-cta__inner {
    min-height: 0;
    padding: 46px 28px;
  }

  .novum-footer-cta::after {
    top: -160px;
    right: -230px;
  }

  .novum-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 28px;
    padding: 56px 28px 48px;
  }

  .novum-footer-brand,
  .novum-footer-contact {
    grid-column: 1 / 3;
  }

  .novum-footer-locations {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .novum-footer-location {
    grid-template-columns: 1fr;
  }

  .novum-footer-location__type,
  .novum-footer-location h2,
  .novum-footer-location address,
  .novum-footer-location > a {
    grid-column: 1;
    grid-row: auto;
  }

  .novum-footer-location__type,
  .novum-footer-location h2 {
    white-space: normal;
  }

  .novum-footer-bottom {
    align-items: flex-start;
    padding: 25px 28px;
  }
}

@media (max-width: 520px) {
  .novum-footer-cta__actions,
  .novum-footer-button {
    width: 100%;
  }

  .novum-footer-main {
    grid-template-columns: 1fr;
  }

  .novum-footer-brand,
  .novum-footer-contact {
    grid-column: 1;
  }

  .novum-footer-logo {
    max-width: 290px;
  }

  .novum-footer-bottom {
    flex-direction: column;
  }

  .novum-footer-bottom nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .novum-footer-button,
  .novum-footer-social a {
    transition: none;
  }
}
