/* Khuôn Đúc Thái Bình Dương — giao diện. Màu theo bản tham khảo + hồ sơ năng lực (navy / xanh / cyan, đỏ cờ làm điểm nhấn). */
:root {
  --navy-900: #061323;
  --navy: #0b1d33;
  --navy-700: #102b4c;
  --blue: #1e5b91;
  --blue-600: #17456f;
  --cyan: #68c7d8;
  --cyan-300: #8bd9e6;
  --gold: #c9a45c;
  --gold-200: #ecd9a8;
  --red: #da251d;
  --ink: #142538;
  --muted: #56677b;
  --line: #dfe7ef;
  --paper: #f3f6f9;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 18px 44px rgba(11, 29, 51, .10);
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0; letter-spacing: -.02em; color: var(--navy); text-wrap: balance; }
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2, html[lang="zh-CN"] h3, html[lang="zh-CN"] h4 { letter-spacing: .01em; }
p { margin: 0; color: var(--muted); }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.flag { width: 30px; height: 20px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 2px 6px rgba(0, 0, 0, .22); }
.flag-lg { width: 78px; height: 52px; border-radius: 4px; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .04em; font-weight: 700; color: var(--navy); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.container { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* Ngôn ngữ: ẩn trang tới khi JS áp xong bản tiếng Việt (tự hiện sau 2 s nếu JS lỗi) */
.i18n-pending body { visibility: hidden; animation: i18n-reveal 0s 2s forwards; }
@keyframes i18n-reveal { to { visibility: visible; } }
html:not([lang="zh-CN"]) .only-zh { display: none; }
html[lang="zh-CN"] .only-vi { display: none; }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 1px solid var(--blue); background: var(--blue); color: #fff; font-weight: 700; font-size: .95rem; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; text-align: center; }
.btn:hover { background: var(--blue-600); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(30, 91, 145, .28); }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: .88rem; }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); box-shadow: none; }
.btn-ghost-dark { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost-dark:hover { background: var(--paper); box-shadow: none; }
.btn-outline-dark { background: transparent; color: var(--blue); border-color: var(--blue); margin-top: 26px; }
.btn-outline-dark:hover { background: var(--blue); color: #fff; }
.btn-block { width: 100%; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 800; color: var(--blue); }
html[lang="zh-CN"] .eyebrow { letter-spacing: .2em; font-size: .82rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--red), var(--gold)); }
.eyebrow-light { color: var(--cyan-300); }

/* ---------- Topbar + header ---------- */
.topbar { background: var(--navy-900); color: #cfdae6; font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 36px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }

.nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); border-bottom: 1px solid #e8edf2; transition: box-shadow .2s; }
.nav.is-scrolled { box-shadow: 0 8px 26px rgba(11, 29, 51, .08); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 76px; height: auto; }
.brand-text { display: flex; flex-direction: column; min-width: 0; padding-left: 12px; border-left: 1px solid var(--line); }
.brand-text strong { font-size: .95rem; letter-spacing: .02em; color: var(--navy); white-space: nowrap; }
.brand-text small { font-size: .68rem; color: var(--muted); letter-spacing: .06em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: .88rem; font-weight: 650; color: #33465b; }
.nav-links a { position: relative; padding: 6px 0; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .2s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--blue); }
.nav-links a.is-active::after, .nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); }
.lang-switch button { border: 0; background: transparent; padding: 7px 11px; border-radius: 7px; font-size: .82rem; font-weight: 700; color: var(--muted); cursor: pointer; white-space: nowrap; min-height: 34px; }
.lang-switch .short { display: none; }
.lang-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: 0 3px 10px rgba(11, 29, 51, .25); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 9px; background: #fff; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6, 19, 35, .97) 0%, rgba(11, 29, 51, .9) 42%, rgba(11, 29, 51, .55) 72%, rgba(11, 29, 51, .35) 100%); }
.hero::after { content: ""; position: absolute; right: -160px; top: -200px; width: 600px; height: 600px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255, 255, 255, .03), 0 0 0 120px rgba(255, 255, 255, .02); pointer-events: none; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; min-height: 620px; padding: 72px 0; }
.flag-pair { display: flex; width: fit-content; align-items: center; gap: 14px; padding: 9px 16px; margin-bottom: 22px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(6, 19, 35, .55); backdrop-filter: blur(6px); }
.flag-pair-item { display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; white-space: nowrap; }
.flag-pair-x { color: var(--gold-200); font-weight: 800; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 800; margin: 4px 0 22px; }
.hero h1 span { color: var(--cyan-300); }
.hero-lead { color: #c6d3e1; font-size: 1.06rem; line-height: 1.8; max-width: 620px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-panel { display: grid; gap: 4px; padding: 26px; border-radius: 18px; background: rgba(6, 19, 35, .55); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); box-shadow: 0 26px 60px rgba(0, 0, 0, .3); }
.stat { display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.stat strong { font-size: 2.3rem; line-height: 1; font-weight: 800; color: var(--cyan-300); letter-spacing: -.03em; }
.stat span { color: #dbe5ef; font-size: .9rem; line-height: 1.45; }
.stat-note { margin-top: 12px; color: #93a6ba; font-size: .74rem; }

/* ---------- Section chung ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.85rem, 3.6vw, 2.8rem); margin-bottom: 16px; }
.section-head p { font-size: 1.02rem; }
.sub-title { font-size: 1.3rem; margin: 56px 0 22px; }
.sub-title.center { text-align: center; }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--muted); }
.ticks .ico { margin-top: 4px; color: #1a8a5b; }

/* ---------- Hợp tác ---------- */
.coop { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.bridge { display: grid; grid-template-columns: 1fr 150px 1fr; align-items: stretch; }
.co-card { position: relative; padding: 34px 32px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.co-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--red), var(--gold)); }
.co-tag { margin: 22px 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.co-card h3 { font-size: 1.32rem; }
.co-official { margin-top: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: #7a8a9c; }
.co-place { display: flex; align-items: center; gap: 6px; margin: 12px 0 20px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.co-place .ico { color: var(--red); }
.bridge-mid { display: flex; align-items: center; justify-content: center; }
.bridge-line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px); }
.bridge-emblem { display: grid; place-items: center; gap: 2px; width: 96px; height: 96px; border-radius: 50%; background: var(--navy); color: var(--gold-200); box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--line), 0 16px 34px rgba(11, 29, 51, .25); font-size: .8rem; text-align: center; padding: 14px 8px; }
.bridge-emblem .ico { width: 32px; height: 32px; }
.bridge-emblem b { color: #fff; font-size: .74rem; line-height: 1.2; }
.coop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.panel { padding: 32px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.panel h3 { font-size: 1.22rem; margin-bottom: 20px; }
.panel-dark { background: var(--navy); border-color: var(--navy); }
.panel-dark h3 { color: #fff; }
.steps { display: grid; gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; gap: 12px; color: #cad6e3; }
.steps li::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(139, 217, 230, .5); color: var(--cyan-300); font-size: .78rem; font-weight: 800; }
.vision { display: grid; grid-template-columns: .95fr 1.05fr; margin-top: 30px; border-radius: 20px; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, #153d61 100%); box-shadow: var(--shadow); }
.vision-img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.vision-body { padding: 42px 44px; }
.vision blockquote { margin: 0 0 26px; padding-left: 20px; border-left: 3px solid var(--gold); color: #fff; font-size: 1.22rem; line-height: 1.6; font-weight: 600; }
.vision h3 { color: var(--cyan-300); font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }
.vision p { color: #c6d3e1; }
.vision-team { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .92rem; }

/* ---------- Đối tác Shengqun ---------- */
.partner { background: #fff; }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.partner-grid h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 16px; }
.partner-media { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.partner-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.partner-media figcaption { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 10px; background: rgba(255, 255, 255, .95); font-weight: 700; font-size: .9rem; color: var(--navy); }
.facts { margin: 26px 0 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 190px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .86rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 4px 12px; border-radius: 999px; background: #eaf2f8; color: var(--blue); font-size: .82rem; font-weight: 700; }

/* ---------- Pháp lý ---------- */
.legal { background: var(--paper); }
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.doc { padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.doc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.doc-head .flag { width: 42px; height: 28px; }
.doc-head h3 { font-size: 1.1rem; }
.doc-head p { font-size: .86rem; }
.doc-frame { position: relative; display: grid; place-items: center; width: 100%; height: 440px; padding: 14px; border: 0; border-radius: 6px; cursor: zoom-in; background: linear-gradient(135deg, #e9d29a, #b8893c 30%, #f1dca8 52%, #a97b33 75%, #e7cd92); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .25), 0 14px 30px rgba(84, 58, 16, .25); }
.doc-frame img { height: 412px; width: auto; max-width: 100%; object-fit: contain; background: #fff; padding: 8px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
.zoom-hint { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); transition: transform .2s; }
.doc-frame:hover .zoom-hint { transform: scale(1.1); }
.facts-sm { margin-top: 20px; }
.facts-sm > div { grid-template-columns: 150px 1fr; padding: 10px 0; }

/* ---------- Về chúng tôi ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.about-grid h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 16px; }
.about-media { position: relative; }
.about-media > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.about-badge { position: absolute; right: -18px; bottom: -22px; width: 150px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.checks { display: grid; gap: 18px; margin-top: 28px; }
.check { display: flex; gap: 14px; }
.check-ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #e4f3f6; color: #12627b; }
.check h3 { font-size: 1.02rem; margin-bottom: 4px; }
.check p { font-size: .94rem; }
.mission { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; margin-top: 64px; padding: 30px 34px; border-radius: 18px; background: var(--navy); }
.mission h3 { color: var(--gold-200); font-size: 1.3rem; }
.mission ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: m; }
.mission li { counter-increment: m; color: #cad6e3; font-size: .93rem; padding-left: 14px; border-left: 2px solid rgba(139, 217, 230, .45); }

/* ---------- Lĩnh vực ---------- */
.services { background: var(--paper); }
.moulds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mould { position: relative; padding: 18px 18px 26px; border-radius: 18px; background: #fff; border: 1px solid #e4eaf0; transition: transform .25s, box-shadow .25s; }
.mould:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mould-img { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 12px; background: #f7f9fb; overflow: hidden; margin-bottom: 20px; }
.mould-img img { width: 100%; height: 100%; object-fit: cover; }
.mould-no { position: absolute; top: 28px; left: 28px; padding: 3px 10px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .08em; }
.mould h3 { font-size: 1.2rem; margin: 0 8px 8px; }
.mould p { margin: 0 8px; font-size: .93rem; }
.svc-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.svc, .ind { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #e4eaf0; }
.svc img, .ind img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc figcaption, .ind figcaption { padding: 12px 14px; font-weight: 700; font-size: .92rem; color: var(--navy); line-height: 1.4; }
.industries { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.ind figcaption { font-size: .86rem; }

/* ---------- Năng lực ---------- */
.capacity { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.capacity::before { content: ""; position: absolute; width: 560px; height: 560px; right: -170px; top: -230px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255, 255, 255, .03), 0 0 0 120px rgba(255, 255, 255, .02); }
.capacity .section-head h2 { color: #fff; }
.capacity .section-head p { color: #b5c5d5; }
.equipment { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.eq { display: grid; grid-template-rows: auto auto 1fr; text-align: left; padding: 12px 12px 20px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); cursor: zoom-in; transition: background .2s, transform .2s; }
.eq:hover { background: rgba(255, 255, 255, .1); transform: translateY(-3px); }
.eq-img { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 10px; background: #fff; overflow: hidden; padding: 8px; }
.eq-img img { width: 100%; height: 100%; object-fit: contain; }
.eq-count { margin: 16px 8px 4px; font-size: 2.4rem; line-height: 1; font-weight: 800; color: var(--cyan-300); letter-spacing: -.03em; }
.eq-name { margin: 0 8px; color: #e3ebf3; font-weight: 600; font-size: .95rem; }

/* ---------- Sản phẩm ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 14px; }
.shot { padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #eef2f6; cursor: zoom-in; aspect-ratio: 4 / 3; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.shot:hover img { transform: scale(1.05); }
.shot-wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* ---------- Tổ chức ---------- */
.org { background: var(--paper); }
.org-chart { display: grid; justify-items: center; }
.org-board { position: relative; padding: 16px 40px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 800; font-size: 1.1rem; box-shadow: 0 0 0 6px #fff, 0 14px 30px rgba(11, 29, 51, .2); }
.org-board::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 34px; background: var(--gold); }
.org-depts { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; padding-top: 30px; border-top: 2px dashed var(--gold); }
.org-depts li { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.org-depts span { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: #eaf2f8; color: var(--blue); font-weight: 800; }
.org-depts b { color: var(--navy); font-size: .95rem; line-height: 1.45; }

/* ---------- Tại sao chọn ---------- */
.reasons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.reasons li { --c: var(--blue); position: relative; padding: 22px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--c); }
.reasons li:nth-child(1) { --c: #3f7a8c; } .reasons li:nth-child(2) { --c: #4f7f6a; } .reasons li:nth-child(3) { --c: #6f8a3c; }
.reasons li:nth-child(4) { --c: #7a7a1c; } .reasons li:nth-child(5) { --c: #93701c; } .reasons li:nth-child(6) { --c: #5a6f80; }
.reasons li:nth-child(7) { --c: #8a5a50; } .reasons li:nth-child(8) { --c: #c0503a; } .reasons li:nth-child(9) { --c: #a85a14; } .reasons li:nth-child(10) { --c: #9a6c10; }
.reasons span { display: block; font-size: 1.5rem; font-weight: 800; color: var(--c); line-height: 1; margin-bottom: 12px; }
.reasons b { color: var(--navy); font-size: .98rem; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 26px; border-radius: 16px; background: var(--paper); }
.value h4 { font-size: 1.12rem; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); display: inline-block; }
.value p { font-size: .9rem; }

/* ---------- Thị trường ---------- */
.markets { background: linear-gradient(110deg, #edf5f9, #f8fafc); }
.route { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.route::before { content: ""; position: absolute; left: 16%; right: 16%; top: 13px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 10px, transparent 10px 18px); }
.route-stop { position: relative; display: grid; justify-items: center; text-align: center; gap: 8px; }
.route-dot { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 7px solid var(--c, var(--blue)); box-shadow: 0 0 0 5px rgba(30, 91, 145, .12); margin-bottom: 8px; }
.route-stop.is-now { --c: #157a4f; } .route-stop.is-export { --c: var(--blue); } .route-stop.is-future { --c: #8a6a24; }
.route-status { padding: 3px 12px; border-radius: 999px; background: var(--c); color: #fff; font-size: .76rem; font-weight: 800; letter-spacing: .04em; }
.route-stop h3 { font-size: 1.35rem; }
.route-stop p { max-width: 320px; font-size: .93rem; }
.future { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.future-card { padding: 30px; border-radius: 16px; background: #fff; border: 1px solid #e2ebf2; }
.future-card h4 { font-size: 1.15rem; margin-bottom: 14px; }
.future-card ul { display: grid; gap: 10px; }
.future-card li { position: relative; padding-left: 18px; color: var(--muted); font-size: .94rem; }
.future-card li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* ---------- Khách hàng ---------- */
.client-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.client-logos li { display: grid; place-items: center; height: 96px; padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.client-logos img { max-height: 60px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.client-logos li:hover img { filter: none; opacity: 1; }

/* ---------- Liên hệ ---------- */
.contact { background: linear-gradient(120deg, var(--navy) 0%, #153d61 100%); color: #fff; }
.contact .section-head { margin-bottom: 30px; }
.contact .section-head h2 { color: #fff; }
.contact .section-head p { color: #bdcad8; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.qr-row { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
.qr { display: grid; justify-items: center; gap: 10px; padding: 14px 14px 16px; border-radius: 16px; background: #fff; text-align: center; }
.qr img { width: 172px; height: 172px; }
.qr figcaption { display: grid; color: var(--navy); line-height: 1.3; }
.qr figcaption b { font-size: 1rem; }
.qr figcaption span { font-size: .8rem; color: var(--muted); }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.c-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: var(--cyan-300); }
.contact-list div { display: grid; }
.contact-list small { color: #93a6ba; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list b { color: #fff; font-size: 1.05rem; }
.contact-list span, .contact-list a { color: #d3dde8; }
.contact-list a:hover { color: #fff; text-decoration: underline; }
.select-all { user-select: all; word-break: break-all; }
.contact-form { padding: 32px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.contact-form h3 { font-size: 1.4rem; margin-bottom: 6px; }
.contact-form > p { font-size: .9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 20px; }
.field { display: grid; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; color: #3d4f63; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #cfdae5; border-radius: 9px; font: inherit; font-size: .95rem; color: var(--ink); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 91, 145, .18); }
.field [aria-invalid="true"] { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, .15); }
.form-hint { margin-top: 12px; font-size: .8rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #b7c5d4; padding: 52px 0 26px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand { display: flex; gap: 18px; max-width: 640px; }
.footer-logo { flex: none; width: 112px; padding: 10px; border-radius: 12px; background: #fff; align-self: flex-start; }
.footer-brand strong { color: #fff; font-size: 1.02rem; }
.footer-brand p { color: #9fb0c2; font-size: .86rem; margin-top: 6px; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 32px; align-content: start; font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; font-size: .8rem; color: #8597aa; }
.footer-flags { display: inline-flex; gap: 8px; }
.footer-flags .flag { width: 27px; height: 18px; }

.mobile-cta { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { width: auto; max-width: 96vw; max-height: 96vh; padding: 0; border: 0; border-radius: 14px; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(4, 12, 22, .88); backdrop-filter: blur(4px); }
.lightbox-img { max-width: min(92vw, 1100px); max-height: 82vh; width: auto; height: auto; border-radius: 10px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox-cap { margin-top: 12px; text-align: center; color: #dbe5ef; font-size: .9rem; }
.lightbox-close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: 0 8px 20px rgba(0, 0, 0, .4); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links { gap: 16px; font-size: .84rem; }
  .nav-cta { display: none; }
}
@media (max-width: 1024px) {
  :root { --nav-h: 68px; }
  .menu-toggle { display: flex; }
  .nav-links { position: absolute; top: var(--nav-h); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(11, 29, 51, .1); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid #eef2f5; font-size: .98rem; }
  .nav-links a::after { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 36px; padding: 64px 0; }
  .hero-panel { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stat { grid-template-columns: 1fr; gap: 6px; border-bottom: 0; padding: 0; }
  .stat-note { grid-column: 1 / -1; margin-top: 0; }
  .bridge { grid-template-columns: 1fr; }
  .bridge-mid { flex-direction: column; height: 150px; }
  .bridge-line { width: 2px; height: auto; flex: 1; background: repeating-linear-gradient(180deg, var(--gold) 0 8px, transparent 8px 14px); }
  .partner-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { right: 12px; }
  .mission { grid-template-columns: 1fr; }
  .equipment { grid-template-columns: repeat(2, 1fr); }
  .svc-list { grid-template-columns: repeat(3, 1fr); }
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .org-depts { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 32px); }
  .topbar-inner { justify-content: center; min-height: 32px; }
  .topbar-item:not(:last-child) { display: none; }
  .brand-logo { width: 58px; }
  .brand-text { padding-left: 10px; }
  .brand-text strong { font-size: .84rem; }
  .brand-text small { font-size: .6rem; letter-spacing: .03em; }
  .lang-switch button { padding: 6px 9px; font-size: .8rem; min-width: 34px; }
  .lang-switch .long { display: none; }
  .lang-switch .short { display: inline; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .hero-grid { padding: 28px 0 44px; gap: 28px; }
  .flag-pair { gap: 10px; padding: 7px 12px; margin-bottom: 16px; }
  .flag-pair-item { font-size: .84rem; gap: 7px; }
  .flag-pair .flag { width: 27px; height: 18px; }
  .hero h1 { font-size: clamp(2.2rem, 10.5vw, 3rem); margin-bottom: 16px; }
  html:not([lang="zh-CN"]) .hero h1 { font-size: clamp(1.9rem, 8.6vw, 2.6rem); }
  .hero-lead { font-size: .97rem; line-height: 1.7; }
  .hero-buttons { margin-top: 24px; }
  .hero-buttons .btn { flex: 1 1 100%; }
  .hero-panel { grid-template-columns: repeat(3, 1fr); padding: 18px 16px; gap: 10px; }
  .stat strong { font-size: 1.7rem; }
  .stat span { font-size: .76rem; }
  .co-card { padding: 28px 22px; }
  .coop-grid, .docs, .future { grid-template-columns: 1fr; }
  .panel { padding: 26px 22px; }
  .vision { grid-template-columns: 1fr; }
  .vision-img { min-height: 0; aspect-ratio: 16 / 9; }
  .vision-body { padding: 30px 24px; }
  .vision blockquote { font-size: 1.06rem; }
  .facts > div, .facts-sm > div { grid-template-columns: 1fr; gap: 2px; }
  .doc { padding: 20px; }
  .doc-frame { height: 360px; }
  .doc-frame img { height: 332px; }
  .mission { padding: 26px 22px; margin-top: 48px; }
  .mission ol { grid-template-columns: 1fr; gap: 14px; }
  .moulds { grid-template-columns: 1fr; }
  .svc-list { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .equipment { gap: 12px; }
  .eq { padding: 8px 8px 16px; }
  .eq-count { font-size: 1.9rem; margin: 12px 6px 4px; }
  .eq-name { margin: 0 6px; font-size: .84rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .org-depts { grid-template-columns: 1fr; }
  .reasons li { padding: 18px 14px; }
  .values { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr; gap: 34px; }
  .route::before { display: none; }
  .industries .ind:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .industries .ind:last-child:nth-child(odd) img { aspect-ratio: 16 / 7; }
  .qr-row { gap: 12px; }
  .qr { flex: 1 1 140px; }
  .qr img { width: 100%; max-width: 180px; height: auto; }
  .contact-form { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; gap: 26px; }
  .footer-brand { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11, 29, 51, .1); }
  body { padding-bottom: 72px; }
}
@media (max-width: 380px) {
  .brand-text small { display: none; }
  .hero-panel { grid-template-columns: 1fr 1fr 1fr; padding: 16px 12px; }
  .stat strong { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation-duration: 0s !important; }
  .i18n-pending body { animation-delay: 2s !important; }
}
