/* 10 · Footer — 1680 × 735 (Figma 4019:3356) */
.footer { padding: 40px; }
.footer__shell {
  display: flex; flex-direction: column; gap: 16px; padding: 16px; border-radius: 12px;
  background: linear-gradient(to top, #fdef54 12.989%, #ffdc2c 132.11%);
}

.footer__contact { display: flex; gap: 16px; height: 241px; }
.contact-box {
  flex: 1 0 0; display: flex; flex-direction: column; justify-content: space-between;
  padding: 40px; border-radius: 12px; overflow: hidden;
  backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
}
.contact-box h3 { font-size: 24px; line-height: 1; font-weight: 700; color: #000; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-list a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--c-text-secondary); white-space: nowrap; transition: color .25s; }
.contact-list a:hover { color: var(--c-primary); }
.contact-list a:hover .ci { transform: scale(1.12); }
.ci { position: relative; width: 24px; height: 24px; flex-shrink: 0; transition: transform .35s var(--ease-out-expo); }
.ci img { position: absolute; left: 0; top: 0; width: 24px; height: 24px; max-width: none; }
.ci .ci-email { left: 2.23px; top: 3.23px; width: 20px; height: 16.92px; }
.ci .ci-branch { left: 1px; top: 1px; width: 22px; height: 22px; }
.ci .ci-vtm { left: 2.25px; top: 2.77px; width: 19.5px; height: 18.75px; }
.ci .ci-atm { left: 1.95px; top: 2px; width: 20.8px; height: 20px; }

/* Thẻ tư vấn */
.consult {
  position: relative; flex: 0 0 780px; overflow: hidden; border-radius: 12px;
  background:
    linear-gradient(117.43deg, #016ffb 4.3564%, #012e74 96.917%),
    linear-gradient(-15.78deg, rgba(255, 248, 209, 0) 11.265%, #fff8d1 97.92%),
    linear-gradient(108.26deg, #fdef54 6.8062%, #ffdd00 101.05%);
}
.consult__wave { position: absolute; bottom: -105px; left: calc(50% - 51px); width: 1084px; height: 245px; margin-left: -542px; }
.consult__wave img { width: 100%; height: 100%; max-width: none; }
.consult__copy { position: absolute; left: 32px; top: 32px; width: 307px; height: 169px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.consult__text { display: flex; flex-direction: column; gap: 24px; color: #fff; }
.consult__text h3 { font-size: 24px; line-height: 1.17; font-weight: 700; }
.consult__text p { font-size: 16px; line-height: 1; letter-spacing: -0.32px; }
.consult__person { position: absolute; left: 363px; top: -134px; width: 434px; height: 469px; max-width: none; transition: transform 1s var(--ease-out-expo); }
.consult:hover .consult__person { transform: translateX(-8px) scale(1.02); transform-origin: 50% 100%; }

/* Khối trắng */
.footer__main { background: #fff; border-radius: 12px; overflow: hidden; padding: 80px 80px 24px; display: flex; flex-direction: column; }
.footer__collapsible { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .7s var(--ease-out-expo), opacity .5s, margin .7s var(--ease-out-expo); margin-bottom: 40px; }
.footer__collapsible > * { min-height: 0; overflow: hidden; }
.footer__main.is-collapsed { padding-top: 24px; transition: padding .7s var(--ease-out-expo); }
.footer__main { transition: padding .7s var(--ease-out-expo); }
.footer__main.is-collapsed .footer__collapsible { grid-template-rows: 0fr; opacity: 0; margin-bottom: 0; }

.footer__top { display: flex; align-items: flex-end; justify-content: space-between; width: 1410px; }
.footer__brand { display: flex; flex-direction: column; gap: 32px; width: 442px; }
.footer__brand-text { display: flex; flex-direction: column; gap: 24px; }
.footer__brand-text img { width: 201.5px; height: 20px; }
.footer__brand-text p { font-weight: 600; font-size: 14px; line-height: 1.5; color: #000; }
.footer__social { display: flex; gap: 8px; }
.footer__social a { display: block; border-radius: 50%; transition: transform .35s var(--ease-out-expo), background .3s; }
.footer__social a:hover { transform: translateY(-3px); background: rgba(0, 78, 197, .06); }
.footer__social img { width: 56px; height: 56px; }

.footer__app { align-self: stretch; width: 246px; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.footer__div { width: 71px; height: 49px; object-fit: cover; }
.footer__app-cta { display: flex; flex-direction: column; gap: 16px; width: 100%; align-items: flex-end; }
.footer__app-cta p { font-weight: 600; font-size: 14px; line-height: 1.35; text-align: right; color: #000; }

.footer__bottom { display: flex; align-items: center; justify-content: space-between; width: 1415px; }
.footer__legal { display: flex; align-items: center; justify-content: space-between; width: 966px; padding: 4px 0 4px 4px; font-size: 14px; line-height: 1.5; letter-spacing: -0.28px; color: var(--c-text-muted); white-space: nowrap; }
.footer__legal a:hover { color: var(--c-primary); }
.footer__toggle { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; margin-right: -4px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #000; transition: background .25s; }
.footer__toggle:hover { background: rgba(0, 0, 0, .05); }
.footer__toggle img { width: 8.258px; height: 5px; transition: transform .5s var(--ease-out-expo); }
.footer__main.is-collapsed .footer__toggle img { transform: rotate(180deg); }
