/* Hero 通栏海报轮播：宽 100%，高度随图片比例自适应 */
#hero.hero-banner {
	position: relative;
	width: 100%;
	height: auto;
	overflow: hidden;
	background: var(--navy);
	line-height: 0;
}

.hero-slider {
	position: relative;
	width: 100%;
	height: auto;
	overflow: hidden;
}

.hero-track {
	display: flex;
	align-items: flex-start;
	height: auto;
	transition: transform .5s ease;
	will-change: transform;
}

.hero-slide {
	flex: 0 0 100%;
	width: 100%;
	height: auto;
	min-width: 0;
}

.hero-slide-link {
	display: block;
	width: 100%;
	height: auto;
	line-height: 0;
}

.hero-slide img {
	display: block;
	width: 100%;
	height: auto;
}

.hero-arrow {
	position: absolute;
	top: 50%;
	z-index: 4;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	background: rgba(255, 255, 255, .18);
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .3s, visibility .3s, background .25s;
	backdrop-filter: blur(4px);
}

#hero.hero-banner:hover .hero-arrow {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.hero-arrow:hover {
	background: var(--blue);
}

.hero-arrow-prev {
	left: 40px;
}

.hero-arrow-next {
	right: 40px;
}

.hero-dots {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 3;
	line-height: normal;
}

.hero-dot {
	width: 24px;
	height: 3px;
	border: none;
	padding: 0;
	background: rgba(255, 255, 255, .35);
	cursor: pointer;
	transition: all .3s;
}

.hero-dot.on {
	width: 42px;
	background: var(--blue-mid);
}

.site-front.site-main {
	min-height: 0;
}

@media (max-width: 1100px) {
	.hero-dots {
		bottom: 18px;
	}

	.hero-arrow {
		width: 42px;
		height: 42px;
		font-size: 18px;
	}

	.hero-arrow-prev {
		left: 20px;
	}

	.hero-arrow-next {
		right: 20px;
	}
}

@media (max-width: 640px) {
	.hero-dots {
		bottom: 12px;
	}

	.hero-arrow {
		width: 36px;
		height: 36px;
		font-size: 16px;
		/* 触屏无 hover，箭头常显 */
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		background: rgba(0, 0, 0, .35);
	}

	.hero-arrow-prev {
		left: 12px;
	}

	.hero-arrow-next {
		right: 12px;
	}
}

/* ===== 公司简介（对齐 jingtai/index.html about） ===== */
.site-front .about {
	background: var(--bg);
}

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

.site-front .about .grid:not(:has(.text)),
.site-front .about .grid:not(:has(.video)) {
	grid-template-columns: 1fr;
}

.site-front .about .text h3 {
	font-size: 26px;
	color: var(--ink);
	font-weight: 600;
	margin-bottom: 20px;
	line-height: 1.4;
}

.site-front .about .text h3 span {
	color: var(--brand);
}

.site-front .about .about-desc {
	font-size: 15px;
}

.site-front .about .about-desc p {
	margin: 0 0 16px;
}

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

.site-front .about .stats {
	display: flex;
	gap: 40px;
	margin-top: 30px;
	flex-wrap: wrap;
}

.site-front .about .stats .stat-item {
	display: flex;
	align-items: center;
	gap: 14px;
}

.site-front .about .stats .stat-item .stat-icon {
	width: 42px;
	height: 42px;
	flex-shrink: 0;
}

.site-front .about .stats .stat-item .stat-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.site-front .about .stats .stat-item .stat-text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.site-front .about .stats .stat-item .stat-text b {
	font-size: 28px;
	color: #000;
	font-weight: 700;
}

.site-front .about .stats .stat-item .stat-text span {
	font-size: 13px;
	color: var(--muted);
}

.site-front .about .video {
	position: relative;
	height: 400px;
	border-radius: 6px;
	overflow: hidden;
	background-color: #1B222C;
	background-image:
		linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .25)),
		var(--about-video-cover, none);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.site-front .about .video.has-video {
	cursor: pointer;
}

.site-front .about .video .play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--brand);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 30px rgba(230, 33, 42, .4);
	transition: transform .3s;
	z-index: 2;
	pointer-events: none;
}

.site-front .about .video.has-video:hover .play {
	transform: translate(-50%, -50%) scale(1.08);
}

.site-front .about .video .play::after {
	content: '';
	border-style: solid;
	border-width: 10px 0 10px 16px;
	border-color: transparent transparent transparent #fff;
	margin-left: 4px;
}

.site-front .about .video video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
}

@media (max-width: 900px) {
	.site-front .about.section {
		padding: 60px 0;
	}

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

	.site-front .about .stats {
		gap: 24px;
		justify-content: center;
	}
}

@media (max-width: 500px) {
	.site-front .about .stats .stat-item .stat-text b {
		font-size: 22px;
	}

	.site-front .about .stats .stat-item .stat-text span {
		font-size: 12px;
	}

	.site-front .about .video {
		height: 240px;
	}

	.site-front .about .text h3 {
		font-size: 22px;
	}
}

/* ===== 产品展示（对齐 jingtai/index.html product） ===== */
.site-front .product.section {
	padding: 80px 0;
	position: relative;
	background-color: #f5f6f8;
	background-image: var(--front-product-bg, none);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.site-front .product .product-display {
	display: grid;
	grid-template-columns: 760px 1fr;
	gap: 50px;
	align-items: start;
	margin-top: 30px;
}

.site-front .product .product-display:not(:has(.main)) {
	grid-template-columns: 1fr;
}

.site-front .product .main {
	position: relative;
	border-radius: 6px;
	overflow: hidden;
	width: 760px;
	height: 480px;
	flex-shrink: 0;
	background: #fff;
}

.site-front .product .main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.site-front .product .intro {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
	padding: 10px 0;
}

.site-front .product .intro .name {
	margin-bottom: 16px;
}

.site-front .product .intro .name h3 {
	font-size: 26px;
	color: var(--ink);
	font-weight: 600;
	line-height: 1.35;
}

.site-front .product .intro .name h3 span {
	color: var(--brand);
}

.site-front .product .intro .name p {
	color: var(--muted);
	font-size: 14px;
	margin-top: 4px;
}

.site-front .product .intro .product-desc {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.9;
	margin-bottom: 20px;
}

.site-front .product .intro .tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}

.site-front .product .intro .tags span {
	border: 1px solid var(--line);
	background: #fff;
	color: var(--text);
	padding: 6px 16px;
	font-size: 13px;
	border-radius: 30px;
}

.site-front .product .intro .tags span b {
	color: var(--brand);
	font-weight: 600;
}

.site-front .product .intro .btn-more-detail {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 28px;
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	background: var(--brand);
	border: none;
	border-radius: 30px;
	text-decoration: none;
	width: fit-content;
	transition: all .3s ease;
}

.site-front .product .intro .btn-more-detail:hover {
	background: var(--ink);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(230, 33, 42, .35);
}

.site-front .product .intro .btn-more-detail::after {
	content: '→';
	transition: transform .3s ease;
}

.site-front .product .intro .btn-more-detail:hover::after {
	transform: translateX(4px);
}

.site-front .product .type-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	margin-top: 50px;
}

.site-front .product .type-card {
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(2px);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 20px 16px;
	text-align: center;
	transition: transform .25s, box-shadow .25s, border-color .25s;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.site-front .product .type-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .1);
	border-color: var(--brand);
}

.site-front .product .type-img {
	width: 100%;
	max-width: 242px;
	height: 130px;
	object-fit: cover;
	border-radius: 6px;
	margin-bottom: 14px;
	background: #f9f9f9;
}

.site-front .product .type-card h4 {
	font-size: 15px;
	color: var(--ink);
	margin-bottom: 8px;
	line-height: 1.45;
}

.site-front .product .btn-more {
	display: inline-block;
	padding: 5px 18px;
	font-size: 12px;
	color: var(--brand);
	border: 1px solid var(--brand);
	border-radius: 20px;
	background: transparent;
	text-decoration: none;
	transition: all .3s ease;
	margin-top: auto;
}

.site-front .product .btn-more:hover {
	background: var(--brand);
	color: #fff;
}

@media (max-width: 1480px) {
	.site-front .product .product-display {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.site-front .product .main {
		width: 100%;
		height: auto;
		aspect-ratio: 760 / 480;
	}
}

@media (max-width: 1200px) {
	.site-front .product .type-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 992px) {
	.site-front .product.section {
		padding: 54px 0;
	}

	.site-front .product .type-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.site-front .product .type-grid {
		grid-template-columns: 1fr 1fr;
	}

	.site-front .product .intro .name h3 {
		font-size: 20px;
	}

	.site-front .product .intro .btn-more-detail {
		width: 100%;
		justify-content: center;
	}
}

/* ===== 我们的优势（对齐 jingtai/index.html advantage） ===== */
.site-front .advantage.section {
	padding: 80px 0;
	position: relative;
	background-color: #b01a28;
	background-image:
		linear-gradient(rgba(180, 20, 30, .88), rgba(140, 10, 20, .94)),
		var(--front-advantage-bg, none);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.site-front .advantage .section-head h2 {
	color: #fff;
}

.site-front .advantage .section-head .en {
	color: rgba(255, 255, 255, .7);
}

.site-front .advantage .section-head .line {
	background: #fff;
}

.site-front .advantage .adv-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.site-front .advantage .adv-card {
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 12px;
	padding: 30px 24px;
	color: #fff;
	backdrop-filter: blur(2px);
	transition: background .35s, transform .35s, border-color .35s;
}

.site-front .advantage .adv-card:hover {
	background: rgba(255, 255, 255, .22);
	border-color: rgba(255, 255, 255, .4);
	transform: translateY(-6px);
}

.site-front .advantage .adv-icon {
	width: 48px;
	height: 48px;
	margin-bottom: 14px;
	flex-shrink: 0;
}

.site-front .advantage .adv-icon img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}

.site-front .advantage .adv-card h4 {
	font-size: 19px;
	margin-bottom: 12px;
	letter-spacing: 1px;
	color: #fff;
	font-weight: 600;
}

/* 描述颜色由编辑器控制；清掉富文本自带的白底/圆角底，避免叠在卡片上 */
.site-front .advantage .adv-desc {
	font-size: 13px;
	line-height: 1.8;
}

.site-front .advantage .adv-desc,
.site-front .advantage .adv-desc * {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
}

/* 编辑器插入的对号图常带 alignnone，会吃到 base.css 的 0.5em/1em 上下边距 */
.site-front .advantage .adv-desc img {
	display: inline-block;
	vertical-align: middle;
	margin: 0 6px 0 0 !important;
	width: auto;
	height: auto;
	max-height: 1.15em;
}

.site-front .advantage .adv-desc > *:last-child {
	margin-bottom: 0;
}

@media (max-width: 992px) {
	.site-front .advantage.section {
		padding: 54px 0;
		background-attachment: scroll;
	}

	.site-front .advantage .adv-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.site-front .advantage .adv-grid {
		grid-template-columns: 1fr;
	}
}

/* ===== 案例展示（对齐 jingtai/index.html cases） ===== */
.site-front .cases.section {
	background: var(--bg-gray);
	overflow: hidden;
	padding: 90px 0 60px;
}

.site-front .cases .section-head {
	padding: 0;
	max-width: 1200px;
	margin: 0 auto 40px;
}

.site-front .cases .scroll-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding: 10px 0 20px;
}

.site-front .cases .scroll-track {
	display: flex;
	gap: 30px;
	overflow-x: auto;
	overflow-y: visible;
	scroll-snap-type: x mandatory;
	padding: 10px calc(50% - 660px);
	scroll-behavior: smooth;
	cursor: grab;
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.site-front .cases .scroll-track::-webkit-scrollbar {
	height: 0;
	display: none;
}

.site-front .cases .scroll-track:active,
.site-front .cases .scroll-track.is-dragging {
	cursor: grabbing;
	scroll-behavior: auto;
}

.site-front .cases .card {
	flex: 0 0 380px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
	overflow: hidden;
	transition: all .3s ease;
	scroll-snap-align: start;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.site-front .cases .card:hover {
	box-shadow: 0 16px 40px rgba(0, 0, 0, .1);
	transform: translateY(-6px);
}

.site-front .cases .card .pic {
	position: relative;
	width: 100%;
	height: 400px;
	overflow: hidden;
	background: #2C3E50;
	flex-shrink: 0;
}

.site-front .cases .card .pic .tag {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	background: var(--brand);
	color: #fff;
	font-size: 12px;
	padding: 4px 14px;
	border-radius: 20px;
	letter-spacing: 1px;
}

.site-front .cases .card .pic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.site-front .cases .card .info {
	padding: 20px 22px 24px;
}

.site-front .cases .card .info h3 {
	font-size: 16px;
	color: var(--ink);
	font-weight: 600;
	margin-bottom: 8px;
	line-height: 1.4;
}

.site-front .cases .card .info p {
	font-size: 13px;
	color: var(--muted);
	line-height: 1.7;
	margin-bottom: 16px;
}

.site-front .cases .btn-detail {
	display: inline-block;
	padding: 6px 22px;
	font-size: 13px;
	color: var(--brand);
	border: 1px solid var(--brand);
	border-radius: 20px;
	background: transparent;
	text-decoration: none;
	transition: all .3s ease;
}

.site-front .cases .btn-detail:hover {
	background: var(--brand);
	color: #fff;
}

.site-front .cases .nav-arrows {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 10px;
	padding: 0 24px;
}

.site-front .cases .nav-arrows button {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	font-size: 20px;
	cursor: pointer;
	transition: all .3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.site-front .cases .nav-arrows button:hover {
	background: var(--brand);
	color: #fff;
	border-color: var(--brand);
	box-shadow: 0 4px 16px rgba(230, 33, 42, .25);
}

.site-front .cases .nav-arrows button:disabled {
	opacity: .3;
	cursor: not-allowed;
}

.site-front .cases .nav-arrows button:disabled:hover {
	background: #fff;
	color: var(--ink);
	border-color: var(--line);
	box-shadow: none;
}

@media (max-width: 1480px) {
	.site-front .cases .scroll-track {
		padding: 10px 40px;
	}

	.site-front .cases .card {
		flex: 0 0 340px;
	}

	.site-front .cases .card .pic {
		height: 340px;
	}
}

@media (max-width: 900px) {
	.site-front .cases .card {
		flex: 0 0 300px;
	}

	.site-front .cases .scroll-track {
		padding: 10px 20px;
		gap: 20px;
	}

	.site-front .cases .card .pic {
		height: 300px;
	}
}

@media (max-width: 680px) {
	.site-front .cases.section {
		padding: 60px 0 40px;
	}

	.site-front .cases .card {
		flex: 0 0 280px;
	}

	.site-front .cases .scroll-track {
		padding: 10px 16px;
		gap: 16px;
	}

	.site-front .cases .card .pic {
		height: 260px;
	}

	.site-front .cases .nav-arrows button {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}
}

/* ===== 新闻（对齐 jingtai/index.html news） ===== */
.site-front .news.section {
	background: var(--bg);
}

.site-front .news .layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
}

.site-front .news .feature {
	border: 1px solid var(--line);
	padding: 26px;
	transition: .3s;
	background: #fff;
}

.site-front .news .feature:hover {
	box-shadow: 0 14px 36px rgba(0, 0, 0, .08);
}

.site-front .news .feature .ph {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 4px;
	margin-bottom: 20px;
	background: linear-gradient(135deg, #1B222C, #334152);
}

.site-front .news .feature .ph img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.site-front .news .feature .date {
	font-size: 12px;
	color: var(--brand);
	letter-spacing: 2px;
}

.site-front .news .feature h3 {
	font-size: 20px;
	color: var(--ink);
	font-weight: 600;
	margin: 10px 0 12px;
	line-height: 1.5;
}

.site-front .news .feature h3 a {
	color: inherit;
	text-decoration: none;
	transition: color .25s;
}

.site-front .news .feature h3 a:hover {
	color: var(--brand);
}

.site-front .news .feature p {
	font-size: 13.5px;
	color: var(--muted);
	line-height: 1.7;
}

.site-front .news .list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-front .news .list li {
	display: flex;
	align-items: baseline;
	gap: 18px;
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
	list-style: none;
}

.site-front .news .list li:first-child {
	padding-top: 6px;
}

.site-front .news .list .date {
	flex-shrink: 0;
	color: var(--muted);
	font-size: 13px;
	width: 74px;
}

.site-front .news .list a {
	font-size: 15px;
	color: var(--ink);
	transition: color .25s;
	line-height: 1.5;
}

.site-front .news .list a:hover {
	color: var(--brand);
}

.site-front .news .more {
	display: block;
	text-align: center;
	margin-top: 40px;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 900px) {
	.site-front .news.section {
		padding: 60px 0;
	}

	.site-front .news .layout {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.site-front .news .list .date {
		width: auto;
		min-width: 74px;
	}

	.site-front .news .feature h3 {
		font-size: 18px;
	}
}
