/*
Theme Name: Giấy Vệ Sinh Nghệ An
Theme URI: https://giayvesinhnghean.com/
Author: Giấy Vệ Sinh Nghệ An
Description: Theme viết tay cho giayvesinhnghean.com: giấy vệ sinh công nghiệp cuộn lớn, nhận báo giá qua form, gọi, Zalo. Dữ liệu gom trong inc/data.php + inc/data-trang.php, mục lục tự động, một khối JSON-LD mỗi trang, không page builder, không jQuery.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: giay-ve-sinh-nghe-an
*/

/* ==========================================================================
   1. Tokens — màu theo logo (xanh lá đậm + xanh lá non), bố cục học từ mẫu
   ========================================================================== */
:root {
	--c-primary: #155C25;
	--c-primary-dark: #0F4A1C;
	--c-accent: #8FBD1D;
	--c-accent-dark: #5F8A0F;
	--c-bg: #ffffff;
	--c-bg-alt: #F4F8F1;
	--c-bg-soft: #E8F2DF;
	--c-bg-dark: #0B2913;
	--c-text: #14231A;
	--c-text-muted: #4B5B50;
	--c-text-invert: #ffffff;
	--c-border: #DCE6D6;
	--c-mark: #FFF1A8;

	--f-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-heading: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

	--fs-sm: 0.875rem;
	--fs-base: 1rem;
	--fs-lg: 1.125rem;
	--fs-h3: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
	--fs-h2: clamp(1.6rem, 1.25rem + 1.4vw, 2.2rem);
	--fs-h1: clamp(2.25rem, 1.5rem + 3vw, 3.8rem);
	--fs-h1-page: clamp(1.85rem, 1.4rem + 1.9vw, 2.75rem);

	--radius: 12px;
	--radius-lg: 20px;
	--radius-sm: 8px;
	--radius-pill: 999px;
	--shadow: 0 10px 25px rgba(11, 41, 19, 0.07);
	--shadow-sm: 0 4px 6px rgba(11, 41, 19, 0.04);

	--space-section: clamp(3.5rem, 2.5rem + 4vw, 6rem);
	--container: 1200px;
	--gutter: 16px;
	--header-h: 72px;
}

/* ==========================================================================
   2. Nền tảng
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: var(--fs-base); line-height: 1.65; color: var(--c-text); background: var(--c-bg); overflow-x: hidden; }
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-primary-dark); }
h1, h2, h3, h4 { font-family: var(--f-heading); line-height: 1.22; margin: 0 0 0.6em; color: inherit; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
input, select, textarea, button { font: inherit; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 8px 16px; background: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-bg-dark); color: var(--c-text-invert); }
.section__head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.section__head h2 { text-transform: uppercase; }
.section__eyebrow { display: inline-block; margin-bottom: 0.6rem; font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-accent-dark); }
.section--dark .section__eyebrow { color: var(--c-accent); }
.section__lead { color: var(--c-text-muted); font-size: var(--fs-lg); }
.section--dark .section__lead { color: rgba(255, 255, 255, 0.82); }
.center-cta { margin: 2.25rem 0 0; text-align: center; }

/* Chỗ đang chờ tư liệu thật — tô nổi để chủ web thấy ngay. */
mark.can-thay { padding: 0.05em 0.35em; border-radius: 4px; background: var(--c-mark); color: #5a4300; font-weight: 600; white-space: nowrap; }

/* ==========================================================================
   3. Nút
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border: 2px solid transparent; border-radius: var(--radius-sm); font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--lg { min-height: 54px; padding-inline: 28px; letter-spacing: 0.02em; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn--primary { background: var(--c-primary); color: var(--c-text-invert); }
.btn--primary:hover { background: var(--c-primary-dark); color: var(--c-text-invert); box-shadow: 0 8px 18px rgba(21, 92, 37, 0.25); }
.btn--accent { background: var(--c-accent); color: var(--c-bg-dark); }
.btn--accent:hover { color: var(--c-bg-dark); filter: brightness(1.05); box-shadow: 0 8px 18px rgba(143, 189, 29, 0.35); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost-dark { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn--ghost-dark:hover { background: var(--c-primary); color: #fff; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-group--stack { flex-direction: column; align-items: stretch; }

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--c-bg); border-bottom: 1px solid var(--c-border); transition: box-shadow 0.2s; }
.site-header.is-scrolled { box-shadow: var(--shadow); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--c-text); text-decoration: none; }
.site-header .brand { flex: 0 1 auto; }
.brand__logo { width: auto; height: 50px; }
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.brand__name { font-weight: 800; font-size: 1.05rem; color: var(--c-primary); white-space: nowrap; }
.brand__tag { font-size: 0.75rem; color: var(--c-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 24px; height: 2px; background: var(--c-text); position: relative; transition: transform 0.2s; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }
.primary-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--c-bg); padding: 12px var(--gutter) 96px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform 0.25s, visibility 0.25s; }
.nav-open .primary-nav { transform: none; visibility: visible; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a { display: block; padding: 12px 0; color: var(--c-text); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--c-border); }
.primary-nav .sub-menu a { padding-left: 16px; font-weight: 400; }
.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav .current-page-ancestor > a, .primary-nav a:hover { color: var(--c-primary); }
.header-cta { display: none; white-space: nowrap; }

/* ==========================================================================
   5. Ảnh lớn đầu trang (trang chủ)
   ========================================================================== */
.hero { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: min(86vh, 760px); padding-block: 72px 96px; color: var(--c-text-invert); background: var(--c-bg-dark); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero__inner { display: grid; gap: 40px; align-items: center; }
.hero__inset { display: none; margin: 0; }
.hero__inset img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border: 4px solid rgba(255, 255, 255, 0.85); border-radius: var(--radius-lg); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35); }
.hero__inset figcaption { margin-top: 10px; font-size: var(--fs-sm); font-weight: 600; color: rgba(255, 255, 255, 0.9); text-align: center; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 26, 12, 0.9) 0%, rgba(7, 26, 12, 0.62) 50%, rgba(7, 26, 12, 0.2) 100%); }
.hero--no-image { background: radial-gradient(circle at 78% 30%, rgba(143, 189, 29, 0.28), transparent 45%), linear-gradient(135deg, #0B2913 0%, #155C25 62%, #2F7A2A 100%); }
.hero--no-image::after { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 22px); }
.hero__content { max-width: 760px; }
.hero__eyebrow { display: inline-block; margin-bottom: 1.25rem; padding-bottom: 0.75rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; background: linear-gradient(var(--c-accent), var(--c-accent)) left bottom / 48px 3px no-repeat; }
.hero h1 { margin-bottom: 0.5em; font-weight: 800; }
.hero__lead { max-width: 640px; margin-bottom: 2rem; font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.15rem); opacity: 0.92; }
.hero .btn--ghost { color: #fff; }
.hero__note { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 18px; margin: 0; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.85); }

/* ==========================================================================
   6. Logo khách hàng
   ========================================================================== */
.partners__title { margin-bottom: 1.75rem; text-align: center; text-transform: uppercase; font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem); }
.partners__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.partners__item { display: grid; place-items: center; min-height: 88px; padding: 12px; border-radius: var(--radius); }
.partners__item img { max-height: 64px; width: auto; filter: grayscale(1); opacity: 0.8; transition: 0.2s; }
.partners__item:hover img { filter: none; opacity: 1; }
.partners__item--empty { border: 1px dashed #cbd8c3; background: var(--c-bg-alt); font-size: var(--fs-sm); text-align: center; color: var(--c-text-muted); }

/* ==========================================================================
   7. Giới thiệu + viên số liệu
   ========================================================================== */
.intro-stats { background: linear-gradient(120deg, #F1F8EA 0%, #E6F2DA 55%, #F4F8F1 100%); }
.intro-stats__grid { display: grid; gap: 40px; align-items: center; }
.pill { display: inline-block; margin-bottom: 1rem; padding: 7px 22px; border: 1px solid var(--c-primary); border-radius: var(--radius-pill); color: var(--c-primary); font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; background: rgba(255, 255, 255, 0.6); }
.intro-stats__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); text-transform: uppercase; text-wrap: balance; }
.intro-stats__title span { display: block; color: var(--c-primary); }
.intro-stats__lead { max-width: 600px; margin-bottom: 1.5rem; color: var(--c-text-muted); font-size: var(--fs-lg); }
.mini-features { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.mini-features li { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.85); font-weight: 600; font-size: var(--fs-sm); }
.mini-features .icon { color: var(--c-primary); }
.stat-pills { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.stat-pill { display: flex; align-items: center; gap: 16px; padding: 16px 24px 16px 18px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.92); box-shadow: var(--shadow); }
.stat-pill__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--c-bg-soft); color: var(--c-primary); }
.stat-pill__body { display: flex; flex-direction: column; }
.stat-pill__num { font-size: 1.5rem; font-weight: 800; color: var(--c-primary); line-height: 1.2; }
.stat-pill__num mark.can-thay { font-size: 0.95rem; }
.stat-pill__label { font-size: var(--fs-sm); font-weight: 600; text-transform: uppercase; color: var(--c-text-muted); }

/* ==========================================================================
   8. Thẻ, lưới thẻ, tiêu đề chia đôi
   ========================================================================== */
.split-head { display: grid; gap: 12px; align-items: end; margin-bottom: 2.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--c-border); }
.split-head h2 { margin: 0; text-transform: uppercase; }
.split-head p { margin: 0; color: var(--c-text-muted); }
.card-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.card { display: flex; flex-direction: column; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { display: block; aspect-ratio: 4 / 3; background: var(--c-bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--empty { display: grid; place-items: center; color: #b7c9ad; }
.card__media--empty .icon { width: 72px; height: 72px; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.card__tag { align-self: flex-start; margin-bottom: 8px; padding: 2px 10px; border-radius: var(--radius-pill); background: var(--c-bg-soft); color: var(--c-primary); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.card__title { margin-bottom: 0.45em; font-size: 1.08rem; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { color: var(--c-primary); }
.card__text { color: var(--c-text-muted); font-size: 0.95rem; }
.card__price { margin: auto 0 0; font-weight: 800; color: var(--c-primary); }
.card__meta { margin-top: auto; font-size: var(--fs-sm); color: var(--c-text-muted); }
.link-card { position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c4d8b6; }
.link-card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 14px; background: var(--c-primary); color: #fff; }
.link-card__icon .icon { width: 26px; height: 26px; }
.link-card__title { margin-bottom: 0.4em; font-size: 1.1rem; }
.link-card__title a { color: inherit; text-decoration: none; }
.link-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.link-card__text { color: var(--c-text-muted); font-size: 0.95rem; text-align: left; }
.link-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: var(--fs-sm); font-weight: 700; color: var(--c-primary); }
.link-card__more .icon { width: 16px; height: 16px; }
.entry .card-grid { margin: 1.5rem 0 2rem; }

/* ==========================================================================
   9. Lưới ảnh kho + xe (2 + 1)
   ========================================================================== */
.showcase { display: grid; gap: 24px; }
.showcase__item { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; padding: 32px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; background: var(--c-bg-dark); isolation: isolate; box-shadow: var(--shadow); }
.showcase__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.showcase__item:hover .showcase__bg { transform: scale(1.04); }
.showcase__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 26, 12, 0) 20%, rgba(7, 26, 12, 0.85) 100%); }
.showcase__item--empty { background: linear-gradient(140deg, #155C25, #0B2913); }
.showcase__item--empty::after { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 20px); }
.showcase__label { margin-bottom: 0.5rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-accent); }
.showcase__title { margin-bottom: 0.35em; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem); text-transform: uppercase; }
.showcase__body p { margin: 0; max-width: 620px; color: rgba(255, 255, 255, 0.85); }
.showcase__note { position: absolute; top: 18px; left: 24px; right: 24px; margin: 0; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.85); }

/* ==========================================================================
   10. Quy trình 01–04
   ========================================================================== */
.steps-row { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.steps-row__item { position: relative; padding: 26px 24px; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius); }
.steps-row__num { display: block; margin-bottom: 10px; font-size: 2.25rem; font-weight: 800; line-height: 1; color: var(--c-accent); }
.steps-row__title { margin-bottom: 0.35em; font-size: 1.1rem; }
.steps-row__item p { margin: 0; color: var(--c-text-muted); font-size: 0.95rem; }

/* ==========================================================================
   11. Form báo giá
   ========================================================================== */
.form-band__inner { display: grid; gap: 40px; align-items: start; }
.form-band h2 { text-transform: uppercase; }
.tick-list { display: grid; gap: 10px; margin: 1.25rem 0 1.75rem; padding: 0; list-style: none; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list .icon { margin-top: 2px; color: var(--c-accent); }
.form-band .btn--ghost { color: #fff; }
.form { display: grid; gap: 16px; padding: 24px; background: var(--c-bg); color: var(--c-text); border-radius: var(--radius); box-shadow: var(--shadow); }
.form__row { display: grid; gap: 16px; }
.form label { display: block; margin-bottom: 4px; font-weight: 600; font-size: var(--fs-sm); }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: #fff; color: var(--c-text); }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--c-primary); outline: none; box-shadow: 0 0 0 3px rgba(21, 92, 37, 0.15); }
.form__hp { position: absolute; left: -9999px; }
.form__note { margin: 0; font-size: var(--fs-sm); color: var(--c-text-muted); }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); }
.notice--ok { background: #e8f6ec; color: #1d6b35; }
.notice--err { background: #fdecec; color: #9b1c1c; }

/* ==========================================================================
   12. Trang nội dung: đầu trang, bố cục 2 cột, mục lục, bảng, FAQ
   ========================================================================== */
.page-hero { padding-block: 40px 44px; background: var(--c-bg-alt); border-bottom: 1px solid var(--c-border); }
.page-hero h1 { max-width: 900px; margin-bottom: 0.4em; font-size: var(--fs-h1-page); color: var(--c-text); }
.page-hero--landing { background: linear-gradient(120deg, #F1F8EA 0%, #E6F2DA 60%, #F4F8F1 100%); }
.page-hero__lead { max-width: 820px; margin-bottom: 1.25rem; font-size: var(--fs-lg); color: var(--c-text-muted); }
.page-hero__actions .btn--ghost { color: var(--c-primary); }
.post-meta { margin: 0; color: var(--c-text-muted); font-size: var(--fs-sm); }
.breadcrumb { margin-bottom: 12px; font-size: var(--fs-sm); color: var(--c-text-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #9aab92; }
.breadcrumb a { color: inherit; }

.layout { display: grid; gap: 40px; }
.entry { max-width: 780px; margin-inline: auto; }
.entry--main { width: 100%; max-width: none; margin: 0; min-width: 0; }
.entry--intro { margin-bottom: 2.5rem; }
.entry p, .entry li { text-align: justify; text-align-last: left; }
.entry td p, .entry th p, .entry figcaption, .entry .link-card__text, .entry .post-list__item, .entry .faq__q { text-align: left; }
.entry img { border-radius: var(--radius-sm); }
.entry__cover { width: 100%; margin-bottom: 1.5rem; }
.entry h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); }
.entry h3 { margin-top: 1.4em; }
.entry h2:first-child { margin-top: 0; }
.entry blockquote { margin: 1.5em 0; padding: 12px 20px; border-left: 4px solid var(--c-accent); background: var(--c-bg-alt); }
.entry .note-box { margin: 1.5em 0; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--c-bg-soft); }
.entry .note-box p:last-child { margin-bottom: 0; }

.toc { margin: 1.5rem 0 2rem; border: 1px solid var(--c-border); border-left: 4px solid var(--c-primary); border-radius: var(--radius-sm); background: var(--c-bg-alt); }
.toc__title { padding: 14px 20px; font-weight: 800; cursor: pointer; list-style: none; }
.toc__title::-webkit-details-marker { display: none; }
.toc__title::after { content: "–"; float: right; color: var(--c-primary); }
.toc details:not([open]) .toc__title::after { content: "+"; }
.toc__list { margin: 0; padding: 0 20px 16px 40px; }
.toc__list li { margin: 4px 0; text-align: left; }
.toc__list ol { margin: 4px 0; padding-left: 20px; list-style: lower-alpha; }
.toc a { color: var(--c-text); text-decoration: none; }
.toc a:hover { color: var(--c-primary); text-decoration: underline; }

.table-wrap { margin: 1.25rem 0 1.75rem; overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--radius-sm); }
.entry table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.entry th, .entry td { padding: 10px 14px; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.entry thead th { background: var(--c-primary); color: #fff; white-space: nowrap; }
.entry tbody tr:last-child th, .entry tbody tr:last-child td { border-bottom: 0; }
.info-table th { width: 42%; background: var(--c-bg-alt); font-weight: 600; }
.placeholder-box { margin: 1.25rem 0; padding: 18px 20px; border: 1px dashed #cbd8c3; border-radius: var(--radius-sm); background: var(--c-bg-alt); }
.placeholder-box p { margin: 0; }

.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); margin: 1.25rem 0 2rem; }
.gallery a { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-sm); background: var(--c-bg-alt); }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 0.3s; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.9); }
.lightbox img { max-height: 90vh; width: auto; }
.lightbox__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; font-size: 1.5rem; cursor: pointer; }
.post-list { margin: 1rem 0 1.5rem; padding: 0; list-style: none; border-top: 1px solid var(--c-border); }
.post-list__item { padding: 14px 0; border-bottom: 1px solid var(--c-border); }
.post-list__title { display: block; font-weight: 700; text-decoration: none; }
.post-list__text { display: block; margin-top: 4px; color: var(--c-text-muted); font-size: 0.95rem; }

.faq { margin-top: 1rem; }
.faq__item { border-bottom: 1px solid var(--c-border); }
.faq__h { margin: 0; font-size: inherit; }
.faq__q { display: flex; justify-content: space-between; gap: 16px; width: 100%; padding: 16px 0; border: 0; background: none; text-align: left; font-weight: 700; font-size: 1.02rem; color: inherit; cursor: pointer; }
.faq__q::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--c-primary); transition: transform 0.2s; }
.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq__a { padding-bottom: 16px; color: var(--c-text-muted); }
.faq__a[hidden] { display: none; }

.sidebar { min-width: 0; }
.cta-box { display: grid; gap: 10px; padding: 22px; border-radius: var(--radius); background: var(--c-bg-dark); color: #fff; box-shadow: var(--shadow); }
.cta-box__title { margin: 0; font-size: 1.15rem; font-weight: 800; }
.cta-box__text { margin: 0 0 4px; color: rgba(255, 255, 255, 0.8); font-size: 0.92rem; }
.cta-box .btn--ghost { color: #fff; }
.cta-box .btn--primary { background: #2B7A36; }
.cta-box__facts { display: grid; gap: 6px; margin: 6px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.15); list-style: none; font-size: 0.88rem; color: rgba(255, 255, 255, 0.85); }
.cta-box__facts li { display: flex; gap: 8px; align-items: center; }
.cta-box__facts .icon { color: var(--c-accent); width: 18px; height: 18px; }
.side-link { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 14px 16px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; }
.side-link:hover { background: var(--c-bg-alt); }

.industry-box { display: flex; gap: 18px; align-items: flex-start; margin: 2.5rem 0 1.5rem; padding: 22px; border-radius: var(--radius); background: var(--c-bg-soft); }
.industry-box__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--c-primary); color: #fff; }
.industry-box__title { margin-bottom: 0.3em; font-weight: 800; font-size: 1.08rem; }
.related__title { margin: 2rem 0 0.25rem; font-weight: 800; font-size: 1.1rem; }

.contact-grid { display: grid; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 14px; margin: 1rem 0 1.5rem; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--c-bg-soft); color: var(--c-primary); }
.contact-list strong { display: block; }
.contact-map { width: 100%; height: 340px; border: 0; border-radius: var(--radius); }
.contact-form { padding: 6px 0 0; }
.contact-form__title { margin-bottom: 12px; font-size: 1.25rem; font-weight: 800; }

.pagination, .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 2.5rem; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); text-decoration: none; }
.page-numbers.current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* ==========================================================================
   13. Dải kêu gọi + chân trang
   ========================================================================== */
.cta-band { padding-block: 56px; background: var(--c-primary); color: #fff; text-align: center; }
.cta-band .btn-group { justify-content: center; }
.cta-band .btn--ghost { color: #fff; }
.site-footer { padding-top: 56px; background: var(--c-bg-dark); color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; }
.site-footer a { color: rgba(255, 255, 255, 0.9); }
.site-footer a:hover { color: var(--c-accent); }
.site-footer__grid { display: grid; gap: 32px; }
.site-footer__name { margin-bottom: 0.4em; font-size: 1.25rem; font-weight: 800; color: #fff; }
.site-footer__title { margin: 0 0 12px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.85rem; }
.site-footer__title:not(:first-child) { margin-top: 24px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer__contact strong { color: #fff; }
.site-footer .btn--ghost { color: #fff; }
.site-footer .btn-group--stack { margin-top: 12px; }
.site-footer__bottom { margin-top: 40px; padding-block: 20px 92px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: var(--fs-sm); text-align: center; }

/* ==========================================================================
   14. Nút liên hệ nổi — mobile: thanh dưới đáy; desktop: cột nút tròn góc phải
   ========================================================================== */
.float-contact { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--c-bg); box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12); }
.float-contact__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; font-size: 0.75rem; font-weight: 700; color: #fff; text-decoration: none; }
.float-contact__btn:hover { color: #fff; }
.float-contact__btn svg { width: 22px; height: 22px; fill: currentColor; }
.float-contact__quote svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.float-contact__phone { background: var(--c-primary); }
.float-contact__zalo { background: #0068ff; }
.float-contact__quote { background: var(--c-accent-dark); }

/* ==========================================================================
   15. Responsive
   ========================================================================== */
@media (min-width: 600px) {
	.form__row { grid-template-columns: 1fr 1fr; }
	.partners__row { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
	:root { --gutter: 24px; }
	.card-grid--2, .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.gallery { grid-template-columns: repeat(3, 1fr); }
	.split-head { grid-template-columns: 1fr 1fr; gap: 40px; }
	.split-head p { text-align: right; }
	.showcase { grid-template-columns: 1fr 1fr; }
	.showcase__item--wide { grid-column: 1 / -1; min-height: 360px; }
	.steps-row { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.contact-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
	.hero__note { left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); right: auto; max-width: 560px; }
}
@media (min-width: 1024px) {
	:root { --header-h: 84px; }
	.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.hero__inner { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; }
	.hero__inset { display: block; }
	.partners__row { grid-template-columns: repeat(6, 1fr); }
	.intro-stats__grid { grid-template-columns: 1.25fr 1fr; gap: 72px; }
	.steps-row { grid-template-columns: repeat(4, 1fr); }
	.form-band__inner { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
	.layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: stretch; }
	.entry--main { max-width: 790px; }
	.site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
	.brand__logo { height: 58px; }
	.nav-toggle { display: none; }
	.site-header .brand { flex: none; }
	.primary-nav { position: static; flex: 1 1 auto; display: flex; justify-content: flex-end; min-width: 0; transform: none; visibility: visible; padding: 0; overflow: visible; background: none; }
	.primary-nav > ul { display: flex; gap: 0; }
	.primary-nav a { padding: 10px 9px; border: 0; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0; white-space: nowrap; }
	.primary-nav > ul > li > a { position: relative; }
	.primary-nav > ul > li.current-menu-item > a::after, .primary-nav > ul > li.current-menu-ancestor > a::after, .primary-nav > ul > li.current-page-ancestor > a::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 2px; height: 2px; background: var(--c-primary); }
	.primary-nav li { position: relative; }
	.primary-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 270px; padding: 8px 0; background: var(--c-bg); border-radius: var(--radius-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); }
	.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.2s; }
	.primary-nav .sub-menu a { padding: 8px 16px; text-transform: none; font-weight: 600; font-size: 0.92rem; }
	.float-contact { left: auto; right: 20px; bottom: 20px; grid-auto-flow: row; gap: 12px; background: none; box-shadow: none; }
	.float-contact__btn { width: 56px; height: 56px; min-height: 0; border-radius: 50%; box-shadow: var(--shadow); }
	.float-contact__btn span { display: none; }
	.site-footer__bottom { padding-bottom: 20px; }
}
@media (min-width: 1024px) and (min-height: 700px) {
	.sidebar__sticky { position: sticky; top: calc(var(--header-h) + 20px); }
	.contact-form--sticky { position: sticky; top: calc(var(--header-h) + 20px); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
	.brand__text { display: none; }
}
@media (min-width: 1200px) {
	.header-cta { display: inline-flex; flex: none; min-height: 44px; padding: 10px 16px; }
}
@media (min-width: 1360px) {
	.primary-nav a { padding-inline: 11px; font-size: 0.84rem; }
}
@media (min-width: 1024px) {
	.brand__tag { display: none; }
}
@media (min-width: 768px) {
	.intro-stats__lead { text-align: justify; text-align-last: left; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
