.site-footer, .site-footer * { box-sizing: border-box; letter-spacing: 0; }
.site-footer { color: #C9D8E7; background: #001F46; }
.footer-grid { display: grid; width: min(1200px, calc(100% - 56px)); margin: 0 auto; padding: 58px 0 34px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.site-footer .brand-logo { display: block; width: auto; height: 46px; padding: 5px 9px; object-fit: contain; background: #fff; border-radius: 4px; }
.site-footer h3 { margin: 0 0 15px; color: #fff; font-size: 15px; }
.site-footer p, .site-footer li { color: #AFC1D3; font-size: 13px; line-height: 1.85; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0 0 7px; }
.site-footer a { color: #AFC1D3; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-wecard-link { white-space: nowrap; }
.footer-brand p { max-width: 330px; margin: 18px 0 0; }
.footer-bottom { display: flex; width: min(1200px, calc(100% - 56px)); margin: 0 auto; padding: 20px 0 25px; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #829BB5; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }
.footer-social { display: flex; gap: 10px; margin: 20px 0 0; }
.footer-social a, .footer-social button { display: grid; width: 42px; height: 42px; padding:0; place-items: center; color: #AFC1D3; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 9px; cursor:pointer; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.footer-social a:hover, .footer-social button:hover { color: #fff; background: #2563EB; border-color: #2563EB; transform: translateY(-2px); }
.footer-social svg { display: block; width: 20px; height: 20px; }
.footer-partner { display:flex; width:max-content; max-width:100%; margin-top:18px; flex-direction:column; align-items:flex-start; gap:7px; }
.footer-partner img { display:block; width:144px; height:auto; }
.footer-partner span { color:#AFC1D3; font-size:12px; line-height:1.5; }
.footer-contact li { margin-bottom:14px; }
.footer-contact strong, .footer-contact li > a { display:block; }
.footer-contact strong { margin-bottom:2px; color:#fff; font-size:12px; }
.advisor-modal { position:fixed; inset:0; z-index:500; display:grid; padding:20px; place-items:center; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .2s ease,visibility .2s; }
.advisor-modal.open { opacity:1; visibility:visible; pointer-events:auto; }
.advisor-modal-backdrop { position:absolute; inset:0; background:rgba(0,30,67,.68); backdrop-filter:blur(4px); }
.advisor-modal-dialog { position:relative; width:min(520px,100%); overflow:hidden; background:#fff; border-radius:8px; box-shadow:0 28px 80px rgba(0,30,67,.34); transform:translateY(14px); transition:transform .2s ease; }
.advisor-modal.open .advisor-modal-dialog { transform:translateY(0); }
.advisor-modal-head { position:relative; padding:24px 68px 23px 28px; color:#fff; background:#002E65; }
.advisor-modal-head span { display:block; margin-bottom:3px; color:#CFE0FF; font-size:12px; font-weight:700; }
.advisor-modal-head h2 { margin:0; color:#fff; font-size:25px; }
.advisor-modal-close { position:absolute; top:22px; right:22px; display:grid; width:38px; height:38px; padding:0; place-items:center; color:#fff; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.28); border-radius:50%; cursor:pointer; font-size:24px; line-height:1; }
.advisor-modal-close:hover { background:rgba(255,255,255,.2); }
.advisor-modal-body { padding:32px 28px 30px; text-align:center; }
.advisor-modal-body img { display:block; width:min(300px,78%); height:auto; margin:0 auto; border-radius:8px; }
.advisor-modal-body p { margin:15px 0 0; color:#526276; font-size:15px; }
body.modal-open { overflow:hidden; }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .footer-grid, .footer-bottom { width: 100%; padding-right: 20px; padding-left: 20px; }
  .footer-grid { gap: 28px; padding-top: 44px; grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-bottom: 5px; }
  .advisor-modal { padding:12px; }
}
