/*
Theme Name: Thế Giới Giấy Hà Nội
Theme URI: https://hanoipaper.vn/
Author: Thế Giới Giấy Hà Nội – Hà Nội Paper
Description: Theme viết tay cho hanoipaper.vn – văn phòng Hà Nội của Thế Giới Giấy. Phong cách học từ mẫu Eatini (header 2 tầng, slider bo góc, thẻ danh mục, dải sản phẩm nền màu, icon tròn, tab sản phẩm, banner đôi) với tông navy + xanh da trời của Paper World; dữ liệu gom trong inc/data.php và inc/products.php; schema JSON-LD; form báo giá lưu đơn; 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: hanoi-paper
*/

/* ==========================================================================
   1. Tokens — đổi giao diện chủ yếu ở đây
   ========================================================================== */
:root {
	--c-navy: #0b3c8c;           /* xanh navy Paper World: header tầng 1, tiêu đề, footer */
	--c-navy-dark: #082c69;
	--c-navy-deep: #061f4a;
	--c-sky: #0a87e0;            /* xanh da trời: menu tầng 2, nút, điểm nhấn */
	--c-sky-2: #29a9f9;
	--c-sky-soft: #e4f2fd;
	--c-bg: #f2f7fc;             /* nền trang xanh rất nhạt (thay nền kem của mẫu) */
	--c-gold: #f5b82e;           /* vàng: nút báo giá, nhãn — chi tiết sang */
	--c-gold-dark: #e0a012;
	--c-white: #ffffff;
	--c-text: #1b2a3d;
	--c-text-muted: #5a6b80;
	--c-border: #dce7f3;

	/* Tên cũ (dùng trong landing.css và template trang con) */
	--c-primary: var(--c-navy);
	--c-primary-dark: var(--c-navy-dark);
	--c-accent: var(--c-gold);
	--c-accent-dark: var(--c-gold-dark);
	--c-accent-soft: #fff5dc;
	--c-teal: var(--c-sky);
	--c-deep: var(--c-navy-deep);
	--c-paper: var(--c-bg);
	--c-royal: var(--c-navy);
	--c-cream: var(--c-bg);
	--c-cream-2: var(--c-sky-soft);
	--grad-brand: linear-gradient(120deg, var(--c-navy), var(--c-sky));
	--grad-deep: linear-gradient(135deg, var(--c-navy-deep), var(--c-navy));
	--grad-light: linear-gradient(160deg, var(--c-sky-soft), var(--c-bg));
	--grad-soft: linear-gradient(160deg, #fff, var(--c-sky-soft));

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

	--fs-sm: 0.875rem;
	--fs-base: 1rem;
	--fs-lg: 1.08rem;
	--fs-h3: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
	--fs-h2: clamp(1.45rem, 1.2rem + 1vw, 2rem);
	--fs-h1: clamp(1.7rem, 1.2rem + 2vw, 2.7rem);

	--radius: 16px;
	--radius-lg: 22px;
	--radius-sm: 10px;
	--radius-btn: 8px;
	--radius-pill: 999px;
	--shadow: 0 16px 36px rgba(11, 60, 140, 0.14);
	--shadow-sm: 0 2px 10px rgba(11, 60, 140, 0.08);

	--space-section: clamp(2.75rem, 2rem + 3vw, 4.75rem);
	--container: 1320px;
	--gutter: 16px;
	--header-h: 64px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -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-sky); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-navy); }
h1, h2, h3, h4 { font-family: var(--f-heading); font-weight: 700; 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; }
strong { font-weight: 700; }
input, select, textarea, button { font: inherit; }
:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.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.2em; height: 1.2em; flex: none; }
h1, h2, h3, .section__lead { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); position: relative; }
.section--tight { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.section--light, .section--paper, .section--tissue-alt, .section--alt { background: #fff; }
.section--tissue { background: var(--c-bg); }
.section--kraft { background: linear-gradient(180deg, var(--c-sky-soft), var(--c-bg)); }
.section--navy, .section--deep, .section--dark, .section--photo { color: #eaf3fc; background: radial-gradient(circle at 85% 0%, rgba(41, 169, 249, 0.28), transparent 45%), linear-gradient(135deg, var(--c-navy-deep) 0%, var(--c-navy) 100%); }
.section--navy h2, .section--navy h3, .section--deep h2, .section--dark h2, .section--dark h3, .section--photo h2 { color: #fff; }
.section__head { max-width: 760px; margin: 0 auto 2.25rem; text-align: center; }
.section__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 0.4rem; font-family: var(--f-heading); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-sky); }
.section__eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--c-gold); }
.section--navy .section__eyebrow, .section--deep .section__eyebrow, .section--dark .section__eyebrow { color: var(--c-sky-2); }
.section__lead { color: var(--c-text-muted); font-size: var(--fs-lg); }
.section--navy .section__lead, .section--deep .section__lead, .section--dark .section__lead { color: rgba(234, 243, 252, 0.82); }
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.center-cta { margin-top: 2rem; text-align: center; }
.note { font-size: var(--fs-sm); color: var(--c-text-muted); font-style: italic; }

/* ==========================================================================
   3. Nút, chip, tag
   ========================================================================== */
.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-btn); font-family: var(--f-heading); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 18px; height: 18px; }
.btn--lg { min-height: 52px; padding: 12px 28px; font-size: 1.05rem; }
.btn--sm { min-height: 40px; padding: 7px 16px; font-size: 0.93rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--c-sky); color: #fff; }
.btn--primary:hover { background: var(--c-navy); color: #fff; box-shadow: 0 10px 22px rgba(10, 135, 224, 0.3); }
.btn--gold, .btn--accent { background: var(--c-gold); color: var(--c-navy-deep); box-shadow: 0 8px 20px rgba(245, 184, 46, 0.32); }
.btn--gold:hover, .btn--accent:hover { background: var(--c-gold-dark); color: var(--c-navy-deep); }
.btn--glass { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--glass:hover { background: #fff; color: var(--c-navy); }
.btn--white, .btn--light { background: #fff; color: var(--c-navy); box-shadow: var(--shadow-sm); border-color: var(--c-border); }
.btn--white:hover, .btn--light:hover { color: var(--c-sky); border-color: var(--c-sky); }
.btn--ghost { border-color: currentColor; color: var(--c-sky); background: transparent; }
.section--navy .btn--ghost, .section--deep .btn--ghost, .section--dark .btn--ghost { color: #fff; }
.btn--outline { border-color: var(--c-sky); background: #fff; color: var(--c-sky); }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-group--center { justify-content: center; }

.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--c-sky-soft); color: var(--c-navy); text-decoration: none; }
.icon-btn .icon { width: 20px; height: 20px; }
.icon-btn .icon--zalo { width: 30px; height: 30px; }
.icon-btn--accent { background: var(--c-gold); color: var(--c-navy-deep); }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chips__label { font-weight: 700; color: var(--c-navy); margin-right: 4px; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 5px 16px; border: 1.5px solid var(--c-border); border-radius: var(--radius-pill); background: #fff; color: var(--c-navy); font-size: 0.92rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: all 0.2s; }
.chip:hover { border-color: var(--c-sky); color: var(--c-sky); }
.chip.is-active { background: var(--c-sky); border-color: var(--c-sky); color: #fff; }
.chips--nav { margin-top: 1.25rem; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.tags li { padding: 4px 14px; border-radius: var(--radius-pill); background: #fff; color: var(--c-navy); font-size: 0.88rem; font-weight: 600; box-shadow: var(--shadow-sm); }

.checklist { list-style: none; margin: 0 0 1rem; padding: 0; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; }
.checklist .icon { color: var(--c-sky); margin-top: 4px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-more .icon { width: 16px; height: 16px; }

/* ==========================================================================
   4. Header 2 tầng (theo mẫu Eatini)
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; }
.head-main { background: linear-gradient(100deg, var(--c-navy-deep) 0%, var(--c-navy) 55%, #0d4aa8 100%); color: #fff; }
.head-main__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: var(--header-h); }

.site-logo { display: flex; align-items: center; gap: 10px; min-width: 0; color: #fff; text-decoration: none; }
.site-logo:hover { color: #fff; }
.site-logo__mark { display: grid; place-items: center; flex: none; padding: 5px 9px; border-radius: 10px; background: #fff; }
.site-logo__img { width: auto; height: 32px; }
.site-logo__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.site-logo__name { font-family: var(--f-heading); font-size: 1.02rem; font-weight: 700; white-space: nowrap; }
.site-logo__sub { margin-top: 3px; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-sky-2); white-space: nowrap; }
.custom-logo-link img { max-height: 52px; width: auto; }

.head-search { display: none; flex: 1; max-width: 640px; }
.search-box { display: flex; overflow: hidden; border-radius: var(--radius-btn); background: #fff; border: 2px solid #fff; }
.search-box input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 0; background: transparent; color: var(--c-text); font-size: 0.95rem; }
.search-box input:focus { outline: none; }
.search-box button { display: grid; place-items: center; width: 64px; border: 0; border-radius: 6px; background: var(--c-sky); color: #fff; cursor: pointer; transition: background 0.2s; }
.search-box button:hover { background: var(--c-navy); }
.search-box button .icon { width: 20px; height: 20px; }
.search-box:focus-within { border-color: var(--c-gold); }
.head-pledges { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 0.8rem; color: rgba(255, 255, 255, 0.88); }
.head-pledges li { display: inline-flex; align-items: center; gap: 6px; }
.head-pledges .icon { width: 16px; height: 16px; color: var(--c-gold); }

.head-contact { display: none; align-items: center; gap: 10px; }
.head-hotline { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.head-hotline:hover { color: var(--c-gold); }
.head-hotline__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.4); }
.head-hotline__icon .icon { width: 19px; height: 19px; }
.head-hotline__text { display: flex; flex-direction: column; line-height: 1.15; }
.head-hotline__text small { font-size: 0.75rem; opacity: 0.8; }
.head-hotline__text strong { font-family: var(--f-heading); font-size: 1.15rem; }
.head-zalo { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #0068ff; }
.head-zalo .icon { width: 32px; height: 32px; }

.nav-toggle { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px; border: 1.5px solid rgba(255, 255, 255, 0.35); border-radius: var(--radius-btn); background: transparent; color: #fff; font-weight: 600; cursor: pointer; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: transform 0.2s; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }
.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

.head-nav { background: var(--c-sky); }
.head-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.head-cta { display: none; }

/* Menu mobile: ngăn kéo trượt từ phải */
.primary-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: #fff; padding: 16px var(--gutter) 96px; 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-family: var(--f-heading); font-weight: 700; font-size: 1.02rem; text-decoration: none; border-bottom: 1px solid var(--c-border); }
.primary-nav .sub-menu a, .primary-nav .children a { padding-left: 16px; font-family: var(--f-body); font-weight: 500; font-size: 0.96rem; }
.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { color: var(--c-sky); }
.primary-nav__contact { margin-top: 24px; }
.search-box--menu { margin-bottom: 12px; border-color: var(--c-border); }

/* ==========================================================================
   5. Hero — slider bo góc (theo mẫu), nền navy, ảnh trong khung tròn trắng
   ========================================================================== */
.hero { padding: 16px 0 0; background: linear-gradient(180deg, var(--c-sky) 0 90px, var(--c-bg) 90px); }
.hero__slider { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--c-navy); box-shadow: var(--shadow); }
.hero__slide { display: none; position: relative; gap: 22px; padding: 28px 20px 56px; color: #fff; background:
	radial-gradient(circle at 78% 42%, rgba(41, 169, 249, 0.45) 0, transparent 38%),
	radial-gradient(circle at 8% 110%, rgba(245, 184, 46, 0.18) 0, transparent 30%),
	linear-gradient(120deg, var(--c-navy-deep) 0%, var(--c-navy) 55%, #0f56c4 100%); }
.hero__slide.is-active { display: grid; animation: hnp-fade 0.6s ease; }
.hero__slide::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='2' cy='2' r='1.3' fill='%23ffffff' fill-opacity='.08'/%3E%3C/svg%3E"); pointer-events: none; }
@keyframes hnp-fade { from { opacity: 0.2; } to { opacity: 1; } }
.hero__content, .hero__media { position: relative; z-index: 1; }
.hero__eyebrow { display: inline-flex; margin: 0 0 12px; padding: 5px 14px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); font-weight: 600; font-size: 0.84rem; color: #d7ecff; }
.hero__title { margin: 0 0 0.45em; font-family: var(--f-heading); font-weight: 700; font-size: var(--fs-h1); line-height: 1.18; color: #fff; }
.hero__title::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 14px; border-radius: 4px; background: var(--c-gold); }
.hero__lead { max-width: 560px; color: rgba(234, 243, 252, 0.88); font-size: 1.02rem; }
.hero .btn-group { margin-top: 1.3rem; }
.hero__media { display: grid; place-items: center; padding: 6px 0 10px; }
.hero__plate { margin: 0; width: min(100%, 440px); aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: #fff; border: 8px solid rgba(255, 255, 255, 0.9); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 14px rgba(255, 255, 255, 0.08); }
.hero__plate img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide--1 .hero__plate img, .hero__slide--2 .hero__plate img { object-fit: contain; padding: 8%; }
.hero__tag { position: absolute; top: 6%; left: 4%; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--c-gold); color: var(--c-navy-deep); font-family: var(--f-heading); font-weight: 700; font-size: 0.85rem; box-shadow: var(--shadow-sm); }
.hero__call { display: none; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.hero__dot { width: 11px; height: 11px; padding: 0; border: 0; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.45); cursor: pointer; transition: width 0.25s, background 0.25s; }
.hero__dot.is-active { width: 30px; background: var(--c-gold); }

/* ==========================================================================
   6. Thẻ danh mục (hàng thẻ ảnh dưới slider)
   ========================================================================== */
.cats { padding: 22px 0 6px; }
.cats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.cat-card a { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 0 0 14px; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); text-align: center; text-decoration: none; transition: transform 0.25s, box-shadow 0.25s; }
.cat-card a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card__media { display: block; width: 100%; background: linear-gradient(180deg, var(--c-sky-soft), #fff); }
.cat-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.35s; }
.cat-card a:hover .cat-card__media img { transform: scale(1.05); }
.cat-card__name { margin-top: 10px; padding-inline: 8px; font-family: var(--f-heading); font-weight: 700; font-size: 0.98rem; line-height: 1.3; color: var(--c-navy); }
.cat-card__more { margin-top: 2px; font-size: 0.8rem; color: var(--c-text-muted); }

/* ==========================================================================
   7. Giải pháp theo ngành — dải icon tròn + thẻ ảnh
   ========================================================================== */
.seg-band { position: relative; overflow: hidden; display: grid; gap: 20px; padding: 26px 20px; border-radius: var(--radius-lg); color: #fff; background: radial-gradient(circle at 100% 0%, rgba(41, 169, 249, 0.35), transparent 50%), linear-gradient(120deg, var(--c-navy-deep), var(--c-navy) 60%, #0e50b5); box-shadow: var(--shadow); }
.seg-band__head h2 { margin-bottom: 0.3em; color: #fff; }
.seg-band__head p { margin: 0; color: rgba(234, 243, 252, 0.85); font-size: 0.95rem; }
.seg-band__head .section__eyebrow { color: var(--c-sky-2); }
.seg-band__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; margin: 0; padding: 0; list-style: none; }
.seg-dot { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; text-align: center; text-decoration: none; }
.seg-dot__icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #fff; color: var(--c-navy); box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.14); transition: transform 0.25s, background 0.25s, color 0.25s; }
.seg-dot__icon .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.seg-dot:hover { color: var(--c-gold); }
.seg-dot:hover .seg-dot__icon { transform: translateY(-4px); background: var(--c-gold); color: var(--c-navy-deep); }
.seg-dot__label { font-family: var(--f-heading); font-weight: 700; font-size: 0.88rem; line-height: 1.25; }

.seg-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 26px; }
.seg-card__link { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--radius); background: #fff; color: var(--c-text); text-decoration: none; border: 1px solid var(--c-border); box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; }
.seg-card__link:hover { color: var(--c-text); transform: translateY(-5px); box-shadow: var(--shadow); }
.seg-card__media { overflow: hidden; background: #fff; }
.seg-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.4s; }
.seg-card__link:hover .seg-card__media img { transform: scale(1.05); }
.seg-card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 32px 20px 20px; }
.seg-card__icon { position: absolute; top: -26px; left: 20px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--c-sky); color: #fff; border: 4px solid #fff; box-shadow: var(--shadow-sm); }
.seg-card__icon .icon { width: 24px; height: 24px; }
.seg-card__label { margin: 0 0 6px; font-size: 1.12rem; }
.seg-card__text { margin: 0 0 12px; font-size: 0.92rem; color: var(--c-text-muted); }
.seg-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-family: var(--f-heading); font-weight: 700; color: var(--c-sky); }
.seg-card__more .icon { width: 16px; height: 16px; transition: transform 0.2s; }
.seg-card__link:hover .seg-card__more .icon { transform: translateX(4px); }

/* ==========================================================================
   8. Thẻ sản phẩm, dải sản phẩm dùng nhiều, tab sản phẩm
   ========================================================================== */
.product { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; }
.product:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.product[hidden] { display: none; }
.product__media { position: relative; background: #fff; }
.product__media img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 10px; transition: transform 0.35s; }
.product:hover .product__media img { transform: scale(1.05); }
.product__badge { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 6px; background: linear-gradient(90deg, var(--c-navy), var(--c-sky)); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; }
.product__body { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; border-top: 1px solid var(--c-border); }
.product__code { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; color: var(--c-sky); }
.product__name { margin: 2px 0 8px; font-size: 0.98rem; line-height: 1.35; color: var(--c-navy); }
.product__specs { margin: 0 0 8px; padding: 0; list-style: none; font-size: 0.84rem; line-height: 1.45; }
.product__specs li { margin-bottom: 3px; }
.product__specs span { color: var(--c-text-muted); }
.product__for { margin-bottom: 8px; font-size: 0.78rem; line-height: 1.4; color: var(--c-text-muted); }
.product__more { margin-bottom: 12px; font-size: 0.84rem; }
.product__more summary { cursor: pointer; font-weight: 700; color: var(--c-navy); }
.product__more dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; margin: 8px 0 0; }
.product__more dt { color: var(--c-text-muted); }
.product__more dd { margin: 0; }
.product__cta { margin-top: auto; width: 100%; }
.grid--products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.product-group { margin-bottom: 3rem; }
.product-group:last-child { margin-bottom: 0; }
.product-group__head { max-width: 780px; margin-bottom: 1.4rem; }
.product-group__head h2 { margin-bottom: 0.3em; }
.product-group__head p { color: var(--c-text-muted); margin-bottom: 0.4em; }
[data-product-filter] { margin-bottom: 2rem; }

/* Dải "dùng nhiều" — nền xanh da trời như dải màu của mẫu */
.band-sky__box { padding: 20px 14px 24px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--c-sky) 0%, #1e9af0 60%, var(--c-sky-2) 100%); box-shadow: var(--shadow); }
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.rail-head__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem); color: #fff; }
.rail-head__title .icon { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--c-gold); color: var(--c-navy-deep); fill: currentColor; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav__btn { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #fff; color: var(--c-navy); cursor: pointer; box-shadow: var(--shadow-sm); transition: background 0.2s, color 0.2s; }
.rail-nav__btn:hover { background: var(--c-gold); color: var(--c-navy-deep); }
.rail-nav__btn .icon { width: 18px; height: 18px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .product { scroll-snap-align: start; border: 0; }
.rail .product__for, .rail .product__more { display: none; }
.band-sky .center-cta { margin-top: 1.4rem; }

/* Tab sản phẩm */
.tabs-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.tabs-head__title { margin: 0; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.tab { flex: none; padding: 8px 16px; border-radius: var(--radius-pill); background: #fff; border: 1.5px solid var(--c-border); color: var(--c-navy); font-weight: 600; font-size: 0.9rem; text-decoration: none; white-space: nowrap; transition: all 0.2s; }
.tab:hover { border-color: var(--c-sky); color: var(--c-sky); }
.tab.is-active { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-navy-deep); }
.tab-panel__layout { display: grid; gap: 16px; }
.tab-panel__intro { display: flex; flex-direction: column; padding: 20px; border-radius: var(--radius); color: #fff; background: radial-gradient(circle at 100% 0%, rgba(41, 169, 249, 0.45), transparent 55%), linear-gradient(160deg, var(--c-navy), var(--c-navy-deep)); }
.tab-panel__intro img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: var(--radius-sm); background: #fff; margin-bottom: 14px; }
.tab-panel__intro h3 { color: #fff; margin-bottom: 0.3em; }
.tab-panel__intro p { font-size: 0.92rem; color: rgba(234, 243, 252, 0.85); }
.tab-panel__intro .btn { align-self: flex-start; margin-top: auto; }

/* ==========================================================================
   9. Banner đôi
   ========================================================================== */
.banners { display: grid; gap: 16px; }
.banner { position: relative; overflow: hidden; min-height: 240px; border-radius: var(--radius-lg); background: var(--c-navy); box-shadow: var(--shadow-sm); }
.banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.banner:hover .banner__img { transform: scale(1.04); }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 31, 74, 0.92) 0%, rgba(6, 31, 74, 0.7) 45%, rgba(6, 31, 74, 0.05) 100%); }
.banner__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; max-width: 360px; height: 100%; padding: 26px 24px; color: #fff; }
.banner__eyebrow { margin-bottom: 6px; padding: 3px 12px; border-radius: var(--radius-pill); background: var(--c-gold); color: var(--c-navy-deep); font-size: 0.78rem; font-weight: 700; }
.banner__title { margin-bottom: 0.35em; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.65rem); color: #fff; }
.banner p { font-size: 0.94rem; color: rgba(234, 243, 252, 0.9); }
.banner .btn { margin-top: auto; }

/* ==========================================================================
   10. Giới thiệu, số liệu, 5 KHÔNG, quy trình
   ========================================================================== */
.about { display: grid; gap: 36px; }
.about__media { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.about__img { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--1 { position: relative; grid-row: 1 / span 2; min-height: 300px; }
.about__img--1 img { position: absolute; inset: 0; }
.about__img--2 img, .about__img--3 img { aspect-ratio: 1; }
.about__text p { color: var(--c-text); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 1.25rem 0 1.5rem; padding: 0; list-style: none; }
.stats li { display: flex; flex-direction: column; padding: 14px; border-radius: var(--radius-sm); background: var(--c-bg); border-left: 4px solid var(--c-sky); }
.stats strong { font-family: var(--f-heading); font-size: 1.5rem; line-height: 1.1; color: var(--c-navy); }
.stats span { margin-top: 4px; font-size: 0.82rem; line-height: 1.35; color: var(--c-text-muted); }
.about__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.about__hotline { display: flex; flex-direction: column; line-height: 1.2; text-decoration: none; }
.about__hotline span { font-size: 0.84rem; color: var(--c-text-muted); }
.about__hotline strong { font-family: var(--f-heading); font-size: 1.5rem; color: var(--c-navy); }

.five-no { margin-top: 2.25rem; padding: 22px; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--c-sky-soft), #fff); border: 1px solid var(--c-border); text-align: center; }
.five-no__title { margin-bottom: 14px; font-family: var(--f-heading); font-weight: 700; font-size: 1.12rem; color: var(--c-navy); }
.five-no__title strong { color: var(--c-sky); letter-spacing: 0.03em; }
.five-no__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; margin: 0; padding: 0; list-style: none; counter-reset: no; }
.five-no__list li { display: inline-flex; align-items: center; gap: 8px; counter-increment: no; font-weight: 600; font-size: 0.94rem; color: var(--c-navy); }
.five-no__list li::before { content: counter(no); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-navy); color: #fff; font-weight: 700; font-size: 0.82rem; }
.stat-note { margin: 14px 0 0; font-size: 0.78rem; color: var(--c-text-muted); }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.stat-row li { display: flex; flex-direction: column; align-items: center; padding: 20px 12px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.08); text-align: center; }
.stat-row strong { font-family: var(--f-heading); font-size: 2.2rem; line-height: 1.1; color: var(--c-gold); }
.stat-row span { margin-top: 6px; font-size: 0.9rem; }

.steps4 { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: st; }
.steps4__item { counter-increment: st; position: relative; padding: 24px 20px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); transition: box-shadow 0.25s, transform 0.25s; }
.steps4__item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.steps4__item::before { content: "0" counter(st); position: absolute; top: 14px; right: 18px; font-family: var(--f-heading); font-weight: 700; font-size: 2.3rem; line-height: 1; color: var(--c-sky-soft); }
.steps4__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 14px; border-radius: 50%; background: var(--c-sky); color: #fff; }
.steps4__icon .icon { width: 26px; height: 26px; }
.steps4__item h3 { margin-bottom: 6px; }
.steps4__item p { margin: 0; font-size: 0.93rem; color: var(--c-text-muted); }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 22px 62px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-sky); color: #fff; font-family: var(--f-heading); font-weight: 700; }

.feature { padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 50%; background: var(--c-sky-soft); color: var(--c-navy); }

.frame-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-border); transition: transform 0.25s, box-shadow 0.25s; }
.frame-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.frame-card__media { display: block; overflow: hidden; background: #fff; }
.frame-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.4s; }
.frame-card:hover .frame-card__media img { transform: scale(1.04); }
.frame-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.frame-card__title { margin-bottom: 0.45em; font-size: 1.05rem; line-height: 1.4; }
.frame-card__title a { color: var(--c-navy); text-decoration: none; }
.frame-card__title a:hover { color: var(--c-sky); }
.frame-card__body p, .frame-card__text { font-size: 0.9rem; color: var(--c-text-muted); }
.frame-card__text p { margin: 0 0 0.6em; }
.frame-card__meta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 0.85rem; font-weight: 700; color: var(--c-sky); }
.frame-card__meta .icon { width: 16px; height: 16px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.duo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.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; }

/* ==========================================================================
   11. FAQ, khu vực, liên hệ, form
   ========================================================================== */
.faq { max-width: 880px; margin-inline: auto; }
.faq__item { margin-bottom: 10px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--c-border); }
.faq__h { margin: 0; }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 15px 18px; border: 0; background: none; text-align: left; font-family: var(--f-heading); font-weight: 700; font-size: 1.02rem; color: var(--c-navy); cursor: pointer; }
.faq__q::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c-sky-soft); font-size: 1.2rem; line-height: 1; color: var(--c-navy); transition: transform 0.2s, background 0.2s; }
.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); background: var(--c-gold); }
.faq__a { padding: 0 18px 16px; }
.faq__a p:last-child { margin-bottom: 0; }

.office { display: grid; gap: 20px; }
.office__info { padding: 26px 22px; border-radius: var(--radius-lg); background: var(--c-bg); border: 1px solid var(--c-border); }
.office__info p { margin-bottom: 0.8em; }
.office__map iframe { display: block; width: 100%; height: 340px; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.area-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.area-list li { display: flex; align-items: center; gap: 6px; font-size: 0.92rem; font-weight: 600; color: var(--c-navy); }
.area-list .icon { width: 16px; height: 16px; color: var(--c-sky); }
.contact-list { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.contact-list li { padding: 10px 0; border-bottom: 1px dashed var(--c-border); }
.contact-map { display: block; width: 100%; border: 0; border-radius: var(--radius-lg); }

.form { position: relative; display: grid; gap: 14px; padding: 24px 22px; background: #fff; color: var(--c-text); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form__row { display: grid; gap: 14px; }
.form label { display: block; margin-bottom: 4px; font-weight: 600; font-size: var(--fs-sm); color: var(--c-navy); }
.form input, .form select, .form textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--c-border); border-radius: var(--radius-btn); background: #f8fbfe; color: var(--c-text); }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--c-sky); outline: none; box-shadow: 0 0 0 3px rgba(10, 135, 224, 0.18); }
.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: #e6f6ef; color: #17643a; }
.notice--err { background: #fdecec; color: #9b1c1c; }

/* ==========================================================================
   12. Trang con, bài viết
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; padding: 28px 0 40px; color: #eaf3fc; background: radial-gradient(circle at 90% 0%, rgba(41, 169, 249, 0.4), transparent 45%), linear-gradient(120deg, var(--c-navy-deep), var(--c-navy) 70%, #0e50b5); }
.page-hero h1 { margin-bottom: 0.4em; color: #fff; }
.page-hero .section__lead { max-width: 780px; color: rgba(234, 243, 252, 0.85); }
.page-hero .btn--ghost { color: #fff; }
.page-hero .chip { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.page-hero .chip:hover { background: #fff; color: var(--c-navy); }
.page-hero .chip.is-active { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-navy-deep); }
.page-hero .tags li { background: rgba(255, 255, 255, 0.12); color: #fff; box-shadow: none; border: 1px solid rgba(255, 255, 255, 0.25); }
.page-hero--media .split { gap: 26px; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); border: 6px solid rgba(255, 255, 255, 0.9); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); background: #fff; }
.breadcrumb { margin-bottom: 10px; font-size: var(--fs-sm); color: rgba(234, 243, 252, 0.75); }
.breadcrumb a { color: #fff; }
.entry { max-width: 840px; margin-inline: auto; }
.entry--center { text-align: center; }
.entry img { border-radius: var(--radius); }
.entry h2 { margin-top: 1.7em; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); }
.entry h3 { margin-top: 1.3em; font-size: 1.15rem; }
.entry > :first-child { margin-top: 0; }
.entry blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 4px solid var(--c-sky); background: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.entry table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.25em 0; font-size: 0.93rem; background: #fff; border-radius: var(--radius-sm); }
.entry th, .entry td { padding: 10px 12px; border: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.entry th { background: var(--c-navy); color: #fff; }
.entry .box { margin: 1.5em 0; padding: 18px 20px; border-radius: var(--radius); background: var(--c-sky-soft); border-left: 4px solid var(--c-sky); }
.entry .box p:last-child { margin-bottom: 0; }
.section--tissue .entry, .section--light .entry { background: transparent; }
.pagination, .nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 2.5rem; }
.page-numbers { padding: 8px 14px; border-radius: var(--radius-sm); text-decoration: none; background: #fff; box-shadow: var(--shadow-sm); }
.page-numbers.current { background: var(--c-sky); color: #fff; }

/* ==========================================================================
   13. CTA + Footer
   ========================================================================== */
.cta-band { padding-block: 52px; background: radial-gradient(circle at 90% 0%, rgba(41, 169, 249, 0.4), transparent 50%), linear-gradient(120deg, var(--c-navy), var(--c-sky)); color: #fff; text-align: center; }
.cta-band h2 { margin-bottom: 0.3em; color: #fff; }
.cta-band .btn-group { justify-content: center; }
.cta-band .btn--ghost { color: #fff; }

.site-footer { background: #fff; color: var(--c-text); font-size: 0.94rem; border-top: 1px solid var(--c-border); }
.foot-strip { background: linear-gradient(100deg, var(--c-navy-deep), var(--c-navy) 60%, #0e50b5); color: #fff; }
.foot-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-block: 20px; }
.foot-strip__title { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--f-heading); font-weight: 700; font-size: 1.08rem; }
.foot-strip__title .icon { width: 26px; height: 26px; color: var(--c-gold); }
.foot-strip__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer__grid { display: grid; gap: 30px; padding-block: 40px 28px; }
.site-footer .site-logo { color: var(--c-navy); }
.site-footer .site-logo__mark { padding: 0; }
.site-footer .site-logo__sub { color: var(--c-sky); }
.site-footer__legal { margin: 14px 0 10px; font-weight: 700; color: var(--c-navy); }
.site-footer a { color: var(--c-text); text-decoration: none; }
.site-footer a:hover { color: var(--c-sky); }
.site-footer .foot-strip .btn--glass { color: #fff; }
.site-footer .foot-strip .btn--glass:hover { color: var(--c-navy); }
.site-footer .foot-strip .btn--gold { color: var(--c-navy-deep); }
.site-footer__title { position: relative; margin-bottom: 1em; padding-bottom: 8px; font-size: 1.05rem; color: var(--c-navy); }
.site-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--c-gold); }
.site-footer__list, .site-footer__links { list-style: none; padding: 0; margin: 0 0 1rem; }
.site-footer__list li { display: flex; gap: 10px; margin-bottom: 9px; }
.site-footer__list .icon { margin-top: 4px; color: var(--c-sky); }
.site-footer__links li { margin-bottom: 7px; }
.site-footer__links a::before { content: "› "; font-weight: 700; color: var(--c-sky); }
.site-footer__small { font-size: 0.82rem; color: var(--c-text-muted); }
.site-footer__small a { color: var(--c-sky); }
.site-footer__bottom { padding-block: 14px 84px; background: var(--c-sky-soft); font-size: 0.84rem; text-align: center; color: var(--c-text-muted); }

/* ==========================================================================
   14. Nút liên hệ nổi — mobile: thanh đáy; desktop: 2 nút tròn góc phải dưới (theo mẫu)
   ========================================================================== */
.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.78rem; 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-navy); }
.float-contact__zalo { background: #0068ff; }
.float-contact__mess { background: #a033ff; }

/* ==========================================================================
   15. Responsive
   ========================================================================== */
@media (min-width: 600px) {
	.cats__grid { grid-template-columns: repeat(3, 1fr); }
	.seg-grid { grid-template-columns: repeat(2, 1fr); }
	.seg-band__list { grid-template-columns: repeat(6, 1fr); }
	.steps4 { grid-template-columns: repeat(2, 1fr); }
	.stats { grid-template-columns: repeat(4, 1fr); }
	.stat-row { grid-template-columns: repeat(4, 1fr); }
	.form__row { grid-template-columns: 1fr 1fr; }
	.gallery { grid-template-columns: repeat(3, 1fr); }
	.rail { grid-auto-columns: 40%; }
	.banners { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
	:root { --gutter: 24px; }
	.grid--2 { grid-template-columns: repeat(2, 1fr); }
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.grid--products { grid-template-columns: repeat(3, 1fr); gap: 16px; }
	.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
	.split--top { align-items: start; }
	.about { grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: center; }
	.office { grid-template-columns: 1fr 1.2fr; align-items: stretch; }
	.office__map iframe { height: 100%; min-height: 380px; }
	.site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
	.hero__slide { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 28px; padding: 44px 40px 56px; min-height: 440px; }
	.seg-band { grid-template-columns: 1fr 2fr; align-items: center; padding: 30px 32px; }
	.band-sky__box { padding: 26px 26px 30px; }
	.rail { grid-auto-columns: calc((100% - 42px) / 4); gap: 14px; }
	.tabs { flex-wrap: wrap; overflow: visible; }
	.tab-panel__layout { grid-template-columns: 260px 1fr; align-items: stretch; }
	.page-hero { padding: 34px 0 52px; }
}
@media (min-width: 1024px) {
	:root { --header-h: 96px; }
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(4, 1fr); }
	.gallery { grid-template-columns: repeat(4, 1fr); }
	.cats__grid { grid-template-columns: repeat(6, 1fr); gap: 16px; }
	.seg-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
	.steps4 { grid-template-columns: repeat(4, 1fr); }
	.grid--products { grid-template-columns: repeat(4, 1fr); }
	.rail { grid-auto-columns: calc((100% - 56px) / 5); }
	.grid--products-4 { grid-template-columns: repeat(4, 1fr); }

	/* Header: tầng 1 đầy đủ, tầng 2 menu ngang (không dính khi cuộn — giống mẫu) */
	.site-header { position: relative; }
	.head-main__inner { gap: 32px; }
	.head-search { display: block; }
	.head-contact { display: flex; }
	.nav-toggle { display: none; }
	.site-logo__img { height: 40px; }
	.site-logo__name { font-size: 1.15rem; }
	.primary-nav { position: static; transform: none; padding: 0; overflow: visible; background: none; }
	.primary-nav__contact, .search-box--menu { display: none; }
	.primary-nav > div > ul, .primary-nav > ul { display: flex; gap: 2px; }
	.primary-nav a { padding: 13px 16px; border: 0; color: #fff; font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; }
	.primary-nav > ul > li > a:hover, .primary-nav > div > ul > li > a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
	.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { color: #fff; box-shadow: inset 0 -3px 0 var(--c-gold); }
	.primary-nav li { position: relative; }
	.primary-nav .menu-item-has-children > a::after, .primary-nav .page_item_has_children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
	.primary-nav .sub-menu, .primary-nav .children { position: absolute; top: 100%; left: 0; z-index: 5; min-width: 270px; padding: 8px 0; background: #fff; border-radius: 0 0 var(--radius) var(--radius); border-top: 3px solid var(--c-gold); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; }
	.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu,
	.primary-nav li:hover > .children, .primary-nav li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
	.primary-nav .sub-menu a, .primary-nav .children a { padding: 8px 20px; color: var(--c-navy); text-transform: none; font-weight: 600; letter-spacing: 0; box-shadow: none; }
	.primary-nav .sub-menu a:hover { color: var(--c-sky); background: var(--c-sky-soft); }
	.head-cta { display: inline-flex; }

	/* Hero */
	.hero { padding-top: 0; background: linear-gradient(180deg, var(--c-sky) 0 50px, var(--c-bg) 50px); }
	.hero__slide { grid-template-columns: 1.1fr 1fr; padding: 56px 64px 64px; min-height: 480px; }
	.hero__lead { font-size: 1.1rem; }
	.hero__call { position: absolute; right: 0; bottom: 10%; display: flex; flex-direction: column; padding: 10px 18px; border-radius: var(--radius) 0 0 var(--radius); background: #fff; color: var(--c-navy); text-decoration: none; box-shadow: var(--shadow); line-height: 1.2; }
	.hero__call small { font-size: 0.75rem; color: var(--c-text-muted); }
	.hero__call strong { font-family: var(--f-heading); font-size: 1.3rem; }
	.hero__tag { left: 10%; }
	.page-hero--media .split { grid-template-columns: 1.1fr 1fr; }

	.float-contact { left: auto; right: 18px; top: auto; bottom: 22px; grid-auto-flow: row; gap: 12px; padding: 0; background: none; box-shadow: none; }
	.float-contact__btn { width: 54px; height: 54px; min-height: 0; border-radius: 50%; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22); animation: hnp-pulse 2.4s infinite; }
	.float-contact__btn span { display: none; }
	.site-footer__bottom { padding-bottom: 16px; }
}
@keyframes hnp-pulse { 0%, 100% { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22), 0 0 0 0 rgba(10, 135, 224, 0.35); } 50% { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22), 0 0 0 10px rgba(10, 135, 224, 0); } }
@media (max-width: 599px) {
	.site-logo__mark { padding: 4px 6px; }
	.site-logo__img { height: 26px; }
	.site-logo__name { font-size: 0.92rem; }
	.site-logo__sub { font-size: 0.58rem; letter-spacing: 0.03em; }
	.nav-toggle__label { display: none; }
	.hero__plate { width: 78%; }
	.seg-band__head p { display: none; }
	.about__img--1 { min-height: 240px; }
	.seg-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.seg-card__text { display: none; }
	.seg-card__body { padding: 28px 12px 14px; }
	.seg-card__icon { left: 12px; width: 44px; height: 44px; top: -22px; }
	.seg-card__label { font-size: 0.98rem; }
	.tab-panel__intro img, .tab-panel__intro p { display: none; }
	.tab-panel__intro { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; }
	.tab-panel__intro h3 { margin: 0; }
	.tab-panel__intro .btn { margin-top: 0; }
	.grid--products .product__for, .grid--products .product__more { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
