/* ========== Page shell ========== */

.site-content {
  min-height: calc(100vh - var(--athena-header-height) - 80px);
}

.athena-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  color: var(--athena-text);
}

.athena-page__title {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: var(--fs-head-30);
  font-weight: var(--fw-bold);
  line-height: var(--lh-head-30);
  color: var(--athena-text);
}

.athena-page__content {
  color: var(--athena-text-muted);
}

/* ========== Site footer ========== */

.athena-footer {
  background: var(--c-white);
  color: var(--c-navy);
  border-top: 2px solid var(--c-gold);
  padding: 2.75rem 1.25rem 1.35rem;
}

html.athena-dark .athena-footer {
  background: var(--c-ink);
  color: var(--c-cream);
  border-top-color: var(--bd-gold-30);
}

.athena-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.athena-footer a:hover {
  color: var(--c-gold);
}

.athena-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.athena-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 4rem;
  padding-bottom: 2.5rem;
}

.athena-footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
}

.athena-footer__logo-img {
  display: block;
  height: 2.5rem;
  width: auto;
  max-width: 11.5rem;
  object-fit: contain;
}

html.athena-dark .athena-footer__logo-img {
  filter: brightness(0) invert(1);
}

.athena-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.athena-footer__contact {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--fs-body-14);
  line-height: var(--lh-body-14);
  color: var(--c-navy);
}

html.athena-dark .athena-footer__contact {
  color: var(--tx-cream-75);
}

.athena-footer__contact svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--c-gold);
}

.athena-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.athena-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--c-navy);
  color: var(--c-navy);
  background: transparent;
}

html.athena-dark .athena-footer__social a {
  border-color: var(--c-white);
  color: var(--c-white);
}

.athena-footer__social a:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
  background: var(--bg-gold-10);
}

.athena-footer__heading {
  margin: 0 0 1.15rem;
  font-family: var(--font-heading);
  font-size: var(--fs-head-16);
  font-weight: var(--fw-bold);
  line-height: var(--lh-head-16);
  color: var(--c-navy);
}

html.athena-dark .athena-footer__heading {
  color: var(--c-white);
}

.athena-footer__heading::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-top: 0.5rem;
  border-radius: 2px;
  background: var(--c-gold);
}

.athena-footer__links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.athena-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-body-14);
  line-height: var(--lh-body-14);
  color: var(--c-navy);
}

html.athena-dark .athena-footer__links a {
  color: var(--tx-cream-75);
}

.athena-footer__chev {
  flex-shrink: 0;
  color: var(--c-gold);
}

.athena-footer__locations ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.athena-footer__locations li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.9rem 0;
  font-family: var(--font-body);
  font-size: var(--fs-body-14);
  line-height: var(--lh-body-14);
  color: var(--c-navy);
}

html.athena-dark .athena-footer__locations li {
  color: var(--tx-cream-75);
}

.athena-footer__locations li + li {
  border-top: 1px solid var(--bd-slate-30);
}

html.athena-dark .athena-footer__locations li + li {
  border-top-color: var(--bd-white-10);
}

.athena-footer__locations li:first-child {
  padding-top: 0;
}

.athena-footer__locations svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--c-gold);
}

.athena-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0;
  padding: 1.05rem 0;
  border-top: 1px solid var(--bd-slate-30);
  border-bottom: 1px solid var(--bd-slate-30);
}

html.athena-dark .athena-footer__legal {
  border-top-color: var(--bd-white-10);
  border-bottom-color: var(--bd-white-10);
}

.athena-footer__legal a {
  font-family: var(--font-body);
  font-size: var(--fs-body-12);
  line-height: var(--lh-body-12);
  color: var(--c-taupe);
}

html.athena-dark .athena-footer__legal a {
  color: var(--tx-cream-70);
}

.athena-footer__legal a + a::before {
  content: "|";
  display: inline-block;
  margin: 0 0.75rem;
  color: var(--bd-slate-60);
  font-weight: var(--fw-regular);
}

html.athena-dark .athena-footer__legal a + a::before {
  color: var(--tx-cream-55);
}

.athena-footer__copy {
  margin: 0;
  padding: 1.05rem 0 0.15rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--fs-body-12);
  line-height: var(--lh-body-12);
  color: var(--c-taupe);
}

html.athena-dark .athena-footer__copy {
  color: var(--tx-cream-70);
}

@media (min-width: 640px) {
  .athena-footer {
    padding: 3.5rem 2rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .athena-footer__top {
    grid-template-columns: 1.15fr 0.85fr 1.15fr;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .athena-footer__inner {
    padding: 0 2rem;
  }
}

@media (min-width: 1400px) {
  .athena-footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ========== Global scroll nav ========== */

.scroll-nav {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(1.5rem);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s ease;
}

.scroll-nav--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.scroll-nav__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  background: color-mix(in srgb, var(--card) 90%, transparent);
  color: var(--muted-foreground);
  box-shadow: var(--athena-shadow-card);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.scroll-nav__btn:hover,
.scroll-nav__btn:focus-visible {
  color: var(--secondary);
  border-color: color-mix(in srgb, var(--secondary) 30%, transparent);
}

.scroll-nav__btn:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.scroll-nav__btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Keep the WhatsApp pill in the corner; lift these above it on the homepage. */
body.home .scroll-nav {
  bottom: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-nav {
    transform: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
  }
}
