.fpt-footer {
  background: #7A0F2E;
  color: #FFFFFF;
  font-family: 'Archivo', 'Segoe UI', Helvetica, Arial, sans-serif;
}
.fpt-footer a { color: #FFFFFF; text-decoration: none; }
.fpt-footer a:hover { color: #F3E7C2; }
.fpt-footer a:focus-visible { outline: 3px solid #D4AF37; outline-offset: 3px; border-radius: 2px; }

.fpt-footer__main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr 1.1fr;
  gap: 44px 48px;
}

/* Headings */
.fpt-footer__heading {
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #D4AF37;
}

/* Brand column */
.fpt-footer__brand { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.fpt-footer__logos { display: flex; align-items: center; gap: 14px; }
.fpt-footer__logo {
  width: 104px; height: 104px; border-radius: 18px;
  background: #FFFFFF; object-fit: contain; padding: 8px; box-sizing: border-box;
}
.fpt-footer__seal { width: 84px; height: 84px; object-fit: contain; }
.fpt-footer__name { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -0.01em; }
.fpt-footer__desc { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.82); }
.fpt-footer__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.fpt-footer__badge {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: 6px; font-size: 14px; font-weight: 800; letter-spacing: 0.04em; box-sizing: border-box;
}
.fpt-footer__badge--qcto { background: #619B30; color: #1B2A4F; }
.fpt-footer__badge--seta { border: 1.5px solid rgba(255, 255, 255, 0.55); color: #FFFFFF; font-weight: 700; }

/* Link lists */
.fpt-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.fpt-footer__list a { font-size: 17px; font-weight: 500; }

/* FPT journey */
.fpt-footer__journey { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.fpt-footer__app {
  display: flex; flex-direction: column; gap: 2px;
  padding-left: 14px; border-left: 4px solid transparent;
}
.fpt-footer__app-name { font-size: 18px; font-weight: 800; color: #FFFFFF; }
.fpt-footer__app-url { font-size: 15px; color: rgba(255, 255, 255, 0.82); }
.fpt-footer__app:hover .fpt-footer__app-name { text-decoration: underline; }
.fpt-footer__app--academy { border-left-color: #FFFFFF; }
.fpt-footer__app--academy .fpt-footer__app-url { color: #B9DE95; font-weight: 600; }
.fpt-footer__app--audit { border-left-color: #24386B; }
.fpt-footer__app--learn { border-left-color: #076DA4; }
.fpt-footer__app--work  { border-left-color: #619B30; }
.fpt-footer__app--exam  { border-left-color: #3E0617; }
.fpt-footer__journey-note { margin: 20px 0 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.75); }

/* Contact */
.fpt-footer__contact { display: flex; flex-direction: column; gap: 14px; }
.fpt-footer__label { font-size: 16px; color: rgba(255, 255, 255, 0.82); }
.fpt-footer__phone { font-size: 34px; font-weight: 800; letter-spacing: -0.01em; color: #D4AF37 !important; }
.fpt-footer__contact-link { font-size: 17px; font-weight: 600; }
.fpt-footer__contact-link:first-of-type { margin-top: 10px; }

/* Bottom row */
.fpt-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.fpt-footer__bottom-inner {
  max-width: 1240px; margin: 0 auto; padding: 18px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
}
.fpt-footer__copy { font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.fpt-footer__social { display: flex; flex-wrap: wrap; gap: 8px; }
.fpt-footer__social a {
  font-size: 13px; font-weight: 600; padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px;
}
.fpt-footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.fpt-footer__legal a { font-size: 14px; text-decoration: underline; }

/* Tablet */
@media (max-width: 1024px) {
  .fpt-footer__main { grid-template-columns: 1fr 1fr; }
}
/* Mobile */
@media (max-width: 640px) {
  .fpt-footer__main { grid-template-columns: 1fr; padding: 44px 20px 36px; gap: 36px; }
  .fpt-footer__phone { font-size: 30px; }
  .fpt-footer__bottom-inner { padding: 18px 20px; flex-direction: column; align-items: flex-start; }
}

/* Overrides so older generic footer rules do not leak in */
body footer.fpt-footer { background: #7A0F2E !important; color: #FFFFFF; padding: 0; }
body footer.fpt-footer a { color: #FFFFFF; }
body footer.fpt-footer a:hover { color: #F3E7C2; }
body footer.fpt-footer .fpt-footer__phone { color: #D4AF37 !important; }
body footer.fpt-footer .fpt-footer__app-url { color: rgba(255, 255, 255, 0.82); }
body footer.fpt-footer .fpt-footer__app--academy .fpt-footer__app-url { color: #B9DE95; }
.fpt-footer__main > * { min-width: 0; }
.fpt-footer__heading { font-family: inherit; }
/* Keep floating accessibility and chat buttons clear of the footer text */
.fpt-footer { position: relative; z-index: 1; }
.fpt-footer__bottom-inner { padding-right: 96px; }
@media (max-width: 640px) { .fpt-footer__bottom-inner { padding-right: 20px; } .fpt-footer { padding-bottom: 76px; } }
