/* Site footer — premium / professional: calm typography, clear zones */
.site-footer {
  --f-bg: #0b0b0d;
  --f-bg-elevated: #101014;
  --f-text: rgba(255, 255, 255, 0.82);
  --f-text-soft: rgba(255, 255, 255, 0.62);
  --f-text-muted: rgba(255, 255, 255, 0.48);
  --f-text-legal: rgba(255, 255, 255, 0.42);
  --f-accent: #c9a227;
  --f-accent-hover: #e4c04a;
  --f-line: rgba(255, 255, 255, 0.08);
  --f-line-strong: rgba(255, 255, 255, 0.12);
  --f-inner: min(1120px, 100%);
  --f-pad-x: clamp(20px, 4vw, 32px);

  background: var(--f-bg);
  color: var(--f-text-soft);
  text-align: left;
  border-top: 1px solid var(--f-line-strong);
  position: relative;
}

/* Top hairline accent */
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201, 162, 39, 0.45) 20%,
    rgba(201, 162, 39, 0.65) 50%,
    rgba(201, 162, 39, 0.45) 80%,
    transparent 100%
  );
  pointer-events: none;
}

.site-footer .footer-inner {
  max-width: var(--f-inner);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 56px) var(--f-pad-x) 0;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.15fr) 1fr 1fr;
  gap: clamp(32px, 4vw, 48px) clamp(28px, 3vw, 40px);
  align-items: start;
  padding-bottom: clamp(32px, 4vw, 44px);
  border-bottom: 1px solid var(--f-line);
}

/* Brand */
.site-footer .footer-brand a {
  display: inline-block;
  line-height: 0;
  border-radius: 6px;
  outline-offset: 3px;
}

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

.site-footer .footer-brand img {
  height: 48px;
  width: auto;
  display: block;
  opacity: 0.96;
  filter: contrast(1.02);
  transition: opacity 0.2s ease;
}

.site-footer .footer-brand a:hover img {
  opacity: 1;
}

/* Social — compact, consistent */
.site-footer .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
}

.site-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--f-text-muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--f-line);
  line-height: 0;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.site-footer .footer-social a:hover {
  color: var(--f-accent-hover);
  background: rgba(201, 162, 39, 0.08);
  border-color: rgba(201, 162, 39, 0.28);
  transform: translateY(-1px);
}

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

.site-footer .footer-social svg {
  width: 17px;
  height: 17px;
}

/* Column titles */
.site-footer .footer-col-label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 2px solid var(--f-accent);
  line-height: 1.3;
}

.site-footer .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-footer .footer-nav a {
  display: block;
  padding: 8px 0;
  color: var(--f-text-soft);
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  text-decoration: none;
  border-radius: 4px;
  margin-left: -4px;
  padding-left: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.site-footer .footer-nav a:hover {
  color: var(--f-text);
  border-bottom-color: rgba(201, 162, 39, 0.35);
}

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

/* Entry column: separate legal block (links 4+) */
.site-footer .footer-col:nth-child(3) .footer-nav a:nth-child(4) {
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--f-line);
}

.site-footer .footer-col:nth-child(3) .footer-nav a:nth-child(n + 4) {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--f-text-legal);
  padding-top: 7px;
  padding-bottom: 7px;
}

.site-footer .footer-col:nth-child(3) .footer-nav a:nth-child(n + 4):hover {
  color: var(--f-text-soft);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

/* Copyright bar */
.site-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  padding: 22px var(--f-pad-x) 26px;
  margin: 0 calc(-1 * var(--f-pad-x));
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid var(--f-line);
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--f-text-muted);
}

.site-footer .footer-bottom > span:first-child {
  color: rgba(255, 255, 255, 0.5);
}

.site-footer .footer-disclaimer {
  font-family: 'Lato', sans-serif;
  font-size: 0.6875rem;
  line-height: 1.72;
  max-width: 680px;
  margin: 0 auto;
  padding: 22px var(--f-pad-x) 32px;
  color: var(--f-text-legal);
  text-align: center;
}

@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
    padding-bottom: 32px;
  }

  .site-footer .footer-brand {
    text-align: center;
  }

  .site-footer .footer-brand img {
    margin-left: auto;
    margin-right: auto;
  }

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

  .site-footer .footer-col-label {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    border-left: none;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--f-line);
    display: inline-block;
    min-width: 140px;
  }

  .site-footer .footer-nav a {
    text-align: center;
    margin-left: 0;
    padding-left: 0;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-footer .footer-social a {
    width: 38px;
    height: 38px;
  }

  .site-footer .footer-nav a {
    font-size: 0.84375rem;
  }
}
