/* ===========================================================
   FAST GROUP — DESIGN SYSTEM
   Dùng chung cho toàn bộ fastgroup.vn
   =========================================================== */
:root {
	--navy: #0a1f3a;
	--navy-2: #102a4c;
	--blue: #1f4e89;
	--accent: #f26a21;
	--accent-2: #ff8a4c;
	--ink: #15212e;
	--muted: #5c6b7e;
	--line: #e4e9f0;
	--bg: #f5f7fa;
	--white: #ffffff;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(10, 31, 58, .08);
	--shadow-lg: 0 24px 60px rgba(10, 31, 58, .14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Manrope', sans-serif; line-height: 1.2; color: var(--navy); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.eyebrow { display: inline-block; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section { padding: 96px 0; }
.section--tint { background: var(--bg); }
.section--navy { background: var(--navy); color: #cdd7e5; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 16px; }
.section--navy .section-head p { color: #9fb0c6; }

.btn { display: inline-flex; align-items: center; gap: 9px; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 15px; padding: 14px 26px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer; transition: .2s ease; white-space: nowrap; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(242,106,33,.32); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-line { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- TOP UTILITY BAR ---------- */
.topbar { background: var(--navy); color: #b9c6d8; font-size: 13.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 42px; }
.topbar a { color: #b9c6d8; }
.topbar a:hover { color: #fff; }
.topbar .tb-right { display: flex; gap: 22px; align-items: center; }
.lang-switch a { font-weight: 600; padding: 0 4px; }
.lang-switch .on { color: var(--accent); }

/* ---------- HEADER ---------- */
header.site { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 42px; }
.menu { display: flex; gap: 28px; align-items: center; }
.menu a { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 15px; color: var(--ink); position: relative; }
.menu a:hover, .menu a.active { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.burger span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; }

/* ---------- HERO (home) ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(7,20,38,.93) 0%, rgba(10,31,58,.82) 45%, rgba(16,42,76,.55) 100%), var(--hero-img) center/cover no-repeat; }
.hero-inner { position: relative; padding: 110px 0 120px; max-width: 820px; }
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -.01em; }
.hero .sub-en { display: block; margin-top: 18px; font-size: clamp(15px, 1.6vw, 19px); color: var(--accent-2); font-weight: 600; font-family: 'Manrope', sans-serif; }
.hero p.lead { margin-top: 22px; font-size: 18.5px; color: #d6e0ee; max-width: 660px; }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero { position: relative; color: #fff; background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); padding: 76px 0 64px; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; background: rgba(242,106,33,.12); }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; position: relative; }
.page-hero p { color: #b9c6d8; margin-top: 12px; max-width: 640px; position: relative; }
.breadcrumb-nav { display: flex; gap: 8px; font-size: 14px; color: #9fb0c6; margin-bottom: 16px; position: relative; }
.breadcrumb-nav a { color: var(--accent-2); }
.breadcrumb-nav span { color: #6f819a; }

/* ---------- GRID ---------- */
.grid { display: grid; gap: 24px; }
.cap-grid { grid-template-columns: repeat(3, 1fr); }
.cap-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: .22s; }
.cap-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.cap-ic { width: 54px; height: 54px; border-radius: 12px; background: rgba(242,106,33,.10); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.cap-ic svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.cap-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.cap-card p { color: var(--muted); font-size: 15px; }

/* ---------- BRAND PORTALS ---------- */
.portal-grid { grid-template-columns: repeat(3, 1fr); }
.portal { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; transition: .22s; position: relative; overflow: hidden; }
.portal::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); transition: .3s; }
.portal:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.portal:hover::after { width: 100%; }
.portal-logo { height: 52px; display: flex; align-items: center; margin-bottom: 16px; }
.portal-logo img { max-height: 46px; width: auto; object-fit: contain; }
.portal-wordmark { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 26px; color: var(--navy); letter-spacing: -.01em; }
.portal h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.portal p { color: var(--muted); font-size: 14.5px; flex-grow: 1; }
.portal .go { margin-top: 16px; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 14px; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.portal .go svg { width: 15px; height: 15px; stroke: var(--accent); fill: none; stroke-width: 2; }
.portal-domain { font-size: 12.5px; color: #97a5b6; font-family: 'Manrope', sans-serif; font-weight: 600; }

.other-brands { margin-top: 64px; text-align: center; }
.other-brands h3 { font-size: 20px; margin-bottom: 6px; }
.other-brands p { color: var(--muted); margin-bottom: 30px; }
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.logo-chip { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 26px; height: 86px; min-width: 150px; display: flex; align-items: center; justify-content: center; transition: .2s; }
.logo-chip img { max-height: 42px; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: .2s; }
.logo-chip:hover img { filter: none; opacity: 1; }
.logo-chip.soon { position: relative; }
.logo-chip.soon::after { content: "Đang cập nhật"; position: absolute; bottom: 6px; font-size: 10px; color: #aab6c4; letter-spacing: .04em; }

/* ---------- INDUSTRIES ---------- */
.ind-grid { grid-template-columns: repeat(4, 1fr); }
.ind { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 200px; display: flex; align-items: flex-end; color: #fff; background: var(--navy); }
.ind::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,31,58,.15) 0%, rgba(10,31,58,.88) 100%); z-index: 1; }
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ind span { position: relative; z-index: 2; padding: 20px; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 17px; }
.ind.plain { background: linear-gradient(135deg, var(--navy-2), var(--blue)); align-items: center; justify-content: center; text-align: center; }
.ind.plain span { font-size: 16px; }

/* ---------- TWO AUDIENCES ---------- */
.aud-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
.aud { border-radius: var(--radius); padding: 44px 40px; }
.aud-intl { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; }
.aud-intl h2, .aud-vn h2 { font-size: 26px; font-weight: 800; margin-bottom: 14px; }
.aud-intl h2 { color: #fff; }
.aud-intl p { color: #cdd9ea; }
.aud-vn { background: #fff; border: 1px solid var(--line); }
.aud-vn p { color: var(--muted); }
.aud .flag { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; display: inline-block; }
.aud-intl .flag { color: var(--accent-2); }
.aud-vn .flag { color: var(--accent); }
.aud ul { list-style: none; margin: 18px 0 26px; }
.aud li { padding-left: 28px; position: relative; margin-bottom: 10px; font-size: 15px; }
.aud li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.aud-intl li { color: #d6e0ee; }

/* ---------- WHY ---------- */
.why-grid { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.why-item { text-align: center; padding: 10px; }
.why-ic { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; }
.why-ic svg { width: 26px; height: 26px; stroke: var(--accent-2); fill: none; stroke-width: 1.7; }
.why-item h4 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.why-item p { font-size: 13.5px; color: #9fb0c6; }

/* ---------- RFQ / CONTACT ---------- */
.rfq-grid { grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.rfq-copy h2 { font-size: 34px; font-weight: 800; margin-bottom: 16px; }
.rfq-copy p { color: var(--muted); font-size: 17px; margin-bottom: 20px; }
.rfq-copy .contact-line { display: flex; align-items: center; gap: 10px; font-family: 'Manrope', sans-serif; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.rfq-copy .contact-line svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.8; flex-shrink: 0; }
.rfq-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.rfq-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-family: 'Manrope', sans-serif; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; font-family: inherit; font-size: 15px; color: var(--ink); transition: .15s; background: #fcfdfe; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field .hint { font-size: 12px; color: #97a5b6; margin-top: 4px; }
.contact-map { border: 0; border-radius: var(--radius); width: 100%; min-height: 300px; height: 100%; }

/* ---------- TRUST STRIP ---------- */
.trust { background: var(--navy-2); color: #fff; }
.trust .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; padding-top: 30px; padding-bottom: 30px; }
.trust .tagline { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 18px; max-width: 420px; color: #fff; }
.trust .tagline span { color: var(--accent-2); }
.stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat .num { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 30px; color: #fff; }
.stat .lbl { font-size: 13.5px; color: #9fb0c6; }

/* ---------- PROSE / ABOUT ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.prose h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; margin-bottom: 18px; }
.prose h3 { font-size: 21px; font-weight: 700; margin: 26px 0 10px; }
.prose p { color: var(--muted); font-size: 16.5px; margin-bottom: 14px; }
.value-grid { grid-template-columns: repeat(3, 1fr); }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.value-card .vc-ic { width: 50px; height: 50px; border-radius: 12px; background: rgba(242,106,33,.1); display:flex; align-items:center; justify-content:center; margin-bottom: 16px; }
.value-card .vc-ic svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- CLIENTS ---------- */
.clients-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 46px; }
.clients-strip img { max-height: 56px; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: .2s; }
.clients-strip img:hover { filter: none; opacity: 1; }
.client-grid { grid-template-columns: repeat(3, 1fr); }
.client-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; transition: .2s; }
.client-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.client-card .cc-logo { height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.client-card .cc-logo img { max-height: 66px; max-width: 160px; object-fit: contain; }
.client-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- BRAND DETAIL ---------- */
.brand-detail-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.brand-detail-logo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; display: flex; align-items: center; justify-content: center; min-height: 220px; box-shadow: var(--shadow); }
.brand-detail-logo img { max-height: 120px; max-width: 100%; object-fit: contain; }
.brand-detail-logo .portal-wordmark { font-size: 40px; }
.tier-badge { display: inline-block; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; margin-bottom: 14px; }
.tier-badge.t1 { background: rgba(242,106,33,.12); color: var(--accent); }
.tier-badge.t2 { background: rgba(31,78,137,.1); color: var(--blue); }
.gallery-grid { grid-template-columns: repeat(4, 1fr); }
.gallery-grid img { border-radius: 10px; border: 1px solid var(--line); aspect-ratio: 4/3; object-fit: cover; width: 100%; background: #fff; }
.spec-list { list-style: none; }
.spec-list li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink); }
.spec-list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.cta-band { background: linear-gradient(120deg, var(--navy), var(--blue)); border-radius: var(--radius); padding: 50px; text-align: center; color: #fff; }
.cta-band h2 { color: #fff; font-size: 28px; margin-bottom: 12px; }
.cta-band p { color: #cdd9ea; margin-bottom: 24px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 120px 0; }
.notfound .code { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: clamp(90px, 18vw, 180px); line-height: 1; color: var(--navy); letter-spacing: -.03em; }
.notfound .code span { color: var(--accent); }
.notfound h2 { font-size: 26px; margin: 8px 0 12px; }
.notfound p { color: var(--muted); margin-bottom: 26px; }

/* ---------- FOOTER ---------- */
footer.site { background: var(--navy); color: #9fb0c6; padding: 70px 0 28px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 44px; }
footer.site h4 { color: #fff; font-size: 16px; margin-bottom: 18px; font-weight: 700; }
footer.site a { color: #9fb0c6; }
footer.site a:hover { color: var(--accent-2); }
.foot-brands { columns: 2; }
.foot-brands a { display: block; margin-bottom: 9px; }
.foot-contact p { margin-bottom: 10px; display: flex; gap: 10px; }
.foot-contact svg { width: 17px; height: 17px; stroke: var(--accent); fill: none; stroke-width: 1.8; flex-shrink: 0; margin-top: 3px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.foot-social { display: flex; gap: 12px; }
.foot-social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.foot-social svg { width: 17px; height: 17px; fill: #9fb0c6; }
.foot-social a:hover { border-color: var(--accent); }
.foot-social a:hover svg { fill: var(--accent-2); }

.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 10px; background: var(--accent); color: #fff; display: none; align-items: center; justify-content: center; z-index: 90; box-shadow: 0 8px 20px rgba(242,106,33,.35); }
.back-to-top.show { display: flex; }
.back-to-top svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2.2; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
	.cap-grid, .portal-grid, .value-grid, .client-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
	.ind-grid { grid-template-columns: repeat(2, 1fr); }
	.why-grid { grid-template-columns: repeat(3, 1fr); }
	.aud-grid, .rfq-grid, .foot-grid, .split, .brand-detail-grid { grid-template-columns: 1fr; }
	.menu, .nav-cta .btn { display: none; }
	.burger { display: flex; }
	.menu.open { display: flex; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 18px 24px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
}
@media (max-width: 600px) {
	.section { padding: 64px 0; }
	.cap-grid, .portal-grid, .ind-grid, .why-grid, .gallery-grid { grid-template-columns: 1fr; }
	.rfq-form .row { grid-template-columns: 1fr; }
	.topbar .tb-right .tb-hide { display: none; }
	.trust .container { flex-direction: column; align-items: flex-start; }
	.cta-band { padding: 34px 24px; }
}

/* ---------- DROPDOWN NAV ---------- */
.has-dd { position: relative; }
.dd-toggle { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.dd-toggle .car { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.2; transition: .2s; }
.has-dd:hover .dd-toggle { color: var(--accent); }
.has-dd:hover .car { transform: rotate(180deg); }
.dd-menu { position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 8px; min-width: 240px; display: none; flex-direction: column; gap: 2px; z-index: 120; }
.has-dd:hover .dd-menu { display: flex; }
.dd-menu a { padding: 10px 14px; border-radius: 7px; font-size: 14.5px; font-family: 'Manrope', sans-serif; font-weight: 600; }
.dd-menu a:hover { background: var(--bg); color: var(--accent); }
@media (max-width: 992px) {
	.has-dd { width: 100%; }
	.dd-menu { position: static; display: flex; box-shadow: none; border: none; padding: 4px 0 4px 14px; min-width: auto; }
	.dd-toggle .car { display: none; }
}
