/* File nay do deploy/build-css.php tao ra — DUNG SUA TRUC TIEP.
   Sua cac file nguon roi chay lai: php deploy/build-css.php */


/* ===== assets/css/fonts.css ===== */
/* ============================================================
   FONT INTER — TỰ LƯU TRÊN SERVER (không gọi sang Google Fonts)
   ============================================================
   Vì sao tự lưu: phải gọi fonts.googleapis.com để LẤY CSS rồi mới biết cần tải font
   ở fonts.gstatic.com -> 2 tên miền lạ, 2 lần bắt tay TLS, và file CSS đó CHẶN HIỂN THỊ.
   PageSpeed đo riêng khoản này mất 750ms.

   ⚠️ THỨ TỰ KHAI BÁO CÓ CHỦ ĐÍCH: latin -> latin-ext -> vietnamese.
   9 ký tự cực phổ biến trong tiếng Việt (ă Đ đ ư ơ ĩ ũ ỳ Ư) nằm trong CẢ HAI dải
   latin-ext và vietnamese. Theo chuẩn CSS, khi các dải chồng nhau thì khối khai báo
   SAU thắng. Google xếp latin-ext SAU vietnamese -> trình duyệt phải tải file
   latin-ext 83KB chỉ vì mấy chữ đó, dù file vietnamese 10KB đã có đủ.
   Đảo lại thứ tự -> chỉ tải vietnamese + latin = 57KB thay vì 140KB.
   Vẫn giữ latin-ext để dự phòng cho ký tự châu Âu (ß, ł, ō…) nếu nội dung sau này cần.

   File là font BIẾN THIÊN (variable): một file phủ cả 6 độ đậm 400-900, nên không
   cần tách file theo từng độ đậm.
   ============================================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}


/* ===== assets/css/tokens.css ===== */
/* ============================================================
   Gentraco — Design Tokens
   Nhận diện: Xanh lá (green) · Vàng lúa (gold) · Trắng
   ============================================================ */

:root {
  /* --- Brand palette (lấy từ logo bông lúa) --- */
  --c-green-900: #0a4d24;
  --c-green-800: #0d6130;
  --c-green-700: #12793b;   /* xanh lá chủ đạo */
  --c-green-600: #1b8f47;
  --c-green-500: #2ba55a;
  --c-green-100: #e3f3e8;
  --c-green-50:  #f1f9f3;

  /* Bac vang DAM NHAT - danh cho CHU vang tren nen sang.
     gold-600 (#e6b21e) tren nen xanh nhat chi dat 1.72:1, duoi chuan WCAG. */
  --c-gold-800: #96700a;
  --c-gold-700: #c99a13;
  --c-gold-600: #e6b21e;
  --c-gold-500: #f4c430;    /* vàng lúa chủ đạo */
  --c-gold-300: #ffe07a;
  --c-gold-100: #fff5d6;

  --c-white: #ffffff;
  --c-cream: #fbf6ec;       /* nền section sáng ấm (lấy từ ảnh mẫu) */
  --c-ink-900: #16261c;     /* text đậm (ngả xanh) */
  --c-ink-700: #33453a;
  --c-ink-500: #5d6b62;
  --c-line: #e6ece7;

  /* --- Semantic --- */
  --c-primary: var(--c-green-700);
  --c-primary-dark: var(--c-green-900);
  --c-accent: var(--c-gold-500);
  --c-text: var(--c-ink-900);
  --c-text-muted: var(--c-ink-500);
  --c-bg: var(--c-white);
  --c-bg-alt: #ebf3e8;   /* xanh lá rất nhạt — phân biệt rõ với nền kem ấm */
  --c-bg-green: #0d5329;   /* xanh section (giàu hơn, bám ảnh mẫu) */

  /* --- Typography: Inter, hệ thống 3 CẤP ---
     L1 tiêu đề lớn (--fs-title) · L2 tiêu đề nhỏ (--fs-subtitle) · L3 nội dung (--fs-body) */
  --font-heading: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* L1 — Tiêu đề lớn (hero + section titles) */
  --fs-display: clamp(2.4rem, 1.5rem + 3.6vw, 4rem);
  --fs-title:   clamp(1.85rem, 1.2rem + 2.4vw, 2.9rem);
  /* L2 — Tiêu đề nhỏ (card / sub-heading) */
  --fs-subtitle: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  --fs-card:     1.1rem;   /* tiêu đề card (product, cap, news-list…) */
  --fs-lead:     clamp(1.06rem, 1rem + 0.35vw, 1.22rem);
  /* L3 — Nội dung (mọi mô tả/đoạn văn nhỏ dùng --fs-sm = 0.9rem) */
  --fs-body: 1.0625rem;
  --fs-sm:   0.9rem;
  --fs-eyebrow: 0.78rem;

  /* --- Trang NỘI DUNG (bài viết / sản phẩm / chính sách / danh sách) ---
     Chữ + bề ngang cột đọc to dần theo màn hình; desktop lớn không còn "chữ bé giữa trang". */
  --fs-article:     clamp(1.0625rem, 0.98rem + 0.34vw, 1.28rem);  /* thân bài .entry-content */
  --fs-article-h2:  clamp(1.4rem, 1.18rem + 0.75vw, 1.9rem);
  --fs-article-h3:  clamp(1.16rem, 1.04rem + 0.45vw, 1.45rem);
  --fs-card-lg:     clamp(1.1rem, 1rem + 0.34vw, 1.34rem);        /* tiêu đề card trang danh sách */
  --fs-card-text:   clamp(0.9rem, 0.85rem + 0.22vw, 1.02rem);     /* mô tả card trang danh sách */
  /* Cột đọc: rộng BẰNG header (mép logo -> mép ngoài nút "Nhận báo giá").
     .entry-detail__inner mang thêm class .container--wide nên tự khớp mọi breakpoint. */
  --measure-article: 100%;

  /* Menu chính — to dần từ desktop trở lên */
  --fs-nav: clamp(0.92rem, 0.79rem + 0.30vw, 1.08rem);
  --nav-gap: clamp(1.25rem, 0.2rem + 1.9vw, 2.3rem);

  /* alias tương thích code cũ (ánh xạ về 3 cấp) */
  --fs-hero: var(--fs-display);
  --fs-h2:   var(--fs-title);
  --fs-h3:   var(--fs-subtitle);
  --fs-base: var(--fs-body);

  --lh-tight: 1.14;
  --lh-snug: 1.3;
  --lh-body: 1.7;
  --tracking-tight: -0.02em;

  /* --- Button size levels --- */
  --btn-pad-lg: 1.05rem 2.3rem;
  --btn-pad:    0.82rem 1.7rem;
  --btn-pad-sm: 0.55rem 1.15rem;
  --btn-fs-lg: 1.05rem;
  --btn-fs:    0.98rem;
  --btn-fs-sm: 0.9rem;

  /* --- Spacing / rhythm (nhiều khoảng trắng hơn) --- */
  --space-section: clamp(2rem, 1.5rem + 1.8vw, 3.5rem);
  --container: 1200px;
  --container-wide: 1440px;
  --gutter: clamp(1.2rem, 0.6rem + 2vw, 2.75rem);

  /* --- Radius / shadow (bo mềm, đổ bóng tinh tế) --- */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 34px;
  --radius-xl: 48px;
  --shadow-sm: 0 6px 20px rgba(16, 46, 28, 0.06);
  --shadow: 0 22px 55px rgba(16, 46, 28, 0.10);
  --shadow-lg: 0 40px 90px rgba(10, 77, 36, 0.20);

  /* --- Motion --- */
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 620ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 84px;
}


/* ===== style.css ===== */
/*
Theme Name: Gentraco
Theme URI: https://gentraco.com.vn
Description: Custom corporate theme cho Công Ty CP Gentraco — doanh nghiệp gạo Việt Nam, Top 10 xuất khẩu gạo. Thiết kế corporate hiện đại, tông xanh lá / vàng lúa / trắng. Không phụ thuộc page builder.
Author: Công ty Cổ phần Dịch vụ Phần mềm T3SKY
Author URI: https://t3sky.com
Version: 0.38.2
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: gentraco
Tags: corporate, business, custom-colors, custom-menu, featured-images
*/

/* Stylesheet chi tiết được tách trong assets/css/ và nạp qua functions.php.
   File này chỉ giữ theme header (bắt buộc) + vài reset nền tảng. */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}


/* ===== assets/css/main.css ===== */
/* ============================================================
   Gentraco — Main stylesheet
   ============================================================ */

/* ---------- Global ---------- */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

/* ---------- Trợ năng: chữ chỉ dành cho trình đọc màn hình ----------
   BẮT BUỘC phải có trong theme. Trước đây theme mượn CSS lõi WordPress
   (wp-block-library/classic-theme-styles); khi gỡ 2 file đó để giảm dung lượng thì
   link "Bỏ qua tới nội dung" hiện thành chữ thật và chiếm 29px ngay dưới header. */
/* BẮT BUỘC phải có trong theme: trình duyệt mặc định cho <figure> margin 17px 40px.
   Trước đây CSS lõi WordPress (wp-block-library) đặt lại thành 0 0 1em; khi gỡ 2 file
   đó để giảm dung lượng thì thẻ <figure> bị thụt 40px MỖI BÊN -> thẻ Giải thưởng co
   nhỏ lại giữa cột lưới. Giá trị dưới đây khớp đúng giá trị lõi cũ.
   (.entry-content figure có quy tắc riêng, độ ưu tiên cao hơn nên không bị ảnh hưởng.) */
figure { margin: 0 0 1em; }

.screen-reader-text {
  border: 0; clip-path: inset(50%); height: 1px; width: 1px;
  margin: -1px; padding: 0; overflow: hidden; position: absolute !important;
  word-wrap: normal !important;
}
/* Khi dùng bàn phím Tab tới thì PHẢI hiện ra — đó là mục đích của skip-link. */
.screen-reader-text:focus {
  clip-path: none; height: auto; width: auto; margin: 0;
  padding: .9rem 1.4rem; top: 8px; left: 8px; z-index: 200;
  background: #fff; color: var(--c-green-900); font-weight: 700;
  border-radius: var(--radius-sm); box-shadow: var(--shadow);
  text-decoration: none; line-height: 1;
}

/* ---------- Layout primitives ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--wide { width: min(100% - 2 * var(--gutter), var(--container-wide)); }
.section { padding-top: calc(var(--space-section) * 2 / 3); padding-bottom: var(--space-section); position: relative; }
.section--alt { background: var(--c-bg-alt); }
/* Chứng nhận → Liên hệ: mỗi section bo góc TRÊN-TRÁI + DƯỚI-PHẢI (cùng 1 đường chéo) */
:root { --seam-r: clamp(40px, 5vw, 90px); }
#chung-nhan, #giai-thuong, #thi-truong, #tin-tuc, #doi-tac, #lien-he {
  position: relative;
  border-top-left-radius: var(--seam-r);
  border-bottom-right-radius: var(--seam-r);
}
/* đầu chuỗi: chỉ bo góc dưới-phải; cuối chuỗi: chỉ bo góc trên-trái */
#chung-nhan { border-top-left-radius: 0; }
#lien-he { border-bottom-right-radius: 0; }
/* nền đặc để góc bo che & lộ đúng màu section kề bên */
#chung-nhan, #thi-truong, #doi-tac { background: var(--c-cream); }
/* các section xen kẽ đè lên nhau; section "nổi" (z cao) khoe cả 2 góc bo của nó */
#giai-thuong, #thi-truong, #tin-tuc, #doi-tac, #lien-he { margin-top: calc(-1 * var(--seam-r)); }
#chung-nhan { z-index: 1; }
#giai-thuong { z-index: 6; }
#thi-truong { z-index: 1; }
#tin-tuc { z-index: 6; }
#doi-tac { z-index: 1; }
#lien-he { z-index: 6; }
/* cộng padding trên+dưới = seam-r để nội dung không lọt vào vùng đè; top giảm còn 2/3 phần base (vẫn giữ +seam-r để không bị cắt) */
#chung-nhan, #giai-thuong, #doi-tac {
  padding-top: calc(clamp(2.25rem, 1.6rem + 2vw, 3.75rem) * 0 / 3 + var(--seam-r));
  padding-bottom: calc(clamp(2.25rem, 1.6rem + 2vw, 3.75rem) + var(--seam-r));
}
#thi-truong, #tin-tuc, #lien-he {
  padding-top: calc(var(--space-section) * 0 / 3 + var(--seam-r));
  padding-bottom: calc(var(--space-section) + var(--seam-r));
}
/* Đối tác: đang bị sát quá -> nới thêm padding trên & dưới */
#doi-tac {
  padding-top: calc(clamp(2.25rem, 1.6rem + 2vw, 3.75rem) + var(--seam-r));
  padding-bottom: calc(clamp(2.25rem, 1.6rem + 2vw, 3.75rem) + var(--seam-r));
}
.section--green { background: var(--c-bg-green); color: #dce9df; }
.section--tight { padding-block: clamp(2.25rem, 1.6rem + 2vw, 3.75rem); }

body { font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
/* Typography 3 CẤP */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 800; line-height: var(--lh-tight); letter-spacing: var(--tracking-tight); color: var(--c-text); margin: 0; }
.section--green h1, .section--green h2, .section--green h3 { color: #fff; }
p { margin: 0 0 1rem; }
::selection { background: var(--c-gold-300); color: var(--c-green-900); }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-eyebrow);
  letter-spacing: .18em; text-transform: uppercase; color: #d3a948;
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--c-accent); }
.section--green .eyebrow { color: var(--c-gold-300); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--wide { max-width: none; }
.section-title { font-size: var(--fs-h2); }
.section-lead { font-size: var(--fs-lead); color: var(--c-text-muted); margin-top: 1rem; }
.section--green .section-lead { color: #b9d3c0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: var(--btn-pad); border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: var(--btn-fs); letter-spacing: .01em;
  border: 1.5px solid transparent; transition: transform var(--dur) var(--ease), background var(--dur), color var(--dur), box-shadow var(--dur), border-color var(--dur);
  will-change: transform; cursor: pointer; line-height: 1; white-space: nowrap;
}
.btn--lg { padding: var(--btn-pad-lg); font-size: var(--btn-fs-lg); }
.btn--sm { padding: var(--btn-pad-sm); font-size: var(--btn-fs-sm); gap: .45rem; }
.btn svg { width: 17px; height: 17px; }
.btn--sm svg { width: 15px; height: 15px; }
.btn--primary { background: var(--c-green-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--c-green-800); transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--gold { background: var(--c-accent); color: var(--c-green-900); }
.btn--gold:hover { background: var(--c-gold-600); transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--outline { background: transparent; color: var(--c-green-800); border-color: var(--c-green-700); }
.btn--outline:hover { background: var(--c-green-700); color: #fff; transform: translateY(-3px); }

.link-more { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--c-green-700); }
.link-more::after { content: "→"; transition: transform var(--dur) var(--ease); }
.link-more:hover::after { transform: translateX(6px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  /* Nền TRẮNG cố định ngay từ đầu: menu không còn nằm đè lên ảnh hero nên chữ
     luôn đọc được, không phụ thuộc vùng sáng/tối của ảnh. */
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow var(--dur), height var(--dur);
}
/* KHÔNG đặt width:100% ở đây — sẽ đè width của .container--wide và làm header mất lề 2 bên (<1600px) */
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; position: relative; z-index: 1; }
.site-header.is-stuck { box-shadow: var(--shadow-sm); border-bottom-color: transparent; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 74px; width: auto; transition: height var(--dur); }
.is-stuck .brand img { height: 60px; }

.main-nav ul { list-style: none; display: flex; gap: var(--nav-gap); margin: 0; padding: 0; }
.main-nav a {
  font-weight: 600; font-size: var(--fs-nav); color: var(--c-green-900); padding: .4rem 0; position: relative;
  white-space: nowrap; transition: color var(--dur);
}
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--c-accent); transition: width var(--dur) var(--ease); }
.main-nav a:hover::after, .main-nav .current-menu-item > a::after { width: 100%; }
.main-nav a:hover { color: var(--c-green-700); }

.header-actions { display: flex; align-items: center; gap: .9rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; }
/* Chi ton tai khi co ngan keo (<1280px); tu desktop tro len an han. */
.nav-close, .nav-backdrop { display: none; }

/* ---------- Cong tac ngon ngu VI | EN ----------
   Hai o chu dinh lien trong mot vien thuoc, o dang dung to nen xanh.
   Doc duoc ngay va gon hon co tron 19px (co qua nho de nhan ra). */
.lang-switch { display: inline-flex; align-items: center; border: 1px solid var(--c-line); border-radius: 999px; overflow: hidden; background: #fff; line-height: 1; }
.lang-switch__item { display: block; padding: .3rem .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .03em; color: var(--c-ink-700); transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.lang-switch__item + .lang-switch__item { border-left: 1px solid var(--c-line); }
.lang-switch__item:hover, .lang-switch__item:focus-visible { background: var(--c-green-50); color: var(--c-green-800); }
.lang-switch__item.is-active { background: var(--c-green-700); color: #fff; }
@media (max-width: 480px) { .lang-switch__item { padding: .26rem .42rem; font-size: .68rem; } }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--c-green-900); margin: 5px 0; transition: var(--dur); }

/* ============================================================
   HERO
   ============================================================ */
/* margin-top = chiều cao header -> ảnh hero bắt đầu ngay DƯỚI thanh menu (tách bạch) */
.hero { position: relative; margin-top: var(--header-h); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; color: #fff; overflow: hidden; }
/* contain (KHÔNG phải cover): cover phóng ảnh cho phủ kín khung rồi CẮT phần thừa -> đó
   mới là thứ gây 'zoom'. contain hiện trọn ảnh. Giữ position:center để ảnh nằm giữa khung. */
/* Không cần background-position: khung hero đã lấy ĐÚNG tỉ lệ ảnh nên ảnh phủ khít,
   vị trí đặt ở đâu cũng cho kết quả y hệt. */
.hero__bg { position: absolute; inset: 0; z-index: 0; }
/* contain + object-position 0 0 = y hệt background-size:contain với background-position
   mặc định (0% 0%) mà .hero__bg dùng trước đây. Xem chú thích ở template-parts/home/hero.php. */
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 0 0; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s var(--ease), transform 7s linear; transform: scale(1.08); }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6,42,20,.93) 0%, rgba(7,48,23,.74) 48%, rgba(7,48,23,.52) 100%), linear-gradient(0deg, rgba(6,42,20,.5), transparent 32%); }
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 780px; padding-block: 8rem 6rem; }
.hero__title { font-size: var(--fs-hero); color: #fff; }
.hero__title .accent { color: var(--c-gold-300); display: block; }
.hero__desc { font-size: var(--fs-lead); color: #e4efe6; margin: 1.6rem 0 2.4rem; max-width: 60ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll { position: absolute; left: 50%; bottom: 2rem; z-index: 3; transform: translateX(-50%); color: #fff; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .6rem; opacity: .85; }
.hero__scroll .mouse { width: 24px; height: 40px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; position: relative; }
.hero__scroll .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; background: #fff; border-radius: 3px; transform: translateX(-50%); animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } }

/* ============================================================
   HIGHLIGHTS / COUNTERS
   ============================================================ */
.highlights { position: relative; margin-top: -70px; z-index: 5; }
.highlights__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.stat { padding: 2.2rem 1.5rem; text-align: center; border-right: 1px solid var(--c-line); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.6rem, 1rem + 1.8vw, 2.5rem); color: var(--c-green-700); line-height: 1.05; white-space: nowrap; }
.stat__num .suffix { display: block; color: var(--c-gold-600); font-size: .82em; line-height: 1.15; margin-top: .25rem; }
/* biến thể inline: chữ scale ("nghìn") nằm cùng dòng với số & giữ nguyên từ đầu (không đợi counter) */
.stat__num .suffix--inline { display: inline; color: inherit; font-size: inherit; line-height: inherit; margin: 0; }
/* ink-700 thay cho text-muted: 13px màu nhạt đọc mệt (tương phản 5.6:1 -> 10.3:1) */
.stat__label { font-size: .82rem; color: var(--c-ink-700); font-weight: 500; margin-top: .6rem; line-height: 1.4; }
/* ngắt dòng chỉ hiển thị trên mobile (VD tiêu đề "Quy trình sản xuất / khép kín") */
br.br-mobile { display: none; }

/* ============================================================
   ABOUT + TIMELINE
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.about__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.2; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__badge { position: absolute; left: 1.5rem; bottom: 1.5rem; background: var(--c-accent); color: var(--c-green-900); padding: 1rem 1.3rem; border-radius: var(--radius); font-family: var(--font-heading); font-weight: 700; line-height: 1; box-shadow: var(--shadow); }
.about__badge span { display: block; font-family: var(--font-body); font-weight: 600; font-size: .72rem; letter-spacing: .06em; margin-top: .35rem; }
.about__title { font-size: var(--fs-h2); margin-bottom: 1.2rem; }
.about__text { color: var(--c-text-muted); font-size: var(--fs-base); text-align: justify; }
.about__actions { margin-top: 1.8rem; }

.timeline { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.timeline__track { display: flex; gap: 0; overflow-x: clip; overflow-y: visible; padding: 10px 6px 6rem; scroll-snap-type: x mandatory; }
.timeline__item { scroll-snap-align: start; min-width: 190px; flex: 1; padding: 0 1.2rem; position: relative; }
.timeline__item::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 3px; background: var(--c-green-600); opacity: .55; }
.timeline__item:first-child::before { left: 50%; }
.timeline__item:last-child::before { right: 50%; }
.timeline__dot { box-sizing: border-box; display: block; flex: none; width: 22px; height: 22px; min-width: 22px; border-radius: 50%; background: #d3a948; border: 3px solid #fff; box-shadow: 0 0 0 4px #d3a948, 0 4px 10px rgba(191,150,40,.4); margin: 0 auto 1.5rem; position: relative; z-index: 1; }
.timeline__year { font-family: var(--font-heading); font-weight: 800; font-size: 1.55rem; color: var(--c-green-800); text-align: center; letter-spacing: -0.01em; }
.timeline__label { font-size: .84rem; color: var(--c-ink-700); font-weight: 500; text-align: center; margin-top: .45rem; line-height: 1.45; }

/* ============================================================
   CAPACITY CARDS
   ============================================================ */
.cap__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, .5rem + 1vw, 1.6rem); }
.cap-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur); display: flex; flex-direction: column; }
.cap-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.cap-card__img { aspect-ratio: 4/3; overflow: hidden; }
.cap-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.cap-card:hover .cap-card__img img { transform: scale(1.06); }
.cap-card__body { padding: 1.6rem 1.5rem 1.9rem; }
.cap-card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--c-green-100); color: var(--c-green-700); margin-bottom: 1rem; margin-top: -3.2rem; position: relative; box-shadow: var(--shadow-sm); background-clip: padding-box; }
.cap-card__icon svg { width: 26px; height: 26px; }
.cap-card__title { font-size: var(--fs-h3); margin-bottom: .6rem; }
.cap-card__text { font-size: var(--fs-sm); color: var(--c-text-muted); }
.cap-card__text strong { color: var(--c-green-700); }

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.prod__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, .6rem + 1.5vw, 2rem); }
.prod-card { position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur); }
.prod-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.prod-card__media { position: relative; aspect-ratio: 16/11; overflow: hidden; background: radial-gradient(circle at 50% 45%, #fff 0%, var(--c-green-50) 100%); }
.prod-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.prod-card:hover .prod-card__media img { transform: scale(1.06); }
.prod-card__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -30px 40px -30px rgba(10,77,36,.18); pointer-events: none; }
.prod-card__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; flex: 1; }
.prod-card__title { color: var(--c-green-800); font-size: var(--fs-h3); }
.prod-card__desc { font-size: var(--fs-sm); color: var(--c-text-muted); line-height: 1.55; margin: 0; }
.prod-card__link { margin-top: auto; padding-top: .4rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--c-green-700); }
.prod-card__link::after { content: "→"; transition: transform var(--dur) var(--ease); }
.prod-card:hover .prod-card__link::after { transform: translateX(5px); }
.prod-card:hover .prod-card__link { color: var(--c-gold-700); }

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.process__track { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1rem; counter-reset: step; }
.process-step { text-align: center; position: relative; }
.process-step__icon { width: 76px; height: 76px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: var(--c-gold-300); position: relative; }
.process-step__icon svg { width: 34px; height: 34px; }
.process-step:not(:last-child) .process-step__icon::after { content: "→"; position: absolute; right: -46%; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.35); font-size: 1.3rem; }
.process-step__name { font-weight: 600; font-size: .92rem; color: #eaf3ec; }
.process-step__num { display: block; font-size: .72rem; letter-spacing: .12em; color: var(--c-gold-300); margin-bottom: .3rem; }

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.certs__track { display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
.cert-card { flex: 0 1 176px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.8rem 1.2rem; text-align: center; transition: transform var(--dur) var(--ease), box-shadow var(--dur); }
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cert-card__logo {
  height: 96px; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
}
.cert-card__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.cert-card__title { font-weight: 700; color: var(--c-green-800); font-size: .98rem; }
.cert-card__sub { font-size: .8rem; color: var(--c-text-muted); margin-top: .3rem; line-height: 1.35; }

/* ============================================================
   AWARDS
   ============================================================ */
.awards__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1rem, .5rem + 1vw, 1.6rem); }
.award-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur); }
.award-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.award-card__img { aspect-ratio: 4/3; overflow: hidden; background: var(--c-green-50); }
.award-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.award-card:hover .award-card__img img { transform: scale(1.05); }
.award-card__cap { padding: .9rem 1rem 1.1rem; font-weight: 600; font-size: .9rem; color: var(--c-green-800); text-align: center; line-height: 1.35; }
.award-card__cap span { display: block; font-weight: 500; font-size: .78rem; color: var(--c-text-muted); margin-top: .3rem; }

/* ============================================================
   MARKETS
   ============================================================ */
.markets__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.markets__list { display: grid; gap: 1rem; margin-top: 1.8rem; }
.market-item { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); transition: background var(--dur), transform var(--dur) var(--ease); }
.market-item:hover { background: rgba(255,255,255,.1); transform: translateX(6px); }
.market-item__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c-gold-500); flex: none; box-shadow: 0 0 0 5px rgba(244,196,48,.18); }
.market-item__name { font-weight: 600; color: #fff; }
.markets__map { margin-top: clamp(1.5rem, 0.8rem + 2.5vw, 3.5rem); }
.markets__map img { width: 100%; opacity: .92; filter: drop-shadow(0 20px 40px rgba(0,0,0,.3)); }
.markets__note { margin-top: 1.5rem; color: #b9d3c0; }

/* ============================================================
   NEWS — 1 bài lớn (trái) + danh sách bài nhỏ (phải)
   ============================================================ */
.news-col__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.news-col__head .section-title { margin: 0; }
.news-card__meta { display: flex; align-items: center; gap: .7rem; font-size: .78rem; }
.news-card__cat { color: var(--c-green-700); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.news-card__date { color: var(--c-text-muted); }

.news-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.6rem, 1rem + 2vw, 3rem); align-items: stretch; }

.news-feature { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform var(--dur) var(--ease), box-shadow var(--dur); }
.news-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-feature__img { display: block; aspect-ratio: 16/10; overflow: hidden; }
.news-feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.news-feature:hover .news-feature__img img { transform: scale(1.05); }
.news-feature__body { padding: 1.6rem 1.7rem 1.9rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.news-feature__title { font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem; line-height: 1.28; }
.news-feature__title a:hover { color: var(--c-green-700); }
.news-feature__excerpt { font-size: var(--fs-sm); color: var(--c-text-muted); line-height: 1.6; margin: 0; }

.news-list { display: flex; flex-direction: column; gap: .9rem; height: 100%; }
.news-list__item { flex: 1; display: flex; gap: 0; align-items: stretch; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 0; overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur), border-color var(--dur); }
.news-list__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: transparent; }
.news-list__img { flex: none; align-self: stretch; width: clamp(120px, 32%, 170px); border-radius: 0; overflow: hidden; }
.news-list__img img { width: 100%; height: 100%; object-fit: cover; }
.news-list__body { display: flex; flex-direction: column; justify-content: center; gap: .3rem; min-width: 0; padding: .85rem 1.15rem; }
.news-list__title { font-weight: 700; font-size: var(--fs-sm); line-height: 1.35; color: var(--c-ink-900); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list__item:hover .news-list__title { color: var(--c-green-700); }

/* ============================================================
   FOOTER — AGENCY CTA (gộp liền vào khối footer, có border-top)
   ============================================================ */
.footer__agency { position: relative; color: #fff; }
.footer__agency-inner { position: relative; z-index: 1; padding-top: clamp(2.6rem, 2rem + 3vw, 4.6rem); padding-bottom: 0; }
/* line-height riêng: --lh-tight (1.14) quá sát cho tiêu đề 2 dòng có dấu tiếng Việt */
.agency__title { font-size: var(--fs-subtitle); color: #fff; max-width: 22ch; margin: 0 0 1rem; line-height: 1.32; }
@media (min-width: 1024px) { .agency__title { font-size: calc(var(--fs-subtitle) + 2px); } }
.agency__desc { color: #dbeae0; max-width: 46ch; margin: 0 0 1.8rem; font-size: var(--fs-lead); line-height: 1.6; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.6rem, 1rem + 2vw, 3rem); align-items: stretch; }
.contact__form { order: 1; }
.contact__map { order: 2; }
.contact__info { display: grid; gap: 1.2rem; }
.contact-line { display: flex; gap: 1rem; align-items: flex-start; }
.contact-line__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--c-green-100); color: var(--c-green-700); display: grid; place-items: center; flex: none; }
.contact-line__icon svg { width: 22px; height: 22px; }
.contact-line__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-muted); }
.contact-line__value { font-weight: 600; color: var(--c-ink-900); }
.contact__form { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 1rem + 2vw, 2.6rem); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label { font-size: var(--fs-card-text); font-weight: 600; color: var(--c-ink-700); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 1rem; padding: .85rem 1rem; border: 1px solid var(--c-line);
  border-radius: var(--radius-sm); background: var(--c-cream); transition: border var(--dur), box-shadow var(--dur); width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--c-green-500); box-shadow: 0 0 0 4px rgba(43,165,90,.15); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.contact__map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-line); min-height: 360px; box-shadow: var(--shadow-sm); }
.contact__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { color: #b7cfbe; background: #123f24 var(--footer-bg) center top / cover no-repeat; }
.site-footer::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(9,44,24,.62) 0%, rgba(11,50,28,.9) 40%, rgba(13,52,30,.97) 100%); }
.site-footer > .container { padding-top: clamp(2.75rem, 1.8rem + 3vw, 4.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand img { height: 76px; width: auto; border-radius: 8px; margin-bottom: 1.3rem; }
.footer__about { font-size: .9rem; line-height: 1.7; }
/* h3 (khong phai h4): tieu de cot footer nam ngay sau <h2> cua khoi dai ly.
   Nhay tu h2 sang h4 la bo qua cap -- trinh doc man hinh mat mach cau truc,
   Lighthouse bao loi "Heading elements are not in a sequentially-descending order".
   Kich thuoc/mau giu Y NGUYEN nen nhin khong khac gi. */
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 1rem; margin: 0 0 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.site-footer a { font-size: .9rem; transition: color var(--dur); }
.site-footer a:hover { color: var(--c-gold-300); }
.footer__contact li { display: flex; gap: .6rem; font-size: .9rem; align-items: flex-start; }
.footer__social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.footer__social a:hover { background: var(--c-accent); color: var(--c-green-900); }
.footer__social a svg { width: 18px; height: 18px; }
.footer__contact li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--c-gold-300); }
/* color:#fff cho CẢ khối đáy -> dòng bản quyền và dòng credit cùng độ sáng, nhìn cân. */
.footer__bottom { border-top: 1px solid rgba(255,255,255,.4); padding-block: 1.5rem; text-align: center; font-size: .84rem; color: #fff; }

/* ---------- Nút lên đầu trang ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--c-green-700); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--dur), transform var(--dur) var(--ease), background var(--dur);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-green-900); transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }
@media (max-width: 480px) { .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; } }

/* ===== Bong bóng liên hệ nổi (điện thoại / Zalo / Messenger) =====
   Desktop: góc TRÁI dưới. Mobile (<=1024px): góc PHẢI dưới — cùng phía với .to-top nên
   phải đẩy lên NẰM TRÊN nút đó, nếu không hai thứ chồng lên nhau.
   z-index 95: cao hơn .to-top (90) nhưng thấp hơn header/ngăn kéo (1000) và toast. */
.gt-bubbles {
  position: fixed; z-index: 95; left: 22px; bottom: 22px;
  display: flex; flex-direction: column-reverse; gap: .65rem;
}
.gt-bubble {
  position: relative; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--bub-color, var(--c-green-700)); color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.24);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}
.gt-bubble:hover, .gt-bubble:focus-visible { color: #fff; transform: scale(1.08); box-shadow: 0 10px 26px rgba(0,0,0,.3); }
.gt-bubble:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.gt-bubble__icon { display: grid; place-items: center; width: 28px; height: 28px; }
.gt-bubble__icon svg { width: 28px; height: 28px; display: block; }
.gt-bubble__icon img { width: 28px; height: 28px; object-fit: contain; border-radius: 4px; display: block; }

/* Nhãn hiện khi rê chuột / khi focus bằng bàn phím. */
.gt-bubble__tip {
  position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%) scale(.9);
  white-space: nowrap; padding: .4rem .75rem; border-radius: 8px;
  background: var(--c-green-900); color: #fff; font-size: .85rem; font-weight: 600;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur), transform var(--dur) var(--ease);
}
.gt-bubble:hover .gt-bubble__tip, .gt-bubble:focus-visible .gt-bubble__tip { opacity: 1; transform: translateY(-50%) scale(1); }

/* Vòng sóng nhẹ để mắt bắt được cụm nút. MỘT rule cho mọi bong bóng — màu vòng tự lấy
   theo --bub-color của từng nút. Lệch pha để ba vòng không nở cùng lúc gây rối mắt. */
.gt-bubble::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--bub-color, var(--c-green-700));
  animation: gtBubblePulse 2.4s ease-out infinite;
  pointer-events: none;
}
.gt-bubble:nth-child(2)::before { animation-delay: .8s; }
.gt-bubble:nth-child(3)::before { animation-delay: 1.6s; }
@keyframes gtBubblePulse {
  0%   { opacity: .55; transform: scale(1); }
  70%  { opacity: 0;   transform: scale(1.5); }
  100% { opacity: 0;   transform: scale(1.5); }
}

@media (max-width: 1024px) {
  /* Đổi sang góc phải + xếp phía TRÊN nút "Lên đầu trang" (48px + 22px + khoảng hở). */
  .gt-bubbles { left: auto; right: 22px; bottom: 82px; }
  /* Nhãn phải lật sang trái, nếu không nó tràn ra ngoài mép phải màn hình. */
  .gt-bubble__tip { left: auto; right: calc(100% + 12px); }
}
@media (max-width: 480px) {
  .gt-bubbles { right: 14px; bottom: 68px; gap: .55rem; }
  .gt-bubble { width: 46px; height: 46px; }
  .gt-bubble__icon, .gt-bubble__icon svg, .gt-bubble__icon img { width: 25px; height: 25px; }
  /* Màn hẹp không rê chuột được, nhãn cũng dễ tràn -> ẩn, đã có aria-label cho đọc màn hình. */
  .gt-bubble__tip { display: none; }
}

/* ---------- Video modal (nút "Xem chi tiết" ở Năng lực) ---------- */
.video-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); }
.video-modal[hidden] { display: none; }
.video-modal__overlay { position: absolute; inset: 0; background: rgba(6, 30, 15, .82); backdrop-filter: blur(3px); }
.video-modal__box { position: relative; z-index: 1; width: min(100%, 960px); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; animation: videoIn .28s var(--ease); }
.video-modal__player { display: block; width: 100%; height: auto; max-height: 82vh; background: #000; }
.video-modal__close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--c-green-900); font-size: 1.7rem; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); transition: background var(--dur); }
.video-modal__close:hover { background: #fff; }
@keyframes videoIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

.prod-card__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .9rem; font-weight: 600; font-size: .9rem; color: var(--c-green-700); cursor: pointer; }
.prod-card__link:hover { color: var(--c-green-900); }
.prod-card__link span { transition: transform var(--dur) var(--ease); }
.prod-card__link:hover span { transform: translateX(4px); }

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-single { padding: calc(var(--header-h) + 3rem) 0 var(--space-section); }
.post-single__inner { max-width: 800px; margin-inline: auto; }
.post-single__title { font-size: var(--fs-h2); margin: .5rem 0 1rem; }
.post-single__meta { display: flex; gap: 1.2rem; align-items: center; color: var(--c-text-muted); font-size: .9rem; margin-bottom: 1.8rem; }
.post-single__meta .cat { color: var(--c-green-700); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; }
.post-single__media { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2.2rem; box-shadow: var(--shadow); }
.post-single__media img { width: 100%; height: auto; display: block; }
/* ---------- Thân bài dùng chung (the_content của bài viết / SP / chính sách) ---------- */
.entry-content { font-size: var(--fs-article); color: var(--c-ink-700); line-height: 1.8; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content p { margin: 0 0 1.25rem; }
.entry-content h2 { font-size: var(--fs-article-h2); color: var(--c-green-900); margin: 2.4rem 0 .9rem; }
.entry-content h3 { font-size: var(--fs-article-h3); color: var(--c-green-800); margin: 2rem 0 .75rem; }
.entry-content a { color: var(--c-green-700); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--c-green-900); }
.entry-content strong, .entry-content b { color: var(--c-ink-900); font-weight: 700; }
/* --- Danh sách --- */
.entry-content ul, .entry-content ol { margin: 0 0 1.25rem; padding-left: 1.5em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: .5rem; }
.entry-content li > p { margin-bottom: .5rem; }
.entry-content li::marker { color: var(--c-green-600); font-weight: 700; }
/* Danh sách lồng: bỏ khoảng cách thừa, đổi ký hiệu cho phân cấp rõ */
.entry-content li > ul, .entry-content li > ol { margin: .5rem 0 0; }
.entry-content ul ul { list-style: circle; }
.entry-content ul ul ul { list-style: square; }
.entry-content ol ol { list-style: lower-alpha; }
.entry-content ol ol ol { list-style: lower-roman; }

/* --- Trích dẫn / mã --- */
.entry-content blockquote { margin: 1.8rem 0; padding: .2rem 0 .2rem 1.4rem; border-left: 4px solid var(--c-gold-500); color: var(--c-ink-900); font-style: italic; }
.entry-content blockquote > :last-child { margin-bottom: 0; }
.entry-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--c-green-50); border: 1px solid var(--c-line); border-radius: 6px; padding: .12em .4em; }
.entry-content pre { margin: 0 0 1.5rem; padding: 1rem 1.1rem; overflow-x: auto; background: var(--c-green-50); border: 1px solid var(--c-line); border-radius: var(--radius-sm); font-size: .9em; line-height: 1.6; }
.entry-content pre code { background: none; border: 0; padding: 0; }
.entry-content hr { border: 0; border-top: 1px solid var(--c-line); margin: 2.2rem 0; }

/* --- Bảng --- */
/* .table-wrap do inc/content-format.php bọc quanh mỗi <table> -> cuộn ngang trên
   màn hẹp thay vì đẩy vỡ bố cục. */
.entry-content .table-wrap { overflow-x: auto; margin: 0 0 1.5rem; border-radius: var(--radius-sm); border: 1px solid var(--c-line); -webkit-overflow-scrolling: touch; }
.entry-content table { width: 100%; min-width: 480px; border-collapse: collapse; margin: 0; font-size: .95em; background: #fff; }
.entry-content .table-wrap > table { min-width: 520px; }

/* ---------- Hang "The" o cuoi noi dung chi tiet ----------
   Dung CHUNG cho bai viet, san pham va tin tuyen dung (xem template-parts/entry-tags.php).
   Mau lay tu he token san co, khong dat ma mau moi. */
.entry-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 2.2rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line); }
.entry-tags__label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink-700); }
.entry-tags__list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.entry-tags__item { display: inline-block; padding: .4rem .9rem; border-radius: 999px; background: var(--c-green-50); border: 1px solid var(--c-green-100); color: var(--c-green-800); font-size: .88rem; font-weight: 500; line-height: 1.3; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.entry-tags__item:hover, .entry-tags__item:focus-visible { background: var(--c-green-700); border-color: var(--c-green-700); color: #fff; }
.entry-content th, .entry-content td { padding: .8rem 1rem; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.entry-content th { background: var(--c-green-50); color: var(--c-green-900); font-weight: 700; border-bottom: 2px solid var(--c-green-200, #cfe6d6); }
.entry-content tbody tr:nth-child(even) { background: #fafcfa; }
.entry-content tbody tr:last-child td { border-bottom: 0; }
.entry-content caption { caption-side: bottom; padding: .7rem 1rem; font-size: var(--fs-sm); color: var(--c-text-muted); text-align: left; }

/* --- Ảnh & chú thích (kể cả class canh lề của WordPress) --- */
.entry-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.entry-content figure { margin: 1.8rem 0; max-width: 100%; }
.entry-content figcaption, .entry-content .wp-caption-text { margin-top: .6rem; font-size: var(--fs-sm); color: var(--c-text-muted); text-align: center; }
.entry-content .aligncenter { display: block; margin-inline: auto; text-align: center; }
.entry-content .alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.entry-content .alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.entry-content .alignnone { display: block; }
.entry-content::after { content: ""; display: table; clear: both; }
@media (max-width: 620px) {
  /* Màn hẹp: bỏ float để ảnh không bóp chữ thành cột hẹp */
  .entry-content .alignleft, .entry-content .alignright { float: none; display: block; margin: 1.2rem auto; }
}
.post-single__back { margin-top: 2.5rem; }

/* ---------- Trang chi tiết dùng chung (bài viết / chính sách / sản phẩm) ---------- */
.entry-detail { padding: calc(var(--header-h) + 2.5rem) 0 var(--space-section); }
/* Cột nội dung rộng bằng header (.container--wide đặt sẵn trên markup).
   --measure: cho phép từng trang thu hẹp cột riêng mà không nhân bản rule. */
.entry-detail__inner { max-width: var(--measure, var(--measure-article)); margin-inline: auto; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: var(--fs-sm); color: var(--c-text-muted); margin-bottom: 1.1rem; }
.breadcrumb a { color: var(--c-green-700); }
.breadcrumb a:hover { color: var(--c-green-900); text-decoration: underline; }
.breadcrumb__sep { color: var(--c-line); }
.breadcrumb__current { color: var(--c-text-muted); }
.entry-detail__title { font-size: var(--fs-h2); color: var(--c-green-900); line-height: 1.2; margin: .3rem 0 1rem; }
.entry-detail__meta { display: flex; gap: 1.2rem; align-items: center; color: var(--c-text-muted); font-size: var(--fs-card-text); margin-bottom: 1.6rem; }
.entry-detail__meta .cat { color: var(--c-green-700); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .82em; }
/* Cột nội dung rộng bằng header -> phải chặn chiều cao ảnh, nếu không ảnh bị phóng quá khổ.
   KHÔNG nền trắng/đổ bóng: ảnh nằm thẳng trên nền kem của trang cho gọn. */
.entry-detail__media { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2.2rem; text-align: center; }
.entry-detail__media img { display: block; width: auto; max-width: 100%; max-height: clamp(280px, 34vw, 520px); height: auto; margin-inline: auto; border-radius: var(--radius-lg); }
.entry-detail__actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; margin-top: 2.2rem; }
.entry-detail__back { margin-top: 2.5rem; }

/* ---------- Danh sách sản phẩm (archive-product) ---------- */
.prod-archive__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, .8rem + 1.5vw, 2rem); margin-top: 2.5rem; }
@media (max-width: 900px) { .prod-archive__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .prod-archive__grid { grid-template-columns: 1fr; } }
.prod-archive__grid .prod-card { display: block; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur); }
.prod-archive__grid .prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.prod-archive__grid .prod-card__media { aspect-ratio: 4/3; overflow: hidden; }
.prod-archive__grid .prod-card__media img { width: 100%; height: 100%; object-fit: cover; }
.prod-archive__grid .prod-card__body { padding: 1.2rem 1.3rem 1.5rem; }

/* ---------- Danh sách tin tức (page-tin-tuc) ---------- */
.news-archive__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); margin-top: 2.5rem; }
@media (max-width: 900px) { .news-archive__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .news-archive__grid { grid-template-columns: 1fr; } }
.news-archive__card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur); }
.news-archive__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-archive__media { aspect-ratio: 16/10; overflow: hidden; background: var(--c-green-50); }
.news-archive__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.news-archive__card:hover .news-archive__media img { transform: scale(1.05); }
.news-archive__body { padding: 1.3rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.news-archive__cat { align-self: flex-start; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--c-green-700); }
.news-archive__date { margin-top: auto; font-size: .86rem; color: var(--c-text-muted); }

/* Chữ trong card của TRANG DANH SÁCH (tin tức + sản phẩm) — to hơn card ở trang chủ */
.news-archive__title,
.prod-archive__grid .prod-card__title { font-family: var(--font-heading); font-weight: 800; font-size: var(--fs-card-lg); line-height: 1.35; color: var(--c-ink-900); }
.news-archive__excerpt,
.prod-archive__grid .prod-card__desc { font-size: var(--fs-card-text); color: var(--c-text-muted); line-height: 1.6; }
.prod-archive__grid .prod-card__link { font-size: var(--fs-card-text); }

/* ---------- Phân trang (dùng chung: news + product archive) ---------- */
.pagination, .navigation.pagination { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); display: flex; justify-content: center; }
.pagination ul.page-numbers { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .7rem; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--c-line); color: var(--c-green-800); font-weight: 600; text-decoration: none; transition: background var(--dur), color var(--dur), border-color var(--dur); }
a.page-numbers:hover { background: var(--c-green-50); border-color: var(--c-green-200); }
.page-numbers.current { background: var(--c-green-700); color: #fff; border-color: var(--c-green-700); }
.page-numbers.dots { border-color: transparent; background: transparent; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }

/* ============================================================
   GPT-ALIGN UPGRADES — seal, wheat ornaments, stat icons
   ============================================================ */
/* Stat icons above the numbers */
.stat { position: relative; }
.stat__icon { width: 48px; height: 48px; margin: 0 auto .8rem; border-radius: 50%; display: grid; place-items: center; background: var(--c-green-50); color: var(--c-green-700); box-shadow: inset 0 0 0 1px rgba(18,121,59,.1); }
.stat__icon svg { width: 24px; height: 24px; }

/* Hero TOP 10 seal */
.hero__seal { position: absolute; right: clamp(1.5rem, 5vw, 5rem); top: clamp(6.5rem, 16vh, 10rem); z-index: 3; width: clamp(122px, 13vw, 184px); }
.hero__seal .seal { width: 100%; height: auto; filter: drop-shadow(0 12px 30px rgba(0,0,0,.4)); animation: sealIn 1s var(--ease) both .3s; }
@keyframes sealIn { from { opacity: 0; transform: scale(.8) rotate(-12deg); } to { opacity: 1; transform: none; } }

/* Wheat ornaments */
.section--deco { overflow: hidden; }
.section--deco > .container { position: relative; z-index: 1; }
.wheat { display: block; height: auto; }
.ornament { position: absolute; z-index: 0; pointer-events: none; width: clamp(160px, 18vw, 300px); height: auto; opacity: .95; filter: drop-shadow(0 10px 22px rgba(0,0,0,.18)); }
.section--green .ornament { opacity: .8; }
.ornament--soft { opacity: .7; }
.ornament--bl { left: -44px; bottom: -50px; transform: rotate(7deg); }
.ornament--br { right: -44px; bottom: -50px; transform: scaleX(-1) rotate(7deg); }
.ornament--side-l { left: -78px; bottom: -20px; width: clamp(120px, 12vw, 188px); opacity: .5; }
.ornament--side-r { right: -78px; bottom: -20px; transform: scaleX(-1); width: clamp(120px, 12vw, 188px); opacity: .5; }
.site-footer { position: relative; overflow: hidden; border-top-left-radius: clamp(30px, 4vw, 60px); border-top-right-radius: clamp(30px, 4vw, 60px); }
.site-footer .container { position: relative; z-index: 1; }
.ornament--footer { right: -34px; bottom: -34px; width: clamp(170px, 18vw, 300px); opacity: .13; }
@media (max-width: 860px) {
  .hero__seal { display: none; }
  .ornament { width: 130px; }
  .ornament--side-l, .ornament--side-r { display: none; }
}

/* ============================================================
   PARTNERS — thẻ tròn kiểu Chứng nhận chất lượng, trong slider
   ============================================================ */
.partners-slider { display: flex; align-items: center; justify-content: center; gap: .6rem; }
.partners-slider .partners__track { flex: 0 1 auto; width: max-content; max-width: 100%; display: flex; flex-wrap: nowrap; gap: 0; overflow-x: clip; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.6rem .5rem; scrollbar-width: none; scroll-snap-type: x mandatory; }
.partners-slider .partners__track::-webkit-scrollbar { display: none; }
.partner-card { flex: 0 0 auto; width: clamp(150px, 16vw, 210px); padding: .4rem .55rem; text-align: center; position: relative; scroll-snap-align: start; }
.partner-card:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 18%; bottom: 18%; width: 1px; background: var(--c-line); }
.partner-card__logo { height: 84px; display: flex; align-items: center; justify-content: center; }
.partner-card__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform var(--dur) var(--ease); }
.partner-card:hover .partner-card__logo img { transform: scale(1.06); }
@media (max-width: 480px) { .partner-card { width: 128px; } }

/* ============================================================
   MOCKUP-MATCH — bố cục / màu nền / chữ bám sát ảnh GPT
   ============================================================ */
/* ---- Header: logo SVG + nav xanh đậm (hero ảnh cánh đồng sáng) ---- */
/* Logo KHONG duoc co: no la flex item duy nhat co the co trong thanh header, nen khi
   thanh chat (mobile hep + nut ngon ngu) trinh duyet bop ANH lai -> logo meo hinh. */
.brand { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand-badge { height: 54px; width: auto; display: block; flex-shrink: 0; transition: height var(--dur); }
.is-stuck .brand-badge { height: 46px; }
.brand-text { font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; letter-spacing: .2px; line-height: 1; color: var(--c-green-800); transition: font-size var(--dur); }
.is-stuck .brand-text { font-size: 1.45rem; }
.main-nav a { color: var(--c-green-900); font-weight: 600; }
.main-nav a:hover { color: var(--c-green-700); }
.nav-toggle span { background: var(--c-green-900); }
.header-search { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--c-green-800); transition: background var(--dur), color var(--dur); }
.header-search:hover { background: var(--c-green-50); }
.header-search svg { width: 20px; height: 20px; }
/* Desktop (≥1280, nơi menu ngang xuất hiện): header cao hơn, logo + nút + icon giỏ to theo menu */
@media (min-width: 1280px) {
  :root { --header-h: 94px; }
  .site-header.is-stuck { height: 78px; }
  .brand-badge { height: 62px; }
  .is-stuck .brand-badge { height: 50px; }
  .header-actions { gap: 1.25rem; }
  .header-actions .btn--sm { padding: .72rem 1.55rem; font-size: 1.02rem; }
  .header-cart svg { width: 26px; height: 26px; }
}

/* ---- Hero: ảnh cánh đồng thật + chữ xanh đậm (editorial) ---- */
.hero { color: var(--c-green-900); min-height: calc(100svh - var(--header-h)); }
/* Desktop: ảnh ĐÚNG CỠ gốc (1280×720), căn giữa, KHÔNG phóng to; 2 bên là nền gradient trơn (1 ảnh duy nhất) */
@media (min-width: 761px) {
  .hero { min-height: clamp(34rem, 56.25vw, calc(100svh - var(--header-h)));
    background: linear-gradient(180deg, #bfe0f2 0%, #dcecd0 52%, #c7e0ac 100%); }
}
/* Khung hero lấy ĐÚNG tỉ lệ ảnh -> ảnh hiện trọn vẹn, không cắt và không dải trống.
   width:100% BẮT BUỘC: thiếu nó trình duyệt lấy chiều cao suy ngược ra chiều rộng
   theo tỉ lệ -> hero rộng 928px trên màn 768px, tràn ngang.

   Chỉ ép tỉ lệ ở nơi khung đủ cao cho nội dung:
   - >=1100px : cao 645px trở lên -> vừa đủ tiêu đề + mô tả + 2 nút.
   - 761-1099 : theo tỉ lệ chỉ cao 446-640px -> nội dung tràn và bị overflow:hidden
                CẮT MẤT, nên giữ min-height cũ; ảnh vẫn `contain` (hiện đủ, chỉ có
                dải trống mỏng trên/dưới). Không cắt chữ quan trọng hơn không có dải.
   - <=760px  : ảnh dọc 720x1280; kèm max-height để trên tablet hẹp hero không cao vống. */
@media (min-width: 1100px) {
  .hero { width: 100%; aspect-ratio: var(--hero-ratio, 1600 / 938); min-height: 0; }
}
@media (max-width: 760px) {
  .hero { width: 100%; aspect-ratio: var(--hero-ratio-mobile, 720 / 1280); min-height: 0;
    max-height: calc(100svh - var(--header-h)); }
  /* cover (khong phai contain) CHI o mobile — bat buoc, di kem max-height o tren.
     Khi Safari con hien thanh cong cu, 100svh nho hon binh thuong nen max-height CAT
     bot chieu cao khung: khung 414x651 trong khi ti le anh doi 414x736. Khung "be ngang"
     hon anh -> contain co anh theo chieu cao (con 366px rong) va object-position:0 0 day
     phan thua sang phai -> DAI TRONG 48px ben phai (do duoc tren iPhone 11).
     cover lap day khung, chi cat bot tren/duoi. Khi KHONG bi cat (da cuon, thanh cong cu
     thu lai) thi ti le khung == ti le anh nen cover va contain cho ket qua Y HET —
     nghia la binh thuong khong doi gi, chi cuu dung truong hop man hinh bi thap. */
  .hero__img { object-fit: cover; object-position: center; }
}

.hero__bg::after { background:
  linear-gradient(95deg, rgba(255,255,255,.86) 0%, rgba(255,255,255,.55) 30%, rgba(255,255,255,.12) 55%, rgba(255,255,255,0) 72%),
  linear-gradient(0deg, rgba(255,255,255,.5), transparent 30%); }
.hero__inner { max-width: 820px; padding-block: 11rem 8rem; }
.hero .eyebrow { color: var(--c-gold-700); }
.hero__title { color: var(--c-green-900); font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.15rem); line-height: 1.08; letter-spacing: -0.03em; white-space: nowrap; }
.hero__brand { display: block; font-weight: 900; font-size: .56em; letter-spacing: .06em; color: var(--c-green-800); margin-bottom: .4rem; }
.hero__title .accent { white-space: nowrap; }
/* Mobile: đổi ảnh nền hero sang ảnh dọc riêng; nội dung căn giữa màn hình */
@media (max-width: 760px) {
  /* phủ sáng ở dải GIỮA (nơi có chữ); trên lộ trời+con dấu, dưới lộ ruộng -> ảnh không bị che */
  .hero__bg::after { background:
    linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.5) 20%, rgba(255,255,255,.58) 66%, rgba(255,255,255,.12) 84%, rgba(255,255,255,0) 100%); }
  .hero { align-items: center; }          /* nội dung căn giữa; ảnh lộ cả trên (trời/dấu) lẫn dưới (ruộng) */
  .hero__inner { padding-block: 2rem; max-width: 100%; }
  .hero__scroll { display: none; }        /* bỏ chỉ báo "Scroll xuống" (bị đè lên nút) */
  /* Nội dung gọn hơn để không chiếm quá nhiều màn hình, lộ ảnh nhiều hơn */
  .hero__title { font-size: 1.85rem; line-height: 1.14; }
  .hero__desc { font-size: .96rem; line-height: 1.48; margin-top: .3rem; }
  .hero__cta { gap: .7rem; margin-top: 1.4rem; }
  .hero__cta .btn { padding: .8rem 1.2rem; font-size: .95rem; }
}

/* Mobile: padding 2 bên ĐỒNG BỘ cho mọi .container--wide (~1.1rem mỗi bên) + mũi tên carousel đè sát mép */
@media (max-width: 760px) {
  .container--wide { width: calc(100% - 1.4rem); }   /* ~11px mỗi bên: margin chung mobile (to hơn 7px chút) */
  #thi-truong.section { padding-top: calc(var(--space-section) + var(--seam-r)); }   /* Thị trường: thêm khoảng TRÊN (đang sát top) */

  /* Carousel (dùng CHUNG cho mọi [data-carousel]): mũi tên định vị tuyệt đối ở 2 mép, track full chiều rộng */
  [data-carousel] { position: relative; gap: 0; }
  [data-carousel-track] { flex: 1 1 100%; width: 100%; max-width: 100%; justify-content: flex-start; }
  [data-carousel] .carousel-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 34px; height: 34px; background: rgba(255,255,255,.92);
  }
  /* giữ nguyên căn giữa dọc khi active/hover (không để transform:scale ghi đè translateY -> tụt xuống) */
  [data-carousel] .carousel-nav:hover { transform: translateY(-50%) scale(1.06); }
  [data-carousel] .carousel-nav--prev { left: 0; }
  [data-carousel] .carousel-nav--next { right: 0; }
}
@media (max-width: 600px) { .hero__title, .hero__title .accent { white-space: normal; } }
.hero__title .accent { display: block; color: var(--c-green-900); font-weight: 800; }
.hero__desc { color: var(--c-ink-700); margin: 1.7rem 0 2.5rem; max-width: 48ch; }
.hero__scroll { color: var(--c-green-800); opacity: .9; }
.hero__scroll .chevron { width: 15px; height: 15px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: chevBounce 1.6s infinite; }
@keyframes chevBounce { 0%,100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(6px) rotate(45deg); } }

/* ---- Stats: icon vàng lúa, sub-unit vàng ---- */
.highlights__grid { border-radius: var(--radius-xl); }
.stat__icon { background: var(--c-gold-100); color: var(--c-gold-700); box-shadow: inset 0 0 0 1px rgba(201,154,19,.18); }
.stat__num { font-size: clamp(1.4rem, .95rem + 1.3vw, 2.05rem); font-weight: 800; letter-spacing: -0.01em; }
/* min-height: giữ chỗ cho cột không có đơn vị (1976, Top 10) -> mô tả 6 cột thẳng hàng */
/* line-height + min-height PHẢI bằng nhau: ô rỗng (1976, Top 10) và ô có chữ mới cao
   bằng nhau -> dòng mô tả của cả 6 cột thẳng hàng. */
.stat__sub { display: block; line-height: 1.3; min-height: 1.3em; color: var(--c-gold-700); font-weight: 700; font-size: .84rem; margin-top: .15rem; }

/* ---- Capacity: nền xanh, card icon ---- */
/* Năng lực: nền là ảnh dải xanh (lượn sóng + lúa sẵn), dính sát section trên */
.cap--band {
  background: url('../images/decor/cap-band.png') no-repeat center center / 100% 100%;  /* hiện FULL ảnh: cả sóng trên + sóng dưới, mép kem hòa vào section kem 2 đầu */
  margin-top: calc(-1 * var(--space-section) - 4.5rem);  /* đè lên section trên -> hết khoảng trắng (desktop) */
  padding-block: clamp(4.5rem, 3rem + 4vw, 7rem) clamp(6rem, 4rem + 6vw, 9rem);
  position: relative; z-index: 1;
}
.cap--band > .container { padding-inline: clamp(1rem, 0.4rem + 3vw, 4.5rem); }
/* Mobile: dải banner ngang không hợp section cao -> nền xanh đặc + sóng đáy cố định */
@media (max-width: 760px) {
  .cap--band > .container { padding-inline: 0; }   /* Năng lực: bỏ padding riêng, dùng margin chung như mọi section (đè rule clamp phía trên) */
  .cap--band {
    background: var(--c-bg-green);
    padding-bottom: clamp(4.5rem, 3rem + 8vw, 6.5rem);
  }
  .cap--band::after {
    content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(28px, 8vw, 52px); z-index: 2;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100H1440V52C1130 -16 965 98 680 60 405 26 185 96 0 54Z' fill='%23fbf6ec'/%3E%3C/svg%3E") no-repeat bottom center / 100% 100%;
  }
}

.cap__heading { display: inline-flex; align-items: center; gap: 1rem; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); color: var(--c-gold-300); }
.cap__heading::before, .cap__heading::after { content: ""; width: clamp(30px, 6vw, 70px); height: 2px; background: var(--c-gold-500); opacity: .7; }
/* Card năng lực: KHÔNG nền — chỉ nội dung, phân cách bằng vạch dọc (bám ảnh mẫu) */
.cap .cap-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: .3rem 1.6rem; text-align: left; position: relative; transition: transform var(--dur) var(--ease); }
.cap .cap-card:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 4%; bottom: 4%; width: 1px; background: rgba(255,255,255,.15); }
@media (min-width: 1081px) { .cap .cap-card:nth-child(4n)::after { display: none; } }
@media (max-width: 1080px) { .cap .cap-card::after { display: none; } }
.cap .cap-card:hover { transform: translateY(-6px); background: transparent; box-shadow: none; }
.cap-card__head { display: flex; align-items: center; gap: .9rem; margin-bottom: .9rem; }
.cap .cap-card__icon { flex: none; width: 54px; height: 54px; margin: 0; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 42% 34%, #ebcf82 0%, #c69a3c 62%, #a9812c 100%); color: #fff8e6;
  box-shadow: 0 8px 18px rgba(0,0,0,.28), inset 0 1px 2px rgba(255,255,255,.35); }
.cap .cap-card__icon svg { width: 25px; height: 25px; }
.cap .cap-card__title { color: #fff; font-size: var(--fs-card); margin: 0; line-height: 1.25; }
.cap .cap-card__text { color: #bcd6c3; font-size: var(--fs-sm); line-height: 1.6; }
.cap-card__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; font-weight: 600; font-size: .88rem; color: var(--c-gold-300); }
.cap-card__link::after { content: "→"; transition: transform var(--dur) var(--ease); }
.cap .cap-card:hover .cap-card__link::after { transform: translateX(5px); }

/* ---- Products carousel ---- */
.prod-carousel { position: relative; display: flex; align-items: center; gap: .6rem; }
/* overflow-x: CLIP (không phải auto) lúc trang đang tải — có chủ đích, đã đo kỹ.
   Vùng cuộn (scroll container) ở đây khiến Chrome KHÔNG đề cử bất kỳ ứng viên LCP nào
   cho CẢ TRANG trên màn hình hẹp: trace nội bộ của Chrome cho 0 sự kiện
   `largestContentfulPaint::Candidate` ở 412px, trong khi 1440px có 2. Hệ quả là
   PageSpeed báo `NO_LCP` và Search Console không có số liệu LCP cho trang chủ.
   `clip` cắt nội dung y hệt nhưng KHÔNG tạo vùng cuộn -> LCP đo được bình thường.
   Cuộn ngang được bật lại ngay khi trang tải xong (html.gt-ready, xem assets/js/main.js),
   nên thao tác vuốt của người dùng không mất. Hiển thị không đổi một pixel nào. */
.prod-carousel .prod__grid { display: flex; gap: clamp(1rem, .5rem + 1vw, 1.6rem); overflow-x: clip; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .5rem .2rem 1rem; flex: 1; scrollbar-width: none; }
/* Bat cuon ngang cho MOI carousel sau khi trang tai xong — mot quy tac dung chung.
   Xem chu thich day du o .prod-carousel .prod__grid ben tren: vung cuon ton tai luc
   tai trang khien Chrome khong de cu ung vien LCP nao cho ca trang. */
html.gt-ready .prod-carousel .prod__grid,
html.gt-ready .timeline__track,
html.gt-ready .partners-slider .partners__track,
html.gt-ready .certs-slider .certs__track { overflow-x: auto; }
.prod-carousel .prod__grid::-webkit-scrollbar { display: none; }
.prod-carousel .prod-card { flex: 0 0 calc((100% - 5 * clamp(1rem, .5rem + 1vw, 1.6rem)) / 6); min-width: 178px; scroll-snap-align: start; }
.prod-card__media { aspect-ratio: 1/1; border-radius: var(--radius); }
.prod-card__body { padding: 1.1rem .3rem 0; align-items: center; text-align: center; gap: .35rem; }
.prod-card { background: transparent; border: 0; box-shadow: none; border-radius: 0; }
.prod-card:hover { transform: none; box-shadow: none; }
.prod-card__media { box-shadow: var(--shadow-sm); }
.prod-card:hover .prod-card__media { box-shadow: var(--shadow); }
.prod-card__title { font-size: var(--fs-card); }
.prod-card__desc { font-size: var(--fs-sm); }
.prod__more { text-align: center; margin-top: 1.5rem; }

.carousel-nav { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-line); background: #fff; color: var(--c-green-700); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: background var(--dur), color var(--dur), transform var(--dur); }
.carousel-nav:hover { background: var(--c-green-700); color: #fff; transform: scale(1.06); }
.carousel-nav.is-hidden { display: none; }
.carousel-nav svg { width: 20px; height: 20px; }

/* ---- Process: icon tròn trắng + đường nối ---- */
.process__track { position: relative; }
.process-step__icon { background: #fff; border: 0; color: var(--c-green-700); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.process-step__num { position: absolute; top: -4px; right: 22%; width: 24px; height: 24px; border-radius: 50%; background: var(--c-gold-500); color: var(--c-green-900); font-size: .7rem; font-weight: 700; display: grid; place-items: center; margin: 0; z-index: 3; letter-spacing: 0; }
.process-step:not(:last-child) .process-step__icon::after { content: ""; right: -50%; width: 100%; height: 2px; top: 50%; background: none; border-top: 2px dotted rgba(255,255,255,.28); transform: none; }
.process-step__name { margin-top: .3rem; }

/* ---- Certs slider pill ---- */
.certs-slider { display: flex; align-items: center; justify-content: center; gap: .6rem; }
.certs-slider .certs__track { flex: 0 1 auto; width: max-content; max-width: 100%; flex-wrap: nowrap; overflow-x: clip; gap: 0; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.6rem .5rem; scrollbar-width: none; scroll-snap-type: x mandatory; }
.certs-slider .certs__track::-webkit-scrollbar { display: none; }
.certs-slider .cert-card { flex: 0 0 auto; width: clamp(150px, 16.6%, 200px); border: 0; box-shadow: none; background: transparent; padding: .4rem 1rem; scroll-snap-align: start; position: relative; }
.certs-slider .cert-card:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 18%; bottom: 18%; width: 1px; background: var(--c-line); }
.certs-slider .cert-card:hover { transform: none; box-shadow: none; }

/* ---- Markets: nền sáng, 3 điểm nhấn ---- */
.markets.section { background: var(--c-cream); }
.markets .section-title { color: var(--c-green-900); }
.markets__points { display: grid; gap: 1.1rem; margin: 1.8rem 0 2rem; }
.market-point { display: flex; align-items: center; gap: 1rem; }
.market-point__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--c-green-50); color: var(--c-green-700); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(18,121,59,.12); }
.market-point__icon svg { width: 22px; height: 22px; }
.market-point__text { color: var(--c-ink-700); font-weight: 500; }
.markets__map img { filter: none; opacity: 1; }


/* ---- Footer 5 cột ---- */
.footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1.2fr 1.6fr; }   /* desktop: brand (cột đầu) + 4 cột — như cũ */
/* DESKTOP: brand nằm TRONG grid (cột đầu); khối brand trên cùng bị ẩn */
.footer__top { display: none; }
.footer__brand--grid { display: block; }
.footer__top .footer__brand { border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: clamp(1.4rem, 1rem + 1.5vw, 2rem); }
.footer__top .footer__about { max-width: 70ch; }
/* Là thẻ <a> về trang chủ — width:fit-content để vùng bấm không kéo hết chiều ngang cột */
.footer__logo { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; width: fit-content; transition: opacity var(--dur); }
.footer__logo:hover { opacity: .82; }
.footer__logo .brand-badge { height: 76px; border-radius: 0; }
.footer__logo .brand-text { color: #fff; font-size: 1.7rem; }

/* ============================================================
   PREMIUM ELEVATION — editorial, khối bo mềm, blob, khoảng trắng
   ============================================================ */
/* Eyebrow & section heads tinh tế hơn */
.eyebrow { letter-spacing: .22em; font-weight: 700; font-size: var(--fs-eyebrow); }
.section-title { font-size: var(--fs-title); font-weight: 800; letter-spacing: -0.025em; color: var(--c-green-800); }
.section--green .section-title { color: #fff; }
.section-lead { line-height: var(--lh-body); }
.section-head { margin-bottom: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); }

/* About: ảnh collage hữu cơ (KH cấp) — nền kem blend + ảnh nền hoa văn lúa */
#gioi-thieu {
  background: var(--c-cream) var(--gt-about-bg, url('../images/decor/about-bg.jpg')) no-repeat center center / cover;
}
.about__grid { align-items: center; gap: clamp(2rem, 1rem + 4vw, 5rem); }
.about__media { aspect-ratio: auto; border-radius: 0; box-shadow: none; overflow: visible; background: transparent; }
.about__media img { width: 100%; height: auto; object-fit: contain; border-radius: 0; filter: drop-shadow(0 30px 50px rgba(16,46,28,.14)); }
.about__title { font-size: var(--fs-title); }
.about__text { line-height: var(--lh-body); }

/* Card mềm mại + hover cao cấp */
.cap-card, .news-feature, .cert-card, .prod-card__media, .contact__form { border-radius: var(--radius-lg); }
.cap-card:hover { transform: translateY(-10px); }
.cap .cap-card { border-radius: var(--radius-lg); }
.prod-card__media { border-radius: var(--radius-lg); }

/* Highlights: nhô cao hơn, bo lớn */
.highlights { margin-top: -84px; }
.stat { padding: 2.6rem 1.5rem; }
/* Desktop: kéo section "Giới thiệu" áp sát ngay dưới hero -> card thống kê nổi trên đường ghép,
   không còn dải nền mờ 2 bên (card cao ~232px, nhô xuống dưới hero ~148px). */
@media (min-width: 1024px) {
  #gioi-thieu { margin-top: -148px; padding-top: calc(148px + var(--space-section) * 2 / 3); }
}

/* Buttons: bóng & nhấn cao cấp */
.btn--gold { box-shadow: 0 10px 24px rgba(201,154,19,.28); }
.btn--gold:hover { box-shadow: 0 16px 34px rgba(201,154,19,.36); }
.btn--primary { box-shadow: 0 10px 24px rgba(10,77,36,.22); }

/* ---- Tinh chỉnh theo yêu cầu ---- */
/* Nút "Nhận báo giá": nền vàng, CHỮ TRẮNG (như ảnh), bỏ icon */
/* Chu XANH DAM tren nen vang, khong phai chu trang.
   Trang tren #d3a948 chi dat ty le tuong phan 2.20:1 -- duoi nguong 4.5:1 cua WCAG AA
   cho chu nho, Lighthouse bao loi. Doi sang #0a4d24 (xanh thuong hieu) dat 4.61:1.
   Van giu nguyen nen vang nen nhan dien khong doi. */
.btn--quote { background: #d3a948; color: var(--c-green-900); box-shadow: 0 8px 20px rgba(191,150,40,.28); }
.btn--quote:hover { background: #c29a3c; color: var(--c-green-900); transform: translateY(-2px); }

/* Bỏ gạch ngang đầu eyebrow */
.eyebrow::before { display: none; }

/* Hero: bo tròn 2 góc dưới (như mẫu) */
.hero { border-radius: 0; }

/* Tiêu đề Giới thiệu: màu xanh */
.about__title { color: var(--c-green-800); }

/* Quy trình: thêm padding trên/dưới để nội dung cách xa mép sóng */
#quy-trinh.section { padding-block: clamp(3.5rem, 2.5rem + 3.5vw, 6rem); }
/* Desktop: padding 150px trên/dưới + tăng gấp đôi khoảng cách dưới tiêu đề */
@media (min-width: 1024px) {
  #quy-trinh.section { padding-block: 150px; }
  #quy-trinh .section-head { margin-bottom: calc(clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem) * 2); }
}
/* Quy trình: đường nối vàng liền mạch giữa các bước */
.process__track { position: relative; }
.process__track::before { content: ""; position: absolute; top: 38px; left: 6.25%; right: 6.25%; height: 0; border-top: 3px dotted var(--c-gold-500); z-index: 0; }
.process-step { z-index: 1; }
.process-step__icon { position: relative; z-index: 1; }
.process-step:not(:last-child) .process-step__icon::after { display: none; }
@media (max-width: 1080px) { .process__track::before { display: none; } }

/* Stats: đường phân ô ngắn (nửa chiều cao), nằm giữa */
.highlights__grid .stat { border-right: 0 !important; border-top: 0 !important; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 56%; background: var(--c-line); }

/* About: ảnh to hơn + dát sát lề phải (tránh cắt ảnh) */
.about__grid { grid-template-columns: 1fr 1.32fr; align-items: center; }
.about__media { margin-right: calc(-1 * (var(--gutter) + max(0px, (100vw - var(--container-wide)) / 2))); }
.about__media img { width: 100%; }

/* Wave dưới (bottom) cho section xanh */
.wave-bottom::after {
  content: ""; position: absolute; bottom: -1px; left: 0; width: 100%; height: clamp(52px, 6.5vw, 120px); z-index: 1; pointer-events: none; transform: rotate(180deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V28C1130 116 965 2 680 40 405 74 185 4 0 46Z' fill='%23fbf6ec'/%3E%3C/svg%3E") no-repeat top center / 100% 100%;
}

/* Nền kem ấm cho các section sáng (bám mockup) + phân cách lượn sóng */
html, body { overflow-x: clip; max-width: 100%; }
body { background: var(--c-cream); }
#gioi-thieu { overflow-x: clip; }
.section--green { position: relative; }
.wave-top::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: clamp(52px, 6.5vw, 120px); z-index: 1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V28C1130 116 965 2 680 40 405 74 185 4 0 46Z' fill='%23fbf6ec'/%3E%3C/svg%3E") no-repeat top center / 100% 100%;
}
.wave-top > .container { position: relative; z-index: 2; }

/* Sản phẩm: ảnh vuông, KHÔNG bo góc */
.prod-card__media { border-radius: 0; aspect-ratio: 1/1; box-shadow: var(--shadow-sm); }
.prod-card__media::after { border-radius: 0; }
.prod-card:hover .prod-card__media { box-shadow: var(--shadow); }
.prod-carousel .prod-card { min-width: 168px; }
.prod-card__body { padding-top: 1.2rem; }

/* ============================================================
   MÀN HÌNH LỚN — nền section tràn viền, nội dung giới hạn ở container
   (không letterbox trắng; mỗi section giữ đúng màu nền của nó ra sát mép)
   ============================================================ */
/* KHÔNG nới cột nội dung quá --container-wide (1440px) trên màn hình rất lớn.
   Trước đây có quy tắc @media (min-width:1600px) kéo lên 1600px; đã bỏ theo yêu cầu:
   1440px là bề ngang tối đa dùng CHUNG cho toàn site (header, hero, mọi section,
   trang chi tiết) nên header và nội dung luôn thẳng mép nhau. */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .highlights__grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--c-line); }
  .cap__grid { grid-template-columns: repeat(2, 1fr); }
  .process__track { grid-template-columns: repeat(4, 1fr); row-gap: 2.4rem; }
  .process-step:not(:last-child) .process-step__icon::after { display: none; }
  .awards__grid { grid-template-columns: repeat(3, 1fr); }
}
/* Menu ngang 9 mục + chữ to chỉ đủ chỗ từ 1280px; nhỏ hơn -> drawer */
@media (max-width: 1279.98px) {
  .nav-toggle { display: block; }
  .nav-close { display: grid; }
  .nav-backdrop { display: block; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(80vw, 340px); background: #fff; flex-direction: column; padding: calc(var(--header-h) + 1rem) 1.6rem 2rem; transform: translateX(100%); transition: transform var(--dur) var(--ease); box-shadow: var(--shadow-lg); z-index: 60; overflow-y: auto; }
  .main-nav.is-open { transform: none; }
  /* Nut dong nam TRONG ngan keo: ngan keo rong 80% man hinh nen che mat nut hamburger. */
  .nav-close { position: absolute; top: calc(var(--header-h) - 46px); right: 1.1rem; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--c-line); border-radius: 50%; background: #fff; color: var(--c-green-900); }
  .nav-close:hover, .nav-close:focus-visible { background: var(--c-green-50); border-color: var(--c-green-100); }
  /* Nen mo: vua lam ro ngan keo, vua la vung bam de thoat ra. */
  .nav-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(6, 42, 20, .45); opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur); }
  .nav-backdrop.is-shown { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .main-nav ul { flex-direction: column; gap: 1.1rem; }
  .main-nav a { color: var(--c-ink-900); }
}
@media (max-width: 860px) {
  .about__grid, .markets__grid, .contact__grid { grid-template-columns: 1fr; }
  .news-split { grid-template-columns: 1fr; }
  .news-col__head { margin-bottom: 1rem; }
  /* MOBILE: brand lên TRÊN CÙNG footer; ẩn brand trong grid */
  .footer__top { display: block; padding-top: clamp(1.4rem, 1rem + 1.5vw, 2.4rem); }
  .footer__brand--grid { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  /* Header gọn hơn trên mobile — KHÔNG thêm padding riêng, dùng chung padding layout (.container--wide) */
  /* Đổi TOKEN thay vì đặt cứng height: mọi chỗ dùng --header-h (margin-top của hero,
     scroll-margin-top của anchor, padding trang chi tiết) tự khớp theo. */
  :root { --header-h: 68px; }
  .site-header.is-stuck { height: 60px; }
  .brand img { height: 54px; }
  .is-stuck .brand img { height: 48px; }
  .brand-text { font-size: 1.05rem; }
  .header-actions { gap: .45rem; }
  .header-actions .btn--quote { padding: .5rem .95rem; font-size: .85rem; }
}
@media (max-width: 480px) {
  .brand-text { font-size: .92rem; }
  .header-actions .btn--quote { padding: .48rem .8rem; font-size: .8rem; }
}

/* <=380px: header phai chua logo 48px + nut ngon ngu + gio hang + CTA + nut menu.
   Khong thu gon thi tong be ngang vuot qua man -> truoc day logo bi bop, gio logo da
   khoa flex-shrink nen se thanh TRAN NGANG ca trang. Thu gon khoang cach va CTA. */
@media (max-width: 380px) {
  .site-header__inner { gap: .5rem; }
  .header-actions { gap: .35rem; }
  .header-actions .btn--quote { padding: .45rem .7rem; font-size: .78rem; }
  .lang-switch__item { padding: .3rem .42rem; font-size: .68rem; }
}
/* Quy trình dạng vòng tròn trên mobile (tiết kiệm chiều cao) */
@media (max-width: 620px) {
  .process__track {
    display: block; position: relative;
    width: min(90vw, 360px); aspect-ratio: 1; margin: 2.5rem auto 1rem;
  }
  .process__track::before {
    content: ""; position: absolute; inset: 14%;
    border: 2px dashed rgba(255,255,255,.18); border-radius: 50%;
  }
  .process-step { position: absolute; width: 84px; margin: 0; transform: translate(-50%, -50%); }
  /* .reveal ghi đè transform -> mất căn giữa -> vòng tròn lệch phải. Định nghĩa lại transform cho ring giữ nguyên translate(-50%,-50%). */
  .process-step.reveal { transform: translate(-50%, calc(-50% + 16px)); }
  .process-step.reveal.is-visible { transform: translate(-50%, -50%); }
  .process-step__icon { width: 50px; height: 50px; margin: 0 auto .4rem; }
  .process-step__icon svg { width: 22px; height: 22px; }
  .process-step__num { font-size: .6rem; margin-bottom: .1rem; }
  .process-step__name { font-size: .6rem; line-height: 1.2; }
  .process-step:nth-child(1) { left: 50%; top: 7%; }
  .process-step:nth-child(2) { left: 77%; top: 20%; }
  .process-step:nth-child(3) { left: 89%; top: 50%; }
  .process-step:nth-child(4) { left: 77%; top: 80%; }
  .process-step:nth-child(5) { left: 50%; top: 93%; }
  .process-step:nth-child(6) { left: 23%; top: 80%; }
  .process-step:nth-child(7) { left: 11%; top: 50%; }
  .process-step:nth-child(8) { left: 23%; top: 20%; }
}
@media (max-width: 620px) {
  .highlights { margin-top: -30px; }   /* đè nhẹ để lộ nhiều ảnh ruộng hơn (đỡ bị cắt) */
  .highlights__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 1px solid var(--c-line); border-top: 1px solid var(--c-line); padding: 1.6rem .6rem; min-width: 0; }
  .stat:nth-child(odd) { border-left: 0; }
  /* số dài (VD "300 - 400 nghìn") không tràn cột -> cho xuống dòng + nhỏ lại */
  .stat__num { font-size: clamp(1.05rem, .8rem + 1.4vw, 1.35rem); white-space: normal; }
  br.br-mobile { display: inline; }   /* bật ngắt dòng tiêu đề trên mobile */
  .cap__grid, .process__track { grid-template-columns: 1fr; }
  .news-list__item { flex-direction: row; }
  .awards__grid { grid-template-columns: 1fr; }
  .cert-card { flex: 0 1 43%; padding: 1.3rem .8rem; }
  .cert-card__logo { height: 74px; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 1.8rem 1.4rem; }
  .footer__brand { grid-column: 1 / -1; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
}

/* ===== BẢNG GIÁ (module giá) ===== */
.price-box { margin: 1.8rem 0 2.2rem; padding: 1.1rem 1.4rem; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-bg-alt); }
.price-box__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
.price-box__row + .price-box__row { border-top: 1px dashed var(--c-line); }
.price-box__label { color: var(--c-text-soft, #5b6b5f); font-weight: 600; }
.price-box__val { font-size: 1.4rem; font-weight: 800; color: var(--c-green-800); }
.price-box__val em { font-size: .8rem; font-weight: 600; color: var(--c-text-soft, #5b6b5f); font-style: normal; }
/* gold-800 chu KHONG phai gold-600: vang nhat tren nen xanh nhat chi dat 1.72:1,
   Lighthouse bao loi tuong phan o trang chi tiet san pham. */
.price-box__row--agency .price-box__val { color: var(--c-gold-800); }
.price-box__note { margin: .6rem 0 0; font-size: .85rem; color: var(--c-text-soft, #5b6b5f); }

.price-table-wrap { overflow-x: auto; margin: 1.6rem 0; }
.price-table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: var(--fs-article); }
.price-table th, .price-table td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--c-line); }
.price-table thead th { background: var(--c-green-800); color: #fff; font-weight: 700; }
.price-table tbody tr:nth-child(even) { background: var(--c-bg-alt); }
.price-table td a { color: var(--c-green-800); font-weight: 600; }
.price-table__note { font-size: var(--fs-sm); color: var(--c-text-soft, #5b6b5f); font-style: italic; margin-top: .4rem; }

@media (max-width: 600px) {
  .price-table { min-width: 0; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
  .price-table tr { border: 1px solid var(--c-line); border-radius: 12px; margin-bottom: 1rem; }
  .price-table td { border: none; display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 1rem; }
  .price-table td::before { content: attr(data-label); font-weight: 700; color: var(--c-green-800); }
}

/* ===== Contact Form 7 (nút gửi + thông báo) ===== */
.wpcf7-submit { display: inline-flex; align-items: center; justify-content: center; background: var(--c-green-700, #0d5329); color: #fff; border: 0; padding: .9rem 2rem; border-radius: 999px; font-family: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; transition: background .2s, transform .1s; margin-top: .4rem; }
.wpcf7-submit:hover { background: var(--c-green-800, #0a3f1f); }
.wpcf7-submit:active { transform: translateY(1px); }
.wpcf7-spinner { margin: 0 0 0 .6rem; }
.wpcf7 form .wpcf7-response-output { margin: 1rem 0 0; border-radius: 10px; padding: .7rem 1rem; font-size: .92rem; }
.wpcf7-not-valid-tip { font-size: .82rem; }

/* ===== Tài liệu đính kèm (downloads) ===== */
.downloads { margin: 2rem 0; padding: 1.2rem 1.4rem; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-bg-alt); }
.downloads__title { margin: 0 0 .8rem; font-size: 1.1rem; color: var(--c-green-800); }
.downloads__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.downloads__item a { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; text-decoration: none; color: var(--c-text, #23301f); transition: border-color .2s, box-shadow .2s, transform .1s; }
.downloads__item a:hover { border-color: var(--c-green-600, #2e7d46); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.downloads__ext { flex: none; min-width: 48px; text-align: center; font-size: .7rem; font-weight: 800; letter-spacing: .02em; color: #fff; background: var(--c-green-700, #0d5329); padding: .4rem .3rem; border-radius: 8px; }
.downloads__name { flex: 1; font-weight: 600; word-break: break-word; }
.downloads__size { flex: none; font-size: .82rem; color: var(--c-text-soft, #5b6b5f); }

/* ===== Hệ thống cửa hàng / điểm bán ===== */
.store-region { margin: 1.8rem 0 2.4rem; }
.store-region__title { font-size: 1.35rem; color: var(--c-green-800); border-left: 4px solid var(--c-gold-500, #d3a948); padding-left: .7rem; margin: 0 0 1rem; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.store-card { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.1rem 1.2rem; background: #fff; box-shadow: var(--shadow-sm); }
.store-card__name { font-size: 1.1rem; margin: 0 0 .6rem; color: var(--c-green-800); }
.store-card__row { display: flex; gap: .55rem; align-items: flex-start; margin: .35rem 0; font-size: .92rem; color: var(--c-text, #23301f); }
.store-card__row svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--c-green-600, #2e7d46); }
.store-card__row a { color: inherit; }
.store-card__map { margin: .8rem 0 .5rem; border-radius: 10px; overflow: hidden; border: 1px solid var(--c-line); }
.store-card__map iframe { display: block; width: 100%; height: 180px; border: 0; }
.store-card__dir { font-weight: 600; color: var(--c-green-700, #0d5329); font-size: .9rem; }

/* ===== Giỏ hàng / Đặt hàng / Tra cứu đơn ===== */
.header-cart { position: relative; display: inline-flex; align-items: center; color: var(--c-green-900); transition: color var(--dur, .25s) var(--ease, ease), transform var(--dur, .25s); }
.header-cart:hover { color: var(--c-green-700); transform: translateY(-1px); }
.is-stuck .header-cart { color: var(--c-ink-900); }
.is-stuck .header-cart:hover { color: var(--c-green-700); }
.header-cart__count { position: absolute; top: -6px; right: -9px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--c-gold-500, #d3a948); color: #fff; font-size: 11px; font-weight: 700; line-height: 17px; text-align: center; }
.cart-table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.cart-table th, .cart-table td { padding: .7rem .8rem; border-bottom: 1px solid var(--c-line); text-align: left; }
.cart-table thead th { background: var(--c-bg-alt); font-weight: 700; color: var(--c-green-800); }
.cart-table input[type=number] { width: 64px; padding: .3rem .4rem; }
.cart-rm { border: 0; background: none; color: #b23; font-size: 20px; cursor: pointer; line-height: 1; }
.cart-empty { padding: 1.4rem 0; color: var(--c-text-soft, #5b6b5f); }
.cart-total-row { text-align: right; font-size: 1.15rem; margin: 1rem 0; }
.cart-total-row strong { color: var(--c-green-800); }
.checkout-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.8rem; align-items: start; }
.checkout-summary { background: var(--c-bg-alt); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.checkout-summary h2 { margin: 0 0 .8rem; font-size: 1.2rem; color: var(--c-green-800); }
.co-items { list-style: none; margin: 0; padding: 0; }
.co-items li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--c-line); font-size: .95rem; }
.co-total { display: flex; justify-content: space-between; margin-top: .8rem; font-size: 1.1rem; }
.co-total strong { color: var(--c-green-800); }
.checkout-note { font-size: .82rem; color: var(--c-text-soft, #5b6b5f); margin-top: .6rem; }
.order-done { text-align: center; padding: 1rem 0 2rem; }
.order-code { font-size: 1.8rem; font-weight: 800; color: var(--c-green-800); letter-spacing: .03em; margin: .4rem 0 1rem; }
.track-form { display: flex; gap: .6rem; margin: 1rem 0 1.5rem; flex-wrap: wrap; }
.track-form input { flex: 1; min-width: 220px; padding: .7rem .9rem; border: 1px solid var(--c-line); border-radius: 10px; }
.track-none { color: #b23; }
.track-result { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.track-status { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .6rem; }
.track-badge { padding: .35rem .9rem; border-radius: 999px; font-weight: 700; font-size: .9rem; background: var(--c-bg-alt); color: var(--c-green-800); }
.track-badge--paid, .track-badge--completed { background: #e3f4e6; color: #1c7c38; }
.track-badge--cancelled { background: #fbe3e3; color: #b23; }
.track-badge--shipping { background: #fff3dc; color: #a9812c; }
.track-notes { list-style: none; margin: .4rem 0 0; padding: 0; }
.track-notes li { padding: .6rem .8rem; background: var(--c-bg-alt); border-radius: 8px; margin-bottom: .5rem; font-size: .92rem; }
.track-notes__time { display: block; font-size: .78rem; color: var(--c-text-soft, #5b6b5f); margin-bottom: 2px; }

/* ===== Toast thông báo (Contact Form 7) ===== */
.gt-toast { position: fixed; top: 20px; right: 20px; z-index: 99999; display: flex; align-items: center; gap: .65rem; max-width: 360px; padding: .9rem 1.2rem; border-radius: 12px; background: var(--c-green-700, #0d5329); color: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.22); font-size: .95rem; font-weight: 500; line-height: 1.4; cursor: pointer; transform: translateX(120%); opacity: 0; transition: transform .38s cubic-bezier(.2,.8,.2,1), opacity .38s; }
.gt-toast.is-show { transform: translateX(0); opacity: 1; }
.gt-toast--error { background: #c0392b; }
.gt-toast__icon { font-size: 1.15rem; flex: none; }
@media (max-width: 600px) { .gt-toast { top: 12px; left: 12px; right: 12px; max-width: none; } }
@media (max-width: 760px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { border: 1px solid var(--c-line); border-radius: 10px; margin-bottom: .8rem; }
  .cart-table td { border: none; display: flex; justify-content: space-between; gap: 1rem; padding: .45rem .8rem; }
  .cart-table td::before { content: attr(data-label); font-weight: 700; color: var(--c-green-800); }
}

/* ============================================================
   CHI TIẾT: bố cục 2 cột + thư viện ảnh + bài liên quan
   ============================================================ */
.entry-layout { display: grid; gap: clamp(1.8rem, 1rem + 2.5vw, 3.2rem); }
/* Cột phải rộng gấp rưỡi so với trước (280→420 / 340→510).
   Gộp 1 cột từ <1280px (trùng mốc desktop của menu) vì dưới mức đó cột nội dung bị bóp quá hẹp. */
.entry-layout--side { grid-template-columns: minmax(0, 1fr) minmax(420px, 510px); align-items: start; }
.entry-layout__main { min-width: 0; }
@media (max-width: 1279.98px) { .entry-layout--side { grid-template-columns: 1fr; } }

/* Cột phải: bám theo khi cuộn */
.entry-side { position: sticky; top: calc(var(--header-h) + 1.2rem); }
.entry-side__box { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(1.2rem, 1rem + .6vw, 1.7rem); box-shadow: var(--shadow-sm); }
.entry-side__title { font-size: var(--fs-subtitle); color: var(--c-green-800); line-height: 1.3; margin: 0 0 1.1rem; }
.entry-side__all { margin-top: 1.1rem; font-size: var(--fs-card-text); }

.related-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.related-list__item + .related-list__item { border-top: 1px solid var(--c-line); padding-top: 1rem; }
/* Ảnh CAO ĐÚNG BẰNG khối chữ bên phải: ô ảnh là grid cell (stretch) + ảnh position:absolute
   phủ kín ô -> chiều cao hàng do CHỮ quyết định, ảnh không tự đẩy hàng cao lên. */
.related-list__link { display: grid; grid-template-columns: clamp(110px, 34%, 168px) 1fr; gap: 1rem; align-items: stretch; }
.related-list__link--noimg { grid-template-columns: 1fr; }
.related-list__img { position: relative; min-height: 76px; border-radius: var(--radius-sm); overflow: hidden; background: var(--c-green-50); }
.related-list__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--dur-slow) var(--ease); }
.related-list__link:hover .related-list__img img { transform: scale(1.06); }
.related-list__body { display: flex; flex-direction: column; justify-content: center; gap: .25rem; min-width: 0; }
.related-list__cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--c-green-700); }
.related-list__title { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-card); line-height: 1.4; color: var(--c-ink-900); }
.related-list__link:hover .related-list__title { color: var(--c-green-700); }
.related-list__date { font-size: .8rem; color: var(--c-text-muted); }

/* Thư viện ảnh (nhiều ảnh) của bài viết / sản phẩm */
.entry-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: clamp(.7rem, .5rem + .6vw, 1.1rem); margin-top: 2rem; }
.entry-gallery__item { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--c-green-50); }
.entry-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--dur-slow) var(--ease); }
.entry-gallery__item:hover img { transform: scale(1.05); }

/* Lightbox xem ảnh lớn */
.gt-lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(8, 26, 15, .88); padding: clamp(1rem, 4vw, 3rem); }
.gt-lightbox img { max-width: 100%; max-height: 88vh; border-radius: var(--radius); display: block; }
.gt-lightbox__close { position: absolute; top: 1rem; right: 1.2rem; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.gt-lightbox__close:hover { background: rgba(255,255,255,.3); }

/* ============================================================
   TUYỂN DỤNG (CPT job)
   ============================================================ */
.job-filter { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: clamp(1.6rem, 1rem + 2vw, 2.6rem); }
.job-filter__item { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--c-line); background: #fff; font-size: var(--fs-card-text); font-weight: 600; color: var(--c-green-800); transition: background var(--dur), color var(--dur), border-color var(--dur); }
.job-filter__item:hover { border-color: var(--c-green-500); }
.job-filter__item.is-active { background: var(--c-green-700); border-color: var(--c-green-700); color: #fff; }
.job-filter__count { font-size: .78em; opacity: .75; }

.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, .8rem + 1.5vw, 2rem); }
@media (max-width: 980px) { .job-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .job-grid { grid-template-columns: 1fr; } }
.job-card { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(1.2rem, 1rem + .8vw, 1.8rem); box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur); }
.job-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.job-card__cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--c-gold-700); }
.job-card__title { font-size: var(--fs-card-lg); line-height: 1.35; margin: 0; }
.job-card__title a { color: var(--c-green-900); }
.job-card__title a:hover { color: var(--c-green-700); }
.job-card__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.job-card__facts li { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--fs-sm); color: var(--c-text-muted); }
.job-card__facts svg { width: 16px; height: 16px; color: var(--c-green-600); flex: none; }
.job-card__excerpt { font-size: var(--fs-card-text); color: var(--c-text-muted); line-height: 1.6; margin: 0; }
.job-card .btn { margin-top: auto; }
.job-empty { text-align: center; color: var(--c-text-muted); font-size: var(--fs-lead); }

/* Bảng thông tin ở trang chi tiết tuyển dụng */
.job-meta { list-style: none; margin: 0 0 2rem; padding: clamp(1rem, .8rem + .8vw, 1.5rem); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .9rem 1.6rem; background: var(--c-green-50); border: 1px solid var(--c-line); border-radius: var(--radius); }
.job-meta__row { display: flex; flex-direction: column; gap: .15rem; }
.job-meta__label { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c-text-muted); }
.job-meta__value { font-weight: 700; color: var(--c-green-900); font-size: var(--fs-card-text); }

/* ---------- Dòng ghi nhận đơn vị phát triển (footer, không sửa được ở wp-admin) ---------- */
/* Xếp CHỒNG: bản quyền một dòng, credit một dòng ngay dưới — kiểu phổ biến ở
   website doanh nghiệp. Giữ nguyên text-align:center của .footer__bottom. */
.footer__bottom-inner { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.footer__copy { font-weight: 600; }   /* cùng độ đậm với dòng credit */
.credit { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .35rem;
  font-size: 1em;            /* BẰNG cỡ chữ dòng bản quyền */
  color: #fff;               /* KHÔNG thừa hưởng #b7cfbe của footer -> chữ bị xám, trông nhòe */
  opacity: 1; }              /* bỏ hẳn opacity: mọi mức <1 đều làm chữ mờ đi */
/* Nhãn và tên công ty ĐỒNG NHẤT: cùng cỡ, cùng màu, cùng độ đậm.
   font-size/color 1em+#fff ghi đè `.site-footer a { font-size:.9rem }` và màu kế thừa
   #b7cfbe — cần selector 2 class mới thắng độ ưu tiên (0,2,0) > (0,1,1). */
.credit .credit__label,
.credit .credit__link { font-size: 1em; font-weight: 600; color: #fff; }
.credit .credit__link { letter-spacing: .01em; transition: color var(--dur); }
.credit .credit__link:hover { color: var(--c-gold-300); }

