/* 首页（yahe 静态首页样式，仅作用于 .site-front） */

.site-front {
	--ink: #12161b;
	--graphite: #232b33;
	--steel: #6d7681;
	--steel-line: rgba(255, 255, 255, 0.12);
	--paper: #eff1f1;
	--paper-dim: #e4e7e7;
	--white: #ffffff;
	--navy: #1d6fb8;
	--navy-deep: #123c6e;
	--brand-a: #2e8fd1;
	--brand-b: #14336b;
	--brand-grad: linear-gradient(135deg, var(--brand-a) 0%, var(--navy) 46%, var(--brand-b) 100%);
	--signal: #f2b705;
	--max: 1450px;
	--display: "Oswald", sans-serif;
	--body: "Inter", sans-serif;
	--mono: "IBM Plex Mono", monospace;
	font-family: var(--body);
	color: var(--ink);
	background: var(--paper);
	line-height: 1.55;
	min-height: 0;
}

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

.site-front a {
	color: inherit;
	text-decoration: none;
}

.site-front .wrap {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 40px;
}

.site-front .eyebrow {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #f2b705;
	margin-bottom: 16px;
}

.site-front h1,
.site-front h2,
.site-front h3,
.site-front h4 {
	font-family: var(--display);
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.08;
	color: var(--ink);
}

.site-front .btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--mono);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 15px 28px;
	border: 1.5px solid var(--ink);
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	transition: 0.25s ease;
	white-space: nowrap;
}

.site-front .btn:hover {
	background: var(--ink);
	color: var(--white);
}

.site-front .btn.solid {
	background: var(--brand-grad);
	border-color: var(--navy);
	color: var(--white);
}

.site-front .btn.solid:hover {
	background: var(--navy-deep);
	border-color: var(--navy-deep);
}

.site-front .btn.on-dark {
	border-color: rgba(255, 255, 255, 0.55);
	color: var(--white);
}

.site-front .btn.on-dark:hover {
	background: var(--white);
	color: var(--ink);
}

.site-front > section:not(#hero) {
	padding: 110px 0;
}

.site-front .sec-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 56px;
	gap: 30px;
	flex-wrap: wrap;
}

.site-front .sec-head h2 {
	font-size: clamp(30px, 3.4vw, 46px);
	color: var(--ink);
	line-height: 1.08;
	margin: 0;
}

.site-front .sec-head .desc {
	max-width: 420px;
	flex: 1 1 auto;
	width: 100%;
	height: auto;
	max-height: none;
	color: var(--steel);
	font-size: 15px;
	line-height: 1.55;
	margin: 0;
}

/* ---- Hero（高度随图片自适应，不强制固定高） ---- */
.site-front #hero {
	position: relative;
	width: 100%;
	height: auto;
	min-height: 0;
	overflow: hidden;
	background: var(--ink);
	padding: 0;
}

.site-front #hero .slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1.1s ease, visibility 1.1s ease;
	pointer-events: none;
	z-index: 1;
}

.site-front #hero .slide.active {
	position: relative;
	inset: auto;
	opacity: 1;
	visibility: visible;
	z-index: 2;
	pointer-events: auto;
}

.site-front #hero .slide-link {
	display: block;
	position: relative;
	z-index: 0;
}

.site-front #hero .slide img {
	width: 100%;
	height: auto;
	max-width: 100%;
	display: block;
	object-fit: unset;
	vertical-align: top;
}

.site-front #hero .slide-shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(0deg, rgba(18, 22, 27, 0.5) 0%, rgba(18, 22, 27, 0) 22%, rgba(18, 22, 27, 0) 78%, rgba(18, 22, 27, 0.35) 100%);
}

.site-front #hero .heroctrl {
	position: absolute;
	bottom: clamp(16px, 3vw, 38px);
	left: 0;
	right: 0;
	z-index: 3;
}

.site-front #hero .heroctrl .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-front #hero .dots {
	display: flex;
	gap: 10px;
}

.site-front #hero .dots button {
	width: 34px;
	height: 3px;
	background: rgba(255, 255, 255, 0.3);
	border: none;
	cursor: pointer;
	padding: 0;
	position: relative;
	/* 扩大触控热区，视觉仍保持细条 */
	box-shadow: 0 0 0 18px transparent;
}

.site-front #hero .dots button::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 44px;
	height: 44px;
	transform: translate(-50%, -50%);
}

.site-front #hero .dots button.active::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--signal);
	width: 100%;
	transform-origin: left;
	animation: front-fillbar 5s linear;
}

@keyframes front-fillbar {
	from {
		transform: scaleX(0);
	}
	to {
		transform: scaleX(1);
	}
}

.site-front #hero .heroindex {
	font-family: var(--mono);
	color: rgba(255, 255, 255, 0.55);
	font-size: 12px;
	letter-spacing: 0.1em;
}

.site-front #hero .heroindex b {
	color: var(--white);
}

.site-front #hero .scrolldown {
	position: absolute;
	right: clamp(16px, 3vw, 40px);
	bottom: clamp(16px, 3vw, 38px);
	z-index: 3;
	writing-mode: vertical-rl;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.15em;
	color: rgba(255, 255, 255, 0.5);
	display: flex;
	align-items: center;
	gap: 10px;
}

.site-front #hero .scrolldown::after {
	content: "";
	width: 1px;
	height: 44px;
	background: rgba(255, 255, 255, 0.35);
}

.site-front #hero .hero-arrows {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	z-index: 4;
	display: flex;
	justify-content: space-between;
	padding: 0 clamp(12px, 2.5vw, 30px);
	pointer-events: none;
}

.site-front #hero .hero-arrows button {
	pointer-events: auto;
	width: clamp(40px, 5vw, 56px);
	height: clamp(40px, 5vw, 56px);
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(4px);
	color: #fff;
	font-size: clamp(20px, 2.5vw, 28px);
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.site-front #hero .hero-arrows button:hover {
	background: var(--signal);
	border-color: var(--signal);
	transform: scale(1.05);
}

/* 手机端：为固定顶栏留白（用 margin，避免切换幻灯时因 padding 导致图片上跳） */
@media (max-width: 1100px) {
	.site-front #hero {
		padding-top: 0;
		margin-top: 72px;
	}

	body.admin-bar .site-front #hero {
		padding-top: 0;
		margin-top: 72px;
	}

	/* margin 不计入 #hero 高度，箭头恢复按图片区域垂直居中 */
	.site-front #hero .hero-arrows {
		top: 50%;
	}
}

@media (max-width: 680px) {
	.site-front #hero .scrolldown {
		display: none;
	}

	.site-front #hero .heroctrl .wrap {
		padding: 0 22px;
	}

	.site-front #hero .dots button {
		width: 28px;
	}
}

/* ---- Products ---- */
.site-front #products {
	background: var(--white);
	padding: 80px 0;
}

.site-front #products .sec-head h2 {
	color: var(--ink);
}

.site-front #products .sec-head .desc {
	max-width: 420px;
	flex: 1 1 auto;
	height: auto;
	max-height: none;
	color: var(--steel);
	font-size: 15px;
	line-height: 1.55;
}

.site-front #products .pgrid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1px;
	background: var(--paper-dim);
	border: 1px solid var(--paper-dim);
}

.site-front #products .pcard {
	height: 110px;
	background: #fff;
	padding: 18px 20px;
	position: relative;
	cursor: pointer;
	display: flex;
	align-items: flex-end;
	transition: 0.35s;
	border: none;
	text-align: left;
	width: 100%;
	font: inherit;
	color: inherit;
}

.site-front #products .pcard::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 0;
	background: var(--brand-grad);
	transition: 0.35s;
	z-index: 0;
}

.site-front #products .pcard:hover::before,
.site-front #products .pcard.active::before {
	width: 100%;
}

.site-front #products .pcard > * {
	position: relative;
	z-index: 1;
}

.site-front #products .pnum {
	position: absolute;
	left: 20px;
	top: 16px;
	font-family: var(--mono);
	font-size: 12px;
	color: var(--steel);
}

.site-front #products .pcard:hover .pnum,
.site-front #products .pcard.active .pnum {
	color: rgba(255, 255, 255, 0.7);
}

.site-front #products .picon {
	position: absolute;
	right: 20px;
	top: 14px;
	width: 36px;
	height: 36px;
	object-fit: contain;
	transition: 0.35s;
}

.site-front #products .pcard:hover .picon,
.site-front #products .pcard.active .picon {
	transform: scale(1.12);
}

.site-front #products .pcard h4 {
	margin: 0;
	font-size: 16px;
	line-height: 1.2;
	max-width: 85%;
}

.site-front #products .pcard:hover h4,
.site-front #products .pcard.active h4 {
	color: #fff;
}

.site-front #products .product-show {
	margin-top: 50px;
}

.site-front #products .product-title {
	font-size: 24px;
	font-weight: 700;
	color: var(--navy);
	margin-bottom: 25px;
	text-transform: uppercase;
	font-family: var(--display);
}

.site-front #products .product-slider {
	display: flex;
	align-items: center;
	gap: 20px;
}

.site-front #products .product-list {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	flex: 1;
	padding: 10px;
	scroll-behavior: smooth;
}

.site-front #products .product-list::-webkit-scrollbar {
	display: none;
}

.site-front #products .product-box {
	flex: 0 0 calc((100% - 60px) / 4);
	height: 380px;
	background: #fff;
	border: 1px solid #e8eaee;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	padding: 20px;
	box-sizing: border-box;
	color: inherit;
	text-decoration: none;
	transition: box-shadow 0.3s ease;
}

.site-front #products .product-box-placeholder {
	width: 100%;
	height: 220px;
	background: #f3f4f6;
	margin-bottom: auto;
}

.site-front #products .product-box:hover {
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.site-front #products .product-box img {
	width: 100%;
	height: 220px;
	object-fit: contain;
	margin-bottom: auto;
	transition: 0.35s;
}

.site-front #products .product-box:hover img {
	transform: scale(1.05);
}

.site-front #products .product-bottom {
	padding-top: 15px;
}

.site-front #products .divider {
	width: 100%;
	height: 1px;
	background: #e8eaee;
	margin-bottom: 12px;
}

.site-front #products .name-container {
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.site-front #products .product-name {
	text-align: center;
	font-size: 14px;
	color: #1d2939;
	font-weight: 600;
	line-height: 1.3;
}

.site-front #products .slider-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #ddd;
	cursor: pointer;
	flex-shrink: 0;
	transition: 0.3s;
}

.site-front #products .slider-btn:hover {
	background: var(--navy);
	color: #fff;
}

/* ---- Featured ---- */
.site-front #featured {
	background: #25282d;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--white);
	position: relative;
	padding: 80px 0;
	overflow: hidden;
}

.site-front #featured .feat-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 70px;
	align-items: center;
}

.site-front #featured .feat-copy h2 {
	color: #ffffff;
	font-size: clamp(26px, 4vw, 40px);
}

.site-front #featured .eyebrow {
	color: var(--signal);
	font-size: 13px;
	letter-spacing: 0.08em;
	margin-bottom: 12px;
}

.site-front #featured .feat-copy p {
	color: rgba(255, 255, 255, 0.62);
	margin: 22px 0 30px;
	max-width: 460px;
	line-height: 1.6;
}

.site-front #featured .feat-specs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 34px;
}

.site-front #featured .feat-specs .feat-spec {
	border-top: 1px solid var(--steel-line);
	padding-top: 12px;
}

.site-front #featured .feat-specs .k {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--signal);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-front #featured .feat-specs .v {
	font-family: var(--display);
	font-size: 22px;
	margin-top: 6px;
	font-weight: 600;
}

.site-front #featured .feat-visual {
	aspect-ratio: 1 / 1;
	position: relative;
	border-radius: 4px;
	background: transparent;
	transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.site-front #featured .feat-visual-media {
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 4px;
}

.site-front #featured .feat-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.8s ease;
}

.site-front #featured .feat-visual:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.site-front #featured .feat-visual:hover img {
	transform: scale(1.06);
}

.site-front #featured .feat-container {
	position: relative;
	width: 100%;
}

.site-front #featured .feat-slider {
	overflow: hidden;
	width: 100%;
}

.site-front #featured .feat-track {
	display: flex;
	transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
	width: 100%;
}

.site-front #featured .feat-slide {
	flex: 0 0 100%;
	width: 100%;
	box-sizing: border-box;
	/* 为悬停上移与阴影留出空间，避免被 feat-slider overflow 裁切 */
	padding: 20px 28px 52px;
}

.site-front #featured .feat-controls {
	position: absolute;
	top: 50%;
	left: 8px;
	right: 8px;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	pointer-events: none;
	z-index: 10;
}

.site-front #featured .feat-btn {
	pointer-events: auto;
	background: rgba(17, 17, 17, 0.8);
	border: 1px solid var(--steel-line);
	color: var(--white);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: 0.3s;
}

.site-front #featured .feat-btn:hover {
	background: var(--signal);
	border-color: var(--signal);
}

/* ---- Solutions ---- */
.site-front #solutions .sec-head {
	margin-bottom: 50px;
}

.site-front #solutions .eyebrow {
	color: var(--signal);
	font-size: 13px;
	letter-spacing: 0.08em;
	margin-bottom: 12px;
}

.site-front #solutions .sec-head h2 {
	color: #1d6fb8;
	font-size: 36px;
	margin-bottom: 16px;
}

.site-front #solutions .sec-head .desc {
	color: rgba(41, 41, 41, 0.55);
	max-width: 500px;
	flex: 1 1 auto;
	height: auto;
	max-height: none;
	line-height: 1.6;
}

.site-front #solutions .sol-accordion {
	display: flex;
	width: 100%;
	height: 400px;
	gap: 10px;
	margin-bottom: 60px;
}

.site-front #solutions .sol-card {
	position: relative;
	flex: 1;
	overflow: hidden;
	cursor: pointer;
	background: #f0f0f0;
	border-radius: 4px;
	transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.site-front #solutions .sol-card:hover,
.site-front #solutions .sol-card:focus-within {
	flex: 3;
}

.site-front #solutions .sol-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: none;
	transition: transform 0.6s ease;
}

.site-front #solutions .sol-card:hover img,
.site-front #solutions .sol-card:focus-within img {
	transform: scale(1.05);
}

.site-front #solutions .sol-body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 20px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
	z-index: 2;
	pointer-events: none;
}

.site-front #solutions .sol-num {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--signal);
	display: block;
	margin-bottom: 5px;
}

.site-front #solutions .sol-card h3 {
	font-size: 16px;
	color: #fff;
	margin: 0;
	white-space: nowrap;
}

.site-front #solutions .sol-card p {
	color: #fff;
	font-size: 14px;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: all 0.5s ease;
	margin-top: 0;
}

.site-front #solutions .sol-card:hover p,
.site-front #solutions .sol-card:focus-within p {
	max-height: 100px;
	opacity: 1;
	margin-top: 10px;
}

.site-front #solutions .sol-actions {
	text-align: left;
}

/* ---- About ---- */
.site-front #about {
	background: var(--white);
	padding: 80px 0;
}

.site-front #about .about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.site-front #about .eyebrow {
	color: var(--signal);
	font-size: 13px;
	letter-spacing: 0.08em;
	margin-bottom: 12px;
}

.site-front #about h2 {
	font-size: 36px;
	color: var(--navy);
	margin-bottom: 26px;
	line-height: 1.2;
}

.site-front #about .about-copy {
	max-height: 220px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding-right: 16px;
	color: var(--steel);
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 24px;
}

.site-front #about .about-copy p {
	margin-top: 0;
	margin-bottom: 18px;
}

.site-front #about .about-copy p:last-child {
	margin-bottom: 0;
}

.site-front #about .about-copy::-webkit-scrollbar {
	width: 6px;
}

.site-front #about .about-copy::-webkit-scrollbar-track {
	background: #f1f5f9;
	border-radius: 4px;
}

.site-front #about .about-copy::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 4px;
}

.site-front #about .certs {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.site-front #about .certs span {
	font-family: var(--mono);
	font-size: 12px;
	border: 1px solid #e2e8f0;
	padding: 6px 14px;
	color: var(--steel);
	letter-spacing: 0.05em;
	border-radius: 4px;
}

.site-front #about .about-visual {
	background: var(--paper);
	aspect-ratio: 16 / 9;
	position: relative;
	overflow: hidden;
	border-radius: 6px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
	transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
}

.site-front #about .about-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.8s ease;
}

.site-front #about .about-visual:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(18, 22, 27, 0.18);
}

.site-front #about .about-visual:hover img {
	transform: scale(1.06);
}

.site-front #about .about-visual .cap {
	position: absolute;
	bottom: 16px;
	left: 16px;
	font-family: var(--mono);
	font-size: 11px;
	color: var(--white);
	background: rgba(15, 23, 42, 0.7);
	backdrop-filter: blur(4px);
	padding: 6px 12px;
	border-radius: 4px;
	transition: background 0.35s ease;
}

.site-front #about .about-visual:hover .cap {
	background: rgba(15, 23, 42, 0.85);
}

.site-front #about .about-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 70px;
}

.site-front #about .about-stats > div {
	background: var(--white);
	padding: 30px 20px;
	text-align: center;
	border-radius: 8px;
	transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.site-front #about .about-stats > div:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.site-front #about .about-stats .n {
	font-family: var(--display);
	font-size: 44px;
	font-weight: 800;
	background: var(--brand-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	transition: transform 0.3s ease;
}

.site-front #about .about-stats > div:hover .n {
	transform: scale(1.08);
}

.site-front #about .about-stats .l {
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 600;
	color: var(--steel);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-top: 12px;
}

/* ---- Advantages ---- */
.site-front #adv {
	background: var(--paper);
	padding: 80px 0;
}

.site-front #adv .sec-head {
	margin-bottom: 50px;
}

.site-front #adv .eyebrow {
	color: var(--signal);
	font-size: 13px;
	letter-spacing: 0.08em;
	margin-bottom: 12px;
}

.site-front #adv .sec-head h2 {
	color: #1d6fb8;
	font-size: 36px;
	margin-bottom: 16px;
}

.site-front #adv .sec-head .desc {
	color: rgba(41, 41, 41, 0.55);
	max-width: 500px;
	flex: 1 1 auto;
	height: auto;
	max-height: none;
	line-height: 1.6;
}

.site-front #adv .adv-layout {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 0;
	border: 1px solid var(--paper-dim);
}

.site-front #adv .adv-tabs {
	background: var(--white);
}

.site-front #adv .adv-tab {
	padding: 30px 34px;
	border-bottom: 1px solid var(--paper-dim);
	cursor: pointer;
	transition: 0.25s;
	position: relative;
}

.site-front #adv .adv-tab:last-child {
	border-bottom: none;
}

.site-front #adv .adv-tab::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: transparent;
	transition: 0.25s;
}

.site-front #adv .adv-tab .n {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--steel);
}

.site-front #adv .adv-tab h4 {
	font-size: 18px;
	margin-top: 8px;
	transition: color 0.3s;
}

.site-front #adv .adv-tab p {
	font-size: 13.5px;
	color: var(--steel);
	max-height: 0;
	overflow: hidden;
	transition: 0.3s ease;
}

.site-front #adv .adv-tab.active {
	background: var(--paper);
}

.site-front #adv .adv-tab.active::before {
	background: var(--signal);
}

.site-front #adv .adv-tab.active p {
	max-height: 200px;
	margin-top: 10px;
}

.site-front #adv .adv-tab.active h4 {
	color: var(--signal);
}

.site-front #adv .adv-visual {
	background: var(--ink);
	position: relative;
	overflow: hidden;
	min-height: 400px;
}

.site-front #adv .adv-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.site-front #adv .adv-visual img.active {
	opacity: 1;
}

.site-front #adv .adv-visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(18, 22, 27, 0.55) 0%, rgba(18, 22, 27, 0) 45%);
	z-index: 1;
	pointer-events: none;
}

/* ---- Cases ---- */
.site-front #cases {
	background: var(--white);
	padding: 80px 0;
	overflow: hidden;
}

.site-front #cases .cases-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 40px;
}

.site-front #cases .eyebrow {
	color: var(--signal);
	font-size: 12px;
	letter-spacing: 0.1em;
	margin-bottom: 10px;
	display: block;
}

.site-front #cases h2 {
	color: #12161b;
	font-size: 32px;
	line-height: 1.2;
	margin: 0;
}

.site-front #cases .case-nav {
	display: flex;
	gap: 10px;
}

.site-front #cases .nav-btn {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid var(--paper-dim);
	background: #fff;
	cursor: pointer;
	transition: 0.3s;
}

.site-front #cases .nav-btn:hover {
	background: #12161b;
	color: #fff;
}

.site-front #cases .case-viewport {
	position: relative;
	width: 100%;
	overflow: hidden;
	margin-bottom: 50px;
}

.site-front #cases .case-slider {
	display: flex;
	gap: 2px;
	transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.site-front #cases .case-tile {
	flex: 0 0 20%;
	background: #f4f4f4;
	aspect-ratio: 9 / 16;
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.site-front #cases .case-tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 1;
	transition: 0.6s ease;
}

.site-front #cases .case-tile:hover img {
	transform: scale(1.05);
}

.site-front #cases .case-tile .ov {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.5) 100%);
	display: flex;
	align-items: flex-end;
	padding: 26px;
}

.site-front #cases .case-tile .txt .loc {
	font-family: var(--mono);
	font-size: 11px;
	color: var(--signal);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 8px;
	display: block;
}

.site-front #cases .case-tile .txt h4 {
	color: #fff;
	font-size: 17px;
	margin: 0;
	line-height: 1.3;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.site-front #cases .more-btn {
	text-align: center;
}

.site-front #cases .more-btn a {
	display: inline-block;
	padding: 14px 40px;
	border: 1px solid #12161b;
	color: #12161b;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: 0.3s;
}

.site-front #cases .more-btn a:hover {
	background: #12161b;
	color: #fff;
}

/* ---- News ---- */
.site-front #news {
	background: var(--paper);
}

.site-front #news .eyebrow {
	color: var(--signal);
	margin-bottom: 12px;
}

.site-front #news .news-track {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 36px;
}

.site-front #news .news-card {
	background: var(--white);
	border: 1px solid var(--paper-dim);
}

.site-front #news .news-thumb {
	aspect-ratio: 16 / 10;
	background: var(--graphite);
	position: relative;
	overflow: hidden;
	display: block;
}

.site-front #news .news-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.site-front #news .news-thumb:hover img {
	transform: scale(1.04);
}

.site-front #news .news-body {
	padding: 26px 28px 30px;
}

.site-front #news .news-date {
	font-family: var(--mono);
	font-size: 11.5px;
	color: var(--navy);
	letter-spacing: 0.06em;
}

.site-front #news .news-body h4 {
	font-size: 17px;
	margin: 12px 0 12px;
	line-height: 1.3;
	min-height: calc(1.3em * 2);
}

.site-front #news .news-body h4 a {
	color: inherit;
	text-decoration: none;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.site-front #news .news-body h4 a:hover {
	color: var(--navy);
}

.site-front #news .news-body p {
	font-size: 13.5px;
	color: var(--steel);
}

.site-front #news .news-more {
	font-family: var(--mono);
	font-size: 11.5px;
	letter-spacing: 0.06em;
	margin-top: 16px;
	display: inline-flex;
	gap: 6px;
	align-items: center;
	color: var(--ink);
}

/* ---- Inquiry ---- */
.site-front #inquiry {
	background: var(--brand-grad);
	color: var(--white);
	position: relative;
	overflow: hidden;
}

.site-front #inquiry::before {
	content: "";
	position: absolute;
	right: -140px;
	top: -140px;
	width: 480px;
	height: 480px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-front #inquiry::after {
	content: "";
	position: absolute;
	right: -60px;
	top: -60px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-front #inquiry .inq-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 70px;
	position: relative;
	z-index: 1;
}

.site-front #inquiry .eyebrow {
	color: var(--signal);
}

.site-front #inquiry h2 {
	color: var(--white);
	font-size: clamp(28px, 3.2vw, 42px);
	margin-bottom: 20px;
}

.site-front #inquiry .desc {
	color: rgba(255, 255, 255, 0.68);
	max-width: 400px;
	font-size: 15px;
	height: auto;
	max-height: none;
}

.site-front #inquiry .form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.site-front #inquiry .form-grid .full {
	grid-column: 1 / -1;
}

.site-front #inquiry .field label {
	font-family: var(--mono);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: rgba(255, 255, 255, 0.55);
	display: block;
	margin-bottom: 8px;
}

.site-front #inquiry .field input,
.site-front #inquiry .field textarea,
.site-front #inquiry .field select {
	width: 100%;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: var(--white);
	padding: 13px 14px;
	font-family: var(--body);
	font-size: 14px;
}

.site-front #inquiry .field input::placeholder,
.site-front #inquiry .field textarea::placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.site-front #inquiry .field textarea {
	resize: vertical;
	min-height: 100px;
}

.site-front #inquiry .field input:focus,
.site-front #inquiry .field textarea:focus,
.site-front #inquiry .field select:focus {
	outline: 1.5px solid var(--signal);
	background: rgba(255, 255, 255, 0.1);
}

.site-front #inquiry .field select option {
	color: #12161b;
}

.site-front #inquiry .btn {
	margin-top: 8px;
}

/* ---- Responsive ---- */
@media (max-width: 1320px) {
	.site-front #featured .feat-container {
		padding-bottom: 72px;
	}

	.site-front #featured .feat-controls {
		left: 0;
		right: 0;
		top: auto;
		bottom: 0;
		transform: none;
		justify-content: center;
		gap: 20px;
	}

	.site-front #featured .feat-slide {
		padding-bottom: 28px;
	}
}

@media (max-width: 1100px) {
	.site-front .wrap {
		padding: 0 22px;
	}

	.site-front > section:not(#hero) {
		padding: 88px 0;
	}

	.site-front #products,
	.site-front #featured,
	.site-front #about,
	.site-front #adv,
	.site-front #cases {
		padding: 88px 0;
	}

	.site-front .sec-head h2,
	.site-front #solutions .sec-head h2,
	.site-front #about h2,
	.site-front #adv .sec-head h2,
	.site-front #cases h2 {
		font-size: clamp(26px, 5vw, 34px);
	}

	.site-front #products .pgrid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.site-front #products .pcard {
		height: auto;
		min-height: 110px;
	}

	.site-front #products .pcard h4 {
		max-width: 100%;
		white-space: normal;
	}

	.site-front #products .product-box {
		flex: 0 0 calc((100% - 40px) / 3);
		height: auto;
		min-height: 0;
	}

	.site-front #products .product-box img,
	.site-front #products .product-box-placeholder {
		height: auto;
		aspect-ratio: 4 / 3;
		max-height: 180px;
	}

	.site-front #featured .feat-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.site-front #featured .feat-specs .v {
		font-size: 20px;
	}

	/* Solutions：平板起纵向堆叠，不依赖 hover */
	.site-front #solutions .sol-accordion {
		flex-direction: column;
		height: auto;
	}

	.site-front #solutions .sol-card {
		height: auto;
		min-height: 200px;
		flex: none;
	}

	.site-front #solutions .sol-card:hover,
	.site-front #solutions .sol-card:focus-within {
		flex: none;
	}

	.site-front #solutions .sol-card h3 {
		white-space: normal;
	}

	.site-front #solutions .sol-card p,
	.site-front #solutions .sol-card:hover p,
	.site-front #solutions .sol-card:focus-within p {
		max-height: 96px;
		opacity: 1;
		margin-top: 8px;
	}

	.site-front #about .about-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.site-front #about .about-stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
		margin-top: 48px;
	}

	.site-front #about .about-stats .n {
		font-size: 36px;
	}

	.site-front #adv .adv-layout {
		grid-template-columns: 1fr;
	}

	.site-front #adv .adv-visual {
		min-height: 260px;
	}

	.site-front #adv .adv-tab {
		padding: 22px 24px;
	}

	.site-front #cases .case-tile {
		flex: 0 0 50%;
	}

	.site-front #news .news-track {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.site-front #inquiry .inq-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}
}

@media (max-width: 768px) {
	.site-front #products .pgrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.site-front #products .product-slider {
		gap: 10px;
	}

	.site-front #products .product-box {
		flex: 0 0 calc((100% - 16px) / 2);
		padding: 14px;
	}

	.site-front #products .product-title {
		font-size: 20px;
	}

	.site-front #products .slider-btn {
		width: 40px;
		height: 40px;
	}
}

@media (max-width: 680px) {
	.site-front .wrap {
		padding: 0 22px;
	}

	.site-front > section:not(#hero),
	.site-front #products,
	.site-front #featured,
	.site-front #about,
	.site-front #adv,
	.site-front #cases,
	.site-front #solutions,
	.site-front #news,
	.site-front #inquiry {
		padding: 40px 0;
	}

	.site-front .sec-head {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 36px;
		gap: 18px;
	}

	.site-front .sec-head .desc,
	.site-front #products .sec-head .desc,
	.site-front #solutions .sec-head .desc,
	.site-front #adv .sec-head .desc,
	.site-front #inquiry .desc {
		flex: none;
		width: 100%;
		max-width: 100%;
		height: auto;
		max-height: none;
	}

	.site-front .btn {
		padding: 13px 22px;
		font-size: 12px;
		white-space: normal;
	}

	.site-front #hero .hero-arrows {
		padding: 0 10px;
	}

	.site-front #hero .hero-arrows button {
		width: 40px;
		height: 40px;
	}

	.site-front #hero .dots button {
		width: 28px;
	}

	.site-front #products .pgrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-front #products .product-show {
		margin-top: 25px;
	}

	.site-front #products .product-box {
		flex: 0 0 calc((100% - 14px) / 2);
		height: auto;
	}

	.site-front #products .product-box img,
	.site-front #products .product-box-placeholder {
		max-height: 200px;
	}

	.site-front #products .slider-btn {
		display: none;
	}

	.site-front #products .product-list {
		gap: 14px;
		padding: 6px 2px;
	}

	.site-front #featured .feat-specs {
		gap: 14px;
	}

	.site-front #featured .feat-specs .v {
		font-size: 18px;
	}

	.site-front #featured .feat-slide {
		padding: 12px 8px 24px;
	}

	.site-front #solutions .sol-card {
		min-height: 280px;
	}

	.site-front #about .about-stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
		margin-top: 36px;
	}

	.site-front #about .about-stats > div {
		padding: 22px 10px;
	}

	.site-front #about .about-stats .n {
		font-size: 30px;
	}

	.site-front #adv .adv-visual {
		min-height: 220px;
	}

	.site-front #adv .adv-tab {
		padding: 18px 18px;
	}

	.site-front #cases .cases-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.site-front #cases .case-tile {
		flex: 0 0 50%;
	}

	.site-front #news .news-track {
		grid-template-columns: 1fr;
	}

	.site-front #inquiry .inq-grid {
		gap: 28px;
	}

	.site-front #inquiry .form-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 420px) {
	.site-front #about .about-stats .n {
		font-size: 26px;
	}

	.site-front #products .product-name {
		font-size: 13px;
	}

	.site-front #featured .feat-specs {
		grid-template-columns: 1fr;
	}
}
