/* ===== Contact 页面特定样式 ===== */

/* 联系区域 */
.contact-section {
    padding: 60px 0 100px;
    background-color: #fff;
    margin-top: 20px;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 核心承诺区域 */
.core-commitment {
    width: 100%;
    margin-bottom: 50px;
    text-align: left;
}

.section-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 30px;
    color: #1a1a1a;
    letter-spacing: 1.2px;
}

.commitment-text {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

.commitment-text:last-child {
    margin-bottom: 0;
}

/* 联系表单 */
.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 600px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 900;
    letter-spacing: 0.3px;
}

.required {
    color: #d4685f;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #d4d0c8;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    border-radius: 4px;
    font-family: 'Myriad Pro', Arial, sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b8b4a8;
    box-shadow: 0 0 0 3px rgba(212, 208, 200, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 提交按钮 */
.form-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.submit-button {
    padding: 12px 50px;
    background-color: #c4b896;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    letter-spacing: 1.2px;
}

.submit-button:hover {
    background-color: #b5a885;
    transform: translateY(-2px);
}

.submit-button:active {
    transform: translateY(0);
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .contact-section {
        padding: 40px 0 80px;
    }

    .core-commitment {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .commitment-text {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .contact-form {
        gap: 20px;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 13px;
    }

    /* 移动端按钮居中 */
    .form-submit {
        justify-content: center;
    }

    .submit-button {
        padding: 10px 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 30px 0 60px;
    }

    .core-commitment {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .commitment-text {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .contact-form {
        gap: 18px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 13px;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .submit-button {
        padding: 10px 35px;
        font-size: 13px;
        width: 100%;
        max-width: 200px;
    }

    .form-submit {
        margin-top: 15px;
    }
}
