/* ==========================================================================
   Site footer
   Black band, gold accents, warm white typography.
   ========================================================================== */

.soa-footer {
  --soa-footer-gold: var(--brand-secondary, #c79b3d);
  --soa-footer-gold-rgb: 199, 155, 61;
  --soa-footer-cream: #f8f7ee;
  --soa-footer-bg: #0b0b0b;

  position: relative;
  padding: 54px 6vw 20px;
  background: var(--soa-footer-bg);
  color: var(--soa-footer-cream);
}

.soa-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--soa-footer-gold), rgba(var(--soa-footer-gold-rgb), .1), var(--soa-footer-gold));
}

.soa-footer a {
  color: rgba(248, 247, 238, .88);
}

/* Small line icons that mark every footer list item. */
.soa-footer-icon {
  color: var(--soa-footer-gold);
  display: inline-block;
  flex: 0 0 auto;
  height: 14px;
  margin-right: 9px;
  transition: transform .18s ease, color .18s ease;
  vertical-align: -2px;
  width: 14px;
}

.soa-footer li:hover .soa-footer-icon,
.soa-footer a:hover .soa-footer-icon {
  color: #fff;
}

.soa-footer li:hover .soa-footer-icon--chevron {
  transform: translateX(3px);
}

.soa-footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 36px;
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.soa-footer-brand,
.soa-footer-column {
  min-width: 0;
}

.soa-footer-logo {
  color: var(--soa-footer-cream) !important;
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}

.soa-footer-logo--image {
  align-items: center;
  background: transparent;
  display: inline-flex;
  justify-content: center;
  padding: 0;
}

.soa-footer-logo-img {
  display: block;
  height: auto;
  max-height: 140px;
  max-width: 230px;
  width: auto;
}

.soa-footer-brand p {
  max-width: 260px;
  margin: 12px 0 0;
  color: rgba(248, 247, 238, .8);
  line-height: 1.65;
}

.soa-footer-column h2 {
  margin: 0 0 15px;
  color: var(--soa-footer-gold);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.soa-footer-column ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.soa-footer-column a,
.soa-footer-column address span {
  color: rgba(248, 247, 238, .88);
  line-height: 1.6;
  text-decoration: none;
}

.soa-footer-column a:hover,
.soa-footer-bottom a:hover {
  color: var(--soa-footer-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.soa-footer-column a:focus-visible,
.soa-footer-bottom a:focus-visible,
.soa-footer-logo:focus-visible {
  outline: 2px solid var(--soa-footer-gold);
  outline-offset: 4px;
}

.soa-footer-column address {
  display: grid;
  gap: 10px;
  font-style: normal;
}

.soa-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(var(--soa-footer-gold-rgb), .45);
  color: rgba(248, 247, 238, .75);
  font-size: .85rem;
}

.soa-footer-bottom p {
  margin: 0;
}

.soa-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

/* Countries / Attractions / Accommodation / Travel Information link lists */
.soa-footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.soa-footer-link-column {
  min-width: 0;
}

.soa-footer-link-column h2 {
  margin: 0 0 15px;
  color: var(--soa-footer-gold);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.soa-footer-link-column ul {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.soa-footer-link-column a {
  color: rgba(248, 247, 238, .88);
  line-height: 1.6;
  text-decoration: none;
}

.soa-footer-link-column a:hover {
  color: var(--soa-footer-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.soa-footer-link-column a:focus-visible,
.soa-footer-more:focus-visible {
  outline: 2px solid var(--soa-footer-gold);
  outline-offset: 4px;
}

.soa-footer-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(var(--soa-footer-gold-rgb), .55);
  color: var(--soa-footer-gold) !important;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .16s ease, color .16s ease;
}

.soa-footer-more:hover {
  background: var(--soa-footer-gold);
  color: #0b0b0b !important;
  text-decoration: none;
}

@media (max-width: 850px) {
  .soa-footer-main,
  .soa-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .soa-footer {
    padding: 42px 22px 18px;
  }

  .soa-footer-main,
  .soa-footer-links {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .soa-footer-main {
    padding-bottom: 30px;
  }

  .soa-footer-links {
    padding-bottom: 26px;
  }

  .soa-footer-column ul,
  .soa-footer-link-column ul {
    gap: 2px;
  }

  .soa-footer-column li a,
  .soa-footer-link-column li a {
    display: inline-block;
    padding: 6px 0;
  }

  .soa-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .soa-footer a,
  .soa-footer-more,
  .soa-footer-icon {
    transition: none;
  }
}
