:root {
  --footer-bg: #0f2a45;
  --footer-accent: #e1b85a;
}

.site-footer {
  background: var(--surface);
  margin-top: 40px;
}

.footer-nav-bar {
  background: var(--footer-bg);
  border-top: 3px solid var(--footer-accent);
  border-bottom: 2px solid rgba(255, 255, 255, 0.06);
  padding: 34px 20px;
}

.footer-nav {
  max-width: 1400px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.footer-menu {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-menu a {
  color: #f8fafc;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.footer-menu a:hover {
  color: var(--footer-accent);
}

.footer-body {
  background: #f8f6f0;
  color: #1b1b1d;
  padding: 36px 20px 28px;
}

.footer-body-inner {
  max-width: 1400px;
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 100px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  max-width: 180px;
  height: auto;
  display: block;
}

.footer-text {
  font-size: 18px;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #0f2a45;
  color: #f8f6f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.2s ease;
}

.footer-social a:hover {
  background: #0c2237;
  transform: translateY(-2px);
}

.footer-safe {
  border-top: 1px solid #d9e2ec;
  margin: 28px auto 0;
  padding-top: 22px;
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1400px;
  width: 90%;
}

.footer-safe-title {
  font-weight: 700;
  font-size: 22px;
  color: #1b1b1d;
}

.footer-safe-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: flex-end;
}

.footer-safe-logos .badge {
  padding: 8px 0;
  color: #4c5867;
  font-weight: 600;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
}

.footer-safe-logos .badge-img img {
  max-height: 56px;
  width: auto;
  display: block;
  filter: grayscale(100%);
}

.footer-copy {
  background: #fff;
  padding: 18px 20px;
  text-align: center;
  color: #1b1b1d;
  border-top: 1px solid #d9e2ec;
  max-width: 1400px;
  width: 90%;
  margin: 0 auto;
}

.footer-copy a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.footer-copy a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .footer-body-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

  .footer-safe-logos {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .footer-nav-bar {
    padding: 26px 14px;
  }

  .footer-menu {
    gap: 14px;
    font-size: 15px;
  }

  .footer-body {
    padding: 28px 16px 22px;
  }

  .footer-body-inner {
    gap: 18px;
  }

  .footer-brand img {
    max-width: 150px;
  }

  .footer-text {
    font-size: 16px;
  }

  .footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }

  .footer-safe {
    margin-top: 20px;
    padding-top: 18px;
    flex-direction: column;
    gap: 0px;
  }

  .footer-safe-logos {
    gap: 14px;
  }

  .footer-safe-logos .badge-img img {
    max-height: 36px;
  }

  .footer-copy {
    padding: 16px 12px;
    font-size: 14px;
  }
}
