/* 头部样式 (与官网风格统一) */
.header {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo img {
    height: 42px;
}
.nav {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav li a {
    text-decoration: none;
    color: #1f2937;
    font-weight: 500;
    font-size: 16px;
    transition: 0.2s;
}
.nav li.active a,
.nav li a:hover {
    color: #f5a623;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}
.language {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.earth {
    width: 18px;
}
/* 移动端菜单占位 */
.menu-handler {
    display: none;
    font-size: 24px;
    cursor: pointer;
}
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .menu-handler {
        display: block;
    }
}

/* ----- 主容器 ----- */
.page-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 150px 24px 64px;
}

.page-title {
    margin-bottom: 48px;
}

.page-title h1 {
    font-size: 40px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.page-title .en {
    font-size: 16px;
    color: #94a3b8;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ----- 横版布局：三个板块上下堆叠，每个板块内部为横向 ----- */
.contact-stack {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* 通用卡片样式 (横版) */
.contact-row {
    background: #ffffff;
    border-radius: 32px;
    padding: 32px 36px;
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.04);
    border: 1px solid #edf2f7;
    transition: box-shadow 0.2s;
}

.contact-row:hover {
    box-shadow: 0 20px 32px -10px rgba(0, 0, 0, 0.08);
}

.row-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 2px solid #f1f5f9;
}

.row-header i {
    font-size: 30px;
    color: #d4a373;
    background: #fef9f5;
    padding: 12px;
    border-radius: 20px;
}

.row-header h2 {
    font-size: 26px;
    font-weight: 650;
    color: #0f172a;
}

/* ---------- 板块1：二维码 (横向排列) ---------- */
.qr-horizontal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 20px 30px;
}

.qr-horizontal .qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 130px;
}

.qr-horizontal .qr-box {
    background: #faf9f7;
    border-radius: 28px;
    padding: 20px 15px 15px;
    border: 1px solid #f0ebe6;
    transition: background 0.2s;
    width: 100%;
    text-align: center;
}

.qr-horizontal .qr-box:hover {
    background: #fff7f0;
}

.qr-horizontal .qr-box img {
    width: 100%;
    max-width: 120px;
    height: auto;
    border-radius: 18px;
    background: white;
    padding: 6px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.02);
    margin-bottom: 12px;
}

.qr-platform {
    font-weight: 600;
    font-size: 16px;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qr-note-horizontal {
    margin-top: 12px;
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #64748b;
    background: #f8fafc;
    padding: 12px 20px;
    border-radius: 50px;
    display: inline-block;
}

/* ---------- 板块2：地图 (横向内容: 左侧地图 + 右侧信息) ---------- */
.map-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.map-left {
    flex: 2;
    min-width: 300px;
}

.map-wrapper {
    border-radius: 28px;
    overflow: hidden;
    height: 280px;
    width: 100%;
    background: url(../images/map.jpg) no-repeat;
    border: 1px solid #e2e8f0;
}

#contactMap {
    height: 100%;
    width: 100%;
    z-index: 1;
}

.map-right {
    flex: 1.2;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.map-icon {
    width: 48px;
    height: 48px;
    background: #fef9f5;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4a373;
    font-size: 20px;
    flex-shrink: 0;
}

.map-text h4 {
    font-size: 18px;
    font-weight: 650;
    margin-bottom: 6px;
}

.map-text p {
    color: #475569;
}

.map-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    color: white;
    padding: 12px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 8px;
    transition: background 0.2s;
}

.map-link-btn:hover {
    background: #1e293b;
}

/* ---------- 板块3：地址文字 (横向分三列) ---------- */
.address-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 40px;
}

.address-col {
    flex: 1 1 200px;
}

.address-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.address-icon {
    width: 48px;
    height: 48px;
    background: #fef9f5;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4a373;
    font-size: 20px;
    flex-shrink: 0;
}

.address-content h4 {
    font-size: 18px;
    font-weight: 650;
    margin-bottom: 6px;
}

.address-content p {
    color: #475569;
    line-height: 1.6;
}

.address-content a {
    color: #d4a373;
    text-decoration: none;
    border-bottom: 1px dashed #d4a373;
}

.business-hours-box {
    background: #faf9f7;
    padding: 22px 24px;
    border-radius: 24px;
    margin-top: 10px;
    width: 100%;
}

.hours-title {
    font-weight: 650;
    margin-bottom: 8px;
    color: #0f172a;
}

/* 响应式 */
@media (max-width: 900px) {
.contact-row {
    padding: 28px 24px;
}

.map-horizontal {
    flex-direction: column;
}

.qr-horizontal {
    justify-content: center;
}
}

@media (max-width: 600px) {
.navbar {
    padding: 0 16px;
}

.page-title h1 {
    font-size: 32px;
}

.address-horizontal {
    flex-direction: column;
    gap: 16px;
}

.qr-horizontal .qr-item {
    min-width: 120px;
}
}
