:root {
  --juno-footer-black: #070707;
  --juno-footer-ink: #131313;
  --juno-footer-charcoal: #25262a;
  --juno-footer-line: rgba(255, 255, 255, 0.16);
  --juno-footer-muted: #b9b9b9;
  --juno-footer-white: #f4f1ec;
  --juno-footer-red: #8a0b0e;
  --juno-footer-red-bright: #b91519;
  --juno-footer-ease: 180ms ease;
}

.juno-footer,
.juno-footer *,
.juno-footer *::before,
.juno-footer *::after {
  box-sizing: border-box;
}

.juno-footer {
  width: 100%;
  color: var(--juno-footer-white);
  background: var(--juno-footer-black);
  font-family: inherit;
  line-height: 1.45;
}

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

.juno-footer__red-rule {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--juno-footer-red) 0%, #c2181c 52%, var(--juno-footer-red) 100%);
}

.juno-footer__main {
  width: 100%;
  padding: clamp(46px, 5.2vw, 78px) clamp(22px, 5vw, 76px) clamp(42px, 4.7vw, 70px);
  background:
    radial-gradient(circle at 82% 0%, rgba(138, 11, 14, 0.17), transparent 34%),
    linear-gradient(180deg, #0c0c0d 0%, var(--juno-footer-black) 100%);
}

.juno-footer__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.14fr) minmax(150px, 0.72fr) minmax(175px, 0.84fr) minmax(225px, 1.04fr);
  gap: clamp(28px, 4vw, 72px);
  width: min(100%, 1440px);
  margin: 0 auto;
}

.juno-footer__brand-block,
.juno-footer__nav-block,
.juno-footer__references,
.juno-footer__cta-block {
  min-width: 0;
}

.juno-footer__brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 29px;
}

.juno-footer__brand img {
  display: block;
  width: min(209px, 100%);
  height: auto;
}

.juno-footer__eyebrow {
  margin: 0 0 16px;
  color: var(--juno-footer-white);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.095em;
  line-height: 1.2;
  text-transform: uppercase;
}

.juno-footer__address {
  display: grid;
  gap: 4px;
  margin: 0 0 18px;
  color: var(--juno-footer-muted);
  font-size: 15px;
  font-style: normal;
}

.juno-footer__address strong {
  margin-top: 3px;
  color: var(--juno-footer-white);
  font-weight: 650;
}

.juno-footer__contact-row {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: 8px;
  color: var(--juno-footer-muted);
  font-size: 14px;
  transition: color var(--juno-footer-ease);
}

.juno-footer__contact-row svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: #d2d2d2;
}

.juno-footer__contact-row:hover,
.juno-footer__contact-row:focus-visible {
  color: var(--juno-footer-white);
  outline: 0;
}

.juno-footer__link-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.juno-footer__link-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  color: var(--juno-footer-muted);
  font-size: 15px;
  transition: color var(--juno-footer-ease), transform var(--juno-footer-ease);
}

.juno-footer__link-list a::before {
  width: 0;
  height: 1px;
  margin-right: 0;
  content: "";
  background: var(--juno-footer-red-bright);
  transition: width var(--juno-footer-ease), margin-right var(--juno-footer-ease);
}

.juno-footer__link-list a:hover,
.juno-footer__link-list a:focus-visible {
  color: var(--juno-footer-white);
  outline: 0;
  transform: translateX(2px);
}

.juno-footer__link-list a:hover::before,
.juno-footer__link-list a:focus-visible::before {
  width: 12px;
  margin-right: 7px;
}

.juno-footer__references {
  padding-left: clamp(0px, 1.6vw, 24px);
  border-left: 1px solid var(--juno-footer-line);
}

.juno-footer__references-copy {
  max-width: 270px;
  margin: 0 0 19px;
  color: var(--juno-footer-muted);
  font-size: 14px;
  line-height: 1.6;
}

.juno-footer__text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 6px;
  color: var(--juno-footer-white);
  border-bottom: 1px solid var(--juno-footer-red-bright);
  font-size: 14px;
  font-weight: 700;
  transition: color var(--juno-footer-ease), border-color var(--juno-footer-ease), gap var(--juno-footer-ease);
}

.juno-footer__text-link svg {
  width: 16px;
  height: 16px;
}

.juno-footer__text-link:hover,
.juno-footer__text-link:focus-visible {
  gap: 13px;
  color: #fff;
  border-color: #fff;
  outline: 0;
}

.juno-footer__cta-block {
  position: relative;
  padding: clamp(21px, 2.4vw, 31px);
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1b 0%, #101011 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.juno-footer__cta-block::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 64px;
  height: 64px;
  content: "";
  background: var(--juno-footer-red);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.juno-footer__cta-block h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  color: var(--juno-footer-white);
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.juno-footer__cta-block > p:not(.juno-footer__eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 255px;
  margin: 0 0 20px;
  color: var(--juno-footer-muted);
  font-size: 14px;
  line-height: 1.55;
}

.juno-footer__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.juno-footer__cta,
.juno-footer__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 41px;
  padding: 0 16px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: background-color var(--juno-footer-ease), color var(--juno-footer-ease), border-color var(--juno-footer-ease), transform var(--juno-footer-ease);
}

.juno-footer__cta {
  color: #fff;
  background: var(--juno-footer-red);
}

.juno-footer__cta:hover,
.juno-footer__cta:focus-visible {
  color: #fff;
  background: var(--juno-footer-red-bright);
  outline: 0;
  transform: translateY(-1px);
}

.juno-footer__secondary {
  color: var(--juno-footer-white);
  border-color: rgba(255, 255, 255, 0.36);
}

.juno-footer__secondary:hover,
.juno-footer__secondary:focus-visible {
  color: #fff;
  border-color: #fff;
  outline: 0;
  transform: translateY(-1px);
}

.juno-footer__bottom {
  background: #24252a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.juno-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px 30px;
  width: min(100%, 1440px);
  min-height: 68px;
  margin: 0 auto;
  padding: 15px clamp(22px, 5vw, 76px);
}

.juno-footer__copyright,
.juno-footer__credit {
  margin: 0;
  color: #d2d2d2;
  font-size: 12px;
}

.juno-footer__credit {
  text-align: right;
}

.juno-footer__credit span {
  color: var(--juno-footer-white);
  font-weight: 650;
}

.juno-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px 17px;
}

.juno-footer__legal a {
  color: #d2d2d2;
  font-size: 12px;
  transition: color var(--juno-footer-ease);
}

.juno-footer__legal a:hover,
.juno-footer__legal a:focus-visible {
  color: #fff;
  outline: 0;
}

.juno-footer a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 1080px) {
  .juno-footer__grid {
    grid-template-columns: minmax(220px, 1.2fr) minmax(190px, 0.8fr);
    gap: 42px clamp(32px, 8vw, 76px);
  }

  .juno-footer__references {
    padding-left: 0;
    border-left: 0;
  }

  .juno-footer__cta-block {
    max-width: 380px;
  }

  .juno-footer__bottom-inner {
    flex-wrap: wrap;
  }

  .juno-footer__legal {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .juno-footer__main {
    padding: 39px 22px 36px;
  }

  .juno-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 33px;
  }

  .juno-footer__brand {
    margin-bottom: 25px;
  }

  .juno-footer__references {
    padding-top: 29px;
    border-top: 1px solid var(--juno-footer-line);
  }

  .juno-footer__cta-block {
    max-width: none;
  }

  .juno-footer__bottom-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 22px;
  }

  .juno-footer__copyright,
  .juno-footer__credit {
    text-align: left;
  }

  .juno-footer__legal {
    gap: 8px 15px;
    order: initial;
    justify-content: flex-start;
  }
}

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