/* ============================================================
   个性化定制及 OEM/ODM 代工  专属样式表 (custom.css)
   风格: 黑 / 白 / 深灰(#333) 高对比 · 摄影大图 + 黑色渐变遮罩
   ============================================================ */

/* ---------- 定制服务卡片（黑底大图卡） ---------- */
.custom-card {
    position: relative;
    width: 100%;
    height: 650px;
    border-radius: 40px;
    overflow: hidden;
    transition: transform .4s ease, box-shadow .4s ease;
}
.custom-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}
.custom-card:hover img { transform: scale(1.05); }

@media (max-width: 768px) {
    .custom-card { height: 380px; border-radius: 24px; }
}

/* ---------- OEM/ODM 代工服务卡片（白底） ---------- */
.custom-oem-card {
    background: var(--c-white);
    border-radius: 20px;
    padding: 41px;
    transition: transform .35s ease, box-shadow .35s ease;
}
.custom-oem-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}
.custom-oem-card h3 {
    font-size: var(--fs-h4);
    font-weight: 700;
    color: #141414;
    line-height: 44px;
}
.custom-oem-card p {
    margin-top: 20px;
    font-size: var(--fs-body);
    line-height: 44px;
    color: #3D3D3D;
    font-weight: 400;
}

/* ---------- 联系我们 表单 ---------- */
.custom-form-field { margin-bottom: 60px; }
.custom-form-field > label {
    display: block;
    font-size: var(--fs-h5);
    font-weight: 400;
    color: var(--c-white);
    margin-bottom: 20px;
    line-height: 1.2;
}
.custom-form-field > input,
.custom-form-field > select {
    width: 100%;
    height: 70px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .8);
    background: transparent;
    color: var(--c-white);
    font-size: var(--fs-body);
    padding: 0 21px;
    font-family: var(--font-sans);
    outline: none;
    transition: border-color .3s;
}
.custom-form-field > input::placeholder { color: rgba(255, 255, 255, .5); }
.custom-form-field > input:focus,
.custom-form-field > select:focus { border-color: var(--c-white); }
.custom-form-field > input::placeholder { color: rgba(255, 255, 255, .5); }

/* 联系按钮（白底黑字圆角矩形） */
.custom-submit {
    width: 260px;
    height: 65px;
    border-radius: 10px;
    background: var(--c-white);
    color: #000;
    font-size: var(--fs-body);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform .3s, box-shadow .3s;
}
.custom-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}

/* ---------- 底部双栏跳转（零碳智邸 / 零碳智谷） ---------- */
.custom-link {
    position: relative;
    overflow: hidden;
}
.custom-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.custom-link:hover img { transform: scale(1.04); }
