/* ── Footer ── */

.footer {
	background: #161616;
	color: #FFFFFF;
}

/* 与正文 .container 一致：由 responsive.css 控制左右内边距，不再单独限制 max-width，避免与首屏/模块错位 */

.footer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.8rem 0;
}

.footer-top .footer-title {
	font-weight: 250;
	font-size: 0.64rem;
	color: #FFFFFF;
}

.footer-top .footer-contact {
	margin-right: 0.1rem;
}

.footer-top .footer-contact .footer-phone {
	font-weight: 380;
	font-size: 0.4rem;
	color: #FFFFFF;
	line-height: 1.2;
}

.footer-top .footer-contact .footer-phone-desc {
	font-weight: 250;
	font-size: 0.22rem;
	color: #FFFFFF;
	margin-top: 0.04rem;
}

.footer .footer-content {
	padding: 0.4rem 0;
	border-top: 0.01rem solid #333333;
}

.footer .footer-links {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: flex-start;
	column-gap: 0.4rem;
}

.footer .footer-link-group {
	min-width: 0;
}

.footer .footer-link-group.is-empty {
	visibility: hidden;
}

.footer .footer-link-group .footer-item-city {
	font-weight: 250;
	font-size: 0.26rem;
	color: #F4F4F4;
}

.footer .footer-link-list {
	display: flex;
	flex-direction: column;
	gap: 0.08rem;
	margin-top: 0.08rem;
}

.footer .footer-link-list .footer-item-text {
	font-weight: 250;
	font-size: 0.16rem;
	line-height: 1.4;
	color: #F4F4F4;
	text-decoration: none;
	display: inline-block;
}

.footer .footer-link-list .footer-item-text:link,
.footer .footer-link-list .footer-item-text:visited,
.footer .footer-link-list .footer-item-text:hover,
.footer .footer-link-list .footer-item-text:active {
	color: #FFFFFF;
}

.footer .footer-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 0.4rem;
}

.footer .footer-list .footer-item .footer-item-city {
	font-weight: 250;
	font-size: 0.26rem;
	color: #F4F4F4;
}

.footer .footer-list .footer-item .footer-item-text {
	font-weight: 250;
	font-size: 0.16rem;
	color: #F4F4F4;
	margin-top: 0.08rem;
	line-height: 1.4;
}

.footer .footer-bottom {
	padding: 0.4rem 0;
	border-top: 0.01rem solid #333333;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.footer .footer-bottom .copyright {
	font-weight: 250;
	font-size: 0.16rem;
	color: #F4F4F4;
}

.footer .footer-bottom .footer-bottom-right {
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

.footer .footer-bottom .footer-sitemap {
	font-weight: 250;
	font-size: 0.16rem;
	color: #F4F4F4;
}

.footer .footer-bottom .footer-icp {
	font-weight: 250;
	font-size: 0.16rem;
	color: #F4F4F4;
}

/* ── Sidebar ── */

.sidebar {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	z-index: 999;
}

.sidebar-btn {
	width: 1rem;
	height: 1rem;
	position: relative;
	cursor: pointer;
	margin-bottom: 0.01rem;
}

.sidebar-btn img {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
}

.sidebar-btn .name {
	width: 100%;
	font-weight: normal;
	font-size: 0.18rem;
	color: #FFFFFF;
	text-align: center;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0.09rem;
}

.sidebar-content {
	width: 2.5rem;
	height: auto;
	position: absolute;
	left: -2.5rem;
	display: none;
}

.sidebar-btn:hover .sidebar-content {
	display: block;
}

.sidebar-content .title {
	height: 0.375rem;
	line-height: 0.375rem;
	background: #FE0000;
	text-align: center;
	color: #FFFFFF;
	font-weight: normal;
	font-size: 0.1625rem;
}

.sidebar-content .content {
	min-height: 0.3125rem;
	background: #FFFFFF;
	padding: 0.3125rem;
	color: #000000;
	font-weight: normal;
	text-align: center;
	font-size: 0.1625rem;
}

.sidebar-content .content img {
	width: 2.5rem;
	height: auto;
	margin-top: 0.375rem;
}

.sidebar-btn-link {
	display: block;
	text-decoration: none;
	color: inherit;
	outline: none;
}

.sidebar-btn-link:focus-visible .sidebar-btn {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* ── 电话咨询弹窗 ── */

.consult-phone-modal {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 0.24rem;
	box-sizing: border-box;
}

.consult-phone-modal.is-open {
	display: flex;
	/* 全透明且不拦截指针，背后页面可正常浏览、点击 */
	pointer-events: none;
}

/* 占位层全透明，不参与点击（关闭请用 × 或 Esc） */
.consult-phone-modal__backdrop {
	position: absolute;
	inset: 0;
	background: transparent;
	pointer-events: none;
}

.consult-phone-modal__panel {
	position: relative;
	z-index: 1;
	pointer-events: auto;
	/* 设计稿 1920 下 620×260px，与 PC 适配一致：1rem=100px → 6.2rem×2.6rem */
	box-sizing: border-box;
	width: 6.2rem;
	height: 2.6rem;
	max-width: min(6.2rem, calc(100vw - 0.48rem));
	max-height: min(2.6rem, calc(100vh - 0.48rem));
	padding: 0.1rem 0.24rem 0.12rem;
	border-radius: 0.04rem;
	border: 1px solid rgba(255, 255, 255, 0.45);
	/* 弹窗专用背景图（仅面板区域，非整页） */
	background-color: #b01010;
	background-image: url("https://junhe.oss-cn-beijing.aliyuncs.com/xin/static/image/common_mask_bg.jpg");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.35);
	display: flex;
	flex-direction: column;
	align-items: stretch;
	overflow: hidden;
}

.consult-phone-modal__close {
	position: absolute;
	top: 0.06rem;
	right: 0.08rem;
	width: 0.32rem;
	height: 0.32rem;
	padding: 0;
	border: none;
	background: transparent;
	color: #fff;
	font-size: 0.28rem;
	line-height: 1;
	cursor: pointer;
	border-radius: 0.04rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.consult-phone-modal__close:hover,
.consult-phone-modal__close:focus-visible {
	background: rgba(255, 255, 255, 0.15);
	outline: none;
}

.consult-phone-modal__sub {
	margin: 0.2rem;
	padding: 0 0.28rem 0 0;
	font-weight: 600;
	font-size: 0.2rem;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.95);
	text-align: left;
	flex-shrink: 0;
}

.consult-phone-modal__tel {
	margin: 0 0.2rem;
	font-weight: 700;
	font-size: 0.38rem;
	line-height: 1.1;
	letter-spacing: 0.02em;
	flex-shrink: 0;
}

.consult-phone-modal__tel a {
	color: #fff;
	text-decoration: none;
}

.consult-phone-modal__tel a:hover {
	text-decoration: underline;
}

.consult-phone-modal__tags {
	margin: 0 0.2rem;
	margin-top: 0.3rem;
	font-weight: 300;
	font-size: 0.16rem;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.92);
}

.consult-phone-modal__cta {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-top: auto;
	flex-shrink: 0;
	padding: 0.07rem 0.2rem;
	border-radius: 0.03rem;
	background: #6b0505;
	color: #fff !important;
	font-size: 0.15rem;
	font-weight: 500;
	text-decoration: none;
	text-align: center;
	box-shadow: 0 0.04rem 0.12rem rgba(0, 0, 0, 0.25);
	transition: background 0.2s ease, transform 0.15s ease;
}

.consult-phone-modal__cta:hover {
	background: #520404;
	color: #fff;
}

.consult-phone-modal__cta:active {
	transform: translateY(1px);
}