.banner-desc-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.banner-desc-box-title {
    color: #fff;
    font-size: 48px;
    font-weight: bold;
    text-align: center;
}

.banner-desc-box-content {
    color: #fff;
    font-size: 18px;
}

.discover-more-btn {
    display: flex;
    background-color: #565656;
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 54px;
}

.discover-more-btn:hover {
    color: #fff;
}

.button-text-wrapper {
    display: inline-block;
    height: 1.2em;
    line-height: 1.2em;
    overflow: hidden;
    position: relative;
}

.button-text-original,
.button-text-hover {
    display: block;
    transition: transform 0.3s ease-in-out;
}

.button-text-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(100%);
}

.discover-more-btn:hover .button-text-original {
    transform: translateY(-100%);
}

.discover-more-btn:hover .button-text-hover {
    transform: translateY(0);
}

/* Breadcrumb Navigation Styles */
.breadcrumb-nav {
    padding: 20px 0;
    background-color: #fff;
}

.breadcrumb-container {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 16px;
}

.breadcrumb-item:not(:last-child)::after {
    content: '>';
    margin-left: 10px;
    color: #999;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #222;
}

.breadcrumb-item.active {
    color: #222;
    font-weight: 500;
}

.home-icon {
    display: flex;
    align-items: center;
}

.home-icon img {
    width: 16px;
    height: 16px;
}

/* Mobile Styles */
@media (max-width: 767px) {
    .breadcrumb-nav {
        padding: 15px 0;
    }

    .breadcrumb-container {
        padding: 0 15px;
    }

    .breadcrumb-item {
        font-size: 12px;
    }

    .breadcrumb-item:not(:last-child)::after {
        margin-left: 8px;
    }

    .home-icon img {
        width: 14px;
        height: 14px;
    }
}

.breadcrumb-item+.breadcrumb-item::before {
    display: none;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

/* About Section Styles */
.about-section,
.factory-section {
    padding: 80px 20px;
    background: #fff;
    overflow: hidden;
}

.factory-section h2 {
    font-size: 32px;
    width: 100%;
    max-width: 1680px;
    padding: 0 20px;
    margin: 0 auto 45px;
}

@media(min-width:768px) and (max-width:1365px) {
    .factory-section h2 {
        font-size: 30px;
    }
}

@media(max-width:767px) {
    .factory-section h2 {
        font-size: 24px;
    }
}

.about-container,
.factory-container {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0;
}

.about-row,
.factory-row {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-direction: row-reverse;
}

.about-text-column,
.factory-text-column {
    width: 50%;
}

.about-image-column,
.factory-image-column {
    width: 50%;
    position: relative;
}

.about-image-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1;
    border-radius: 0px;
}

.about-image-column:hover::before {
    opacity: 1;
}

@media (max-width: 991px) {

    .about-text-column,
    .factory-text-column {
        width: 100%;
    }

    .about-image-column,
    .factory-image-column {
        width: 100%;
        position: relative;
    }
}

.about-title,
.factory-title {
    font-size: 36px;
    font-weight: bold;
    color: #222;
    margin-bottom: 30px;
}
.factory-title {
    text-align: center;
}

.about-description,
.factory-description {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.about-image,
.factory-image {
    width: 100%;
    height: auto;
    border-radius: 0px;
}

.discover-more-btn {
    display: flex;
    background-color: #565656;
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    width: 200px;
}

.discover-more-btn:hover {
    color: #fff;
}

.button-text-wrapper {
    display: inline-block;
    height: 1.2em;
    line-height: 1.2em;
    overflow: hidden;
    position: relative;
}

.button-text-original,
.button-text-hover {
    display: block;
    transition: transform 0.3s ease-in-out;
}

.button-text-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(100%);
}

.discover-more-btn:hover .button-text-original {
    transform: translateY(-100%);
}

.discover-more-btn:hover .button-text-hover {
    transform: translateY(0);
}

/* Tablet Styles */
@media (max-width: 991px) {

    .about-section,
    .factory-section {
        padding: 30px 15px;
    }

    .about-row,
    .factory-row {
        flex-direction: column;
        gap: 30px;
    }

    .about-text-column,
    .factory-text-column {
        order: 1;
        text-align: left;
    }

    .about-image-column,
    .factory-image-column {
        order: 2;
    }

    .about-title,
    .factory-title {
        font-size: 30px;
    }

    .about-description,
    .factory-description {
        font-size: 15px;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {

    .about-section,
    .factory-section {
        padding: 40px 0;
    }

    .about-container,
    .factory-container {
        padding: 0 15px;
    }

    .about-title,
    .factory-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .about-description,
    .factory-description {
        font-size: 14px;
        line-height: 1.6;
        text-align: left;
    }

    .discover-more-btn {
        padding: 10px 25px;
        font-size: 14px;
        margin: auto;
    }
}

.play-icon {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.play-button svg {
    fill: #ffffff;
    width: 30px;
    height: 30px;
}

.play-button:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button:hover svg {
    fill: #000;
}

.video-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-box {
    width: 960px;
    height: 540px;
    position: relative;
    background: #ffffff;
}

@media (max-width: 767px) {
    .video-box {
        width: 90%;
        height: 300px;
    }
}

.dialog-close {
    position: absolute;
    top: -10px;
    right: -10px;
    cursor: pointer;
    width: 27px;
}



.tir-swiper {
    padding-bottom: 10px;
    /* Adjusted padding as pagination is removed */
}

.tir-slide {
    text-align: left;
}

.tir-slide-image-wrapper {
    width: 100%;
    /* aspect-ratio: 3 / 4; /* Or your desired aspect ratio */
    /* height: 350px; /* Or a fixed height if you prefer */
    overflow: hidden;
    margin-bottom: 10px;
    background-color: #e9e9e9;
    /* Placeholder if image is missing */
}

.tir-slide-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

@media(min-width:768px) and (max-width:1365px) {
    .tir-slide-image-wrapper img {
        height: 300px;
    }
}

.tir-slide-title {
    font-size: 18px;
    color: #000;
    margin: 0;
    padding: 0 5px;
    /* Some padding if text is close to edges */
    line-height: 2;
    text-align: center;
}

@media(min-width:768px) and (max-width:1365px) {
    .tir-slide-title {
        font-size: 16px;
    }
}

@media(max-width:767px) {
    .tir-slide-title {
        font-size: 14px;
    }
}

/* Swiper Navigation Buttons - COMMENTED OUT */

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .tir-container {
        padding: 0 20px;
        /* Reverted padding as nav buttons are removed */
    }

    /* Navigation button positioning adjustments removed as buttons are removed */
}

@media (max-width: 767px) {
    .tir-container {
        padding: 0;
    }

    .tir-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .tir-header-content {
        max-width: 100%;
    }

    .tir-main-title {
        font-size: 26px;
    }

    .tir-subtitle {
        font-size: 15px;
    }

    .tir-view-more-btn {
        align-self: flex-start;
    }

    /* Navigation buttons hide rule removed as buttons are removed */
    .tir-swiper {
        padding-bottom: 10px;
        /* Adjusted padding as pagination is removed */
    }
}


.work-box-section {
    padding: 20px 15px;
}

.work-item {
    border-radius: 12px;
}
.panel-swiper-1-item {
    border-radius: 12px;
}

.work-list-box-nav-item-content {
    width: 100%;
    min-height: 33px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding-left: 10px;
}

@media(min-width:768px) and (max-width:1365px) {
    .work-list-box-nav-item-content {
        min-height: 0;
    }
}

@media(max-width:767px) {
    .work-list-box-nav-item-content {
        min-height: 0;
    }
}

.work-list-box-nav-item-content p {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, padding-top 0.3s ease-in-out;
}

.work-list-box-nav-item-active p {
    max-height: 200px;
    opacity: 1;
    padding-top: 8px;
    font-size: 18px;
}

@media(min-width:768px) and (max-width:1365px) {
    .work-list-box-nav-item-active p{
        font-size: 16px;
    }
}

@media(max-width:767px) {
    .work-list-box-nav-item-active p {
        font-size: 14px;
    }
}

.work-list-box-nav-item::before {
    content: '';
    margin-left: auto;
    /* font-size: 20px; */
    font-weight: bold;
    width: 2px;
    height: 14px;
    background-color: #000;
    color: #000;
    line-height: 1;
    transition: transform 0.3s ease-in-out;
    border-radius: 5px;
}

.work-list-box-nav-item-active::before {
    content: '';
    transform: rotate(90deg);
}

.work-box-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.work-box-container h2 {
    font-size: 32px;
    font-family: InterBold;
    color: #4b5956;
    margin-bottom: 10px;
    padding-bottom: 20px;
}

@media(max-width:767px) {
    .work-box-container h2 {
        font-size: 28px;
    }
}

.work-box-container p {
    font-size: 16px;
    color: #999;
    font-weight: 700;
}

.work-list-box-nav-number {
    font-size: 22px;
    font-family: InterBold;
    color: #4e5956;
    width: 30px;
    display: flex;
    align-items: start;
}

.work-box {
    width: 100%;
    max-width: 1680px;
    margin: 50px auto 0px;
}

.work-title {
    font-size: 32px;
    width: 100%;
    max-width: 1360px;
    margin: auto;
    text-align: center;
}

.work-title h2 {
    padding-bottom: 50px;
}

.work-subtitle {
    font-size: 18px;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.work-list-box {
    margin-top: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 50px;
}

.work-list-box-left {
    width: 100%;
    min-width: 50%;
}

.work-list-box-left>p {
    font-size: 18px;
    color: #000;
    font-weight: 700;
}

@media(min-width:768px) and (max-width:1365px) {
    .work-list-box-left>p {
        font-size: 16px;
    }
}

@media(max-width:767px) {
    .work-list-box-left>p {
        font-size: 14px;
    }
}

.factory-title h2,
.work-list-box-left h2 {
    font-size: 28px;
    font-weight: 700;
    padding-bottom: 20px;
}

@media(min-width:768px) and (max-width:1365px) {
    .work-list-box-left h2 {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .work-list-box-left h2 {
        text-align: center;
        font-size: 24px;
    }
}

.work-list-box-nav {
    width: 100%;
    min-width: 50%;
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.work-list-box-nav-item {
    color: #8A8A8A;
    padding: 5px 0 0 0px;
    display: flex;
    justify-content: left;
    align-items: baseline;
    cursor: pointer;
    position: relative;
}

.work-list-box-nav-item h4 {
    color: #4e5956;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.work-list-box-nav-item-active h4 {
    color: #000;
}

.work-list-box-nav-item-line {
    width: 2px;
    height: 100%;
    background: #e9e9e9;
    position: absolute;
    left: 0;
    top: 0;
}

.work-list-box-nav-item-line-active {
    background: linear-gradient(to bottom, #0033A1 50%, #e9e9e9 50%);
    background-size: 100% 200%;
    animation: changeColor 5s forwards;
}


.work-list {
    overflow: hidden;
}

.work-item-title {
    position: absolute;
    bottom: 0px;
    padding: 20px;
    color: #FFFFFF;
    /*//添加一个渐变背景色，从透明到黑色*/
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000000);
    width: 100%;
}

.work-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (min-width: 768px) and (max-width: 1365px) {
    .work-box {
        width: 100%;
        max-width: 1300px;
        margin: 50px auto 50px;
        padding: 0;
    }

    .work-title {
        font-size: 24px;
        font-family: InterBold;
        width: 100%;
        max-width: 1300px;
        margin: auto;
        text-align: center;
    }

    .work-subtitle {
        font-size: 18px;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .work-list-box {
        margin-top: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

    .work-list-box-nav {
        width: 100%;
        min-width: 290px;
        display: flex;
        gap: 20px;
        flex-direction: column;
    }

    .work-list-box-nav-item {
        /*border-left: 2px #e9e9e9 solid;*/
        color: #848484;
        padding: 5px 0 0 10px;
        display: flex;
        justify-content: left;
        align-items: flex-start;
        cursor: pointer;
        position: relative;
    }

    .work-list-box-nav-item h4 {
        color: #848484;
        font-size: 16px;
        margin: 0;
    }

    .work-list-box-nav-item-active h4 {
        font-family: InterBold;
        color: #000000;
    }

    .work-list-box-nav-item-line {
        width: 2px;
        height: 100%;
        background: #e9e9e9;
        position: absolute;
        left: 0;
        top: 0;
    }

    .work-list-box-nav-item-line-active {
        background: linear-gradient(to bottom, #0033A1 50%, #e9e9e9 50%);
        background-size: 100% 200%;
        animation: changeColor 5s forwards;
    }


    .work-list {
        overflow: hidden;
    }

    .work-item-title {
        position: absolute;
        bottom: 0px;
        padding: 10px;
        color: #FFFFFF;
        /*//添加一个渐变背景色，从透明到黑色*/
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000000);
        width: 100%;
    }

    .work-item img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

@media (max-width: 767px) {
    .work-box {
        width: 100%;
        max-width: 1300px;
        margin: 50px auto 0px;
    }

    .work-title {
        font-size: 24px;
        font-family: InterBold;
        width: 100%;
        max-width: 1300px;
        margin: auto;
        text-align: center;
        padding: 0 10px;
    }

    .work-subtitle {
        font-size: 18px;
        width: 100%;
        text-align: center;
        margin-top: 10px;
        padding: 0 10px;
    }

    .work-list-box {
        margin-top: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column !important;
        padding: 0;
    }

    .work-list-box-nav {
        width: 100%;
        display: flex;
        gap: 20px;
        flex-direction: column;
        padding: 0;
    }

    .work-list-box-nav-item {
        /*border-left: 2px #e9e9e9 solid;*/
        color: #848484;
        padding: 0;
        display: flex;
        justify-content: left;
        align-items: flex-start;
        cursor: pointer;
        position: relative;
    }

    .work-list-box-nav-item h4 {
        color: #848484;
        font-size: 16px;
        margin: 0;
    }

    .work-list-box-nav-item-active h4 {
        font-family: InterBold;
        color: #000000;
    }

    .work-list-box-nav-item-line {
        width: 2px;
        height: 100%;
        background: #e9e9e9;
        position: absolute;
        left: 0;
        top: 0;
    }

    .work-list-box-nav-item-line-active {
        background: linear-gradient(to bottom, #0033A1 50%, #e9e9e9 50%);
        background-size: 100% 200%;
        animation: changeColor 5s forwards;
    }


    .work-list {
        overflow: hidden;
        width: 100%;
        margin-top: 20px;
    }

    .work-item-title {
        position: absolute;
        bottom: 0px;
        padding: 20px;
        color: #FFFFFF;
        /*//添加一个渐变背景色，从透明到黑色*/
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000000);
        width: 100%;
    }

    .work-item img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}


/* Sustainability Section */
.sustainability-section {
    background-size: cover;
    background-position: center center;
    position: relative;
    color: #fff;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    height: 385px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* background-attachment: fixed; */
}

.sustainability-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: rgba(0, 0, 0, 0.5); */
    /* Dark overlay for text readability */
    z-index: 1;
}

.sustainability-content {
    position: relative;
    z-index: 2;
    max-width: 1360px;
    margin: 0 auto;
}

.sustainability-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

@media(min-width:768px) and (max-width:1365px) {
    .sustainability-title {
        font-size: 30px;
    }

    .sustainability-text {
        font-size: 16px;
    }
}

@media(max-width:767px) {
    .sustainability-title {
        font-size: 24px;
    }
}

.sustainability-text {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 30px;
    opacity: 0.9;
}

@media(max-width:767px) {
    .sustainability-text {
        font-size: 14px;
    }
}


.sustainability-button {
    margin: auto;
    width: 180px;
}
@media(max-width:767px) {
    .sustainability-button {
        font-size: 14px;
    }
}

.button-text-wrapper {
    display: inline-block;
    height: 1.2em;
    line-height: 1.2;
    overflow: hidden;
    position: relative;
}

.button-text-original,
.button-text-hover {
    display: block;
    transition: transform 0.3s ease-in-out;
}

.button-text-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(100%);
}

.sustainability-button:hover .button-text-original {
    transform: translateY(-100%);
}

.sustainability-button:hover .button-text-hover {
    transform: translateY(0);
}

.sustainability-button:hover {
    border: 1px solid #FF99D3;
    background-color: #FF99D3;
    transform: translateY(-2px);
    color: #fff;
    font-weight: 700;
}


.factory-form {
    width: 100%;
    padding: 45px 0;
    background-color: #EFEFEF;
    display: flex;
}

.factory-form-container {
    /*width: 100%;*/
    flex: 1;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

@media(min-width:768px) and (max-width:1365px) {
    .factory-form-container {
        flex-direction: column;
    }
}

@media(max-width:767px) {
    .factory-form {
        flex-direction: column;
    }
    .factory-form-container-left {
        width: 100%;
    }
    .factory-form-container {
        flex-direction: column !important;
        padding: 0 15px;
        width: 100%;
    }
}

.factory-form-title {
    /*width: 230px;*/
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media(min-width:768px) and (max-width:1365px) {

    .factory-form-title h2{
        font-size: 24px;
    }
}

@media(max-width:767px) {
    .factory-form-title h2 {
        font-size: 24px;
    }
}

#app {
    flex: 1;
}

.btn-about-us {
    background: #FF99D3;
    color: #fff;
    padding: 12px 0px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    width: 180px;
    text-align: center;
}

@media(min-width:768px) and (max-width:1365px) {
    .btn-about-us {
        font-size: 14px;
    }
}

.btn-about-us:hover {
    background: #FF99D3;
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
    font-weight: 700;
}
/* ================= 核心版块：工厂高集成排版 ================= */
.factory-integrated-section { padding: 50px 0 80px 0; }

/* --- 上半部分：左视频 + 右文本 --- */
.layout-top { display: flex; gap: 50px; margin-bottom: 25px; }

/* 左侧视频封面区 (占比约 55%) */
.video-wrapper {
    flex: 5.5;  border-radius: 16px; overflow: hidden;
    height: 420px; background: #e5e7eb;
}
.video-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
/*.video-wrapper:hover img { transform: scale(1.03); }*/

.play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; background: rgba(0,0,0,0.6); border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: #fff; font-size: 20px; transition: 0.3s;
}
.video-wrapper:hover .play-btn { background: var(--base-color); transform: translate(-50%, -50%) scale(1.1); }
.play-btn::after { content: '▶'; margin-left: 4px; }

/* 右侧文本区 (占比约 45%) */
.text-wrapper { flex: 4.5; display: flex; flex-direction: column; justify-content: center; }
.text-wrapper h2 {
    font-size: 32px; font-weight: 700; color: var(--base-color);
    line-height: 1.25; margin-bottom: 20px;
}
.text-wrapper p {
    font-size: 14px; color: var(--text-gray); line-height: 1.7; margin-bottom: 30px;
    text-align: justify;
}
.btn-brown {
    display: inline-block; background: var(--base-color); color: #fff;
    padding: 12px 36px; border-radius: 25px; font-weight: 600; font-size: 15px;
    cursor: pointer; border: none; transition: 0.3s; align-self: flex-start;
}
.btn-brown:hover { opacity: 0.9; box-shadow: 0 8px 20px rgba(93, 58, 41, 0.3); transform: translateY(-2px); }

/* --- 下半部分：4宫格实景画廊 --- */
.layout-bottom { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;overflow: hidden;}

.gallery-item {
    height: 240px; border-radius: 12px; overflow: hidden;
    background: #f3f4f6; position: relative;
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease; cursor: pointer;
}
.gallery-item:hover img { transform: scale(1.08); }

/* 占位图样式 (仅供演示) */
.placeholder-bg {
    width: 100%; height: 100%; display: flex; justify-content: center; align-items: center;
    color: #9ca3af; font-weight: 600; font-size: 14px; text-align: center;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}
/* ================= 核心版块：工厂高集成排版 end ================= */

/* ================= 选项卡版块容器 ================= */
.capabilities-section { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 36px; font-weight: 700; color: var(--base-color); margin-bottom: 15px; }
.section-header p { font-size: 16px; color: var(--text-gray); max-width: 700px; margin: 0 auto; }

/* ================= 顶部胶囊导航 (Pill Tabs) ================= */
.tabs-nav {
    display: flex; justify-content: center; gap: 20px; margin-bottom: 40px;
    flex-wrap: wrap;
}
.tab-btn {
    padding: 14px 32px; border-radius: 30px; border: 1px solid var(--border-color);
    background: #fff; color: var(--text-gray); font-size: 16px; font-weight: 600;
    cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.tab-btn:hover { border-color: var(--base-color); color: var(--base-color); }
.tab-btn.active {
    background: var(--base-color); color: #fff; border-color: var(--base-color);
    box-shadow: 0 10px 20px rgba(244, 114, 182, 0.3); transform: translateY(-2px);
}

/* ================= 内容展示区 ================= */
.tab-content-wrapper {
    background: #fff; border-radius: 24px; padding: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.04); border: 1px solid var(--border-color);
    min-height: 600px; /* 保持高度稳定，防止切换时页面跳动 */
    position: relative;
}

.tab-panel {
    display: none; /* 默认隐藏 */
    animation: fadeIn 0.5s ease forwards;
}
.tab-panel.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 面板内部图文布局 */
.panel-layout { display: flex; gap: 60px; align-items: stretch; }

/* 左侧：视觉图片 */
.panel-visual { flex: 0 0 45%; border-radius: 16px; overflow: hidden; position: relative; min-height: 400px;}
.panel-visual .placeholder-img { border-radius: 16px; }

/* 专属悬浮徽章 */
.floating-badge {
    position: absolute; bottom: 20px; right: 20px; background: #064e3b; color: #fff;
    padding: 15px; border-radius: 8px; text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.2);
}
.floating-badge strong { display: block; font-size: 24px; line-height: 1; margin-bottom: 5px; }
.floating-badge span { font-size: 10px; font-weight: 600; letter-spacing: 1px; }

/* 右侧：结构化文本 */
.panel-text { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.panel-text h3 { font-size: 28px; font-weight: 700; color: var(--brand-dark); line-height: 1.3; margin-bottom: 15px; }
.panel-subtitle { font-size: 15px; color: var(--text-gray); margin-bottom: 30px; font-weight: 500; line-height: 1.6; }

/* 结构化列表 */
.feature-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item {
    padding-left: 20px; border-left: 3px solid var(--border-color);
    transition: border-color 0.3s;
}
.feature-item:hover { border-left-color: var(--base-color); }
.feature-item h4 { font-size: 16px; font-weight: 700; color: var(--brand-dark); margin-bottom: 8px; }
.feature-item p { font-size: 14px; color: var(--text-gray); line-height: 1.6; }

.btn-pink-outline {
    display: inline-block; border: 2px solid var(--base-color); color: var(--base-color);
    padding: 10px 28px; border-radius: 8px; font-weight: 600; cursor: pointer;
    transition: 0.3s; margin-top: 30px; align-self: flex-start; text-decoration: none;
}
.btn-pink-outline:hover { background: var(--base-color); color: #fff; }

/* ================= 响应式 ================= */
@media (max-width: 1024px) {
    .panel-layout { flex-direction: column; gap: 40px; }
    .panel-visual { min-height: 350px; }
    .tab-content-wrapper { padding: 40px; min-height: auto; }
}
@media (max-width: 600px) {
    .tab-btn { padding: 12px 20px; font-size: 14px; width: 100%; text-align: center; }
    .tabs-nav { gap: 10px; }
    .tab-content-wrapper { padding: 25px 20px; }
    .panel-visual { min-height: 250px; }
    .panel-text h3 { font-size: 24px; }
}
