/* ==================== 联系我们页 - Editorial Magazine风格 ==================== */

/* 页面主体 */
.contact-page {
    background: #fff;
    min-height: 100vh;
}

/* ==================== Hero区域 ==================== */
.contact-hero-editorial {
    position: relative;
    min-height: 420px;
    padding: 4rem 13.5% 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* 文字区块 */
.hero-text-block {
    position: relative;
    z-index: 2;
}

.hero-number {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #2c3081;
    opacity: 0.6;
    margin-bottom: 1rem;
}

.hero-main-title {
    position: relative;
    margin: 0 0 1.5rem;
}

.title-line {
    display: block;
    line-height: 1.1;
}

.title-line-1 {
    font-size: 5.5rem;
    font-weight: 800;
    color: #2c3081;
    letter-spacing: -0.02em;
}

.title-line-2 {
    font-size: 2rem;
    font-weight: 500;
    color: #555555;
    margin-top: 0.25rem;
    letter-spacing: 0.15em;
}

.hero-divider {
    width: 80px;
    height: 4px;
    background: #00a1e9;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1rem;
    color: #999999;
    line-height: 1.7;
    max-width: 360px;
}

/* 二维码卡片 */
.hero-qr-float {
    position: relative;
    z-index: 3;
    margin-top: 2rem;
}

.qr-card-inner {
    position: relative;
    background: #2c3081;
    padding: 1.5rem;
    border-radius: 1rem;
    color: #fff;
}

.qr-image {
    width: 140px;
    height: 140px;
    display: block;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
}

.qr-caption {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.qr-label-text {
    font-size: 0.875rem;
    font-weight: 600;
}

.qr-label-en {
    font-size: 0.625rem;
    letter-spacing: 0.15em;
    opacity: 0.6;
}

.qr-card-shadow {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 100%;
    height: 100%;
    background: #00a1e9;
    border-radius: 1rem;
    opacity: 0.2;
    z-index: -1;
}

/* 装饰几何 */
.hero-geo {
    position: absolute;
    z-index: 1;
}

.hero-geo-1 {
    width: 300px;
    height: 300px;
    border: 1px solid #2c3081;
    opacity: 0.08;
    border-radius: 50%;
    top: 50%;
    left: 15%;
    transform: translate(-50%, -50%);
}

.hero-geo-2 {
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, #2c3081, transparent);
    opacity: 0.3;
    top: 30%;
    right: 13.5%;
}

/* ==================== 总部信息 + 地图 ==================== */
.contact-headquarters-section {
    position: relative;
    padding: 3rem 13.5% 4rem;
    background: linear-gradient(135deg, rgba(44, 48, 129, 0.02) 0%, transparent 60%);
}

.section-number {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #2c3081;
    opacity: 0.6;
    margin-bottom: 1.5rem;
}

.headquarters-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: start;
}

/* 左侧信息面板 */
.headquarters-info-panel {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 1rem;
    padding: 2rem;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e8e8e8;
}

.panel-icon {
    width: 2rem;
    height: 2rem;
    color: #2c3081;
}

.panel-title-group {
    flex: 1;
}

.panel-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 0.25rem;
}

.panel-subtitle {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #999999;
}

.company-main-info {
    margin-bottom: 2rem;
}

.company-name {
    font-size: 1.375rem;
    font-weight: 700;
    color: #2c3081;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.company-address {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: #555555;
    line-height: 1.6;
}

.company-address svg {
    width: 1.125rem;
    height: 1.125rem;
    color: #00a1e9;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* 联系方式网格 */
.contact-methods-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.method-item:hover {
    background: #f0f4f8;
    transform: translateX(4px);
}

.method-icon {
    width: 2.25rem;
    height: 2.25rem;
    background: linear-gradient(135deg, #2c3081 0%, #3b76b8 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon svg {
    width: 1.125rem;
    height: 1.125rem;
    color: #fff;
}

.method-content {
    flex: 1;
}

.method-label {
    display: block;
    font-size: 0.75rem;
    color: #999999;
    letter-spacing: 0.05em;
    margin-bottom: 0.125rem;
}

.method-value {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #333333;
}

/* 右侧地图面板 */
.headquarters-map-panel {
    position: relative;
}

.map-frame {
    position: relative;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 1rem;
    padding: 1rem;
    height: 380px;
}

.map-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #2c3081;
    opacity: 0.3;
    z-index: 2;
}

.map-corner-tl {
    top: 0;
    left: 0;
    border-right: 0;
    border-bottom: 0;
}

.map-corner-tr {
    top: 0;
    right: 0;
    border-left: 0;
    border-bottom: 0;
}

.map-corner-bl {
    bottom: 0;
    left: 0;
    border-right: 0;
    border-top: 0;
}

.map-corner-br {
    bottom: 0;
    right: 0;
    border-left: 0;
    border-top: 0;
}

.contact-map {
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
}

.map-label {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(44, 48, 129, 0.9);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8125rem;
    font-weight: 500;
    z-index: 3;
}

.map-label svg {
    width: 1rem;
    height: 1rem;
    color: #00a1e9;
}

/* ==================== 分公司 ==================== */
.contact-branch-section {
    position: relative;
    padding: 3rem 13.5% 4rem;
}

.branch-header {
    margin-bottom: 2rem;
}

.branch-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 0.25rem;
}

.branch-section-subtitle {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #999999;
}

.branch-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

.branch-card-item {
    position: relative;
}

.branch-card-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 1rem;
    padding: 2rem 2.5rem;
    transition: all 0.3s ease;
    min-height: 160px;
}

.branch-card-item:hover .branch-card-content {
    border-color: #2c3081;
    box-shadow: 0 4px 20px rgba(44, 48, 129, 0.1);
}

.branch-marker {
    position: relative;
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
}

.marker-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #00a1e9;
    border-radius: 50%;
    opacity: 0.3;
    animation: branchPulse 2s ease-in-out infinite;
}

@keyframes branchPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

.marker-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #00a1e9;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.branch-info-main {
    flex: 1;
}

.branch-city {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
    background: #2c3081;
    padding: 0.375rem 1rem;
    border-radius: 1.5rem;
    margin-bottom: 0.75rem;
}

.branch-name-text {
    display: block;
    font-size: 1.375rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 0.75rem;
}

.branch-address-text {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
}

.branch-address-text svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #00a1e9;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* 底部装饰线 */
.section-footer-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #2c3081, #00a1e9, transparent);
    margin-top: 3rem;
    opacity: 0.3;
}

/* ==================== 响应式 ==================== */
@media (max-width: 1366px) {
    .contact-hero-editorial {
        padding-left: 5.25%;
        padding-right: 5.25%;
    }

    .contact-headquarters-section {
        padding-left: 5.25%;
        padding-right: 5.25%;
    }

    .contact-branch-section {
        padding-left: 5.25%;
        padding-right: 5.25%;
    }

    .hero-geo-2 {
        right: 5.25%;
    }
}

@media (max-width: 1200px) {
    .contact-hero-editorial {
        grid-template-columns: 1fr 1fr;
    }

    .title-line-1 {
        font-size: 4rem;
    }

    .headquarters-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

@media (max-width: 992px) {
    .contact-hero-editorial {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 3rem;
    }

    .hero-qr-float {
        order: -1;
        margin-top: 0;
    }

    .qr-card-inner {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        padding: 1rem 1.5rem;
    }

    .qr-image {
        width: 100px;
        height: 100px;
        margin-bottom: 0;
    }

    .title-line-1 {
        font-size: 3rem;
    }

    .title-line-2 {
        font-size: 1.5rem;
    }

    .headquarters-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-frame {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .contact-hero-editorial {
        padding: 2rem 4% 2rem;
    }

    .contact-headquarters-section {
        padding: 2rem 4% 3rem;
    }

    .contact-branch-section {
        padding: 2rem 4% 3rem;
    }

    .title-line-1 {
        font-size: 2.5rem;
    }

    .title-line-2 {
        font-size: 1.125rem;
    }

    .hero-divider {
        width: 50px;
        height: 3px;
    }

    .hero-geo {
        display: none;
    }

    .headquarters-info-panel {
        padding: 1.5rem;
    }

    .panel-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .company-name {
        font-size: 1.125rem;
    }

    .method-item {
        padding: 0.875rem 1rem;
    }

    .map-frame {
        height: 260px;
    }

    .map-label {
        bottom: 1.5rem;
        left: 1.5rem;
    }

    .branch-card-content {
        padding: 1.5rem;
    }

    .branch-marker {
        width: 3rem;
        height: 3rem;
    }

    .branch-name-text {
        font-size: 1.125rem;
    }

    .branch-address-text {
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .qr-card-inner {
        padding: 0.75rem 1rem;
    }

    .qr-image {
        width: 80px;
        height: 80px;
    }

    .section-number,
    .hero-number {
        font-size: 0.625rem;
    }

    .branch-list-container {
        grid-template-columns: 1fr;
    }
}