.rn-footer {
  display: block;
  margin-top: 0;
  color: #e9edf3 !important;
  background: #17191f !important;
  font-family: inherit;
}
.rn-subscribe-alert {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  max-width: 360px;
  padding: 16px 18px;
  border-radius: 14px;
  color: #0d1424;
  background: #dff1e5;
  box-shadow: 0 16px 40px rgba(13, 20, 36, .18);
  font-weight: 800;
}

.rn-subscribe-alert--error {
  background: #fde6e3;
}
.rn-footer * {
  box-sizing: border-box;
}
.rn-footer a {
  color: inherit;
  text-decoration: none;
}

.rn-footer a:hover {
  color: #8ecfa3;
}

.rn-footer h2,
.rn-footer h3,
.rn-footer p,
.rn-footer a,
.rn-footer span {
  color: inherit;
}

.rn-footer__cta,
.rn-footer__main,
.rn-footer__subscribe,
.rn-footer__bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  background: transparent !important;
  border-radius: 0 !important;
}
.rn-footer__cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.rn-footer__eyebrow {
  margin: 0 0 10px;
  color: #8ecfa3;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rn-footer__cta h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3.5vw, 54px);
  line-height: 1.05;
}

.rn-footer__cta p,
.rn-footer__brand p,
.rn-footer__subscribe p {
  max-width: 720px;
  margin: 14px 0 0;
  color: #aeb7c7;
  line-height: 1.6;
}

.rn-footer__button,
.rn-footer__form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #0d1424;
  background: #8ecfa3;
  font-weight: 900;
  cursor: pointer;
}

.rn-footer__button:hover,
.rn-footer__form button:hover {
  color: #0d1424;
  background: #a8dfb7;
}

.rn-footer__main {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  padding-top: 38px;
  padding-bottom: 34px;
}

.rn-footer__brand img {
  display: block;
  max-width: 180px;
  height: auto;
}

.rn-footer__contacts {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  color: #d8dee9;
  font-weight: 700;
}

.rn-footer__contacts span {
  color: #aeb7c7;
}

.rn-footer__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.rn-footer__nav h3,
.rn-footer__subscribe h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
}

.rn-footer__nav ul,
.rn-footer__social {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rn-footer__nav a {
  color: #aeb7c7;
  line-height: 1.35;
}

.rn-footer__subscribe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 24px;
  align-items: center;
  padding-top: 26px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.rn-footer__form {
  display: flex;
  gap: 10px;
}

.rn-footer__form input[type="email"] {
  min-width: 0;
  flex: 1;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  outline: none;
}

.rn-footer__form input[type="email"]::placeholder {
  color: #aeb7c7;
}

.rn-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 24px;
  color: #aeb7c7;
}

.rn-footer__bottom p {
  margin: 0;
}

.rn-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.rn-footer__social {
  display: flex !important;
  flex-direction: row !important;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rn-footer__social li {
  list-style: none;
}

.rn-footer__social a {
  display: grid;
  place-items: center;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px;
  min-height: 38px;
  border-radius: 50%;
  color: #fff !important;
  background: rgba(255, 255, 255, .09);
  font-size: 18px !important;
  line-height: 1;
}
.rn-footer__social i {
  font-size: 18px !important;
  line-height: 1;
}
.rn-footer__nav a,
.rn-footer__contacts a,
.rn-footer__contacts span,
.rn-footer__legal a {
  color: #aeb7c7 !important;
}

.rn-footer__nav a:hover,
.rn-footer__contacts a:hover,
.rn-footer__legal a:hover {
  color: #8ecfa3 !important;
}
.rn-footer__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.rn-footer__form input[type="email"] {
  color: #fff !important;
  background: rgba(255, 255, 255, .08) !important;
}

@media (max-width: 980px) {
  .rn-footer__cta,
  .rn-footer__main,
  .rn-footer__subscribe {
    grid-template-columns: 1fr;
  }

  .rn-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 560px) {
  .rn-footer__nav {
    grid-template-columns: 1fr;
  }

  .rn-footer__form {
    display: grid;
  }
}