/* Phase 32.4 — one shared footer treatment across LegacyPage and ModernPage */
.p8-footer{padding:54px 0 20px;background:#fff;color:#52647c;border-top:1px solid #dce8f6}
.p8-footer-grid{display:grid;grid-template-columns:1.55fr repeat(3,minmax(0,1fr));gap:42px}
.p8-footer-brand{display:flex;gap:14px;align-items:flex-start}
.p8-footer-brand img{width:52px;height:52px;object-fit:contain;background:#fff;border:1px solid #dce8f6;border-radius:12px;padding:3px}
.p8-footer h2,.p8-footer h3{margin:0 0 12px;color:#071d52;letter-spacing:-.02em}
.p8-footer h2{font-size:1.05rem}
.p8-footer h3{font-size:.92rem}
.p8-footer p{margin:0;color:#65748a;line-height:1.7;font-size:.9rem}
.p8-footer-grid>div:not(.p8-footer-brand){display:flex;flex-direction:column;gap:8px}
.p8-footer a{color:#28466f;font-size:.9rem}
.p8-footer a:hover{color:#0000ff}
.p8-footer-tagline{display:block;margin-top:18px;color:#0000e8;font-weight:800;font-style:italic;transform:rotate(-2deg)}
.p8-footer-contact{display:flex!important;align-items:center;gap:8px;width:max-content;max-width:100%;padding:4px 0!important;background:transparent!important;color:#28466f!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.p8-footer-contact:hover{background:transparent!important;color:#0000ff!important}
.p8-footer-wa-icon{display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;border-radius:50%;background:#139447;color:#fff}
.p8-footer-wa-icon svg{display:block;width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.p8-footer-bottom{display:flex;justify-content:space-between;gap:18px;margin-top:42px;padding-top:18px;border-top:1px solid #e4edf8;color:#8190a4;font-size:.8rem}

@media(max-width:900px){
  .p8-footer-grid{grid-template-columns:1.35fr 1fr 1fr}
  .p8-footer-grid>div:last-child{grid-column:2/4}
}

@media(max-width:760px){
  .p8-footer{padding-bottom:92px}
}

@media(max-width:620px){
  .p8-footer{padding-top:42px}
  .p8-footer-grid{grid-template-columns:1fr;gap:28px}
  .p8-footer-grid>div:last-child{grid-column:auto}
  .p8-footer-bottom{flex-direction:column;margin-top:30px}
}
