/* ============================================================
   联系我们页 - 绿色系工业风（与全站公共组件风格一致）
   类名前缀: ct-
   结构：Hero → 形象图(占位) → 三大分公司 → 产品介绍 → 品牌 logo 墙
   ============================================================ */

/* ---------- 基础重置（与全站页面保持一致） ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #fff;
    font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    color: #333;
}

/* ---------- 页头横幅 ---------- */
.ct-hero {
    background:
        repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px),
        linear-gradient(135deg, #0F3D2E 0%, #166534 55%, #1E7A4E 100%);
    padding: 64px 0;
    text-align: center;
    color: #fff;
}
.ct-hero h1 { font-size: 40px; font-weight: 800; letter-spacing: 2px; margin: 0 0 14px; }
.ct-hero p { font-size: 16px; color: rgba(255,255,255,.8); margin: 0; }

/* ---------- 形象图 ---------- */
.ct-img-wrap { background: #fff; padding: 44px 0 0; }
.ct-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 61, 46, .18);
}

/* ---------- 通用区块 ---------- */
.ct-section { padding: 56px 0; }
.ct-sec-title {
    font-size: 30px;
    font-weight: 800;
    color: #0F3D2E;
    text-align: center;
    margin: 0 0 40px;
}
.ct-sec-title::after {
    content: '';
    display: block;
    width: 46px;
    height: 3px;
    background: #D97706;
    border-radius: 2px;
    margin: 14px auto 0;
}

/* ---------- 三大分公司 ---------- */
.ct-offices { background: #fff; }
.ct-off-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ct-off-card {
    position: relative;
    background: #F4FAF7;
    border: 1px solid #DCEFE6;
    border-radius: 14px;
    padding: 30px 26px 26px;
    transition: transform .25s, box-shadow .25s;
}
.ct-off-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(15, 61, 46, .1); }
.ct-off-main { border-color: #BFE3D0; background: #fff; box-shadow: 0 6px 20px rgba(15, 61, 46, .06); }
.ct-off-tag {
    position: absolute;
    top: -11px;
    right: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: #166534;
    border-radius: 20px;
    padding: 3px 12px;
    font-style: normal;
}
.ct-off-main .ct-off-tag { background: #D97706; }
.ct-off-card h3 { font-size: 19px; font-weight: 800; color: #0F3D2E; margin: 0 0 18px; }
.ct-off-list { list-style: none; display: grid; gap: 12px; padding: 0; }
.ct-off-list li { display: flex; gap: 10px; font-size: 14px; line-height: 1.7; }
.ct-off-k { flex-shrink: 0; color: #888; }
.ct-off-v { color: #333; word-break: break-all; }

/* ---------- 产品介绍 ---------- */
.ct-prods { background: #F4FAF7; }
.ct-prod-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.ct-prod-card {
    display: grid;
    gap: 8px;
    background: #fff;
    border: 1px solid #DCEFE6;
    border-radius: 12px;
    padding: 24px 20px;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s;
}
.ct-prod-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(15, 61, 46, .1); }
.ct-prod-num { font-size: 24px; font-weight: 800; color: #D97706; opacity: .85; }
.ct-prod-card strong { font-size: 17px; font-weight: 800; color: #0F3D2E; }
.ct-prod-card small { font-size: 13px; color: #777; }

/* ---------- 品牌 logo 墙 ---------- */
.ct-brands { background: #fff; }
.ct-brand-group {
    font-size: 15px;
    font-weight: 700;
    color: #166534;
    border-left: 3px solid #D97706;
    padding-left: 12px;
    margin: 0 0 16px;
}
.ct-brand-group + .ct-logo-wall { margin-bottom: 34px; }
.ct-logo-wall {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.ct-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 148px;
    height: 62px;
    background: #F4FAF7;
    border: 1px solid #DCEFE6;
    border-radius: 10px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: transform .2s, box-shadow .2s;
}
.ct-logo:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(15, 61, 46, .1); }
.ct-logo i {
    position: absolute;
    top: -9px;
    right: -9px;
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #D97706;
    border-radius: 20px;
    padding: 2px 9px;
}
.ct-logo-auth { border-color: #E8C47F; background: #FFFBEF; }
.ct-logo-more { color: #999 !important; background: #FAFAFA; }

/* ---------- 页脚地址同步 ---------- */
.ct-brand-note { text-align: center; font-size: 13px; color: #888; margin: 22px 0 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .ct-hero { padding: 44px 0; }
    .ct-hero h1 { font-size: 30px; }
    .ct-section { padding: 40px 0; }
    .ct-off-grid { grid-template-columns: 1fr; gap: 20px; }
    .ct-prod-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .ct-prod-grid { grid-template-columns: 1fr; }
    .ct-logo { width: calc(50% - 7px); }
}
/* ============================================================
   联系我们页 - 绿色系工业风（与全站公共组件风格一致）
   类名前缀: ct-
   ============================================================ */

/* ---------- 基础重置（与首页/关于页保持一致） ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #fff;
    font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    color: #333;
}

/* ---------- 页头横幅 ---------- */
.ct-hero {
    background: linear-gradient(135deg, #0F3D2E 0%, #166534 60%, #1E7A4E 100%);
    padding: 64px 0;
    text-align: center;
    color: #fff;
}
.ct-hero h1 { font-size: 40px; font-weight: 800; letter-spacing: 2px; margin: 0 0 14px; }
.ct-hero p { font-size: 16px; color: rgba(255,255,255,.8); margin: 0; }

/* ---------- 主体双栏 ---------- */
.ct-main { padding: 56px 0; background: #fff; }
.ct-main-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}
.ct-sec-title {
    font-size: 24px;
    font-weight: 800;
    color: #0F3D2E;
    margin: 0 0 24px;
}

/* ---------- 左侧：联系方式 ---------- */
.ct-info { display: grid; gap: 16px; }
.ct-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #F4FAF7;
    border: 1px solid #DCEFE6;
    border-radius: 10px;
    padding: 16px 18px;
}
.ct-info-ico { font-size: 26px; line-height: 1.3; }
.ct-info-item strong { display: block; font-size: 15px; color: #0F3D2E; margin-bottom: 4px; }
.ct-info-item p { font-size: 14px; color: #555; line-height: 1.7; margin: 0; }

/* ---------- 右侧：留言表单 ---------- */
.ct-form-wrap {
    background: #F4FAF7;
    border: 1px solid #DCEFE6;
    border-radius: 12px;
    padding: 28px;
}
.ct-form { display: grid; gap: 16px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-field { display: grid; gap: 6px; }
.ct-field label { font-size: 13px; font-weight: 700; color: #0F3D2E; }
.ct-field input,
.ct-field textarea {
    font-family: inherit;
    font-size: 14px;
    color: #333;
    background: #fff;
    border: 1px solid #CBDDD3;
    border-radius: 6px;
    padding: 10px 12px;
    outline: none;
    transition: border-color .2s;
}
.ct-field input:focus,
.ct-field textarea:focus { border-color: #166534; }
.ct-field textarea { resize: vertical; }
.ct-submit {
    background: #D97706;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    padding: 12px 0;
    cursor: pointer;
    transition: background .2s;
}
.ct-submit:hover { background: #B45309; }
.ct-ok {
    font-size: 14px;
    color: #166534;
    background: #EAF6F0;
    border: 1px solid #BFE3D0;
    border-radius: 6px;
    padding: 10px 12px;
    text-align: center;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .ct-hero { padding: 44px 0; }
    .ct-hero h1 { font-size: 30px; }
    .ct-main { padding: 40px 0; }
    .ct-main-inner { grid-template-columns: 1fr; gap: 32px; }
    .ct-row { grid-template-columns: 1fr; }
}
