footer.site-footer {
  background: #0c0c0c;
  color: var(--text-dark);
  margin: 0;
  padding: 50px 0px 25px;
  border-top: 1px solid var(--border-dark);
  font-family: "Poppins", sans-serif;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-brand .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 12px;
}

.footer-brand .brand-title {
  font-size: 2rem;
  margin: 0 0 12px;
  color: #ffffff;
}

.footer-brand .brand-copy {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.footer-cta:hover {
  color: var(--primary-color);
}

.footer-label {
  font-size: 0.95rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  justify-items: start;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  padding: 4px 0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-links a:hover {
  color: #ffffff;
  border-color: rgba(255, 75, 43, 0.7);
}

.footer-nav {
  justify-self: center;
}

.footer-contact {
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
}

.footer-contact a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.footer-contact span {
  display: block;
  margin-top: 10px;
}

.footer-brand .brand-copy + .brand-copy {
  margin-top: 14px;
}

.social-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.social {
  font-size: 20.5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  /* background: rgba(255, 255, 255, 0.08); */
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.social:hover {
  transform: translateY(-2px);
  background: var(--primary-color);
  color: #0c0c0c;
}

.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.footer-bottom .footer-logo {
  flex: 1;
  font-weight: 800;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-bottom .social-container {
  flex: 1;
  margin-top: 0;
  display: flex;
  justify-content: center;
}

.footer-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.footer-link-inline,
.back-to-top {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: color 0.18s ease;
}

.footer-link-inline:hover,
.back-to-top:hover {
  color: var(--primary-color);
}

@media (max-width: 960px) {
  .footer-inner {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (max-width: 640px) {
  footer.site-footer {
    padding: 56px 18px 40px;
  }

  .footer-brand .brand-title {
    font-size: 1.6rem;
  }

  .footer-nav {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .footer-bottom .footer-logo,
  .footer-bottom .social-container,
  .footer-actions {
    flex: initial;
    width: 100%;
    justify-content: center;
  }

  .footer-actions {
    justify-content: center;
  }
}