/*
Theme Name: Shuangtian GeneratePress Child
Theme URI: https://changshaseo.net/
Description: 霜天网络科技企业官网 GeneratePress 子主题。
Author: 霜天网络科技
Template: generatepress
Version: 1.0.0
Text Domain: shuangtian-gp-child
*/

:root {
	--st-navy-950: #071528;
	--st-navy-900: #0b1f3a;
	--st-navy-800: #132f50;
	--st-blue-700: #235886;
	--st-ink: #17253a;
	--st-body: #33465e;
	--st-muted: #66758a;
	--st-line: #dce4ec;
	--st-cloud: #f4f7fa;
	--st-white: #ffffff;
	--st-orange: #f97316;
	--st-orange-dark: #d95b0b;
	--st-success: #176c4d;
	--st-error: #ad2e24;
	--st-container: 1280px;
	--st-narrow: 760px;
	--st-radius: 6px;
	--st-shadow: 0 20px 60px rgba(7, 21, 40, 0.12);
	--st-transition: 220ms ease;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--st-white);
	color: var(--st-body);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.78;
	letter-spacing: 0;
	-webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
	font-family: inherit;
}

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

::selection {
	background: rgba(249, 115, 22, 0.24);
	color: var(--st-navy-950);
}

a {
	color: var(--st-blue-700);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color var(--st-transition), background-color var(--st-transition), transform var(--st-transition);
}

a:hover {
	color: var(--st-orange-dark);
}

img {
	height: auto;
	max-width: 100%;
}

h1,
h2,
h3,
h4 {
	color: var(--st-navy-900);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: 0;
	margin-top: 0;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.35rem, 4.2vw, 4.3rem);
}

h2 {
	font-size: clamp(2rem, 3.1vw, 3.25rem);
}

h3 {
	font-size: clamp(1.25rem, 1.8vw, 1.65rem);
}

p {
	text-wrap: pretty;
}

.screen-reader-text:focus,
.skip-link:focus {
	background: var(--st-white);
	color: var(--st-navy-900);
	left: 1rem;
	padding: 0.75rem 1rem;
	top: 1rem;
	z-index: 100;
}

.grid-container {
	max-width: var(--st-container);
}

.site.grid-container {
	max-width: none;
}

.site-content {
	display: block;
	padding: 0;
}

.content-area,
.st-site-main {
	float: none;
	width: 100%;
}

.st-site-main {
	overflow: hidden;
}

.st-container {
	margin-inline: auto;
	max-width: var(--st-container);
	padding-inline: 32px;
	width: 100%;
}

.st-container-narrow {
	margin-inline: auto;
	max-width: var(--st-narrow);
	padding-inline: 32px;
	width: 100%;
}

.st-section {
	padding-block: clamp(5rem, 8vw, 8.5rem);
	position: relative;
}

.st-section-cloud {
	background: var(--st-cloud);
}

.st-section-tint {
	background: #edf3f7;
}

.st-kicker {
	align-items: center;
	color: var(--st-orange-dark);
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 700;
	gap: 0.6rem;
	margin-bottom: 1.1rem;
}

.st-kicker::before {
	background: var(--st-orange);
	content: "";
	height: 2px;
	width: 28px;
}

.st-section-heading {
	align-items: end;
	display: grid;
	gap: 2.5rem;
	grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
	margin-bottom: clamp(3rem, 5vw, 5rem);
}

.st-section-heading h2 {
	margin-bottom: 0;
	max-width: 760px;
}

.st-section-heading p {
	color: var(--st-muted);
	margin: 0;
	max-width: 52ch;
}

.st-eyebrow {
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.82rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.st-button,
.main-navigation .main-nav ul li.cta-button > a {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 4px;
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 700;
	gap: 0.65rem;
	justify-content: center;
	line-height: 1;
	min-height: 50px;
	padding: 0.95rem 1.35rem;
	text-decoration: none;
	transition: background-color var(--st-transition), border-color var(--st-transition), color var(--st-transition), transform var(--st-transition);
}

.st-button:hover,
.main-navigation .main-nav ul li.cta-button > a:hover {
	transform: translateY(-2px);
}

.st-button:active,
.main-navigation .main-nav ul li.cta-button > a:active {
	transform: translateY(1px);
}

.st-button-primary,
.main-navigation .main-nav ul li.cta-button > a {
	background: var(--st-orange);
	color: var(--st-navy-950);
}

.st-button-primary:hover,
.main-navigation .main-nav ul li.cta-button > a:hover {
	background: #ff8a35;
	color: var(--st-navy-950);
}

.st-button-secondary {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.28);
	color: var(--st-white);
}

.st-button-secondary:hover {
	background: var(--st-white);
	color: var(--st-navy-950);
}

.st-text-link {
	align-items: center;
	color: inherit;
	display: inline-flex;
	font-weight: 700;
	gap: 0.55rem;
	text-decoration: none;
}

.st-text-link:hover {
	gap: 0.8rem;
}

/* 顶部品牌与导航 */
.site-header {
	background: var(--st-white);
	border-bottom: 1px solid rgba(11, 31, 58, 0.08);
	position: relative;
	z-index: 40;
}

.site-header .inside-header {
	align-items: center;
	display: flex;
	min-height: 82px;
	padding: 0 32px;
}

.site-branding-container {
	align-items: center;
	display: flex;
}

.site-branding {
	align-items: center;
	display: flex;
}

.site-branding-container::before,
.site-branding::before {
	align-items: center;
	background: var(--st-navy-900);
	border-bottom: 4px solid var(--st-orange);
	border-radius: 3px;
	color: var(--st-white);
	content: "ST";
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 800;
	height: 40px;
	justify-content: center;
	margin-right: 12px;
	width: 40px;
}

.site-title {
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.2;
}

.site-title a {
	color: var(--st-navy-900);
	text-decoration: none;
}

.site-description {
	color: var(--st-muted);
	font-size: 0.72rem;
	margin-top: 0.2rem;
}

.main-navigation {
	background: var(--st-white);
	color: var(--st-navy-900);
	flex: 1;
}

.main-navigation .inside-navigation {
	justify-content: flex-end;
	position: relative;
}

.main-navigation .main-nav > ul {
	align-items: center;
	gap: 0.2rem;
}

.main-navigation .main-nav > ul > li > a {
	color: var(--st-ink);
	font-size: 0.94rem;
	font-weight: 600;
	line-height: 82px;
	padding-inline: 1rem;
}

.main-navigation .main-nav > ul > li:not(.cta-button) > a::after {
	background: var(--st-orange);
	bottom: 20px;
	content: "";
	height: 2px;
	left: 1rem;
	position: absolute;
	right: 1rem;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--st-transition);
}

.main-navigation .main-nav > ul > li:hover > a::after,
.main-navigation .main-nav > ul > li.current-menu-item > a::after,
.main-navigation .main-nav > ul > li.current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.main-navigation .main-nav > ul > li.cta-button {
	margin-left: 0.8rem;
}

.main-navigation .main-nav > ul > li.cta-button > a {
	line-height: 1;
	min-height: 44px;
	padding: 0.85rem 1.05rem;
}

/* 五列 Mega Menu */
@media (min-width: 1025px) {
	.main-navigation .main-nav > ul > li.mega-menu {
		position: static;
	}

	.main-navigation .main-nav > ul > li.mega-menu > ul.sub-menu {
		background: var(--st-white);
		border-top: 3px solid var(--st-orange);
		box-shadow: 0 28px 64px rgba(7, 21, 40, 0.16);
		display: grid;
		gap: 0;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		left: auto;
		max-height: calc(100vh - 110px);
		max-width: var(--st-container);
		opacity: 0;
		overflow: auto;
		padding: 1.7rem;
		pointer-events: none;
		position: absolute;
		right: 0;
		top: 100%;
		transform: translateY(10px);
		transition: opacity var(--st-transition), transform var(--st-transition), visibility var(--st-transition);
		visibility: hidden;
		width: calc(100vw - 40px);
	}

	.main-navigation .main-nav > ul > li.mega-menu:hover > ul.sub-menu,
	.main-navigation .main-nav > ul > li.mega-menu:focus-within > ul.sub-menu {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
		visibility: visible;
	}

	.main-navigation .main-nav > ul > li.mega-menu > ul.sub-menu > li {
		border-left: 1px solid var(--st-line);
		float: none;
		padding: 0 1.1rem;
		width: auto;
	}

	.main-navigation .main-nav > ul > li.mega-menu > ul.sub-menu > li:first-child {
		border-left: 0;
	}

	.main-navigation .main-nav > ul > li.mega-menu > ul.sub-menu > li > a {
		background: transparent;
		color: var(--st-navy-900);
		font-size: 0.96rem;
		font-weight: 800;
		padding: 0.4rem 0 0.85rem;
	}

	.main-navigation .main-nav > ul > li.mega-menu > ul.sub-menu > li > a .dropdown-menu-toggle {
		display: none;
	}

	.main-navigation .main-nav > ul > li.mega-menu > ul.sub-menu > li > ul.sub-menu {
		background: transparent;
		box-shadow: none;
		display: block;
		float: none;
		height: auto !important;
		left: auto;
		opacity: 1;
		overflow: visible !important;
		pointer-events: auto;
		position: static;
		top: auto;
		visibility: visible;
		width: auto;
	}

	.main-navigation .main-nav > ul > li.mega-menu > ul.sub-menu > li > ul.sub-menu a {
		background: transparent;
		color: var(--st-body);
		font-size: 0.84rem;
		font-weight: 500;
		line-height: 1.35;
		padding: 0.43rem 0;
		white-space: normal;
	}

	.main-navigation .main-nav > ul > li.mega-menu > ul.sub-menu > li > ul.sub-menu a:hover {
		color: var(--st-orange-dark);
		padding-left: 0.35rem;
	}

	.main-navigation .main-nav li.ai-menu-item > a {
		color: var(--st-orange-dark) !important;
		font-weight: 700 !important;
	}

	.main-navigation .main-nav li.ai-menu-item > a::before {
		background: currentColor;
		border-radius: 1px;
		content: "";
		display: inline-block;
		height: 6px;
		margin-right: 0.35rem;
		vertical-align: 0.08em;
		width: 6px;
	}
}

/* 首页 Hero */
.st-hero {
	background-color: var(--st-navy-950);
	background-image:
		linear-gradient(90deg, rgba(7, 21, 40, 0.98) 0%, rgba(7, 21, 40, 0.88) 34%, rgba(7, 21, 40, 0.38) 65%, rgba(7, 21, 40, 0.2) 100%),
		url("assets/images/hero-digital-team.webp");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	color: var(--st-white);
	min-height: min(780px, calc(100dvh - 82px));
	position: relative;
}

.st-hero::after {
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 64px 64px;
	content: "";
	inset: 0;
	mask-image: linear-gradient(90deg, black, transparent 70%);
	pointer-events: none;
	position: absolute;
}

.st-hero .st-container {
	align-items: center;
	display: flex;
	min-height: inherit;
	position: relative;
	z-index: 1;
}

.st-hero-content {
	max-width: 760px;
	padding-block: 7rem 9rem;
}

.st-hero h1 {
	color: var(--st-white);
	font-size: clamp(3rem, 6.4vw, 5.9rem);
	line-height: 1.03;
	margin-bottom: 1.7rem;
	max-width: 10ch;
}

.st-hero-lead {
	color: rgba(255, 255, 255, 0.78);
	font-size: clamp(1.08rem, 1.5vw, 1.34rem);
	line-height: 1.7;
	margin-bottom: 2.3rem;
	max-width: 620px;
}

.st-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
}

.st-hero-proof {
	background: var(--st-white);
	border-bottom: 1px solid var(--st-line);
	position: relative;
	z-index: 2;
}

.st-proof-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.st-proof-item {
	border-left: 1px solid var(--st-line);
	min-height: 126px;
	padding: 1.55rem 1.7rem;
}

.st-proof-item:last-child {
	border-right: 1px solid var(--st-line);
}

.st-proof-number {
	color: var(--st-orange-dark);
	display: block;
	font-size: 0.82rem;
	font-weight: 800;
	margin-bottom: 0.45rem;
}

.st-proof-item strong {
	color: var(--st-navy-900);
	display: block;
	font-size: 1rem;
}

.st-proof-item span:last-child {
	color: var(--st-muted);
	font-size: 0.82rem;
}

/* 服务系统采用纵向分区，不堆叠通用卡片 */
.st-service-grid {
	border-bottom: 1px solid var(--st-line);
	border-top: 1px solid var(--st-line);
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.st-service-column {
	border-left: 1px solid var(--st-line);
	display: flex;
	flex-direction: column;
	min-height: 430px;
	padding: 2rem 1.55rem 2.3rem;
	position: relative;
}

.st-service-column:last-child {
	border-right: 1px solid var(--st-line);
}

.st-service-index {
	color: var(--st-orange-dark);
	font-size: 0.75rem;
	font-weight: 800;
	margin-bottom: 3.5rem;
}

.st-service-column h3 {
	font-size: 1.35rem;
	margin-bottom: 1rem;
}

.st-service-column p {
	color: var(--st-muted);
	font-size: 0.92rem;
	margin-bottom: 1.6rem;
}

.st-service-list {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}

.st-service-list li {
	border-top: 1px solid rgba(220, 228, 236, 0.75);
	font-size: 0.85rem;
	padding: 0.48rem 0;
}

.st-service-column .st-text-link {
	margin-top: auto;
}

.st-service-column:hover {
	background: var(--st-cloud);
}

/* AI 差异化板块 */
.st-ai-section {
	background-color: var(--st-navy-950);
	background-image:
		linear-gradient(90deg, rgba(7, 21, 40, 0.99) 0%, rgba(7, 21, 40, 0.92) 48%, rgba(7, 21, 40, 0.25) 100%),
		url("assets/images/ai-operations-system.webp");
	background-position: center;
	background-size: cover;
	color: var(--st-white);
	min-height: 690px;
}

.st-ai-layout {
	align-items: center;
	display: grid;
	gap: 5rem;
	grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
	min-height: 690px;
}

.st-ai-copy h2 {
	color: var(--st-white);
	max-width: 650px;
}

.st-ai-copy > p {
	color: rgba(255, 255, 255, 0.74);
	max-width: 58ch;
}

.st-ai-capabilities {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 2.3rem 0;
}

.st-ai-capability {
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	min-height: 112px;
	padding: 1.15rem 1.1rem 1.15rem 0;
}

.st-ai-capability:nth-child(odd) {
	border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.st-ai-capability:nth-child(even) {
	padding-left: 1.1rem;
}

.st-ai-capability strong {
	color: var(--st-white);
	display: block;
	font-size: 0.95rem;
	margin-bottom: 0.35rem;
}

.st-ai-capability span {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.8rem;
	line-height: 1.5;
}

.st-ai-visual-spacer {
	min-height: 420px;
}

/* 方法、案例、文章 */
.st-process-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.st-process-step {
	border-top: 3px solid var(--st-navy-900);
	padding: 1.8rem 2rem 2rem 0;
}

.st-process-step + .st-process-step {
	margin-left: 1rem;
}

.st-process-step span {
	color: var(--st-orange-dark);
	font-size: 0.78rem;
	font-weight: 800;
}

.st-process-step h3 {
	font-size: 1.18rem;
	margin: 1.8rem 0 0.7rem;
}

.st-process-step p {
	color: var(--st-muted);
	font-size: 0.88rem;
	margin: 0;
}

.st-case-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1.15fr 0.85fr;
}

.st-case-card {
	background: var(--st-white);
	border: 1px solid var(--st-line);
	border-radius: var(--st-radius);
	color: inherit;
	display: flex;
	flex-direction: column;
	min-height: 310px;
	overflow: hidden;
	padding: 2.4rem;
	position: relative;
	text-decoration: none;
}

.st-case-card:first-child {
	grid-row: span 2;
	min-height: 645px;
	padding-top: 6rem;
}

.st-case-card::before {
	background: var(--st-orange);
	content: "";
	height: 4px;
	left: 0;
	position: absolute;
	top: 0;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--st-transition);
	width: 100%;
}

.st-case-card:hover {
	box-shadow: var(--st-shadow);
	color: inherit;
	transform: translateY(-4px);
}

.st-case-card:hover::before {
	transform: scaleX(1);
}

.st-case-type {
	color: var(--st-orange-dark);
	font-size: 0.75rem;
	font-weight: 800;
	margin-bottom: 1.5rem;
}

.st-case-card h3 {
	max-width: 18ch;
}

.st-case-card p {
	color: var(--st-muted);
	font-size: 0.9rem;
	max-width: 52ch;
}

.st-case-card .st-text-link {
	margin-top: auto;
}

.st-post-grid {
	border-top: 1px solid var(--st-line);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.st-post-card {
	border-bottom: 1px solid var(--st-line);
	padding: 2rem 2rem 2.4rem 0;
}

.st-post-card + .st-post-card {
	border-left: 1px solid var(--st-line);
	padding-left: 2rem;
}

.st-post-meta {
	color: var(--st-muted);
	font-size: 0.76rem;
	margin-bottom: 1.15rem;
}

.st-post-card h3 {
	font-size: 1.25rem;
}

.st-post-card h3 a {
	color: var(--st-navy-900);
	text-decoration: none;
}

.st-post-card p {
	color: var(--st-muted);
	font-size: 0.88rem;
}

/* 内页 */
.st-page-hero {
	background: var(--st-navy-900);
	color: var(--st-white);
	overflow: hidden;
	padding-block: clamp(5.5rem, 10vw, 9rem);
	position: relative;
}

.st-page-hero::after {
	background:
		linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, 0.07) 50%, transparent 51%),
		linear-gradient(transparent 49%, rgba(255, 255, 255, 0.07) 50%, transparent 51%);
	background-size: 80px 80px;
	content: "";
	height: 520px;
	opacity: 0.45;
	position: absolute;
	right: -100px;
	top: -120px;
	transform: rotate(12deg);
	width: 620px;
}

.st-page-hero .st-container {
	position: relative;
	z-index: 1;
}

.st-page-hero h1 {
	color: var(--st-white);
	margin-bottom: 1.4rem;
	max-width: 900px;
}

.st-page-hero p {
	color: rgba(255, 255, 255, 0.72);
	font-size: 1.15rem;
	max-width: 660px;
}

.st-breadcrumb {
	color: rgba(255, 255, 255, 0.58);
	font-size: 0.78rem;
	margin-bottom: 2rem;
}

.st-breadcrumb a {
	color: rgba(255, 255, 255, 0.74);
	text-decoration: none;
}

.st-content-layout {
	display: grid;
	gap: clamp(3rem, 7vw, 7rem);
	grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
}

.st-prose {
	max-width: 760px;
}

.st-prose h2 {
	font-size: clamp(1.65rem, 2.5vw, 2.35rem);
	margin-top: 2.8rem;
}

.st-prose h2:first-child {
	margin-top: 0;
}

.st-prose p,
.st-prose li {
	max-width: 68ch;
}

.st-sidebar-callout {
	border-top: 4px solid var(--st-orange);
	padding-top: 1.5rem;
}

.st-sidebar-callout h3 {
	font-size: 1.25rem;
}

.st-sidebar-callout p {
	color: var(--st-muted);
	font-size: 0.88rem;
}

.st-detail-list {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.st-detail-item {
	background: var(--st-cloud);
	border-left: 3px solid var(--st-orange);
	padding: 1.3rem 1.4rem;
}

.st-detail-item strong {
	color: var(--st-navy-900);
	display: block;
	margin-bottom: 0.3rem;
}

.st-detail-item span {
	color: var(--st-muted);
	font-size: 0.86rem;
}

.st-group-service-grid {
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	background: var(--st-line);
	border: 1px solid var(--st-line);
}

.st-group-service {
	background: var(--st-white);
	color: inherit;
	min-height: 240px;
	padding: 2rem;
	text-decoration: none;
}

.st-group-service:hover {
	background: var(--st-cloud);
	color: inherit;
}

.st-group-service small {
	color: var(--st-orange-dark);
	display: block;
	font-weight: 800;
	margin-bottom: 2.4rem;
}

.st-group-service h3 {
	font-size: 1.18rem;
	margin-bottom: 0.7rem;
}

.st-group-service p {
	color: var(--st-muted);
	font-size: 0.84rem;
}

/* 联系表单 */
.st-contact-layout {
	display: grid;
	gap: clamp(3rem, 7vw, 7rem);
	grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
}

.st-contact-panel {
	background: var(--st-navy-900);
	color: var(--st-white);
	padding: clamp(2.3rem, 5vw, 4rem);
}

.st-contact-panel h2,
.st-contact-panel h3 {
	color: var(--st-white);
}

.st-contact-panel p {
	color: rgba(255, 255, 255, 0.68);
}

.st-contact-point {
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	padding: 1.2rem 0;
}

.st-contact-point strong {
	display: block;
	font-size: 0.9rem;
}

.st-contact-point span {
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.82rem;
}

.st-contact-form {
	display: grid;
	gap: 1.25rem;
}

.st-contact-form label {
	color: var(--st-navy-900);
	display: grid;
	font-size: 0.88rem;
	font-weight: 700;
	gap: 0.45rem;
}

.st-contact-form input,
.st-contact-form select,
.st-contact-form textarea {
	background: var(--st-white);
	border: 1px solid #bdc9d5;
	border-radius: 3px;
	color: var(--st-ink);
	font-size: 1rem;
	min-height: 52px;
	padding: 0.8rem 0.9rem;
	width: 100%;
}

.st-contact-form textarea {
	resize: vertical;
}

.st-contact-form input:focus,
.st-contact-form select:focus,
.st-contact-form textarea:focus {
	border-color: var(--st-blue-700);
	box-shadow: 0 0 0 3px rgba(35, 88, 134, 0.16);
	outline: 0;
}

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

.st-form-consent {
	align-items: start;
	display: flex !important;
	font-weight: 500 !important;
	gap: 0.65rem !important;
}

.st-form-consent input {
	flex: 0 0 auto;
	min-height: 0;
	margin-top: 0.35rem;
	width: auto;
}

.st-form-honeypot {
	left: -10000px;
	position: absolute;
}

.st-form-message {
	border-left: 4px solid;
	margin-bottom: 1.5rem;
	padding: 1rem 1.2rem;
}

.st-form-message.is-success {
	background: #e7f4ee;
	border-color: var(--st-success);
	color: var(--st-success);
}

.st-form-message.is-error {
	background: #fbecea;
	border-color: var(--st-error);
	color: var(--st-error);
}

/* CTA 与页脚 */
.st-final-cta {
	background: var(--st-orange);
	color: var(--st-navy-950);
	overflow: hidden;
	padding-block: clamp(4rem, 7vw, 6.5rem);
}

.st-final-cta .st-container {
	align-items: center;
	display: grid;
	gap: 2rem;
	grid-template-columns: minmax(0, 1.35fr) auto;
}

.st-final-cta h2 {
	color: var(--st-navy-950);
	margin-bottom: 0.7rem;
	max-width: 780px;
}

.st-final-cta p {
	margin: 0;
	max-width: 620px;
}

.st-final-cta .st-button {
	background: var(--st-navy-950);
	color: var(--st-white);
}

.site-footer {
	background: var(--st-navy-950);
	color: rgba(255, 255, 255, 0.65);
}

.footer-widgets {
	background: var(--st-navy-950);
}

.site-info {
	background: var(--st-navy-950);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.8rem;
}

.site-info a {
	color: var(--st-white);
}

.st-footer-inner {
	display: grid;
	gap: 3rem;
	grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(140px, 0.6fr));
	padding-block: 4.5rem;
}

.st-footer-brand h2 {
	color: var(--st-white);
	font-size: 1.45rem;
	margin-bottom: 1rem;
}

.st-footer-brand p {
	font-size: 0.86rem;
	max-width: 44ch;
}

.st-footer-column h3 {
	color: var(--st-white);
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.st-footer-column a {
	color: rgba(255, 255, 255, 0.62);
	display: block;
	font-size: 0.82rem;
	margin: 0.55rem 0;
	text-decoration: none;
}

.st-footer-column a:hover {
	color: var(--st-orange);
}

/* 滚动出现效果，尊重系统减少动画设置 */
.st-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 600ms ease, transform 600ms ease;
}

.st-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.st-reveal {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 1200px) {
	.site-header .inside-header,
	.st-container,
	.st-container-narrow {
		padding-inline: 24px;
	}

	.main-navigation .main-nav > ul > li > a {
		padding-inline: 0.7rem;
	}

	.st-service-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.st-service-column:nth-child(4),
	.st-service-column:nth-child(5) {
		border-top: 1px solid var(--st-line);
	}

	.st-footer-inner {
		grid-template-columns: 1.4fr repeat(2, 0.7fr);
	}
}

@media (max-width: 1024px) {
	.site-header .inside-header {
		min-height: 72px;
	}

	.main-navigation .main-nav > ul > li > a {
		line-height: 54px;
	}

	.main-navigation .main-nav > ul > li.cta-button {
		margin: 0.6rem 1rem 1rem;
	}

	.main-navigation .main-nav > ul > li.cta-button > a {
		text-align: center;
	}

	.main-navigation.toggled .main-nav > ul {
		background: var(--st-white);
		border-top: 1px solid var(--st-line);
		max-height: calc(100dvh - 72px);
		overflow-y: auto;
		padding-bottom: 1rem;
	}

	.main-navigation .main-nav ul ul {
		background: var(--st-cloud);
		box-shadow: none;
	}

	.main-navigation .main-nav ul ul a {
		color: var(--st-body);
		font-size: 0.86rem;
	}

	.st-section-heading,
	.st-ai-layout,
	.st-content-layout,
	.st-contact-layout {
		grid-template-columns: 1fr;
	}

	.st-ai-layout {
		min-height: 650px;
	}

	.st-ai-visual-spacer {
		display: none;
	}

	.st-process-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.st-case-grid {
		grid-template-columns: 1fr;
	}

	.st-case-card:first-child {
		grid-row: auto;
		min-height: 420px;
	}

	.st-group-service-grid,
	.st-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.st-post-card + .st-post-card {
		border-left: 0;
		padding-left: 0;
	}

	.st-post-card:nth-child(even) {
		border-left: 1px solid var(--st-line);
		padding-left: 2rem;
	}
}

@media (max-width: 768px) {
	body {
		font-size: 16px;
	}

	.site-header .inside-header,
	.st-container,
	.st-container-narrow {
		padding-inline: 20px;
	}

	.site-title {
		font-size: 1.02rem;
	}

	.site-description {
		display: none;
	}

	.site-branding-container::before,
	.site-branding::before {
		height: 36px;
		width: 36px;
	}

	.st-section {
		padding-block: 4.5rem;
	}

	.st-section-heading {
		gap: 1.2rem;
		margin-bottom: 2.8rem;
	}

	.st-hero {
		background-image:
			linear-gradient(180deg, rgba(7, 21, 40, 0.93) 0%, rgba(7, 21, 40, 0.86) 58%, rgba(7, 21, 40, 0.72) 100%),
			url("assets/images/hero-digital-team.webp");
		background-position: 64% center;
		min-height: 690px;
	}

	.st-hero .st-container {
		align-items: end;
	}

	.st-hero-content {
		padding-block: 6rem 4.5rem;
	}

	.st-hero h1 {
		font-size: clamp(2.75rem, 14vw, 4.2rem);
		max-width: 9ch;
	}

	.st-hero-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.st-hero-actions .st-button {
		width: 100%;
	}

	.st-proof-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.st-proof-item {
		min-height: 110px;
		padding: 1.2rem;
	}

	.st-proof-item:nth-child(3),
	.st-proof-item:nth-child(4) {
		border-top: 1px solid var(--st-line);
	}

	.st-service-grid {
		grid-template-columns: 1fr;
	}

	.st-service-column {
		border-right: 1px solid var(--st-line);
		min-height: 0;
		padding: 1.7rem 1.4rem;
	}

	.st-service-column + .st-service-column {
		border-top: 1px solid var(--st-line);
	}

	.st-service-index {
		margin-bottom: 1.5rem;
	}

	.st-ai-section {
		background-image:
			linear-gradient(180deg, rgba(7, 21, 40, 0.86) 0%, rgba(7, 21, 40, 0.98) 55%, rgba(7, 21, 40, 1) 100%),
			url("assets/images/ai-operations-system.webp");
		background-position: 58% top;
	}

	.st-ai-layout {
		align-items: end;
		min-height: 780px;
		padding-top: 12rem;
	}

	.st-ai-capabilities,
	.st-process-grid,
	.st-group-service-grid,
	.st-detail-list,
	.st-post-grid,
	.st-form-grid,
	.st-footer-inner {
		grid-template-columns: 1fr;
	}

	.st-ai-capability:nth-child(odd) {
		border-right: 0;
	}

	.st-ai-capability:nth-child(even) {
		padding-left: 0;
	}

	.st-process-step + .st-process-step {
		margin-left: 0;
	}

	.st-case-card,
	.st-case-card:first-child {
		min-height: 340px;
		padding: 2rem;
	}

	.st-post-card:nth-child(even) {
		border-left: 0;
		padding-left: 0;
	}

	.st-page-hero {
		padding-block: 4.5rem;
	}

	.st-final-cta .st-container {
		grid-template-columns: 1fr;
	}

	.st-final-cta .st-button {
		width: 100%;
	}
}
