/* contact-page.css — jq-juquan 聚全科技联系页 juquankeji.com */
.jq-page-contact {
	--jq-contact-red: #e60012;
	--jq-contact-text: #333;
	--jq-contact-muted: #666;
	--jq-contact-light: #999;
	--jq-contact-border: #eee;
	--jq-contact-bg: #f5f6f8;
	--jq-contact-max: 1200px;
	background: var(--jq-contact-bg) !important;
}

.jq-page-contact .sub_headbtn,
.jq-page-contact .sub_search,
.jq-page-contact .share {
	display: none;
}

.jq-page-contact .jq-contact-head-spacer {
	height: 40px;
}

.jq-page-contact .jq-contact-main {
	max-width: var(--jq-contact-max);
	margin: 0 auto;
	padding: 0 20px 56px;
	box-sizing: border-box;
}

/* ===== 页头标题（桌面） ===== */
.jq-contact-page-title {
	margin: 0 0 8px;
	padding-top: 8px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
	color: var(--jq-contact-text);
}

.jq-contact-page-title a {
	color: inherit;
	text-decoration: none;
}

.jq-contact-page-sub {
	margin: 0 0 28px;
	font-size: 14px;
	line-height: 1.6;
	text-align: center;
	color: var(--jq-contact-muted);
}

/* ===== 手机顶部 CTA ===== */
.jq-contact-mobile-hero {
	display: none;
	margin-bottom: 16px;
	padding: 28px 20px 24px;
	background: #fff;
	border: 1px solid var(--jq-contact-border);
	border-radius: 4px;
	text-align: center;
}

.jq-contact-mobile-hero p {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--jq-contact-muted);
}

.jq-contact-mobile-hero .jq-contact-mobile-line {
	display: inline-block;
	width: 36px;
	height: 3px;
	margin: 14px auto;
	background: var(--jq-contact-red);
}

.jq-contact-mobile-hero .jq-contact-mobile-call {
	margin: 6px 0 0;
	font-size: 15px;
	color: var(--jq-contact-text);
}

.jq-contact-mobile-hero .jq-contact-mobile-phone {
	display: block;
	margin-top: 8px;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--jq-contact-red);
	text-decoration: none;
	letter-spacing: 1px;
}

/* ===== 主联系卡片（桌面） ===== */
.jq-contact-primary {
	display: flex;
	margin-bottom: 20px;
	background: #fff;
	border: 1px solid var(--jq-contact-border);
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.jq-contact-primary-left {
	flex: 1;
	min-width: 0;
	padding: 36px 40px 32px;
}

.jq-contact-hotline {
	margin: 0 0 22px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--jq-contact-red);
}

.jq-contact-row {
	display: flex;
	align-items: flex-start;
	margin-bottom: 14px;
	font-size: 14px;
	line-height: 1.75;
	color: var(--jq-contact-text);
}

.jq-contact-row:last-child {
	margin-bottom: 0;
}

.jq-contact-row-ico {
	flex: 0 0 22px;
	margin-right: 10px;
	font-family: remixicon, "Noto Sans SC", sans-serif;
	font-style: normal;
	font-size: 18px;
	line-height: 1.6;
	color: #888;
}

.jq-contact-row-body {
	flex: 1;
	min-width: 0;
}

.jq-contact-row-body a {
	color: var(--jq-contact-text);
	text-decoration: none;
}

.jq-contact-row-body a:hover {
	color: var(--jq-contact-red);
}

.jq-contact-dept {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

.jq-contact-dept a {
	display: inline-block;
	padding: 4px 12px;
	border: 1px solid #ddd;
	border-radius: 2px;
	font-size: 12px;
	color: var(--jq-contact-muted);
	text-decoration: none;
	background: #fff;
	transition: border-color 0.2s, color 0.2s;
}

.jq-contact-dept a:hover {
	border-color: var(--jq-contact-red);
	color: var(--jq-contact-red);
}

.jq-contact-dept a.is-dark {
	border-color: #444;
	color: #fff;
	background: #444;
}

.jq-contact-dept a.is-dark:hover {
	border-color: #222;
	background: #222;
	color: #fff;
}

.jq-contact-primary-right {
	flex: 0 0 340px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px 24px;
	background: #fafafa linear-gradient(135deg, transparent 0%, transparent 48%, rgba(0, 0, 0, 0.03) 48%, rgba(0, 0, 0, 0.03) 52%, transparent 52%);
	border-left: 1px solid var(--jq-contact-border);
}

.jq-contact-qr-wrap {
	text-align: center;
}

.jq-contact-qr-wrap img {
	display: block;
	width: 160px;
	height: 160px;
	margin: 0 auto 12px;
	border: 1px solid var(--jq-contact-border);
}

.jq-contact-qr-wrap strong {
	display: block;
	margin-bottom: 4px;
	font-size: 16px;
	color: var(--jq-contact-text);
}

.jq-contact-qr-wrap span {
	font-size: 12px;
	line-height: 1.6;
	color: var(--jq-contact-light);
}

/* ===== 分公司卡片 ===== */
.jq-contact-branches {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 20px;
}

.jq-contact-branches.is-single-branch {
	grid-template-columns: 1fr;
}

.jq-contact-branch {
	padding: 28px 28px 24px;
	background: #fff;
	border: 1px solid var(--jq-contact-border);
	border-radius: 4px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.jq-contact-branch-head {
	display: flex;
	align-items: center;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--jq-contact-border);
}

.jq-contact-branch-ico {
	flex: 0 0 28px;
	margin-right: 10px;
	font-family: remixicon, "Noto Sans SC", sans-serif;
	font-style: normal;
	font-size: 24px;
	line-height: 1;
	color: #555;
}

.jq-contact-branch-head h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--jq-contact-text);
}

.jq-contact-branch-head small {
	display: block;
	margin-top: 2px;
	font-size: 11px;
	font-weight: 400;
	color: var(--jq-contact-light);
	letter-spacing: 1px;
}

.jq-contact-branch-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.jq-contact-branch-list li {
	display: flex;
	align-items: flex-start;
	margin-bottom: 12px;
	font-size: 14px;
	line-height: 1.75;
	color: var(--jq-contact-muted);
}

.jq-contact-branch-list li:last-child {
	margin-bottom: 0;
}

.jq-contact-branch-list .jq-li-ico {
	flex: 0 0 18px;
	margin: 3px 8px 0 0;
	font-family: remixicon, "Noto Sans SC", sans-serif;
	font-style: normal;
	font-size: 14px;
	color: #bbb;
}

.jq-contact-branch-list a {
	color: var(--jq-contact-text);
	text-decoration: none;
}

.jq-contact-branch-list a:hover {
	color: var(--jq-contact-red);
}

.jq-contact-branch-qr {
	display: none;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px dashed var(--jq-contact-border);
	text-align: center;
}

.jq-contact-branch-qr img {
	display: block;
	width: 140px;
	height: 140px;
	margin: 0 auto 12px;
}

.jq-contact-branch-qr-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--jq-contact-light);
}

.jq-contact-branch-qr-text span {
	display: block;
}

/* ===== 地图 ===== */
.jq-contact-map-wrap {
	margin-bottom: 20px;
	background: #fff;
	border: 1px solid var(--jq-contact-border);
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.jq-contact-map-wrap iframe {
	display: block;
	width: 100%;
	height: 420px;
	border: 0;
}

/* ===== 底部 CTA ===== */
.jq-contact-bottom-cta {
	padding: 48px 20px 52px;
	background: #fff;
	border: 1px solid var(--jq-contact-border);
	border-radius: 4px;
	text-align: center;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.jq-contact-bottom-cta h2 {
	margin: 0 0 24px;
	font-size: 26px;
	font-weight: 700;
	color: var(--jq-contact-text);
}

.jq-contact-bottom-cta a {
	display: inline-block;
	min-width: 280px;
	padding: 14px 36px;
	border-radius: 2px;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	background: var(--jq-contact-red);
	transition: background 0.2s;
}

.jq-contact-bottom-cta a:hover {
	background: #c4000f;
	color: #fff;
}

/* ===== 右侧浮动栏（桌面） ===== */
.jq-contact-float {
	display: none;
	position: fixed;
	right: 12px;
	top: 50%;
	z-index: 10020;
	transform: translateY(-50%);
}

.jq-contact-float a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 8px;
	border: 1px solid #eee;
	border-radius: 50%;
	font-size: 11px;
	line-height: 1.2;
	color: #666;
	text-decoration: none;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: color 0.2s, border-color 0.2s;
}

.jq-contact-float a:hover {
	color: var(--jq-contact-red);
	border-color: var(--jq-contact-red);
}

.jq-contact-float a.is-red {
	color: #fff;
	background: var(--jq-contact-red);
	border-color: var(--jq-contact-red);
}

.jq-contact-float a.is-red:hover {
	background: #c4000f;
	color: #fff;
}

.jq-contact-float i {
	display: block;
	margin-bottom: 2px;
	font-family: remixicon, "Noto Sans SC", sans-serif;
	font-style: normal;
	font-size: 18px;
	line-height: 1;
}

/* ===== 响应式 ===== */
@media (min-width: 1025px) {
	.jq-contact-float {
		display: block;
	}
}

@media (max-width: 1024px) {
	.jq-contact-primary {
		flex-direction: column;
	}

	.jq-contact-primary-right {
		flex: none;
		border-left: 0;
		border-top: 1px solid var(--jq-contact-border);
	}
}

@media (max-width: 768px) {
	.jq-page-contact .jq-contact-head-spacer {
		height: 16px;
	}

	.jq-page-contact .jq-contact-main {
		padding: 0 12px 24px;
	}

	.jq-contact-page-title,
	.jq-contact-page-sub {
		display: none;
	}

	.jq-contact-mobile-hero {
		display: block;
	}

	.jq-contact-primary {
		display: none;
	}

	.jq-contact-branches {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-bottom: 12px;
	}

	.jq-contact-branch {
		padding: 20px 16px 18px;
	}

	.jq-contact-branch-head h3 {
		font-size: 16px;
	}

	.jq-contact-branch-qr {
		display: block;
	}

	.jq-contact-map-wrap iframe {
		height: 280px;
	}

	.jq-contact-bottom-cta {
		padding: 32px 16px 36px;
	}

	.jq-contact-bottom-cta h2 {
		margin-bottom: 18px;
		font-size: 20px;
	}

	.jq-contact-bottom-cta a {
		min-width: 0;
		width: 100%;
		max-width: 320px;
		padding: 12px 20px;
		font-size: 16px;
		box-sizing: border-box;
	}
}

@media (max-width: 480px) {
	.jq-contact-mobile-hero .jq-contact-mobile-phone {
		font-size: 28px;
	}
}
