/* ==========================================================================
   GLOBAL FOOTER (footer_global)
   PREMIUM INSTITUTIONAL STANDARD · 5-COLUMN EDITORIAL ARCHITECTURE
   Exact match to approved reference specification (footer-map-bg & golden dotted map)
   ========================================================================== */

.footer-global {
  position: relative;
  width: 100%;
  background-color: #02140e;
  background-image: url('/images/footer-map-bg.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: var(--color-pure-white, #ffffff);
  overflow: hidden;
  padding: 4.75rem 0 2.25rem;
  border-top: 1px solid rgba(198, 168, 125, 0.38);
}

.footer-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  width: 100%;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   01 · MAIN 5-COLUMN GRID
   -------------------------------------------------------------------------- */
.footer-main-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 1.55fr 1fr 1.45fr;
  gap: clamp(1.5rem, 2.2vw, 2.75rem);
  align-items: flex-start;
  margin-bottom: 3.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

/* Headings with Gold Underline */
.footer-col-title {
  font-family: var(--font-serif, 'Cinzel', 'Playfair Display', Georgia, serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d4af37;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.footer-title-bar {
  width: 36px;
  height: 1px;
  background-color: #c6a87d;
  margin-bottom: 1.35rem;
}

/* Links & Presence Lists */
.footer-col-links,
.footer-presence-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
}

.footer-col-links a,
.footer-presence-list a {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: 0.95rem;
  line-height: 1.35;
  color: rgba(248, 246, 240, 0.84);
  text-decoration: none;
  transition: color 0.22s ease, transform 0.22s ease;
  display: inline-block;
}

.footer-col-links a:hover,
.footer-presence-list a:hover {
  color: #f2d99d;
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   02 · CENTER BRAND IDENTITY
   -------------------------------------------------------------------------- */
.footer-col-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 0.25rem;
}

.footer-center-brand-vector {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  text-align: center;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.footer-center-brand-vector:hover {
  transform: scale(1.025);
  filter: drop-shadow(0 4px 16px rgba(212, 175, 55, 0.35));
}

.footer-center-brand-vector .emblem-img {
  width: 140px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0.65rem;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.7));
  transition: transform 0.3s ease;
}

.footer-center-brand-vector:hover .emblem-img {
  transform: scale(1.03);
}

.footer-center-brand-vector .brand-wordmark {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #dfbe81;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.35rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.footer-center-brand-vector .brand-submark {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: #c6a87d;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.footer-center-brand-vector .brand-gold-bar {
  width: 58px;
  height: 2px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.15), #d4af37 35%, #fff2d1 50%, #d4af37 65%, rgba(212, 175, 55, 0.15));
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  border-radius: 1px;
}

/* Fallback / image version if ever used */
.footer-brand-center-img {
  width: 235px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   03 · CONTACT COLUMN
   -------------------------------------------------------------------------- */
.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: #d4af37;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-contact-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.footer-contact-text {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: 0.92rem;
  line-height: 1.4;
  color: rgba(248, 246, 240, 0.88);
}

.footer-contact-text .contact-lead {
  color: rgba(248, 246, 240, 0.92);
}

.footer-contact-text .contact-sub {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(248, 246, 240, 0.62);
  margin-top: 2px;
}

.contact-link {
  color: rgba(248, 246, 240, 0.88);
  text-decoration: none;
  transition: color 0.22s ease;
}

.contact-link:hover {
  color: #f2d99d;
}

/* Social Media Icons */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-top: 0.65rem;
  padding-left: 0.2rem;
}

.footer-social-btn {
  color: #d4af37;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: color 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

.footer-social-btn svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.footer-social-btn:hover {
  color: #fff2d1;
  transform: translateY(-2px);
  filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.5));
}

/* --------------------------------------------------------------------------
   04 · SUB-FOOTER BOTTOM BAR
   -------------------------------------------------------------------------- */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(198, 168, 125, 0.32);
  gap: 2rem;
  width: 100%;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex-shrink: 0;
}

.footer-motto-line {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d4af37;
  line-height: 1.4;
  white-space: nowrap;
}

.footer-bottom-divider {
  width: 1px;
  height: 32px;
  background-color: rgba(198, 168, 125, 0.45);
  flex-shrink: 0;
}

.footer-bottom-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  text-align: right;
  flex-grow: 1;
}

.footer-legal-copy {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 246, 240, 0.72);
}

.footer-legal-sub {
  font-family: var(--font-sans);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 246, 240, 0.62);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-legal-sub a {
  color: rgba(248, 246, 240, 0.68);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-sub a:hover {
  color: #d4af37;
}

.footer-legal-sub .sep {
  color: rgba(198, 168, 125, 0.45);
}

/* --------------------------------------------------------------------------
   05 · RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }

  .footer-col-center {
    grid-column: 1 / -1;
    order: -1;
    margin-bottom: 1.5rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
  }

  .footer-bottom-divider {
    display: none;
  }

  .footer-bottom-left {
    align-items: center;
    text-align: center;
  }

  .footer-bottom-right {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 680px) {
  .footer-global {
    padding: 3.5rem 0 2rem;
    background-position: 85% center;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .footer-col-center {
    margin-bottom: 1rem;
  }

  .footer-center-brand-vector .emblem-img {
    width: 120px;
  }

  .footer-center-brand-vector .brand-wordmark {
    font-size: 1.25rem;
  }

  .footer-bottom-bar {
    padding-top: 1.5rem;
    gap: 1.25rem;
  }

  .footer-motto-line {
    font-size: 0.72rem;
    white-space: normal;
  }

  .footer-legal-sub {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem 0.6rem;
    font-size: 0.6rem;
  }
}
