/* ==========================================================================
   FlamingoTechs - 业务版图总览页样式表 (Locations Hub Page Styles)
   100% 纯原生现代 CSS 架构：彻底剥离 Elementor 依赖
   ========================================================================== */

/* ==========================================================================
   1. 基础布局与通用容器规范 (完全对标首页设计规范)
   ========================================================================== */
html {
    overflow-x: hidden;
}

.ft-locations-page {
    width: 100%;
    overflow-x: hidden;
    background-color: #FAFAFC;
    -webkit-font-smoothing: antialiased;
}

.ft-container,
.fm-container {
    width: 100%;
    max-width: var(--container-max-width, 1280px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

@media (max-width: 1360px) {
    .ft-container,
    .fm-container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 1024px) {
    .ft-container,
    .fm-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 767px) {
    .ft-container,
    .fm-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.vertical-gradient {
    min-height: 500px;
    background: linear-gradient(180deg, #F7F9FF 0%, #E1ECFF 50%, #C9DCFF 100%);
}

/* ==========================================================================
   2. 文本链接样式 (.fm-external-link & .fm-seo-link) - 雅致紫灰质感
   ========================================================================== */
.fm-external-link,
.fm-seo-link {
    color: #4E4776 !important;
    font-weight: 500 !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(78, 71, 118, 0.38) !important;
    text-underline-offset: 4px !important;
    text-decoration-thickness: 1px !important;
    border-bottom: none !important;
    transition: color 0.25s ease, text-decoration-color 0.25s ease !important;
}

.fm-external-link:hover,
.fm-seo-link:hover {
    color: #7B61FF !important;
    text-decoration-color: #7B61FF !important;
}

/* ==========================================================================
   2.1 品牌渐变文字动效 (.brand-gradient)
   ========================================================================== */
.brand-gradient {
    font-weight: 800;
    background: radial-gradient(
        circle, 
        #f9736f 0%, 
        #6a59ff 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    animation: textShine 3s ease-in-out infinite alternate;
}

@keyframes textShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* ==========================================================================
   3. HERO 首屏区块 (Hero Section)
   ========================================================================== */
.ft-loc-hero-section {
    width: 100%;
    background-color: #FAFAFC;
    padding-top: 60px;
    padding-bottom: 60px;
    box-sizing: border-box;
}

.ft-loc-hero-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 40px;
}

/* 左侧内容栏 */
.ft-loc-hero-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
}

/* 顶部胶囊小徽章 */
.hero-subtitle-long {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-purple, #7B61FF);
    display: inline-block;
    background: rgba(123, 97, 255, 0.1);
    padding: 8px 18px;
    border-radius: 50px;
    margin-top: 24px;
    margin-bottom: 20px;
    align-self: flex-start;
    box-sizing: border-box;
    max-width: 100%;
}

/* 主标题 */
.ft-loc-hero-title {
    font-family: "flamingofont", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 3.5rem; /* 56px */
    font-weight: 800;
    line-height: 1.12;
    color: #0D0D16;
    margin: 0 0 6px 0;
    padding: 0;
}

.ft-loc-hero-title-gradient {
    font-family: "flamingofont", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 3.5rem; /* 56px */
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 32px 0;
    padding: 0;
}

/* 描述文本 */
.ft-loc-hero-desc {
    width: 100%;
    max-width: 520px;
    margin: 0 0 36px 0;
}

.ft-loc-hero-desc p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.68;
    color: #4A5568;
    margin: 0;
}

/* 桌面端独享补充描述文本 */
.ft-loc-hero-desc-desktop {
    display: inline;
}

/* 操作按钮组：始终横向左右排列，绝不上下叠放 */
.ft-loc-hero-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: nowrap;
}

.ft-standalone-container,
.ft-secondary-container {
    display: inline-block;
}

.ft-standalone-btn {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    width: 180px !important;
    height: 52px !important;
    padding: 0 !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    border: none !important;
    color: white !important;
    white-space: nowrap !important;
    background-image: radial-gradient(circle, #f9736f 0%, #7B61FF 100%) !important;
    background-size: 200% auto !important;
    background-position: 0% 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    box-shadow: 0 6px 14px rgba(123, 97, 255, 0.2) !important;
}

.ft-standalone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(123, 97, 255, 0.4) !important;
    animation: barFlow 3s infinite alternate;
}

@keyframes barFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ft-html-btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none !important;
    box-sizing: border-box;
    padding: 0;
    width: 180px !important;
    height: 52px !important;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    background: transparent;
    color: #7B61FF !important;
    border: 2px solid #7B61FF;
    transition: all 0.3s ease;
    box-shadow: none;
}

.ft-html-btn-secondary:hover {
    background-color: rgba(123, 97, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(123, 97, 255, 0.2);
}

/* 右侧 Bento 栅格卡片组 */
.ft-loc-hero-visual {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
}

.fm-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
}

.fm-service-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 28px 26px 24px 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    box-sizing: border-box;
}

.fm-service-card:hover {
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.fm-service-card.fm-dark {
    background-color: #1a182e;
    color: #ffffff;
}

.fm-service-card.fm-light {
    background-color: #ebebff;
    color: #1a1a1a;
}

.fm-card-top { grid-column: span 2; }
.fm-card-bottom-left { grid-column: 1; }
.fm-card-bottom-right { grid-column: 2; }

.fm-card-icon {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 42px;
    height: 42px;
    margin: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease, opacity 0.3s ease;
}

.fm-service-card.fm-dark .fm-card-icon {
    color: rgba(255, 255, 255, 0.40);
}

.fm-service-card.fm-light .fm-card-icon {
    color: rgba(123, 97, 255, 0.60);
}

.fm-service-card:hover .fm-card-icon {
    transform: scale(1.12) rotate(4deg);
}

.fm-service-card.fm-dark:hover .fm-card-icon {
    color: rgba(255, 255, 255, 0.75);
}

.fm-service-card.fm-light:hover .fm-card-icon {
    color: rgba(123, 97, 255, 0.90);
}

.fm-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.35;
    margin-top: 0;
    padding-right: 46px;
    box-sizing: border-box;
}

.fm-card-description {
    font-size: 0.94rem;
    line-height: 1.6;
    color: inherit;
    opacity: 0.9;
    margin-bottom: 18px;
    margin-top: 0;
}

.fm-card-link {
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: gap 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.fm-service-card.fm-light .fm-card-link { color: #7B61FF; }
.fm-service-card.fm-light .fm-card-link:hover { color: #F9736F; gap: 12px; }
.fm-service-card.fm-dark .fm-card-link { color: #A890FE; }
.fm-service-card.fm-dark .fm-card-link:hover { color: #F9736F; gap: 12px; }

/* ==========================================================================
   4. 业务城市服务区块 (Cities Section)
   ========================================================================== */
.ft-loc-cities-section {
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
    box-sizing: border-box;
}

.ft-loc-cities-header {
    text-align: center;
    width: 100%;
    margin-bottom: 48px;
}

.ft-loc-cities-subtitle {
    font-family: "flamingofont", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    color: #0D0D16;
    margin: 0 0 8px 0;
    padding: 0;
    text-align: center;
}

.ft-loc-cities-title {
    font-family: "flamingofont", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    color: #0D0D16;
    margin: 0 auto 24px auto;
    padding: 0;
    text-align: center;
    max-width: 1040px;
    text-wrap: balance;
}

.ft-loc-cities-desc {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.ft-loc-cities-desc p {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    color: #4A5568;
    margin: 0;
}

.ft-loc-cities-desc strong {
    font-weight: 600;
    color: #2D3748;
}

/* 国家分组 */
.ft-country-block {
    width: 100%;
}

.ft-country-title {
    font-family: "flamingofont", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: #0D0D16;
    text-align: center;
    margin: 20px 0 32px 0;
    padding: 0;
}

.ft-country-us .ft-country-title {
    margin-top: 60px;
}

/* 城市多列流式响应式网格 */
.ft-cities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    row-gap: 32px;
    column-gap: 20px;
    width: 100%;
    box-sizing: border-box;
    justify-items: center;
}

.ft-city-card-item {
    display: flex;
    justify-content: center;
    width: 100%;
    min-width: 0;
}

.ft-city-card-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 210px;
    height: auto;
    background-color: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    padding: 6px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.ft-city-card-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.ft-city-card-thumb {
    width: 100%;
    text-align: center;
    line-height: 0;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.ft-city-card-thumb img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.ft-city-card-title-zh {
    font-family: "flamingofont", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
    color: #2D3748;
    margin: 12px 0 4px 0;
    text-align: center;
}

.ft-city-card-title-en {
    font-family: "flamingofont", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    color: #718096;
    margin: 0 0 10px 0;
    text-align: center;
}

/* =========================================
   国家分段 Tab 切换与自适应卡片样式 (Apple-Style)
   ========================================= */
.ft-country-tabs-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 36px 0 44px 0;
}

.ft-country-tabs {
    display: inline-flex;
    background: #F3F1FB;
    padding: 6px;
    border-radius: 999px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(123, 97, 255, 0.15);
    gap: 8px;
}

.ft-country-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    background: transparent;
    padding: 12px 30px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: #5A5A6E;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.ft-country-tab-btn:hover {
    color: #7B61FF;
    background: rgba(255, 255, 255, 0.7);
}

.ft-country-tab-btn.active {
    background: #7B61FF;
    color: #FFFFFF !important;
    box-shadow: 0 6px 18px rgba(123, 97, 255, 0.38);
}

.ft-tab-flag-img {
    display: inline-block;
    width: 21px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    vertical-align: middle;
    flex-shrink: 0;
}

.ft-country-panel {
    width: 100%;
}

.ft-country-panel.active {
    animation: ftTabFadeInUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ftTabFadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   5. 行业赋能区块 (Industries Section)
   ========================================================================== */
.ft-loc-industries-section {
    position: relative;
    width: 100%;
    padding-top: 90px;
    padding-bottom: 100px;
    box-sizing: border-box;
}

.fm-industries-section {
    width: 100%;
    color: #1a1a1a;
    box-sizing: border-box;
}

.fm-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.fm-section-header h2 {
    font-family: "flamingofont", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 38px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 16px;
    color: #0D0D16;
    line-height: 1.25;
    word-break: break-word;
}

.fm-section-header p {
    font-size: 17px;
    font-weight: 400;
    color: #4A5568;
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.68;
}

.fm-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    width: 100%;
    box-sizing: border-box;
}

.fm-industry-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 34px 26px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.fm-industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
    border-color: rgba(123, 97, 255, 0.25);
    background: #ffffff;
}

.fm-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(123, 97, 255, 0.08);
    color: #7B61FF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.fm-industry-card:hover .fm-icon-wrapper {
    background: rgba(123, 97, 255, 0.16);
    color: #7B61FF;
}

.fm-icon-wrapper svg {
    width: 26px;
    height: 26px;
}

.fm-industry-card h3 {
    font-family: "flamingofont", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.35;
    margin-top: 0;
    color: #1a1a1a;
}

.fm-industry-card p {
    font-size: 15.5px;
    font-weight: 400;
    color: #4A5568;
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   6. 底部联系表单区块 (Contact Section)
   ========================================================================== */
.ft-loc-contact-section {
    width: 100%;
    background-color: #FAFAFC;
    padding-top: 80px;
    padding-bottom: 80px;
    box-sizing: border-box;
}

.ft-loc-contact-header {
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
}

.ft-loc-contact-subtitle {
    font-family: "flamingofont", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    color: #0D0D16;
    margin: 0 0 8px 0;
    padding: 0;
    text-align: center;
}

.ft-loc-contact-title {
    font-family: "flamingofont", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    color: #0D0D16;
    margin: 0 0 24px 0;
    padding: 0;
    text-align: center;
}

/* =========================================
   Apple-Style Mobile Carousel Dots Indicator
   ========================================= */
.ft-carousel-dots {
    display: none;
}

.ft-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(123, 97, 255, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ft-carousel-dot.active {
    width: 24px;
    background: #7B61FF;
}

/* ==========================================================================
   7. 响应式布局规范 (Responsive Breakpoints: 1200px, 1024px, 767px, 640px)
   ========================================================================== */
@media (max-width: 1200px) {
    .ft-cities-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    /* 行业板块：无法完整显示 4 列时直接进入左右横向滑动 (Horizontal Carousel)，彻底消除 2 列折行阶段 */
    .ft-loc-industries-section {
        padding-top: 70px;
        padding-bottom: 80px;
        overflow: hidden;
    }
    .fm-industries-section {
        overflow: hidden;
    }
    .fm-grid-4 {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        scroll-padding: 0 24px !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
        gap: 18px !important;
        padding: 12px 24px 24px 24px !important;
        margin-left: -24px !important;
        margin-right: -24px !important;
        width: calc(100% + 48px) !important;
        box-sizing: border-box !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    .fm-grid-4::-webkit-scrollbar {
        display: none !important;
    }
    .fm-industry-card {
        flex: 0 0 clamp(280px, 38vw, 330px) !important;
        width: clamp(280px, 38vw, 330px) !important;
        min-width: clamp(280px, 38vw, 330px) !important;
        max-width: 330px !important;
        scroll-snap-align: start !important;
        padding: 30px 24px !important;
        border-radius: 20px !important;
        box-sizing: border-box !important;
    }
    .fm-industry-card:last-child {
        margin-right: 24px !important;
    }

    /* 行业板块轮播指示点 */
    .ft-industry-dots {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin: 20px auto 0 auto;
        width: 100%;
        z-index: 2;
    }
}

@media (max-width: 1024px) {
    .ft-loc-hero-section {
        padding-top: 60px;
        padding-bottom: 50px;
    }
    .ft-loc-hero-inner {
        flex-direction: column;
        gap: 40px;
    }
    .ft-loc-hero-content {
        width: 100%;
        padding-left: 0;
        text-align: center;
        align-items: center;
    }
    .hero-subtitle-long {
        align-self: center;
        margin-top: 0;
        font-size: 0.9rem;
    }
    .ft-loc-hero-title,
    .ft-loc-hero-title-gradient {
        font-size: 2.6rem;
    }
    .ft-loc-hero-desc {
        width: 100%;
        max-width: 640px;
        margin: 0 auto 32px auto;
        text-align: center;
    }
    .ft-loc-hero-actions {
        justify-content: center;
    }
    .ft-loc-hero-visual {
        width: 100%;
        justify-content: center;
    }
    .fm-services-grid {
        max-width: 680px;
    }
    .ft-cities-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    .fm-section-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .ft-loc-hero-section {
        padding-top: 40px;
        padding-bottom: 40px;
        overflow: hidden;
    }
    .ft-loc-hero-inner {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    .ft-loc-hero-content {
        display: contents !important;
    }
    .ft-badge-wrapper {
        order: 1 !important;
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }
    .hero-subtitle-long {
        font-size: 0.8rem;
        padding: 6px 14px;
        white-space: normal;
        text-align: center;
        align-self: center;
        margin-top: 0;
        margin-bottom: 16px;
        line-height: 1.4;
    }
    .ft-loc-hero-title,
    .ft-loc-hero-title-gradient {
        font-size: 2rem;
        line-height: 1.2;
        text-align: center;
        width: 100%;
    }
    .ft-loc-hero-title {
        order: 2 !important;
        margin-bottom: 4px;
    }
    .ft-loc-hero-title-gradient {
        order: 3 !important;
        margin-bottom: 16px;
    }
    .ft-loc-hero-desc {
        order: 4 !important;
        width: 100%;
        max-width: 100%;
        margin: 0 auto 12px auto;
        text-align: center;
    }
    .ft-loc-hero-desc p {
        font-size: 14.5px;
        line-height: 1.55;
        text-align: center;
        max-width: 94%;
        margin: 0 auto;
    }
    .ft-loc-hero-desc-desktop {
        display: none !important;
    }
    .ft-loc-cities-desc p {
        font-size: 14.5px;
        line-height: 1.55;
        text-align: center;
        max-width: 94%;
        margin: 0 auto;
    }

    /* 首屏三卡片手机端：放置在文案与按钮之间，支持左右滑动 (Horizontal Carousel) */
    .ft-loc-hero-visual {
        order: 5 !important;
        width: 100%;
        margin-top: 8px;
        margin-bottom: 24px;
        overflow: visible !important;
        padding-bottom: 6px;
        display: block;
    }
    .fm-services-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        scroll-snap-type: x mandatory !important;
        scroll-padding: 0 16px !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
        gap: 16px !important;
        padding: 12px 16px 24px 16px !important;
        margin-left: -16px !important;
        margin-right: -16px !important;
        width: calc(100% + 32px) !important;
        max-width: none !important;
        box-sizing: border-box !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    .fm-services-grid::-webkit-scrollbar {
        display: none !important;
    }
    .fm-service-card {
        flex: 0 0 clamp(270px, 80vw, 315px) !important;
        width: clamp(270px, 80vw, 315px) !important;
        min-width: clamp(270px, 80vw, 315px) !important;
        max-width: 315px !important;
        scroll-snap-align: start !important;
        padding: 24px 22px !important;
        border-radius: 20px !important;
        grid-column: auto !important;
        box-sizing: border-box !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    }
    .fm-service-card:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12) !important;
    }
    .fm-card-top,
    .fm-card-bottom-left,
    .fm-card-bottom-right {
        grid-column: auto !important;
    }
    .fm-service-card:last-child {
        margin-right: 16px !important;
    }
    .fm-card-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 16px;
    }
    .fm-card-title {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }
    .fm-card-description {
        font-size: 0.92rem;
        margin-bottom: 18px;
    }

    /* 轮播圆点手机端显示 */
    .ft-carousel-dots {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin: 16px auto 0 auto;
        width: 100%;
        z-index: 2;
    }
    .ft-hero-service-dots {
        margin: 12px auto 0 auto;
    }
    /* 操作按钮置于三张卡片下方：绝不上下叠放，宽度充足时左右排列，不足时仅显示主按钮 */
    .ft-loc-hero-actions {
        order: 6 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        gap: 14px !important;
        margin-top: 14px !important;
        margin-bottom: 0 !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .ft-standalone-container,
    .ft-secondary-container {
        display: inline-flex !important;
        justify-content: center !important;
        width: auto !important;
    }
    .ft-standalone-btn,
    .ft-html-btn-secondary {
        width: auto !important;
        min-width: 165px !important;
        height: 48px !important;
        font-size: 15px !important;
        padding: 0 20px !important;
    }
    .ft-industry-dots {
        margin: 16px auto 0 auto;
    }

    /* 城市板块手机端 */
    .ft-loc-cities-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }
    .ft-loc-cities-header {
        margin-bottom: 32px;
    }
    .ft-loc-cities-subtitle {
        font-size: 22px;
        line-height: 1.25;
        margin-bottom: 4px;
    }
    .ft-loc-cities-title {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 16px;
        text-wrap: balance;
    }
    .ft-loc-cities-desc p {
        font-size: 14.5px;
        line-height: 1.65;
        text-align: left;
    }
    .ft-country-title {
        font-size: 20px;
        margin: 16px 0 20px 0;
    }
    .ft-country-us .ft-country-title {
        margin-top: 36px;
    }
    .ft-cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .ft-city-card-link {
        max-width: 160px;
        border-radius: 16px;
        padding: 5px;
    }
    .ft-city-card-thumb {
        border-radius: 12px 12px 0 0;
    }
    .ft-city-card-title-zh {
        font-size: 15px;
        margin: 8px 0 2px 0;
    }
    .ft-city-card-title-en {
        font-size: 11px;
        margin: 0 0 6px 0;
    }

    /* 国家板块手机端样式与奇数卡片居中 */
    .ft-country-tabs-wrapper {
        margin: 20px 0 24px 0;
    }
    .ft-country-tabs {
        width: 100%;
        max-width: 360px;
        padding: 4px;
        gap: 4px;
    }
    .ft-country-tab-btn {
        flex: 1;
        padding: 9px 12px;
        font-size: 14px;
        gap: 6px;
    }
    .ft-tab-flag-img {
        width: 18px;
        height: 13px;
    }

    /* 行业板块手机端：左右横向滑动 (Horizontal Carousel) */
    .ft-loc-industries-section {
        padding-top: 50px;
        padding-bottom: 64px;
        overflow: hidden;
    }
    .fm-section-header {
        margin-bottom: 24px;
    }
    .fm-section-header h2 {
        font-size: 22px;
        line-height: 1.35;
        margin-bottom: 10px;
    }
    .fm-section-header p {
        font-size: 14.5px;
        line-height: 1.55;
        text-align: left;
        max-width: 94%;
    }
    .fm-grid-4 {
        scroll-padding: 0 16px !important;
        gap: 14px !important;
        padding: 10px 16px 20px 16px !important;
        margin-left: -16px !important;
        margin-right: -16px !important;
        width: calc(100% + 32px) !important;
    }
    .fm-industry-card {
        flex: 0 0 clamp(260px, 78vw, 300px) !important;
        width: clamp(260px, 78vw, 300px) !important;
        min-width: clamp(260px, 78vw, 300px) !important;
        max-width: 300px !important;
        padding: 24px 20px !important;
        border-radius: 18px !important;
    }
    .fm-industry-card:last-child {
        margin-right: 16px !important;
    }
    .fm-icon-wrapper {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        margin-bottom: 14px;
    }
    .fm-icon-wrapper svg {
        width: 22px;
        height: 22px;
    }
    .fm-industry-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    .fm-industry-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* 底部联系板块手机端 */
    .ft-loc-contact-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }
    .ft-loc-contact-subtitle {
        font-size: 18px;
        margin-bottom: 4px;
    }
    .ft-loc-contact-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   超窄屏幕适配 (宽度不足横向容纳双按钮时，隐藏第二按钮，仅显示首选主按钮，绝不上下叠放)
   ========================================================================== */
@media (max-width: 520px) {
    .ft-secondary-container {
        display: none !important;
    }
}
