@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&family=Noto+Serif+SC:wght@400;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
    font-family: 'Source Han Sans SC VF', sans-serif;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== Color vars ===== */
:root {
    --red: #C7493E;
    --black: #0a0a0a;
    --dark: #1a1a1a;
    --gray: #333;
    --gray-mid: #666;
    --gray-light: #999;
    --border: #e5e5e5;
    --brown: #8B6F4E;
}

/* ===== Layout ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.container.contact {
    padding: 0 30px;
}

@media(max-width:1023px) {
    .container {
        padding: 0 40px;
    }
}

@media(max-width:767px) {
    .container {
        padding: 0 24px;
    }
}
/* 返回顶部按钮 - 基础样式 */
#backToTop {
    position: fixed;
    bottom: 20px;          /* 贴底部，小间距 */
    right: 20px;           /* 贴右侧 */
    width: 50px;
    height: 50px;
    font-size: 22px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    z-index: 9999;
    opacity: 0.85;
    transition: opacity 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    mix-blend-mode: exclusion;
}
#backToTop:hover {
    opacity: 1;
    background: #555;
}
/* 跟随 Footer 状态（由 JS 切换） */
#backToTop.follow-footer {
    position: absolute;
    /* top 和 right 由 JS 动态计算，此处仅预留样式 */
}
/* ===== Navbar - Logo center ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    height: 70px;
}

.navbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 整体居中，替代 space-between */
    gap: 230px;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    list-style: none;
    width: 100%;
    justify-content: space-between;
}

.nav-left a,
.nav-right a {
    font-size: 14px;
    color: rgba(255, 255, 255, 1);
    position: relative;
    transition: color 0.3s;
    word-break: keep-all;
}

.nav-left a:hover,
.nav-left a.active,
.nav-right a:hover,
.nav-right a.active {
    color: #fff;
}

.nav-left a::after,
.nav-right a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--red);
    transition: width 0.3s;
}

.nav-left a:hover::after,
.nav-left a.active::after,
.nav-right a:hover::after,
.nav-right a.active::after {
    width: 100%;
}

.nav-logo-center {
    font-size: 22px;
    color: #fff;
    letter-spacing: 1px;
    text-align: center;
}

.nav-logo-center img {
    height: auto;
    width: 156px;
    max-width: unset;
}

.nav-logo-center span {
    font-size: 18px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 24px;
    color: #fff;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

@media(max-width:767px) {

    .nav-left,
    .nav-right {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .navbar-inner {
        justify-content: space-between;
        padding: 0 10px;
    }

    .nav-logo-center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.tapslide {
    transform: rotate(-90deg);
    transform-origin: center;
    display: inline-block;
    position: absolute;
    left: -40px;
    bottom: 46px;
    font-family: 'Source Han Serif SC VF', serif;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    /*min-height: 600px;*/
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide .hero-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(to bottom, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.2) 40%, rgba(10, 10, 10, 0.5) 100%); */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 140px 60px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-title-en {
    font-family: 'Source Han Serif SC VF', serif;
    font-size: 28px;
    color: #fff;
    line-height: 1.1;
}

.hero-title-cn {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 12px;
}

.hero-signature {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center center;
    font-style: italic;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    letter-spacing: 2px;
    z-index: 2;
}

.hero-scroll {
    text-align: center;
    padding-bottom: 20px;
    position: relative;
    z-index: 2;
}

.hero-scroll a {
    display: inline-block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 28px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

@media(max-width:1023px) {
    .hero-content {
        padding: 120px 40px 40px;
    }

    .hero-signature {
        display: none;
    }
}

@media(max-width:767px) {
    .hero-content {
        padding: 100px 24px 30px;
    }

    .hero-title-en {
        font-size: 32px;
    }

    .hero-title-cn {
        font-size: 18px;
    }
    .hero-slide .hero-bg-img{
        background-size: 100% 80%;
        top: 69px;
    }
}

/* Hero dots */
.hero-dots {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s;
}

.hero-dot.active {
    background: #fff;
}

/* ===== Section Titles ===== */
.sec-title-en {
    font-size: 32px;
    color: var(--black);
    line-height: 1.2;
    font-weight: 300;
    font-family: 'Source Han Serif SC VF', serif
}

.sec-title-cn {
    font-size: 24px;
    color: var(--black);
    margin-top: 8px;
}

.sec-line {
    /* width: 60px;
    height: 1px;
    background: var(--brown);
    margin-top: 16px; */
}

.sec-title-en.w,
.sec-title-cn.w {
    color: #fff;
}

@media(max-width:767px) {
    .sec-title-en {
        font-size: 26px;
    }

    .sec-title-cn {
        font-size: 16px;
    }
}

/* ===== Two Col ===== */
.two-col {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
}

.two-col .col-left,
.two-col .col-right {
    flex: 1;
    padding: 0 30px;
}

.two-col.reverse {
    flex-direction: row-reverse;
}

@media(max-width:1023px) {
    .two-col {
        flex-direction: column;
        gap: 40px;
    }

    .two-col.reverse {
        flex-direction: column;
    }
}

/* ===== Image hover ===== */
.img-hover {
    overflow: hidden;
}

.img-hover img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-hover:hover img {
    transform: scale(1.03);
}

/* ===== Link btn ===== */
.link-btn {
    font-family: 'Source Han Serif SC VF', serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    color: var(--red);
    position: relative;
    margin-top: 50px;
}

.link-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--red);
    transition: width 0.3s;
}

.link-btn:hover::after {
    width: 100%;
}

.link-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s;
}

.link-btn:hover svg {
    transform: translateX(4px);
}

/* ====== 核心效果 ====== */

.animated-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
    padding-bottom: 6px;
    cursor: pointer;
}

/* 默认横线 */
.animated-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--red);
    transform: scaleX(1);
    transform-origin: right;
    /* 默认origin: right，满线时无视觉差异 */
}

/* 鼠标移入：横线从左往右滑出消失，然后从左边往右滑入出现 */
.animated-link:hover::after {
    animation: hoverSlide 0.6s ease-in-out forwards;
}

/* 鼠标移出：横线继续从左往右滑出消失，然后从左边往右滑入出现 */
.animated-link:not(:hover)::after {
    animation: leaveSlide 0.6s ease-in-out forwards;
}

/* Hover动画关键帧 */
@keyframes hoverSlide {
    0% {
        transform: scaleX(1);
        transform-origin: right;
        /* 从左往右开始消失 */
    }

    50% {
        transform: scaleX(0);
        transform-origin: right;
        /* 从左往右完全消失 */
    }

    50.01% {
        transform: scaleX(0);
        transform-origin: left;
        /* 切换origin，准备从左往右出现 */
    }

    100% {
        transform: scaleX(1);
        transform-origin: left;
        /* 从左往右完全出现 */
    }
}

/* 移出动画关键帧 */
@keyframes leaveSlide {
    0% {
        transform: scaleX(1);
        transform-origin: right;
        /* 从左往右开始消失 */
    }

    50% {
        transform: scaleX(0);
        transform-origin: right;
        /* 从左往右完全消失 */
    }

    50.01% {
        transform: scaleX(0);
        transform-origin: left;
        /* 切换origin，准备从左往右出现 */
    }

    100% {
        transform: scaleX(1);
        transform-origin: left;
        /* 从左往右完全出现 */
    }
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.section-title::before {
    content: '* ';
}

/* ====== 流程网格布局 ====== */
.flow-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
}

.flow-item-about {
    position: relative;
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 35px;
}

/* ====== 红色编号圆圈 ====== */
.flow-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #d4443a;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

/* ====== 连接线 ====== */
.flow-item-about::before {
    content: '';
    position: absolute;
    top: 23px;
    left: 28px;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
    z-index: 1;
}

/* 最后一个不显示连接线 */
.flow-item-about:last-child::before {
    display: none;
}

/* ====== 步骤标题 ====== */
.flow-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* ====== 步骤描述 ====== */
.flow-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.9;
}

.flow-desc a {
    color: #4a7ec4;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ====== 第二行布局 ====== */
.flow-row-2 {
    grid-template-columns: repeat(5, 1fr);
}

.flow-row-2.flow-grid {
    margin-top: 0;
}

/* 公司订单流程第二行 2 列 */
.company-flow-2 {
    grid-template-columns: repeat(5, 1fr);
}


/* ====== 图片网格布局 ====== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
}

/* 每个图片项 */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* 
         * 第一行：左大图（仓库，约占 60%）+ 右竖图（压机，约占 40%）
         * 高度保持一致
         */
.gallery-item:nth-child(1) {
    grid-column: span 7;
    aspect-ratio: 1.4 / 1;
}

.gallery-item:nth-child(2) {
    grid-column: span 5;
    aspect-ratio: 1 / 1;
}

/* 
         * 第二行：两张等宽横图（各约 50%）
         */
.gallery-item:nth-child(3) {
    grid-column: span 6;
    aspect-ratio: 1.77 / 1;
}

.gallery-item:nth-child(4) {
    grid-column: span 6;
    aspect-ratio: 1.77 / 1;
}

/* 图片基础样式 */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ====== Hover放大效果 ====== */
.gallery-item:hover img {
    transform: scale(1.08);
}

/* ===== Text body ===== */
.text-body {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
    margin-top: 24px;
    text-align: justify;
    word-break: break-word;
}

/* ===== Image slider (About section) ===== */
.img-slider {
    position: relative;
    overflow: hidden;
}

.img-slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.img-slider-track img {
    width: 100%;
    flex-shrink: 0;
}

.img-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.img-slider-dot {
    width: 24px;
    height: 2px;
    background: var(--border);
    cursor: pointer;
    transition: background 0.3s;
}

.img-slider-dot.active {
    background: var(--black);
}

/* ===== System cards ===== */
.sys-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.sys-card {
    /* border: 1px solid rgba(255, 255, 255, 0.15); */
    padding: 60px 40px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;

}

.sys-card:hover,
.sys-card.active {
    /* border-color: var(--brown) !important; */
}

.sys-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    stroke: #fff;
    stroke-width: 1;
    fill: #fff;
    transition: stroke 0.3s;
}

.sys-card:hover .sys-card-icon,
.sys-card.active .sys-card-icon {
    stroke: var(--red) !important;
    fill: var(--red) !important;
}

.sys-card:hover .sys-card-title {
    color: var(--red);
}

.sys-card-title {
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 400;
}

.sys-card-title.b {
    color: var(--black);
}

.sys-card-title.brown {
    color: var(--brown);
}

.sys-card-en {
    font-size: 12px;
    color: var(--brown);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.sys-card-desc {
    font-size: 14px;
    color: var(--gray-mid);
}

.sys-card-link {
    font-family: 'Source Han Serif SC VF', serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 22px;
    color: #fff;
    position: relative;
    top: 86px;
}

.sys-card-link svg {
    width: 14px;
    height: 14px;
}

.sys-card.product-card .sys-card-title {
    color: var(--black);
}

.sys-card.product-card:hover .sys-card-title,
.sys-card.product-card.active .sys-card-title {
    color: var(--red);
}

.sys-card.product-card .sys-card-icon {
    margin-bottom: 0;
    stroke: var(--black);
    fill: var(--black);
}

.sys-card.product-card {
    /* border: 1px solid rgba(0, 0, 0, 0.15); */
}

@media(max-width:1023px) {
    .sys-cards {
        grid-template-columns: 1fr;
    }
}

.authorization {
    background: #333333;
    padding: 0;
    padding-right: 50px;
    max-width: 1283px;
}

.authorization .sec-title-en,
.authorization .sec-title-cn,
.authorization .text-body {
    color: #fff;

}

.contact .sec-title-en {
    font-size: 60px;
}

/* ===== Image row ===== */
.img-row {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
}

.img-row .img-hover {
    position: relative;
}

.img-row .img-hover img {
    width: 100%;
    object-fit: cover;
}

.img-overlay-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.img-overlay-text span {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 4px;
}

@media(max-width:767px) {
    .img-row {
        grid-template-columns: 1fr;
    }

    .img-row .img-hover img {
        height: 280px;
    }
}

/* ===== Form ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    font-size: 15px;
    color: var(--gray);
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--brown);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-light);
}

.form-group textarea {
    border: 1px solid var(--border);
    padding: 14px;
    resize: none;
    height: 120px;
}

.submit-btn {
    display: inline-block;
    background: var(--black);
    color: #fff;
    font-size: 14px;
    padding: 14px 48px;
    border: 1px solid var(--black);
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #fff;
    color: var(--black);
}

/* ===== Contact info ===== */
.contact-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--gray-mid);
}

.contact-info-row .label {
    color: var(--black);
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-info-row a {
    color: var(--black);
    text-decoration: none;
}

.contact-info-row a:hover {
    text-decoration: underline;
}

/* ===== Slider ===== */
.slider-wrap {
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease-out;
}

.slider-card {
    width: 280px;
    flex-shrink: 0;
    background: #fff;
    cursor: pointer;
}

.slider-card-img {
    height: 200px;
    overflow: hidden;
}

.slider-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.slider-card:hover .slider-card-img img {
    transform: scale(1.05);
}

.slider-card-body {
    padding: 20px;
}

.slider-card-title {
    font-size: 16px;
    color: var(--black);
}

.slider-card-en {
    font-size: 12px;
    color: var(--brown);
    margin-top: 4px;
}

.slider-card-desc {
    font-size: 12px;
    color: var(--gray-light);
    margin-top: 4px;
}

.slider-ctrls {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.slider-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--gray-mid);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.slider-btn:hover:not(:disabled) {
    color: var(--black);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ===== Overlap images (Brand Overview) ===== */
.overlap-imgs {
    position: relative;
    height: 500px;
}

.overlap-imgs .img-main {
    position: absolute;
    top: -10%;
    left: 0;
    width: 65%;
    height: 95%;
    object-fit: cover;
    z-index: 1;
}

.overlap-imgs .img-sub {
    position: absolute;
    bottom: -10%;
    left: 38%;
    width: 40%;
    height: 64%;
    object-fit: cover;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

@media(max-width:1023px) {
    .overlap-imgs {
        height: 400px;
    }
}

/* ===== Sightseeing - irregular grid ===== */
.sight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 200px 280px;
    gap: 16px;
}

.sight-grid .sg1 {
    grid-column: 1/2;
    grid-row: 1/2;
}

.sight-grid .sg2 {
    grid-column: 2/3;
    grid-row: 1/2;
}

.sight-grid .sg3 {
    grid-column: 3/4;
    grid-row: 1/3;
}

.sight-grid .sg4 {
    grid-column: 1/3;
    grid-row: 2/3;
}

.sight-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media(max-width:1023px) {
    .sight-grid {
        grid-template-rows: 150px 200px;
    }
}

@media(max-width:767px) {
    .sight-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 150px);
    }

    .sight-grid .sg1 {
        grid-column: 1/2;
        grid-row: 1/2;
    }

    .sight-grid .sg2 {
        grid-column: 2/3;
        grid-row: 1/2;
    }

    .sight-grid .sg3 {
        grid-column: 1/2;
        grid-row: 2/3;
    }

    .sight-grid .sg4 {
        grid-column: 2/3;
        grid-row: 2/4;
    }
}

/* ===== Process steps ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.process-step {
    position: relative;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--brown);
    color: var(--brown);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.step-title {
    font-size: 14px;
    color: var(--black);
    font-weight: 500;
}

.step-desc {
    font-size: 12px;
    color: var(--gray-mid);
    margin-top: 4px;
}

@media(max-width:1023px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:767px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Flow section ===== */
.flow-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}

.flow-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--black);
    font-weight: 500;
}

.flow-item .num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brown);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flow-item .num.g {
    background: var(--gray-mid);
}

.flow-arrow {
    color: var(--gray-light);
    font-size: 14px;
}

/* ===== Partners ===== */
.partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 60px;
}

.partner-item {
    font-size: 18px;
    color: var(--black);
    opacity: 1;
    transition: opacity 0.3s;
    text-align: center;
    cursor: default;
}

.partner-item:hover {
    opacity: 0.6;
}

.partner-item small {
    display: block;
    font-size: 11px;
    color: var(--gray-mid);
    margin-top: 2px;
}

/* ===== Auth search ===== */
.auth-search {
    position: relative;
    max-width: 600px;
    width: 100%;
    margin: 40px auto 0;
}

.auth-search input {
    width: 100%;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 28px;
    padding: 0 24px 0 52px;
    font-size: 16px;
    color: #fff;
    outline: none;
    transition: all 0.3s;
}

.auth-search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.auth-search input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.auth-search svg {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    width: 20px;
    height: 20px;
}

/* ===== Footer ===== */
.footer {
    background: var(--black);
    color: #fff;
    padding: 80px 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.footer-logo {
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
}

.footer-logo span {
    font-size: 20px;
    margin-left: 4px;
}

.footer-logo img {
    height: 36px;
    position: relative;
    left: -7px;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

.footer-col-title {
    font-size: 16px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col-links {
    list-style: none;
}

.footer-col-links li {
    margin-bottom: 10px;
}

.footer-col-links a {
    font-size: 16px;
    color: var(--gray-light);
    transition: color 0.3s;
}

.footer-col-links a:hover {
    color: #fff;
}

.footer-divider {
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
    margin-top: 48px;
}

.footer-social-area {
    padding: 24px 0;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 0;
}

.footer-social-icons a {
    color: var(--gray-mid);
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.footer-social-icons a:hover {
    color: var(--brown);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-size: 16px;
    color: var(--gray-mid);
}

.back-to-top {
    font-size: 12px;
    color: var(--gray-mid);
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: color 0.3s;
}

.back-to-top:hover {
    color: #CF493D;
}

@media(max-width:1023px) {
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:767px) {
    .footer-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ===== Section spacing ===== */
.section {
    padding: 120px 0;
}

.page-products .section {
    padding: 80px 0;
}

@media(max-width:1023px) {
    .section {
        padding: 80px 0;
    }
}

@media(max-width:767px) {
    .section {
        padding: 60px 0;
    }
}

.bg-dark {
    background: var(--black);
}

.bg-light {
    background: #f5f5f5;
}

/* ===== Scroll animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.v {
    opacity: 1;
    transform: translateY(0);
}

.rd1 {
    transition-delay: 0.1s;
}

.rd2 {
    transition-delay: 0.2s;
}

.rd3 {
    transition-delay: 0.3s;
}

.rd4 {
    transition-delay: 0.4s;
}

.rd5 {
    transition-delay: 0.5s;
}

/* ===== Utility ===== */
.tc {
    text-align: center;
}

.tl {
    text-align: left;
}

.tr {
    text-align: right;
}

/* ===== Product Sub-system Cards (white box -> image on hover) ===== */
.prod-slider-wrap {
    overflow: hidden;
}

.prod-slider-track {
    display: flex;
    transition: transform 0.5s ease-out;
}

.prod-card {
    width: 25%;
    flex-shrink: 0;
    height: 320px;
    background: #fff;
    border-right: 1px solid var(--border);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.prod-card:first-child {
    border-left: 1px solid var(--border);
}

.prod-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    transform: scale(1);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.prod-card:hover .prod-card-bg {
    opacity: 1;
    transform: scale(1.15);
}

.prod-card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    transition: color 0.3s;
}

.prod-card-title {
    font-size: 18px;
    color: var(--black);
    margin-bottom: 6px;
}

.prod-card-en {
    font-size: 13px;
    color: var(--gray-mid);
}

.prod-card:hover .prod-card-title {
    color: #fff;
}

.prod-card:hover .prod-card-en {
    color: rgba(255, 255, 255, 0.8);
}

@media(max-width:1023px) {
    .prod-card {
        width: 50%;
        height: 300px;
    }
}

@media(max-width:767px) {
    .prod-card {
        width: 100%;
        height: 260px;
    }
}

.section-product-bg {
    background-image: url(../images/indexProductBg.jpg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

@media(max-width:767px) {
    .section-product-bg {
        background-size: cover;
        /* 移动端用cover填满 */
    }
}

.mt-custom {
    margin-top: 48px;
}

@media(max-width:767px) {
    .mt-custom {
        margin-top: 24px;
    }
}

.text-center {
    text-align: center;
}

.p-0 {
    padding: 0 !important;
}

.contact-btn {
    margin-top: 70px;
    display: inline-flex;
    margin-bottom: 100px;
}


.Solutions {
    display: flex;
    gap: 120px;
    margin-top: 60px;
    flex-wrap: wrap;
    text-align: center;
}

.sec-title-txt {
    font-size: 26px;
    color: rgba(255, 255, 255, 1);
}

.solutionbox {
    position: relative;
    left: 60%;
}

@media(max-width:767px) {
    .contact-btn {
        margin-top: 32px;
        margin-bottom: 48px;
    }

    .solutionbox {
        left: 0;
        text-align: right;
    }

    .two-col .col-left,
    .two-col .col-right {
        padding: 0;
    }

    .tapslide {
        display: none;
    }

    .authorization {
        padding: 30px;
    }

    .overlap-imgs .img-main {
        position: unset;
        width: 85%;
    }

    .overlap-imgs .img-sub {
        bottom: -5%;
        left: auto;
        right: 0;
    }

    .Solutions {
        gap: 32px;
    }

    .sec-title-txt {
        font-size: 20px;
    }

    .flow-title {
        font-size: 14px;
    }

    .flow-item-about {
        padding-right: 10px
    }

    .flow-grid {
        grid-template-columns: repeat(4, 1fr)
    }

    .pd-gallery {
        padding: 24px 16px 60px !important;

    }

    .pd-tab-content {
        padding: 0 !important;
    }

    .hero {
        height: auto !important;
        min-height: 360px;
    }

    .hero-content {
        padding: 250px 24px 30px
    }

    .two-col.contact-col {
        align-items: unset;
    }

    .two-col.contact-col .col-left .reveal {
        margin-bottom: 30px !important;
    }
}