/*
Theme Name: NewEra Việt Nam
Theme URI: https://neweravietnam.vn
Author: NewEra Việt Nam
Description: Giao diện giới thiệu công ty giải pháp công nghệ thông tin NewEra: trang chủ một trang (giới thiệu, dịch vụ, lĩnh vực, quy trình, bài viết, hỏi đáp, liên hệ), form tư vấn lưu yêu cầu trong trang quản trị, nút Zalo/gọi nhanh và SEO cơ bản. Toàn bộ nội dung sửa được trong Giao diện → Tùy biến.
Version: 2.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newera
Tags: one-column, custom-logo, custom-menu, featured-images, translation-ready, business
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #13233a;
	--ink-deep: #0d1a2b;
	--ink-2: #1b3150;
	--ink-3: #24405f;
	--steel: #4a5d73;
	--muted: #6a7c90;
	--line: #dde4ec;
	--line-soft: #e9eef3;
	--paper: #f4f7fa;
	--white: #fff;
	--accent: #0a7ea4;
	--accent-dark: #086685;
	--accent-light: #6ccfea;
	--accent-tint: rgba(10, 126, 164, .08);
	--led-ok: #43d08a;
	--led-warn: #f2a93b;

	--font: "Be Vietnam Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wrap: 1200px;
	--gutter: clamp(20px, 4vw, 40px);
	--radius: 8px;
	--radius-lg: 14px;
	--section: clamp(72px, 9vw, 120px);
	--header-h: 76px;
	--shadow: 0 1px 2px rgba(19, 35, 58, .04), 0 12px 32px -12px rgba(19, 35, 58, .16);
	--shadow-lg: 0 2px 4px rgba(19, 35, 58, .04), 0 32px 64px -24px rgba(19, 35, 58, .3);
	--grid-dark: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 40px 40px;
}

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

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.22; letter-spacing: -.015em; font-weight: 700; }
h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.005em; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 2px; 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: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--text { max-width: calc(760px + var(--gutter) * 2); }
.wrap--media { max-width: calc(980px + var(--gutter) * 2); }

.icon { flex: none; }
.tl { display: inline-block; }

/* Section label: a small rack-unit bar + sentence-case text */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: .9375rem; font-weight: 600; color: var(--accent); }
.kicker::before { content: ""; width: 22px; height: 6px; border-radius: 2px; background: currentColor; box-shadow: 26px 0 0 -1px rgba(10, 126, 164, .25); margin-right: 26px; }
.kicker--light { color: var(--accent-light); }
.kicker--light::before { box-shadow: 26px 0 0 -1px rgba(108, 207, 234, .3); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 13px 22px; border: 1.5px solid transparent; border-radius: var(--radius);
	background: var(--accent); color: var(--white);
	font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}
.btn:hover { background: var(--accent-dark); color: var(--white); }
.btn .icon { transition: transform .15s; }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--lg { padding: 16px 26px; font-size: 1.03125rem; }
.btn--small { padding: 10px 18px; font-size: .9375rem; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: #e3f6fb; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .32); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--white); color: var(--white); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { background: var(--white); border-color: var(--ink); color: var(--ink); }
.btn--block { width: 100%; }

.text-link { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; white-space: nowrap; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink-deep); color: rgba(255, 255, 255, .66); font-size: .8125rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 38px; }
.topbar-right { display: flex; gap: 24px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-item .icon { color: var(--accent-light); }
a.topbar-item:hover { color: var(--white); }
@media (max-width: 900px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--ink); color: var(--white);
	border-bottom: 1px solid rgba(255, 255, 255, .07);
	transition: box-shadow .2s, background-color .2s;
}
.site-header.is-scrolled { background: rgba(19, 35, 58, .97); box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .35); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); text-decoration: none; font-weight: 700; font-size: 1.375rem; letter-spacing: -.025em; }
.brand:hover { color: var(--white); }
.brand-mark { display: inline-grid; gap: 3px; width: 24px; }
.brand-mark i { display: block; height: 5px; border-radius: 1.5px; background: var(--white); }
.brand-mark i:nth-child(2) { background: var(--accent-light); }
.custom-logo-link { display: inline-flex; background: var(--white); padding: 5px 10px; border-radius: 6px; }
.custom-logo { max-height: 46px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav .menu { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a { position: relative; display: block; padding: 8px 12px; color: rgba(255, 255, 255, .8); text-decoration: none; font-size: .9375rem; font-weight: 500; border-radius: 6px; }
.site-nav .menu a:hover,
.site-nav .current-menu-item > a { color: var(--white); background: rgba(255, 255, 255, .07); }
.site-nav .sub-menu { display: none; }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 700; font-size: .9375rem; white-space: nowrap; }
.nav-phone:hover { color: var(--accent-light); }
.nav-phone .icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(108, 207, 234, .12); color: var(--accent-light); }

.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid rgba(255, 255, 255, .25); color: var(--white); border-radius: var(--radius); padding: 8px; cursor: pointer; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

@media (max-width: 1140px) { .nav-phone { display: none; } }
@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 16px;
		background: var(--ink); padding: 12px var(--gutter) 24px;
		border-bottom: 1px solid rgba(255, 255, 255, .1);
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
	}
	.site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu a { padding: 13px 4px; font-size: 1.0625rem; border-bottom: 1px solid rgba(255, 255, 255, .07); border-radius: 0; }
	.nav-actions { flex-direction: column; align-items: stretch; }
	.nav-phone { display: inline-flex; justify-content: center; padding: 6px; }
	.nav-actions .btn { padding: 14px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--white); padding: clamp(56px, 7vw, 104px) 0 0; overflow: hidden; isolation: isolate; }
.hero-grid-bg {
	position: absolute; inset: 0; z-index: -1; background: var(--grid-dark);
	-webkit-mask-image: radial-gradient(ellipse 70% 70% at 75% 35%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 70% at 75% 35%, #000 20%, transparent 75%);
}
.hero::before {
	content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -160px; top: -200px;
	background: radial-gradient(circle, rgba(10, 126, 164, .35), transparent 62%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero-title { font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.1; letter-spacing: -.032em; margin-bottom: .45em; text-wrap: balance; }
.hero-lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.6; color: rgba(255, 255, 255, .76); max-width: 34em; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-call { display: flex; align-items: center; gap: 14px; margin: 32px 0 0; }
.hero-call-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(108, 207, 234, .4); color: var(--accent-light); }
.hero-call small { display: block; font-size: .8125rem; color: rgba(255, 255, 255, .55); line-height: 1.3; }
.hero-call a { color: var(--white); font-weight: 700; font-size: 1.25rem; text-decoration: none; letter-spacing: .01em; }
.hero-call a:hover { color: var(--accent-light); }

.hero-points {
	list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 32px 0 40px;
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
	border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero-points li { display: flex; gap: 16px; align-items: flex-start; font-size: .9375rem; color: rgba(255, 255, 255, .62); line-height: 1.55; }
.hero-points strong { display: block; color: var(--white); font-weight: 600; font-size: 1.0625rem; margin-bottom: 3px; }
.hp-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(108, 207, 234, .1); color: var(--accent-light); }

/* ---------- The rack (signature illustration) ---------- */
.rack { margin: 0; width: 100%; max-width: 500px; justify-self: end; }
.rack-head {
	display: flex; justify-content: space-between; align-items: center;
	padding: 11px 18px; background: #0b1726; border: 1px solid #243d5c; border-bottom: 0;
	border-radius: 10px 10px 0 0; font-size: .8125rem;
}
.rack-head-name { color: var(--white); font-weight: 600; letter-spacing: .01em; }
.rack-head-status { display: inline-flex; align-items: center; gap: 8px; color: var(--led-ok); font-weight: 500; }
.rack-head-status b { width: 8px; height: 8px; border-radius: 50%; background: var(--led-ok); box-shadow: 0 0 0 4px rgba(67, 208, 138, .18); }
.rack-frame {
	display: grid; grid-template-columns: 16px minmax(0, 1fr) 16px;
	border: 1px solid #243d5c; border-radius: 0 0 10px 10px; overflow: hidden;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.rack-rail {
	background-color: var(--accent);
	background-image: linear-gradient(to bottom, transparent 0 6px, var(--ink-deep) 6px 11px, transparent 11px 16px);
	background-size: 6px 16px; background-repeat: repeat-y; background-position: center 4px;
}
.rack-units { display: flex; flex-direction: column; gap: 7px; padding: 9px 5px; background: #0b1726; }
.rack-unit {
	display: grid; grid-template-columns: 10px minmax(0, 1fr) auto auto 10px; align-items: center; gap: 14px;
	padding: 17px 12px; border-radius: 4px;
	background: linear-gradient(180deg, #264262 0%, #1c3250 100%);
	border: 1px solid #34547c;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}
.ru-screw { width: 9px; height: 9px; border-radius: 50%; background: #3d5d85; box-shadow: inset 0 0 0 2px #2a4466; }
.ru-label { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ru-label strong { font-weight: 600; font-size: .96875rem; color: var(--white); }
.ru-label small { font-size: .75rem; color: var(--accent-light); opacity: .9; }
.ru-face { display: flex; gap: 3px; align-items: center; }
.ru-face i { display: block; width: 3px; height: 22px; border-radius: 1px; background: #0f1d30; }
.rack-unit--network .ru-face i { width: 11px; height: 9px; box-shadow: inset 0 -2px 0 #3d5d85; }
.rack-unit--server .ru-face i { width: 7px; height: 20px; box-shadow: inset 0 3px 0 #3d5d85; }
.ru-leds { display: flex; gap: 5px; }
.ru-leds b { width: 7px; height: 7px; border-radius: 50%; background: var(--led-ok); box-shadow: 0 0 6px var(--led-ok); }
.ru-leds b + b { background: var(--led-warn); box-shadow: 0 0 6px var(--led-warn); }
.rack-caption { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: .875rem; line-height: 1.5; color: rgba(255, 255, 255, .62); }
.rack-caption strong { color: var(--white); font-weight: 600; }
.rack-shield { flex: none; width: 16px; height: 22px; margin-top: 1px; border: 2px solid var(--accent-light); border-top-width: 5px; border-radius: 2px 2px 8px 8px; }

@media (max-width: 520px) {
	.ru-face { display: none; }
	.rack-unit { gap: 10px; padding: 14px 8px; }
}

/* One orchestrated moment: units slide into the rack bottom-up, LEDs light, the security frame locks. */
@media (prefers-reduced-motion: no-preference) {
	.hero-rack .rack-unit { animation: ru-in .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 150ms + 250ms); }
	.hero-rack .ru-leds b { animation: led-on .01s linear both; animation-delay: calc(var(--i) * 150ms + 800ms); }
	.hero-rack .ru-leds b + b { animation-delay: calc(var(--i) * 150ms + 920ms); }
	.hero-rack .rack-rail { animation: rail-lock .5s ease-out both; animation-delay: 1.5s; }
	.hero-rack .rack-head-status,
	.hero-rack .rack-caption { animation: fade-in .5s ease-out both; animation-delay: 1.7s; }
}
@keyframes ru-in { from { transform: translateX(56px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes led-on { from { background: #0f1d30; box-shadow: none; } }
@keyframes rail-lock { from { background-color: #2a4466; } to { background-color: var(--accent); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Mini rack (service tabs) */
.mini-rack { display: grid; grid-template-columns: 5px 1fr 5px; gap: 3px; width: 40px; height: 50px; }
.mr-rail { display: block; background: var(--line); border-radius: 1px; }
.mr-units { display: grid; grid-template-rows: repeat(4, 1fr); gap: 3px; }
.mr-u { display: block; background: var(--line); border-radius: 2px; }
.mini-rack--security .mr-rail,
.mini-rack--infra .mr-u--infra,
.mini-rack--platform .mr-u--platform { background: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: 56px 0 var(--section); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 660px; }
.section-title { font-size: clamp(1.875rem, 3.4vw, 2.75rem); line-height: 1.18; letter-spacing: -.028em; text-wrap: balance; }
.section-lead { font-size: 1.125rem; color: var(--steel); margin: 0; max-width: 40em; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.about-copy .section-title { margin-bottom: .75em; }
.about-text p { color: var(--steel); font-size: 1.09375rem; max-width: 38em; }
.about-text p:first-child { color: var(--ink); font-size: 1.1875rem; line-height: 1.6; }

.profile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.profile-head { display: flex; align-items: center; gap: 12px; padding: 18px 26px; background: var(--ink); color: var(--white); font-weight: 600; }
.profile-head .brand-mark { width: 20px; }
.profile-head .brand-mark i { height: 4px; }
.profile-list { margin: 0; padding: 6px 26px 10px; }
.profile-list > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: .96875rem; }
.profile-list > div:last-child { border-bottom: 0; }
.profile-list dt { color: var(--muted); font-size: .875rem; padding-top: 1px; }
.profile-list dd { margin: 0; font-weight: 500; }
.profile-list a { color: var(--ink); text-decoration: none; }
.profile-list a:hover { color: var(--accent); }

.values { margin: clamp(56px, 7vw, 88px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.values > div { padding-top: 22px; border-top: 2px solid var(--ink); }
.values dt { font-weight: 700; font-size: 1.125rem; margin-bottom: 6px; }
.values dd { margin: 0; color: var(--steel); }

/* ---------- Services explorer ---------- */
.services { background: var(--paper); }
.svc { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 24px; align-items: start; }
.svc-tabs { display: flex; flex-direction: column; gap: 12px; }
.svc-tab {
	display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: center;
	width: 100%; padding: 20px 22px; text-align: left; cursor: pointer;
	background: var(--white); color: var(--ink); font: inherit;
	border: 1.5px solid var(--line); border-radius: 12px;
	transition: border-color .15s, box-shadow .15s;
}
.svc-tab:hover { border-color: #b9c7d5; }
.svc-tab[aria-selected="true"] { border-color: var(--accent); box-shadow: 0 16px 32px -20px rgba(10, 126, 164, .55); }
.svc-tab-text strong { display: block; font-size: 1.0625rem; font-weight: 700; line-height: 1.35; }
.svc-tab-text small { display: block; margin-top: 3px; font-size: .875rem; color: var(--muted); line-height: 1.45; }

.svc-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); min-height: 100%; }
.svc-panel[hidden] { display: none; }
.svc-visual { position: relative; display: flex; align-items: center; justify-content: center; padding: 24px 12px; background: var(--grid-dark), var(--ink); min-height: 360px; }
.svc-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-visual .ill { flex: 1 1 auto; width: 100%; max-width: 420px; }
.svc-body { padding: clamp(28px, 3.5vw, 44px); }
.svc-title { font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: .5em; }
.svc-desc { color: var(--steel); }
.svc-scope { list-style: none; margin: 22px 0 30px; padding: 0; display: grid; gap: 12px; }
.svc-scope li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.svc-scope .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); margin-top: 1px; }
.svc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

/* Without JavaScript every service is shown, no tabs. */
html:not(.js) .svc { grid-template-columns: 1fr; }
html:not(.js) .svc-tabs { display: none; }
html:not(.js) .svc-panels { display: grid; gap: 24px; }
html:not(.js) .svc-panel[hidden] { display: grid; }

/* Illustrations */
.ill text { font-family: var(--font); }
.ill-label { fill: rgba(255, 255, 255, .88); font-size: 13px; font-weight: 500; }
.ill-label--dim { fill: rgba(255, 255, 255, .5); font-size: 11.5px; }
.ill-label--strong { fill: var(--white); font-weight: 600; }
.ill-label--small { font-size: 12px; }
.ill-label--tiny { fill: rgba(255, 255, 255, .85); font-size: 10.5px; }
.ill-zone { fill: none; stroke: rgba(108, 207, 234, .35); stroke-width: 1.5; }
.ill-zone--1 { stroke-dasharray: 6 5; }
.ill-zone--2 { fill: rgba(255, 255, 255, .03); }
.ill-zone--3 { fill: rgba(108, 207, 234, .08); stroke: var(--accent-light); }
.ill-accent-fill { fill: var(--accent); }
.ill-check { fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ill-threat path { fill: none; stroke: #f0906f; stroke-width: 1.5; stroke-dasharray: 3 4; }
.ill-threat .ill-x { stroke-dasharray: none; stroke-width: 2; stroke-linecap: round; }
.ill-leds circle { fill: var(--led-ok); }
.ill-leds circle + circle { fill: var(--led-warn); }
.ill-link path { fill: none; stroke: rgba(108, 207, 234, .5); stroke-width: 1.5; }
.ill-node { fill: #1f3858; stroke: rgba(255, 255, 255, .22); stroke-width: 1.2; }
.ill-node--accent { fill: var(--accent); stroke: var(--accent-light); }
.ill-ports rect { fill: #0e1b2d; stroke: rgba(108, 207, 234, .5); stroke-width: .8; }
.ill-rule { stroke: rgba(255, 255, 255, .3); stroke-width: 1.5; }
.ill-wave { fill: none; stroke: var(--accent-light); stroke-width: 2; stroke-linecap: round; }
.ill-dot { fill: var(--accent-light); }
.ill-orbit { fill: none; stroke: rgba(255, 255, 255, .1); stroke-dasharray: 2 6; }
.ill-packet { fill: var(--led-warn); }
.ill-hubmark rect { fill: var(--white); }
.ill-hubmark .ill-hubmark-a { fill: #bdefff; }

/* ---------- Sectors ---------- */
.sector-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 20px; }
.sector { padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); transition: border-color .15s, box-shadow .15s; }
.sector:hover { border-color: #b9c7d5; box-shadow: var(--shadow); }
.sector-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 14px; background: var(--accent-tint); color: var(--accent); }
.sector h3 { font-size: 1.125rem; margin-bottom: .4em; }
.sector p { margin: 0; color: var(--steel); font-size: .96875rem; }

/* ---------- Approach ---------- */
.approach { position: relative; background: var(--grid-dark), var(--ink); color: var(--white); }
.approach-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.approach-head .section-title { margin: 0; }
.approach .section-lead { color: rgba(255, 255, 255, .7); margin-bottom: 24px; }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.principle { padding: 30px 28px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.principle-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 22px; border-radius: 12px; border: 1.5px solid rgba(108, 207, 234, .4); color: var(--accent-light); }
.principle h3 { font-size: 1.1875rem; }
.principle p { margin: 0; color: rgba(255, 255, 255, .68); font-size: .96875rem; }

/* ---------- Process ---------- */
.process { background: var(--paper); }
.steps { position: relative; list-style: none; margin: 0; padding: 30px 0 0; display: grid; grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr)); gap: 18px; }
.steps::before { content: ""; position: absolute; top: 7px; left: 26px; right: 26px; height: 2px; background: linear-gradient(90deg, var(--accent), rgba(10, 126, 164, .25)); }
.step { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step::before { content: ""; position: absolute; top: -30px; left: 20px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--accent); }
.step-no { font-size: 1.75rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--accent); margin-bottom: 16px; }
.step h3 { margin-bottom: .35em; font-size: 1.125rem; }
.step p { margin: 0; color: var(--steel); font-size: .9375rem; }
.step p:not(.step-out) { margin-bottom: 18px; }
.step .step-out { display: flex; gap: 8px; align-items: flex-start; margin-top: auto; padding: 10px 12px; border-radius: 8px; background: var(--accent-tint); color: var(--accent-dark); font-size: .84375rem; font-weight: 600; line-height: 1.4; }
.step-out .icon { margin-top: 1px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--accent-dark), var(--accent)); color: var(--white); padding: clamp(48px, 6vw, 72px) 0; isolation: isolate; }
.cta-band::after {
	content: ""; position: absolute; z-index: -1; right: -40px; top: 50%; width: 420px; height: 260px; transform: translateY(-50%);
	background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .12) 0 30px, transparent 30px 38px);
	border-left: 14px solid rgba(255, 255, 255, .12); border-radius: 6px;
	-webkit-mask-image: linear-gradient(90deg, #000, transparent); mask-image: linear-gradient(90deg, #000, transparent);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.5rem, 2.8vw, 2.125rem); letter-spacing: -.025em; margin-bottom: .35em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 36em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--light { color: var(--accent-dark); }
.cta-band .btn--ghost { border-color: rgba(255, 255, 255, .5); }

/* ---------- Partners ---------- */
.partners { padding: 56px 0; border-bottom: 1px solid var(--line); }
.partners-title { font-size: 1rem; font-weight: 600; color: var(--muted); text-align: center; margin-bottom: 28px; letter-spacing: 0; }
.partner-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 56px; }
.partner-logos img { max-height: 48px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.partner-logos li:hover img { filter: none; opacity: 1; }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 28px); }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); border-color: #c9d4df; }
.card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-2); text-decoration: none; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.03); }
.card-cover { position: relative; display: block; height: 100%; padding: 22px 24px; background: radial-gradient(circle at 88% 12%, rgba(10, 126, 164, .5), transparent 55%), var(--grid-dark), var(--ink); color: var(--white); }
.card-cover-label { position: relative; z-index: 1; display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .8125rem; font-weight: 600; color: rgba(255, 255, 255, .88); }
.card-cover-art { position: absolute; right: 24px; bottom: 22px; display: grid; gap: 7px; width: 42%; }
.card-cover-art i { display: block; height: 16px; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.card-cover-art i:nth-child(2) { background: var(--accent); }
.card-cover-art i::after { content: ""; float: right; width: 6px; height: 6px; margin: 5px 8px 0 0; border-radius: 50%; background: var(--led-ok); }
.card-cover-art i:nth-child(3)::after { background: var(--led-warn); }
.card:nth-child(3n+2) .card-cover-art i:nth-child(2) { background: rgba(255, 255, 255, .14); }
.card:nth-child(3n+2) .card-cover-art i:nth-child(1) { background: var(--accent); }
.card:nth-child(3n+3) .card-cover-art i:nth-child(2) { background: rgba(255, 255, 255, .14); }
.card:nth-child(3n+3) .card-cover-art i:nth-child(3) { background: var(--accent); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.card-meta { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: .84375rem; color: var(--muted); }
.card-cat { padding: 2px 10px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-dark); font-weight: 600; }
.card-title { font-size: 1.125rem; line-height: 1.4; margin: 0 0 10px; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--accent); }
.card-excerpt { color: var(--steel); font-size: .9375rem; margin: 0 0 18px; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; text-decoration: none; }
.card-more:hover .icon { transform: translateX(3px); }
.card-more .icon { transition: transform .15s; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-more { color: var(--steel); margin-top: 8px; }
.faq-more a { font-weight: 600; }
.faq-list { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 24px; transition: border-color .15s, box-shadow .15s; }
.faq details[open] { border-color: var(--accent); box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 1.0625rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-tint); font-weight: 500; font-size: 1.25rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--steel); max-width: 44em; }

/* ---------- Contact ---------- */
.contact { background: var(--grid-dark), var(--ink); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact .section-lead { color: rgba(255, 255, 255, .72); margin-bottom: 36px; }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-lines li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.cl-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(108, 207, 234, .12); color: var(--accent-light); }
.contact-lines small { display: block; font-size: .8125rem; color: rgba(255, 255, 255, .55); }
.contact-lines a { color: var(--white); font-weight: 600; font-size: 1.09375rem; text-decoration: none; word-break: break-word; }
.contact-lines a:hover { color: var(--accent-light); }
.map { margin-top: 20px; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; }

.contact-form { background: var(--white); color: var(--ink); border-radius: 18px; padding: clamp(26px, 4vw, 42px); box-shadow: 0 40px 80px -32px rgba(0, 0, 0, .55); }
.form-head { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.form-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; letter-spacing: -.02em; }
.form-head p { margin: 0; color: var(--muted); font-size: .9375rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin: 0 0 16px; }
.field label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 7px; }
.req { color: #c2410c; }
.field input,
.field select,
.field textarea,
.search-form input[type="search"] {
	width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius);
	background: var(--paper); color: var(--ink); font: 400 1rem/1.4 var(--font);
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #c3cfdb; }
.field input:focus,
.field select:focus,
.field textarea:focus,
.search-form input:focus { outline: none; background: var(--white); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(10, 126, 164, .15); }
.field textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute; left: -9999px; }
.form-foot { margin: 14px 0 0; font-size: .8125rem; color: var(--muted); text-align: center; }
.form-notice { padding: 12px 14px; border-radius: var(--radius); font-size: .9375rem; margin-bottom: 18px; }
.form-notice--ok { background: #e6f6ee; color: #166240; border: 1px solid #b4e3cb; }
.form-notice--error { background: #fdf0ea; color: #9a3412; border: 1px solid #f6c9b3; }
.need-flash { animation: need-flash 1s ease-out; }
@keyframes need-flash { from { box-shadow: 0 0 0 5px rgba(10, 126, 164, .35); } }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; background: var(--grid-dark), var(--ink); color: var(--white); padding: clamp(56px, 7vw, 96px) 0 clamp(44px, 5vw, 64px); }
.page-title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.18; letter-spacing: -.028em; margin: 0; text-wrap: balance; }
.page-hero .section-lead { margin-top: 14px; color: rgba(255, 255, 255, .72); }
.post-meta { color: rgba(255, 255, 255, .6); font-size: .9375rem; margin-bottom: 14px; }
.post-meta a { color: var(--accent-light); }
.single-media { margin-top: -28px; position: relative; }
.single-media img { border-radius: var(--radius-lg); width: 100%; box-shadow: var(--shadow-lg); }

.entry-content { padding-top: 48px; padding-bottom: 24px; font-size: 1.0625rem; line-height: 1.78; }
.entry-content > * { margin-top: 0; margin-bottom: 1.25em; }
.entry-content h2 { font-size: 1.625rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.3125rem; margin-top: 1.6em; }
.entry-content ul,
.entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .35em; }
.entry-content li::marker { color: var(--accent); }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote { margin-left: 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--accent); color: var(--steel); font-size: 1.125rem; }
.entry-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.entry-content th,
.entry-content td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--paper); }
.entry-content .alignwide { max-width: 980px; margin-left: auto; margin-right: auto; }
.entry-content figcaption { font-size: .875rem; color: var(--muted); margin-top: 8px; }

.cta-box { margin-top: 32px; margin-bottom: 48px; padding-top: 34px; padding-bottom: 34px; background: var(--ink); background-image: radial-gradient(circle at 100% 0, rgba(10, 126, 164, .5), transparent 60%); color: var(--white); border-radius: var(--radius-lg); max-width: 760px; }
.cta-box h2 { font-size: 1.375rem; }
.cta-box p { color: rgba(255, 255, 255, .74); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 64px; }
.post-nav small { display: block; color: var(--muted); }
.post-nav a { font-weight: 600; color: var(--ink); text-decoration: none; }
.post-nav a:hover { color: var(--accent); }
.post-nav-next { text-align: right; grid-column: 2; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.pagination .page-numbers.current { background: var(--ink); color: var(--white); border-color: var(--ink); }

.search-form { display: flex; gap: 8px; max-width: 460px; }
.page-hero .search-form input[type="search"] { background: var(--white); }
.empty-state { padding: 24px 0; color: var(--steel); }
.empty-note { padding: 20px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--white); }

.comments { padding-bottom: 64px; }
.comment-list { padding-left: 0; list-style: none; }
.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius); font: inherit; }
.comment-form .submit { background: var(--accent); color: var(--white); border: 0; padding: 12px 20px; border-radius: var(--radius); font: 600 1rem var(--font); cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: rgba(255, 255, 255, .66); font-size: .9375rem; padding: clamp(56px, 6vw, 80px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.2fr 1fr .8fr; gap: 40px; padding-bottom: 48px; }
.footer-about { margin: 18px 0 16px; max-width: 30em; line-height: 1.6; }
.footer-name { font-size: .875rem; }
.footer-name strong { color: var(--white); font-weight: 600; }
.footer-title { font-size: 1rem; color: var(--white); margin-bottom: 16px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--accent-light); }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-links li,
.footer-services li { margin-bottom: 9px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .09); font-size: .875rem; }
.footer-bottom p { margin: 0; }

/* ---------- Quick contact ---------- */
.quick-contact { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.qc {
	display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px;
	border-radius: 999px; color: var(--white); text-decoration: none; font-weight: 600; font-size: .9375rem;
	box-shadow: 0 10px 24px -6px rgba(13, 26, 43, .45);
}
.qc--zalo { background: #0068ff; }
.qc--call { background: var(--accent); }
.qc:hover { color: var(--white); filter: brightness(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.svc { grid-template-columns: 1fr; }
	.svc-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.svc-tab-text small { display: none; }
	.sector-list,
	.principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: 1fr; gap: 14px; padding: 0 0 0 36px; }
	.steps::before { top: 10px; bottom: 10px; left: 7px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent), rgba(10, 126, 164, .25)); }
	.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 8px; padding: 22px 24px; }
	.step::before { top: 26px; left: -36px; }
	.step-no { grid-row: span 3; margin: 0; font-size: 1.5rem; }
	.step .step-out { margin-top: 14px; justify-self: start; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.hero-grid,
	.about-grid,
	.approach-grid,
	.faq-grid,
	.contact-grid { grid-template-columns: 1fr; }
	.rack { justify-self: start; }
	.approach-head { grid-template-columns: 1fr; gap: 20px; }
	.hero-points { grid-template-columns: 1fr; gap: 20px; }
	.values { grid-template-columns: 1fr; gap: 0; }
	.values > div { padding: 20px 0; }
	.post-grid { grid-template-columns: 1fr 1fr; }
	.svc-panel { grid-template-columns: 1fr; }
	.svc-visual { min-height: 260px; }
}
@media (max-width: 720px) {
	.svc-tabs { grid-template-columns: 1fr; gap: 8px; }
	.svc-tab { padding: 14px 16px; }
	.mini-rack { width: 32px; height: 40px; }
	.svc-tab { grid-template-columns: 32px minmax(0, 1fr); }
	.sector-list,
	.principles,
	.post-grid,
	.field-row,
	.footer-grid { grid-template-columns: 1fr; }
	.profile-list > div { grid-template-columns: 1fr; gap: 2px; }
	.section-head--row { align-items: flex-start; }
	.step { grid-template-columns: 1fr; }
	.step-no { grid-row: auto; margin-bottom: 10px; }
	.cta-actions,
	.cta-actions .btn { width: 100%; }

	body { padding-bottom: 60px; }
	.quick-contact { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; }
	.qc { flex: 1; justify-content: center; border-radius: 0; padding: 16px; box-shadow: none; }
}

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