:root {
	--site-bg: #ffffff;
	--site-ink: #172033;
	--site-muted: #637086;
	--site-line: #dbe3ea;
	--site-band: #f4f7fa;
	--site-navy: #0b2640;
	--site-teal: #0f8b8d;
	--site-orange: #f47b20;
	--site-shadow: 0 18px 40px rgba(14, 31, 53, .12);
}

body.main-body {
	background: var(--site-bg);
	color: var(--site-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
	letter-spacing: 0;
}

.site-container {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(219, 227, 234, .9);
}

.header-inner {
	height: 72px;
	display: flex;
	align-items: center;
	gap: 28px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 280px;
	color: var(--site-ink);
}

.brand:hover {
	color: var(--site-ink);
}

.brand-mark {
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: var(--site-navy);
	color: #fff;
	font-weight: 800;
}

.brand-logo {
	display: block;
	width: 44px;
	height: 44px;
	object-fit: contain;
	flex: 0 0 44px;
}

.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	min-width: 0;
}

.brand-text strong {
	font-size: 15px;
	font-weight: 800;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.brand-text em {
	margin-top: 4px;
	color: var(--site-muted);
	font-size: 12px;
	font-style: normal;
}

.site-nav {
	flex: 1;
	display: flex;
	justify-content: center;
	gap: 26px;
}

.site-nav a {
	color: #243247;
	font-size: 15px;
	font-weight: 600;
}

.site-nav a:hover,
.site-footer a:hover {
	color: var(--site-teal);
}

.header-cta,
.primary-btn,
.secondary-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 22px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	border: 1px solid transparent;
	cursor: pointer;
}

.header-cta,
.primary-btn {
	background: var(--site-orange);
	color: #fff;
	box-shadow: 0 12px 24px rgba(244, 123, 32, .22);
}

.header-cta:hover,
.primary-btn:hover {
	color: #fff;
	background: #df6610;
}

.secondary-btn {
	color: var(--site-navy);
	border-color: rgba(11, 38, 64, .2);
	background: rgba(255, 255, 255, .86);
}

.secondary-btn:hover {
	color: var(--site-navy);
	border-color: var(--site-teal);
}

.nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid var(--site-line);
	border-radius: 8px;
	background: #fff;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
}

.nav-toggle span {
	width: 18px;
	height: 2px;
	background: var(--site-navy);
}

.hero {
	position: relative;
	min-height: 650px;
	overflow: hidden;
	isolation: isolate;
}

.hero-media {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 34%, rgba(255,255,255,.2) 66%), url("/static/home/images/website/hero-engineering.png");
	background-size: cover;
	background-position: center;
	z-index: -1;
}

.hero-content {
	min-height: 650px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 40px;
	padding: 62px 0 86px;
}

.hero-copy h1 {
	margin: 0;
	font-size: 56px;
	line-height: 1.08;
	font-weight: 900;
	color: var(--site-navy);
}

.hero-copy p {
	margin: 24px 0 0;
	max-width: 560px;
	font-size: 18px;
	line-height: 1.9;
	color: #445268;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.hero-stats {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.stat-item {
	flex: 1;
	min-width: 140px;
	padding: 20px 24px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .88);
	border: 1px solid rgba(219, 227, 234, .8);
	box-shadow: 0 8px 24px rgba(14, 31, 53, .08);
	text-align: center;
}

.stat-item strong {
	display: block;
	font-size: 28px;
	color: var(--site-teal);
	font-weight: 900;
	line-height: 1.2;
}

.stat-item span {
	display: block;
	margin-top: 6px;
	color: var(--site-muted);
	font-size: 14px;
	font-weight: 600;
}

.section {
	padding: 86px 0;
}

.section-muted,
.about-band {
	background: var(--site-band);
}

.section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
}

.section h2,
.page-hero h1 {
	margin: 0;
	color: var(--site-navy);
	font-size: 36px;
	line-height: 1.25;
	font-weight: 850;
}

.section-head a {
	color: var(--site-teal);
	font-weight: 700;
}

.split-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
	gap: 48px;
	align-items: center;
}

.split-layout p,
.rich-content p {
	font-size: 16px;
	line-height: 1.9;
	color: var(--site-muted);
}

.process-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.process-list span {
	padding: 18px 20px;
	border: 1px solid var(--site-line);
	border-radius: 8px;
	background: #fff;
	font-weight: 700;
	color: var(--site-navy);
}

/* Process Flow */
.process-flow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin-top: 40px;
	flex-wrap: wrap;
}

.process-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 24px 28px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--site-line);
	box-shadow: 0 6px 20px rgba(14, 31, 53, .06);
	min-width: 160px;
	text-align: center;
}

.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--site-teal);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
}

.step-label {
	font-size: 15px;
	font-weight: 700;
	color: var(--site-navy);
}

.process-arrow {
	display: inline-block;
	width: 32px;
	height: 2px;
	background: var(--site-teal);
	position: relative;
	margin: 0 4px;
}

.process-arrow:after {
	content: '';
	position: absolute;
	right: -1px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-left: 7px solid var(--site-teal);
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
}

/* Section Head Center */
.section-head-center {
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 16px;
}

.section-subtitle {
	max-width: 680px;
	margin: 16px auto 0;
	color: var(--site-muted);
	font-size: 16px;
	line-height: 1.9;
}

.service-grid,
.case-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.service-grid-large,
.case-grid-large {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-grid-home {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.case-grid-home {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.service-card,
.case-card,
.lead-form,
.side-panel {
	border: 1px solid var(--site-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(14, 31, 53, .08);
}

.empty-state {
	grid-column: 1 / -1;
	padding: 30px;
	border-radius: 8px;
	border: 1px dashed var(--site-line);
	background: #fff;
	color: var(--site-muted);
}

.empty-state h3 {
	margin: 0;
	font-size: 18px;
	color: var(--site-navy);
}

.empty-state p {
	margin: 10px 0 0;
	line-height: 1.8;
}

.service-card {
	padding: 30px 28px;
	min-height: 220px;
	border-left: 3px solid var(--site-teal);
	transition: box-shadow 0.3s, transform 0.3s;
}

.service-card:hover {
	box-shadow: 0 14px 36px rgba(14, 31, 53, .12);
	transform: translateY(-2px);
}

.service-card h3,
.case-card h3,
.side-panel h2 {
	margin: 0 0 12px;
	color: var(--site-navy);
	font-size: 21px;
	line-height: 1.35;
	font-weight: 800;
}

.service-card p,
.case-card p {
	margin: 0;
	color: var(--site-muted);
	font-size: 15px;
	line-height: 1.8;
}

.tag-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}

.tag-row span {
	padding: 6px 10px;
	border-radius: 6px;
	background: rgba(15, 139, 141, .08);
	color: var(--site-teal);
	font-size: 13px;
	font-weight: 700;
}

.case-card {
	overflow: hidden;
	transition: box-shadow 0.3s, transform 0.3s;
}

.case-card:hover {
	box-shadow: 0 14px 36px rgba(14, 31, 53, .12);
	transform: translateY(-2px);
}

.case-card img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: #e8eef3;
}

.case-card div {
	padding: 22px;
}

.lead-section {
	align-items: start;
}

.check-list {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
}

.contact-info {
	margin: 18px 0 20px;
	padding: 18px 20px;
	border: 1px solid var(--site-line);
	border-radius: 8px;
	background: #fff;
}

.contact-info p {
	margin: 6px 0;
	color: var(--site-muted);
	line-height: 1.7;
}

.contact-info strong {
	color: var(--site-navy);
}

.check-list li {
	position: relative;
	padding-left: 26px;
	color: #42516a;
	font-size: 15px;
	line-height: 1.7;
}

.check-list li:before {
	content: "";
	position: absolute;
	left: 0;
	top: .55em;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--site-teal);
	box-shadow: inset 0 0 0 3px #d9f0ef;
}

.lead-form {
	padding: 26px;
	display: grid;
	gap: 16px;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.lead-form label {
	display: grid;
	gap: 8px;
	color: var(--site-navy);
	font-size: 14px;
	font-weight: 700;
}

.lead-form input,
.lead-form textarea {
	width: 100%;
	border: 1px solid #cad5df;
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 15px;
	color: var(--site-ink);
	background: #fff;
	box-sizing: border-box;
}

.lead-form textarea {
	resize: vertical;
	min-height: 128px;
}

.lead-form em {
	color: var(--site-muted);
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
}

.lead-form .privacy-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #42516a;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
}

.lead-form .privacy-check input {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	margin-top: 3px;
	padding: 0;
}

.lead-form button[disabled] {
	opacity: .65;
	cursor: not-allowed;
}

.form-hidden {
	position: absolute;
	left: -9999px;
	opacity: 0;
}

.form-result {
	min-height: 22px;
	margin: 0;
	font-size: 14px;
}

.form-result.is-success {
	color: #0f8b56;
}

.form-result.is-error {
	color: #bd3d2a;
}

.news-list {
	display: grid;
	gap: 0;
	background: #fff;
	border-radius: 10px;
	border: 1px solid var(--site-line);
	overflow: hidden;
}

.news-item {
	display: grid;
	grid-template-columns: 120px minmax(180px, .8fr) minmax(0, 1fr);
	gap: 24px;
	align-items: center;
	padding: 22px 28px;
	border-bottom: 1px solid var(--site-line);
	color: var(--site-ink);
	transition: background 0.2s;
}

.news-item:last-child {
	border-bottom: none;
}

.news-item:hover {
	background: var(--site-band);
}

.news-item span {
	color: var(--site-teal);
	font-weight: 800;
}

.news-item strong {
	color: var(--site-navy);
	font-size: 18px;
	line-height: 1.4;
}

.news-item em {
	color: var(--site-muted);
	font-size: 14px;
	font-style: normal;
	line-height: 1.7;
}

.page-hero {
	padding: 86px 0 70px;
	background: var(--site-band);
	border-bottom: 1px solid var(--site-line);
}

.page-hero p {
	max-width: 720px;
	margin: 18px 0 0;
	color: var(--site-muted);
	font-size: 17px;
	line-height: 1.9;
}

.content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 48px;
	align-items: start;
}

.rich-content {
	color: var(--site-muted);
	font-size: 16px;
	line-height: 1.9;
}

.rich-content img {
	max-width: 100%;
	border-radius: 8px;
}

.side-panel {
	padding: 26px;
	position: sticky;
	top: 96px;
}

.site-footer {
	background: #111b2b;
	color: #c7d2df;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
	gap: 40px;
	padding: 56px 0;
}

.footer-brand,
.site-footer h3 {
	color: #fff;
	font-weight: 800;
	font-size: 18px;
	margin-bottom: 16px;
}

.site-footer p,
.site-footer a {
	display: block;
	color: #c7d2df;
	font-size: 14px;
	line-height: 1.8;
}

.footer-action {
	margin-top: 12px;
	color: #fff !important;
	font-weight: 800;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .12);
	padding: 18px 0;
	color: #91a2b4;
	font-size: 13px;
}

.footer-bottom .site-container {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.footer-bottom a {
	display: inline;
	color: #91a2b4;
}

@media (max-width: 980px) {
	.header-inner {
		height: auto;
		min-height: 66px;
		flex-wrap: wrap;
		padding: 12px 0;
	}
	.site-nav {
		display: none;
		flex-basis: 100%;
		order: 5;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding: 10px 0 4px;
	}
	.site-nav.is-open {
		display: flex;
	}
	.header-cta {
		margin-left: auto;
	}
	.nav-toggle {
		display: inline-flex;
	}
	.hero,
	.hero-content {
		min-height: 560px;
	}
	.hero-content,
	.split-layout,
	.content-layout {
		grid-template-columns: 1fr;
	}
	.hero-stats {
		justify-content: center;
	}
	.stat-item {
		min-width: 120px;
	}
	.service-grid,
	.case-grid,
	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.service-grid-home,
	.case-grid-home {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.news-item {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.side-panel {
		position: static;
	}
	.process-flow {
		gap: 12px;
	}
	.process-arrow {
		display: none;
	}
	.process-step {
		min-width: 140px;
	}
}

@media (max-width: 640px) {
	.site-container {
		width: min(100% - 28px, 1180px);
	}
	.brand {
		min-width: 0;
	}
	.brand-text em {
		display: none;
	}
	.header-cta {
		display: none;
	}
	.hero-copy h1 {
		font-size: 36px;
	}
	.hero-copy p {
		font-size: 16px;
	}
	.hero-media {
		background-image: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.86) 58%, rgba(255,255,255,.4) 100%), url("/static/home/images/website/hero-engineering.png");
		background-position: center right;
	}
	.hero-stats {
		flex-direction: column;
		align-items: stretch;
	}
	.stat-item {
		min-width: 0;
	}
	.service-grid,
	.case-grid,
	.footer-grid,
	.form-grid,
	.process-list {
		grid-template-columns: 1fr;
	}
	.service-grid-home,
	.case-grid-home {
		grid-template-columns: 1fr;
	}
	.section {
		padding: 58px 0;
	}
	.section h2,
	.page-hero h1 {
		font-size: 28px;
	}
	.section-head {
		align-items: flex-start;
		flex-direction: column;
	}
	.footer-bottom .site-container {
		flex-direction: column;
	}
	.process-flow {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}
	.process-step {
		min-width: 0;
		flex-direction: row;
		gap: 14px;
		padding: 16px 20px;
	}
	.step-num {
		width: 34px;
		height: 34px;
		font-size: 13px;
		flex-shrink: 0;
	}
}
