/* ==========================================================================
   联系我们页（contact）专属样式 —— 与 about 页同源深蓝科技风
   仅本页加载（pages/contact.html 引用）
   ========================================================================== */

.contact {
	--ct-line: rgba(80, 165, 255, 0.22);
	--ct-cyan: #35d0ff;
	--ct-blue: #2b7bff;
	--ct-txt: #d7e9ff;
	--ct-dim: #8fb3d9;
	--ct-card: rgba(13, 40, 74, 0.55);

	position: relative;
	border-radius: 16px;
	padding: 34px 36px 44px;
	color: var(--ct-txt);
	box-sizing: border-box;
	overflow: hidden;
	background:
		radial-gradient(1100px 480px at 88% -60px, rgba(43, 123, 255, 0.20), transparent 60%),
		radial-gradient(900px 420px at -10% 40%, rgba(53, 208, 255, 0.10), transparent 55%),
		linear-gradient(180deg, #04101f 0%, #061a33 55%, #030b18 100%);
}
.contact a { text-decoration: none; }

/* ---------- Hero ---------- */
.ct-hero {
	position: relative;
	border: 1px solid var(--ct-line);
	border-radius: 18px;
	padding: 46px 48px 42px;
	background:
		radial-gradient(700px 300px at 90% 110%, rgba(53, 208, 255, 0.16), transparent 60%),
		linear-gradient(120deg, rgba(9, 33, 66, 0.9), rgba(6, 20, 40, 0.65));
	overflow: hidden;
}
.ct-hero::after {
	content: "";
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(80, 165, 255, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(80, 165, 255, 0.06) 1px, transparent 1px);
	background-size: 44px 44px;
	pointer-events: none;
}
.ct-hero-badge {
	position: relative; z-index: 1;
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12.5px; letter-spacing: 2px; color: var(--ct-cyan);
	border: 1px solid rgba(53, 208, 255, 0.45); border-radius: 999px;
	padding: 6px 16px; background: rgba(53, 208, 255, 0.08); margin-bottom: 20px;
}
.ct-hero h1 {
	position: relative; z-index: 1;
	margin: 0 0 10px; font-size: 38px; color: #fff; letter-spacing: 3px;
}
.ct-hero h1 em {
	font-style: normal;
	background: linear-gradient(90deg, #35d0ff, #2b7bff);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.ct-hero p {
	position: relative; z-index: 1;
	margin: 0; max-width: 880px; color: var(--ct-dim); line-height: 1.9; font-size: 14.5px;
}
.ct-hero-badges { position: relative; z-index: 1; margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.ct-hero-badges span {
	padding: 6px 14px; border-radius: 999px; font-size: 12.5px;
	color: var(--ct-cyan); border: 1px solid rgba(53, 208, 255, 0.4);
	background: rgba(53, 208, 255, 0.08); letter-spacing: 1px;
}

/* ---------- 区块标题（与 about 同款） ---------- */
.ct-sec { margin-top: 52px; }
.ct-sec-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.ct-sec-head::before {
	content: "";
	align-self: center;
	width: 6px; height: 26px; border-radius: 3px;
	background: linear-gradient(180deg, var(--ct-cyan), var(--ct-blue));
	box-shadow: 0 0 12px rgba(53, 208, 255, 0.8);
}
.ct-sec-head h2 { margin: 0; font-size: 26px; color: #fff; letter-spacing: 2px; }
.ct-sec-head span { font-size: 12px; color: var(--ct-dim); letter-spacing: 3px; text-transform: uppercase; }

/* ---------- 校区卡片（图文左右交替） ---------- */
.ct-campus {
	display: grid; grid-template-columns: 460px 1fr;
	border: 1px solid var(--ct-line); border-radius: 16px;
	background: var(--ct-card); overflow: hidden;
	margin-bottom: 20px;
	transition: border-color 0.2s, transform 0.2s;
}
.ct-campus:last-child { margin-bottom: 0; }
.ct-campus:hover { border-color: rgba(53, 208, 255, 0.5); transform: translateY(-2px); }
.ct-campus.ct-flip { grid-template-columns: 1fr 460px; }
.ct-campus.ct-flip .ct-camp-photo { order: 2; }

.ct-camp-photo { position: relative; min-height: 280px; overflow: hidden; }
.ct-camp-photo img {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; transition: transform 0.5s;
}
.ct-campus:hover .ct-camp-photo img { transform: scale(1.04); }
.ct-camp-photo::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(4, 16, 31, 0) 45%, rgba(4, 16, 31, 0.82) 100%);
}
.ct-camp-city {
	position: absolute; left: 20px; bottom: 16px; z-index: 1;
}
.ct-camp-city b {
	display: block; font-size: 24px; color: #fff; letter-spacing: 3px;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.ct-camp-city span {
	display: inline-block; margin-top: 6px;
	font-size: 11.5px; letter-spacing: 2px; color: var(--ct-cyan);
	border: 1px solid rgba(53, 208, 255, 0.5); border-radius: 999px;
	padding: 3px 12px; background: rgba(4, 16, 31, 0.55);
}

.ct-camp-body { padding: 26px 30px 24px; display: flex; flex-direction: column; }
.ct-camp-body h3 { margin: 0 0 4px; font-size: 20px; color: #fff; letter-spacing: 1px; }
.ct-camp-body .ct-camp-region { font-size: 13px; color: var(--ct-cyan); letter-spacing: 2px; margin-bottom: 16px; }

.ct-camp-row { display: flex; gap: 12px; margin-bottom: 14px; }
.ct-camp-row .ct-ico {
	flex: none; width: 34px; height: 34px; border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	color: var(--ct-cyan); border: 1px solid rgba(53, 208, 255, 0.35);
	background: rgba(53, 208, 255, 0.08); margin-top: 2px;
}
.ct-camp-row .ct-ico svg { width: 16px; height: 16px; }
.ct-camp-row h4 { margin: 0 0 4px; font-size: 13.5px; color: #fff; letter-spacing: 1px; }
.ct-camp-row p { margin: 0; font-size: 13.5px; color: var(--ct-txt); line-height: 1.8; }
.ct-camp-row p.ct-dimtxt { color: var(--ct-dim); font-size: 13px; }
.ct-camp-row strong { color: var(--ct-cyan); font-weight: 600; }

.ct-camp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.ct-camp-tags span {
	font-size: 12px; color: var(--ct-dim);
	border: 1px solid var(--ct-line); border-radius: 999px; padding: 4px 12px;
	background: rgba(9, 33, 66, 0.5); letter-spacing: 1px;
}

/* ---------- 联系方式（4 卡） ---------- */
.ct-way { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ct-way-item {
	border: 1px solid var(--ct-line); border-radius: 14px;
	background: var(--ct-card); padding: 24px 20px; text-align: center;
}
.ct-way-item .ct-wico {
	width: 48px; height: 48px; border-radius: 12px; margin: 0 auto 14px;
	display: flex; align-items: center; justify-content: center; color: #fff;
}
.ct-way-item .ct-wico svg { width: 22px; height: 22px; }
.w-c1 { background: linear-gradient(135deg, #2b7bff, #1447b8); }
.w-c2 { background: linear-gradient(135deg, #14c6c0, #0b8a96); }
.w-c3 { background: linear-gradient(135deg, #7a5cff, #4a2fd6); }
.w-c4 { background: linear-gradient(135deg, #ff8a3d, #e05a1f); }
.ct-way-item h3 { margin: 0 0 6px; font-size: 15px; color: #fff; }
.ct-way-item p { margin: 0; font-size: 13.5px; color: var(--ct-txt); line-height: 1.7; word-break: break-all; }
.ct-way-item span { display: block; margin-top: 6px; font-size: 12px; color: var(--ct-dim); }

/* ---------- CTA 预约到校 ---------- */
.ct-cta {
	margin-top: 40px;
	border: 1px dashed rgba(53, 208, 255, 0.45); border-radius: 16px;
	background: linear-gradient(120deg, rgba(43, 123, 255, 0.14), rgba(13, 40, 74, 0.5));
	padding: 26px 30px;
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.ct-cta h3 { margin: 0; font-size: 18px; color: #fff; letter-spacing: 1px; }
.ct-cta p { margin: 6px 0 0; font-size: 13px; color: var(--ct-dim); line-height: 1.7; }
.ct-cta .ct-cta-note {
	font-size: 12.5px; color: var(--ct-cyan);
	border: 1px solid rgba(53, 208, 255, 0.4); border-radius: 999px; padding: 8px 18px;
	background: rgba(53, 208, 255, 0.08); letter-spacing: 1px;
}

/* ---------- 底部口号 ---------- */
.ct-foot-slogan { margin-top: 44px; text-align: center; padding: 36px 20px 4px; position: relative; }
.ct-foot-slogan::before {
	content: "";
	position: absolute; left: 10%; right: 10%; top: 0; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(53, 208, 255, 0.5), transparent);
}
.ct-foot-slogan p {
	margin: 0; font-size: 26px; font-weight: 700; letter-spacing: 6px;
	background: linear-gradient(90deg, #fff 15%, var(--ct-cyan) 55%, var(--ct-blue));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.ct-foot-slogan span { display: block; margin-top: 12px; font-size: 12.5px; color: var(--ct-dim); letter-spacing: 3px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1280px) {
	.contact { padding: 26px 22px 36px; }
	.ct-campus, .ct-campus.ct-flip { grid-template-columns: 1fr; }
	.ct-campus.ct-flip .ct-camp-photo { order: 0; }
	.ct-camp-photo { min-height: 220px; }
	.ct-way { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.ct-hero { padding: 34px 24px 30px; }
	.ct-hero h1 { font-size: 28px; }
	.ct-way { grid-template-columns: 1fr; }
	.ct-camp-body { padding: 22px 20px; }
	.ct-foot-slogan p { font-size: 20px; letter-spacing: 4px; }
}
