/**
 * Contact Us Page Styles - 完整响应式布局
 * PC (>1200px) / Pad (768px-1200px) / Mobile (<768px)
 * 
 * @package Milestrong
 * @since 2.0.0
 */

/* ========================================
   1. 联系表单区块 (CONTACT INFORMATION)
   ======================================== */

.contact-information-section {
    position: relative;
    overflow: hidden;
}

.contact-information-wrapper {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.contact-information-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.contact-information-wrapper .container {
    position: relative;
    z-index: 2;
}

.contact-information-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-information-section .section-title {
    font-size: 60px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    letter-spacing: 2px;
}

.contact-information-section .section-subtitle {
    font-size: 18px;
    color: #ffffff;
    margin: 0;
}

/* PC端：左侧表单（2/3），右侧联系信息（1/3） */
.contact-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: stretch;
}

/* 联系表单样式 - 按设计稿深色主题 */
.contact-form-container {
    background: transparent;
    padding: 0;
}

/* 表单内部两列布局 */
.form-grid-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.form-column-left,
.form-column-right {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Message字段占据右列剩余高度 */
.form-field-message {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-field-message textarea {
    flex: 1;
    min-height: 180px;
}

/* 表单字段容器 */
.contact-form-container .form-field {
    position: relative;
}

/* 输入框样式 - 深色背景 */
.contact-form-container input[type="text"],
.contact-form-container input[type="email"],
.contact-form-container input[type="tel"],
.contact-form-container textarea {
    width: 100%;
    padding: 16px 24px;
    background: #1b1a22;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    color: #ffffff;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
}

.contact-form-container input[type="text"]::placeholder,
.contact-form-container input[type="email"]::placeholder,
.contact-form-container input[type="tel"]::placeholder,
.contact-form-container textarea::placeholder {
    color: #6b7280;
}

.contact-form-container input[type="text"]:focus,
.contact-form-container input[type="email"]:focus,
.contact-form-container input[type="tel"]:focus,
.contact-form-container textarea:focus {
    background: #252430;
    box-shadow: 0 0 0 2px rgba(1, 127, 255, 0.2);
}

/* Message文本域 - 圆角矩形 */
.contact-form-container textarea {
    border-radius: 20px;
    min-height: 120px;
    resize: vertical;
    padding: 16px 24px;
}

/* 验证码字段 - 嵌入式半圆形设计 */
.contact-form-container .captcha-field {
    position: relative;
}

.contact-form-container .captcha-field input {
    padding-right: 140px;
}

.contact-form-container .captcha-image-inline {
    position: absolute;
    right: 0;
    top: 0;
    bottom: auto; /* 不绑定底部，避免 error-message 撑高导致变形 */
    height: 56px; /* 与 input 高度保持一致（padding 16px * 2 + line-height 24px） */
    width: 120px;
    background: #1b1a22;
    border-radius: 0 50px 50px 0; /* 右侧半圆 */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    border-left: 1px solid #2d2c36;
}

.contact-form-container .captcha-image-inline:hover {
    background: #252430;
}

.contact-form-container .captcha-image-inline img {
    max-width: 100%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 6px 20px 20px 6px;
}

/* 错误消息 */
.contact-form-container .error-message {
    display: none;
    color: #F87171;
    font-size: 12px;
    margin-top: 6px;
    padding-left: 24px;
}

.contact-form-container .error-message.show {
    display: block;
}

.contact-form-container input.error,
.contact-form-container textarea.error {
    border: 2px solid #F87171;
}

/* 提交按钮区域 - 使用全局 unified-submit-btn 样式，仅保留容器间距 */
.contact-form-container .form-submit-wrap {
    margin-top: 60px;
    text-align: center;
    position: relative;
}
/* 提交消息不占高度（absolute 脱离文档流），避免撑高左侧让右侧卡片超出对齐线 */
.contact-form-container .form-submit-wrap #contact-form-messages,
.contact-form-container .form-submit-wrap #contact-form-inline-msg {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 8px;
}
.contact-form-container .form-submit-wrap .unified-submit-btn {
    min-width: 460px !important;
    padding: 17px 55px !important;
    transition: background-color 0.25s ease, opacity 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
/* 未填完时：灰色禁用样式 */
.contact-form-container .form-submit-wrap .unified-submit-btn:disabled {
    background-color: #a0a0a0 !important;
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* 箭头图标 - 完全复刻首页 submit 按钮箭头 */
.unified-submit-btn .contact-submit-arrow {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 20px;
    height: 20px;
    display: inline-block;
}

.unified-submit-btn .contact-submit-arrow::before {
    content: '';
    position: absolute;
    right: -1px;
    top: 0;
    width: 15px;
    height: 15px;
    border-top: 2.5px solid #fff;
    border-right: 2.5px solid #fff;
}

.unified-submit-btn .contact-submit-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0px;
    width: 22px;
    height: 2px;
    background: #fff;
    transform: rotate(-45deg);
    transform-origin: right center;
}

/* 表单消息提示 */
.hidden {
    display: none !important;
}

/* 联系信息卡片 */
.contact-info-card {
    background: #12141e;
    border-radius: 20px;
    padding: 24px 32px;
    border: 2.5px solid #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* 每一项：图标 → label → value 纵向排列 */
.contact-info-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    flex: 1;
    padding: 0;
    border-bottom: none;
    justify-content: center;
}

/* 已移除横线分隔，三项通过 flex:1 自然等间距 */

/* 图标区 */
.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}


.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1); /* 保证图标纯白 */
}

/* SVG 内联图标 */
.contact-icon-svg svg {
    width: 100%;
    height: 100%;
    color: #ffffff;
    stroke: #ffffff;
}

/* label：如 "Email:" / "Phone / WhatsApp" / "Address" */
.contact-info-content {
    width: 100%;
}

.contact-label {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0px;
    line-height: 1.3;
}

/* value：具体内容 */
.contact-value {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.contact-value a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value a:hover {
    color: #017fff;
}


/* ========================================
   2. 国际销售网络区块 (INTERNATIONAL SALES NETWORK)
   ======================================== */

.sales-network-section {
    position: relative;
    overflow: hidden;
}

.sales-network-wrapper {
    padding: 96px 0;
    min-height: 935px;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.sales-network-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.sales-network-wrapper .container {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.sales-network-section .section-title {
    font-size: 60px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0 0 60px 0;
    letter-spacing: 2px;
}

.sales-network-map {
    position: relative;
    width: 100%;
    height: 1000px; /* 与 region-cards 高度一致 */
}

/* 层1：折线层 —— 低于地图，被地图陆地遮挡 */
.region-lines-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.world-map-container {
    position: absolute;
    width: 860px;
    height: 426px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}

/* 蒙版层：与区块背景同色，用地图PNG做mask裁成陆地形状，真正遮住下方虚线 */
.world-map-mask {
    position: absolute;
    width: 860px;
    height: 426px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 3; /* 高于折线层(1)和地图层(2)，低于圆点卡片层(4) */
    -webkit-mask-image: url(../images/world-map.png);
    mask-image: url(../images/world-map.png);
    -webkit-mask-size: 860px 426px;
    mask-size: 860px 426px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.world-map {
    width: 860px;
    height: 426px;
    object-fit: contain;
    opacity: 0.6;
    filter: grayscale(15%);
}

/* 层3：圆点 + 卡片层 —— 高于地图和蒙版层 */
.region-cards {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1000px;
    z-index: 4;
    pointer-events: none;
}

/* ---- 折线连接器（每个区域一组，放在 region-lines-layer 内） ---- */
.region-connector {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* 圆点 */
.region-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15);
    z-index: 5; /* 高于地图(2)和卡片(4)，确保鼠标可点到 */
    /* 坐标在下方各区域规则中按 left/top px 覆盖 */
}

/* 水平线段 */
.region-line-h {
    position: absolute;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.5);
    /* 用 border-image 实现虚线效果 */
    background: repeating-linear-gradient(
        to right,
        #ffffff 0px,
        #ffffff 5px,
        transparent 5px,
        transparent 9px
    );
    transition: background 0.3s ease;
    /* 坐标在下方各区域规则中按 left/top/width 覆盖 */
}

/* 垂直线段 */
.region-line-v, .region-line-v2 {
    position: absolute;
    width: 1.5px;
    background: repeating-linear-gradient(
        to bottom,
        #ffffff 0px,
        #ffffff 5px,
        transparent 5px,
        transparent 9px
    );
    transition: background 0.3s ease;
    /* 坐标在下方各区域规则中按 left/top/height 覆盖 */
}

.region-connector.is-active .region-dot,
.region-dot.is-active {
    background: #017fff;
    border-color: #017fff;
    box-shadow: 0 0 0 6px rgba(1, 127, 255, 0.25);
    transform: translate(-50%, -50%) scale(1.3);
}

/* ================================================================
   各区域折线坐标 — 直接在这里用 px 微调
   坐标原点 = .region-cards 左上角
   
   折线结构说明：
   - .region-dot  : 圆点，圆心在 (left, top)，使用 transform: translate(-50%,-50%)
   - .region-line-h : 水平线，从卡片边缘延伸到圆点正上/下方的 X 位置
                     left = 起点X，top = 线所在Y（与折角点同高），width = 长度
   - .region-line-v : 垂直线，从折角点向上/下延伸到圆点
                     left = 折角点X（与圆点同X），top = 较小Y，height = 两点Y差值
   
   示例（卡片右边缘出发，连接左侧圆点）：
     卡片中心 Y = 350px，卡片右边缘 X = 980px
     圆点位置: left=650px, top=280px
     → line-h: left=650px, top=350px, width=330px
     → line-v: left=650px, top=280px, height=70px
   ================================================================ */

/* --- 区域 0（第1个区域）--- */
#region-item-0 .region-dot        { left: 465px; top: 460px; }
#region-connector-0 .region-line-h {     left: 236px;
    top: 460px;
    width: 161px; }
#region-connector-0 .region-line-v {     left: 236px;
    top: 248px;
    height: 212px;}

/* --- 区域 1（第2个区域）--- */
#region-item-1 .region-dot        {     left: 752px; top: 429px; }
#region-connector-1 .region-line-h { left: 751px;
    top: 250px;
    height: 170px; }
#region-connector-1 .region-line-v { left: 751px;
    top: 250px;
    height: 170px;}

/* --- 区域 2（第3个区域）--- */
#region-item-2 .region-dot        { left: 961px; top: 440px; }
#region-connector-2 .region-line-h {    left: 1024px;
    top: 439px;
    width: 182px;}
#region-connector-2 .region-line-v {     left: 1208px;
    top: 248px;
    height: 192px;}

/* --- 区域 3（第4个区域）--- */
#region-item-3 .region-dot        {     left: 706px; top: 514px;}
#region-connector-3 .region-line-h {     left: 647px;
    top: 675px;
    width: 57px; }
#region-connector-3 .region-line-v {     left: 647px;
    top: 675px;
    height: 77px;}
#region-connector-3 .region-line-v2 {    left: 704px;
    top: 548px;
    height: 128px;}
/* --- 区域 4（第5个区域）--- */
#region-item-4 .region-dot        { left: 797px; top: 479px; }
#region-connector-4 .region-line-v {        left: 797px;
    top: 489px;
    height: 262px;}

/* 如需添加更多区域，按上方格式追加 #region-connector-4 等规则 */


.region-card {
    position: absolute;
    background: rgba(14, 17, 30, 0.95);
    backdrop-filter: blur(12px);
    border: 2.5px solid rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    padding: 22px 24px;
    min-width: 450px;
    width: 450px;
    height: 180px;
    transition: all 0.3s ease;
    cursor: default;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
}

/* region-item：包裹圆点和卡片，纯CSS hover联动圆点变色 */
.region-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.region-item > .region-dot,
.region-item > .region-card {
    pointer-events: auto;
}

/* 卡片hover → 同一region-item内的圆点同步变色（纯CSS，跨层折线变色由JS处理） */
.region-item:hover .region-dot {
    background: #017fff;
    border-color: #017fff;
    box-shadow: 0 0 0 6px rgba(1, 127, 255, 0.25);
    transform: translate(-50%, -50%) scale(1.3);
}

/* 折线变色：由JS给 region-connector 加 is-active 类触发 */
.region-connector.is-active .region-line-h,
.region-connector.is-active .region-line-v {
    background: repeating-linear-gradient(
        to bottom,
        #017fff 0px,
        #017fff 5px,
        transparent 5px,
        transparent 9px
    );
}

.region-card:hover {
    border-color: #017fff;
    box-shadow: 0 0 0 1.5px #017fff, 0 10px 30px rgba(1, 127, 255, 0.3);
    background: rgba(14, 17, 40, 0.98);
}

/* hover：标题保持白色 */
.region-card:hover .region-name {
    color: #ffffff;
}

/* hover：仅邮件行（图标 + 文字）变蓝 */
.region-card:hover .region-contact-email svg {
    color: #017fff;
}
.region-card:hover .region-contact-email span {
    color: #017fff;
}

/* hover：电话行保持白色不变 */
.region-card:hover .region-contact-phone svg {
    color: #ffffff;
}
.region-card:hover .region-contact-phone span {
    color: #ffffff;
}

/* hover：右侧图片变蓝色（filter 模拟 #017fff） */
.region-card:hover .region-icon img {
    filter: brightness(0) saturate(100%) invert(35%) sepia(98%) saturate(1500%) hue-rotate(196deg) brightness(103%) contrast(102%);
    opacity: 1;
}

/* 左侧：标题 + 联系方式，上下结构 */
.region-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding-right: 16px;
}

.region-name {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px 0;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    line-height: 1.1;
}

.region-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.region-contact-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 20px;
    color: #ffffff;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.region-contact-item svg {
    flex-shrink: 0;
    color: #ffffff;
    transition: color 0.3s ease;
}


/* 右侧：图标垂直水平居中 */
.region-icon {
    flex-shrink: 0;
    width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 20px;
}

.region-icon img {
    max-width: 90px;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
    filter: brightness(0) invert(1);
}

/* 旧的 region-header 不再使用，保留以防兼容 */
.region-header {
    display: contents;
}

/* 底部图标 */
.sales-network-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.network-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.network-icon-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.network-icon-item span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}


/* ========================================
   3. 全球合作伙伴区块 (GLOBAL PARTNERS)
   ======================================== */

.global-partners-section {
    position: relative;
    overflow: hidden;
}

.global-partners-section.has-bg-img {
    height: 600px;
}

.global-partners-wrapper {
    padding: 52px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* 背景图片模式：固定高度640px，内容垂直居中 */
.global-partners-bg-img {
    display: none;
}

/* 当有背景图时，wrapper高度固定，内容居中 */
.global-partners-wrapper.has-bg-img {
    padding: 0;
  /*  background-image: none !important;*/
    overflow: visible;
    height: 640px;
}

/* 内容层绝对定位覆盖在背景上，上下居中 */
.global-partners-wrapper.has-bg-img .container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 52px;
    padding-bottom: 52px;
    z-index: 2;
}

.global-partners-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.global-partners-wrapper .container {
    position: relative;
    z-index: 2;
}

.global-partners-section .section-title {
    font-size: 60px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0 0 20px 0;
    letter-spacing: 2px;
}

.global-partners-section .section-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin: 0 0 60px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.partners-content {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.partners-main-text {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 30px 0;
}

.partners-description {
    margin-bottom: 40px;
}

.partners-description p {
    font-size: 16px;
    color: rgb(255, 255, 255);
    line-height: 1.8;
    margin: 0 0 1px 0;
}

.partners-description p:last-child {
    margin-bottom: 0;
}

.partners-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 74px;
    border-radius: 47px;  
    border: 2px solid #ffffff;  
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.partners-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

.partners-button svg {
    transition: transform 0.3s ease;
}

.partners-button:hover svg {
    transform: translateX(5px);
}

/* ========================================
   4. 授权区域合作伙伴区块 (AUTHORIZED REGIONAL PARTNERS)
   ======================================== */

.authorized-partners-section {
    position: relative;
    overflow: hidden;
}

.authorized-partners-wrapper {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.authorized-partners-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.authorized-partners-wrapper .container {
    position: relative;
    z-index: 2;
}

.authorized-partners-section .section-title {
    font-size: 60px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0 0 60px 0;
    letter-spacing: 2px;
}

/* PC端：2x2网格 */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.partner-card {
    border-radius: 16px;
    padding: 28px 28px 24px 28px;
    transition: box-shadow 0.3s ease;
    background: #181822;
    border: 1px solid #ffffff;
}

.partner-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.partner-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
}

.partner-name {
    font-size: 35px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    padding-right: 16px;
}

.partner-flag {
    flex-shrink: 0;
    width: 133px;
    height: 107px;
    border-radius: 12px;
    overflow: hidden;
}

.partner-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.partner-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.partner-detail-icon {
    flex-shrink: 0;
    width: 5%;
    height: 100%;
    margin-top: 2px;
    color: #ffffff;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.partner-detail-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.partner-detail-icon svg {
    color: #ffffff;
}

.partner-detail-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.detail-label {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
}

.detail-value {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    line-height: 1.6;
    word-break: break-word;
}


/* ========================================
   响应式设计 - PC / Pad / Mobile 三端适配
   ======================================== */

/* ==================== Pad 端（768px - 1200px）==================== */
@media (max-width: 1200px) and (min-width: 768px) {
    /* 1. 联系表单区块 - Pad 适配：上下堆叠 */
    .contact-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-container {
        max-width: 100%;
        padding: 0;
    }
    
    /* 表单内部保持两列 */
    .form-grid-two-columns {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .form-column-left,
    .form-column-right {
        gap: 24px;
    }
    
    .contact-info-card {
        max-width: 100%;
        padding: 32px;
        border-radius: 18px;
    }
    
    /* 表单字体大小调整 */
    .contact-form-container input[type="text"],
    .contact-form-container input[type="email"],
    .contact-form-container input[type="tel"],
    .contact-form-container textarea {
        font-size: 15px;
        padding: 14px 20px;
    }
    
    .contact-form-container textarea {
        min-height: 140px;
    }
    
    /* 2. 国际销售网络 - Pad 适配：切换为网格布局 */
    .world-map-container {
        max-width: 100%;
    }

    .world-map {
        display: none;
    }
    
    /* Pad 端隐藏折线连接器 */
    .region-connector {
        display: none;
    }
    
    .region-cards {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 0;
        height: auto;
    }
    
    .region-card {
        position: static !important;
        width: auto;
        min-width: auto;
        height: auto;
        min-height: 160px;
        padding: 20px;
    }
    
    .region-name {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .region-contact-item {
        font-size: 16px;
        gap: 8px;
    }

/* Pad 端（768px - 1024px）- 更小的 Pad */
@media (max-width: 1024px) and (min-width: 768px) {
    .contact-information-section .section-title,
    .sales-network-section .section-title,
    .global-partners-section .section-title,
    .authorized-partners-section .section-title {
        font-size: 40px;
    }
    
    .contact-information-wrapper,
    .sales-network-wrapper,
    .global-partners-wrapper,
    .authorized-partners-wrapper {
        padding: 70px 0;
    }

    .global-partners-wrapper.has-bg-img {
        padding: 0;
    }
}

/* ==================== Mobile 端（<768px）==================== */
@media (max-width: 767px) {
    /* 通用标题适配 */
    .contact-information-section .section-title,
    .sales-network-section .section-title,
    .global-partners-section .section-title,
    .authorized-partners-section .section-title {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .contact-information-section .section-subtitle,
    .global-partners-section .section-subtitle {
        font-size: 14px;
    }
    
    /* 通用区块内边距 */
    .contact-information-wrapper,
    .sales-network-wrapper,
    .global-partners-wrapper,
    .authorized-partners-wrapper {
        padding: 50px 0;
    }

    .global-partners-wrapper.has-bg-img {
        padding: 0;
    }
    
    /* 1. 联系表单区块 - Mobile 适配：单列布局，表单字段全宽 */
    .contact-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-container {
        padding: 0;
    }
    
    /* 表单内部改为单列 */
    .form-grid-two-columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .form-column-left,
    .form-column-right {
        gap: 16px;
    }
    
    .form-field-message textarea {
        min-height: 120px;
    }
    
    .contact-form-container .captcha-field input {
        padding-right: 110px; /* 移动端缩小验证码区域 */
    }
    
    .contact-form-container .captcha-image-inline {
        width: 100px;
        height: 52px; /* 移动端 input padding 14px*2 + line-height 24px */
    }
    
    .contact-info-card {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .contact-form-container input[type="text"],
    .contact-form-container input[type="email"],
    .contact-form-container input[type="tel"],
    .contact-form-container textarea {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .contact-form-container button[type="submit"],
    .contact-form-container #contact-submit-btn {
        width: 100%;
    }
    
    .contact-info-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 0;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 12px;
    }
    
    .contact-label {
        font-size: 18px;
    }
    
    .contact-value {
        font-size: 14px;
    }
    
    /* 2. 国际销售网络 - Mobile 适配：隐藏地图，区域卡片垂直排列 */
    .world-map-container {
        display: block;
    }

    .world-map {
        display: none;
    }
    
    /* Mobile 端隐藏折线连接器 */
    .region-connector {
        display: none;
    }
    
    .region-cards {
        position: static;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .region-card {
        position: static !important;
        min-width: 100%;
        width: 100%;
        padding: 16px;
    }
    
    .region-name {
        font-size: 18px;
    }
    
    .region-icon {
        width: 40px;
        height: 28px;
    }
    
    .region-contact-item {
        font-size: 13px;
        flex-wrap: wrap;
    }
    
    .sales-network-icons {
        gap: 20px;
        justify-content: space-around;
    }
    
    .network-icon-item img {
        width: 50px;
        height: 50px;
    }
    
    .network-icon-item span {
        font-size: 12px;
    }
    
    /* 3. 全球合作伙伴 - Mobile 适配：单列，按钮全宽 */
    .partners-main-text {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .partners-description {
        margin-bottom: 30px;
    }
    
    .partners-description p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 12px;
    }
    
    .partners-button {
        width: 100%;
        justify-content: center;
        padding: 14px 30px;
        font-size: 15px;
    }
    
    /* 4. 授权区域合作伙伴 - Mobile 适配：单列 */
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .partner-card {
        padding: 20px;
        border-radius: 14px;
    }

    .partner-name {
        font-size: 17px;
    }

    .partner-flag {
        width: 56px;
        height: 38px;
    }

    .detail-label {
        font-size: 13px;
    }

    .detail-value {
        font-size: 13px;
    }
}

/* ==================== 超小屏幕 Mobile 端（<480px）==================== */
@media (max-width: 480px) {
    /* 标题进一步缩小 */
    .contact-information-section .section-title,
    .sales-network-section .section-title,
    .global-partners-section .section-title,
    .authorized-partners-section .section-title {
        font-size: 24px;
    }
    
    /* 区块内边距进一步缩小 */
    .contact-information-wrapper,
    .sales-network-wrapper,
    .global-partners-wrapper,
    .authorized-partners-wrapper {
        padding: 40px 0;
    }

    .global-partners-wrapper.has-bg-img {
        padding: 0;
    }
    
    .contact-information-section .section-header {
        margin-bottom: 40px;
    }
    
    /* 联系信息卡片堆叠 */
    .contact-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    /* 区域卡片更紧凑 */
    .region-card {
        padding: 15px;
    }
    
    /* 合作伙伴卡片更紧凑 */
    .partner-card {
        padding: 16px;
        border-radius: 12px;
    }

    .partner-name {
        font-size: 15px;
    }
    
    /* 按钮字体缩小 */
    .partners-button {
        font-size: 14px;
        padding: 12px 25px;
    }
}

/* ==================== 横屏模式适配（Landscape）==================== */
@media (max-width: 900px) and (orientation: landscape) {
    .contact-information-wrapper,
    .sales-network-wrapper,
    .global-partners-wrapper,
    .authorized-partners-wrapper {
        padding: 50px 0;
    }
    
    .contact-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .region-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
