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

.site-footer {
  position: relative;
  width: 100%;
  z-index: 999;

  padding: 18px 0;
  text-align: center;

  background: linear-gradient(
    to top,
    var(--blue-deep),
    #163d7a
  );

  border-top: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 -6px 20px rgba(0,0,0,0.25);
}


/* =========================================================
   MOBILE FOOTER
========================================================= */

.site-footer-mobile {
  display: none;

  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  width: 100%;
  padding: 12px 0;

  background: rgba(22, 61, 122, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 9999;
}

.footer-mobile-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.mobile-action {
  font-size: 1.6rem;
  line-height: 1;
  color: white;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.mobile-action:hover {
  opacity: 0.85;
}

.mobile-action:active {
  transform: scale(0.94);
}


/* =========================================================
   MOBILE FOOTER SWITCH
========================================================= */

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

  .site-footer-mobile {
    display: block;
  }
}


/* =========================================================
   FOOTER LAYOUT
========================================================= */

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}


/* =========================================================
   FOOTER BRAND
========================================================= */

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo {
  height: 26px;
  width: auto;
  display: block;
}

.footer-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;

  background: linear-gradient(
    90deg,
    var(--green-accent) 0%,
    var(--blue-light) 50%,
    var(--blue-deep) 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.4px rgba(255,255,255,0.6);
}


/* =========================================================
   FOOTER TEXT
========================================================= */

.footer-text {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}


/* =========================================================
   FOOTER ICONS
========================================================= */

.footer-icons {
  display: flex;
  gap: 12px;
}

.footer-icon {
  font-size: 2.25rem;
  color: rgba(255,255,255,0.8);
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-icon:hover {
  color: var(--green-accent);
  transform: translateY(-2px);
}


/* =========================================================
   FOOTER DIVIDER
========================================================= */

.footer-divider {
  width: 100%;
  max-width: 240px;
  height: 1px;
  margin: 10px 0;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
}


/* =========================================================
   FOOTER LINKS
========================================================= */

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 0.85rem;
  text-decoration: none;
  color: rgba(255,255,255,0.65);
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--white);
}


/* =========================================================
   FOOTER COPYRIGHT
========================================================= */

.footer-copy {
  margin-top: 6px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
}