/* =====================================================================
   HOÀNG GIA — giao diện tư vấn / tài chính, nền sáng, nhấn xanh rêu

   Ngôn ngữ thiết kế học từ một mẫu tư vấn thương mại: nền trắng thoáng, một
   màu thương hiệu xanh rêu đậm duy nhất, tiêu đề sans đậm cỡ lớn với giãn
   dòng chặt, nút viên thuốc, và các thẻ xanh đặc có mũi tên chéo ở góc.

   Mã nguồn do VinaSite viết. KHÔNG sao chép HTML, CSS, ảnh hay nội dung của
   mẫu tham chiếu — chỉ lấy bảng màu, nhịp bố cục và kiểu khối.

   Thông số lấy từ mẫu: khung nội dung 1320px, tiêu đề khối 55px/62px đậm 600
   màu #0B3D2E, tiêu đề hero 100px/90px giãn -2px, nút bo 30px, dải kem
   #F5F2F0, chữ nội dung #696969.

   Mọi luật nền bọc trong :where() để có độ ưu tiên bằng 0 — tránh lỗi luật
   nền thắng luật thành phần làm chữ trên nút biến mất.
   ===================================================================== */

:root {
    --hg-green:    #0B3D2E;   /* màu thương hiệu duy nhất */
    --hg-green-700:#08301F;
    --hg-green-100:rgba(11, 61, 46, .10);
    --hg-ink:      #111A16;   /* tiêu đề trên nền sáng */
    --hg-body:     #696969;   /* chữ nội dung */
    --hg-cream:    #F5F2F0;   /* dải nền phụ */
    --hg-line:     rgba(11, 61, 46, .14);
    --hg-line-2:   rgba(17, 26, 22, .10);
    --hg-white:    #FFFFFF;

    --hg-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --hg-pad:  clamp(56px, 6vw, 110px);
    --hg-gut:  clamp(18px, 3.6vw, 40px);
    --hg-max:  1320px;
    --hg-small: clamp(14.5px, .92rem + .1vw, 16px);
    --hg-r:    30px;          /* bán kính nút viên thuốc */
    --hg-rc:   18px;          /* bán kính thẻ */
}

/* ---------- Nền ---------- */
:where(.hg) {
    margin: 0;
    background: var(--hg-white);
    color: var(--hg-body);
    font-family: var(--hg-font);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
:where(.hg *, .hg *::before, .hg *::after) { box-sizing: border-box; }
:where(.hg h1, .hg h2, .hg h3, .hg h4) {
    font-family: var(--hg-font);
    font-weight: 600;
    line-height: 1.12;
    color: var(--hg-green);
    margin: 0;
}
:where(.hg p) { margin: 0 0 1em; }
:where(.hg a) { color: var(--hg-green); text-decoration: none; }
:where(.hg a:hover) { color: var(--hg-green-700); }
:where(.hg img) { max-width: 100%; height: auto; display: block; }
:where(.hg ul, .hg ol) { margin: 0; padding: 0; }
:where(.hg li) { list-style: none; }
:where(.hg svg) { width: 20px; height: 20px; flex: none; }
:where(.hg :focus-visible) { outline: 2px solid var(--hg-green); outline-offset: 3px; }

.hg-wrap { width: min(100% - var(--hg-gut) * 2, var(--hg-max)); margin-inline: auto; }
.hg-sec  { padding-block: var(--hg-pad); }

.hg-skip { position: absolute; left: -9999px; top: 0; z-index: 100;
    background: var(--hg-green); color: #fff; padding: 12px 18px; font-weight: 700; }
.hg-skip:focus { left: 12px; top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px;
    overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Nút ---------- */
.hg-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 14px 30px; border-radius: var(--hg-r);
    font-size: 16px; font-weight: 600; line-height: 1.2;
    border: 1px solid transparent; cursor: pointer;
    transition: background-color .22s ease, color .22s ease, border-color .22s ease;
}
.hg-btn svg { width: 18px; height: 18px; }
.hg-btn--gold { background: var(--hg-green); color: #fff; border-color: var(--hg-green); }
.hg-btn--gold:hover { background: var(--hg-green-700); border-color: var(--hg-green-700); color: #fff; }
.hg-btn--ghost { background: transparent; color: var(--hg-green); border-color: var(--hg-line); }
.hg-btn--ghost:hover { background: var(--hg-green); border-color: var(--hg-green); color: #fff; }
.hg-btn--block { width: 100%; }
/* Trên nền xanh đặc thì đảo lại */
.hg-cta .hg-btn--ghost, .hg-hero .hg-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .42); }
.hg-cta .hg-btn--ghost:hover, .hg-hero .hg-btn--ghost:hover { background: #fff; color: var(--hg-green); border-color: #fff; }

/* ---------- Thanh trên cùng ---------- */
.hg-topbar { background: var(--hg-cream); border-bottom: 1px solid var(--hg-line-2); }
.hg-topbar__in {
    display: flex; flex-wrap: wrap; gap: 8px 30px;
    align-items: center; justify-content: space-between; padding: 10px 0;
}
.hg-topbar__set { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; }
.hg-topbar a, .hg-topbar span {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--hg-ink); font-size: 14px;
}
.hg-topbar a:hover { color: var(--hg-green); }
.hg-topbar svg { width: 15px; height: 15px; color: var(--hg-green); }

/* ---------- Đầu trang ---------- */
.hg-header {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--hg-line-2);
}
.hg-header__in { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 32px); padding: 18px 0; }
.hg-header.is-stuck .hg-header__in { padding: 12px 0; }

.hg-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--hg-green); margin-right: auto; }
.hg-logo__img { max-height: 48px; width: auto; }
/* Dấu nhận diện phải tự đặt cỡ: luật icon chung `:where(.hg svg)` ở trên áp cho
   MỌI thẻ svg trong trang, kể cả dấu này, và thuộc tính `width` trên thẻ thì
   thua CSS. `:where()` có độ ưu tiên 0 nên chọn lọc một lớp dưới đây là đủ
   thắng. Cỡ 46px khớp với `max-height` của logo ảnh ngay trên, để đổi qua lại
   giữa hai kiểu logo không làm đầu trang nhảy. */
.hg-mark { width: 46px; height: 46px; }
.hg-logo__text { display: grid; }
.hg-logo__name { font-size: clamp(19px, 1.1rem + .3vw, 23px); font-weight: 700;
    color: var(--hg-green); line-height: 1.15; letter-spacing: -.01em; }
.hg-logo__tag { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
    color: var(--hg-body); line-height: 1.6; }

.hg-menu { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 26px); }
.hg-menu a { position: relative; display: block; padding: 8px 0;
    color: var(--hg-ink); font-size: var(--hg-small); font-weight: 500; }
.hg-menu a::after { content: ''; position: absolute; left: 0; bottom: 2px;
    height: 2px; width: 0; background: var(--hg-green); transition: width .26s ease; }
.hg-menu a:hover { color: var(--hg-green); }
.hg-menu a:hover::after, .hg-menu .current-menu-item > a::after { width: 100%; }
.hg-menu .current-menu-item > a { color: var(--hg-green); }

/* Ô tìm kiếm trên thanh điều hướng */
.hg-hsearch { display: flex; align-items: center; gap: 8px;
    border: 1px solid var(--hg-line); border-radius: var(--hg-r); padding: 7px 14px; }
.hg-hsearch svg { width: 16px; height: 16px; color: var(--hg-body); }
.hg-hsearch input {
    border: 0; outline: 0; background: none; width: 104px;
    font-family: var(--hg-font); font-size: 14px; color: var(--hg-ink);
}
.hg-hsearch input::placeholder { color: var(--hg-body); }
.hg-hsearch:focus-within { border-color: var(--hg-green); }

.hg-burger { display: none; background: none; border: 1px solid var(--hg-line);
    border-radius: 10px; padding: 11px; cursor: pointer; }
.hg-burger__box { display: grid; gap: 5px; width: 22px; }
.hg-burger__box i { display: block; height: 2px; background: var(--hg-green); border-radius: 2px; }

/* ---------- Ngăn kéo menu ---------- */
.hg-drawer { position: fixed; inset: 0; z-index: 60; }
.hg-drawer[hidden] { display: none; }
.hg-drawer::before { content: ''; position: absolute; inset: 0;
    background: rgba(11, 26, 20, .55); opacity: 0; transition: opacity .28s ease; }
.hg-drawer.is-open::before { opacity: 1; }
.hg-drawer__panel {
    position: absolute; inset-block: 0; right: 0; width: min(86vw, 350px);
    background: #fff; padding: 24px 22px 32px; overflow-y: auto;
    display: grid; align-content: start; gap: 20px;
    transform: translateX(100%); transition: transform .3s ease;
}
.hg-drawer.is-open .hg-drawer__panel { transform: none; }
.hg-drawer__x { justify-self: end; background: none; border: 1px solid var(--hg-line);
    border-radius: 10px; color: var(--hg-green); font-size: 24px; line-height: 1;
    width: 42px; height: 42px; cursor: pointer; }
.hg-drawer__menu { display: grid; }
.hg-drawer__menu a { display: block; padding: 14px 0;
    border-bottom: 1px solid var(--hg-line-2); color: var(--hg-ink);
    font-size: 17px; font-weight: 600; }
.hg-drawer__menu a:hover { color: var(--hg-green); }

/* ---------- Tiêu đề khối ---------- */
.hg-head { max-width: 760px; margin-bottom: clamp(34px, 3.6vw, 56px); }
.hg-head--center { margin-inline: auto; text-align: center; }
.hg-head__label {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
    padding: 7px 16px; border-radius: var(--hg-r);
    background: var(--hg-green-100); color: var(--hg-green);
    font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.hg-head__label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--hg-green); }
.hg-head__num { display: none; }   /* mẫu này không dùng số thứ tự lớn */
.hg-head__title { font-size: clamp(30px, 1.4rem + 2.3vw, 55px); line-height: 1.13; color: var(--hg-green); }
.hg-head__desc { margin: 18px 0 0; color: var(--hg-body); font-size: clamp(15.5px, 1rem + .1vw, 17px); }

.hg-empty { border: 1px dashed var(--hg-line); border-radius: var(--hg-rc);
    padding: 20px 22px; color: var(--hg-body); font-size: var(--hg-small); }

/* =====================================================================
   HERO — ảnh lớn phủ kín, hai thẻ xanh đè lên mép dưới
   ===================================================================== */
.hg-hero { position: relative; background: var(--hg-green); overflow: hidden; }
.hg-hero__bg { position: absolute; inset: 0; z-index: 0; }
.hg-hero__bg img, .hg-hero__bg .hg-art { width: 100%; height: 100%; object-fit: cover; }
.hg-hero__bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8, 30, 22, .82) 0%, rgba(8, 30, 22, .52) 52%, rgba(8, 30, 22, .30) 100%);
}
.hg-hero__grid { position: relative; z-index: 1;
    display: grid; gap: clamp(30px, 4vw, 56px);
    padding-block: clamp(60px, 7vw, 120px) clamp(28px, 3vw, 44px); }
.hg-hero__text { max-width: 820px; }
.hg-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px;
    padding: 8px 18px; border-radius: var(--hg-r);
    background: rgba(255, 255, 255, .14); color: #fff;
    font-size: 13.5px; font-weight: 600;
}
.hg-rule { display: block; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.hg-hero__title {
    color: #fff; font-weight: 600;
    font-size: clamp(36px, 1.5rem + 5.2vw, 100px);
    line-height: .92; letter-spacing: -.02em;
}
.hg-hero__desc { margin: 24px 0 32px; max-width: 58ch;
    color: rgba(255, 255, 255, .86); font-size: clamp(16px, 1rem + .2vw, 18.5px); }
.hg-hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }

/* Hai thẻ số liệu đè mép dưới hero */
.hg-hero__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 1.6vw, 24px); max-width: 620px; margin-left: auto; }
.hg-hcard {
    position: relative; border-radius: var(--hg-rc); padding: 22px 24px 24px;
    background: var(--hg-green); border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;   /* không để kế thừa màu chữ xám của nền sáng */
    display: flex; flex-direction: column; justify-content: flex-end;
}
.hg-hcard__lbl { display: block; margin-bottom: 26px; padding-right: 30px;
    color: rgba(255, 255, 255, .72); font-size: 12px;
    letter-spacing: .14em; text-transform: uppercase; }
.hg-hcard__num { display: block; color: #fff; font-size: clamp(30px, 1.6rem + 1.4vw, 44px);
    font-weight: 600; line-height: 1; margin-bottom: 8px; }
.hg-hcard__txt { margin: 0; color: rgba(255, 255, 255, .78); font-size: 14px; line-height: 1.5; }
.hg-hcard__go {
    position: absolute; top: 20px; right: 20px;
    width: 30px; height: 30px; display: grid; place-items: center;
    color: #fff; opacity: .8;
}
.hg-hcard__go svg { width: 18px; height: 18px; }

/* =====================================================================
   GIỚI THIỆU
   ===================================================================== */
.hg-ab__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(30px, 4.4vw, 70px); align-items: center; }
.hg-ab__media { position: relative; }
.hg-ab__img, .hg-ab__media .hg-art { width: 100%; height: auto; border-radius: var(--hg-rc); }
.hg-ab__lead { color: var(--hg-ink); font-size: clamp(17px, 1rem + .4vw, 20px);
    font-weight: 500; line-height: 1.6; margin-bottom: 16px; }
.hg-ab__body { color: var(--hg-body); margin-bottom: 26px; }

/* =====================================================================
   LĨNH VỰC — hàng ảnh–chữ xen kẽ
   ===================================================================== */
.hg-row { padding-block: clamp(26px, 3vw, 46px); }
.hg-row + .hg-row { border-top: 1px solid var(--hg-line-2); }
.hg-row__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(26px, 4vw, 64px); align-items: center; }
.hg-row--flip .hg-row__media { order: 2; }
.hg-row__media { position: relative; }
.hg-row__index {
    position: absolute; top: 16px; left: 16px; z-index: 2;
    display: grid; place-items: center; min-width: 46px; height: 34px; padding: 0 12px;
    border-radius: var(--hg-r); background: #fff; color: var(--hg-green);
    font-size: 14px; font-weight: 700;
}
.hg-row--flip .hg-row__index { left: 16px; right: auto; }
.hg-row__img { width: 100%; height: clamp(260px, 28vw, 380px);
    object-fit: cover; border-radius: var(--hg-rc); }
.hg-row__ico { display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--hg-green-100); color: var(--hg-green); margin-bottom: 18px; }
.hg-row__ico svg { width: 24px; height: 24px; }
.hg-row__title { font-size: clamp(22px, 1.2rem + .8vw, 32px); margin-bottom: 12px; }
.hg-row__desc { color: var(--hg-body); margin-bottom: 20px; }
.hg-row__list { display: grid; gap: 10px; }
.hg-row__list li { display: flex; align-items: flex-start; gap: 11px;
    color: var(--hg-ink); font-size: var(--hg-small); }
.hg-row__list svg { width: 17px; height: 17px; color: var(--hg-green); margin-top: 4px; }

/* =====================================================================
   QUY TRÌNH — dải kem, số thứ tự dạng 01. như mẫu
   ===================================================================== */
.hg-pc { background: var(--hg-cream); }
.hg-pc__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.2vw, 32px); }
.hg-pc__step { background: #fff; border-radius: var(--hg-rc); padding: 28px 24px 30px; }
.hg-pc__step::before, .hg-pc__step::after { content: none; }
.hg-pc__num { display: block; margin-bottom: 14px; color: var(--hg-green);
    font-size: 15px; font-weight: 700; letter-spacing: .04em; text-align: left; }
.hg-pc__num::after { content: '.'; }
.hg-pc__title { font-size: clamp(18px, 1rem + .5vw, 22px); margin-bottom: 10px; text-align: left; }
.hg-pc__desc { color: var(--hg-body); font-size: var(--hg-small); margin: 0; text-align: left; }

/* =====================================================================
   DỰ ÁN
   ===================================================================== */
.hg-pj__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.2vw, 30px); }
.hg-pj__item { position: relative; border-radius: var(--hg-rc); overflow: hidden;
    background: var(--hg-cream); }
.hg-pj__media { position: relative; overflow: hidden; }
.hg-pj__img, .hg-pj__media .hg-art { width: 100%; height: clamp(230px, 24vw, 300px);
    object-fit: cover; transition: transform .5s cubic-bezier(.22, .61, .36, 1); }
.hg-pj__item:hover .hg-pj__img { transform: scale(1.04); }
.hg-pj__body { padding: 22px 24px 26px; }
.hg-pj__cat { display: inline-block; margin-bottom: 12px; padding: 5px 14px;
    border-radius: var(--hg-r); background: var(--hg-green-100); color: var(--hg-green);
    font-size: 12.5px; font-weight: 600; }
.hg-pj__title { font-size: clamp(18px, 1rem + .5vw, 22px); margin-bottom: 10px; }
.hg-pj__desc { color: var(--hg-body); font-size: var(--hg-small); margin: 0; }

/* =====================================================================
   NGUYÊN TẮC
   ===================================================================== */
.hg-pr { background: var(--hg-white); }
.hg-pr__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.2vw, 32px); }
.hg-pr__item { background: var(--hg-cream); border-radius: var(--hg-rc);
    padding: 32px 28px 34px; text-align: left; }
.hg-pr__item + .hg-pr__item { border-left: 0; }
.hg-pr__ico { display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 16px;
    background: var(--hg-green); color: #fff; margin-bottom: 20px; transform: none; }
.hg-pr__ico svg { width: 24px; height: 24px; transform: none; }
.hg-pr__title { font-size: clamp(19px, 1.05rem + .5vw, 24px); margin-bottom: 10px; }
.hg-pr__desc { color: var(--hg-body); font-size: var(--hg-small); margin: 0; }

/* =====================================================================
   SỐ LIỆU — dải xanh đặc
   ===================================================================== */
.hg-stats { padding-block: var(--hg-pad); background: var(--hg-green); }
.hg-stats .hg-head__title, .hg-stats .hg-head__desc { color: #fff; }
.hg-stats .hg-head__label { background: rgba(255, 255, 255, .14); color: #fff; }
.hg-stats .hg-head__label::before { background: #fff; }
.hg-stats__grid { display: flex; flex-wrap: wrap; justify-content: center; }
.hg-stat { flex: 1 1 0; min-width: 0; padding: 6px clamp(16px, 2.2vw, 32px); text-align: center; }
.hg-stat + .hg-stat { border-left: 1px solid rgba(255, 255, 255, .18); }
.hg-stat__num { display: block; font-size: clamp(34px, 2rem + 2.2vw, 75px);
    font-weight: 600; line-height: 1; color: #fff; }
.hg-stat__lbl { display: block; margin-top: 12px; color: rgba(255, 255, 255, .78); font-size: var(--hg-small); }

/* =====================================================================
   CHỨNG THỰC
   ===================================================================== */
.hg-q { background: var(--hg-cream); }
.hg-q__box { position: relative; max-width: 900px; margin-inline: auto; text-align: center; }
.hg-q__mark { display: inline-flex; color: var(--hg-green); opacity: .5; margin-bottom: 12px; }
.hg-q__mark svg { width: 36px; height: 36px; }
.hg-q__item { margin: 0; }
.hg-q__text p { font-size: clamp(19px, 1.1rem + .9vw, 30px); font-weight: 500;
    line-height: 1.45; color: var(--hg-green); margin: 0; }
.hg-q__who { margin-top: 20px; color: var(--hg-body); font-size: 14px; font-weight: 600; }
.hg-q__dots { display: flex; justify-content: center; gap: 9px; margin-top: 28px; }
.hg-q__dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0;
    cursor: pointer; background: var(--hg-line); transition: background-color .24s ease; }
.hg-q__dot.is-on, .hg-q__dot:hover { background: var(--hg-green); }
.hg-q__note { margin: 26px 0 0; text-align: center; color: var(--hg-body); font-size: 13.5px; }

/* =====================================================================
   HỎI ĐÁP
   ===================================================================== */
.hg-fq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.2vw, 32px); }
.hg-fq__col { display: grid; align-content: start; gap: 14px; }
.hg-fq__item { background: var(--hg-cream); border-radius: var(--hg-rc); overflow: hidden; }
.hg-fq__q { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
    padding: 20px 24px; cursor: pointer; list-style: none;
    font-size: var(--hg-small); font-weight: 600; color: var(--hg-green); }
.hg-fq__q::-webkit-details-marker { display: none; }
.hg-fq__q svg { width: 18px; height: 18px; flex: none; color: var(--hg-green);
    margin-top: 3px; transition: transform .25s ease; }
.hg-fq__item[open] .hg-fq__q svg { transform: rotate(180deg); }
.hg-fq__a { padding: 0 24px 22px; }
.hg-fq__a p { margin: 0; color: var(--hg-body); font-size: var(--hg-small); }

/* =====================================================================
   TIN TỨC
   ===================================================================== */
.hg-news__list { display: grid; gap: 14px; }
.hg-news__item { border: 0; }
.hg-news__link {
    display: grid; grid-template-columns: 150px 110px minmax(0, 1fr) auto;
    gap: clamp(14px, 2vw, 30px); align-items: center;
    padding: 14px; border-radius: var(--hg-rc); background: var(--hg-cream);
    color: inherit; transition: background-color .24s ease;
}
.hg-news__link:hover { background: var(--hg-green-100); color: inherit; padding-left: 14px; }
.hg-news__thumb { width: 150px; flex: none; border: 0; border-radius: 12px; overflow: hidden; }
.hg-news__thumb img { width: 100%; height: 100px; object-fit: cover; }
.hg-news__date { color: var(--hg-green); font-size: 13.5px; font-weight: 600; }
.hg-news__title { font-size: clamp(17px, 1rem + .4vw, 21px); margin: 0 0 6px; }
.hg-news__ex { color: var(--hg-body); font-size: var(--hg-small); margin: 0; }
.hg-news__go { color: var(--hg-green); display: inline-flex; }
.hg-news__link--img { grid-template-columns: 150px 110px minmax(0, 1fr) auto; }

/* =====================================================================
   DẢI KÊU GỌI HÀNH ĐỘNG
   ===================================================================== */
.hg-cta { padding-block: clamp(42px, 4.6vw, 72px); background: var(--hg-green); border: 0; }
.hg-cta__in { display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: clamp(22px, 3vw, 50px); }
.hg-cta__title { color: #fff; font-size: clamp(24px, 1.3rem + 1.6vw, 42px); max-width: 20ch; }
.hg-cta__desc { margin: 14px 0 0; max-width: 54ch; color: rgba(255, 255, 255, .8); }
.hg-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hg-cta .hg-btn--gold { background: #fff; color: var(--hg-green); border-color: #fff; }
.hg-cta .hg-btn--gold:hover { background: var(--hg-cream); color: var(--hg-green); border-color: var(--hg-cream); }

/* =====================================================================
   LIÊN HỆ
   ===================================================================== */
.hg-ct { background: var(--hg-cream); border: 0; }
.hg-ct__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: clamp(30px, 4.4vw, 70px); align-items: start; }
.hg-ct__art { margin: 4px 0 28px; }
.hg-art--desk { width: 100%; height: auto; }
.hg-ct__info { display: grid; gap: 14px; }
.hg-ct__info li { display: flex; align-items: flex-start; gap: 13px;
    color: var(--hg-body); font-size: var(--hg-small); }
.hg-ct__info svg { width: 18px; height: 18px; color: var(--hg-green); margin-top: 4px; }
.hg-ct__info a { color: var(--hg-ink); }
.hg-ct__info a:hover { color: var(--hg-green); }

.hg-form { background: #fff; border: 0; border-radius: var(--hg-rc); padding: clamp(24px, 3vw, 38px); }
.hg-form__ok, .hg-form__err { display: flex; align-items: center; gap: 10px; margin: 0 0 18px;
    padding: 13px 16px; border-radius: 12px; font-size: var(--hg-small); }
.hg-form__ok { background: var(--hg-green-100); color: var(--hg-green); border: 0; }
.hg-form__err { background: rgba(198, 40, 40, .08); color: #B02B2B; border: 0; }
.hg-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.hg-field { display: grid; gap: 7px; margin: 0 0 16px; }
.hg-field label { font-size: 13.5px; font-weight: 600; color: var(--hg-ink); text-transform: none; letter-spacing: normal; }
.hg-req { color: var(--hg-green); }
.hg-field input, .hg-field textarea {
    width: 100%; padding: 14px 16px; border-radius: 12px;
    background: var(--hg-cream); color: var(--hg-ink);
    border: 1px solid transparent;
    font-family: var(--hg-font); font-size: 16px; line-height: 1.6;
    transition: border-color .2s ease, background-color .2s ease;
}
.hg-field input:focus, .hg-field textarea:focus { outline: none; background: #fff; border-color: var(--hg-green); }
.hg-field textarea { resize: vertical; min-height: 110px; }
.hg-form__note { margin: 14px 0 0; color: var(--hg-body); font-size: 13px; }

.hg-quick { display: none; background: #fff; border: 0; border-radius: var(--hg-rc); padding: 24px; }
.hg-quick__t { margin: 0 0 16px; font-size: 19px; font-weight: 600; color: var(--hg-green); }
.hg-quick .hg-btn + .hg-btn { margin-top: 12px; }
.hg-quick__h { display: flex; align-items: center; gap: 9px; margin: 16px 0 0;
    color: var(--hg-body); font-size: var(--hg-small); }
.hg-quick__h svg { width: 17px; height: 17px; color: var(--hg-green); }

/* ---------- Ghi chú quản trị ---------- */
.hg-note { background: var(--hg-green-100); border-bottom: 1px solid var(--hg-line); padding: 16px 0; }
.hg-note__t { display: flex; align-items: center; gap: 9px; margin: 0 0 10px;
    color: var(--hg-green); font-weight: 700; font-size: var(--hg-small); }
.hg-note ul { display: grid; gap: 6px; }
.hg-note li { color: var(--hg-body); font-size: 14px; padding-left: 16px; position: relative; }
.hg-note li::before { content: ''; position: absolute; left: 0; top: 10px;
    width: 6px; height: 6px; border-radius: 50%; background: var(--hg-green); }

/* ---------- Chân trang ---------- */
.hg-footer { background: var(--hg-green); border: 0; color: rgba(255, 255, 255, .8); }
.hg-footer .hg-logo, .hg-footer .hg-logo__name { color: #fff; }
.hg-footer .hg-logo__tag { color: rgba(255, 255, 255, .65); }
.hg-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr;
    gap: clamp(24px, 3vw, 50px); padding-block: clamp(46px, 5vw, 74px); }
.hg-footer__h { font-size: 12px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.hg-footer__about { color: rgba(255, 255, 255, .72); font-size: var(--hg-small); margin: 16px 0 0; }
.hg-footer__list { display: grid; gap: 11px; }
.hg-footer__list a { color: rgba(255, 255, 255, .78); font-size: var(--hg-small); }
.hg-footer__list a:hover { color: #fff; }
.hg-footer__list--info li { display: flex; align-items: flex-start; gap: 11px;
    color: rgba(255, 255, 255, .78); font-size: var(--hg-small); }
.hg-footer__list--info svg { width: 17px; height: 17px; color: #fff; margin-top: 4px; }
.hg-footer__ext { display: inline-flex; align-items: center; gap: 8px;
    color: #fff; font-size: var(--hg-small); font-weight: 600; }
.hg-footer__ext svg { width: 16px; height: 16px; }

.hg-footer__note { border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .10); }
.hg-footer__note p { display: flex; align-items: flex-start; gap: 11px; margin: 0;
    padding-block: 18px; color: rgba(255, 255, 255, .74); font-size: 13.5px; }
.hg-footer__note svg { width: 17px; height: 17px; color: #fff; margin-top: 3px; }
.hg-footer__bar { border-top: 1px solid rgba(255, 255, 255, .14); }
.hg-footer__bar-in { display: flex; flex-wrap: wrap; gap: 10px 26px;
    justify-content: space-between; padding-block: 18px; }
.hg-footer__bar p { margin: 0; color: rgba(255, 255, 255, .62); font-size: 13.5px; }
.hg-footer__bar a { color: #fff; }

/* ---------- Nút lên đầu trang ---------- */
.hg-top { position: fixed; right: 22px; bottom: 96px; z-index: 35;
    width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
    background: var(--hg-green); border: 0; color: #fff; cursor: pointer;
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease, background-color .2s ease; }
.hg-top.is-on { opacity: 1; visibility: visible; }
.hg-top:hover { background: var(--hg-green-700); }
.hg-top svg { transform: rotate(180deg); }

/* =====================================================================
   TRANG CON
   ===================================================================== */
.hg-ph { padding-block: clamp(40px, 4.4vw, 76px) clamp(28px, 3vw, 48px); background: var(--hg-cream); }
.hg-crumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 16px;
    font-size: 13.5px; color: var(--hg-body); }
.hg-crumb a { color: var(--hg-body); }
.hg-crumb a:hover { color: var(--hg-green); }
.hg-ph__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
    padding: 7px 16px; border-radius: var(--hg-r);
    background: var(--hg-green-100); color: var(--hg-green); font-size: 13px; font-weight: 600; }
.hg-ph__title { font-size: clamp(28px, 1.4rem + 2vw, 52px); max-width: 20ch; }
.hg-ph__desc { margin: 16px 0 0; max-width: 62ch; color: var(--hg-body); }

.hg-prose { max-width: 780px; }
.hg-prose__cover { width: 100%; height: auto; border: 0; border-radius: var(--hg-rc); margin-bottom: 32px; }
.hg-prose p { color: var(--hg-body); }
.hg-prose h2 { font-size: clamp(23px, 1.25rem + 1vw, 34px); margin: 40px 0 14px; }
.hg-prose h3 { font-size: clamp(19px, 1.05rem + .6vw, 26px); margin: 30px 0 12px; }
.hg-prose ul, .hg-prose ol { margin: 0 0 1.2em; padding-left: 0; }
.hg-prose li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--hg-body); }
.hg-prose ul > li::before { content: ''; position: absolute; left: 2px; top: 11px;
    width: 8px; height: 8px; border-radius: 50%; background: var(--hg-green); }
.hg-prose ol { counter-reset: hgp; }
.hg-prose ol > li { counter-increment: hgp; }
.hg-prose ol > li::before { content: counter(hgp) '.'; position: absolute; left: 0; top: 0;
    color: var(--hg-green); font-weight: 700; font-size: 15px; }
.hg-prose blockquote { margin: 30px 0; padding: 24px 26px; border-left: 3px solid var(--hg-green);
    border-radius: 0 var(--hg-rc) var(--hg-rc) 0; background: var(--hg-cream);
    font-size: clamp(17px, 1rem + .4vw, 21px); line-height: 1.55; }
.hg-prose blockquote p { color: var(--hg-green); margin: 0; font-weight: 500; }
.hg-prose img { border: 0; border-radius: var(--hg-rc); margin-block: 24px; }
.hg-prose a { text-decoration: underline; text-underline-offset: 3px; }

.hg-single__foot { display: flex; flex-wrap: wrap; gap: 12px;
    margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--hg-line-2); }

.hg-pag { margin-top: 42px; }
.hg-pag .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.hg-pag .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px;
    padding: 0 12px; border-radius: 12px; background: var(--hg-cream);
    color: var(--hg-green); font-size: var(--hg-small); font-weight: 600; }
.hg-pag .page-numbers:hover { background: var(--hg-green-100); }
.hg-pag .page-numbers.current { background: var(--hg-green); color: #fff; }

.hg-main .search-form { display: flex; gap: 10px; margin: 24px 0; flex-wrap: wrap; }
.hg-main .search-form label { flex: 1 1 240px; }
.hg-main .search-field { width: 100%; padding: 14px 16px; border-radius: 12px;
    background: var(--hg-cream); color: var(--hg-ink); border: 1px solid transparent; font-size: 16px; }
.hg-main .search-field:focus { outline: none; background: #fff; border-color: var(--hg-green); }
.hg-main .search-submit { padding: 14px 28px; border-radius: var(--hg-r);
    background: var(--hg-green); color: #fff; border: 0; font-weight: 600;
    cursor: pointer; font-size: var(--hg-small); font-family: var(--hg-font); }

/* =====================================================================
   XỬ LÝ ẢNH — nền sáng nên chỉ chỉnh rất nhẹ, không phủ màu như bản tối
   ===================================================================== */
.hg-row__img, .hg-ab__img, .hg-pj__img, .hg-news__thumb img, .hg-prose__cover {
    filter: saturate(1.02) contrast(1.02);
}

/* =====================================================================
   HIỆU ỨNG — chỉ opacity và transform nên không gây tính lại bố cục,
   không đẩy CLS và không ảnh hưởng SEO.
   ===================================================================== */
.hg-reveal { opacity: 0; transform: translateY(16px); }
.hg-reveal.is-in { opacity: 1; transform: none;
    transition: opacity .55s ease, transform .55s cubic-bezier(.22, .61, .36, 1); }
.hg-reveal.is-in:nth-child(2) { transition-delay: .07s; }
.hg-reveal.is-in:nth-child(3) { transition-delay: .14s; }
.hg-reveal.is-in:nth-child(4) { transition-delay: .21s; }
.no-js .hg-reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .hg-reveal { opacity: 1 !important; transform: none !important; }
    .hg, .hg * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* =====================================================================
   MÀN HÌNH NHỎ
   ===================================================================== */
@media (max-width: 1180px) {
    .hg-hsearch { display: none; }
}
@media (max-width: 1060px) {
    .hg-header__cta { display: none; }
    .hg-pc__grid { grid-template-columns: repeat(2, 1fr); }
    .hg-pj__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
    .hg-topbar__set:last-child { display: none; }
    .hg-nav { display: none; }
    .hg-burger { display: inline-flex; }

    .hg-hero__cards { max-width: none; margin-left: 0; }
    .hg-ab__grid { grid-template-columns: 1fr; }
    .hg-ab__media { order: 2; max-width: 520px; margin-inline: auto; }
    .hg-row__grid { grid-template-columns: 1fr; gap: 24px; }
    .hg-row--flip .hg-row__media { order: 0; }
    .hg-pr__grid { grid-template-columns: 1fr; }
    .hg-fq__grid { grid-template-columns: 1fr; }
    .hg-ct__grid { grid-template-columns: 1fr; }

    /* Biểu mẫu tắt trên điện thoại — thay bằng khối gọi nhanh */
    .hg-form { display: none; }
    .hg-quick { display: block; }

    .hg-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .hg-stat { flex-basis: 50%; padding-block: 20px; }
    .hg-stat:nth-child(odd) { border-left: 0; }
    .hg-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .18); }
    .hg-news__link, .hg-news__link--img { grid-template-columns: 1fr auto; gap: 10px 16px; }
    .hg-news__thumb { display: none; }
    .hg-news__date { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
    .hg-hero__cards { grid-template-columns: 1fr; }
    .hg-pc__grid { grid-template-columns: 1fr; }
    .hg-pj__grid { grid-template-columns: 1fr; }
    .hg-cta__in { flex-direction: column; align-items: flex-start; }
    .hg-cta__btns .hg-btn { width: 100%; }
}
@media (max-width: 560px) {
    .hg-footer__grid { grid-template-columns: 1fr; }
    .hg-stat { flex-basis: 100%; border-left: 0; }
    .hg-stat + .hg-stat { border-top: 1px solid rgba(255, 255, 255, .18); }
    .hg-hero__btns .hg-btn { width: 100%; }
    .hg-top { right: 14px; bottom: 84px; }
}
