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

.site-footer {
  width: 100%;
  min-height: 50vh;
  background: #ffffff;
  color: #000000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 5%;
  box-sizing: border-box;
  border-top: 2px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 24px;
}

body.dark .site-footer {
  background: #023049;
  color: #ffffff;
  border-top: 2px solid rgba(255, 255, 255, 0.12);
}

/* Footer container */
.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* ================= TOP ================= */

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-col {
  flex: 1 1 200px;
}

/* Company */
.footer-company h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.footer-company p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 250px;
}

/* Section titles */
.footer-links h4,
.footer-connect h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

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

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #00D1CC;
}

/* ================= SOCIAL ICONS ================= */

.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, background 0.25s ease;
}

body.dark .footer-socials a {
  background: rgba(255, 255, 255, 0.06);
}

.footer-socials a:hover {
  transform: translateY(-3px);
  background: rgba(0, 209, 204, 0.15);
}

.footer-socials img {
  width: 20px;
  height: 20px;
  display: block;
}

/* ================= BOTTOM ================= */

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 16px;
  gap: 8px;
}

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

.footer-policies {
  list-style: none;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.footer-policies a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.footer-policies a:hover {
  color: #00D1CC;
}

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

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-col {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.85rem;
    gap: 6px;
    padding-bottom: 50px;
  }

  .site-footer {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .footer-company p {
    margin: 0;
  }
}
