/**
 * FOOTER MOBILE UX POLISH
 * Surgical and consistent overrides
 */

.footer-tel {
  white-space: nowrap !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

@media (max-width: 900px) {
  html body .footer .container.footer-inner {
    row-gap: 1.35rem !important;
  }

  html body .footer .footer-nav {
    max-width: 420px !important;
    margin: 0 auto !important;
  }

  html body .footer .footer-col-details summary {
    padding-top: 0.9rem !important;
    padding-bottom: 0.9rem !important;
  }

  html body .footer .footer-contact {
    max-width: 420px !important;
    margin: 0 auto !important;
    padding: 0.95rem !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.025) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.55rem !important;
    box-sizing: border-box !important;
    margin-bottom: calc(7.2rem + env(safe-area-inset-bottom)) !important;
  }

  html body .footer .footer-contact-label {
    margin-bottom: 0.25rem !important;
    text-align: left !important;
    letter-spacing: 0.08em !important;
  }

  html body .footer .footer-contact a.footer-tel,
  html body .footer .footer-contact a.footer-tel:visited,
  html body .footer .footer-contact a.footer-tel:hover {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0.78rem 0.95rem !important;
    text-align: center !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    box-sizing: border-box !important;
  }

  html body .footer .footer-contact .footer-whatsapp {
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  html body .footer .footer-contact a[href^="mailto:"],
  html body .footer .footer-contact .footer-gbp {
    margin: 0 !important;
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
    color: rgba(245, 243, 239, 0.88) !important;
    text-align: left !important;
    word-break: break-word !important;
  }

  /* Keep copyright visible above sticky mobile bar */
  html body .footer .footer-bottom {
    padding-bottom: calc(5.8rem + env(safe-area-inset-bottom)) !important;
  }

  html body .footer .footer-bottom p {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    padding: 0 !important;
  }
}
