/* Shared public footer and compact account-page variant. */
.ph-footer {
  display: block;
  padding: 0;
  border-top: 1px solid #343546;
  background: #161724;
  color: #f5f5fb;
  font: 400 .9rem/1.5 Inter, system-ui, sans-serif;
}
.phf-inner { width: min(1240px, 92%); margin-inline: auto }
.phf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1fr 1fr auto;
  gap: clamp(20px, 4vw, 68px);
  padding-block: clamp(30px, 4vw, 55px);
}
.ph-footer h2 { margin: 0 0 7px; color: #f7f7ff; font: 650 .92rem/1.4 Inter, system-ui, sans-serif; letter-spacing: -.01em }
.ph-footer a { color: #c3c5d6; text-decoration: none }
.ph-footer a:hover { color: white; text-decoration: underline; text-underline-offset: 4px }
.ph-footer a:focus-visible { outline: 2px solid #aaadff; outline-offset: 4px }
.ph-footer .phf-brand { display: inline-flex; align-items: center; color: #fff; font-size: 1.4rem; font-weight: 720; letter-spacing: -.065em; line-height: 1.2 }
.phf-brand .logo-mark { width: 22px; height: 22px; margin-right: 7px }
.phf-brand span { color: #9a9fff }
.phf-identity p { margin: 11px 0 0; max-width: 24ch; color: #b8bbd0; font: inherit }
.phf-grid nav { display: grid; gap: 3px; align-content: start; justify-items: start }
.phf-grid nav a { padding-block: 3px; line-height: 1.4 }
.ph-footer address { margin: 0; font-style: normal }
.ph-footer .phf-phone { display: inline-block; color: #d3d3ff; font-size: 1.18rem; font-weight: 590; letter-spacing: -.02em; white-space: nowrap; padding-block: 2px }
.phf-base, .phf-compact .phf-inner { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-block: 16px }
.phf-base { border-top: 1px solid #383949 }
.ph-footer small, .phf-base a, .phf-compact { font-size: .81rem; color: #b9bbcf }
.phf-base nav, .phf-compact nav { display: flex; flex-wrap: wrap; gap: 5px 18px }
.phf-base nav a, .phf-compact nav a { padding-block: 4px }
.phf-compact .phf-phone { font-size: .88rem }
/* Public navigation sits alongside a single brand and contact panel. */
.ph-footer:not(.phf-compact) { background: #eeeff6; color: #25283c; border-top: 1px solid #d9dbe8 }
.phf-grid { grid-template-columns: minmax(245px,1.45fr) 1fr .94fr .92fr; gap: clamp(20px,4vw,62px); align-items: center; padding-block: clamp(24px,3vw,40px) }
.phf-identity { position: relative; isolation: isolate; overflow: hidden; padding: 22px 24px; border-radius: 14px; background: linear-gradient(125deg,#252643,#383567); color: #fff }
.phf-identity::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 160px; height: 160px; right: -95px; bottom: -65px; border: 1px solid #ffffff20; border-radius: 50%; box-shadow: 0 0 0 13px #ffffff08,0 0 0 30px #ffffff08,0 0 0 49px #ffffff07 }
.phf-identity p { color: #dddff0; font-size: .86rem; margin: 7px 0 16px; max-width: none }
.phf-identity .phf-call { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none }
.phf-call .call-mark { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #ffffff55; border-radius: 50%; color: #eeedff }
.phf-call small, .phf-call strong { display: block }
.phf-call small { font-size: .72rem; color: #d8d8ed }
.phf-call strong { font-size: 1.02rem; letter-spacing: .005em }
.phf-call:hover strong { text-decoration: underline; text-underline-offset: 3px }
.phf-grid nav { align-self: start; padding-top: 6px }
.phf-grid nav h2 { color: #292c46 }
.phf-grid nav a, .phf-base a { color: #4c5168 }
.phf-grid nav a:hover, .phf-base a:hover { color: #433897 }
.phf-base { border-color: #d2d5e3 }
.phf-base small { color: #5b6075 }
@media (max-width: 880px) {
  .phf-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px }
  .phf-identity { grid-column: 1/-1; display: grid; grid-template-columns: 1fr auto; align-items: center }
  .phf-identity p { margin: 4px 0 0; grid-column: 1 }
  .phf-identity address { grid-area: 1/2/3/3 }
}
@media (max-width: 560px) {
  .phf-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px }
  .phf-identity { display: block }
  .phf-identity p { margin-bottom: 14px }
  .phf-base { align-items: flex-start; flex-direction: column }
}
@media print { .ph-footer { display: none } }
