/* ============================================
   TWO4DELIVERY - Footer
   ============================================ */

.footer {
  background: var(--black-soft);
  color: rgba(255, 255, 255, 0.65);
  padding: 60px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}

.footer__brand img {
  height: 36px;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer__col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer__links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer__platforms {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-platform {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-platform img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.75);
}

.footer__copyright a {
  color: var(--blue-light);
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.footer__social a:hover {
  background: var(--blue-primary);
  transform: translateY(-2px);
}

.footer__social svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.7);
  transition: fill var(--transition-fast);
}

.footer__social a:hover svg {
  fill: var(--white);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-mid),
              transform var(--transition-mid),
              box-shadow var(--transition-fast);
  z-index: 50;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── Footer Legal Links (GDPR / Cookies) ─────────────────── */
.footer__legal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__legal-link {
  color: #cbd5e1;
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__legal-link:hover {
  color: var(--clr-primary, #2563eb);
}

.footer__legal-sep {
  color: #94a3b8;
  font-size: 0.8rem;
}
