/* ==========================================================================
   GoTRUST homepage rebuild
   Spec: gotrust-ai-rebuild-section-zlayer-spec.md
   Tokens: domains/brand-assets/colors.md  (#149DD6 / #26AB88)
   Buttons/radius follow section spec (8px), not brandkit pill.
   ========================================================================== */

:root {
  --gt-blue: #149DD6;
  --gt-blue-deep: #0E7FB0;
  --gt-green: #26AB88;
  --gt-gradient: linear-gradient(135deg, #149DD6 0%, #26AB88 100%);
  --gt-gradient-band: linear-gradient(90deg, #149DD6 0%, #26AB88 100%);
  --gt-navy: #0B2540;
  --gt-heading: #0F2942;
  --gt-body: #2D3748;
  --gt-muted: #4A5568;
  --gt-light: #718096;
  --gt-border: #E6EDF5;
  --gt-border-strong: #D5E2EF;
  --gt-bg: #FFFFFF;
  --gt-bg-soft: #F6F9FD;
  --gt-bg-trust: #F5F9FF;
  --gt-hero-tint: #F3F8FF;
  --gt-footer: #061A34;
  --gt-white: #FFFFFF;

  --max: 1240px;
  --gutter: 24px;
  --radius: 12px;
  --radius-sm: 10px;
  --radius-media: 16px;
  --btn-radius: 8px;

  --shadow-xs: 0 1px 2px rgba(15, 41, 66, .04);
  --shadow-sm: 0 8px 30px rgba(15, 45, 90, .08);
  --shadow-card: 0 4px 18px rgba(15, 45, 90, .05);

  --font: "Plus Jakarta Sans", sans-serif;
  --nav-font: Montserrat, sans-serif;

  --z0: 0;
  --z1: 1;
  --z2: 2;
  --z3: 3;
  --z4: 4;
  --z5: 5;
  --z6: 6;

  --ease: cubic-bezier(.16, .84, .44, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gt-body);
  background: var(--gt-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--gt-heading); letter-spacing: -.02em; }
h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); line-height: 1.08; font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; font-weight: 700; }
h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 600; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 64px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gt-blue);
  margin-bottom: 16px;
}
.lead { font-size: 18px; line-height: 1.6; color: var(--gt-muted); }
.muted { color: var(--gt-muted); }
.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sec-head p { margin-top: 12px; color: var(--gt-muted); }
.sec-head h2 { position: relative; display: inline-block; }
.sec-head h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: var(--gt-gradient-band);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--btn-radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), filter .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary {
  background: var(--gt-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px -10px rgba(20, 157, 214, .55);
}
.btn--primary:hover { filter: brightness(.94); }
.btn--secondary {
  background: #fff;
  color: var(--gt-blue);
  border-color: var(--gt-border-strong);
}
.btn--secondary:hover { border-color: var(--gt-green); color: var(--gt-green); }
.btn--ghost-light {
  background: #fff;
  color: var(--gt-navy);
  border-color: transparent;
}
.btn--ghost-light:hover { background: #f3f8ff; }
.btn--on-dark {
  background: #fff;
  color: var(--gt-navy);
}
.btn--on-dark:hover { background: #f3f8ff; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  background: #fff;
  border-bottom: 1px solid transparent;
  overflow: visible;
}
.header.is-stuck {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--gt-border);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 36px; width: auto; max-width: 180px; }
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gt-navy);
}
.nav > a, .nav .nav-item > button {
  padding: 8px 12px;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  position: relative;
}
.nav > a:hover, .nav .nav-item > button:hover { color: var(--gt-blue); }
.nav > a.is-active::after,
.nav .nav-item.is-open > button::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  background: var(--gt-gradient-band);
  border-radius: 1px;
}
.nav-item { position: relative; }
.nav-item > button { display: inline-flex; align-items: center; gap: 4px; }
.caret { width: 12px; height: 12px; opacity: .7; }
.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--gt-border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 8px;
  display: none;
  z-index: 20;
}
.nav-item.is-open .mega { display: block; }
.mega a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}
.mega a:hover { background: var(--gt-hero-tint); color: var(--gt-blue); }
.header-cta { margin-left: 12px; flex-shrink: 0; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--gt-border-strong);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 2;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: var(--gt-navy);
  border-radius: 1px;
}
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    position: absolute;
    top: 17px;
    right: 20px;
    z-index: 60;
  }
}


/* Hero */
.hero {
  position: relative;
  padding: 96px 0 108px;
  overflow: hidden;
}
.hero .z0 {
  position: absolute; inset: 0; z-index: var(--z0);
  background: linear-gradient(90deg, #fff 0%, #fff 42%, #F3F8FF 100%);
}
.hero .z1 {
  position: absolute; inset: 0; z-index: var(--z1); pointer-events: none;
  background: radial-gradient(circle at 72% 48%, rgba(20,157,214,.14), rgba(38,171,136,.06) 42%, transparent 68%);
}
.hero .container {
  position: relative;
  z-index: var(--z5);
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 40px;
  align-items: center;
}
.hero-copy h1 { margin-bottom: 20px; max-width: 11em; }
.hero-copy .lead { max-width: 520px; margin-bottom: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-eco {
  position: relative;
  min-height: 520px;
}
.hero-graphic {
  position: absolute;
  inset: 0;
  z-index: var(--z2);
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: var(--z4);
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--gt-border);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
}
.hero-core img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: 50% 18%;
}
.hero-media {
  position: absolute;
  z-index: var(--z4);
  width: 198px;
  background: #fff;
  border-radius: var(--radius-media);
  border: 1px solid var(--gt-border);
  box-shadow: var(--shadow-sm);
  padding: 6px;
}
.hero-media img {
  width: 100%;
  height: 124px;
  object-fit: cover;
  border-radius: 12px;
}
.hero-media figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gt-navy);
}
.hero-media figcaption .ic {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: grid; place-items: center;
  background: #E8F6FC;
  color: var(--gt-blue);
}
.hero-media figcaption .ic svg { width: 14px; height: 14px; }
.m-edu { top: 8px; left: 6%; }
.m-health { top: 8px; right: 4%; }
.m-civic { bottom: 18px; left: 4%; }
.m-finance { bottom: 18px; right: 2%; }

/* Domains */
.domains { padding: 108px 0; background: #fff; }
.domain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.domain-card {
  background: #fff;
  border: 1px solid var(--gt-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.domain-card:hover { border-color: #B9E0F3; transform: translateY(-2px); }
.domain-card .media { overflow: hidden; height: 188px; }
.domain-card .media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .22s var(--ease);
}
.domain-card:hover .media img { transform: scale(1.02); }
.domain-card .body { padding: 24px 24px 22px; }
.domain-card .icon-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.domain-card .icon-row .ic {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: #E8F6FC; color: var(--gt-blue);
}
.domain-card .icon-row .ic svg { width: 20px; height: 20px; }
.domain-card h3 { margin-bottom: 8px; }
.domain-card p { color: var(--gt-muted); font-size: 15px; margin-bottom: 16px; }
.link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gt-blue); font-weight: 600; font-size: 14.5px;
}
.domain-card:hover .link svg { transform: translateX(4px); }
.link svg { width: 16px; height: 16px; transition: transform .18s var(--ease); }

/* Capabilities */
.capabilities {
  position: relative;
  padding: 108px 0;
  background: var(--gt-bg-soft);
  overflow: hidden;
}
.capabilities .z1 {
  position: absolute; inset: 0; z-index: var(--z1); pointer-events: none;
  background: radial-gradient(circle at 68% 50%, rgba(20,157,214,.08), transparent 55%);
}
.capabilities .z2 {
  position: absolute; inset: 0; z-index: var(--z2); pointer-events: none;
  background-image:
    linear-gradient(rgba(20,157,214,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,157,214,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .7;
  mask-image: radial-gradient(circle at 70% 50%, #000 20%, transparent 75%);
}
.capabilities .container {
  position: relative; z-index: var(--z5);
  display: grid;
  grid-template-columns: 34% 1fr;
  gap: 56px;
  align-items: center;
}
.cap-copy p { margin: 16px 0 28px; color: var(--gt-muted); max-width: 380px; }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cap-card {
  background: #fff;
  border: 1px solid var(--gt-border);
  border-radius: var(--radius);
  min-height: 150px;
  padding: 24px 22px;
  transition: border-color .18s var(--ease);
}
.cap-card:hover { border-color: #B9E0F3; }
.cap-card .ic {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: #E8F6FC; color: var(--gt-blue);
  margin-bottom: 14px;
  transition: background .18s var(--ease);
}
.cap-card:hover .ic { background: #D5F0FA; }
.cap-card .ic svg { width: 22px; height: 22px; }
.cap-card h3 { font-size: 16px; font-weight: 600; line-height: 1.35; }

/* Impact */
.impact {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  color: #fff;
  background: var(--gt-gradient-band);
}
.impact .z2 {
  position: absolute; inset: 0; z-index: var(--z2); pointer-events: none;
  opacity: .12;
}
.impact .z2 img { width: 100%; height: 100%; object-fit: cover; }
.impact .z1 {
  position: absolute; inset: 0; z-index: var(--z1); pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.12), transparent 60%);
}
.impact .container { position: relative; z-index: var(--z5); }
.impact h2 { color: #fff; text-align: center; margin-bottom: 40px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.kpi {
  text-align: center;
  padding: 8px 16px;
}
.kpi + .kpi { border-left: 1px solid rgba(255,255,255,.18); }
.kpi .ic { margin: 0 auto 10px; width: 36px; height: 36px; color: #fff; }
.kpi .ic svg { width: 32px; height: 32px; }
.kpi .num { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.kpi .lbl { margin-top: 8px; font-size: 14px; opacity: .9; }

/* Projects */
.projects { padding: 108px 0; background: #fff; }
.projects .sec-head { margin-left: 0; text-align: left; max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.projects .sec-head > div { max-width: 640px; }
.projects .sec-head h2::after { margin-left: 0; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.project-card {
  border: 1px solid var(--gt-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-xs);
}
.project-card .media { height: 180px; overflow: hidden; }
.project-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .22s var(--ease); }
.project-card:hover .media img { transform: scale(1.02); }
.project-card .body { padding: 20px 22px 22px; }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gt-blue);
  background: #E8F6FC;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.project-card h3 { font-size: 18px; margin-bottom: 8px; }
.project-card p { font-size: 14.5px; color: var(--gt-muted); margin-bottom: 16px; }
.project-card:hover .link svg { transform: translateX(4px); }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: #D5E2EF; }
.dots span.is-on { background: var(--gt-gradient-band); width: 18px; border-radius: 8px; }

/* Partners */
.partners { padding: 88px 0; background: #fff; }
.partner-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 36px;
  margin-top: 8px;
}
.partner {
  height: 80px;
  min-width: 108px;
  padding: 8px 12px;
  display: grid;
  place-items: center;
  opacity: 1;
  transition: opacity .2s;
}
.partner img { max-height: 48px; max-width: 132px; width: auto; object-fit: contain; }
.partner--wide { min-width: 168px; }
.partner--wide img { max-width: 168px; max-height: 52px; }
.partner--word {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  color: #5A6A7A;
  filter: none;
  opacity: .72;
}

/* Trust */
.trust {
  position: relative;
  padding: 96px 0;
  background: var(--gt-bg-trust);
  overflow: hidden;
}
.trust .z1 {
  position: absolute; inset: 0; z-index: var(--z1); pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(20,157,214,.08), transparent 60%);
}
.trust-graphic {
  position: absolute; inset: 0; z-index: var(--z2); width: 100%; height: 100%;
  opacity: .05; pointer-events: none;
}
.trust .container { position: relative; z-index: var(--z5); }
.pillar-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.pillar { text-align: center; padding: 8px 6px; }
.pillar .ring {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 50%;
  border: 1px solid #C9E6F5;
  background: #fff;
  display: grid; place-items: center;
  color: var(--gt-blue);
  transition: border-color .18s, background .18s;
}
.pillar:hover .ring { border-color: var(--gt-blue); background: #E8F6FC; }
.pillar .ring svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 16px; margin-bottom: 8px; }
.pillar p { font-size: 13.5px; color: var(--gt-muted); }

/* CTA */
.inst-cta {
  position: relative;
  padding: 88px 0;
  overflow: hidden;
  background: var(--gt-gradient-band);
  color: #fff;
}
.inst-cta .z2 {
  position: absolute; inset: 0; z-index: var(--z2); pointer-events: none; opacity: .22;
}
.inst-cta .z2 img { width: 100%; height: 100%; object-fit: cover; }
.inst-cta .z1 {
  position: absolute; inset: 0; z-index: var(--z1); pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 37, 64, .22) 0%, transparent 55%);
}
.inst-cta .container {
  position: relative; z-index: var(--z5);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.inst-cta h2 { color: #fff; max-width: 640px; margin-bottom: 12px; }
.inst-cta p { max-width: 560px; opacity: .92; }

/* Footer */
.footer { background: var(--gt-footer); color: #C5D0DC; padding: 64px 0 0; }
.footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px 40px;
  padding-bottom: 40px;
}
.footer .brand img { height: 36px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; max-width: 280px; line-height: 1.6; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  display: grid; place-items: center;
  color: #fff;
}
.social a svg { width: 14px; height: 14px; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer li + li { margin-top: 8px; }
.footer a { font-size: 14px; color: #C5D0DC; }
.legal {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #8A99A8;
}
.legal-links { display: flex; gap: 20px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(10px); animation: reveal .6s var(--ease) forwards; }
.hero-copy.reveal { animation-delay: .05s; }
.hero-core { animation: fadein .5s .25s var(--ease) both; }
@keyframes reveal { to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.hero-graphic .ring { transform-origin: 300px 260px; animation: ringin .7s .35s var(--ease) both; }
@keyframes ringin { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.hero-media { animation: reveal .55s .55s var(--ease) both; }
.m-health { animation-delay: .65s; }
.m-civic { animation-delay: .75s; }
.m-finance { animation-delay: .85s; }

/* Responsive */
@media (max-width: 1199px) {
  .container { padding: 0 32px; }
  .hero .container { grid-template-columns: 42% 1fr; gap: 24px; }
  .hero-media { width: 168px; }
  .hero-media img { height: 104px; }
  .hero-eco { min-height: 460px; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-row { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .header .container { position: relative; justify-content: space-between; }
  .nav, .header-cta { display: none !important; }
  .nav.is-open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--gt-border);
    padding: 12px 24px 20px;
    gap: 4px;
    z-index: 40;
  }
  .mega { position: static; box-shadow: none; border: 0; display: block; }
  .hero { padding: 56px 0 72px; }
  .hero .container, .capabilities .container, .inst-cta .container {
    grid-template-columns: 1fr;
    display: grid;
  }
  .hero-eco { min-height: 420px; margin-top: 12px; }
  .domain-grid, .project-grid { grid-template-columns: 1fr 1fr; }
  .kpi-row { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .kpi + .kpi { border-left: 0; }
  .kpi:nth-child(2) { border-left: 1px solid rgba(255,255,255,.18); }
  .kpi:nth-child(4) { border-left: 1px solid rgba(255,255,255,.18); }
  .projects .sec-head { flex-direction: column; align-items: flex-start; }
  .domains, .capabilities, .projects { padding: 72px 0; }
}
@media (max-width: 767px) {
  .container { padding: 0 20px; }
  h1 { font-size: 2rem; }
  .cap-card { min-height: 0; }
  .hero-eco { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-graphic, .hero-core { display: none; }
  .hero-media {
    position: static; width: auto; animation: none;
  }
  .hero-media img { height: 110px; }
  .domain-grid, .project-grid, .cap-grid { grid-template-columns: 1fr; }
  .capabilities .container { gap: 32px; }
  .pillar-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .m-edu, .m-health, .m-civic, .m-finance { inset: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .header { position: static; }
  .hero, .capabilities, .trust, .inst-cta, .impact { break-inside: avoid; }
}

/* ===== 01.5 ABOUT (Về chúng tôi) ===== */
.about { padding: 96px 0; background: var(--gt-bg-soft); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-copy .eyebrow { margin-bottom: 14px; }
.about-copy h2 { color: var(--gt-heading); margin-bottom: 16px; }
.about-copy p { color: var(--gt-muted); margin-bottom: 16px; }
.about-copy .btn { margin-top: 8px; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value-card { display: flex; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--gt-border); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.value-card .ic { flex: none; width: 44px; height: 44px; border-radius: 10px; background: rgba(20,157,214,.10); color: var(--gt-blue); display: grid; place-items: center; }
.value-card .ic svg { width: 22px; height: 22px; }
.value-card b { display: block; color: var(--gt-heading); font-size: 15px; margin-bottom: 4px; }
.value-card span { color: var(--gt-muted); font-size: 13px; line-height: 1.5; }

/* ===== 05.5 NEWS (Tin tức) ===== */
.news { padding: 108px 0; background: #fff; }
.news .sec-head { margin-left: 0; text-align: left; max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.news .sec-head > div { max-width: 640px; }
.news .sec-head h2::after { margin-left: 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--gt-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.news-card .media { height: 180px; overflow: hidden; }
.news-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.news-card:hover .media img { transform: scale(1.04); }
.news-card .body { padding: 20px 22px 22px; }
.news-card h3 { font-size: 17px; line-height: 1.35; margin-bottom: 8px; color: var(--gt-heading); }
.news-card p { font-size: 14.5px; color: var(--gt-muted); margin-bottom: 16px; }
.news-card:hover .link svg { transform: translateX(4px); }

@media (max-width: 860px) {
  .about { padding: 72px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .news { padding: 72px 0; }
  .news .sec-head { flex-direction: column; align-items: flex-start; }
  .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .about-cards { grid-template-columns: 1fr; } }

/* ===== Hero nodes — icon bọc vòng tròn (thay card ảnh) ===== */
.hero-node { position: absolute; z-index: 4; width: 208px; }
.hero-node .node-ic { width: 60px; height: 60px; border-radius: 50%; background: #fff; border: 1px solid var(--gt-border-strong); box-shadow: 0 8px 22px rgba(15,45,90,.12); display: grid; place-items: center; color: var(--gt-blue); margin-bottom: 12px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.hero-node:hover .node-ic { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20,157,214,.22); }
.hero-node .node-ic svg { width: 27px; height: 27px; }
.hero-node .node-txt b { display: block; color: var(--gt-heading); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.hero-node .node-txt span { display: block; color: var(--gt-muted); font-size: 13px; line-height: 1.45; }
/* node phải: canh phải cho cân với orbit */
.m-health .node-ic, .m-finance .node-ic { margin-left: auto; }
.m-health .node-txt, .m-finance .node-txt { text-align: right; }
/* vị trí quanh orbit (gần điểm nối của SVG) */
.m-edu    { top: 18%;  left: -4%;  right: auto; bottom: auto; }
.m-health { top: 16%;  right: -6%; left: auto;  bottom: auto; }
.m-civic  { bottom: 12%; right: -8%; left: auto; top: auto; }
.m-finance{ bottom: 14%; left: -4%; right: auto; top: auto; }

@media (max-width: 767px) {
  .hero-eco { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .hero-graphic, .hero-core { display: none; }
  .hero-node { position: static; width: auto; }
  .m-health .node-ic, .m-finance .node-ic { margin-left: 0; }
  .m-health .node-txt, .m-finance .node-txt { text-align: left; }
}

/* ===== FIX: line nối đúng icon — hero-eco khớp aspect viewBox 600x520 ===== */
.hero-eco { width: 100%; max-width: 600px; height: auto; aspect-ratio: 600 / 520; min-height: 0; margin-left: auto; position: relative; }
.hero-node { position: absolute; width: 0; height: 0; z-index: 4; }
.hero-node .node-ic { position: absolute; top: 0; left: 0; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; background: #fff; border: 1px solid var(--gt-border-strong); box-shadow: 0 8px 22px rgba(15,45,90,.12); display: grid; place-items: center; color: var(--gt-blue); margin: 0; transition: box-shadow .25s var(--ease); }
.hero-node:hover .node-ic { box-shadow: 0 12px 28px rgba(20,157,214,.28); }
.hero-node .node-ic svg { width: 26px; height: 26px; }
.hero-node .node-txt { position: absolute; left: 50%; transform: translateX(-50%); width: 168px; text-align: center; }
.hero-node .node-txt b { display: block; color: var(--gt-heading); font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.hero-node .node-txt span { display: block; color: var(--gt-muted); font-size: 12.5px; line-height: 1.4; }
/* top-node: chữ phía trên icon · bottom-node: chữ phía dưới */
.m-edu .node-txt, .m-health .node-txt { bottom: 42px; }
.m-civic .node-txt, .m-finance .node-txt { top: 42px; }
/* tâm icon = điểm cuối line trong SVG (viewBox 600x520) */
.m-edu     { top: 22.5%; left: 15.83%; right: auto; bottom: auto; }
.m-health  { top: 22.5%; left: 84.17%; right: auto; bottom: auto; }
.m-civic   { top: 77.5%; left: 84.17%; right: auto; bottom: auto; }
.m-finance { top: 77.5%; left: 15.83%; right: auto; bottom: auto; }

@media (max-width: 767px) {
  .hero-eco { aspect-ratio: auto; max-width: none; height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .hero-graphic, .hero-core { display: none; }
  .hero-node { position: static; width: auto; height: auto; }
  .hero-node .node-ic { position: static; transform: none; margin-bottom: 10px; }
  .hero-node .node-txt { position: static; transform: none; width: auto; text-align: left; }
  .m-edu .node-txt, .m-health .node-txt { bottom: auto; }
  .m-civic .node-txt, .m-finance .node-txt { top: auto; }
}

/* ===== Hero graphic — animation loop (mượt, như lúc load) ===== */
.hero-graphic .hg-rot { transform-box: fill-box; transform-origin: center; animation: hg-spin 40s linear infinite; }
@keyframes hg-spin { to { transform: rotate(360deg); } }

.hero-graphic .hg-ping { transform-box: fill-box; transform-origin: center; opacity: 0; animation: hg-ping 3.6s cubic-bezier(.22,.61,.36,1) infinite; }
.hero-graphic .hg-ping--2 { animation-delay: 1.8s; }
@keyframes hg-ping { 0% { transform: scale(1); opacity: .55; } 70% { opacity: .12; } 100% { transform: scale(2.7); opacity: 0; } }

.hero-graphic .hg-pulse { stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0; animation: hg-draw 2.8s ease-in-out infinite; }
.hero-graphic .hg-pulse.p2 { animation-delay: .45s; }
.hero-graphic .hg-pulse.p3 { animation-delay: .9s; }
.hero-graphic .hg-pulse.p4 { animation-delay: 1.35s; }
@keyframes hg-draw { 0% { stroke-dashoffset: 100; opacity: 0; } 12% { opacity: 1; } 52% { stroke-dashoffset: 0; opacity: 1; } 72% { stroke-dashoffset: 0; opacity: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }

.hero-graphic .hg-dot { transform-box: fill-box; transform-origin: center; animation: hg-dot 2.6s ease-in-out infinite; }
.hero-graphic .hg-dot.d2 { animation-delay: .45s; }
.hero-graphic .hg-dot.d3 { animation-delay: .9s; }
.hero-graphic .hg-dot.d4 { animation-delay: 1.35s; }
@keyframes hg-dot { 0%, 100% { opacity: .45; transform: scale(1); } 50% { opacity: 1; transform: scale(1.6); } }

.hero-core { animation: hg-core 3.2s ease-in-out infinite; }
@keyframes hg-core { 0%, 100% { box-shadow: 0 0 0 rgba(20,157,214,0); } 50% { box-shadow: 0 0 34px rgba(20,157,214,.30); } }

@media (prefers-reduced-motion: reduce) {
  .hero-graphic .hg-rot, .hero-graphic .hg-ping, .hero-graphic .hg-pulse, .hero-graphic .hg-dot, .hero-core { animation: none; }
  .hero-graphic .hg-pulse { opacity: 0; }
}

/* ===== Hero motion v2 — 1 nhịp chủ 2.8s, sweep đều, có nhân-quả (override) ===== */
.hero-graphic .hg-rot { animation: hg-spin 52s linear infinite; }               /* ambient rất nhẹ */

/* ping: fade-in tránh pop, đồng bộ nhịp chủ (2.8s, 2 ping lệch nửa nhịp) */
.hero-graphic .hg-ping { animation: hg-ping 2.8s ease-out infinite; }
.hero-graphic .hg-ping--2 { animation-delay: 1.4s; }
@keyframes hg-ping { 0% { transform: scale(1); opacity: 0; } 14% { opacity: .5; } 100% { transform: scale(2.7); opacity: 0; } }

/* connector pulse: sweep đều 0.7s theo chiều kim đồng hồ, loop liền mạch */
.hero-graphic .hg-pulse { animation: hg-draw 2.8s ease-in-out infinite; }
.hero-graphic .hg-pulse.p2 { animation-delay: .7s; }
.hero-graphic .hg-pulse.p3 { animation-delay: 1.4s; }
.hero-graphic .hg-pulse.p4 { animation-delay: 2.1s; }
@keyframes hg-draw { 0% { stroke-dashoffset: 100; opacity: 0; } 8% { opacity: 1; } 42% { stroke-dashoffset: 0; opacity: 1; } 56% { stroke-dashoffset: 0; opacity: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* chấm neo: loé đúng lúc pulse RỜI đi (đầu chu kỳ) */
.hero-graphic .hg-dot { animation: hg-dot 2.8s ease-out infinite; }
.hero-graphic .hg-dot.d2 { animation-delay: .7s; }
.hero-graphic .hg-dot.d3 { animation-delay: 1.4s; }
.hero-graphic .hg-dot.d4 { animation-delay: 2.1s; }
@keyframes hg-dot { 0% { opacity: 1; transform: scale(1.7); } 24% { opacity: .5; transform: scale(1); } 100% { opacity: .5; transform: scale(1); } }

/* NHÂN-QUẢ: node sáng lên khi pulse chạm tới (~44% chu kỳ), cùng stagger */
.hero-node .node-ic { animation: hg-recv 2.8s ease-in-out infinite; }
.m-health .node-ic { animation-delay: .7s; }
.m-civic  .node-ic { animation-delay: 1.4s; }
.m-finance .node-ic { animation-delay: 2.1s; }
@keyframes hg-recv {
  0%, 32% { transform: translate(-50%,-50%) scale(1); border-color: var(--gt-border-strong); box-shadow: 0 8px 22px rgba(15,45,90,.12); }
  46% { transform: translate(-50%,-50%) scale(1.07); border-color: var(--gt-blue); box-shadow: 0 8px 22px rgba(15,45,90,.12), 0 0 0 7px rgba(20,157,214,.14); }
  70%, 100% { transform: translate(-50%,-50%) scale(1); border-color: var(--gt-border-strong); box-shadow: 0 8px 22px rgba(15,45,90,.12); }
}

/* core glow: đồng bộ nhịp chủ */
.hero-core { animation: hg-core 2.8s ease-in-out infinite; }
@keyframes hg-core { 0%, 100% { box-shadow: 0 0 0 rgba(20,157,214,0); } 50% { box-shadow: 0 0 30px rgba(20,157,214,.26); } }

.hero-node:hover .node-ic { animation-play-state: paused; }   /* hover: dừng để đọc */
@media (prefers-reduced-motion: reduce) { .hero-node .node-ic { animation: none; } }

/* ===== Arc sáng quét vòng quanh orbit (thay hiệu ứng ping toả ra) ===== */
.hero-graphic .hg-arc { transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 4px rgba(51,195,238,.55)); }
.hero-graphic .hg-arc--blue  { animation: hg-spin 6s linear infinite; }
.hero-graphic .hg-arc--green { filter: drop-shadow(0 0 4px rgba(47,195,149,.5)); animation: hg-spin 9s linear infinite reverse; }
.hero-graphic .hg-ping { display: none; animation: none; }   /* bỏ hẳn ping cũ */
@media (prefers-reduced-motion: reduce) { .hero-graphic .hg-arc { animation: none; } }

/* ===== 01.7 JOURNEY / TIMELINE ===== */
.journey { padding: 96px 0; background: var(--gt-bg-soft); }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; top: 8px; left: 9%; right: 9%; height: 2px; background: linear-gradient(90deg, var(--gt-blue), var(--gt-green)); }
.timeline li { position: relative; padding-top: 34px; text-align: center; }
.tl-dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--gt-blue); box-shadow: 0 0 0 4px var(--gt-bg-soft); }
.tl-year { display: block; font-family: var(--nav-font); font-weight: 700; color: var(--gt-blue); font-size: 18px; margin-bottom: 6px; }
.timeline h3 { font-size: 16px; margin-bottom: 6px; color: var(--gt-heading); }
.timeline p { font-size: 13.5px; color: var(--gt-muted); line-height: 1.5; }
@media (max-width: 860px) {
  .journey { padding: 72px 0; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { top: 6px; bottom: 6px; left: 7px; right: auto; width: 2px; height: auto; }
  .timeline li { text-align: left; padding: 0 0 26px 30px; }
  .tl-dot { left: 0; top: 4px; transform: none; }
}

/* ===== 05.3 AWARDS ===== */
.awards { padding: 108px 0; background: #fff; }
.award-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.award-media img { width: 100%; border-radius: var(--radius-media); box-shadow: var(--shadow-sm); border: 1px solid var(--gt-border); }
.award-copy .eyebrow { margin-bottom: 14px; }
.award-copy h2 { color: var(--gt-heading); margin-bottom: 14px; }
.award-copy > p { color: var(--gt-muted); margin-bottom: 22px; }
.award-list { list-style: none; display: grid; gap: 16px; }
.award-list li { display: flex; gap: 14px; align-items: flex-start; }
.a-ic { flex: none; width: 44px; height: 44px; border-radius: 10px; background: rgba(20,157,214,.10); color: var(--gt-blue); display: grid; place-items: center; }
.a-ic svg { width: 22px; height: 22px; }
.award-list b { display: block; color: var(--gt-heading); font-size: 15px; margin-bottom: 2px; }
.award-list span { color: var(--gt-muted); font-size: 13.5px; line-height: 1.45; }
@media (max-width: 860px) { .awards { padding: 72px 0; } .award-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ===== 05.7 ACTIVITIES ===== */
.activities { padding: 108px 0; background: var(--gt-bg-soft); }
.activity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.activity { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--gt-border); background: #fff; margin: 0; }
.activity img { width: 100%; height: auto; display: block; transition: transform .4s var(--ease); }
.activity:hover img { transform: scale(1.03); }
@media (max-width: 860px) { .activities { padding: 72px 0; } }
@media (max-width: 640px) { .activity-grid { grid-template-columns: 1fr; } }

/* ===== Journey timeline — NGANG, mới nhất ở đầu, cuộn sang ngang (Desktop) ===== */
.journey-timeline { position: relative; display: flex; gap: 28px; overflow-x: auto; overflow-y: hidden; padding: 4px 2px 20px; margin-top: 8px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--gt-border-strong) transparent; }
.journey-timeline::-webkit-scrollbar { height: 6px; }
.journey-timeline::-webkit-scrollbar-track { background: var(--gt-bg-soft); border-radius: 3px; }
.journey-timeline::-webkit-scrollbar-thumb { background: var(--gt-border-strong); border-radius: 3px; }
.jt-item { flex: 0 0 306px; position: relative; display: block; padding-top: 0; margin: 0; scroll-snap-align: start; }
/* đường ngang nối các mốc (mỗi card 1 đoạn, nối liền qua gap) */
.jt-item::before { content: ""; position: absolute; top: 42px; left: 0; right: -28px; height: 2px; background: var(--gt-blue); opacity: .35; }
.jt-item:last-child::before { right: 0; }
.jt-node { position: absolute; top: 35px; left: 0; transform: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--gt-blue); box-shadow: 0 0 0 4px var(--gt-bg-soft); z-index: 2; }
.jt-media { margin-bottom: 14px; }
.jt-media img { width: 100%; height: 178px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-card); border: 1px solid var(--gt-border); display: block; }
.jt-body { text-align: left; }
.jt-date { display: block; font-family: var(--nav-font); font-weight: 800; color: var(--gt-blue); font-size: 24px; line-height: 1; letter-spacing: -.01em; margin: 0 0 34px; }
.jt-body h3 { color: var(--gt-heading); font-size: 17px; margin-bottom: 8px; }
.jt-body p { color: var(--gt-muted); font-size: 13.5px; line-height: 1.55; }
/* huỷ so-le của bản dọc */
.jt-item:nth-child(even) .jt-media, .jt-item:nth-child(even) .jt-body { grid-column: auto; grid-row: auto; text-align: left; }
@media (max-width: 640px) { .jt-item { flex-basis: 84%; } }

/* ===== Connector = ĐƯỜNG ỐNG + DỮ LIỆU chạy (premium) ===== */
/* ống: line nền dày, mờ, bo tròn */
.hero-graphic .hg-base { stroke: #149DD6; stroke-opacity: .16; stroke-width: 5; stroke-linecap: round; }
/* dữ liệu: gói sáng nhỏ (streak) chạy dọc ống, có glow, liền mạch */
.hero-graphic .hg-pulse { stroke: #5FD0F5; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 12 88; stroke-dashoffset: 0; opacity: 1; filter: drop-shadow(0 0 3px rgba(95,208,245,.95)); animation: hg-flow 2.8s linear infinite; }
.hero-graphic .hg-pulse.p2 { animation-delay: .7s; }
.hero-graphic .hg-pulse.p3 { animation-delay: 1.4s; }
.hero-graphic .hg-pulse.p4 { animation-delay: 2.1s; }
@keyframes hg-flow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }
/* node sáng khi gói dữ liệu tới (cuối hành trình ~88% chu kỳ) */
@keyframes hg-recv {
  0%, 74% { transform: translate(-50%,-50%) scale(1); border-color: var(--gt-border-strong); box-shadow: 0 8px 22px rgba(15,45,90,.12); }
  88% { transform: translate(-50%,-50%) scale(1.08); border-color: var(--gt-blue); box-shadow: 0 8px 22px rgba(15,45,90,.12), 0 0 0 7px rgba(20,157,214,.16); }
  100% { transform: translate(-50%,-50%) scale(1); border-color: var(--gt-border-strong); box-shadow: 0 8px 22px rgba(15,45,90,.12); }
}
@media (prefers-reduced-motion: reduce) { .hero-graphic .hg-pulse { animation: none; opacity: 0; } }

/* ===== Orbit ring = ống + data sweep (đồng bộ concept connector) ===== */
.hero-graphic .hg-pipe { stroke-linecap: round; }        /* ống dày, mờ (đặt width/opacity ở SVG) */
.hero-graphic .hg-arc { stroke-width: 3.4; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(51,195,238,.8)); }
.hero-graphic .hg-arc--blue  { stroke: #5FD0F5; }
.hero-graphic .hg-arc--green { stroke: #3EE0A6; filter: drop-shadow(0 0 5px rgba(62,224,166,.7)); }

/* ==========================================================================
   HERO DARK — nền smart-city (background-herosection.webp) + tương phản tốt
   ========================================================================== */
.hero { padding-top: 128px; }
.hero .z0 { background: #06142D url("../assets/backgrounds/background-herosection.webp") no-repeat center right / cover; }
/* scrim: tối đậm bên trái (cho chữ), nhạt dần sang phải (để lộ city) + đáy hơi tối */
.hero .z1 {
  background:
    linear-gradient(90deg, rgba(6,17,40,.95) 0%, rgba(6,17,40,.78) 32%, rgba(6,17,40,.34) 60%, rgba(6,17,40,.06) 100%),
    linear-gradient(180deg, rgba(6,17,40,.45) 0%, transparent 26%, transparent 78%, rgba(6,17,40,.35) 100%);
}
/* chữ sáng tương phản */
.hero .eyebrow { color: #5FD0F5; }
.hero h1 { color: #ffffff; }
.hero .lead { color: #b9cbe0; }
.hero .btn--secondary { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.30); }
.hero .btn--secondary:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.55); color: #fff; }

/* HEADER — trong suốt trên hero tối, đặc trắng khi cuộn */
.header { position: fixed; left: 0; right: 0; background: transparent; border-bottom: 1px solid transparent; transition: background .3s var(--ease), box-shadow .3s, border-color .3s; }
.header .brand .logo-color { display: none; }
.header .nav > a, .header .nav .nav-item > button { color: rgba(255,255,255,.86); }
.header .nav > a:hover, .header .nav .nav-item > button:hover { color: #fff; }
.header .nav > a.is-active::after, .header .nav-item.is-open > button::after { background: #5FD0F5; }
.header .nav-toggle { background: transparent; border-color: rgba(255,255,255,.32); }
.header .nav-toggle span { background: #fff; }
.header.is-stuck { background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom-color: var(--gt-border); box-shadow: 0 4px 20px rgba(16,24,40,.06); }
.header.is-stuck .brand .logo-light { display: none; }
.header.is-stuck .brand .logo-color { display: block; }
.header.is-stuck .nav > a, .header.is-stuck .nav .nav-item > button { color: var(--gt-navy); }
.header.is-stuck .nav > a:hover, .header.is-stuck .nav .nav-item > button:hover { color: var(--gt-blue); }
.header.is-stuck .nav-toggle { border-color: var(--gt-border-strong); }
.header.is-stuck .nav-toggle span { background: var(--gt-navy); }

/* ORBIT NODE — glass tối, chữ sáng */
.hero-node .node-ic { background: rgba(10,28,56,.55); border: 1px solid rgba(95,208,245,.42); box-shadow: 0 0 22px rgba(30,150,220,.35); backdrop-filter: blur(4px); color: #7FE0FF; }
.hero-node .node-ic svg { stroke: #7FE0FF; }
.hero-node .node-txt b { color: #ffffff; }
.hero-node .node-txt span { color: #9fb6cf; }

/* ỐNG + RING sáng hơn trên nền tối */
.hero-graphic .hg-base { stroke: #6FBEEE; stroke-opacity: .30; }
.hero-graphic .hg-pipe { stroke: #6FBEEE; stroke-opacity: .22; }
.hero-graphic .ring { stroke: #5FA8E0; }
.hero-graphic .hg-dot { fill: #7FE0FF; }

/* node sáng khi data tới — phiên bản nền tối */
@keyframes hg-recv {
  0%, 74% { transform: translate(-50%,-50%) scale(1); border-color: rgba(95,208,245,.42); box-shadow: 0 0 22px rgba(30,150,220,.35); }
  88% { transform: translate(-50%,-50%) scale(1.08); border-color: #7FE0FF; box-shadow: 0 0 30px rgba(95,208,245,.6), 0 0 0 7px rgba(95,208,245,.16); }
  100% { transform: translate(-50%,-50%) scale(1); border-color: rgba(95,208,245,.42); box-shadow: 0 0 22px rgba(30,150,220,.35); }
}
/* legibility label node trên nền city */
.hero-node .node-txt b, .hero-node .node-txt span { text-shadow: 0 1px 10px rgba(6,17,40,.75); }
.hero .lead, .hero .eyebrow { text-shadow: 0 1px 12px rgba(6,17,40,.5); }

/* Overlay tối hơn — orbit tương phản tốt trên vùng city sáng */
.hero .z1 {
  background:
    radial-gradient(58% 66% at 72% 46%, rgba(6,17,40,.76), rgba(6,17,40,.42) 64%, rgba(6,17,40,.12) 100%),
    linear-gradient(90deg, rgba(6,17,40,.95) 0%, rgba(6,17,40,.74) 44%, rgba(6,17,40,.52) 100%),
    linear-gradient(180deg, rgba(6,17,40,.42) 0%, transparent 28%, transparent 72%, rgba(6,17,40,.55) 100%);
}

/* Overlay đơn giản: linear 0% (trái) → 44% (phải) */
.hero .z1 { background: linear-gradient(90deg, rgba(6,17,40,0) 0%, rgba(6,17,40,.44) 100%); }

/* desc dưới title: sáng gần trắng cho tương phản tốt trên nền */
.hero .lead { color: rgba(255,255,255,.92); }

/* tinh chỉnh độ sáng chữ hero */
.hero .lead { color: rgba(255,255,255,.80); }                 /* giảm trắng */
.hero-node .node-txt span { color: rgba(255,255,255,.82); }   /* desc node sáng hơn */

/* overlay tối hơn ở vùng bên phải (city), trái/giữa vẫn trong */
.hero .z1 { background: linear-gradient(90deg, rgba(6,17,40,0) 0%, rgba(6,17,40,.14) 46%, rgba(6,17,40,.82) 100%); }

/* ===== Footer — thông tin pháp lý ===== */
.f-company { color: #fff; font-weight: 700; font-size: 13px; line-height: 1.45; letter-spacing: .01em; margin: 4px 0 10px; }
.f-gpkd { font-size: 12.5px; line-height: 1.55; opacity: .72; margin-top: 12px; }
.f-bct { display: inline-block; margin-top: 14px; border-radius: 6px; overflow: hidden; transition: transform .2s var(--ease); }
.f-bct:hover { transform: translateY(-2px); }
.f-bct img { height: 44px; width: auto; display: block; }
.f-address li { margin-bottom: 10px; line-height: 1.5; }
.f-address b { color: #fff; font-weight: 600; }

/* CTA contact line (email/hotline) */
.cta-contact { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.9); }
.cta-contact a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cta-contact a:hover { color: #fff; opacity: .85; }

/* Zalo OA — QR trong footer */
.f-zalo { margin-top: 8px; }
.f-zalo a { display: flex; gap: 12px; align-items: center; }
.f-zalo img { width: 80px; height: 80px; border-radius: 8px; background: #fff; padding: 5px; flex: none; }
.f-zalo span { font-size: 13px; line-height: 1.4; color: #fff; font-weight: 600; }
.f-zalo small { display: block; font-weight: 400; opacity: .68; font-size: 12px; margin-top: 3px; }

/* ===== CTA band — nút liên hệ + QR Zalo OA ===== */
.inst-cta .container { display: flex; justify-content: space-between; align-items: center; gap: 44px; flex-wrap: wrap; }
.cta-copy { max-width: 640px; flex: 1 1 420px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cta-actions .btn { height: 48px; }
.btn--cta-outline { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--cta-outline:hover { background: rgba(255,255,255,.18); border-color: #fff; color: #fff; }
.btn--cta-outline svg { width: 17px; height: 17px; }
.cta-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; background: #fff; padding: 14px; border-radius: 14px; flex: none; box-shadow: 0 16px 34px rgba(0,0,0,.22); }
.cta-qr img { width: 134px; height: 134px; display: block; border-radius: 6px; }
.cta-qr span { font-size: 13px; color: var(--gt-navy); font-weight: 600; text-align: center; max-width: 150px; line-height: 1.35; }
@media (max-width: 720px) { .inst-cta .container { flex-direction: column; align-items: flex-start; } .cta-qr { align-self: center; } }

/* ==========================================================================
   TECH LAYER — section sinh động / công nghệ hơn
   ========================================================================== */

/* ----- Capabilities → BAND TỐI TECH (mesh + glass card glow) ----- */
.capabilities { background: #0A1E3F; }
.capabilities .z1 { background: radial-gradient(52% 62% at 78% 46%, rgba(30,150,220,.30), transparent 62%); }
.capabilities .z2 {
  background-image: radial-gradient(rgba(95,208,245,.16) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 74% 46%, #000, transparent 66%);
  mask-image: radial-gradient(circle at 74% 46%, #000, transparent 66%);
  opacity: .6;
}
.capabilities .cap-copy h2 { color: #fff; }
.capabilities .cap-copy p { color: #a9c0d8; }
.capabilities .cap-copy .btn--secondary { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.30); }
.capabilities .cap-copy .btn--secondary:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }
.capabilities .cap-card { background: rgba(255,255,255,.04); border: 1px solid rgba(95,208,245,.18); backdrop-filter: blur(4px); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, background .25s; }
.capabilities .cap-card:hover { transform: translateY(-4px); border-color: rgba(95,208,245,.55); background: rgba(255,255,255,.07); box-shadow: 0 0 34px rgba(30,150,220,.28); }
.capabilities .cap-card .ic { background: rgba(30,150,220,.14); border: 1px solid rgba(95,208,245,.30); color: #7FE0FF; }
.capabilities .cap-card:hover .ic { background: rgba(30,150,220,.30); }
.capabilities .cap-card .ic svg { stroke: #7FE0FF; }
.capabilities .cap-card h3 { color: #fff; }

/* ----- Dot-grid texture nền cho Domains & Projects ----- */
.domains, .projects { position: relative; }
.domains::before, .projects::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(20,157,214,.07) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  opacity: .55;
}
.domains > .container, .projects > .container { position: relative; z-index: 1; }

/* ----- Card hover: thanh gradient trên + lift + glow (tech) ----- */
.domain-card, .project-card, .news-card { position: relative; }
.domain-card::after, .project-card::after, .news-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 4;
  background: var(--gt-gradient-band); transform: scaleX(0); transform-origin: left;
  transition: transform .32s var(--ease);
}
.domain-card:hover::after, .project-card:hover::after, .news-card:hover::after { transform: scaleX(1); }
.domain-card:hover, .project-card:hover, .news-card:hover { transform: translateY(-5px); box-shadow: 0 20px 42px -18px rgba(15,45,90,.30); }

/* ----- Impact: đậm texture network hơn ----- */
.impact .z2 { opacity: .18; }

/* ==========================================================================
   TECH LAYER v2 — About / Journey / Awards / Partners / Trust
   ========================================================================== */

/* ----- About: card credential có chiều sâu + icon chip gradient ----- */
.about { position: relative; }
.about::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(20,157,214,.06) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  opacity: .6;
}
.about > .container { position: relative; z-index: 1; }
.value-card { position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.value-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gt-gradient-band); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.value-card:hover::before { transform: scaleX(1); }
.value-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -18px rgba(15,45,90,.22); border-color: #B9E0F3; }
.value-card .ic { background: var(--gt-gradient-band); color: #fff; box-shadow: 0 6px 16px -7px rgba(20,157,214,.55); }
.value-card .ic svg { stroke: #fff; }

/* ----- Journey: line gradient + node phát sáng + pulse ở mốc mới nhất ----- */
.jt-item::before { background: linear-gradient(90deg, var(--gt-blue), var(--gt-green)); opacity: .5; }
.jt-node { border-color: var(--gt-green); box-shadow: 0 0 0 4px var(--gt-bg-soft), 0 0 12px rgba(38,171,136,.55); }
.jt-node::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--gt-blue); opacity: 0; }
.jt-item:first-child .jt-node::after { animation: jt-pulse 2.8s var(--ease) infinite; }
@keyframes jt-pulse { 0% { transform: scale(1); opacity: .55; } 70% { transform: scale(2); opacity: 0; } 100% { opacity: 0; } }
.jt-item:hover .jt-media img { box-shadow: 0 18px 38px -18px rgba(15,45,90,.32); }

/* ----- Awards: spotlight glow sau bằng khen + icon chip gradient ----- */
.awards { position: relative; overflow: hidden; }
.award-media { position: relative; }
.award-media::before { content: ""; position: absolute; inset: -10% -8%; z-index: 0; background: radial-gradient(closest-side, rgba(20,157,214,.18), rgba(38,171,136,.08) 55%, transparent 74%); filter: blur(4px); }
.award-media img { position: relative; z-index: 1; }
.a-ic { background: var(--gt-gradient-band); color: #fff; }
.a-ic svg { stroke: #fff; }

/* ----- Partners: logo wall (khung + mesh mờ + hover lift) ----- */
.partner-row {
  position: relative;
  background: linear-gradient(180deg, #fff, #F4F9FD);
  border: 1px solid var(--gt-border);
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
}
.partner-row::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background-image: radial-gradient(rgba(20,157,214,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 78%);
}
.partner { position: relative; z-index: 1; transition: transform .2s var(--ease), opacity .2s; }
.partner:hover { transform: translateY(-3px); }

/* ----- Trust → BAND TỐI bảo mật (mirror Capabilities, bg gen riêng) ----- */
.trust { background: #08203F; overflow: hidden; }
.trust .z2 { position: absolute; inset: 0; z-index: var(--z1); pointer-events: none; }
.trust .z2 img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.trust .z1 { background: radial-gradient(circle at 50% 42%, rgba(30,150,220,.20), transparent 60%); }
.trust-graphic { opacity: .12; }
.trust-graphic circle { stroke: #4FB8E8; }
.trust .sec-head h2 { color: #fff; }
.trust .sec-head p { color: #a9c0d8; }
.trust .pillar h3 { color: #fff; }
.trust .pillar p { color: #9fb6cf; }
.trust .pillar .ring { background: rgba(255,255,255,.05); border: 1px solid rgba(95,208,245,.28); color: #7FE0FF; box-shadow: 0 0 22px -8px rgba(30,150,220,.4); }
.trust .pillar:hover .ring { background: rgba(30,150,220,.26); border-color: rgba(95,208,245,.6); }
.trust .pillar .ring svg { stroke: #7FE0FF; }

/* ----- Partners: connector graphic (hub-and-spoke, data chảy về tâm GoTRUST) ----- */
.partner-net {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: .6;
  -webkit-mask-image: radial-gradient(ellipse 62% 82% at 50% 50%, #000 40%, transparent 82%);
  mask-image: radial-gradient(ellipse 62% 82% at 50% 50%, #000 40%, transparent 82%);
}
.partner-net .pn-spoke line { stroke-dasharray: 5 9; opacity: .55; animation: pn-flow 3.2s linear infinite; }
.partner-net .pn-node { opacity: .7; }
.partner-net .pn-core { filter: drop-shadow(0 0 6px rgba(20,157,214,.6)); }
@keyframes pn-flow { to { stroke-dashoffset: -28; } }
@media (prefers-reduced-motion: reduce) { .partner-net .pn-spoke line { animation: none; } }

/* ==========================================================================
   Partners: ẢNH NỀN connector gen (Codex) — logo nằm trực tiếp, KHÔNG card
   ========================================================================== */
.partners {
  position: relative;
  background-color: #FFFFFF;
}
.partners::before {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url(../assets/backgrounds/partners-network.webp) center/cover no-repeat;
  opacity: .26;
}
.partners > .container { position: relative; z-index: 1; }
/* reset card wall đã thêm trước đó → logo phẳng trên ảnh nền */
.partner-row {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 8px 0;
}
.partner-row::before { display: none; }
.partner { background: transparent; }

/* ==========================================================================
   About (Section 2) → nền SÁNG + illustration hệ sinh thái (blend liền màu nền)
   ========================================================================== */
.about { position: relative; background: #F5F7FD; overflow: hidden; }
.about::before { display: none; }               /* bỏ dot-grid, để illustration là chính */
.about > .container { position: relative; z-index: 1; }
/* bố cục dọc căn giữa: Title → Hình → Nội dung */
.about-stack { display: flex; flex-direction: column; align-items: center; text-align: center; }
.about-head { max-width: 760px; }
.about-head h2 { margin-bottom: 0; }
.about-visual { width: 100%; max-width: 900px; margin: 28px 0 8px; }
.about-visual img {
  width: 100%; height: auto; display: block;
  /* nền ảnh = nền section (#F5F7FD) → không lộ khung */
}
.about-content { max-width: 760px; }
.about-content p { color: var(--gt-muted); margin-bottom: 14px; }
.about-content p:last-child { margin-bottom: 0; }

/* ----- Merged section: icon lĩnh vực trong tag dự án ----- */
.project-card .tag { display: inline-flex; align-items: center; gap: 6px; }
.project-card .tag svg { width: 13px; height: 13px; flex: none; }

/* ==========================================================================
   Awards → CREDENTIAL SHOWCASE (redesign): cert + seal · badge huy chương
   ========================================================================== */
.awards { position: relative; overflow: hidden; background: #fff; }
.award-rings {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 24% 62%, rgba(20,157,214,.09) 0 1.5px, transparent 1.5px 48px);
  -webkit-mask-image: radial-gradient(circle at 24% 62%, #000, transparent 58%);
  mask-image: radial-gradient(circle at 24% 62%, #000, transparent 58%);
  opacity: .7;
}
.awards > .container { position: relative; z-index: 1; }

.sec-head--center { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-head--center .eyebrow { display: block; margin-bottom: 14px; }

.award-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }

/* Bằng khen: khung + con dấu seal */
.cert { position: relative; margin: 0; }
.cert::before {
  content: ""; position: absolute; inset: -8% -6%; z-index: 0;
  background: radial-gradient(closest-side, rgba(20,157,214,.16), rgba(38,171,136,.07) 56%, transparent 76%);
  filter: blur(6px);
}
.cert-frame {
  position: relative; z-index: 1;
  background: #fff; padding: 14px; border-radius: 16px;
  border: 1px solid var(--gt-border);
  box-shadow: 0 30px 64px -30px rgba(15,45,90,.45);
}
.cert-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: 16px; pointer-events: none;
  padding: 1px; background: linear-gradient(135deg, rgba(20,157,214,.5), rgba(38,171,136,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.cert-frame img { width: 100%; display: block; border-radius: 8px; }
.cert-seal {
  position: absolute; right: -16px; bottom: -16px; z-index: 2;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--gt-gradient-band); color: #fff;
  display: grid; place-items: center;
  border: 3px solid #fff; box-shadow: 0 14px 30px -8px rgba(20,157,214,.6);
}
.cert-seal::before { content: ""; position: absolute; inset: 8px; border: 1.5px dashed rgba(255,255,255,.6); border-radius: 50%; }
.cert-seal svg { width: 42px; height: 42px; }

/* Badge huy chương */
.badge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.badge-card {
  position: relative; overflow: hidden;
  display: flex; gap: 15px; align-items: flex-start;
  background: #fff; border: 1px solid var(--gt-border); border-radius: 16px;
  padding: 22px 20px; box-shadow: var(--shadow-card);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.badge-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gt-gradient-band); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.badge-card:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -22px rgba(15,45,90,.30); border-color: #B9E0F3; }
.badge-card:hover::after { transform: scaleX(1); }
.badge-card--feature { background: linear-gradient(180deg, #F1FAFE, #fff); border-color: #CDEBF8; }

.medallion {
  flex: none; width: 54px; height: 54px; border-radius: 50%;
  background: var(--gt-gradient-band); color: #fff;
  display: grid; place-items: center; position: relative;
  box-shadow: 0 8px 18px -6px rgba(20,157,214,.55);
}
.medallion::before { content: ""; position: absolute; inset: 4px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 50%; }
.medallion svg { width: 25px; height: 25px; }

.badge-kicker {
  display: inline-block; font-family: var(--nav-font); font-weight: 800;
  font-size: 11px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 3px;
  background: var(--gt-gradient-band); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.badge-body b { display: block; color: var(--gt-heading); font-size: 16px; line-height: 1.25; margin-bottom: 5px; }
.badge-body > span { color: var(--gt-muted); font-size: 13px; line-height: 1.5; }

@media (max-width: 860px) {
  .award-layout { grid-template-columns: 1fr; gap: 44px; }
  .badge-grid { grid-template-columns: 1fr; }
  .cert-seal { width: 76px; height: 76px; }
}

/* ----- Logo dự án: chip trắng nổi đè ranh ảnh / thông tin (góc phải) ----- */
.project-card .media { height: auto; aspect-ratio: 16 / 9; }
.project-card .body { position: relative; }
.proj-logo {
  position: absolute; z-index: 5;
  top: 0; right: 20px; transform: translateY(-50%);
  width: 78px; height: 78px; padding: 0; border-radius: 50%;
  background: #fff; border: 1px solid var(--gt-border);
  box-shadow: 0 12px 26px -10px rgba(15,45,90,.34);
  display: grid; place-items: center; overflow: hidden;
}
.proj-logo img { width: auto; height: auto; max-width: 74%; max-height: 74%; display: block; object-fit: contain; }
.proj-logo--wide img { max-width: 84%; max-height: 52%; }

/* ----- Awards v2: honor-roll 5 giải + medallion thứ hạng TOP + caption cert ----- */
.awards .award-layout { align-items: start; }
.cert-cap { margin-top: 26px; text-align: center; }
.cert-cap b { display: block; color: var(--gt-heading); font-size: 15px; margin-bottom: 5px; }
.cert-cap span { color: var(--gt-muted); font-size: 13px; line-height: 1.5; }

.honor-roll { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.honor-roll .badge-card { padding: 15px 18px; align-items: center; }
.honor-roll .badge-body b { font-size: 15px; margin-bottom: 3px; }
.honor-roll .badge-body > span { font-size: 12.5px; }

.medallion--rank { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.medallion--rank em { font-style: normal; font-family: var(--nav-font); font-weight: 800; font-size: 8px; letter-spacing: .12em; opacity: .92; }
.medallion--rank b { font-family: var(--nav-font); font-weight: 800; font-size: 18px; margin-top: 2px; }

/* ----- cert-seal: căn giữa đáy bằng khen + gradient GOLD ----- */
.cert-seal {
  right: auto; left: 50%; bottom: 0; transform: translate(-50%, 50%);
  background: linear-gradient(135deg, #FCD667 0%, #E7A93B 52%, #C9871B 100%);
  box-shadow: 0 12px 26px -8px rgba(201,135,27,.6);
}
.cert-cap { margin-top: 62px; }

/* ----- Capabilities z2 → ảnh HẠ TẦNG số tech (thay grid/dot) ----- */
.capabilities .z2 {
  background-image: url(../assets/backgrounds/infrastructure-tech.webp);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  -webkit-mask-image: none; mask-image: none;
  opacity: .8;
}

/* ----- Capabilities card: glass blur đậm hơn cho rõ chữ trên nền hạ tầng ----- */
.capabilities .cap-card {
  background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.30);
}
.capabilities .cap-card:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.55);
  box-shadow: 0 0 34px -10px rgba(30,150,220,.38);
}

/* ----- Capabilities: dải KPI gộp từ Impact (dùng chung bg hạ tầng) ----- */
.capabilities .cap-stats {
  display: block;                 /* reset grid của .capabilities .container */
  margin-top: 54px;
  padding-top: 44px;
  border-top: 1px solid rgba(95,208,245,.18);
  color: #fff;
}
.cap-stats-title {
  text-align: center; margin-bottom: 30px;
  font-family: var(--nav-font); font-weight: 700; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase; color: #93b0cc;
}
.capabilities .kpi .num { color: #fff; }
.capabilities .kpi .lbl { color: rgba(255,255,255,.82); }
.capabilities .kpi .ic { color: #7FE0FF; }
.capabilities .kpi + .kpi { border-left-color: rgba(255,255,255,.16); }

/* ----- CTA: nền smart city (thay gradient sáng) — city nổi, tối trái cho chữ ----- */
.inst-cta { background: #08203F; }
.inst-cta .z2 { opacity: .92; }
.inst-cta .z1 {
  background: linear-gradient(90deg, rgba(6,17,40,.92) 0%, rgba(6,17,40,.55) 42%, rgba(6,17,40,.14) 72%, transparent 100%);
}

/* ----- CTA: smart city full-bleed (nền navy tối thay gradient sáng) ----- */
.inst-cta { background: #08203F; }
.inst-cta .z2 { opacity: 1; }
.inst-cta .z2 img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.inst-cta .z1 {
  background: linear-gradient(90deg, rgba(6,17,40,.92) 0%, rgba(6,17,40,.55) 40%, rgba(6,17,40,.15) 72%, transparent 100%);
}

/* ----- CTA: bớt đen trái (zoom nhẹ) + overlay trên ảnh + fade đáy sang màu footer ----- */
.inst-cta .z2 { overflow: hidden; }
.inst-cta .z2 img { transform: none; object-position: center; }
.inst-cta .z1 {
  z-index: 3;  /* lên trên ảnh (z2=2), dưới container (z5=5) */
  background: linear-gradient(180deg, transparent 66%, #061A34 100%);  /* chỉ fade đáy sang footer */
}

/* ----- Capabilities: 1 TẤM GLASS phủ chung (thay glass từng card) ----- */
.capabilities .cap-grid {
  gap: 0;
  background: rgba(255,255,255,.07);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 16px;
  overflow: hidden;
}
.capabilities .cap-card {
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
  border-radius: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
  transform: none;
  transition: background .2s var(--ease);
}
.capabilities .cap-card:nth-child(3n) { border-right: 0; }     /* cột cuối */
.capabilities .cap-card:nth-child(n+4) { border-bottom: 0; }   /* hàng cuối */
.capabilities .cap-card:hover {
  transform: none; box-shadow: none;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}

/* ----- Capabilities: cụm số (KPI) cũng thành panel glass ----- */
.capabilities .cap-stats {
  margin-top: 22px;
  padding: 34px 20px 30px;
  border-top: 0;
  background: rgba(255,255,255,.07);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 16px;
}
.capabilities .kpi + .kpi { border-left-color: rgba(255,255,255,.12); }

/* ===== Capabilities: GỘP tất cả vào 1 GLASS PANEL (unified dashboard) ===== */
.capabilities .container { display: block; }              /* bỏ grid ở container */
.capabilities .cap-panel {
  background: rgba(255,255,255,.05);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 22px;
  padding: 40px 44px;
  box-shadow: 0 30px 70px -42px rgba(0,0,0,.6);
}
.capabilities .cap-top {
  display: grid; grid-template-columns: 32% 1fr; gap: 44px; align-items: center;
}
/* cards → cells trong suốt + divider (bỏ glass panel riêng) */
.capabilities .cap-grid {
  background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 0; border-radius: 0; overflow: visible; gap: 0;
}
.capabilities .cap-card {
  border-right: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.capabilities .cap-card:nth-child(3n) { border-right: 0; }
.capabilities .cap-card:nth-child(n+4) { border-bottom: 0; }
/* stats → chỉ divider trên, trong cùng panel (bỏ glass riêng) */
.capabilities .cap-stats {
  background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  border: 0; border-top: 1px solid rgba(255,255,255,.16); border-radius: 0;
  margin-top: 34px; padding: 30px 0 4px;
}
@media (max-width: 720px) {
  .capabilities .cap-top { grid-template-columns: 1fr; gap: 26px; }
  .capabilities .cap-panel { padding: 26px 20px; }
}


/* ===== Mobile: hero-eco → 1 TẤM GLASS như Capabilities (panel + divider) ===== */
@media (max-width: 767px) {
  .hero-eco {
    gap: 0; margin-top: 22px; align-items: stretch;
    background: rgba(255,255,255,.06);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 16px;
    overflow: hidden;
  }
  .hero-node {
    display: flex; flex-direction: column;
    background: transparent; border: 0; border-radius: 0; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    padding: 18px 16px;
  }
  /* divider trong (2 cột): cột trái = m-edu,m-civic · hàng trên = m-edu,m-health */
  .m-edu, .m-civic  { border-right: 1px solid rgba(255,255,255,.10); }
  .m-edu, .m-health { border-bottom: 1px solid rgba(255,255,255,.10); }
  .hero-node .node-ic,
  .m-health .node-ic, .m-finance .node-ic {
    position: static; transform: none;
    width: 46px; height: 46px; margin: 0 0 12px;
    background: rgba(30,150,220,.14); border: 1px solid rgba(95,208,245,.30);
  }
  .hero-node .node-ic svg { width: 22px; height: 22px; }
  .hero-node .node-txt { position: static; transform: none; left: auto; top: auto; bottom: auto; width: auto; text-align: left; }
  .hero-node .node-txt b { font-size: 15px; }
  .hero-node .node-txt span { font-size: 12.5px; }
  .hero-node .node-txt b, .hero-node .node-txt span { text-shadow: none; }
}

/* ===== Mobile hero-eco: ÉP icon vào flow (thắng mọi absolute) ===== */
@media (max-width: 767px) {
  .hero-eco .hero-node { padding: 18px 16px !important; }
  .hero-eco .hero-node .node-ic {
    position: static !important;
    transform: none !important;
    margin: 0 0 12px !important;
  }
  .hero-eco .hero-node .node-txt {
    position: static !important; transform: none !important;
    left: auto !important; top: auto !important; bottom: auto !important;
    width: auto !important; text-align: left !important;
  }
}

/* ===== Bento: nổi bật dự án Trạm Công Dân Số (feature ngang) ===== */
#du-an .project-grid { grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
/* Trạm CDS = card feature ngang chiếm cả hàng trên: ảnh trái + nội dung phải */
#du-an #tien-ich {
  grid-column: 1 / 4; grid-row: 1;
  display: grid; grid-template-columns: 1.12fr 1fr; align-items: stretch;
}
#du-an #tien-ich .media { aspect-ratio: auto; height: 100%; min-height: 320px; }
#du-an #tien-ich .body { display: flex; flex-direction: column; justify-content: center; padding: 32px 36px; }
#du-an #tien-ich .proj-logo {
  display: block; position: static; transform: none;
  width: auto; height: auto; margin: 0 0 16px; padding: 0;
  background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible;
  place-items: start; justify-items: start; text-align: left;
}
#du-an #tien-ich .proj-logo img { max-width: 220px; max-height: 40px; width: auto; height: auto; display: block; margin: 0; }
#du-an #tien-ich h3 { font-size: 22px; line-height: 1.3; margin-bottom: 10px; }
#du-an #tien-ich p { font-size: 15px; max-width: 460px; }
#du-an #giao-duc  { grid-column: 1; grid-row: 2; }
#du-an #y-te      { grid-column: 2; grid-row: 2; }
#du-an #tai-chinh { grid-column: 3; grid-row: 2; }

@media (max-width: 900px) {
  #du-an .project-grid { grid-template-columns: 1fr 1fr; }
  #du-an #tien-ich { grid-column: 1 / 3; grid-row: 1; }
  #du-an #giao-duc { grid-column: 1; grid-row: 2; }
  #du-an #y-te     { grid-column: 2; grid-row: 2; }
  #du-an #tai-chinh{ grid-column: 1 / 3; grid-row: 3; }
}
@media (max-width: 767px) {
  #du-an .project-grid { grid-template-columns: 1fr; }
  #du-an #tien-ich { grid-column: auto; grid-row: auto; display: block; }
  #du-an #tien-ich .media { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
  #du-an #tien-ich .body { display: block; padding: 20px 22px 22px; }
  #du-an #tien-ich .proj-logo { display: grid; }
  #du-an #giao-duc, #du-an #y-te, #du-an #tai-chinh { grid-column: auto; grid-row: auto; }
}

/* ==========================================================================
   SUB-PAGES (Chính sách, Điều khoản, ...) — dùng cho pages/*.html
   ========================================================================== */
/* Header luôn đặc trên page con (nền sáng, không transparent) */
body.subpage .header {
  position: sticky;
  background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: var(--gt-border);
  box-shadow: 0 4px 20px rgba(16,24,40,.06);
}
body.subpage .header .brand .logo-light { display: none; }
body.subpage .header .brand .logo-color { display: block; }
body.subpage .header .nav > a,
body.subpage .header .nav .nav-item > button { color: var(--gt-navy); }
body.subpage .header .nav > a:hover { color: var(--gt-blue); }
body.subpage .header .nav-toggle { border-color: var(--gt-border-strong); background: #fff; }
body.subpage .header .nav-toggle span { background: var(--gt-navy); }

/* Page hero — banner sáng + breadcrumb + tiêu đề */
.page-hero {
  position: relative; overflow: hidden;
  padding: 64px 0 54px;
  background: #08203F url(../assets/backgrounds/background-herosection.webp) right 72% / cover no-repeat;
}
/* overlay tối để chữ trắng đọc rõ (đậm trái → nhạt phải) */
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(6,17,40,.92) 0%, rgba(6,17,40,.66) 52%, rgba(6,17,40,.34) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: 13.5px; color: rgba(255,255,255,.68); margin-bottom: 14px; }
.breadcrumb a { color: #7FD3F5; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-current] { color: #fff; }
.page-hero h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.2; color: #fff; position: relative; display: inline-block; }
.page-hero h1::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 16px; background: var(--gt-gradient-band); border-radius: 2px; }
.page-hero-sub { margin-top: 18px; color: rgba(255,255,255,.82); max-width: 660px; font-size: 15.5px; line-height: 1.65; }

/* Prose — vùng nội dung văn bản */
.page-body { padding: 52px 0 84px; background: #fff; }
.prose { max-width: 820px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: 1.4rem; color: var(--gt-heading); margin: 40px 0 14px; }
.prose h3 { font-size: 1.12rem; color: var(--gt-heading); margin: 26px 0 10px; }
.prose p { color: var(--gt-body); margin-bottom: 15px; line-height: 1.78; }
.prose .lead { font-size: 1.05rem; color: var(--gt-muted); line-height: 1.7; margin-bottom: 24px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 9px; color: var(--gt-body); line-height: 1.72; }
.prose li::marker { color: var(--gt-blue); }
.prose a { color: var(--gt-blue); text-decoration: underline; text-underline-offset: 2px; }
.prose strong, .prose b { color: var(--gt-heading); font-weight: 700; }
.prose hr { border: 0; border-top: 1px solid var(--gt-border); margin: 34px 0; }
.prose blockquote { margin: 18px 0; padding: 12px 18px; border-left: 3px solid var(--gt-blue); background: var(--gt-bg-soft); border-radius: 0 10px 10px 0; color: var(--gt-muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--gt-border); padding: 11px 13px; text-align: left; vertical-align: top; }
.prose th { background: var(--gt-bg-soft); color: var(--gt-heading); font-weight: 700; }
.doc-meta { font-size: 13.5px; color: var(--gt-muted); margin: 0 0 28px; padding-bottom: 20px; border-bottom: 1px solid var(--gt-border); }
.doc-meta b { color: var(--gt-heading); }
@media (max-width: 767px) {
  .page-hero { padding: 36px 0 30px; }
  .page-body { padding: 40px 0 60px; }
}
