/* ===================== */
/* page header（保留内容层） */
/* ===================== */

.page-header {
    margin: 30px 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 10px;
    font-size: 36px;
    font-weight: 700;
}

.page-header p {
    color: #666;
    font-size: 15px;
}


/* ===================== */
/* layout（交给 layout-system） */
/* ===================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}


/* ===================== */
/* form（不再做 card） */
/* ===================== */

.contact-form {
    padding: 24px;
}

.contact-form h3 {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.contact-form textarea {
    height: 140px;
    resize: vertical;
}


/* ===================== */
/* button（交给系统，但保留基础样式） */
/* ===================== */

.contact-form button {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 6px;
    background: #1677ff;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.contact-form button:hover {
    background: #005bd1;
}


/* ===================== */
/* info（不再做 card） */
/* ===================== */

.contact-info {
    padding: 24px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #444;
}

.contact-info a {
    color: #1677ff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}


/* ===================== */
/* map（不再做 card） */
/* ===================== */

.map-box {
    margin-top: 40px;
    padding: 24px;
}

.map-box h3 {
    margin-bottom: 20px;
}

#map {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
}

.map-tips {
    margin-top: 12px;
    color: #6b7280;
    font-size: 13px;
}


/* ===================== */
/* popup（内容样式） */
/* ===================== */

.map-company-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.map-company-address {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 8px;
}

.map-company-coord {
    font-size: 12px;
    color: #9ca3af;
}


/* ===================== */
/* mobile nav */
/* ===================== */

.mobile-nav {
    display: none;
    margin-top: 15px;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    background: #005bac;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
}

.mobile-nav a:hover {
    background: #004a90;
}


/* ===================== */
/* mobile */
/* ===================== */

@media (max-width:768px) {

    .page-header h1 {
        font-size: 28px;
    }

    .page-header p {
        font-size: 14px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form,
    .contact-info,
    .map-box {
        padding: 15px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
    }

    .contact-form textarea {
        height: 120px;
    }

    .contact-form button {
        height: 50px;
        font-size: 16px;
    }

    #map {
        height: 280px;
    }

    .map-tips {
        text-align: center;
        font-size: 12px;
    }

    .mobile-nav {
        display: block;
    }
}