/* Hero */
.home-hero { position: relative; min-height: 100vh; padding: 30px 0; display: flex; align-items: center; overflow: hidden; }
.home-hero-bg { position: absolute; inset: 0; overflow: hidden; }
.home-hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: hero-settle 1.8s ease-out both; display: block; }
.home-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.home-hero-inner { position: relative; color: #fff; display: flex; flex-direction: column; gap: 20px; }
.home-hero h1 { font-size: 35px; line-height: 1.4; font-weight: 700; color: #fff; text-wrap: balance; }
.home-hero .home-hero-sub { font-size: 24px; line-height: 1; font-weight: 600; color: #fff; }
.home-hero ul { padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; font-size: 16px; font-weight: 500; line-height: 1.6; color: #fff; }
.home-hero-actions { display: flex; margin-top: 10px; }
.home-cta { white-space: nowrap; height: 60px; padding: 0 30px; border-radius: 18px; background: linear-gradient(rgba(255,255,255,.12), rgba(0,0,0,.08)), var(--accent); color: #fff; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; display: flex; gap: 12px; align-items: center; box-shadow: 0 10px 20px rgba(0,0,0,.19), 0 6px 6px rgba(0,0,0,.22); transition: transform .25s, box-shadow .25s; }
.home-cta:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.22); color: #fff; }

/* Intro */
.home-intro { padding: 70px 0; }
.home-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 30px; align-items: center; }
.home-intro-img { overflow: hidden; border-radius: 19px; }
.home-intro-img img { width: 100%; height: auto; display: block; border-radius: 19px; transition: transform .65s; }
.home-intro-img img:hover { transform: scale(1.025); }
.home-intro-text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.home-intro-text h2 { font-size: 32px; line-height: 1; font-weight: 700; color: var(--primary); margin-bottom: 5px; }
.home-intro-text p { font-size: 18px; line-height: 1.4; font-weight: 400; color: #000; }
.home-intro-more { font-size: 18px; line-height: 1.4; font-weight: 700; color: var(--primary); padding: 8px 0; }
.home-intro-more:hover { color: #111; }

/* Stats */
.home-stats { background: var(--ink); padding: 40px 0; color: #fff; }
.home-stats-inner { display: flex; flex-direction: column; gap: 40px; }
.home-stats-title { text-align: center; font-size: 35px; line-height: 1.4; font-weight: 700; color: #fff; }
.home-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 30px; }
.home-stat { text-align: center; display: flex; flex-direction: column; align-items: center; }
.home-stat .home-stat-num { font-size: 40px; line-height: 1.4; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.home-stat p { margin-top: 10px; font-size: 20px; line-height: 1.1; font-weight: 700; color: #fff; text-wrap: balance; }

/* Why */
.home-why { padding: 70px 0; }
.home-why-inner { display: flex; flex-direction: column; gap: 40px; }
.home-why h2 { text-align: center; font-size: 48px; line-height: 1.4; font-weight: 700; color: var(--ink); text-wrap: balance; }
.home-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.home-reason { padding: 28px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform .35s; }
.home-reason:hover { transform: translateY(-6px); }
.home-reason-icon { width: 121px; height: 121px; margin-bottom: 20px; display: block; object-fit: cover; }
.home-reason h3 { font-size: 25px; line-height: 1.4; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.home-reason p { font-size: 20px; line-height: 1.4; font-weight: 500; color: #767676; text-wrap: pretty; }

/* Solutions */
.home-sol { padding: 40px 0; background: var(--accent-tint); }
.home-sol-grid { width: 95vw; max-width: 1360px; margin: 0 auto; padding: 0 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.home-sol-grid > .head { padding: 0 0 20px; }
.home-sol-grid > .head h2 { font-size: 35px; line-height: 1.4; font-weight: 700; color: var(--text); text-wrap: balance; }
.home-sol-card { position: relative; background: rgba(255,255,255,.65); border-radius: 8px; padding: 32px 12px 20px; display: flex; flex-direction: column; gap: 12px; color: #000; transition: transform .35s, box-shadow .35s, background-color .35s; }
.home-sol-card:hover { transform: translateY(-8px); box-shadow: 0 14px 32px rgba(0,77,128,.12); background-color: #fff; color: #000; }
.home-sol-card .bar { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; background: var(--accent); }
.home-sol-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.home-sol-card .top p { font-size: 18px; line-height: 1.4; font-weight: 700; color: #000; }
.home-sol-card .num { font-size: 50px; line-height: 1; font-weight: 700; color: rgba(50,50,50,.33); }
.home-sol-card .media { border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; margin-top: auto; }
.home-sol-card .media > * { width: 100%; height: 100%; display: block; border-radius: 12px; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.home-sol-card .media > *:hover { transform: scale(1.055); }

/* Clients */
.home-clients { padding: 40px 0; background: #f3f8ff; }
.home-clients-inner { display: flex; flex-direction: column; gap: 21px; }
.home-clients h2 { text-align: center; font-size: 32px; line-height: 1; font-weight: 700; color: #000; }
.home-marquee { overflow: hidden; }
.home-marquee-track { display: flex; will-change: transform; }
.home-logo { flex: 0 0 20%; padding: 10px 18px; display: flex; align-items: center; justify-content: center; }
.home-logo img { height: 152px; width: 100%; max-width: 80%; display: block; object-fit: contain; transition: transform .3s; }
.home-logo img:hover { transform: scale(1.07); }
@media (max-width: 767px) { .home-logo { flex-basis: 50%; } }
.home-marquee-ctrl { display: flex; justify-content: center; align-items: center; gap: 8px; }
.home-marquee-ctrl button { white-space: nowrap; min-height: 32px; padding: 0 12px; border: 1px solid rgba(11,111,232,.33); border-radius: 5px; background: #fff; color: var(--primary); font: inherit; font-size: 14px; cursor: pointer; }
.home-marquee-ctrl button:hover { background: var(--primary); color: #fff; }

/* News */
.home-news { padding: 70px 0; }
.home-news-inner { display: flex; flex-direction: column; gap: 30px; }
.home-news h2 { text-align: center; font-size: 35px; line-height: 1.4; font-weight: 700; color: var(--text); }
.home-news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 39px; }
.home-news-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.08); padding: 4px; transition: box-shadow .3s; }
.home-news-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.home-news-thumb { position: relative; display: block; border-radius: 16px; overflow: hidden; }
.home-news-thumb .img { width: 100%; height: 228px; display: block; object-fit: cover; transition: transform .3s; }
.home-news-thumb .img:hover { transform: scale(1.05); }
.home-news-date { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.95); padding: 6px 12px; border-radius: 4px; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: #F1A61F; box-shadow: 0 2px 6px rgba(0,0,0,.1); }
.home-news-body { padding: 20px; }
.home-news-body h3 { margin: 0 0 12px; }
.home-news-body h3 a { color: #000; font-size: 20px; line-height: 1.3; font-weight: 700; }
.home-news-body h3 a:hover { color: var(--primary); }
.home-news-author { display: flex; align-items: center; gap: 10px; padding-top: 12px; }
.home-news-author img { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-tint); }
.home-news-author .who { display: flex; flex-direction: column; gap: 2px; font-size: 16px; line-height: 1.4; }
.home-news-author .name { font-weight: 500; color: #202939; }
.home-news-author .meta { color: #697586; }

/* Video */
.home-video { padding: 30px 0; background: #f3f8ff; }
.home-video-text { display: flex; flex-direction: column; justify-content: center; }
.home-video h2 { font-size: 35px; line-height: 1; font-weight: 700; color: var(--text); margin-bottom: 29px; }
.home-video p { font-size: 25px; line-height: 1.4; font-weight: 400; color: #333; }
.home-video-frame { border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; background: #000; }
.home-video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.home-video-poster { position: relative; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #000 center/cover no-repeat; background-image: var(--bg); display: flex; align-items: center; justify-content: center; }
.home-video-poster span { width: 76px; height: 76px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); padding-left: 6px; }

/* Intro text = rich text from "Nội dung trang" (CKEditor): <p>s keep the rules above; lists, links, images */
.home-intro-text :is(ul, ol) { font-size: 18px; line-height: 1.4; color: #000; padding-left: 1.4em; }
.home-intro-text ul { list-style: disc; }
.home-intro-text li + li { margin-top: 4px; }
.home-intro-text :is(p, li) a { text-decoration: underline; }
.home-intro-text :is(p, li) img, .home-intro-text > img, .home-intro-text > .tb-rt > img { height: auto; border-radius: 8px; }
