/* ==========================================================================
   3-COLUMN SYMMETRICAL FOOTER (LAST OASIS REFERENCE LAYOUT WITH "TD" LOGO)
   ========================================================================== */

.site-footer {
  margin: 0 12px 12px;
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 34px 5% 30px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Subtle glowing laser accent on top border */
.footer-laser-accent {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(237, 137, 85, 0.2) 20%,
    rgba(237, 137, 85, 0.8) 50%,
    rgba(237, 137, 85, 0.2) 80%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(237, 137, 85, 0.4);
  pointer-events: none;
}

.footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px 40px;
}

/* --------------------------------------------------------------------------
   Left Column: Nav Links + Copyright
   -------------------------------------------------------------------------- */
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.footer-nav-links a {
  color: #c9c7c0;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.footer-nav-links a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.footer-nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1.5px;
  background: var(--orange);
  transition: width 0.2s ease;
}

.footer-nav-links a:hover::after {
  width: 100%;
}

.footer-left-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #7a7872;
  letter-spacing: 0.02em;
}

.footer-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--orange);
  opacity: 0.85;
}

.footer-meta-badge svg {
  display: block;
}

/* --------------------------------------------------------------------------
   Center Column: Big Stylized "TD" Logo
   -------------------------------------------------------------------------- */
.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-td-logo {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: drop-shadow(0 0 16px rgba(237, 137, 85, 0.3));
}

.footer-td-logo:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 0 24px rgba(237, 137, 85, 0.65));
}

.td-svg-logo {
  width: 155px;
  height: 72px;
  display: block;
}

/* --------------------------------------------------------------------------
   Right Column: Socials + Policy & Back-to-Top
   -------------------------------------------------------------------------- */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-social-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9c7c0;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.footer-social-item:hover {
  color: var(--orange);
  transform: translateY(-1px);
}

.footer-social-item svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.footer-social-item:hover svg {
  transform: scale(1.15);
}

.footer-right-sub {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: #7a7872;
}

.footer-right-sub a {
  color: #7a7872;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-right-sub a:hover {
  color: var(--text);
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #8c8a82 !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-back-to-top .top-arr {
  color: var(--orange);
  transition: transform 0.2s ease;
}

.footer-back-to-top:hover {
  color: #fff !important;
}

.footer-back-to-top:hover .top-arr {
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Responsive Adaptations
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }
  .footer-center {
    order: 1;
  }
  .footer-left {
    order: 2;
    align-items: center;
  }
  .footer-right {
    order: 3;
    align-items: center;
  }
  .footer-nav-links {
    justify-content: center;
    gap: 20px;
  }
  .footer-social-links {
    justify-content: center;
    gap: 18px;
  }
  .footer-right-sub {
    justify-content: center;
  }
}

@media (max-width: 550px) {
  .site-footer {
    margin: 0 6px 6px;
    padding: 28px 16px 24px;
  }
  .td-svg-logo {
    width: 130px;
    height: 60px;
  }
  .footer-nav-links {
    gap: 16px;
    font-size: 13px;
  }
  .footer-social-links {
    gap: 16px;
    font-size: 13px;
  }
  .footer-left-meta, .footer-right-sub {
    font-size: 11px;
  }
}
