/* ===== I&D – Company profile ===== */
:root {
  --navy: #262a62;
  --navy-900: #171a40;
  --navy-950: #0f1130;
  --gold: #c9a24b;
  --gold-soft: #e7cf8f;
  --ink: #1c1f2e;
  --muted: #646a80;
  --line: #e6e7ee;
  --bg: #f7f6f2;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 18px 50px -20px rgba(23, 26, 64, .35);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mark: "Montserrat", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 66px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.gold { color: var(--gold-soft); }   /* gold sáng (giống số liệu 04 · Đà Nẵng · Sổ hồng · Online) */
.about .gold { color: var(--gold); } /* trên nền sáng giữ gold đậm để đọc rõ */

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .2s, box-shadow .2s, background .2s, color .2s; border: 1.5px solid transparent; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold-soft); color: var(--navy-950); box-shadow: 0 10px 30px -10px rgba(231, 207, 143, .75); }
.btn--gold:hover { background: #f2e0ad; }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(15, 17, 48, .38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--sm { padding: 9px 20px; font-size: 14px; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 61px; }
.header:not(.is-scrolled):not(.menu-open) { background: linear-gradient(180deg, rgba(15, 17, 48, .65) 0%, rgba(15, 17, 48, 0) 100%); }
.header.is-scrolled { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .2); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { height: 36px; width: auto; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .55)); transition: filter .3s; }
.header.is-scrolled .brand__logo { filter: none; }
.brand__text { display: flex; flex-direction: column; color: #fff; line-height: 1.15; transition: color .3s; }
.brand__text strong { font-size: 17px; font-weight: 800; letter-spacing: .04em; }
.brand__text small { font-size: 11px; font-weight: 500; letter-spacing: .06em; opacity: .85; }
.header.is-scrolled .brand__text { color: var(--navy); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: #fff; font-weight: 500; font-size: 15px; white-space: nowrap; position: relative; transition: color .3s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--gold); transition: width .25s; }
.nav a:not(.btn):hover::after { width: 100%; }
.header.is-scrolled .nav a:not(.btn) { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s, background .3s; }
.header.is-scrolled .nav-toggle span { background: var(--navy); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero { background: var(--navy-950); }
/* Ảnh neo theo đáy để luôn thấy trọn tầng 1 */
.hero__bg { background-position: center bottom; transform-origin: center bottom; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 17, 48, .7) 0%, rgba(15, 17, 48, .58) 42%, rgba(15, 17, 48, .25) 52%, rgba(15, 17, 48, 0) 60%); }
.hero__title, .hero__lead { text-shadow: 0 2px 14px rgba(8, 9, 26, .45); }
/* Ảnh bìa dọc: trên màn hình rộng đặt ảnh ở nửa phải để thấy trọn công trình */
@media (min-width: 861px) {
  .hero__bg { left: 44%; background-position: center bottom; }
  .hero__shade { background: linear-gradient(90deg, var(--navy-950) 0%, var(--navy-950) 40%, rgba(15, 17, 48, .6) 47%, rgba(15, 17, 48, .15) 55%, rgba(15, 17, 48, 0) 60%); }
}
.hero__content { position: relative; padding: 140px 0 120px; }
.hero__title { font-size: clamp(40px, 6.4vw, 78px); font-weight: 800; letter-spacing: -.02em; margin: 14px 0 22px; }
.hero__lead { max-width: 560px; font-size: 18px; color: rgba(255, 255, 255, .86); font-weight: 300; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* ---------- Section ---------- */
.section { padding: 55px 0; }   /* khoảng cách giữa các mục (đã giảm 50%) */
.section--navy { background: radial-gradient(1200px 500px at 85% 0%, #31377a 0%, transparent 60%), var(--navy-900); color: #fff; }
.section__head { margin-bottom: 54px; }
.section__head--center { text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.eyebrow--light { color: var(--gold-soft); }
.title { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--navy); letter-spacing: -.015em; }
.title--light { color: #fff; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.about__text .title { margin-bottom: 26px; }
.about__text > p { color: var(--muted); font-size: 16.5px; }
.about__text strong { color: var(--navy); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 34px; }
.value { display: flex; gap: 14px; }
.value__icon { --c: #3b82f6; flex: none; width: 36px; height: 36px; color: var(--c); display: grid; place-items: center; transition: transform .3s; }
.value__icon svg { width: 34px; height: 34px; }
.value__icon--1 { --c: #12b5a6; }   /* Minh bạch – xanh ngọc */
.value__icon--2 { --c: #f2547d; }   /* Tận tâm – hồng */
.value__icon--3 { --c: #4f7cff; }   /* Chuyên nghiệp – xanh dương */
.value__icon--4 { --c: #f5a524; }   /* Đồng hành – cam vàng */
.value:hover .value__icon { transform: translateY(-2px) scale(1.06); }
.value h4 { font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.value p { font-size: 14px; color: var(--muted); margin: 0; }
.about__media { position: relative; height: 560px; }
.about__img { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__cap { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(15, 17, 48, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .02em; line-height: 1.3; }
.about__cap::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.about__cap--top { top: 12px; bottom: auto; }
.about__img--a { top: 0; right: 0; width: 80%; height: 66%; }
.about__img--b { bottom: 0; left: 0; width: 60%; height: 48%; border: 8px solid var(--bg); }
.about__badge { position: absolute; right: 6%; bottom: 8%; background: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.about__badge img { width: 110px; height: auto; }

/* ---------- Services ---------- */
/* --- Lĩnh vực hoạt động --- */
.services-sec { position: relative; }
/* Nền = ảnh bìa, cao đúng bằng mục để thấy trọn tòa nhà; mép trái/phải mờ dần vào nền navy */
.svc-bg-wrap { position: absolute; inset: 0; pointer-events: none; }   /* khung giữ nền nằm gọn trong mục */
.svc-bg { position: absolute; inset: 0; background: url('assets/img/svc-bg.jpg') 49% center / auto 100% no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); pointer-events: none; }
.services-sec::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 17, 48, .88) 0%, rgba(15, 17, 48, .68) 38%, rgba(15, 17, 48, .5) 100%); pointer-events: none; }
.services-sec > .container { z-index: 1; }
.svc-wrap { position: relative; display: grid; grid-template-columns: .9fr 1.4fr; gap: 64px; align-items: start; }
.svc-intro { position: sticky; top: 110px; }
.svc-intro .title { margin-bottom: 22px; }
.svc-intro__lead { color: rgba(255, 255, 255, .74); font-size: 16.5px; max-width: 420px; }
.svc-steps { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 12px; }
.svc-steps li { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .88); font-weight: 500; }
.svc-steps span { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(201, 162, 75, .55); color: var(--gold-soft); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 20px; }
.svc { position: relative; display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: 18px; background: rgba(15, 17, 48, .38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .14); overflow: hidden; transition: transform .35s, border-color .35s, background .35s; }
.svc::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transition: width .45s ease; }
.svc:hover { transform: translateY(-6px); border-color: rgba(231, 207, 143, .5); background: rgba(15, 17, 48, .52); }
.svc:hover::before { width: 100%; }
.svc__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.svc__icon { --c: #4f7cff; width: 46px; height: 46px; display: grid; place-items: center; color: var(--c); transition: transform .3s; }
.svc__icon svg { width: 40px; height: 40px; }
.svc__icon--1 { --c: #2fd0c0; }   /* Phát triển dự án – xanh ngọc */
.svc__icon--2 { --c: #ff6f93; }   /* Tư vấn đầu tư – hồng */
.svc__icon--3 { --c: #6f95ff; }   /* Marketing dự án – xanh dương */
.svc__icon--4 { --c: #ffb547; }   /* Công nghệ bán hàng – cam vàng */
.svc:hover .svc__icon { transform: translateY(-2px) scale(1.08); }
.svc__no { font-size: 44px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .78); }
.svc h3 { font-size: 21px; margin-bottom: 10px; }
.svc p { color: rgba(255, 255, 255, .7); font-size: 15px; margin: 0 0 18px; flex: 1; }
.svc__tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc__tags li { font-size: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .78); }

/* ---------- Project cards ---------- */
.pcards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }   /* 5 dự án: 2 thẻ lớn ở trên + 3 thẻ hàng dưới */
.pcards > .pcard { grid-column: span 2; }
.pcards > .pcard:nth-child(-n+2) { grid-column: span 3; }
.pcards > .pcard:nth-child(-n+2) .pcard__img { aspect-ratio: 16 / 9; }
.pcards .pcard__body h3 { font-size: 20px; }
@media (max-width: 1100px) {
  .pcards { grid-template-columns: repeat(2, 1fr); }
  .pcards > .pcard, .pcards > .pcard:nth-child(-n+2) { grid-column: auto; }
  .pcards > .pcard:nth-child(-n+2) .pcard__img { aspect-ratio: 4 / 3; }
  .pcards > .pcard:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pcards > .pcard:last-child:nth-child(odd) .pcard__img { aspect-ratio: 21 / 9; }
}
.pcard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px -18px rgba(23, 26, 64, .35); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.pcard__img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; transition: transform .6s; }
.pcard:hover .pcard__img { transform: scale(1.04); }
.pcard__img--mark { display: grid; place-items: center; text-align: center; }
.pcard__img--mark span { font-family: var(--font-mark); font-weight: 600; letter-spacing: .32em; font-size: 22px; line-height: 1.6; color: var(--gold-soft); padding-left: .32em; }
.pcard__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.pcard__body h3 { font-size: 23px; color: var(--navy); margin: 12px 0 6px; }
.pcard__body p { color: var(--muted); font-size: 15px; flex: 1; }
.pcard__more { align-self: flex-end; margin-top: 12px; font-weight: 600; color: var(--gold); font-size: 14px; }   /* nút xem chi tiết ở góc dưới phải */
.tag { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(38, 42, 98, .08); color: var(--navy); }
.tag--muted { background: rgba(201, 162, 75, .15); color: #8a6a22; }

/* Brand "wordmark" backgrounds for projects without photos */
.mark--rise { background: radial-gradient(600px 300px at 30% 20%, rgba(255, 255, 255, .08), transparent 60%), linear-gradient(140deg, #0d3b34 0%, #0a2a26 55%, #061b19 100%); }
.mark--royal { background: radial-gradient(600px 300px at 30% 20%, rgba(255, 255, 255, .08), transparent 60%), linear-gradient(140deg, #2d3277 0%, var(--navy-900) 55%, var(--navy-950) 100%); }

/* ---------- Project detail ---------- */
.project { padding: 70px 0; border-top: 1px solid var(--line); }
.project__head { display: flex; align-items: center; gap: 24px; margin-bottom: 38px; }
.project__no { font-size: 64px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.project__name { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: var(--navy); }
.project__head .eyebrow { margin-bottom: 6px; }
.project__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.project--alt .project__grid { grid-template-columns: 1.15fr 1fr; }
.project--alt .project__info { order: 2; }
.project__info > p { color: var(--muted); font-size: 16px; }

/* Chi tiết dự án: ẩn khỏi trang chủ, bấm thẻ dự án mới mở dạng cửa sổ phủ toàn màn hình */
.project { display: none; }
.project.is-open { display: block; position: fixed; inset: 0; z-index: 45; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-top: 0; padding: 105px max(20px, calc((100% - 1180px) / 2)) 60px; animation: projIn .35s ease; }   /* nằm dưới header chính (z-index 50) để header luôn hiện */
@keyframes projIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
body.modal-open { overflow: hidden; }
.project__back { display: flex; justify-content: center; margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line); }
.project__back a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--navy); color: var(--navy); font-weight: 600; transition: background .2s, color .2s; }
.project__back a:hover { background: var(--navy); color: #fff; }
.project__back svg { width: 18px; height: 18px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 26px 0 22px; }
.facts div { background: #fff; padding: 16px 18px; }
.facts dt { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 4px 0 0; font-weight: 700; color: var(--navy); font-size: 16.5px; }
.facts div:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* ô lẻ cuối cùng trải hết hàng */
.facts dd.muted { color: #a3a7b8; font-weight: 500; font-style: italic; }
.role { font-size: 15px; padding: 14px 18px; border-left: 3px solid var(--gold); background: rgba(201, 162, 75, .08); border-radius: 0 10px 10px 0; color: var(--ink) !important; }
.role b { color: var(--navy); }
.pending { font-style: italic; }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery a { display: block; overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 3; }
.gallery__big { grid-column: 1 / -1; aspect-ratio: 16 / 9 !important; }
.gallery--three { grid-template-columns: repeat(3, 1fr); }
.gallery--single .gallery__big { aspect-ratio: 4 / 3 !important; box-shadow: var(--shadow); border-radius: var(--radius); }
.gallery__plan { aspect-ratio: 1544 / 1091 !important; background: #e9f0d5; }   /* sơ đồ mặt bằng hiện trọn */
.gallery .gallery__full { aspect-ratio: var(--ar) !important; box-shadow: var(--shadow); border-radius: var(--radius); }   /* ảnh hiện trọn khung theo tỉ lệ gốc */
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.06); }

/* ---------- Đào tạo ---------- */
.training { background: #fff; }
.field { background: var(--bg); }
.field .gold { color: var(--gold); }
/* Khảo sát: tiêu đề căn trái, đoạn giới thiệu bên phải có vạch vàng, 3 bước nối nhau bằng đường kẻ */
.field__head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: end; margin-bottom: 48px; }
.field__head .title { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.12; }
.field__intro { margin: 0; padding-left: 26px; border-left: 3px solid var(--gold); color: var(--muted); font-size: 17px; }
.fsteps { list-style: none; margin: 0 0 44px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; position: relative; }
.fsteps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; border-top: 1px dashed rgba(201, 162, 75, .6); }
.fstep { position: relative; padding-top: 34px; }
.fstep::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 3px solid var(--gold); box-sizing: border-box; }
.fstep__no { display: block; font-size: 44px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.3px var(--gold); margin-bottom: 12px; }
.fstep h4 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.fstep p { margin: 0; font-size: 15px; color: var(--muted); }
.training .gold { color: var(--gold); }
.training .section__head { margin-bottom: 40px; }
.training__lead { max-width: 720px; margin: 18px auto 0; color: var(--muted); }
.tpillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.tpillar { display: flex; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); transition: transform .3s, box-shadow .3s; }
.tpillar:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tpillar:hover .value__icon { transform: translateY(-2px) scale(1.06); }
.tpillar h4 { font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.tpillar p { font-size: 14px; color: var(--muted); margin: 0; }
.tgallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: row dense; gap: 12px; }
.tgallery a { position: relative; display: block; overflow: hidden; border-radius: 12px; background: var(--navy-900); }
.tgallery img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); transition: transform .6s; }
.tgallery a:hover img { transform: scale(1.06); }
.tg--big { grid-column: span 2; grid-row: span 2; }
.tg--wide { grid-column: span 2; }
.tg--tall { grid-row: span 2; }
.tg__cap { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: rgba(15, 17, 48, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; font-size: 12px; font-weight: 500; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg__cap::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }

/* 3 ảnh xem trước ngoài trang: 1 ảnh lớn bên trái + 2 ảnh xếp chồng bên phải.
   Ảnh hiện trọn khung gốc; độ rộng cột tính theo tỉ lệ ảnh (--a1..--a3, main.js đo khi ảnh tải xong)
   để ảnh lớn cao đúng bằng 2 ảnh nhỏ cộng khoảng cách. */
.tgallery--preview { --a1: 1.3333; --a2: 1.3333; --a3: 1.3333; grid-template-columns: 1fr calc(((100% - 12px) / var(--a1) - 12px) / (1 / var(--a1) + 1 / var(--a2) + 1 / var(--a3))); grid-template-rows: auto auto; grid-auto-rows: auto; align-items: start; }
.tgallery--preview a:first-child { grid-row: 1 / span 2; }
.tgallery--preview img { height: auto; display: block; transition: filter .35s; }
.tgallery--preview a:hover img { transform: none; filter: brightness(1.08); }
.tg__more { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: rgba(15, 17, 48, .62); color: #fff; transition: background .3s; }
.tg__more b { font-size: 40px; font-weight: 800; line-height: 1; }
.tg__more span { font-size: 14px; font-weight: 600; color: var(--gold-soft); }
.tgallery--preview a:hover .tg__more { background: rgba(15, 17, 48, .5); }
.tgallery--preview a:has(.tg__more) .tg__cap { display: none; }

/* Album ảnh (cửa sổ phủ toàn màn hình) */
.album { position: fixed; inset: 0; z-index: 90; overflow-y: auto; overscroll-behavior: contain; background: rgba(10, 12, 34, .96); animation: projIn .3s ease; }
.album[hidden] { display: none; }
.album__inner { width: min(1180px, 100% - 40px); margin: 0 auto; padding: 28px 0 50px; }
.album__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0 18px; background: linear-gradient(180deg, rgba(10, 12, 34, .98) 70%, rgba(10, 12, 34, 0)); }
.album__eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.album__title { margin: 0; font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; color: #fff; }
.album__close { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; background: #fff; color: var(--navy); font: 600 14px/1 var(--font); cursor: pointer; }
.album__close span { font-size: 22px; line-height: 1; margin-top: -2px; }
.album__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.album__grid a { position: relative; display: block; overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 3; background: var(--navy-900); }
.album__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.album__grid a:hover img { transform: scale(1.05); }
.album__grid .tg__cap { font-size: 11px; padding: 4px 9px; left: 8px; bottom: 8px; max-width: calc(100% - 16px); }
body.album-open { overflow: hidden; }

.showcase { border-radius: var(--radius); aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 30px; box-shadow: var(--shadow); }
.showcase__name { font-family: var(--font-mark); font-weight: 600; color: var(--gold-soft); letter-spacing: .32em; font-size: clamp(20px, 2.6vw, 32px); padding-left: .32em; }
.showcase__note { font-size: 13px; color: rgba(255, 255, 255, .55); letter-spacing: .05em; }

/* ---------- Contact ---------- */
.contact__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.contact .title { font-size: clamp(28px, 3.3vw, 42px); }
.contact__lead { color: rgba(255, 255, 255, .75); margin-top: 22px; max-width: 480px; }
.contact__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 460px; margin-top: 30px; }
.contact__cta > * { justify-content: center; }
.btn__ic { display: inline-grid; flex: none; width: 18px; height: 18px; }
.btn__ic svg { width: 100%; height: 100%; }
.chat-btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px 12px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); transition: transform .2s, background .2s, border-color .2s; }
.chat-btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .14); }
.chat-btn--zalo:hover { border-color: #3d8bff; }
.chat-btn--msg:hover { border-color: #b36bff; }
.chat-btn--fb:hover { border-color: #3d8bff; }
.chat-btn__ic { flex: none; width: 26px; height: 26px; display: inline-grid; }
.chat-btn__ic svg { width: 100%; height: 100%; }
.contact__side { display: grid; gap: 14px; }
.ccard { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 2px; align-items: center; padding: 18px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background .25s, border-color .25s; }
.ccard:hover { background: rgba(255, 255, 255, .09); border-color: rgba(231, 207, 143, .45); }
.ccard__ic { grid-row: 1 / span 3; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--gold-soft); background: rgba(231, 207, 143, .12); }
.ccard__ic svg { width: 22px; height: 22px; }
.ccard__label, .ccard__val, .ccard__more { grid-column: 2; }
.ccard__label { font-size: 13px; color: rgba(255, 255, 255, .6); }
.ccard__val { font-size: 16px; font-weight: 600; color: #fff; }
.ccard__more { padding-top: 4px; font-size: 13px; font-weight: 600; color: var(--gold-soft); }
.contact__map { position: relative; height: 280px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); }
.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact__map-btn { position: absolute; right: 12px; top: 12px; padding: 10px 18px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 10px 24px -10px rgba(15, 17, 48, .7); transition: background .2s; }
.contact__map-btn:hover { background: var(--navy-900); }


.footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); padding: 34px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { height: 44px; width: auto; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .55)); }
.footer__brand strong { display: block; color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .04em; }
.footer__brand small { color: var(--gold-soft); }
.footer__copy { margin: 0; font-size: 13px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 9, 26, .94); display: grid; place-items: center; padding: 40px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 14px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 14px; top: 50%; translate: 0 -50%; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .svc-wrap { grid-template-columns: 1fr; gap: 44px; }
  .svc-intro { position: static; }
  .about { gap: 50px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; top: 61px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; padding: 10px 20px 24px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s; }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a:not(.btn) { color: var(--navy) !important; padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
  .header.menu-open { background: #fff; }
  .header.menu-open .brand__text { color: var(--navy); }
  .header.menu-open .nav-toggle span { background: var(--navy); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 40px 0; }
  .hero__content { padding: 110px 0 36vh; }
  /* Lĩnh vực hoạt động: ảnh nền phủ kín, tòa nhà nằm chính giữa */
  /* Nền dính theo màn hình: ảnh cao đúng 1 màn hình, đứng yên khi cuộn, các thẻ trượt lên trên */
  .services-sec { padding-top: 0; padding-bottom: 0; }
  .services-sec > .container { padding-top: 40px; padding-bottom: 20px; }  /* ô cuối sát đáy nền: tới ô cuối thì nền cuộn theo, không lộ thêm ảnh */
  .svc-bg { inset: auto; position: sticky; top: 0; display: block; height: 100vh; height: 100svh; background-size: cover; background-position: 49% center; -webkit-mask-image: none; mask-image: none; }
  .services-sec::after { background: linear-gradient(180deg, rgba(15, 17, 48, .68) 0, rgba(15, 17, 48, .68) calc(100% - 60px), var(--navy-900) 100%); }
  .about, .contact__inner { grid-template-columns: 1fr; }
  .contact__inner { gap: 34px; }
  .contact__map { height: 260px; }
  .about__media { height: 420px; }
  .pcards { grid-template-columns: 1fr; }
  .pcards > .pcard:last-child:nth-child(odd) .pcard__img { aspect-ratio: 4 / 3; }
  .project.is-open { padding-top: 93px; padding-bottom: 40px; }
  .project__grid, .project--alt .project__grid { grid-template-columns: 1fr; gap: 30px; }
  .project--alt .project__info { order: 0; }
  .tpillars { grid-template-columns: 1fr; gap: 12px; margin-bottom: 28px; }
  .tpillar { padding: 18px; }
  .tgallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 8px; }
  .tgallery--preview { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .tgallery--preview a:first-child { grid-row: auto; grid-column: 1 / -1; }
  .tg__more b { font-size: 30px; }
  .tg__more span { font-size: 12px; }
  .album__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .album__inner { width: calc(100% - 24px); padding-top: 12px; }
  .album__close { height: 38px; }
  .field__head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  .field__head .title { font-size: min(6.2vw, 34px); white-space: nowrap; }  /* tiêu đề 1 hàng trên mobile */
  .field__head .title br { display: none; }
  .field__intro { padding-left: 18px; font-size: 16px; }
  .fsteps { grid-template-columns: 1fr; gap: 22px; margin-bottom: 28px; padding-left: 30px; }
  .fsteps::before { left: 7px; right: auto; top: 6px; bottom: 6px; border-top: 0; border-left: 1px dashed rgba(201, 162, 75, .6); }
  .fstep { padding-top: 0; }
  .fstep::before { left: -30px; top: 6px; }
  .fstep__no { font-size: 34px; margin-bottom: 6px; }
}
@media (max-width: 520px) {
  .svc-grid, .values, .facts { grid-template-columns: 1fr; }
  .hero__lead { font-size: 16px; }
  .project__no { font-size: 46px; }
  .ccard { padding: 16px 18px; column-gap: 14px; }
  .contact__cta { gap: 10px; max-width: none; }
  /* 4 nút xếp 2×2: Gọi | Zalo, Messenger | Fanpage */
  .contact__cta > * { padding: 12px 10px; gap: 7px; font-size: 14px; white-space: nowrap; }
  .contact__cta .chat-btn__ic { width: 22px; height: 22px; }
  .contact__cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lightbox { padding: 20px 10px; }
  .tgallery { grid-auto-rows: 120px; }
  .tg__cap { left: 6px; bottom: 6px; max-width: calc(100% - 12px); padding: 4px 9px; font-size: 11px; }
}
@media (max-width: 360px) {
  .contact__cta > * { padding: 11px 6px; gap: 5px; font-size: 13px; }
}

/* ---------- Tầm nhìn · Sứ mệnh · Giá trị cốt lõi ---------- */
.vision { background: #fff; }
.vision .gold { color: var(--gold); }
.vision__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vcard { position: relative; padding: 34px 34px 32px; border-radius: var(--radius); }
.vcard__head, .cvalues__head { display: flex; align-items: center; gap: 14px; }   /* icon màu không viền, tiêu đề đặt bên icon */
.vcard__head { margin-bottom: 16px; }
.vcard h3 { font-size: 22px; margin: 0; letter-spacing: .01em; }
.vcard:hover .value__icon, .cvalues:hover .value__icon { transform: translateY(-2px) scale(1.06); }
.vcard--vision { background: radial-gradient(520px 260px at 90% 0%, rgba(231, 207, 143, .16), transparent 60%), linear-gradient(140deg, var(--navy), var(--navy-950)); color: #fff; }
.vcard--vision h3 { color: var(--gold-soft); }
.vcard--vision p { margin: 0; font-size: 18px; line-height: 1.7; font-weight: 300; color: rgba(255, 255, 255, .92); }
.vcard--mission { background: var(--bg); border: 1px solid var(--line); }
.vcard--mission h3 { color: var(--navy); }
.vcard__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vcard__list li { position: relative; padding-left: 26px; color: var(--ink); font-size: 16px; }
.vcard__list b { color: var(--navy); font-weight: 700; }
.vcard__list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--gold); box-sizing: border-box; }
.cvalues { margin-top: 22px; padding: 30px 34px 34px; border: 1px solid var(--line); border-radius: var(--radius); }
.cvalues__head { margin-bottom: 24px; }
.cvalues__head h3 { font-size: 22px; color: var(--navy); }
.cvalues__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.cvalues__list li { padding: 4px 24px 0; border-left: 1px solid var(--line); }
.cvalues__list li:first-child { padding-left: 0; border-left: 0; }
.cvalues__list b { display: block; font-size: 40px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.3px var(--gold); }
.cvalues__list h4 { margin: 12px 0 6px; font-size: 18px; color: var(--navy); }
.cvalues__list p { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 1024px) {
  .cvalues__list { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .cvalues__list li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
  .vision__grid { grid-template-columns: 1fr; }
  .vcard { padding: 26px 22px; }
  .vcard--vision p { font-size: 16.5px; }
  .cvalues { padding: 24px 22px 26px; }
}
@media (max-width: 520px) {
  .cvalues__list { grid-template-columns: 1fr; gap: 22px; }
  .cvalues__list li { padding: 0; border-left: 0; }
  .cvalues__list li + li { padding-top: 22px; border-top: 1px solid var(--line); }
}
@media (min-width: 861px) and (max-width: 1040px) {
  .nav { gap: 18px; }
  .nav a:not(.btn) { font-size: 14px; }
}
