/* Shared slim site footer — ElyExploreWorld */
.site-footer {
  --footer-bg: #2f4639;
  --footer-ink: #fff9ed;
  --footer-muted: #cbd4c7;
  --footer-accent: #e6b79b;
  --footer-line: rgb(255 249 237 / .20);
  color: var(--footer-ink);
  background: var(--footer-bg);
  border-top: 5px solid #efe3cf;
}

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

.site-footer a:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 4px;
}

.site-footer-shell {
  width: min(calc(100% - 64px), 1440px);
  min-height: 108px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(210px, .8fr) minmax(0, 1.4fr) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  padding: 22px 0 18px;
}

.site-footer-brand {
  display: inline-flex;
  width: fit-content;
  flex-direction: column;
  line-height: 1;
}

.site-footer-brand strong {
  font: 500 24px/1 var(--font-display, "Cormorant Garamond", Georgia, serif);
  letter-spacing: -.035em;
}

.site-footer-brand span {
  margin-top: 6px;
  color: var(--footer-accent);
  font: 600 8px/1 var(--font-body, "Plus Jakarta Sans", Arial, sans-serif);
  letter-spacing: .24em;
  text-transform: uppercase;
}

.site-footer-legal,
.site-footer-contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-footer-legal {
  justify-content: center;
}

.site-footer-contact {
  justify-content: flex-end;
  margin: 0;
  font-style: normal;
}

.site-footer-legal > *,
.site-footer-contact a,
.site-footer-meta {
  color: var(--footer-muted);
  font: 500 10px/1.4 var(--font-body, "Plus Jakarta Sans", Arial, sans-serif);
  letter-spacing: .08em;
}

.site-footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.site-footer-contact svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: var(--footer-accent);
}

.site-footer-legal > *,
.site-footer-contact a {
  position: relative;
  padding-block: 8px;
}

.site-footer-legal a::after,
.site-footer-contact a::after {
  position: absolute;
  inset: auto 0 3px;
  height: 1px;
  content: "";
  background: var(--footer-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-footer-legal a:hover::after,
.site-footer-contact a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-footer-meta {
  width: min(calc(100% - 64px), 1440px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 11px 0 13px;
  border-top: 1px solid var(--footer-line);
  font-size: 9px;
  text-transform: uppercase;
}

.site-footer-meta p {
  margin: 0;
}

.site-footer-meta a {
  color: var(--footer-muted);
}

.site-footer-meta a:hover,
.site-footer-contact a:hover,
.site-footer-legal a:hover {
  color: var(--footer-ink);
}

@media (max-width: 900px) {
  .site-footer-shell {
    width: min(calc(100% - 40px), 1440px);
    grid-template-columns: 1fr auto;
    gap: 18px 28px;
    padding: 22px 0 17px;
  }

  .site-footer-legal {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .site-footer-contact {
    justify-content: flex-end;
  }

  .site-footer-meta {
    width: min(calc(100% - 40px), 1440px);
  }
}

@media (max-width: 560px) {
  .site-footer-shell {
    width: min(calc(100% - 32px), 1440px);
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 20px 0 16px;
  }

  .site-footer-brand strong {
    font-size: 22px;
  }

  .site-footer-contact,
  .site-footer-legal {
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-start;
    gap: 3px 18px;
  }

  .site-footer-meta {
    width: min(calc(100% - 32px), 1440px);
    padding: 10px 0 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer *::after { transition: none !important; }
}

.site-footer-legal [aria-disabled="true"] { opacity: .65; cursor: default; }
