/*
Theme Name: Túi Vải Bố KOVAS
Theme URI: https://tuivaibo.com.vn/
Author: KOVAS
Description: Theme viết tay cho tuivaibo.com.vn – xưởng may túi vải bố, túi canvas in logo KOVAS. 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: tuivaibo
*/

/* ==========================================================================
   1. Tokens — đổi giao diện chủ yếu ở đây (màu KOVAS, nhịp/hình khối theo mẫu)
   ========================================================================== */
:root {
	--c-primary: #0f5c85;
	--c-primary-dark: #0a3d58;
	--c-primary-light: #1e88e5;
	--c-accent: #e9a319;
	--c-accent-dark: #c98a0e;
	--c-bg: #ffffff;
	--c-bg-alt: #f3f5f7;
	--c-bg-dark: #0a3d58;
	--c-text: #1f2933;
	--c-text-muted: #5f6b76;
	--c-text-invert: #ffffff;
	--c-border: #e3e8ec;

	--f-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-heading: "Playfair Display", Georgia, serif;
	--f-script: "Dancing Script", "Brush Script MT", cursive;

	--fs-sm: 0.875rem;
	--fs-base: 1rem;
	--fs-lg: 1.0625rem;
	--fs-h3: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
	--fs-h2: clamp(1.4rem, 1.1rem + 1.1vw, 2rem);
	--fs-h1: clamp(1.75rem, 1.2rem + 2.2vw, 2.9rem);

	--radius: 16px;
	--radius-sm: 10px;
	--radius-pill: 999px;
	--shadow: 0 8px 24px rgba(149, 157, 165, 0.22);
	--shadow-lg: 0 16px 40px rgba(10, 61, 88, 0.16);

	--space-section: clamp(3.25rem, 2.2rem + 4vw, 5.5rem);
	--container: 1230px;
	--gutter: 16px;
	--header-h: 64px;
	--nav-h: 52px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: var(--fs-base); line-height: 1.7; color: var(--c-text); background: var(--c-bg); overflow-x: hidden; }
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-primary-light); }
h1, h2, h3, h4 { font-family: var(--f-heading); font-variant-numeric: lining-nums; line-height: 1.25; margin: 0 0 0.6em; color: inherit; }
.pricing__price, .stats strong, .process__item::before, .brand-list li { font-variant-numeric: lining-nums; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
input, select, textarea, button { font: inherit; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 8px 16px; background: #fff; }

.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--pattern {
	background-color: var(--c-bg-dark);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='1.4' stroke-linejoin='round'%3E%3Cpath d='M30 92h80l-7 104H37z'/%3E%3Cpath d='M52 92c0-26 36-26 36 0'/%3E%3Cpath d='M150 28h58l-5 74h-48z'/%3E%3Cpath d='M165 28c0-17 28-17 28 0'/%3E%3Cpath d='M140 150h70M140 164h52M140 178h62'/%3E%3C/svg%3E");
}
.section__head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.section__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; max-width: none; text-align: left; }
.section__head--row h2 { margin-bottom: 0; }
.section__eyebrow { display: inline-block; margin-bottom: 0.5rem; font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent); }
.section__lead { color: var(--c-text-muted); font-size: var(--fs-lg); margin-top: 0.75rem; }
.section--dark .section__lead { color: rgba(255, 255, 255, 0.82); }
.section__more { margin: 2.5rem 0 0; text-align: center; }
.grid { display: grid; gap: 24px; grid-template-columns: 1fr; }

/* Tiêu đề khối kiểu mẫu: in hoa, màu chính, gạch chân vàng mảnh */
.heading-line { position: relative; padding-bottom: 16px; color: var(--c-primary); text-transform: uppercase; letter-spacing: 0.02em; }
.heading-line::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 140px; height: 2px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--c-accent) 30%, var(--c-accent) 70%, transparent); }
.section--dark .heading-line { color: #fff; }
.about__body .heading-line, .section__head--row .heading-line, .quote-intro .heading-line { }
.about__body .heading-line::after, .section__head--row .heading-line::after, .quote-intro .heading-line::after { left: 0; transform: none; background: linear-gradient(90deg, var(--c-accent), var(--c-accent) 60%, transparent); }

/* ==========================================================================
   3. Nút — bo tròn hẳn như mẫu
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 26px; border: 2px solid transparent; border-radius: var(--radius-pill); font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--c-primary); color: var(--c-text-invert); }
.btn--primary:hover { background: var(--c-primary-dark); color: var(--c-text-invert); }
.btn--accent { background: var(--c-accent); color: var(--c-primary-dark); box-shadow: 0 6px 18px rgba(233, 163, 25, 0.35); }
.btn--accent:hover { background: var(--c-accent-dark); color: #fff; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { color: inherit; background: rgba(255, 255, 255, 0.1); }
.btn--outline { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn--outline:hover { background: var(--c-primary); color: #fff; }
.btn--block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   4. Header — hàng trên + thanh menu bo tròn đè mép hero (như mẫu)
   ========================================================================== */
.topbar { position: sticky; top: 0; z-index: 110; background: var(--c-bg); box-shadow: 0 1px 0 var(--c-border); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
.topbar__social { display: none; }
.site-logo { display: flex; align-items: center; min-width: 0; font-family: var(--f-heading); font-size: 1.4rem; font-weight: 700; color: var(--c-primary); text-decoration: none; }
.site-logo img { width: auto; max-height: 40px; }
.topbar__actions { display: flex; align-items: center; gap: 8px; }
.topbar__hotline { min-height: 44px; width: 44px; padding: 0; box-shadow: none; }
.topbar__hotline-text { display: none; }
.topbar__hotline .icon { width: 20px; height: 20px; }
.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-dark); 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); }

.navbar__logo, .navbar__cta { display: none; }
.primary-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 105; background: var(--c-bg); padding: 16px var(--gutter) 32px; overflow-y: auto; transform: translateX(100%); transition: transform 0.25s; }
.nav-open .primary-nav { transform: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a { display: block; padding: 12px 0; color: var(--c-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: 400; }
.primary-nav .current-menu-item > a, .primary-nav a:hover { color: var(--c-primary); }
.primary-nav__cta.btn { display: flex; margin-top: 20px; border-bottom: 0; color: var(--c-primary-dark); }

/* ==========================================================================
   5. Hero — ảnh tràn viền, khẩu hiệu viết tay, chữ căn giữa
   ========================================================================== */
.hero { position: relative; display: flex; align-items: center; min-height: min(86vh, 640px); padding-block: 72px 64px; color: var(--c-text-invert); background: var(--c-bg-dark); overflow: hidden; text-align: center; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10, 61, 88, 0.72) 0%, rgba(10, 61, 88, 0.55) 55%, rgba(10, 61, 88, 0.35) 100%); }
.hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero__script { margin: 0 0 0.1em; font-family: var(--f-script); font-size: clamp(2.15rem, 1.2rem + 5vw, 5.75rem); font-weight: 700; line-height: 1.15; color: var(--c-accent); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25); }
.hero__title { max-width: 900px; margin-bottom: 0.5em; font-size: clamp(1.45rem, 1.05rem + 1.7vw, 2.45rem); text-wrap: balance; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); }
.hero__lead { max-width: 720px; font-size: var(--fs-lg); opacity: 0.92; }
.hero__points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0.5rem 0 1.75rem; padding: 12px 26px; list-style: none; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-weight: 600; }
.hero__points li { display: flex; align-items: center; gap: 6px; }
.hero__points .icon { color: var(--c-accent); }
.hero__btns { justify-content: center; }

/* ==========================================================================
   6. Giới thiệu + số liệu
   ========================================================================== */
.about__grid { display: grid; gap: 32px; align-items: center; }
.about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about__text p { color: var(--c-text-muted); text-align: justify; text-align-last: left; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 1.5rem 0 1.75rem; padding: 0; list-style: none; }
.stats li { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--c-bg-alt); border-left: 3px solid var(--c-accent); }
.stats strong { display: block; font-family: var(--f-heading); font-size: 1.6rem; line-height: 1.2; color: var(--c-primary); }
.stats span { font-size: var(--fs-sm); color: var(--c-text-muted); }

/* ==========================================================================
   7. Thẻ (dịch vụ trang con, bài viết)
   ========================================================================== */
.card { display: flex; flex-direction: column; background: var(--c-bg); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; 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); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.card__title { margin-bottom: 0.4em; color: var(--c-primary); }
.card__title a { color: inherit; text-decoration: none; }
.card__text { color: var(--c-text-muted); }
.card__meta { margin-top: auto; font-weight: 600; color: var(--c-accent-dark); text-decoration: none; }

/* Mẫu túi đã sản xuất — ảnh nền sáng trong thẻ trắng */
.products { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.product { display: flex; flex-direction: column; margin: 0; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product__media { display: block; aspect-ratio: 1; background: #f7f7f5; overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product:hover .product__media img { transform: scale(1.04); }
.product figcaption { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.product__tag { align-self: flex-start; padding: 2px 10px; border-radius: var(--radius-pill); background: rgba(233, 163, 25, 0.16); color: var(--c-accent-dark); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.product__name { font-weight: 600; font-size: 0.92rem; line-height: 1.4; color: var(--c-primary-dark); }

/* Lưới ảnh nhóm túi — chữ đè lên ảnh như khối "điểm đến" của mẫu */
.tiles { display: grid; gap: 16px; grid-template-columns: 1fr; }
.tile { position: relative; display: block; min-height: 240px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; box-shadow: var(--shadow); isolation: isolate; }
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 61, 88, 0) 35%, rgba(10, 61, 88, 0.88) 100%); }
.tile:hover img { transform: scale(1.06); }
.tile:hover { color: #fff; }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; text-align: center; }
.tile__title { display: block; font-family: var(--f-heading); font-size: 1.2rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.tile__text { display: block; margin-top: 4px; font-size: var(--fs-sm); opacity: 0.88; }

/* ==========================================================================
   8. Bảng giá
   ========================================================================== */
.pricing { position: relative; display: flex; flex-direction: column; padding: 30px 26px; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow); }
.pricing--featured { border: 2px solid var(--c-accent); box-shadow: var(--shadow-lg); }
.pricing__tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 4px 16px; border-radius: var(--radius-pill); background: var(--c-accent); color: var(--c-primary-dark); font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; }
.pricing__name { margin-bottom: 0.4rem; color: var(--c-primary); text-transform: uppercase; letter-spacing: 0.02em; }
.pricing__price { font-family: var(--f-heading); font-size: 1.7rem; font-weight: 700; color: var(--c-primary-dark); }
.pricing__unit { font-family: var(--f-body); font-size: var(--fs-sm); font-weight: 400; color: var(--c-text-muted); }
.pricing__items { margin: 1rem 0 1.5rem; padding: 0; list-style: none; }
.pricing__items li { position: relative; padding: 7px 0 7px 26px; border-bottom: 1px dashed var(--c-border); }
.pricing__items li::before { content: "✓"; position: absolute; left: 0; color: var(--c-accent); font-weight: 700; }
.pricing .btn { margin-top: auto; }
.pricing-note { max-width: 860px; margin: 2.25rem auto 0; padding: 18px 22px; border-left: 4px solid var(--c-accent); border-radius: var(--radius-sm); background: var(--c-bg-alt); color: var(--c-text-muted); font-size: 0.95rem; }
.pricing-note p:last-child { margin-bottom: 0; }
.pricing-note strong { color: var(--c-primary); }

/* ==========================================================================
   9. Lý do, quy trình, khách hàng, đánh giá, FAQ, album
   ========================================================================== */
.feature { padding: 28px 24px; border-radius: var(--radius); background: var(--c-bg); border: 1px solid var(--c-border); }
.feature--glass { text-align: center; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); transition: background 0.2s, transform 0.2s; }
.feature--glass:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-4px); }
.feature--glass h3 { color: #fff; text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.03em; }
.feature--glass p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
.feature__icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; border: 1px solid rgba(233, 163, 25, 0.5); color: var(--c-accent); }
.feature__icon .icon { width: 30px; height: 30px; }

.process { counter-reset: step; display: grid; gap: 20px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
.process__item { counter-increment: step; position: relative; padding: 26px 22px 22px 84px; background: var(--c-bg); border-radius: var(--radius); box-shadow: var(--shadow); }
.process__item::before { content: counter(step, decimal-leading-zero); position: absolute; left: 20px; top: 22px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-accent); color: var(--c-primary-dark); font-family: var(--f-heading); font-weight: 700; font-size: 1.1rem; }
.process__item h3 { margin-bottom: 0.3em; font-family: var(--f-body); font-size: 1.05rem; font-weight: 700; color: var(--c-primary); }
.process__item p { margin: 0; color: var(--c-text-muted); font-size: 0.95rem; }

.brand-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 0 2.5rem; padding: 0; list-style: none; }
.brand-list li { padding: 10px 22px; border: 1px solid var(--c-border); border-radius: var(--radius-pill); background: var(--c-bg); box-shadow: var(--shadow); font-family: var(--f-heading); font-weight: 700; color: var(--c-primary); }
.proof__item { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--c-bg); box-shadow: var(--shadow); }
.proof__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.proof__item figcaption { padding: 14px 18px; font-weight: 600; color: var(--c-primary); }

.slider-nav { display: none; gap: 8px; }
.slider-nav__btn { width: 42px; height: 42px; border: 1px solid var(--c-border); border-radius: 50%; background: var(--c-bg); color: var(--c-primary); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.slider-nav__btn:hover { background: var(--c-primary); color: #fff; }
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; margin: 0; padding: 26px 24px; background: var(--c-bg); border-radius: var(--radius); box-shadow: var(--shadow); }
.review__head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 2px solid transparent; border-image: linear-gradient(90deg, var(--c-accent), transparent) 1; }
.review__avatar { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--c-accent); color: var(--c-primary-dark); font-family: var(--f-heading); font-size: 1.3rem; font-weight: 700; }
.review figcaption strong { display: block; color: var(--c-primary); text-transform: uppercase; font-size: 0.95rem; }
.review figcaption span { font-size: var(--fs-sm); color: var(--c-text-muted); }
.review blockquote { margin: 0; color: var(--c-text-muted); font-size: 0.95rem; }

.faq { max-width: 860px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--c-border); }
.faq__q { font-family: var(--f-body); display: flex; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 0; border: 0; background: none; text-align: left; font-weight: 600; font-size: var(--fs-lg); color: var(--c-primary-dark); cursor: pointer; }
.faq__q::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-accent); color: var(--c-primary-dark); font-size: 1.2rem; line-height: 1; 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[hidden] { display: none; }
.gallery { display: grid; gap: 12px; 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.4s; }
.gallery a:hover img { transform: scale(1.06); }
.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; }

/* Tin tức: 1 bài lớn + 3 bài nhỏ */
.news { display: grid; gap: 20px; }
.news__item { display: flex; flex-direction: column; background: var(--c-bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.news__media { display: block; aspect-ratio: 16 / 10; background: var(--c-bg-alt); overflow: hidden; }
.news__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news__item:hover .news__media img { transform: scale(1.05); }
.news__body { display: flex; flex-direction: column; flex: 1; padding: 16px 20px 18px; }
.news__body time { font-size: var(--fs-sm); color: var(--c-accent-dark); }
.news__body h3 { margin: 4px 0 8px; font-family: var(--f-body); font-size: 1rem; font-weight: 700; line-height: 1.45; }
.news__body h3 a { color: var(--c-text); text-decoration: none; }
.news__body h3 a:hover { color: var(--c-primary); }
.news__body p { color: var(--c-text-muted); font-size: 0.95rem; }
.news__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; align-self: flex-end; font-size: var(--fs-sm); font-style: italic; font-weight: 600; color: var(--c-accent-dark); text-decoration: none; }

/* ==========================================================================
   10. Form
   ========================================================================== */
.form { display: grid; gap: 16px; padding: 26px; background: var(--c-bg); color: var(--c-text); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.form__title { margin: 0; font-family: var(--f-heading); font-size: 1.3rem; font-weight: 700; color: var(--c-primary); }
.form__row { display: grid; gap: 16px; }
.form label { display: block; margin-bottom: 4px; font-weight: 500; font-size: var(--fs-sm); }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: #fff; color: var(--c-text); }
.form textarea { min-height: 100px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--c-primary); outline: none; box-shadow: 0 0 0 3px rgba(15, 92, 133, 0.12); }
.form__hp { position: absolute; left: -9999px; }
.form__note { margin: 0; font-size: var(--fs-sm); color: var(--c-text-muted); }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); }
.notice--ok { background: #e8f6ec; color: #1d6b35; }
.notice--err { background: #fdecec; color: #9b1c1c; }
.quote-intro .section__lead { margin-bottom: 1.25rem; }
.quote-list { margin: 0 0 1.75rem; padding: 0; list-style: none; }
.quote-list li { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; }
.quote-list .icon { margin-top: 4px; color: var(--c-accent); }

/* ==========================================================================
   11. Nội dung trang, bài viết
   ========================================================================== */
.page-hero { padding-block: 44px 40px; background: var(--c-bg-alt); }
.page-hero h1 { color: var(--c-primary); }
.breadcrumb { font-size: var(--fs-sm); color: var(--c-text-muted); margin-bottom: 8px; }
.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, .page-hero .section__lead { text-align: justify; text-align-last: left; }
.entry td p, .entry th p, .entry figcaption { text-align: left; }
.entry img { border-radius: var(--radius-sm); }
.entry h2 { margin-top: 1.6em; color: var(--c-primary); font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); }
.entry h3 { color: var(--c-primary-dark); }
.entry blockquote { margin: 1.5em 0; padding: 12px 20px; border-left: 4px solid var(--c-accent); background: var(--c-bg-alt); }
.entry table { width: 100%; border-collapse: collapse; margin: 1.25em 0; font-size: 0.95rem; }
.entry th, .entry td { padding: 10px 12px; border: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.entry th { background: var(--c-primary); color: #fff; }
.entry tr:nth-child(even) td { background: var(--c-bg-alt); }
.entry .table-wrap { overflow-x: auto; }
.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); }

/* ==========================================================================
   12. CTA + Footer
   ========================================================================== */
.cta-band { padding-block: 56px; background: linear-gradient(120deg, var(--c-primary) 0%, var(--c-primary-dark) 100%); color: #fff; text-align: center; }
.cta-band h2 { margin-bottom: 0.4em; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.cta-band p { opacity: 0.9; }
.cta-band .btn-group { justify-content: center; margin-top: 1.25rem; }
.site-footer { padding-top: 56px; background: var(--c-bg-dark); color: rgba(255, 255, 255, 0.8); font-size: 0.92rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--c-accent); }
.site-footer h3 { margin-bottom: 1rem; color: #fff; font-family: var(--f-body); font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-grid { display: grid; gap: 32px; }
.footer-logo img { width: auto; max-height: 52px; margin-bottom: 14px; }
.footer-slogan { font-family: var(--f-script); font-size: 1.5rem; color: var(--c-accent); margin-bottom: 0.4em; }
.footer-legal { font-size: var(--fs-sm); opacity: 0.75; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact .icon { margin-top: 3px; color: var(--c-accent); }
.site-footer__bottom { margin-top: 40px; padding-block: 14px 84px; background: var(--c-accent); color: var(--c-primary-dark); font-size: var(--fs-sm); font-weight: 500; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.footer-social { display: flex; gap: 8px; }
.footer-social li { margin: 0; }
.footer-social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-primary-dark); color: #fff; }
.footer-social a:hover { color: var(--c-accent); }
.footer-social .icon { width: 16px; height: 16px; }

/* ==========================================================================
   13. Nút liên hệ nổi — mobile: thanh dưới đáy; desktop: cột nút tròn góc phải
   ========================================================================== */
.float-contact { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--c-bg); box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12); }
.float-contact__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; font-size: 0.75rem; font-weight: 600; color: #fff; text-decoration: none; }
.float-contact__btn:hover { color: #fff; }
.float-contact__btn svg { width: 22px; height: 22px; fill: currentColor; }
.float-contact__quote { background: var(--c-accent); color: var(--c-primary-dark); }
.float-contact__quote:hover { color: var(--c-primary-dark); }
.float-contact__phone { background: var(--c-primary); }
.float-contact__zalo { background: #0068ff; }
.float-contact__mess { background: #a033ff; }

/* ==========================================================================
   14. Responsive
   ========================================================================== */
@media (min-width: 600px) {
	.gallery { grid-template-columns: repeat(3, 1fr); }
	.form__row { grid-template-columns: 1fr 1fr; }
	.stats { grid-template-columns: repeat(4, 1fr); }
	.tiles { grid-template-columns: repeat(2, 1fr); }
	.tile--lg { grid-column: span 2; min-height: 300px; }
}
@media (min-width: 768px) {
	:root { --gutter: 24px; }
	.grid--2 { grid-template-columns: repeat(2, 1fr); }
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
	.about__grid { grid-template-columns: 5fr 7fr; gap: 48px; }
	.process { grid-template-columns: repeat(2, 1fr); }
	.reviews { grid-auto-columns: calc((100% - 20px) / 2); }
	.footer-grid { grid-template-columns: 1.4fr 1fr; }
	.news { grid-template-columns: 1.15fr 1fr; grid-template-rows: repeat(3, auto); }
	.news__item--lg { grid-row: span 3; }
	.news__item:not(.news__item--lg) { flex-direction: row; }
	.news__item:not(.news__item--lg) .news__media { flex: 0 0 40%; aspect-ratio: auto; min-height: 150px; }
}
@media (min-width: 1024px) {
	:root { --header-h: 84px; }
	html { scroll-padding-top: calc(var(--nav-h) + 16px); }
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(4, 1fr); }
	.gallery { grid-template-columns: repeat(4, 1fr); }
	.tiles { grid-template-columns: repeat(6, 1fr); }
	.tile { grid-column: span 2; min-height: 250px; }
	.tile--lg { grid-column: span 3; min-height: 330px; }
	.process { grid-template-columns: repeat(3, 1fr); }
	.reviews { grid-auto-columns: calc((100% - 40px) / 3); }
	.slider-nav { display: flex; }
	.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.6fr; }

	/* Hàng trên: mạng xã hội – logo giữa – hotline (không dính) */
	.topbar { position: relative; z-index: 90; box-shadow: none; }
	.topbar__inner { display: grid; grid-template-columns: 1fr auto 1fr; padding-bottom: calc(var(--nav-h) / 2); min-height: calc(var(--header-h) + var(--nav-h) / 2); }
	.topbar__social { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
	.topbar__social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--c-primary-dark); }
	.topbar__social a:hover { background: var(--c-bg-alt); color: var(--c-primary); }
	.topbar__social .icon { width: 18px; height: 18px; }
	.site-logo img { max-height: 58px; }
	.topbar__actions { justify-self: end; }
	.topbar__hotline { width: auto; padding: 6px 20px 6px 6px; min-height: 44px; box-shadow: 0 6px 18px rgba(233, 163, 25, 0.35); }
	.topbar__hotline-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.85); }
	.topbar__hotline-text { display: inline; font-weight: 700; letter-spacing: 0.02em; }
	.nav-toggle { display: none; }

	/* Thanh menu bo tròn: nửa trên nền trắng, nửa dưới đè lên hero; dính khi cuộn */
	.navbar { position: sticky; top: 0; z-index: 100; height: var(--nav-h); margin-top: calc(var(--nav-h) / -2); margin-bottom: calc(var(--nav-h) / -2); pointer-events: none; }
	.navbar__bar { position: relative; display: flex; align-items: center; justify-content: center; height: var(--nav-h); padding-inline: 44px; border-radius: var(--radius-pill); background: var(--c-primary-dark); box-shadow: 0 10px 30px rgba(10, 61, 88, 0.25); pointer-events: auto; transition: border-radius 0.2s; }
	.navbar__bar::before, .navbar__bar::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--c-accent); }
	.navbar__bar::before { left: 22px; }
	.navbar__bar::after { right: 22px; }
	.primary-nav { position: static; transform: none; padding: 0; overflow: visible; background: none; }
	.primary-nav > ul { display: flex; gap: 2px; }
	.primary-nav a { padding: 0 16px; line-height: var(--nav-h); border: 0; color: #fff; font-size: 0.86rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; white-space: nowrap; }
	.primary-nav > ul > li > a:hover, .primary-nav > ul > .current-menu-item > a, .primary-nav > ul > .current-menu-ancestor > a, .primary-nav > ul > .current_page_item > a { background: var(--c-primary); color: #fff; }
	.primary-nav li { position: relative; }
	.primary-nav .menu-item-has-children > a::after { content: ""; display: inline-block; margin-left: 6px; border: 4px solid transparent; border-top-color: var(--c-accent); border-bottom: 0; vertical-align: middle; }
	.primary-nav .sub-menu, .primary-nav .children { position: absolute; top: 100%; left: 0; min-width: 270px; padding: 8px 0; background: var(--c-bg); border-radius: var(--radius-sm); border-top: 3px solid var(--c-accent); 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: 9px 18px; line-height: 1.4; color: var(--c-text); text-transform: none; font-weight: 500; font-size: 0.92rem; letter-spacing: 0; }
	.primary-nav .sub-menu a:hover { background: var(--c-bg-alt); color: var(--c-primary); }
	.primary-nav__cta.btn { display: none; }
	/* Khi cuộn: hiện logo trắng bên trái + nút báo giá bên phải */
	.navbar.is-scrolled .navbar__bar { justify-content: space-between; padding-inline: 20px 8px; border-radius: 0 0 var(--radius) var(--radius); }
	.navbar.is-scrolled .navbar__bar::before, .navbar.is-scrolled .navbar__bar::after { display: none; }
	.navbar.is-scrolled .navbar__logo { display: block; }
	.navbar__logo img { width: auto; max-height: 30px; }
	.navbar.is-scrolled .navbar__cta { display: inline-flex; align-items: center; min-height: 38px; padding: 0 18px; border-radius: var(--radius-pill); background: var(--c-accent); color: var(--c-primary-dark); font-weight: 700; font-size: 0.86rem; text-decoration: none; }
	.navbar.is-scrolled .primary-nav a { padding: 0 11px; }

	.hero { min-height: 600px; padding-block: calc(var(--nav-h) / 2 + 56px) 64px; }
	.page-hero { padding-top: calc(var(--nav-h) / 2 + 44px); }

	.float-contact { left: auto; right: 20px; bottom: 20px; grid-auto-flow: row; gap: 12px; background: none; box-shadow: none; }
	.float-contact__btn { width: 54px; height: 54px; min-height: 0; border-radius: 50%; box-shadow: var(--shadow-lg); }
	.float-contact__btn span { display: none; }
	.site-footer__bottom { padding-bottom: 14px; }
}
@media (min-width: 600px) {
	.products { grid-template-columns: repeat(3, 1fr); }
	.product--wide { grid-column: span 2; }
	.product--wide .product__media { position: relative; aspect-ratio: auto; flex: 1; min-height: 0; }
	.product--wide .product__media img { position: absolute; inset: 0; object-fit: contain; }
}
@media (min-width: 1024px) {
	.products { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
