:root {
  --chrome-navy: #062b5c;
  --chrome-gold: #d8a33b;
  --chrome-ink: #152842;
  --chrome-muted: #637084;
  --chrome-line: #e4e9f0;
  --chrome-radius: 12px;
  --chrome-shell: min(1180px, calc(100% - 48px));
  --chrome-display: "Montserrat", sans-serif;
}

.shell { width: var(--chrome-shell); margin-inline: auto; }

body > .site-header.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: 84px;
  color: var(--chrome-ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, .3), transparent);
  border-bottom: 1px solid transparent;
  transition: transform .34s cubic-bezier(.22, 1, .36, 1), background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

body > .site-header.site-header.is-scrolled {
  color: var(--chrome-ink);
  background: rgba(255, 255, 255, .96);
  border-bottom-color: rgba(6, 43, 92, .1);
  box-shadow: 0 10px 30px rgba(6, 43, 92, .1);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

body > .site-header.site-header.is-hidden { transform: translateY(-110%); }
body > .site-header.site-header .header-inner { display: flex; align-items: center; height: 100%; gap: 38px; }
body > .site-header.site-header .brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
body > .site-header.site-header .brand-logo { flex: 0 0 auto; width: 55px; height: 55px; object-fit: contain; filter: drop-shadow(0 5px 10px rgba(3, 31, 69, .12)); }
body > .site-header.site-header .brand-type strong { display: block; color: var(--chrome-navy); font-family: var(--chrome-display); font-size: 1.28rem; line-height: 1; letter-spacing: -.025em; }
body > .site-header.site-header .brand-type small { display: block; margin-top: 6px; color: var(--chrome-muted); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
body > .site-header.site-header .site-nav { display: flex; align-items: stretch; justify-content: center; height: 100%; gap: clamp(18px, 2.3vw, 34px); margin-left: auto; }
body > .site-header.site-header .site-nav a { position: relative; display: flex; align-items: center; height: 100%; padding: 0; color: #263750; border: 0; font-size: .75rem; font-weight: 700; letter-spacing: normal; text-transform: uppercase; white-space: nowrap; }
body > .site-header.site-header .site-nav a::after { position: absolute; right: 0; bottom: 21px; left: 0; display: block; height: 2px; content: ""; background: var(--chrome-gold); transform: scaleX(0); transition: transform .2s ease; }
body > .site-header.site-header .site-nav a:hover::after,
body > .site-header.site-header .site-nav a.active::after { transform: scaleX(1); }
body > .site-header.site-header .header-cta { display: inline-flex; align-items: center; gap: 8px; min-width: 0; min-height: 0; padding: 13px 18px; color: #fff; background: var(--chrome-navy); border: 0; border-radius: 4px; font-size: .75rem; font-weight: 700; letter-spacing: normal; text-transform: uppercase; white-space: nowrap; }
body > .site-header.site-header .language-switcher { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(6, 43, 92, .16); border-radius: 999px; background: rgba(255, 255, 255, .72); }
body > .site-header.site-header .language-switcher a { display: inline-flex; min-width: 31px; height: 27px; align-items: center; justify-content: center; padding: 0 7px; color: var(--chrome-muted); border-radius: 999px; font-size: .63rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; transition: color .18s ease, background-color .18s ease, transform .18s ease; }
body > .site-header.site-header .language-switcher a:hover { color: var(--chrome-navy); transform: translateY(-1px); }
body > .site-header.site-header .language-switcher a.is-active { color: #fff; background: var(--chrome-navy); }
body > .site-header.site-header .menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; color: var(--chrome-navy); background: transparent; border: 0; }
body > .site-header.site-header .menu-toggle span,
body > .site-header.site-header .menu-toggle::before,
body > .site-header.site-header .menu-toggle::after { display: block; width: 25px; height: 2px; margin: 5px auto; content: ""; background: currentColor; transition: .2s; }

/* Header layout guard: keep long translated labels from squeezing actions into
   zero-width boxes or pushing the locale control outside the viewport. */
body > .site-header.site-header .header-inner { gap: clamp(16px, 1.8vw, 26px); }
body > .site-header.site-header .brand { min-width: 0; flex: 1 1 auto; }
body > .site-header.site-header .brand-type { min-width: 0; }
body > .site-header.site-header .brand-type small { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body > .site-header.site-header .site-nav { flex: 0 1 auto; gap: clamp(12px, 1.5vw, 22px); margin-left: 0; }
body > .site-header.site-header .site-nav a { font-size: clamp(.64rem, .72vw, .75rem); }
body > .site-header.site-header .header-cta { flex: 0 0 auto; min-width: 152px; justify-content: center; padding-inline: 14px; font-size: .67rem; }
body > .site-header.site-header .language-switcher { flex: 0 0 auto; }

/* Keep public-facing calls to action crisp and consistently refined. */
.button,
.profile-cta-button,
.cap-button,
.activity-button,
.guarantee-cta { border-radius: 4px; }

body > .footer.footer { color: #c8d2df; background: #052650; }

/* Contact CTA footer: a focused final invitation before the navigation links. */
body > .footer.footer .footer-contact-cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 0%, rgba(31, 103, 178, .22), transparent 42%),
    linear-gradient(115deg, #052650 0%, #07356b 52%, #052650 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
body > .footer.footer .footer-contact-cta::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .28;
  background-image: linear-gradient(115deg, transparent 0 49.7%, rgba(216, 163, 59, .18) 50%, transparent 50.3%);
  background-size: 430px 100%;
}
body > .footer.footer .footer-contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 5vw, 76px);
  padding: 54px 0 48px;
}
body > .footer.footer .footer-contact-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(24px, 4vw, 62px);
  border-right: 1px solid rgba(255, 255, 255, .22);
}
body > .footer.footer .footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 0 0 28px;
}
body > .footer.footer .footer-brand-lockup img { width: 54px; height: 54px; object-fit: contain; }
body > .footer.footer .footer-brand-lockup strong {
  display: block;
  color: #fff;
  font-family: var(--chrome-display);
  font-size: 1.18rem;
  line-height: 1;
  letter-spacing: -.025em;
}
body > .footer.footer .footer-brand-lockup small {
  display: block;
  max-width: 190px;
  margin-top: 6px;
  color: #aabbd0;
  font-size: .63rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .05em;
  text-transform: uppercase;
}
body > .footer.footer .footer-contact-kicker {
  margin: 0 0 15px;
  color: #f2b63f;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
body > .footer.footer .footer-contact-title {
  max-width: 560px;
  margin: 0;
  color: #fff;
  font-family: var(--chrome-display);
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -.035em;
  text-wrap: balance;
}
body > .footer.footer .footer-contact-lead {
  max-width: 480px;
  margin: 18px 0 23px;
  color: #c8d8ea;
  font-size: .85rem;
  line-height: 1.7;
}
body > .footer.footer .footer-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
body > .footer.footer .footer-contact-actions a,
body > .footer.footer .footer-contact-submit {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform 170ms var(--motion-ease), background-color 170ms var(--motion-ease), border-color 170ms var(--motion-ease), box-shadow 170ms var(--motion-ease);
}
body > .footer.footer .footer-contact-actions .is-primary,
body > .footer.footer .footer-contact-submit { color: #162b46; background: #f5a623; }
body > .footer.footer .footer-contact-actions .is-secondary { color: #fff; border-color: rgba(255, 255, 255, .46); background: rgba(255, 255, 255, .04); }
body > .footer.footer .footer-contact-actions a:hover,
body > .footer.footer .footer-contact-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .18); }
body > .footer.footer .footer-contact-actions .is-secondary:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
body > .footer.footer .footer-contact-lines { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 31px; }
body > .footer.footer .footer-contact-line { display: inline-flex; align-items: center; gap: 9px; color: #e5edf6; font-size: .78rem; }
body > .footer.footer .footer-contact-line svg { flex: 0 0 auto; width: 18px; height: 18px; color: #f2b63f; }
body > .footer.footer .footer-contact-form-wrap { min-width: 0; }
body > .footer.footer .footer-contact-form-title {
  margin: 0 0 17px;
  color: #f2b63f;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
body > .footer.footer .footer-contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
body > .footer.footer .footer-contact-field { min-width: 0; }
body > .footer.footer .footer-contact-field--wide { grid-column: 1 / -1; }
body > .footer.footer .footer-contact-field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body > .footer.footer .footer-contact-field :is(input, textarea) {
  display: block;
  width: 100%;
  min-height: 39px;
  padding: 10px 13px;
  color: #1b2d45;
  background: #f8fbff;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 7px;
  font: inherit;
  font-size: .76rem;
  outline: none;
  transition: border-color 170ms ease, box-shadow 170ms ease, background-color 170ms ease;
}
body > .footer.footer .footer-contact-field textarea { min-height: 78px; resize: vertical; }
body > .footer.footer .footer-contact-field :is(input, textarea)::placeholder { color: #596a80; opacity: 1; }
body > .footer.footer .footer-contact-field :is(input, textarea):focus { background: #fff; border-color: #f2b63f; box-shadow: 0 0 0 3px rgba(242, 182, 63, .2); }
body > .footer.footer .footer-contact-form-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 12px; }
body > .footer.footer .footer-contact-submit { min-width: 174px; border: 0; cursor: pointer; }
body > .footer.footer .footer-contact-status { display: inline-flex; align-items: center; gap: 8px; color: #c8d8ea; font-size: .7rem; line-height: 1.4; }
body > .footer.footer .footer-contact-status::before { width: 8px; height: 8px; content: ""; background: #f2b63f; border-radius: 50%; box-shadow: 0 0 0 4px rgba(242, 182, 63, .15); }
body > .footer.footer .footer-contact-status.is-sent { color: #fff; }

body > .footer.footer .footer-main { display: grid; grid-template-columns: 1.65fr .8fr .95fr .8fr 1.45fr; gap: 40px; padding: 50px 0 42px; }
/* The compact navigation footer is merged into the CTA above. */
body > .footer.footer > .footer-main { display: none; }
body > .footer.footer .brand { display: flex; align-items: center; gap: 12px; }
body > .footer.footer .brand-logo { flex: 0 0 auto; width: 55px; height: 55px; object-fit: contain; }
body > .footer.footer .brand-type strong { display: block; color: #fff; font-family: var(--chrome-display); font-size: 1.28rem; line-height: 1; letter-spacing: -.025em; }
body > .footer.footer .brand-type small { display: block; margin-top: 6px; color: #9eacc0; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
body > .footer.footer .footer-intro p { max-width: 260px; margin: 18px 0 0; color: #c8d2df; font-size: .75rem; line-height: 1.75; }
body > .footer.footer h3 { margin: 7px 0 17px; color: #fff; font-family: inherit; font-size: .75rem; text-transform: uppercase; }
body > .footer.footer ul { margin: 0; padding: 0; list-style: none; }
body > .footer.footer li,
body > .footer.footer .footer-address p { margin: 0 0 10px; color: #c8d2df; font-size: .75rem; line-height: 1.6; }
body > .footer.footer a { color: inherit; text-decoration: none; }
body > .footer.footer a:hover { color: #fff; }
body > .footer.footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .11); }
body > .footer.footer .footer-bottom-inner { display: flex; justify-content: space-between; gap: 30px; padding: 17px 0 20px; color: #94a5bb; font-size: .75rem; }
body > .footer.footer .footer-policy { display: flex; gap: 24px; }

/* Keep section backgrounds full bleed while giving desktop content a calmer editorial width. */
@media (min-width: 1100px) {
  main > section:not(.page-hero):not(.profile-hero):not(.activity-hero):not(.cap-project-hero) > :is(.shell, .activity-shell, .cap-shell),
  main > .article-detail > .shell {
    width: 80vw;
  }
}

@media (max-width: 1050px) {
  body > .site-header.site-header .site-nav { gap: 15px; }
  body > .site-header.site-header .header-inner { gap: 20px; }
  body > .site-header.site-header .header-cta { padding-inline: 12px; }
  body > .site-header.site-header .language-switcher a { min-width: 28px; padding-inline: 5px; }
}

@media (max-width: 880px) {
  :root { --chrome-shell: min(100% - 34px, 720px); }
  body > .site-header.site-header { height: 72px; }
  body > .site-header.site-header .brand-logo { width: 46px; height: 46px; }
  body > .site-header.site-header .brand-type strong { font-size: 1.05rem; }
  body > .site-header.site-header .brand-type small { font-size: .75rem; }
  body > .site-header.site-header .site-nav { position: fixed; inset: 72px 0 auto; display: grid; align-content: start; height: calc(100vh - 72px); padding: 30px 24px; color: var(--chrome-ink); background: #fff; transform: translateX(100%); transition: transform .25s ease; }
  body > .site-header.site-header .site-nav.is-open { transform: translateX(0); }
  body > .site-header.site-header .site-nav a { display: block; height: auto; padding: 14px 0; color: #263750; font-size: .8rem; border-bottom: 1px solid var(--chrome-line); }
  body > .site-header.site-header .site-nav a::after { display: none; }
  body > .site-header.site-header .header-cta { display: none; }
  body > .site-header.site-header .language-switcher { margin-left: auto; margin-right: 4px; }
  body > .site-header.site-header .menu-toggle { display: block; }
  body > .site-header.site-header .menu-toggle.is-open span { opacity: 0; }
  body > .site-header.site-header .menu-toggle.is-open::before { transform: translateY(7px) rotate(45deg); }
  body > .site-header.site-header .menu-toggle.is-open::after { transform: translateY(-7px) rotate(-45deg); }
  body > .footer.footer .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  body > .footer.footer .footer-address { grid-column: 2 / 4; }
  body > .footer.footer .footer-contact-grid { grid-template-columns: 1fr; gap: 34px; }
  body > .footer.footer .footer-contact-copy { padding-right: 0; padding-bottom: 30px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .22); }
}

/* Tablet and narrow desktop: use the same stable drawer navigation as mobile
   before the full navigation has a chance to collide with translated labels. */
@media (max-width: 1199px) {
  body > .site-header.site-header { height: 72px; }
  body > .site-header.site-header .header-inner { gap: 8px; }
  body > .site-header.site-header .brand-logo { width: 46px; height: 46px; }
  body > .site-header.site-header .brand-type strong { font-size: 1.05rem; }
  body > .site-header.site-header .brand-type small { max-width: 190px; font-size: .62rem; }
  body > .site-header.site-header .site-nav { position: fixed; inset: 72px 0 auto; display: grid; align-content: start; width: 100%; height: calc(100dvh - 72px); padding: 30px 24px; color: var(--chrome-ink); background: #fff; transform: translateX(100%); transition: transform .25s ease; }
  body > .site-header.site-header .site-nav.is-open { transform: translateX(0); }
  body > .site-header.site-header .site-nav a { display: block; height: auto; padding: 14px 0; color: #263750; font-size: .8rem; border-bottom: 1px solid var(--chrome-line); }
  body > .site-header.site-header .site-nav a::after { display: none; }
  body > .site-header.site-header .header-cta { display: none; }
  body > .site-header.site-header .language-switcher { margin-left: auto; margin-right: 2px; }
  body > .site-header.site-header .menu-toggle { display: block; flex: 0 0 44px; margin-left: 0; }
}

@media (max-width: 600px) {
  body > .site-header.site-header .brand-type small { display: none; }
  body > .site-header.site-header .language-switcher a { min-width: 28px; padding-inline: 5px; }
}

/* Subpages keep the navigation as a distinct white bar above their banners. */
body:not([data-cms-page="home"]) > .site-header.site-header,
body:not([data-cms-page="home"]) > .site-header.site-header.is-scrolled {
  position: sticky;
  color: var(--chrome-ink);
  background: #fff;
  border-bottom-color: rgba(6, 43, 92, .1);
  box-shadow: 0 7px 22px rgba(6, 43, 92, .08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.about-page main > .profile-hero { padding-top: 0; }
body.activity-page main > .activity-hero .activity-hero__content,
body.cap-project-page main > .cap-project-hero .cap-project-hero__content { padding-top: 0; }

/* Subpage banners do not use the floating gold motion signature. */
body:not([data-cms-page="home"]) main > :is(.profile-hero, .activity-hero, .cap-project-hero, .page-hero) .motion-signature::after {
  display: none !important;
  content: none !important;
}

@media (max-width: 600px) {
  :root { --chrome-shell: calc(100% - 30px); }
  body > .footer.footer .footer-main { grid-template-columns: 1fr 1fr; gap: 32px 22px; }
  body > .footer.footer .footer-intro,
  body > .footer.footer .footer-address { grid-column: 1 / -1; }
  body > .footer.footer .footer-bottom-inner { align-items: flex-start; flex-direction: column; }
  body > .footer.footer .footer-policy { flex-wrap: wrap; }
  body > .footer.footer .footer-contact-grid { padding: 42px 0 38px; }
  body > .footer.footer .footer-contact-title { font-size: clamp(1.45rem, 7vw, 2rem); }
  body > .footer.footer .footer-contact-actions { display: grid; grid-template-columns: 1fr; }
  body > .footer.footer .footer-contact-actions a { width: 100%; }
  body > .footer.footer .footer-contact-form { grid-template-columns: 1fr; }
  body > .footer.footer .footer-contact-field--wide { grid-column: auto; }
  body > .footer.footer .footer-contact-form-bottom { align-items: stretch; flex-direction: column; }
  body > .footer.footer .footer-contact-submit { width: 100%; }
}

/* One restrained corner treatment across every public page. */
body main :is(
  [class$="-card"],
  [class*="-card "],
  [class~="card"],
  [class$="-panel"],
  [class*="-panel "],
  .stats,
  .stat,
  .strength,
  .partner-logo,
  .profile-benefit,
  .profile-cover,
  .image-block,
  .golf-feature,
  .other-projects,
  .metro-project,
  .portfolio-tabs,
  .quality-quote,
  .capital-block,
  .bank-list article,
  .partner-row span,
  .legal-table,
  .equipment-item,
  .people-stat,
  .org-node,
  .news-feature,
  .build-layout,
  .request-form,
  .article-aside
),
body > .footer.footer .footer-address {
  border-radius: var(--chrome-radius) !important;
}

body main :is(
  [class$="-card"],
  [class*="-card "],
  [class~="card"],
  .profile-benefit,
  .profile-cover,
  .image-block,
  .golf-feature,
  .other-projects,
  .metro-project,
  .news-feature,
  .build-layout
) {
  overflow: hidden;
}

body main img:not(.brand-logo) { border-radius: var(--chrome-radius) !important; }

/* Full-bleed banners stay edge-to-edge; their content imagery is rounded elsewhere. */
body main :is(.hero-media, .page-hero, .profile-hero, .activity-hero, .cap-project-hero, .contact-cta, .cap-final-cta) > img,
body main :is([class$="-card"], [class*="-card "], [class~="card"], .image-block, .profile-cover, .golf-feature, .metro-project) img {
  border-radius: 0 !important;
}

body :is(
  .header-cta,
  .primary-btn,
  .button,
  .profile-cta-button,
  .cap-button,
  .activity-button,
  .guarantee-cta,
  .cta-button,
  .form-submit,
  .footer-contact-button,
  .request-form button,
  .golf-feature > a,
  .footer-contact-actions a,
  .footer-contact-submit,
  input,
  select,
  textarea
) {
  border-radius: var(--chrome-radius) !important;
}

/* Persistent quick-contact rail shared by the homepage and every subpage. */
.floating-actions {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 950;
  display: grid;
  gap: 6px;
}
.floating-actions__link {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--chrome-navy);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  box-shadow: 0 9px 24px rgba(5, 35, 72, .2);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.floating-actions__link::before {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  width: max-content;
  max-width: 190px;
  padding: 7px 10px;
  pointer-events: none;
  content: attr(data-label);
  color: #fff;
  background: #102d50;
  border-radius: 7px;
  box-shadow: 0 7px 18px rgba(5, 35, 72, .18);
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  opacity: 0;
  transform: translate(7px, -50%);
  transition: opacity 160ms ease, transform 160ms ease;
}
.floating-actions__link svg { width: 18px; height: 18px; }
.floating-actions__link span { font-size: .58rem; font-weight: 800; letter-spacing: -.04em; }
.floating-actions__link[data-floating-action="phone"] { color: #142e4d; background: #f2b63f; }
.floating-actions__link[data-floating-action="facebook"] { background: #1877f2; }
.floating-actions__link[data-floating-action="zalo"] {
  background: #0068ff;
  will-change: box-shadow;
  animation: floating-zalo-glow 1.9s ease-in-out infinite;
}
.floating-actions__link[data-floating-action="zalo"]::after {
  position: absolute;
  inset: -5px;
  pointer-events: none;
  content: "";
  border: 2px solid rgba(0, 104, 255, .7);
  border-radius: 50%;
  will-change: opacity, transform;
  animation: floating-zalo-ring 1.9s cubic-bezier(.2, .7, .2, 1) infinite;
}
.floating-actions__link[data-floating-action="zalo"] span {
  display: inline-block;
  will-change: transform;
  animation: floating-zalo-mark 1.9s ease-in-out infinite;
}
.floating-actions__link[data-floating-action="wechat"] { background: #07c160; }

@keyframes floating-zalo-ring {
  0% { opacity: .15; transform: scale(.78); }
  38% { opacity: .85; }
  76%, 100% { opacity: 0; transform: scale(1.5); }
}
@keyframes floating-zalo-glow {
  0%, 100% { box-shadow: 0 7px 20px rgba(5, 35, 72, .2); }
  45% { box-shadow: 0 7px 30px rgba(0, 104, 255, .75); }
}
@keyframes floating-zalo-mark {
  0%, 28%, 72%, 100% { transform: scale(1) rotate(0); }
  39% { transform: scale(1.18) rotate(-7deg); }
  49% { transform: scale(.96) rotate(6deg); }
  59% { transform: scale(1.16) rotate(-4deg); }
}

@media (hover: hover) and (pointer: fine) {
  .floating-actions__link:hover { z-index: 1; filter: brightness(1.04); transform: translateX(-3px); box-shadow: 0 13px 28px rgba(5, 35, 72, .25); }
  .floating-actions__link:hover::before { opacity: 1; transform: translate(0, -50%); }
}

@media (max-width: 600px) {
  .floating-actions { right: max(9px, env(safe-area-inset-right)); bottom: max(11px, env(safe-area-inset-bottom)); gap: 5px; }
  .floating-actions__link { width: 34px; height: 34px; }
  .floating-actions__link svg { width: 17px; height: 17px; }
  .floating-actions__link::before { display: none; }
}

@media print { .floating-actions { display: none !important; } }

/* Homepage typography is the single source of truth for all public subpages. */
body:not([data-cms-page="home"]) {
  --display: var(--chrome-display);
  --body: "Be Vietnam Pro", sans-serif;
  --activity-display: var(--chrome-display);
  --activity-body: var(--body);
  --cp-display: var(--chrome-display);
  --cp-body: var(--body);
  --profile-display: var(--chrome-display);
  --profile-body: var(--body);
  font-family: var(--body) !important;
}

body:not([data-cms-page="home"]) :is(
  .page-hero h1,
  .profile-hero h1,
  .activity-hero h1,
  .cap-project-hero h1,
  .article-title
) {
  font-family: var(--chrome-display) !important;
  font-size: clamp(1.87rem, 2.93vw, 2.93rem) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -.04em !important;
}

body:not([data-cms-page="home"]) :is(
  .section-title,
  .profile-section__head h2,
  .section-heading h2,
  .news-feature h2,
  .article-related-heading h2
) {
  font-family: var(--chrome-display) !important;
  font-size: clamp(1.48rem, 2.35vw, 2.25rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
}

body:not([data-cms-page="home"]) :is(
  .section-copy,
  .profile-section__head > p,
  .section-heading p
) {
  font-family: var(--body) !important;
  font-size: .94rem !important;
  line-height: 1.9 !important;
}

body:not([data-cms-page="home"]) :is(
  .value-card h3,
  .timeline-item h3,
  .mission-card h3,
  .org-node h3,
  .leader-info h3,
  .capability-card h3,
  .equipment-profile-card h3,
  .project-profile-card h3,
  .other-projects h3,
  .news-card h3,
  .article-related-card h3
) {
  font-family: var(--body) !important;
}

@media (max-width: 600px) {
  body:not([data-cms-page="home"]) :is(
    .page-hero h1,
    .profile-hero h1,
    .activity-hero h1,
    .cap-project-hero h1,
    .article-title
  ) { font-size: clamp(1.46rem, 6.7vw, 1.7rem) !important; }
  body:not([data-cms-page="home"]) :is(
    .section-title,
    .profile-section__head h2,
    .section-heading h2,
    .news-feature h2,
    .article-related-heading h2
  ) { font-size: 1.48rem !important; }
}
