/**
 * SilkRoad — 联系我们 (contact-us)
 * Layout mirrors Boda /list/7.html; tokens match site (#006ec0 / #14477b).
 */

.srt-ct,
.page-id-25 .entry-content {
	--srt-ct-accent: #006ec0;
	--srt-ct-brand: #14477b;
	--srt-ct-text: #333333;
	--srt-ct-muted: #888888;
	--srt-ct-light: #f6f6f6;
	--srt-ct-white: #ffffff;
	--srt-ct-max: 1170px;
}

.srt-ct {
	color: var(--srt-ct-text);
	font-size: 15px;
	line-height: 1.85;
	margin: 0 calc(50% - 50vw);
	width: 100vw;
	max-width: 100vw;
	overflow-x: hidden;
}

.srt-ct *,
.srt-ct *::before,
.srt-ct *::after {
	box-sizing: border-box;
}

.srt-ct a {
	text-decoration: none;
	color: var(--srt-ct-accent);
	transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.srt-ct-inner {
	width: min(100% - 30px, var(--srt-ct-max));
	margin-left: auto;
	margin-right: auto;
}

/* ----- Page shell (Astra page-builder) ----- */
.page-id-25 .entry-header,
.page-id-25 .ast-featured-image,
.contact-us .entry-header {
	display: none !important;
}

.page-id-25 .entry-content > *:first-child,
.page-id-25 .entry-content > .srt-ct {
	margin-top: 0;
}

.page-id-25.ast-plain-container .site-content > .ast-container,
.page-id-25 .site-content .ast-container {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.page-id-25 .entry-content {
	margin: 0;
	padding: 0;
	color: var(--srt-ct-text);
	font-size: 15px;
	line-height: 1.85;
}

.page-id-25 .entry-content > .srt-ct {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
	max-width: 100vw;
}

/* ----- Hero banner (Featured Image; full-bleed under transparent header) ----- */
.srt-ct-banner {
	position: relative;
	overflow: hidden;
	min-height: 200px;
	height: clamp(200px, 28.12vw, 540px);
	background: #1a2332;
}

.srt-ct-banner__bg {
	position: absolute;
	inset: 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	transform: scale(1.02);
	transition: transform 8s ease-out;
}

.srt-ct.is-ready .srt-ct-banner__bg {
	transform: scale(1);
}

.srt-ct-banner__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(10, 24, 40, 0.35) 0%,
		rgba(10, 24, 40, 0.55) 100%
	);
}

.srt-ct-banner__txt {
	position: absolute;
	z-index: 2;
	left: 0;
	top: 50%;
	width: 100%;
	transform: translateY(-50%);
	text-align: center;
	color: var(--srt-ct-white);
	padding: 0 20px;
}

.srt-ct-banner__txt strong {
	display: block;
	font-size: clamp(26px, 3.2vw, 40px);
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: 0.04em;
}

.srt-ct-banner__txt p {
	margin: 12px 0 0;
	font-size: clamp(14px, 1.4vw, 18px);
	line-height: 1.6;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding-bottom: 16px;
	position: relative;
	opacity: 0.95;
}

.srt-ct-banner__txt p::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 16px;
	height: 2px;
	margin-left: -8px;
	background: var(--srt-ct-white);
}

/* ----- Breadcrumb bar ----- */
.srt-ct-pos-wrap {
	position: relative;
	z-index: 3;
	margin-top: -45px;
	margin-bottom: 0;
}

.srt-ct-pos {
	background: var(--srt-ct-white);
	min-height: 90px;
	box-shadow: 0 5px 8px rgba(0, 0, 0, 0.1);
	padding: 0 2vw;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.srt-ct-crumb {
	font-size: 15px;
	color: #999;
	line-height: 1.4;
	padding: 8px 0;
}

.srt-ct-crumb a {
	color: #999;
}

.srt-ct-crumb a:hover {
	color: var(--srt-ct-accent);
}

/* ----- Address / map banner ----- */
.srt-ct-map {
	position: relative;
	z-index: 1;
	margin-top: -45px;
	height: clamp(280px, 29.5vw, 568px);
	background-color: #dfe7ef;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.srt-ct-map__pin {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -58%);
	width: min(455px, 92vw);
	height: 161px;
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 455px 161px;
	font-size: 16px;
	line-height: 22px;
	color: #333;
	padding: 28px 40px 0 182px;
	filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.18));
}

.srt-ct-map__pin p {
	margin: 0;
	max-width: 220px;
}

/* ----- Body: info strip + form ----- */
.srt-ct-body {
	position: relative;
	z-index: 2;
	margin-top: -70px;
	padding-bottom: clamp(48px, 5.2vw, 96px);
	background: transparent;
}

.srt-ct-info {
	list-style: none;
	margin: 0 0 clamp(36px, 5.2vw, 72px);
	padding: 28px 12px;
	display: grid;
	grid-template-columns: 3fr 4fr 3fr;
	gap: 12px 8px;
	background: var(--srt-ct-white);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
	align-items: center;
}

.srt-ct-info__item {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	justify-content: center;
	font-size: 15px;
	line-height: 1.55;
	color: #444;
	padding: 8px 10px;
}

.srt-ct-info__item img {
	flex: 0 0 60px;
	width: 60px;
	height: 60px;
	object-fit: contain;
}

.srt-ct-info__item a {
	color: var(--srt-ct-accent);
}

.srt-ct-info__item a:hover {
	color: var(--srt-ct-brand);
}

.srt-ct-form-head {
	text-align: center;
	padding-bottom: 28px;
	position: relative;
	margin-bottom: 28px;
}

.srt-ct-form-head strong {
	display: block;
	font-size: clamp(22px, 2.2vw, 28px);
	line-height: 1.4;
	font-weight: 500;
	color: #222;
}

.srt-ct-form-head p {
	margin: 14px auto 0;
	max-width: 820px;
	font-size: 15px;
	line-height: 1.7;
	color: #666;
}

.srt-ct-form-head::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 24px;
	height: 2px;
	margin-left: -12px;
	background: var(--srt-ct-accent);
}

.srt-ct-form__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px 18px;
}

.srt-ct-form__full {
	grid-column: 1 / -1;
}

.srt-ct-form input,
.srt-ct-form textarea {
	width: 100%;
	border: 1px solid #e3e3e3;
	background: var(--srt-ct-white);
	color: #666;
	font-size: 16px;
	font-family: inherit;
	border-radius: 0;
	outline: none;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.srt-ct-form input {
	height: 60px;
	line-height: 58px;
	padding: 0 20px;
}

.srt-ct-form textarea {
	min-height: 180px;
	padding: 15px 20px;
	line-height: 1.7;
	resize: vertical;
}

.srt-ct-form input:focus,
.srt-ct-form textarea:focus {
	border-color: var(--srt-ct-accent);
	box-shadow: 0 0 0 3px rgba(0, 110, 192, 0.12);
}

.srt-ct-form__actions {
	text-align: center;
	padding-top: 28px;
}

.srt-ct-submit {
	appearance: none;
	border: 0;
	cursor: pointer;
	display: inline-block;
	min-width: 228px;
	height: 60px;
	padding: 0 28px;
	font-size: 16px;
	line-height: 60px;
	color: #fff !important;
	background: var(--srt-ct-accent);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.srt-ct-submit:hover,
.srt-ct-submit:focus {
	background: var(--srt-ct-brand);
	transform: translateY(-4px);
	box-shadow: 0 6px 14px rgba(20, 71, 123, 0.22);
	color: #fff !important;
}

.srt-ct-submit:disabled {
	opacity: 0.7;
	cursor: wait;
	transform: none;
	box-shadow: none;
}

.srt-ct-form__status {
	margin: 16px 0 0;
	font-size: 14px;
	line-height: 1.5;
}

.srt-ct-form__status.is-ok {
	color: #1a7f4b;
}

.srt-ct-form__status.is-err {
	color: #b42318;
}

/* ----- Bottom CTA ----- */
.srt-ct-cta {
	position: relative;
	overflow: hidden;
	background-color: #1b2430;
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	padding: clamp(56px, 5.5vw, 88px) 0 clamp(48px, 4.5vw, 72px);
	color: #d7d7d7;
}

.srt-ct-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(12, 22, 36, 0.55) 0%, rgba(12, 22, 36, 0.72) 100%);
}

.srt-ct-cta__inner {
	position: relative;
	z-index: 1;
	width: min(100% - 30px, var(--srt-ct-max));
	margin: 0 auto;
}

.srt-ct-cta__head {
	text-align: center;
	margin-bottom: 36px;
}

.srt-ct-cta__head img {
	display: block;
	margin: 0 auto 14px;
	width: 178px;
	height: 22px;
}

.srt-ct-cta__head h2 {
	margin: 0 0 10px;
	color: #fff;
	font-size: clamp(22px, 2.2vw, 30px);
	font-weight: 500;
	line-height: 1.35;
}

.srt-ct-cta__head p {
	margin: 0;
	color: #d7d7d7;
	font-size: 15px;
}

.srt-ct-cta__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.srt-ct-cta__grid a,
.srt-ct-cta__static {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 120px;
	padding: 18px 12px;
	text-align: center;
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.srt-ct-cta__grid a:hover {
	background: rgba(0, 110, 192, 0.28);
	border-color: rgba(255, 255, 255, 0.22);
	transform: translateY(-4px);
	color: #fff;
}

.srt-ct-cta__grid img {
	width: 44px;
	height: 43px;
	object-fit: contain;
}

.srt-ct-cta__grid span {
	font-size: 14px;
	line-height: 1.45;
	word-break: break-word;
}

/* ----- Motion ----- */
.srt-ct-anim {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s ease, transform 0.7s ease;
	will-change: opacity, transform;
}

.srt-ct-anim--left {
	transform: translateX(-24px);
}

.srt-ct-anim--right {
	transform: translateX(24px);
}

.srt-ct-anim--up {
	transform: translateY(22px);
}

.srt-ct-anim.is-visible {
	opacity: 1;
	transform: none;
}

.srt-ct-banner .srt-ct-anim--left.is-visible {
	transition-delay: 0.08s;
}

.srt-ct-banner .srt-ct-anim--right.is-visible {
	transition-delay: 0.18s;
}

@media (prefers-reduced-motion: reduce) {
	.srt-ct-anim,
	.srt-ct-banner__bg,
	.srt-ct-submit,
	.srt-ct-cta__grid a {
		transition: none !important;
		transform: none !important;
		opacity: 1 !important;
	}
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
	.srt-ct-info {
		grid-template-columns: 1fr;
		padding: 18px 8px 22px;
	}

	.srt-ct-info__item {
		justify-content: flex-start;
		padding-left: 24px;
	}

	.srt-ct-form__grid {
		grid-template-columns: 1fr 1fr;
	}

	.srt-ct-cta__grid {
		grid-template-columns: 1fr 1fr;
	}

	.srt-ct-map__pin {
		transform: translate(-50%, -50%) scale(0.82);
		transform-origin: center center;
	}
}

@media (max-width: 768px) {
	.srt-ct-pos-wrap {
		margin-top: 0;
	}

	.srt-ct-pos {
		min-height: auto;
		justify-content: flex-start;
		padding: 12px 16px;
	}

	.srt-ct-map {
		margin-top: 0;
		height: 280px;
	}

	.srt-ct-map__pin {
		transform: translate(-50%, -50%) scale(0.68);
		padding-top: 24px;
	}

	.srt-ct-body {
		margin-top: 0;
		padding-top: 28px;
		background: var(--srt-ct-light);
	}

	.srt-ct-form__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.srt-ct-form input {
		height: 50px;
		line-height: 48px;
	}

	.srt-ct-form textarea {
		min-height: 140px;
	}

	.srt-ct-submit {
		width: min(100%, 228px);
		height: 56px;
		line-height: 56px;
	}

	.srt-ct-cta__grid {
		grid-template-columns: 1fr;
	}

	.srt-ct-info__item img {
		width: 48px;
		height: 48px;
		flex-basis: 48px;
	}
}
