/* Tự động gộp từ các file trong css/ — ĐỪNG sửa file này, hãy sửa file gốc. */

/* ==== css/tokens.css ==== */
/* =====================================================================
   tokens.css — BIẾN THIẾT KẾ (design tokens)
   Mọi màu, cỡ chữ, khoảng cách, bo góc… đều lấy từ đây.
   Muốn đổi màu chủ đạo cả website: chỉ cần sửa ở file này.
   ===================================================================== */
:root {
  /* ---- Bảng màu gốc (lấy từ logo: xanh núi #14A945, vàng chanh #E4FF02) ---- */
  --forest-950: #08190f;
  --forest-900: #0e2419;
  --forest-800: #153523;
  --forest-700: #1d4a31;
  --green-700: #0d6e2e;
  --green-600: #0f8a37;
  --green-500: #14a945;   /* xanh logo */
  --green-100: #e3f3e6;
  --lime-400: #e4ff02;    /* vàng chanh logo */
  --lime-300: #ecff5c;
  --gold-500: #c9962b;    /* lúa chín */
  --gold-100: #f6ecd2;
  --sand-0:   #ffffff;
  --sand-50:  #faf8f3;
  --sand-100: #f3efe5;
  --sand-200: #e8e2d4;
  --sand-300: #d6cebb;
  --ink-900:  #14231b;
  --ink-700:  #34453c;
  --ink-500:  #5c6c63;
  --ink-400:  #7d8b83;

  /* ---- Màu theo vai trò (dùng cái này trong component) ---- */
  --color-bg: var(--sand-50);
  --color-bg-alt: var(--sand-100);
  --color-surface: var(--sand-0);
  --color-heading: var(--forest-900);
  --color-text: var(--ink-700);
  --color-muted: var(--ink-500);
  --color-line: var(--sand-200);
  --color-line-strong: var(--sand-300);
  --color-brand: var(--green-500);
  --color-link: var(--green-700);
  --color-accent: var(--lime-400);
  --color-dark: var(--forest-900);
  --color-dark-2: var(--forest-950);
  --color-on-dark: #f4f6ef;
  --color-on-dark-muted: rgba(244, 246, 239, .68);
  --color-on-dark-line: rgba(244, 246, 239, .14);
  --color-focus: #1a73e8;

  /* ---- Chữ ---- */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-xs: .78rem;      /* 12.5px */
  --fs-sm: .875rem;     /* 14px  */
  --fs-base: 1.0625rem; /* 17px  */
  --fs-md: 1.1875rem;   /* 19px  */
  --fs-lg: clamp(1.25rem, 1.1rem + .5vw, 1.45rem);
  --fs-h4: clamp(1.2rem, 1.1rem + .35vw, 1.375rem);
  --fs-h3: clamp(1.45rem, 1.25rem + .75vw, 1.875rem);
  --fs-h2: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  --fs-h1: clamp(2.5rem, 1.7rem + 3.4vw, 4.75rem);
  --fs-display: clamp(3rem, 1.6rem + 5.6vw, 7rem);

  --lh-tight: 1.08;
  --lh-heading: 1.18;
  --lh-snug: 1.4;
  --lh-body: 1.72;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --tracking-tight: -.015em;
  --tracking-caps: .16em;

  /* ---- Khoảng cách (bội số 4px) ---- */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 2rem;
  --space-8: 2.5rem;
  --space-9: 3rem;
  --space-10: 4rem;
  --space-11: 5rem;
  --space-12: 6rem;
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --section-y-sm: clamp(3rem, 2rem + 4vw, 5.5rem);

  /* ---- Bố cục ---- */
  --container: 1240px;
  --container-wide: 1480px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, .6rem + 3vw, 3rem);
  --header-h: 80px;

  /* ---- Bo góc, bóng ---- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(14, 36, 25, .06), 0 2px 8px rgba(14, 36, 25, .05);
  --shadow-md: 0 6px 24px rgba(14, 36, 25, .09);
  --shadow-lg: 0 24px 60px rgba(14, 36, 25, .16);

  /* ---- Lớp chồng ---- */
  --z-header: 50;
  --z-menu: 60;
  --z-lightbox: 100;

  /* ---- Chuyển động ---- */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: .18s;
  --dur: .35s;
  --dur-slow: .8s;
}

/* Điểm ngắt màn hình (dùng trong @media, CSS chưa hỗ trợ biến ở đây):
   sm  ≤ 600px   điện thoại
   md  ≤ 900px   máy tính bảng dọc
   lg  ≤ 1100px  máy tính bảng ngang / laptop nhỏ
   xl  ≥ 1400px  màn hình lớn                                            */

/* ==== css/base.css ==== */
/* =====================================================================
   base.css — PHÔNG CHỮ, ĐẶT LẠI MẶC ĐỊNH, KIỂU CHỮ CƠ BẢN
   Lưu ý: chỉ file này được dùng url(...) (đường dẫn tính từ thư mục css/).
   ===================================================================== */

/* ---------- Phông chữ (tự lưu trên hosting, không phụ thuộc Google) ---------- */
/* Playfair Display — tiêu đề */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(../fonts/playfair-display-vietnamese-wght-normal.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; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(../fonts/playfair-display-latin-wght-normal.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: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url(../fonts/playfair-display-vietnamese-wght-italic.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; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url(../fonts/playfair-display-latin-wght-italic.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; }

/* Be Vietnam Pro — chữ thường, menu, nút */
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/be-vietnam-pro-vietnamese-400-normal.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; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/be-vietnam-pro-latin-400-normal.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: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/be-vietnam-pro-vietnamese-500-normal.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; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/be-vietnam-pro-latin-500-normal.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: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/be-vietnam-pro-vietnamese-600-normal.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; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/be-vietnam-pro-latin-600-normal.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: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/be-vietnam-pro-vietnamese-700-normal.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; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/be-vietnam-pro-latin-700-normal.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; }

/* ---------- Đặt lại mặc định ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; min-height: 100vh; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-sans); font-size: var(--fs-base); line-height: var(--lh-body); font-weight: var(--fw-regular);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg, video, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--color-link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--color-heading); }
p, ul, ol, figure, blockquote, dl { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
hr { border: 0; border-top: 1px solid var(--color-line); margin: var(--space-8) 0; }
[hidden] { display: none !important; }
::selection { background: var(--lime-300); color: var(--forest-900); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }

/* ---------- Kiểu chữ ---------- */
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--color-heading); font-family: var(--font-display); font-weight: var(--fw-medium);
  line-height: var(--lh-heading); letter-spacing: var(--tracking-tight); text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--em-color, var(--green-600)); }
p { text-wrap: pretty; }
strong, b { font-weight: var(--fw-semibold); color: var(--color-heading); }
small { font-size: var(--fs-sm); }

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

/* ==== css/layout.css ==== */
/* =====================================================================
   layout.css — BỐ CỤC (tiền tố l-)
   l-container  khung giữa trang     l-section  khoảng cách khu vực
   l-grid       lưới cột             l-split    chia 2 cột chữ / ảnh
   l-stack      xếp dọc có khoảng cách đều
   ===================================================================== */

/* ---------- Khung ---------- */
.l-container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.l-container--wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }
.l-container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

/* ---------- Khu vực ---------- */
.l-section { padding-block: var(--section-y); }
.l-section--sm { padding-block: var(--section-y-sm); }
.l-section--flush-top { padding-top: 0; }
.l-section--alt { background: var(--color-bg-alt); }
.l-section--surface { background: var(--color-surface); }
.l-section--dark { background: var(--color-dark); color: var(--color-on-dark-muted); --em-color: var(--lime-400); }
.l-section--dark :is(h1, h2, h3, h4, strong) { color: var(--color-on-dark); }
.l-section + .l-section--alt, .l-section--alt + .l-section:not(.l-section--alt) { border-top: 0; }

/* ---------- Lưới ---------- */
.l-grid { display: grid; gap: var(--grid-gap, clamp(1.25rem, .8rem + 1.6vw, 2.25rem)); }
.l-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.l-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.l-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.l-grid--auto { grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 280px)), 1fr)); }

/* ---------- Chia đôi ---------- */
.l-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.l-split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.l-split--reverse > :first-child { order: 2; }
.l-split--top { align-items: start; }

/* ---------- Xếp dọc ---------- */
.l-stack > * + * { margin-top: var(--stack, var(--space-5)); }
.l-stack--lg { --stack: var(--space-7); }

/* ---------- Màn hình nhỏ ---------- */
@media (max-width: 1100px) {
  .l-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .l-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l-split, .l-split--even { grid-template-columns: minmax(0, 1fr); }
  .l-split--reverse > :first-child { order: 0; }
}
@media (max-width: 600px) {
  .l-grid--2, .l-grid--3, .l-grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* ==== css/components/button.css ==== */
/* =====================================================================
   components/button.css — NÚT (c-btn), LINK MŨI TÊN (c-link-more), NÚT BIỂU TƯỢNG
   Biến thể: --primary  --secondary  --ghost  --light  --facebook
   ===================================================================== */
.c-icon { width: 1.25em; height: 1.25em; flex: none; }

.c-btn { --btn-bg: var(--forest-900); --btn-fg: var(--sand-0); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 3.25rem; padding: .85rem 1.6rem;
  border: 1.5px solid var(--btn-bd); border-radius: var(--radius-pill); background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-sans); font-size: .95rem; font-weight: var(--fw-semibold); line-height: 1.2; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) ease; }
.c-btn .c-icon { width: 1.1em; height: 1.1em; transition: transform var(--dur) var(--ease); }
.c-btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.c-btn:hover .c-icon:last-child:not(:first-child) { transform: translateX(3px); }
.c-btn:active { transform: translateY(0); }

.c-btn--primary { --btn-bg: var(--lime-400); --btn-fg: var(--forest-900); }
.c-btn--primary:hover { --btn-bg: var(--lime-300); }
.c-btn--secondary { --btn-bg: transparent; --btn-fg: var(--forest-900); --btn-bd: var(--color-line-strong); }
.c-btn--secondary:hover { --btn-bd: var(--forest-900); }
.c-btn--dark { --btn-bg: var(--forest-900); --btn-fg: var(--sand-0); }
.c-btn--dark:hover { --btn-bg: var(--forest-700); }
.c-btn--ghost { --btn-bg: rgba(255, 255, 255, .08); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.c-btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .18); --btn-bd: #fff; }
.c-btn--light { --btn-bg: #fff; --btn-fg: var(--forest-900); }
.c-btn--facebook { --btn-bg: #1877f2; --btn-fg: #fff; }
.c-btn--facebook:hover { --btn-bg: #0f63d4; }
.c-btn--sm { min-height: 2.6rem; padding: .55rem 1.15rem; font-size: .875rem; }

.l-section--dark .c-btn--secondary { --btn-fg: var(--color-on-dark); --btn-bd: var(--color-on-dark-line); }
.l-section--dark .c-btn--secondary:hover { --btn-bd: var(--color-on-dark); }

.c-btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.c-btn-row--center { justify-content: center; }

/* Link "Xem tất cả →" */
.c-link-more { display: inline-flex; align-items: center; gap: .5em; color: var(--color-heading); font-weight: var(--fw-semibold);
  font-size: .95rem; text-decoration: none; padding-block: .35em; border-bottom: 1.5px solid currentColor; }
.c-link-more .c-icon { width: 1.05em; height: 1.05em; transition: transform var(--dur) var(--ease); }
.c-link-more:hover { color: var(--green-600); }
.c-link-more:hover .c-icon { transform: translateX(4px); }
.l-section--dark .c-link-more { color: var(--color-on-dark); }
.l-section--dark .c-link-more:hover { color: var(--lime-400); }

/* Nút tròn chỉ có biểu tượng */
.c-icon-btn { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; color: inherit;
  border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 28%, transparent); transition: background-color var(--dur-fast), border-color var(--dur-fast); }
.c-icon-btn:hover { color: inherit; border-color: currentColor; background: color-mix(in srgb, currentColor 10%, transparent); }
.c-icon-btn .c-icon { width: 1.15rem; height: 1.15rem; }

/* ==== css/components/header.css ==== */
/* =====================================================================
   components/header.css — THANH MENU (c-header), LOGO (c-brand),
   MENU (c-nav), CHUYỂN NGÔN NGỮ (c-lang), NÚT MENU ĐIỆN THOẠI (c-burger)
   c-header--overlay : nằm trên ảnh lớn, chữ trắng; cuộn xuống → nền sáng
   c-header--solid   : nền sáng ngay từ đầu (trang bài viết, trang chữ)
   ===================================================================== */
.c-header { --hdr-fg: var(--color-heading); --hdr-muted: var(--color-muted);
  position: sticky; top: 0; z-index: var(--z-header); height: var(--header-h); color: var(--hdr-fg);
  background: rgba(250, 248, 243, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--color-line); transition: background-color var(--dur) ease, border-color var(--dur) ease, box-shadow var(--dur) ease, transform var(--dur) var(--ease); }
.c-header__inner { display: flex; align-items: center; gap: var(--space-6); height: 100%; }

.c-header--overlay { position: fixed; inset: 0 0 auto; --hdr-fg: #fff; --hdr-muted: rgba(255, 255, 255, .78);
  background: linear-gradient(to bottom, rgba(8, 25, 15, .55), rgba(8, 25, 15, 0)); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
.c-header--overlay.is-scrolled { --hdr-fg: var(--color-heading); --hdr-muted: var(--color-muted);
  background: rgba(250, 248, 243, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--color-line); box-shadow: 0 6px 24px rgba(14, 36, 25, .06); }
.c-header.is-hidden { transform: translateY(-100%); }

/* ---------- Logo ---------- */
.c-brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--hdr-fg); text-decoration: none; flex: none; }
.c-brand:hover { color: var(--hdr-fg); }
.c-brand__marks { position: relative; width: 52px; height: 34px; flex: none; }
.c-brand__mark { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity var(--dur) ease; }
.c-brand__mark--light { opacity: 0; }
.c-header--overlay:not(.is-scrolled) .c-brand__mark--light { opacity: 1; }
.c-header--overlay:not(.is-scrolled) .c-brand__mark--color { opacity: 0; }
.c-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.c-brand__name { font-family: var(--font-display); font-size: 1.22rem; font-weight: var(--fw-semibold); letter-spacing: -.005em; white-space: nowrap; }
.c-brand__tag { margin-top: .3rem; font-size: .66rem; font-weight: var(--fw-semibold); letter-spacing: .14em; text-transform: uppercase; color: var(--hdr-muted); white-space: nowrap; }

/* ---------- Menu ---------- */
.c-nav { margin-inline: auto; }
.c-nav__list { display: flex; align-items: center; gap: clamp(.9rem, .2rem + 1.4vw, 1.9rem); }
.c-nav__link { position: relative; display: block; padding-block: .5rem; color: var(--hdr-fg); font-size: .935rem; font-weight: var(--fw-medium);
  text-decoration: none; white-space: nowrap; }
.c-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 2px; border-radius: 2px;
  background: var(--lime-400); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.c-header--overlay.is-scrolled .c-nav__link::after, .c-header--solid .c-nav__link::after { background: var(--green-500); }
.c-nav__link:hover { color: var(--hdr-fg); }
.c-nav__link:hover::after, .c-nav__link.is-active::after { transform: scaleX(1); }
.c-nav__extra { display: none; }

/* ---------- Công cụ bên phải ---------- */
.c-header__tools { display: flex; align-items: center; gap: var(--space-3); flex: none; }
.c-header__tools .c-icon-btn { width: 2.4rem; height: 2.4rem; }

/* Chuyển ngôn ngữ VI / EN */
.c-lang { display: inline-flex; align-items: center; padding: 3px; border-radius: var(--radius-pill);
  border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 24%, transparent); }
.c-lang__item { display: grid; place-items: center; min-width: 2.35rem; height: 1.9rem; padding-inline: .55rem; border-radius: var(--radius-pill);
  color: inherit; font-size: .75rem; font-weight: var(--fw-bold); letter-spacing: .06em; text-decoration: none; opacity: .72; transition: background-color var(--dur-fast), opacity var(--dur-fast); }
.c-lang__item:hover { color: inherit; opacity: 1; }
.c-lang__item.is-active { opacity: 1; background: var(--lime-400); color: var(--forest-900); }
.c-header .c-lang { color: var(--hdr-fg); }

/* Nút menu điện thoại */
.c-burger { display: none; position: relative; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--hdr-fg); }
.c-burger span, .c-burger span::before, .c-burger span::after { position: absolute; left: 50%; width: 22px; height: 2px; margin-left: -11px; border-radius: 2px; background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast); }
.c-burger span { top: 50%; margin-top: -1px; }
.c-burger span::before, .c-burger span::after { content: ""; left: 0; margin-left: 0; }
.c-burger span::before { transform: translateY(-7px); }
.c-burger span::after { transform: translateY(7px); }
.is-menu-open .c-burger span { background: transparent; }
.is-menu-open .c-burger span::before { transform: rotate(45deg); }
.is-menu-open .c-burger span::after { transform: rotate(-45deg); }

/* Trang có header nổi: nội dung đầu trang tự chừa chỗ */
.has-header-overlay main > :first-child:not(.p-hero):not(.c-page-hero) { padding-top: calc(var(--header-h) + var(--section-y-sm)); }

/* ---------- Màn hình ≤ 1180px: menu dạng bảng trượt ---------- */
@media (max-width: 1180px) {
  .c-burger { display: inline-block; z-index: calc(var(--z-menu) + 1); }
  .c-header__tools .c-lang { display: none; }
  .c-nav { position: fixed; inset: 0; z-index: var(--z-menu); display: flex; flex-direction: column; justify-content: center; gap: var(--space-8);
    margin: 0; padding: calc(var(--header-h) + var(--space-6)) var(--gutter) var(--space-9); background: var(--forest-900); color: var(--color-on-dark);
    opacity: 0; visibility: hidden; transition: opacity var(--dur) ease, visibility 0s linear var(--dur); overflow-y: auto; }
  .is-menu-open .c-nav { opacity: 1; visibility: visible; transition: opacity var(--dur) ease; }
  .c-nav__list { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .c-nav__link { color: var(--color-on-dark); font-family: var(--font-display); font-size: clamp(1.9rem, 1.2rem + 3vw, 2.6rem); font-weight: var(--fw-medium); padding-block: .3rem; }
  .c-nav__link:hover { color: var(--lime-400); }
  .c-nav__link::after { display: none; }
  .c-nav__link.is-active { color: var(--lime-400); }
  .c-nav__extra { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); padding-top: var(--space-6); border-top: 1px solid var(--color-on-dark-line); }
  .c-nav__extra .c-lang { color: var(--color-on-dark); }
  .is-menu-open { overflow: hidden; }
  .is-menu-open .c-header { --hdr-fg: #fff; --hdr-muted: rgba(255, 255, 255, .7); background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; }
  .is-menu-open .c-brand { position: relative; z-index: calc(var(--z-menu) + 1); }
  .is-menu-open .c-brand__mark--light { opacity: 1; }
  .is-menu-open .c-brand__mark--color { opacity: 0; }
  .is-menu-open .c-header__tools .c-icon-btn { visibility: hidden; }
}
@media (max-width: 600px) {
  :root { --header-h: 68px; }
  .c-brand__marks { width: 44px; height: 29px; }
  .c-brand__name { font-size: 1.08rem; }
  .c-brand__tag { font-size: .6rem; letter-spacing: .1em; }
  .c-header__tools .c-icon-btn { display: none; }
}

/* ==== css/components/footer.css ==== */
/* =====================================================================
   components/footer.css — CHÂN TRANG (c-footer) + MẠNG XÃ HỘI (c-social)
   Cấu trúc:  promo (hashtag + theo dõi)  →  lưới 4 cột  →  dòng pháp lý
   ===================================================================== */
.c-footer { position: relative; background: var(--forest-950); color: var(--color-on-dark-muted); font-size: .95rem; line-height: 1.6; overflow: hidden; }
.c-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(228, 255, 2, .45), transparent); }
.c-footer a { color: var(--color-on-dark); text-decoration: none; transition: color var(--dur-fast); }
.c-footer a:hover { color: var(--lime-400); }

/* ---------- Quảng bá: hashtag ---------- */
.c-footer__promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6) clamp(2rem, 1rem + 4vw, 5rem); align-items: center;
  padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); border-bottom: 1px solid var(--color-on-dark-line); }
.c-footer__eyebrow { margin-bottom: var(--space-3); color: var(--color-on-dark-muted); font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: var(--tracking-caps); text-transform: uppercase; }
.c-footer .c-footer__hashtag { display: inline-block; color: var(--lime-400); font-family: var(--font-display); font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); font-style: italic; font-weight: var(--fw-medium);
  line-height: 1.05; letter-spacing: -.01em; overflow-wrap: anywhere; }
.c-footer .c-footer__hashtag:hover { color: var(--lime-300); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.c-footer__promo-body p { max-width: 34rem; color: var(--color-on-dark); font-size: var(--fs-md); line-height: 1.6; }
.c-footer__promo-body .c-btn-row { margin-top: var(--space-6); }
.c-footer .c-btn--facebook, .c-footer .c-btn--facebook:hover { color: #fff; }
.c-footer .c-btn--ghost:hover { color: #fff; }

/* ---------- Lưới 4 cột ---------- */
.c-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 1rem + 3vw, 4.5rem);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }

.c-footer__logo { display: inline-flex; align-items: center; gap: .9rem; }
.c-footer__logo img { width: 58px; height: auto; flex: none; }
.c-footer__name { display: flex; flex-direction: column; color: var(--color-on-dark); font-family: var(--font-display); font-size: 1.45rem; font-weight: var(--fw-semibold); line-height: 1.15; }
.c-footer__name small { margin-top: .35rem; color: var(--color-on-dark-muted); font-family: var(--font-sans); font-size: .64rem; font-weight: var(--fw-semibold); letter-spacing: .14em; text-transform: uppercase; }
.c-footer__about { max-width: 36ch; margin-top: var(--space-5); }

.c-footer__title { margin-bottom: var(--space-5); color: var(--lime-400); font-family: var(--font-sans); font-size: .72rem; font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps); text-transform: uppercase; }
.c-footer__list { display: grid; gap: .75rem; }

.c-footer__contact { display: grid; gap: .85rem; }
.c-footer__contact li { display: grid; grid-template-columns: 1.15rem minmax(0, 1fr); gap: .75rem; align-items: start; }
.c-footer__contact .c-icon { width: 1.15rem; height: 1.15rem; margin-top: .2rem; color: var(--lime-400); }
.c-footer__contact a { overflow-wrap: anywhere; }
.c-footer__contact span { color: var(--color-on-dark); }

/* ---------- Dòng pháp lý ---------- */
.c-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4) var(--space-7);
  padding-block: var(--space-6); border-top: 1px solid var(--color-on-dark-line); font-size: .84rem; }
.c-footer__legal { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.c-footer__bottom-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); }
.c-footer__bottom-links a { color: var(--color-on-dark-muted); }
.c-footer__top { display: inline-flex; align-items: center; gap: .4rem; }
.c-footer__top .c-icon { width: 1rem; height: 1rem; }

/* ---------- Mạng xã hội ---------- */
.c-social { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: var(--space-6); }
.c-social__link { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid var(--color-on-dark-line);
  transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); }
.c-footer .c-social__link:hover { background: var(--lime-400); border-color: var(--lime-400); color: var(--forest-900); }
.c-social__link .c-icon { width: 1.15rem; height: 1.15rem; }

/* ---------- Màn hình nhỏ ---------- */
@media (max-width: 1100px) {
  .c-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .c-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 800px) {
  .c-footer__promo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .c-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-footer__col:last-child { grid-column: 1 / -1; }
  .c-footer__promo-body .c-btn { flex: 1 1 100%; }
}
@media (max-width: 420px) {
  .c-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ==== css/components/section.css ==== */
/* =====================================================================
   components/section.css — TIÊU ĐỀ KHU VỰC (c-section-head), NHÃN NHỎ
   (c-eyebrow), ĐOẠN DẪN (c-lead), KHỐI CHỮ (c-text), SỐ LIỆU (c-stats),
   THÔNG BÁO (c-notice), ĐƯỜNG DẪN (c-breadcrumb)
   ===================================================================== */
.c-eyebrow { display: inline-flex; align-items: center; gap: .75rem; margin-bottom: var(--space-4); color: var(--green-600);
  font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: var(--tracking-caps); text-transform: uppercase; line-height: 1.3; }
.c-eyebrow::before { content: ""; width: 1.75rem; height: 1.5px; background: currentColor; flex: none; }
.c-eyebrow--light, .l-section--dark .c-eyebrow { color: var(--lime-400); }
.c-section-head--center .c-eyebrow::before { display: none; }

.c-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-5) var(--space-8);
  margin-bottom: clamp(2.25rem, 1.5rem + 2.5vw, 4rem); }
.c-section-head__text { max-width: 46rem; }
.c-section-head__title { font-size: var(--fs-h2); }
.c-section-head__lead { margin-top: var(--space-5); font-size: var(--fs-md); color: var(--color-muted); max-width: 40rem; }
.l-section--dark .c-section-head__lead { color: var(--color-on-dark-muted); }
.c-section-head--center { flex-direction: column; align-items: center; text-align: center; }
.c-section-head--center .c-section-head__text { margin-inline: auto; }
.c-section-head--center .c-section-head__lead { margin-inline: auto; }
.c-section-head__action { padding-bottom: .4rem; }

.c-lead { font-size: var(--fs-md); line-height: 1.65; color: var(--color-heading); }
.c-text > * + * { margin-top: 1.1em; }
.c-text p { color: var(--color-text); }
.c-text--lg p { font-size: var(--fs-md); }

/* Số liệu */
.c-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--color-line); }
.c-stats__item { padding: var(--space-7) var(--space-6) var(--space-2) 0; }
.c-stats__item + .c-stats__item { padding-left: var(--space-6); border-left: 1px solid var(--color-line); }
.c-stats__num { display: flex; align-items: baseline; gap: .35rem; color: var(--color-heading); font-family: var(--font-display); font-size: clamp(1.9rem, 1.3rem + 1.5vw, 2.7rem); font-weight: var(--fw-medium); line-height: 1; letter-spacing: -.02em; }
@media (min-width: 901px) { .c-stats__num { white-space: nowrap; } }
.c-stats__unit { font-family: var(--font-sans); font-size: .9rem; font-weight: var(--fw-semibold); color: var(--green-600); letter-spacing: 0; }
.c-stats__label { margin-top: var(--space-3); font-size: .92rem; line-height: 1.5; color: var(--color-muted); max-width: 24ch; }
.l-section--dark .c-stats, .l-section--dark .c-stats__item { border-color: var(--color-on-dark-line); }
.l-section--dark .c-stats__num { color: var(--color-on-dark); }
.l-section--dark .c-stats__unit { color: var(--lime-400); }
.l-section--dark .c-stats__label { color: var(--color-on-dark-muted); }

/* Thông báo nhỏ */
.c-notice { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: var(--radius-sm); background: var(--gold-100);
  color: #6b5216; font-size: .9rem; line-height: 1.5; }
.c-notice .c-icon { margin-top: .1rem; }

/* Đường dẫn */
.c-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; font-size: .82rem; font-weight: var(--fw-medium); color: inherit; }
.c-breadcrumb a { color: inherit; text-decoration: none; opacity: .8; }
.c-breadcrumb a:hover { color: inherit; opacity: 1; text-decoration: underline; }
.c-breadcrumb span[aria-hidden] { opacity: .5; }

@media (max-width: 900px) {
  .c-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c-stats__num { flex-wrap: wrap; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.2rem); }
  .c-stats__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .c-stats__item:nth-child(n+3) { border-top: 1px solid var(--color-line); }
  .l-section--dark .c-stats__item:nth-child(n+3) { border-color: var(--color-on-dark-line); }
}

/* ==== css/components/page-hero.css ==== */
/* =====================================================================
   components/page-hero.css — ẢNH LỚN ĐẦU TRANG CON (c-page-hero)
   Kích thước: --md (mặc định)  --sm (thấp hơn, cho trang nhiều nội dung)
   ===================================================================== */
.c-page-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(420px, 62vh, 660px); color: #fff;
  background: var(--forest-900); overflow: hidden; isolation: isolate; }
.c-page-hero--sm { min-height: clamp(360px, 48vh, 500px); }
.c-page-hero__media { position: absolute; inset: 0; z-index: -1; }
.c-page-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: pageHeroZoom 14s var(--ease) both; }
.c-page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 25, 15, .5) 0%, rgba(8, 25, 15, .12) 32%, rgba(8, 25, 15, .25) 55%, rgba(8, 25, 15, .82) 100%); }
.c-page-hero__inner { padding-top: calc(var(--header-h) + var(--space-9)); padding-bottom: clamp(2.75rem, 2rem + 3vw, 4.75rem); }
.c-page-hero .c-breadcrumb { margin-bottom: var(--space-6); color: rgba(255, 255, 255, .85); }
.c-page-hero__title { max-width: 18ch; color: #fff; font-size: var(--fs-h1); --em-color: var(--lime-400); text-shadow: 0 2px 30px rgba(0, 0, 0, .18); }
.c-page-hero__lead { max-width: 40rem; margin-top: var(--space-5); color: rgba(255, 255, 255, .88); font-size: var(--fs-lg); line-height: 1.55; }
.c-page-hero__credit { position: absolute; right: var(--gutter); bottom: var(--space-5); display: flex; align-items: center; gap: .45rem;
  color: rgba(255, 255, 255, .7); font-size: .75rem; }
.c-page-hero__credit .c-icon { width: .95rem; height: .95rem; }

@keyframes pageHeroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

@media (max-width: 700px) {
  .c-page-hero__credit { display: none; }
}

/* ==== css/components/photo.css ==== */
/* =====================================================================
   components/photo.css — Ô ẢNH (c-photo), KHUNG ẢNH TỶ LỆ CỐ ĐỊNH (c-frame)
   ===================================================================== */
.c-photo { position: relative; margin: 0; }
.c-photo__link { position: relative; display: block; overflow: hidden; border-radius: var(--radius-md); background: var(--sand-200); cursor: zoom-in; }
.c-photo__link img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter var(--dur); }
.c-photo__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 25, 15, .55), transparent 45%); opacity: 0; transition: opacity var(--dur); }
.c-photo__link:hover img { transform: scale(1.045); }
.c-photo__link:hover::after, .c-photo__link:focus-visible::after { opacity: 1; }
.c-photo__cap { margin-top: .6rem; font-size: .85rem; line-height: 1.45; color: var(--color-muted); }
.c-photo__cap:empty { display: none; }

/* Chú thích nằm trên ảnh (khi rê chuột) */
.c-photo--overlay .c-photo__cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 1rem 1.1rem; color: #fff; font-size: .88rem; font-weight: var(--fw-medium);
  opacity: 0; transform: translateY(6px); transition: opacity var(--dur), transform var(--dur) var(--ease); pointer-events: none; }
.c-photo--overlay:hover .c-photo__cap, .c-photo--overlay:focus-within .c-photo__cap { opacity: 1; transform: none; }
@media (hover: none) { .c-photo--overlay .c-photo__cap { opacity: 1; transform: none; } .c-photo--overlay .c-photo__link::after { opacity: .8; } }

/* Khung ảnh tỷ lệ cố định */
.c-frame { position: relative; overflow: hidden; border-radius: var(--radius-md); background: var(--sand-200); aspect-ratio: var(--ratio, 4 / 3); }
.c-frame > img, .c-frame .c-photo__link, .c-frame .c-photo__link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-frame .c-photo { position: absolute; inset: 0; }
.c-frame--portrait { --ratio: 4 / 5; }
.c-frame--square { --ratio: 1; }
.c-frame--wide { --ratio: 16 / 9; }

/* ==== css/components/card.css ==== */
/* =====================================================================
   components/card.css — CÁC LOẠI THẺ
   c-post-card   thẻ bài viết (--feature: thẻ lớn nằm ngang)
   c-place-card  thẻ điểm đến (ảnh dọc, chữ nằm trên ảnh)
   c-icon-card   thẻ có biểu tượng (trải nghiệm, đường đi…)
   ===================================================================== */

/* ---------- Thẻ bài viết ---------- */
.c-post-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.c-post-card__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-md); background: var(--forest-800); }
.c-post-card__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.c-post-card:hover .c-post-card__media > img { transform: scale(1.04); }
.c-post-card__ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(120% 90% at 30% 20%, var(--forest-700), var(--forest-900)); }
.c-post-card__ph img { width: 72px; opacity: .85; }
.c-post-card__body { display: flex; flex-direction: column; flex: 1; padding-top: var(--space-5); }
.c-post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; color: var(--color-muted); font-size: .78rem; font-weight: var(--fw-medium); letter-spacing: .02em; }
.c-post-card__meta > span + span::before { content: "·"; margin-right: .9rem; opacity: .6; }
.c-post-card__cat { color: var(--green-600); font-weight: var(--fw-bold); letter-spacing: .1em; text-transform: uppercase; }
.c-post-card__title { margin-top: var(--space-3); font-size: var(--fs-h4); line-height: 1.3; }
.c-post-card__title a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size var(--dur) var(--ease); }
.c-post-card__title a::after { content: ""; position: absolute; inset: 0; }
.c-post-card:hover .c-post-card__title a { background-size: 100% 1.5px; }
.c-post-card__excerpt { margin-top: var(--space-3); color: var(--color-muted); font-size: .95rem; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.c-post-card__more { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: var(--space-5); color: var(--color-heading); font-size: .88rem; font-weight: var(--fw-semibold); }
.c-post-card__more .c-icon { width: 1rem; height: 1rem; transition: transform var(--dur) var(--ease); }
.c-post-card:hover .c-post-card__more .c-icon { transform: translateX(4px); }
.l-section--dark .c-post-card__meta, .l-section--dark .c-post-card__excerpt { color: var(--color-on-dark-muted); }
.l-section--dark .c-post-card__title, .l-section--dark .c-post-card__more { color: var(--color-on-dark); }
.l-section--dark .c-post-card__cat { color: var(--lime-400); }

/* Thẻ lớn nằm ngang */
.c-post-card--feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.c-post-card--feature .c-post-card__media { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); }
.c-post-card--feature .c-post-card__body { padding-top: 0; }
.c-post-card--feature .c-post-card__title { font-size: var(--fs-h2); line-height: 1.12; }
.c-post-card--feature .c-post-card__excerpt { font-size: var(--fs-md); -webkit-line-clamp: 4; }
.c-post-card--feature .c-post-card__more { margin-top: var(--space-6); padding-top: 0; }

/* ---------- Thẻ điểm đến ---------- */
.c-place-card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-lg); color: #fff; text-decoration: none; background: var(--forest-800); isolation: isolate; }
.c-place-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.c-place-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 25, 15, 0) 35%, rgba(8, 25, 15, .85) 100%); transition: opacity var(--dur); }
.c-place-card:hover { color: #fff; }
.c-place-card:hover img { transform: scale(1.06); }
.c-place-card__num { position: absolute; top: var(--space-5); left: var(--space-5); font-family: var(--font-display); font-size: 1rem; font-style: italic; opacity: .9; }
.c-place-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-6); }
.c-place-card__body > span { display: block; }
.c-place-card__tag { font-size: .72rem; font-weight: var(--fw-bold); letter-spacing: .14em; text-transform: uppercase; color: var(--lime-400); }
.c-place-card__title { margin-top: .4rem; color: #fff; font-family: var(--font-display); font-weight: var(--fw-medium); font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); line-height: 1.15; }
.c-place-card__body > .c-place-card__go { display: inline-flex; align-items: center; gap: .4rem; margin-top: var(--space-4); font-size: .85rem; font-weight: var(--fw-semibold);
  opacity: 0; transform: translateY(8px); transition: opacity var(--dur), transform var(--dur) var(--ease); }
.c-place-card__go .c-icon { width: 1rem; height: 1rem; }
.c-place-card:hover .c-place-card__go, .c-place-card:focus-visible .c-place-card__go { opacity: 1; transform: none; }
@media (hover: none) { .c-place-card__go { opacity: 1; transform: none; } }

/* ---------- Thẻ có biểu tượng ---------- */
.c-icon-card { position: relative; display: flex; flex-direction: column; gap: var(--space-3); height: 100%; padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  border: 1px solid var(--color-line); border-radius: var(--radius-md); background: var(--color-surface); transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur) var(--ease); }
.c-icon-card:hover { border-color: var(--color-line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.c-icon-card__icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: var(--space-2); border-radius: 50%; background: var(--green-100); color: var(--green-700); }
.c-icon-card__icon .c-icon { width: 1.4rem; height: 1.4rem; }
.c-icon-card__title { font-size: var(--fs-h4); line-height: 1.3; }
.c-icon-card__text { color: var(--color-muted); font-size: .95rem; line-height: 1.65; }
.c-icon-card__meta { margin-top: auto; padding-top: var(--space-3); font-size: .8rem; font-weight: var(--fw-semibold); letter-spacing: .08em; text-transform: uppercase; color: var(--green-600); }
.l-section--dark .c-icon-card { background: rgba(255, 255, 255, .03); border-color: var(--color-on-dark-line); }
.l-section--dark .c-icon-card:hover { border-color: rgba(255, 255, 255, .3); box-shadow: none; }
.l-section--dark .c-icon-card__icon { background: rgba(228, 255, 2, .12); color: var(--lime-400); }
.l-section--dark .c-icon-card__text { color: var(--color-on-dark-muted); }

@media (max-width: 900px) {
  .c-post-card--feature { grid-template-columns: minmax(0, 1fr); }
  .c-post-card--feature .c-post-card__body { padding-top: var(--space-2); }
}

/* ==== css/components/chip.css ==== */
/* =====================================================================
   components/chip.css — NÚT LỌC / NHÃN (c-chip), HÀNG NÚT LỌC (c-chips)
   ===================================================================== */
.c-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.c-chip { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.5rem; padding: .45rem 1.05rem; border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-pill); background: var(--color-surface); color: var(--color-heading); font-size: .88rem; font-weight: var(--fw-medium);
  line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); }
.c-chip:hover { border-color: var(--forest-900); color: var(--color-heading); }
.c-chip.is-active, .c-chip[aria-pressed="true"], .c-chip[aria-current] { background: var(--forest-900); border-color: var(--forest-900); color: #fff; }
.c-chip__count { font-size: .75rem; opacity: .6; font-variant-numeric: tabular-nums; }
.c-chip .c-icon { width: 1rem; height: 1rem; }
.c-chip--static { cursor: default; min-height: 2rem; padding: .3rem .8rem; font-size: .8rem; background: var(--sand-100); border-color: transparent; }
.c-chip--static:hover { border-color: transparent; }
.l-section--dark .c-chip { background: transparent; color: var(--color-on-dark); border-color: var(--color-on-dark-line); }

/* ==== css/components/lightbox.css ==== */
/* =====================================================================
   components/lightbox.css — HỘP XEM ẢNH TOÀN MÀN HÌNH (c-lightbox)
   Do js/lightbox.js tạo ra khi bấm vào ảnh có thuộc tính data-lightbox.
   ===================================================================== */
.c-lightbox { position: fixed; inset: 0; z-index: var(--z-lightbox); display: grid; grid-template-rows: 1fr auto; background: rgba(6, 16, 10, .96); color: #fff;
  opacity: 0; visibility: hidden; transition: opacity var(--dur) ease, visibility 0s linear var(--dur); }
.c-lightbox.is-open { opacity: 1; visibility: visible; transition: opacity var(--dur) ease; }
.c-lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: clamp(3.5rem, 2rem + 4vw, 5rem) clamp(1rem, -1rem + 8vw, 6.5rem) var(--space-4); touch-action: pan-y; }
.c-lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-xs); box-shadow: 0 20px 80px rgba(0, 0, 0, .5);
  opacity: 0; transform: scale(.985); transition: opacity .3s ease, transform .4s var(--ease); user-select: none; -webkit-user-drag: none; }
.c-lightbox__img.is-ready { opacity: 1; transform: none; }
.c-lightbox__bar { display: flex; align-items: center; justify-content: center; gap: var(--space-5); padding: var(--space-4) var(--gutter) var(--space-6); text-align: center; }
.c-lightbox__count { font-size: .78rem; font-weight: var(--fw-semibold); letter-spacing: .12em; color: var(--lime-400); font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-lightbox__cap { max-width: 60ch; font-size: .95rem; color: rgba(255, 255, 255, .86); }
.c-lightbox__btn { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%;
  background: rgba(255, 255, 255, .06); color: #fff; transition: background-color var(--dur-fast), border-color var(--dur-fast); }
.c-lightbox__btn:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }
.c-lightbox__btn .c-icon { width: 1.25rem; height: 1.25rem; }
.c-lightbox__close { top: var(--space-4); right: var(--space-4); }
.c-lightbox__play { top: var(--space-4); right: calc(var(--space-4) + 3.75rem); }
.c-lightbox__prev, .c-lightbox__next { top: 50%; margin-top: -1.5rem; }
.c-lightbox__prev { left: var(--space-4); }
.c-lightbox__next { right: var(--space-4); }
.c-lightbox--single .c-lightbox__prev, .c-lightbox--single .c-lightbox__next, .c-lightbox--single .c-lightbox__play { display: none; }
body.is-lightbox-open { overflow: hidden; }

@media (max-width: 700px) {
  .c-lightbox__prev, .c-lightbox__next { top: auto; bottom: var(--space-4); margin: 0; }
  .c-lightbox__bar { padding-inline: 4.5rem; flex-direction: column; gap: .3rem; }
}

/* ==== css/components/facebook.css ==== */
/* =====================================================================
   components/facebook.css — KHỐI FANPAGE FACEBOOK (c-fb)
   Khung bài đăng (iframe) của Facebook nằm đè lên ảnh dự phòng: nếu
   Facebook bị chặn hoặc chậm, người xem vẫn thấy ảnh + nút Theo dõi.
   ===================================================================== */
.c-fb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.c-fb__title { font-size: var(--fs-h2); }
.c-fb__lead { margin-top: var(--space-5); font-size: var(--fs-md); color: var(--color-muted); max-width: 36rem; }
.c-fb .c-btn-row { margin-top: var(--space-7); }
.c-fb__handle { display: flex; align-items: center; gap: .5rem; margin-top: var(--space-6); font-size: .9rem; color: var(--color-muted); }
.c-fb__handle .c-icon { color: #1877f2; }
.c-fb__handle a { color: inherit; }

.c-fb__frame { position: relative; width: 100%; max-width: 500px; height: 620px; justify-self: end; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--color-surface); box-shadow: var(--shadow-lg); }
.c-fb__frame iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; background: transparent; }
.c-fb__fallback { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; }
.c-fb__fallback > img { width: 100%; height: 100%; object-fit: cover; }
.c-fb__card { display: grid; justify-items: start; gap: .2rem; padding: var(--space-6); }
.c-fb__card img { width: 56px; margin-bottom: var(--space-3); }
.c-fb__card strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: var(--fw-semibold); }
.c-fb__card > span { color: var(--color-muted); font-size: .9rem; margin-bottom: var(--space-4); }

@media (max-width: 1000px) {
  .c-fb { grid-template-columns: minmax(0, 1fr); }
  .c-fb__frame { justify-self: start; }
}
@media (max-width: 600px) {
  .c-fb__frame { height: 560px; }
}

/* ==== css/components/cta-band.css ==== */
/* =====================================================================
   components/cta-band.css — DẢI KÊU GỌI HÀNH ĐỘNG CÓ ẢNH NỀN (c-cta-band)
   ===================================================================== */
.c-cta-band { position: relative; display: grid; place-items: center; min-height: clamp(420px, 60vh, 600px); padding-block: var(--section-y);
  color: #fff; text-align: center; background: var(--forest-900); overflow: hidden; isolation: isolate; }
.c-cta-band__media { position: absolute; inset: 0; z-index: -2; }
.c-cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.c-cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(8, 25, 15, .45), rgba(8, 25, 15, .78)); }
.c-cta-band__inner { display: flex; flex-direction: column; align-items: center; }
.c-cta-band .c-eyebrow::before { display: none; }
.c-cta-band__title { max-width: 20ch; color: #fff; font-size: var(--fs-h2); --em-color: var(--lime-400); }
.c-cta-band__text { max-width: 38rem; margin-top: var(--space-5); color: rgba(255, 255, 255, .86); font-size: var(--fs-md); }
.c-cta-band .c-btn-row { margin-top: var(--space-8); }

/* ==== css/components/accordion.css ==== */
/* =====================================================================
   components/accordion.css — HỎI ĐÁP MỞ/ĐÓNG (c-accordion) dùng <details>
   ===================================================================== */
.c-accordion { border-top: 1px solid var(--color-line); }
.c-accordion__item { border-bottom: 1px solid var(--color-line); }
.c-accordion__q { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); padding: var(--space-6) 0; cursor: pointer; list-style: none;
  color: var(--color-heading); font-family: var(--font-display); font-size: var(--fs-h4); font-weight: var(--fw-medium); line-height: 1.35; }
.c-accordion__q::-webkit-details-marker { display: none; }
.c-accordion__q:hover { color: var(--green-600); }
.c-accordion__icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; flex: none; border-radius: 50%; border: 1px solid var(--color-line-strong);
  transition: transform var(--dur) var(--ease), background-color var(--dur-fast); }
.c-accordion__icon .c-icon { width: 1rem; height: 1rem; }
.c-accordion__item[open] .c-accordion__icon { transform: rotate(45deg); background: var(--lime-400); border-color: var(--lime-400); color: var(--forest-900); }
.c-accordion__a { padding: 0 3.5rem var(--space-6) 0; color: var(--color-text); max-width: 60rem; }

/* ==== css/utilities.css ==== */
/* =====================================================================
   utilities.css — LỚP TIỆN ÍCH (tiền tố u-) — nạp sau cùng
   ===================================================================== */
.u-visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.u-skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 999; padding: .7rem 1.1rem; border-radius: var(--radius-sm); background: var(--lime-400); color: var(--forest-900);
  font-weight: var(--fw-semibold); text-decoration: none; transform: translateY(-160%); transition: transform var(--dur-fast); }
.u-skip-link:focus { transform: none; }
.u-center { text-align: center; }
.u-mt-0 { margin-top: 0 !important; }
.u-mt-6 { margin-top: var(--space-6); }
.u-mt-8 { margin-top: var(--space-8); }
.u-mt-10 { margin-top: var(--space-10); }
.u-muted { color: var(--color-muted); }

/* Hiệu ứng hiện dần khi cuộn tới (js/core.js thêm .is-visible) */
.js .u-reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js .u-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .u-reveal { opacity: 1; transform: none; } }
