/* Satellite System (星地融合定位系统) 专用样式 */

/* 1. Hero 区域 */
.uwb-hero {
    position: relative;
    width: 100%;
    height: 43.75rem; /* 700px */
    background-size: cover;
    background-position: center bottom;
    display: flex;
    color: #333333;
    overflow: hidden;
}

.uwb-hero-content {
    margin-top: 12.5rem;
}

.uwb-hero-title {
    margin-top: 0;
    font-size: 3.125rem;
    margin-bottom: 1.125rem;
    line-height: 4.375rem;
    font-family: s-semibold;
}

.uwb-hero-subtitle {
    font-size: 1.375rem;
    line-height: 2.125rem;
    max-width: 43.75rem;
}

.uwb-hero-subtitle div {
    color: #ABAFB2;
    font-size: 1.5rem;
    line-height: 1;
}

/* 2. 通用 Section 布局 */
.uwb-section {
    padding: 3.75rem 0 6rem;
    background: #fff;
}


.uwb-header-center {
    text-align: center;
    margin-bottom: 1.875rem;
}

/* 3. 核心优势 - 一体化高精度定位 */
.uwb-advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.uwb-advantage-item {
    height: 17.5rem;
    background: #fff;
    padding: 2.25rem 1.75rem;
    border-radius: 1rem;
    box-shadow: .1875rem .1875rem 1.875rem 0px rgba(0,57,83,0.1);
    transition: transform 0.6s ease;
}

/* .uwb-advantage-item:hover {
    transform: translateY(-5px);
} */

.uwb-adv-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 3.125rem;
    object-fit: contain;
}

.uwb-adv-title {
    font-size: 1.5rem;
    color: #333;
    font-family: s-demibold;
    margin-bottom: .75rem;
    line-height: 2rem;
}

.uwb-adv-desc {
    font-size: 1rem;
    color: #333333;
    line-height: 1.5rem;
    opacity: 0.6;
}

/* 4. 系统架构 */
.uwb-arch {
    background: #F9FAFC;
    text-align: center;
}


.uwb-arch-content {
    display: flex;
    justify-content: center;
    align-items: center;
}
.uwb-arch-diagram {
    width: 93.25rem; /* 1492px */
    height: 40.75rem; /* 652px */
    max-width: none;
    height: auto;
}

/* 5 & 6. Product Grid */
.uwb-products {
    background-color: #F8FAFD;
}

.uwb-product-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

/* Tab 导航 */
.uwb-tag-tabs {
    display: flex;
    justify-content: center;
    gap: 3rem;
    position: relative;
    z-index: 20;
}

.uwb-tag-tab {
    font-size: 1.25rem;
    color: #8B909A;
    line-height: 1.75rem;
    font-family: s-regular;
    cursor: pointer;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
    transition: color 0.3s, border-color 0.3s;
}

.uwb-tag-tab:hover {
    color: #2664F5;
}

.uwb-tag-tab.active {
    color: #2664F5;
    font-family: s-demibold;
    border-bottom-color: #2664F5;
}

/* Tab 面板 */
.uwb-tag-panels {
    position: relative;
    padding-top: 2.25rem;
}

.uwb-tag-panel {
    display: none;
    align-items: center;
    position: relative;
}

.uwb-tag-panel.active {
    display: block;
}

/* Swiper 轨道 */
.uwb-tag-track-wrapper {
    flex: 1;
    overflow: hidden;
    padding: 1rem;
    margin: -1rem;
}

.uwb-tag-track {
    display: flex;
    gap: 1.75rem;
    transition: transform 0.4s ease;
}

.uwb-tag-track .uwb-product-card {
    flex: 0 0 calc((100% - 3.5rem) / 3);
    min-width: 0;
}

.is-2col-swiper .uwb-tag-track .uwb-product-card {
    flex: 0 0 calc((100% - 1.75rem) / 2);
}

/* Swiper 箭头按钮 */
.uwb-swiper-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 2.75rem;
    height: 2.75rem;
    background: transparent no-repeat center / contain;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.uwb-swiper-prev {
    left: -3.5rem;
    background-image: url('/wp-content/uploads/industry/product/uwb/bg-left.webp');
}

.uwb-swiper-next {
    right: -3.5rem;
    background-image: url('/wp-content/uploads/industry/product/uwb/bg-left.webp');
    transform: translateY(-50%) rotate(180deg);
}

.uwb-swiper-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.uwb-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.uwb-tag-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.uwb-tag-grid-2col {
    grid-template-columns: repeat(2, 1fr);
}

/* 定位基站专用布局：一行一个特点，高度700px */
.is-base-station-panel .uwb-product-card {
    height: 43.75rem; /* 700px */
}

.is-base-station-panel .uwb-product-features {
    grid-template-columns: 1fr !important;
}

.uwb-product-card {
    background: #FFFFFF;
    border-radius: 0.875rem;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    height: 32.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0.1875rem 0.1875rem 0.875rem 0 rgba(0, 57, 83, 0.1);
}

.uwb-product-card.is-horizontal {
    flex-direction: row;
    height: 23.75rem; /* 380px - 增加高度以适应较大图片 */
    align-items: center;
    justify-content: center;
    padding: 2rem 3.4375rem;
}

.uwb-product-card.is-horizontal.is-1col {
    padding-left: 13.75rem;
    padding-right: 17.5rem;
    justify-content: space-between;
}

.uwb-product-card.is-horizontal .uwb-product-img-box {
    margin-bottom: 0;
    /* margin-right: 3rem; */
    position: relative; /* 允许内部图片绝对定位 */
    display: flex;
    justify-content: center;
    align-items: flex-start; /* 顶部对齐，方便控制 top */
}

.uwb-product-card.is-horizontal .uwb-product-img-box img {
    object-fit: contain;
}

.uwb-product-card.is-horizontal .uwb-product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    width: 14.375rem;
}

.uwb-product-card.is-horizontal .uwb-product-head {
    margin-bottom: 1.125rem;
}

.uwb-product-card.is-horizontal .uwb-product-features {
    min-height: auto;
    gap: 1.125rem 2.5rem;
}

.uwb-product-card:hover {
    transform: translateY(-1.25rem);
}

.uwb-product-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.uwb-product-cname {
    font-size: 1rem;
    color: #8B909A;
    line-height: 1.375rem;
    font-family: s-regular;
    margin-bottom: 0.1875rem;
    margin-top: 0;
    font-weight: normal;
}

.uwb-product-model {
    font-size: 1.625rem;
    color: #252B3A;
    line-height: 2.125rem;
    font-family: s-semibold;
    margin: 0;
}

.uwb-product-head-right img {
    width: 3rem;
    height: 1.8125rem;
    object-fit: contain;
}

.uwb-product-img-box {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 1.5rem;
    min-height: 14.375rem;
}

.uwb-product-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.uwb-product-features {
    display: grid;
    grid-template-columns: 1fr !important; /* 强制一行一个特点 */
    gap: 1rem;
    min-height: 5.875rem;
    align-content: start;
}

/* 产品图片尺寸与顶部对齐精准调整 */
.uwb-product-img-box {
    align-items: flex-start !important; /* 强制顶部对齐以便精准控制 margin-top */
    overflow: visible !important; /* 允许图片溢出容器（如工牌标签） */
}

/* 1. U5000-OD: 358x170, top 80 */
.img-tag-u5000-od img { 
    width: 22.375rem !important; 
    height: 10.625rem !important; 
    margin-top: 5rem !important; 
    object-fit: contain !important;
}

/* 2. LoRa: 346x129, top 100 */
.img-tag-lora img { 
    width: 21.625rem !important; 
    height: 8.0625rem !important; 
    margin-top: 6.25rem !important; 
    object-fit: contain !important;
}

/* 3. RTK-DS: 88x218, top 55 */
.img-tag-rtk-ds img { 
    width: 5.5rem !important; 
    height: 13.625rem !important; 
    margin-top: 3.4375rem !important; 
    object-fit: contain !important;
}

/* 4. 工牌标签 (GongPai): 133x475, top 60 (Absolute) */
.img-tag-gongpai {
    width: 8.3125rem; /* 133px */
    position: relative;
    margin: 0 auto;
}
.img-tag-gongpai img { 
    margin-top: 54%;
    width: 8.3125rem !important; 
    height: 29.6875rem !important; 
    object-fit: contain !important;
}

/* 5. 手牌标签 (Ts3500-cs): 229x218, top 90 */
.img-tag-ts3500-cs img { 
    width: 14.3125rem !important; 
    height: 13.625rem !important; 
    margin-top: 2.5rem !important; 
    object-fit: contain !important;
}

/* 6. 室内外定位终端 (U-T100-IO): 235x215, top 130 */
.img-tag-u-t100-io img { 
    width: 14.6875rem !important; 
    height: 13.4375rem !important; 
    margin-top: 5.625rem !important; 
    object-fit: contain !important;
}

/* 7. 智能安全帽 (SafeHat-S1): 232x286, top 100 */
.img-tag-safehat-s1 img { 
    width: 14.5rem !important; 
    height: 17.875rem !important; 
    margin-top: 6.75rem !important; 
    object-fit: contain !important;
}

/* 8. ⻋载标签 (U-T100-Vehicle): 176x248, top 112 */
.img-tag-u-t100-vehicle img { 
    width: 11rem !important; 
    height: 15.5rem !important; 
    margin-top: 3.875rem !important; 
    object-fit: contain !important;
}

/* 9. 蓝牙标签 (BT-Beacon): 176x248, top 112 */
.img-tag-bt-beacon img { 
    width: 11rem !important; 
    height: 15.5rem !important; 
    margin-top: 3.875rem !important; 
    object-fit: contain !important;
}

/* 10. UWB信标 (UWB-Beacon): 127x317, top 58 */
.img-tag-uwb-beacon img { 
    /* width: 7.9375rem !important;  */
    height: 19.8125rem !important; 
    margin-top: 3.625rem !important; 
    margin-left: -2.5rem !important; 
    object-fit: contain !important;
}

.uwb-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0;
}

.uwb-feature-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.375rem;
    flex-shrink: 0;
    margin-top: 0.125rem; /* 对齐首行文字 */
}

.uwb-feature-item span {
    font-size: 1rem;
    color: #435566;
    line-height: 1.375rem;
    font-family: s-regular;
    white-space: normal;
}

/* 6. 融合技术优势 */
.uwb-fusion {
    background: #fff;
}

.uwb-fusion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.uwb-fusion-card {
    box-sizing: border-box;
    padding: 2.5rem 2.5rem 1.875rem 2.5rem;
    height: 17.5rem;
    background: #FFFFFF;
    box-shadow: .1875rem .1875rem 1.875rem 0px rgba(0,57,83,0.1);
    border-radius: .875rem;
}

.uwb-fusion-icon {
    width: 3.125rem;
    height: 3.125rem;
    margin-bottom: 3.125rem;
}

.uwb-fusion-title {
    font-size: 1.5rem;
    font-family: s-demibold;
    color: #333333;
    line-height: 2rem;
    margin-top: 0;
    margin-bottom: .625rem;
}

.uwb-fusion-desc {
    font-size: 1rem;
    color: #333333;
    line-height: 1.5rem;
    opacity: 0.6;
}

/* 7. 工业场景 */
.uwb-industry-scenarios {
    padding: 3.75rem 0 5.875rem;
}

.uwb-industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.uwb-industry-item {
    position: relative;
    height: 17.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 2rem;
    box-shadow: .1875rem .1875rem 1.875rem rgba(0, 57, 83, 0.10);
}

.uwb-industry-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(1);
    transition: transform 0.3s ease;
}

.uwb-industry-item:hover .uwb-industry-bg {
    transform: scale(1.05);
}

.uwb-industry-content {
    position: relative;
    z-index: 1;
}

.uwb-industry-logo {
    width: 4rem;
    height: 4rem;
    margin-bottom: .25rem;
    object-fit: contain;
}

.uwb-industry-title {
    font-size: 1.25rem;
    font-family: s-demibold;
    margin: 0;
    color: #fff;
}

/* 8. 为什么选择 (Grid 3x2) */
.uwb-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    gap: 1.5rem;
}

.uwb-why-item {
    background: #fff;
    padding: 2.125rem 2.125rem;
    height: 16.25rem;
    border-radius: .75rem;
    box-shadow: .1875rem .1875rem 1.875rem 0px rgba(0,57,83,0.1);
    transition: all 0.6s;
}

.uwb-why-item:hover {
    box-shadow: 0 .9375rem 2.1875rem rgba(0,0,0,0.06);
    transform: translateY(-1.25rem);
}

.uwb-why-icon {
    margin-bottom: 2.5rem;
}

.uwb-why-title {
    font-size: 1.625rem;
    color: #252B3A;
    font-family: s-semibold;
    line-height: 2.25rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.uwb-why-desc {
    font-size: 1rem;
    color: #333333;
    line-height: 1.5rem;
    opacity: 0.6;
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .uwb-advantage-grid, .uwb-fusion-grid, .uwb-why-grid, .uwb-industry-grid, .uwb-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .uwb-hero { height: 37.5rem; }
}

@media (max-width: 768px) {
    .uwb-advantage-grid, .uwb-fusion-grid, .uwb-why-grid, .uwb-industry-grid, .uwb-product-grid {
        grid-template-columns: 1fr;
    }
    .uwb-hero-title { font-size: 2.25rem; }
    .uwb-tag-track .uwb-product-card { flex: 0 0 100%; }
    .uwb-tag-panels { padding: 0 1.5rem; }
}

/* 响应式适配 */
