/* ==========================================================================
   Elevaan Network — Site Footer (Full Desktop + Clean Minimal Mobile)
   ========================================================================== */

.site-footer {
  background: #16181c;
  color: #fff;
  margin-top: 48px;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

/* Toggle Desktop vs Mobile Footer */
.footer-desktop {
  display: block;
}

.footer-mobile {
  display: none !important;
}

/* ==========================================================================
   DESKTOP FOOTER STYLES
   ========================================================================== */

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.35fr;
  gap: 40px 32px;
  padding: 56px var(--container-pad, 20px) 48px;
}

/* ---- Brand ---- */

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

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 130px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: #9aa1ac;
}

/* ---- Columns ---- */

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  font-size: 14px;
  color: #9aa1ac;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-contact-intro {
  font-size: 14px;
  color: #9aa1ac;
  margin-bottom: 16px;
}

/* ---- Contact links ---- */

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-contact-link:hover {
  opacity: 0.85;
}

.footer-contact-link:hover .footer-contact-text strong {
  color: #fff;
}

.footer-contact-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-contact-icon--wa,
.footer-contact-icon--fb,
.footer-contact-icon--yt {
  color: inherit;
}

.footer-contact-icon--mail {
  color: #a7adb8;
}

.footer-contact-icon--mail svg {
  display: block;
}

.footer-contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.footer-contact-text strong {
  font-size: 14px;
  font-weight: 600;
  color: #e8eaed;
  transition: color 0.2s ease;
}

.footer-contact-text span {
  font-size: 13px;
  color: #7d838f;
  word-break: break-word;
}

/* ---- Bottom bar (Desktop) ---- */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  padding: 18px var(--container-pad, 20px);
}

.footer-status,
.footer-desktop .footer-copy {
  font-size: 13px;
  color: #7d838f;
  margin: 0;
}

@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 420px;
  }
}

/* ==========================================================================
   MOBILE FOOTER (<= 768px)
   ========================================================================== */

@media (max-width: 768px) {
  .footer-desktop {
    display: none !important;
  }

  .footer-mobile {
    display: block !important;
  }

  .site-footer {
    padding: 32px 0 30px;
    margin-top: 36px;
    background: #11151f;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-inner {
    padding: 0 22px;
  }

  .footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
  }

  .footer-nav-link {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    display: inline-block;
    text-decoration: none;
    transition: color 0.15s ease, opacity 0.15s ease;
    letter-spacing: -0.01em;
  }

  .footer-nav-link:hover {
    color: #388bfd;
    text-decoration: underline;
  }

  .footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
    margin: 26px 0 22px;
  }

  .footer-bottom-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }

  .footer-legal-links {
    font-size: 13.5px;
    line-height: 1.6;
    max-width: 375px;
    margin: 0 auto;
    text-align: center;
    color: #8c93a0;
  }

  .footer-legal-links a {
    color: #388bfd;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s ease;
  }

  .footer-legal-links a:hover {
    color: #60a5fa;
  }

  .footer-mobile .footer-copy {
    font-size: 13px;
    color: #8c93a0;
    margin: 2px 0 0 0;
    text-align: center;
    letter-spacing: 0.01em;
  }
}
