/* ═══════════════════════════════════════════════════════════════
   TOMCO TECHNOLOGIES - FOOTER STYLES
   ═══════════════════════════════════════════════════════════════ */

.footer {
  position: relative;
  background: var(--bg-dark-alt);
  padding-top: var(--space-5xl);
  padding-bottom: 0;
  margin-top: var(--space-5xl);
  border-top: 1px solid var(--glass-border);
}

/* ───────────────────────────────────────────────────────────────
   FOOTER CONTENT
   ─────────────────────────────────────────────────────────────── */

.footer-content {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* ───────────────────────────────────────────────────────────────
   FOOTER BRAND
   ─────────────────────────────────────────────────────────────── */

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

.footer-logo img {
  height: 60px;
  width: auto;
  margin-bottom: var(--space-md);
  filter: drop-shadow(0 0 10px rgba(58, 78, 225, 0.3));
}

.footer-description {
  color: var(--text-secondary);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
}

/* ───────────────────────────────────────────────────────────────
   SOCIAL LINKS
   ─────────────────────────────────────────────────────────────── */

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--fs-lg);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(58, 78, 225, 0.4);
}

/* ───────────────────────────────────────────────────────────────
   FOOTER SECTIONS
   ─────────────────────────────────────────────────────────────── */

.footer-title {
  color: var(--text-primary);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-sm);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--text-secondary);
  font-size: var(--fs-base);
  transition: color var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--blue-electric);
  transform: translateX(4px);
}

/* ───────────────────────────────────────────────────────────────
   FOOTER CONTACT
   ─────────────────────────────────────────────────────────────── */

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--text-secondary);
  font-size: var(--fs-base);
}

.footer-contact i {
  width: 20px;
  color: var(--blue-electric);
  font-size: var(--fs-lg);
}

.footer-contact a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-contact a:hover {
  color: var(--text-primary);
}

/* ───────────────────────────────────────────────────────────────
   FOOTER DIVIDER
   ─────────────────────────────────────────────────────────────── */

.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--glass-border),
    transparent
  );
  margin: var(--space-2xl) 0;
}

/* ───────────────────────────────────────────────────────────────
   FOOTER BOTTOM
   ─────────────────────────────────────────────────────────────── */

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  padding-top: var(--space-xl);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin: 0;
}

.footer-copyright strong {
  color: var(--text-primary);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--fs-sm);
}

.footer-legal a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--text-primary);
}

.footer-legal .separator {
  color: var(--text-muted);
}

/* ───────────────────────────────────────────────────────────────
   TRUST BADGE
   ─────────────────────────────────────────────────────────────── */

.footer-trust {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--glass-border);
  padding: var(--space-xl) 0;
  margin-top: var(--space-3xl);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

.trust-item i {
  color: var(--blue-electric);
  font-size: var(--fs-lg);
}

/* ───────────────────────────────────────────────────────────────
   RESPONSIVE
   ─────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .trust-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer {
    padding-top: var(--space-4xl);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-brand {
    text-align: center;
    grid-column: auto;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

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

  .trust-items {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 640px) {
  .footer-legal {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .footer-legal .separator {
    display: none;
  }
}
