/* ===========================================================
   江苏大松机械有限公司 · 联系我们页样式
   =========================================================== */

/* ===== 联系信息卡片 ===== */
.ct-cards {
	padding-bottom: 80px;
}
.ct-cards__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
}
.ct-card {
	position: relative;
	background: var(--bg-alt);
	padding: 40px 32px 36px;
	text-align: center;
	overflow: hidden;
	transition: all .5s var(--ease);
}
.ct-card::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 0;
	height: 3px;
	background: var(--accent);
	transform: translateX(-50%);
	transition: width .5s var(--ease);
}
.ct-card__ico {
	width: 58px;
	height: 58px;
	margin: 0 auto 20px;
	color: var(--accent);
	border: 1px solid rgba(184,0,0,.25);
	border-radius: 50%;
	padding: 15px;
	transition: all .5s var(--ease);
	background: #fff;
}
.ct-card__cap {
	font-size: 12.5px;
	letter-spacing: .2em;
	color: var(--text-mut-2);
	margin-bottom: 8px;
}
.ct-card__val {
	font-size: 19px;
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1.5;
}
.ct-card__val--sm {
	font-size: 16px;
}
.ct-card__sub {
	font-size: 12.5px;
	color: var(--text-mut-2);
	margin-top: 8px;
}
.ct-card:hover {
	background: #fff;
	box-shadow: 0 22px 44px rgba(0,0,0,.09);
	transform: translateY(-6px);
}
.ct-card:hover::after {
	width: 64px;
}
.ct-card:hover .ct-card__ico {
	background: var(--accent);
	color: #fff;
	border-color: var(--accent);
}
/* ===== 留言表单 + 侧栏信息 ===== */
.ct-main {
	background: #f1f1f1;
	padding: 90px 0;
}
.ct-main__grid {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 56px;
	align-items: start;
}
.ct-form-wrap {
	background: #fff;
	padding: 48px 48px 44px;
	box-shadow: 0 10px 34px rgba(0,0,0,.05);
}
.ct-form {
	margin-top: 6px;
}
.ct-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.ct-field {
	margin-bottom: 22px;
}
.ct-field label {
	display: block;
	font-size: 13.5px;
	font-weight: 500;
	letter-spacing: .03em;
	color: var(--text);
	margin-bottom: 9px;
}
.ct-field label i {
	color: var(--accent);
	font-style: normal;
	margin-left: 2px;
}
.ct-field input, .ct-field select, .ct-field textarea {
	width: 100%;
	border: 1px solid var(--line);
	background: var(--bg-alt);
	padding: 13px 16px;
	font-size: 14px;
	font-family: inherit;
	color: var(--text);
	outline: none;
	transition: border-color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}
.ct-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%236a6a72' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}
.ct-field textarea {
	resize: vertical;
	min-height: 120px;
}
.ct-field input::placeholder, .ct-field textarea::placeholder {
color: var(--text-mut-2);
}
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus {
	border-color: var(--accent);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(184,0,0,.07);
}
.ct-field.err input, .ct-field.err textarea {
	border-color: var(--accent-2);
	box-shadow: 0 0 0 3px rgba(212,18,31,.09);
}
.ct-form__foot {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
	margin-top: 6px;
}
.ct-form__note {
	font-size: 13.5px;
	color: var(--text-mut);
	line-height: 1.6;
	min-height: 1.6em;
}
/* 侧栏 */
.ct-aside__info {
	background: var(--bg-dark);
	color: var(--text-light);
	padding: 38px 34px;
	position: relative;
	overflow: hidden;
}
.ct-aside__info::before {
	content: '';
	position: absolute;
	right: -46px;
	top: -46px;
	width: 140px;
	height: 140px;
	border: 1px solid var(--line-dark);
	border-radius: 50%;
}
.ct-aside__info h4 {
	font-size: 18px;
	font-weight: 600;
	letter-spacing: .05em;
	padding-bottom: 16px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--line-dark);
	position: relative;
}
.ct-aside__info h4::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 36px;
	height: 2px;
	background: var(--accent-2);
}
.ct-aside__info ul {
	list-style: none;
}
.ct-aside__info li {
	display: flex;
	gap: 14px;
	padding: 13px 0;
	align-items: flex-start;
}
.ct-aside__info li + li {
	border-top: 1px dashed var(--line-dark);
}
.ct-aside__info li svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: var(--accent-2);
	margin-top: 3px;
}
.ct-aside__info li span {
	display: block;
	font-size: 12px;
	color: var(--text-light-mut);
	letter-spacing: .08em;
	margin-bottom: 3px;
}
.ct-aside__info li b {
	font-size: 13.5px;
	font-weight: 500;
	color: #fff;
	line-height: 1.6;
	word-break: break-all;
}
.ct-aside__qr {
	display: flex;
	gap: 20px;
	align-items: center;
	background: #fff;
	border: 1px solid var(--line);
	padding: 26px 26px;
	margin-top: 26px;
}
.ct-aside__qr-img {
	width: 108px;
	height: 108px;
	flex-shrink: 0;
	padding: 6px;
	border: 1px solid var(--line);
	background: #fff;
}
.ct-aside__qr-body h5 {
	font-size: 15.5px;
	font-weight: 600;
	letter-spacing: .03em;
	margin-bottom: 8px;
}
.ct-aside__qr-body p {
	font-size: 12.5px;
	color: var(--text-mut-2);
	line-height: 1.8;
}
/* ===== 在线地图 ===== */
.ct-map {
	padding-bottom: 10px;
}
.ct-map__box {
	height: 380px;
	background: var(--bg-alt) repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(0,0,0,.018) 18px, rgba(0,0,0,.018) 36px);
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	position: relative;
	overflow: hidden;
}
.ct-map__box::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent 49.7%, var(--line) 49.7%, var(--line) 50.3%, transparent 50.3%),  linear-gradient(0deg, transparent 49.7%, var(--line) 49.7%, var(--line) 50.3%, transparent 50.3%);
	background-size: 160px 160px;
	opacity: .6;
}
.ct-map__pin {
	position: relative;
	width: 52px;
	height: 52px;
	color: var(--accent);
	padding: 9px;
	margin-bottom: 14px;
	z-index: 1;
}
.ct-map__ping {
	position: absolute;
	inset: 0;
	border: 1px solid var(--accent);
	border-radius: 50%;
	animation: ctPing 2.4s var(--ease) infinite;
}
@keyframes ctPing {
 0% {
transform: scale(1);
opacity: .7;
}
 100% {
transform: scale(2.1);
opacity: 0;
}
}
.ct-map__box h4 {
	font-size: 18px;
	font-weight: 600;
	letter-spacing: .05em;
	z-index: 1;
}
.ct-map__box p {
	font-size: 13px;
	color: var(--text-mut-2);
	letter-spacing: .04em;
	z-index: 1;
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
.ct-main__grid {
	grid-template-columns: 1fr 320px;
	gap: 36px;
}
}
@media (max-width: 992px) {
.ct-cards__grid {
	grid-template-columns: repeat(2, 1fr);
}
.ct-main {
	padding: 64px 0;
}
.ct-main__grid {
	grid-template-columns: 1fr;
}
.ct-form-wrap {
	padding: 34px 26px;
}
}
@media (max-width: 600px) {
.ct-cards__grid {
	grid-template-columns: 1fr;
}
.ct-form__row {
	grid-template-columns: 1fr;
	gap: 0;
}
.ct-aside__qr {
	flex-direction: column;
	text-align: center;
}
.ct-map__box {
	height: 300px;
}
}
