/* Shared public footer: contacts, two navigation groups, and legal utilities. */
.pm-site-footer {
  width: 100%; min-width: 0;
  border-radius: 28px 28px 0 0;
  background: var(--pm-brand-600, #0a55a6);
  color: #fff;
  padding-block: clamp(28px, 3vw, 40px) 24px;
  font-size: 15px; line-height: 1.5;
}
.pm-site-footer__shell {
  width: 100%; max-width: var(--pm-site-shell-max, 120rem);
  margin-inline: auto; padding-inline: var(--space-global-container, 24px);
}
.pm-site-footer :is(a, button) { color: inherit; }
.pm-site-footer a { text-decoration: none; overflow-wrap: anywhere; }
.pm-site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pm-site-footer :is(a, button):focus-visible { outline: 2px solid #fff; outline-offset: 5px; border-radius: 4px; }
.pm-site-footer :is(h2, h3, p, ul) { margin: 0; }
.pm-site-footer ul { padding: 0; list-style: none; }
.pm-site-footer :is(section, nav, li, div) { min-width: 0; }
.pm-site-footer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-bottom: 28px; border-bottom: 1px solid #ffffff26;
}
.pm-site-footer__brand { display: block; width: min(300px, 100%); flex: 0 1 300px; }
.pm-site-footer__brand img { display: block; width: 100%; height: auto; max-height: 88px; object-fit: contain; object-position: left center; }
.pm-site-footer .pm-site-footer__appointment {
  display: inline-flex; align-items: center; justify-content: center; gap: 20px;
  min-height: 48px; padding: 12px 20px; flex: 0 0 auto;
  border: 1px solid #fff; border-radius: 12px;
  background: #fff; color: var(--pm-brand-600, #0a55a6); font-weight: 700;
}
.pm-site-footer__appointment svg { flex: none; }
.pm-site-footer .pm-site-footer__appointment:hover { background: var(--pm-brand-100, #e5f1ff); text-decoration: none; }
.pm-site-footer__body {
  display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px); padding-block: 28px;
}
.pm-site-footer h2 { margin-bottom: 16px; color: #c3d7eb; font-size: 14px; font-weight: 500; line-height: 1.5; }
.pm-site-footer__branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pm-site-footer__branch:only-child { grid-column: 1 / -1; }
.pm-site-footer h3 { font-size: 16px; font-weight: 700; line-height: 1.5; }
.pm-site-footer__phone { display: flex; align-items: center; width: fit-content; min-height: 44px; font-size: 18px; font-weight: 700; }
.pm-site-footer .pm-site-footer__address { display: block; width: fit-content; padding-block: 6px; color: #dce8f5; font-size: 14px; }
.pm-site-footer__contact-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 12px; }
.pm-site-footer__contact-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.pm-site-footer__nav a { display: flex; align-items: center; width: fit-content; min-height: 40px; padding-block: 6px; }
.pm-site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; border-top: 1px solid #ffffff26; padding-top: 16px; }
.pm-site-footer__policies, .pm-site-footer__credits { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; color: #c3d7eb; font-size: 13px; }
.pm-site-footer__policies > a, .pm-site-footer__credits > a { display: flex; align-items: center; min-height: 44px; }
.pm-site-footer .pm-footer-cookie-settings { min-height: 44px; padding-block: 8px; font-size: 13px; opacity: 1; }
.pm-site-footer__developer { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.pm-site-footer__developer img { display: block; width: 64px; height: auto; }
.pm-site-footer .pm-site-footer__notice { margin-top: 16px; color: #c3d7eb; font-size: 13px; line-height: 1.5; }
@media (max-width: 1000px) {
  .pm-site-footer__body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-site-footer__contacts { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .pm-site-footer { border-radius: 22px 22px 0 0; }
  .pm-site-footer__head { align-items: flex-start; flex-direction: column; gap: 24px; padding-bottom: 24px; }
  .pm-site-footer__brand { width: min(280px, 100%); flex: none; }
  .pm-site-footer .pm-site-footer__appointment { width: 100%; }
  .pm-site-footer__body { gap: 24px 16px; padding-block: 24px; }
  .pm-site-footer h2 { margin-bottom: 10px; }
  .pm-site-footer__branches { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pm-site-footer__nav a { min-height: 44px; font-size: 14px; }
  .pm-site-footer__bottom { gap: 12px; }
  .pm-site-footer__policies { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .pm-site-footer__credits { width: 100%; justify-content: space-between; gap: 12px; }
}
