/* =============================================================
   MIRAI — Footer
   Palette: --void #080810, --gray #8D99AE, --red #DB324D
   Font: Montserrat · Red accent line (no iris gradient)
   ============================================================= */

/* ===== BLOCK: Footer shell ===== */
.site-footer {
  background-color: #080810;
  color: #8D99AE;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 13px;
  min-height: 60vh;           /* generous but not forced full-screen */
  display: flex;
  flex-direction: column;
  border-top: 0.5px solid rgba(141, 153, 174, 0.1);
  position: relative;
}

/* ===== BLOCK: Red accent — top edge strip ===== */
.site-footer::before {
  content: '';
  display: block;
  height: 2px;
  width: 100%;
  background: #DB324D;
}

/* ===== BLOCK: Inner content wrapper ===== */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 2rem 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  flex: 1;
}

/* ===== BLOCK: Three-column grid ===== */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  margin-bottom: 48px;
}

/* ===== BLOCK: Column headings ===== */
.footer-column h4 {
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ===== BLOCK: Column lists ===== */
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
  font-size: 13px;
  color: #8D99AE;
  line-height: 1.6;
}

.footer-column a {
  color: #8D99AE;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #FFFFFF;
}

/* ===== BLOCK: Social icons ===== */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0.5px solid rgba(141, 153, 174, 0.25);
  border-radius: 50%;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.footer-social a:hover {
  border-color: #DB324D;
  background: rgba(219, 50, 77, 0.06);
}

.footer-social img {
  width: 15px;
  height: 15px;
  object-fit: contain;          /* the LinkedIn mark isn't square */
  filter: brightness(0) invert(1) opacity(0.6);
  transition: opacity 0.2s;
}

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

/* ===== BLOCK: Bottom legal bar ===== */
.footer-bottom {
  border-top: 0.5px solid rgba(141, 153, 174, 0.1);
  padding-top: 20px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: left;
  color: var(--gray, #8D99AE);   /* full Cool Gray: 4.5:1+ contrast on the dark footer */
}

/* ===== BLOCK: Responsive ===== */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    padding: 40px 1.25rem 24px;
  }
}

/* ===== BLOCK: Company details (rendered by js/siteFooter.js) ===== */
.footer-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray, #8D99AE);
}

.footer-address {
  font-style: normal;
  line-height: 1.6;
}

.footer-sep {
  margin: 0 0.5em;
}

/* ===== BLOCK: Compact legal strip (data-component="site-footer-compact") =====
   Colour and background come from the host page; this only sets type + layout. */
.site-footer-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-align: center;
}

.site-footer-compact a {
  color: inherit;
  text-decoration: none;
  border-bottom: 0.5px solid currentColor;
}
