/* =========================================================
   BCTech — website 2026
   Tối giản, trung tính; nâu đồng của bộ nhận diện chỉ dùng làm điểm nhấn
   ========================================================= */

:root {
  --ink: #1d1814;
  --body: #4a423b;
  --muted: #7a7068;
  --line: #e8e2db;
  --soft: #f8f6f3;
  --white: #ffffff;
  --brand: #8b5a2b;
  --brand-dark: #6f4520;
  --hero: #231710;
  --hero-2: #3a2416;
  --gold: #d2b48c;

  --container: 1160px;
  --header-h: 72px;
  --radius: 8px;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
svg { flex: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.label-light { color: var(--gold); }
h2 { font-size: clamp(26px, 3vw, 36px); }
.muted { color: var(--muted); margin-top: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 6px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, color .2s;
}
.btn svg { width: 17px; height: 17px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .3); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: var(--white); border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.is-scrolled { border-color: var(--line); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 40px; }
.brand img { height: 34px; width: auto; }
.brand .logo-light { display: none; }
.nav { display: flex; gap: 28px; margin-right: auto; }
.nav a { font-size: 15px; font-weight: 500; color: var(--body); white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); border-color: var(--brand); }
.header-cta { display: flex; align-items: center; gap: 20px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; }
.header-phone svg { width: 17px; height: 17px; color: var(--brand); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { background: linear-gradient(160deg, var(--hero) 0%, var(--hero-2) 100%); color: rgba(255, 255, 255, .78); padding: calc(var(--header-h) + 88px) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(34px, 4.4vw, 52px); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; margin-bottom: 22px; }
.hero-lead { font-size: 18px; max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.pillar-cards { display: grid; gap: 14px; }
.pillar-card {
  display: block; padding: 26px 28px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius);
  background: rgba(255, 255, 255, .03); transition: background .2s, border-color .2s;
}
.pillar-card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(210, 180, 140, .5); }
.pc-num { font-size: 13px; font-weight: 600; color: var(--gold); }
.pillar-card h2 { color: var(--white); font-size: 21px; margin: 8px 0 8px; }
.pillar-card p { font-size: 14.5px; color: rgba(255, 255, 255, .62); }
.pc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--gold); }
.pc-link svg { width: 15px; height: 15px; transition: transform .2s; }
.pillar-card:hover .pc-link svg { transform: translateX(3px); }

.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 88px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-stats div { padding: 28px 24px 36px 0; }
.hero-stats div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.hero-stats dt { font-size: 32px; font-weight: 600; color: var(--white); letter-spacing: -.02em; line-height: 1.1; }
.hero-stats dd { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .6); }

/* Sections */
.section { padding: 104px 0; }
.section-soft { background: var(--soft); }
.head-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; margin-bottom: 56px; }
.head-row .muted { margin-top: 0; }
.sub { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; }
.about-body p + p { margin-top: 16px; }
.lead { font-size: 18.5px; color: var(--ink); }
.lead b { font-weight: 600; }
.vm { margin-top: 32px; border-top: 1px solid var(--line); }
.vm div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.vm dt { font-weight: 600; color: var(--ink); font-size: 15px; }
.vm dd { font-size: 15px; }
.vm .values { display: flex; flex-wrap: wrap; gap: 8px; }
.vm .values span { padding: 4px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--brand-dark); background: linear-gradient(135deg, #f7ead9, #efdcc3); }
.about-quote { margin: 32px 0 0; padding: 4px 0 4px 22px; border-left: 2px solid; border-image: linear-gradient(180deg, #e2b67a, #8b5a2b) 1; font-size: 17px; font-style: italic; line-height: 1.6; color: var(--muted); max-width: 440px; }

/* Software modules */
.modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--white); }
.modules li { padding: 28px 24px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s; }
.modules li:hover { background: #fdfbf9; }
.modules svg { width: 24px; height: 24px; color: var(--brand); margin-bottom: 18px; }
.modules h3 { font-size: 16.5px; margin-bottom: 8px; }
.modules p { font-size: 14.5px; color: var(--muted); }

/* Integration */
.integ { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.integ article { padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.integ article > svg { width: 26px; height: 26px; color: var(--brand); }
.integ h3 { font-size: 19px; margin: 18px 0 4px; }
.ticks { margin-top: 18px; display: grid; gap: 11px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--body); line-height: 1.5; }
.ticks svg { width: 16px; height: 16px; color: var(--brand); margin-top: 3px; }
.flow { margin-top: 64px; }

/* Process */
.process { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.process-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.process li { padding: 18px 16px 0 0; border-top: 2px solid var(--line); font-weight: 600; color: var(--ink); font-size: 15px; line-height: 1.4; position: relative; }
.process li::before { content: ""; position: absolute; top: -2px; left: 0; width: 32px; height: 2px; background: var(--brand); }
.process span { display: block; font-size: 13px; font-weight: 600; color: var(--brand); margin-bottom: 6px; }

/* Partners */
.partner-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; border-bottom: 1px solid var(--line); }
.pg { display: grid; grid-template-columns: 150px 1fr; gap: 24px; border-top: 1px solid var(--line); align-items: center; padding: 18px 0; }
.pg h3 { font-size: 15.5px; }
.pg-logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pg-logos img { width: 100%; height: 64px; padding: 4px 6px; object-fit: contain; background: var(--white); border: 1px solid var(--line); border-radius: 6px; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.pg-logos img:hover { filter: none; opacity: 1; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.contact-list { margin-top: 32px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.contact-list svg { width: 20px; height: 20px; color: var(--brand); margin-top: 3px; }
.contact-list a:hover { color: var(--brand); }
.form { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(139, 90, 43, .12); }
.form .btn { margin-top: 24px; }
.form-status { margin-top: 12px; font-size: 14px; color: var(--brand); min-height: 1em; }

/* Footer */
.site-footer { background: var(--hero); color: rgba(255, 255, 255, .6); font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer-logo { height: 30px; width: auto; opacity: .95; margin-bottom: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .site-header .container { justify-content: space-between; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; margin: 0;
    background: var(--white); padding: 8px 24px 16px; border-bottom: 1px solid var(--line);
    opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .2s;
  }
  .menu-open .nav { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a:last-child { border-bottom: 0; }
  .nav a.is-active { border-color: var(--line); color: var(--brand); }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .integ { grid-template-columns: 1fr; }
  .process, .process-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
}

@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .hero { padding-top: calc(var(--header-h) + 56px); }
  .hero-grid, .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .head-row { grid-template-columns: 1fr; gap: 16px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 56px; }
  .hero-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-stats div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .partner-groups { grid-template-columns: 1fr; }
  .pg { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .header-phone, .header-cta .btn { display: none; }
  .nav { padding: 8px 16px 16px; }
  .hero h1 { font-size: 31px; }
  .hero-lead { font-size: 16.5px; }
  .actions .btn { flex: 1 1 100%; }
  .pillar-card { padding: 22px; }
  .hero-stats dt { font-size: 26px; }
  .hero-stats div { padding: 22px 12px 26px 0; }
  .hero-stats div + div { padding-left: 12px; }
  .hero-stats div:nth-child(3) { padding-left: 0; }
  .modules, .form-grid { grid-template-columns: 1fr; }
  .integ article { padding: 26px 22px; }
  .vm div { grid-template-columns: 1fr; gap: 4px; }
  .pg-logos img { height: 60px; padding: 8px; }
  .process, .process-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form { padding: 24px 20px; }
  .form .btn { width: 100%; }
  .footer-top { flex-direction: column; }
}

/* =========================================================
   Lớp hiệu ứng: quầng sáng, ánh kim, thẻ phát sáng theo chuột
   ========================================================= */
:root { --glow: 160, 100, 45; --grad: linear-gradient(135deg, #b77b40 0%, #8b5a2b 55%, #6a401c 100%); }

/* Header trong suốt khi nằm trên nền tối */
.site-header { transition: background .3s, border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 6px 24px -14px rgba(35, 23, 16, .35); }
@media (min-width: 1081px) {
  .site-header.on-dark { background: transparent; border-color: transparent; }
  .site-header.on-dark .logo-dark { display: none; }
  .site-header.on-dark .logo-light { display: block; }
  .site-header.on-dark .nav a { color: rgba(255, 255, 255, .78); }
  .site-header.on-dark .nav a:hover { color: var(--white); }
  .site-header.on-dark .header-phone { color: var(--white); }
  .site-header.on-dark .header-phone svg { color: var(--gold); }
}
@media (max-width: 1080px) {
  .site-header.on-dark { background: transparent; }
  .site-header.on-dark .logo-dark { display: none; }
  .site-header.on-dark .logo-light { display: block; }
  .site-header.on-dark .menu-toggle { background: transparent; border-color: rgba(255, 255, 255, .3); }
  .site-header.on-dark .menu-toggle span, .site-header.on-dark .menu-toggle span::before, .site-header.on-dark .menu-toggle span::after { background: var(--white); }
}

/* Nút: gradient đồng + vệt sáng lướt qua */
.btn-primary { background: var(--grad); box-shadow: 0 10px 28px -12px rgba(183, 123, 64, .8); position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); transition: left .6s ease;
}
.btn-primary:hover { background: var(--grad); filter: brightness(1.08); }
.btn-primary:hover::after { left: 130%; }
.btn-ghost { backdrop-filter: blur(6px); background: rgba(255, 255, 255, .04); }

/* Hero: quầng sáng chuyển động + lưới mờ */
.hero { position: relative; overflow: hidden; background: #1a100a; }
.hero > .container { position: relative; z-index: 1; }
.aurora { position: absolute; inset: -10%; pointer-events: none; filter: blur(70px); }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 20s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; right: 4%; top: -8%; background: radial-gradient(circle, rgba(197, 138, 74, .75), transparent 65%); }
.aurora span:nth-child(2) { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; left: -6%; bottom: -14%; background: radial-gradient(circle, rgba(139, 90, 43, .8), transparent 65%); animation-duration: 26s; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 26vw; height: 26vw; max-width: 380px; max-height: 380px; right: 26%; bottom: 0; background: radial-gradient(circle, rgba(240, 200, 145, .45), transparent 65%); animation-duration: 16s; animation-delay: -3s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, 50px) scale(1.15); }
  100% { transform: translate(50px, -40px) scale(.92); }
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px; animation: pan 40s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%);
}
@keyframes pan { to { background-position: 56px 56px; } }

.shine {
  background: linear-gradient(90deg, #f0d2a4 0%, #c98e52 25%, #fff1d6 50%, #c98e52 75%, #f0d2a4 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

/* Xuất hiện lần lượt khi tải trang */
.hero-copy > *, .pillar-card, .hero-stats > div { animation: rise .9s cubic-bezier(.2, .7, .2, 1) backwards; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.pillar-card:nth-child(1) { animation-delay: .3s; }
.pillar-card:nth-child(2) { animation-delay: .42s; }
.hero-stats > div:nth-child(1) { animation-delay: .5s; }
.hero-stats > div:nth-child(2) { animation-delay: .58s; }
.hero-stats > div:nth-child(3) { animation-delay: .66s; }
.hero-stats > div:nth-child(4) { animation-delay: .74s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.pillar-card { backdrop-filter: blur(10px); background: linear-gradient(150deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border-radius: 14px; transition: transform .35s, background .3s, border-color .3s; }
.pillar-card:hover { transform: translateY(-4px); }
.hero-stats dt { background: linear-gradient(180deg, #fff 30%, #e2bf8f); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }

/* Hiệu ứng phát sáng theo vị trí chuột */
.glow { position: relative; isolation: isolate; --mx: 50%; --my: 50%; }
.glow::before, .glow::after { content: ""; position: absolute; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; }
.glow::before { inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--glow), .14), transparent 45%); }
.glow::after {
  inset: -1px; padding: 1px; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(var(--glow), .95), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.glow:hover::before, .glow:hover::after { opacity: 1; }
.hero .glow, .section-dark .glow { --glow: 226, 182, 122; }

/* Phân hệ phần mềm */
.modules { border-radius: 16px; overflow: hidden; }
.modules li { transition: opacity .8s, transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, background .3s; }
.modules li:hover { background: var(--white); transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(90, 55, 25, .45); z-index: 1; }
.ico {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  background: linear-gradient(135deg, #f7ead9, #ecd6bb); color: var(--brand); transition: background .35s, color .35s, transform .35s;
}
.ico svg { width: 22px; height: 22px; margin: 0 !important; }
.glow:hover .ico { background: var(--grad); color: var(--white); transform: rotate(-6deg) scale(1.06); }

/* Mục nền tối */
.section-dark { position: relative; overflow: hidden; background: #1d120b; color: rgba(255, 255, 255, .74); }
.section-dark > .container { position: relative; z-index: 1; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .label { color: var(--gold); }
.section-dark .muted, .section-dark .sub { color: rgba(255, 255, 255, .58); }
.aurora-soft { opacity: .55; }
.aurora-soft span:nth-child(1) { top: 10%; right: -10%; }
.integ article {
  border-radius: 16px; border-color: rgba(255, 255, 255, .1);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015)); backdrop-filter: blur(8px);
  transition: opacity .8s, transform .5s cubic-bezier(.2, .7, .2, 1), border-color .3s;
}
.integ article:hover { transform: translateY(-6px); }
.integ .ico { background: rgba(226, 182, 122, .14); color: var(--gold); }
.integ h3 { margin-top: 4px; }
.section-dark .ticks li { color: rgba(255, 255, 255, .78); }
.section-dark .ticks svg { color: var(--gold); }
.section-dark .process li { color: var(--white); border-color: rgba(255, 255, 255, .14); }
.section-dark .process span { color: var(--gold); }

/* Quy trình: vạch tiến độ chạy dần khi xuất hiện */
.process li::before { width: 0; background: linear-gradient(90deg, #e2b67a, #b77b40); transition: width 1s cubic-bezier(.2, .7, .2, 1); }
.reveal.in .process li::before, .reveal.in.process li::before { width: 100%; }
.process li:nth-child(2)::before { transition-delay: .25s; }
.process li:nth-child(3)::before { transition-delay: .5s; }
.process li:nth-child(4)::before { transition-delay: .75s; }
.process li:nth-child(5)::before { transition-delay: 1s; }

/* Đối tác */
.pg-logos img { transition: filter .3s, opacity .3s, transform .3s, box-shadow .3s, border-color .3s; }
.pg-logos img:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 14px 26px -16px rgba(90, 55, 25, .5); }

/* Form */
.form { border-radius: 16px; background: var(--white); box-shadow: 0 30px 60px -40px rgba(90, 55, 25, .45); transition: box-shadow .3s, border-color .3s; }
.form:focus-within { border-color: rgba(183, 123, 64, .5); box-shadow: 0 30px 60px -36px rgba(183, 123, 64, .55); }

/* Footer: vạch ánh kim */
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, #b77b40, #f0d2a4, #b77b40, transparent); }

.reveal { transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, background .3s; }
.reveal.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .aurora span, .hero-grid-bg, .shine, .hero-copy > *, .pillar-card, .hero-stats > div { animation: none !important; }
  .process li::before { transition: none; width: 100%; }
}

/* =========================================================
   Hero toàn cầu: quả địa cầu chấm + cung kết nối
   ========================================================= */
.hero { padding-top: calc(var(--header-h) + 64px); }
.hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
.global-chip {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 7px 14px 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #f0d2a4;
  border: 1px solid rgba(226, 182, 122, .3); background: rgba(226, 182, 122, .08); backdrop-filter: blur(6px);
}
.global-chip .dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #e2b67a; }
.global-chip .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #e2b67a; animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.hero .pillar-cards { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; max-width: 560px; }
.hero .pillar-card { padding: 18px 20px; }
.hero .pillar-card h2 { font-size: 16px; margin: 6px 0 4px; }
.hero .pillar-card p { font-size: 13px; }

.globe-wrap { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; justify-self: end; margin: -40px -40px -40px 0; }
.globe-wrap canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.globe-wrap canvas:active { cursor: grabbing; }
.globe-tag {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px;
  background: rgba(30, 18, 10, .55); border: 1px solid rgba(226, 182, 122, .25); backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8); animation: bob 6s ease-in-out infinite; pointer-events: none;
}
.globe-tag strong { font-size: 20px; font-weight: 700; color: #f0d2a4; letter-spacing: -.01em; }
.globe-tag span { font-size: 12px; line-height: 1.35; color: rgba(255, 255, 255, .7); }
.gt-1 { left: 2%; top: 16%; }
.gt-2 { right: 0; bottom: 14%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; }

@media (max-width: 1080px) {
  .gt-2 { right: 4%; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .globe-wrap { justify-self: center; max-width: 460px; margin: 0 auto; order: -1; margin-top: -12px; }
  .hero .pillar-cards { max-width: none; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-stats div:nth-child(3) { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
  .hero-stats div:nth-child(n+3) { border-top: 0; }
}
@media (max-width: 560px) {
  .globe-wrap { max-width: 340px; }
  .globe-tag { padding: 9px 12px; gap: 8px; }
  .globe-tag strong { font-size: 16px; }
  .globe-tag span { font-size: 11px; }
  .hero .pillar-cards { grid-template-columns: 1fr; }
  .hero-stats div:nth-child(3) { padding-left: 12px; }
  .hero-stats dd { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .globe-tag, .global-chip .dot::after { animation: none; }
}
