.home-page {
	position: relative;
	width: 100vw;
	height: 100vh;
	margin: 0;
	padding: 0.58rem 0.86rem 0.34rem;
	border: 0;
	overflow: hidden;
	background:url("/images/home/bg.jpg") center center / cover no-repeat;
}

.home-page::before {
	content: "";
	position: absolute;
	inset: 0;
	border: 0.01rem solid var(--line);
	pointer-events: none;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(4, 22, 41, 0.16) 56%, rgba(4, 22, 41, 0.5) 100%);
	pointer-events: none;
}

.hero-bottom-shadow {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 0.74rem;
	background: linear-gradient(180deg, rgba(4, 22, 41, 0) 0%, rgba(4, 22, 41, 0.75) 100%);
}

.home-header,
.home-main,
.home-footer {
	position: relative;
	z-index: 2;
}

.wow {
	visibility: hidden;
}

.wow.is-visible {
	visibility: visible;
}

.wow-brand-in.is-visible {
	animation: wowBrandIn 0.7s ease both;
}

.wow-btn-in.is-visible {
	animation: wowBtnIn 0.55s ease both;
}

.wow-card-up.is-visible {
	animation: wowCardUp 0.7s ease both;
}

@keyframes wowBrandIn {
	from {
		opacity: 0;
		transform: translate3d(-0.18rem, 0, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes wowBtnIn {
	from {
		opacity: 0;
		transform: translate3d(0, -0.12rem, 0) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1);
	}
}

@keyframes wowCardUp {
	from {
		opacity: 0;
		transform: translate3d(0, 0.2rem, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

.home-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.3rem;
}

.brand {
	display: flex;
	width: min(6.5rem, 100%);
	align-items: center;
	gap: 0.16rem;
	color: inherit;
}

.brand-logo {
	width: 0.96rem;
	height: 0.96rem;
	border-radius: 50%;
	border: 0.04rem solid rgba(5, 129, 126, 0.45);
	display: grid;
	place-items: center;
	background: #f4faf7;
	color: #0b7b76;
	font-weight: 700;
	font-size: 0.2rem;
}

.brand-text strong {
	display: block;
	font-size: 0.52rem;
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: 0.01rem;
}

.brand-text em {
	display: block;
	margin-top: 0.08rem;
	color: #283848;
	font-size: 0.18rem;
	font-style: normal;
	letter-spacing: 0.005rem;
}
.guahao {
	font-size: 0.18rem;
	font-weight: 300;
}
.quick-actions {
	display: flex;
	align-items: center;
	gap: 0.1rem;
}

.btn-appoint,
.btn-icon {
	height: 0.8rem;
	border: 0;
	border-radius: 0.15rem;
	background: url("/images/home/mtbg_m.svg") center center / 100% 100% no-repeat;
	color: #2e3a46;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.btn-appoint {
	background: url("/images/home/mtbg_l.svg") center center / 100% 100% no-repeat;
}
.Hicon {
	max-width: 50%;
}
.btn-appoint {
	min-width: 2.18rem;
	padding: 0 0.2rem;
	font-size: 0.28rem;
	font-weight: 600;
}

.btn-appoint .icon {
	width: 0.4rem;
	height: 0.42rem;
	display: grid;
	place-items: center;
	border-radius: 0.04rem;
	font-size: 0.2rem;
	line-height: 1;
}

.btn-icon {
	width: 0.8rem;
	font-size: 0.24rem;
	position: relative;
}

.qr-pop {
	position: absolute;
	left: 50%;
	bottom: calc(100% + -3.6rem);
	transform: translateX(-50%) translateY(0.08rem);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition:
		opacity 0.2s ease,
		transform 0.2s ease,
		visibility 0.2s ease;
}

.qr-pop-inner {
	display: block;
	position: relative;
	width: 2.18rem;
	background: #fff;
	padding: 0.14rem 0.14rem 0.2rem;
	box-shadow: 0 0.08rem 0.3rem rgba(8, 22, 36, 0.22);
}

.qr-pop-inner::after {
	content: "";
	position: absolute;
	left: 50%;
	top: -0.18rem;
	transform: translateX(-50%);
	border-left: 0.1rem solid transparent;
	border-right: 0.1rem solid transparent;
	border-bottom: 0.18rem solid #fff;
}

.qr-pop img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}

.qr-pop-text {
	display: block;
	margin-top: 0.12rem;
	text-align: center;
	color: #1f2933;
	font-size: 0.14rem;
	line-height: 1.35;
}

.btn-icon.has-pop:hover .qr-pop,
.btn-icon.has-pop:focus-visible .qr-pop,
.btn-icon.has-pop.is-open .qr-pop {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

.home-main {
	height: calc(100% - 2rem);
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.entry-row {
	width: min(14rem, 100%);
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 0.1rem;
}

.entry-card {
	min-height: 2.1rem;
	padding: 0.46rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.26rem;
	color: #ecfffd;
}

.entry-public {
	background: var(--green);
}

.entry-employee {
	background: var(--green);
}

.entry-edu {
	background: var(--green);
}

.entry-icon {
	width: 0.56rem;
	height: 0.56rem;
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.32rem;
	line-height: 1;
}

.entry-icon img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	transform: translateZ(0);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}
.entry-card:hover {
	background: url("/images/home/ybg.png?v=1") center center / cover var(--orange) no-repeat;
}
.entry-text h2 {
	font-size: 0.32rem;
	line-height: 1.1;
	font-weight: 600;
}

.entry-text p {
	margin-top: 0.12rem;
	font-size: 0.16rem;
	letter-spacing: 0.01rem;
	color: rgba(240, 255, 254, 0.86);
}

.home-footer {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.18rem;
	padding-inline: 0.28rem;
	color: rgba(226, 239, 248, 0.92);
	font-size: 0.16rem;
	letter-spacing: 0.004rem;
}

.footer-line {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.22rem;
	white-space: nowrap;
}

.footer-item {
	display: inline-flex;
	align-items: center;
	gap: 0.08rem;
}

.footer-item-img img {
	width: 0.18rem;
	height: 0.18rem;
	border-radius: 0.02rem;
	flex: none;
}

@media (max-width: 1280px) {
	.home-page {
		padding: 0.34rem 0.3rem 0.22rem;
	}
	.home-main {
		height: calc(100% - 3rem);
	}
	.brand-text strong {
		font-size: 0.34rem;
	}

	.brand-text em {
		font-size: 0.14rem;
	}

	.btn-appoint {
		min-width: 1.7rem;
		font-size: 0.2rem;
	}

	.btn-icon {
		width: 0.58rem;
		font-size: 0.2rem;
	}

	.entry-card {
		min-height: 1.6rem;
		padding: 0.3rem;
		gap: 0.14rem;
	}

	.entry-icon {
		width: 1rem;
		height: 1rem;
		font-size: 0.38rem;
	}

	.entry-text h2 {
		font-size: 0.3rem;
	}

	.entry-text p {
		font-size: 0.18rem;
	}
}

@media (max-width: 900px) {
	.home-page {
		display: flex;
		flex-direction: column;
		padding: 0.22rem 0.18rem 0.16rem;
	}

	.home-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.16rem;
	}

	.quick-actions {
		width: 100%;
		flex-wrap: wrap;
	}

	.home-main {
		flex: 1;
		height: auto;
		margin-top: 0;
		align-items: flex-end;
	}

	.entry-row {
		width: 100%;
		grid-template-columns: 1fr;
		gap: 0.12rem;
	}

	.entry-card {
		min-height: 1.24rem;
	}

	.entry-icon {
		width: 0.72rem;
		height: 0.72rem;
	}

	.home-footer {
		position: static;
		margin-top: 0.12rem;
		padding-inline: 0;
		font-size: 0.14rem;
	}

	.footer-line {
		justify-content: center;
		flex-wrap: wrap;
		row-gap: 0.06rem;
		column-gap: 0.14rem;
		white-space: normal;
		text-align: center;
	}

	.footer-line .footer-item:first-child {
		flex: 0 0 100%;
		width: 100%;
		justify-content: center;
	}

	.footer-line .footer-item:nth-child(n + 2) {
		flex: 0 0 auto;
		white-space: nowrap;
		justify-content: center;
	}
}

@media (max-width: 600px) {
	.brand-logo {
		width: 0.74rem;
		height: 0.74rem;
		font-size: 0.16rem;
	}

	.brand-text strong {
		font-size: 0.24rem;
		line-height: 1.2;
	}

	.brand-text em {
		font-size: 0.12rem;
	}

	.btn-appoint {
		height: 0.74rem;
		font-size: 0.18rem;
	}

	.btn-icon {
		width: 0.7rem;
		height: 0.7rem;
		font-size: 0.16rem;
	}

	.qr-pop {
		top: calc(100% + 0.12rem);
	}

	.qr-pop-inner {
		width: 1.8rem;
		padding: 0.12rem 0.12rem 0.16rem;
	}

	.qr-pop-text {
		font-size: 0.14rem;
	}

	.entry-card {
		padding: 0.5rem;
	}

	.entry-icon {
		width: 0.64rem;
		height: 0.64rem;
	}

	.entry-text h2 {
		font-size: 0.34rem;
	}

	.entry-text p {
		font-size: 0.14rem;
	}

	.footer-item-img img {
		width: 0.16rem;
		height: 0.16rem;
	}
}
