/* Hưng Lâm Thịnh — giao diện theo mockup trong tài liệu IA & Sitemap */
:root {
  --g: #1f5a27;        /* xanh lá đậm: tiêu đề, nút chính */
  --g-d: #174a1e;
  --g-f: #1c5322;      /* nền footer */
  --g-m: #2f7a34;
  --g-l: #eef4e6;      /* xanh nhạt: ô, chip */
  --g-l2: #e2ecd6;
  --brown: #7b3f16;    /* nâu: CTA, Aurora */
  --brown-d: #63320f;
  --cream: #f7f4ea;
  --cream-2: #f3efe4;
  --ink: #23302a;
  --ink-2: #4f5b53;
  --line: #e4e6df;
  --white: #fff;
  --r: 14px;
  --shadow: 0 6px 24px rgba(31, 60, 30, .08);
  --shadow-2: 0 2px 10px rgba(31, 60, 30, .07);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fbfaf6; font-size: 15px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--g); }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; }
p { margin: 0 0 .8em; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: 100%; max-width: 1360px; margin-left: auto; margin-right: auto; padding: 0 24px; }
.container.narrow { max-width: 920px; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--g); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.green { color: var(--g); }
.brown { color: var(--brown); }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.center { text-align: center; }
.mt { margin-top: 36px; }
section { scroll-margin-top: 90px; }
main > section + section { margin-top: 34px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 22px; font-weight: 600; font-size: 15px; cursor: pointer; transition: .18s; white-space: nowrap; line-height: 1.2; }
.btn .ic { width: 1.05em; height: 1.05em; }
.btn-brown { background: var(--brown); color: #fff; box-shadow: 0 4px 12px rgba(123, 63, 22, .25); }
.btn-brown:hover { background: var(--brown-d); color: #fff; transform: translateY(-1px); }
.btn-green { background: var(--g); color: #fff; }
.btn-green:hover { background: var(--g-d); color: #fff; transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { color: var(--g); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--g); box-shadow: inset 0 0 0 1.5px var(--g); }
.btn-outline:hover { background: var(--g-l); }
.btn-ghost { background: transparent; color: var(--brown); box-shadow: inset 0 0 0 1.5px rgba(123, 63, 22, .35); }
.btn-ghost:hover { background: #fff6ef; color: var(--brown); }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--ink); border-bottom: 1.5px solid var(--g); padding-bottom: 2px; }
.link-more .ic { transition: transform .18s; }
.link-more:hover .ic { transform: translateX(3px); }
.see-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--g); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.site-header.is-overlay { position: absolute; left: 0; right: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)); box-shadow: none; }
.site-header.is-scrolled { position: fixed; background: rgba(255, 255, 255, .97); box-shadow: 0 2px 14px rgba(0, 0, 0, .07); }
.header-inner { display: flex; align-items: center; gap: 18px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; position: relative; z-index: 2; }
.brand-logo { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.brand-logo img { width: 60px; height: 60px; }
.site-header:not(.is-overlay) .brand { background: #fff; padding: 6px 16px 6px 6px; border-radius: 0 0 26px 26px; margin-bottom: -16px; align-self: flex-start; margin-top: 4px; }
.brand-text strong { display: block; font-size: 21px; font-weight: 800; color: var(--g); letter-spacing: .2px; line-height: 1.1; text-transform: uppercase; white-space: nowrap; }
.brand-text small { display: block; font-size: 10.5px; color: var(--ink-2); font-weight: 500; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 3px; padding: 24px 8px; font-size: 14px; white-space: nowrap; font-weight: 500; color: #222; position: relative; }
.main-nav > ul > li > a .chev { width: 13px; height: 13px; }
.main-nav > ul > li.active > a { color: var(--g); font-weight: 600; }
.main-nav > ul > li.active > a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 16px; height: 2px; background: var(--g); border-radius: 2px; }
.sub-toggle { display: none; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border-radius: 12px; box-shadow: 0 14px 40px rgba(20, 50, 20, .16); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; }
.sub a:hover { background: var(--g-l); color: var(--g); }
.sub-sep { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.nav-mobile-cta { display: none; }
.header-search { display: flex; align-items: center; background: #fff; border: 1px solid #dfe3da; border-radius: 999px; padding: 0 6px 0 16px; height: 40px; width: 180px; flex: none; }
.header-search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 13.5px; }
.header-search button { border: 0; background: none; cursor: pointer; padding: 6px; display: grid; place-items: center; color: #333; }
.btn-hotline { padding: 10px 18px; font-size: 15px; flex: none; }
.nav-toggle { display: none; border: 0; background: var(--g-l); color: var(--g); border-radius: 10px; width: 42px; height: 42px; place-items: center; cursor: pointer; }
.nav-toggle .ic { width: 22px; height: 22px; }

/* ---------- Home hero ---------- */
.home-hero { position: relative; min-height: 440px; padding: 100px 0 84px; overflow: hidden; background: #e9eed8; }
.home-hero::before { content: ""; position: absolute; inset: 0; background: url("/static/img/demo/story-field.jpg") left 60% / cover no-repeat; filter: saturate(1.05) brightness(1.06); }
.home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250, 249, 240, .93) 0%, rgba(250, 249, 240, .82) 30%, rgba(250, 249, 240, 0) 52%), linear-gradient(180deg, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, 0) 30%); pointer-events: none; z-index: 1; }
.home-hero-bg { position: absolute; top: 62px; right: 0; width: 56%; aspect-ratio: 856 / 304; background-size: cover; background-position: center right; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); z-index: 1; }
.home-hero-inner { position: relative; z-index: 2; }
.eyebrow { display: inline-block; font-size: 28px; font-weight: 800; color: var(--g); margin: 0 0 6px; padding-bottom: 6px; position: relative; letter-spacing: .3px; }
.eyebrow::after { content: ""; position: absolute; left: 0; right: -8px; bottom: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--brown) 0, var(--brown) 70%, rgba(123, 63, 22, 0)); }
.hero-title { font-size: 42px; font-weight: 800; letter-spacing: -.3px; margin: 10px 0 16px; line-height: 1.18; }
.hero-title .t1, .hero-title .t2 { display: block; }
.hero-title .t1 { color: var(--g); }
.hero-title .t2 { color: var(--brown); }
.hero-title.sm { font-size: 34px; max-width: 760px; }
.hero-desc { font-size: 16px; color: #2b3830; max-width: 520px; margin-bottom: 22px; }
.values-wrap { position: relative; z-index: 5; margin-top: -58px !important; }
.values-bar { list-style: none; margin: 0; padding: 18px 10px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); }
.values-bar li { display: flex; align-items: center; gap: 14px; padding: 4px 22px; }
.values-bar li + li { border-left: 1px solid var(--line); }
.v-ic { color: var(--g); display: grid; place-items: center; }
.v-ic .ic { width: 38px; height: 38px; }
.values-bar strong { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.values-bar small { display: block; font-size: 12.5px; color: var(--ink-2); }

/* ---------- Home rows ---------- */
.home-row1 { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 34px; align-items: center; margin-top: 40px !important; }
.title-line { font-size: 30px; font-weight: 800; color: var(--g); display: flex; align-items: center; gap: 18px; }
.title-line::after { content: ""; width: 54px; height: 2px; background: var(--brown); }
.title-underline { display: block; width: 74px; height: 3px; background: var(--brown); border-radius: 3px; margin: 10px 0 16px; }
.home-about p { font-size: 14.5px; color: #333; line-height: 1.75; }
.home-about strong { color: var(--g); }
.home-about-img img { width: 100%; aspect-ratio: 440 / 205; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-2); }
.title-center { font-size: 22px; font-weight: 700; color: var(--g); display: flex; align-items: center; gap: 16px; justify-content: center; margin-bottom: 16px; }
.title-center::before, .title-center::after { content: ""; flex: 1; max-width: 70px; height: 1.5px; background: var(--g); opacity: .7; }
.field-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-tile { background: var(--cream-2); border-radius: 12px; padding: 14px 10px; min-height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--ink); transition: .18s; }
.field-tile:hover { background: var(--g-l); transform: translateY(-2px); color: var(--g); }
.ft-ic { color: var(--g); margin-bottom: 6px; }
.ft-ic .ic { width: 28px; height: 28px; }
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.row-head h2 { font-size: 22px; font-weight: 700; color: var(--ink); }
.home-projects { margin-top: 44px !important; }
.home-row2 { display: grid; grid-template-columns: 1fr 1.05fr 1fr; gap: 30px; align-items: stretch; margin-top: 40px !important; margin-bottom: 40px; }
.carousel { position: relative; padding: 0 2px; }
.car-track { display: flex; overflow: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: 16px; }
.feat-card { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 170px 1fr; gap: 14px; align-items: center; background: var(--cream-2); border-radius: 16px; padding: 10px 26px 10px 8px; min-height: 172px; }
.feat-card img { width: 170px; height: 150px; object-fit: cover; border-radius: 12px; mix-blend-mode: multiply; }
.feat-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.feat-card p { font-size: 14px; color: #333; margin-bottom: 14px; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid #222; background: #fff; display: grid; place-items: center; cursor: pointer; z-index: 2; }
.car-btn.prev { left: -16px; }
.car-btn.next { right: -16px; }
.car-btn:hover { background: var(--g); color: #fff; border-color: var(--g); }
.news-list { list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-2); }
.news-list li + li { border-top: 1px solid var(--line); }
.news-list a { display: grid; grid-template-columns: 136px 1fr; gap: 16px; align-items: center; padding: 6px; border-radius: 10px; }
.news-list a:hover { background: var(--g-l); }
.news-list img { width: 136px; height: 70px; object-fit: cover; border-radius: 6px; }
.news-list time { display: block; font-size: 11.5px; color: #777; }
.news-list strong { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.home-contact { position: relative; border-radius: 18px; padding: 34px 30px; color: #fff; overflow: hidden; background-color: var(--g); background-repeat: no-repeat; background-position: right bottom; background-size: auto 100%; min-height: 208px; display: flex; flex-direction: column; justify-content: center; }
.home-contact::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #1f5a27 45%, rgba(31, 90, 39, .35) 75%, rgba(31, 90, 39, 0)); }
.home-contact > * { position: relative; }
.home-contact h2 { font-size: 23px; font-weight: 700; margin-bottom: 12px; }
.home-contact p { font-size: 14.5px; opacity: .95; max-width: 270px; margin-bottom: 20px; }
.home-contact .btn { align-self: flex-start; }
.hc-leaf { position: absolute !important; right: 92px; top: 18px; opacity: .8; }
.hc-leaf .ic { width: 36px; height: 36px; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: #edf0dd; min-height: 300px; display: flex; align-items: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url("/static/img/demo/story-field.jpg") left 70% / cover no-repeat; filter: brightness(1.08) saturate(1.05); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250, 249, 240, .94) 0%, rgba(250, 249, 240, .85) 33%, rgba(250, 249, 240, 0) 58%); z-index: 1; }
.page-hero-bg { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; background-size: cover; background-position: center left; z-index: 1; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%); mask-image: linear-gradient(90deg, transparent 0, #000 9%); }
.page-hero-inner { position: relative; z-index: 2; padding: 34px 24px 40px; }
.chip-hero { display: inline-block; background: var(--g); color: #fff; font-size: 20px; font-weight: 500; padding: 3px 20px; border-radius: 999px; margin-bottom: 6px; }
.page-hero .hero-title { font-size: 38px; margin: 8px 0 10px; max-width: 640px; }
.page-hero .hero-desc { font-size: 15.5px; max-width: 470px; margin-bottom: 0; }
.swoosh { width: 340px; height: 14px; margin-top: 8px; display: block; }
.swoosh path { fill: none; stroke: var(--g); stroke-width: 2.2; stroke-linecap: round; opacity: .75; }
.product-hero { min-height: 290px; }
.product-hero .page-hero-bg { width: 60%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 25%); mask-image: linear-gradient(90deg, transparent 0, #000 25%); background-position: center right; }
.product-title { font-size: 76px; font-weight: 800; letter-spacing: -1.5px; line-height: 1.05; margin: 4px 0 6px; }
.product-sub { font-size: 23px; font-style: italic; font-weight: 600; color: var(--g); margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: #333; margin-bottom: 14px; }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; }
.crumbs .sep .ic { width: 12px; height: 12px; }
.crumbs [aria-current] { color: var(--ink-2); }

/* ---------- Product page ---------- */
.product-main { display: grid; grid-template-columns: 240px 360px 1fr 210px; gap: 22px; align-items: start; margin-top: 22px !important; }
.cat-sidebar { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-2); }
.cat-sidebar h2 { background: var(--g); color: #fff; font-size: 16.5px; font-weight: 600; padding: 15px 18px; display: flex; align-items: center; gap: 12px; }
.cat-sidebar h2 .ic { width: 22px; height: 22px; }
.cat-sidebar ul { list-style: none; margin: 0; padding: 0; }
.cat-sidebar li + li { border-top: 1px solid #eeeee9; }
.cat-sidebar a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 14px; }
.cs-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--g); flex: none; }
.cs-ic .ic { width: 20px; height: 20px; }
.cat-sidebar li:nth-child(2) .cs-ic, .cat-sidebar li:first-child .cs-ic { color: var(--brown); }
.cat-sidebar li.on a { background: var(--g-l); box-shadow: inset 3px 0 0 var(--g); color: var(--g); font-weight: 600; }
.cat-sidebar li.on .cs-ic { background: #dce8cf; }
.cs-chev { width: 14px; height: 14px; }
.gallery .g-main img { width: 100%; aspect-ratio: 368 / 260; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow-2); }
.gallery.wide .g-main img { aspect-ratio: 16 / 8; }
.g-thumbs { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.g-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; scroll-behavior: smooth; }
.g-thumb { flex: 0 0 70px; height: 56px; border: 2px solid transparent; border-radius: 8px; padding: 0; overflow: hidden; cursor: pointer; background: none; }
.g-thumb.on { border-color: var(--g); }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-nav { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid #cfd3cb; background: #fff; display: grid; place-items: center; cursor: pointer; }
.g-nav:hover { border-color: var(--g); color: var(--g); }
.p-name { font-size: 32px; font-weight: 700; color: var(--g); margin-bottom: 8px; }
.p-tagline { font-size: 17px; font-weight: 600; color: var(--brown); margin-bottom: 12px; }
.p-summary { font-size: 14px; color: #333; }
.p-highlights { list-style: none; margin: 14px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.p-highlights li { background: var(--g-l); border-radius: 10px; padding: 12px 6px; text-align: center; font-size: 12px; line-height: 1.35; color: #333; }
.p-highlights li span { display: grid; place-items: center; color: var(--g); margin-bottom: 6px; }
.p-highlights .ic { width: 26px; height: 26px; }
.p-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.why-card { position: relative; background: linear-gradient(180deg, #eef4e6, #f6f9f1); border-radius: var(--r); padding: 20px 18px 110px; overflow: hidden; box-shadow: var(--shadow-2); }
.why-card h3 { font-size: 20px; font-weight: 600; color: var(--g); margin-bottom: 14px; line-height: 1.3; }
.why-card ul { list-style: none; margin: 0; padding: 0; }
.why-card li { display: flex; gap: 10px; font-size: 13.5px; margin-bottom: 12px; line-height: 1.4; }
.why-card li .ic { color: var(--g); width: 20px; height: 20px; }
.why-deco { position: absolute; right: 0; bottom: 0; width: 100%; height: 100px; object-fit: cover; object-position: right; -webkit-mask-image: linear-gradient(180deg, transparent, #000 50%); mask-image: linear-gradient(180deg, transparent, #000 50%); }
.product-detail { display: grid; grid-template-columns: 1fr 380px; gap: 34px; align-items: start; margin-top: 30px !important; margin-bottom: 40px; }
.tab-list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tab-list button { border: 1px solid var(--line); border-bottom: 0; background: #f1f2ec; padding: 10px 14px; border-radius: 12px 12px 0 0; font-size: 13.5px; font-weight: 500; cursor: pointer; color: #333; white-space: nowrap; flex: none; }
.tab-list button.on { background: var(--g); color: #fff; border-color: var(--g); }
.tab-panel { display: none; border: 1px solid var(--line); border-radius: 0 12px 12px 12px; background: #fff; padding: 14px; min-height: 140px; }
.tab-panel.on { display: block; }
.intro-box { display: grid; grid-template-columns: 320px 1fr; gap: 26px; align-items: center; }
.intro-box img { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.feat-item { background: var(--g-l); border-radius: 10px; padding: 16px 10px; text-align: center; }
.feat-item span { display: grid; place-items: center; color: var(--g); margin-bottom: 6px; }
.feat-item .ic { width: 30px; height: 30px; }
.checks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.checks .ic { color: var(--g); width: 20px; height: 20px; margin-top: 2px; }
.cert-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cert-list li { display: flex; gap: 10px; align-items: center; color: var(--g); font-weight: 600; }
.related .row-head h2 { color: var(--g); font-size: 21px; }
.rel-nav { display: flex; gap: 8px; }
.rel-nav button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #cfd3cb; background: #fff; display: grid; place-items: center; cursor: pointer; }
.rel-nav button:hover { border-color: var(--g); color: var(--g); }
.rel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 3); gap: 12px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; scroll-snap-type: x mandatory; }
.rel-item { scroll-snap-align: start; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-2); text-align: center; font-size: 13.5px; font-weight: 500; }
.rel-item img { width: 100%; aspect-ratio: 120 / 96; object-fit: cover; }
.rel-item span { display: block; padding: 8px 6px 10px; }

/* ---------- Rich text ---------- */
.rich { font-size: 15px; color: #2f3a33; }
.rich.lg { font-size: 15.5px; line-height: 1.8; }
.rich h3 { font-size: 19px; color: var(--g); margin: 1.2em 0 .5em; }
.rich ul { padding-left: 20px; margin: 0 0 1em; }
.rich li { margin-bottom: 6px; }
.rich li::marker { color: var(--g); }
.rich a { color: var(--g); text-decoration: underline; }
.rich table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: 14.5px; }
.rich th, .rich td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.rich th { background: var(--g-l); color: var(--g); }

/* ---------- Cards & grids ---------- */
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.project-grid.three { grid-template-columns: repeat(3, 1fr); }
.project-card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-2); border: 1px solid #eef0ea; display: flex; flex-direction: column; transition: .2s; }
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pc-media { position: relative; display: block; }
.pc-media img { width: 100%; aspect-ratio: 341 / 160; object-fit: cover; }
.pc-chip { position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .96); border-radius: 999px; padding: 4px 14px 4px 10px; font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 7px; color: var(--ink); box-shadow: 0 2px 6px rgba(0, 0, 0, .1); }
.pc-chip .ic { color: var(--g); width: 16px; height: 16px; }
.pc-body { padding: 18px 16px 20px; display: flex; flex-direction: column; flex: 1; }
.pc-body h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 10px; }
.pc-body p { font-size: 14px; color: #3c463f; flex: 1; margin-bottom: 18px; }
.pc-body .link-more { align-self: flex-start; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-grid.sm { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.product-grid.three { grid-template-columns: repeat(3, 1fr); }
.product-card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-2); border: 1px solid #eef0ea; display: flex; flex-direction: column; transition: .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.prc-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--cream-2); }
.prc-body { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.prc-cat { font-size: 12px; color: var(--brown); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.prc-body h3 { font-size: 17px; font-weight: 700; color: var(--g); margin: 4px 0 6px; }
.prc-body p { font-size: 13.5px; color: #3c463f; flex: 1; }
.prc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-2); display: flex; flex-direction: column; }
.po-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.po-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.po-body h3 { font-size: 17px; font-weight: 700; margin: 6px 0 8px; line-height: 1.4; }
.po-body p { font-size: 14px; color: #3c463f; flex: 1; }
.po-body .link-more { align-self: flex-start; }
.po-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: #6a736c; flex-wrap: wrap; }
.po-meta time { display: inline-flex; align-items: center; gap: 6px; }
.po-cat { background: var(--g-l); color: var(--g); padding: 2px 10px; border-radius: 999px; font-weight: 600; }
.filter-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 18px 0 18px; border-bottom: 1px solid var(--line); margin: 6px 0 26px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 24px; border-radius: 999px; background: #eff2e8; font-size: 14.5px; font-weight: 500; color: #2a3a2c; border: 1px solid #e3e8da; transition: .15s; }
.pill .ic { color: var(--g); width: 20px; height: 20px; }
.pill:hover { background: var(--g-l2); }
.pill.on { background: var(--g); color: #fff; border-color: var(--g); font-weight: 600; }
.pill.on .ic { color: #fff; }
.empty { text-align: center; color: var(--ink-2); padding: 30px 10px; background: #fff; border-radius: var(--r); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.pager a { min-width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.pager a.on { background: var(--g); color: #fff; border-color: var(--g); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; display: flex; align-items: center; gap: 26px; padding: 22px 36px; border-radius: 18px; overflow: hidden; background: linear-gradient(90deg, #eef4e2 0%, #f3f7ea 50%, #e8f0dc 100%); box-shadow: var(--shadow-2); margin: 40px 0 34px; }
.cta-band::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 280px; background: url("/static/img/demo/cta-rice.jpg") right center / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); opacity: .9; }
.cta-icon { width: 66px; height: 66px; border-radius: 50%; background: var(--g); color: #fff; display: grid; place-items: center; flex: none; position: relative; z-index: 1; }
.cta-icon .ic { width: 36px; height: 36px; }
.cta-text { flex: 1; position: relative; z-index: 1; }
.cta-text h2 { font-size: 23px; font-weight: 700; color: var(--g); margin-bottom: 4px; }
.cta-text p { margin: 0; font-size: 15px; color: #2f3a33; }
.cta-band .btn { position: relative; z-index: 1; margin-right: 200px; }

/* ---------- About ---------- */
.title-u { font-size: 30px; font-weight: 700; color: var(--g); padding-bottom: 14px; margin-bottom: 18px; position: relative; }
.title-u::after { content: ""; position: absolute; left: 0; bottom: 0; width: 70px; height: 3px; border-radius: 3px; background: var(--brown); }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 26px !important; }
.story-img img { width: 100%; aspect-ratio: 525 / 175; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-2); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { background: #fff; border-radius: var(--r); padding: 22px 20px; box-shadow: var(--shadow-2); display: flex; gap: 16px; align-items: flex-start; }
.pl-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--g); color: #fff; display: grid; place-items: center; flex: none; }
.pl-ic .ic { width: 26px; height: 26px; }
.pillar h3 { font-size: 22px; font-weight: 700; margin: 8px 0 10px; color: #1d2a20; }
.pillar p { font-size: 14.5px; color: #333; margin: 0; }
.capability { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.cap-head p { color: #333; }
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cap-item { background: #fff; border-radius: var(--r); padding: 20px; box-shadow: var(--shadow-2); }
.cap-item span { width: 44px; height: 44px; border-radius: 12px; background: var(--g-l); color: var(--g); display: grid; place-items: center; margin-bottom: 10px; }
.cap-item span .ic { width: 24px; height: 24px; }
.cap-item h3 { font-size: 17px; margin-bottom: 6px; color: var(--g); }
.cap-item p { font-size: 14px; color: #3c463f; margin: 0; }

/* ---------- Fields ---------- */
.field-list { display: grid; gap: 24px; margin-top: 34px; }
.field-row { display: grid; grid-template-columns: 460px 1fr; gap: 34px; align-items: center; background: #fff; border-radius: 18px; padding: 16px; box-shadow: var(--shadow-2); }
.field-row:nth-child(even) { grid-template-columns: 1fr 460px; }
.field-row:nth-child(even) .fr-img { order: 2; }
.fr-img img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 12px; }
.fr-num { font-size: 40px; font-weight: 800; color: var(--g-l2); line-height: 1; }
.fr-body h2 { font-size: 24px; color: var(--g); display: flex; align-items: center; gap: 12px; margin: 4px 0 10px; }
.fr-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--g-l); display: grid; place-items: center; flex: none; }
.fr-ic .ic { width: 24px; height: 24px; }
.field-detail { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: start; margin-top: 30px !important; }
.fd-img img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 16px; margin-bottom: 22px; }
.side-nav { background: #fff; border-radius: var(--r); box-shadow: var(--shadow-2); padding: 14px; display: grid; gap: 2px; margin-bottom: 18px; }
.side-nav h3 { font-size: 16px; color: var(--g); padding: 4px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.side-nav a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; font-size: 14.5px; }
.side-nav a .ic { color: var(--g); }
.side-nav a.on, .side-nav a:hover { background: var(--g-l); color: var(--g); font-weight: 600; }
.side-cta { background: var(--g); color: #fff; border-radius: var(--r); padding: 22px; }
.side-cta h3 { font-size: 18px; margin-bottom: 8px; }
.side-cta p { font-size: 14px; opacity: .92; }

/* ---------- Project detail ---------- */
.project-detail { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; margin-top: 30px !important; }
.pd-block { background: #fff; border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow-2); margin-top: 18px; }
.pd-block h2 { font-size: 19px; color: var(--g); display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pd-side { display: grid; gap: 18px; position: sticky; top: 90px; }
.info-card { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-2); border: 1px solid #eef0ea; }
.info-card > h2 { font-size: 19px; color: var(--g); margin-bottom: 12px; }
.info-card dl { margin: 0; display: grid; gap: 12px; }
.info-card dl div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; font-size: 14.5px; border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
.info-card dt { color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.info-card dt .ic { color: var(--g); }
.info-card dd { margin: 0; font-weight: 600; }
.status { display: inline-block; padding: 2px 12px; border-radius: 999px; font-size: 13px; background: var(--g-l); color: var(--g); }
.status.s-chuan-bi { background: #fff4e5; color: #9a5a12; }
.status.s-hoan-thanh { background: #e7f0ff; color: #1d4f99; }

/* ---------- Article ---------- */
.article-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; padding-top: 30px; }
.article { background: #fff; border-radius: 18px; padding: 30px 36px; box-shadow: var(--shadow-2); }
.article h1 { font-size: 32px; color: var(--g); margin: 10px 0 14px; line-height: 1.3; }
.lead { font-size: 17px; color: #36423a; font-weight: 500; }
.article-cover { width: 100%; border-radius: 14px; margin: 18px 0 22px; aspect-ratio: 16 / 8; object-fit: cover; }
.side-news { background: #fff; border-radius: var(--r); box-shadow: var(--shadow-2); padding: 14px; }
.side-news h3 { font-size: 16px; color: var(--g); padding: 4px 6px 8px; }
.side-news .news-list { box-shadow: none; padding: 0; }
.side-news .news-list a { grid-template-columns: 90px 1fr; gap: 10px; }
.side-news .news-list img { width: 90px; height: 60px; }

/* ---------- Partner / Contact ---------- */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px !important; }
.program { background: #fff; border-radius: 18px; padding: 26px 24px; box-shadow: var(--shadow-2); border: 1px solid #eef0ea; display: flex; flex-direction: column; }
.program h2 { font-size: 21px; color: var(--g); margin: 14px 0 8px; }
.program > p { font-size: 14.5px; color: #333; }
.program .checks { margin-bottom: 20px; flex: 1; }
.program .btn { align-self: flex-start; }
.steps-wrap { margin-top: 44px !important; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--r); padding: 20px; box-shadow: var(--shadow-2); position: relative; }
.st-n { width: 40px; height: 40px; border-radius: 50%; background: var(--brown); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 10px; }
.steps h3 { font-size: 16.5px; color: var(--g); margin-bottom: 6px; }
.steps p { font-size: 14px; margin: 0; color: #3c463f; }
.form-section { display: grid; grid-template-columns: 1fr 1.25fr; gap: 34px; align-items: start; margin-top: 44px !important; }
#form.form-section { grid-template-columns: 1.15fr 1fr; }
.contact-mini { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; font-weight: 600; }
.contact-mini li { display: flex; gap: 10px; align-items: center; }
.contact-mini .ic { color: var(--g); }
.contact-cards { display: grid; grid-template-columns: 1fr 1.4fr 1.15fr 1.05fr; gap: 18px; margin-top: 30px !important; }
.cc { background: #fff; border-radius: var(--r); padding: 18px; box-shadow: var(--shadow-2); display: flex; gap: 14px; align-items: center; }
.cc h3 { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.cc p { margin: 0; font-weight: 700; font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.cc > div { min-width: 0; }
.map-box { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-2); background: #fff; position: sticky; top: 90px; }
.map-box iframe { width: 100%; height: 470px; border: 0; display: block; }
.map-addr { padding: 14px 18px; display: flex; gap: 8px; align-items: center; font-size: 14.5px; }
.map-addr .ic { color: var(--g); }

/* ---------- Forms ---------- */
.lead-form { display: grid; gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 5px; font-size: 13.5px; font-weight: 500; color: #333; }
.fld input, .fld select, .fld textarea { width: 100%; border: 1px solid #d6dbd1; border-radius: 10px; padding: 11px 13px; background: #fcfdfb; font-size: 14.5px; outline: 0; transition: .15s; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--g); box-shadow: 0 0 0 3px rgba(31, 90, 39, .12); background: #fff; }
.fld.err input { border-color: #c0392b; }
.fld em, .consent em { color: #c0392b; font-style: normal; font-size: 12.5px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: #3c463f; flex-wrap: wrap; }
.consent input { margin-top: 4px; accent-color: var(--g); width: 16px; height: 16px; }
.consent span { flex: 1; }
.consent a { color: var(--g); text-decoration: underline; }
.consent em { width: 100%; }
.lead-form .btn { justify-self: start; }
.kind-pills { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kind-pills legend { font-size: 13.5px; font-weight: 500; margin-bottom: 6px; padding: 0; }
.kind-pills label { cursor: pointer; }
.kind-pills input { position: absolute; opacity: 0; pointer-events: none; }
.kind-pills span { display: inline-block; padding: 8px 16px; border-radius: 999px; background: #eff2e8; border: 1px solid #e3e8da; font-size: 14px; }
.kind-pills input:checked + span { background: var(--g); color: #fff; border-color: var(--g); }
.kind-pills input:focus-visible + span { outline: 2px solid var(--brown); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: 10px; font-size: 14.5px; display: flex; gap: 10px; align-items: flex-start; }
.alert .ic { width: 20px; height: 20px; margin-top: 2px; }
.alert-ok { background: #e9f5e4; color: #1f5a27; border: 1px solid #c5e1b9; }
.alert-err { background: #fdecea; color: #a12d22; border: 1px solid #f3c2bc; }
.quote-strip { margin-top: 30px; display: flex; gap: 20px; align-items: center; justify-content: space-between; background: var(--cream-2); border-radius: var(--r); padding: 20px 24px; }
.quote-strip h3 { color: var(--g); font-size: 18px; margin-bottom: 4px; }
.quote-strip p { margin: 0; font-size: 14px; }
.cat-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; margin-top: 30px !important; }
.cat-layout .cat-sidebar { position: sticky; top: 90px; }
.cat-block + .cat-block { margin-top: 30px; }

/* ---------- Misc pages ---------- */
.page-pad { padding-top: 34px; padding-bottom: 20px; }
.page-h1 { font-size: 32px; color: var(--g); margin-bottom: 16px; }
.big-search { display: flex; gap: 10px; margin-bottom: 22px; }
.big-search input { flex: 1; border: 1px solid #d6dbd1; border-radius: 999px; padding: 12px 20px; font-size: 15px; outline: 0; background: #fff; }
.big-search input:focus { border-color: var(--g); }
.search-hits { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.search-hits a { display: flex; gap: 16px; background: #fff; border-radius: 12px; padding: 12px; box-shadow: var(--shadow-2); align-items: center; }
.search-hits img { width: 120px; height: 76px; object-fit: cover; border-radius: 8px; flex: none; }
.search-hits em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--brown); text-transform: uppercase; }
.search-hits strong { display: block; color: var(--g); font-size: 16px; }
.search-hits small { display: block; color: #4b554e; font-size: 13.5px; }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.sm-group { background: #fff; border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-2); }
.sm-group h2 { font-size: 17px; color: var(--g); margin-bottom: 8px; }
.sm-group ul { margin: 0; padding-left: 18px; font-size: 14px; }
.sm-group li { margin-bottom: 4px; }
.big-404 { font-size: 110px; font-weight: 800; color: var(--g-l2); line-height: 1; margin: 20px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--g-f); color: #fff; margin-top: 40px; }
.footer-main { display: flex; align-items: center; gap: 20px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; max-width: 1560px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.footer-links a, .footer-contact li { white-space: nowrap; }
.footer-brand .brand-logo { width: 60px; height: 60px; }
.footer-brand .brand-logo img { width: 56px; height: 56px; }
.footer-brand strong { display: block; font-size: 20px; text-transform: uppercase; font-weight: 700; letter-spacing: .3px; line-height: 1.15; }
.footer-brand small { display: block; font-size: 11px; opacity: .9; }
.footer-links { display: flex; flex-wrap: wrap; font-size: 11px; margin-left: auto; row-gap: 6px; flex: 0 1 auto; justify-content: flex-end; }
.footer-links a { padding: 0 6px; border-left: 1px solid rgba(255, 255, 255, .5); line-height: 1; }
.footer-links a:first-child { border-left: 0; }
.footer-links a:hover, .footer-contact a:hover, .footer-bottom a:hover { color: #cfe7c2; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; font-size: 12px; flex-wrap: wrap; flex: none; }
.footer-contact .ic { width: 16px !important; height: 16px !important; }
.footer-contact li, .footer-contact a { display: flex; align-items: center; gap: 8px; }
.footer-contact .ic { width: 18px; height: 18px; }
.footer-social { display: flex; gap: 10px; flex: none; }
@media (min-width: 1400px) { .footer-main { flex-wrap: nowrap; } .footer-brand { flex: none; } }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--g-f); display: grid; place-items: center; transition: .15s; }
.footer-social a:hover { transform: translateY(-2px); color: var(--g-f); }
.footer-social .ic { width: 21px; height: 21px; }
.footer-social .zalo .ic { width: 26px; height: 26px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12.5px; }
.footer-bottom .container { max-width: 1500px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; opacity: .88; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.float-call { display: none; position: fixed; right: 16px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: var(--brown); color: #fff; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); z-index: 60; animation: ring 2.4s infinite; }
.float-call .ic { width: 24px; height: 24px; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(123, 63, 22, .45); } 50% { box-shadow: 0 0 0 12px rgba(123, 63, 22, 0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .header-search { width: 150px; }
  .main-nav > ul > li > a { padding-left: 8px; padding-right: 8px; font-size: 14px; }
  .product-main { grid-template-columns: 230px 1fr 1fr; }
  .why-card { grid-column: 1 / -1; padding-bottom: 20px; }
  .why-card ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .why-deco { display: none; }
}
@media (max-width: 1140px) {
  .nav-toggle { display: grid; }
  .header-search { margin-left: auto; }
  .main-nav { position: fixed; inset: 74px 0 0 0; background: #fff; padding: 16px 20px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; margin: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .1); }
  body.nav-open .main-nav { transform: none; }
  body.nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
  .main-nav > ul > li > a { padding: 14px 4px; font-size: 16px; flex: 1; }
  .main-nav > ul > li > a .chev { display: none; }
  .main-nav > ul > li.active > a::after { display: none; }
  .sub-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: var(--g-l); border-radius: 8px; cursor: pointer; color: var(--g); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; width: 100%; padding: 0 0 10px 10px; }
  .has-sub.open > .sub { display: block; }
  .has-sub:hover > .sub { display: none; }
  .has-sub.open:hover > .sub { display: block; }
  .nav-mobile-cta { display: inline-flex; margin-top: 18px; }
  .home-row1 { grid-template-columns: 1fr 1fr; }
  .home-fields { grid-column: 1 / -1; }
  .home-row2 { grid-template-columns: 1fr 1fr; }
  .home-contact { grid-column: 1 / -1; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail, .project-detail, .field-detail, .article-wrap { grid-template-columns: 1fr; }
  .pd-side, .map-box { position: static; }
  .programs { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .capability { grid-template-columns: 1fr; gap: 10px; }
  .post-grid, .product-grid, .product-grid.three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .btn-hotline span { display: none; }
  .btn-hotline { padding: 10px 12px; }
  .values-bar { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .values-bar li:nth-child(3) { border-left: 0; }
  .product-main { grid-template-columns: 1fr; }
  .product-main .cat-sidebar { order: 4; }
  .why-card ul { grid-template-columns: 1fr 1fr; }
  .story, .form-section, #form.form-section, .cat-layout { grid-template-columns: 1fr; }
  .cat-layout .cat-sidebar { position: static; }
  .pillars { grid-template-columns: 1fr; }
  .field-row, .field-row:nth-child(even) { grid-template-columns: 1fr; }
  .field-row:nth-child(even) .fr-img { order: 0; }
  .page-hero-bg { width: 100%; opacity: .35; -webkit-mask-image: none; mask-image: none; }
  .product-hero .page-hero-bg { opacity: .5; }
  .home-hero-bg { width: 100%; opacity: .45; -webkit-mask-image: none; mask-image: none; }
  .home-hero::after { background: linear-gradient(90deg, rgba(250, 249, 240, .92), rgba(250, 249, 240, .6)); }
  .cta-band { flex-wrap: wrap; padding: 22px; }
  .cta-band .btn { margin-right: 0; }
  .cta-band::after { opacity: .35; }
  .footer-links { margin-left: 0; }
  .float-call { display: grid; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .container { padding: 0 16px; }
  .header-inner { gap: 10px; height: 66px; }
  .brand-logo { width: 50px; height: 50px; }
  .brand-logo img { width: 46px; height: 46px; }
  .brand-text strong { font-size: 17px; }
  .brand-text small { display: none; }
  .site-header:not(.is-overlay) .brand { margin-bottom: 0; align-self: center; margin-top: 0; padding: 0; }
  .header-search { display: none; }
  .main-nav { top: 66px; }
  .home-hero { padding: 92px 0 80px; min-height: 0; }
  .eyebrow { font-size: 20px; }
  .hero-title, .page-hero .hero-title { font-size: 28px; }
  .product-title { font-size: 48px; }
  .product-sub { font-size: 17px; }
  .values-bar { grid-template-columns: 1fr; }
  .values-bar li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 12px; }
  .home-row1, .home-row2 { grid-template-columns: 1fr; }
  .feat-card { grid-template-columns: 120px 1fr; padding-right: 16px; }
  .feat-card img { width: 120px; height: 120px; }
  .project-grid, .project-grid.three, .post-grid, .product-grid, .product-grid.three, .steps, .contact-cards, .cap-grid, .grid-2 { grid-template-columns: 1fr; }
  .p-highlights { grid-template-columns: 1fr 1fr; }
  .intro-box { grid-template-columns: 1fr; }
  .tab-list { flex-wrap: nowrap; overflow-x: auto; }
  .tab-list button { white-space: nowrap; }
  .rel-track { grid-auto-columns: 45%; }
  .article { padding: 20px; }
  .article h1 { font-size: 24px; }
  .title-line, .title-u { font-size: 24px; }
  .footer-main { gap: 18px; }
  .footer-contact { flex-direction: column; gap: 8px; }
  .quote-strip { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
/* phần tử con của grid không được nở theo nội dung (tránh tràn ngang trên mobile) */
.product-main > *, .product-detail > *, .project-detail > *, .field-detail > *, .article-wrap > *, .cat-layout > *, .form-section > *, .home-row1 > *, .home-row2 > *, .story > *, .capability > * { min-width: 0; }
