

/* Global Reset & Variables */
:root {
    --primary: #0066cc;
    --primary-dark: #0052a3;
    --text-dark: #223344;
    --text-gray: #667788;
    --light-bg: #f5f7fa;
    --dark-bg: #222f3b;
    --white: #ffffff;
    --transition: all 0.3s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
ul {
    list-style: none;
}
img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.container {
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
}
.section-padding {
    padding: 70px 0;
}
.row-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.sub-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}
h2 {
    font-size: 32px;
    line-height: 1.25;
    margin-bottom: 16px;
    font-weight: 700;
}
p {
    color: var(--text-gray);
    margin-bottom: 16px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.btn.primary {
    background-color: var(--primary);
    color: var(--white);
}
.btn.primary:hover {
    background-color: var(--primary-dark);
}
.btn.outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}
.btn.outline:hover {
    background: var(--white);
    color: var(--dark-bg);
}
.btn.white {
    background-color: var(--white);
    color: var(--dark-bg);
}
.btn.white:hover {
    background-color: #f0f4f8;
}
.link-btn {
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
}
.link-btn:hover {
    color: var(--primary-dark);
}

/* Header */
.site-header {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    background-color: var(--white);
    z-index: 999;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:14px 0;
}
.logo {
    display: flex;
    align-items: center;
    gap:10px;
}
.logo-icon {
    width:34px;
    height:34px;
    background-color: var(--primary);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
}
.logo-text span {
    display:block;
    font-weight:700;
    font-size:16px;
    color:var(--text-dark);
}
.logo-text small {
    font-size:10px;
    color:var(--text-gray);
    letter-spacing: 0.5px;
}
.main-nav .nav-list {
    display:flex;
    gap:28px;
}
.main-nav a {
    font-size:14px;
    font-weight:500;
    color:var(--text-dark);
    padding:6px 0;
    position:relative;
}
.main-nav a.active {
    color:var(--primary);
}





.main-nav > ul > li > a.active::after {
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:2px;
    background-color:var(--primary);
}







.header-actions {
    display:flex;
    align-items:center;
    gap:16px;
}
.search-btn {
    background:transparent;
    border:none;
    cursor:pointer;
    color:var(--text-dark);
}
.hamburger {
    display:none;
    background:transparent;
    border:none;
    flex-direction:column;
    gap:5px;
}
.hamburger span {
    width:24px;
    height:2px;
    background-color:var(--text-dark);
}





/* ==========================
   Mobile Menu
========================== */

.mobile-menu,
.mobile-menu-overlay {
    display: none;
}

@media (max-width: 991px) {

    /* 隐藏桌面导航 */
    .main-nav,
    .header-actions {
        display: none !important;
    }

    /* 汉堡按钮 */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 42px;
        height: 42px;
        padding: 8px;
        border: none;
        background: transparent;
        cursor: pointer;
        margin-left: auto;
    }

    .hamburger span {
        display: block;
        width: 26px;
        height: 2px;
        background: #10264a;
        transition: .3s;
    }

    /* 遮罩层 */
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(8, 22, 45, .55);
        opacity: 0;
        visibility: hidden;
        z-index: 9998;
        transition: .35s;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* 菜单主体 */
    .mobile-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 400px;
        max-width: 88%;
        height: 100%;
        height: 100dvh;
        background: #fff;
        z-index: 9999;
        padding: 25px 25px 0;
        box-sizing: border-box;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform .4s ease;
        box-shadow: -10px 0 40px rgba(0,0,0,.12);
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    /* 顶部 Logo */
    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 28px;
        border-bottom: 1px solid #eee;
    }

    .mobile-logo {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
    }

    .mobile-logo .logo-icon {
        width: 45px;
        height: 45px;
        background: #0754d8;
        border-radius: 8px;
    }

    .mobile-logo .logo-text {
        display: flex;
        flex-direction: column;
    }

    .mobile-logo .logo-text span {
        font-size: 17px;
        font-weight: 800;
        color: #10264a;
    }

    .mobile-logo .logo-text small {
        font-size: 10px;
        letter-spacing: 1.2px;
        color: #75839b;
        margin-top: 4px;
    }

    /* 关闭按钮 */
    .mobile-close {
        width: 40px;
        height: 40px;
        font-size: 34px;
        font-weight: 300;
        border: none;
        background: transparent;
        color: #10264a;
        cursor: pointer;
        line-height: 1;
    }

    /* 导航 */
    .mobile-nav {
        padding: 20px 0;
    }

    .mobile-nav ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .mobile-nav > ul > li {
        margin-bottom: 7px;
    }

    .mobile-nav > ul > li > a,
    .mobile-nav-item > a {
        display: block;
        padding: 16px 12px;
        font-size: 18px;
        font-weight: 600;
        color: #142542;
        text-decoration: none;
        border-radius: 8px;
        transition: .25s;
    }

    .mobile-nav > ul > li > a.active,
    .mobile-nav > ul > li > a:hover {
        color: #0754d8;
        background: #eaf3ff;
    }

    /* 下拉导航 */
    .mobile-nav-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-nav-item > a {
        flex: 1;
    }

    .submenu-toggle {

       padding-right: 100px;

        width: 45px;
        height: 45px;
        border: none;
        background: transparent;
        cursor: pointer;
    }

    .submenu-toggle svg {
        width: 13px;
        height: 9px;
        fill: none;
        stroke: #142542;
        stroke-width: 1.8;
        transition: transform .3s;
    }

    .mobile-dropdown.open .submenu-toggle svg {
        transform: rotate(180deg);
    }

    /* 二级菜单 */
    .mobile-submenu {
        display: none;
        padding: 5px 0 10px 15px !important;
    }

    .mobile-dropdown.open .mobile-submenu {
        display: block;
        animation: menuFade .3s ease;
    }

    .mobile-submenu li a {
        display: block;
        padding: 12px 15px;
        font-size: 14px;
        color: #65738b;
        text-decoration: none;
        border-left: 2px solid #dce8fa;
        transition: .25s;
    }

    .mobile-submenu li a:hover {
        color: #0754d8;
        border-left-color: #0754d8;
        background: #f5f8fd;
    }

    @keyframes menuFade {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* 底部区域 */
    .mobile-menu-bottom {
        margin-top: auto;
        padding-bottom: 0;
    }

    /* 搜索 */
    .mobile-search {
        display: flex;
        align-items: center;
        height: 58px;
        background: #f1f3f7;
        border-radius: 30px;
        padding: 0 18px;
        margin-bottom: 18px;
    }

    .mobile-search button {
        border: none;
        background: none;
        padding: 0;
        margin-right: 12px;
        cursor: pointer;
    }

    .mobile-search svg {
        width: 24px;
        height: 24px;
        fill: none;
        stroke: #10264a;
        stroke-width: 2;
    }

    .mobile-search input {
        width: 100%;
        border: none;
        outline: none;
        background: transparent;
        font-size: 16px;
        color: #10264a;
    }

    /* 报价按钮 */
    .mobile-quote-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 60px;
        border-radius: 12px;
        background: #0754d8;
        color: #fff;
        font-size: 17px;
        font-weight: 700;
        text-decoration: none;
        transition: .3s;
        box-sizing: border-box;
    }

    .mobile-quote-btn:hover {
        background: #003da8;
    }

    /* 底部装饰图 */
    .mobile-menu-image {
        height: 170px;
        margin: 15px -25px 0;
        background:
            url("images/rope-mesh-mobile.jpg")
            center center / cover no-repeat;
    }
}

/* 小屏幕 */
@media (max-width: 480px) {
    .mobile-menu {
        width: 100%;
        max-width: 100%;
        padding: 20px 20px 0;
    }

    .mobile-menu-image {
        margin-left: -20px;
        margin-right: -20px;
        height: 145px;
    }
}






/* 一级菜单 */
.main-nav .nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.main-nav .nav-list > li {
    position: relative;
}

.main-nav .nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 7px;

    height: 50px;
    
    text-decoration: none;
    color: #172943;
    font-size: 15px;
    font-weight: 600;
    transition: color .3s;
}

.main-nav .nav-list > li > a:hover,
.main-nav .nav-list > li:hover > a {
    color: #0754d8;
}

.main-nav .nav-list > li > a svg {
    fill: currentColor;
    transition: transform .3s;
}

/* 二级菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    padding: 12px 0;
    margin: 0;
    list-style: none;
    background: #fff;
    border-top: 3px solid #0754d8;
    box-shadow: 0 12px 35px rgba(0, 25, 65, .12);
    border-radius: 0 0 6px 6px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .3s ease;
    z-index: 999;
}

/* 鼠标悬停显示 */
.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 箭头旋转 */
.dropdown:hover > a svg {
    transform: rotate(180deg);
}

/* 二级菜单链接 */
.dropdown-menu li a {
    display: block;
    padding: 12px 22px;
    color: #526078;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all .25s ease;
}

/* 悬停效果 */
.dropdown-menu li a:hover {
    color: #0754d8;
    background: #f1f6ff;
    padding-left: 28px;
}








/* Footer */
.site-footer {
    background-color:var(--dark-bg);
    padding:45px 0 25px;
    color:#b8c4ce;
}
.footer-inner {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap:30px;
}
.footer-logo {
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:14px;
}
.footer-logo .logo-text span {
    color:#fff;
    font-size:16px;
    font-weight:700;
}
.footer-left p {
    color:#b8c4ce;
    font-size:14px;
}
.footer-col h4 {
    color:#fff;
    font-size:15px;
    margin-bottom:14px;
}
.footer-col li {
    margin-bottom:8px;
}
.footer-col a {
    font-size:14px;
    color:#b8c4ce;
}
.footer-col a:hover {
    color:#fff;
}
.social-links {
    display:flex;
    gap:12px;
}
.social-links a {
    width:34px;
    height:34px;
    border-radius:50%;
    background:#344556;
    display:grid;
    place-items:center;
    color:#fff;
}
.social-links a:hover {
    background:var(--primary);
}
.footer-copyright {
    grid-column: 1 / -1;
    margin-top:30px;
    padding-top:20px;
    border-top:1px solid #344556;
    text-align:center;
    font-size:13px;
}

/* Responsive */
@media (max-width: 992px) {
    .main-nav, .header-actions .search-btn {
        display:none;
    }
    .hamburger {
        display:flex;
    }
    .contact-grid {
        grid-template-columns:1fr;
    }
    .hero-features {
        flex-wrap:wrap;
    }
    .footer-inner {
        grid-template-columns:1fr 1fr;
    }
}
@media (max-width: 640px) {
    .form-row.two-col {
        grid-template-columns:1fr;
    }
    .page-hero-content h1 {
        font-size:32px;
    }
    .footer-inner {
        grid-template-columns:1fr;
    }
    .hero-features {
        flex-direction:column;
        gap:14px;
    }
}








.footer-col p {
    color: #fff;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.8;
    margin: 12px 0;
    overflow-wrap: anywhere;
}






.footer-qrcodes {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    background: #fff;
    padding: 5px;
    border-radius: 4px;
}

.footer-qrcode span {
    display: block;
    margin-top: 7px;
    font-size: 13px;
    color: #aaa;
}












