/* 贵州维恒琦 官网 — 图片资源位于 /images/ 下，按原站点目录结构存放 */

:root {
	--orange: #ff7200;
	--orange-dark: #e65f00;
	--text: #282828;
	--muted: #666;
	--light-bg: #f7f9fc;
	--white: #fff;
	--nav-h: 72px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
	color: var(--text);
	background: var(--white);
	line-height: 1.5;
}

a {
	color: inherit;
	text-decoration: none;
}

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

.w1200 {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* —— 顶栏 —— */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--white);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--nav-h);
	gap: 24px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 20px;
	color: #333;
}

.brand-icon {
	width: 40px;
	height: 32px;
	flex-shrink: 0;
}

.brand-logo {
	height: 42px;
	width: auto;
	display: block;
}

.nav-toggle {
	display: none;
	border: 0;
	background: none;
	padding: 8px;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: #333;
	margin: 5px 0;
}

.site-nav ul {
	display: flex;
	gap: 36px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav a {
	font-size: 16px;
	color: #333;
	padding: 8px 0;
	border-bottom: 2px solid transparent;
	transition:
		color 0.2s,
		border-color 0.2s;
}

.site-nav a:hover {
	color: var(--orange);
}

.site-nav a.is-active {
	color: var(--orange);
	border-bottom-color: var(--orange);
}

/* —— 首页横幅 —— */
.hero {
	position: relative;
	min-height: 360px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 48px 20px;
	background: center / cover no-repeat url("../images/img/pc/top-bg.png");
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(20, 35, 60, 0.82), rgba(30, 45, 70, 0.55));
}

.hero-inner {
	position: relative;
	z-index: 1;
	color: #fff;
}

.hero h1 {
	margin: 0 0 16px;
	font-size: clamp(26px, 4vw, 40px);
	font-weight: 600;
	color: var(--white);
	letter-spacing: 0.02em;
}

.hero .sub {
	margin: 0 0 28px;
	font-size: clamp(15px, 2vw, 20px);
	color: rgba(255, 255, 255, 0.92);
}

.btn-ghost {
	display: inline-block;
	padding: 12px 40px;
	border: 1px solid var(--white);
	border-radius: 24px;
	color: var(--white);
	font-size: 17px;
	transition: background 0.2s;
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.15);
}

.btn-solid {
	display: inline-block;
	padding: 12px 32px;
	background: var(--orange);
	color: var(--white);
	border-radius: 24px;
	border: none;
	font-size: 16px;
	cursor: pointer;
	transition: background 0.2s;
}

.btn-solid:hover {
	background: var(--orange-dark);
}

/* —— 权益分类 + 品牌墙 —— */
.section-brands {
	background: var(--light-bg);
	padding-bottom: 48px;
}

.cat-tabs {
	background: var(--white);
	border-bottom: 1px solid #eee;
}

.cat-tabs .w1200 {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 4px;
	padding: 12px 16px 16px;
}

.cat-tab {
	border: 0;
	background: transparent;
	padding: 10px 18px;
	font-size: 15px;
	color: #333;
	cursor: pointer;
	border-radius: 20px;
	transition:
		background 0.2s,
		color 0.2s;
}

.cat-tab.is-active {
	color: var(--white);
	background: var(--orange);
}

.brand-stage {
	max-width: 1260px;
	margin: 24px auto 0;
	padding: 0 16px;
}

.brand-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px 8px;
	list-style: none;
	margin: 0;
	padding: 16px;
	background: #eef1f6;
	border-radius: 8px;
}

.brand-grid li {
	text-align: center;
}

.brand-sprite {
	width: 100%;
	max-width: 248px;
	height: 120px;
	margin: 0 auto;
	background-image: url("../images/img/pc/orangeEquity/logo2.png");
	background-repeat: no-repeat;
}

.brand-grid li p {
	margin: 6px 0 0;
	font-size: 14px;
	color: #666;
}

.brand-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
}

.brand-dots span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ccc;
}

.brand-dots span.on {
	background: var(--orange);
}

/* —— 权益方案 / 通用标题 —— */
.section-block {
	padding: 72px 0 80px;
}

.section-title {
	text-align: center;
	font-size: 30px;
	font-weight: 600;
	margin: 0 0 12px;
	color: var(--text);
}

.section-sub {
	text-align: center;
	font-size: 18px;
	color: var(--muted);
	margin: 0 0 48px;
}

.card-grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.solution-card {
	background: var(--white);
	box-shadow: 0 0 24px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	border-radius: 4px;
}

.solution-card img {
	width: 100%;
	display: block;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.solution-card h3 {
	margin: 18px 20px 8px;
	font-size: 20px;
}

.solution-card p {
	margin: 0 20px 22px;
	font-size: 14px;
	color: var(--muted);
	line-height: 1.65;
}

/* —— 优势 —— */
.adv-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
}

.adv-grid li img {
	width: 72px;
	height: 72px;
	object-fit: contain;
}

.adv-grid .t {
	font-weight: 600;
	margin: 12px 0 4px;
	font-size: 17px;
}

.adv-grid .d {
	margin: 0;
	font-size: 14px;
	color: var(--muted);
}

/* —— 产品页：四卡 + 案例 —— */
.page-hero-sm {
	min-height: 320px;
	background: center / cover no-repeat url("../images/img/pc/top-bg.png");
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 40px 20px;
}

.page-hero-sm::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(18, 32, 55, 0.75);
}

.page-hero-sm .hero-inner {
	z-index: 1;
}

.dotted-bg {
	background-color: #fff;
}

.service-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.service-cards > li {
	background: var(--white);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}

.service-cards .ph {
	position: relative;
	height: 160px;
	background: center / cover no-repeat;
}

.service-cards .ph::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.25);
}

.service-cards .ico {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.service-cards .cap {
	padding: 18px 16px 22px;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	color: #333;
}

.case-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	margin-top: 48px;
}

.case-phone {
	text-align: center;
}

.case-phone img {
	max-width: 320px;
	filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.15));
}

.case-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 24px;
	margin-bottom: 32px;
}

.case-tab {
	background: none;
	border: 0;
	font-size: 15px;
	color: #666;
	cursor: pointer;
	padding: 8px 4px;
	position: relative;
}

.case-tab.is-active {
	color: var(--orange);
	font-weight: 600;
}

.case-tab.is-active::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-bottom-color: var(--orange);
}

.case-body h3 {
	margin: 0 0 12px;
	font-size: 22px;
}

.case-body .client {
	color: var(--orange);
	margin-bottom: 16px;
	font-size: 15px;
}

.case-body .desc {
	color: var(--muted);
	font-size: 15px;
	line-height: 1.75;
	margin-bottom: 24px;
}

/* —— 关于 —— */
.about-banner {
	height: 220px;
	background: center / cover no-repeat url("../images/img/pc/top-bg.png");
	filter: saturate(0.85);
}

.about-intro {
	background: #f8f8f8;
	padding: 56px 0 64px;
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
	background: #f0f2f5;
	padding: 40px;
	border-radius: 8px;
}

.about-grid .pic img {
	width: 100%;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.about-grid h3 {
	color: var(--orange);
	margin: 0 0 16px;
	font-size: 20px;
}

.about-grid p {
	color: #444;
	font-size: 15px;
	line-height: 1.85;
	margin: 0 0 16px;
}

.honor-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.honor-grid li {
	text-align: center;
}

.honor-grid img {
	width: 100%;
	max-height: 200px;
	object-fit: contain;
	background: #fafafa;
	border-radius: 4px;
}

.honor-grid p {
	margin: 10px 0 0;
	font-size: 13px;
	color: #666;
}

/* —— 联系 —— */
.page-title-bar {
	background: #f0f0f0;
	padding: 28px 0;
}

.page-title-bar h1 {
	margin: 0;
	font-size: 28px;
	font-weight: 600;
	color: #333;
}

.contact-card {
	background: var(--white);
	margin: 32px auto 64px;
	padding: 32px;
	border-radius: 8px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	max-width: 1000px;
}

.map-frame {
	width: 100%;
	height: 380px;
	border: 1px solid #ddd;
	border-radius: 6px;
	overflow: hidden;
}

.map-frame img {
	width: 100%;
	height: 100%;
	min-height: 380px;
	object-fit: cover;
	display: block;
	border: 0;
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px 32px;
	margin-top: 32px;
}

.contact-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.contact-item .ic {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border-radius: 6px;
	object-fit: contain;
}

.contact-item h4 {
	margin: 0 0 6px;
	font-size: 16px;
	color: #333;
}

.contact-item p {
	margin: 0;
	font-size: 14px;
	color: #777;
	line-height: 1.6;
}

/* —— 页脚 —— */
.site-footer {
	background: linear-gradient(90deg, #ff7a28, var(--orange));
	color: var(--white);
	padding: 36px 0 40px;
	margin-top: auto;
}

.legal-footer {
	background: #2f3136;
	color: rgba(255, 255, 255, 0.76);
	border-top: 3px solid var(--orange);
	padding: 14px 0 16px;
	font-size: 12px;
}

.legal-footer .row {
	text-align: center;
	line-height: 1.8;
}

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	background: var(--white);
	border-radius: 8px;
	color: #333;
	font-weight: 700;
}

.footer-brand .brand-icon path {
	fill: var(--orange);
}

.footer-meta {
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.95;
}

/* —— 页脚背景图（底部风格） —— */
.footer-cta {
	text-align: center;
	padding: 48px 20px 56px;
	color: var(--white);
	background: center / cover no-repeat url("../images/img/pc/top-bg.png");
	position: relative;
}

.footer-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
}

.footer-cta p {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: 22px;
}

/* —— 布局辅助 —— */
.page-wrap {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

main {
	flex: 1;
}

/* —— 响应式 —— */
@media (max-width: 1024px) {
	.card-grid-4,
	.service-cards {
		grid-template-columns: repeat(2, 1fr);
	}

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

	.brand-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.honor-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.about-grid,
	.case-wrap {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	.nav-toggle {
		display: block;
	}

	.site-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: var(--nav-h);
		background: var(--white);
		border-top: 1px solid #eee;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.35s ease;
	}

	.site-nav.is-open {
		max-height: 320px;
	}

	.site-nav ul {
		flex-direction: column;
		gap: 0;
		padding: 8px 0 16px;
	}

	.site-nav a {
		display: block;
		padding: 14px 24px;
		border: 0;
	}

	.site-header {
		position: relative;
	}

	.brand-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.card-grid-4,
	.service-cards {
		grid-template-columns: 1fr;
	}

	.adv-grid {
		grid-template-columns: 1fr;
	}

	.contact-grid {
		grid-template-columns: 1fr;
	}

	.about-grid {
		padding: 24px;
	}
}
