
/* ========================================
   BiSTEM24 FOOTER — BRAND DESIGN
======================================== */

:root {
  --footer-navy: #182f55;
  --footer-blue: #2479ad;
  --footer-orange: #ed7d24;
  --footer-white: #ffffff;
  --footer-light-text: #e1e9f0;
  --footer-muted: #c5d1df;
  --footer-bottom: #10213d;
}

.site-footer {
  width: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--footer-navy);
  color: var(--footer-white);
}

.site-footer * {
  box-sizing: border-box;
}

.footer-container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

/* Main footer */
.footer-main {
  padding: 65px 0 55px;
  background: var(--footer-navy);
}

.footer-main .footer-container {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 38px;
  align-items: start;
}

/* Brand */
.footer-brand {
  min-width: 0;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-logo-image {
  display: block;
  width: 175px;
  max-width: 100%;
  height: 68px;
  object-fit: contain;
  object-position: left center;
  background: #fff;
  border-radius: 3px;
}

.footer-brand-heading {
  margin: 0 0 14px;
  color: #fff;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 700;
}

.footer-description {
  margin: 0 0 22px;
  color: var(--footer-light-text);
  font-size: 14px;
  line-height: 1.9;
}

/* Call to action */
.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 17px;
  border: 1px solid var(--footer-orange);
  border-radius: 4px;
  background: var(--footer-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-cta:hover {
  transform: translateY(-2px);
  background: #d66b18;
  color: #fff;
}

.footer-cta span {
  font-size: 18px;
}

/* Footer columns */
.footer-column {
  min-width: 0;
}

.footer-column h3 {
  position: relative;
  margin: 0 0 24px;
  padding-bottom: 12px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.footer-column h3::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38px;
  height: 3px;
  background: var(--footer-orange);
  content: "";
}

.footer-column p {
  margin: 0 0 18px;
  color: var(--footer-light-text);
  font-size: 13px;
  line-height: 1.9;
}

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

.footer-column li {
  margin: 0;
  padding: 0;
}

.footer-column li a {
  color: var(--footer-light-text);
  font-size: 13px;
  line-height: 1.7;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

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

/* Email */
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  color: #fff;
  font-size: 13px;
  line-height: 1.7;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-email span {
  color: var(--footer-orange);
  font-size: 17px;
}

.footer-email:hover {
  color: #ffb16f;
}

/* Social icons */
.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.footer-social-links a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.footer-social-links a:hover {
  border-color: var(--footer-orange);
  background: var(--footer-orange);
  color: #fff;
}

.footer-social-links svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-community-note {
  font-size: 12px !important;
}

/* Copyright bar */
.footer-bottom {
  padding: 19px 0;
  background: var(--footer-bottom);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.8;
}

.footer-bottom a {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ffb16f;
}

/* Tablet */
@media (max-width: 1000px) {
  .footer-main .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }

  .footer-brand {
    max-width: 400px;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .footer-main {
    padding: 42px 0 35px;
  }

  .footer-main .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-logo-image {
    width: 160px;
    height: 62px;
  }

  .footer-column h3 {
    margin-bottom: 19px;
  }

  .footer-bottom {
    padding: 18px 0;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .footer-bottom p,
  .footer-bottom a {
    font-size: 11px;
  }
}
