/* ============================================================
   page-footer.css — Prestige Solutions Warm Obsidian & Gold Footer
   Loaded by footer.htm so updates apply site-wide immediately
   with clean cache busting across all 20 templates.
   ============================================================ */

.web_footer {
  --ft-bg-top: #110d09;
  --ft-bg-bot: #0a0806;
  --ft-line: rgba(200, 169, 106, 0.16);
  --ft-line-strong: rgba(200, 169, 106, 0.28);
  --ft-gold: #c8a96a;
  --ft-gold-hi: #e5cfa0;
  --ft-ink-hi: #f5f0e6;
  --ft-body: #b8ae9c;
  --ft-muted: #8f8575;

  position: relative;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ft-bg-top) 0%, var(--ft-bg-bot) 100%);
  color: var(--ft-body);
  border-top: 1px solid var(--ft-line-strong);
}

.web_footer::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 220px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(200, 169, 106, 0.12) 0%, transparent 70%);
}

/* ---------- 5-column main grid ---------- */
.web_footer .foot_main {
  position: relative;
  display: grid;
  grid-template-columns: 1.65fr 1.05fr 1.08fr 0.92fr 1.65fr;
  gap: 36px 32px;
  padding-top: 68px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--ft-line);
}

.web_footer .foot_col { min-width: 0; }

/* Brand column */
.web_footer .foot_eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ft-gold);
}
.web_footer .foot_eyebrow::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--ft-gold);
}
.web_footer .foot_logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ft-ink-hi);
  margin-bottom: 14px;
  line-height: 1.15;
}
.web_footer .foot_logo span { color: var(--ft-gold); }
.web_footer .foot_tagline {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ft-body);
  margin: 0 0 22px;
  max-width: 310px;
}

.web_footer .foot_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.web_footer .foot_cta_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ft-gold);
  border: 1px solid var(--ft-gold);
  color: #14100b !important;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.22s, border-color 0.22s, transform 0.22s;
}
.web_footer .foot_cta_btn:hover {
  background: var(--ft-gold-hi);
  border-color: var(--ft-gold-hi);
  transform: translateY(-1px);
}
.web_footer .foot_wa_btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(200, 169, 106, 0.07);
  border: 1px solid var(--ft-line-strong);
  color: var(--ft-ink-hi) !important;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.22s, border-color 0.22s, color 0.22s;
}
.web_footer .foot_wa_btn i { color: var(--ft-gold); font-size: 14px; }
.web_footer .foot_wa_btn:hover {
  background: rgba(200, 169, 106, 0.16);
  border-color: var(--ft-gold);
  color: var(--ft-gold-hi) !important;
}

/* Nav columns */
.web_footer .foot_col_title {
  font-size: 11px;
  font-weight: 700;
  color: var(--ft-gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 20px;
}
.web_footer .foot_nav_list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.web_footer .foot_nav_list a {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ft-body);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.web_footer .foot_nav_list a:hover {
  color: var(--ft-gold-hi);
  padding-left: 0;
  transform: translateX(3px);
}

/* Contact list */
.web_footer .foot_contact_list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.web_footer .foot_contact_list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  color: var(--ft-body);
  line-height: 1.55;
}
.web_footer .foot_contact_list i {
  color: var(--ft-gold);
  margin-top: 3px;
  flex-shrink: 0;
  width: 15px;
  text-align: center;
  font-size: 13.5px;
}
.web_footer .foot_contact_list a,
.web_footer .foot_contact_list span {
  color: var(--ft-body);
  text-decoration: none;
  transition: color 0.2s;
  min-width: 0;
  overflow-wrap: anywhere;
}
.web_footer .foot_contact_list a:hover { color: var(--ft-gold-hi); }
.web_footer .foot_contact_list a[href^="mailto:"] {
  font-size: 13px;
  white-space: nowrap;
}
.web_footer .foot_hours {
  color: var(--ft-muted);
  font-size: 12.5px;
}

/* ---------- Meta rows: Latest Guides & Partners ---------- */
.web_footer .foot_meta_band {
  border-bottom: 1px solid var(--ft-line);
}
.web_footer .foot_partners_row {
  display: flex;
  align-items: baseline;
  gap: 14px 22px;
  padding-top: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(200, 169, 106, 0.08);
  flex-wrap: wrap;
}
.web_footer .foot_partners_row:last-child { border-bottom: 0; }

.web_footer .partner_label {
  min-width: 108px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ft-gold);
  letter-spacing: 0.16em;
  flex-shrink: 0;
  text-transform: uppercase;
}
.web_footer .foot_partner_links {
  flex: 1 1 320px;
  display: flex;
  gap: 8px 10px;
  flex-wrap: wrap;
  min-width: 0;
}
.web_footer .p-flink {
  display: inline-block;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(200, 169, 106, 0.05);
  border: 1px solid rgba(200, 169, 106, 0.14);
  font-size: 12px;
  line-height: 1.4;
  color: var(--ft-body);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.web_footer .p-flink:hover {
  border-color: rgba(200, 169, 106, 0.45);
  background: rgba(200, 169, 106, 0.12);
  color: var(--ft-gold-hi);
}
.web_footer .foot_partners_row--plain .p-flink {
  padding: 2px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--ft-muted);
  font-size: 12.5px;
}
.web_footer .foot_partners_row--plain .foot_partner_links {
  gap: 6px 18px;
}
.web_footer .foot_partners_row--plain .p-flink:hover {
  background: transparent;
  color: var(--ft-gold-hi);
}

/* ---------- Copyright bar ---------- */
.web_footer .foot_bottom {
  padding: 20px 0 22px;
}
.web_footer .foot_bottom_inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px 24px;
  padding-right: 68px; /* clear fixed AI chat & back-to-top cluster on desktop */
}
.web_footer .copy_text,
.web_footer .foot_legal,
.web_footer .foot_author {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ft-muted);
}
.web_footer .foot_legal { justify-self: center; }
.web_footer .foot_author { justify-self: end; text-align: right; }
.web_footer .foot_legal a,
.web_footer .foot_author a {
  color: var(--ft-body);
  text-decoration: none;
  transition: color 0.2s;
}
.web_footer .foot_legal a:hover,
.web_footer .foot_author a:hover { color: var(--ft-gold-hi); }

.web_footer :focus-visible { outline-color: var(--ft-gold-hi) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .web_footer .foot_main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 28px;
    padding-top: 56px;
    padding-bottom: 42px;
  }
  .web_footer .foot_brand {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(200, 169, 106, 0.12);
  }
  .web_footer .foot_brand_copy { max-width: 520px; }
  .web_footer .foot_tagline { max-width: 100%; margin-bottom: 0; }
  .web_footer .foot_contact_col { grid-column: 1 / -1; padding-top: 8px; }
  .web_footer .foot_contact_list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
  }
}

@media (max-width: 991px) {
  .web_footer .foot_bottom_inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-right: 0;
  }
  .web_footer .foot_legal,
  .web_footer .foot_author {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .web_footer .layout { padding-left: 18px; padding-right: 18px; }
  .web_footer .foot_main {
    grid-template-columns: 1fr 1fr;
    gap: 26px 18px;
    padding-top: 40px;
    padding-bottom: 30px;
  }
  .web_footer .foot_brand {
    display: block;
    padding-bottom: 22px;
  }
  .web_footer .foot_tagline { margin-bottom: 18px; }
  .web_footer .foot_col_title { margin-bottom: 14px; }
  .web_footer .foot_nav_list { gap: 10px; }
  .web_footer .foot_col--company { grid-column: 1 / -1; }
  .web_footer .foot_col--company .foot_nav_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
  }
  .web_footer .foot_contact_list {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .web_footer .foot_partners_row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .web_footer .foot_partners_row--plain { display: none; }
  .web_footer .foot_partner_links {
    flex: none;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .web_footer .p-flink { display: inline-block; max-width: 100%; font-size: 12px; }
  .web_footer .foot_bottom { padding: 18px 0 calc(88px + env(safe-area-inset-bottom)); }
}

@media (max-width: 480px) {
  .web_footer .foot_logo { font-size: 21px; }
  .web_footer .foot_actions { flex-direction: column; align-items: stretch; }
  .web_footer .foot_cta_btn,
  .web_footer .foot_wa_btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .web_footer .foot_cta_btn,
  .web_footer .foot_wa_btn,
  .web_footer .foot_nav_list a,
  .web_footer .p-flink { transition: none; }
  .web_footer .foot_cta_btn:hover,
  .web_footer .foot_nav_list a:hover { transform: none; }
}
