/* ==========================================================================
   contact.css —— 联系我们页面专属样式
   公共样式见 common.css
   ========================================================================== */

/* ---------- 1. Contact Hero（左文右表单，整屏背景） ---------- */
.contact-hero {
    position: relative;
    padding: 160px 0 90px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /*background: linear-gradient(120deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .7) 45%, rgba(255, 255, 255, .3) 100%);*/
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

/* 左侧文字 */
.contact-left .label {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--bd-primary);
    font-weight: 600;
    margin-bottom: 14px;
}

.contact-left h1 {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.contact-left .desc {
    font-size: 15px;
    color: var(--bd-text);
    margin-bottom: 32px;
    line-height: 1.8;
}

/* 特色小卡片 */
.feature-cards {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.feature-card {
    flex: 1;
    max-width: 178px;
    background: var(--bd-primary);
    border-radius: var(--bd-radius);
    padding: 10px;
    color: #fff;
    text-align: center;
}

.feature-card h5 {
    font-size: 15px;
    color: #fff;
    margin-bottom: 4px;
    font-family: var(--bd-font);
    font-weight: 700;
}

.feature-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, .85);
    margin: 0;
}

/* ---------- 2. 表单卡片 ---------- */
.contact-form-card {
    background: #fff;
    border-radius: 14px;
    padding: 38px 34px;
    box-shadow: 0 16px 44px rgba(0, 0, 0, .1);
}

.contact-form-card h3 {
    font-size: 26px;
    margin-bottom: 10px;
}

.contact-form-card .title-line {
    width: 40px;
    height: 3px;
    background: var(--bd-primary);
    border-radius: 2px;
    margin-bottom: 26px;
}

/* 输入框（覆盖 Bootstrap 默认） */
.contact-form-card .form-control {
    border: 1px solid var(--bd-border);
    border-radius: var(--bd-radius);
    padding: 22px 16px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--bd-text);
    background: #fff;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.contact-form-card .form-control::placeholder {
    color: var(--bd-muted);
}

.contact-form-card .form-control:focus {
    border-color: var(--bd-primary);
    box-shadow: 0 0 0 3px rgba(44, 157, 157, .12);
    outline: none;
}

.contact-form-card textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

/* 安全提示 */
.secure-tip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--bd-muted);
}

/* ---------- 3. Other Ways To Reach Us ---------- */
.info-card {
    background: #fff;
    border: 1px solid var(--bd-border);
    border-radius: var(--bd-radius);
    padding: 36px 26px;
    text-align: center;
    height: 100%;
    transition: all .3s ease;
}

.info-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    transform: translateY(-4px);
    border-color: var(--bd-primary-l);
}

.info-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

/*.info-icon img {*/
/*    width: 28px;*/
/*    height: 28px;*/
/*}*/

.info-card h4 {
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--bd-primary);
    font-family: var(--bd-font);
    font-weight: 700;
}

.info-card .info-val {
    font-size: 17px;
    font-weight: 700;
    color: var(--bd-dark);
    margin-bottom: 6px;
    line-height: 1.5;
}

.info-card .info-sub {
    font-size: 12px;
    color: var(--bd-muted);
    line-height: 1.6;
}

.btn-primary-custom{
    border-radius: 30px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 991.98px) {
    .contact-hero {
        padding: 130px 0 60px;
    }
    .contact-left h1 {
        font-size: 40px;
    }
    .contact-form-card {
        padding: 30px 24px;
    }
    .feature-cards {
        /*flex-direction: column;*/
        margin-bottom: 20px;
    }
    .info-card-box{
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .contact-hero {
        padding: 120px 0 50px;
    }
    .contact-left h1 {
        font-size: 32px;
    }
    .contact-form-card {
        padding: 26px 20px;
    }
    .contact-form-card h3 {
        font-size: 22px;
    }
}
