/* ==========================================================================
   VIF Theme — main.css
   Quy ước: BEM (block__element--modifier). Trạng thái dùng tiền tố is-/has-.
   Hook JS dùng tiền tố js- (không style theo js-*).
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */
:root {
	--c-teal: #00a8a5;
	--c-teal-dk: #007a6f;
	--c-teal-lt: #00c8c4;
	--c-orange: #faa61a;
	--c-bg: #0a1628;
	--c-bg-2: #0f1f3a;
	--c-bg-3: #1a2f50;
	--c-text: #cbd5e1;
	--c-text-muted: rgba(203, 213, 225, .72);
	--c-heading: #f0faf9;
	--c-border: rgba(0, 168, 165, .22);
	--c-border-strong: rgba(0, 168, 165, .5);
	--c-teal-soft: rgba(0, 168, 165, .1);

	--ff: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--radius: 10px;
	--radius-lg: 14px;
	--radius-xl: 20px;
	--container: 1200px;
	--gutter: 2rem;
	--header-h: 84px;
	--section-y: 7rem;
	--shadow-lg: 0 22px 55px rgba(0, 0, 0, .4);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--ff);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--c-text);
	background: var(--c-bg);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video { display: block; max-width: 100%; height: auto; }

a { color: var(--c-teal); }

button,
input,
select,
textarea { font: inherit; color: inherit; }

ul[class],
ol[class] { list-style: none; }

::selection { background: var(--c-teal); color: #fff; }

:focus-visible { outline: 2px solid var(--c-orange); outline-offset: 3px; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg-2); }
::-webkit-scrollbar-thumb { background: var(--c-teal); border-radius: 3px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: fixed;
	top: -100px; left: 1rem;
	z-index: 2000;
	padding: .6rem 1rem;
	background: var(--c-orange);
	color: #111;
	font-weight: 700;
	border-radius: var(--radius);
	text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* 3. Layout
   ========================================================================== */
.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

.section { position: relative; padding-block: var(--section-y); }
.section--alt { background: var(--c-bg-2); }
.section--tight { padding-block: 4rem 6rem; }

.site-main { display: block; }

/* 4. Reveal animation (chỉ ẩn khi có JS)
   ========================================================================== */
.has-js .js-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .65s ease, transform .65s var(--ease);
}
.has-js .js-reveal.is-visible { opacity: 1; transform: none; }

/* 5. Button (block: btn)
   ========================================================================== */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .8rem 1.9rem;
	border: 1.5px solid transparent;
	border-radius: var(--radius);
	font-family: var(--ff);
	font-size: .9rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
	overflow: hidden;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled,
.btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; }

.btn__icon { width: 1.05em; height: 1.05em; flex-shrink: 0; transition: transform .2s; }
.btn:hover .btn__icon { transform: translateX(2px); }

.btn--primary { background: var(--c-teal); color: #fff; }
.btn--primary::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent);
	transform: translateX(-100%);
	transition: transform .45s;
}
.btn--primary:hover { background: var(--c-teal-lt); box-shadow: 0 8px 24px rgba(0, 168, 165, .4); }
.btn--primary:hover::after { transform: translateX(100%); }

.btn--outline { border-color: var(--c-teal); color: var(--c-teal); background: transparent; }
.btn--outline:hover { background: var(--c-teal); color: #fff; }

.btn--white { background: #fff; color: var(--c-teal-dk); font-weight: 700; }
.btn--white:hover { background: var(--c-heading); box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }

.btn--ghost { border: 2px solid rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

.btn--sm { padding: .55rem 1.3rem; font-size: .82rem; }
.btn--block { width: 100%; }

/* 6. Section head (block: section-head)
   ========================================================================== */
.section-head { margin-bottom: 3.5rem; }

.section-head__tag {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin-bottom: 1rem;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--c-orange);
}
.section-head__tag::before {
	content: "";
	width: 0; height: 0;
	border-left: 7px solid currentColor;
	border-top: 4.5px solid transparent;
	border-bottom: 4.5px solid transparent;
}

.section-head__title {
	margin-bottom: .9rem;
	font-size: clamp(1.9rem, 3.8vw, 2.9rem);
	font-weight: 800;
	line-height: 1.14;
	letter-spacing: -.01em;
	color: var(--c-heading);
}

.section-head__accent { color: var(--c-teal); }
.section-head__accent--orange { color: var(--c-orange); }

.section-head__sub {
	max-width: 520px;
	font-size: 1rem;
	line-height: 1.75;
	color: var(--c-text-muted);
}

.section-head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
}
.section-head--split .section-head__title { max-width: 560px; margin-bottom: 0; }

.section-head--center { text-align: center; }
.section-head--center .section-head__sub { margin-inline: auto; }

.section-head--stack { margin-bottom: 0; }
.section-head--stack .section-head__sub { max-width: none; }

/* Khi section-head nằm trong khối đã reveal, không reveal lồng. */
.js-reveal .section-head.js-reveal { opacity: 1; transform: none; }

/* 7. Header (block: site-header)
   ========================================================================== */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 1000;
	padding-block: 1rem;
	background: rgba(10, 22, 40, .92);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--c-border);
	transition: padding .3s, box-shadow .3s;
}
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.site-header--scrolled { padding-block: .6rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.site-header__logo { display: flex; flex-shrink: 0; align-items: center; }
.site-header__logo-img { width: 80px; height: auto; transition: width .3s; }
.site-header--scrolled .site-header__logo-img { width: 68px; }

.site-header__cta { flex-shrink: 0; }

.site-header__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	padding: 0;
	background: none;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	color: var(--c-heading);
	cursor: pointer;
}
.site-header__toggle-icon { width: 22px; height: 22px; }
.site-header__toggle-close { display: none; }
.site-header__toggle[aria-expanded="true"] .site-header__toggle-open { display: none; }
.site-header__toggle[aria-expanded="true"] .site-header__toggle-close { display: inline-flex; }

/* 8. Main nav (block: main-nav)
   ========================================================================== */
.main-nav { margin-left: auto; }

.main-nav__list { display: flex; align-items: center; gap: 1.8rem; }
.main-nav__item { position: relative; }

.main-nav__link {
	position: relative;
	display: inline-block;
	padding-block: .35rem;
	font-size: .88rem;
	font-weight: 500;
	color: var(--c-text);
	text-decoration: none;
	white-space: nowrap;
	transition: color .2s;
}
.main-nav__link::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -2px;
	height: 2px;
	border-radius: 1px;
	background: var(--c-teal);
	transform: scaleX(0);
	transition: transform .2s;
}
.main-nav__link:hover,
.main-nav__item.is-current > .main-nav__link { color: var(--c-heading); }
.main-nav__link:hover::after,
.main-nav__item.is-current > .main-nav__link::after { transform: scaleX(1); }

.main-nav__sub {
	position: absolute;
	top: 100%; left: -1rem;
	min-width: 220px;
	padding: .6rem;
	background: var(--c-bg-2);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.main-nav__item--parent:hover > .main-nav__sub,
.main-nav__item--parent:focus-within > .main-nav__sub { opacity: 1; visibility: visible; transform: none; }
.main-nav__sub .main-nav__link { display: block; padding: .5rem .75rem; }
.main-nav__sub .main-nav__link::after { display: none; }

.main-nav__cta { display: none; }

/* 9. Hero (block: hero, hero-stat, hero-card)
   ========================================================================== */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100vh;
	min-height: 100svh;
	padding-block: 8rem 5rem;
	overflow: hidden;
}

.hero__bg {
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse 60% 60% at 70% 50%, rgba(0, 168, 165, .14) 0%, transparent 70%),
		radial-gradient(ellipse 40% 40% at 15% 80%, rgba(250, 166, 26, .07) 0%, transparent 60%),
		linear-gradient(165deg, var(--c-bg-2) 0%, var(--c-bg) 100%);
}

.hero__grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(0, 168, 165, .055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 168, 165, .055) 1px, transparent 1px);
	background-size: 58px 58px;
	-webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 0%, transparent 80%);
	mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 0%, transparent 80%);
}

.hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	align-items: center;
	gap: 4rem;
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	margin-bottom: 1.5rem;
	padding: .32rem .9rem;
	font-size: .78rem;
	font-weight: 500;
	color: var(--c-teal-lt);
	background: rgba(0, 168, 165, .07);
	border: 1px solid var(--c-border);
	border-radius: 100px;
}

.hero__dot {
	flex-shrink: 0;
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--c-teal-lt);
	animation: vif-pulse 2s infinite;
}

.hero__title {
	margin-bottom: 1.4rem;
	font-size: clamp(2.4rem, 4.8vw, 3.8rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.02em;
	color: var(--c-heading);
}
.hero__accent { color: var(--c-teal); white-space: nowrap; }
.hero__accent--orange { color: var(--c-orange); }

.hero__desc {
	max-width: 500px;
	margin-bottom: 2.2rem;
	font-size: 1.05rem;
	line-height: 1.78;
	color: var(--c-text-muted);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 2.2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--c-border);
}

.hero-stat__num { font-size: 2rem; font-weight: 800; line-height: 1; color: var(--c-heading); }
.hero-stat__suffix { color: var(--c-teal); }
.hero-stat__label { margin-top: .3rem; font-size: .78rem; color: var(--c-text); opacity: .65; }

.hero__visual { display: flex; align-items: center; justify-content: center; }
.hero__cards { position: relative; width: 320px; height: 380px; }

.hero-card {
	position: absolute;
	left: 50%;
	padding: 1.4rem;
	background: var(--c-bg-3);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
	--rot: 0deg;
	transform: translateX(-50%) rotate(var(--rot));
	animation: vif-float 4.5s ease-in-out infinite;
}
.hero-card--1 { --rot: -3deg; top: 0; width: 270px; background: linear-gradient(135deg, rgba(0, 168, 165, 0), rgba(0, 168, 165, .14)), var(--c-bg-3); }
.hero-card--2 { --rot: 1.5deg; top: 92px; z-index: 2; width: 288px; animation-delay: .6s; }
.hero-card--3 { --rot: -1deg; top: 210px; z-index: 3; width: 255px; background: linear-gradient(135deg, rgba(0, 168, 165, .18), rgba(0, 168, 165, 0)), var(--c-bg-3); animation-delay: 1.1s; }

.hero-card__icon { width: 22px; height: 22px; margin-bottom: .5rem; color: var(--c-teal-lt); }
.hero-card__title { font-size: .92rem; font-weight: 700; color: var(--c-heading); }
.hero-card__sub { margin-top: .15rem; font-size: .76rem; opacity: .65; }
.hero-card__bar { height: 4px; margin-top: .8rem; overflow: hidden; background: var(--c-border); border-radius: 2px; }
.hero-card__fill { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--c-teal), var(--c-teal-lt)); }

/* 10. Services (block: services, service-card)
   ========================================================================== */
.services::before {
	content: "";
	position: absolute;
	top: 0; left: 50%;
	width: 1px; height: 70px;
	background: linear-gradient(var(--c-teal), transparent);
	transform: translateX(-50%);
}

.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }

.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 2rem;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	background: var(--c-bg-2);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	transition: transform .3s, box-shadow .3s, border-color .3s;
}
.service-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--c-teal), var(--c-teal-lt));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s;
}
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: var(--c-border-strong); }
.service-card:hover::before { transform: scaleX(1); }
.has-js .service-card.js-reveal.is-visible:hover { transform: translateY(-7px); }

.service-card--wide { grid-column: span 2; }

.service-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px; height: 50px;
	margin-bottom: 1.2rem;
	color: var(--c-teal-lt);
	background: var(--c-teal-soft);
	border: 1px solid var(--c-border);
	border-radius: 12px;
	transition: background-color .3s;
}
.service-card:hover .service-card__icon { background: rgba(0, 168, 165, .22); }
.service-card__svg { width: 24px; height: 24px; }

.service-card__name { margin-bottom: .55rem; font-size: 1.1rem; font-weight: 700; color: var(--c-heading); }
.service-card__desc { font-size: .88rem; line-height: 1.72; color: var(--c-text-muted); }

.service-card__link {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	margin-top: auto;
	padding-top: 1.2rem;
	font-size: .8rem;
	font-weight: 600;
	color: var(--c-teal);
	opacity: 0;
	transform: translateX(-5px);
	transition: opacity .3s, transform .3s;
}
.service-card:hover .service-card__link,
.service-card:focus-visible .service-card__link { opacity: 1; transform: none; }
.service-card__arrow { width: 14px; height: 14px; }

/* 11. About (block: about)
   ========================================================================== */
.about { overflow: hidden; }

.about__ring {
	position: absolute;
	top: 50%; right: -140px;
	width: 480px; height: 480px;
	border: 1px solid var(--c-border);
	border-radius: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}
.about__ring::after {
	content: "";
	position: absolute;
	inset: 50px;
	border: 1px solid var(--c-border);
	border-radius: 50%;
}

.about__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	align-items: center;
	gap: 5rem;
}

.about__visual { display: flex; align-items: center; justify-content: center; }
.about__diagram { width: 100%; max-width: 460px; overflow: visible; }

.about__list { display: flex; flex-direction: column; gap: .9rem; margin-top: 1.75rem; }
.about__item { display: flex; align-items: flex-start; gap: .8rem; font-size: .92rem; line-height: 1.65; }

.about__check {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 22px; height: 22px;
	margin-top: .1rem;
	color: var(--c-teal);
	background: rgba(0, 168, 165, .14);
	border: 1px solid var(--c-teal);
	border-radius: 50%;
}
.about__check-icon { width: 12px; height: 12px; stroke-width: 3; }

/* 12. Why (block: why, stat-card, feature)
   ========================================================================== */
.why__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-bottom: 1.4rem; }

.stat-card {
	padding: 1.8rem;
	text-align: center;
	background: linear-gradient(135deg, var(--c-bg-2), var(--c-bg));
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	transition: transform .3s, box-shadow .3s;
}
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0, 168, 165, .12); }

.stat-card__num {
	margin-bottom: .4rem;
	font-size: 2.8rem;
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(135deg, var(--c-teal), var(--c-teal-lt));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.stat-card__label { font-size: .82rem; line-height: 1.5; opacity: .78; }

.why__features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }

.feature {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.4rem;
	background: var(--c-bg-2);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	transition: border-color .2s;
}
.feature:hover { border-color: rgba(0, 168, 165, .45); }

.feature__icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 42px; height: 42px;
	color: var(--c-teal-lt);
	background: var(--c-teal-soft);
	border-radius: var(--radius);
}
.feature__svg { width: 21px; height: 21px; }
.feature__title { margin-bottom: .28rem; font-size: .93rem; font-weight: 700; color: var(--c-heading); }
.feature__desc { font-size: .82rem; line-height: 1.65; opacity: .72; }

/* 13. Process (block: process, process-step)
   ========================================================================== */
.process__steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.process__steps::before {
	content: "";
	position: absolute;
	top: 35px; left: 15%; right: 15%;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--c-teal), transparent);
}

.process-step { padding-inline: 1rem; text-align: center; }

.process-step__num {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 70px; height: 70px;
	margin: 0 auto 1.4rem;
	font-size: 1.3rem;
	font-weight: 800;
	color: var(--c-teal);
	background: var(--c-bg);
	border: 2px solid var(--c-teal);
	border-radius: 50%;
	box-shadow: 0 0 28px rgba(0, 168, 165, .2);
}
.process-step__title { margin-bottom: .5rem; font-size: .96rem; font-weight: 700; color: var(--c-heading); }
.process-step__desc { font-size: .83rem; line-height: 1.65; opacity: .72; }

/* 14. CTA banner (block: cta-banner)
   ========================================================================== */
.cta-banner { padding-block: 5rem; }

.cta-banner__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 2.5rem;
	padding: 3.8rem;
	overflow: hidden;
	background: linear-gradient(118deg, var(--c-teal-dk) 0%, var(--c-teal) 100%);
	border-radius: var(--radius-xl);
}
.cta-banner__inner::after {
	content: "VIF";
	position: absolute;
	right: -1rem; bottom: -2rem;
	font-size: 11rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.04em;
	color: rgba(255, 255, 255, .055);
	pointer-events: none;
}

.cta-banner__text { position: relative; z-index: 1; }
.cta-banner__title { margin-bottom: .65rem; font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 800; line-height: 1.2; color: #fff; }
.cta-banner__accent { color: var(--c-orange); }
.cta-banner__accent--orange { color: #fff3d6; }
.cta-banner__sub { max-width: 560px; font-size: .97rem; line-height: 1.65; color: rgba(255, 255, 255, .85); }
.cta-banner__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

/* 15. Contact (block: contact, contact-item, contact-form)
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 5rem; }

.contact__list { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 2.2rem; }

.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item__icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 42px; height: 42px;
	color: var(--c-teal-lt);
	background: var(--c-teal-soft);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
}
.contact-item__svg { width: 19px; height: 19px; }
.contact-item__label { margin-bottom: .18rem; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .55; }
.contact-item__value { font-size: .94rem; font-weight: 500; line-height: 1.55; color: var(--c-heading); }
.contact-item__link { color: inherit; text-decoration: none; transition: color .2s; }
.contact-item__link:hover { color: var(--c-teal); }

.contact-form {
	padding: 2rem;
	background: var(--c-bg-2);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
}
.contact-form__form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form__field { display: flex; flex-direction: column; gap: .4rem; }
.contact-form__label { font-size: .8rem; font-weight: 600; opacity: .85; }

.contact-form__input {
	width: 100%;
	padding: .78rem 1rem;
	font-size: .9rem;
	color: var(--c-heading);
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-radius: 8px;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
}
.contact-form__input::placeholder { color: rgba(203, 213, 225, .4); }
.contact-form__input:focus { border-color: var(--c-teal); box-shadow: 0 0 0 3px rgba(0, 168, 165, .15); }
.contact-form__input--textarea { min-height: 120px; resize: vertical; }
.contact-form__input--select {
	appearance: none;
	padding-right: 2.5rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a8a5' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right .9rem center;
	background-size: 16px;
}
.contact-form__input--select option { background: var(--c-bg-2); }

.contact-form__actions { display: flex; flex-direction: column; gap: .75rem; margin-top: .25rem; }
.contact-form__lead { margin-bottom: 1.2rem; }
.contact-form__notice {
	margin-bottom: 1rem;
	padding: .8rem 1rem;
	font-size: .85rem;
	color: #1b1200;
	background: var(--c-orange);
	border-radius: 8px;
}

/* Output của Contact Form 7 (class do plugin sinh ra, scope trong block .contact-form) */
.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form .wpcf7-not-valid { border-color: #f87171; }
.contact-form .wpcf7-not-valid-tip { display: block; margin-top: .35rem; font-size: .78rem; color: #fca5a5; }
.contact-form .wpcf7-spinner { display: none; }
.contact-form .wpcf7-form.submitting .contact-form__submit { opacity: .7; pointer-events: none; }
.contact-form .wpcf7-response-output {
	margin: .25rem 0 0;
	padding: .8rem 1rem;
	font-size: .86rem;
	border: 1px solid var(--c-border);
	border-radius: 8px;
}
.contact-form .wpcf7-form.init .wpcf7-response-output,
.contact-form .wpcf7-form.resetting .wpcf7-response-output,
.contact-form .wpcf7-form.submitting .wpcf7-response-output { display: none; }
.contact-form .wpcf7-form.sent .wpcf7-response-output { color: #bbf7d0; border-color: #16a34a; background: rgba(22, 163, 74, .12); }
.contact-form .wpcf7-form.invalid .wpcf7-response-output,
.contact-form .wpcf7-form.unaccepted .wpcf7-response-output,
.contact-form .wpcf7-form.failed .wpcf7-response-output,
.contact-form .wpcf7-form.spam .wpcf7-response-output { color: #fde68a; border-color: var(--c-orange); background: rgba(250, 166, 26, .1); }
.contact-form .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.contact-form__consent { font-size: .82rem; line-height: 1.55; color: var(--c-text-muted); }
.contact-form__consent a { color: var(--c-teal-lt); }
.contact-form .wpcf7-list-item { margin: 0; }
.contact-form .wpcf7-list-item label { display: flex; align-items: flex-start; gap: .6rem; cursor: pointer; }
.contact-form .wpcf7-list-item input[type="checkbox"] { flex-shrink: 0; width: 18px; height: 18px; margin-top: .1rem; accent-color: var(--c-teal); }
.contact-form .wpcf7-form .contact-form__submit:disabled { opacity: .55; cursor: not-allowed; }

/* 16. Page hero / breadcrumbs (block: page-hero, breadcrumbs)
   ========================================================================== */
.page-hero {
	position: relative;
	padding-block: calc(var(--header-h) + 4rem) 3.5rem;
	overflow: hidden;
	border-bottom: 1px solid var(--c-border);
}
.page-hero__bg {
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse 50% 80% at 80% 0%, rgba(0, 168, 165, .16) 0%, transparent 70%),
		linear-gradient(165deg, var(--c-bg-2) 0%, var(--c-bg) 100%);
}
.page-hero__inner { position: relative; }
.page-hero__title {
	max-width: 900px;
	font-size: clamp(1.9rem, 4vw, 3rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: var(--c-heading);
}
.page-hero__desc { max-width: 680px; margin-top: 1rem; color: var(--c-text-muted); }
.page-hero .post-meta { margin-top: 1rem; }

.breadcrumbs { margin-bottom: 1.2rem; font-size: .82rem; }
/* Markup do IZI SEO sinh ra: nav.izi-seo-breadcrumbs > a, span, span.sep */
.breadcrumbs a { color: var(--c-teal-lt); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { color: var(--c-text-muted); }
.breadcrumbs .sep { margin-inline: .35rem; opacity: .5; }

/* 17. Post list (block: post-grid, post-card, post-meta, pagination)
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--c-bg-2);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	transition: transform .3s, border-color .3s, box-shadow .3s;
}
.post-card:hover { transform: translateY(-5px); border-color: var(--c-border-strong); box-shadow: var(--shadow-lg); }
.post-card__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-bg-3); }
.post-card__img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; opacity: .35; }
.post-card__placeholder-logo { width: 90px; }
.post-card__body { display: flex; flex-direction: column; gap: .6rem; padding: 1.4rem; }
.post-card__title { font-size: 1.08rem; font-weight: 700; line-height: 1.4; }
.post-card__link { color: var(--c-heading); text-decoration: none; }
.post-card__link:hover { color: var(--c-teal-lt); }
.post-card__excerpt { font-size: .86rem; color: var(--c-text-muted); }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .78rem; color: var(--c-text-muted); }
.post-meta a { color: var(--c-teal-lt); text-decoration: none; }
.post-meta__sep { opacity: .5; }

/* the_posts_pagination(): markup core WordPress */
.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px; height: 42px;
	padding-inline: .8rem;
	color: var(--c-text);
	text-decoration: none;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { color: #fff; background: var(--c-teal); border-color: var(--c-teal); }

/* 18. Entry content (block: entry) — nội dung soạn trong editor
   ========================================================================== */
.entry__thumb { margin-bottom: 2rem; overflow: hidden; border-radius: var(--radius-lg); }
.entry__img { width: 100%; }

.entry__content { font-size: 1.02rem; line-height: 1.8; }
.entry__content > * + * { margin-top: 1.2em; }
.entry__content h2,
.entry__content h3,
.entry__content h4 { margin-top: 2em; line-height: 1.3; color: var(--c-heading); }
.entry__content h2 { font-size: 1.6rem; }
.entry__content h3 { font-size: 1.3rem; }
.entry__content a { color: var(--c-teal-lt); }
.entry__content ul,
.entry__content ol { padding-left: 1.4em; }
.entry__content ul[class], .entry__content ul:not([class]) { list-style: disc; }
.entry__content ol[class], .entry__content ol:not([class]) { list-style: decimal; }
.entry__content li::marker { color: var(--c-teal-lt); }
.entry__content li + li { margin-top: .4em; }
.entry__content blockquote { padding: 1rem 1.4rem; border-left: 3px solid var(--c-orange); background: var(--c-bg-2); border-radius: 0 var(--radius) var(--radius) 0; }
.entry__content img { border-radius: var(--radius); }
.entry__content figcaption { margin-top: .5rem; font-size: .82rem; text-align: center; opacity: .65; }
.entry__content table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.entry__content th,
.entry__content td { padding: .6rem .8rem; border: 1px solid var(--c-border); text-align: left; }
.entry__content th { color: var(--c-heading); background: var(--c-bg-2); }
.entry__content code { padding: .1em .35em; font-size: .9em; background: var(--c-bg-3); border-radius: 4px; }
.entry__content pre { padding: 1rem; overflow-x: auto; background: var(--c-bg-2); border: 1px solid var(--c-border); border-radius: var(--radius); }
.entry__content pre code { padding: 0; background: none; }
.entry__content .alignwide { margin-inline: -4rem; }
.entry__content .aligncenter { margin-inline: auto; }

.entry__footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--c-border); }
.entry__tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.entry__tags a { padding: .25rem .75rem; font-size: .78rem; color: var(--c-text); text-decoration: none; border: 1px solid var(--c-border); border-radius: 100px; }
.entry__tags a:hover { color: #fff; border-color: var(--c-teal); }

/* the_post_navigation(): markup core */
.post-nav { margin-top: 3rem; }
.post-nav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.post-nav a { display: block; height: 100%; padding: 1.1rem 1.3rem; text-decoration: none; background: var(--c-bg-2); border: 1px solid var(--c-border); border-radius: var(--radius); }
.post-nav a:hover { border-color: var(--c-teal); }
.post-nav .nav-next { text-align: right; }
.post-nav__label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; opacity: .55; color: var(--c-text); }
.post-nav__title { display: block; margin-top: .25rem; font-weight: 600; color: var(--c-heading); }

/* 18b. Nội dung editor: tiện ích nhỏ */
.entry__content .is-lead { font-size: 1.12rem; color: var(--c-heading); }
.entry__content .has-small-font-size { font-size: .86rem; color: var(--c-text-muted); }
.entry__content .wp-block-table { overflow-x: auto; }
.entry__content .wp-block-table th { width: 32%; }
.entry__content .entry__map iframe { display: block; width: 100%; }
.entry__content .contact-form { margin-top: 1.2em; }

/* Hộp CTA cuối bài (block: post-cta) */
.post-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.2rem;
	margin-top: 3rem;
	padding: 1.6rem 1.8rem;
	background: linear-gradient(118deg, rgba(0, 122, 111, .35), rgba(0, 168, 165, .15));
	border: 1px solid var(--c-border-strong);
	border-radius: var(--radius-lg);
}
.post-cta__text { flex: 1 1 320px; }
.post-cta__title { margin-bottom: .3rem; font-size: 1.15rem; font-weight: 700; color: var(--c-heading); }
.post-cta__sub { font-size: .9rem; color: var(--c-text-muted); }

/* Bộ lọc chuyên mục / lĩnh vực (block: filter-nav) */
.filter-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.filter-nav__link {
	padding: .45rem 1rem;
	font-size: .84rem;
	font-weight: 500;
	color: var(--c-text);
	text-decoration: none;
	border: 1px solid var(--c-border);
	border-radius: 100px;
	transition: color .2s, background-color .2s, border-color .2s;
}
.filter-nav__link:hover { color: var(--c-heading); border-color: var(--c-teal); }
.filter-nav__link.is-current { color: #fff; background: var(--c-teal); border-color: var(--c-teal); }

/* Case study: danh sách (block: case-grid, case-card) */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.case-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--c-bg-2);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	transition: transform .3s, border-color .3s, box-shadow .3s;
}
.case-card:hover { transform: translateY(-5px); border-color: var(--c-border-strong); box-shadow: var(--shadow-lg); }
.case-card__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--c-bg-3), rgba(0, 168, 165, .2)); }
.case-card__img { width: 100%; height: 100%; object-fit: cover; }
.case-card__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; opacity: .4; }
.case-card__placeholder-logo { width: 90px; }
.case-card__body { display: flex; flex: 1; flex-direction: column; gap: .6rem; padding: 1.4rem; }
.case-card__tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-orange); }
.case-card__title { font-size: 1.1rem; font-weight: 700; line-height: 1.4; }
.case-card__link { color: var(--c-heading); text-decoration: none; }
.case-card__link:hover { color: var(--c-teal-lt); }
.case-card__excerpt { font-size: .87rem; color: var(--c-text-muted); }
.case-card__services { margin-top: auto; padding-top: .8rem; font-size: .78rem; color: var(--c-teal-lt); border-top: 1px solid var(--c-border); }

/* Case study: chi tiết (block: case-single, case-summary) */
.case-single { display: grid; grid-template-columns: 320px 1fr; align-items: start; gap: 3rem; }
.case-single__entry { min-width: 0; }
.case-summary {
	position: sticky;
	top: calc(var(--header-h) + 1.5rem);
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	padding: 1.6rem;
	background: var(--c-bg-2);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
}
.admin-bar .case-summary { top: calc(var(--header-h) + 1.5rem + 32px); }
.case-summary__facts { display: flex; flex-direction: column; gap: .9rem; }
.case-summary__label { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .55; }
.case-summary__value { font-size: .92rem; font-weight: 600; color: var(--c-heading); }
.case-summary__heading { padding-top: 1rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-orange); border-top: 1px solid var(--c-border); }
.case-summary__results { display: flex; flex-direction: column; gap: .6rem; }
.case-summary__result { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; }
.case-summary__check { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 20px; height: 20px; margin-top: .15rem; color: var(--c-teal); border: 1px solid var(--c-teal); border-radius: 50%; }
.case-summary__check-icon { width: 11px; height: 11px; stroke-width: 3; }

/* 19. Comments (block: comments, comment) & bài liên quan (block: related)
   ========================================================================== */
.related { margin-top: 3.5rem; }
.related__title { margin-bottom: 1.4rem; font-size: 1.25rem; color: var(--c-heading); }
.post-grid--related { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.post-grid--related .post-card__body { padding: 1.1rem; gap: .5rem; }
.post-grid--related .post-card__title { font-size: 1rem; }
.post-grid--related .post-card__excerpt { display: none; }

.services-nav { margin-top: 3rem; }
.services-nav__title { margin-bottom: 1rem; font-size: 1.05rem; color: var(--c-heading); }
.services-nav .filter-nav { margin-bottom: 0; }

.comments { margin-top: 3.5rem; }
.comments__title { margin-bottom: 1.2rem; font-size: 1.25rem; color: var(--c-heading); }
.comments__list { margin-bottom: 2.5rem; list-style: none; }
.comments__list .children { margin-top: 1rem; padding-left: 2.2rem; list-style: none; }
.comment + .comment { margin-top: 1rem; }
.comment__box {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 1rem;
	padding: 1.2rem;
	background: var(--c-bg-2);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
}
.comment__box--plain { grid-template-columns: minmax(0, 1fr); }
.comment__img { width: 44px; height: 44px; border-radius: 50%; }
.comment__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; margin-bottom: .5rem; }
.comment__author { font-weight: 700; color: var(--c-heading); }
.comment__date { font-size: .78rem; color: var(--c-text-muted); }
.comment__pending { padding: .1rem .5rem; font-size: .72rem; color: var(--c-orange); border: 1px solid var(--c-orange); border-radius: 100px; }
.comment__content { font-size: .93rem; }
.comment__content p + p { margin-top: .7em; }
.comment__foot { display: flex; gap: 1rem; margin-top: .7rem; font-size: .8rem; }
.comment__foot a { color: var(--c-teal-lt); text-decoration: none; }
.comment__foot a:hover { text-decoration: underline; }
.comments__nav { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; font-size: .85rem; }
.comments__closed { margin-bottom: 1.5rem; font-size: .88rem; color: var(--c-text-muted); }

.comments__respond {
	padding: 1.6rem;
	background: var(--c-bg-2);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
}
.comments__respond .comments__title { margin-bottom: 1.2rem; }
.comments__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.comments__field { margin: 0; }
.comments__field--full,
.comments__form .form-submit,
.comments__form .comment-form-cookies-consent { grid-column: 1 / -1; }
.comments__label { display: block; margin-bottom: .35rem; font-size: .82rem; font-weight: 500; }
.comments__required { color: var(--c-orange); }
.comments__hint { display: block; margin-top: .35rem; font-size: .75rem; color: var(--c-text-muted); }
.comments__input {
	width: 100%;
	padding: .75rem 1rem;
	font: inherit;
	color: var(--c-text);
	background: var(--c-bg-3);
	border: 1px solid var(--c-border);
	border-radius: 8px;
	transition: border-color .2s, box-shadow .2s;
}
.comments__input:focus { outline: none; border-color: var(--c-teal); box-shadow: 0 0 0 3px rgba(0, 200, 196, .15); }
.comments__input--textarea { min-height: 130px; resize: vertical; }
.comments__form .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .82rem; color: var(--c-text-muted); }
.comments__form .comment-form-cookies-consent input { width: 17px; height: 17px; margin-top: .15rem; accent-color: var(--c-teal); }
.comments__form .comment-form-cookies-consent label { margin: 0; }
.comments__form .form-submit { margin: 0; }
.comments__form .comment-reply-title small { margin-left: .6rem; font-size: .8rem; font-weight: 400; }
.comments__form .logged-in-as { grid-column: 1 / -1; font-size: .85rem; color: var(--c-text-muted); }

/* 20. Search form (block: search-form)
   ========================================================================== */
.search-form { display: flex; max-width: 420px; margin-inline: auto; overflow: hidden; background: var(--c-bg-2); border: 1px solid var(--c-border); border-radius: var(--radius); }
.search-form__input { flex: 1; min-width: 0; padding: .75rem 1rem; background: transparent; border: 0; outline: none; color: var(--c-heading); }
.search-form__submit { display: flex; align-items: center; justify-content: center; width: 48px; background: var(--c-teal); border: 0; color: #fff; cursor: pointer; }
.search-form__icon { width: 18px; height: 18px; }

/* 21. Empty state & 404
   ========================================================================== */
.empty-state { padding: 3rem 0; text-align: center; }
.empty-state__text { margin-bottom: 1.5rem; }

.error-404 { display: flex; align-items: center; min-height: 80vh; padding-block: calc(var(--header-h) + 3rem) 4rem; text-align: center; }
.error-404__inner { max-width: 640px; }
.error-404__code {
	font-size: clamp(5rem, 16vw, 9rem);
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(135deg, var(--c-teal), var(--c-orange));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.error-404__title { margin: 1rem 0 .75rem; font-size: 1.8rem; color: var(--c-heading); }
.error-404__text { margin-bottom: 2rem; color: var(--c-text-muted); }
.error-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 2.5rem; }

/* 22. Footer (block: site-footer, footer-nav, legal-nav, social-link)
   ========================================================================== */
.site-footer { padding-block: 4rem 2rem; background: var(--c-bg-2); border-top: 1px solid var(--c-border); }

.site-footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }

.site-footer__logo { display: inline-block; }
.site-footer__logo-img { width: 112px; }
.site-footer__tagline { margin-top: 1rem; font-weight: 600; color: var(--c-heading); }
.site-footer__company { max-width: 300px; margin-top: .5rem; font-size: .84rem; line-height: 1.65; opacity: .6; }
.site-footer__socials { display: flex; gap: .7rem; margin-top: 1.4rem; }
.site-footer__heading { margin-bottom: 1.2rem; font-size: .9rem; font-weight: 700; color: var(--c-heading); }

.footer-nav__list { display: flex; flex-direction: column; gap: .6rem; }
.footer-nav__link { font-size: .84rem; color: var(--c-text); text-decoration: none; opacity: .65; transition: opacity .2s, color .2s; }
.footer-nav__link:hover { color: var(--c-teal); opacity: 1; }

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--c-border);
}
.site-footer__copy { font-size: .78rem; opacity: .5; }

.legal-nav__list { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.legal-nav__link { font-size: .78rem; color: inherit; text-decoration: none; opacity: .5; transition: opacity .2s; }
.legal-nav__link:hover { opacity: .9; }

.social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 38px; height: 38px;
	color: var(--c-text);
	text-decoration: none;
	border: 1px solid var(--c-border);
	border-radius: 8px;
	transition: color .2s, border-color .2s, background-color .2s;
}
.social-link:hover { color: var(--c-teal); background: rgba(0, 168, 165, .08); border-color: var(--c-teal); }
.social-link__icon { width: 17px; height: 17px; }
.social-link--text { padding-inline: .7rem; font-size: .75rem; font-weight: 700; }

/* 23. Floating chat & back-to-top
   ========================================================================== */
.floating-chat {
	position: fixed;
	right: 2rem; bottom: 5.5rem;
	z-index: 900;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: .75rem;
}

.floating-chat__btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px; height: 52px;
	color: #fff;
	text-decoration: none;
	border-radius: 50%;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
	transition: transform .25s, box-shadow .25s;
}
.floating-chat__btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(0, 0, 0, .4); }
.floating-chat__btn--messenger { background: linear-gradient(135deg, #0099ff 0%, #a033ff 60%, #ff5c87 100%); }
.floating-chat__btn--zalo { background: #0068ff; }
.floating-chat__btn--zalo::after {
	content: "";
	position: absolute;
	inset: -5px;
	border: 2px solid #0068ff;
	border-radius: 50%;
	animation: vif-ring 2.5s ease-out infinite;
}
.floating-chat__icon { width: 28px; height: 28px; }
.floating-chat__label { font-size: .8rem; font-weight: 800; letter-spacing: -.01em; }

.floating-chat__tooltip {
	position: absolute;
	top: 50%;
	right: calc(100% + .75rem);
	padding: .3rem .8rem;
	font-size: .75rem;
	font-weight: 600;
	white-space: nowrap;
	color: var(--c-heading);
	background: var(--c-bg);
	border: 1px solid var(--c-border);
	border-radius: 6px;
	opacity: 0;
	transform: translate(8px, -50%);
	pointer-events: none;
	transition: opacity .2s, transform .2s;
}
.floating-chat__btn:hover .floating-chat__tooltip,
.floating-chat__btn:focus-visible .floating-chat__tooltip { opacity: 1; transform: translate(0, -50%); }

.back-to-top {
	position: fixed;
	right: 2rem; bottom: 2rem;
	z-index: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px; height: 46px;
	color: #fff;
	background: var(--c-teal);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 4px 18px rgba(0, 168, 165, .45);
	cursor: pointer;
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
	transition: opacity .3s, transform .3s, background-color .2s;
}
.back-to-top--visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--c-teal-lt); }
.back-to-top__icon { width: 20px; height: 20px; stroke-width: 2.5; }

/* 24. Blog 2 cột: bố cục, danh sách bài, sidebar
   (block: blog-layout, post-list, post-item, blog-side, widget, cat-list, mini-post)
   ========================================================================== */
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
.blog-layout__main { min-width: 0; }

.post-list { display: flex; flex-direction: column; gap: 1.6rem; }
.post-item {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 1.5rem;
	padding: 1.2rem;
	background: var(--c-bg-2);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
	transition: border-color .3s, box-shadow .3s, transform .3s;
}
.post-item:hover { transform: translateY(-3px); border-color: var(--c-border-strong); box-shadow: var(--shadow-lg); }
.post-item__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: linear-gradient(135deg, var(--c-bg-3), rgba(0, 168, 165, .2)); }
.post-item__img { width: 100%; height: 100%; object-fit: cover; }
.post-item__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; opacity: .4; }
.post-item__placeholder-logo { width: 88px; }
.post-item__body { display: flex; flex-direction: column; gap: .55rem; padding: .3rem 0; }
.post-item__title { font-size: 1.15rem; font-weight: 700; line-height: 1.4; }
.post-item__link { color: var(--c-heading); text-decoration: none; }
.post-item__link:hover { color: var(--c-teal-lt); }
.post-item__excerpt { font-size: .9rem; color: var(--c-text-muted); }
.post-item__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; font-size: .85rem; font-weight: 600; color: var(--c-teal-lt); text-decoration: none; }
.post-item__more:hover { gap: .65rem; }
.post-item__arrow { width: 15px; height: 15px; transition: transform .2s; }

.blog-side { position: sticky; top: calc(var(--header-h) + 1.5rem); display: flex; flex-direction: column; gap: 1.6rem; }
.admin-bar .blog-side { top: calc(var(--header-h) + 1.5rem + 32px); }
.widget {
	padding: 1.4rem;
	background: var(--c-bg-2);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
}
.widget + .widget { margin-top: 0; }
.widget__title { margin-bottom: 1rem; padding-bottom: .7rem; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-orange); border-bottom: 1px solid var(--c-border); }
.widget__text { margin-bottom: 1rem; font-size: .88rem; color: var(--c-text-muted); }
.widget--cta { background: linear-gradient(140deg, rgba(0, 122, 111, .35), rgba(0, 168, 165, .12)); border-color: var(--c-border-strong); }

.cat-list { display: flex; flex-direction: column; }
.cat-list__item + .cat-list__item { border-top: 1px solid var(--c-border); }
.cat-list__link { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .6rem 0; font-size: .9rem; color: var(--c-text); text-decoration: none; transition: color .2s; }
.cat-list__link:hover,
.cat-list__link.is-current { color: var(--c-teal-lt); }
.cat-list__count { flex-shrink: 0; min-width: 26px; padding: .1rem .45rem; font-size: .75rem; text-align: center; color: var(--c-text-muted); background: var(--c-bg-3); border-radius: 100px; }

.mini-list { display: flex; flex-direction: column; gap: 1rem; }
.mini-post { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: .8rem; align-items: start; }
.mini-post__thumb { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); background: linear-gradient(135deg, var(--c-bg-3), rgba(0, 168, 165, .2)); }
.mini-post__img { width: 100%; height: 100%; object-fit: cover; }
.mini-post__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; opacity: .4; }
.mini-post__placeholder-logo { width: 40px; }
.mini-post__title { font-size: .88rem; font-weight: 600; line-height: 1.45; }
.mini-post__link { color: var(--c-heading); text-decoration: none; }
.mini-post__link:hover { color: var(--c-teal-lt); }
.mini-post__meta { margin-top: .3rem; font-size: .75rem; color: var(--c-text-muted); }
.mini-post__sep { margin: 0 .3rem; }

/* 24b. FAQ trong bài viết (shortcode [izi_seo_faq] của IZI SEO)
   ========================================================================== */
.entry__content .izi-seo-faq { display: flex; flex-direction: column; gap: .8rem; margin: 1.8rem 0; }
.entry__content .izi-seo-faq br { display: none; }
.izi-seo-faq__item { padding: 1.2rem 1.4rem; background: var(--c-bg-2); border: 1px solid var(--c-border); border-left: 3px solid var(--c-teal-lt); border-radius: var(--radius); }
.entry__content .izi-seo-faq__question { margin: 0 0 .5rem; font-size: 1.02rem; font-weight: 600; line-height: 1.45; color: var(--c-heading); }
.izi-seo-faq__answer { font-size: .95rem; color: var(--c-text-muted); }
.izi-seo-faq__answer p:last-child { margin-bottom: 0; }

/* 25. Keyframes
   ========================================================================== */
@keyframes vif-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(0, 200, 196, .55); }
	50% { box-shadow: 0 0 0 6px rgba(0, 200, 196, 0); }
}
@keyframes vif-float {
	0%, 100% { transform: translateX(-50%) rotate(var(--rot)) translateY(0); }
	50% { transform: translateX(-50%) rotate(var(--rot)) translateY(-9px); }
}
@keyframes vif-ring {
	0% { opacity: .7; transform: scale(1); }
	70%, 100% { opacity: 0; transform: scale(1.45); }
}

/* 26. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.main-nav__list { gap: 1.2rem; }
}

@media (max-width: 1024px) {
	:root { --section-y: 5.5rem; }
	.blog-layout { grid-template-columns: 1fr; gap: 2.5rem; }
	.blog-side { position: static; }
	.services__grid,
	.post-grid,
	.post-grid--related,
	.case-grid { grid-template-columns: repeat(2, 1fr); }
	.case-single { grid-template-columns: 1fr; }
	.case-summary { position: static; }
	.why__stats { grid-template-columns: repeat(2, 1fr); }
	.why__features { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }

	/* Mobile nav */
	.site-header__toggle { display: inline-flex; }
	.site-header__cta { display: none; }

	.main-nav {
		position: fixed;
		inset: var(--header-h) 0 auto;
		max-height: calc(100vh - var(--header-h));
		padding: 1.25rem var(--gutter) 1.75rem;
		overflow-y: auto;
		background: var(--c-bg);
		border-bottom: 1px solid var(--c-border);
		box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: opacity .25s, transform .25s, visibility .25s;
	}
	.admin-bar .main-nav { top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 46px)); }
	.main-nav--open { opacity: 1; visibility: visible; transform: none; }

	.main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav__link { display: block; padding: .9rem 0; font-size: 1rem; border-bottom: 1px solid var(--c-border); }
	.main-nav__link::after { display: none; }
	.main-nav__sub { position: static; min-width: 0; padding: 0 0 0 1rem; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.main-nav__cta { display: flex; margin-top: 1.25rem; }
}

@media (max-width: 768px) {
	:root { --gutter: 1.25rem; --section-y: 4.5rem; --header-h: 72px; }
	.site-header { padding-block: .75rem; }
	.site-header__logo-img { width: 66px; }

	.hero { min-height: auto; padding-block: 7rem 4rem; }
	.hero__inner,
	.about__grid,
	.contact__grid { grid-template-columns: 1fr; gap: 3rem; }
	.hero__visual { display: none; }
	.hero__title { font-size: clamp(2rem, 9vw, 2.6rem); }
	.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
	.hero-stat__num { font-size: 1.6rem; }

	.services__grid,
	.why__features,
	.post-grid,
	.post-grid--related,
	.case-grid { grid-template-columns: 1fr; }
	.post-cta { padding: 1.3rem; }
	.post-item { grid-template-columns: 1fr; gap: 1rem; }
	.comments__form { grid-template-columns: 1fr; }
	.comments__list .children { padding-left: 1rem; }
	.post-item__thumb { aspect-ratio: 16 / 9; }
	.service-card--wide { grid-column: auto; }
	.service-card__link { opacity: 1; transform: none; }

	.about__visual { order: 2; }
	.why__stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
	.stat-card { padding: 1.3rem 1rem; }
	.stat-card__num { font-size: 2.1rem; }

	.process__steps { grid-template-columns: 1fr; gap: 2rem; }
	.process__steps::before { display: none; }

	.cta-banner__inner { grid-template-columns: 1fr; padding: 2.5rem 1.5rem; }
	.contact-form { padding: 1.4rem; }
	.contact-form__row { grid-template-columns: 1fr; }

	.site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
	.post-nav .nav-links { grid-template-columns: 1fr; }
	.entry__content .alignwide { margin-inline: 0; }

	.floating-chat { right: 1.25rem; bottom: 5rem; }
	.back-to-top { right: 1.25rem; bottom: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.has-js .js-reveal { opacity: 1; transform: none; }
}
