.site-footer {
  background: #0a0f17;
  color: #d7dbe2;
  padding: 90px 0 50px;
  font-family: "Poppins", Arial, sans-serif;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 2.8fr 0.9fr 1.2fr 1.6fr;
  gap: 70px;
  align-items: flex-start;
}

.footer-logo {
  margin-bottom: 30px;
}

.footer-brand p {
  max-width: 320px;
  margin-bottom: 30px;
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.8;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-tags span {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer h4,
.footer-accordion-btn {
  margin-bottom: 20px;
  color: var(--text-light-color);
  font-size: 18px;
  font-weight: 500;
}

.site-footer .footer-link-group li a {
  color: var(--text-dark-color);
}

.site-footer .footer-link-group li a:hover {
  color: var(--text-color);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 10px;
}

.site-footer a {
  color: var(--text-light-color);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.25s ease;
  padding: 10px 0;
  line-height: 22px;
}

.site-footer .footer-quick a:after,
.site-footer .footer-link-group a:after {
  content: "→";
  font-size: 16px;
  opacity: 0;
  margin-left: 4px;
  transition: opacity 0.25s ease;
}

.site-footer a:hover {
  color: var(--primary-color);
}

.site-footer .footer-quick a:hover:after,
.site-footer .footer-link-group a:hover:after {
  opacity: 1;
}

.contact-list {
  margin-bottom: 30px;
}

.contact-list a svg {
  margin-right: 10px;
}

.follow-heading {
  margin-top: 30px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff20;
  padding: 10px;
  border-radius: var(--border-radius-extra-small);
  height: 45px;
  width: 45px;
  border: 1px solid #ffffff30;
}

.social-icons a:hover {
  background-color: #1ab4ff25;
}

.social-icons a:hover svg path {
  stroke: var(--primary-color);
}

.app-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: no-wrap;
}

.app-btn {
  min-width: 140px;
  width: 100%;
  padding: 10px 18px;
  border: 1px solid #0799dc;
  border-radius: 999px;
  color: #ffffff !important;
  font-size: 10px !important;
  line-height: 1.2;
  text-align: left;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #ffffff20;
}

.app-btn strong {
  font-size: 13px;
  font-weight: 700;
  top: -5px;
  position: relative;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 70px 0;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 2fr 1.1fr;
  gap: 70px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 55px;
  row-gap: 70px;
}

.footer-link-group {
  min-width: 0;
}

.footer-accordion-btn {
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: default;
  font-family: "gotham", sans-serif;
}

.footer-accordion-btn span {
  display: none;
}

.footer-legal {
  min-height: 360px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-legal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.16);
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.25;
  text-align: center;
  letter-spacing: -2px;
}

.footer-copyright.footer-reveal-item {
  padding-top: 50px !important;
  margin-top: 50px !important;
  border-top: 1px solid #ffffff15;
  text-align: center;
}

/* Tablet */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    min-height: 220px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 50px;
  }
}

/* Mobile Accordion */
@media (max-width: 767px) {
  .site-footer {
    padding: 60px 0 45px;
  }

  .footer-container {
    width: min(100% - 28px, 1180px);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-logo {
    margin-bottom: 20px;
  }

  .footer-brand p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .footer-divider {
    margin: 45px 0 25px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-link-group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-accordion-btn {
    margin: 0;
    padding: 18px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-accordion-btn span {
    display: block;
    width: 12px;
    height: 12px;
    position: relative;
  }

  .footer-accordion-btn span::before,
  .footer-accordion-btn span::after {
    content: "";
    position: absolute;
    background: #ffffff;
    transition: transform 0.25s ease;
  }

  .footer-accordion-btn span::before {
    width: 12px;
    height: 2px;
    top: 5px;
    left: 0;
  }

  .footer-accordion-btn span::after {
    width: 2px;
    height: 12px;
    top: 0;
    left: 5px;
  }

  .footer-accordion-btn.is-open span::after {
    transform: rotate(90deg);
  }

  .footer-accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .footer-accordion-panel li:first-child {
    padding-top: 4px;
  }

  .footer-accordion-panel li:last-child {
    padding-bottom: 18px;
  }

  .footer-legal {
    min-height: auto;
    padding-top: 35px;
  }

  .footer-legal p {
    font-size: 38px;
  }

  .app-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}
