/* =========================================================
   MIG Gas Landing – main.css
   Màu: xanh navy – trắng – cam (hài hòa logo MIG)
   ========================================================= */
:root {
	--navy: #0b2a5b;
	--orange: #f7931e;
	--navy-dark: #061a3a;
	--blue: #1f6fd1;
	--sky: #e8f1fd;
	--bg: #f4f7fc;
	--white: #fff;
	--text: #1b2a41;
	--muted: #5a6a84;
	--line: #e3e9f3;
	--zalo: #0068ff;
	--wa: #22c35e;
	--radius: 20px;
	--radius-sm: 12px;
	--shadow: 0 18px 50px -20px rgba(11, 42, 91, .28);
	--shadow-sm: 0 8px 24px -12px rgba(11, 42, 91, .25);
	--hh: 84px;
	--font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- Reset & nền tảng ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0; overflow-x: clip; max-width: 100%;
	font-family: var(--font); font-size: 17px; line-height: 1.65;
	color: var(--text); background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; color: var(--navy); font-weight: 800; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.ic { width: 1.2em; height: 1.2em; flex: none; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; background: var(--orange); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

/* ---------- Nút ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 0;
	font-weight: 700; font-size: 16px; line-height: 1.2; white-space: nowrap;
	transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { min-height: 58px; padding: 14px 32px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px var(--orange); }
.btn--orange:hover { background: #ff8a00; color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--blue); color: #fff; }
.btn--zalo { background: var(--zalo); color: #fff; }
.btn--zalo:hover { color: #fff; background: #0057d6; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { color: #fff; background: #1aa84f; }
.btn--beat { animation: beatStrong 1.6s ease-in-out infinite; }

/* ---------- Tiêu đề section ---------- */
.sec-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.kicker {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
	font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange);
}
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
.sec-title { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -.01em; }
.sec-desc { font-size: 18px; color: var(--muted); margin: 0; }
.sec-head.is-light .sec-title { color: #fff; }
.sec-head.is-light .sec-desc { color: rgba(255, 255, 255, .78); }

.check-list { display: grid; gap: 12px; margin: 24px 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.check-list .ic {
	width: 26px; height: 26px; padding: 5px; border-radius: 50%;
	background: rgba(247, 147, 30, .14); color: var(--orange); stroke-width: 3; margin-top: 1px;
}
.check-list--sm { gap: 10px; margin: 18px 0 26px; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-dark); color: rgba(255, 255, 255, .85); font-size: 14px; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar__links { display: flex; gap: 24px; flex: none; }
.topbar__links a { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 500; }
.topbar__links a:hover { color: var(--orange); }
.topbar__links .ic { color: var(--orange); width: 16px; height: 16px; }

/* ---------- Header (nền trắng đặc, không làm mờ) ---------- */
.site-header {
	position: sticky; top: 0; z-index: 1000; background: #fff;
	border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(11, 42, 91, .45); }
.admin-bar .site-header { top: 32px; }
.header__in { display: flex; align-items: center; gap: 28px; height: var(--hh); }
.site-logo { flex: none; }
.site-logo img { height: 70px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav .menu { display: flex; align-items: center; gap: 6px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a {
	display: flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 10px;
	font-size: 16.5px; font-weight: 600; color: var(--navy); position: relative;
}
.main-nav .menu > li > a::after {
	content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 3px; border-radius: 3px;
	background: var(--orange); transform: scaleX(0); transition: transform .3s var(--ease);
}
.main-nav .menu > li:hover > a, .main-nav .menu > li.current-menu-item > a { color: var(--orange); }
.main-nav .menu > li:hover > a::after, .main-nav .menu > li.current-menu-item > a::after { transform: scaleX(1); }
.menu-item-has-children > a .caret { display: inline-flex; transition: transform .25s; }
.menu-item-has-children > a .caret .ic { width: 16px; height: 16px; }
.main-nav .menu > li:hover > a .caret { transform: rotate(180deg); }

.main-nav .sub-menu {
	position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; padding: 10px;
	background: #fff; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease);
}
.main-nav .sub-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.main-nav .menu > li:hover > .sub-menu, .main-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a {
	display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px;
	font-weight: 600; font-size: 15.5px; color: var(--navy);
}
.main-nav .sub-menu a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; transition: transform .2s; }
.main-nav .sub-menu a:hover { background: var(--sky); color: var(--navy); }
.main-nav .sub-menu a:hover::before { transform: scale(1.4); }
.sub-toggle { display: none; }
.mnav-contact { display: none; }

.header-hotline { display: flex; align-items: center; gap: 12px; flex: none; color: var(--navy); }
.header-hotline__ic {
	width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
	background: var(--orange); color: #fff; position: relative; animation: puff 2s ease-in-out infinite;
}
.header-hotline__ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: wave 2s ease-out infinite; }
.header-hotline__ic .ic { animation: shake 3.5s ease-in-out infinite; }
.header-hotline__txt { display: flex; flex-direction: column; line-height: 1.2; }
.header-hotline__txt small { font-size: 13px; color: var(--muted); }
.header-hotline__txt strong { font-size: 19px; font-weight: 800; }
.header-hotline:hover { color: var(--orange); }

.nav-toggle {
	display: none; width: 48px; height: 48px; border-radius: 12px; border: 0;
	background: var(--navy); color: #fff; place-items: center; margin-left: auto;
}
.nav-toggle .ic { width: 26px; height: 26px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: inline-flex; }

/* ---------- Hero banner ---------- */
.hero {
	position: relative; width: 100%; overflow: hidden; background: var(--navy-dark);
	height: clamp(300px, 57.143vw, 800px);
}
.hero__track, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__bg {
	position: absolute; inset: -40px; background-size: cover; background-position: center;
	filter: blur(28px) saturate(1.1); opacity: .75; transform: scale(1.1);
}
.hero.is-cover .hero__bg { display: none; }
.hero__img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hero.is-cover .hero__img { object-fit: cover; }
.hero__slide.is-active .hero__img { animation: kenburns 7s ease-out both; }
.hero__overlay {
	position: absolute; inset: 0; display: flex; align-items: center;
	background: linear-gradient(90deg, rgba(6, 26, 58, .88) 0%, rgba(6, 26, 58, .55) 45%, rgba(6, 26, 58, 0) 75%);
}
.hero__content { max-width: 640px; color: #fff; }
.hero__slide.is-active .hero__content > * { animation: rise .9s var(--ease) both; }
.hero__slide.is-active .hero__content > *:nth-child(2) { animation-delay: .15s; }
.hero__slide.is-active .hero__content > *:nth-child(3) { animation-delay: .3s; }
.hero__title { color: #fff; font-size: clamp(26px, 4.2vw, 58px); line-height: 1.15; margin-bottom: 18px; }
.hero__sub { font-size: clamp(16px, 1.5vw, 20px); color: rgba(255, 255, 255, .88); margin-bottom: 30px; }
.hero__nav {
	position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
	width: 54px; height: 54px; border-radius: 50%; border: 0; display: grid; place-items: center;
	background: rgba(255, 255, 255, .92); color: var(--navy); box-shadow: var(--shadow-sm); transition: .25s;
}
.hero__nav:hover { background: var(--orange); color: #fff; }
.hero__nav .ic { width: 26px; height: 26px; }
.hero__nav--prev { left: 24px; }
.hero__nav--next { right: 24px; }
.hero__dots { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero__dot { width: 46px; height: 6px; border: 0; padding: 0; border-radius: 6px; background: rgba(255, 255, 255, .45); overflow: hidden; }
.hero__dot span { display: block; height: 100%; width: 0; background: var(--orange); border-radius: inherit; }
.hero__dot.is-active span { animation: progress var(--hero-int, 5s) linear forwards; }

/* ---------- Điểm nổi bật ---------- */
.usp { background: var(--bg); padding: 34px 0; border-bottom: 1px solid var(--line); }
.usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.usp__item {
	display: flex; gap: 16px; align-items: center; padding: 22px; background: #fff;
	border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease);
}
.usp__item:hover { transform: translateY(-4px); }
.usp__ic {
	width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; flex: none;
	background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff;
}
.usp__item:nth-child(even) .usp__ic { background: linear-gradient(135deg, var(--orange), #ffb35c); }
.usp__ic .ic { width: 28px; height: 28px; }
.usp__title { font-size: 17.5px; margin: 0 0 2px; }
.usp__text { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.45; }

/* ---------- Giới thiệu ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.about__media { position: relative; padding: 0 0 36px 36px; }
.about__img { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__media:hover .about__img img { transform: scale(1.05); }
.about__deco {
	position: absolute; left: 0; bottom: 0; width: 62%; height: 70%; z-index: -1; border-radius: 28px;
	background: radial-gradient(var(--orange) 2px, transparent 2.5px) 0 0 / 18px 18px; opacity: .35;
}
.about__badge {
	position: absolute; right: -18px; bottom: 6px; background: var(--orange); color: #fff;
	border-radius: 20px; padding: 20px 26px; box-shadow: 0 20px 40px -18px var(--orange); text-align: center;
	animation: floaty 4s ease-in-out infinite;
}
.about__badge strong { display: block; font-size: 42px; line-height: 1; font-weight: 800; }
.about__badge span { font-size: 14.5px; font-weight: 600; }
.about__body .sec-title { margin-bottom: 18px; }
.about__text { color: var(--muted); font-size: 17.5px; }
.about__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.stat { padding: 18px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); text-align: center; }
.stat strong { display: block; font-size: 32px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.stat span { font-size: 14.5px; color: var(--muted); font-weight: 500; }

/* ---------- Carousel chung ---------- */
.carousel { position: relative; --per: 4; --gap: 24px; }
.carousel__viewport { overflow: hidden; margin: -16px; padding: 16px; }
.carousel__track { display: flex; gap: var(--gap); transition: transform .7s var(--ease); will-change: transform; touch-action: pan-y; }
.carousel__item { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); min-width: 0; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.carousel__dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; padding: 0; background: rgba(11, 42, 91, .2); transition: .3s; }
.carousel__dots button.is-active { width: 30px; background: var(--orange); }
.carousel-arrows { display: flex; gap: 12px; flex: none; }
.arrow {
	width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
	border: 2px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; transition: .25s;
}
.arrow:hover { background: var(--orange); border-color: var(--orange); }
.arrow--dark { border-color: var(--line); color: var(--navy); background: #fff; }
.arrow--dark:hover { color: #fff; }
.carousel__btn {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
	width: 50px; height: 50px; border-radius: 50%; border: 0; display: grid; place-items: center;
	background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); transition: .25s;
}
.carousel__btn:hover { background: var(--orange); color: #fff; }
.carousel__btn--prev { left: -18px; }
.carousel__btn--next { right: -18px; }

/* ---------- Sản phẩm bán chạy ---------- */
.best { background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 60%, #0f3a7c 100%); overflow: hidden; }
.best__glow {
	position: absolute; width: 620px; height: 620px; right: -160px; top: -200px; border-radius: 50%;
	background: radial-gradient(circle, rgba(247, 147, 30, .35), transparent 65%);
}
.best::after {
	content: ""; position: absolute; left: -120px; bottom: -180px; width: 480px; height: 480px; border-radius: 50%;
	background: radial-gradient(circle, rgba(31, 111, 209, .45), transparent 65%);
}
.best .container { position: relative; z-index: 1; }
.best__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.best__head .sec-head { margin: 0; text-align: left; }
.best .carousel__dots button { background: rgba(255, 255, 255, .3); }
.best .carousel__dots button.is-active { background: var(--orange); }
.product-card {
	background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
	transition: transform .35s var(--ease), box-shadow .35s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .55); }
.product-card__media { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(180deg, #fff, #eef3fb); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.07); }
.product-card__formula {
	position: absolute; left: 16px; bottom: 16px; min-width: 64px; height: 64px; padding: 0 12px; border-radius: 18px;
	display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 22px; font-weight: 800;
	box-shadow: 0 10px 22px -8px rgba(11, 42, 91, .6); border: 3px solid #fff;
}
.product-card__hot {
	position: absolute; top: 16px; right: 16px; padding: 6px 14px; border-radius: 999px;
	background: var(--orange); color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.product-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card__name { font-size: 21px; margin-bottom: 8px; }
.product-card__body p { font-size: 15.5px; color: var(--muted); flex: 1; }

/* ---------- Danh mục sản phẩm ---------- */
.cats { background: var(--bg); }
.cats__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: -12px 0 64px; }
.pill {
	display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 10px; border-radius: 999px;
	background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 15.5px; color: var(--navy);
	box-shadow: var(--shadow-sm); transition: .25s;
}
.pill__ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--navy); transition: .25s; }
.pill__ic .ic { width: 20px; height: 20px; }
.pill:hover { color: #fff; background: var(--navy); border-color: var(--navy); }
.pill:hover .pill__ic { background: var(--orange); color: #fff; }

.cats__list { display: grid; gap: 40px; }
.cat-row {
	display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: #fff;
	border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: calc(var(--hh) + 20px);
}
.cat-row.is-reverse .cat-row__media { order: 2; }
.cat-row__media { position: relative; min-height: 440px; background: linear-gradient(135deg, var(--sky), #fff); overflow: hidden; }
.cat-row__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat-row:hover .cat-row__media img { transform: scale(1.05); }
.cat-row__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 26, 58, .55)); }
.cat-row__num {
	position: absolute; left: 28px; bottom: 18px; z-index: 1; font-size: 88px; font-weight: 800; line-height: 1;
	color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .9);
}
.cat-row__body { padding: 52px 56px; display: flex; flex-direction: column; justify-content: center; }
.cat-row__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cat-row__ic {
	width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
	background: linear-gradient(135deg, var(--orange), #ffb45e); color: #fff; box-shadow: 0 12px 24px -12px var(--orange);
}
.cat-row__ic .ic { width: 30px; height: 30px; }
.cat-row__sub { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.cat-row__title { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 14px; }
.cat-row__desc { color: var(--muted); font-size: 17px; margin: 0; }
.cat-row__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Đối tác ---------- */
.partners { background: #fff; }
.partners__intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.partners__intro .sec-head { margin: 0; text-align: left; max-width: 760px; }
.carousel--partner { --per: 5; --gap: 22px; }
.logo-card {
	height: 140px; display: grid; place-items: center; padding: 22px 26px; background: #fff;
	border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm);
	transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.logo-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--orange)); transform: scaleX(0); transition: transform .4s var(--ease); }
.logo-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow); }
.logo-card:hover::before { transform: scaleX(1); }
.logo-card img { max-height: 74px; width: auto; max-width: 100%; object-fit: contain; }
.logo-card__text { font-size: 24px; font-weight: 800; color: var(--navy); text-align: center; letter-spacing: -.01em; line-height: 1.2; }

/* ---------- Khách hàng ---------- */
.customers { background: linear-gradient(180deg, var(--bg), #fff); }
.carousel--customer { --per: 3; --gap: 26px; }
.customer-card { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: var(--sky); }
.customer-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.customer-card:hover img { transform: scale(1.06); }
.customer-card figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 22px 20px; display: flex; align-items: center; gap: 10px;
	background: linear-gradient(180deg, transparent, rgba(6, 26, 58, .92)); color: #fff; font-weight: 700; font-size: 17.5px;
}
.customer-card__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex: none; box-shadow: 0 0 0 4px rgba(247, 147, 30, .3); }
.customers__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 56px; }
.chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff;
	border: 1px solid var(--line); font-size: 15.5px; font-weight: 600; color: var(--navy); transition: .25s;
}
.chip .ic { width: 18px; height: 18px; color: var(--orange); stroke-width: 3; }
.chip:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.customers__more { text-align: center; margin: 28px 0 0; font-size: 17px; color: var(--muted); font-style: italic; }

/* ---------- Liên hệ ---------- */
.contact { background: var(--navy); overflow: hidden; color: #fff; }
.contact__bg {
	position: absolute; inset: 0;
	background:
		radial-gradient(600px 300px at 10% 110%, rgba(247, 147, 30, .45), transparent 70%),
		radial-gradient(700px 360px at 95% -10%, rgba(31, 111, 209, .55), transparent 70%),
		linear-gradient(135deg, var(--navy-dark), var(--navy));
}
.contact__in { position: relative; text-align: center; }
.contact .sec-head { margin-bottom: 40px; }

.contact-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.cbtn {
	display: inline-flex; align-items: center; gap: 14px; min-width: 240px; padding: 12px 28px 12px 12px;
	border-radius: 999px; color: #fff; position: relative; transition: transform .25s var(--ease);
}
.cbtn:hover { color: #fff; transform: translateY(-3px) scale(1.02); }
.cbtn__ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); flex: none; }
.cbtn__ic .ic { width: 28px; height: 28px; animation: shake 3s ease-in-out infinite; }
.cbtn__txt { display: flex; flex-direction: column; text-align: left; line-height: 1.25; }
.cbtn__txt small { font-size: 13.5px; opacity: .88; }
.cbtn__txt strong { font-size: 19px; font-weight: 800; }
.cbtn--zalo { background: var(--zalo); animation: beatStrong 1.4s ease-in-out infinite; --ring: rgba(0, 104, 255, .55); }
.cbtn--wa { background: var(--wa); animation: beatStrong 1.4s ease-in-out .45s infinite; --ring: rgba(34, 195, 94, .55); }
.cbtn--call { background: var(--orange); animation: puff 2s ease-in-out .9s infinite; }
.cbtn--zalo::before, .cbtn--wa::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; border: 3px solid var(--ring);
	animation: ringPill 1.4s ease-out infinite; pointer-events: none;
}
.cbtn--wa::before { animation-delay: .45s; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, .78); position: relative; padding-top: 80px; font-size: 16px; }
.footer__wave { position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--navy), var(--blue) 40%, var(--orange)); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 44px; padding-bottom: 56px; }
.footer__logo { display: inline-block; background: #fff; border-radius: 16px; padding: 12px 18px; margin-bottom: 20px; }
.footer__logo img { height: 64px; width: auto; }
.footer__brand p { line-height: 1.7; }
.footer__title { color: #fff; font-size: 19px; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--orange); }
.footer__links li { margin-bottom: 12px; }
.footer__links a { color: rgba(255, 255, 255, .78); display: inline-flex; gap: 8px; align-items: center; transition: .2s; }
.footer__links a::before { content: "›"; color: var(--orange); font-weight: 800; }
.footer__links a:hover { color: #fff; transform: translateX(4px); }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.footer__contact .ic { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: var(--orange); }
.footer__contact strong { color: #fff; }
.footer__contact a { color: rgba(255, 255, 255, .85); }
.footer__contact a:hover { color: var(--orange); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; text-align: center; font-size: 15px; }
.footer__bottom p { margin: 0; }

/* ---------- 3 nút liên hệ nổi (cố định góc phải) ---------- */
.float-contact {
	position: fixed; right: 18px; bottom: 22px; z-index: 1100;
	display: flex; flex-direction: column; gap: 18px;
	padding-bottom: env(safe-area-inset-bottom);
}
.fc {
	--c: var(--orange); --d: 0s;
	position: relative; width: 60px; height: 60px; border-radius: 50%;
	display: grid; place-items: center; color: #fff; background: var(--c);
	box-shadow: 0 10px 22px -6px var(--c);
	animation: puff 1.8s ease-in-out var(--d) infinite;
}
.fc::before, .fc::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--c);
	z-index: -1; animation: wave 1.8s ease-out var(--d) infinite;
}
.fc::after { animation-delay: calc(var(--d) + .9s); }
.fc__ic { display: grid; place-items: center; }
.fc__ic .ic { width: 30px; height: 30px; animation: shake 3s ease-in-out var(--d) infinite; }
.fc--zalo { --c: var(--zalo); --d: 0s; }
.fc--wa { --c: var(--wa); --d: .6s; }
.fc--call { --c: var(--orange); --d: 1.2s; }
.fc__label {
	position: absolute; right: calc(100% + 14px); top: 50%; transform: translate(8px, -50%);
	background: var(--navy); color: #fff; font-size: 14.5px; font-weight: 700; white-space: nowrap;
	padding: 8px 14px; border-radius: 10px; opacity: 0; visibility: hidden; transition: .25s; pointer-events: none;
}
.fc__label::after { content: ""; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-right: 0; border-left-color: var(--navy); }
.fc:hover { color: #fff; }
.fc:hover .fc__label { opacity: 1; visibility: visible; transform: translate(0, -50%); }

/* ---------- Landing page danh mục ---------- */
.lp-hero { position: relative; overflow: hidden; color: #fff; padding: 72px 0 96px; background: linear-gradient(135deg, var(--navy-dark), var(--navy) 55%, #11408a); }
.lp-hero__shape {
	position: absolute; right: -10%; top: -30%; width: 60%; height: 160%; border-radius: 50%;
	background: radial-gradient(circle, rgba(247, 147, 30, .28), transparent 62%);
}
.lp-hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.lp-hero__title { color: #fff; font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 18px; }
.lp-hero__desc { font-size: 18.5px; color: rgba(255, 255, 255, .85); margin-bottom: 34px; max-width: 620px; }
.lp-hero .contact-btns { justify-content: flex-start; gap: 14px; }
.lp-hero .cbtn { min-width: 0; }
.lp-hero__media { position: relative; }
.lp-hero__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 32px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); border: 6px solid rgba(255, 255, 255, .12); }
.lp-hero__ic {
	position: absolute; left: -24px; bottom: 36px; width: 86px; height: 86px; border-radius: 24px;
	display: grid; place-items: center; background: var(--orange); color: #fff; box-shadow: 0 20px 40px -14px var(--orange);
	animation: floaty 4s ease-in-out infinite;
}
.lp-hero__ic .ic { width: 42px; height: 42px; }
.kicker--light { color: var(--orange); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; margin-bottom: 22px; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: rgba(255, 255, 255, .9); }
.breadcrumb a:hover { color: var(--orange); }

.lp-info { background: var(--bg); }
.lp-info__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: start; }
.lp-card, .lp-apps { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); height: 100%; }
.lp-card__title { font-size: 26px; }
.lp-apps__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.lp-app { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.lp-app__num { font-size: 22px; font-weight: 800; color: var(--orange); line-height: 1.2; }
.lp-app p { margin: 0; font-weight: 600; color: var(--navy); }

.lp-cta { background: linear-gradient(90deg, var(--orange), #ffad4d); padding: 36px 0; }
.lp-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lp-cta p { margin: 0; color: #fff; font-size: 20px; font-weight: 700; max-width: 760px; }
.lp-cta .btn--orange { background: var(--navy); box-shadow: 0 12px 26px -12px var(--navy); }

.lp-others__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.other-card {
	display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius); background: #fff;
	border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--navy); transition: .3s var(--ease);
}
.other-card strong { font-size: 19px; line-height: 1.35; }
.other-card__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--sky); color: var(--navy); transition: .3s; }
.other-card__ic .ic { width: 28px; height: 28px; }
.other-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font-weight: 700; font-size: 15px; margin-top: auto; }
.other-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--navy); }
.other-card:hover .other-card__ic { background: var(--orange); color: #fff; }

/* ---------- Trang thường ---------- */
.page-head { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: #fff; padding: 64px 0; }
.page-head__title { color: #fff; font-size: clamp(30px, 4vw, 48px); margin: 0; }
.page-head__meta { color: rgba(255, 255, 255, .75); margin: 10px 0 0; }
.page-404 { padding: 120px 0; text-align: center; }
.page-404 .btn { margin-top: 24px; }
.page-body { padding-top: 60px; padding-bottom: 80px; }
.narrow { max-width: 860px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content img { border-radius: 12px; }
.page-builder .entry-content, .elementor-full { width: 100%; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.post-card__media { display: block; aspect-ratio: 16 / 10; background: var(--sky); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px; }
.post-card__date { font-size: 14px; color: var(--orange); font-weight: 600; }
.post-card__title { font-size: 20px; margin: 6px 0 10px; }
.post-card__more { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--orange); }
.pagination { margin-top: 40px; text-align: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; margin: 0 4px; padding: 0 12px; border-radius: 10px; background: var(--bg); font-weight: 600; }
.pagination .current { background: var(--navy); color: #fff; }

/* ---------- Hiệu ứng xuất hiện ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes wave { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes puff { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.09); } }
@keyframes beatStrong {
	0%, 100% { transform: scale(1); }
	14% { transform: scale(1.1); }
	28% { transform: scale(1); }
	42% { transform: scale(1.08); }
	70% { transform: scale(1); }
}
@keyframes ringPill { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.18, 1.5); opacity: 0; } }
@keyframes shake {
	0%, 60%, 100% { transform: rotate(0); }
	64% { transform: rotate(-18deg); }
	68% { transform: rotate(16deg); }
	72% { transform: rotate(-14deg); }
	76% { transform: rotate(12deg); }
	80% { transform: rotate(-8deg); }
	84% { transform: rotate(0); }
}
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes progress { from { width: 0; } to { width: 100%; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
	.hero__slide.is-active .hero__img, .about__badge, .lp-hero__ic { animation: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
	.header-hotline__txt { display: none; }
	.main-nav .menu > li > a { padding: 10px 12px; }
}

/* iPad ngang & nhỏ hơn: menu dạng bảng trắng toàn màn hình */
@media (max-width: 1100px) {
	:root { --hh: 74px; }
	.site-logo img { height: 54px; }
	.nav-toggle { display: grid; }
	.header-hotline { margin-left: auto; }
	.nav-toggle { margin-left: 0; }

	.main-nav {
		position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, var(--hh)); z-index: 999;
		margin: 0; background: #fff; overflow-y: auto; overscroll-behavior: contain;
		padding: 12px 24px calc(32px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--line);
		opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
	}
	.nav-open .main-nav { opacity: 1; visibility: visible; }
	.nav-open { overflow: hidden; }
	.main-nav .menu { display: block; max-width: 720px; margin: 0 auto; }
	.main-nav .menu > li { border-bottom: 1px solid var(--line); }
	.main-nav .menu > li > a { padding: 18px 4px; font-size: 19px; border-radius: 0; }
	.main-nav .menu > li > a::after { display: none; }
	.main-nav .menu > li:hover > a .caret { transform: none; }
	.main-nav .menu-item-has-children { display: flex; flex-wrap: wrap; align-items: center; }
	.main-nav .menu-item-has-children > a { flex: 1; }
	.main-nav .menu-item-has-children > a .caret { display: none; }
	.sub-toggle {
		display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 0;
		background: var(--sky); color: var(--navy); transition: .25s;
	}
	.sub-toggle .ic { width: 22px; height: 22px; transition: transform .25s; }
	.is-sub-open > .sub-toggle { background: var(--orange); color: #fff; }
	.is-sub-open > .sub-toggle .ic { transform: rotate(180deg); }
	.main-nav .sub-menu {
		position: static; flex-basis: 100%; min-width: 0; padding: 0 0 14px; margin: 0;
		border: 0; box-shadow: none; border-radius: 0; background: transparent;
		opacity: 1; visibility: visible; transform: none; display: none;
	}
	.main-nav .sub-menu::before { display: none; }
	.main-nav .is-sub-open > .sub-menu { display: block; animation: fadeIn .3s ease; }
	.main-nav .sub-menu a { font-size: 17px; padding: 13px 14px; background: var(--bg); margin-bottom: 8px; }
	.mnav-contact { display: grid; gap: 12px; max-width: 720px; margin: 28px auto 0; }
	.mnav-contact .btn { min-height: 56px; font-size: 17px; }

	.usp__grid { grid-template-columns: repeat(2, 1fr); }
	.about__grid { grid-template-columns: 1fr; gap: 56px; }
	.about__media { max-width: 720px; margin: 0 auto; width: 100%; }
	.carousel { --per: 3; }
	.carousel--partner { --per: 4; }
	.carousel--customer { --per: 2; }
	.cat-row__body { padding: 40px; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.lp-hero__grid { grid-template-columns: 1fr; }
	.lp-hero__media { max-width: 520px; }
	.lp-info__grid { grid-template-columns: 1fr; }
	.lp-others__grid { grid-template-columns: repeat(2, 1fr); }
	.post-grid { grid-template-columns: repeat(2, 1fr); }
}

/* iPad dọc */
@media (max-width: 860px) {
	.section { padding: 76px 0; }
	.cat-row, .cat-row.is-reverse { grid-template-columns: 1fr; }
	.cat-row.is-reverse .cat-row__media { order: 0; }
	.cat-row__media { min-height: 0; aspect-ratio: 16 / 10; }
	.best__head, .partners__intro { flex-direction: column; align-items: flex-start; }
	.carousel--partner { --per: 3; }
	.lp-cta__in { flex-direction: column; text-align: center; }
	.topbar__text { display: none; }
	.topbar__links { margin: 0 auto; }
}

/* Điện thoại */
@media (max-width: 600px) {
	body { font-size: 16.5px; }
	:root { --hh: 68px; }
	.container { padding: 0 18px; }
	.section { padding: 64px 0; }
	.site-logo img { height: 48px; }
	.header__in { gap: 12px; }
	.header-hotline__ic { width: 44px; height: 44px; }
	.main-nav { padding-left: 18px; padding-right: 18px; }
	.topbar { font-size: 13px; }
	.topbar__links { gap: 16px; }

	.hero { height: clamp(260px, 72vw, 480px); }
	.hero__nav { width: 40px; height: 40px; }
	.hero__nav--prev { left: 10px; }
	.hero__nav--next { right: 10px; }
	.hero__nav .ic { width: 20px; height: 20px; }
	.hero__dots { bottom: 14px; }
	.hero__dot { width: 30px; height: 5px; }
	.hero__sub { display: none; }
	.hero__overlay { background: linear-gradient(90deg, rgba(6, 26, 58, .9), rgba(6, 26, 58, .5)); }
	.hero__content { padding: 0 34px; }
	.hero__content .btn { min-height: 46px; padding: 10px 20px; font-size: 15px; }

	.sec-head { margin-bottom: 34px; }
	.sec-desc { font-size: 16.5px; }
	.usp { padding: 22px 0; }
	.usp__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.usp__item { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
	.usp__ic { width: 48px; height: 48px; border-radius: 14px; }
	.usp__title { font-size: 16px; }
	.usp__text { font-size: 14px; }

	.about__media { padding: 0 0 24px 18px; }
	.about__badge { right: 0; padding: 14px 18px; }
	.about__badge strong { font-size: 32px; }
	.about__stats { gap: 10px; }
	.stat { padding: 14px 8px; }
	.stat strong { font-size: 26px; }
	.stat span { font-size: 13px; }

	.carousel { --per: 2; --gap: 14px; }
	.carousel--best { --per: 1.6; }
	.carousel--partner { --per: 2; }
	.carousel--customer { --per: 1.15; --gap: 16px; }
	.carousel__btn { display: none; }
	.product-card__body { padding: 16px; }
	.product-card__name { font-size: 18px; }
	.product-card__body p { font-size: 14.5px; }
	.product-card__formula { min-width: 52px; height: 52px; font-size: 18px; left: 10px; bottom: 10px; border-radius: 14px; }
	.product-card__hot { top: 10px; right: 10px; font-size: 11px; padding: 5px 10px; }
	.product-card .btn { font-size: 14.5px; padding: 10px 12px; min-height: 44px; }
	.arrow { width: 46px; height: 46px; }

	.cats__pills { margin-bottom: 40px; gap: 8px; }
	.pill { font-size: 14.5px; padding: 8px 14px 8px 8px; }
	.pill__ic { width: 30px; height: 30px; }
	.cats__list { gap: 26px; }
	.cat-row { border-radius: 22px; }
	.cat-row__body { padding: 28px 22px 30px; }
	.cat-row__num { font-size: 64px; left: 18px; }
	.cat-row__ic { width: 52px; height: 52px; }
	.cat-row__actions .btn { width: 100%; }

	.logo-card { height: 110px; padding: 16px; }
	.logo-card img { max-height: 58px; }
	.logo-card__text { font-size: 19px; }
	.customers__list { gap: 8px; margin-top: 36px; }
	.chip { font-size: 14px; padding: 8px 14px; }

	.contact-btns { flex-direction: column; align-items: stretch; gap: 16px; padding: 0 6px; }
	.cbtn { min-width: 0; }
	.lp-hero .contact-btns { padding: 0; }

	.footer__grid { grid-template-columns: 1fr; gap: 34px; }
	.site-footer { padding-top: 60px; padding-bottom: 10px; }

	.float-contact { right: 12px; bottom: 16px; gap: 16px; }
	.fc { width: 52px; height: 52px; }
	.fc__ic .ic { width: 26px; height: 26px; }
	.fc__label { display: none; }

	.lp-hero { padding: 44px 0 64px; }
	.lp-hero__ic { left: 12px; width: 66px; height: 66px; }
	.lp-card, .lp-apps { padding: 26px 20px; }
	.lp-apps__grid { grid-template-columns: 1fr; }
	.lp-others__grid { grid-template-columns: 1fr; }
	.lp-cta p { font-size: 17.5px; }
	.post-grid { grid-template-columns: 1fr; }
}

@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.nav-open .float-contact { opacity: 0; visibility: hidden; }
.float-contact { transition: opacity .3s, visibility .3s; }
