/*
Theme Name: Hộp Đựng Giấy Roto
Theme URI: https://hopdunggiay.com/
Author: TN
Description: Theme viết tay cho hopdunggiay.com (Roto Việt Nam), phong cách tham khảo limosa.vn: nền xám xanh, thẻ trắng bo góc, tiêu đề có cụm từ tô màu, dải xanh gradient. Dữ liệu trong inc/data.php, không page builder, không jQuery.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: hopdunggiay
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--c-primary: #1b6afa;
	--c-primary-dark: #0f4fd1;
	--c-primary-soft: #eaf1ff;
	--c-accent: #ff7a1a;
	--c-accent-dark: #e8620a;
	--c-navy: #12233f;
	--c-navy-2: #0a1730;
	--c-bg: #f3f6fb;
	--c-white: #ffffff;
	--c-text: #3d4b63;
	--c-text-muted: #5b6b85;
	--c-border: #e7edf7;
	--g-blue: linear-gradient(135deg, #0b3fae 0%, #1b6afa 55%, #3d8bff 100%);
	--g-navy: linear-gradient(135deg, #0a1730 0%, #12306b 100%);

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

	--fs-sm: 0.875rem;
	--fs-base: 1rem;
	--fs-lg: 1.0625rem;
	--fs-h3: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
	--fs-h2: clamp(1.45rem, 1.2rem + 1vw, 2rem);
	--fs-h1: clamp(1.75rem, 1.35rem + 2vw, 2.75rem);

	--radius: 16px;
	--radius-lg: 20px;
	--radius-sm: 10px;
	--radius-pill: 999px;
	--shadow: 0 2px 10px rgba(18, 35, 63, 0.05);
	--shadow-lg: 0 14px 40px rgba(18, 35, 63, 0.12);

	--space-section: clamp(3rem, 2.2rem + 3vw, 5rem);
	--container: 1240px;
	--gutter: 16px;
	--header-h: 72px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::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.7; 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: none; }
a:hover { color: var(--c-primary-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-heading); font-weight: 800; line-height: 1.25; margin: 0 0 0.6em; color: var(--c-navy); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
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; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.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; }
.center { text-align: center; margin-top: 2rem; margin-bottom: 0; }

.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.75rem); }
.section--white { background: var(--c-white); }
.section--blue { background: var(--g-blue); color: rgba(255, 255, 255, 0.92); position: relative; overflow: hidden; }
.section--blue::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, 0.06); pointer-events: none; }
.section--blue h2, .section--blue h3 { color: #fff; }
.section--blue > .container { position: relative; }
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }

/* Tiêu đề khối: nhãn có gạch + h2 có cụm tô màu */
.shead { max-width: 760px; margin: 0 auto 2.25rem; text-align: center; }
.shead--left { margin-left: 0; text-align: left; }
.shead__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 0.6rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent); }
.shead__eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--c-accent) 50%, var(--c-primary) 50%); }
.shead__eyebrow--light { color: #ffd2b0; }
.shead__title { margin-bottom: 0.5rem; }
.shead__lead { margin: 0; color: var(--c-text-muted); }
.section--blue .shead__lead { color: rgba(255, 255, 255, 0.85); }
.hl { color: var(--c-primary); }
.hl-light { color: #ffd04d; }
.lead-light { color: rgba(255, 255, 255, 0.9); font-size: var(--fs-lg); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow .icon { transition: transform 0.2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ==========================================================================
   3. Nút
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border: 2px solid transparent; border-radius: var(--radius-pill); font-weight: 700; font-size: 0.95rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { min-height: 52px; padding: 12px 28px; font-size: 1rem; }
.btn--sm { min-height: 38px; padding: 6px 14px; font-size: 0.85rem; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: 0 6px 18px rgba(27, 106, 250, 0.3); }
.btn--primary:hover { background: var(--c-primary-dark); color: #fff; }
.btn--accent { background: linear-gradient(180deg, #ff8a2e, var(--c-accent-dark)); color: #fff; box-shadow: 0 6px 18px rgba(255, 122, 26, 0.35); }
.btn--accent:hover { color: #fff; filter: brightness(1.05); }
.btn--white { background: #fff; color: var(--c-primary); }
.btn--white:hover { color: var(--c-primary-dark); }
.btn--white-ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; background: transparent; }
.btn--white-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn--soft { background: var(--c-primary-soft); color: var(--c-primary); }
.btn--soft:hover { background: #dbe7ff; color: var(--c-primary-dark); }
.btn--ghost, .btn--ghost-primary { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn--ghost-primary:hover { background: var(--c-primary); color: #fff; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   4. Topbar + header
   ========================================================================== */
.topbar { background: var(--c-primary); color: #fff; font-size: 0.82rem; font-weight: 600; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.topbar ul { display: flex; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
.topbar li { display: flex; align-items: center; gap: 6px; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.topbar__info li + li::before { content: ""; width: 1px; height: 14px; margin-right: 12px; background: rgba(255, 255, 255, 0.4); }
.topbar__links li + li::before { content: ""; width: 1px; height: 14px; margin-right: 12px; background: rgba(255, 255, 255, 0.4); }
.topbar__hide-sm, .topbar__links { display: none !important; }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow 0.2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(18, 35, 63, 0.08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.site-logo { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--c-navy); }
.site-logo img { max-height: 56px; width: auto; }
.site-logo__mark { width: 40px; height: 40px; border-radius: 50%; border: 6px solid var(--c-primary); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 7px var(--c-primary-soft); flex: none; }
.site-logo__txt { display: flex; flex-direction: column; line-height: 1.05; }
.site-logo__txt strong { font-family: var(--f-heading); font-size: 1.65rem; font-weight: 800; color: var(--c-primary); letter-spacing: -0.02em; }
.site-logo__txt small { font-size: 0.68rem; font-weight: 600; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius-sm); background: var(--c-primary-soft); cursor: pointer; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 22px; height: 2px; background: var(--c-primary); 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; z-index: 99; background: #fff; padding: 8px var(--gutter) 32px; overflow-y: auto; transform: translateX(100%); transition: transform 0.25s; }
.nav-open .primary-nav { transform: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a { display: block; padding: 12px 0; color: var(--c-navy); font-weight: 700; font-size: 0.95rem; border-bottom: 1px solid var(--c-border); }
.primary-nav .sub-menu a { padding-left: 16px; font-weight: 500; }
.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav a:hover { color: var(--c-primary); }
.nav-search { display: flex; margin-top: 16px; border: 1px solid var(--c-border); border-radius: var(--radius-pill); overflow: hidden; }
.nav-search input { flex: 1; min-width: 0; padding: 10px 16px; border: 0; background: var(--c-bg); }
.nav-search button { width: 46px; border: 0; background: var(--c-primary); color: #fff; display: grid; place-items: center; cursor: pointer; }
.header-cta { display: none; white-space: nowrap; }

/* ==========================================================================
   5. Hero + huy hiệu
   ========================================================================== */
.hero { position: relative; background: var(--g-blue); color: #fff; overflow: hidden; padding-block: 44px 72px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%); }
.hero::after { width: 420px; height: 420px; left: -160px; bottom: -220px; background: radial-gradient(circle, rgba(255, 138, 46, 0.35), transparent 70%); }
.hero__inner { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 16px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); font-size: 0.82rem; font-weight: 600; }
.hero__title { color: #fff; font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); line-height: 1.12; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.15); }
.hero__title span { display: block; color: #ffd04d; }
.hero__lead { font-size: var(--fs-lg); color: rgba(255, 255, 255, 0.9); max-width: 560px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 24px; padding: 0; list-style: none; font-weight: 600; font-size: 0.92rem; }
.hero__points li { display: flex; align-items: center; gap: 6px; }
.hero__points .icon { color: #ffd04d; }
.hero__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; }
.hcard { position: relative; display: flex; flex-direction: column; align-items: center; padding: 26px 10px 14px; border-radius: var(--radius-lg); background: linear-gradient(180deg, #ffffff, #eaf2ff); color: var(--c-navy); text-align: center; box-shadow: var(--shadow-lg); border: 3px solid rgba(255, 255, 255, 0.85); transition: transform 0.2s; }
.hcard:hover { transform: translateY(-6px); color: var(--c-navy); }
.hcard--main { padding-top: 34px; border-color: #ffd04d; }
.hcard__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 12px; border-radius: var(--radius-pill); background: linear-gradient(180deg, #ff8a2e, var(--c-accent-dark)); color: #fff; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.hcard--main .hcard__tag { background: linear-gradient(180deg, #ff4d4d, #d81f1f); }
.hcard__media { display: block; width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #fff; }
.hcard__media img { width: 100%; height: 100%; object-fit: contain; }
.hcard__name { margin-top: 10px; font-family: var(--f-heading); font-weight: 800; font-size: 0.85rem; line-height: 1.3; }
.hcard__code { margin-top: 6px; padding: 2px 10px; border-radius: var(--radius-pill); background: var(--c-primary); color: #fff; font-weight: 800; font-size: 0.8rem; }

.badges { position: relative; z-index: 2; margin-top: -40px; }
.badges__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 16px; list-style: none; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.badge { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; line-height: 1.35; }
.badge strong { display: block; color: var(--c-navy); font-size: 0.9rem; }
.badge small { color: var(--c-text-muted); }
.badge__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--c-primary-soft); color: var(--c-primary); box-shadow: inset 0 0 0 4px #f6f9ff; }
.badge__icon .icon { width: 22px; height: 22px; }

/* ==========================================================================
   6. Giới thiệu + số liệu
   ========================================================================== */
.about { display: grid; gap: 28px; padding: clamp(20px, 3vw, 44px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about__text p { text-align: justify; text-align-last: left; }
.about__media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about__media a { display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--c-bg); }
.about__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.about__media a:hover img { transform: scale(1.05); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 1.25rem 0 1.5rem; padding: 0; list-style: none; }
.stats li { padding: 14px 10px; border-radius: var(--radius); background: var(--c-bg); text-align: center; }
.stats strong { display: block; font-family: var(--f-heading); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; color: var(--c-primary); line-height: 1.1; }
.stats span { font-size: 0.82rem; color: var(--c-text-muted); }

/* ==========================================================================
   7. Thẻ sản phẩm, tab
   ========================================================================== */
.tabs__nav { display: flex; gap: 8px; margin: 0 auto 28px; padding: 6px; max-width: max-content; overflow-x: auto; background: var(--c-bg); border-radius: var(--radius-pill); scrollbar-width: none; }
.tabs__btn { flex: none; padding: 10px 18px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--c-navy); font-weight: 700; font-size: 0.9rem; cursor: pointer; white-space: nowrap; }
.tabs__btn[aria-selected="true"] { background: var(--c-primary); color: #fff; box-shadow: 0 6px 16px rgba(27, 106, 250, 0.3); }
.js .tabs__panel[hidden] { display: none; }
.tabs__panel + .tabs__panel { margin-top: 40px; }
.js .tabs__panel + .tabs__panel { margin-top: 0; }

.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pcard__media { display: block; aspect-ratio: 1; padding: 12px; background: #fff; }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; border-top: 1px solid var(--c-border); }
.pcard__code { align-self: flex-start; padding: 2px 10px; margin-bottom: 8px; border-radius: var(--radius-pill); background: var(--c-primary-soft); color: var(--c-primary); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.02em; }
.pcard__title { font-size: 1rem; margin-bottom: 12px; }
.pcard__title a { color: var(--c-navy); }
.pcard__title a:hover { color: var(--c-primary); }
.pcard__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.card__ph { display: grid; place-items: center; width: 100%; height: 100%; color: #c3cee2; background: var(--c-bg); }
.card__ph .icon { width: 48px; height: 48px; }

/* ==========================================================================
   8. Tài trợ, quy trình, cam kết, lợi ích, khách hàng
   ========================================================================== */
.sponsor__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); border: 4px solid rgba(255, 255, 255, 0.3); }
.checklist { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 600; }
.checklist .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: #fff; color: var(--c-primary); }

.process { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.process__step { position: relative; padding: 22px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--c-border); }
.process__num { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 50%; background: var(--g-blue); color: #fff; font-family: var(--f-heading); font-weight: 800; box-shadow: 0 0 0 6px var(--c-primary-soft); }
.process__step h3 { margin-bottom: 0.3em; }
.process__step p { margin: 0; font-size: 0.92rem; color: var(--c-text-muted); }

.feature { padding: 24px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); box-shadow: var(--shadow); }
.feature h3 { margin-bottom: 0.35em; }
.feature p { margin: 0; color: var(--c-text-muted); font-size: 0.92rem; }
.feature__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 16px; background: var(--c-primary-soft); color: var(--c-primary); }
.feature__icon .icon { width: 28px; height: 28px; }
.section--blue .feature h3 { color: var(--c-navy); }

.segments { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.segments li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--c-bg); font-weight: 700; color: var(--c-navy); font-size: 0.92rem; }
.segments__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: #fff; color: var(--c-primary); box-shadow: var(--shadow); }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 0; padding: 0; list-style: none; }
.logos li { display: grid; place-items: center; width: 160px; height: 90px; padding: 12px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); }
.logos img { max-height: 60px; width: auto; filter: grayscale(1); opacity: 0.8; transition: 0.2s; }
.logos li:hover img { filter: none; opacity: 1; }

/* Thư viện ảnh */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--c-bg); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery a:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(10, 23, 48, 0.92); }
.lightbox img { max-height: 90vh; width: auto; border-radius: var(--radius-sm); }
.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; }

/* Tin tức */
.news { display: grid; gap: 20px; }
.ncard { display: flex; gap: 14px; padding: 12px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--c-border); }
.ncard__media { flex: none; width: 110px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--c-bg); }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; }
.ncard__body time { font-size: 0.8rem; color: var(--c-text-muted); }
.ncard h3 { font-size: 0.98rem; margin: 4px 0 0; }
.ncard h3 a { color: var(--c-navy); }
.ncard h3 a:hover { color: var(--c-primary); }
.ncard--big { flex-direction: column; padding: 0; overflow: hidden; }
.ncard--big .ncard__media { width: 100%; aspect-ratio: 16 / 9; border-radius: 0; }
.ncard--big .ncard__body { padding: 4px 20px 20px; }
.ncard--big h3 { font-size: 1.2rem; margin-bottom: 0.5em; }
.ncard--big p { margin: 0; color: var(--c-text-muted); font-size: 0.95rem; }

.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { display: block; aspect-ratio: 4 / 3; background: var(--c-bg); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.card__date { font-size: 0.8rem; color: var(--c-text-muted); }
.card__title { font-size: 1.05rem; margin: 6px 0 8px; }
.card__title a { color: var(--c-navy); }
.card__title a:hover { color: var(--c-primary); }
.card__text { color: var(--c-text-muted); font-size: 0.92rem; }
.card .link-arrow { margin-top: auto; font-size: 0.9rem; }

/* FAQ */
.faq-wrap { display: grid; gap: 28px; }
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--c-bg); border-radius: var(--radius); border: 1px solid var(--c-border); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 16px 20px; border: 0; background: none; text-align: left; font-family: var(--f-body); font-weight: 700; font-size: 0.98rem; color: var(--c-navy); cursor: pointer; }
.faq__q::after { content: "+"; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; font-size: 1.2rem; line-height: 1; color: var(--c-primary); transition: transform 0.2s; }
.faq__q[aria-expanded="true"] { color: var(--c-primary); }
.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); background: var(--c-primary); color: #fff; }
.faq__a { padding: 0 20px 16px; color: var(--c-text-muted); }
.faq__a p:last-child { margin: 0; }
.faq__a[hidden] { display: none; }

/* ==========================================================================
   9. Form + khối báo giá chân trang
   ========================================================================== */
.quote { padding-block: var(--space-section); background: var(--g-navy); color: rgba(255, 255, 255, 0.86); position: relative; overflow: hidden; }
.quote::before { content: ""; position: absolute; width: 600px; height: 600px; left: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(27, 106, 250, 0.45), transparent 70%); }
.quote__inner { position: relative; display: grid; gap: 32px; align-items: start; }
.quote h2 { color: #fff; }
.quote__list { display: grid; gap: 14px; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.quote__list li { display: flex; align-items: center; gap: 12px; line-height: 1.4; font-size: 0.9rem; }
.quote__list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #ffd04d; }
.quote__list a { color: #fff; }
.quote__list strong { font-size: 1.15rem; }
.quote__form { padding: clamp(20px, 3vw, 32px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.quote__form h3 { font-size: 1.3rem; }
.form { display: grid; gap: 14px; }
.form__row { display: grid; gap: 14px; }
.form label { display: block; margin-bottom: 4px; font-weight: 600; font-size: 0.85rem; color: var(--c-navy); }
.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: var(--c-bg); color: var(--c-navy); }
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--c-primary); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(27, 106, 250, 0.15); }
.form button[type="submit"] { width: 100%; min-height: 52px; background: linear-gradient(180deg, #ff8a2e, var(--c-accent-dark)); box-shadow: 0 6px 18px rgba(255, 122, 26, 0.35); }
.form__hp { position: absolute; left: -9999px; }
.form__note { margin: 0; font-size: 0.8rem; 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; }

/* ==========================================================================
   10. Trang con, bài viết, sản phẩm
   ========================================================================== */
.page-hero { padding-block: 36px 40px; background: var(--g-blue); color: rgba(255, 255, 255, 0.9); }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero--slim { padding-block: 14px; }
.page-hero__meta, .page-hero__lead { margin: 10px 0 0; font-size: 0.9rem; }
.page-hero__meta a { color: #ffd04d; }
.breadcrumb { font-size: 0.85rem; margin-bottom: 8px; color: rgba(255, 255, 255, 0.8); }
.breadcrumb a { color: #fff; }
.entry { max-width: 860px; margin-inline: auto; color: var(--c-text); }
.entry--card { padding: clamp(20px, 3.5vw, 44px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.entry p, .entry li { text-align: justify; text-align-last: left; }
.entry td p, .entry th p, .entry figcaption { text-align: left; }
.entry h2 { margin-top: 1.5em; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.65rem); }
.entry h3 { margin-top: 1.3em; }
.entry h2:first-child, .entry h3:first-child { margin-top: 0; }
.entry a { text-decoration: underline; text-underline-offset: 3px; }
.entry img { border-radius: var(--radius-sm); margin-inline: auto; }
.entry figure { margin: 1.5em 0; }
.entry figcaption { margin-top: 8px; font-size: 0.85rem; color: var(--c-text-muted); text-align: center; }
.entry hr { border: 0; border-top: 1px solid var(--c-border); margin: 1.5em 0; }
.entry blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 4px solid var(--c-primary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--c-primary-soft); }
.entry iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-sm); }
.table-wrap { overflow-x: auto; margin: 1.5em 0; }
.entry table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.entry th, .entry td { padding: 10px 12px; border: 1px solid var(--c-border); vertical-align: top; }
.entry tr:nth-child(even) td { background: #f8faff; }
.entry__thumb { margin-bottom: 1.5em; width: 100%; }
.entry__tags { margin-top: 2em; font-size: 0.88rem; }
.entry__tags a { display: inline-block; margin: 0 4px 6px 0; padding: 3px 12px; border-radius: var(--radius-pill); background: var(--c-bg); text-decoration: none; }
.entry__heading { margin-top: 0 !important; }

.layout-sidebar { display: grid; gap: 28px; align-items: start; }
.layout-sidebar .entry { max-width: none; margin: 0; }
.sidebar__sticky { display: grid; gap: 20px; }
.sbox { padding: 22px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.sbox h2 { font-size: 1.1rem; }
.sbox--cta { background: var(--g-blue); color: rgba(255, 255, 255, 0.9); display: grid; gap: 10px; }
.sbox--cta h2 { color: #fff; margin: 0; }
.sbox--cta p { margin: 0 0 6px; font-size: 0.92rem; }
.mini-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.mini-list a { display: flex; align-items: center; gap: 12px; color: var(--c-navy); font-weight: 600; font-size: 0.9rem; line-height: 1.35; }
.mini-list a:hover { color: var(--c-primary); }
.mini-list img, .mini-list .card__ph { width: 60px; height: 60px; flex: none; object-fit: contain; border-radius: 10px; border: 1px solid var(--c-border); background: #fff; }

.section--product { padding-top: 28px; }
.product { display: grid; gap: 28px; padding: clamp(16px, 3vw, 36px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.product__main { aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--radius); border: 1px solid var(--c-border); overflow: hidden; background: #fff; }
.product__main img { width: 100%; height: 100%; object-fit: contain; }
.product__main--empty { color: #c3cee2; }
.product__main--empty .icon { width: 64px; height: 64px; }
.product__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.product__thumbs button { flex: none; width: 72px; height: 72px; padding: 4px; border: 2px solid var(--c-border); border-radius: 12px; background: #fff; cursor: pointer; }
.product__thumbs button.is-active { border-color: var(--c-primary); }
.product__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product__info h1 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); }
.specs { margin: 1rem 0 1.5rem; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.specs__title { margin: 0; padding: 12px 16px; background: var(--c-primary-soft); color: var(--c-primary); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.03em; }
.specs ul { margin: 0; padding: 0; list-style: none; }
.specs li { padding: 10px 16px; border-top: 1px solid var(--c-border); font-size: 0.95rem; }
.specs li:nth-child(even) { background: #f8faff; }
.specs strong { color: var(--c-navy); }
.product__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.product__perks { display: grid; gap: 8px; margin: 1.25rem 0 0; padding: 16px; list-style: none; border-radius: var(--radius); background: var(--c-bg); font-size: 0.92rem; font-weight: 600; color: var(--c-navy); }
.product__perks li { display: flex; align-items: center; gap: 10px; }
.product__perks .icon { color: var(--c-primary); }

.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--c-border); font-weight: 700; }
.pagination .current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* ==========================================================================
   11. Footer
   ========================================================================== */
.cta-band { padding-block: 48px; background: var(--g-blue); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 0.4em; }
.cta-band .btn-group { justify-content: center; }
.site-footer { padding-top: 52px; background: var(--c-navy-2); color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #ffd04d; }
.site-footer h3 { color: #fff; font-size: 1.02rem; margin-bottom: 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer__grid { display: grid; gap: 32px; }
.site-footer__contact li { display: flex; gap: 10px; line-height: 1.5; }
.site-footer__contact .icon { margin-top: 3px; color: #ffd04d; }
.site-footer__bct { margin-top: 12px; max-width: 150px; }
.site-footer__bottom { margin-top: 40px; padding-block: 18px 88px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.82rem; text-align: center; }

/* ==========================================================================
   12. Nút liên hệ nổ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: #fff; 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: 58px; 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__phone { background: var(--c-accent); }
.float-contact__zalo { background: #0068ff; }
.float-contact__mess { background: #a033ff; }

/* ==========================================================================
   13. Responsive
   ========================================================================== */
@media (min-width: 600px) {
	.gallery { grid-template-columns: repeat(3, 1fr); }
	.form__row { grid-template-columns: 1fr 1fr; }
	.segments { grid-template-columns: repeat(3, 1fr); }
	.hero__cards { gap: 16px; }
	.hcard__name { font-size: 0.95rem; }
	.topbar__hide-sm { display: flex !important; }
}
@media (min-width: 768px) {
	:root { --gutter: 24px; }
	.grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
	.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
	.badges__list { grid-template-columns: repeat(4, 1fr); padding: 20px 24px; }
	.process { grid-template-columns: repeat(3, 1fr); }
	.news { grid-template-columns: 1.2fr 1fr; grid-template-rows: repeat(3, auto); }
	.ncard--big { grid-row: 1 / span 3; }
	.site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
	.quote__inner { grid-template-columns: 1fr 1.1fr; gap: 48px; }
	.topbar__links { display: flex !important; }
	.product { grid-template-columns: 1fr 1.1fr; gap: 40px; }
}
@media (min-width: 1024px) {
	:root { --header-h: 80px; }
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(4, 1fr); }
	.gallery--feature { grid-template-columns: repeat(4, 1fr); }
	.gallery--feature a:first-child { grid-column: span 2; grid-row: span 2; }
	.process { grid-template-columns: repeat(5, 1fr); }
	.process__step::after { content: ""; position: absolute; top: 46px; right: -14px; width: 12px; height: 2px; background: var(--c-primary); opacity: 0.4; }
	.process__step:last-child::after { display: none; }
	.hero { padding-block: 64px 96px; }
	.hero__inner { grid-template-columns: 1.05fr 1fr; gap: 48px; }
	.hcard--main { transform: translateY(-24px); }
	.hcard--main:hover { transform: translateY(-30px); }
	.about { grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
	.faq-wrap { grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
	.layout-sidebar { grid-template-columns: minmax(0, 1fr) 320px; }
	.sidebar__sticky { position: sticky; top: calc(var(--header-h) + 20px); }
	.nav-toggle { display: none; }
	.primary-nav { position: static; display: flex; align-items: center; gap: 8px; transform: none; padding: 0; overflow: visible; background: none; }
	.primary-nav > ul { display: flex; gap: 2px; }
	.primary-nav a { padding: 10px 11px; border: 0; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.01em; color: var(--c-primary); white-space: nowrap; }
	.primary-nav li { position: relative; }
	.primary-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: 0.6; }
	.primary-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 260px; padding: 8px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.2s; }
	.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.primary-nav .sub-menu a { padding: 9px 12px; border-radius: var(--radius-sm); text-transform: none; color: var(--c-navy); font-size: 0.92rem; }
	.primary-nav .sub-menu a:hover { background: var(--c-primary-soft); color: var(--c-primary); }
	.nav-search { display: none; }
	.header-cta { display: inline-flex; }
	.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-lg); }
	.float-contact__btn span { display: none; }
	.site-footer__bottom { padding-bottom: 18px; }
}
@media (min-width: 1240px) {
	.primary-nav a { padding: 10px 14px; font-size: 0.92rem; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Tinh chỉnh sau vòng so ảnh 1 */
.site-logo__txt small { white-space: nowrap; }
.topbar__inner { white-space: nowrap; overflow: hidden; }
@media (max-width: 599px) {
	.topbar__info li:first-child { display: none; }
	.topbar__info li + li::before { display: none; }
	.topbar__info { gap: 12px; }
}
