.footer_header {
  margin-top: 120px;
  width: 100%;
  border-radius: 48px 48px 0 0;
  border-top: 1px solid #0000000d;
  box-sizing: border-box;
  overflow: hidden;
}
body.dark .footer_header {
  border-top-color: #ffffff0d;
}
.footer_header.top {
  margin-top: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.footer_container {
  max-width: 1920px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 40px;
  gap: 0;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.footer_sep {
  display: inline-block;
  width: 1px;
  height: 13px;
  margin: 0 22px;
  flex-shrink: 1;
  border-radius: 1px;
}
body.dark .footer_sep { background: rgba(255,255,255,0.1); }
body.light .footer_sep { background: rgba(0,0,0,0.1); }

.footer_copy {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  flex-shrink: 1;
  letter-spacing: -0.01em;
}
body.dark .footer_copy { color: rgba(255,255,255,0.3); }
body.light .footer_copy { color: rgba(0,0,0,0.32); }

.footer_links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 1;
  flex-wrap: wrap;
}
.footer_links a {
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
  letter-spacing: -0.01em;
}
body.dark .footer_links a { color: rgba(255,255,255,0.3); }
body.light .footer_links a { color: rgba(0,0,0,0.32); }
body.dark .footer_links a:hover { color: rgba(255,255,255,0.8); }
body.light .footer_links a:hover { color: rgba(0,0,0,0.75); }

.footer_socials {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 1;
  flex-wrap: wrap;
}
.footer_social_link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px 5px 9px;
  border-radius: 8px;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  letter-spacing: -0.01em;
}
body.dark .footer_social_link {
  color: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
}
body.light .footer_social_link {
  color: rgba(0,0,0,0.32);
  border-color: rgba(0,0,0,0.07);
  background: rgba(0,0,0,0.02);
}
body.dark .footer_social_link:hover {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
}
body.light .footer_social_link:hover {
  color: rgba(0,0,0,0.72);
  border-color: rgba(0,0,0,0.13);
  background: rgba(0,0,0,0.04);
}
.footer_social_link svg { flex-shrink: 0; }

@media (max-width: 900px) {
  .footer_sep { margin: 0 16px; }
  .footer_social_link span { display: none; }
  .footer_social_link { padding: 6px 8px; }
  .footer_links { gap: 14px; }
}

@media (max-width: 640px) {
  .footer_header { border-radius: 28px 28px 0 0; }

  .footer_container {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 20px;
  }

  .footer_sep { display: none; }

  .footer_socials {
    order: 1;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer_social_link span { display: inline; }
  .footer_social_link {
    padding: 6px 12px 6px 10px;
    font-size: 13px;
  }

  .footer_links {
    order: 2;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
  }

  .footer_links a {
    white-space: normal;
    text-align: center;
  }

  .footer_copy {
    order: 3;
    text-align: center;
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .footer_socials { flex-wrap: wrap; justify-content: center; }
  .footer_links { flex-wrap: wrap; justify-content: center; gap: 12px; }
}