/*
Theme Name: TATGAS Khí Chuẩn
Theme URI: https://tatgas.vn
Author: TATGAS
Description: Theme landing page duy nhất cho TATGAS – khí hiệu chuẩn & khí chuẩn. Menu cuộn theo section, mỗi dòng sản phẩm một section, quản trị nội dung tại Giao diện → Tùy biến, tương thích Elementor qua the_content().
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: tatgas
*/

/* ---------- Biến & nền tảng ---------- */
:root {
	--navy: #0b2a5b;
	--accent: #1f6fd6;
	--navy-deep: #071c40;
	--ink: #14233f;
	--muted: #5a6a86;
	--line: #dbe3f0;
	--soft: #f2f6fc;
	--white: #ffffff;
	--zalo: #0068ff;
	--wa: #1faa59;
	--logo-h: 64px;
	--header-h: 84px;
	--radius: 14px;
	--shadow: 0 14px 40px rgba(11, 42, 91, .14);
	--font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 1000; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Nút ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: 13px 24px; border-radius: 999px; font: 600 15px/1.2 var(--font);
	border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s;
	text-decoration: none !important; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-zalo { background: var(--zalo); color: #fff; box-shadow: 0 8px 20px rgba(0, 104, 255, .32); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(31, 170, 89, .3); }
.btn-call { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100; background: #fff;
	border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 42, 91, .12); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); padding-block: 8px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; gap: 12px; color: var(--navy); text-decoration: none !important; }
.brand img, .brand .custom-logo { height: var(--logo-h); width: auto; max-width: 240px; object-fit: contain; }
.brand .custom-logo-link { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 24px; font-weight: 800; letter-spacing: .02em; color: var(--navy); }
.brand-text small { font-size: 11px; font-weight: 600; color: var(--accent); margin-top: 4px; }

.main-nav { display: flex; align-items: center; gap: 18px; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
	white-space: nowrap;
	display: inline-flex; align-items: center; gap: 4px; padding: 10px 13px; color: var(--ink);
	font-weight: 600; font-size: 14.5px; border-radius: 10px; text-decoration: none !important;
}
.nav-link:hover, .nav-link.is-active { color: var(--accent); background: var(--soft); }
.nav-link .ico { width: 1.2em; height: 1.2em; }
.nav-cta { padding: 10px 18px; font-size: 14px; }

.sub-menu {
	position: absolute; left: 0; top: 100%; min-width: 230px; padding: 8px; margin-top: 6px;
	background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-link { display: flex; width: 100%; font-weight: 500; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; padding: 0; position: relative; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
	content: ""; position: absolute; left: 12px; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s;
}
.nav-toggle .bars { top: 22px; }
.nav-toggle .bars::before { left: 0; top: -6px; }
.nav-toggle .bars::after { left: 0; top: 6px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle .bars::after { top: 0; transform: rotate(-45deg); }
.nav-backdrop { position: fixed; inset: 0; background: rgba(7, 28, 64, .55); z-index: 90; }

/* ---------- Bố cục section ---------- */
.site-main { padding-top: var(--header-h); }
.admin-bar .site-main { padding-top: calc(var(--header-h) + 32px); }
.section { padding: clamp(56px, 8vw, 104px) 0; scroll-margin-top: var(--header-h); }
.tone-soft { background: var(--soft); }
.tone-white { background: #fff; }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 62ch; }
.on-dark { color: #fff; }
.section-sub.on-dark { color: rgba(255, 255, 255, .8); }
.sub-heading { font-size: 24px; margin: 56px 0 20px; }

/* ---------- Hero ---------- */
.hero { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; scroll-margin-top: var(--header-h); }
.hero::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(900px 500px at 12% 0%, rgba(31, 111, 214, .45), transparent 60%), linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.hero-badge {
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
	background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-size: 13.5px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 58px); font-weight: 800; line-height: 1.1; max-width: 16ch; text-wrap: balance; }
.hero-sub { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, .82); max-width: 52ch; margin: 20px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px 34px; margin-top: 38px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 30px; font-weight: 800; line-height: 1.1; }
.hero-stats span { font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.hero-media { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); border: 6px solid rgba(255, 255, 255, .95); transform: rotate(1.2deg); }
.hero-media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }

/* ---------- Giới thiệu ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-copy p { color: #33445f; }
.vm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.vm-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 30px; }
.vm-card h3 { color: #fff; font-size: 22px; }
.vm-card p { color: rgba(255, 255, 255, .86); margin: 0; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 12px; padding: 22px; background: #fff; }
.value h4 { font-size: 18px; margin-bottom: 8px; }
.value p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Sản phẩm ---------- */
.products-head { padding-bottom: 36px; background: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips a {
	display: inline-block; padding: 9px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
	color: var(--navy); font-weight: 700; font-size: 14.5px; text-decoration: none !important; transition: .15s;
}
.chips a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.product.is-flipped .product-media { order: 2; }
.product-media { position: relative; margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--navy); }
.product-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.formula {
	position: absolute; left: 0; bottom: 0; padding: 22px 28px 16px; width: 100%;
	color: #fff; font-size: clamp(30px, 4.5vw, 52px); font-weight: 800; letter-spacing: -.02em; line-height: 1;
	background: linear-gradient(0deg, rgba(7, 28, 64, .92), rgba(7, 28, 64, 0));
}
.product-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.product-desc { font-size: 17px; color: #33445f; }
.specs { margin: 22px 0 28px; display: grid; gap: 10px; }
.specs li { display: flex; gap: 10px; align-items: flex-start; }
.specs .ico { color: var(--accent); margin-top: .3em; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Chứng nhận ---------- */
.origin { background: var(--navy); position: relative; }
.origin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.origin-card { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); padding: 24px; }
.origin-card h3 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.origin-card p { display: flex; gap: 8px; align-items: center; margin: 0; color: #9fd0ff; font-weight: 600; }

/* ---------- Vì sao chọn ---------- */
.center { margin-inline: auto; text-align: center; }
.center .section-sub { margin-inline: auto; }
.why { background: linear-gradient(180deg, #e8f0fc 0%, #f7faff 100%); }
.why .section-title { font-size: clamp(32px, 4.6vw, 50px); }
.why .section-sub { font-size: 19px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 56px; }
.why-card {
	--c1: #1f6fd6; --c2: #0b2a5b;
	position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 24px; overflow: visible;
	box-shadow: 0 18px 44px rgba(11, 42, 91, .14); transition: transform .25s, box-shadow .25s;
}
.why-card:hover { transform: translateY(-8px); box-shadow: 0 26px 56px rgba(11, 42, 91, .22); }
.why-1 { --c1: #1f6fd6; --c2: #0b2a5b; }
.why-2 { --c1: #06a6c9; --c2: #0b5a8f; }
.why-3 { --c1: #4a5fe0; --c2: #1b2a86; }
.why-4 { --c1: #1e9de8; --c2: #0d3f8f; }
.why-photo { position: relative; border-radius: 24px 24px 0 0; overflow: hidden; aspect-ratio: 16 / 11; background: var(--navy); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, var(--c2)); opacity: .75; }
.why-icon {
	position: relative; z-index: 2; align-self: center; width: 96px; height: 96px; margin-top: -52px; border-radius: 50%;
	display: grid; place-items: center; color: #fff; border: 6px solid #fff;
	background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 14px 30px rgba(11, 42, 91, .35);
}
.why-icon .ico { width: 44px; height: 44px; }
.why-body { padding: 20px 26px 34px; text-align: center; flex: 1; }
.why-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; color: var(--c2); }
.why-card p { margin: 0; font-size: 17px; line-height: 1.6; color: #33445f; }
.why-card::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 5px; border-radius: 5px 5px 0 0; background: linear-gradient(90deg, var(--c1), var(--c2)); }

/* ---------- Thư viện ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.gallery-item { display: block; border-radius: 14px; overflow: hidden; background: var(--navy); aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.05); }

/* ---------- Hiệu ứng nhấp nháy cho nút Zalo / WhatsApp / Gọi ---------- */
.btn-zalo { --pulse: 0, 104, 255; }
.btn-wa   { --pulse: 31, 170, 89; }
.btn-red  { --pulse: 232, 56, 47; background: #e8382f; color: #fff; }
.btn-zalo, .btn-wa, .btn-red { animation: btn-pulse 1.8s ease-out infinite; }
.btn-wa { animation-delay: .6s; }
.btn-red { animation-delay: 1.2s; }
.btn-lg { padding: 17px 30px; font-size: 17px; }
@keyframes btn-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(var(--pulse), .65); }
	70%  { box-shadow: 0 0 0 20px rgba(var(--pulse), 0); }
	100% { box-shadow: 0 0 0 0 rgba(var(--pulse), 0); }
}

/* ---------- Liên hệ ---------- */
.contact { background: #061a3d; background-image: linear-gradient(180deg, #0a2454 0%, #061a3d 60%); color: #fff; }
.contact .section-title { font-size: clamp(32px, 4.6vw, 50px); color: #fff; }
.contact .section-sub { font-size: 19px; color: #e4eeff; }

/* thanh liên hệ nhanh */
.contact .cta-strip {
	display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
	margin: 44px 0 32px; padding: 28px 36px; border-radius: 24px;
	background: linear-gradient(120deg, #1f6fd6 0%, #0d3f95 100%); border: 1px solid rgba(255, 255, 255, .3);
	box-shadow: 0 24px 54px rgba(0, 0, 0, .38);
}
.contact .cta-strip-info { display: flex; flex-direction: column; }
.contact .cta-label { font-size: 15px; font-weight: 700; color: #d6e8ff; letter-spacing: .04em; text-transform: uppercase; }
.contact .cta-phone { display: inline-flex; align-items: center; gap: 12px; color: #fff !important; font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.15; text-decoration: none !important; }
.contact .cta-phone .ico { width: .8em; height: .8em; }
.contact .cta-person { font-size: 18px; color: #fff; font-weight: 500; }
.contact .cta-strip-btns { display: flex; flex-wrap: wrap; gap: 16px; }

/* 3 cột thẻ */
.contact .contact-cols { display: grid; grid-template-columns: 1.15fr 1fr 1.15fr; gap: 24px; align-items: stretch; }
.contact .ccard { border-radius: 24px; padding: 34px 32px; box-shadow: 0 24px 54px rgba(0, 0, 0, .35); min-width: 0; display: flex; flex-direction: column; }
.contact .ccard-light { background: #fff; color: #14233f; }
.contact .ccard-blue { background: linear-gradient(165deg, #1f6fd6 0%, #0b3a8c 100%); color: #fff; }
.contact .ccard-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 3px solid var(--accent); }
.contact .ccard-blue .ccard-head { border-color: rgba(255, 255, 255, .5); }
.contact .ccard-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--accent), var(--navy)); color: #fff; }
.contact .ccard-blue .ccard-ico { background: #fff; color: var(--navy); }
.contact .ccard-ico .ico { width: 26px; height: 26px; }
.contact .ccard-head h3 { margin: 0; font-size: 21px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; color: var(--navy); line-height: 1.25; }
.contact .ccard-blue .ccard-head h3 { color: #fff; }
.contact .ccard-company { font-size: 20px; font-weight: 800; color: var(--navy); line-height: 1.35; margin: 0 0 20px; }

.contact .ci-list { display: grid; gap: 18px; }
.contact .ci-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact .ci-ico { width: 42px; height: 42px; border-radius: 12px; background: #e6effc; color: var(--navy); display: grid; place-items: center; flex: none; }
.contact .ci-ico .ico { width: 22px; height: 22px; }
.contact .ci-list div { display: flex; flex-direction: column; min-width: 0; }
.contact .ci-list small { font-size: 13.5px; font-weight: 700; color: #5a6a86; margin-bottom: 2px; }
.contact .ci-list span, .contact .ci-list a { font-size: 17.5px; font-weight: 600; color: #14233f; line-height: 1.5; overflow-wrap: anywhere; }
.contact .ci-list a { color: #0b4fb8; text-decoration: underline; text-underline-offset: 3px; }

.contact .link-list { display: grid; }
.contact .link-list li { border-bottom: 1px solid rgba(255, 255, 255, .3); }
.contact .link-list li:last-child { border-bottom: 0; }
.contact .link-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 0; color: #fff; font-size: 18px; font-weight: 600; line-height: 1.4; text-decoration: none !important; transition: padding .15s, color .15s; }
.contact .link-list a .ico { width: 20px; height: 20px; flex: none; opacity: .8; }
.contact .link-list a:hover { padding-left: 8px; color: #cfe6ff; }

.contact .map-box { border-radius: 16px; overflow: hidden; background: #e6effc; border: 2px solid #cfdcf1; aspect-ratio: 4 / 3; }
.contact .map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact .map-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; color: #14233f; font-size: 16px; font-weight: 600; padding: 20px; }
.contact .map-empty .ico { width: 46px; height: 46px; color: var(--accent); }
.contact .ccard-sub { font-size: 17px; font-weight: 800; text-transform: uppercase; color: var(--navy); margin: 26px 0 14px; }
.contact .social { display: flex; flex-wrap: wrap; gap: 12px; }
.contact .social a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; text-decoration: none !important; transition: transform .2s, background .2s; }
.contact .social a:hover { background: var(--accent); transform: translateY(-3px); }
.contact .social .ico { width: 24px; height: 24px; }
.contact .social .soc-zalo { background: var(--zalo); }
.contact .social .soc-zalo b { font-size: 13px; font-weight: 800; }

/* ---------- Footer ---------- */
.site-footer { background: #05132d; color: rgba(255, 255, 255, .75); font-size: 14.5px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 28px; padding-block: 44px 28px; }
.footer-brand strong { color: #fff; font-size: 26px; font-weight: 800; }
.footer-brand p { margin-top: 6px; }
.footer-line { margin: 0; }
.site-footer a { color: #b9dcff; }
.footer-copy { border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 0; font-size: 13.5px; }

/* ---------- Nội dung Elementor / the_content() ---------- */
.builder-content { padding: 0; }
.builder-content .entry-content { width: 100%; }
body.elementor-page .site-main { padding-top: var(--header-h); }
.entry-content > *:not(.elementor):not(.alignfull) { max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.entry-content .elementor { width: 100%; }

/* ---------- Nút liên hệ nổi ---------- */
.float-chat { position: fixed; right: 16px; bottom: 18px; z-index: 95; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
a.fc { animation: none; }
.fc {
	display: inline-flex; align-items: center; gap: 0; height: 56px; padding: 0; border-radius: 999px; color: #fff !important;
	text-decoration: none !important; box-shadow: 0 10px 26px rgba(0, 0, 0, .28); overflow: hidden; position: relative;
	transition: transform .2s;
}
.fc:hover { transform: translateX(-3px); }
.fc-ico { width: 56px; height: 56px; display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; }
.fc-ico .ico { width: 26px; height: 26px; }
.fc-label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: 14.5px; transition: max-width .3s, padding .3s; }
.fc:hover .fc-label, .fc:focus-visible .fc-label { max-width: 170px; padding-right: 20px; }
.fc-zalo { background: var(--zalo); }
.fc-wa { background: var(--wa); }
.fc-call { background: #e8382f; }
.fc-zalo::before, .fc-wa::before, .fc-call::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 currentColor; opacity: .5;
	animation: fc-pulse 2.4s infinite; pointer-events: none;
}
.fc-zalo::before { color: var(--zalo); }
.fc-wa::before { animation-name: fc-pulse-green; animation-delay: .4s; }
@keyframes fc-pulse-green { 0% { box-shadow: 0 0 0 0 rgba(31, 170, 89, .6); } 70%, 100% { box-shadow: 0 0 0 16px rgba(31, 170, 89, 0); } }
.fc-call::before { color: #e8382f; }
@keyframes fc-pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 104, 255, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(0, 104, 255, 0); } }
.fc-call::before { animation-name: fc-pulse-red; animation-delay: .8s; }
@keyframes fc-pulse-red { 0% { box-shadow: 0 0 0 0 rgba(232, 56, 47, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(232, 56, 47, 0); } }

/* ---------- Máy tính bảng & di động ---------- */
@media (max-width: 1240px) {
	:root { --header-h: 76px; }
	.nav-toggle { display: block; }
	.main-nav {
		position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); z-index: 110; background: #fff;
		flex-direction: column; align-items: stretch; gap: 16px; padding: 92px 20px 28px; overflow-y: auto;
		transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; box-shadow: -20px 0 50px rgba(0, 0, 0, .25);
	}
	.admin-bar .main-nav { top: 46px; }
	.nav-open .main-nav { transform: none; visibility: visible; }
	.nav-toggle { position: relative; z-index: 120; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
	.nav-link { padding: 13px 12px; font-size: 16px; width: 100%; }
	.sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; margin: 0 0 6px 10px; padding: 0 0 0 10px; border-left: 2px solid var(--line); border-radius: 0; min-width: 0; }
	.sub-link { padding: 9px 12px; font-size: 15px; }
	.has-sub > .nav-link .ico { display: none; }
	.nav-cta { justify-content: center; padding: 14px; }
}

@media (max-width: 1024px) {
	.hero-grid, .about-grid, .product-grid { grid-template-columns: 1fr; }
	.hero-media { transform: none; order: -1; }
	.hero-media img { aspect-ratio: 16 / 10; }
	.product.is-flipped .product-media { order: 0; }
	.values { grid-template-columns: repeat(2, 1fr); }
	.origin-grid { grid-template-columns: repeat(2, 1fr); }
	.gallery-grid { grid-template-columns: repeat(2, 1fr); }
	.why-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
	.contact .contact-cols { grid-template-columns: 1fr 1fr; }
	.contact .contact-cols .ccard:first-child { grid-column: 1 / -1; }
	.footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	:root { --header-h: 70px; }
	body { font-size: 15.5px; }
	.container { width: calc(100% - 32px); }
	.brand-text strong { font-size: 20px; }
	.brand-text small { font-size: 10px; }
	.brand img, .brand .custom-logo { max-width: 170px; }
	.hero-stats { gap: 14px 24px; }
	.hero-stats strong { font-size: 26px; }
	.hero-actions .btn, .product-actions .btn { width: 100%; }
	.vm-grid, .values, .origin-grid { grid-template-columns: 1fr; }
	.why-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
	.contact .contact-cols { grid-template-columns: 1fr; }
	.contact .ccard { padding: 26px 20px; }
	.contact .cta-strip { padding: 24px 20px; }
	.contact .cta-strip-btns { width: 100%; }
	.contact .cta-strip-btns .btn { flex: 1 1 100%; }
	.gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.float-chat { right: 12px; bottom: 14px; gap: 10px; }
	.fc, .fc-ico { height: 52px; }
	.fc-ico { width: 52px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
