:root{ --theme-primary:#117f88; }
body{ margin:0; padding:0; font-family: 'Open Sans', 'Microsoft YaHei', sans-serif; background:#fff; overflow-x: hidden; }
ul{ margin:0; padding:0; list-style:none; }

/* 鐎佃壈鍩呴弽蹇ョ窗绾喕绻?z-index 閺堚偓妤傛ü绗栭懗灞炬珯瀵搫鍩?*/
.header-nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; height: 100px; display: flex; align-items: center; transition: all 0.4s; background: transparent; }
.header-nav.is-scrolled { background: #ffffff !important; height: 80px !important; box-shadow: 0 2px 15px rgba(0,0,0,0.1) !important; }
.header-nav .container { display: flex; align-items: center; width: 100%; padding: 0 32px; box-sizing: border-box; max-width: none; position: relative; }
.logo img { height: 60px; }
.header-nav ul { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 30px; }
.header-nav ul li a { color: #fff; text-decoration: none; font-size: 19px; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,0.8), 0 0 8px rgba(0,0,0,0.5); -webkit-text-stroke: 0.3px rgba(0,0,0,0.3); }
.header-nav.is-scrolled ul li a { color: #333 !important; text-shadow: none !important; }

/* 妫ｆ牠銆?Hero 鏉烆喗鎸遍弽宄扮础 */
.header-top {
    height: 100vh; position: relative; overflow: hidden;
    background: none;
}
/* 多图背景交叉淡入 + Ken Burns */
.hero-slide {
    position: absolute; inset: 0; z-index: 0;
    opacity: 0;
    animation: heroSlide 21s ease-in-out infinite;
}
.hero-slide img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 7s; }
.hero-slide:nth-child(3) { animation-delay: 14s; }
@keyframes heroSlide {
    0%   { opacity: 0; transform: scale(1);    }
    6%   { opacity: 1; transform: scale(1.01); }
    30%  { opacity: 1; transform: scale(1.07); }
    38%  { opacity: 0; transform: scale(1.09); }
    100% { opacity: 0; transform: scale(1);    }
}

/* 固定文字浮层 */
.hero-overlay-text {
    position: absolute; inset: 0; z-index: 15;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}
.hero-overlay-text .container { pointer-events: auto; text-align: center; }
.hero-overlay-text .header-sub-text h2 {
    font-size: 52px; color: #1a1a1a; font-weight: 800;
    margin-bottom: 18px; text-shadow: 0 1px 6px rgba(255,255,255,0.6);
    animation: heroTextIn 1s ease-out both;
}
.hero-overlay-text .header-sub-text p {
    font-size: 18px; color: #333; line-height: 1.8; max-width: 700px; margin: 0 auto 16px;
    animation: heroTextIn 1s 0.3s ease-out both;
}
.hero-overlay-text .header-sub-text small {
    display: inline-block; font-size: 15px; color: #117f88; font-weight: 600;
    letter-spacing: 4px; border: 1.5px solid #117f88; border-radius: 20px;
    padding: 5px 20px;
    animation: heroTextIn 1s 0.55s ease-out both;
}
/* 文字淡入上滑 */
@keyframes heroTextIn {
    0%   { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
/* 重播触发：JS 切换时给 .hero-overlay-text 加 .re-animate */
.hero-overlay-text.re-animate .header-sub-text h2 { animation: none; }
.hero-overlay-text.re-animate .header-sub-text p  { animation: none; }
.hero-overlay-text.re-animate .header-sub-text small { animation: none; }

#hero-carousel .owl-controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 28px;
	z-index: 20;
}

#hero-carousel .owl-pagination {
	text-align: center;
}

#hero-carousel .owl-page span {
	background: rgba(255,255,255,0.8);
}

/* 閺嶅洭顣介崠?*/
.section-header { text-align: center; padding: 100px 0 50px; }
.section-header h2 { font-size: 52px; color: #1a1a1a; font-weight: 800; margin-bottom: 10px; }

/* 核心业务手风琴竖条 */
#team { padding-bottom: 100px; background: #f7f9fa; }
.accordion-strips {
    display: flex; gap: 8px;
    max-width: none; margin: 0;
    height: clamp(380px, 44vw, 860px);
    padding: 0;
}
.strip {
    position: relative; flex: 0.6; min-width: 0;
    border-radius: 14px; overflow: hidden; cursor: pointer;
    transition: flex 0.65s cubic-bezier(0.4, 0, 0.15, 1);
}
.strip.active { flex: 4; }
.strip img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center center;
}

/* 收起状态的竖向标签 */
.strip-tab {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.4s 0.15s;
}
.strip.active .strip-tab { opacity: 0; pointer-events: none; transition-delay: 0s; }
.strip-tab span {
    writing-mode: vertical-lr; letter-spacing: 6px;
    font-size: 18px; font-weight: 700; color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* 展开状态的内容 */
.strip-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.65) 45%, rgba(0,0,0,0.2) 75%, transparent 100%);
    padding: 80px 36px 36px;
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.45s 0.2s cubic-bezier(0.4,0,0.2,1),
                transform 0.45s 0.2s cubic-bezier(0.4,0,0.2,1);
}
.strip.active .strip-content {
    opacity: 1; transform: translateY(0);
}
.strip-content h3 {
    font-size: 28px; font-weight: 800; color: #fff; margin: 0 0 14px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 0 30px rgba(0,0,0,0.6);
    letter-spacing: 1px;
}
.strip-content p {
    font-size: 15px; color: #fff; line-height: 1.8;
    margin: 0; max-width: 500px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}

/* 技术引擎按钮 */
.content-skills {
    padding-bottom: 100px; padding-top: 20px;
    background: linear-gradient(160deg, #eef4f6 0%, #e6f0f3 50%, #eef4f6 100%);
}
.content-skills .section-header h2 { color: #1a2f35; }
.content-skills .section-header h2::after {
    background: linear-gradient(90deg, #117f88, #0fa5a0);
}
.tech-function-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
    max-width: 1400px; margin: 0 auto;
}
.tech-function-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 26px 16px; min-height: 110px;
    background: linear-gradient(135deg, #1e3a4a 0%, #254456 100%);
    border: 1px solid rgba(0, 210, 230, 0.25);
    border-radius: 10px;
    text-decoration: none !important; color: #c8eef2; text-align: center;
    position: relative; overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.35s cubic-bezier(0.4,0,0.2,1),
                border-color 0.35s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
/* 扫描线动画 */
.tech-function-btn::before {
    content: '';
    position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(0, 220, 240, 0.08) 50%,
        transparent 100%);
    transition: top 0.55s cubic-bezier(0.4,0,0.2,1);
}
.tech-function-btn::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg,
        rgba(0, 210, 240, 0.12) 0%,
        rgba(15, 165, 160, 0.08) 100%);
    opacity: 0; transition: opacity 0.35s;
    border-radius: 10px;
}
.tech-function-btn:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 220, 240, 0.7);
    box-shadow: 0 0 18px rgba(0, 210, 240, 0.28),
                0 8px 32px rgba(0,0,0,0.25),
                inset 0 0 20px rgba(0, 210, 240, 0.06);
}
.tech-function-btn:hover::before { top: 100%; }
.tech-function-btn:hover::after { opacity: 1; }
.tech-function-btn h3 {
    font-size: 17px; margin: 0 0 8px 0; font-weight: 600;
    color: #d8f2f6; position: relative; z-index: 1;
    transition: color 0.3s, text-shadow 0.3s;
    letter-spacing: 0.5px;
}
.tech-function-btn:hover h3 {
    color: #7ff0ff;
    text-shadow: 0 0 12px rgba(0, 220, 255, 0.6);
}
.tech-function-btn span {
    font-size: 13px; color: rgba(0, 200, 220, 0.6);
    text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
    position: relative; z-index: 1;
    transition: color 0.3s;
}
.tech-function-btn:hover span { color: #0fa5a0; }

/* 应用场景筛选标签 */
#filters { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; }
#filters li { list-style: none; }
#filters .filter {
    display: inline-block; padding: 9px 26px; border-radius: 24px; font-size: 15px;
    color: #666; background: #f0f2f3; cursor: pointer; font-weight: 500;
    border: 1.5px solid transparent; position: relative;
    transition: color 0.3s, background 0.35s cubic-bezier(0.4,0,0.2,1),
                border-color 0.3s, box-shadow 0.35s cubic-bezier(0.4,0,0.2,1),
                transform 0.25s cubic-bezier(0.4,0,0.2,1);
}
#filters .filter:hover {
    background: #e4f5f6; color: #117f88; border-color: #b3dde0;
    transform: translateY(-2px); box-shadow: 0 4px 12px rgba(17,127,136,0.12);
}
#filters .filter.active {
    background: linear-gradient(135deg, #117f88, #0fa5a0); color: #fff;
    border-color: transparent; box-shadow: 0 4px 16px rgba(17,127,136,0.25);
    transform: translateY(-2px);
}

/* 应用场景网格 */
#portfoliolist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1300px; margin: 0 auto; }
#portfoliolist .portfolio {
    transition: opacity 0.45s cubic-bezier(0.4,0,0.2,1),
                transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
#portfoliolist .portfolio.filter-hide {
    opacity: 0; transform: scale(0.92) translateY(12px);
    pointer-events: none; position: absolute; visibility: hidden;
}
#portfoliolist .portfolio.filter-show {
    opacity: 1; transform: scale(1) translateY(0);
}
.portfolio-wrapper {
    position: relative; border-radius: 12px; overflow: hidden; height: 380px;
    cursor: pointer;
    transition: transform 0.42s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.42s cubic-bezier(0.4,0,0.2,1);
}
.portfolio-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.18);
}
.portfolio-wrapper img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.portfolio-wrapper:hover img { transform: scale(1.07); }
.scenario-tag {
    position: absolute; top: 15px; left: 15px; background: #117f88; color: #fff;
    padding: 4px 12px; border-radius: 4px; z-index: 5;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.portfolio-wrapper:hover .scenario-tag { transform: translateY(-3px); }
.scenario-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 25px; color: #fff;
    transition: background 0.42s cubic-bezier(0.4,0,0.2,1);
}
.portfolio-wrapper:hover .scenario-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.45) 60%, rgba(17,127,136,0.15) 100%);
}
.scenario-overlay h3 {
    transition: transform 0.38s 0.04s cubic-bezier(0.4,0,0.2,1);
}
.portfolio-wrapper:hover .scenario-overlay h3 { transform: translateY(-4px); }
.scenario-overlay p {
    opacity: 0; transform: translateY(10px);
    transition: opacity 0.38s 0.08s cubic-bezier(0.4,0,0.2,1),
                transform 0.38s 0.08s cubic-bezier(0.4,0,0.2,1);
}
.portfolio-wrapper:hover .scenario-overlay p { opacity: 1; transform: translateY(0); }

.portfolio { padding-bottom: 100px; }

/* 联系合作 */
.content-contact { padding: 0 0 80px; background: #f5f7f8; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; max-width: 1100px; margin: 0 auto; }
.contact-form input,
.contact-form textarea {
    width: 100%; padding: 14px 18px; margin-bottom: 16px; border: 1px solid #ddd;
    border-radius: 8px; font-size: 15px; font-family: inherit; background: #fff;
    transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: #117f88; outline: none; }
.contact-form textarea { height: 140px; resize: vertical; }
.contact-submit {
    display: inline-block; padding: 12px 36px; background: #117f88; color: #fff;
    border: none; border-radius: 8px; font-size: 16px; cursor: pointer; transition: 0.3s;
}
.contact-submit:hover { background: #0e6a72; }
.contact-info { padding-top: 10px; }
.contact-info h4 { font-size: 20px; color: #1a1a1a; margin: 20px 0 10px; }
.contact-info p { font-size: 15px; color: #555; line-height: 1.8; }

.footer { padding: 60px 0; background: #081416; color: #555; text-align: center; }

.mobile-nav-shell,
.mobile-nav-overlay,
.mobile-nav-drawer {
    display: none;
}

.mobile-nav-shell {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10020;
}

.mobile-nav-bar,
.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    padding: 0 18px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-nav-logo img {
    height: 42px;
    display: block;
}

.mobile-nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-nav-toggle,
.mobile-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #111;
    padding: 0;
    cursor: pointer;
}

.mobile-nav-toggle {
    flex-direction: column;
    gap: 5px;
}

.mobile-nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #111;
    border-radius: 999px;
    transition: transform 0.28s ease, opacity 0.2s ease;
}

.mobile-nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    z-index: 10021;
}

.mobile-nav-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100vh;
    background: #fff;
    box-shadow: -16px 0 36px rgba(0,0,0,0.14);
    transform: translateX(100%);
    transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10022;
}

.mobile-nav-drawer.is-open {
    transform: translateX(0);
}

.mobile-drawer-header {
    border-bottom: 1px solid #eef1f3;
}

.mobile-drawer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-drawer-menu li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 0 22px;
    border-bottom: 1px solid #eef1f3;
    background: #fff;
}

.mobile-drawer-menu a {
    flex: 1;
    display: block;
    padding: 18px 0;
    color: #1d2329;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
}

.mobile-drawer-menu a.is-current {
    color: #17bec9;
}

.mobile-drawer-arrow {
    color: #b8bfc6;
    font-size: 30px;
    line-height: 1;
    margin-left: 10px;
}

/* ================================================
   平板断点 991px
   ================================================ */
@media (max-width: 991px) {
    .header-nav { height: 80px; }
    .header-nav .container { width: 94%; }
    .header-nav ul { gap: 18px; }
    .header-nav ul li a { font-size: 15px; }

    .hero-overlay-text .header-sub-text h2 { font-size: 38px; }
    .hero-overlay-text .header-sub-text p { font-size: 16px; }

    .tech-function-grid { grid-template-columns: repeat(2, 1fr); }
    #portfoliolist { grid-template-columns: repeat(2, 1fr); }

    .accordion-strips { height: 380px; gap: 6px; }
    .strip-content h3 { font-size: 22px; }
    .strip-content p { font-size: 14px; }
    .strip-tab span { font-size: 16px; letter-spacing: 5px; }
}

/* ================================================
   移动端断点 768px — 主要布局调整
   ================================================ */
@media (max-width: 768px) {
    .header-nav { display: none; }
    .mobile-nav-shell,
    .mobile-nav-overlay,
    .mobile-nav-drawer { display: block; }
    body { padding-top: 74px; }

    /* Hero */
    .header-top {
        height: clamp(420px, 62vh, 620px);
        min-height: 0;
    }
    .header-top::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(5, 14, 18, 0.62) 0%, rgba(5, 14, 18, 0.18) 42%, rgba(5, 14, 18, 0.04) 100%);
        z-index: 1;
        pointer-events: none;
    }
    .hero-slide img { object-position: center center; }
    .hero-overlay-text {
        align-items: center;
        padding-bottom: 0;
    }
    .hero-overlay-text .container {
        width: 100%;
    }
    .hero-overlay-text .header-sub-text {
        width: min(88vw, 520px);
        margin: 0 auto;
        text-align: center;
    }
    .hero-overlay-text .header-sub-text h2 {
        font-size: 28px;
        margin-bottom: 10px;
        line-height: 1.2;
        color: #fff;
        text-shadow: 0 10px 28px rgba(0,0,0,0.34);
    }
    .hero-overlay-text .header-sub-text p {
        font-size: 14px;
        max-width: none;
        padding: 0 8px;
        line-height: 1.75;
        color: rgba(255,255,255,0.9);
        text-shadow: 0 8px 24px rgba(0,0,0,0.28);
    }

    /* 区块标题 */
    .section-header { padding: 64px 0 28px; }
    .section-header h2 { font-size: 30px; }

    /* 核心业务：横向手风琴 → 竖向堆叠 */
    .accordion-strips {
        flex-direction: column !important;
        height: auto !important;
        gap: 6px;
        padding: 0 16px;
    }
    .strip { flex: none !important; height: 66px; min-height: 0; border-radius: 12px; }
    .strip.active { height: 260px; }
    /* 竖向时 strip-tab 始终可见，仅展开时隐藏 */
    .strip-tab { opacity: 1 !important; pointer-events: auto !important; }
    .strip.active .strip-tab { opacity: 0 !important; pointer-events: none !important; }
    .strip-tab span { writing-mode: horizontal-tb !important; letter-spacing: 2px; font-size: 15px; }
    .strip-content { padding: 28px 20px 20px; }
    .strip-content h3 { font-size: 18px; margin-bottom: 8px; }
    .strip-content p { font-size: 13px; line-height: 1.7; }

    /* 技术引擎 */
    .tech-function-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .tech-function-btn { min-height: 88px; padding: 16px 10px; }
    .tech-function-btn h3 { font-size: 14px; }
    .tech-function-btn span { font-size: 10px; }

    /* 应用场景 */
    #portfoliolist { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .portfolio-wrapper { height: 210px; }

    .scenario-overlay p {
        opacity: 1;
        transform: translateY(0);
    }

    /* 联系我们 */
    .contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .content-contact { padding: 0 0 60px; }

    /* 页脚 */
    .footer { padding: 40px 0; }
}

/* ================================================
   小屏手机断点 480px
   ================================================ */
@media (max-width: 480px) {
    body { padding-top: 68px; }
    .mobile-nav-bar,
    .mobile-drawer-header { height: 68px; padding: 0 14px; }
    .mobile-nav-logo img { height: 36px; }
    .mobile-nav-toggle,
    .mobile-drawer-close { width: 40px; height: 40px; }
    .mobile-nav-toggle span { width: 24px; }
    .header-top {
        height: clamp(360px, 56vh, 500px);
        min-height: 0;
    }
    .hero-overlay-text { padding-bottom: 0; }

    .hero-overlay-text .header-sub-text { width: min(90vw, 360px); }
    .hero-overlay-text .header-sub-text h2 { font-size: 22px; }
    .hero-overlay-text .header-sub-text p { font-size: 13px; }

    .section-header { padding: 56px 0 22px; }
    .section-header h2 { font-size: 24px; }

    .accordion-strips { padding: 0 10px; gap: 5px; }
    .strip { height: 58px; border-radius: 10px; }
    .strip.active { height: 240px; }
    .strip-tab span { font-size: 14px; }

    .tech-function-grid { gap: 8px; }
    .tech-function-btn { min-height: 76px; padding: 12px 8px; }
    .tech-function-btn h3 { font-size: 12px; margin-bottom: 4px; }
    .tech-function-btn span { font-size: 9px; }

    #portfoliolist { grid-template-columns: 1fr; gap: 12px; }
    .portfolio-wrapper { height: 240px; }

    #filters { gap: 8px; flex-wrap: wrap; }
    #filters .filter { padding: 7px 16px; font-size: 13px; }

    .contact-form input,
    .contact-form textarea { font-size: 14px; padding: 12px 14px; }
}