/* ====================================================
	 TAMPINMATTROI.VN — INDUSTRIAL FUTURISM DESIGN SYSTEM
	 Palette: Ivory · White · Deep Black · Gray · Orange Accent
	 Inspired by: ON.energy
	 ==================================================== */

/* ── Geist Pixel Custom Web Font ── */
@font-face {
	font-family: 'Geist Pixel';
	src: url('https://unpkg.com/geist@1.7.2/dist/fonts/geist-pixel/GeistPixel-Square.woff2') format('woff2');
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

/* ── CSS Variables ── */
:root {
	/* Color Palette */
	--ivory: #F7F7F3;
	--white: #FFFFFF;
	--black: #101010;
	--black-soft: #2A2A2A;
	--gray-content: #606060;
	--gray-light: #F7F7F3;
	--gray-border: #D8D8D3;
	--gray-mid: #606060;
	--gray-dark: #2A2A2A;

	/* Accent — use sparingly (5–10%) */
	--orange: #F97316;
	--orange-dark: #C2540A;
	--orange-light: #FFF3E8;
	--orange-glow: rgba(249, 115, 22, 0.12);

	/* Typography */
	--font-body: 'Inter', sans-serif;
	--font-head: 'Plus Jakarta Sans', sans-serif;
	--font-h1h2: 'Archivo', sans-serif;
	--font-pixel: 'Geist Pixel', 'Press Start 2P', monospace;

	/* Radius — industrial, minimal */
	--radius-sm: 2px;
	--radius-md: 4px;
	--radius-lg: 6px;
	--radius-xl: 8px;

	/* Shadows — subtle */
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
	--shadow-md: 0 4px 16px rgba(0, 0, 0, .08);
	--shadow-lg: 0 12px 40px rgba(0, 0, 0, .10);

	/* Transitions */
	--transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: var(--font-body);
	background: var(--white);
	color: var(--black);
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style: none;
}

button {
	font-family: var(--font-body);
	cursor: pointer;
	border: none;
	outline: none;
	background: none;
}

/* ── Layout ── */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.section-pad {
	padding: 140px 0;
}

.section-pad-sm {
	padding: 96px 0;
}

/* ── Typography System ── */
h1,
h2 {
	font-family: var(--font-h1h2);
}

.section-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--gray-content);
	margin-bottom: 24px;
}

.section-title {
	font-family: var(--font-h1h2);
	font-size: clamp(36px, 4.5vw, 60px);
	font-weight: 800;
	line-height: 1.35;
	color: var(--black);
	letter-spacing: -1.5px;
}

.section-title .accent {
	color: var(--orange);
}

.section-sub {
	font-size: 18px;
	color: var(--gray-content);
	line-height: 1.6;
	max-width: 560px;
	margin-top: 20px;
	font-weight: 400;
}

.text-center {
	text-align: center;
}

.text-center .section-sub {
	margin-left: auto;
	margin-right: auto;
}

.text-center .section-label {
	text-align: center;
	/* Optical center: letter-spacing adds trailing space */
	padding-left: 0.25em;
}

/* ── Button System ── */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: var(--radius-md);
	font-size: 15px;
	font-weight: 600;
	transition: var(--transition);
	white-space: nowrap;
	letter-spacing: 0.01em;
	border: 1.5px solid transparent;
}

.btn svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* Primary — Orange (CTA chính, hero, bottom CTA) */
.btn-primary {
	background: var(--orange);
	color: var(--white);
	border-color: var(--orange);
}

.btn-primary:hover {
	background: var(--orange-dark);
	border-color: var(--orange-dark);
}

/* Outline — dành cho secondary */
.btn-outline {
	background: transparent;
	color: var(--black);
	border-color: var(--black);
}

.btn-outline:hover {
	background: var(--black);
	color: var(--white);
}

/* Outline White — trên nền tối */
.btn-outline-white {
	background: transparent;
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
	background: var(--white);
	color: var(--black);
	border-color: var(--white);
}

/* White — trên nền tối, cho partner */
.btn-white {
	background: var(--white);
	color: var(--black);
	border-color: var(--gray-border);
}

.btn-white:hover {
	background: var(--ivory);
	border-color: var(--black);
}

/* Sizes */
.btn-lg {
	padding: 16px 36px;
	font-size: 16px;
}

.btn-sm {
	padding: 10px 20px;
	font-size: 13px;
}

/* ── Tags / Badges ── */
.badge {
	display: inline-block;
	padding: 3px 8px;
	border-radius: var(--radius-sm);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
}

.badge-orange {
	background: var(--orange-light);
	color: var(--orange-dark);
}

.badge-black {
	background: var(--black);
	color: var(--white);
}

.badge-green {
	background: #ECFDF5;
	color: #059669;
}



/* ====================================================
	 2. HEADER & NAVIGATION
	 ==================================================== */
/* ====================================================
	 2. HEADER & NAVIGATION (Neon Style & Restored Logo)
	 ==================================================== */
.skip-link {
	position: absolute;
	left: 12px;
	top: -80px;
	z-index: 10001;
	background: var(--black);
	color: var(--white);
	padding: 8px 14px;
	border-radius: 6px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}

.skip-link:focus {
	top: 12px;
}

#header {
	position: sticky;
	top: 0;
	z-index: 9999;
	height: 72px;
	padding: 16px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	border-bottom: none;
	background: transparent;
	transition: background-color 0.3s ease, border-bottom 0.3s ease, box-shadow 0.3s ease;
}

#header.scrolled {
	background: rgba(26, 26, 26, 0.96);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(8px);
}

.header-inner {
	display: flex;
	align-items: center;
	width: 100%;
	height: 40px;
	gap: 6px;
}

/* Logo dạng khối hộp xám đồng bộ với menu */
.logo-block-orange {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 40px;
	background: #353535;
	border-radius: 8px;
	padding-left: 20px;
	padding-right: 18px;
	text-decoration: none;
	flex-shrink: 0;
	color: #E6E6E6;
	transition: background-color 200ms ease, color 200ms ease;
	margin-right: 6px;
	/* Khoảng cách với menu đầu tiên là 6px */
	box-sizing: border-box;
}

.logo-block-orange:hover {
	background: #454545;
	color: #FFFFFF;
}

.logo-block-orange.has-logo-img {
	padding-left: 12px;
	padding-right: 14px;
}

.logo-block-orange .header-logo-img,
.logo-block-orange #header-logo-img {
	max-height: 28px;
	max-width: 160px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	background: transparent;
	flex-shrink: 0;
}

.logo-block-orange .logo-icon {
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
}

.logo-block-orange .logo-icon svg {
	width: 20px;
	height: 20px;
	color: #E6E6E6;
}

.logo-block-orange:hover .logo-icon svg {
	color: #FFFFFF;
}

.logo-block-orange .logo-text {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.1;
	letter-spacing: -0.3px;
	color: #E6E6E6;
}

.logo-block-orange .logo-text span {
	color: #E6E6E6;
	font-weight: 400;
}

.logo-block-orange:hover .logo-text,
.logo-block-orange:hover .logo-text span {
	color: #FFFFFF;
}

/* Desktop Navigation */
.nav-desktop-neon {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-grow: 1;
}

.nav-item-block {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 40px;
	background: #353535;
	border-radius: 8px;
	color: #E6E6E6;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 400;
	text-decoration: none;
	padding-left: 20px;
	padding-right: 18px;
	box-sizing: border-box;
	transition: background-color 200ms ease, color 200ms ease;
	min-width: 0;
	cursor: pointer;
	position: relative;
}

.nav-desktop-neon .nav-item-block {
	flex: 1 1 0px;
}

.nav-item-block>a.nav-item-text {
	color: inherit;
	text-decoration: none;
	min-width: 0;
}

.nav-item-block.no-dropdown {
	justify-content: flex-start;
	padding-right: 20px;
}

.nav-item-text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Dropdown Arrow */
.dropdown-icon {
	width: 12px;
	height: 12px;
	color: #B3B3B3;
	flex-shrink: 0;
	margin-left: 10px;
	transition: transform 200ms ease, color 200ms ease;
}

/* Hover States */
.nav-item-block:hover {
	background: #454545;
	color: #FFFFFF;
}

.nav-item-block:hover .dropdown-icon {
	transform: rotate(90deg);
	color: #FFFFFF;
}

/* Dropdown Menu Styles
   padding-top is an invisible hover bridge so the cursor can travel
   from the trigger into the panel without leaving :hover (the old
   margin-top: 4px created a dead zone that hid the menu instantly). */
.nav-dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	display: flex;
	flex-direction: column;
	z-index: 10000;
	padding-top: 12px;
	margin-top: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	overflow: visible;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.12s ease, visibility 0.12s ease;
}

.nav-dropdown-menu::before {
	content: '';
	position: absolute;
	top: 12px;
	left: 0;
	right: 0;
	bottom: 0;
	background: #2b2b2b;
	border: 1px solid #444444;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	z-index: 0;
	pointer-events: none;
}

.nav-item-block:hover .nav-dropdown-menu {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transition-delay: 0s;
}

.nav-item-block:not(:hover) .nav-dropdown-menu {
	transition-delay: 180ms;
}

.nav-dropdown-item {
	position: relative;
	z-index: 1;
	padding: 10px 16px;
	color: #E6E6E6;
	text-decoration: none;
	font-size: 14px;
	transition: background 200ms ease, color 200ms ease;
	border-bottom: 1px solid #3d3d3d;
	text-align: left;
}

.nav-dropdown-item:first-child {
	border-radius: 8px 8px 0 0;
}

.nav-dropdown-item:last-child {
	border-bottom: none;
	border-radius: 0 0 8px 8px;
}

.nav-dropdown-item:hover {
	background: var(--orange, #F97316);
	color: #FFFFFF;
}

/* CTA Touch Button */
.btn-cta-neon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 155px;
	height: 40px;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 700;
	border-radius: 8px;
	text-decoration: none;
	flex-shrink: 0;
	transition: all 200ms ease;
}

/* Neon Green #CCFF66 CTA override - Nền xanh neon #CCFF66, Chữ đen tuyền, Viền đen 2px */
.btn-calc-orange,
.btn-cta-ccff66 {
	background: #CCFF66 !important;
	color: #000000 !important;
	border: 2px solid #000000 !important;
	font-weight: 700 !important;
	box-shadow: 0 4px 12px rgba(204, 255, 102, 0.25);
}

.btn-calc-orange:hover,
.btn-cta-ccff66:hover {
	background: #b5fc33 !important;
	color: #000000 !important;
	border-color: #000000 !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(204, 255, 102, 0.4);
}

/* Nút Đối tác - Nền ĐEN, Chữ & Icon màu XANH #33FFFF, Viền đen/cyan */
.btn-partner-primary,
.btn-partner-cyan,
.btn-partner-black,
.btn-black,
.btn-33ffff {
	background: #000000 !important;
	color: #33FFFF !important;
	border: 2px solid #000000 !important;
	font-weight: 700 !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-partner-primary svg,
.btn-partner-cyan svg,
.btn-partner-black svg,
.btn-black svg,
.btn-33ffff svg {
	color: #33FFFF !important;
	stroke: #33FFFF !important;
}

.btn-partner-primary:hover,
.btn-partner-cyan:hover,
.btn-partner-black:hover,
.btn-black:hover,
.btn-33ffff:hover {
	background: #111827 !important;
	color: #33FFFF !important;
	border-color: #33FFFF !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(51, 255, 255, 0.3);
}

/* Nút Tải Hồ sơ năng lực (Màu xanh dương) */
.btn-blue-profile {
	background: #2563eb !important;
	color: #ffffff !important;
	border: 1.5px solid #1d4ed8 !important;
	font-weight: 700 !important;
	border-radius: 8px !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-blue-profile:hover {
	background: #1d4ed8 !important;
	color: #ffffff !important;
	border-color: #1e40af !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

/* Hamburger — dark pill so bars stay visible on light & dark heroes */
.hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	min-width: 44px;
	min-height: 44px;
	padding: 12px;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.78);
	border: 1px solid rgba(255, 255, 255, 0.12);
	cursor: pointer;
	z-index: 1010;
	box-sizing: border-box;
}

.hamburger span {
	display: block;
	width: 20px;
	height: 2px;
	background: #FFFFFF;
	border-radius: 1px;
	transition: transform 200ms ease, opacity 200ms ease;
}

#header.scrolled .hamburger {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.2);
}

.hamburger.open span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
	opacity: 0;
}

.hamburger.open span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

/* Lock page scroll while mobile drawer is open */
body.nav-open {
	overflow: hidden;
	touch-action: none;
}

/* Mobile Nav Drawer */
#mobile-nav {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999;
	background: rgba(16, 16, 16, 0.6);
	backdrop-filter: blur(4px);
}

#mobile-nav.open {
	display: block;
}

.mobile-nav-panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(380px, 100%);
	height: 100%;
	background: var(--white);
	padding: 80px 32px 40px;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-nav.open .mobile-nav-panel {
	transform: translateX(0);
}

.mobile-nav-links {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 40px;
}

.mobile-nav-links a {
	padding: 14px 16px;
	border-radius: var(--radius-md);
	font-size: 16px;
	font-weight: 500;
	color: var(--gray-dark);
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: var(--transition);
	border-bottom: 1px solid var(--gray-border);
}

.mobile-nav-links a:hover {
	color: var(--black);
	background: var(--ivory);
}

.mobile-nav-group {
	border-bottom: 1px solid var(--gray-border);
}

.mobile-nav-group>a {
	border-bottom: none;
}

.mobile-nav-children a {
	padding-left: 28px;
	font-size: 15px;
	font-weight: 400;
}

.mobile-nav-ctas {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mobile-nav-ctas .btn {
	width: 100%;
	justify-content: center;
}

/* Mobile action bar */
.mobile-action-bar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 900;
	background: var(--white);
	border-top: 1px solid var(--gray-border);
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}

.mobile-action-bar-inner {
	display: flex;
	gap: 8px;
}

.mobile-action-bar .btn {
	flex: 1;
	justify-content: center;
	font-size: 13px;
	padding: 11px 8px;
}

/* ====================================================
	 3. HERO BANNER
	 ==================================================== */
#hero {
	padding: 48px 0;
	background: var(--white) url('../images/hero_bg.webp') no-repeat calc(100% + 100px) center / auto 100%;
	overflow: hidden;
	position: relative;
	/* Header sticky 72px — hero fills phần còn lại của viewport */
	height: calc(100vh - 72px);
	height: calc(100dvh - 72px);
	min-height: calc(100vh - 72px);
	min-height: calc(100dvh - 72px);
	max-height: calc(100vh - 72px);
	max-height: calc(100dvh - 72px);
	box-sizing: border-box;
	display: flex;
	align-items: center;
}

#hero.hero-has-video {
	background: var(--white) url('../images/hero_bg.webp') no-repeat calc(100% + 100px) center / auto 100%;
}

.hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.hero-bg-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	/* Hide native media UI / selection chrome */
	pointer-events: none;
	-webkit-user-select: none;
	user-select: none;
}

.hero-bg-video::-webkit-media-controls,
.hero-bg-video::-webkit-media-controls-enclosure,
.hero-bg-video::-webkit-media-controls-panel,
.hero-bg-video::-webkit-media-controls-start-playback-button {
	display: none !important;
	-webkit-appearance: none;
	opacity: 0;
	pointer-events: none;
}

.hero-media::after {
	content: '';
	position: absolute;
	inset: 0;
	/* Keep left content readable over full-bleed video */
	background: linear-gradient(90deg,
			rgba(255, 255, 255, 0.97) 0%,
			rgba(255, 255, 255, 0.92) 38%,
			rgba(255, 255, 255, 0.45) 62%,
			rgba(255, 255, 255, 0.12) 78%,
			rgba(255, 255, 255, 0) 100%);
}

.hero-inner {
	display: grid;
	grid-template-columns: 55% 1fr;
	gap: 64px;
	align-items: center;
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	padding-left: 80px;
	/* Căn sát lề trái */
	padding-right: 40px;
	box-sizing: border-box;
}

.hero-content {
	position: relative;
	z-index: 2;
}

.hero-eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 28px;
}

.hero-badge {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	background: var(--ivory);
	border-radius: var(--radius-md);
	border: 1px solid var(--gray-border);
	font-size: 12px;
	font-weight: 600;
	color: var(--black);
	letter-spacing: 0.05em;
}

.hero-badge .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--orange);
	animation: pulse 2.5s infinite;
}

@keyframes pulse {

	0%,
	100% {
		opacity: 1
	}

	50% {
		opacity: .3
	}
}

.hero-h1 {
	font-family: var(--font-h1h2);
	font-size: clamp(32px, 4.2vw, 76px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -1.5px;
	color: var(--black);
	margin-bottom: 22px;
}

.hero-h1 .line-orange {
	color: var(--orange);
}

/* Hero Benefits — minimal */
.hero-benefits {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 24px;
}

.hero-benefit {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 400;
	color: var(--gray-content);
}

.hero-benefit-icon {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--orange);
	flex-shrink: 0;
	margin-top: 7px;
}

.hero-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 22px;
}

.hero-micro-ctas {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.hero-micro-link {
	font-size: 13px;
	font-weight: 500;
	color: var(--gray-content);
	display: flex;
	align-items: center;
	gap: 6px;
	transition: var(--transition);
	border-bottom: 1px solid transparent;
}

.hero-micro-link:hover {
	color: var(--black);
	border-bottom-color: var(--black);
}

.hero-micro-link svg {
	width: 14px;
	height: 14px;
}

.hero-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-badges-wrap {
	position: relative;
	width: 100%;
	height: 380px;
}

.hero-mobile-img {
	display: none;
}

/* ====================================================
	 4. TRUST / STATS — EDITORIAL
	 ==================================================== */
#trust {
	background: var(--black);
	padding: 0;
}

.trust-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
	padding: 72px 56px;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	transition: background var(--transition);
}

.trust-item:hover {
	background: rgba(255, 255, 255, 0.025);
}

.trust-number {
	font-family: var(--font-pixel);
	font-size: clamp(36px, 5.5vw, 64px);
	font-weight: 700;
	color: var(--white);
	line-height: 1;
	letter-spacing: -1.5px;
	display: block;
}

.trust-title {
	font-size: 15px;
	font-weight: 400;
	color: var(--orange);
	margin-top: 20px;
	line-height: 1.4;
	max-width: 180px;
}

.trust-desc {
	display: none;
}

/* ====================================================
	 5. AUDIENCE GATEWAY
	 ==================================================== */
#audience {
	background: var(--ivory);
}

.audience-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	margin-top: 72px;
	border-top: 1px solid var(--gray-border);
	border-left: 1px solid var(--gray-border);
}

.audience-card {
	background: var(--white);
	padding: 52px 44px;
	border-right: 1px solid var(--gray-border);
	border-bottom: 1px solid var(--gray-border);
	transition: all var(--transition);
	cursor: pointer;
	position: relative;
}

.audience-card::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--orange);
	transform: scaleX(0);
	transition: transform var(--transition);
	transform-origin: left;
}

.audience-card:hover::after {
	transform: scaleX(1);
}

.audience-card:hover {
	background: var(--ivory);
}

.audience-title {
	font-family: var(--font-pixel);
	font-size: 18px;
	font-weight: 700;
	color: var(--black);
	margin-bottom: 10px;
	letter-spacing: 0;
	margin-top: 0 !important;
	line-height: 1.35;
}

.audience-subtitle {
	font-size: 14px;
	font-weight: 500;
	color: var(--gray-content);
	margin-bottom: 24px;
}

.audience-points {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 32px;
}

.audience-point {
	font-size: 14px;
	color: var(--gray-content);
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.5;
}

.audience-point svg {
	width: 14px;
	height: 14px;
	color: var(--orange);
	flex-shrink: 0;
	margin-top: 3px;
}

/* ====================================================
	 6. SYSTEM CALCULATOR
	 ==================================================== */
#calculator {
	background-color: var(--black);
	background-image: linear-gradient(90deg, rgba(16, 16, 16, 0.92) 0%, rgba(16, 16, 16, 0.7) 60%, rgba(16, 16, 16, 0.4) 100%), var(--calc-bg-image, url('../images/calc_mascot_bg.webp'));
	background-position: right center;
	background-size: contain;
	background-repeat: no-repeat;
	position: relative;
	overflow: hidden;
	color: var(--white);
}

.calc-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 96px;
	align-items: start;
	position: relative;
	min-width: 0;
}

.calc-info,
.calc-form-box {
	min-width: 0;
	max-width: 100%;
}

.calc-info {
	padding-top: 0;
}

#calculator .section-label {
	color: rgba(255, 255, 255, 0.55);
}

#calculator .section-title {
	color: #fff;
	font-weight: 800;
}

#calculator .section-title .accent {
	color: var(--orange);
}

#calculator .section-sub {
	color: rgba(255, 255, 255, 0.7);
}

.calc-feature-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-top: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-feature {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 24px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-feature-num {
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 600;
	color: var(--orange);
	flex-shrink: 0;
	width: 24px;
	letter-spacing: 0.05em;
}

.calc-feature-text {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.65);
	line-height: 1.6;
}

.calc-feature-text strong {
	color: #fff;
	font-weight: 700;
	display: block;
	margin-bottom: 4px;
	font-size: 16px;
}

/* Form Box */
.calc-form-box {
	background: var(--white);
	border-radius: var(--radius-lg);
	padding: 40px;
	border: 1px solid var(--gray-border);
}

.calc-form-title {
	font-family: var(--font-head);
	font-size: 18px;
	font-weight: 600;
	color: var(--black);
	margin-bottom: 6px;
	letter-spacing: -0.3px;
}

.calc-form-sub {
	font-size: 14px;
	color: var(--gray-content);
	margin-bottom: 28px;
}

.calc-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.form-group label {
	font-size: 13px;
	font-weight: 500;
	color: var(--black);
	letter-spacing: 0.01em;
}

.form-group label .req {
	color: #dc2626;
	font-weight: 700;
	margin-left: 2px;
}

.form-group input:not([type="checkbox"]),
.form-group select,
.form-group textarea {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid var(--gray-border);
	border-radius: var(--radius-md);
	font-family: var(--font-body);
	font-size: 14px;
	color: var(--black);
	background: var(--white);
	transition: border-color var(--transition);
	appearance: none;
	-webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--black);
}

/* Field invalid state — same pattern as admin forms */
.form-group input.invalid:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.form-group select.invalid,
.form-group textarea.invalid,
input.invalid:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select.invalid,
textarea.invalid {
	border-color: #dc2626 !important;
	background: #fef2f2 !important;
}

.form-group input.invalid:focus,
.form-group select.invalid:focus,
.form-group textarea.invalid:focus,
input.invalid:focus,
select.invalid:focus,
textarea.invalid:focus {
	border-color: #dc2626 !important;
}

.field-error {
	margin-top: 4px;
	font-size: 0.82rem;
	color: #ef4444;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.checkbox-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: var(--gray-content);
	cursor: pointer;
	user-select: none;
}

.checkbox-item input[type=checkbox] {
	width: 16px;
	height: 16px;
	accent-color: var(--orange);
	cursor: pointer;
}

/* ====================================================
	 9. SOLUTIONS — EDITORIAL LIST
	 ==================================================== */
#solutions {
	background: var(--white);
}

.solutions-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	margin-top: 72px;
	border-top: 1px solid var(--gray-border);
	border-left: 1px solid var(--gray-border);
}

.solution-card {
	padding: 48px 44px;
	border-right: 1px solid var(--gray-border);
	border-bottom: 1px solid var(--gray-border);
	transition: background var(--transition);
	position: relative;
	cursor: pointer;
}

.solution-card:hover {
	background: var(--ivory);
}

.solution-number {
	font-family: var(--font-pixel);
	font-size: 32px;
	font-weight: 700;
	color: var(--gray-border);
	line-height: 1;
	margin-bottom: 20px;
	letter-spacing: -1px;
	transition: var(--transition);
}

.solution-card:hover .solution-number {
	color: var(--orange);
}

.solution-title {
	font-family: var(--font-head);
	font-size: 20px;
	font-weight: 600;
	color: var(--black);
	margin-bottom: 12px;
	letter-spacing: -0.3px;
}

.solution-desc {
	font-size: 15px;
	color: var(--gray-content);
	line-height: 1.65;
	margin-bottom: 24px;
}

.solution-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 24px;
}

.solution-tag {
	padding: 4px 10px;
	background: transparent;
	border: 1px solid var(--gray-border);
	border-radius: var(--radius-sm);
	font-size: 11px;
	font-weight: 500;
	color: var(--gray-content);
	letter-spacing: 0.05em;
}

.solution-cta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--black);
	text-decoration: none;
	cursor: pointer;
	transition: gap var(--transition);
}

.solution-cta svg {
	width: 16px;
	height: 16px;
	transition: transform var(--transition);
}

.solution-card:hover .solution-cta svg {
	transform: translateX(4px);
}

.solution-card.featured {
	background: var(--black);
}

.solution-card.featured:hover {
	background: var(--black-soft);
}

.solution-card.featured .solution-number {
	color: rgba(255, 255, 255, 0.22);
}

.solution-card.featured .solution-title {
	color: var(--white);
}

.solution-card.featured .solution-desc {
	color: rgba(255, 255, 255, 0.55);
}

.solution-card.featured .solution-tag {
	border-color: rgba(255, 255, 255, 0.15);
	color: rgba(255, 255, 255, 0.6);
}

.solution-card.featured .solution-cta {
	color: var(--orange);
}

/* ====================================================
	 10. PRODUCTS FEATURED
	 ==================================================== */
#products {
	background: var(--ivory);
}

.products-filter {
	display: flex;
	gap: 0;
	margin: 56px auto 40px;
	flex-wrap: wrap;
	border: 1px solid var(--gray-border);
	border-radius: var(--radius-md);
	overflow: hidden;
	width: fit-content;
	justify-content: center;
}

.filter-btn {
	padding: 10px 22px;
	font-size: 13px;
	font-weight: 500;
	background: var(--white);
	color: var(--gray-content);
	border: none;
	border-right: 1px solid var(--gray-border);
	cursor: pointer;
	transition: var(--transition);
	letter-spacing: 0.01em;
}

.filter-btn:last-child {
	border-right: none;
}

.filter-btn.active,
.filter-btn:hover {
	background: var(--black);
	color: var(--white);
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	background: transparent;
	border: none;
}

.products-more {
	margin-top: 36px;
}

.product-card {
	background: var(--white);
	border: 1px solid var(--gray-border);
	border-radius: 12px;
	overflow: hidden;
	transition: var(--transition);
	cursor: pointer;
	display: flex;
	flex-direction: column;
}

.product-card:hover {
	background: var(--ivory);
}

.product-thumb {
	background: var(--ivory);
	width: 100%;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--gray-border);
}

.product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition);
}

.product-card:hover .product-thumb img {
	transform: scale(1.04);
}

.product-thumb-icon {
	font-size: 52px;
	opacity: 0.7;
}

.product-badge-wrap {
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.product-info {
	padding: 20px;
}

.product-brand {
	font-size: 11px;
	font-weight: 600;
	color: var(--gray-content);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin-bottom: 6px;
}

.product-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	height: 36px;
	font-size: 14px;
	font-weight: 600;
	color: var(--black);
	margin-bottom: 8px;
	line-height: 1.35;
	margin-bottom: 4px;
}

.product-spec {
	font-size: 12px;
	color: var(--gray-content);
	line-height: 1.5;
}

.product-cta {
	margin-top: 14px;
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--black);
	transition: gap var(--transition);
}

.product-cta svg {
	width: 14px;
	height: 14px;
	transition: transform var(--transition);
}

.product-card:hover .product-cta svg {
	transform: translateX(4px);
}

.product-card.is-out-of-stock .product-thumb img {
	opacity: 0.78;
}

/* ====================================================
	 11. BRAND SHOWCASE
	 ==================================================== */
.brands-track-wrap {
	overflow: hidden;
	position: relative;
}

.brands-track-wrap::before,
.brands-track-wrap::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 80px;
	z-index: 2;
}

.brands-track-wrap::before {
	left: 0;
	background: linear-gradient(90deg, var(--ivory), transparent);
}

.brands-track-wrap::after {
	right: 0;
	background: linear-gradient(-90deg, var(--ivory), transparent);
}

.brands-track {
	display: flex;
	gap: 0;
	animation: marquee 28s linear infinite;
	width: max-content;
}

.brands-track:hover {
	animation-play-state: paused;
}

@keyframes marquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.brand-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 36px;
	height: 72px;
	border-right: 1px solid var(--gray-border);
	flex-shrink: 0;
	cursor: default;
}

.brand-logo-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	opacity: .55;
	transition: var(--transition);
	filter: grayscale(1);
}

.brand-logo:hover .brand-logo-inner {
	opacity: 1;
	filter: grayscale(0);
}

.brand-logo-icon {
	font-size: 22px;
}

.brand-logo-img {
	max-height: 48px;
	max-width: 120px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.brand-logo-name {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	color: var(--black-soft);
}

/* ====================================================
	 13. PARTNER POLICY (B2B)
	 ==================================================== */
#partner {
	background-color: #0a0a0c;
	background-image: linear-gradient(rgba(10, 10, 12, 0.45), rgba(10, 10, 12, 0.55)), var(--partner-bg-image, url('../images/partner_mascot_bg.webp'));
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	color: var(--white);
}

.partner-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 96px;
	align-items: start;
}

#partner .section-label {
	color: rgba(255, 255, 255, 0.55);
}

#partner .section-title {
	color: #fff;
	font-weight: 800;
}

#partner .section-title .accent {
	color: var(--orange);
}

#partner .section-sub {
	color: rgba(255, 255, 255, 0.7);
}

.partner-benefits {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-top: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.partner-benefit {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 24px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	transition: var(--transition);
}

.partner-benefit-icon {
	color: var(--orange);
	flex-shrink: 0;
	margin-top: 2px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.partner-benefit-title {
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 4px;
}

.partner-benefit-desc {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.65);
	line-height: 1.5;
}

.partner-form-box {
	background: var(--white);
	border-radius: var(--radius-lg);
	padding: 40px;
	border: 1px solid var(--gray-border);
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.partner-form-head {
	margin-bottom: 28px;
}

.partner-form-head h3 {
	font-family: var(--font-head);
	font-size: 18px;
	font-weight: 600;
	color: var(--black);
	margin-bottom: 6px;
	letter-spacing: -0.3px;
	overflow-wrap: anywhere;
}

.partner-form-head p {
	font-size: 14px;
	color: var(--gray-content);
	overflow-wrap: anywhere;
}

.partner-form-box .recaptcha-v2 {
	margin: 4px 0 0;
}

.partner-form-actions {
	display: flex;
	gap: 12px;
	margin-top: 16px;
	flex-wrap: wrap;
}

.partner-form-actions .btn {
	flex: 1 1 180px;
	justify-content: center;
	padding: 14px 18px;
	font-size: 0.92rem;
	font-weight: 700;
	border-radius: 8px;
	min-width: 0;
}

.partner-form-actions .btn-partner-primary {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.partner-form-actions .btn-blue-profile {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.partner-wrap>* {
	min-width: 0;
	max-width: 100%;
}

/* ====================================================
	 14. CASE STUDIES — CARD GRID
	 ==================================================== */
#projects {
	background: var(--ivory);
	overflow: visible;
}

#projects .section-title {
	color: var(--black);
}

#projects .section-sub {
	color: var(--gray-content);
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 56px;
}

.project-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform var(--transition), box-shadow var(--transition);
	cursor: default;
}

a.project-card {
	cursor: pointer;
}

.project-card.is-video {
	cursor: pointer;
}

.project-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	background: var(--white);
}

.project-thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	background: var(--gray-light);
	overflow: hidden;
	flex-shrink: 0;
}

.project-card.is-video .project-thumb {
	cursor: pointer;
}

.project-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition);
}

.project-card:hover .project-thumb img {
	transform: scale(1.04);
}

.project-yt-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	background: rgba(0, 0, 0, 0.12);
	transition: background var(--transition);
}

.project-card.is-video:hover .project-yt-play {
	background: rgba(0, 0, 0, 0.22);
}

.project-yt-play svg {
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
	transition: transform var(--transition);
}

.project-card.is-video:hover .project-yt-play svg {
	transform: scale(1.08);
}

.project-body {
	padding: 16px 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.project-name {
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 700;
	color: var(--black);
	letter-spacing: -0.2px;
	line-height: 1.35;
	margin: 0;
}

.project-subtitle {
	font-size: 13px;
	font-weight: 400;
	color: var(--gray-content);
	line-height: 1.5;
	margin: 0;
}

/* Legacy (unused after grid redesign) */
.project-meta,
.project-specs,
.project-spec-tag,
.project-result,
.project-arrow,
.project-thumb-tag {
	display: none;
}

/* YouTube lightbox */
.project-yt-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.project-yt-modal[hidden] {
	display: none !important;
}

.project-yt-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
}

.project-yt-modal-dialog {
	position: relative;
	width: min(960px, 100%);
	z-index: 1;
}

.project-yt-modal-close {
	position: absolute;
	top: -40px;
	right: 0;
	width: 36px;
	height: 36px;
	border: none;
	background: transparent;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.85;
}

.project-yt-modal-close:hover {
	opacity: 1;
}

.project-yt-modal-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 8px;
	overflow: hidden;
}

.project-yt-modal-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.project-yt-fallback {
	display: inline-block;
	margin-top: 12px;
	color: #fff;
	font-size: 13px;
	text-decoration: underline;
	opacity: 0.85;
}

.project-yt-fallback:hover {
	opacity: 1;
}

.project-yt-fallback[hidden] {
	display: none !important;
}

/* ====================================================
	 15. PROCESS STEPS
	 ==================================================== */
#process {
	background: var(--white);
}

.process-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.process-header .section-label {
	padding-left: 0.25em;
}

.process-header .section-sub {
	margin-left: auto;
	margin-right: auto;
}

.process-mascot-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin-bottom: 12px;
}

#mascot-process-img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-height: 150px;
	width: auto;
	object-fit: contain;
}

.process-steps {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0;
	margin-top: 72px;
	border-top: 1px solid var(--gray-border);
	border-left: 1px solid var(--gray-border);
}

.process-step {
	padding: 36px 28px;
	border-right: 1px solid var(--gray-border);
	border-bottom: 1px solid var(--gray-border);
	text-align: left;
	transition: background var(--transition);
}

.process-step:hover {
	background: var(--ivory);
}

.process-num {
	font-family: var(--font-head);
	font-size: 40px;
	font-weight: 500;
	color: var(--gray-border);
	line-height: 1;
	margin-bottom: 20px;
	letter-spacing: -1px;
}

.process-step:hover .process-num,
.process-step.active .process-num {
	color: var(--orange);
}

.process-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--black);
	margin-bottom: 8px;
}

.process-desc {
	font-size: 13px;
	color: var(--gray-content);
	line-height: 1.55;
}

/* ====================================================
	 16. TESTIMONIALS — QUOTE STYLE
	 ==================================================== */
#testimonials {
	background: var(--white);
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	margin-top: 72px;
	border-top: 1px solid var(--gray-border);
	border-left: 1px solid var(--gray-border);
}

.testimonial-card {
	background: var(--white);
	padding: 44px 40px;
	border-right: 1px solid var(--gray-border);
	border-bottom: 1px solid var(--gray-border);
	transition: background var(--transition);
}

.testimonial-card:hover {
	background: var(--ivory);
}

.testimonial-stars {
	display: flex;
	gap: 3px;
	margin-bottom: 20px;
	font-size: 14px;
}

.testimonial-quote {
	font-size: 16px;
	color: var(--black);
	line-height: 1.7;
	margin-bottom: 32px;
	font-style: normal;
	font-weight: 400;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 20px;
	border-top: 1px solid var(--gray-border);
}

.testimonial-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--ivory);
	border: 1px solid var(--gray-border);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0;
}

.testimonial-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.testimonial-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--black);
}

.testimonial-meta {
	font-size: 12px;
	color: var(--gray-content);
}

/* ====================================================
	 17. BLOG / KNOWLEDGE
	 ==================================================== */
#blog {
	background: var(--ivory);
}

.blog-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 1px;
	background: var(--gray-border);
	border: 1px solid var(--gray-border);
	margin-top: 56px;
}

.blog-card {
	overflow: hidden;
	background: var(--white);
	transition: var(--transition);
	cursor: pointer;
}

.blog-card:hover {
	background: var(--ivory);
}

.blog-thumb {
	height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ivory);
	font-size: 52px;
	position: relative;
	border-bottom: 1px solid var(--gray-border);
}

.blog-card.large .blog-thumb {
	height: 240px;
}

.blog-cat {
	position: absolute;
	bottom: 12px;
	left: 12px;
	padding: 3px 8px;
	background: var(--black);
	color: var(--white);
	border-radius: var(--radius-sm);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.blog-body {
	padding: 24px;
}

.blog-date {
	font-size: 11px;
	color: var(--gray-content);
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.blog-title {
	font-size: 15px;
	font-weight: 600;
	color: var(--black);
	line-height: 1.4;
}

.blog-card.large .blog-title {
	font-size: 20px;
}

.blog-excerpt {
	font-size: 14px;
	color: var(--gray-content);
	line-height: 1.6;
	margin-top: 8px;
}

/* ====================================================
	 18. FAQ
	 ==================================================== */
#faq {
	background: var(--ivory);
}

.faq-wrap {
	max-width: 760px;
	margin: 56px auto 0;
}

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	border-top: 1px solid var(--gray-border);
}

.faq-item {
	border-bottom: 1px solid var(--gray-border);
	overflow: hidden;
}

.faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 22px 0;
	font-size: 15px;
	font-weight: 500;
	color: var(--black);
	text-align: left;
	gap: 16px;
	cursor: pointer;
	transition: color var(--transition);
}

.faq-question:hover {
	color: var(--orange);
}

.faq-question svg {
	width: 16px;
	height: 16px;
	color: var(--gray-content);
	flex-shrink: 0;
	transition: transform var(--transition);
}

.faq-item.open .faq-question svg {
	transform: rotate(45deg);
	color: var(--orange);
}

.faq-answer {
	display: none;
	padding: 0 0 22px;
	font-size: 15px;
	color: var(--gray-content);
	line-height: 1.7;
}

.faq-item.open .faq-answer {
	display: block;
}

/* ====================================================
	 19. BOTTOM CTA — FULL-WIDTH
	 ==================================================== */
#bottom-cta {
	background: var(--black);
	padding: 0;
	min-height: 55vh;
	display: flex;
	align-items: center;
}

#bottom-cta .container {
	padding-top: 80px;
	padding-bottom: 80px;
	width: 100%;
}

.bottom-cta-box {
	padding: 0;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 64px;
	align-items: center;
	width: 100%;
}

.bottom-cta-text {}

.bottom-cta-eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
	margin-bottom: 20px;
	display: block;
}

.bottom-cta-title {
	font-family: var(--font-head);
	font-size: clamp(36px, 4.5vw, 60px);
	font-weight: 800;
	color: #fff;
	line-height: 1.25;
	letter-spacing: -1.5px;
	margin-bottom: 16px;
}

.bottom-cta-desc {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.5);
	line-height: 1.6;
	max-width: 500px;
}

.bottom-cta-btns {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex-shrink: 0;
}

/* ====================================================
	 20. FOOTER
	 ==================================================== */
#footer {
	background: var(--black-soft);
	color: var(--white);
	padding: 80px 0 0;
}

.footer-top {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 64px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	height: 96px;
	background: #353535;
	border-radius: 12px;
	padding-left: 28px;
	padding-right: 28px;
	margin-bottom: 20px;
	text-decoration: none;
	color: #E6E6E6;
	box-sizing: border-box;
	width: fit-content;
	max-width: 100%;
	transition: background-color 200ms ease, color 200ms ease;
}

.footer-logo:hover {
	background: #454545;
	color: #FFFFFF;
}

.footer-logo.has-logo-img {
	padding: 14px 24px;
}

.footer-logo .footer-logo-img,
.footer-logo #footer-logo-img {
	max-height: 68px;
	max-width: 360px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	background: transparent;
	flex-shrink: 0;
}

.footer-logo-icon {
	width: 40px;
	height: 40px;
	background: transparent;
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer-logo-icon svg {
	width: 28px;
	height: 28px;
	color: #E6E6E6;
}

.footer-logo:hover .footer-logo-icon svg {
	color: #FFFFFF;
}

.footer-logo-text {
	font-family: var(--font-head);
	font-size: 28px;
	font-weight: 700;
	color: #E6E6E6;
}

.footer-logo-text span {
	color: #E6E6E6;
	font-weight: 400;
}

.footer-logo:hover .footer-logo-text,
.footer-logo:hover .footer-logo-text span {
	color: #FFFFFF;
}

.footer-brand-desc {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.4);
	line-height: 1.75;
	margin-bottom: 24px;
	max-width: 280px;
}

.footer-contact-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 10px;
}

.footer-contact-item svg {
	width: 13px;
	height: 13px;
	color: rgba(255, 255, 255, 0.35);
	flex-shrink: 0;
}

.footer-contact-item a {
	color: rgba(255, 255, 255, 0.5);
	transition: color var(--transition);
}

.footer-contact-item a:hover {
	color: var(--white);
}

.footer-col-title {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: rgba(255, 255, 255, 0.3);
	margin-bottom: 20px;
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-links a {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.55);
	transition: color var(--transition);
}

.footer-links a:hover {
	color: var(--white);
}

.footer-socials {
	display: flex;
	gap: 8px;
	margin-top: 20px;
}

.footer-social {
	width: 32px;
	height: 32px;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	transition: var(--transition);
}

.footer-social:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.2);
}

.footer-social img {
	width: 18px;
	height: 18px;
	object-fit: contain;
	display: block;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 0;
	flex-wrap: wrap;
	gap: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-legal {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.3);
}

.footer-legal-links {
	display: flex;
	gap: 20px;
}

.footer-legal-links a {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.3);
	transition: color var(--transition);
}

.footer-legal-links a:hover {
	color: rgba(255, 255, 255, 0.7);
}

/* ====================================================
	 21. FLOATING WIDGETS
	 ==================================================== */
.float-widgets {
	position: fixed;
	bottom: 28px;
	right: 16px;
	z-index: 998;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-end;
}

.float-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border-radius: var(--radius-lg);
	border: 2px solid #ffb703;
	/* Khung màu vàng nổi bật */
	font-size: 13px;
	font-weight: 600;
	color: var(--white);
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: var(--shadow-md);
	text-decoration: none;
	overflow: hidden;
}

.float-btn:hover {
	width: 140px;
	padding: 0 16px;
	justify-content: flex-start;
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.float-btn-top {
	background: #0a0a0a !important;
	color: #CCFF66 !important;
	border: 2px solid #CCFF66 !important;
	font-weight: 700 !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, width 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.float-btn-top.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.float-btn-top.is-visible:hover {
	width: 150px;
	background: #CCFF66 !important;
	color: #000000 !important;
	border-color: #000000 !important;
	transform: translateY(-2px);
}

.float-btn-top svg {
	color: inherit !important;
	stroke: currentColor !important;
}

.float-btn-top span {
	color: inherit !important;
}

.float-btn-zalo {
	background: #ffffff !important;
	color: #0068FF !important;
	border: 2px solid #0068FF !important;
	font-weight: 800 !important;
	box-shadow: 0 4px 14px rgba(0, 104, 255, 0.25) !important;
}

.float-btn-zalo svg {
	color: #0068FF !important;
	stroke: #0068FF !important;
}

.float-btn-zalo span {
	color: #0068FF !important;
	font-weight: 700 !important;
}

.float-btn-phone {
	background: var(--black);
}

@keyframes mascot-shake-loop {

	0%,
	82%,
	100% {
		transform: rotate(0deg) scale(1);
	}

	84% {
		transform: rotate(-14deg) scale(1.12);
	}

	87% {
		transform: rotate(14deg) scale(1.12);
	}

	90% {
		transform: rotate(-12deg) scale(1.12);
	}

	93% {
		transform: rotate(12deg) scale(1.12);
	}

	96% {
		transform: rotate(0deg) scale(1);
	}
}

.float-btn-ai {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	width: 58px !important;
	height: 58px !important;
	padding: 0 !important;
}

.float-btn-ai img {
	width: 58px !important;
	height: 58px !important;
	object-fit: contain;
	flex-shrink: 0;
	filter: drop-shadow(0 6px 14px rgba(255, 122, 0, 0.55));
	animation: mascot-shake-loop 10s ease-in-out infinite;
	transform-origin: center bottom;
	transition: all 0.25s ease;
}

.float-btn-ai:hover {
	background: linear-gradient(135deg, #FF8A00, #FF5500) !important;
	border: 2px solid #FF5500 !important;
	border-radius: 12px;
	box-shadow: 0 0 14px rgba(255, 122, 0, 0.5), var(--shadow-md) !important;
}

.float-btn-ai:hover img {
	width: 26px;
	height: 26px;
	filter: none;
	animation: none;
}

.ai-chatbox-avatar {
	width: 42px;
	height: 42px;
	background: transparent;
	border: none;
	border-radius: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
	box-shadow: none;
}

.ai-chatbox-avatar img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.float-btn span {
	display: none;
	white-space: nowrap;
	margin-left: 10px;
}

.float-btn:hover span {
	display: inline;
}

.float-btn svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* ====================================================
	 FORM SUCCESS STATE
	 ==================================================== */
.form-success {
	text-align: center;
	padding: 32px;
	display: none;
}

.form-success.show {
	display: block;
}

.form-success-icon {
	font-size: 40px;
	margin-bottom: 12px;
}

.form-success-title {
	font-size: 18px;
	font-weight: 600;
	color: var(--black);
	margin-bottom: 8px;
}

.form-success-desc {
	font-size: 14px;
	color: var(--gray-content);
}

/* ====================================================
	 ANIMATIONS — CONTROLLED & PURPOSEFUL
	 ==================================================== */
@keyframes pulse {

	0%,
	100% {
		opacity: 1
	}

	50% {
		opacity: .3
	}
}

.fade-up {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
	opacity: 1;
	transform: translateY(0);
}

.fade-up-delay-1 {
	transition-delay: 0.08s;
}

.fade-up-delay-2 {
	transition-delay: 0.16s;
}

.fade-up-delay-3 {
	transition-delay: 0.24s;
}

.fade-up-delay-4 {
	transition-delay: 0.32s;
}

.reveal-left {
	opacity: 0;
	transform: translateX(-24px);
	transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
	opacity: 1;
	transform: translateX(0);
}

.reveal-right {
	opacity: 0;
	transform: translateX(24px);
	transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
	opacity: 1;
	transform: translateX(0);
}

.reveal-zoom {
	opacity: 0;
	transform: scale(0.97);
	transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-zoom.visible {
	opacity: 1;
	transform: scale(1);
}

/* Above-the-fold hero must paint immediately — opacity:0 + JS observer delays LCP. */
#hero .fade-up,
#hero .reveal-left,
#hero .reveal-right,
#hero .reveal-zoom {
	opacity: 1;
	transform: none;
	transition: none;
}

@media (prefers-reduced-motion: reduce) {

	.fade-up,
	.reveal-left,
	.reveal-right,
	.reveal-zoom {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ====================================================
	 RESPONSIVE — TABLET (max 1024px)
	 ==================================================== */
@media (max-width: 1024px) {
	.container {
		padding: 0 40px;
	}

	.section-pad {
		padding: 100px 0;
	}

	.trust-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.trust-item {
		padding: 56px 44px;
	}

	.products-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.blog-grid {
		grid-template-columns: 1fr 1fr;
	}

	.process-steps {
		grid-template-columns: repeat(3, 1fr);
	}

	.projects-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Header mobile toggle at 1024px */
	.nav-desktop-neon {
		display: none !important;
	}

	.btn-cta-neon {
		display: none !important;
	}

	.hamburger {
		display: flex !important;
		margin-left: auto;
	}


	/* Audience */
	.audience-grid {
		grid-template-columns: 1fr;
	}

	.audience-card {
		padding: 40px 32px;
	}
}

/* ====================================================
	 RESPONSIVE — MOBILE (max 768px)
	 ==================================================== */
@media (max-width: 768px) {
	.container {
		padding: 0 24px;
	}

	.section-pad,
	.section-pad-sm {
		padding: 48px 0;
	}

	/* Header */
	.header-inner {
		height: 40px;
	}

	/* Hero — grow with content; avoid clipping CTAs on short phones */
	#hero {
		background: var(--white) url('../images/hero_bg.webp') no-repeat right bottom / contain;
		padding: 32px 0 48px;
		height: auto;
		max-height: none;
		min-height: calc(100vh - 72px);
		min-height: calc(100dvh - 72px);
		align-items: flex-start;
	}

	#hero.hero-has-video {
		background: var(--white) url('../images/hero_bg.webp') no-repeat right bottom / contain;
		padding: 32px 0 48px;
	}

	#hero.hero-has-video .hero-media::after {
		background: linear-gradient(180deg,
				rgba(255, 255, 255, 0.94) 0%,
				rgba(255, 255, 255, 0.78) 42%,
				rgba(255, 255, 255, 0.35) 70%,
				rgba(255, 255, 255, 0.12) 100%);
	}

	.hero-inner {
		grid-template-columns: 1fr;
		gap: 0;
		padding-left: 24px;
		padding-right: 24px;
		align-content: start;
	}

	.hero-visual {
		display: none;
	}

	.hero-h1 {
		font-size: clamp(28px, 7vw, 40px);
		letter-spacing: -1px;
		margin-bottom: 16px;
	}

	.hero-benefits {
		gap: 6px;
		margin-bottom: 18px;
	}

	.hero-benefit {
		font-size: 13px;
	}

	.hero-ctas {
		flex-direction: column;
		margin-bottom: 16px;
	}

	.hero-ctas .btn {
		width: 100%;
		justify-content: center;
	}

	/* Trust */
	.trust-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.trust-item {
		padding: 44px 32px;
	}

	.trust-number {
		font-size: clamp(52px, 14vw, 72px);
	}

	/* Calculator / forms */
	.calc-wrap {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	.calc-form-box,
	.partner-form-box {
		padding: 24px 20px;
	}

	/* Solutions */
	.solutions-grid {
		grid-template-columns: 1fr;
	}

	/* Products */
	.products-more {
		margin-top: 28px;
	}

	.products-filter {
		width: 100%;
	}

	.filter-btn {
		flex: 1 1 auto;
		text-align: center;
		padding: 10px 12px;
	}

	.product-thumb img {
		object-fit: contain;
		padding: 8px;
		box-sizing: border-box;
	}

	.product-thumb-icon {
		font-size: 32px;
	}

	.product-info {
		padding: 12px;
	}

	.product-name {
		font-size: 13px;
		margin-bottom: 4px;
	}

	/* Partner */
	.partner-wrap {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
		width: 100%;
		max-width: 100%;
	}

	.partner-form-actions {
		flex-direction: column;
	}

	.partner-form-actions .btn {
		flex: 1 1 auto;
		width: 100%;
		white-space: normal;
		line-height: 1.35;
		text-align: center;
	}

	.partner-benefit-title,
	.partner-benefit-desc {
		overflow-wrap: anywhere;
	}

	/* Projects */
	.projects-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.project-body {
		padding: 14px 16px 16px;
	}

	.project-name {
		font-size: 15px;
	}

	/* Process */
	.process-steps {
		grid-template-columns: repeat(2, 1fr);
	}

	.process-step {
		padding: 28px 20px;
	}

	.process-num {
		font-size: 32px;
	}

	/* Testimonials */
	.testimonials-grid {
		grid-template-columns: 1fr;
	}

	/* Blog */
	.blog-grid {
		grid-template-columns: 1fr;
	}

	/* Bottom CTA */
	#bottom-cta {
		min-height: auto;
		padding: 48px 0;
	}

	.bottom-cta-box {
		grid-template-columns: 1fr;
		text-align: left;
		gap: 28px;
	}

	.bottom-cta-btns {
		flex-direction: row;
		flex-wrap: wrap;
	}

	#mascot-bottom-cta-img {
		height: 180px !important;
		opacity: 0.35;
	}

	#bottom-cta .container {
		padding-bottom: 48px;
	}

	/* Footer — tighter on mobile */
	#footer {
		padding: 48px 0 0;
	}

	.footer-top {
		padding-bottom: 40px;
	}

	/* Footer */
	.footer-top {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}

	.footer-bottom {
		flex-direction: column;
		text-align: center;
		gap: 16px;
	}

	/* Mobile action bar — sitewide; clear footer & floats */
	.mobile-action-bar {
		display: block;
	}

	body:has(.mobile-action-bar) {
		padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
	}

	body:has(.mobile-action-bar) .float-widgets {
		bottom: calc(80px + env(safe-area-inset-bottom, 0px));
	}

	body:has(.mobile-action-bar) .ai-chatbox {
		bottom: calc(90px + env(safe-area-inset-bottom, 0px));
	}

	body:has(.mobile-action-bar) .ai-chatbox.open.expanded {
		bottom: calc(76px + env(safe-area-inset-bottom, 0px));
		top: calc(72px + 8px);
		left: 8px;
		right: 8px;
	}

	/* Float: action bar already has Gọi/Zalo — keep AI + scroll-top only */
	.float-widgets {
		bottom: 24px;
		right: 10px;
		gap: 6px;
	}

	.float-btn-zalo,
	.float-btn-phone {
		display: none !important;
	}

	.float-btn {
		width: 44px;
		height: 44px;
	}

	.float-btn:hover,
	.float-btn-top.is-visible:hover {
		width: 44px;
		padding: 0;
		justify-content: center;
		transform: none;
	}

	.float-btn-ai {
		width: 48px !important;
		height: 48px !important;
	}

	.float-btn-ai img {
		width: 48px !important;
		height: 48px !important;
	}

	.float-btn-ai span,
	.float-ai-tooltip {
		display: none !important;
	}

	.ai-chatbox-input-area input {
		font-size: 16px;
	}

	/* Hero micro-links no longer need float clearance (Zalo/Phone hidden) */
	.hero-micro-ctas {
		flex-wrap: wrap;
		row-gap: 8px;
		padding-right: 0;
	}

	/* Reveal anims — avoid horizontal page overflow before .visible */
	.reveal-left:not(.visible) {
		transform: translateX(-8px);
	}

	.reveal-right:not(.visible) {
		transform: translateX(8px);
	}

	.calc-wrap,
	.audience-grid,
	.partner-wrap {
		overflow-x: clip;
	}

	/* Top bar */
	.top-bar-item:nth-child(3),
	.top-bar-item:nth-child(4),
	.top-bar-divider:nth-child(4),
	.top-bar-divider:nth-child(6) {
		display: none;
	}
}

/* ====================================================
	 RESPONSIVE — SMALL MOBILE (max 480px)
	 ==================================================== */
@media (max-width: 480px) {
	.container {
		padding: 0 20px;
	}

	.section-pad,
	.section-pad-sm {
		padding: 28px 0;
	}

	.partner-form-box {
		padding: 20px 16px;
	}

	.partner-form-head {
		margin-bottom: 20px;
	}

	.partner-form-head h3 {
		font-size: 16px;
	}

	#bottom-cta {
		padding: 32px 0;
	}

	#bottom-cta .container {
		padding-bottom: 32px;
	}

	#footer {
		padding: 32px 0 0;
	}

	.trust-grid {
		grid-template-columns: 1fr;
	}

	.trust-item {
		padding: 28px 20px;
	}

	.audience-card,
	.solution-card {
		padding: 28px 20px;
	}

	.products-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.process-steps {
		grid-template-columns: 1fr;
	}

	.footer-top {
		grid-template-columns: 1fr;
		padding-bottom: 28px;
	}

	.bottom-cta-btns {
		flex-direction: column;
	}

	.section-title {
		letter-spacing: -1px;
	}

	.hero-inner {
		padding-left: 20px;
		padding-right: 20px;
	}

	#hero,
	#hero.hero-has-video {
		min-height: calc(100dvh - 350px);
		padding: 28px 0 32px;
	}

	.hero-h1 {
		letter-spacing: -1.5px;
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	#mascot-bottom-cta-img {
		height: 140px !important;
	}

	.mobile-action-bar .btn {
		min-height: 44px;
		padding: 12px 6px;
	}

	.section-title,
	.bottom-cta-title {
		font-size: 28px;
	}

	.section-sub,
	.bottom-cta-desc {
		font-size: 16px;
	}

	.trust-item {
		text-align: center;
	}

	.trust-title {
		max-width: 100%;
	}

	#mascot-process-img {
		max-height: 100px;
	}

	.testimonials-grid,
	.process-steps,
	.audience-grid,
	.calc-wrap,
	.solutions-grid,
	.partner-wrap {
		margin-top: 32px;
	}

	.audience-card {
		text-align: center;
	}

	.testimonial-card {
		padding: 24px;
	}

	#bottom-cta .container {
		padding-top: 32px;
	}

	.footer-brand-desc {
		max-width: 100%;
	}
}

/* ====================================================
	 ACCESSIBILITY
	 ==================================================== */
@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}

/* ====================================================
	 22. PRODUCT DETAIL MODAL & BRAND FILTER
	 ==================================================== */
#product-detail-modal .modal-box {
	border-radius: 12px;
	background: var(--white);
	border: 1px solid var(--gray-border);
}

.spec-table th,
.spec-table td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--gray-border);
}

.spec-table tr:nth-child(even) {
	background: var(--ivory);
}

.spec-table td:first-child {
	font-weight: 600;
	width: 35%;
	color: var(--black);
	border-right: 1px solid var(--gray-border);
}

.brand-filter-indicator .filter-tag {
	transition: all var(--transition);
}

.brand-filter-indicator .filter-tag button:hover {
	color: var(--black) !important;
}

/* ====================================================
	 22. AI CHATBOX WINDOW
	 ==================================================== */
.ai-chatbox {
	position: fixed;
	bottom: 30px;
	right: 90px;
	width: 480px;
	height: 520px;
	z-index: 999;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1.5px solid rgba(235, 94, 40, 0.2);
	/* Viền màu cam Sunbex nhạt */
	border-radius: 16px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	opacity: 0;
	transform: translateY(20px) scale(0.95);
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
		width 0.25s ease, height 0.25s ease, inset 0.25s ease, border-radius 0.25s ease;
}

.ai-chatbox.open {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.ai-chatbox.open.expanded {
	top: calc(72px + 12px);
	/* dưới sticky #header (72px) */
	right: 16px;
	bottom: 16px;
	left: 16px;
	width: auto;
	height: auto;
	max-width: none;
	border-radius: 16px;
	transform: none;
	z-index: 1200;
}

body.ai-chat-expanded {
	overflow: hidden;
}

body.ai-chat-expanded .float-widgets {
	opacity: 0;
	pointer-events: none;
}

.ai-chatbox-header {
	background: linear-gradient(135deg, #e63946, var(--orange));
	/* Gradient đỏ sang cam */
	color: var(--white);
	padding: 12px 18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-chatbox-bot-info {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	flex: 1;
}

.ai-chatbox-avatar {
	width: 60px !important;
	height: 60px !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible !important;
	box-shadow: none !important;
	flex-shrink: 0;
}

.ai-chatbox-avatar img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
}

.ai-chatbox-name {
	font-family: var(--font-head);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
}

.ai-chatbox-status {
	font-size: 0.72rem;
	color: rgba(255, 255, 255, 0.85);
	display: flex;
	align-items: center;
	gap: 4px;
}

.ai-chatbox-status::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	background: #2ec4b6;
	/* Green status dot */
	border-radius: 50%;
}

.ai-chatbox-actions {
	display: flex;
	align-items: center;
	gap: 2px;
	flex-shrink: 0;
}

.ai-chatbox-close,
.ai-chatbox-expand {
	background: none;
	border: none;
	color: var(--white);
	cursor: pointer;
	opacity: 0.85;
	transition: opacity 0.2s, background-color 0.2s;
	padding: 6px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ai-chatbox-close:hover,
.ai-chatbox-expand:hover {
	opacity: 1;
	background: rgba(255, 255, 255, 0.15);
}

.ai-chatbox-icon-collapse {
	display: none;
}

.ai-chatbox.expanded .ai-chatbox-icon-expand {
	display: none;
}

.ai-chatbox.expanded .ai-chatbox-icon-collapse {
	display: block;
}

.ai-chatbox-messages {
	flex: 1;
	padding: 20px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: rgba(248, 249, 250, 0.4);
}

.ai-msg {
	max-width: 80%;
	padding: 12px 16px;
	border-radius: 14px;
	font-size: 0.88rem;
	line-height: 1.5;
	word-wrap: break-word;
}

.ai-msg.bot {
	background: var(--white);
	color: var(--black);
	align-self: flex-start;
	max-width: 100%;
	border-bottom-left-radius: 4px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
	border: 1px solid var(--gray-border);
}

.ai-msg.user {
	background: #e63946;
	color: var(--white);
	align-self: flex-end;
	border-bottom-right-radius: 4px;
	box-shadow: 0 2px 6px rgba(230, 57, 70, 0.2);
}

.ai-msg.bot h2,
.ai-msg.bot h3,
.ai-msg.bot h4 {
	margin: 10px 0 6px;
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.35;
	color: var(--black);
}

.ai-msg.bot h2 {
	font-size: 0.98rem;
}

.ai-msg.bot h3 {
	font-size: 0.92rem;
}

.ai-msg.bot h4 {
	font-size: 0.86rem;
}

.ai-msg.bot h2:first-child,
.ai-msg.bot h3:first-child,
.ai-msg.bot h4:first-child {
	margin-top: 0;
}

.ai-msg.bot p {
	margin: 0 0 8px;
}

.ai-msg.bot p:last-child {
	margin-bottom: 0;
}

.ai-msg.bot ul,
.ai-msg.bot ol {
	margin: 6px 0 8px;
	padding-left: 1.2em;
}

.ai-msg.bot li {
	margin: 3px 0;
}

.ai-msg.bot a {
	color: #e63946;
	font-weight: 700;
	text-decoration: underline;
}

.ai-msg.bot code {
	font-size: 0.82em;
	background: rgba(0, 0, 0, 0.06);
	padding: 1px 4px;
	border-radius: 4px;
}

.ai-msg-table-wrap {
	overflow-x: auto;
	margin: 8px 0;
	max-width: 100%;
	-webkit-overflow-scrolling: touch;
}

.ai-msg-table {
	width: max-content;
	min-width: 100%;
	border-collapse: collapse;
	font-size: 0.74rem;
	line-height: 1.4;
}

.ai-msg-table th,
.ai-msg-table td {
	border: 1px solid var(--gray-border);
	padding: 6px 8px;
	text-align: left;
	vertical-align: top;
	word-break: break-word;
	overflow-wrap: break-word;
	white-space: normal;
}

.ai-msg-table th {
	background: rgba(230, 57, 70, 0.08);
	font-weight: 700;
}

.ai-msg-table th:first-child,
.ai-msg-table td:first-child {
	min-width: 7.5rem;
}

.ai-msg-table tbody tr:nth-child(even) {
	background: rgba(0, 0, 0, 0.02);
}

.ai-msg-loading {
	display: flex;
	gap: 4px;
	align-items: center;
	padding: 8px 16px;
}

.ai-msg-loading span {
	width: 6px;
	height: 6px;
	background: #6c757d;
	border-radius: 50%;
	animation: ai-bounce 1.4s infinite ease-in-out both;
}

.ai-msg-loading span:nth-child(1) {
	animation-delay: -0.32s;
}

.ai-msg-loading span:nth-child(2) {
	animation-delay: -0.16s;
}

@keyframes ai-bounce {

	0%,
	80%,
	100% {
		transform: scale(0);
	}

	40% {
		transform: scale(1.0);
	}
}

.ai-msg-typing {
	overflow-anchor: none;
}

.ai-msg-caret {
	display: inline-block;
	width: 2px;
	height: 0.95em;
	margin-left: 2px;
	background: #e63946;
	vertical-align: -0.12em;
	animation: ai-caret-blink 0.8s step-end infinite;
}

@keyframes ai-caret-blink {
	50% {
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ai-msg-caret {
		animation: none;
	}
}

/* ====================================================
	 23. AI 30s TOOLTIP & QUICK ACTIONS & COMPARATOR
	 ==================================================== */
.float-ai-tooltip {
	position: absolute;
	right: 68px;
	top: 6px;
	background: #ffffff;
	color: #0f172a;
	padding: 10px 14px;
	border-radius: 14px;
	border: 2px solid #FF5500;
	box-shadow: 0 8px 24px rgba(255, 122, 0, 0.3);
	font-size: 0.83rem;
	font-weight: 700;
	white-space: nowrap;
	max-width: min(380px, calc(100vw - 100px));
	display: flex;
	align-items: center;
	gap: 8px;
	opacity: 0;
	transform: translateX(10px) scale(0.92);
	pointer-events: none;
	transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	z-index: 1000;
}

.float-ai-tooltip.show {
	opacity: 1;
	transform: translateX(0) scale(1);
	pointer-events: auto;
}

.float-ai-tooltip::after {
	content: '';
	position: absolute;
	right: -9px;
	top: 50%;
	transform: translateY(-50%);
	border-width: 7px 0 7px 9px;
	border-style: solid;
	border-color: transparent transparent transparent #FF5500;
}

.float-ai-tooltip-close {
	background: none;
	border: none;
	color: #6b7280;
	font-size: 1rem;
	cursor: pointer;
	padding: 0 2px;
	line-height: 1;
}

.float-ai-tooltip-close:hover {
	color: #ef4444;
}

/* AI Quick Action Buttons inside Chatbox */
.ai-quick-actions {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 10px;
}

.ai-quick-btn {
	background: #f3f4f6;
	color: #1f2937;
	border: 1px solid #e5e7eb;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 0.82rem;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.2s ease;
}

.ai-quick-btn:hover {
	background: #fee2e2;
	color: #dc2626;
	border-color: #fca5a5;
	transform: translateX(2px);
}

.ai-quick-btn svg {
	color: #dc2626;
	flex-shrink: 0;
}

/* AI Product Comparator Matrix */
.ai-comparator-wrap {
	background: #ffffff;
	border: 1.5px solid #e5e7eb;
	border-radius: 12px;
	padding: 12px;
	margin-top: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ai-comparator-selects {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 10px;
}

.ai-comparator-selects select,
.ai-comparator-selects input {
	width: 100%;
	padding: 6px 8px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 0.78rem;
	background: #f9fafb;
}

.ai-comparator-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	border-top: 1px solid #e5e7eb;
	padding-top: 8px;
}

.ai-comp-col {
	background: #f8fafc;
	border-radius: 8px;
	padding: 8px;
	border: 1px solid #e2e8f0;
}

.ai-comp-title {
	font-size: 0.82rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 4px;
}

.ai-comp-stat {
	font-size: 0.75rem;
	color: #475569;
	line-height: 1.4;
	margin-bottom: 3px;
}

.ai-chatbox-input-area {
	padding: 12px 16px;
	background: var(--white);
	border-top: 1px solid var(--gray-border);
	display: flex;
	gap: 8px;
	align-items: center;
}

.ai-chatbox-input-area input {
	flex: 1;
	border: 1.5px solid var(--gray-border);
	border-radius: 20px;
	padding: 8px 16px;
	font-size: 0.88rem;
	background: #f8f9fa;
	color: var(--black);
	outline: none;
	transition: border-color 0.2s;
}

.ai-chatbox-input-area input:focus {
	border-color: #e63946;
	background: var(--white);
}

.ai-chatbox-send {
	background: #e63946;
	color: var(--white);
	border: none;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color 0.2s, transform 0.2s;
}

.ai-chatbox-send:hover {
	background: var(--orange);
	transform: scale(1.05);
}

.ai-chatbox-send:disabled,
.ai-chatbox-input-area.is-busy .ai-chatbox-send {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
	pointer-events: none;
}

.ai-chatbox-send:disabled:hover,
.ai-chatbox-input-area.is-busy .ai-chatbox-send:hover {
	background: #e63946;
	transform: none;
}

.ai-chatbox-send svg {
	margin-left: -1px;
	margin-top: 2px;
}

/* Tối ưu hóa trên các màn hình di động */
@media (max-width: 576px) {
	.ai-chatbox {
		right: 16px;
		left: 16px;
		bottom: 90px;
		width: auto;
		height: 450px;
	}

	.ai-chatbox.open.expanded {
		top: calc(72px + 8px);
		left: 8px;
		right: 8px;
		bottom: 8px;
		height: auto;
	}
}

/* ====================================================
	 22. ABOUT US PAGE STYLES
	 ==================================================== */
.about-service-card {
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.about-service-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 30px rgba(243, 112, 33, 0.08);
}

.about-timeline-step {
	position: relative;
}

.about-timeline-step::after {
	content: '';
	position: absolute;
	top: 45px;
	left: calc(50% + 25px);
	width: calc(100% - 50px);
	height: 2px;
	background: var(--gray-border);
	z-index: 1;
}

.about-timeline-step:last-child::after {
	display: none;
}

.about-timeline-step div {
	position: relative;
	z-index: 2;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-timeline-step:hover div {
	background: var(--orange) !important;
	color: var(--white) !important;
	box-shadow: 0 0 15px rgba(243, 112, 33, 0.4);
	transform: scale(1.1);
}

.about-gallery img {
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-gallery>div:hover img {
	transform: scale(1.05);
}

@media (max-width: 768px) {
	.about-timeline-step::after {
		display: none;
	}
}

/* ====================================================
	 SITE TOAST — bottom-right stack (mirror admin)
	 ==================================================== */
.site-toast-stack {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 3000;
	display: flex;
	flex-direction: column-reverse;
	gap: 10px;
	width: min(380px, calc(100vw - 32px));
	pointer-events: none;
}

.site-toast {
	pointer-events: auto;
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px 14px;
	background: var(--white);
	color: var(--black);
	border: 1.5px solid var(--gray-border);
	border-left-width: 4px;
	border-radius: var(--radius-md, 8px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	opacity: 0;
	transform: translateX(24px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-toast.is-show {
	opacity: 1;
	transform: translateX(0);
}

.site-toast.is-hide {
	opacity: 0;
	transform: translateX(24px);
}

.site-toast__icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.site-toast__icon svg {
	width: 18px;
	height: 18px;
	display: block;
}

.site-toast__body {
	flex: 1;
	min-width: 0;
	font-size: 0.88rem;
	font-weight: 500;
	line-height: 1.45;
	padding-right: 4px;
	white-space: pre-line;
	font-family: var(--font-body);
}

.site-toast__close {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	margin: -2px -4px 0 0;
	border: none;
	background: transparent;
	color: var(--gray-content);
	border-radius: 4px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	line-height: 1;
	padding: 0;
	transition: background 0.15s, color 0.15s;
}

.site-toast__close:hover {
	background: rgba(0, 0, 0, 0.06);
	color: var(--black);
}

.site-toast__progress {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 3px;
	width: 100%;
	transform-origin: left center;
	transform: scaleX(1);
	will-change: transform;
}

.site-toast--success {
	border-left-color: #16a34a;
	background: #f0fdf4;
}

.site-toast--success .site-toast__icon {
	color: #16a34a;
}

.site-toast--success .site-toast__progress {
	background: #16a34a;
}

.site-toast--danger {
	border-left-color: #dc2626;
	background: #fef2f2;
}

.site-toast--danger .site-toast__icon {
	color: #dc2626;
}

.site-toast--danger .site-toast__progress {
	background: #dc2626;
}

.site-toast--warning {
	border-left-color: #d97706;
	background: #fffbeb;
}

.site-toast--warning .site-toast__icon {
	color: #d97706;
}

.site-toast--warning .site-toast__progress {
	background: #d97706;
}

.site-toast--info {
	border-left-color: #3b82f6;
	background: #eff6ff;
}

.site-toast--info .site-toast__icon {
	color: #3b82f6;
}

.site-toast--info .site-toast__progress {
	background: #3b82f6;
}

/* ---- Hotline popup (retail + wholesale) ---- */
.hotline-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(8px);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 100000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.28s ease;
	padding: 16px;
}

.hotline-modal-overlay.open {
	opacity: 1;
	pointer-events: auto;
}

.hotline-modal-box {
	background: var(--c-bg, #ffffff);
	border: 1.5px solid var(--c-border, #e5e7eb);
	border-radius: 16px;
	width: 100%;
	max-width: 480px;
	max-height: min(90vh, 640px);
	overflow-y: auto;
	padding: 24px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
	transform: scale(0.94);
	transition: transform 0.28s ease;
	color: var(--c-text, #1f2937);
}

.hotline-modal-overlay.open .hotline-modal-box {
	transform: scale(1);
}

.hotline-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	border-bottom: 1.5px solid var(--c-border, #e5e7eb);
	padding-bottom: 12px;
}

.hotline-modal-title {
	font-size: 1.1rem;
	font-weight: 800;
	color: #eb5e28;
	margin: 0;
	line-height: 1.35;
}

.hotline-modal-close {
	background: none;
	border: none;
	font-size: 1.25rem;
	cursor: pointer;
	color: #6b7280;
	line-height: 1;
	padding: 4px 6px;
	flex-shrink: 0;
}

.hotline-modal-close:hover {
	color: #111827;
}

.hotline-option-card {
	border: 1px solid #f37021;
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 14px;
	background: rgba(243, 112, 33, 0.03);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.hotline-option-card:last-child {
	margin-bottom: 0;
}

.hotline-option-card:hover {
	border-color: #eb5e28;
	box-shadow: 0 4px 12px rgba(235, 94, 40, 0.1);
}

.hotline-option-title {
	font-size: 0.98rem;
	font-weight: 700;
	margin-bottom: 8px;
	color: #f37021;
	line-height: 1.4;
}

.hotline-option-card--wholesale .hotline-option-title {
	color: #eb5e28;
}

.hotline-option-desc {
	font-size: 0.85rem;
	color: #6b7280;
	margin-bottom: 14px;
	line-height: 1.45;
}

.hotline-action-buttons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.hotline-action-btn {
	flex: 1 1 140px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.hotline-action-btn:hover {
	opacity: 0.92;
}

.hotline-btn-phone {
	background: #f37021;
	color: #ffffff !important;
}

.hotline-btn-zalo {
	background: #0068ff;
	color: #ffffff !important;
}

@media (max-width: 420px) {
	.hotline-modal-box {
		padding: 18px;
	}

	.hotline-modal-title {
		font-size: 1rem;
	}

	.hotline-action-buttons {
		flex-direction: column;
	}
}