html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.astrot-site-footer {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: auto;
  background:
    radial-gradient(circle at top left, rgba(192, 122, 77, 0.14), transparent 24%),
    linear-gradient(180deg, #303d35 0%, #43534a 100%);
  color: #f4f0e7;
  border-top: 1px solid rgba(255, 244, 230, 0.08);
}

.astrot-site-footer__container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 32px 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.astrot-site-footer__brand {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
}

.astrot-site-footer__brand-main {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.astrot-site-footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(16, 39, 55, 0.12);
  overflow: hidden;
  flex: 0 0 auto;
  box-shadow: 0 8px 20px rgba(7, 21, 31, 0.08);
}

.astrot-site-footer__logo img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
}

.astrot-site-footer__brand-copy {
  min-width: 0;
}

.astrot-site-footer__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d7a073;
}

.astrot-site-footer__description {
  margin: 0;
  max-width: 60ch;
  color: #eee7db;
  line-height: 1.75;
  font-size: 14px;
  font-weight: 500;
}

.astrot-site-footer__contact {
  display: grid;
  gap: 10px;
  min-width: 320px;
}

.astrot-site-footer__contact-item {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: #f4f0e7;
  text-decoration: none;
  line-height: 1.6;
  font-size: 14px;
  font-weight: 500;
}

.astrot-site-footer__contact-item:hover {
  color: #ffffff;
  text-decoration: none;
}

.astrot-site-footer__contact-item .fa {
  color: #d7a073;
  width: 14px;
  margin-top: 3px;
  flex: 0 0 14px;
}

.astrot-site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.astrot-site-footer__nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #f8f3eb;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.4;
}

.astrot-site-footer__nav a:hover {
  color: #e2b58d;
  text-decoration: none;
}

.astrot-site-footer__nav span[aria-hidden="true"] {
  color: rgba(255, 244, 230, 0.45);
}

.astrot-site-footer__nav--primary {
  justify-content: flex-start;
  font-size: 15px;
  flex: 1 1 auto;
  min-width: 0;
}

.astrot-site-footer__nav--primary .fa {
  color: #d7a073;
  font-size: 13px;
  line-height: 1;
}

.astrot-site-footer__nav--legal a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #efe8dd;
  font-size: 14px;
  font-weight: 600;
}

.astrot-site-footer__nav--legal .fa {
  color: #caa080;
}

.astrot-site-footer__nav--legal {
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
}

.astrot-site-footer__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 244, 230, 0.22);
}

.astrot-site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 244, 230, 0.22);
  color: #d9cec0;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.astrot-site-footer__meta a {
  color: #e2b58d;
  text-decoration: none;
  font-weight: 700;
}

.astrot-site-footer__meta a:hover {
  color: #f0ccb0;
}

.ui-to-top {
  width: 30px;
  height: 30px;
  line-height: 30px;
  right: 14px;
  bottom: 14px;
}

.ui-to-top::before {
  font-size: 18px;
  line-height: 30px;
}

@media (max-width: 991px) {
  .astrot-site-footer__brand {
    flex-direction: column;
  }

  .astrot-site-footer__contact {
    min-width: 0;
    width: 100%;
  }

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

  .astrot-site-footer__nav--legal {
    justify-content: flex-start;
  }

  .astrot-site-footer__meta {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .astrot-site-footer__container {
    padding: 24px 14px 22px;
  }

  .astrot-site-footer__brand-main {
    align-items: flex-start;
  }

  .astrot-site-footer__logo {
    width: 66px;
    height: 66px;
    border-radius: 16px;
  }

  .astrot-site-footer__nav {
    justify-content: flex-start;
  }
}
