/* Brand, four navigation columns, and contact details share one row. */
body .footer { padding:72px 5vw 32px; background:#091426; color:#a5b1c4; }
body .footer > .wrap { max-width:1920px; margin-inline:auto; padding:0; }
body .footer > .wrap > .footer-grid {
  display:grid; grid-template-columns:minmax(0,2fr) repeat(4,minmax(0,1fr)) minmax(0,1.65fr);
  gap:clamp(24px,3vw,64px); align-items:start;
}
body .footer .f-brand { grid-column:auto; }
body .footer .brand { display:inline-flex; }
body .footer .brand img { width:auto; max-width:180px; height:50px; object-fit:contain; }
body .footer .desc { max-width:340px; margin-top:24px; color:#94a3b8; font-size:14px; line-height:2; }
body .footer .footer-title { margin:0 0 24px; color:#eef3fb; font-size:17px; font-weight:500; line-height:1.7; }
body .footer .f-col { min-width:0; }
body .footer .f-col ul { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; list-style:none; padding:0; margin:0; }
body .footer .f-col li { margin:0; }
body .footer .f-col a { display:block; width:fit-content; max-width:100%; color:#a5b1c4; font-size:14px; line-height:1.9; text-decoration:none; transition:color 180ms ease; }
body .footer .f-col a:hover, body .footer .f-col a:focus-visible { color:#fff; }
body .footer .f-contact { display:flex; flex-direction:column; align-items:flex-start; max-width:none; gap:18px; }
body .footer .f-qr { width:124px; height:124px; padding:8px; border-radius:10px; background:#fff; }
body .footer .f-qr img { display:block; width:100%; height:100%; object-fit:contain; }
body .footer .f-qr-tip { margin:12px 0 0; color:#94a3b8; font-size:12px; line-height:1.8; }
body .footer .f-phone { color:#a5b1c4; font-size:14px; line-height:1.9; font-weight:400; font-variant-numeric:tabular-nums; text-decoration:none; }
body .footer .f-phone:hover { color:#fff; }
body .footer .f-address { margin:0; color:#a5b1c4; font-style:normal; font-size:13px; line-height:1.9; overflow-wrap:anywhere; }
body .footer .footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-top:64px; padding-top:24px; border-top:1px solid #ffffff14; color:#738197; font-size:12px; line-height:1.8; }
body .footer .footer-legal { display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; min-width:0; }
body .footer .footer-copyright { margin:0; color:#8295b1; font-size:12px; line-height:1.8; }
body .footer .footer-rights { display:inline-block; margin-left:10px; }
body .footer .footer-registration { color:#8295b1; font-size:12px; line-height:1.8; transition:color 180ms ease; }
body .footer .footer-registration:hover { color:#c5d8f5; }
body .footer .footer-powered { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; gap:6px; min-height:32px; padding:6px 10px; margin-right:48px; border:1px solid #263a56; border-radius:8px; background:#101e32; color:#9cafcb; font-size:10px; line-height:1.5; text-decoration:none; transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease; }
body .footer .footer-powered img { display:block; width:52px; height:18px; object-fit:contain; background:transparent; }
body .footer .footer-powered:hover { background:#1b3050; border-color:#476387; color:#e4efff; }
@media(max-width:1279px) {
  body .footer > .wrap > .footer-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:36px 28px; }
  body .footer .f-brand { grid-column:1 / 3; grid-row:1; }
  body .footer .f-contact { grid-column:3 / 5; grid-row:1; display:grid; grid-template-columns:124px minmax(0,1fr); gap:12px 24px; }
  body .footer .f-follow { grid-row:1 / 3; }
  body .footer .f-phone { align-self:end; }
  body .footer .f-address { align-self:start; }
}
@media(max-width:640px) {
  body .footer { padding:44px 24px 28px; }
  body .footer > .wrap > .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 24px; }
  body .footer .f-brand { grid-column:1 / -1; grid-row:auto; }
  body .footer .brand img { max-width:160px; height:44px; }
  body .footer .desc { margin-top:16px; font-size:13px; }
  body .footer .footer-title { margin-bottom:14px; font-size:16px; }
  body .footer .f-col ul { gap:4px; }
  body .footer .f-col a { display:flex; align-items:center; min-height:44px; font-size:14px; }
  body .footer .f-contact { grid-column:1 / -1; grid-row:auto; grid-template-columns:104px minmax(0,1fr); gap:12px 20px; }
  body .footer .f-qr { width:104px; height:104px; padding:6px; }
  body .footer .f-qr-tip { font-size:11px; }
  body .footer .f-phone { font-size:13px; }
  body .footer .f-address { font-size:12px; }
  body .footer .footer-bottom { flex-direction:column; align-items:flex-start; margin-top:36px; gap:18px; }
  body .footer .footer-powered { margin-right:0; }
}
