/*! 联系我们页（自建正文）——像素壳无 Bootstrap，全自成一体，断点 480/768/992/1200。
    Hero 规格与站内其它内页一致：PC 400px 白字 40px、移动 140px 居中；
    背景为本页专属 page-lxwm.jpg（2048x584 超清暗调）。 */

.ct-hero,
.ct-wrap,
.ct-sec { box-sizing: border-box; }

/* ----------------------------------------------------------------- Hero */
.ct-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: 400px;
    background: #0a1424 url("/uploads/banner/page-lxwm.jpg") 50% 50% / cover no-repeat;
    overflow: hidden;
}
.ct-hero__inner {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 16px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.ct-hero__title { margin: 0; font-size: 40px; font-weight: 700; line-height: 1.45; color: #fff; }
.ct-hero__sub { margin: 6px 0 0; font-size: 16px; line-height: 1.4; color: #eee; letter-spacing: .12em; }
.ct-hero__path { margin: 18px 0 0; font-size: 13px; color: rgba(255, 255, 255, .78); }
.ct-hero__path a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.ct-hero__path a:hover { color: #fff; }
.ct-hero__path i { font-style: normal; margin: 0 8px; color: rgba(255, 255, 255, .5); }

/* --------------------------------------------------------------- 容器 */
.ct-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.ct-sec { padding-top: 46px; }

.ct-head { text-align: center; margin-bottom: 26px; }
.ct-head__en { margin: 0 0 6px; font-size: 12px; letter-spacing: .2em; color: #9aa1ad; text-transform: uppercase; }
.ct-head h2 { margin: 0; font-size: 26px; font-weight: 700; color: #1a2433; line-height: 1.4; }
.ct-head h2::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin: 12px auto 0;
    border-radius: 2px;
    background: #2b7fd4;
}
.ct-head__desc { margin: 12px auto 0; max-width: 660px; font-size: 14px; line-height: 1.75; color: #6b7280; }
.ct-head--left { text-align: left; margin-bottom: 20px; }
.ct-head--left h2::after { margin-left: 0; }

/* ----------------------------------------------------------- 联系通道 */
.ct-chans { display: grid; grid-template-columns: 1fr; gap: 16px; }
.ct-chan {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 22px 14px 20px;
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.ct-chan:hover {
    border-color: #9cc3e8;
    box-shadow: 0 10px 26px rgba(43, 127, 212, .12);
    transform: translateY(-3px);
}
.ct-chan__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eaf3fc;
    color: #2b7fd4;
}
.ct-chan__label { font-size: 12.5px; color: #9aa1ad; letter-spacing: .06em; }
.ct-chan__val { font-size: 15.5px; font-weight: 700; color: #1a2433; letter-spacing: .01em; }

/* 微信二维码浮层 */
.ct-wxpop {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    display: none;
    width: 164px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
    text-align: center;
    z-index: 40;
}
.ct-chan.is-open .ct-wxpop { display: block; }
.ct-wxpop img { display: block; width: 148px; height: 148px; border-radius: 4px; }
.ct-wxpop em { display: block; margin-top: 6px; font-size: 11px; color: #6b7280; font-style: normal; }

/* ------------------------------------------------------- 留言 + 信息栏 */
.ct-cols { display: flex; flex-direction: column; gap: 24px; }

.ct-form__row { display: flex; align-items: center; margin-bottom: 14px; }
.ct-form__row--top { align-items: flex-start; }
.ct-form__row label { flex: 0 0 84px; font-size: 13.5px; color: #374151; }
.ct-form__row--top label { padding-top: 10px; }
.ct-form__row label i { color: #e64545; font-style: normal; }
.ct-form__row input,
.ct-form__row textarea {
    flex: 1 1 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 9px 11px;
    border: 1px solid #d5d8dd;
    border-radius: 4px;
    font-size: 13.5px;
    font-family: inherit;
    color: #1f2937;
    background: #fff;
}
.ct-form__row input:focus,
.ct-form__row textarea:focus {
    outline: none;
    border-color: #2b7fd4;
    box-shadow: 0 0 0 3px rgba(43, 127, 212, .14);
}
.ct-form__row textarea { resize: vertical; min-height: 120px; }
.ct-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.ct-form__msg { font-size: 13px; color: #e64545; min-height: 18px; }
.ct-form__msg.is-ok { color: #2e9e5b; }
.ct-submit {
    height: 42px;
    padding: 0 34px;
    border: 0;
    border-radius: 5px;
    background: #1c66b0;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s;
}
.ct-submit:hover { background: #2b7fd4; }
.ct-submit:disabled { opacity: .6; cursor: not-allowed; }
.ct-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; }

/* 公司信息卡：flex 纵向 + space-between —— 卡片被拉伸与左栏等高时，
   富余高度均匀分给各块间距，避免全堆在底部一行上方留出大空洞 */
.ct-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: 8px;
    padding: 24px 22px;
}
.ct-side h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: #1a2433; }
.ct-side__intro { margin: 0 0 16px; font-size: 13.5px; line-height: 1.8; color: #6b7280; }
.ct-side__addr { padding: 14px 0; border-top: 1px solid #eceff3; border-bottom: 1px solid #eceff3; }
.ct-side__addr-label { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: #2b7fd4; }
.ct-side__addr p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.8; color: #374151; }
.ct-side__acts { display: flex; gap: 10px; margin-top: 16px; }
.ct-act {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #d5d8dd;
    border-radius: 5px;
    background: #fff;
    color: #374151;
    font-size: 13.5px;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .2s, color .2s;
}
.ct-act:hover { border-color: #2b7fd4; color: #2b7fd4; }
.ct-act--main { border-color: #1c66b0; background: #1c66b0; color: #fff; }
.ct-act--main:hover { background: #2b7fd4; border-color: #2b7fd4; color: #fff; }
.ct-side__tip { margin: 14px 0 0; font-size: 12.5px; color: #9aa1ad; }

/* ================================================================ 断点 */
@media (min-width: 480px) {
    .ct-chans { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .ct-chans { grid-template-columns: repeat(4, 1fr); }
    /* 不设 align-items（默认 stretch）：左右两栏等高，避免右卡比表单矮一截 */
    .ct-cols { flex-direction: row; gap: 32px; }
    .ct-form-wrap { flex: 1 1 auto; min-width: 0; }
    .ct-side { flex: 0 0 340px; }
}
@media (min-width: 1200px) {
    .ct-head h2 { font-size: 28px; }
}

/* 移动端：与其它内页 Hero 同规格 */
@media (max-width: 767px) {
    .ct-hero { height: 140px; }
    .ct-hero__inner { padding: 0 12px; justify-content: center; align-items: center; text-align: center; }
    .ct-hero__title { font-size: 18px; }
    .ct-hero__sub { font-size: 12px; margin-top: 4px; }
    .ct-hero__path { margin-top: 8px; font-size: 12px; }

    .ct-sec { padding-top: 34px; }
    .ct-head h2 { font-size: 22px; }
    .ct-head__desc { font-size: 13px; }
    .ct-form__row { flex-direction: column; align-items: stretch; gap: 6px; }
    .ct-form__row label { flex: none; }
    .ct-form__row--top label { padding-top: 0; }
    .ct-form__foot { flex-direction: column; align-items: stretch; }
    .ct-submit { width: 100%; }
}
@media (max-width: 479px) {
    .ct-chans { gap: 12px; }
    .ct-chan { padding: 18px 10px 16px; }
    .ct-chan__val { font-size: 14.5px; }
}
