/*
 * @kanway-css-index
 * 文件: css/shared/page-inner.css
 * 层级: 多页共用
 * 引用页面: Contact-Us、多数内页占位、About-* 等（版式/表单/地图基础）
 * 依赖: header.css, page-banner.css
 * 修改指引: 联系表单 .contact-form；地图 .map-section；通用 .section-header
 * 索引: css/00-样式文件索引.css
 */
/* ===== 联系页面主体 ===== */
.contact-section {
    padding: 60px 0;
}
/* 版心宽度见 header.css .container */

/* ===== 页面标题区 ===== */
.contact-page-header {
    margin-bottom: 50px;
    border-left: 4px solid #1D5198;
    padding-left: 16px;
}
.contact-page-header h2 {
    font-size: 28px;
    font-weight: bold;
    color: #1e3a5f;
    margin: 0 0 12px 0;
}
.contact-page-header p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* ===== 联系页面主区域：左右布局 ===== */
.contact-main {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.contact-left {
    flex: 1 1 55%;
    min-width: 0;
}
.contact-right {
    flex: 0 0 420px;
    width: 420px;
    max-width: 45%;
    min-width: 0;
}

/* ===== 联系信息条目 ===== */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
}
.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.contact-icon.blue { background: #EBF3FF; color: #1D5198; }
.contact-icon.green { background: #E8F5E9; color: #2E7D32; }
.contact-icon.orange { background: #FFF3E0; color: #E65100; }
.contact-icon.purple { background: #F3E5F5; color: #7B1FA2; }

.contact-item-body h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e3a5f;
    margin: 0 0 6px 0;
}
.contact-item-body p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 2px 0;
}

/* ===== 社交媒体 ===== */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}
.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.social-btn:hover { opacity: 0.85; }
.social-btn.facebook { background: #1877F2; }
.social-btn.linkedin { background: #0A66C2; }
.social-btn.youtube { background: #FF0000; }
.social-btn.instagram { background: #E1306C; }
.social-btn.whatsapp { background: #25D366; }
.social-btn.telegram { background: #26A5E4; }

.social-hint {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

/* ===== 联系表单 ===== */
.contact-form {
    background: #fff;
    border-radius: 12px;
    padding: 36px 32px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    box-sizing: border-box;
    width: 100%;
}
.contact-form h2 {
    font-size: 22px;
    font-weight: bold;
    color: #1e3a5f;
    margin: 0 0 6px 0;
}
.contact-form .form-desc {
    color: #888;
    font-size: 14px;
    margin-bottom: 24px;
}
.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
}
.form-group {
    flex: 1;
}
.form-group.full {
    flex: none;
    width: 100%;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1D5198;
}
.form-group textarea {
    resize: none;
}
.form-group select {
    cursor: pointer;
}
.form-submit {
    width: 100%;
    background: #1D5198;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px 0;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 8px;
}
.form-submit:hover {
    background: #16407A;
}

/* ===== 地图区域 ===== */
.map-section {
    padding: 60px 0;
    background: #fff;
}
/* .map-section .container — 版心见 header.css */
.map-header {
    text-align: center;
    margin-bottom: 32px;
}
.map-header h2 {
    font-size: 26px;
    font-weight: bold;
    color: #1e3a5f;
    margin: 0 0 8px 0;
}
.map-header p {
    color: #888;
    font-size: 14px;
}
.map-placeholder {
    width: 100%;
    height: 380px;
    background: #f5f5f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: #aaa;
}
.map-placeholder .map-icon {
    font-size: 48px;
    margin-bottom: 4px;
}
.map-placeholder p {
    font-size: 15px;
    color: #999;
}
.map-placeholder .map-sub {
    font-size: 12px;
    color: #bbb;
}

/* ===== 优势区块 ===== */
.advantage-section {
    padding: 60px 0;
}
/* .advantage-section .container — 版心见 header.css */
.advantage-header {
    text-align: center;
    margin-bottom: 40px;
}
.advantage-header h2 {
    font-size: 26px;
    font-weight: bold;
    color: #1e3a5f;
    margin: 0;
}
.advantage-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
}
.advantage-card {
    flex: 1;
    max-width: 480px;
    background: #fff;
    border-radius: 10px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.advantage-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #EBF3FF;
    color: #1D5198;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 16px;
}
.advantage-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1e3a5f;
    margin: 0 0 8px 0;
}
.advantage-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ===== 联系页响应式 ===== */
@media (max-width: 1100px) {
    .contact-main {
        flex-direction: column;
        gap: 32px;
    }

    .contact-left,
    .contact-right {
        flex: none;
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .contact-section {
        padding: 40px 0;
    }

    .contact-form {
        padding: 24px 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
