/*
Theme Name: Bao Bì Nhựa Tấn Đại Phú
Theme URI: https://baobinhuatandaiphu.com/
Author: Tấn Đại Phú
Description: Theme viết tay cho baobinhuatandaiphu.com (Công ty TNHH Tấn Đại Phú) — túi PE, bao bì PE. Nhận diện v2 (cobalt #165CC0 + trắng). Tách từ theme tandaiphu ngày 28/11/2026. Dữ liệu gom trong inc/data.php, schema JSON-LD, form nhận 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: 6.9
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: tandaiphu
*/

/* ==========================================================================
   1. Tokens — đổi giao diện chủ yếu ở đây
   ========================================================================== */
:root {
	/* Bộ nhận diện v2 (chốt 28/11/2026): cobalt #165CC0 + trắng */
	--c-primary: #165CC0;
	--c-primary-hover: #10489E;
	--c-primary-dark: #0D3B82;
	--c-accent: #165CC0;
	--c-accent-soft: #E6F0FF;
	--c-on-dark: #E6F0FF;
	--c-bg: #ffffff;
	--c-bg-alt: #EFF5FD;
	--c-bg-dark: #165CC0;
	--c-text: #111C2E;
	--c-text-muted: #42526B;
	--c-text-invert: #ffffff;
	--c-border: #D0DFF2;
	--c-silver: #D0DFF2;
	--c-ui-border: #5C718E;
	--c-ok: #126B41;

	--f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--f-heading: "Noto Serif Display", Georgia, "Times New Roman", serif;

	--fs-sm: 0.875rem;
	--fs-base: 1rem;
	--fs-lg: 1.125rem;
	--fs-h3: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
	--fs-h2: clamp(1.6rem, 1.05rem + 2.4vw, 3rem);
	--fs-h1: clamp(1.9rem, 1.3rem + 2.4vw, 3.25rem);

	--radius: 8px;
	--radius-sm: 6px;
	--radius-pill: 100px;
	--shadow: 0 1px 16px rgba(13, 59, 130, 0.09);
	--shadow-lg: 0 16px 40px rgba(13, 59, 130, 0.14);

	--space-section: clamp(3.5rem, 2.4rem + 4.5vw, 6.5rem);
	--container: 1200px;
	--gutter: 16px;
	--header-h: 72px;
	--header-gap: 12px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--header-gap) * 2); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: var(--fs-base); line-height: 1.65; color: var(--c-text); background: var(--c-bg); overflow-x: hidden; }
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-accent); }
h1, h2, h3, h4 { font-family: var(--f-heading); font-weight: 800; line-height: 1.2; margin: 0 0 0.6em; color: inherit; }
h1 { font-size: var(--fs-h1); text-wrap: balance; }
h2 { font-size: var(--fs-h2); text-wrap: balance; }
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; }
.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--dark { background: var(--c-bg-dark); color: var(--c-text-invert); }
.section__head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.section__head h2 { color: var(--c-primary); }
.section--dark .section__head h2 { color: #fff; }
.section__head--left { margin-inline: 0; text-align: left; }
/* Nhãn nhỏ có gạch ngang trên tiêu đề khối (học phong cách mẫu); căn giữa thì gạch hai bên. */
.section__eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 0.75rem; font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-primary); }
.section__eyebrow::before, .section__head:not(.section__head--left) .section__eyebrow::after { content: ""; width: 40px; height: 2px; background: var(--c-accent); }
.section__lead { color: var(--c-text-muted); font-size: var(--fs-lg); }
.section--dark .section__lead { color: rgba(255, 255, 255, 0.8); }
.section__more { margin: 2.5rem 0 0; text-align: center; }
.grid { display: grid; gap: 24px; grid-template-columns: 1fr; }

/* ==========================================================================
   3. Nút — hình viên thuốc, có mũi tên
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 28px; border: 1.5px solid transparent; border-radius: var(--radius-pill); font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn .icon-arrow { flex: none; transition: transform 0.2s; }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn--sm { min-height: 42px; padding: 8px 20px; font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-hover); color: #fff; }
.btn--accent { background: var(--c-accent); color: #fff; }
.btn--accent:hover { background: #165CC0; color: #fff; }
.btn--outline { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn--outline:hover { background: var(--c-primary); color: #fff; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--on-dark { color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.btn--on-dark:hover { background: #fff; color: var(--c-primary); }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   4. Header — thanh trắng bo góc, nổi trên ảnh đầu trang
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; padding-top: var(--header-gap); pointer-events: none; }
.site-header__inner { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); padding: 0 12px 0 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow 0.2s; }
.site-header.is-scrolled .site-header__inner { box-shadow: var(--shadow-lg); }
/* Trang con: header nằm trên nền xanh nhạt của page-hero. */
body:not(.home) .site-header { background: var(--c-bg-alt); }
.site-logo { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: var(--c-primary); }
.site-logo img { width: 72px; height: auto; flex: none; }
/* Tên + khẩu hiệu: tên to đậm, đường kẻ mảnh, khẩu hiệu nhỏ màu nhấn — 2 dòng cùng một bề rộng. */
.site-logo__text { display: inline-grid; justify-items: start; line-height: 1.1; white-space: nowrap; }
.site-logo__name { font-weight: 800; font-size: 1.32rem; letter-spacing: 0.035em; }
.site-logo__text small { justify-self: stretch; margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--c-border); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.015em; color: var(--c-accent); }
/* Tên giãn chữ cho dài bằng dòng khẩu hiệu (khẩu hiệu tiếng Việt dài hơn tiếng Anh). */
@media (min-width: 600px) {
	.site-logo__name { font-size: 1.55rem; letter-spacing: 0.02em; }
	.site-logo__text small { font-size: 0.62rem; }
	:lang(vi) .site-logo__name { letter-spacing: 0.25em; margin-right: -0.25em; }
}
.site-logo--trang { color: #fff; }
.site-logo--trang .site-logo__text small { color: var(--c-silver); border-top-color: rgba(255, 255, 255, 0.25); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 24px; height: 2px; background: var(--c-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 { pointer-events: auto; position: fixed; inset: calc(var(--header-h) + var(--header-gap) * 2) var(--gutter) auto; max-height: calc(100vh - var(--header-h) - 48px); background: #fff; padding: 8px 20px 20px; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: 0.2s; }
.nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a { display: block; padding: 12px 0; color: var(--c-text); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--c-border); }
.primary-nav .sub-menu a, .primary-nav .children a { padding-left: 16px; font-weight: 500; }
.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav a:hover { color: var(--c-accent); }
.header-cta { display: none; }
/* Chọn ngôn ngữ: viên thuốc 3 nút, ngôn ngữ đang xem nền navy. */
.lang-switch ul { display: flex; gap: 2px; margin: 0; padding: 3px; list-style: none; background: var(--c-bg-alt); border-radius: var(--radius-pill); }
.lang-switch a { display: grid; place-items: center; min-width: 34px; height: 30px; padding: 0 8px; border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.03em; color: var(--c-text-muted); text-decoration: none; transition: background 0.2s, color 0.2s; }
.lang-switch a:hover { color: var(--c-primary); }
.lang-switch a.is-current { background: var(--c-primary); color: #fff; }
.lang-switch--header { margin-left: auto; }
.lang-switch a { white-space: nowrap; }
@media (max-width: 599px) {
	.site-header__inner { gap: 8px; padding: 0 4px 0 12px; }
	.site-logo { gap: 8px; }
	.site-logo img { width: 52px; }
	.site-logo__name { font-size: 1rem; }
	.site-logo__text small { max-width: 150px; margin-top: 2px; padding-top: 2px; font-size: 0.56rem; line-height: 1.25; white-space: normal; }
	.lang-switch ul { padding: 2px; }
	.lang-switch a { min-width: 26px; height: 26px; padding: 0 6px; font-size: 0.7rem; }
}
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: 0.01em; line-height: 1.3; }
:lang(zh) .section__eyebrow { letter-spacing: 0.12em; }

/* ==========================================================================
   5. Hero — ảnh thật phủ navy chuyển màu bên trái
   ========================================================================== */
.hero { position: relative; margin-top: calc(-1 * (var(--header-h) + var(--header-gap))); padding-block: calc(var(--header-h) + 56px) 64px; color: #fff; background: linear-gradient(125deg, #0D3B82 0%, var(--c-primary) 48%, #0D3B82 100%); overflow: hidden; isolation: isolate; }
/* Lưới chấm mờ + 2 quầng sáng xanh — tạo chiều sâu cho nền navy, không cần ảnh nền. */
.hero__bgfx { position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(circle at 78% 30%, rgba(22, 92, 192, 0.45), transparent 42%),
		radial-gradient(circle at 8% 90%, rgba(22, 92, 192, 0.25), transparent 38%),
		radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.4px) 0 0 / 22px 22px; }
.hero__bgfx::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, rgba(13, 59, 130, 0.35)); }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__content { position: relative; z-index: 1; max-width: 640px; }
.hero__line { display: block; width: 92px; height: 4px; margin-bottom: 1.5rem; background: var(--c-accent); border-radius: 2px; }
.hero__badge { display: inline-block; margin-bottom: 1rem; padding: 6px 16px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.06); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.02em; }
.hero h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); margin-bottom: 1.75rem; }
.hero__lead { max-width: 580px; margin-bottom: 2rem; font-size: var(--fs-lg); color: rgba(255, 255, 255, 0.86); text-align: left; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 1.75rem 0 0; padding: 0; list-style: none; font-size: var(--fs-sm); font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--c-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
/* Ảnh bên phải: khung bo góc, ảnh máy móc xếp chồng, 2 thẻ thông tin lơ lửng. */
.hero__visual { position: relative; padding: 0 0 36px 0; }
.hero__frame { position: relative; overflow: hidden; border-radius: 24px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); outline: 1px solid rgba(255, 255, 255, 0.18); outline-offset: 6px; }
.hero__img { width: 100%; aspect-ratio: 1176 / 615; object-fit: cover; }
.hero__inset { position: absolute; left: -14px; bottom: 0; width: 26%; max-width: 170px; overflow: hidden; border: 5px solid #fff; border-radius: 16px; box-shadow: var(--shadow-lg); }
.hero__inset img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.hero__chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; background: #fff; color: var(--c-text); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25); line-height: 1.2; }
.hero__chip strong { display: block; color: var(--c-primary); font-weight: 800; }
.hero__chip small { display: block; font-size: 0.75rem; color: var(--c-text-muted); }
.hero__chip--iso { top: -18px; right: 12px; }
.hero__chip-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #e8f6ec; color: #1d8a45; }
.hero__chip--years { right: -8px; bottom: 8px; padding: 12px 18px; background: var(--c-accent); color: #fff; }
.hero__chip--years strong { color: #fff; font-size: 2rem; line-height: 1; }
.hero__chip--years small { color: rgba(255, 255, 255, 0.9); }
@media (max-width: 599px) {
	.hero__chip--iso { top: -14px; right: 6px; padding: 8px 12px; }
	.hero__chip--years { right: 4px; padding: 8px 12px; }
	.hero__chip--years strong { font-size: 1.5rem; }
	.hero__inset { left: 8px; width: 28%; border-width: 3px; }
}
@media (min-width: 1024px) {
	.hero { min-height: min(92vh, 860px); display: flex; align-items: center; }
	.hero__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
	.hero__visual { padding: 0 0 40px 24px; }
	.hero__inset { left: -8px; }
}

/* ==========================================================================
   6. Đối tác + con số
   ========================================================================== */
.partners { padding-block: 40px; border-bottom: 1px solid var(--c-border); text-align: center; }
.partners__title { margin: 0 0 20px; font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-text-muted); }
/* Dải logo chạy vòng: 2 danh sách giống nhau nối tiếp, dịch -50% rồi lặp lại liền mạch. */
.partners__marquee { overflow: hidden; padding-block: 6px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.partners__track { display: flex; width: max-content; animation: tdp-marquee var(--marquee-time, 40s) linear infinite; }
.partners__marquee:hover .partners__track, .partners__marquee:active .partners__track { animation-play-state: paused; }
@keyframes tdp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.partners__logos { display: flex; gap: 14px; margin: 0; padding: 0 14px 0 0; list-style: none; }
.partners__logos li { display: grid; place-items: center; flex: none; width: 150px; height: 84px; padding: 12px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-sm); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.partners__logos li:hover { border-color: var(--c-accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.partners__logos img { width: auto; height: auto; max-width: 100%; max-height: 58px; object-fit: contain; }
.partners__more { margin: 18px 0 0; font-size: var(--fs-sm); color: var(--c-text-muted); }
.stats { padding-block: 56px; background: var(--c-primary); color: #fff; background-image: radial-gradient(circle at 85% 20%, rgba(22, 92, 192, 0.35), transparent 45%); }
.stats__list { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); margin: 0; padding: 0; list-style: none; }
.stats__item { display: flex; flex-direction: column; gap: 6px; padding-left: 16px; border-left: 2px solid var(--c-accent); }
.stats__num { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); font-weight: 800; line-height: 1; }
.stats__label { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.82); }

/* ==========================================================================
   7. Giới thiệu — 2 ảnh so le
   ========================================================================== */
.about { display: grid; gap: 40px; align-items: center; }
.about__media { position: relative; display: grid; grid-template-columns: 0.85fr 1fr; gap: 16px; align-items: end; }
.about__img { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--1 { aspect-ratio: 3 / 4; margin-bottom: 0; }
.about__img--2 { aspect-ratio: 3 / 4.6; margin-bottom: 48px; }
.about__body p { text-align: left; color: var(--c-text-muted); }
.about .section__head { margin-bottom: 1.25rem; }
.checklist { margin: 0 0 1.75rem; padding: 0; list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; font-weight: 600; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%232E8BEA' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ==========================================================================
   8. Thẻ sản phẩm, bài viết
   ========================================================================== */
.grid--products { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--c-bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 4 / 3; background: var(--c-bg-alt); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.card__title { margin-bottom: 0.4em; font-size: 1.15rem; color: var(--c-primary); }
.card__title a { color: inherit; text-decoration: none; }
.card__text { color: var(--c-text-muted); font-size: 0.95rem; }
.card__tag { align-self: flex-start; margin: 0 0 1rem; padding: 3px 12px; border-radius: var(--radius-pill); background: var(--c-accent-soft); color: var(--c-primary); font-size: 0.8rem; font-weight: 700; }
.card__meta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-weight: 700; color: var(--c-primary); text-decoration: none; }
.card__meta:hover { color: var(--c-accent); }

/* ==========================================================================
   9. Quy trình, bảng giá, đánh giá
   ========================================================================== */
.process { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.process__step { position: relative; padding: 18px 16px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); transition: border-color 0.2s, box-shadow 0.2s; }
.process__step:hover { border-color: var(--c-accent); box-shadow: var(--shadow); }
.process__num { display: block; margin-bottom: 10px; font-size: 2.25rem; font-weight: 800; line-height: 1; color: var(--c-accent-soft); -webkit-text-stroke: 1.5px var(--c-accent); }
.process__step h3 { margin-bottom: 0.35em; color: var(--c-primary); }
.process__step p { margin: 0; color: var(--c-text-muted); font-size: 0.95rem; }

.price-table__wrap { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead { display: none; }
.price-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 20px; border-bottom: 1px solid var(--c-border); }
.price-table th[scope="row"] { grid-column: 1 / -1; order: -1; text-align: left; font-weight: 700; color: var(--c-primary); }
.price-table td { padding: 0; }
.price-table td[data-label="ĐVT"] { display: none; }
.price-table__code { font-size: 0.78rem; font-weight: 700; color: var(--c-text-muted); letter-spacing: 0.04em; }
.price-table__price { font-weight: 800; color: var(--c-primary); font-size: 1.1rem; text-align: right; white-space: nowrap; }
.price-table__price small { font-weight: 600; font-size: 0.8rem; color: var(--c-text-muted); }
.price-table__note { grid-column: 1 / -1; font-size: 0.9rem; color: var(--c-text-muted); }
.price-table__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 24px; }
.price-table__foot p { margin: 0; max-width: 720px; color: var(--c-text-muted); font-size: var(--fs-sm); }

.quote { position: relative; margin: 0; padding: 32px; background: var(--c-bg-alt); border-radius: var(--radius); }
.quote__mark { color: var(--c-accent); margin-bottom: 12px; }
.quote blockquote { margin: 0 0 20px; font-size: 1.05rem; line-height: 1.7; }
.quote blockquote p { margin: 0; text-align: left; }
.quote figcaption { display: flex; flex-direction: column; padding-top: 16px; border-top: 1px solid var(--c-border); }
.quote figcaption strong { color: var(--c-primary); }
.quote figcaption span { font-size: var(--fs-sm); color: var(--c-text-muted); }

/* ==========================================================================
   9b. Nhà máy & năng lực, chứng nhận, nút tải catalog
   ========================================================================== */
.plant { display: grid; gap: 40px; align-items: center; }
.plant__lead { color: var(--c-text-muted); text-align: left; }
.plant .section__head { margin-bottom: 1.25rem; }
.plant__gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.plant__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); grid-column: span 2; aspect-ratio: 3 / 4; }
.plant__item--1 { grid-column: span 6; aspect-ratio: 16 / 7; }
.plant__item--5, .plant__item--6 { grid-column: span 3; aspect-ratio: 4 / 3; }
.plant__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.plant__item:hover img { transform: scale(1.06); }
.plant__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; background: linear-gradient(transparent, rgba(13, 59, 130, 0.85)); color: #fff; font-size: 0.8rem; font-weight: 700; }
.btn--catalog { gap: 12px; padding-block: 8px; text-align: left; }
.btn__stack { display: flex; flex-direction: column; line-height: 1.2; }
.btn__note { margin-top: 2px; font-size: 0.72rem; font-weight: 600; opacity: 0.75; }

.cert { display: grid; gap: 32px; align-items: center; max-width: 1000px; margin-inline: auto; padding: 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.cert__media a { position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); border: 1px solid var(--c-border); }
.cert__media img { width: 100%; transition: transform 0.4s; }
.cert__media a:hover img { transform: scale(1.03); }
.cert__zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary); color: #fff; box-shadow: var(--shadow-lg); }
.cert__badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--radius-pill); background: #e8f6ec; color: #1d6b35; font-size: 0.8rem; font-weight: 700; }
.cert__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22a052; }
.cert__title { margin: 12px 0 2px; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); color: var(--c-primary); }
.cert__sub { margin-bottom: 1.25rem; color: var(--c-accent); font-weight: 700; }
.cert__rows { display: grid; gap: 0; margin: 0 0 12px; }
.cert__rows div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--c-border); }
.cert__rows dt { color: var(--c-text-muted); font-size: var(--fs-sm); }
.cert__rows dd { margin: 0; font-weight: 700; }
.cert__note { margin: 0; font-size: var(--fs-sm); color: var(--c-text-muted); }
@media (min-width: 768px) { .cert { grid-template-columns: 340px 1fr; gap: 48px; padding: 36px; } }
@media (min-width: 1024px) { .plant { grid-template-columns: 0.85fr 1.15fr; gap: 64px; } }
@media (max-width: 479px) { .cert__rows div { grid-template-columns: 1fr; gap: 2px; } }

/* ==========================================================================
   10. FAQ, album, lý do (theme gốc)
   ========================================================================== */
.feature { padding: 24px; border-radius: var(--radius); background: var(--c-bg); border: 1px solid var(--c-border); }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 50%; background: var(--c-bg-alt); color: var(--c-primary); font-size: 1.5rem; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 24px 64px; }
.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-primary); color: #fff; font-weight: 700; }
.faq { max-width: 860px; margin-inline: auto; }
.faq__item { margin-bottom: 12px; padding-inline: 24px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 18px 0; border: 0; background: none; text-align: left; font-weight: 700; font-size: var(--fs-lg); color: var(--c-primary); cursor: pointer; }
.faq__q::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-accent-soft); font-size: 1.25rem; line-height: 1; color: var(--c-primary); transition: transform 0.2s; }
.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq__a { padding-bottom: 18px; color: var(--c-text-muted); }
.faq__a p { text-align: left; }
.faq__a[hidden] { display: none; }
.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; transition: transform 0.3s; }
.gallery a:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(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. Form báo giá
   ========================================================================== */
.quote-form { display: grid; gap: 40px; align-items: start; }
.contact-list { margin: 0 0 1.75rem; padding: 0; list-style: none; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 2px; padding-left: 16px; border-left: 2px solid var(--c-accent); }
.contact-list span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-text-muted); }
.contact-list a { font-size: 1.35rem; font-weight: 800; text-decoration: none; }
.page-hero__lead p { margin: 0; }
.contact-cards { display: grid; gap: 12px; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); transition: border-color 0.2s, box-shadow 0.2s; }
.contact-card:hover { border-color: var(--c-accent); box-shadow: var(--shadow); }
.contact-card__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-accent-soft); color: var(--c-primary); }
.contact-card__body { display: grid; gap: 2px; font-weight: 600; }
.contact-card__body small { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-text-muted); }
.contact-card__body a { font-size: 1.25rem; font-weight: 800; text-decoration: none; }
.map-card { overflow: hidden; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.map-card iframe { display: block; width: 100%; height: 320px; border: 0; }
.maps--single .map-card iframe { height: 420px; }
.map-card__body { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 18px 20px; }
.map-card__body h3 { margin: 0 0 2px; color: var(--c-primary); }
.map-card__body p { margin: 0; font-size: var(--fs-sm); color: var(--c-text-muted); }
.form { display: grid; gap: 16px; padding: 28px; background: var(--c-bg); color: var(--c-text); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.form__row { display: grid; gap: 16px; }
.form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: var(--fs-sm); }
.form input, .form select, .form textarea { width: 100%; min-height: 50px; padding: 12px 18px; border: 1px solid var(--c-border); border-radius: var(--radius-pill); background: #fff; color: var(--c-text); transition: border-color 0.2s, box-shadow 0.2s; }
.form textarea { min-height: 120px; border-radius: var(--radius); resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--c-accent); outline: none; box-shadow: 0 0 0 3px rgba(22, 92, 192, 0.18); }
.form__hp { position: absolute; left: -9999px; }
.form__note { margin: 0; font-size: var(--fs-sm); color: var(--c-text-muted); text-align: center; }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.notice--ok { background: #e8f6ec; color: #1d6b35; }
.notice--err { background: #fdecec; color: #9b1c1c; }

/* ==========================================================================
   12. Nội dung trang, bài viết
   ========================================================================== */
.page-hero { padding-block: 40px 56px; background: var(--c-bg-alt); }
.page-hero h1 { color: var(--c-primary); margin-bottom: 0.3em; }
.page-hero .section__lead { max-width: 760px; margin: 0; }
.not-found { padding-block: 48px 72px; text-align: center; }
.not-found__inner { max-width: 760px; }
.not-found__code { display: block; font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--c-accent); letter-spacing: 0.04em; }
.not-found .section__lead { margin: 0 auto 1.75rem; }
.page-hero--split { padding-block: 32px 64px; overflow: hidden; }
.page-hero__grid { display: grid; gap: 40px; align-items: center; }
.page-hero--split .section__lead { margin-bottom: 1.75rem; text-align: left; }
.page-hero__media { position: relative; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.page-hero__badge { position: absolute; left: -12px; bottom: -20px; display: flex; align-items: center; gap: 12px; padding: 16px 22px; background: var(--c-primary); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.page-hero__badge strong { font-size: 2.4rem; line-height: 1; font-weight: 800; color: #fff; }
.page-hero__badge span { font-size: 0.85rem; line-height: 1.3; color: rgba(255, 255, 255, 0.85); }
.about-page { display: grid; gap: 40px; align-items: start; }
.about-page .entry { max-width: none; margin: 0; }
.catalog-card { margin: 0; overflow: hidden; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.catalog-card img { width: 100%; }
.catalog-card figcaption { display: grid; gap: 8px; padding: 20px; }
.catalog-card strong { font-size: 1.1rem; color: var(--c-primary); }
.catalog-card span { font-size: var(--fs-sm); color: var(--c-text-muted); }
.catalog-card .btn { justify-self: start; margin-top: 6px; }
.breadcrumb { font-size: var(--fs-sm); color: var(--c-text-muted); margin-bottom: 12px; }
.breadcrumb a { color: inherit; }
.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: left; }
.entry td p, .entry th p, .entry figcaption { text-align: left; }
.entry img { border-radius: var(--radius); }
.entry > img.wp-post-image { width: 100%; max-height: 440px; object-fit: cover; }
.entry h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); color: var(--c-primary); }
.entry h3 { margin-top: 1.4em; 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); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.entry table { width: 100%; border-collapse: collapse; margin-bottom: 1em; overflow: hidden; border-radius: var(--radius-sm); box-shadow: 0 0 0 1px var(--c-border); }
.entry th, .entry td { padding: 12px 14px; border-bottom: 1px solid var(--c-border); text-align: left; }
.entry thead th { background: var(--c-primary); color: #fff; font-weight: 700; }
.entry tbody tr:nth-child(even) { background: var(--c-bg-alt); }
.entry ol li::marker, .entry ul li::marker { color: var(--c-accent); font-weight: 700; }
@media (max-width: 599px) { .entry table { display: block; overflow-x: auto; white-space: nowrap; } }
.entry figure { margin: 1.5em 0; }
/* Ảnh minh họa trong bài ({{anh:...}} khi nhập nội dung): canh giữa, không phóng quá cỡ gốc, chú thích nhỏ. */
.entry .wp-block-image { text-align: center; }
.entry .wp-block-image img { display: inline-block; width: auto; max-width: 100%; max-height: 460px; border-radius: var(--radius); box-shadow: var(--shadow); }
.entry .wp-block-image figcaption { text-align: center; font-style: italic; }
.entry figcaption { margin-top: 8px; font-size: var(--fs-sm); color: var(--c-text-muted); }
.post-title { max-width: 900px; }
.post-meta { margin: 0; font-size: var(--fs-sm); color: var(--c-text-muted); }
.post-layout { display: grid; gap: 40px; }
.post-body { max-width: none; margin: 0; min-width: 0; }
.post-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 1.75rem; }
.sidebar { display: grid; gap: 20px; align-content: start; }
.sidebar__sticky { display: grid; gap: 20px; }
.sidebar-cta { display: grid; gap: 10px; padding: 24px; background: var(--c-primary); color: #fff; border-radius: var(--radius); background-image: radial-gradient(circle at 90% 10%, rgba(22, 92, 192, 0.45), transparent 55%); }
.sidebar-cta strong { font-size: 1.2rem; }
.sidebar-cta p { margin: 0 0 6px; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.82); }
.sidebar-cta__phone { color: #fff; font-weight: 700; text-align: center; font-size: var(--fs-sm); }
.sidebar-cta__phone:hover { color: #fff; }
.sidebar-list { padding: 20px 24px; background: var(--c-bg-alt); border-radius: var(--radius); }
.sidebar-list strong { display: block; margin-bottom: 8px; color: var(--c-primary); }
.sidebar-list ul { margin: 0; padding: 0; list-style: none; }
.sidebar-list a { display: block; padding: 8px 0; border-bottom: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; font-weight: 600; }
.sidebar-list li:last-child a { border-bottom: 0; }
.sidebar-list a:hover { color: var(--c-accent); }
/* Khung "Về đơn vị biên soạn" cuối bài (E-E-A-T) */
.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 2.5rem; padding: 22px 24px; background: var(--c-bg-alt); border: 1px solid var(--c-border); border-left: 4px solid var(--c-accent); border-radius: var(--radius); }
.author-box__logo { flex: none; display: grid; place-items: center; width: 92px; height: 92px; background: #fff; border-radius: 50%; box-shadow: var(--shadow); }
.author-box__logo img { width: 66px; }
.author-box__body p { margin: 0 0 6px; text-align: left !important; }
.author-box__label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent); }
.author-box__name { font-weight: 800; color: var(--c-primary); }
.author-box__reviewer { font-weight: 700; }
.author-box__body a { font-weight: 700; text-decoration: none; }
@media (max-width: 599px) { .author-box { flex-direction: column; } .author-box__logo { width: 72px; height: 72px; } .author-box__logo img { width: 52px; } }
.card__date { margin: 0 0 6px; font-size: 0.8rem; font-weight: 700; color: var(--c-accent); text-transform: uppercase; letter-spacing: 0.04em; }
.card--post .card__title { font-size: 1.1rem; line-height: 1.35; }
.card--post .card__media { aspect-ratio: 16 / 9; }
.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-pill); text-decoration: none; }
.pagination .current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* ==========================================================================
   13. CTA + Footer navy
   ========================================================================== */
.cta-band { padding-block: 56px; background: var(--c-primary); color: #fff; text-align: center; background-image: radial-gradient(circle at 15% 50%, rgba(22, 92, 192, 0.35), transparent 50%); }
.cta-band h2 { margin-bottom: 0.4em; }
.cta-band .btn-group { justify-content: center; }
.cta-band .btn--ghost { color: #fff; }
.site-footer { padding-top: 64px; background: var(--c-primary); color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h3 { margin-bottom: 1rem; color: #fff; font-size: var(--fs-lg); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer__grid { display: grid; gap: 36px; }
.site-footer__brand .site-logo { margin-bottom: 16px; }
.site-footer__brand .site-logo img { width: 80px; }
.site-footer__legal { margin-bottom: 4px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 0.02em; }
.site-footer__contact strong { color: #fff; font-weight: 700; }
.site-footer__tax { margin-bottom: 10px; font-size: var(--fs-sm); color: var(--c-silver); }
.site-footer__catalog { margin: 16px 0 0; font-weight: 700; }
.site-footer .btn--ghost { color: #fff; }
.site-footer .btn--ghost:hover { background: #fff; color: var(--c-primary); text-decoration: none; }
.site-footer .btn--accent:hover { color: #fff; text-decoration: none; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 48px; padding-block: 20px 88px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: var(--fs-sm); }

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

/* ==========================================================================
   15. Responsive
   ========================================================================== */
@media (min-width: 600px) {
	.gallery { grid-template-columns: repeat(3, 1fr); }
	.form__row { grid-template-columns: 1fr 1fr; }
	.stats__list { grid-template-columns: repeat(4, 1fr); }
	.process { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
	:root { --gutter: 24px; --header-gap: 16px; }
	.grid--2 { grid-template-columns: repeat(2, 1fr); }
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
	.partners__logos li { width: 170px; height: 92px; }
	.site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
	.site-footer__grid > :last-child { grid-column: 1 / -1; }
	.price-table thead { display: table-header-group; }
	.price-table tr { display: table-row; padding: 0; }
	.price-table th, .price-table td { display: table-cell !important; padding: 16px 20px; vertical-align: middle; text-align: left; border-bottom: 1px solid var(--c-border); }
	.price-table thead th { background: var(--c-primary); color: #fff; font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
	.price-table tbody tr:last-child > * { border-bottom: 0; }
	.price-table tbody tr:hover { background: var(--c-bg-alt); }
	.price-table__price { text-align: right; }
	.price-table thead th:nth-child(4) { text-align: right; }
}
@media (min-width: 1024px) {
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(4, 1fr); }
	.gallery { grid-template-columns: repeat(4, 1fr); }
	.about { grid-template-columns: 1fr 1fr; gap: 72px; }
	.quote-form { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
	.page-hero__grid { grid-template-columns: 1.05fr 1fr; gap: 64px; }
	.about-page { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; }
	.about-page__aside { position: sticky; top: calc(var(--header-h) + 40px); }
	.post-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
	.sidebar { align-self: stretch; }
	.process { grid-template-columns: repeat(3, 1fr); }
	.site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
	.site-footer__grid > :last-child { grid-column: auto; }
	.site-footer__bottom { padding-bottom: 20px; }
	.nav-toggle { display: none; }
	.primary-nav { position: static; max-height: none; padding: 0; overflow: visible; background: none; box-shadow: none; border-radius: 0; opacity: 1; visibility: visible; transform: none; margin-left: auto; }
	.primary-nav > div > ul, .primary-nav > ul { display: flex; gap: 2px; }
	.primary-nav a { padding: 10px 14px; border: 0; white-space: nowrap; }
	.primary-nav li { position: relative; }
	.primary-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
	.primary-nav .sub-menu, .primary-nav .children { position: absolute; top: 100%; left: 0; min-width: 250px; padding: 8px 0; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.2s; }
	.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu,
	.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: 10px 20px; }
	.header-cta { display: inline-flex; }
	.lang-switch--header { margin-left: 8px; }
	.float-contact { left: auto; right: 20px; bottom: 20px; grid-auto-flow: row; gap: 12px; background: none; box-shadow: none; }
	.float-contact__btn { width: 56px; height: 56px; min-height: 0; border-radius: 50%; box-shadow: var(--shadow-lg); }
	.float-contact__btn span { display: none; }
}
@media (min-width: 1200px) {
	.grid--products { grid-template-columns: repeat(4, 1fr); gap: 20px; }
	.process { grid-template-columns: repeat(5, 1fr); }
	.process__step { padding: 22px 18px; }
}
/* ==========================================================================
   16. Chuyển động — hiện dần khi cuộn, ảnh đầu trang phóng chậm, header thu gọn
   (class .reveal chỉ do JS thêm → không JS vẫn hiện đủ nội dung)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.card.reveal.is-visible:hover { transform: translateY(-4px); transition-delay: 0ms; }

.hero__visual { animation: tdp-rise 1s 0.2s cubic-bezier(.2,.7,.2,1) both; }
.hero__img { animation: tdp-zoom 14s ease-out both; }
@keyframes tdp-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__chip--iso { animation: tdp-float 5s ease-in-out 1.2s infinite; }
.hero__chip--years { animation: tdp-float 6s ease-in-out 0.4s infinite reverse; }
.hero__inset { animation: tdp-float 7s ease-in-out infinite; }
@keyframes tdp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero__content > * { animation: tdp-rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
.hero__content > :nth-child(2) { animation-delay: 0.1s; }
.hero__content > :nth-child(3) { animation-delay: 0.2s; }
.hero__content > :nth-child(4) { animation-delay: 0.32s; }
.hero__content > :nth-child(5) { animation-delay: 0.44s; }
@keyframes tdp-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__line { animation-name: tdp-line; transform-origin: left; }
@keyframes tdp-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Gợi ý cuộn xuống ở đáy ảnh đầu trang. */
.hero__scroll { display: none; }
@media (min-width: 768px) { .hero__scroll { display: block; } }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; z-index: 1; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, 0.6); border-radius: 14px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: tdp-scroll 1.8s ease-in-out infinite; }
@keyframes tdp-scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.site-header__inner { transition: min-height 0.25s, box-shadow 0.25s, background 0.25s; }
.site-header.is-scrolled .site-header__inner { min-height: 62px; background: rgba(255, 255, 255, 0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-logo img { transition: width 0.25s; }
.site-header.is-scrolled .site-logo img { width: 60px; }

/* Nút chính có vệt sáng lướt qua khi rê chuột. */
.btn--primary, .btn--accent { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::before, .btn--accent::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s; }
.btn--primary:hover::before, .btn--accent:hover::before { transform: translateX(120%); }

/* Nút nổi gọi điện có vòng sóng nhẹ để gây chú ý. */
@media (min-width: 1024px) {
	.float-contact__phone { position: relative; }
	.float-contact__phone::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(13, 59, 130, 0.45); animation: tdp-ring 2.4s infinite; }
}
@keyframes tdp-ring { 0% { box-shadow: 0 0 0 0 rgba(13, 59, 130, 0.45); } 70% { box-shadow: 0 0 0 16px rgba(13, 59, 130, 0); } 100% { box-shadow: 0 0 0 0 rgba(13, 59, 130, 0); } }

@media (min-width: 1024px) and (min-height: 700px) {
	.sidebar__sticky { position: sticky; top: calc(var(--header-h) + 36px); }
}
@media (prefers-reduced-motion: reduce) {
	.partners__marquee { -webkit-mask-image: none; mask-image: none; }
	.partners__track { width: auto; justify-content: center; }
	.partners__logos { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); }
	.partners__logos[aria-hidden] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   17. Tối ưu điện thoại (chủ web yêu cầu 08/11/2026) — bản máy tính không đổi
   ========================================================================== */
.scroll-dots { display: none; }
@media (max-width: 767px) {
	:root { --space-section: 3.25rem; }
	.section__head { margin-bottom: 1.75rem; }
	.section__lead { font-size: 1rem; }
	.section__more { margin-top: 1.25rem; }
	.section__more.btn-group .btn { flex: 1 1 100%; }

	/* Dải thẻ trượt ngang (sản phẩm, tin tức, nhận xét, sản phẩm khác): thấy 1 thẻ + mép thẻ kế → biết vuốt. */
	.grid--scroll-mobile { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
	.grid--scroll-mobile::-webkit-scrollbar { display: none; }
	.grid--scroll-mobile > * { scroll-snap-align: start; }
	.grid--scroll-wide { grid-auto-columns: 88%; }
	.grid--scroll-mobile .card:hover, .grid--scroll-mobile .card.reveal.is-visible:hover { transform: none; }
	.grid--scroll-mobile .card__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.scroll-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
	.scroll-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--c-silver); cursor: pointer; transition: width 0.25s, background 0.25s; }
	.scroll-dots button.is-active { width: 22px; background: var(--c-accent); }

	/* Đầu trang chủ: gọn hơn, 2 nút bằng nhau. */
	.hero { padding-block: calc(var(--header-h) + 36px) 48px; }
	.hero__grid { gap: 36px; }
	.hero__line { margin-bottom: 1rem; }
	.hero__lead { margin-bottom: 1.5rem; font-size: 1rem; }
	.hero .btn-group { flex-wrap: nowrap; gap: 10px; }
	.hero .btn-group .btn { flex: 1 1 0; min-width: 0; padding-inline: 12px; font-size: 0.95rem; }
	.hero__trust { margin-top: 1.25rem; gap: 8px 16px; font-size: 0.82rem; }

	/* Giới thiệu: 2 ảnh ngang bằng nhau, không so le. */
	.about { gap: 28px; }
	.about__media { grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
	.about__img--1, .about__img--2 { aspect-ratio: 4 / 3; margin: 0; }
	.about .btn { width: 100%; }

	/* Dải số liệu, quy trình: gọn hơn. */
	.stats { padding-block: 40px; }
	.stats__list { gap: 22px 16px; }
	.process__num { font-size: 1.8rem; margin-bottom: 6px; }
	.process__step h3 { font-size: 1rem; }
	.process__step p { font-size: 0.88rem; }

	/* Nhà máy: ảnh lớn thấp lại. */
	.plant { gap: 28px; }
	.plant__item--1 { aspect-ratio: 16 / 8; }
	.plant .btn-group .btn { width: 100%; }

	/* Chứng nhận: ảnh giấy nhỏ lại, canh giữa. */
	.cert { padding: 20px; gap: 20px; }
	.cert__media { max-width: 230px; margin-inline: auto; }
	.cert__info { text-align: left; }
	.cert__rows div { padding: 9px 0; }

	/* Nhận xét */
	.quote { padding: 24px 22px; }
	.quote blockquote { font-size: 0.98rem; }

	/* Form báo giá + thông tin liên hệ: 2 nút bằng nhau, thông tin gọn. */
	.quote-form { gap: 28px; }
	.contact-list { gap: 10px; margin-bottom: 1.25rem; }
	.contact-list a { font-size: 1.2rem; }
	.quote-form .btn-group { flex-wrap: nowrap; }
	.quote-form .btn-group .btn { flex: 1 1 0; min-width: 0; padding-inline: 10px; white-space: nowrap; font-size: 0.9rem; gap: 6px; }
	.quote-form .btn-group .btn:first-child { flex-grow: 1.45; }
	.quote-form .btn-group .btn .icon-arrow { display: none; }
	.form { padding: 20px 18px; gap: 14px; }

	/* Bản đồ thấp lại. */
	.map-card iframe, .maps--single .map-card iframe { height: 220px; }
	.map-card__body { padding: 14px 16px; }

	/* Trang con: đầu trang, ảnh sản phẩm, form cạnh nội dung. */
	.page-hero { padding-block: 28px 36px; }
	.page-hero--split { padding-block: 24px 48px; }
	.page-hero__badge { left: 10px; bottom: -16px; padding: 10px 16px; }
	.page-hero__badge strong { font-size: 1.8rem; }
	.entry > img.wp-post-image { max-height: 240px; margin-bottom: 1.25rem !important; }
	.about-page__aside { max-width: 300px; margin-inline: auto; }

	/* Chân trang */
	.site-footer { padding-top: 44px; }
	.site-footer__grid { gap: 28px; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Bảng trong nội dung (quy cách sản phẩm, so sánh): mỗi dòng thành một thẻ có nhãn — không tràn ngang. */
@media (max-width: 599px) {
	.entry table.table--cards { display: block; white-space: normal; overflow: visible; box-shadow: none; border-radius: 0; }
	.table--cards thead { display: none; }
	.table--cards tbody, .table--cards tr, .table--cards td, .table--cards th { display: block; }
	.table--cards tr { margin-bottom: 12px; padding: 10px 14px; background: #fff !important; border: 1px solid var(--c-border); border-left: 3px solid var(--c-accent); border-radius: var(--radius-sm); }
	.table--cards td, .table--cards tbody th { display: grid; grid-template-columns: 36% 1fr; gap: 10px; padding: 6px 0; border: 0; border-bottom: 1px dashed var(--c-border); text-align: left; }
	.table--cards tr > :last-child { border-bottom: 0; }
	.table--cards td::before, .table--cards tbody th::before { content: attr(data-label); font-size: 0.8rem; font-weight: 700; color: var(--c-text-muted); }
	.table--cards tr > :first-child { font-weight: 800; color: var(--c-primary); }
}

/* ==========================================================================
   18. Đầu trang ảnh phủ kín (chủ web yêu cầu 08/11/2026): ảnh nhà xưởng + cuộn màng làm nền cả khối
   ========================================================================== */
.hero--cover { background: var(--c-bg-dark); }
.hero--cover .hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; animation: tdp-zoom 14s ease-out both; }
.hero--cover .hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(13, 59, 130, 0.86) 0%, rgba(13, 59, 130, 0.66) 32%, rgba(13, 59, 130, 0.28) 58%, rgba(13, 59, 130, 0.06) 100%),
		linear-gradient(0deg, rgba(13, 59, 130, 0.5) 0%, transparent 30%); }
.hero--cover .hero__trust, .hero--cover .hero__badge { text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45); }
.hero--cover h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.hero__chips { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__chips .hero__chip { position: static; }
@media (min-width: 1024px) {
	.hero--cover { min-height: min(86vh, 780px); }
	.hero--cover .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
	.hero__chips { position: relative; display: block; align-self: stretch; min-height: 420px; }
	.hero__chips .hero__chip { position: absolute; }
	.hero__chips .hero__chip--iso { top: 8%; right: 0; }
	.hero__chips .hero__chip--years { bottom: 4%; right: 6%; }
}
@media (max-width: 767px) {
	.hero--cover .hero__bg { object-position: 72% 50%; }
	.hero--cover .hero__shade { background: linear-gradient(180deg, rgba(13, 59, 130, 0.86) 0%, rgba(13, 59, 130, 0.74) 55%, rgba(13, 59, 130, 0.9) 100%); }
	.hero__chips { gap: 10px; }
	.hero__chips .hero__chip { padding: 8px 12px; }
	.hero__chips .hero__chip--years strong { font-size: 1.5rem; }
}

/* ==========================================================================
   19. Chỉnh theo phiếu chủ web 14/11/2026 — logo to hơn, nút chi tiết sản phẩm,
       nhà máy 5 ảnh, chứng nhận chỉ ảnh, trang Giới thiệu một cột
   ========================================================================== */
:root { --header-h: 84px; }
.site-logo img { width: 84px; }
.site-logo__name { font-size: 1.6rem; }
.site-logo__text small { font-size: 0.78rem; }
@media (min-width: 600px) {
	.site-logo { gap: 14px; }
	.site-logo__name { font-size: 1.95rem; }
	.site-logo__text small { font-size: 0.78rem; margin-top: 5px; padding-top: 5px; }
}
@media (min-width: 1200px) {
	.site-logo img { width: 96px; }
	.site-logo__name { font-size: 2.15rem; }
	.site-logo__text small { font-size: 0.86rem; }
}
.site-header.is-scrolled .site-header__inner { min-height: 70px; }
.site-header.is-scrolled .site-logo img { width: 70px; }
@media (max-width: 599px) {
	:root { --header-h: 72px; }
	.site-logo img { width: 62px; }
	.site-logo__name { font-size: 1.18rem; }
	.site-logo__text small { max-width: 170px; font-size: 0.64rem; }
	.site-header.is-scrolled .site-logo img { width: 54px; }
}

/* Nút "Chi tiết sản phẩm" dưới mỗi thẻ, luôn nằm đáy thẻ. */
.card__body { display: flex; flex-direction: column; }
.card__btn { align-self: flex-start; margin-top: auto; }
.card__text + .card__btn { margin-top: auto; }
.card__body .card__text { margin-bottom: 1rem; }

/* Nhà máy còn 5 ảnh: 1 ảnh ngang + lưới 2x2. */
.plant__gallery--5 .plant__item:not(.plant__item--1) { grid-column: span 3; aspect-ratio: 4 / 3; }

/* Chứng nhận: chỉ ảnh giấy chứng nhận. */
.certs { display: grid; gap: 28px; justify-content: center; grid-template-columns: minmax(0, 380px); }
@media (min-width: 768px) { .certs:not(.certs--1) { grid-template-columns: repeat(2, minmax(0, 380px)); } }
.certs__item { margin: 0; text-align: center; }
.certs__item a { position: relative; display: block; overflow: hidden; background: #fff; padding: 12px; border-radius: var(--radius); border: 1px solid var(--c-border); box-shadow: var(--shadow-lg); }
.certs__item img { width: 100%; transition: transform 0.4s; }
.certs__item a:hover img { transform: scale(1.03); }
.certs__item figcaption { display: grid; gap: 2px; margin-top: 14px; }
.certs__item figcaption strong { font-size: 1.15rem; color: var(--c-primary); }
.certs__item figcaption span { font-size: var(--fs-sm); color: var(--c-text-muted); }

/* Trang Giới thiệu: bỏ khung catalog → nội dung một cột, canh giữa. */
.about-page--single { display: block; max-width: 860px; }
/* Thẻ sản phẩm không còn đoạn mô tả: tên + nút. */
.card__title + .card__btn { margin-top: 14px; }

/* ==========================================================================
   20. Cân đối giao diện điện thoại (chủ web yêu cầu 15/11/2026) — chỉ < 768px
   ========================================================================== */
@media (max-width: 767px) {
	/* Tiêu đề khối: luôn canh giữa, gạch ngang hai bên như các khối khác. */
	.section__head--left { margin-inline: auto; text-align: center; }
	.section__head--left .section__eyebrow { justify-content: center; }
	.section__head--left .section__eyebrow::after { content: ""; width: 40px; height: 2px; background: var(--c-accent); }

	/* Đầu trang: 2 thẻ ISO / 16+ năm nằm cạnh nhau, cao bằng nhau. */
	.hero__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.hero__chips .hero__chip { justify-content: center; padding: 10px 12px; min-height: 64px; }
	.hero__chip strong { font-size: 0.92rem; }
	.hero__chip small { font-size: 0.7rem; }
	.hero__chip-icon { display: none; }
	.hero__chip--years strong { font-size: 1.6rem; }

	/* Quy trình: mỗi bước một hàng — số bên trái, chữ bên phải, các ô cao đều nhau. */
	.process { grid-template-columns: 1fr; gap: 10px; }
	.process__step { display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; align-items: start; padding: 14px 16px; }
	.process__num { grid-row: span 2; margin: 0; font-size: 1.9rem; }
	.process__step h3 { margin: 2px 0 2px; }

	/* Chứng nhận: 2 giấy đứng cạnh nhau, bấm để phóng to. */
	.certs, .certs:not(.certs--1) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.certs--1 { grid-template-columns: minmax(0, 260px); }
	.certs__item a { padding: 6px; }
	.certs__item .cert__zoom { width: 32px; height: 32px; right: 8px; bottom: 8px; }
	.certs__item .cert__zoom svg { width: 16px; height: 16px; }
	.certs__item figcaption { margin-top: 10px; }
	.certs__item figcaption strong { font-size: 0.95rem; line-height: 1.3; }
	.certs__item figcaption span { font-size: 0.75rem; line-height: 1.4; }

	/* Chân trang: 2 cột menu cạnh nhau, dòng cuối canh giữa. */
	.site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
	.site-footer__grid > :first-child, .site-footer__grid > :last-child { grid-column: 1 / -1; }
	.site-footer__bottom { align-items: center; text-align: center; }
}

/* ==========================================================================
   21. Ảnh bìa mới (mặt tiền nhà máy) + 6 giấy chứng nhận / kiểm nghiệm (15/11/2026)
   ========================================================================== */
/* Ảnh bìa bắt đầu dưới thanh menu để bảng hiệu "TẤN ĐẠI PHÚ" không bị menu che. */
.hero--cover .hero__bg { top: calc(var(--header-h) + var(--header-gap)); height: calc(100% - var(--header-h) - var(--header-gap)); object-position: 50% 0%; }
@media (min-width: 1024px) {
	.hero--cover .hero__shade { background:
		linear-gradient(90deg, rgba(13, 59, 130, 0.88) 0%, rgba(13, 59, 130, 0.7) 30%, rgba(13, 59, 130, 0.25) 55%, rgba(13, 59, 130, 0) 75%),
		linear-gradient(0deg, rgba(13, 59, 130, 0.45) 0%, transparent 30%); }
}
@media (max-width: 767px) { .hero--cover .hero__bg { object-position: 50% 0%; } }

/* Lưới giấy chứng nhận: 3 cột máy tính, 2 cột điện thoại; mọi ảnh cùng khung. */
.certs:not(.certs--1):not(.certs--2) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1080px; margin-inline: auto; }
@media (min-width: 768px) { .certs:not(.certs--1):not(.certs--2) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; } }
.certs__item a { aspect-ratio: 3 / 4; }
.certs__item img { height: 100%; object-fit: contain; object-position: top; }
.certs__item figcaption strong { line-height: 1.35; }

/* 22. Chủ web 15/11/2026: "Đôi nét" chỉ 1 ảnh bìa catalog (giữ nguyên khung, không cắt); "Nhà máy" chỉ 2 ảnh cạnh nhau. */
.about__media--single { display: block; }
.about__media--single .about__img--1 { aspect-ratio: auto; margin: 0; }
.about__media--single .about__img img { height: auto; }
.plant__gallery--2 .plant__item { grid-column: span 3; aspect-ratio: 3 / 4; }

/* ==========================================================================
   23. Nút liên hệ nổi gọn + rõ (chủ web 15/11/2026)
   Điện thoại/máy tính bảng: thanh đáy thấp 46px, biểu tượng + chữ trên một hàng.
   Máy tính: viên thuốc nhỏ có chữ ở góc phải dưới thay vì nút tròn 56px không chữ.
   ========================================================================== */
@media (max-width: 1023px) {
	.float-contact__btn { flex-direction: row; gap: 6px; min-height: 46px; font-size: 0.82rem; letter-spacing: 0.01em; }
	.float-contact__btn svg { width: 18px; height: 18px; }
	.float-contact__btn + .float-contact__btn { border-left: 1px solid rgba(255, 255, 255, 0.18); }
	.site-footer__bottom { padding-bottom: 64px; }
}
@media (min-width: 1024px) {
	.float-contact { right: 16px; bottom: 16px; gap: 8px; justify-items: end; }
	.float-contact__btn { flex-direction: row; gap: 6px; width: auto; height: 38px; padding: 0 14px 0 11px; border-radius: var(--radius-pill); font-size: 0.8rem; box-shadow: 0 6px 18px rgba(13, 59, 130, 0.22); transition: transform 0.2s, box-shadow 0.2s; }
	.float-contact__btn span { display: inline; }
	.float-contact__btn svg { width: 17px; height: 17px; }
	.float-contact__btn:hover { transform: translateX(-3px); box-shadow: 0 8px 22px rgba(13, 59, 130, 0.3); }
	.float-contact__phone::after { border-radius: var(--radius-pill); }
}

/* ==========================================================================
   24. Giao diện SÁNG (chủ web 19/11/2026: "web khá tối", muốn ảnh bìa thấy trọn nhà xưởng)
   - Đầu trang: nền trắng → xanh nhạt, chữ navy; ảnh mặt tiền hiện nguyên khung (không cắt, không phủ màu)
   - Dải số liệu: nền xanh nhạt, số màu xanh nhấn
   - Chân trang: xanh dương sáng hơn navy cũ
   ========================================================================== */
.hero--light { color: var(--c-text); min-height: 0; padding-block: calc(var(--header-h) + 48px) 56px;
	background:
		radial-gradient(circle at 92% 12%, rgba(22, 92, 192, 0.16), transparent 42%),
		radial-gradient(rgba(13, 59, 130, 0.07) 1px, transparent 1.5px) 0 0 / 22px 22px,
		linear-gradient(180deg, #EFF5FD 0%, #EFF5FD 100%); }
.hero--light h1 { color: var(--c-primary); text-shadow: none; }
.hero--light .hero__badge { border-color: rgba(13, 59, 130, 0.18); background: #fff; color: var(--c-primary); box-shadow: 0 4px 14px rgba(13, 59, 130, 0.06); }
.hero--light .hero__trust { color: var(--c-text); }
.hero--light .hero__content { max-width: none; }
.hero__media { position: relative; padding-bottom: 22px; }
.hero__photo { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 819; object-fit: contain; border-radius: 20px; background: #fff; box-shadow: 0 24px 50px rgba(13, 59, 130, 0.16); outline: 1px solid rgba(22, 92, 192, 0.25); outline-offset: 6px; animation: tdp-rise 1s 0.15s cubic-bezier(.2,.7,.2,1) both; }
.hero__media .hero__chip { position: absolute; box-shadow: 0 14px 30px rgba(13, 59, 130, 0.18); }
.hero__media .hero__chip--iso { top: -16px; right: 14px; }
.hero__media .hero__chip--years { left: -10px; bottom: 0; right: auto; }
@media (min-width: 1024px) {
	.hero--light { padding-block: calc(var(--header-h) + 64px) 72px; display: block; }
	.hero--light .hero__grid { grid-template-columns: 0.92fr 1.08fr; gap: 56px; }
	.hero--light h1 { font-size: clamp(2rem, 1.2rem + 1.6vw, 2.75rem); }
}
@media (max-width: 767px) {
	.hero--light { padding-block: calc(var(--header-h) + 28px) 40px; }
	.hero--light .hero__content { text-align: left; }
	.hero__media { padding-bottom: 18px; }
	.hero__photo { border-radius: 14px; outline-offset: 4px; }
	.hero__media .hero__chip { padding: 7px 11px; min-height: 0; }
	.hero__media .hero__chip-icon { display: none; }
	.hero__media .hero__chip--iso { top: auto; bottom: 0; right: 8px; }
	.hero__media .hero__chip--years { left: 8px; bottom: 0; }
	.hero__media .hero__chip--years strong { font-size: 1.4rem; }
}

/* Dải số liệu: sáng, số xanh nhấn. */
.stats { background: linear-gradient(180deg, #EFF5FD 0%, #EFF5FD 100%); color: var(--c-text); border-block: 1px solid var(--c-border); }
.stats__num { color: var(--c-accent); }
.stats__label { color: var(--c-text-muted); font-weight: 600; }

/* Khối nền tối dùng chung (nếu có) + chân trang: xanh dương sáng hơn navy cũ. */
:root { --c-bg-dark: #10489E; }
.site-footer { background: linear-gradient(160deg, #10489E 0%, #165CC0 100%); color: rgba(255, 255, 255, 0.9); }
.site-footer__tax { color: rgba(255, 255, 255, 0.78); }
.site-footer__bottom { border-top-color: rgba(255, 255, 255, 0.22); }

/* 25. Khẩu hiệu dưới logo to hơn (chủ web 19/11/2026); tên giãn chữ thêm để vẫn dài bằng khẩu hiệu. */
.site-logo__text small { font-size: 0.9rem; }
@media (min-width: 600px) {
	.site-logo__text small { font-size: 0.9rem; }
	:lang(vi) .site-logo__name { letter-spacing: 0.39em; margin-right: -0.39em; }
}
@media (min-width: 1200px) {
	.site-logo__text small { font-size: 1rem; }
}
@media (max-width: 599px) {
	.site-logo__text small { max-width: 200px; font-size: 0.74rem; }
	:lang(vi) .site-logo__name { letter-spacing: 0.08em; }
}
/* Máy tính màn nhỏ (1024–1279px): thu logo lại để không đè menu. */
@media (min-width: 1024px) and (max-width: 1279px) {
	.site-logo img { width: 70px; }
	.site-logo__name { font-size: 1.68rem; }
	.site-logo__text small { font-size: 0.78rem; }
	.site-header__inner { gap: 10px; }
	.primary-nav a { padding: 10px 9px; font-size: 0.95rem; }
	.lang-switch--header { margin-left: 4px; }
	.header-cta { white-space: nowrap; padding-inline: 14px; }
}
/* Điện thoại: khẩu hiệu vẫn 2 dòng. */
@media (max-width: 599px) {
	.site-logo { gap: 6px; }
	.site-logo img { width: 54px; }
	.site-logo__text small { max-width: 180px; font-size: 0.7rem; }
}
/* Bản tiếng Anh: tên "TAN DAI PHU" giãn thêm cho dài bằng khẩu hiệu. */
:lang(en) .site-logo__name { letter-spacing: 0.12em; margin-right: -0.12em; }

/* ==========================================================================
   26. Trang bìa đẹp hơn (chủ web 19/11/2026): tiêu đề hai màu, nhãn có chấm xanh,
       khung ảnh có mảng xanh + lưới chấm trang trí, thẻ ở hai góc, đường lượn sóng
   ========================================================================== */
.hero--light { position: relative; padding-bottom: 96px; }
.hero--light::before { content: ""; position: absolute; z-index: -1; right: -8%; top: 8%; width: 46vw; max-width: 720px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(22, 92, 192, 0.18), transparent 65%); pointer-events: none; }
.hero--light .hero__line { display: none; }
.hero--light .hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; font-weight: 700; }
.hero__badge-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #22a55b; }
.hero__badge-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(34, 165, 91, 0.35); animation: tdp-pulse 2.2s ease-out infinite; }
@keyframes tdp-pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.hero--light h1 { line-height: 1.18; letter-spacing: -0.01em; }
.hero__title-accent { display: block; margin-bottom: 0.15em; background: linear-gradient(90deg, #165CC0, var(--c-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero--light .hero__trust { gap: 10px; margin-top: 2rem; }
.hero--light .hero__trust li { padding: 8px 14px 8px 10px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-pill); box-shadow: 0 4px 12px rgba(13, 59, 130, 0.05); }

/* Khung ảnh: mảng xanh chuyển màu lệch phía sau + lưới chấm góc trên. */
.hero__media { isolation: isolate; padding: 0 0 22px; }
.hero__deco { position: absolute; z-index: -1; pointer-events: none; }
.hero__deco--block { right: -18px; bottom: 4px; width: 78%; height: 82%; border-radius: 26px; background: linear-gradient(135deg, var(--c-accent) 0%, #165CC0 100%); opacity: 0.9; }
.hero__deco--dots { left: -26px; top: -26px; width: 140px; height: 110px; background: radial-gradient(var(--c-accent) 1.6px, transparent 2px) 0 0 / 14px 14px; opacity: 0.45; }
.hero__photo { position: relative; border-radius: 22px; outline: 0; border: 6px solid #fff; box-shadow: 0 30px 60px rgba(13, 59, 130, 0.22); }
.hero__media .hero__chip { z-index: 2; }
.hero__media .hero__chip--iso { top: auto; bottom: 0; left: -22px; right: auto; animation: tdp-float 5s ease-in-out 1.2s infinite; }
.hero__media .hero__chip--years { top: -22px; bottom: auto; right: 22px; left: auto; animation: tdp-float 6s ease-in-out 0.4s infinite reverse; }

/* Đường lượn sóng nối sang khối "Đôi nét" nền trắng. */
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 56px; display: block; }

@media (min-width: 1024px) {
	.hero--light { padding-bottom: 120px; }
	.hero--light .hero__grid { grid-template-columns: 0.88fr 1.12fr; gap: 72px; }
	.hero--light h1 { font-size: clamp(2.1rem, 1.2rem + 1.7vw, 2.9rem); }
	.hero__wave { height: 70px; }
}
@media (max-width: 767px) {
	.hero--light { padding-bottom: 64px; }
	.hero--light .hero__trust { gap: 8px 6px; margin-top: 1.5rem; font-size: 0.78rem; }
	.hero--light .hero__trust li { gap: 6px; padding: 5px 10px 5px 6px; }
	.hero--light .hero__trust li::before { width: 16px; height: 16px; background-size: 10px; }
	.hero__media { margin-top: 14px; padding-bottom: 18px; }
	.hero__deco--block { right: -8px; bottom: 6px; border-radius: 18px; }
	.hero__deco--dots { left: -10px; top: -14px; width: 90px; height: 70px; }
	.hero__photo { border-width: 4px; border-radius: 16px; }
	.hero__media .hero__chip--iso { left: 6px; bottom: 0; }
	.hero__media .hero__chip--years { top: auto; bottom: 0; right: 6px; }
	.hero__wave { height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .hero__badge-dot::after, .hero__media .hero__chip { animation: none; } }

/* ==========================================================================
   27. Trang bìa kiểu "Ảnh tràn + thẻ chữ nổi" (chủ web chọn 19/11/2026)
   Ảnh hiện TRỌN (không cắt): rộng tối đa 1180px nhưng tự co theo chiều cao màn hình
   để cả ảnh + mép thẻ chữ nằm trong màn hình đầu; thẻ trắng đè nhẹ mép dưới ảnh.
   ========================================================================== */
.hero--banner { position: relative; display: block; min-height: 0; color: var(--c-text); padding: calc(var(--header-h) + var(--header-gap) + 20px) 0 64px;
	background:
		radial-gradient(circle at 85% 30%, rgba(22, 92, 192, 0.14), transparent 45%),
		radial-gradient(rgba(13, 59, 130, 0.06) 1px, transparent 1.5px) 0 0 / 22px 22px,
		linear-gradient(180deg, #EFF5FD 0%, #EFF5FD 70%, #fff 100%); }
.hero__banner { width: min(100% - 2 * var(--gutter), 1180px, (100vh - var(--header-h) - 250px) * 1.5625); min-width: min(100% - 2 * var(--gutter), 560px); margin-inline: auto; }
.hero--banner .hero__photo { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 819; object-fit: contain; border-radius: 22px; box-shadow: 0 26px 60px rgba(13, 59, 130, 0.2); animation: tdp-rise 0.9s cubic-bezier(.2,.7,.2,1) both; }

.hero__card { position: relative; z-index: 1; display: grid; gap: 24px; align-items: center; max-width: 1040px; margin: -22px auto 0; padding: 28px 32px; background: #fff; border-radius: 22px; border: 1px solid var(--c-border); box-shadow: 0 24px 50px rgba(13, 59, 130, 0.14); animation: tdp-rise 0.9s 0.15s cubic-bezier(.2,.7,.2,1) both; }
.hero--banner .hero__content { max-width: none; }
.hero--banner .hero__content > * { animation: none; }
.hero--banner .hero__badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 0.9rem; padding: 6px 14px 6px 12px; border: 1px solid rgba(13, 59, 130, 0.14); background: var(--c-bg-alt); color: var(--c-primary); font-weight: 700; }
.hero--banner h1 { margin-bottom: 1.1rem; color: var(--c-primary); font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.35rem); line-height: 1.2; letter-spacing: -0.01em; text-shadow: none; }
.hero--banner .hero__title-accent { display: inline; margin: 0; }
.hero--banner .hero__trust { gap: 8px; margin-top: 0; color: var(--c-text); }
.hero--banner .hero__trust li { padding: 6px 13px 6px 8px; background: var(--c-bg-alt); border-radius: var(--radius-pill); }
.hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero__facts .hero__chip { position: static; justify-content: center; min-height: 72px; box-shadow: none; animation: none; }
.hero__facts .hero__chip--iso { background: var(--c-bg-alt); }
@media (min-width: 900px) {
	.hero__card { grid-template-columns: 1fr auto; gap: 40px; padding: 32px 40px; }
	.hero__facts { grid-template-columns: 1fr; width: 220px; }
}
@media (max-width: 767px) {
	.hero--banner { padding: calc(var(--header-h) + var(--header-gap) + 12px) 0 40px; }
	.hero__banner { width: calc(100% - 2 * var(--gutter)); min-width: 0; }
	.hero--banner .hero__photo { border-radius: 14px; }
	.hero__card { margin-top: -12px; padding: 20px 18px; border-radius: 18px; gap: 18px; }
	.hero--banner .hero__badge { font-size: 0.78rem; }
	.hero--banner .hero__trust { font-size: 0.78rem; gap: 6px; }
	.hero--banner .hero__trust li { gap: 6px; padding: 5px 10px 5px 6px; }
	.hero--banner .hero__trust li::before { width: 16px; height: 16px; background-size: 10px; }
	.hero__facts .hero__chip { min-height: 60px; padding: 8px 10px; }
	.hero__facts .hero__chip-icon { display: none; }
}

/* ==========================================================================
   28. Chữ ĐẶT TRONG ảnh bìa (chủ web 19/11/2026) — chỉ máy tính ≥900px
   Ảnh to hơn (tới 1280px, vừa chiều cao màn hình), khung kính mờ góc dưới trái, 2 thẻ góc dưới phải.
   Điện thoại/máy tính bảng: chữ nằm dưới ảnh, 2 thẻ cạnh nhau dưới thẻ chữ.
   ========================================================================== */
.hero__banner { position: relative; }
.hero__banner > .hero__card { margin-inline: 0; max-width: none; }
.hero__facts { margin-top: 12px; }
@media (max-width: 899px) {
	.hero__banner { width: calc(100% - 2 * var(--gutter)); min-width: 0; }
	.hero__banner > .hero__card { margin-top: -12px; }
}
@media (min-width: 900px) {
	.hero--banner { padding-bottom: 56px; }
	.hero__banner { width: min(100% - 2 * var(--gutter), 1280px, (100vh - var(--header-h) - 70px) * 1.5625); min-width: min(100% - 2 * var(--gutter), 860px); }
	.hero--banner .hero__photo { border-radius: 24px; }
	.hero__banner > .hero__card { position: absolute; left: 22px; bottom: 22px; display: block; width: min(50%, 560px); margin: 0; padding: 24px 28px; background: rgba(255, 255, 255, 0.84); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 20px; box-shadow: 0 18px 40px rgba(13, 59, 130, 0.22); }
	.hero--banner h1 { font-size: clamp(1.45rem, 0.7rem + 1.3vw, 2.1rem); margin-bottom: 0.9rem; }
	.hero--banner .hero__badge { margin-bottom: 0.7rem; background: #fff; }
	.hero--banner .hero__trust li { background: #fff; }
	.hero__banner > .hero__facts { position: absolute; right: 22px; bottom: 22px; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 10px; width: 200px; margin: 0; }
	.hero__facts .hero__chip { box-shadow: 0 14px 30px rgba(13, 59, 130, 0.22); }
	.hero__facts .hero__chip--iso { background: #fff; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	@media (min-width: 900px) { .hero__banner > .hero__card { background: rgba(255, 255, 255, 0.95); } }
}

/* ==========================================================================
   29. Trang bìa theo ảnh mẫu chủ web gửi 19/11/2026 (phong cách tapack.com, không chép):
   ảnh nhà xưởng phủ kín, lớp navy chỉ đậm sát mép trái rồi trong dần, chữ trắng bên trái.
   Ảnh bắt đầu ngay dưới thanh menu → bảng hiệu "CÔNG TY TNHH TẤN ĐẠI PHÚ" không bị che.
   ========================================================================== */
.hero--photo { display: flex; align-items: center; min-height: max(600px, min(100vh, 100vw / 1.5625 + var(--header-h) + var(--header-gap))); padding-block: calc(var(--header-h) + var(--header-gap) + 40px) 72px; color: #fff; background: linear-gradient(120deg, #0D3B82 0%, var(--c-primary) 100%); }
.hero--photo .container { width: 100%; }
.hero--photo .hero__bg { position: absolute; z-index: -2; left: 0; right: 0; bottom: 0; top: calc(var(--header-h) + var(--header-gap)); width: 100%; height: calc(100% - var(--header-h) - var(--header-gap)); object-fit: cover; object-position: 50% 12%; animation: tdp-zoom 14s ease-out both; }
.hero--photo .hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(13, 59, 130, 0.94) 0%, rgba(13, 59, 130, 0.82) 18%, rgba(13, 59, 130, 0.5) 36%, rgba(13, 59, 130, 0.12) 54%, rgba(13, 59, 130, 0) 68%),
		linear-gradient(0deg, rgba(13, 59, 130, 0.35) 0%, transparent 22%); }
.hero--photo .hero__content { max-width: 640px; }
.hero--photo .hero__line { display: block; width: 92px; height: 4px; margin-bottom: 1.5rem; background: var(--c-accent); }
.hero--photo .hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 12px; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.1); color: #fff; font-weight: 700; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero--photo h1 { margin-bottom: 1.5rem; color: #fff; font-size: clamp(2rem, 1.3rem + 2vw, 3rem); line-height: 1.17; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.hero--photo .hero__title-accent { display: block; margin-bottom: 0.1em; background: none; color: #E6F0FF; -webkit-background-clip: border-box; background-clip: border-box; }
.hero--photo .hero__trust { gap: 10px 22px; margin: 0; color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45); }
.hero--photo .hero__trust li { padding: 0; background: none; border: 0; box-shadow: none; }
.hero--photo .hero__facts { display: flex; flex-wrap: wrap; gap: 12px; width: auto; margin-top: 2rem; }
.hero--photo .hero__facts .hero__chip { position: static; min-height: 0; padding: 10px 16px; animation: none; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25); }
.hero--photo .hero__facts .hero__chip--iso { background: #fff; }
@media (min-width: 1024px) {
	.hero--photo .hero__content > * { animation: tdp-rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
}
@media (max-width: 767px) {
	.hero--photo { align-items: flex-end; min-height: 640px; padding-block: calc(var(--header-h) + var(--header-gap) + 170px) 36px; }
	.hero--photo .hero__bg { object-position: 50% 0; }
	.hero--photo .hero__shade { background: linear-gradient(180deg, rgba(13, 59, 130, 0) 18%, rgba(13, 59, 130, 0.35) 34%, rgba(13, 59, 130, 0.86) 56%, rgba(13, 59, 130, 0.95) 100%); }
	.hero--photo .hero__line { width: 64px; margin-bottom: 1rem; }
	.hero--photo .hero__badge { font-size: 0.78rem; }
	.hero--photo h1 { font-size: 1.75rem; margin-bottom: 1rem; }
	.hero--photo .hero__trust { gap: 8px 14px; font-size: 0.82rem; }
	.hero--photo .hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 1.25rem; }
	.hero--photo .hero__facts .hero__chip { justify-content: center; padding: 8px 10px; }
	.hero--photo .hero__facts .hero__chip-icon { display: none; }
}

/* ==========================================================================
   30. Ảnh bìa hiện HẾT nhà xưởng (chủ web 19/11/2026): khối đầu trang cao đúng theo tỉ lệ ảnh 1280×819
   (không cắt trên/dưới); máy tính: chữ trắng đè bên trái như mục 29; điện thoại: ảnh trọn ở trên, chữ ở dưới nền navy.
   ========================================================================== */
:root { --hero-img-h: calc(100vw / 1.5625); }
.hero--photo .hero__bg { bottom: auto; height: var(--hero-img-h); object-fit: cover; object-position: 50% 50%; }
@media (min-width: 768px) {
	.hero--photo { min-height: calc(var(--hero-img-h) + var(--header-h) + var(--header-gap)); padding-block: calc(var(--header-h) + var(--header-gap) + 32px) 48px; }
	.hero--photo .hero__shade { background:
		linear-gradient(90deg, rgba(13, 59, 130, 0.92) 0%, rgba(13, 59, 130, 0.8) 18%, rgba(13, 59, 130, 0.48) 36%, rgba(13, 59, 130, 0.1) 54%, rgba(13, 59, 130, 0) 66%); }
}
@media (min-width: 768px) and (max-width: 1023px) {
	.hero--photo h1 { font-size: 1.8rem; }
	.hero--photo .hero__content { max-width: 470px; }
	.hero--photo .hero__trust { font-size: 0.8rem; }
}
@media (max-width: 767px) {
	.hero--photo { display: block; min-height: 0; padding: calc(var(--header-h) + var(--header-gap) + var(--hero-img-h) + 28px) 0 40px; background: var(--c-primary); }
	.hero--photo .hero__shade { background: linear-gradient(180deg, transparent 0, transparent calc(var(--header-h) + var(--header-gap) + var(--hero-img-h) - 50px), var(--c-primary) calc(var(--header-h) + var(--header-gap) + var(--hero-img-h))); }
	.hero--photo .hero__scroll { display: none; }
}
/* Máy tính: ảnh co vừa màn hình đầu (không cần cuộn mới thấy hết xưởng), canh phải, mép trái hoà vào nền navy. */
@media (min-width: 768px) {
	:root { --hero-img-h: min(100vw / 1.5625, 100vh - var(--header-h) - var(--header-gap)); }
	.hero--photo .hero__bg { left: auto; right: 0; width: min(100%, var(--hero-img-h) * 1.5625); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); }
}
.hero--photo .hero__scroll { display: none; }

/* 31. Ảnh đại diện bài theo frame chủ web (19/11/2026, 3:2 — 1200x800): khung thẻ bài + ảnh đầu bài 3:2 để không cắt logo/chữ. */
.card--post .card__media { aspect-ratio: 3 / 2; }
.card--post .card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-cover { aspect-ratio: 3 / 2; border-radius: var(--radius); }

/* ==========================================================================
   32. Trang bìa màu xanh SÁNG hơn (chủ web 20/11/2026) — giữ nguyên bố cục mục 29–30,
   đổi lớp navy đậm thành xanh dương tươi (chữ trắng vẫn đủ tương phản).
   ========================================================================== */
.hero--photo { background: linear-gradient(120deg, #165CC0 0%, #165CC0 100%); }
@media (min-width: 768px) {
	.hero--photo .hero__shade { background:
		linear-gradient(90deg, rgba(21, 87, 176, 0.93) 0%, rgba(30, 111, 208, 0.8) 18%, rgba(22, 92, 192, 0.45) 36%, rgba(22, 92, 192, 0.1) 54%, rgba(22, 92, 192, 0) 66%); }
}
@media (max-width: 767px) {
	.hero--photo { background: #165CC0; }
	.hero--photo .hero__shade { background: linear-gradient(180deg, transparent 0, transparent calc(var(--header-h) + var(--header-gap) + var(--hero-img-h) - 50px), #165CC0 calc(var(--header-h) + var(--header-gap) + var(--hero-img-h))); }
}
.hero--photo h1 { text-shadow: 0 2px 14px rgba(8, 40, 90, 0.35); }
.hero--photo .hero__title-accent { color: #E6F0FF; }
.hero--photo .hero__line { background: #fff; }
.hero--photo .hero__badge { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.45); }
.hero--photo .hero__trust { color: #fff; text-shadow: 0 1px 4px rgba(8, 40, 90, 0.4); }
.hero--photo .hero__trust li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231E6FD0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.hero--photo .hero__facts .hero__chip--years { background: #fff; color: var(--c-primary); }
.hero--photo .hero__facts .hero__chip--years strong { color: var(--c-accent); }
.hero--photo .hero__facts .hero__chip--years small { color: var(--c-text-muted); }
/* 33. Ảnh bìa phủ tận mép trên, menu nổi không che bảng hiệu (chủ web 20/11/2026).
   Ảnh v2 (mat-tien-nha-may-tan-dai-phu-v2, 1280x959, tỉ lệ 1,3347) = ảnh gốc 1280x819 + 140px tường tôn xanh nối
   phía trên → menu nổi đè lên phần tường trống, chữ "CÔNG TY TNHH TẤN ĐẠI PHÚ" nằm dưới menu.
   Điện thoại (<768px): ảnh vẫn dưới menu, khung tỉ lệ cũ 1,5625 → cắt bỏ phần tường nối thêm (canh đáy). */
.hero--photo .hero__bg { object-position: 50% 100%; }
@media (min-width: 768px) {
	:root { --hero-img-h: min(100vw / 1.3347, 100vh); }
	.hero--photo { min-height: var(--hero-img-h); }
	.hero--photo .hero__bg { top: 0; left: auto; right: 0; height: var(--hero-img-h); width: min(100%, var(--hero-img-h) * 1.3347); object-position: 50% 100%; }
}

/* 34. TRANG BÌA KIỂU POSTER theo ảnh mẫu chủ web gửi 20/11/2026 (hero.php .hero--poster).
   Nền = anh-web/trang-bia-nha-xuong-cuon-mang-pe.webp (1672x941, tỉ lệ 1,7768): nửa trái đã là nền xanh, nửa phải nhà xưởng + cuộn màng.
   Máy tính ≥900px: mọi kích thước tính theo đơn vị --u = (độ rộng ảnh)/1672 → bố cục giữ đúng tỉ lệ ảnh mẫu ở mọi màn hình.
   <900px: ảnh (phần nhà xưởng) ở trên, chữ dưới trên nền xanh. Màu nền khớp cột trái của ảnh (chuyển dọc hình cos). */
.hero--poster { --pb: rgb(16, 108, 212); --pb2: rgb(6, 84, 172); display: block; min-height: 0; padding: 0 0 44px; color: #fff;
	background: linear-gradient(180deg, var(--pb) 0%, rgb(14, 104, 206) 12.5%, rgb(11, 96, 192) 25%, rgb(7, 88, 178) 37.5%, var(--pb2) 50%, rgb(7, 88, 178) 62.5%, rgb(11, 96, 192) 75%, rgb(14, 104, 206) 87.5%, var(--pb) 100%); }
.hero--poster .hero__bg { position: relative; display: block; width: 100%; height: max(100vw, 330px); max-height: 560px; object-fit: cover; object-position: 100% 70%; animation: none;
	-webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
.hero--poster .hero__shade { display: none; }
.hero--poster .hero__waves { position: absolute; left: 0; bottom: 0; width: min(60%, 900px); height: 45%; z-index: 0; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400' preserveAspectRatio='none'%3E%3Cpath d='M0 250C180 180 380 210 560 300S760 390 800 400' fill='none' stroke='%23ffffff' stroke-opacity='.16' stroke-width='2'/%3E%3Cpath d='M0 300C200 240 400 270 580 350S760 420 800 430' fill='none' stroke='%23ffffff' stroke-opacity='.1' stroke-width='2'/%3E%3Cpath d='M0 330C220 290 430 330 620 400L0 400Z' fill='%23ffffff' fill-opacity='.05'/%3E%3C/svg%3E") no-repeat left bottom / 100% 100%; }
.hero--poster .hero__content { position: relative; z-index: 1; max-width: none; margin-top: -40px; padding: 0 var(--gutter); }
.hero--poster .hero__badge { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 7px 16px 7px 14px; border: 1.5px solid rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 0.82rem; font-weight: 600; letter-spacing: 0; }
.hero--poster .hero__badge-dot { background: #2BD46A; }
.hero--poster h1 { margin: 18px 0 0; color: #fff; font-size: 1.85rem; line-height: 1.15; text-shadow: none; }
.hero--poster .hero__title-top { display: block; }
.hero--poster .hero__title-slab { position: relative; display: inline-block; margin: 12px 0 0 -10px; padding: 6px 26px 8px 16px; background: #fff; border-radius: 6px; transform: skewX(-12deg); box-shadow: 0 14px 30px rgba(4, 40, 100, 0.28); }
.hero--poster .hero__title-slab::after { content: ""; position: absolute; top: 0; bottom: 0; right: -16px; width: 26px; border-radius: 0 6px 6px 0; background: linear-gradient(90deg, rgba(160, 205, 255, 0.95), rgba(160, 205, 255, 0.35)); z-index: -1; }
.hero--poster .hero__title-slab > span { display: inline-block; transform: skewX(12deg); font-size: 1.12em; color: #0D3B82; background: linear-gradient(90deg, #0D3B82 0%, #0D3B82 45%, #165CC0 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero--poster .hero__lead { max-width: none; margin: 14px 0 0; color: #fff; font-size: 1.05rem; font-style: italic; font-weight: 500; text-align: left; }
.hero--poster .hero__features { display: grid; grid-template-columns: repeat(4, 1fr); margin: 24px 0 0; padding: 0; list-style: none; }
.hero--poster .hero__features li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 6px; text-align: center; font-size: 0.78rem; font-weight: 600; line-height: 1.25; }
.hero--poster .hero__features li + li { border-left: 1px solid rgba(255, 255, 255, 0.4); }
.hero--poster .hero__features svg { width: 34px; height: 34px; }
.hero--poster .hero__features span { white-space: nowrap; }
.hero--poster .hero__actions { display: grid; gap: 12px; margin-top: 26px; }
.hero__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 20px; border: 2px solid #fff; border-radius: 12px; color: #fff; font-weight: 800; font-size: 1rem; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s; }
.hero__btn svg { flex: none; width: 24px; height: 24px; }
.hero__btn .icon-arrow { width: 20px; height: 20px; transition: transform 0.2s; }
.hero__btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.12); color: #fff; }
.hero__btn:hover .icon-arrow { transform: translateX(4px); }
.hero__btn--solid { background: #fff; color: #10489E; box-shadow: 0 12px 26px rgba(4, 40, 100, 0.3); }
.hero__btn--solid:hover { background: #fff; color: #0D3B82; box-shadow: 0 16px 32px rgba(4, 40, 100, 0.36); }
.hero__btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (min-width: 600px) and (max-width: 899px) {
	.hero--poster .hero__bg { height: 62vw; }
	.hero--poster h1 { font-size: 2.4rem; }
	.hero--poster .hero__actions { grid-template-columns: auto auto; justify-content: start; }
	.hero--poster .hero__features { max-width: 560px; }
}
@media (min-width: 900px) {
	.hero--poster { --iw: min(100vw, 100vh * 1.7768, 1920px); --u: calc(var(--iw) / 1672); display: flex; align-items: center; min-height: calc(var(--iw) / 1.7768); padding: calc(var(--u) * 205) 0 calc(var(--u) * 150); }
	.hero--poster .hero__bg { position: absolute; top: 0; right: 0; left: auto; width: var(--iw); height: 100%; max-height: none; object-position: 100% 50%; -webkit-mask-image: none; mask-image: none; }
	.hero--poster .hero__waves { width: calc(var(--iw) * 0.5); }
	.hero--poster .hero__content { margin: 0; padding: 0 0 0 max(var(--gutter), calc(100% - var(--iw) + var(--u) * 60)); width: auto; }
	.hero--poster .hero__badge { gap: calc(var(--u) * 12); padding: calc(var(--u) * 8) calc(var(--u) * 20) calc(var(--u) * 8) calc(var(--u) * 16); font-size: max(13px, var(--u) * 18); }
	.hero--poster .hero__badge-dot { width: max(8px, var(--u) * 11); height: max(8px, var(--u) * 11); }
	.hero--poster h1 { margin-top: calc(var(--u) * 36); font-size: calc(var(--u) * 62); }
	.hero--poster .hero__title-slab { margin: calc(var(--u) * 14) 0 0 calc(var(--u) * -18); padding: calc(var(--u) * 6) calc(var(--u) * 44) calc(var(--u) * 10) calc(var(--u) * 24); border-radius: calc(var(--u) * 8); }
	.hero--poster .hero__title-slab::after { right: calc(var(--u) * -22); width: calc(var(--u) * 34); }
	.hero--poster .hero__title-slab > span { font-size: 1.04em; }
	.hero--poster .hero__lead { margin-top: calc(var(--u) * 20); font-size: max(15px, var(--u) * 31); }
	.hero--poster .hero__features { width: calc(var(--u) * 640); margin-top: calc(var(--u) * 42); }
	.hero--poster .hero__features li { gap: calc(var(--u) * 10); padding: 0 calc(var(--u) * 10); font-size: max(12.5px, var(--u) * 19); }
	.hero--poster .hero__features svg { width: calc(var(--u) * 52); height: calc(var(--u) * 52); }
	.hero--poster .hero__actions { display: flex; gap: calc(var(--u) * 28); margin-top: calc(var(--u) * 52); }
	.hero--poster .hero__btn { gap: calc(var(--u) * 14); min-height: max(44px, var(--u) * 68); padding: 0 calc(var(--u) * 28); border-radius: calc(var(--u) * 14); font-size: max(14px, var(--u) * 23); }
	.hero--poster .hero__btn svg { width: calc(var(--u) * 32); height: calc(var(--u) * 32); }
	.hero--poster .hero__btn .icon-arrow { width: calc(var(--u) * 24); height: calc(var(--u) * 24); }
}
@media (prefers-reduced-motion: reduce) { .hero__btn, .hero__btn .icon-arrow { transition: none; } }

/* 35. TRANG BÌA V2 theo ảnh mẫu chủ web gửi 20/11/2026 lần 2 (hero.php .hero--poster.hero--v2; nền chung ở mục 34).
   Nền = anh-web/trang-bia-nha-xuong-v2.webp (1670x941, tỉ lệ 1,7747): trái xanh trơn; phải nhà xưởng + cuộn màng + 3 thẻ ảnh sản phẩm.
   ≥900px: mọi cỡ theo --u = (độ rộng ảnh)/1670, toạ độ lấy đúng ảnh mẫu; dải thông tin trắng nằm đúng chỗ dải vẽ sẵn đã xoá.
   <900px: ảnh (phần bên phải) ở trên, chữ + nút + dải thông tin (lưới 2x2) ở dưới. Màu vàng nút/dải chữ theo ảnh mẫu chủ web. */
.hero--v2 { --y: #FFD21F; --y2: #FFC400; padding-bottom: 28px; }
.hero--v2 .hero__bg { object-position: 100% 45%; }
.hero--v2 h1 { margin-top: 0; font-weight: 800; letter-spacing: -0.005em; }
.hero--v2 .hero__title-top, .hero--v2 .hero__title-bottom { display: block; }
.hero--v2 .hero__title-bottom { margin-top: 10px; }
.hero--v2 .hero__title-slab { margin: 10px 0 0 -10px; padding: 6px 22px 8px 16px; background: linear-gradient(180deg, var(--y) 0%, var(--y2) 100%); border-radius: 10px; transform: skewX(-8deg); box-shadow: 0 12px 26px rgba(4, 40, 100, 0.25); }
.hero--v2 .hero__title-slab::after { display: none; }
.hero--v2 .hero__title-slab > span { transform: skewX(8deg); font-size: 1.04em; color: #0D3B82; background: none; -webkit-text-fill-color: #0D3B82; }
.hero--v2 .hero__lead { margin-top: 18px; padding-left: 14px; border-left: 3px solid rgba(255, 255, 255, 0.85); font-size: 1rem; line-height: 1.4; }
.hero--v2 .hero__features li { gap: 8px; border: 0 !important; position: relative; }
.hero--v2 .hero__features li + li::before { content: ""; position: absolute; left: 0; top: 8%; height: 34%; border-left: 1px solid rgba(255, 255, 255, 0.45); }
.hero--v2 .hero__feature-icon { display: grid; place-items: center; width: 52px; height: 52px; border: 1.5px solid rgba(255, 255, 255, 0.9); border-radius: 10px; background: rgba(255, 255, 255, 0.06); }
.hero--v2 .hero__feature-icon svg { width: 30px; height: 30px; }
.hero--v2 .hero__btn { border-radius: 100px; min-height: 50px; }
.hero--v2 .hero__btn--solid { background: linear-gradient(180deg, var(--y) 0%, var(--y2) 100%); border-color: transparent; color: #0D3B82; }
.hero--v2 .hero__btn--solid:hover { background: linear-gradient(180deg, #FFDB45 0%, var(--y) 100%); color: #0D3B82; }
.hero__strip { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px var(--gutter) 0; padding: 0; list-style: none; }
.hero__strip li { display: flex; align-items: center; gap: 10px; padding: 12px 12px; background: #fff; border-radius: 14px; color: #0D3B82; font-size: 0.8rem; font-weight: 600; line-height: 1.25; box-shadow: 0 10px 24px rgba(4, 40, 100, 0.18); }
.hero__strip svg { flex: none; width: 30px; height: 30px; color: #0D3B82; }
.hero__strip strong { font-weight: 900; font-size: 1.15em; white-space: nowrap; }
.hero__strip li:first-child strong { font-size: 1.6em; vertical-align: -0.08em; }
@media (min-width: 600px) and (max-width: 899px) {
	.hero__strip { grid-template-columns: repeat(4, 1fr); }
	.hero__strip li { flex-direction: column; text-align: center; }
}
@media (min-width: 900px) {
	.hero--v2 { --iw: min(100vw, 100vh * 1.7747, 1920px); --u: calc(var(--iw) / 1670); display: block; min-height: calc(var(--iw) / 1.7747); padding: calc(var(--u) * 168) 0 calc(var(--u) * 140); }
	.hero--v2 .hero__content { padding-left: max(var(--gutter), calc(100% - var(--iw) + var(--u) * 62)); }
	.hero--v2 h1 { font-size: calc(var(--u) * 60); line-height: 1.14; }
	.hero--v2 .hero__title-slab { margin: calc(var(--u) * 10) 0 0 calc(var(--u) * -22); padding: calc(var(--u) * 6) calc(var(--u) * 34) calc(var(--u) * 10) calc(var(--u) * 30); border-radius: calc(var(--u) * 14); }
	.hero--v2 .hero__title-bottom { margin-top: calc(var(--u) * 10); }
	.hero--v2 .hero__lead { max-width: calc(var(--u) * 560); margin-top: calc(var(--u) * 22); padding-left: calc(var(--u) * 16); border-left-width: max(2px, var(--u) * 4); font-size: max(14px, var(--u) * 23); }
	.hero--v2 .hero__features { width: calc(var(--u) * 570); margin: calc(var(--u) * 30) 0 0 calc(var(--u) * -12); }
	.hero--v2 .hero__features li { gap: calc(var(--u) * 10); padding: 0 calc(var(--u) * 6); font-size: max(12px, var(--u) * 18.5); }
	.hero--v2 .hero__feature-icon { width: calc(var(--u) * 66); height: calc(var(--u) * 66); border-width: max(1.5px, var(--u) * 2); border-radius: calc(var(--u) * 12); }
	.hero--v2 .hero__feature-icon svg { width: calc(var(--u) * 40); height: calc(var(--u) * 40); }
	.hero--v2 .hero__actions { gap: calc(var(--u) * 18); margin: calc(var(--u) * 34) 0 0 calc(var(--u) * -22); }
	.hero--v2 .hero__btn { gap: calc(var(--u) * 14); min-height: max(42px, var(--u) * 56); padding: 0 calc(var(--u) * 32); border-radius: 100px; border-width: max(1.5px, var(--u) * 2); font-size: max(14px, var(--u) * 22); }
	.hero--v2 .hero__btn .icon-arrow { width: calc(var(--u) * 24); height: calc(var(--u) * 24); }
	.hero__strip { position: absolute; left: calc(100% - var(--iw) + var(--u) * 35); right: calc(var(--u) * 35); bottom: calc(var(--u) * 29); display: flex; align-items: center; justify-content: space-around; gap: 0; height: calc(var(--u) * 84); margin: 0; padding: 0 calc(var(--u) * 30); background: #fff; border-radius: calc(var(--u) * 42); box-shadow: 0 calc(var(--u) * 14) calc(var(--u) * 34) rgba(4, 40, 100, 0.22); }
	.hero__strip li { flex: 1 1 auto; justify-content: center; gap: calc(var(--u) * 14); padding: 0 calc(var(--u) * 12); background: none; border-radius: 0; box-shadow: none; font-size: max(12px, var(--u) * 23); white-space: nowrap; }
	.hero__strip li + li { border-left: 1px solid #D0DFF2; }
	.hero__strip svg { width: calc(var(--u) * 44); height: calc(var(--u) * 44); }
	.hero__strip strong { font-size: calc(var(--u) * 31); }
	.hero__strip li:first-child strong { font-size: calc(var(--u) * 42); }
}
/* 35b. Màn hình rộng mà thấp (ảnh bìa không đủ rộng): phần trống bên trái dùng đúng màu cột mép trái ảnh, mép ảnh mờ dần → không thấy đường nối. */
@media (min-width: 900px) {
	.hero--v2 { background: linear-gradient(180deg, rgb(5, 129, 233) 0%, rgb(23, 124, 218) 10%, rgb(1, 97, 192) 20%, rgb(4, 91, 187) 30%, rgb(0, 87, 183) 40%, rgb(2, 88, 186) 50%, rgb(1, 95, 193) 60%, rgb(4, 119, 224) 70%, rgb(30, 150, 244) 80%, rgb(13, 133, 233) 90%, rgb(1, 120, 226) 100%); }
	.hero--v2 .hero__bg { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px); mask-image: linear-gradient(90deg, transparent 0, #000 60px); }
}
@media (min-width: 1024px) {
	.float-contact { transition: opacity 0.25s, transform 0.25s; }
	body.hero-in-view .float-contact { opacity: 0; transform: translateY(12px); pointer-events: none; }
}
/* 35c. THẲNG HÀNG LỐI (chủ web): mọi thứ bám cùng lưới với thanh menu.
   --edge = mép khung menu; chữ, dải vàng (chữ trong dải), dòng phụ, biểu tượng, nút cùng bắt đầu ở một đường dọc (mép + 32px);
   dải thông tin trắng rộng đúng bằng khung menu. Ảnh nền canh phải, rộng vừa để điểm chữ của ảnh mẫu (x 62) trùng đường dọc đó. */
@media (min-width: 900px) {
	.hero--v2 { --edge: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); --line: calc(var(--edge) + 32px);
		--iw: min(calc((100vw - var(--line)) / 0.9629), 100vh * 1.7747, 1920px); }
	.hero--v2 .hero__content { padding-left: max(var(--gutter) + calc(var(--u) * 30), calc((100% - var(--container)) / 2 + var(--gutter) - 64px)); } /* chủ web 24/11: khối chữ dịch trái 96px (2 lần) so với đường dọc (ảnh giữ nguyên) */
	.hero--v2 { padding-top: max(var(--u) * 168, var(--header-h) + var(--header-gap) * 2 + 24px); }
	.hero--v2 .hero__title-slab { margin-left: calc(var(--u) * -30); }
	.hero--v2 .hero__lead { padding-left: calc(var(--u) * 18); }
	.hero--v2 .hero__features { width: auto; display: flex; margin-left: 0; }
	.hero--v2 .hero__features li { align-items: flex-start; text-align: left; padding: 0 calc(var(--u) * 26); }
	.hero--v2 .hero__features li:first-child { padding-left: 0; }
	.hero--v2 .hero__features li + li::before { top: 0; height: calc(var(--u) * 66); }
	.hero--v2 .hero__actions { margin-left: 0; }
	.hero__strip { left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); padding: 0 calc(var(--u) * 20); }
	.hero__strip li { padding: 0 calc(var(--u) * 10); gap: calc(var(--u) * 12); font-size: max(12px, var(--u) * 19.5); }
	.hero__strip svg { width: calc(var(--u) * 38); height: calc(var(--u) * 38); }
	.hero__strip strong { font-size: calc(var(--u) * 27); }
	.hero__strip li:first-child strong { font-size: calc(var(--u) * 36); }
}

/* ==========================================================================
   HERO v2 (28/11/2026) — web mới baobinhuatandaiphu.com, nhận diện v2
   Nền cobalt #165CC0 + trắng; chữ trên nền cobalt chỉ #FFFFFF / #E6F0FF.
   ========================================================================== */
.hero3 { position: relative; overflow: hidden; padding: calc(var(--header-h) + var(--header-gap) + 2.5rem) 0 0; background: var(--c-primary); color: #fff; }
.hero3::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, #000 0%, transparent 60%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%); pointer-events: none; }
.hero3__grid { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.hero3__badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 1.1rem; padding: 6px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius-pill); font-size: var(--fs-sm); font-weight: 600; color: var(--c-on-dark); }
.hero3__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.hero3__title { margin: 0 0 1.1rem; font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; color: #fff; }
.hero3__title > span { display: block; }
.hero3__slab { display: inline-block !important; margin: .2em 0; padding: .06em .3em; background: #fff; color: var(--c-primary-dark); border-radius: var(--radius-sm); }
.hero3__lead { max-width: 36rem; margin: 0 0 1.5rem; font-size: var(--fs-lg); line-height: 1.6; color: var(--c-on-dark); }
.hero3__features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.hero3__features li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.hero3__features svg { flex: none; padding: 7px; width: 36px; height: 36px; border-radius: var(--radius-sm); background: rgba(255,255,255,.14); }
.hero3__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero3__btn { border-radius: var(--radius); }
.hero3__btn--solid { background: #fff; color: var(--c-primary-dark); }
.hero3__btn--solid:hover { background: var(--c-on-dark); color: var(--c-primary-dark); }
.hero3__btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.hero3__btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.hero3__media { position: relative; padding-bottom: 2.5rem; }
.hero3__photo { margin: 0; overflow: hidden; border-radius: var(--radius); border: 4px solid rgba(255,255,255,.9); box-shadow: 0 24px 48px rgba(13, 59, 130, .35); }
.hero3__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hero3__photo { width: 88%; }
.hero3__photo--small { position: absolute; right: 0; bottom: 0; width: 38%; }
.hero3__photo--small img { aspect-ratio: 1; }
.hero3__chip { position: absolute; left: 16px; bottom: 3.75rem; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; color: var(--c-primary-dark); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero3__chip svg { color: var(--c-ok); }
.hero3__chip strong { display: block; font-family: var(--f-heading); font-size: 1rem; line-height: 1.2; }
.hero3__chip small { display: block; font-size: .75rem; color: var(--c-text-muted); }
.hero3__strip { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 2.5rem 0 0; padding: 0; list-style: none; background: #fff; color: var(--c-text); border-radius: var(--radius) var(--radius) 0 0; box-shadow: var(--shadow); }
.hero3__strip li { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--c-border); }
.hero3__strip li:nth-child(odd) { border-right: 1px solid var(--c-border); }
.hero3__strip svg { flex: none; color: var(--c-primary); }
.hero3__strip strong { font-family: var(--f-heading); color: var(--c-primary-dark); }
@media (min-width: 768px) {
	.hero3__strip { grid-template-columns: repeat(4, 1fr); }
	.hero3__strip li { border-bottom: 0; border-right: 1px solid var(--c-border); }
	.hero3__strip li:last-child { border-right: 0; }
}
@media (min-width: 1024px) {
	.hero3__grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; }
}
@media (max-width: 599px) {
	.hero3__features { grid-template-columns: 1fr; }
	.hero3__actions .btn { flex: 1 1 100%; }
	.hero3__photo--small { display: none; }
	.hero3__media { padding-bottom: 0; }
	.hero3__photo { width: 100%; }
	.hero3__chip { bottom: 16px; }
}

/* Ô gửi ảnh mẫu / file logo trong form báo giá (28/11/2026) */
.form__file input[type="file"] { min-height: 0; padding: 12px 14px; border: 1.5px dashed var(--c-ui-border); border-radius: var(--radius); background: var(--c-bg-alt); cursor: pointer; }
.form__file input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: var(--radius-sm); background: var(--c-primary); color: #fff; font-weight: 600; cursor: pointer; }
.form__file small { display: block; margin-top: 6px; color: var(--c-text-muted); font-size: .8rem; }


/* ==========================================================================
   Phễu lead (28/11/2026): bước form, mồi hồ sơ, công cụ tính, trang cảm ơn
   ========================================================================== */
.form__step { display: flex; align-items: center; gap: 10px; margin: 0; font-size: var(--fs-sm); font-weight: 700; color: var(--c-primary-dark, #0D3B82); }
.form__step-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-primary); color: #fff; font-size: .85rem; }
.form__title { margin: 0; font-size: 1.25rem; }
.form__req { color: #9b1c1c; }
.form__carry { margin: 0; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--c-bg-alt); font-size: var(--fs-sm); }
.form__note a { color: inherit; text-decoration: underline; }
@media (min-width: 600px) { .form--quote .form__row, .form--hoso .form__row, .form--step2 .form__row { grid-template-columns: 1fr 1fr; } }

.hoso { background: var(--c-bg-alt); }
.hoso--inline { margin: 2.5rem 0; padding: 28px; border-radius: var(--radius); border: 1px solid var(--c-border); }
.hoso__wrap { display: grid; gap: 32px; align-items: start; }
.hoso__info h2 { margin: .25rem 0 .75rem; }
.hoso__list { margin: 1.25rem 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.hoso__list li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); }
.hoso__list svg { flex: none; margin-top: 2px; color: #126B41; }
@media (min-width: 900px) { .hoso__wrap { grid-template-columns: 1.1fr 1fr; gap: 48px; } }

.calc { display: grid; gap: 18px; margin: 2rem 0; padding: 28px; background: #fff; border: 1px solid var(--c-border); border-top: 4px solid var(--c-primary); border-radius: var(--radius); box-shadow: var(--shadow); }
.calc__title { margin: 0; font-size: 1.35rem; }
.calc__lead, .calc__note { margin: 0; font-size: var(--fs-sm); color: var(--c-text-muted); }
.calc__grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.calc__in label { display: block; margin-bottom: 6px; font-weight: 600; font-size: var(--fs-sm); }
.calc__in input { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--c-ui-border, #5C718E); border-radius: var(--radius-sm); font: inherit; font-variant-numeric: tabular-nums; }
.calc__in input:focus { outline: 3px solid rgba(22, 92, 192, .35); outline-offset: 1px; border-color: var(--c-primary); }
.calc__out { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); margin: 0; }
.calc__out div { padding: 14px; border-radius: var(--radius-sm); background: var(--c-bg-alt); text-align: center; }
.calc__out dt { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c-text-muted); }
.calc__out dd { margin: 4px 0 0; font-size: 1.35rem; font-weight: 800; color: var(--c-primary-dark, #0D3B82); font-variant-numeric: tabular-nums; }
.calc .btn { justify-self: start; }
@media (max-width: 599px) { .calc { padding: 20px; } .calc__grid, .calc__out { grid-template-columns: 1fr; } .calc .btn { justify-self: stretch; } }

.thanks__wrap { display: grid; gap: 32px; align-items: start; }
.thanks__msg .notice { font-size: 1.05rem; line-height: 1.6; }
.thanks__fast { margin: 1.5rem 0 .75rem; font-weight: 700; }
.thanks__hours { margin: .75rem 0 0; font-size: var(--fs-sm); color: var(--c-text-muted); }
@media (min-width: 900px) { .thanks__wrap { grid-template-columns: 1fr 1.2fr; gap: 48px; } }

.header-cta { white-space: nowrap; }
@media (max-width: 599px) { .hero3 { padding-top: calc(var(--header-h) + var(--header-gap) + 0.75rem); } }

.trust-strip { display: grid; gap: 8px; margin: 16px 0 0; padding: 14px 16px; list-style: none; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-bg-alt); font-size: var(--fs-sm); }
.trust-strip strong { color: var(--c-primary-dark); margin-right: 4px; }
.btn--light { background: #fff; color: #0D3B82; }
.btn--light:hover { background: #E6F0FF; color: #0D3B82; }


/* ==========================================================================
   GIAO DIỆN v3 (28/11/2026) — phong cách thẻ trắng học từ web mẫu ecopillo.com.vn
   Màu: cobalt bộ nhận diện v2 (chủ web chọn giữ). Tiêu đề: Noto Serif Display (chủ web chọn).
   Mọi khối mới có tiền tố .eco-. Đặt cuối tệp để đè kiểu cũ.
   ========================================================================== */
:root {
	--f-heading: "Noto Serif Display", Georgia, "Times New Roman", serif;
	--f-ui: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--c-page: #EFF5FD;
	--c-sky: #DCEAFC;
	--c-call: #15803D;
	--c-zalo: #0068FF;
	--radius: 20px;
	--radius-sm: 12px;
	--radius-card: 28px;
	--shadow: 0 2px 20px rgba(13, 59, 130, 0.07);
	--shadow-lg: 0 18px 44px rgba(13, 59, 130, 0.13);
}
body { background: var(--c-page); }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.01em; }
h4 { font-family: var(--f-ui); font-weight: 700; }
.section--alt { background: transparent; }
.section__head h2, .eco-head h2, .eco-story h2, .eco-faq h2, .eco-needs h2 { color: var(--c-primary-dark); }
.section__lead { color: var(--c-text-muted); }

/* Nhãn nhỏ dạng viên thuốc */
.section__eyebrow { gap: 8px; padding: 6px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-pill); background: #fff; font-family: var(--f-ui); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--c-primary-dark); }
.section__eyebrow::before, .section__head:not(.section__head--left) .section__eyebrow::after { display: none; }
.section__eyebrow--dark { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.28); color: #E6F0FF; }

/* Nút viên thuốc */
.btn { font-family: var(--f-ui); font-weight: 600; }
.btn--lg { min-height: 54px; padding: 14px 30px; font-size: 1.02rem; }
.btn--white { background: #fff; color: var(--c-primary-dark); border-color: var(--c-border); }
.btn--white:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn--call { background: var(--c-call); color: #fff; }
.btn--call:hover { background: #116432; color: #fff; }
.btn .ico { flex: none; }
.eco-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-ui); font-weight: 700; color: var(--c-primary); text-decoration: none; }
.eco-link:hover { gap: 12px; }

/* Thẻ trắng bo lớn */
.eco-card { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow); }
.card { border-radius: 22px; }

/* Đầu trang: trong mờ, bo lớn */
.site-header__inner { background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 22px; }
.primary-nav a { font-family: var(--f-ui); font-weight: 600; }
.site-logo__name { font-family: var(--f-ui); }
.header-cta { font-family: var(--f-ui); }

/* ---------- Màn hình đầu ---------- */
.eco-hero { position: relative; margin-top: calc(-1 * (var(--header-h) + var(--header-gap))); padding: calc(var(--header-h) + var(--header-gap) + 48px) 0 96px; background: linear-gradient(180deg, #D3E5FB 0%, #E6F0FD 55%, var(--c-page) 100%); overflow: hidden; }
.eco-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 85% 10%, rgba(255, 255, 255, 0.85), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(22, 92, 192, 0.08), transparent 70%); pointer-events: none; }
.eco-hero__grid { position: relative; display: grid; gap: 40px; align-items: center; }
.eco-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.8); border: 1px solid #fff; font-family: var(--f-ui); font-size: 0.85rem; font-weight: 600; color: var(--c-primary-dark); }
.eco-hero__title { margin: 18px 0 16px; font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.9rem); line-height: 1.08; color: var(--c-primary-dark); }
.eco-hero__title em { display: block; font-style: italic; font-weight: 500; color: var(--c-primary); }
.eco-hero__lead { max-width: 560px; margin: 0 0 26px; font-size: 1.06rem; color: var(--c-text-muted); }
.eco-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; max-width: 600px; }
.eco-cats a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.95); text-align: center; text-decoration: none; color: var(--c-primary-dark); transition: transform 0.2s, background 0.2s, box-shadow 0.2s; }
.eco-cats a:hover { transform: translateY(-3px); background: #fff; box-shadow: var(--shadow); }
.eco-cats__ico { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 4px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--c-border); color: var(--c-primary); }
.eco-cats strong { font-family: var(--f-heading); font-size: 1.02rem; font-weight: 600; line-height: 1.2; }
.eco-cats small { font-size: 0.76rem; color: var(--c-text-muted); line-height: 1.3; }
.eco-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.eco-hero__media { position: relative; }
.eco-hero__photo { margin: 0; overflow: hidden; border-radius: 32px; box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.eco-hero__photo img { display: block; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.eco-hero__photo--small { position: absolute; right: -10px; bottom: -36px; width: 42%; border-radius: 24px; }
.eco-hero__photo--small img { aspect-ratio: 1; }
.eco-hero__chip { position: absolute; left: -14px; bottom: 28px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg); color: var(--c-ok); }
.eco-hero__chip strong { display: block; font-family: var(--f-ui); color: var(--c-primary-dark); line-height: 1.2; }
.eco-hero__chip small { font-size: 0.75rem; color: var(--c-text-muted); }
@media (min-width: 1024px) { .eco-hero__grid { grid-template-columns: 1.08fr 0.92fr; gap: 56px; } }
@media (max-width: 599px) {
	.eco-hero { padding: calc(var(--header-h) + var(--header-gap) + 20px) 0 64px; }
	.eco-cats { grid-template-columns: repeat(2, 1fr); }
	.eco-hero__actions .btn { flex: 1 1 100%; }
	.eco-hero__photo--small { width: 38%; right: 8px; bottom: -24px; }
	.eco-hero__chip { left: 8px; bottom: 16px; }
}

/* ---------- Thẻ lời hứa ---------- */
.eco-promise { position: relative; z-index: 2; margin-top: -56px; }
.eco-promise__card { padding: 22px; }
.eco-promise__grid { display: grid; gap: 18px; }
.eco-frame { position: relative; padding: 26px 14px 14px; border: 2px solid #BCD3F3; border-radius: 22px; }
.eco-frame__tab { position: absolute; top: -13px; left: 16px; margin: 0; padding: 4px 12px; border-radius: 10px; background: #DCEAFC; font-family: var(--f-ui); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-primary-dark); }
.eco-promise__tiles, .eco-promise__values { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.eco-promise__tiles { grid-template-columns: repeat(4, 1fr); }
.eco-promise__tiles a { display: grid; gap: 8px; justify-items: center; padding: 8px; border-radius: 16px; background: var(--c-page); text-decoration: none; text-align: center; color: var(--c-primary-dark); transition: background 0.2s; }
.eco-promise__tiles a:hover { background: #DCEAFC; }
.eco-promise__thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; }
.eco-promise__label { font-family: var(--f-ui); font-size: 0.82rem; font-weight: 600; line-height: 1.25; }
.eco-promise__values { grid-template-columns: repeat(3, 1fr); }
.eco-promise__values li { display: grid; align-content: center; gap: 4px; padding: 16px 10px; border-radius: 16px; background: var(--c-page); text-align: center; }
.eco-promise__values strong { font-family: var(--f-heading); font-size: 1.45rem; font-weight: 600; line-height: 1.1; color: var(--c-primary-dark); }
.eco-promise__values span { font-size: 0.82rem; color: var(--c-text-muted); line-height: 1.35; }
.eco-promise__note { margin: 18px auto 4px; max-width: 760px; padding-top: 16px; border-top: 1px solid var(--c-border); text-align: center; color: var(--c-text-muted); }
@media (min-width: 900px) { .eco-promise__grid { grid-template-columns: 1fr 1fr; } .eco-promise__card { padding: 26px; } }
@media (max-width: 599px) { .eco-promise__tiles { grid-template-columns: repeat(2, 1fr); } .eco-promise__values { grid-template-columns: 1fr; } }

/* ---------- Đầu khối 2 cột ---------- */
.eco-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.eco-head > div { max-width: 720px; }
.eco-head h2 { margin: 12px 0 8px; }
.eco-head .section__lead { margin: 0; }

/* ---------- Chọn theo nhu cầu (bento) ---------- */
.eco-needs__grid { display: grid; gap: 20px; }
.eco-feature { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.eco-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.eco-feature__media { position: relative; display: block; }
.eco-feature__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.eco-feature__tag { position: absolute; left: 18px; bottom: 18px; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(13, 59, 130, 0.88); color: #fff; font-family: var(--f-ui); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.eco-feature__body { display: grid; gap: 10px; padding: 24px 26px 28px; }
.eco-feature__title { font-family: var(--f-heading); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 600; line-height: 1.15; color: var(--c-primary-dark); }
.eco-feature__text { color: var(--c-text-muted); }
.eco-needs__list { padding: 22px; }
.eco-needs__ask { margin: 0 0 10px; font-family: var(--f-ui); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-text-muted); }
.eco-needs__list ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.eco-needs__list a { display: grid; grid-template-columns: 64px 1fr 20px; gap: 14px; align-items: center; padding: 10px; border-radius: 18px; text-decoration: none; color: var(--c-primary-dark); transition: background 0.2s; }
.eco-needs__list a:hover { background: var(--c-page); }
.eco-needs__list a .ico { color: var(--c-primary); }
.eco-needs__thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; }
.eco-needs__txt { display: grid; gap: 2px; }
.eco-needs__txt strong { font-family: var(--f-heading); font-size: 1.12rem; font-weight: 600; line-height: 1.25; }
.eco-needs__txt small { font-size: 0.86rem; color: var(--c-text-muted); }
.eco-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.eco-chips a { display: inline-block; padding: 9px 18px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--c-border); font-family: var(--f-ui); font-size: 0.88rem; font-weight: 600; color: var(--c-primary-dark); text-decoration: none; }
.eco-chips a:hover { border-color: var(--c-primary); color: var(--c-primary); }
@media (min-width: 900px) { .eco-needs__grid { grid-template-columns: 1.05fr 1fr; } }

/* ---------- Câu chuyện + con số ---------- */
.eco-story__grid { display: grid; gap: 32px; align-items: center; }
.eco-story h2 { margin: 12px 0 14px; }
.eco-story__text { color: var(--c-text-muted); max-width: 620px; }
.eco-quote { margin: 22px 0 24px; padding: 4px 0 4px 20px; border-left: 3px solid var(--c-primary); font-family: var(--f-heading); font-size: 1.3rem; font-style: italic; font-weight: 500; line-height: 1.45; color: var(--c-primary-dark); }
.eco-stats { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.eco-stats li { display: flex; align-items: center; gap: 20px; padding: 22px 26px; }
.eco-stats__num { flex: none; min-width: 140px; font-family: var(--f-heading); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--c-primary-dark); }
.eco-stats__num small { font-size: 1.1rem; font-weight: 500; color: var(--c-primary); }
.eco-stats__label { color: var(--c-text-muted); }
@media (min-width: 900px) { .eco-story__grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }

/* ---------- Khối nhà máy nền đậm ---------- */
.eco-dark { position: relative; margin-inline: auto; background: var(--c-primary-dark); color: #E6F0FF; overflow: hidden; }
.eco-dark::before { content: ""; position: absolute; inset: 0; opacity: 0.18; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.eco-dark::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 90% 0%, rgba(22, 92, 192, 0.55), transparent 70%); pointer-events: none; }
.eco-dark .container { position: relative; z-index: 1; }
.eco-dark h2 { margin: 14px 0 14px; color: #fff; }
.eco-dark__grid { display: grid; gap: 36px; align-items: center; }
.eco-dark__lead { color: #E6F0FF; max-width: 560px; }
.eco-checks { display: grid; gap: 10px 20px; margin: 20px 0 28px; padding: 0; list-style: none; }
.eco-checks li { display: flex; gap: 10px; align-items: flex-start; }
.eco-checks .ico { flex: none; margin-top: 3px; padding: 2px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); color: #fff; }
.eco-dark__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.eco-dark__photo { position: relative; margin: 0; overflow: hidden; border-radius: 24px; }
.eco-dark__photo img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.eco-dark__photo--2 { margin-top: 40px; }
.eco-dark__photo figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.92); color: var(--c-primary-dark); font-family: var(--f-ui); font-size: 0.78rem; font-weight: 700; }
.eco-steps { margin-top: 56px; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.eco-steps__title { margin: 0 0 20px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); color: #fff; }
.eco-steps ol { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.eco-steps li { display: grid; gap: 6px; padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.92rem; color: #E6F0FF; }
.eco-steps__num { font-family: var(--f-heading); font-size: 1.6rem; font-weight: 600; color: #fff; }
.eco-steps li strong { font-family: var(--f-ui); color: #fff; }
@media (min-width: 600px) { .eco-checks { grid-template-columns: 1fr 1fr; } .eco-steps ol { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .eco-dark__grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } .eco-steps ol { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1240px) { .eco-dark { width: calc(100% - 48px); border-radius: 40px; } }

/* ---------- Chứng nhận, hồ sơ, form, FAQ dạng thẻ ---------- */
.certs__item { background: #fff; border-radius: 22px; padding: 14px; box-shadow: var(--shadow); }
.certs__item img { border-radius: 12px; }
.hoso { background: transparent; }
.hoso:not(.hoso--inline) .hoso__wrap { padding: clamp(22px, 2vw + 12px, 44px); background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow); }
.hoso--inline { background: #fff; border-radius: 24px; }
.form { border-radius: var(--radius-card); box-shadow: var(--shadow-lg); }
#bao-gia .quote-form { padding: clamp(22px, 2vw + 12px, 44px); background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow); }
#bao-gia .form { box-shadow: none; background: var(--c-page); }
.eco-faq__grid { display: grid; gap: 32px; align-items: start; }
.eco-faq__side h2 { margin: 12px 0 12px; }
.eco-faq__side p { color: var(--c-text-muted); }
.eco-faq__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 10px; }
.eco-faq__hours { color: var(--c-text-muted); }
.eco-faq .faq { max-width: none; margin: 0; }
.faq__item { border-radius: 18px; }
.faq__q { font-family: var(--f-heading); font-weight: 600; color: var(--c-primary-dark); }
@media (min-width: 900px) { .eco-faq__grid { grid-template-columns: 0.8fr 1.2fr; gap: 56px; } .eco-faq__side { position: sticky; top: calc(var(--header-h) + 32px); } }

/* ---------- Trang con ---------- */
.page-hero { position: relative; margin-top: calc(-1 * (var(--header-h) + var(--header-gap))); padding: calc(var(--header-h) + var(--header-gap) + 36px) 0 56px; background: linear-gradient(180deg, #D3E5FB 0%, var(--c-page) 100%); }
.page-hero h1 { color: var(--c-primary-dark); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }
.page-template-template-dich-vu .split > article, .page-template-page-templates-template-dich-vu .split > article,
.page-template-default .entry, .page-template-page-templates-template-gioi-thieu .entry { padding: clamp(22px, 2vw + 10px, 40px); background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow); }
.entry h2 { color: var(--c-primary-dark); }
.trust-strip { background: #fff; border-radius: 18px; }
.calc { border-radius: var(--radius-card); border-top: 0; box-shadow: var(--shadow-lg); }
.thanks .notice { border-radius: 18px; }
.cta-band { margin: 0 auto var(--space-section); border-radius: 0; }
@media (min-width: 1240px) { .cta-band { width: calc(100% - 48px); border-radius: 40px; } }

/* ---------- Liên hệ nổi ---------- */
.float-contact__phone { background: var(--c-call); }
.float-contact__zalo { background: var(--c-zalo); }
.float-contact__quote { background: var(--c-primary); }
@media (max-width: 1023px) {
	.float-contact { gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
	.float-contact__btn { min-height: 54px; border-radius: 16px; font-family: var(--f-ui); font-size: 0.8rem; }
}
@media (min-width: 1024px) {
	.float-contact__btn { box-shadow: var(--shadow-lg); }
	.float-contact__phone { width: auto; height: 56px; padding: 0 22px 0 18px; border-radius: 999px; flex-direction: row; gap: 10px; }
	.float-contact__phone span { display: inline; font-family: var(--f-ui); font-size: 1rem; }
	.float-contact { justify-items: end; }
}
@media (max-width: 1023px) { .float-contact__num { display: none; } }
/* Logo chữ: vừa khung, không đè menu */
@media (min-width: 600px) {
	.site-logo { flex: none; }
	.site-logo__text { min-width: 0; }
	.site-logo__name { font-size: clamp(1.25rem, 1rem + 0.6vw, 1.55rem); letter-spacing: 0.12em; }
	.site-logo__text small { font-size: 0.75rem; white-space: nowrap; }
}
@media (min-width: 1024px) and (max-width: 1279px) { .site-logo__text small { display: none; } .primary-nav a { font-size: 0.92rem; } }
.header-cta { flex: none; }
@media (min-width: 1024px) { .primary-nav a { padding-inline: 10px; } }
@media (min-width: 1024px) and (max-width: 1439px) { .site-logo__text small { display: none; } .site-logo__name { letter-spacing: 0.08em; } }
@media (min-width: 1024px) and (max-width: 1439px) { .site-header .site-logo .site-logo__name { font-size: 1.35rem; letter-spacing: 0.06em; } }
.hoso__info h2, .thanks h2, .form__title { color: var(--c-primary-dark); }

/* Sửa theo phản biện v3 (28/11/2026) */
.eco-frame__tab, .eco-feature__tag, .eco-needs__ask { font-size: 0.75rem; }
.eco-quote__label { display: block; margin-bottom: 6px; font-family: var(--f-ui); font-size: 0.75rem; font-style: normal; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-primary); }
.eco-steps__cta { margin: 24px 0 0; }
@media (max-width: 599px) {
	.eco-hero__text { display: flex; flex-direction: column; align-items: flex-start; }
	.eco-hero__actions { order: 4; width: 100%; margin-bottom: 22px; }
	.eco-cats { order: 5; width: 100%; margin-bottom: 0; }
}

/* Sửa sau soát chặng 6 (28/11/2026) */
.site-footer :focus-visible, .eco-dark :focus-visible, .cta-band :focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
/* Thanh liên hệ nổi nằm trên nền trắng/sáng → viền focus cobalt đậm (soát ra mắt TC-06, 28/11/2026). */
/* Lượt cuối: ≥1024px nút nổi có thể đè chân trang xanh → viền 2 lớp (trắng ≥6,3 trên xanh; cobalt đậm 10,7 trên trắng). */
.float-contact :focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px #0D3B82; }
.form input, .form select, .form textarea { border-color: var(--c-ui-border); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible, .calc__in input:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--c-primary); }
@media (max-width: 1023px) {
	html { scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
	.site-header__inner, .site-header.is-scrolled .site-header__inner, .float-contact { -webkit-backdrop-filter: none; backdrop-filter: none; }
	.site-header.is-scrolled .site-header__inner { background: #fff; }
	.site-header__inner { background: #fff; }
	.float-contact { background: #fff; }
}
@media (max-width: 599px) { .site-logo__text small { font-size: 0.75rem; } }
.page-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.page-hero__where { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-ui); font-size: var(--fs-sm); font-weight: 600; color: var(--c-primary-dark); }

/* Font (28/11/2026): tối đa 2 họ (TK-02/HN-05) — tiêu đề Noto Serif Display, nội dung + giao diện IBM Plex Sans. */
:root { --f-ui: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }

/* Đầu trang máy tính: khẩu hiệu dưới logo chỉ hiện ở chân trang — để nút "Nhận báo giá" luôn nằm trong khung (soát ra mắt, lỗi tràn ở 1440px). */
@media (min-width: 1024px) {
	.site-header .site-logo__text small { display: none; }
	.site-header .site-logo .site-logo__name { font-size: 1.35rem; letter-spacing: 0.06em; }
	.site-header .primary-nav { min-width: 0; }
}

/* Lượt cuối (28/11/2026): Esc đóng menu con máy tính (TC-10 1.4.13); ô lỗi form (TC-09). */
@media (min-width: 1024px) {
	.primary-nav li.is-closed > .sub-menu, .primary-nav li.is-closed > .children { opacity: 0; visibility: hidden; transform: translateY(8px); }
}
.form [aria-invalid="true"] { border-color: #B42318; box-shadow: 0 0 0 1px #B42318; }

/* ==========================================================================
   GIAO DIỆN v4 (28/11/2026) — theo mẫu chủ web gửi (baobinhua/thiet-ke/giao-dien-v4.md)
   Học bố cục/màu của mẫu, không chép chữ/ảnh. Xanh cobalt đậm + nút vàng; 1 họ chữ Be Vietnam Pro (bộ nhận diện);
   tiêu đề khối IN HOA. Tiền tố .v4-. Đặt cuối tệp để đè v3.
   ========================================================================== */
:root {
	--f-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--f-heading: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--f-ui: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--c-navy: #0B3A86;
	--c-navy-deep: #082C66;
	--c-blue: #165CC0;
	--c-cta: #FFC629;
	--c-cta-hover: #FFB703;
	--c-cta-text: #0B2E66;
	--c-soft: #EEF4FC;
	--c-line: #D6E2F3;
	--c-ink: #14213D;
	--c-page: #ffffff;
	--radius: 14px;
	--radius-sm: 10px;
	--radius-card: 16px;
	--header-h: 82px;
	--header-gap: 0px;
	--shadow: 0 4px 18px rgba(11, 58, 134, 0.08);
	--shadow-lg: 0 16px 40px rgba(11, 58, 134, 0.16);
}
body { background: #fff; font-family: var(--f-body); color: var(--c-ink); }
h1, h2, h3, h4 { font-family: var(--f-heading); font-weight: 800; letter-spacing: -0.005em; }
.section--alt, .v4-soft { background: var(--c-soft); }

/* Tiêu đề khối: IN HOA, xanh đậm, 2 vạch hai bên (giữa) hoặc 1 vạch sau (trái) */
.section__head h2, .eco-head h2, .eco-faq h2, .eco-story h2, .eco-needs h2, .hoso h2, .quote-form h2 { color: var(--c-navy); text-transform: uppercase; font-weight: 800; letter-spacing: 0.01em; }
.v4-head:not(.section__head--left) h2 { display: flex; align-items: center; justify-content: center; gap: 24px; }
.v4-head:not(.section__head--left) h2::before, .v4-head:not(.section__head--left) h2::after { content: ""; flex: 0 0 56px; height: 2px; background: var(--c-navy); }
.v4-head.section__head--left h2 { display: flex; align-items: center; gap: 20px; }
.v4-head.section__head--left h2::after { content: ""; flex: 0 0 40px; height: 2px; background: var(--c-navy); }
.section__eyebrow { border: 0; background: none; padding: 0; color: var(--c-blue); font-weight: 700; letter-spacing: 0.08em; }
.section__eyebrow--dark { background: none; color: #CFE0FF; }
@media (max-width: 599px) {
	.v4-head:not(.section__head--left) h2 { gap: 12px; }
	.v4-head:not(.section__head--left) h2::before, .v4-head:not(.section__head--left) h2::after { flex-basis: 20px; }
}

/* Nút */
.btn { font-family: var(--f-ui); font-weight: 700; border-radius: 999px; }
.btn--primary { background: var(--c-navy); color: #fff; }
.btn--primary:hover { background: var(--c-blue); color: #fff; }
.btn--cta { background: var(--c-cta); color: var(--c-cta-text); border-color: var(--c-cta); }
.btn--cta:hover { background: var(--c-cta-hover); border-color: var(--c-cta-hover); color: var(--c-cta-text); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }
.eco-link { color: var(--c-blue); }

/* ---------- Đầu trang: thanh trắng phẳng, menu giữa gạch chân, nút số điện thoại ---------- */
.site-header { padding-top: 0; background: #fff; box-shadow: 0 1px 0 var(--c-line), 0 6px 18px rgba(11, 58, 134, 0.06); }
.site-header__inner, .site-header.is-scrolled .site-header__inner { min-height: var(--header-h); padding: 0; background: transparent; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-scrolled .site-header__inner { min-height: 70px; }
.site-logo__name { color: var(--c-navy); font-weight: 800; letter-spacing: 0.02em; }
.header-phone { display: none; }
@media (max-width: 1023px) {
	:root { --header-h: 68px; }
	.primary-nav { inset: var(--header-h) 0 auto; border-radius: 0 0 var(--radius) var(--radius); }
}
@media (min-width: 1024px) {
	.primary-nav { margin-inline: auto; }
	.primary-nav > div > ul > li > a, .primary-nav > ul > li > a { position: relative; padding: 29px 13px; color: var(--c-ink); font-weight: 600; font-size: 0.98rem; }
	.primary-nav > div > ul > li > a::before, .primary-nav > ul > li > a::before { content: ""; position: absolute; left: 13px; right: 13px; bottom: 20px; height: 2px; background: var(--c-navy); transform: scaleX(0); transition: transform 0.2s; }
	.primary-nav li.current-menu-item > a, .primary-nav li.current-menu-ancestor > a, .primary-nav li.current_page_item > a, .primary-nav li.current-page-ancestor > a { color: var(--c-navy); }
	.primary-nav li.current-menu-item > a::before, .primary-nav li.current-menu-ancestor > a::before, .primary-nav li.current_page_item > a::before, .primary-nav li.current-page-ancestor > a::before, .primary-nav > div > ul > li > a:hover::before, .primary-nav > ul > li > a:hover::before { transform: scaleX(1); }
	.primary-nav .sub-menu, .primary-nav .children { top: calc(100% - 10px); border-top: 3px solid var(--c-navy); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
	.header-phone { display: inline-flex; flex: none; align-items: center; gap: 10px; min-height: 48px; padding: 10px 22px; border-radius: 999px; background: var(--c-navy); color: #fff; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.01em; text-decoration: none; transition: background 0.2s; }
	.header-phone:hover { background: var(--c-blue); color: #fff; }
	.header-phone:focus-visible { outline: 3px solid var(--c-navy); outline-offset: 3px; }
}
@media (min-width: 1024px) and (max-width: 1239px) {
	.primary-nav > div > ul > li > a, .primary-nav > ul > li > a { padding-inline: 9px; font-size: 0.92rem; }
	.header-phone { padding-inline: 16px; font-size: 0.98rem; }
	.site-logo__name { font-size: 1.15rem; }
}

/* ---------- Màn hình đầu trang chủ ---------- */
.v4-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: linear-gradient(120deg, var(--c-navy-deep) 0%, var(--c-navy) 45%, var(--c-blue) 100%); }
.v4-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v4-hero__inner { position: relative; z-index: 2; width: 100%; }
.v4-hero__text { padding-block: 40px 44px; }
.v4-hero__title { margin: 0 0 22px; color: #fff; text-transform: uppercase; font-weight: 800; font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.6rem); line-height: 1.12; letter-spacing: 0.005em; }
.v4-hero__title span { display: block; }
.v4-checks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.v4-checks li { display: flex; align-items: flex-start; gap: 12px; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.18rem); line-height: 1.4; }
.v4-checks .ico { flex: none; margin-top: 1px; color: #fff; stroke-width: 2.4; }
.v4-hero__lead { max-width: 34rem; margin: 0 0 26px; color: rgba(255, 255, 255, 0.86); font-size: 0.98rem; line-height: 1.6; }
.v4-hero__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.v4-hero :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 899px) {
	.v4-hero__media { position: relative; z-index: 2; order: 2; height: 230px; }
	.v4-hero { display: flex; flex-direction: column; }
	.v4-hero__inner { order: 1; }
	.v4-hero__panel { display: none; }
	.v4-hero__actions .btn { flex: 1 1 100%; }
}
@media (min-width: 900px) {
	.v4-hero { min-height: 480px; display: flex; align-items: center; }
	.v4-hero__media { position: absolute; inset: 0 0 0 auto; width: 58%; }
	.v4-hero__panel { position: absolute; inset: 0 auto 0 0; z-index: 1; width: 56%; background: linear-gradient(120deg, var(--c-navy-deep) 0%, var(--c-navy) 55%, #1251AE 100%); clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%); }
	.v4-hero__text { max-width: 540px; padding-block: 56px 60px; }
	.v4-hero__lead { max-width: 27rem; }
}
@media (min-width: 1440px) { .v4-hero__panel { width: 53%; } }

/* Dải 4 điểm tin cậy */
.v4-trust { background: var(--c-soft); border-bottom: 1px solid var(--c-line); }
.v4-trust__list { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.v4-trust__list li { display: flex; align-items: center; gap: 14px; }
.v4-trust__ico { flex: none; color: var(--c-navy); }
.v4-trust__ico .ico { width: 40px; height: 40px; stroke-width: 1.4; }
.v4-trust__txt { display: flex; flex-direction: column; color: var(--c-ink); font-size: 0.9rem; line-height: 1.35; }
.v4-trust__txt strong { font-size: 1.02rem; font-weight: 700; color: var(--c-ink); }
@media (min-width: 1024px) {
	.v4-trust__list { grid-template-columns: repeat(4, 1fr); padding: 26px 0; gap: 0; }
	.v4-trust__list li { justify-content: center; padding-inline: 18px; }
	.v4-trust__list li + li { border-left: 1px solid #B9CBE6; }
	.v4-trust__ico .ico { width: 48px; height: 48px; }
}
@media (max-width: 479px) { .v4-trust__list { grid-template-columns: 1fr; } }

/* ---------- Sản phẩm chính ---------- */
.v4-products { padding-block: clamp(40px, 5vw, 64px) clamp(32px, 4vw, 48px); }
.v4-products .section__head { margin-bottom: 28px; }
.v4-products__grid { display: grid; gap: 18px; }
.v4-pcard { display: grid; grid-template-columns: 44% 1fr; min-height: 150px; overflow: hidden; border-radius: var(--radius); background: linear-gradient(130deg, var(--c-navy-deep) 0%, var(--c-navy) 55%, var(--c-blue) 100%); color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.v4-pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: #fff; }
.v4-pcard:focus-visible { outline: 3px solid var(--c-navy); outline-offset: 3px; }
.v4-pcard__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v4-pcard__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 20px 22px; }
.v4-pcard__title { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); font-weight: 700; line-height: 1.25; }
.v4-pcard__btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border: 1.5px solid rgba(255, 255, 255, 0.85); border-radius: 999px; font-size: 0.92rem; font-weight: 600; }
.v4-pcard:hover .v4-pcard__btn { background: #fff; color: var(--c-navy); }
.v4-products__all { margin: 22px 0 0; text-align: center; }
@media (min-width: 1024px) { .v4-products__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } .v4-pcard { min-height: 168px; } }

/* ---------- Hai cột: nhu cầu + về Tấn Đại Phú ---------- */
.v4-row { padding-block: clamp(32px, 4vw, 48px) clamp(44px, 5vw, 72px); }
.v4-row__grid { display: grid; gap: 40px; }
.v4-row .section__head { margin-bottom: 20px; text-align: left; }
.v4-apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.v4-app { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-sm); background: var(--c-navy); color: #fff; text-decoration: none; height: 100%; box-shadow: var(--shadow); transition: transform 0.2s; }
.v4-app:hover { transform: translateY(-3px); color: #fff; }
.v4-app:focus-visible { outline: 3px solid var(--c-navy); outline-offset: 3px; }
.v4-app__img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.v4-app__label { flex: 1; display: flex; align-items: center; justify-content: center; padding: 10px 8px; text-align: center; font-weight: 600; font-size: 0.92rem; line-height: 1.3; }
.v4-about { display: grid; gap: 22px; align-content: start; }
.v4-about__text p { margin: 0 0 14px; color: #33415C; line-height: 1.7; }
.v4-stats { list-style: none; margin: 0; padding: 22px 22px 8px; border-radius: var(--radius); background: var(--c-soft); }
.v4-stats li { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; color: #33415C; font-size: 0.9rem; line-height: 1.35; }
.v4-stats strong { display: block; color: var(--c-navy); font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.v4-stats__ico { flex: none; color: var(--c-navy); }
@media (max-width: 599px) { .v4-apps { grid-template-columns: 1fr 1fr; } .v4-apps li:last-child { grid-column: 1 / -1; } .v4-apps li:last-child .v4-app__img img { aspect-ratio: 16 / 7; } }
@media (min-width: 1024px) {
	.v4-row__grid { grid-template-columns: 1fr 1fr; gap: 0; }
	.v4-row__col:first-child { padding-right: 40px; }
	.v4-about { padding-left: 40px; border-left: 1px solid var(--c-line); }
}
@media (min-width: 1200px) { .v4-about { grid-template-columns: 1.35fr 1fr; align-items: start; } .v4-about .section__head { grid-column: 1 / -1; } }

/* ---------- Khối nền đậm, thẻ, form, chân trang — đồng bộ màu v4 ---------- */
.eco-dark { background: linear-gradient(120deg, var(--c-navy-deep) 0%, var(--c-navy) 55%, var(--c-blue) 100%); }
.eco-dark h2 { text-transform: uppercase; }
.site-footer { background: linear-gradient(150deg, var(--c-navy-deep) 0%, var(--c-navy) 100%); }
.cta-band { background: linear-gradient(120deg, var(--c-navy-deep) 0%, var(--c-navy) 60%, var(--c-blue) 100%); }
.cta-band .btn--accent, .cta-band .btn--primary { background: var(--c-cta); color: var(--c-cta-text); border-color: var(--c-cta); }
.form button[type="submit"], .form .btn--primary { background: var(--c-navy); }
.form button[type="submit"]:hover, .form .btn--primary:hover { background: var(--c-blue); }

/* ---------- Đầu trang con: xanh cắt chéo + ảnh đại diện bên phải ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: 34px 40px; color: #fff; background: linear-gradient(120deg, var(--c-navy-deep) 0%, var(--c-navy) 50%, var(--c-blue) 100%); }
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; text-transform: uppercase; font-weight: 800; font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.6rem); line-height: 1.15; }
.page-hero .section__lead, .page-hero__lead, .page-hero p { color: rgba(255, 255, 255, 0.9); }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.page-hero__where { color: #fff; }
.page-hero .btn--primary, .page-hero .btn--accent { background: var(--c-cta); color: var(--c-cta-text); border-color: var(--c-cta); }
.page-hero .btn--primary:hover, .page-hero .btn--accent:hover { background: var(--c-cta-hover); color: var(--c-cta-text); }
.page-hero .btn--outline, .page-hero .btn--white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.page-hero a:not(.btn) { color: #fff; }
.page-hero :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.page-hero__bg { display: none; }
.page-hero__bg img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
	.page-hero { padding-block: 44px 52px; }
	.page-hero--img { min-height: 300px; display: flex; align-items: center; }
	.page-hero--img > .container { width: 100%; }
	.page-hero--img > .container > * { max-width: min(640px, 56%); }
	.page-hero__bg { display: block; position: absolute; inset: 0 0 0 auto; z-index: 1; width: 46%; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
}
.page-hero--split .page-hero__badge { background: var(--c-cta); color: var(--c-cta-text); }
.page-hero--split .page-hero__badge strong, .page-hero--split .page-hero__badge span { color: var(--c-cta-text); }

/* Thân bài trang con */
.entry h2 { color: var(--c-navy); font-weight: 800; }
.entry h3 { color: var(--c-ink); font-weight: 700; }
.trust-strip strong { color: var(--c-navy); }
/* v4 — cỡ tiêu đề khối theo mẫu */
.v4-head h2 { font-size: clamp(1.45rem, 1.05rem + 1.3vw, 2.05rem); line-height: 1.2; margin-bottom: 0; }
.v4-row .v4-head h2 { font-size: clamp(1.3rem, 1.05rem + 0.8vw, 1.65rem); }
.v4-row .section__head { margin-bottom: 18px; }
.v4-about__text .section__head { margin-bottom: 14px; }
.section__head h2, .eco-dark h2, .eco-faq h2, .eco-story h2, .eco-needs h2, .hoso h2, .quote-form h2 { font-size: clamp(1.45rem, 1.05rem + 1.3vw, 2.05rem); line-height: 1.2; }
/* v4: thanh menu nền trắng đặc → đầu trang con không còn chui dưới menu */
.page-hero, .page-hero--split, .eco-hero, .hero { margin-top: 0; }

/* TC-09: dòng lỗi ngay dưới ô sai (đỏ #B42318 trên trắng 6,57:1) */
.field-error { margin: 6px 0 0; color: #B42318; font-size: 0.875rem; font-weight: 600; }

/* v4 — sửa sau soát lại (28/11/2026) */
/* TC-06/2.4.3: menu điện thoại hiện ngay khi mở (không chuyển visibility) → focus vào được link đầu */
@media (max-width: 1023px) { .primary-nav { transition: opacity 0.2s, transform 0.2s; } }
/* BC-01: 1024–1099px menu chật → thu đệm, nút điện thoại chỉ biểu tượng (có aria-label) */
@media (min-width: 1024px) and (max-width: 1099px) {
	.primary-nav > div > ul > li > a, .primary-nav > ul > li > a { padding-inline: 7px; font-size: 0.88rem; }
	.primary-nav > div > ul > li > a::before, .primary-nav > ul > li > a::before { left: 7px; right: 7px; }
	.header-phone { width: 48px; padding: 0; justify-content: center; }
	.header-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.site-logo__name { font-size: 1.05rem; }
}
/* TC-07: 900–1099px khối xanh rộng hơn, nút xếp dọc → chữ không lấn ảnh */
@media (min-width: 900px) and (max-width: 1099px) {
	.v4-hero__panel { width: 64%; }
	.v4-hero__media { width: 50%; }
	.v4-hero__text { max-width: 430px; }
	.v4-hero__actions .btn { flex: 1 1 100%; }
}
.v4-about__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }
.page-hero--split .page-hero__cta { margin-top: 18px; }
.primary-nav .sub-menu a, .primary-nav .children a { font-weight: 400; }

/* v4.1 (29/11/2026, chủ web): chữ màn hình đầu sát trái hơn; khối xanh chuyển màu nhạt dần sang ảnh nhà xưởng (bỏ mép chéo). */
@media (min-width: 900px) {
	.v4-hero { --hero-pad: clamp(24px, 5vw, 104px); --txt-end: calc(var(--hero-pad) + 560px); }
	.v4-hero__inner { max-width: none; padding-left: var(--hero-pad); padding-right: 24px; }
	.v4-hero__media { width: 66%; }
	.v4-hero__panel {
		width: 100%; clip-path: none;
		background: linear-gradient(90deg,
			var(--c-navy-deep) 0,
			var(--c-navy) calc(var(--txt-end) - 120px),
			rgba(11, 58, 134, 0.94) var(--txt-end),
			rgba(11, 58, 134, 0.55) calc(var(--txt-end) + 14vw),
			rgba(11, 58, 134, 0) calc(var(--txt-end) + 30vw));
	}
}
@media (min-width: 900px) and (max-width: 1099px) {
	.v4-hero { --txt-end: calc(var(--hero-pad) + 450px); }
	.v4-hero__panel { width: 100%; }
	.v4-hero__media { width: 60%; }
}
@media (min-width: 900px) { .v4-hero__media img { object-position: center top; } }

/* v4.2 (29/11/2026, chủ web): thẻ sản phẩm dùng ảnh tách nền đặt nổi trên nền xanh (như mẫu) */
.v4-pcard--cut .v4-pcard__img { display: flex; align-items: center; justify-content: center; padding: 14px 6px 14px 16px; }
.v4-pcard--cut .v4-pcard__img img { width: 100%; height: 100%; max-height: 150px; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(4, 22, 56, 0.35)); transition: transform 0.25s; }
.v4-pcard--cut:hover .v4-pcard__img img { transform: scale(1.04); }
/* v4.3 (29/11/2026, chủ web): tên "TẤN ĐẠI PHÚ" ở chân trang đồng bộ đầu trang — chữ trắng, cùng độ đậm/khoảng cách (sửa lỗi TB soat-ra-mat lần 3) */
.site-logo--trang .site-logo__name, .site-footer .site-logo__name { color: #fff; letter-spacing: 0.02em; margin-right: 0; font-size: 1.5rem; }
:lang(vi) .site-footer .site-logo__name { letter-spacing: 0.02em; margin-right: 0; }
.site-footer .site-logo__text small { color: rgba(255, 255, 255, 0.85); border-top-color: rgba(255, 255, 255, 0.3); }
.site-logo--trang .site-logo__name, .site-footer .site-logo__name, :lang(vi) .site-footer .site-logo__name { letter-spacing: 0.06em; }

/* v4.4 (29/11/2026, chủ web): chân trang 3 cột theo mẫu — pháp nhân + 2 cơ sở · Về chúng tôi · Kênh liên hệ chính thức. Nhãn dùng font đều nét của hệ thống (không tải thêm). */
.site-footer--v44 { padding-top: 56px; color: #fff; }
.ft-grid { display: grid; gap: 36px 48px; padding-bottom: 36px; }
.ft-title { margin: 0 0 14px; color: #fff; font-size: 1.12rem; font-weight: 700; text-transform: none; letter-spacing: 0; }
.ft-label, .ft-en, .ft-contact dt { font-family: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace; color: #A9C8FF; }
.ft-en { margin: -6px 0 4px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; }
.ft-slogan { margin: 0 0 16px; color: rgba(255, 255, 255, 0.92); font-size: 0.95rem; }
.ft-badges { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ft-badges li { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 6px; background: rgba(255, 255, 255, 0.06); font-size: 0.88rem; color: rgba(255, 255, 255, 0.9); }
.ft-badges strong { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; color: #fff; }
.ft-place { margin: 0 0 14px; padding-left: 12px; border-left: 2px solid rgba(169, 200, 255, 0.55); }
.ft-place p { margin: 4px 0 0; color: #fff; font-size: 0.95rem; line-height: 1.5; }
.ft-label { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer--v44 .ft-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer--v44 .ft-links a { display: inline-block; padding: 5px 0; color: rgba(255, 255, 255, 0.92); text-decoration: none; font-size: 0.95rem; }
.site-footer--v44 .ft-links a:hover { color: #fff; text-decoration: underline; }
.ft-contact { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; margin: 0; align-items: baseline; }
.ft-contact dt { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; }
.ft-contact dd { margin: 0; color: #fff; font-weight: 600; font-size: 0.95rem; }
.ft-contact a { color: #fff; text-decoration: none; }
.ft-contact a:hover { text-decoration: underline; }
.site-footer--v44 .site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.2); }
@media (min-width: 768px) { .ft-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ft-grid { grid-template-columns: 1.35fr 0.85fr 1.1fr; } }
/* v4.5 (29/11/2026, chủ web): chân trang giữ nội dung, áp lại kiểu chữ chung của theme — bỏ font đều nét, nhãn trắng đậm như chân trang cũ */
.ft-label, .ft-en, .ft-contact dt, .ft-badges strong { font-family: var(--f-ui); }
.ft-en { color: rgba(255, 255, 255, 0.78); font-size: 0.88rem; font-weight: 500; letter-spacing: 0.01em; font-style: italic; }
.ft-label { color: rgba(255, 255, 255, 0.72); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; }
.ft-place { border-left-color: rgba(255, 255, 255, 0.35); }
.ft-contact dt { color: #fff; font-size: 0.95rem; font-weight: 700; letter-spacing: 0; }
.ft-contact dt::after { content: ":"; }
.ft-contact dd { font-weight: 400; color: rgba(255, 255, 255, 0.92); }
.ft-contact a { color: rgba(255, 255, 255, 0.92); }
.ft-badges strong { font-weight: 700; }
/* v4.6 (29/11/2026, chủ web): máy tính — 3 nút nổi Gọi / Zalo / Báo giá cùng cỡ nút Báo giá (số máy vẫn ở aria-label "Gọi 0907 789 037") */
@media (min-width: 1024px) {
	.float-contact__btn, .float-contact__phone { width: 112px; height: 38px; min-height: 0; padding: 0 12px; gap: 6px; justify-content: center; border-radius: 999px; font-size: 0.8rem; }
	.float-contact__phone span { font-size: 0.8rem; }
	.float-contact__phone .float-contact__num { display: none; }
	.float-contact__btn svg { width: 17px; height: 17px; }
}

/* ==========================================================================
   v4.7 ĐIỆN THOẠI (≤599px, 29/11/2026) — theo mẫu chủ web: logo "CÔNG TY TNHH / TẤN ĐẠI PHÚ", màn hình đầu ảnh nền xanh mờ +
   tiêu đề 2 màu, dòng phụ, 3 điểm có biểu tượng, 2 túi tách nền bên phải, mép sóng; 3 thẻ số; thẻ sản phẩm dạng 3 cột ảnh + nhãn.
   Chỉ dữ kiện có nguồn, ảnh thật/tách nền từ ảnh đã đăng ký.
   ========================================================================== */
.site-logo__pre, .v4-hero__sub, .v4-mpoints, .v4-hero__prods, .v4-mstats { display: none; }
@media (max-width: 599px) {
	/* Logo */
	.site-header .site-logo { gap: 10px; }
	.site-header .site-logo img { width: 58px; }
	.site-header .site-logo__text { padding-left: 10px; border-left: 1.5px solid var(--c-blue); }
	.site-header .site-logo__pre { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; color: var(--c-blue); text-transform: uppercase; }
	.site-header .site-logo__name { font-size: 1.35rem; letter-spacing: 0.01em; color: var(--c-navy); }
	.site-header .site-logo__text small { display: none; }

	/* Màn hình đầu */
	.v4-hero { display: block; min-height: 0; padding-bottom: 34px; background: var(--c-navy-deep); }
	.v4-hero__media { position: absolute; inset: 0; height: auto; z-index: 0; }
	.v4-hero__media img { height: 100%; object-fit: cover; opacity: 0.55; filter: blur(1.5px) saturate(0.9); }
	.v4-hero__panel { display: block; position: absolute; inset: 0; z-index: 1; width: auto; clip-path: none;
		background: linear-gradient(100deg, rgba(8, 44, 102, 0.96) 0%, rgba(11, 58, 134, 0.9) 48%, rgba(22, 92, 192, 0.55) 100%); }
	.v4-hero__inner { position: relative; z-index: 3; }
	.v4-hero__text { padding-block: 26px 8px; }
	.v4-hero__title { margin-bottom: 8px; text-transform: none; font-size: 2.15rem; line-height: 1.08; letter-spacing: -0.01em; }
	.v4-hero__title span:nth-child(2) { color: var(--c-cta); }
	.v4-hero__title span:nth-child(3) { font-size: 1.35rem; margin-top: 4px; }
	.v4-hero__sub { display: block; margin: 0 0 16px; color: #fff; font-size: 1rem; font-weight: 500; }
	.v4-hero__text .v4-checks, .v4-hero__lead { display: none; }
	.v4-mpoints { display: grid; gap: 14px; list-style: none; margin: 0 0 20px; padding: 0; max-width: 56%; }
	.v4-mpoints li { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 0.98rem; line-height: 1.3; }
	.v4-mpoints .ico { flex: none; width: 26px; height: 26px; padding-right: 12px; box-sizing: content-box; border-right: 1px solid rgba(255, 255, 255, 0.45); stroke-width: 1.5; }
	.v4-hero__actions { flex-direction: column; align-items: stretch; max-width: 56%; gap: 10px; }
	.v4-hero__actions .btn { flex: none; min-height: 48px; padding-inline: 14px; font-size: 0.95rem; }
	.v4-hero__prods { display: block; position: absolute; z-index: 2; right: -6px; top: 168px; bottom: 44px; width: 50%; pointer-events: none; }
	.v4-hero__prod { position: absolute; display: block; }
	.v4-hero__prod img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(3, 18, 48, 0.45)); }
	.v4-hero__prod--1 { right: 2%; top: 0; width: 86%; height: 62%; }
	.v4-hero__prod--2 { left: 0; bottom: 0; width: 64%; height: 58%; }
	.v4-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; height: 46px;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 390 46' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C 110 6 250 52 390 14 L390 46 L0 46 Z' fill='%23ffffff'/%3E%3Cpath d='M210 34 C 280 34 330 24 390 10 L390 20 C 330 34 280 40 210 34 Z' fill='%23FFC629'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%; }

	/* 3 thẻ số (thay dải tin cậy trên điện thoại) */
	.v4-trust { display: none; }
	.v4-mstats { display: block; position: relative; z-index: 4; margin-top: -10px; padding: 0 var(--gutter); }
	.v4-mstats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.v4-mstats li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; padding: 12px 6px; border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(11, 58, 134, 0.1); text-align: center; }
	.v4-mstats .ico { width: 34px; height: 34px; color: var(--c-blue); stroke-width: 1.6; }
	.v4-mstats strong { color: var(--c-ink); font-size: 0.86rem; font-weight: 700; line-height: 1.25; }

	/* Sản phẩm chính: 3 cột, ảnh trên nền xanh nhạt + nhãn trắng có mũi tên */
	.v4-products { padding-top: 30px; }
	.v4-products .section__head h2 { text-transform: none; color: var(--c-ink); }
	.v4-products__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.v4-pcard, .v4-pcard--cut { display: flex; flex-direction: column; min-height: 0; padding: 0; border-radius: 14px; background: linear-gradient(180deg, #DCE9FA 0%, #EAF2FD 100%); color: var(--c-ink); box-shadow: 0 4px 14px rgba(11, 58, 134, 0.1); }
	.v4-pcard:hover { color: var(--c-ink); }
	.v4-pcard .v4-pcard__img, .v4-pcard--cut .v4-pcard__img { height: 104px; padding: 10px 8px 6px; display: flex; align-items: center; justify-content: center; }
	.v4-pcard .v4-pcard__img img, .v4-pcard--cut .v4-pcard__img img { width: 100%; height: 100%; max-height: none; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(11, 40, 90, 0.25)); }
	.v4-pcard__body { flex-direction: row; align-items: center; justify-content: center; gap: 4px; margin: 0 6px 6px; padding: 8px 4px; border-radius: 10px; background: #fff; }
	.v4-pcard__title { font-size: 0.82rem; font-weight: 700; text-align: center; line-height: 1.2; color: var(--c-ink); }
	.v4-pcard__title::after { content: " ›"; color: var(--c-navy); font-weight: 800; }
	.v4-pcard__btn { display: none; }
	.v4-pcard:focus-visible { outline-offset: 2px; }
}
@media (max-width: 599px) { .v4-head h2, .section__head h2, .eco-dark h2, .eco-faq h2, .hoso h2, .quote-form h2 { text-transform: none; color: var(--c-ink); } .eco-dark h2 { color: #fff; } }
