.astral-footer {
  box-sizing: border-box;
  background: #181818;
  color: #f7f2e7;
  font-family: Arial, Helvetica, sans-serif;
  padding: 0 20px calc(44px + env(safe-area-inset-bottom));
}

.astral-footer--with-sticky {
  padding-bottom: calc(108px + env(safe-area-inset-bottom));
}

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

.astral-footer__inner {
  width: min(100%, 430px);
  margin: 0 auto;
}

.astral-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 38px 0 30px;
  text-align: center;
}

.astral-footer__logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.astral-footer__logo {
  display: block;
  width: 184px;
  height: auto;
}

.astral-footer__tagline {
  max-width: 320px;
  margin: 15px 0 0;
  color: #c9c5bc;
  font-size: 13px;
  line-height: 1.65;
}

.astral-footer__reading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 25px 0;
  border-top: 1px solid #393936;
  border-bottom: 1px solid #393936;
}

.astral-footer__reading-title {
  margin: 0 0 7px;
  color: #f7f2e7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.3;
}

.astral-footer__reading-sub {
  margin: 0;
  color: #aaa69e;
  font-size: 12px;
  line-height: 1.6;
}

.astral-footer__cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid #b08d3e;
  border-radius: 999px;
  background: #b08d3e;
  color: #181818 !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background-color .2s ease, border-color .2s ease;
}

.astral-footer__cta:hover {
  border-color: #f7f2e7;
  background: #f7f2e7;
}

.astral-footer__menu {
  padding: 27px 0 25px;
  border-bottom: 1px solid #393936;
}

.astral-footer__menu-title {
  margin: 0 0 14px;
  color: #f7f2e7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.astral-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
}

.astral-footer__links a {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 7px 0;
  color: #c9c5bc !important;
  font-size: 12px;
  line-height: 1.45;
  text-decoration: none !important;
}

.astral-footer__links a:hover,
.astral-footer__email:hover {
  color: #f7f2e7 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

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

.astral-footer__legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding-top: 26px;
  color: #aaa69e;
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

.astral-footer__legal strong {
  color: #f7f2e7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}

.astral-footer__contact {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 15px 0 8px;
  padding: 20px 0;
  border-top: 1px solid #393936;
  border-bottom: 1px solid #393936;
}

.astral-footer__address,
.astral-footer__service {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  color: #aaa69e;
  font-style: normal;
}

.astral-footer__service {
  border-left: 1px solid #393936;
  padding-left: 24px;
}

.astral-footer__contact-label {
  margin-bottom: 7px;
  color: #f7f2e7;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.astral-footer__email {
  display: inline-flex;
  min-height: 38px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  color: #f7f2e7 !important;
  overflow-wrap: anywhere;
  text-decoration: underline !important;
  text-decoration-color: #68645a !important;
  text-underline-offset: 4px;
}

.astral-footer__copyright {
  margin-top: 2px;
}

@media (min-width: 390px) {
  .astral-footer__reading {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 350px) {
  .astral-footer__links,
  .astral-footer__contact {
    grid-template-columns: 1fr;
  }

  .astral-footer__service {
    border-top: 1px solid #393936;
    border-left: 0;
    padding: 18px 0 0;
  }
}
