/* ==========================================================================
   contact.css —— 由 tools_split_css.py 从 main.css 拆出（2026-10-19）
   注意：改样式请改对应页面文件，不要再往 main.css 里加
   ========================================================================== */


/* ---------- 询盘 ---------- */
.inquiry { background: linear-gradient(135deg, #08213f 0%, #0e3457 100%); padding: var(--sp-2) 0; }

.inquiry__form { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-note { margin-top: 12px; font-size: 12.5px; color: var(--ink-4); text-align: center; }

.form-msg { margin-top: 10px; font-size: 13.5px; text-align: center; font-weight: 600; }

.form-msg.is-ok { color: #2f9e5f; }

.form-msg.is-err { color: #d9534f; }

/* 询盘区：左侧网格光斑 */
.inquiry { position: relative; }

.inquiry::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(120, 178, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 178, 255, .05) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(880px 420px at 12% 50%, #000, transparent 72%);
    mask-image: radial-gradient(880px 420px at 12% 50%, #000, transparent 72%);
}

/* ==========================================================================
   联系我们 /contact —— 白底简洁风 + 品牌蓝 + 卡片圆角浅阴影
   ========================================================================== */

/* ---------- 页头标题区 ---------- */
.ct-hero { background: linear-gradient(180deg, #f1f6fd 0%, #ffffff 100%); padding: 42px 0 58px; }

.ct-hero__inner { display: grid; grid-template-columns: 1.12fr .88fr; gap: 52px; align-items: center; }

.ct-hero__title { font-size: 40px; line-height: 1.22; letter-spacing: -.9px; margin-bottom: 14px; }

.ct-hero__lead { font-size: 17px; color: var(--ink-3); margin-bottom: 24px; }

.ct-hero__hotline {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px;
    padding: 15px 20px; margin-bottom: 22px;
    background: rgba(11, 94, 215, .055); border: 1px solid var(--brand-line);
    border-radius: var(--radius);
}

.ct-hero__hotline-label { font-size: 14px; color: var(--ink-3); }

.ct-hero__hotline-num {
    font-size: 28px; font-weight: 700; color: var(--brand);
    letter-spacing: -.4px; line-height: 1.15; font-variant-numeric: tabular-nums;
}

.ct-hero__hotline-num:hover { color: var(--brand-dark); }

.ct-hero__intro { font-size: 15px; color: var(--ink-3); line-height: 1.9; max-width: 600px; margin: 0; }

/* ★ height:auto 不能省：img 上带了 width/height 属性（防 CLS 跳动），
   CSS 只写 width:100% 的话高度会被属性值锁死，图片被拉变形 */
.ct-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-lg); }

/* ---------- 四大联系方式卡片 ---------- */
.ct-cards { padding: 0 0 6px; }

.ct-cards__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.ct-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 22px 24px; text-align: center; box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ct-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-line); }

.ct-card__icon {
    width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    background: var(--brand-soft); color: var(--brand);
}

.ct-card__label { font-size: 14px; color: var(--ink-3); margin: 0 0 10px; }

.ct-card__value {
    display: block; font-size: 22px; font-weight: 700; color: var(--brand);
    letter-spacing: -.3px; line-height: 1.32; word-break: break-word;
}

.ct-card__value--plain { color: var(--ink); }

a.ct-card__value:hover { color: var(--brand-dark); }

.ct-card__note { margin: 10px 0 0; font-size: 13px; color: var(--ink-4); }

/* ---------- 区块小标题 ---------- */
.ct-head { text-align: center; margin-bottom: 34px; }

.ct-head__sub {
    display: block; margin-top: 6px; font-size: 13px; letter-spacing: 1.6px;
    text-transform: uppercase; color: var(--brand); font-weight: 600;
}

.ct-head__desc { margin: 14px auto 0; font-size: 15px; color: var(--ink-3); max-width: 640px; }

/* ---------- 销售团队表格 ---------- */
.ct-table-wrap {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); overflow-x: auto;
}

.ct-table { width: 100%; border-collapse: collapse; min-width: 780px; }

.ct-table th {
    background: #f5f8fc; color: var(--ink-2); font-size: 14px; font-weight: 600;
    text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); white-space: nowrap;
}

.ct-table td {
    padding: 16px 20px; font-size: 14px; color: var(--ink-2);
    border-bottom: 1px solid #eef2f7; vertical-align: middle;
}

.ct-table tbody tr:last-child td { border-bottom: 0; }

.ct-table tbody tr:hover td { background: #fafcff; }

.ct-table__role { font-weight: 600; color: var(--ink); }

.ct-table a { color: var(--brand); }

.ct-table a:hover { text-decoration: underline; }

.ct-tbd { color: var(--ink-4); }

/* ---------- 投诉及建议 ---------- */
.ct-cmp__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.ct-cmp__card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 28px 20px; box-shadow: var(--shadow-sm);
}

.ct-cmp__role {
    display: inline-block; margin-bottom: 16px; padding: 5px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 600; color: var(--brand); background: var(--brand-soft);
}

.ct-cmp__row { display: flex; gap: 12px; padding: 9px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }

.ct-cmp__row:last-child { border-bottom: 0; }

.ct-cmp__row a { color: var(--brand); }

.ct-cmp__row a:hover { text-decoration: underline; }

/* ---------- 办公地点 ---------- */
.ct-off__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.ct-off__card {
    position: relative; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 26px 28px 26px 32px; box-shadow: var(--shadow-sm);
    transition: box-shadow .25s ease, border-color .25s ease;
}

.ct-off__card:hover { box-shadow: var(--shadow); border-color: var(--brand-line); }

.ct-off__card::before {
    content: ''; position: absolute; left: 0; top: 24px; bottom: 24px; width: 4px;
    border-radius: 0 4px 4px 0; background: linear-gradient(180deg, var(--brand), var(--brand-light));
}

.ct-off__name { display: flex; align-items: center; gap: 9px; font-size: 18px; margin: 0 0 12px; color: var(--ink); }

.ct-off__name svg { color: var(--brand); flex: none; }

.ct-off__company { margin: 0 0 8px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }

.ct-off__addr { margin: 0; font-size: 14px; color: var(--ink-3); line-height: 1.85; }

/* ---------- 采购信息 ---------- */
.ct-proc {
    display: grid; grid-template-columns: 1fr 260px; gap: 30px; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px 34px; box-shadow: var(--shadow-sm);
}

.ct-proc__label { margin: 0; font-size: 13.5px; color: var(--ink-4); font-weight: 600; letter-spacing: .3px; }

.ct-proc__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.ct-proc__tag {
    font-size: 13.5px; color: var(--ink-2); background: var(--bg-tint);
    border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.ct-proc__tag:hover { color: var(--brand); border-color: var(--brand-line); background: var(--brand-soft); }

.ct-proc__mail { text-align: right; border-left: 1px dashed var(--line); padding-left: 30px; }

.ct-proc__mail a { display: inline-block; margin-top: 10px; font-size: 19px; font-weight: 700; color: var(--brand); letter-spacing: -.2px; word-break: break-all; }

.ct-proc__mail a:hover { color: var(--brand-dark); }

/* ---------- 在线留言 ---------- */
.ct-message__inner { display: grid; grid-template-columns: 1fr 1.06fr; gap: 56px; align-items: start; }

.ct-points { margin-top: 26px; display: flex; flex-direction: column; gap: 13px; list-style: none; padding: 0; }

.ct-points li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-2); }

.ct-points svg { color: var(--brand); flex: none; }

@media (max-width: 720px) {

    .inquiry { padding: 52px 0; }

    .form-row { grid-template-columns: 1fr; }

}

@media (max-width: 720px) {

    /* 联系我们 —— 移动端四列卡片堆叠为单列 */
    .ct-hero { padding: 28px 0 40px; }

    /* ★ 两栏必须真正降成单列：只改字号不降栅格时，右栏只剩 129px，
       前台照片被压成一张 129×78 的小缩略图，什么都看不清（2026-10-30 修）。
       图放在文字之后 —— 手机上先看到「联系我们」和电话，再看到公司长什么样。 */
    .ct-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 26px; }

    .ct-hero__title { font-size: 27px; }

    .ct-hero__lead { font-size: 15px; }

    .ct-hero__hotline { padding: 13px 16px; }

    .ct-hero__hotline-num { font-size: 22px; }

    .ct-hero__intro { font-size: 14.5px; }

    .ct-cards__grid { grid-template-columns: 1fr; }

    .ct-cmp__grid, .ct-off__grid { grid-template-columns: 1fr; }

    .ct-off__card { padding: 22px 22px 22px 26px; }

    .ct-off__card::before { top: 20px; bottom: 20px; }

    .ct-proc { padding: 24px 22px; }

}
