* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
	min-height: 100dvh;
	margin: 0;
	font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
	-webkit-font-smoothing: antialiased;
	background: #f0f4f8;
	color: #111827;
}

.page {
	min-height: 100dvh;
	padding-bottom: calc(100px + env(safe-area-inset-bottom, 0));
}

.zs-head {
	background: linear-gradient(180deg, #1657e8 0%, #3d7cff 55%, #60a5fa 100%);
	padding: calc(10px + env(safe-area-inset-top, 0)) 14px 16px;
	color: #fff;
}

.zs-head .bar {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	min-height: 40px;
	margin-bottom: 4px;
}

.zs-back {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.22);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-decoration: none;
}

.zs-head h1 { font-size: 17px; font-weight: 800; }

.zs-head .sub {
	text-align: center;
	font-size: 12px;
	opacity: 0.95;
	letter-spacing: 0.02em;
}

.body-pad { padding: 0 12px 20px; }

.promo-banner {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: linear-gradient(145deg, #3b82f6 0%, #2563eb 48%, #1d4ed8 100%);
	border-radius: 14px;
	padding: 16px 14px;
	margin: 8px 0 14px;
	color: #fff;
	box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.promo-banner .icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.promo-banner .icon svg {
	width: 22px;
	height: 22px;
	stroke: #fff;
	fill: none;
	stroke-width: 2;
}

.promo-banner h2 {
	font-size: 15px;
	font-weight: 800;
	margin-bottom: 6px;
	line-height: 1.35;
}

.promo-banner p {
	font-size: 12px;
	opacity: 0.95;
	line-height: 1.5;
}

.svc-card {
	background: #fff;
	border-radius: 14px;
	padding: 16px 14px;
	margin-bottom: 12px;
	box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
	scroll-margin-top: 12px;
}

.svc-card .hd {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 6px;
}

.svc-card .name {
	flex: 1;
	font-size: 15px;
	font-weight: 800;
	color: #111827;
	line-height: 1.4;
}

.svc-card .price,
.svc-card .amount {
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 800;
	color: #dc2626;
	white-space: nowrap;
	text-align: right;
	line-height: 1.35;
}

.svc-card .highlight {
	font-size: 12px;
	font-weight: 600;
	color: #0d9488;
	margin-bottom: 12px;
}

.svc-card .feats {
	list-style: none;
	margin-bottom: 14px;
}

.svc-card .feats li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	color: #4b5563;
	line-height: 1.5;
	margin-bottom: 8px;
}

.svc-card .feats li:last-child { margin-bottom: 0; }

.svc-card .feats .ck {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #dbeafe;
	color: #2563eb;
	font-size: 11px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
}

.svc-btn {
	width: 100%;
	height: 44px;
	border: 1px solid #dbeafe;
	border-radius: 10px;
	background: #f8fafc;
	color: #2563eb;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
}

.svc-btn.outline {
	background: #f8fafc;
	color: #2563eb;
}

.tabbar {
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	bottom: calc(14px + env(safe-area-inset-bottom, 0));
	width: min(300px, calc(100% - 40px));
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 10px 8px;
	border-radius: 999px;
	box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
	border: 1px solid rgba(226, 232, 240, 0.95);
	z-index: 100;
}

.tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	font-size: 10px;
	color: #9ca3af;
	min-width: 52px;
	text-decoration: none;
}

.tab.active,
.tab.on {
	color: #5b8ff9;
	font-weight: 600;
}

.tab svg,
.tab [data-lucide] svg {
	width: 20px;
	height: 20px;
}

/* ===== 办理弹窗 ===== */
.zs-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 999;
	background: rgba(15, 23, 42, 0.48);
	backdrop-filter: blur(3px);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	animation: zsFadeIn .22s ease;
}

.zs-modal-overlay.closing {
	animation: zsFadeOut .18s ease forwards;
}

.zs-modal-sheet {
	width: 100%;
	max-width: 480px;
	background: #fff;
	border-radius: 18px 18px 0 0;
	padding: 0 16px calc(20px + env(safe-area-inset-bottom, 0));
	box-shadow: 0 -6px 36px rgba(15, 23, 42, 0.18);
	animation: zsSlideUp .28s cubic-bezier(0.25, 0.8, 0.25, 1);
	max-height: 88dvh;
	overflow-y: auto;
}

.zs-modal-sheet.closing {
	animation: zsSlideDown .18s ease forwards;
}

.zs-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0 10px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 16px;
}

.zs-modal-head h3 {
	font-size: 17px;
	font-weight: 800;
	color: #111827;
}

.zs-modal-close {
	width: 32px;
	height: 32px;
	border: none;
	background: #f1f5f9;
	border-radius: 50%;
	font-size: 18px;
	color: #64748b;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.zs-field {
	margin-bottom: 14px;
}

.zs-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 6px;
}

.zs-field input,
.zs-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	font-size: 14px;
	font-family: inherit;
	color: #111827;
	background: #f8fafc;
	transition: border-color .18s, box-shadow .18s;
}

.zs-field input:focus,
.zs-field textarea:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
	background: #fff;
}

.zs-field textarea {
	min-height: 80px;
	resize: vertical;
}

.zs-field .hint {
	font-size: 11px;
	color: #94a3b8;
	margin-top: 4px;
}

.zs-field .err {
	font-size: 11px;
	color: #dc2626;
	margin-top: 4px;
	display: none;
}

.zs-field.has-error .err { display: block; }
.zs-field.has-error input,
.zs-field.has-error textarea { border-color: #dc2626; }

.zs-modal-foot {
	margin-top: 8px;
	display: flex;
	gap: 10px;
}

.zs-btn-cancel {
	flex-shrink: 0;
	width: 100px;
	height: 44px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #fff;
	color: #64748b;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
}

.zs-btn-submit {
	flex: 1;
	height: 44px;
	border: none;
	border-radius: 10px;
	background: linear-gradient(145deg, #3b82f6, #1d4ed8);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	transition: opacity .18s;
}

.zs-btn-submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

@keyframes zsFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zsFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes zsSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes zsSlideDown { from { transform: translateY(0); } to { transform: translateY(100%); } }
