/**
 * Clinicella — modern footer layout (masaüstü + mobil)
 */
footer,
.wp-site-blocks > footer {
  background: linear-gradient(165deg, #120a28 0%, #1a1238 42%, #22164a 100%);
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(130, 102, 228, 0.22), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(255, 255, 255, 0.06), transparent 35%);
  pointer-events: none;
}

footer .footer-wrapper,
footer .footer-container,
footer > div {
  position: relative;
  z-index: 1;
}

footer .footer-wrapper,
footer .footer-container {
  max-width: 78rem;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 2rem;
}

footer .footer-top,
footer .footer-content,
footer .footer-links-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  align-items: start;
}

footer .footer-brand,
footer .footer-logo-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

footer img {
  max-height: 2.75rem;
  width: auto;
}

footer h4,
footer h5,
footer .footer-heading,
footer .sub-heading1 {
  color: #fff !important;
  font-family: Manrope, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}

footer p,
footer a,
footer li,
footer span {
  font-family: Manrope, sans-serif;
  color: rgba(255, 255, 255, 0.78) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.78) !important;
}

footer a {
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

footer a:hover {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

footer .footer-bottom,
footer .copyright-wrapper {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

footer .footer-partners,
footer .partners-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

footer .footer-partners img,
footer .partners-wrapper img {
  max-height: 2rem;
  opacity: 0.92;
  filter: brightness(1.05);
}

footer .social-links,
footer .footer-social {
  display: flex;
  gap: 0.65rem;
}

footer .social-links a,
footer .footer-social a {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 1023px) {
  footer .footer-top,
  footer .footer-content,
  footer .footer-links-wrapper {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  footer .footer-wrapper,
  footer .footer-container {
    padding: 2.5rem 1rem 1.5rem;
  }

  footer .footer-bottom,
  footer .copyright-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}
