/*
Theme Name: Ni Hao Global Link
Theme URI: https://nihaoglobalink.com/
Description: Corporate child theme for Ni Hao Global Link — an international business website with a native English default, a full Simplified Chinese edition, and a language switcher that keeps visitors on the same page.
Author: Ni Hao Global Link
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Tested up to: 7.1
License: GNU General Public License v2 or later
Text Domain: nhg
Tags: business, corporate, multilingual, block-theme
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	/* Brand */
	--nhg-ink: #0a1520;
	--nhg-navy: #0a2540;
	--nhg-navy-600: #123a5e;
	--nhg-brand: #1450d8;
	--nhg-brand-600: #0f3fae;
	--nhg-brand-050: #eef3ff;
	--nhg-accent: #e0a33c;
	--nhg-accent-soft: #fdf3e2;

	/* Neutrals */
	--nhg-text: #16202c;
	--nhg-text-muted: #5a6675;
	--nhg-line: #e4e8ee;
	--nhg-line-strong: #cfd6df;
	--nhg-bg: #ffffff;
	--nhg-bg-soft: #f7f8fa;
	--nhg-bg-alt: #f2f5f9;

	/* Shape */
	--nhg-radius-sm: 8px;
	--nhg-radius: 14px;
	--nhg-radius-lg: 22px;
	--nhg-shadow-sm: 0 1px 2px rgba(10, 21, 32, .06), 0 1px 3px rgba(10, 21, 32, .05);
	--nhg-shadow: 0 10px 30px rgba(10, 21, 32, .08), 0 2px 8px rgba(10, 21, 32, .05);
	--nhg-shadow-lg: 0 24px 60px rgba(10, 21, 32, .14);

	/* Layout */
	--nhg-max: 1200px;
	--nhg-gutter: 24px;
	--nhg-header-h: 76px;

	/* Type */
	--nhg-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--nhg-font-zh: "Inter", -apple-system, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--nhg-bg);
	color: var(--nhg-text);
	font-family: var(--nhg-font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: "kern" 1, "liga" 1;
}

html[lang^="zh"] body { font-family: var(--nhg-font-zh); line-height: 1.8; }

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

a { color: var(--nhg-brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--nhg-brand-600); }

:where(a, button, summary, input, textarea, select):focus-visible {
	outline: 3px solid rgba(20, 80, 216, .45);
	outline-offset: 2px;
	border-radius: 4px;
}

.nhg-container {
	width: 100%;
	max-width: var(--nhg-max);
	margin-inline: auto;
	padding-inline: var(--nhg-gutter);
}

.nhg-sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.nhg-skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 200;
	background: var(--nhg-ink); color: #fff; padding: 10px 18px;
	border-radius: var(--nhg-radius-sm); font-weight: 600; text-decoration: none;
	transition: top .18s ease;
}
.nhg-skip-link:focus { top: 12px; color: #fff; }

/* ==========================================================================
   3. Typography scale
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	color: var(--nhg-ink);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.02em;
	text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -.01em; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.nhg-lead {
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	line-height: 1.7;
	color: var(--nhg-text-muted);
	max-width: 62ch;
}

.nhg-eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--nhg-brand);
}
.nhg-eyebrow--on-dark { color: #8fb4ff; }
html[lang^="zh"] .nhg-eyebrow { letter-spacing: .18em; }

.nhg-section-title { max-width: 30ch; }
.nhg-prose p { color: var(--nhg-text-muted); }

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.nhg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 14px 26px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	background: var(--nhg-brand);
	color: #fff;
	font-size: .95rem;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background .18s ease, transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
}
.nhg-btn:hover {
	background: var(--nhg-brand-600);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(20, 80, 216, .28);
}
.nhg-btn--ghost {
	background: transparent;
	color: var(--nhg-ink);
	border-color: var(--nhg-line-strong);
}
.nhg-btn--ghost:hover { background: var(--nhg-ink); border-color: var(--nhg-ink); color: #fff; box-shadow: none; }
.nhg-btn--on-dark { background: #fff; color: var(--nhg-navy); }
.nhg-btn--on-dark:hover { background: #eef3ff; color: var(--nhg-navy); box-shadow: 0 10px 24px rgba(0, 0, 0, .28); }
.nhg-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.nhg-btn--outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; box-shadow: none; }
.nhg-btn--sm { padding: 10px 18px; font-size: .875rem; }
.nhg-btn--block { width: 100%; }

.nhg-btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ==========================================================================
   5. Header
   ========================================================================== */
.nhg-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .88);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--nhg-line);
}
.nhg-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: var(--nhg-header-h);
}

.nhg-brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	flex-shrink: 0;
	color: var(--nhg-ink);
	text-decoration: none;
}
.nhg-brand:hover { color: var(--nhg-ink); }
.nhg-brand__mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: linear-gradient(140deg, var(--nhg-navy), var(--nhg-brand));
	color: #fff;
	font-size: .95rem;
	font-weight: 800;
	letter-spacing: -.04em;
}
.nhg-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.nhg-brand__name { font-size: 1.02rem; font-weight: 750; letter-spacing: -.02em; }
.nhg-brand__tag {
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--nhg-text-muted);
}

.nhg-nav { margin-left: auto; }
.nhg-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nhg-nav__list a {
	display: block;
	padding: 9px 14px;
	border-radius: 999px;
	color: var(--nhg-text);
	font-size: .925rem;
	font-weight: 600;
	text-decoration: none;
	transition: background .16s ease, color .16s ease;
}
.nhg-nav__list a:hover { background: var(--nhg-bg-alt); color: var(--nhg-brand); }
.nhg-nav__list a[aria-current="page"] { color: var(--nhg-brand); background: var(--nhg-brand-050); }

.nhg-header__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.nhg-lang {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 3px;
	border: 1px solid var(--nhg-line);
	border-radius: 999px;
	background: var(--nhg-bg-soft);
}
.nhg-lang a {
	padding: 5px 11px;
	border-radius: 999px;
	color: var(--nhg-text-muted);
	font-size: .8rem;
	font-weight: 650;
	text-decoration: none;
	transition: background .16s ease, color .16s ease;
}
.nhg-lang a:hover { color: var(--nhg-brand); }
.nhg-lang a[aria-current="true"] { background: #fff; color: var(--nhg-ink); box-shadow: var(--nhg-shadow-sm); }
html[lang^="zh"] .nhg-lang a { font-size: .82rem; }

.nhg-burger {
	display: none;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid var(--nhg-line);
	border-radius: 11px;
	background: #fff;
	cursor: pointer;
}
.nhg-burger span {
	position: relative;
	display: block;
	width: 18px;
	height: 2px;
	background: var(--nhg-ink);
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}
.nhg-burger span::before,
.nhg-burger span::after {
	content: "";
	position: absolute;
	left: 0;
	width: 18px;
	height: 2px;
	background: var(--nhg-ink);
	border-radius: 2px;
	transition: transform .2s ease;
}
.nhg-burger span::before { top: -6px; }
.nhg-burger span::after { top: 6px; }
.nhg-burger[aria-expanded="true"] span { background: transparent; }
.nhg-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nhg-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   6. Hero
   ========================================================================== */
.nhg-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(64px, 8vw, 116px) clamp(64px, 8vw, 112px);
	background:
		radial-gradient(900px 420px at 8% -10%, rgba(20, 80, 216, .30), transparent 62%),
		radial-gradient(700px 380px at 96% 8%, rgba(224, 163, 60, .18), transparent 60%),
		linear-gradient(160deg, #071a2c 0%, #0a2540 46%, #10365c 100%);
	color: #fff;
}
.nhg-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
	pointer-events: none;
}
.nhg-hero > .nhg-container { position: relative; z-index: 1; }
.nhg-hero h1 { color: #fff; max-width: 20ch; }
.nhg-hero .nhg-lead { color: rgba(228, 236, 248, .84); }
.nhg-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 22px;
	padding: 7px 15px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 999px;
	background: rgba(255, 255, 255, .07);
	color: #cfe0ff;
	font-size: .78rem;
	font-weight: 650;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.nhg-hero__eyebrow::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #6ea8ff;
	box-shadow: 0 0 0 4px rgba(110, 168, 255, .22);
}
.nhg-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

/* Hero panel */
.nhg-panel {
	position: relative;
	padding: 26px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: var(--nhg-radius-lg);
	background: rgba(255, 255, 255, .06);
	box-shadow: 0 30px 70px rgba(0, 0, 0, .3);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.nhg-panel__label {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 18px;
	color: rgba(255, 255, 255, .58);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.nhg-panel__row {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	padding: 13px 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
}
.nhg-panel__row:first-of-type { border-top: 0; }
.nhg-panel__icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: rgba(110, 168, 255, .16);
	color: #9dc0ff;
	font-size: .85rem;
	font-weight: 700;
}
.nhg-panel__title { color: #fff; font-size: .95rem; font-weight: 650; line-height: 1.35; }
.nhg-panel__meta { color: rgba(226, 236, 250, .62); font-size: .82rem; line-height: 1.5; }

/* ==========================================================================
   7. Sections
   ========================================================================== */
.nhg-section { padding-block: clamp(56px, 7vw, 96px); }
.nhg-section--soft { background: var(--nhg-bg-soft); }
.nhg-section--alt { background: var(--nhg-bg-alt); }
.nhg-section--dark { background: var(--nhg-navy); color: rgba(255, 255, 255, .82); }
.nhg-section--dark h2, .nhg-section--dark h3 { color: #fff; }
.nhg-section--dark .nhg-lead { color: rgba(226, 236, 250, .78); }
.nhg-section--tight { padding-block: clamp(40px, 5vw, 64px); }

.nhg-section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.nhg-section-head--center { margin-inline: auto; text-align: center; }
.nhg-section-head h2 { margin-bottom: 14px; }

.nhg-grid { display: grid; gap: 22px; }
.nhg-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nhg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nhg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Cards */
.nhg-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 28px;
	border: 1px solid var(--nhg-line);
	border-radius: var(--nhg-radius);
	background: #fff;
	box-shadow: var(--nhg-shadow-sm);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nhg-card:hover {
	transform: translateY(-4px);
	border-color: #d7dfe9;
	box-shadow: var(--nhg-shadow);
}
.nhg-card__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 18px;
	border-radius: 13px;
	background: var(--nhg-brand-050);
	color: var(--nhg-brand);
	font-size: 1.15rem;
	font-weight: 700;
}
.nhg-card h3 { margin-bottom: 9px; }
.nhg-card p { color: var(--nhg-text-muted); font-size: .95rem; margin: 0; }
.nhg-card__foot { margin-top: auto; padding-top: 18px; }
.nhg-card__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--nhg-brand);
	font-size: .9rem;
	font-weight: 650;
	text-decoration: none;
}
.nhg-card__link:hover { gap: 11px; }
.nhg-card__link::after { content: "\2192"; transition: inherit; }

.nhg-card--flat { box-shadow: none; background: var(--nhg-bg-soft); }
.nhg-card--flush { padding: 24px; }

/* Feature list */
.nhg-feature { display: flex; gap: 15px; }
.nhg-feature__icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	margin-top: 2px;
	border-radius: 50%;
	background: rgba(20, 80, 216, .1);
	color: var(--nhg-brand);
	font-size: .78rem;
	font-weight: 700;
}
.nhg-feature h3 { font-size: 1.02rem; margin-bottom: 6px; }
.nhg-feature p { color: var(--nhg-text-muted); font-size: .93rem; margin: 0; }
.nhg-section--dark .nhg-feature p { color: rgba(226, 236, 250, .72); }
.nhg-section--dark .nhg-feature__icon { background: rgba(110, 168, 255, .16); color: #9dc0ff; }

.nhg-feature-list { display: grid; gap: 24px; }

/* Steps */
.nhg-steps { display: grid; gap: 20px; counter-reset: nhgstep; }
.nhg-step {
	position: relative;
	padding: 24px 26px 24px 74px;
	border: 1px solid var(--nhg-line);
	border-radius: var(--nhg-radius);
	background: #fff;
}
.nhg-step::before {
	counter-increment: nhgstep;
	content: counter(nhgstep, decimal-leading-zero);
	position: absolute;
	left: 24px;
	top: 24px;
	color: var(--nhg-brand);
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .06em;
}
.nhg-step h3 { font-size: 1rem; margin-bottom: 6px; }
.nhg-step p { color: var(--nhg-text-muted); font-size: .93rem; margin: 0; }

/* Split block */
.nhg-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}
.nhg-split__media {
	position: relative;
	overflow: hidden;
	border-radius: var(--nhg-radius-lg);
	background: linear-gradient(150deg, #0d2b48, #17416f 55%, #1f5490);
	aspect-ratio: 4 / 3;
}
.nhg-split__media::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .16), transparent 45%),
		radial-gradient(circle at 82% 78%, rgba(224, 163, 60, .22), transparent 50%);
}
.nhg-split__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
	background-size: 40px 40px;
}
.nhg-split__media-inner {
	position: relative;
	z-index: 1;
	display: grid;
	place-content: center;
	height: 100%;
	padding: 32px;
	text-align: center;
	color: #fff;
}
.nhg-split__media-inner strong { display: block; font-size: 1.15rem; font-weight: 700; }
.nhg-split__media-inner span { color: rgba(226, 236, 250, .72); font-size: .85rem; }

/* Checklist */
.nhg-checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.nhg-checklist li {
	position: relative;
	padding-left: 30px;
	color: var(--nhg-text-muted);
	font-size: .96rem;
	line-height: 1.55;
}
.nhg-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .38em;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: rgba(20, 80, 216, .1);
	box-shadow: inset 0 0 0 1.5px rgba(20, 80, 216, .35);
}
.nhg-checklist li::after {
	content: "";
	position: absolute;
	left: 5px;
	top: .68em;
	width: 7px;
	height: 4px;
	border-left: 2px solid var(--nhg-brand);
	border-bottom: 2px solid var(--nhg-brand);
	transform: rotate(-45deg);
}
.nhg-section--dark .nhg-checklist li { color: rgba(226, 236, 250, .78); }

/* CTA band */
.nhg-cta {
	position: relative;
	overflow: hidden;
	padding: clamp(36px, 5vw, 60px);
	border-radius: var(--nhg-radius-lg);
	background: linear-gradient(135deg, #0a2540, #123a5e 55%, #1b4f86);
	color: #fff;
}
.nhg-cta::after {
	content: "";
	position: absolute;
	right: -80px;
	top: -80px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(224, 163, 60, .26), transparent 68%);
}
.nhg-cta > * { position: relative; z-index: 1; }
.nhg-cta h2 { color: #fff; max-width: 22ch; }
.nhg-cta p { color: rgba(226, 236, 250, .82); max-width: 56ch; }

/* ==========================================================================
   8. Page header (inner pages)
   ========================================================================== */
.nhg-page-head {
	padding-block: clamp(48px, 6vw, 80px) clamp(36px, 4vw, 56px);
	background: linear-gradient(180deg, #f5f8fd, #fff);
	border-bottom: 1px solid var(--nhg-line);
}
.nhg-page-head h1 { max-width: 24ch; margin-bottom: 16px; }
.nhg-page-head .nhg-lead { margin-bottom: 0; }
.nhg-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	color: var(--nhg-text-muted);
	font-size: .82rem;
}
.nhg-crumbs a { color: var(--nhg-text-muted); text-decoration: none; }
.nhg-crumbs a:hover { color: var(--nhg-brand); }
.nhg-crumbs span[aria-hidden] { color: var(--nhg-line-strong); }

/* ==========================================================================
   9. Contact
   ========================================================================== */
.nhg-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}
.nhg-info-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.nhg-info-list li { padding: 18px 0; border-bottom: 1px solid var(--nhg-line); }
.nhg-info-list li:first-child { padding-top: 0; }
.nhg-info-list li:last-child { border-bottom: 0; }
.nhg-info-list dt,
.nhg-info-list .nhg-info-label {
	display: block;
	margin-bottom: 5px;
	color: var(--nhg-text-muted);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.nhg-info-list .nhg-info-value { font-size: 1rem; font-weight: 600; color: var(--nhg-ink); word-break: break-word; }
.nhg-info-list a.nhg-info-value { color: var(--nhg-brand); text-decoration: none; }
.nhg-info-list a.nhg-info-value:hover { text-decoration: underline; }

.nhg-tbc {
	display: inline-block;
	padding: 2px 8px;
	border: 1px dashed #d9a441;
	border-radius: 999px;
	background: var(--nhg-accent-soft);
	color: #8a5a12;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .01em;
	white-space: nowrap;
}

.nhg-form {
	padding: clamp(24px, 3vw, 36px);
	border: 1px solid var(--nhg-line);
	border-radius: var(--nhg-radius);
	background: #fff;
	box-shadow: var(--nhg-shadow);
}
.nhg-form h2 { font-size: 1.3rem; margin-bottom: 8px; }
.nhg-form__intro { color: var(--nhg-text-muted); font-size: .93rem; margin-bottom: 24px; }
.nhg-field { margin-bottom: 18px; }
.nhg-field label {
	display: block;
	margin-bottom: 7px;
	color: var(--nhg-ink);
	font-size: .875rem;
	font-weight: 650;
}
.nhg-field .nhg-req { color: #c0392b; }
.nhg-field input,
.nhg-field select,
.nhg-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--nhg-line-strong);
	border-radius: 10px;
	background: #fff;
	color: var(--nhg-text);
	font-family: inherit;
	font-size: .95rem;
	line-height: 1.5;
	transition: border-color .16s ease, box-shadow .16s ease;
}
.nhg-field textarea { min-height: 132px; resize: vertical; }
.nhg-field input:focus,
.nhg-field select:focus,
.nhg-field textarea:focus {
	outline: none;
	border-color: var(--nhg-brand);
	box-shadow: 0 0 0 3px rgba(20, 80, 216, .12);
}
.nhg-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nhg-form__note { margin-top: 14px; color: var(--nhg-text-muted); font-size: .8rem; }
.nhg-form__consent { display: flex; gap: 9px; align-items: flex-start; font-size: .85rem; color: var(--nhg-text-muted); cursor: pointer; }
.nhg-form__consent input { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; accent-color: var(--nhg-accent); }

.nhg-notice {
	padding: 14px 16px;
	margin-bottom: 22px;
	border-radius: 10px;
	font-size: .9rem;
	border: 1px solid;
}
.nhg-notice--ok { background: #edf9f1; border-color: #b7e3c6; color: #1d6b3a; }
.nhg-notice--err { background: #fdeeee; border-color: #f2c3c3; color: #9b2c2c; }

/* ==========================================================================
   10. FAQ
   ========================================================================== */
.nhg-faq { display: grid; gap: 0; }
.nhg-faq details { border-bottom: 1px solid var(--nhg-line); padding: 20px 0; }
.nhg-faq details:first-child { border-top: 1px solid var(--nhg-line); }
.nhg-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	color: var(--nhg-ink);
	font-size: 1rem;
	font-weight: 650;
	list-style: none;
	cursor: pointer;
}
.nhg-faq summary::-webkit-details-marker { display: none; }
.nhg-faq summary::after {
	content: "+";
	flex-shrink: 0;
	color: var(--nhg-brand);
	font-size: 1.35rem;
	font-weight: 400;
	line-height: 1;
	transition: transform .2s ease;
}
.nhg-faq details[open] summary::after { content: "\2212"; }
.nhg-faq details p { margin: 12px 0 0; color: var(--nhg-text-muted); font-size: .95rem; }

/* ==========================================================================
   11. Footer
   ========================================================================== */
.nhg-footer {
	padding-block: clamp(48px, 6vw, 72px) 0;
	background: #071a2c;
	color: rgba(226, 236, 250, .72);
}
.nhg-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 4vw, 48px);
	padding-bottom: 44px;
}
.nhg-footer .nhg-brand { color: #fff; }
.nhg-footer .nhg-brand:hover { color: #fff; }
.nhg-footer .nhg-brand__name { color: #fff; }
.nhg-footer .nhg-brand__tag { color: rgba(226, 236, 250, .5); }
.nhg-footer__blurb { margin-top: 18px; max-width: 34ch; font-size: .9rem; line-height: 1.7; }
.nhg-footer__heading {
    margin: 0 0 16px;
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    line-height: 1.4;
}
.nhg-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.nhg-footer ul a { color: rgba(226, 236, 250, .72); font-size: .92rem; text-decoration: none; }
.nhg-footer ul a:hover { color: #fff; text-decoration: underline; }
.nhg-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding-block: 22px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	color: rgba(226, 236, 250, .5);
	font-size: .82rem;
}
.nhg-footer__lang { display: inline-flex; gap: 12px; }
.nhg-footer__lang a { color: rgba(226, 236, 250, .66); text-decoration: none; }
.nhg-footer__lang a:hover { color: #fff; }
.nhg-footer__lang a[aria-current="true"] { color: #fff; font-weight: 700; }

/* ==========================================================================
   12. Utility
   ========================================================================== */
.nhg-mt-0 { margin-top: 0; }
.nhg-mb-0 { margin-bottom: 0; }
.nhg-text-center { text-align: center; }
.nhg-muted { color: var(--nhg-text-muted); }
.nhg-divider { height: 1px; margin-block: clamp(32px, 4vw, 56px); background: var(--nhg-line); border: 0; }
.nhg-pill {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--nhg-brand-050);
	color: var(--nhg-brand-600);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .04em;
}
.nhg-note {
	padding: 18px 20px;
	border: 1px dashed var(--nhg-line-strong);
	border-radius: var(--nhg-radius);
	background: var(--nhg-bg-soft);
	color: var(--nhg-text-muted);
	font-size: .88rem;
}
.nhg-note strong { color: var(--nhg-ink); }

/* ==========================================================================
   13. Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.nhg-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
}

@media (max-width: 980px) {
	.nhg-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.nhg-hero h1 { max-width: 26ch; }
	.nhg-split { grid-template-columns: minmax(0, 1fr); }
	.nhg-split__media { order: -1; aspect-ratio: 16 / 9; }
	.nhg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nhg-contact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
	:root { --nhg-header-h: 68px; }
	.nhg-burger { display: inline-flex; }
	.nhg-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		margin: 0;
		padding: 12px var(--nhg-gutter) 22px;
		background: #fff;
		border-bottom: 1px solid var(--nhg-line);
		box-shadow: 0 18px 32px rgba(10, 21, 32, .1);
		display: none;
	}
	.nhg-nav.is-open { display: block; }
	.nhg-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
	.nhg-nav__list a { padding: 13px 14px; border-radius: 9px; font-size: 1rem; }
	.nhg-header__actions .nhg-btn--cta { display: none; }
	.nhg-header__inner { gap: 14px; }
	.nhg-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nhg-grid--2 { grid-template-columns: minmax(0, 1fr); }
	.nhg-brand__tag { display: none; }
}

@media (max-width: 620px) {
	:root { --nhg-gutter: 16px; }

	/* Keep brand, switcher and burger inside a 390px viewport. */
	.nhg-header__inner { gap: 10px; }
	.nhg-brand { gap: 8px; min-width: 0; }
	.nhg-brand__mark { width: 34px; height: 34px; font-size: .85rem; }
	.nhg-brand__name { font-size: .95rem; white-space: nowrap; }
	.nhg-header__actions { gap: 8px; }
	.nhg-burger { width: 38px; height: 38px; flex-shrink: 0; }
	.nhg-hero { padding-block: 52px 56px; }
	.nhg-hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
	.nhg-panel { padding: 20px; }
	.nhg-grid--3,
	.nhg-grid--4 { grid-template-columns: minmax(0, 1fr); }
	.nhg-card { padding: 22px; }
	.nhg-step { padding: 20px 20px 20px 20px; }
	.nhg-step::before { position: static; display: block; margin-bottom: 8px; }
	.nhg-field-row { grid-template-columns: minmax(0, 1fr); }
	.nhg-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.nhg-footer__bottom { flex-direction: column; align-items: flex-start; }
	.nhg-btn-row .nhg-btn { width: 100%; }
	.nhg-cta { border-radius: var(--nhg-radius); }
	.nhg-lang { gap: 1px; padding: 2px; }
	.nhg-lang a { padding: 5px 7px; font-size: .76rem; }
	html[lang^="zh"] .nhg-lang a { font-size: .78rem; }
}

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

@media print {
	.nhg-header, .nhg-footer, .nhg-btn, .nhg-form { display: none !important; }
	body { color: #000; }
}
