/* =========================
   CONSULTING-STYLE FOOTER (BSA)
   footer.css
   ========================= */

/* Match site container width */
:root{
  --footer-max: var(--max, 1100px);
  --footer-radius: 18px;
  --footer-bg: #9f0014;
  --footer-border: rgba(255,255,255,.12);
  --footer-ink: rgba(255,255,255,.92);
  --footer-muted: rgba(255,255,255,.70);
  --footer-link: rgba(255,255,255,.86);
  --footer-accent: var(--accent, #9f0014);
}

.site-footer{
  padding: 3rem 0 3.2rem;
  background: transparent;
}

.site-footer-card{
  max-width: var(--footer-max);
  margin: 0 auto;

  background: var(--footer-bg);
  border: 1px solid var(--footer-border);
  border-radius: var(--footer-radius);

  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  overflow: hidden;
}

/* Optional subtle accent line at top of card */
.site-footer-card::before{
  content:"";
  display:block;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(159,0,20,.0),
    rgba(159,0,20,.55),
    rgba(159,0,20,.0)
  );
  opacity: .9;
}

.site-footer-inner{
  padding: 2.4rem 2.4rem 1.6rem;
}

/* Layout */
.footer-top{
  display:grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.4rem;
}

/* Brand */
.footer-brand{
  display:flex;
  gap: .85rem;
  align-items:flex-start;
}

.footer-mark{
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.footer-mark img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display:block;
}

.footer-title{
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0;
  color: var(--footer-ink);
  letter-spacing: -.01em;
}

.footer-subtitle{
  margin:.32rem 0 .65rem;
  font-size:.72rem;
  letter-spacing:.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.footer-desc{
  font-size:.92rem;
  line-height:1.6;
  color: var(--footer-muted);
  max-width: 55ch;
}

/* Column headers */
.footer-col h4{
  font-size:.75rem;
  letter-spacing:.16em;
  text-transform: uppercase;
  font-weight:800;
  margin-bottom:.85rem;
  color: rgba(255,255,255,.78);
}

/* Links — NOT buttons */
.footer-links{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-links li{
  margin-bottom:.55rem;
}

.footer-links a{
  color: var(--footer-link);
  text-decoration:none;
  font-weight:600;
  display:inline-block;
}

.footer-links a:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contact */
.footer-contact{
  font-size:.92rem;
  line-height:1.6;
  color: var(--footer-muted);
}

.footer-contact a{
  color: rgba(200,219,255,.95);
  font-weight:700;
  text-decoration:none;
}

.footer-contact a:hover{
  text-decoration:underline;
  text-underline-offset: 3px;
}

/* Social — inline, not buttons */
.footer-social{
  display:flex;
  gap:1rem;
  margin-top:.75rem;
  align-items:center;
  flex-wrap:wrap;
}

.footer-social a{
  color: rgba(255,255,255,.82);
  font-size:1.05rem;
  line-height: 1;
  text-decoration:none;
  transition: transform .15s ease, color .15s ease, opacity .15s ease;
}

.footer-social a:hover{
  color:#fff;
  transform: translateY(-1px);
}

/* Divider */
.footer-divider{
  margin:1.6rem 0 1rem;
  border:0;
  border-top:1px solid rgba(255,255,255,.12);
}

/* Bottom */
.footer-bottom{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:.6rem 1rem;
  font-size:.82rem;
  color: rgba(255,255,255,.62);
}

.footer-bottom a{
  color: rgba(255,255,255,.78);
  text-decoration:none;
}

.footer-bottom a:hover{
  text-decoration:underline;
  text-underline-offset: 3px;
}

/* Mobile */
@media (max-width: 992px){
  .footer-top{
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .site-footer-inner{
    padding: 2rem 1.4rem 1.5rem;
  }
}

/* Small phones */
@media (max-width: 420px){
  .site-footer-inner{
    padding: 1.6rem 1.1rem 1.25rem;
  }
  .footer-social{
    gap: .85rem;
  }
}
