/* 全局重置 & 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
    word-wrap: break-word;
}

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

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

button {
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

/* 汉堡菜单样式 - 移动端新增 */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

nav {
    min-height: 80px;
    background: #F7FCFF;
    /* background: linear-gradient(9deg, rgba(255, 255, 255, 0) 70%, #CDEBFB 100%); */
    color: #333;
    padding: 20px 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-logo {
    width: 74px;
    height: 30px;
    margin-right: 40px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.nav-links a {
    color: #333;
    display: flex;
    align-items: center;
    font-size: 16px;
    padding: 4px 0;
    max-width: 130px;
    border-bottom: 2px solid transparent;
    text-align: center;
    word-break: break-all;
}

.nav-links a:hover {
    color: #348AF2;
}

.nav-links a.active {
    color: #095BBF;
    font-weight: bold;
    border-bottom: 2px solid #007bff;
}

.nav-contact {
    width: 80px;
    height: 32px;
    background: #0E6ADA;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #ffffff !important;
}

.nav-contact:hover {
    background: #348AF2;
}

.nav-lang {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #999999;
    position: relative;
}

.nav-lang-flex {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.icon-lang {
    width: 16px;
    height: 16px;
    background: url('https://resource.hpti.net/hpt-foreign-website/images/language-icon.png') no-repeat center;
    background-size: contain;
}

.icon-down {
    width: 16px;
    height: 16px;
    background: url('https://resource.hpti.net/hpt-foreign-website/images/down.png') no-repeat center;
    background-size: contain;
}

#languageId:hover>div:nth-child(1) {
    background-image: url('https://resource.hpti.net/hpt-foreign-website/images/language-icon-hover.png');
}

#languageId:hover>div:nth-child(3) {
    background-image: url('https://resource.hpti.net/hpt-foreign-website/images/down-hover.png');
}

#languageId:hover>div:nth-child(2) {
    color: #333333;
}

.water-drop {
    width: 50px;
    height: 38px;
    position: absolute;
    right: 50px;
}

.lang-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    background-color: #ffffff;
    padding: 12px 18px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    display: none;
    z-index: 999;
    text-align: center;
}

.lang-option {
    padding: 8px 0;
    cursor: pointer;
    font-size: 14px;
    color: #999999;
}

.lang-option:hover {
    color: #333333;
}

/* banner图 */
.water-banner {
    width: 100%;
    height: 800px;
    background-image: url("https://resource.hpti.net/hpt-foreign-website/images/water-treatment/industrial-banner.png");
    background-size: cover;
    background-position: center;
    color: #333333;
    padding: 180px 0 0 360px;
    box-sizing: border-box;
    position: relative;
}

.banner-title {
    font-weight: bold;
    font-size: 48px;
    color: #333333;
    letter-spacing: 2px;
    text-shadow: 0px 2px 4px #08458E;
}

.banner-text {
    font-size: 36px;
    color: #333333;
    margin-top: 20px;
}

.banner-btn {
    width: 180px;
    height: 48px;
    background: #0E6ADA;
    border-radius: 24px;
    font-weight: bold;
    font-size: 24px;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.treatment-icon {
    width: 738px;
    height: 786px;
    position: absolute;
    top: 14px;
    right: 68px;
}

/* 介绍 */
.introduce-box {
    width: 100%;
    padding: 100px 0;
    background: linear-gradient(180deg, #F6F8FF 0%, #EBFAFF 100%);
}

.introduce-top {
    display: flex;
    justify-content: center;
    align-items: center;
}

.introduce-top_title {
    font-weight: bold;
    font-size: 36px;
    color: #333333;
}

.introduce-top_text {
    font-size: 24px;
    color: #999999;
    margin-top: 20px;
}

.treatment-icon1 {
    width: 690px;
    height: 500px;
    margin-left: 24px;
}

.introduce-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
}

.introduce-item_flex {
    display: flex;
    align-items: center;
}

.introduce-item_circle {
    width: 16px;
    height: 16px;
    background: #0E6ADA;
    border-radius: 50px;
    margin-right: 20px;
    flex-shrink: 0;
}

.introduce-item_title {
    font-weight: bold;
    font-size: 24px;
    color: #333333;
}

.introduce-item_text {
    font-size: 16px;
    color: #666666;
    margin-top: 20px;
    margin-left: 36px;
}

.treatment-icon2 {
    width: 384px;
    height: 300px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    overflow: hidden;
    transition: background-size 0.3s ease;
    cursor: pointer;
    border-radius: 18px;
    z-index: 99;
    margin-top: 20px;
}

.treatment-icon2:hover {
    background-size: 105%;
}

.introduce-mar {
    margin-left: 24px;
}

.ru-introduce-wid {
    width: 28%;
}

/* 水处理能力 */
.capacity-box {
    width: 100%;
    background-image: url("https://resource.hpti.net/hpt-foreign-website/images/water-treatment/treatment-icon5.png");
    background-size: cover;
    background-position: center;
    padding: 108px 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.capacity-title {
    font-weight: bold;
    font-size: 48px;
    color: #333333;
}

.capacity-blue {
    color: #0E6ADA;
}

.capacity-text {
    font-size: 36px;
    color: #333333;
    margin-top: 40px;
}

.treatment-icon6 {
    width: 514px;
    height: 486px;
    margin-left: 37px;
}

.treatment-icon7 {
    width: 218px;
    height: 218px;
    position: absolute;
    left: 0;
    bottom: 0;
}

.treatment-icon7-other {
    width: 218px;
    height: 218px;
    position: absolute;
    right: 0;
    top: 0;
}

/* 程序 */
.procedure-box {
    padding: 100px 0 100px 360px;
    box-sizing: border-box;
    width: 100%;
}

.procedure-blue {
    font-weight: bold;
    font-size: 36px;
    background-image: -webkit-linear-gradient(80deg, #0E6ADA 0%, #40CAFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.procedure-sub {
    font-weight: bold;
    font-size: 36px;
    color: #333333;
    margin-top: 12px;
}

.procedure-text {
    width: 50%;
    font-size: 24px;
    color: #999999;
    margin-top: 40px;
}

.procedure-flex {
    display: flex;
    align-items: center;
    margin-top: 60px;
}

.procedure-image {
    width: 586px;
    height: 480px;
    margin-right: 128px;
}

.procedure-width {
    width: 40%;
}

.procedure-flex_item {
    padding: 35px 36px;
    border-left: 8px solid rgba(14, 106, 218, 0.2);
    cursor: pointer;
}

.procedure-flex_item:hover {
    border-left: 8px solid #0E6ADA;
}

.procedure-flex_item:hover .procedure-flex_title {
    color: #0E6ADA;
}

.procedure-flex_item:hover .procedure-flex_text {
    color: #0E6ADA;
}

.procedure-flex_title {
    font-weight: bold;
    font-size: 24px;
    color: #333333;
    margin-bottom: 20px;
}

.procedure-flex_text {
    font-size: 16px;
    color: #666666;
}

/* 联系我们 */
.contact-box {
    width: 100%;
    background: #0E6ADA;
    padding: 60px 0 40px 0;
    text-align: center;
    box-sizing: border-box;
}

.contact-title {
    font-weight: bold;
    font-size: 24px;
    color: #FFFFFF;
}

.contact-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
}

.contact-btn {
    width: 258px;
    height: 80px;
    background: #FFFFFF;
    border-radius: 20px;
    font-weight: bold;
    font-size: 24px;
    color: #0E6ADA;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* 页脚 */
footer {
    background: #022045;
    color: #ffffff;
    padding: 40px 120px 20px 120px;
}

.footer-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #808FA2;
    padding-bottom: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    width: 74px;
    height: 30px;
}

.footer-brand {
    width: 20%;
    min-width: 250px;
}

.footer-brand .footer-introduce {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
    line-height: 2;
}

.footer-links-column {
    width: 20%;
    min-width: 200px;
}

.footer-links-column .footer-links-title {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column li {
    margin-bottom: 16px;
}

.footer-links-column a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links-column a:hover {
    color: #ffffff;
}

.footer-contact {
    width: 15%;
    min-width: 150px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social img {
    width: 37px;
    height: 37px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.footer-social img[src$="linkedin.png"]:hover {
    content: url('https://resource.hpti.net/hpt-foreign-website/images/linkedin-hover.png');
}

.footer-social img[src$="facebook.png"]:hover {
    content: url('https://resource.hpti.net/hpt-foreign-website/images/facebook-hover.png');
}

.footer-social img[src$="youtube.png"]:hover {
    content: url('https://resource.hpti.net/hpt-foreign-website/images/youtube-hover.png');
}

.footer-social img[src$="Twitter.png"]:hover {
    content: url('https://resource.hpti.net/hpt-foreign-website/images/Twitter-hover.png');
}

.fil {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.reserved {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    text-align: center;
}

/* Cookie提示 */
.cookie-notice {
    background: #333333;
    padding: 20px 120px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-notice .cookie-title {
    width: 70%;
    font-weight: bold;
    font-size: 14px;
    color: #FFFFFF;
}

.cookie-notice button {
    width: 148px;
    height: 48px;
    background: #0E6ADA;
    border-radius: 12px;
    font-weight: bold;
    font-size: 20px;
    color: #FFFFFF;
}

.cookie-notice button:hover {
    background: #0056b3;
}

.cookie-notice .cookie-blue {
    color: #0E6ADA;
    text-decoration: underline;
    cursor: pointer;
}

/* 侧边联系/返回顶部 */
.relation-box {
    position: fixed;
    right: 20px;
    top: 40%;
    width: 68px;
    background: #0E6ADA;
    box-shadow: 0px 0px 4px 2px rgba(87, 147, 220, 0.5);
    border-radius: 8px;
    z-index: 1000;
    text-align: center;
    /* padding: 10px 0; */
    cursor: pointer;
    word-break: break-all;
}

.relation-item {
    padding: 10px 0;
}

.relation-item:hover,
.goup-box:hover {
    background: #348AF2;
}

.relation-box img {
    width: 32px;
    height: 32px;
}

.relation-box .relation-line {
    width: 100%;
    height: 1px;
    background: #4C98F5;
}

.relation-box .relation-text {
    font-size: 14px;
    color: #FFFFFF;
    margin-top: 7px;
}

.goup-box {
    padding: 18px;
    position: fixed;
    right: 20px;
    top: 60%;
    text-align: center;
    cursor: pointer;
    background: #0E6ADA;
    box-shadow: 0px 0px 4px 2px rgba(87, 147, 220, 0.5);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.goup-box img {
    width: 32px;
    height: 32px;
}

@media (max-width: 1200px) {
    nav {
        padding: 20px 60px;
    }

    .procedure-box {
        padding: 80px 0 80px 200px;
    }

    .procedure-text {
        width: 70%;
    }

    .procedure-image {
        width: 480px;
        height: 400px;
        margin-right: 80px;
    }

    footer {
        padding: 40px 60px 20px;
    }

    .cookie-notice {
        padding: 20px 60px;
    }
}

@media (max-width: 768px) {

    /* 导航栏重构 - 汉堡菜单 */
    .hamburger {
        display: flex;
    }

    nav {
        flex-direction: row;
        padding: 15px 5vw;
        min-height: 70px;
    }

    .nav-logo {
        margin-right: 0;
        margin-bottom: 0;
    }

    .nav-lang {
        margin-top: 0;
        margin-left: 15px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 250px;
        background-color: #F7FCFF;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 998;
        padding: 20px;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 18px;
        max-width: 100%;
        padding: 10px 0;
        justify-content: center;
    }

    .water-drop {
        display: none;
    }

    .nav-lang {
        margin-top: 0;
        margin-left: 15px;
    }

    .lang-dropdown {
        width: 100px;
        top: -28vh;
    }

    .water-banner {
        padding: 100px 5vw 0;
        height: 500px;
        /* 避免背景图片拉伸变形 */
        background-size: cover;
        background-position: center left;
        /* 隐藏超出区域的内容 */
        overflow: hidden;
    }

    .banner-title {
        font-size: 32px;
        /* 限制文字宽度，避免换行混乱 */
        max-width: 90%;
        line-height: 1.3;
    }

    .banner-text {
        font-size: 24px;
        max-width: 90%;
        margin-top: 15px;
        line-height: 1.2;
    }

    .treatment-icon {
        /* 移动端隐藏过大的图标，避免遮挡文字 */
        display: none;
    }

    .introduce-item {
        /* 移动端改为纵向布局 */
        flex-direction: column;
        margin-top: 60px;
        gap: 40px;
    }

    .introduce-mar {
        margin-left: 0;
        margin-top: 0;
    }

    .treatment-icon1 {
        /* 缩小图标，避免溢出 */
        width: 90%;
        height: auto;
        margin-left: 0;
        margin-top: 30px;
    }

    .introduce-top {
        /* 纵向布局，更贴合移动端 */
        flex-direction: column;
        text-align: center;
    }

    .treatment-icon2 {
        width: 100%;
        height: 200px;
    }

    .capacity-box {
        flex-direction: column;
        text-align: center;
        padding: 60px 5vw;
    }

    .introduce-top_title {
        font-size: 24px;
    }

    .capacity-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .capacity-text {
        font-size: 24px;
        margin-top: 20px;
    }

    .treatment-icon6 {
        width: 90%;
        height: auto;
        margin-left: 0;
    }

    .procedure-box {
        padding: 60px 5vw;
    }

    .procedure-blue,
    .procedure-sub {
        font-size: 30px;
        text-align: center;
    }

    .procedure-text {
        width: 100%;
        font-size: 18px;
        text-align: center;
    }

    .procedure-flex {
        flex-direction: column;
        gap: 40px;
    }

    .procedure-image {
        width: 100%;
        height: auto;
        margin-right: 0;
    }

    .procedure-width {
        width: 100%;
    }

    .procedure-flex_item {
        padding: 20px 20px;
    }

    .ru-introduce-wid {
        width: 90%;
    }

    /* 隐藏角落装饰图标，避免遮挡 */
    .treatment-icon7,
    .treatment-icon7-other {
        display: none;
    }

    /* 页脚适配 */
    footer {
        padding: 40px 5vw 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }

    .footer-brand,
    .footer-links-column,
    .footer-contact {
        width: 100%;
        min-width: auto;
    }

    .footer-social {
        justify-content: center;
    }

    /* Cookie提示适配 */
    .cookie-notice {
        padding: 15px 5vw;
        flex-direction: column;
        align-items: center;
    }

    .cookie-notice .cookie-title {
        width: 100%;
        font-size: 13px;
        margin-bottom: 10px;
        text-align: center;
    }

    .cookie-notice button {
        width: 100%;
        height: 40px;
        font-size: 16px;
    }

    /* 侧边栏适配 */
    .relation-box {
        width: 60px;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .relation-box img {
        width: 24px;
        height: 24px;
    }

    .relation-text {
        font-size: 12px !important;
    }

    .goup-box {
        width: 60px;
        height: 60px;
        padding: 8px;
        right: 10px;
        top: calc(50% + 100px);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(0);
        position: fixed;
    }

    .goup-box img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .water-banner {
        height: 400px;
        padding-top: 80px;
    }

    .banner-title {
        font-size: 24px;
    }

    .banner-text {
        font-size: 18px;
    }
}