/*
Theme Name: Túi Vải Đay KOVAS
Theme URI: https://tuivaiday.com.vn/
Author: KOVAS
Description: Theme viết tay cho tuivaiday.com.vn – xưởng may túi vải đay in logo KOVAS. Dữ liệu gom trong inc/data.php, schema JSON-LD, form báo giá lưu đơn, nút liên hệ nổi, 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: tuivaiday
*/

/* ==========================================================================
   1. Tokens — đổi giao diện chủ yếu ở đây (màu theo logo KOVAS, nhịp theo web mẫu)
   ========================================================================== */
:root {
	--c-primary: #0b4fa8;
	--c-primary-dark: #083d84;
	--c-brand: #1565c0;
	--c-brand-light: #1e88e5;
	--c-sky: #29b6f6;
	--c-accent: #ff9f1c;
	--c-accent-light: #ffc94a;
	--c-yellow-text: #ffd84d;
	--c-bg: #ffffff;
	--c-bg-alt: #eef5fc;
	--c-grey: #f1f3f5;
	--c-bg-dark: #06264f;
	--c-footer: #041d3d;
	--c-text: #222222;
	--c-heading: #0b2a55;
	--c-gray: #4a4a4a;
	--c-text-muted: #555555;
	--c-text-invert: #ffffff;
	--c-border: #dce6f0;

	--f-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-heading: "Oswald", "Arial Narrow", sans-serif;
	--f-script: "Dancing Script", cursive;

	--fs-sm: 0.875rem;
	--fs-base: 1rem;
	--fs-lg: 1.075rem;
	--fs-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
	--fs-h2: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
	--fs-h1: clamp(2rem, 1.5rem + 2.2vw, 3rem);
	--fs-script: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem);

	--radius: 16px;
	--radius-sm: 6px;
	--radius-pill: 999px;
	--shadow: 0 15px 30px -18px rgba(0, 0, 0, 0.45);
	--shadow-drop: 0 15px 20px -15px rgba(0, 0, 0, 0.55);
	--shadow-soft: 0 18px 30px -24px rgba(6, 38, 79, 0.5);

	--space-section: clamp(3rem, 2.2rem + 3.5vw, 5rem);
	--container: 1200px;
	--gutter: 16px;
	--topbar-h: 64px;
	--nav-h: 54px;
	--header-h: 64px;
	--pattern: repeating-radial-gradient(circle at 18% 30%, transparent 0 26px, rgba(11, 79, 168, 0.045) 26px 27px), repeating-radial-gradient(circle at 85% 80%, transparent 0 30px, rgba(11, 79, 168, 0.04) 30px 31px);
	--grad-brand: linear-gradient(135deg, #1e88e5 0%, #1565c0 38%, #0b4fa8 70%, #083d84 100%);
	--grad-accent: linear-gradient(180deg, var(--c-accent-light), var(--c-accent));
}

/* ==========================================================================
   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.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-brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-primary-dark); }
h1, h2, h3, h4 { font-family: var(--f-heading); font-weight: 600; line-height: 1.2; margin: 0 0 0.6em; color: var(--c-heading); }
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.25em; height: 1.25em; 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; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); }
.section--alt { background: var(--c-bg-alt); }
.section--grey { background: var(--c-grey); }
.section--pattern { background: var(--c-bg) var(--pattern); }
.section--brand, .section--dark { color: var(--c-text-invert); }
.section--brand { background: radial-gradient(circle at 12% 18%, rgba(41, 182, 246, 0.35), transparent 42%), var(--grad-brand); }
.section--dark { background: radial-gradient(circle at 85% 10%, rgba(30, 136, 229, 0.35), transparent 45%), radial-gradient(circle at 10% 90%, rgba(41, 182, 246, 0.18), transparent 40%), var(--c-bg-dark); }
.section--brand .section__title, .section--dark .section__title { color: #fff; }
.section--brand .section__script, .section--dark .section__script { color: var(--c-yellow-text); }
.section--brand .section__lead, .section--dark .section__lead { color: rgba(255, 255, 255, 0.85); }

.section__head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.section__script { display: block; font-family: var(--f-script); font-size: var(--fs-script); font-weight: 700; line-height: 1.25; color: var(--c-brand); transform: rotate(-3deg); margin-bottom: 0.35rem; }
.section__title { margin-bottom: 0.4em; text-transform: uppercase; letter-spacing: 0.01em; }
.section__lead { color: var(--c-text-muted); font-size: var(--fs-lg); margin-bottom: 0; }
.section__actions { margin: 2.5rem 0 0; text-align: center; }
.grid { display: grid; gap: 24px; grid-template-columns: 1fr; }

/* ==========================================================================
   3. Nút
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 28px; border: 2px solid transparent; border-radius: var(--radius-pill); font-weight: 700; font-size: 0.95rem; line-height: 1.25; letter-spacing: 0.02em; text-transform: uppercase; text-align: center; text-decoration: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, filter 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 20px; height: 20px; }
.btn--primary { background: linear-gradient(180deg, var(--c-brand-light), var(--c-primary)); color: #fff; box-shadow: var(--shadow-drop); }
.btn--primary:hover { color: #fff; filter: brightness(1.08); }
.btn--accent { background: var(--grad-accent); color: #2b2b2b; box-shadow: var(--shadow-drop); }
.btn--accent:hover { color: #2b2b2b; filter: brightness(1.05); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.75); color: #fff; background: transparent; }
.btn--ghost-light:hover { color: var(--c-heading); background: #fff; }
.btn--zalo { background: #0068ff; color: #fff; }
.btn--zalo:hover { color: #fff; filter: brightness(1.08); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 0.8rem; }
.btn--block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-group--stack { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
.btn-group--stack .btn { padding-inline: 10px; font-size: 0.85rem; }

/* ==========================================================================
   4. Header — tầng trên (logo) + thanh menu xanh đậm
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--c-bg); transition: box-shadow 0.2s; }
.site-header.is-scrolled { box-shadow: var(--shadow); }
.header-top__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
.header-info { display: none; }
.site-logo { display: flex; align-items: center; min-width: 0; font-family: var(--f-heading); font-size: 1.3rem; font-weight: 700; color: var(--c-brand); text-decoration: none; }
.site-logo__img { width: auto; height: 44px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--c-bg-alt); 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; background: var(--c-primary); padding: 8px 0 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: 13px 0; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.primary-nav .sub-menu a, .primary-nav .children a { padding-left: 16px; font-weight: 500; color: rgba(255, 255, 255, 0.85); }
.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav .current_page_item > a, .primary-nav a:hover { color: var(--c-yellow-text); }
.primary-nav .primary-nav__cta { display: flex; width: 100%; margin-top: 20px; padding: 12px 28px; border: 0; color: #2b2b2b; }

/* ==========================================================================
   5. Hero trang chủ — ảnh trái, panel gradient phải (theo mẫu)
   ========================================================================== */
.hero { display: grid; background: var(--c-primary-dark); color: #fff; overflow: hidden; }
.hero__media { position: relative; aspect-ratio: 1 / 0.85; background: var(--c-bg-alt); }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__panel { position: relative; padding: 36px var(--gutter) 40px; background: radial-gradient(circle at 80% 12%, rgba(41, 182, 246, 0.45), transparent 40%), radial-gradient(circle at 20% 95%, rgba(255, 255, 255, 0.12), transparent 35%), var(--grad-brand); }
.hero__content { position: relative; max-width: 620px; }
.hero__title { margin: 0 0 1rem; color: #fff; line-height: 1; text-wrap: balance; }
.hero__script { display: block; font-family: var(--f-script); font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); font-weight: 700; transform: rotate(-3deg); transform-origin: left; text-shadow: 0 3px 10px rgba(0, 0, 0, 0.25); margin-bottom: 0.15em; }
.hero__script::after { content: ""; display: block; width: 72%; height: 3px; margin-top: 2px; border-radius: 3px; background: linear-gradient(90deg, var(--c-yellow-text), transparent); }
.hero__big { display: block; font-family: var(--f-heading); font-weight: 700; font-size: clamp(3rem, 2rem + 4.6vw, 5.4rem); line-height: 1; letter-spacing: 0.01em; color: #fff; -webkit-text-stroke: 2px #0a3f8a; paint-order: stroke fill; text-shadow: 0 5px 0 #0a3f8a, 0 10px 22px rgba(0, 0, 0, 0.3); }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 0.12em; }
.hero__big--2 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.9rem); }
.hero__tag { display: inline-block; padding: 6px 16px; border: 2px solid #fff; border-radius: 10px; background: var(--grad-accent); color: #2b2b2b; font-family: var(--f-heading); font-weight: 600; font-size: clamp(1.25rem, 1rem + 1.1vw, 2rem); line-height: 1.15; box-shadow: var(--shadow-drop); }
.hero__lead { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); color: rgba(255, 255, 255, 0.95); margin-bottom: 1.25rem; }
.hero__chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.hero__chips li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px 8px; border-radius: 12px; background: #fff; color: var(--c-primary); font-size: 0.84rem; font-weight: 600; line-height: 1.25; text-align: center; box-shadow: var(--shadow-drop); }
.hero__chips .icon { width: 26px; height: 26px; color: var(--c-brand-light); }
.hero__chips li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.hero__stat { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; padding: 16px 18px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.97); color: var(--c-text); box-shadow: var(--shadow-drop); }
.hero__stat-icon { grid-row: span 2; color: var(--c-brand); }
.hero__stat-icon .icon { width: 40px; height: 40px; }
.hero__stat-num { font-family: var(--f-heading); font-size: 2.2rem; line-height: 1; color: var(--c-primary); }
.hero__stat-label { font-size: 0.88rem; line-height: 1.35; color: var(--c-text-muted); }
.hero__cta { grid-column: 1 / -1; margin-top: 10px; }

/* Đầu trang con */
.page-hero { position: relative; padding-block: 44px 48px; color: #fff; background: radial-gradient(circle at 85% 20%, rgba(41, 182, 246, 0.4), transparent 45%), var(--grad-brand); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: 0.6; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 900px; text-wrap: balance; }
.page-hero__lead { max-width: 780px; font-size: var(--fs-lg); color: rgba(255, 255, 255, 0.92); text-align: justify; text-align-last: left; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.25rem; }
.breadcrumb { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.8); margin-bottom: 10px; }
.breadcrumb a { color: inherit; }

/* ==========================================================================
   6. Lý do 01–06, chọn theo ngành, thẻ dịch vụ
   ========================================================================== */
.reasons { display: grid; gap: 20px; }
.reasons__col { display: grid; gap: 16px; align-content: center; }
.reason { display: flex; gap: 16px; padding: 20px; border: 1px solid #e4edf6; border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); }
.reason__num { flex: none; font-family: var(--f-heading); font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--c-brand-light); opacity: 0.9; }
.reason__title { margin-bottom: 0.3em; font-size: 1.2rem; color: var(--c-heading); }
.reason p { margin: 0; color: var(--c-text-muted); font-size: 0.95rem; }
.reasons__media { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); align-self: center; }
.reasons__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.areas { gap: 20px; }
.area { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 20px; background: #fff; color: var(--c-text); text-decoration: none; box-shadow: var(--shadow-drop); transition: transform 0.2s; }
a.area:hover { transform: translateY(-4px); color: var(--c-text); }
.area__media { flex: none; width: 104px; height: 104px; border-radius: 14px; overflow: hidden; background: var(--c-bg-alt); }
.area__media img { width: 100%; height: 100%; object-fit: cover; }
.area__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.area__title { font-family: var(--f-heading); font-size: 1.25rem; font-weight: 600; line-height: 1.2; color: var(--c-primary); }
.area__text { font-size: 0.9rem; line-height: 1.45; color: var(--c-text-muted); }
.area__size { font-size: 0.85rem; color: var(--c-gray); }
.area__size strong { color: var(--c-brand); }

.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__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.card__title { margin-bottom: 0.4em; }
.card__title a { color: inherit; text-decoration: none; }
.card__text { color: var(--c-text-muted); }
.card__text p { margin: 0 0 0.6em; }
.card__meta { margin-top: auto; font-weight: 600; color: var(--c-brand); text-decoration: none; }

/* ==========================================================================
   7. Thẻ size (sản phẩm), bảng so sánh, bảng giá
   ========================================================================== */
.p-cards { gap: 22px; }
.p-card { display: flex; flex-direction: column; padding: 10px; border-radius: 18px; background: var(--c-brand); color: #fff; box-shadow: var(--shadow-drop); }
.section--brand .p-card { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.28); }
.p-card__media { position: relative; border-radius: 12px; overflow: hidden; background: #fff; aspect-ratio: 4 / 3; }
.p-card__media img { width: 100%; height: 100%; object-fit: cover; }
.p-card__badge { position: absolute; top: 10px; left: 10px; display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 8px; border: 2px solid #fff; border-radius: var(--radius-pill); background: var(--grad-accent); color: #2b2b2b; font-family: var(--f-heading); font-size: 1.35rem; font-weight: 700; box-shadow: var(--shadow-drop); }
.p-card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 8px 6px; }
.p-card__code { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--c-yellow-text); }
.p-card__title { margin: 2px 0 10px; color: #fff; font-size: 1.25rem; text-transform: uppercase; }
.p-card__specs { margin: 0 0 14px; font-size: 0.82rem; }
.p-card__specs div { display: grid; grid-template-columns: 78px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.p-card__specs dt { color: rgba(255, 255, 255, 0.75); }
.p-card__specs dd { margin: 0; font-weight: 600; }
.p-card__actions { display: flex; gap: 8px; margin-top: auto; }
.p-card__actions .btn { flex: 1; padding-inline: 8px; font-size: 0.75rem; white-space: nowrap; }
.p-card__actions .btn .icon { width: 16px; height: 16px; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-soft); border: 1px solid var(--c-border); background: #fff; }
.spec-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.95rem; }
.spec-table th { padding: 14px 16px; background: var(--c-primary); color: #fff; font-family: var(--f-heading); font-weight: 500; font-size: 1rem; letter-spacing: 0.03em; text-align: left; text-transform: uppercase; }
.spec-table td { padding: 14px 16px; border-top: 1px solid var(--c-border); vertical-align: top; }
.spec-table tbody tr:nth-child(even) { background: var(--c-bg-alt); }
.spec-table__code { font-family: var(--f-heading); font-size: 1.1rem; color: var(--c-brand); white-space: nowrap; }
.table-note { margin: 12px 0 0; font-size: var(--fs-sm); color: var(--c-text-muted); text-align: center; }
.table-title { margin: 2.5rem 0 1rem; text-align: center; text-transform: uppercase; }

.tiers { gap: 18px; }
.tier { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 18px 22px; border-radius: var(--radius); background: #fff; color: var(--c-text); text-align: center; box-shadow: var(--shadow-drop); }
.tier--featured { outline: 3px solid var(--c-accent); }
.tier__tag { position: absolute; top: -13px; padding: 3px 14px; border-radius: var(--radius-pill); background: var(--grad-accent); color: #2b2b2b; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.tier__qty { font-family: var(--f-heading); font-size: 1.5rem; font-weight: 600; color: var(--c-heading); }
.tier__price { font-family: var(--f-heading); font-size: 2.3rem; font-weight: 700; line-height: 1.1; color: var(--c-brand); }
.tier__price small { font-size: 0.95rem; font-weight: 500; color: var(--c-text-muted); }
.tier__note { font-size: 0.85rem; color: var(--c-text-muted); }
.tiers__factors { max-width: 760px; margin: 1.5rem auto 0; text-align: center; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.gifts { max-width: 880px; margin: 2rem auto 0; padding: 24px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius); background: rgba(255, 255, 255, 0.07); }
.gifts__title { display: flex; align-items: center; gap: 10px; color: #fff; text-transform: uppercase; }
.gifts__title .icon { color: var(--c-yellow-text); width: 28px; height: 28px; }
.gifts__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.gifts__list li { display: flex; gap: 10px; }
.gifts__list .icon { color: var(--c-yellow-text); margin-top: 2px; }
.gifts__pay { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }

/* ==========================================================================
   8. Xưởng, khách hàng, quy trình, FAQ
   ========================================================================== */
.factory { display: grid; gap: 32px; align-items: center; }
.factory__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.factory__img { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.factory__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.factory__img--0 { grid-column: 1 / -1; }
.factory__text > p { color: var(--c-text-muted); text-align: justify; text-align-last: left; }
.check-list { display: grid; gap: 10px; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--c-brand); color: #fff; margin-top: 1px; }
.check-list--light .icon { background: var(--c-accent); color: #2b2b2b; }

.clients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.client { margin: 0; }
.client a { display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-soft); background: #fff; }
.client img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.3s; }
.client a:hover img { transform: scale(1.05); }
.client figcaption { margin-top: 8px; font-size: 0.85rem; font-weight: 600; line-height: 1.3; text-align: center; color: var(--c-heading); }
.reviews { margin-top: 2.5rem; }
.review { position: relative; margin: 0; padding: 26px 22px 20px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.review__icon { position: absolute; top: -18px; left: 22px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad-brand); color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 2.4rem; line-height: 1; padding-top: 14px; box-shadow: var(--shadow-drop); }
.review p { color: var(--c-gray); font-style: italic; }
.review footer { display: flex; flex-direction: column; font-size: 0.9rem; }
.review footer span { color: var(--c-text-muted); }

.steps { counter-reset: step; display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.step { counter-increment: step; position: relative; padding: 0 0 0 68px; }
.step::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 52px; height: 52px; border: 3px solid #fff; border-radius: 50%; background: var(--grad-brand); color: #fff; font-family: var(--f-heading); font-size: 1.4rem; font-weight: 700; box-shadow: var(--shadow-drop); }
.step__title { margin-bottom: 0.25em; font-size: 1.2rem; text-transform: uppercase; }
.step p { margin: 0; color: var(--c-text-muted); font-size: 0.95rem; }

.faq { max-width: 880px; margin-inline: auto; }
.faq__item { margin-bottom: 12px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-soft); overflow: hidden; }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 16px 20px; border: 0; background: #fff; text-align: left; font-weight: 600; font-size: 1rem; color: var(--c-heading); cursor: pointer; transition: background 0.2s, color 0.2s; }
.faq__q::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-bg-alt); font-size: 1.3rem; line-height: 1; color: var(--c-brand); transition: transform 0.2s; }
.faq__q[aria-expanded="true"] { background: var(--grad-brand); color: #fff; }
.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); background: rgba(255, 255, 255, 0.2); color: #fff; }
.faq__a { padding: 16px 20px 6px; color: var(--c-gray); text-align: justify; text-align-last: left; }
.faq__a[hidden] { display: none; }
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.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; }

/* ==========================================================================
   9. Dải báo giá + form
   ========================================================================== */
.quote-band { position: relative; padding-block: var(--space-section); color: #fff; background: radial-gradient(circle at 10% 15%, rgba(41, 182, 246, 0.4), transparent 40%), var(--grad-brand); overflow: hidden; }
.quote-band::after { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: 0.7; pointer-events: none; }
.quote-band__inner { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
.quote-band .section__script { color: var(--c-yellow-text); }
.quote-band .section__title { color: #fff; }
.quote-band__lead { color: rgba(255, 255, 255, 0.9); font-size: var(--fs-lg); }
.quote-band__img { display: none; }
.quote-band__form { position: relative; padding: 24px 20px; border-radius: var(--radius); background: #fff; color: var(--c-text); box-shadow: var(--shadow); }
.quote-band__form-title { margin: 0 0 12px; font-family: var(--f-heading); font-size: 1.5rem; font-weight: 600; text-transform: uppercase; text-align: center; color: var(--c-brand); }
.form { display: grid; gap: 14px; }
.form__row { display: grid; gap: 14px; }
.form label { display: block; margin-bottom: 4px; font-weight: 600; font-size: 0.82rem; color: var(--c-heading); }
.form input, .form select, .form textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--c-border); border-radius: 10px; background: #f8fbfe; color: var(--c-text); }
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--c-brand); outline: none; box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.15); background: #fff; }
.form__hp { position: absolute; left: -9999px; }
.form__note { margin: 0; font-size: 0.8rem; color: var(--c-text-muted); text-align: center; }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); }
.notice--ok { background: #e8f6ec; color: #1d6b35; }
.notice--err { background: #fdecec; color: #9b1c1c; }

/* Liên hệ */
.contact { display: grid; gap: 32px; align-items: start; }
.contact__list { display: grid; gap: 14px; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.contact__list li { display: flex; gap: 12px; }
.contact__list .icon { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--c-bg-alt); color: var(--c-brand); }
.contact__list strong { display: block; font-size: 0.85rem; color: var(--c-text-muted); font-weight: 500; }
.contact__list a { font-weight: 600; text-decoration: none; }
.contact__map { display: block; margin-top: 1.5rem; border: 0; border-radius: var(--radius); }
.contact .quote-band__form { box-shadow: var(--shadow); border: 1px solid var(--c-border); }

/* ==========================================================================
   10. Nội dung trang, bài viết
   ========================================================================== */
.entry { max-width: 820px; margin-inline: auto; }
/* Canh đều đoạn văn dài cho cân đối; dòng cuối canh trái; ô bảng/chú thích ảnh giữ canh trái. */
.entry p, .entry li { text-align: justify; text-align-last: left; }
.entry td p, .entry th p, .entry figcaption { text-align: left; }
.entry img { border-radius: 12px; }
.entry h2 { margin-top: 1.6em; color: var(--c-heading); }
.entry h3 { color: var(--c-primary); }
.entry blockquote { margin: 1.5em 0; padding: 12px 20px; border-left: 4px solid var(--c-accent); background: var(--c-bg-alt); }
.entry table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.entry th, .entry td { padding: 10px 12px; border: 1px solid var(--c-border); text-align: left; }
.entry th { background: var(--c-primary); color: #fff; }
.entry__cover { width: 100%; margin-bottom: 1.5rem; }
.entry--intro { margin-bottom: 2.5rem; }
/* Trang Sản phẩm: mỗi H2 trong nội dung là một khối đánh số 01, 02… (như mẫu) */
.entry--numbered { max-width: 900px; counter-reset: blk; }
.entry--numbered h2 { counter-increment: blk; position: relative; margin-top: 2.2em; padding-top: 0.2em; padding-left: 86px; min-height: 64px; }
.entry--numbered h2::before { content: counter(blk, decimal-leading-zero); position: absolute; left: 0; top: -0.1em; font-size: 3.6rem; font-weight: 700; line-height: 1; color: var(--c-brand-light); opacity: 0.22; }
.entry--numbered > :first-child { margin-top: 0; }
.layout-aside { display: grid; gap: 40px; }
.layout-aside .entry { margin: 0; max-width: none; }
.aside-box { padding: 24px 20px; border: 2px solid var(--c-brand); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.aside-box__title { margin: 0 0 4px; font-family: var(--f-heading); font-size: 1.35rem; font-weight: 600; text-transform: uppercase; color: var(--c-heading); }
.aside-box__price { margin-bottom: 14px; color: var(--c-text-muted); }
.aside-box__price strong { font-family: var(--f-heading); font-size: 1.8rem; color: var(--c-brand); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 2.5rem; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); text-decoration: none; }
.pagination .current { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }

/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer { padding-top: 56px; background: var(--c-footer); color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--c-yellow-text); }
.site-footer__grid { display: grid; gap: 32px; }
.site-footer__name, .site-footer__title { margin: 0 0 14px; font-family: var(--f-heading); font-size: 1.15rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: #fff; }
.site-footer__title:not(:first-child) { margin-top: 24px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer__contact li { display: flex; gap: 10px; }
.site-footer__contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--c-sky); }
.site-footer__social { margin-bottom: 18px !important; }
.site-footer__bottom { margin-top: 40px; padding-block: 18px 88px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; text-align: center; }

/* ==========================================================================
   12. 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: 600; 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-brand); }
.float-contact__zalo { background: #0068ff; }
.float-contact__mess { background: #a033ff; }

/* ==========================================================================
   13. Responsive
   ========================================================================== */
@media (min-width: 600px) {
	.form__row { grid-template-columns: 1fr 1fr; }
	.hero__chips { grid-template-columns: repeat(3, 1fr); }
	.hero__chips li:last-child:nth-child(odd) { grid-column: auto; }
	.clients { grid-template-columns: repeat(3, 1fr); }
	.gallery { grid-template-columns: repeat(3, 1fr); }
	.gifts__list { grid-template-columns: 1fr 1fr; }
}
@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; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.hero__stat { grid-template-columns: auto auto 1fr; }
	.hero__stat-icon { grid-row: auto; }
	.hero__cta { grid-column: 1 / -1; }
	.steps { grid-template-columns: repeat(5, 1fr); gap: 16px; }
	.step { padding: 72px 0 0; text-align: center; }
	.step::before { left: 50%; transform: translateX(-50%); width: 60px; height: 60px; font-size: 1.6rem; }
	.step:not(:last-child)::after { content: ""; position: absolute; top: 30px; left: calc(50% + 36px); right: calc(-50% + 28px); border-top: 2px dashed var(--c-brand-light); opacity: 0.5; }
	.quote-band__form { padding: 30px 28px; }
	.factory__gallery { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
	:root { --header-h: calc(var(--topbar-h) + var(--nav-h)); --topbar-h: 92px; }
	html { scroll-padding-top: calc(var(--nav-h) + 12px); }
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(4, 1fr); }
	.gallery { grid-template-columns: repeat(4, 1fr); }
	.clients { grid-template-columns: repeat(6, 1fr); }

	/* Header: tầng trên trượt đi khi cuộn, thanh menu xanh dính lại (như mẫu) */
	.site-header { top: calc(-1 * var(--topbar-h)); }
	.header-top__inner { display: grid; grid-template-columns: 1fr auto 1fr; min-height: var(--topbar-h); }
	.header-info { display: flex; gap: 22px; }
	.header-info__item { display: flex; align-items: center; gap: 10px; color: var(--c-text); text-decoration: none; line-height: 1.25; }
	.header-info__item small { display: block; font-size: 0.8rem; color: var(--c-text-muted); }
	.header-info__item strong { display: block; color: var(--c-brand); font-size: 0.95rem; }
	.header-info__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--c-brand); color: #fff; }
	.header-info__icon .icon { width: 20px; height: 20px; }
	.header-info__icon--accent { background: var(--grad-accent); color: #2b2b2b; }
	.site-logo { justify-self: center; }
	.site-logo__img { height: 62px; }
	.header-actions { justify-self: end; }
	.header-cta { display: inline-flex; }
	.nav-toggle { display: none; }
	.primary-nav { position: static; transform: none; padding: 0; overflow: visible; }
	.primary-nav .container { display: flex; align-items: center; justify-content: center; }
	.primary-nav .primary-nav__cta { display: none; }
	.primary-nav .menu, .primary-nav > .container > ul { display: flex; justify-content: space-between; width: 100%; max-width: 1100px; }
	.primary-nav li { position: relative; }
	.primary-nav a { padding: 0 12px; line-height: var(--nav-h); border: 0; white-space: nowrap; font-size: 1rem; }
	.primary-nav .sub-menu, .primary-nav .children { position: absolute; top: 100%; left: 0; min-width: 250px; padding: 8px 0; background: #fff; border-radius: 0 0 12px 12px; box-shadow: var(--shadow); display: none; }
	.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu,
	.primary-nav li:hover > .children, .primary-nav li:focus-within > .children { display: block; }
	.primary-nav .sub-menu a, .primary-nav .children a { padding: 9px 18px; line-height: 1.4; color: var(--c-text); font-weight: 500; }
	.primary-nav .sub-menu a:hover, .primary-nav .children a:hover { color: var(--c-brand); background: var(--c-bg-alt); }

	/* Hero vừa đúng một màn hình (trừ header): chữ, khoảng cách co theo chiều cao màn hình (vh)
	   để laptop thấp (màn hình 125–150%) vẫn thấy trọn ô cam kết + thanh số liệu. */
	.hero { grid-template-columns: 1.05fr 1fr; min-height: clamp(460px, calc(100svh - var(--header-h)), 720px); }
	.hero__media { aspect-ratio: auto; }
	/* Ảnh không kéo cao hero; hiện trọn túi (contain), phần trống tô cùng dải màu nền của ảnh */
	.hero__media { background: linear-gradient(180deg, #d3d8d3 0%, #d8dcdf 50%, #e6f0f8 100%); }
	.hero__img { position: absolute; inset: 0; object-fit: contain; object-position: 40% center; -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 14%, #000 82%, transparent 92%); mask-image: linear-gradient(90deg, transparent 4%, #000 14%, #000 82%, transparent 92%); }
	.hero__panel { display: flex; align-items: center; padding: clamp(18px, 4.5vh, 56px) 48px clamp(18px, 4.5vh, 56px) 56px; }
	.hero__title { margin-bottom: clamp(0.4rem, 1.6vh, 1rem); }
	.hero__script { font-size: clamp(1.5rem, 5.2vh, 3rem); }
	.hero__big { font-size: clamp(2.4rem, 10.5vh, 5.4rem); }
	.hero__big--2 { font-size: clamp(1.9rem, 7.2vh, 3.9rem); }
	.hero__tag { font-size: clamp(1.1rem, 3.6vh, 2rem); padding: 4px 14px; }
	.hero__lead { font-size: clamp(0.92rem, 2.1vh, 1.15rem); line-height: 1.55; margin-bottom: clamp(0.6rem, 2.2vh, 1.25rem); }
	.hero__chips { margin-bottom: clamp(10px, 2vh, 18px); }
	.hero__chips li { padding: clamp(8px, 1.5vh, 12px) 6px; }
	.hero__chips .icon { width: clamp(20px, 3.2vh, 26px); height: clamp(20px, 3.2vh, 26px); }
	.hero__stat { padding: clamp(10px, 1.8vh, 16px) 18px; }
	.hero__stat-num { font-size: clamp(1.7rem, 4.4vh, 2.2rem); }
	.hero__stat-icon .icon { width: clamp(30px, 5vh, 40px); height: clamp(30px, 5vh, 40px); }
	.hero__panel::before { content: ""; position: absolute; top: 0; bottom: 0; left: -80px; width: 81px; background: linear-gradient(160deg, #1e88e5, #1a7ad8 60%, #1570cf); clip-path: polygon(70% 0, 100% 0, 100% 100%, 0 100%); }
	.hero__chips { grid-template-columns: repeat(5, 1fr); gap: 8px; }
	.hero__chips li { font-size: 0.78rem; padding: 12px 6px; }
	.hero__stat { grid-template-columns: auto auto minmax(150px, 1fr) auto; gap: 12px; }
	.hero__cta { grid-column: auto; margin-top: 0; padding-inline: 18px; font-size: 0.85rem; }

	.reasons { grid-template-columns: 1fr 1.05fr 1fr; gap: 28px; }
	.factory { grid-template-columns: 1.1fr 1fr; gap: 56px; }
	.quote-band__inner { grid-template-columns: 1fr 1fr; gap: 56px; }
	.quote-band__img { display: block; max-width: 280px; margin-top: 24px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transform: rotate(-3deg); }
	.contact { grid-template-columns: 1fr 1fr; gap: 56px; }
	.site-footer__grid { grid-template-columns: 2fr 1.3fr 1fr 1fr; }
	.site-footer__bottom { padding-bottom: 18px; }
	.layout-aside { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: stretch; }

	.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; }
}
/* Màn hình laptop thấp: header gọn lại để nhường chỗ cho hero. */
@media (min-width: 1024px) and (max-height: 820px) {
	:root { --topbar-h: 72px; --nav-h: 46px; }
	.site-logo__img { height: 50px; }
	.header-info__icon { width: 36px; height: 36px; }
	.header-cta { min-height: 42px; padding-block: 8px; }
}
/* Khối kêu gọi bên phải ghim theo khi cuộn (chỉ khi màn hình đủ cao). */
@media (min-width: 1024px) and (min-height: 700px) {
	.sidebar__sticky { position: sticky; top: calc(var(--nav-h) + 20px); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
