/* Dental Source Now shared footer */
:root {
  --footer-navy: #061725;
  --footer-navy-light: #0b2d45;
  --footer-blue: #0078b8;
  --footer-cyan: #00c8ff;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background:
    radial-gradient(circle at 88% 0%, rgba(0, 200, 255, .14), transparent 31rem),
    linear-gradient(145deg, var(--footer-navy) 0%, var(--footer-navy-light) 62%, #071c2d 100%);
  color: rgba(255, 255, 255, .82);
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--footer-blue) 0%, var(--footer-cyan) 68%, var(--footer-blue) 100%);
}

.site-footer::after {
  content: '';
  position: absolute;
  top: -11rem;
  right: -8rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1480px);
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(17rem, 1.35fr) minmax(9rem, .62fr) minmax(13rem, .9fr) minmax(17rem, 1.08fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
  padding-bottom: 3.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.site-footer__col {
  min-width: 0;
}

.site-footer__col--brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer__brand-link {
  display: inline-flex;
  width: min(100%, 17.5rem);
  min-height: 5.5rem;
  padding: .9rem 1.15rem;
  align-items: center;
  border: 1px solid rgba(0, 200, 255, .3);
  border-radius: .65rem;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24), 0 0 0 1px rgba(255, 255, 255, .06);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.site-footer__brand-link:hover {
  border-color: rgba(0, 200, 255, .7);
  box-shadow: 0 20px 46px rgba(0, 0, 0, .28), 0 0 0 3px rgba(0, 200, 255, .08);
  transform: translateY(-2px);
}

.site-footer__brand-link:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(255, 199, 44, .75);
  outline-offset: 3px;
}

.site-footer__brand-link::after {
  content: none;
}

.site-footer__logo {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer__eyebrow {
  display: flex;
  margin: 1.4rem 0 .65rem;
  align-items: center;
  gap: .65rem;
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-footer__eyebrow span {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--footer-cyan);
  box-shadow: 0 0 0 4px rgba(0, 200, 255, .1);
}

.site-footer__brand-copy {
  max-width: 20rem;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: .94rem;
  line-height: 1.65;
}

.site-footer__title {
  margin: .15rem 0 1.3rem;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-footer__title::after {
  content: '';
  display: block;
  width: 2.25rem;
  height: 2px;
  margin-top: .7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--footer-cyan), rgba(0, 200, 255, .12));
}

.site-footer__list {
  display: grid;
  gap: .78rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list li {
  line-height: 1.4;
}

.site-footer__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .76);
  font-size: .94rem;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.site-footer__list a::before {
  content: '';
  width: 0;
  height: 1px;
  margin-right: 0;
  background: var(--footer-cyan);
  transition: width .18s ease, margin-right .18s ease;
}

.site-footer__list a:hover {
  color: #fff;
  transform: translateX(2px);
}

.site-footer__list a:hover::before {
  width: .7rem;
  margin-right: .45rem;
}

.site-footer__support-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .9rem .85rem;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: .85rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
  box-shadow: 0 20px 44px rgba(0, 0, 0, .15);
  backdrop-filter: blur(6px);
}

.site-footer__support-card .site-footer__title {
  margin-bottom: .65rem;
}

.site-footer__support-card .site-footer__title::after {
  display: none;
}

.site-footer__support-card p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
  line-height: 1.55;
}

.site-footer__support-icon {
  display: inline-grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 1px solid rgba(0, 200, 255, .26);
  border-radius: 50%;
  background: rgba(0, 120, 184, .22);
  color: var(--footer-cyan);
}

.site-footer__support-link {
  display: inline-flex;
  grid-column: 1 / -1;
  min-height: 2.85rem;
  padding: 0 1rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: .4rem;
  background: linear-gradient(135deg, var(--footer-blue), #005f8f);
  box-shadow: 0 8px 20px rgba(0, 120, 184, .2);
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.site-footer__support-link:hover {
  background: #005f8f;
  box-shadow: 0 10px 24px rgba(0, 120, 184, .28);
  color: #fff;
  transform: translateY(-1px);
}

.site-footer__support-link i {
  transition: transform .18s ease;
}

.site-footer__support-link:hover i {
  transform: translateX(3px);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  padding-top: 1.5rem;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, .56);
  font-size: .82rem;
}

.site-footer__copyright,
.site-footer__credits {
  margin: 0;
}

.site-footer__credits a {
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  text-underline-offset: 3px;
}

.site-footer__credits a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--footer-cyan);
}

@media (max-width: 1100px) {
  .site-footer__grid {
    grid-template-columns: minmax(16rem, 1.2fr) repeat(2, minmax(10rem, .75fr));
  }

  .site-footer__col--support {
    grid-column: 1 / -1;
  }

  .site-footer__support-card {
    grid-template-columns: auto minmax(0, 1fr) minmax(12rem, .55fr);
    align-items: center;
  }

  .site-footer__support-link {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .site-footer {
    padding: 3.5rem 0 1.75rem;
  }

  .site-footer__inner {
    width: min(calc(100% - 36px), 42rem);
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 2rem;
    padding-bottom: 2.5rem;
  }

  .site-footer__col--brand,
  .site-footer__col--support {
    grid-column: 1 / -1;
  }

  .site-footer__support-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .site-footer__support-link {
    grid-column: 1 / -1;
  }
}

@media (max-width: 500px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__col--brand,
  .site-footer__col--support {
    grid-column: auto;
  }

  .site-footer__brand-link {
    width: min(100%, 16rem);
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer *,
  .site-footer *::before,
  .site-footer *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
