* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    width: 100%;
    max-width: 1280px;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width:1536px) {
    .container {
        max-width:1536px
    }
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (max-width: 768px) {
    header {
        padding: 0.2rem 1rem;
    }
}
header .logo {
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
    width:140px;
    height:60px;
}
@media (max-width: 768px) {
    header .logo {
        width: 120px;
        height: auto;
    }
}
header nav{
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}
header nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}
header nav a {
    white-space: nowrap;
    margin-right: 3rem;
    text-decoration: none;
    color: #000;
    font-weight: normal;
    transition: font-weight 0.3s;
    position: relative;
}
@media (max-width: 768px) {
    header nav a {
        font-size: .85rem;
        margin-right: 1rem;
    }
}
.nav-link {
    position: relative;
    height:40px;
    line-height:40px;
}
.nav-scrolled a {
    font-weight: 600;
}
.nav-link:hover::after,
.nav-link:active::after,
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #07889b;
    transition: all 0.3s;
}
.nav-link:hover,
.nav-link.active {
    color: #07889b;
}
#mobileMenu .nav-link:hover::after,
#mobileMenu .nav-link:active::after,
#mobileMenu .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 1px;
    background: #07889b;
    transition: all 0.3s;
}
.spacer {
    height: 72px;
}
@media (max-width: 768px) {
    .spacer {
        height: 64px;
    }
}
.bg-mzb,.bg-gray-50{background-color: #f0f8f9;}
.hero-section {
    background-color: #f0f8f9;
    text-align: center;
    padding: 4rem 0 2rem;
}
.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-section img.logo {
    max-width: 200px;
    margin-bottom: 1.5rem;
}
.hero-section h1 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
}
.hero-section h1 span {
    color: #07889b;
    font-weight: 700;
}
.hero-section p {
    font-size: 1rem;
    max-width: 1000px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    color: #555;
}
.hero-section .buttons {
    margin-bottom: 2rem;
}
.hero-section .buttons button {
    padding: 0.75rem 1.5rem;
    background-color: #07889b;
    color: #fff;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.hero-section .buttons a {
    display: inline-block;
    margin-top: 1rem;
    color: #07889b;
    font-weight: 600;
    text-decoration: none;
}
.hero-section .responsive-img {
    width: 100%;
    margin-top: 2rem;
}

.banner { position: relative; overflow: hidden; }
.swiper { width: 100%; height: auto; }
.swiper-slide img { width: 100%; height: auto; /*display: block;*/ }

.section {
    padding: 2rem 0;
}
.section .container {
    padding: 0 1.5rem;
}
.section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    text-align: center;
}
.features div {
    padding: 1rem;
    border-radius: 12px;
    background: #f9f9f9;
    transition: transform 0.3s ease;
}
.features div:hover {
    transform: scale(1.05);
}

.solutions, .cases {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.solution-item, .case-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1rem;
}
.solution-item img, .case-item img {
    transition: transform 0.3s ease;
}
.solution-item img:hover, .case-item img:hover {
    transform: scale(1.05);
}

.footer {
    background: #f2f2f2;
    padding: 2rem 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #888;
}

@media (min-width: 768px) {
    .hero-section h1 { font-size: 2.5rem; }
    .solution-item, .case-item { flex-direction: row; }
    .solution-item img, .case-item img { max-width: 200px; }
}
.mzb-stress-line, .mzb-desc-item, .mzb-stress-h2 {
    position:relative;
    z-index:1
}
.mzb-desc-item:before {
    background:#07889b;
    position:absolute;
    top:8px;
    left:0;
    width:4px;
    height:4px;
    border-radius:4px;
    --tw-content:"";
    content:var(--tw-content)
}
@media (min-width:1024px) {
    .mzb-desc-item:before {
        top:14px
    }
}
.mzb-btn-s {
    border:1px solid #07889b;
    color:#07889b
}
.mzb-btn-s:hover {
    color:#07889b!important
}
.tab-item{
    cursor: pointer;
    border-radius: 9999px;
    background-color: #fff;
}
.floatWindow {
    position:fixed;
    right:0;
    bottom:15%;
    width:70px;
    z-index:99;
    cursor:pointer;
    background-color:#fff;
    box-shadow:0 3px 20px rgba(0,0,0,.06)
}
.floatWindow .list .item {
    position:relative;
    width:100%;
    height:74px;
    text-align:center;
    font-size:12px;
    color:#5c5c5c;
    padding:12px 0
}
.floatWindow .list .item:hover {
    color:#07889b
}
.floatWindow .list .item .iconfont {
    margin-bottom:5px;
    font-size:25px
}
.floatWindow .list .item~.item:before {
    position:absolute;
    content:" ";
    width:48px;
    height:1px;
    background-color:#f0f0f0;
    top:0;
    left:50%;
    margin-left:-24px
}
.floatWindow .list .item .itemCon {
    right:100%;
    position:absolute;
    top:0;
    padding-right:20px
}
.floatWindow .list .item .itemCon .ewm {
    width:140px;
    border:1px solid #eee;
    background-color:#fff;
    padding:8px 6px
}
.floatWindow .list .item .itemCon .ewm .tip {
    font-size:14px;
    color:#666;
    margin-top:6px
}
.floatWindow .list .item .itemCon .ewm .picture {
    width:126px;
    height:126px;
    vertical-align:middle;
    position:relative
}
.floatWindow .list .item .itemCon .ewm .picture img {
    width:100%;
    height:100%
}
.floatWindow .list .item .itemCon .ewm .picture .arrow {
    position:absolute;
    right:-16px;
    top:10px;
    width:0;
    height:0;
    border:8px solid transparent;
    border-left-color:#eee
}
.floatWindow .list .item .itemCon .ewm .picture .arrow:before {
    position:absolute;
    left:-8px;
    top:-7px;
    content:"";
    width:0;
    height:0;
    border:7px solid transparent;
    border-left-color:#fff
}
/* 手机端（<640px）宽度30px */
@media (max-width: 639px) {
    .floatWindow {
        width: 50px;
    }

    .floatWindow .list .item {
        width: 50px;
        height: 50px;
        line-height: 50px;
        padding:5px 0;
    }
    .floatWindow .list .item~.item:before {
        width: 50px;
        left:50%;
    }

    .floatWindow .item .iconfont {
        font-size: 16px;
    }
}
/* 电话弹窗样式 */
.phone-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.phone-modal.active {
    opacity: 1;
    visibility: visible;
}

.phone-modal-content {
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 320px;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.phone-modal.active .phone-modal-content {
    transform: translateY(0);
}

.phone-modal-header {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.phone-modal-header h3 {
    margin: 0;
    color: #000;
    font-size: 18px;
}

.phone-modal-body {
    padding: 24px 16px;
    text-align: center;
}

.phone-number {
    font-size: 24px;
    font-weight: bold;
    color: #07889b;
    margin-bottom: 10px;
}

.phone-hours {
    font-size: 14px;
    color: #000;
    margin-bottom: 20px;
}

.phone-modal-footer {
    display: flex;
    border-top: 1px solid #eee;
}

.phone-modal-footer button {
    flex: 1;
    padding: 14px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.phone-modal-footer .cancel-btn {
    color: #333;
}

.phone-modal-footer .call-btn {
    color: #07889b;
    font-weight: bold;
}
footer.bg-color{
    background:#07889b;
    background:-webkit-linear-gradient(90deg,#07889b,#66b9bf,#e37222);
    background:-moz-linear-gradient(to right,#07889b,#66b9bf,#e37222);
    background:-o-linear-gradient(to right,#07889b,#66b9bf,#e37222);
    background:linear-gradient(90deg,#07889b,#66b9bf,#e37222)
}
footer a, footer p, footer ul li{
    color:hsla(0,0%,100%,.7)
}
.border-mzb{border-color:hsla(0,0%,100%,.2)}
@layer utilities {

    .content-auto {
        content-visibility: auto;
    }
    .scrollbar-hide {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .scrollbar-hide::-webkit-scrollbar {
        display: none;
    }
}
.mzb-stress-line:after,.mzb-stress-h2:after {
    position:absolute;
    bottom:2px;
    left:0;
    z-index:-1;
    height:0;
    width:100%;
    --tw-translate-y:50%;
    background-size:contain;
    background-position:50%;
    background-repeat:no-repeat;
    --tw-content:"";
    content:var(--tw-content);
    padding-bottom:13.76%;
    background-image:url(../images/h2-bg.png)
}
.mzb-stress-line:after{
    transform: translate(5%, 55%) rotate(0deg) skewX(0deg) scaleY(0.9);
}
.mzb-stress-h2:after {
    transform: translate(50%, 30%) rotate(0deg) skewX(0deg) scaleY(0.9);
    background-image:url(../images/pc-2.png);
    padding-bottom:24%
}
.img-center {
    display: block;
    margin: 0 auto;
    max-width: 150px;
    height: auto;
}