/* =========================================================
   DMP TECH — Stylesheet
   Màu thương hiệu lấy theo logo: xanh dương + xanh navy, nhấn cam công nghiệp
   ========================================================= */
:root {
  --blue: #1976d2;
  --blue-2: #2196f3;
  --blue-soft: #e8f2fd;
  --navy: #0a1d45;
  --navy-2: #13306e;
  --accent: #f59e0b;
  --accent-2: #ea8a00;
  --text: #0f1b33;
  --muted: #5b6b85;
  --line: #e3e9f2;
  --bg: #ffffff;
  --surface: #f4f7fb;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(10, 29, 69, .18);
  --shadow-lg: 0 24px 60px -20px rgba(10, 29, 69, .35);
  --container: 1240px;
  --header-h: 64px;
  --font: Arial, Helvetica, sans-serif;                     /* chữ nhỏ: nội dung, menu, nút */
  --font-head: 'Montserrat', Arial, Helvetica, sans-serif; /* chữ to: tiêu đề, số lớn */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy-2); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 .6em; color: var(--navy); font-weight: 700; letter-spacing: 0; }
/* Đầu mục lớn viết IN HOA (trừ tiêu đề trong nội dung bài viết/mô tả soạn ở quản trị) */
h1, h2 { text-transform: uppercase; letter-spacing: .01em; }
.rich h1, .rich h2 { text-transform: none; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }
svg.i { width: 1.2em; height: 1.2em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
svg.i.fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.alt { background: var(--surface); }
.section.dark { background: var(--navy); color: #c9d5ec; }
.section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--accent); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow::after { content: ''; width: 28px; height: 2px; background: var(--accent); }
.section-head h2 { font-size: clamp(24px, 2.8vw, 34px); }
.section-head p { color: var(--muted); font-size: 17px; }
.section.dark .section-head p { color: #9fb1d4; }
.row-between { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 2px solid transparent; transition: all .25s; white-space: nowrap; line-height: 1.2; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #1b1300; }
.btn-accent:hover { background: var(--accent-2); color: #1b1300; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============ TOPBAR & HEADER ============ */
.topbar { background: var(--navy); color: #b8c6e3; font-size: 13.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { color: #dbe5f7; }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-left span, .topbar-left a { display: inline-flex; align-items: center; gap: 6px; }
.topbar .socials { display: flex; gap: 12px; }
.lang { display: flex; gap: 4px; }
.lang a { padding: 2px 8px; border-radius: 4px; font-weight: 600; font-size: 12px; }
.lang a.on { background: var(--blue); color: #fff; }

.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 6px 24px -12px rgba(10,29,69,.25); }
.header .container { display: flex; align-items: center; height: var(--header-h); gap: 24px; }
.logo img { height: 46px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; height: 100%; }
.nav > .nav-item { position: static; height: 100%; display: flex; align-items: center; }
.nav > .nav-item > a { display: flex; align-items: center; gap: 4px; padding: 8px 14px; font-weight: 600; font-size: 15px; color: var(--text); border-radius: 8px; position: relative; }
.nav > .nav-item > a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -2px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s; }
.nav > .nav-item > a:hover, .nav > .nav-item > a.active { color: var(--blue); }
.nav > .nav-item > a.active::after, .nav > .nav-item:hover > a::after { transform: scaleX(1); }
.nav .chev { width: 14px; height: 14px; transition: transform .25s; }
.nav-item.has-mega:hover .chev { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 0; color: var(--navy); transition: all .2s; }
.icon-btn:hover { background: var(--blue); color: #fff; }
.burger { display: none; }

/* ---- Header gọn (1 dòng) ---- */
.header .container { height: var(--header-h); gap: 20px; }
.logo img { height: 40px; }
.nav > .nav-item > a { padding: 6px 11px; font-size: 13.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.nav > .nav-item > a::after { left: 11px; right: 11px; bottom: -4px; }
.header-actions { gap: 8px; margin-left: 8px; }
.hsearch { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 170px; height: 34px; padding: 0 12px 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 13px; transition: all .2s; }
.hsearch:hover { border-color: var(--blue); background: #fff; color: var(--blue); }
.hsearch svg { width: 16px; height: 16px; }
.hphone { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; font-size: 13.5px; white-space: nowrap; transition: background .2s; }
.hphone:hover { background: var(--navy-2); color: #fff; }
.hphone svg { width: 15px; height: 15px; }
.hlang { display: flex; gap: 4px; align-items: center; }
.hlang a { display: grid; place-items: center; padding: 3px; border-radius: 4px; opacity: .45; transition: opacity .2s; }
.hlang a.on, .hlang a:hover { opacity: 1; }
.flag { display: block; width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.flag.vn { background: #da251d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Cpolygon fill='%23ff0' points='15,4 16.18,7.63 20,7.63 16.91,9.87 18.09,13.5 15,11.26 11.91,13.5 13.09,9.87 10,7.63 13.82,7.63'/%3E%3C/svg%3E") center/cover; }
.flag.en { background: #b22234 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7410 3900'%3E%3Cdefs%3E%3Cpattern id='s' width='494' height='420' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='247' cy='210' r='95' fill='%23fff'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='7410' height='3900' fill='%23b22234'/%3E%3Cpath d='M0 450H7410M0 1050H7410M0 1650H7410M0 2250H7410M0 2850H7410M0 3450H7410' stroke='%23fff' stroke-width='300'/%3E%3Crect width='2964' height='2100' fill='%233c3b6e'/%3E%3Crect width='2964' height='2100' fill='url(%23s)'/%3E%3C/svg%3E") center/cover; } /* cờ Mỹ */
@media (max-width: 1180px) { .hsearch { width: 38px; padding: 0; justify-content: center; } .hsearch span { display: none; } }
@media (max-width: 1060px) { .hphone span { display: none; } .hphone { width: 34px; padding: 0; justify-content: center; } }
@media (max-width: 960px) { .hlang { display: none; } }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s; }
.nav-item.has-mega:hover .mega, .nav-item.has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: repeat(3, 1fr) 300px; gap: 32px; padding: 32px 20px 36px; max-width: var(--container); margin: 0 auto; }
.mega-col h4 { font-size: 15px; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--blue-soft); }
.mega-col h4 a { color: var(--navy); display: flex; align-items: center; gap: 8px; }
.mega-col h4 a:hover { color: var(--blue); }
.mega-col h4 .ic { width: 32px; height: 32px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col li { margin: 2px 0; }
.mega-col li > a { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; border-radius: 6px; color: var(--text); font-size: 14.5px; font-weight: 500; }
.mega-col li > a:hover { background: var(--surface); color: var(--blue); }
.mega-col .sub { padding-left: 12px; margin: 0 0 6px 8px; border-left: 2px solid var(--line); }
.mega-col .sub a { font-size: 13.5px; color: var(--muted); padding: 3px 8px; font-weight: 400; }
.badge-brand { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 4px; background: #fff3dc; color: #a15c00; }
.mega-promo { border-radius: var(--radius); overflow: hidden; position: relative; background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; padding: 22px; }
.mega-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.mega-promo > * { position: relative; }
.mega-promo h4 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.mega-promo p { font-size: 14px; color: #d4def2; margin-bottom: 14px; }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(10,29,69,.75); backdrop-filter: blur(6px); display: none; padding: 10vh 16px 16px; }
.search-overlay.open { display: block; }
.search-box { max-width: 720px; margin: 0 auto; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.search-box .field { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.search-box input { flex: 1; border: 0; outline: 0; padding: 20px 0; font-size: 18px; min-width: 0; }
.search-results { max-height: 60vh; overflow: auto; padding: 8px; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--text); }
.search-results a:hover, .search-results a.on { background: var(--surface); }
.search-results small { display: block; color: var(--muted); font-size: 12.5px; }
.search-results .thumb { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; flex: none; background: var(--blue-soft); display: grid; place-items: center; color: var(--blue); }
.search-results .thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-empty { padding: 24px; text-align: center; color: var(--muted); }

/* ============ HERO ============ */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease-out; }
.hero-slide.on img { transform: scale(1); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,29,69,.95) 0%, rgba(10,29,69,.78) 45%, rgba(10,29,69,.25) 100%); }
.hero-content { position: relative; z-index: 2; padding: 80px 0 140px; max-width: 700px; }
.hero .tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: 13.5px; font-weight: 500; margin-bottom: 22px; }
.hero .tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(245,158,11,.25); }
.hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; letter-spacing: .01em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--blue-2); background: linear-gradient(90deg, #4fb3ff, #9fd4ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: 18px; color: #c9d5ec; max-width: 580px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-caption { margin-top: 36px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-caption button { background: transparent; border: 0; padding: 0 0 8px; color: #8fa3c8; font-weight: 600; font-size: 13.5px; border-bottom: 2px solid rgba(255,255,255,.15); margin-right: 14px; transition: all .3s; }
.hero-caption button.on { color: #fff; border-color: var(--accent); }

/* Business area cards (overlap hero) */
.areas-strip { position: relative; z-index: 5; margin-top: -90px; }
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 10px; color: var(--text); border-top: 4px solid var(--blue); transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden; }
.area-card:hover { transform: translateY(-6px); color: var(--text); }
.area-card .ic { width: 56px; height: 56px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; transition: all .3s; }
.area-card .ic svg { width: 28px; height: 28px; }
.area-card:hover .ic { background: var(--blue); color: #fff; }
.area-card h3 { font-size: 18px; margin: 6px 0 0; text-transform: uppercase; letter-spacing: .01em; }
.area-card p { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.area-card .chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.chip { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--navy-2); font-weight: 500; border: 1px solid var(--line); }
.area-card .link-arrow { color: var(--blue); margin-top: 6px; }
.area-card .num { position: absolute; right: 18px; top: 10px; font-family: var(--font-head); font-size: 64px; font-weight: 800; color: var(--surface); line-height: 1; z-index: 0; }
.area-card > *:not(.num) { position: relative; z-index: 1; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media .main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.about-media .main img { width: 100%; height: 100%; object-fit: cover; }
.about-media .float { position: absolute; right: -24px; bottom: -28px; width: 46%; border-radius: var(--radius); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: #fff; }
.about-media .float img { width: 100%; height: 100%; object-fit: cover; }
.about-media .slogan { position: absolute; left: -18px; top: 28px; background: var(--accent); color: #1b1300; font-weight: 700; padding: 14px 18px; border-radius: 12px; box-shadow: var(--shadow); font-size: 15px; max-width: 220px; line-height: 1.35; }
.about-media .slogan small { display: block; font-weight: 500; font-size: 12px; opacity: .8; }
.checklist { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.checklist li svg { color: #fff; background: var(--blue); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 1px; }

/* Solution cards */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, border-color .3s; color: var(--text); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.card-media { position: relative; aspect-ratio: 16/11; overflow: hidden; background: linear-gradient(135deg, var(--blue-soft), #f7fbff); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.06); }
.card-media .ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--blue); position: relative; }
.card-media .ph::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(25,118,210,.13) 1px, transparent 1px); background-size: 16px 16px; }
.card-media .ph svg { width: 64px; height: 64px; stroke-width: 1.3; position: relative; }
.card-media .badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; }
.card-media .count { position: absolute; right: 12px; bottom: 12px; background: rgba(10,29,69,.82); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 18px; margin: 0; transition: color .2s; }
.card:hover .card-body h3 { color: var(--blue); }
.card-body p { color: var(--muted); font-size: 14.5px; margin: 0; flex: 1; }
.card-body .link-arrow { font-size: 14px; color: var(--blue); margin-top: 6px; }
.card-body .specs-mini { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

.cards-grid.five { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cards-grid.five .card-body { padding: 18px; }
.cards-grid.five .card-body h3 { font-size: 16.5px; }
@media (max-width: 1100px) { .cards-grid.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .cards-grid.five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cards-grid.five { grid-template-columns: 1fr; } }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(var(--cols, 6), 1fr); gap: 16px; }
.industry { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 28px 14px; text-align: center; color: #fff; font-weight: 600; transition: all .3s; }
.industry:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-4px); }
.industry svg { display: block; width: 40px; height: 40px; margin: 0 auto 12px; color: #7cc1ff; stroke-width: 1.5; }
.industry:hover svg { color: #fff; }

/* Process */
.process { display: grid; grid-template-columns: repeat(var(--steps, 5), 1fr); gap: 18px; counter-reset: step; position: relative; }
.process::before { content: ''; position: absolute; top: 32px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 16px); opacity: .35; }
.step { text-align: center; position: relative; }
.step .n { width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue); display: grid; place-items: center; margin: 0 auto 16px; position: relative; z-index: 1; transition: all .3s; }
.step .n svg { width: 28px; height: 28px; }
.step:hover .n { background: var(--blue); color: #fff; transform: scale(1.08); }
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step h4::before { counter-increment: step; content: '0' counter(step) '. '; color: var(--accent-2); }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 20px; }
.why { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: all .3s; }
.why:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.why .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--navy-2)); color: #fff; margin-bottom: 16px; }
.why h4 { font-size: 17px; }
.why p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* Video & gallery */
.video-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.video-grid .side { display: grid; gap: 20px; }
.video { position: relative; border-radius: var(--radius); overflow: hidden; display: block; background: #000; aspect-ratio: 16/9; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: all .5s; }
.video:hover img { opacity: .6; transform: scale(1.04); }
.video .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--blue); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,255,255,.2); transition: transform .3s; }
.video:hover .play { transform: translate(-50%, -50%) scale(1.1); }
.video .play svg { width: 26px; height: 26px; margin-left: 4px; }
.video .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-weight: 600; font-size: 15px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.gallery a { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; display: block; background: #fff; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.08); }

/* Brands strip */
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.brand { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; align-items: center; gap: 16px; background: #fff; color: var(--text); transition: all .3s; }
.brand:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--text); }
.brand .mark { width: 56px; height: 56px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 10.5px; letter-spacing: 0; flex: none; overflow: hidden; text-align: center; line-height: 1.1; padding: 4px; }
.brand b { display: block; color: var(--navy); }
.brand small { color: var(--muted); }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.news-card .meta { display: flex; gap: 12px; font-size: 13px; color: var(--muted); align-items: center; }
.news-card .meta .chip { background: var(--blue-soft); border: 0; color: var(--blue); }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--blue) 0%, var(--navy-2) 70%); color: #fff; border-radius: 22px; padding: 48px 52px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255,255,255,.06); }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 8px; }
.cta-band p { color: #d0dcf3; margin: 0; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .phone-big { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--font-head); font-size: 24px; font-weight: 800; }
.cta-band .phone-big .ic { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; }

/* ============ PAGE HEADER ============ */
.page-hero { position: relative; background: var(--navy); color: #fff; padding: 64px 0 56px; overflow: hidden; }
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,29,69,.96) 30%, rgba(10,29,69,.6)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 10px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.page-hero p { color: #c3d0ea; max-width: 760px; font-size: 17px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; margin-bottom: 18px; color: #8fa3c8; }
.breadcrumb a { color: #c3d0ea; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }
.level-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 8px; display: block; }

/* Category layout */
.cat-layout { display: grid; grid-template-columns: 290px 1fr; gap: 40px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-box h4 { margin: 0; padding: 16px 18px; font-size: 15px; background: var(--navy); color: #fff; display: flex; align-items: center; gap: 8px; }
.tree { list-style: none; margin: 0; padding: 8px; }
.tree ul { list-style: none; margin: 0 0 4px 14px; padding: 0 0 0 8px; border-left: 1px dashed var(--line); }
.tree a { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 7px 10px; border-radius: 8px; font-size: 14.5px; color: var(--text); font-weight: 500; }
.tree ul a { font-size: 14px; font-weight: 400; color: var(--muted); }
.tree a:hover { background: var(--surface); color: var(--blue); }
.tree a.on { background: var(--blue); color: #fff; }
.tree a.in { color: var(--blue); font-weight: 600; }
.tree .cnt { font-size: 12px; background: var(--surface); color: var(--muted); padding: 1px 8px; border-radius: 999px; font-weight: 600; }
.tree a.on .cnt { background: rgba(255,255,255,.2); color: #fff; }
.side-contact { background: linear-gradient(150deg, var(--blue), var(--navy-2)); color: #fff; border-radius: var(--radius); padding: 24px; }
.side-contact h4 { color: #fff; font-size: 17px; }
.side-contact p { color: #d0dcf3; font-size: 14px; }
.side-contact .btn { width: 100%; margin-top: 8px; }
.cat-intro { background: var(--surface); border-radius: var(--radius); padding: 28px 30px; margin-bottom: 36px; border-left: 4px solid var(--blue); }
.cat-intro p:last-child { margin: 0; }
.cat-intro h3 { font-size: 19px; margin-top: 1em; }
.cat-intro .ext { margin-top: 12px; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 14px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.toolbar h2 { font-size: 22px; margin: 0; }
.toolbar .filter { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; background: #fff; }
.toolbar .filter input { border: 0; outline: 0; padding: 10px 0; width: 220px; max-width: 50vw; }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* Areas page (Lĩnh vực kinh doanh) */
.area-block { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.area-block:last-child { border-bottom: 0; }
.area-block:nth-child(even) .area-media { order: 2; }
.area-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/11; box-shadow: var(--shadow-lg); position: relative; }
.area-media img { width: 100%; height: 100%; object-fit: cover; }
.area-media .big-num { position: absolute; left: 20px; bottom: 14px; font-family: var(--font-head); font-size: 80px; font-weight: 800; color: rgba(255,255,255,.9); line-height: 1; text-shadow: 0 4px 20px rgba(0,0,0,.4); }
.area-block h2 { font-size: clamp(22px, 2.6vw, 30px); display: flex; gap: 12px; align-items: center; }
.area-block h2 .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.area-block > div > p { color: var(--muted); }
.sub-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 26px; }
.sub-list a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 14.5px; transition: all .2s; }
.sub-list a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.sub-list a svg { color: var(--blue); }
.sub-list a .badge-brand { margin-left: auto; }

/* Product detail */
.product-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: start; }
.gallery-main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: var(--surface); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery-main .ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--blue); background-image: radial-gradient(rgba(25,118,210,.13) 1px, transparent 1px); background-size: 18px 18px; }
.gallery-main .ph svg { width: 120px; height: 120px; stroke-width: 1.1; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: #fff; transition: border-color .2s; }
.thumbs button.on { border-color: var(--blue); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.p-info h1 { font-size: clamp(22px, 2.6vw, 32px); }
.p-info .lead { font-size: 17px; color: var(--muted); }
.p-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.p-features { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.p-features li { display: flex; gap: 10px; }
.p-features svg { color: var(--blue); margin-top: 3px; }
.p-actions { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); margin-top: 24px; }
.p-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; display: flex; gap: 8px; align-items: center; }
.tabs { margin-top: 64px; }
.tab-nav { display: flex; gap: 6px; border-bottom: 2px solid var(--line); overflow-x: auto; }
.tab-nav button { background: none; border: 0; padding: 14px 22px; font-weight: 600; font-size: 15px; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.tab-nav button.on { color: var(--blue); border-color: var(--blue); }
.tab-pane { display: none; padding: 30px 0; }
.tab-pane.on { display: block; }
.spec-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-table th { width: 34%; background: var(--surface); color: var(--navy); font-weight: 600; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.app-list { display: flex; flex-wrap: wrap; gap: 10px; }
.app-list span { padding: 10px 16px; border-radius: 10px; background: var(--blue-soft); color: var(--navy-2); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }

/* About page */
.vmv { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 22px; }
.vmv .why { text-align: left; }
.timeline-cap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* Article */
.article { max-width: 820px; margin: 0 auto; }
.article .cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; }
.article h3 { margin-top: 1.6em; }
.article li { margin-bottom: 6px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.info-cards { display: grid; gap: 16px; }
.info-card { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--text); }
.info-card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.info-card b { display: block; color: var(--navy); margin-bottom: 2px; }
.info-card span { color: var(--muted); font-size: 15px; word-break: break-word; }
a.info-card:hover { border-color: var(--blue); color: var(--text); }
.form-card { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.form-grid label .req { color: #d64545; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); outline: 0; transition: all .2s; color: var(--text); }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-soft); }
.form-grid textarea { min-height: 130px; resize: vertical; }
.form-grid .invalid { border-color: #d64545; }
.form-msg { margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-size: 14.5px; display: none; }
.form-msg.ok { display: block; background: #e7f7ee; color: #17663a; }
.form-msg.err { display: block; background: #fdecec; color: #a32020; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 380px; margin-top: 40px; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ============ FOOTER ============ */
.footer { background: #07152f; color: #9fb1d4; padding-top: 72px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--accent); }
.footer a { color: #b6c5e2; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer .f-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 10px; margin-bottom: 18px; }
.footer .f-logo img { height: 42px; }
.footer .contact-line { display: flex; gap: 10px; margin-bottom: 10px; align-items: flex-start; }
.footer .contact-line svg { color: var(--accent); margin-top: 3px; }
.footer .socials { display: flex; gap: 10px; margin-top: 18px; }
.footer .socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: all .2s; }
.footer .socials a:hover { background: var(--blue); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: 13.5px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Floating contact */
.float-contact { position: fixed; right: 18px; bottom: 22px; z-index: 90; display: grid; gap: 12px; }
.float-contact a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 20px -6px rgba(0,0,0,.35); position: relative; transition: transform .2s; }
.float-contact a:hover { transform: scale(1.08); color: #fff; }
.float-contact .zalo { background: #0068ff; font-weight: 800; font-size: 13px; }
.float-contact .call { background: #e53935; }
.float-contact .call::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #e53935; animation: ring 1.8s infinite; z-index: -1; }
.float-contact .top { background: var(--navy); opacity: 0; pointer-events: none; transition: opacity .3s; }
.float-contact .top.show { opacity: 1; pointer-events: auto; }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* Video main fills full height of side column */
.video-grid .video.main { aspect-ratio: auto; height: 100%; min-height: 280px; }
@media (max-width: 960px) { .video-grid .video.main { aspect-ratio: 16/9; height: auto; min-height: 0; } }

/* Video popup */
.vmodal { position: fixed; inset: 0; z-index: 310; background: rgba(5,12,28,.92); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.vmodal.open { opacity: 1; visibility: visible; }
.vbox { position: relative; width: min(1100px, 100%, calc((100vh - 120px) * 16 / 9)); transform: scale(.94); transition: transform .3s; }
.vmodal.open .vbox { transform: none; }
.vframe { aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.vframe iframe { width: 100%; height: 100%; border: 0; display: block; }
.vbox .x { position: absolute; top: -52px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; transition: background .2s; }
.vbox .x:hover { background: var(--accent); color: #1b1300; }

/* Ảnh có thể phóng to: zoom nhẹ khi hover + icon kính lúp */
.about-media .main, .about-media .float, .area-media, .article .cover { position: relative; overflow: hidden; cursor: zoom-in; }
.about-media .float { position: absolute; }
.about-media img, .area-media img, .article .cover img { transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s; }
.about-media .main:hover img, .about-media .float:hover img, .area-media:hover img, .article .cover:hover img { transform: scale(1.06); filter: brightness(.9); }
.about-media .main::after, .about-media .float::after, .area-media::after, .article .cover::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231976d2' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E") center/24px no-repeat;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: all .3s; pointer-events: none;
}
.about-media .float::after { width: 40px; height: 40px; background-size: 20px; }
.about-media .main:hover::after, .about-media .float:hover::after, .area-media:hover::after, .article .cover:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(5,12,28,.92); z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; animation: lbFade .3s ease; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 10px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: lbZoom .35s cubic-bezier(.2,.7,.2,1); }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbZoom { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.lightbox .x { top: 18px; right: 18px; }
.lightbox .prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { transition: none !important; animation: none !important; } }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .mega-inner { grid-template-columns: repeat(3, 1fr); }
  .mega-promo { display: none; }
  .industries { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .topbar-left .addr { display: none; }
  .burger { display: grid; }
  .header-actions .btn { display: none; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; flex-direction: column; align-items: stretch; height: auto; padding: 76px 16px 24px; gap: 0; transform: translateX(100%); transition: transform .35s ease; overflow-y: auto; z-index: 150; box-shadow: var(--shadow-lg); margin: 0; }
  .nav.open { transform: none; }
  .nav > .nav-item { height: auto; flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--line); }
  .nav > .nav-item > a { padding: 14px 6px; justify-content: space-between; }
  .nav > .nav-item > a::after { display: none; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; }
  .nav-item.has-mega.open .mega { display: block; }
  .nav-item.has-mega.open .chev { transform: rotate(180deg); }
  .nav-item.has-mega:hover .chev { transform: none; }
  .nav-item.has-mega.open:hover .chev { transform: rotate(180deg); }
  .mega-inner { grid-template-columns: 1fr; gap: 18px; padding: 4px 4px 16px; }
  .nav-close { position: absolute; top: 14px; right: 14px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(10,29,69,.5); z-index: 140; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav-backdrop.show { opacity: 1; pointer-events: auto; }
  /* backdrop-filter trên header làm menu trượt (position:fixed bên trong) bị co theo chiều cao header -> bỏ trên mobile */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  /* khi mở menu: header (chứa menu) phải nằm trên lớp nền mờ */
  body.nav-open .header { z-index: 160; }
  .areas-grid { grid-template-columns: 1fr; }
  .areas-strip { margin-top: -60px; }
  .about-grid, .product-top, .contact-grid, .area-block, .cat-layout, .video-grid { grid-template-columns: 1fr; gap: 36px; }
  .area-block:nth-child(even) .area-media { order: 0; }
  .sidebar { position: static; order: 2; }
  .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
  .vmv, .timeline-cap { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 36px 28px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .about-media .float { right: 0; }
  .about-media .slogan { left: 0; }
}
@media (min-width: 961px) { .nav-close, .nav-backdrop { display: none; } }
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .topbar .container { justify-content: center; }
  .topbar-right { display: none; }
  .hero-content { padding: 60px 0 110px; }
  .hero p.lead { font-size: 16px; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .process { grid-template-columns: 1fr; }
  .checklist, .sub-list, .form-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .cards-grid, .news-grid { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(4, 1fr); }
  .toolbar .filter input { width: 150px; }
  .logo img { height: 38px; }
  .area-card { padding: 22px; }
}

/* ---------- Bổ sung cho trang con (dữ liệu thật từ CKEditor) ---------- */
.rich { overflow-wrap: anywhere; }
.rich [style*="color"] { color: inherit !important; }
.rich [style*="font-family"] { font-family: inherit !important; }
.rich [style*="font-size"] { font-size: inherit !important; }
.rich img { max-width: 100%; height: auto !important; border-radius: var(--radius-sm); }
.rich table { width: 100% !important; border-collapse: collapse; margin: 1em 0; }
.rich td, .rich th { border: 1px solid var(--line); padding: 8px 12px; }
.rich iframe { max-width: 100%; }
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }
.p-info .lead p { margin: 0 0 .6em; }
.article .lead p { margin: 0 0 1em; }
.article [style*="color"] { color: inherit !important; }
.article img { max-width: 100%; height: auto !important; }
.tab-pane .cards-grid .video { border-radius: var(--radius); }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 36px 0 0; }
.pagination li > a, .pagination li > span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); font-weight: 600; font-size: 14px; }
.pagination li > a:hover { border-color: var(--blue); color: var(--blue); }
.pagination li.active > span { background: var(--blue); border-color: var(--blue); color: #fff; }
.pagination li.disabled > span { color: var(--muted); opacity: .5; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); font-weight: 600; line-height: 1.4; }
.post-nav a:hover { border-color: var(--blue); color: var(--blue); }
.post-nav a.next { justify-content: flex-end; text-align: right; grid-column: 2; }
.post-nav small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; margin-bottom: 2px; }
.post-nav svg { flex: none; width: 20px; height: 20px; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav a.next { grid-column: auto; } }

/* Chi tiết dịch vụ: danh sách điểm nổi bật dạng tích xanh (giống .p-features của demo) */
.svc-body { margin: 6px 0 4px; }
.svc-body ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.svc-body ul li { position: relative; padding-left: 30px; font-weight: 500; }
.svc-body ul li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
