/*
Theme Name: Đồng Phục Nghệ An
Theme URI: https://dongphucnghean.net/
Author: Đồng Phục Việt Thắng
Description: Theme riêng cho dongphucnghean.net: dữ liệu gom trong inc/data.php, bảng giá theo số lượng, schema JSON-LD, form báo giá lưu đơn, nút Gọi/Zalo nổi, không page builder, không jQuery.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: dongphucnghean
*/

/* ==========================================================================
   1. Tokens — đổi giao diện chủ yếu ở đây
   ========================================================================== */
:root {
	--c-primary: #b61f2a;      /* đỏ logo Việt Thắng — chị Ngọc chốt 07/11/2026 */
	--c-primary-dark: #8f1821;
	--c-primary-soft: #fbeced;
	--c-accent: #b61f2a;
	--c-bg: #ffffff;
	--c-bg-alt: #f6f6f6;
	--c-bg-dark: #222222;
	--c-text: #222222;
	--c-text-muted: #5f5f5f;
	--c-text-invert: #ffffff;
	--c-border: #e3e3e3;

	--f-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-heading: "Roboto", Georgia, serif;

	--fs-sm: 0.875rem;
	--fs-base: 1rem;
	--fs-lg: 1.125rem;
	--fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
	--fs-h2: clamp(1.4rem, 1.15rem + 1vw, 1.9rem);
	--fs-h1: clamp(1.9rem, 1.4rem + 2.2vw, 3rem);

	--radius: 14px;
	--radius-sm: 8px;
	--radius-pill: 999px;
	--shadow: 0 6px 20px rgba(0, 0, 0, 0.08);

	--space-section: clamp(3rem, 2.2rem + 3vw, 5rem);
	--container: 1240px;
	--gutter: 16px;
	--header-h: 76px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -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-primary-dark); }
h1, h2, h3, h4 { font-family: var(--f-heading); line-height: 1.2; margin: 0 0 0.6em; color: inherit; }
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; }
.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: 720px; margin: 0 auto 2.5rem; text-align: center; }
.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); }
.section--dark .section__lead { color: rgba(255, 255, 255, 0.8); }
.grid { display: grid; gap: 24px; grid-template-columns: 1fr; }

/* ==========================================================================
   3. Nút
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 2px solid transparent; border-radius: var(--radius-pill); font-weight: 600; text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, transform 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-bg-dark); }
.btn--accent:hover { color: var(--c-bg-dark); filter: brightness(1.05); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--c-bg); border-bottom: 1px solid var(--c-border); transition: box-shadow 0.2s; }
.site-header.is-scrolled { box-shadow: var(--shadow); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.site-logo { display: flex; align-items: center; gap: 10px; min-width: 0; font-family: var(--f-heading); font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.35rem); font-weight: 700; line-height: 1.2; color: var(--c-primary); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-logo img { max-height: 52px; width: auto; }
.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-text); position: relative; transition: transform 0.2s; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }
.primary-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--c-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: 500; 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); }
.header-cta { display: none; }

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero { position: relative; display: flex; align-items: center; min-height: min(88vh, 760px); padding-block: 80px; color: var(--c-text-invert); background: var(--c-bg-dark); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.25)); }
.hero__content { position: relative; z-index: 1; max-width: 680px; }
.hero__badge { display: inline-block; margin-bottom: 1rem; padding: 6px 14px; border: 1px solid var(--c-accent); border-radius: var(--radius-pill); color: var(--c-accent); font-size: var(--fs-sm); }
.hero__lead { font-size: var(--fs-lg); opacity: 0.9; }
.hero__price { margin: 1.25rem 0 1.75rem; font-size: 1.25rem; }
.hero__price strong { color: var(--c-accent); font-size: 1.6rem; }

/* ==========================================================================
   6. Thẻ (dịch vụ, sản phẩm, bài viết)
   ========================================================================== */
.card { display: flex; flex-direction: column; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 4 / 3; background: var(--c-bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.card__title { margin-bottom: 0.4em; }
.card__title a { color: inherit; text-decoration: none; }
.card__text { color: var(--c-text-muted); }
.card__meta { margin-top: auto; font-weight: 600; color: var(--c-primary); }

/* ==========================================================================
   7. Bảng giá
   ========================================================================== */
.pricing { position: relative; display: flex; flex-direction: column; padding: 28px 24px; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius); }
.pricing--featured { border: 2px solid var(--c-primary); box-shadow: var(--shadow); }
.pricing__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 3px 14px; border-radius: var(--radius-pill); background: var(--c-primary); color: #fff; font-size: var(--fs-sm); white-space: nowrap; }
.pricing__name { margin-bottom: 0.25rem; }
.pricing__price { font-family: var(--f-heading); font-size: 2rem; font-weight: 700; color: var(--c-primary); }
.pricing__unit { font-size: var(--fs-sm); color: var(--c-text-muted); }
.pricing__items { margin: 1rem 0 1.5rem; padding: 0; list-style: none; }
.pricing__items li { padding: 6px 0 6px 24px; border-bottom: 1px dashed var(--c-border); position: relative; }
.pricing__items li::before { content: "✓"; position: absolute; left: 0; color: var(--c-accent); font-weight: 700; }
.pricing .btn { margin-top: auto; }

/* ==========================================================================
   8. Lý do, quy trình, FAQ, album
   ========================================================================== */
.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; }
.steps h3 { margin-bottom: 0.25em; font-size: var(--fs-lg); font-family: var(--f-body); }
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--c-border); }
.faq__q { 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: inherit; cursor: pointer; }
.faq__q::after { content: "+"; font-size: 1.5rem; 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[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; }

/* ==========================================================================
   9. Form
   ========================================================================== */
.form { display: grid; gap: 16px; padding: 24px; background: var(--c-bg); color: var(--c-text); border-radius: var(--radius); box-shadow: var(--shadow); }
.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: 110px; 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(0, 0, 0, 0.06); }
.form__hp { position: absolute; left: -9999px; }
.form__note { font-size: var(--fs-sm); color: var(--c-text-muted); }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.notice--ok { background: #e8f6ec; color: #1d6b35; }
.notice--err { background: #fdecec; color: #9b1c1c; }

/* ==========================================================================
   10. Nội dung trang, bài viết
   ========================================================================== */
.page-hero { padding-block: 48px; background: var(--c-bg-alt); }
.breadcrumb { font-size: var(--fs-sm); color: var(--c-text-muted); margin-bottom: 8px; }
.breadcrumb a { color: inherit; }
.entry { max-width: 780px; margin-inline: auto; }
/* Canh đều đoạn văn dài cho cân đối; dòng cuối canh trái; ô bảng/chú thích ảnh giữ canh trái. */
.entry p, .entry li { text-align: justify; text-align-last: left; }
.entry td p, .entry th p, .entry figcaption { text-align: left; }
.entry img { border-radius: var(--radius-sm); }
.entry h2 { margin-top: 1.6em; }
.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; }
.entry th, .entry td { padding: 10px; border: 1px solid var(--c-border); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 2.5rem; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); text-decoration: none; }
.pagination .current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* ==========================================================================
   11. CTA + Footer
   ========================================================================== */
.cta-band { padding-block: 56px; background: var(--c-primary); color: #fff; text-align: center; }
.cta-band h2 { margin-bottom: 0.4em; }
.cta-band .btn-group { justify-content: center; }
.site-footer { padding-top: 56px; background: var(--c-bg-dark); color: rgba(255, 255, 255, 0.82); font-size: var(--fs-sm); }
.site-footer a { color: inherit; }
.site-footer h3 { color: #fff; font-size: var(--fs-lg); font-family: var(--f-body); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer__bottom { margin-top: 40px; padding-block: 20px; padding-bottom: 88px; border-top: 1px solid rgba(255, 255, 255, 0.12); text-align: center; }

/* ==========================================================================
   12. Nút liên hệ nổi — mobile: thanh dưới đáy; desktop: cột nút tròn góc phải
   ========================================================================== */
.float-contact { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--c-bg); box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12); }
.float-contact__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; font-size: 0.75rem; font-weight: 600; color: #fff; text-decoration: none; }
.float-contact__btn:hover { color: #fff; }
.float-contact__btn svg { width: 22px; height: 22px; fill: currentColor; }
.float-contact__phone { background: var(--c-primary); }
.float-contact__zalo { background: #0068ff; }
.float-contact__mess { background: #a033ff; }

/* ==========================================================================
   13. Responsive
   ========================================================================== */
@media (min-width: 600px) {
	.gallery { grid-template-columns: repeat(3, 1fr); }
	.form__row { grid-template-columns: 1fr 1fr; }
}
@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; }
	.site-footer .grid { grid-template-columns: 2fr 1fr 1fr; }
}
@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); }
	.float-contact { left: auto; right: 20px; bottom: 20px; grid-auto-flow: row; gap: 12px; background: none; box-shadow: none; }
	.float-contact__btn { width: 56px; height: 56px; min-height: 0; border-radius: 50%; box-shadow: var(--shadow); }
	.float-contact__btn span { display: none; }
	.site-footer__bottom { padding-bottom: 20px; }
}
/* ==========================================================================
   14. Phong cách Việt Thắng (học từ mẫu: đỏ – trắng, tiêu đề khối đỏ in hoa canh giữa, thẻ bo 14px)
   ========================================================================== */
.topbar { background: var(--c-primary); color: #fff; font-size: 0.75rem; }
.topbar__inner { display: flex; justify-content: center; gap: 24px; min-height: 34px; align-items: center; text-align: center; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; display: none; }
.site-logo img { max-height: 54px; }
.section__head h2 { color: var(--c-primary); text-transform: uppercase; letter-spacing: 0.01em; }
.section__head h2::after { content: ""; display: block; width: 64px; height: 3px; margin: 14px auto 0; background: var(--c-primary); border-radius: 3px; }
.section__eyebrow { color: var(--c-primary); }
.section--dark .section__eyebrow { color: #ff9aa1; }
.section__actions { margin-top: 2rem; text-align: center; }
.btn--accent { background: #fff; color: var(--c-primary); }
.btn--accent:hover { color: var(--c-primary-dark); }
.btn--ghost:hover { color: inherit; }

/* Hero: nền sáng, chữ trái, ảnh phải (ảnh vuông người mặc đồng phục) */
.hero { display: block; min-height: 0; padding-block: 40px 56px; color: var(--c-text); background: linear-gradient(180deg, #fff 0%, var(--c-primary-soft) 100%); }
.hero::after { display: none; }
.hero__inner { display: grid; gap: 32px; align-items: center; }
.hero__content { max-width: 620px; }
.hero h1 { color: var(--c-primary); text-wrap: balance; }
.hero__badge { border-color: var(--c-primary); color: var(--c-primary); background: #fff; font-weight: 600; }
.hero__lead { opacity: 1; color: var(--c-text-muted); }
.hero__points { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: 8px; }
.hero__points li { position: relative; padding-left: 28px; font-weight: 500; }
.hero__points li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--c-primary); color: #fff; font-size: 12px; }
.hero .btn--ghost { color: var(--c-primary); }
.hero__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Ưu điểm */
.feature { text-align: center; box-shadow: var(--shadow); border: 0; }
.feature__icon { margin-inline: auto; background: var(--c-primary); color: #fff; }
.feature h3 { font-size: var(--fs-lg); color: var(--c-primary); }
.feature p { margin: 0; color: var(--c-text-muted); }

/* Thẻ danh mục */
.card { border: 0; box-shadow: var(--shadow); }
.card__media { aspect-ratio: 1; }
.card__title { font-size: var(--fs-lg); }
.card__title a:hover { color: var(--c-primary); }

/* Bảng giá theo số lượng */
.price-tabs__nav { display: none; }
.price-tabs.is-js .price-tabs__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 20px; }
.price-tabs__nav button { min-height: 44px; padding: 8px 20px; border: 2px solid var(--c-primary); border-radius: var(--radius-pill); background: #fff; color: var(--c-primary); font-weight: 700; cursor: pointer; }
.price-tabs__nav button[aria-selected="true"] { background: var(--c-primary); color: #fff; }
.price-tabs__panel + .price-tabs__panel { margin-top: 32px; }
.price-tabs.is-js .price-tabs__panel + .price-tabs__panel { margin-top: 0; }
.price-tabs__title { font-size: var(--fs-lg); text-align: center; }
.price-tabs.is-js .price-tabs__title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.price-table { width: 100%; min-width: 640px; border-collapse: collapse; background: #fff; }
.price-table th, .price-table td { padding: 14px 16px; border-bottom: 1px solid var(--c-border); text-align: center; white-space: nowrap; }
.price-table thead th { background: var(--c-primary); color: #fff; font-weight: 700; }
.price-table tbody th { text-align: left; font-weight: 600; }
.price-table tbody tr:nth-child(even) { background: var(--c-bg-alt); }
.price-table .is-contact { color: var(--c-primary); font-weight: 700; }
.price-note { margin-top: 16px; text-align: center; font-size: var(--fs-sm); color: var(--c-text-muted); }

/* Quy trình */
.steps li::before { box-shadow: 0 0 0 6px var(--c-primary-soft); }

/* Form báo giá: nền đỏ đậm */
#dat-lich.section--dark { background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%); }

/* Đánh giá */
.review { margin: 0; padding: 28px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review__stars { color: #f5a623; font-size: 1.25rem; letter-spacing: 2px; }
.review__text { margin: 12px 0 20px; color: var(--c-text); text-align: justify; text-align-last: left; }
.review__by { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--c-border); }
.review__by strong { display: block; color: var(--c-primary); }
.review__by span { font-size: var(--fs-sm); color: var(--c-text-muted); }

/* Khu vực phục vụ */
.area-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.area-list li { padding: 8px 16px; border: 1px solid var(--c-border); border-radius: var(--radius-pill); background: #fff; font-weight: 500; }
.area-list li::before { content: "📍"; margin-right: 6px; }

/* Bản đồ + kênh mạng xã hội */
.map-box { display: grid; gap: 24px; }
.map-box__map { min-height: 320px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #e9ecef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23d6d9dc' stroke-width='1'/%3E%3C/svg%3E"); }
.map-box__map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
.map-box__load { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; min-height: 320px; border: 0; background: transparent; color: var(--c-primary); font-weight: 700; font-size: var(--fs-lg); cursor: pointer; }
.map-box__pin { font-size: 2.5rem; }
.map-box__info { padding: 28px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.map-box__info h3 { color: var(--c-primary); }
.map-box__list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.map-box__list li { padding: 8px 0; border-bottom: 1px dashed var(--c-border); }
.map-box .btn--ghost { color: var(--c-primary); }
.social { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.1); color: #fff; text-decoration: none; font-weight: 500; }
.social a:hover { background: var(--c-primary); color: #fff; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social--dark { margin-top: 20px; }
.social--dark a { background: var(--c-primary-soft); color: var(--c-primary); }
.social--dark a:hover { background: var(--c-primary); color: #fff; }

/* Footer: đỏ đậm theo nhận diện */
.site-footer { background: #1d1d1d; }
.site-footer h3 { color: #fff; }
.site-footer__bottom { background: var(--c-primary); color: #fff; border-top: 0; }

@media (min-width: 768px) {
	.topbar { font-size: var(--fs-sm); }
	.topbar__inner { justify-content: space-between; }
	.topbar a { display: inline; }
	.hero { padding-block: 56px 72px; }
	.hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
	.map-box { grid-template-columns: 1.3fr 1fr; }
}
@media (min-width: 1024px) {
	.grid--3.grid--services { grid-template-columns: repeat(3, 1fr); }
}
/* Menu ngang từ 1280px: 8 mục menu + logo + nút báo giá không vừa màn 1024px → dưới 1280 dùng nút ☰ */
@media (min-width: 1280px) {
	.nav-toggle { display: none; }
	.primary-nav { position: static; transform: none; padding: 0; overflow: visible; background: none; }
	.primary-nav > div > ul, .primary-nav > ul { display: flex; gap: 4px; }
	.primary-nav a { padding: 10px 12px; border: 0; }
	.primary-nav li { position: relative; }
	.primary-nav .sub-menu, .primary-nav .children { position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px 0; background: var(--c-bg); border-radius: var(--radius-sm); box-shadow: var(--shadow); 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: 8px 16px; white-space: nowrap; }
	.primary-nav a { white-space: nowrap; }
	.header-cta { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Ô lưới không bị bảng rộng đẩy tràn; trang sản phẩm: nội dung rộng, form hẹp, xếp chồng dưới 1024px */
.split > * { min-width: 0; }
.split--content { display: grid; gap: 32px; }
@media (min-width: 768px) and (max-width: 1023px) {
	.split.split--content { grid-template-columns: 1fr; }
}
@media (min-width: 1024px) {
	.split.split--content { grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr); gap: 40px; }
}
.primary-nav a { font-size: 0.95rem; }
