/* Mobile footer correction: isolated in a fresh file to avoid stale phone caches. */
footer .brand .mark,
footer .footer-main .brand .mark {
  background: transparent !important;
  box-shadow: none !important;
}

footer .footer-main,
footer .footer-services {
  width: 100%;
}

footer .footer-main .brand {
  justify-content: center;
  margin-inline: auto;
}

footer .footer-services ul {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 24px;
  max-width: 920px;
  margin-inline: auto;
}

footer .footer-services li {
  margin: 0;
  text-align: center;
}

footer .footer-services li a {
  display: block;
  padding: 7px 8px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  footer {
    padding-top: 42px;
  }

  footer .footer-centered {
    gap: 38px;
  }

  footer .footer-main .email-address-pill {
    width: min(100%, 620px);
    margin-inline: auto;
    padding: 14px 18px;
  }

  footer .footer-main .email-pill-address {
    font-size: clamp(.9rem, 4.2vw, 1.08rem);
    overflow-wrap: anywhere;
  }

  footer .footer-services {
    border-top: 1px solid #454545;
    padding-top: 32px;
  }

  footer .footer-services h3 {
    margin-bottom: 14px;
  }

  footer .footer-services ul {
    grid-template-columns: 1fr !important;
    gap: 0;
    width: min(100%, 340px);
  }

  footer .footer-services li + li {
    border-top: 1px solid #343434;
  }

  footer .footer-services li a {
    padding: 10px 8px;
  }

  .mobile-call {
    transition: opacity .2s ease, transform .2s ease;
  }

  .footer-visible .mobile-call {
    opacity: 0 !important;
    pointer-events: none;
    transform: translateY(12px);
  }
}
