/* ============================================================
   洗碗王官网 · 清洁工业风设计系统
   佛山市洗碗王洗涤用品有限公司
   色板：洁净深蓝 × 活力青柠 × 冰白
   类名前缀：ww-（与模板及历史实例站点零重合）
   ============================================================ */

:root {
    /* 色板 */
    --ww-navy: #0c4f7c;
    --ww-navy-deep: #083a5c;
    --ww-blue: #1179b8;
    --ww-sky: #3fa9dc;
    --ww-lime: #8fc31f;
    --ww-lime-deep: #74a312;
    --ww-ice: #f0f7fb;
    --ww-ice-deep: #e2eef6;
    --ww-white: #ffffff;
    --ww-text: #22303a;
    --ww-text-soft: #5c6b76;
    /* 字体 */
    --ww-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    /* 布局 */
    --ww-max: 1140px;
    --ww-radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--ww-sans);
    color: var(--ww-text);
    background: var(--ww-white);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.ww-wrap { max-width: var(--ww-max); margin: 0 auto; padding: 0 22px; }

/* ---------- 顶栏 ---------- */
.ww-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--ww-white);
    border-bottom: 3px solid var(--ww-lime);
    box-shadow: 0 2px 10px rgba(12, 79, 124, 0.08);
}

.ww-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.ww-logo { display: flex; align-items: center; gap: 11px; }

.ww-logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 8px 8px 8px 0;
    background: linear-gradient(135deg, var(--ww-blue), var(--ww-navy));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -1px;
}

.ww-logo-text { line-height: 1.25; }
.ww-logo-text b { display: block; font-size: 18px; color: var(--ww-navy); letter-spacing: 1px; }
.ww-logo-text small { font-size: 11px; color: var(--ww-text-soft); letter-spacing: 2px; }

.ww-nav { display: flex; gap: 6px; }

.ww-nav a {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ww-text);
    border-radius: 6px;
    position: relative;
    transition: color .2s, background .2s;
}

.ww-nav a:hover { color: var(--ww-blue); background: var(--ww-ice); }

.ww-nav a.ww-now {
    color: var(--ww-navy);
    font-weight: 700;
}

.ww-nav a.ww-now::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 2px;
    height: 3px;
    border-radius: 2px;
    background: var(--ww-lime);
}

.ww-toggle {
    display: none;
    background: none;
    border: 1px solid var(--ww-ice-deep);
    border-radius: 6px;
    font-size: 21px;
    color: var(--ww-navy);
    padding: 5px 12px;
    cursor: pointer;
}

/* ---------- 首屏（斜切色块） ---------- */
.ww-hero {
    position: relative;
    background: linear-gradient(118deg, var(--ww-navy-deep) 0%, var(--ww-navy) 46%, var(--ww-blue) 100%);
    color: #fff;
    padding: 92px 0 150px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 70px), 0 100%);
    overflow: hidden;
}

.ww-hero-inner { position: relative; z-index: 2; max-width: 640px; }

.ww-hero-kicker {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-left: 4px solid var(--ww-lime);
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 26px;
}

.ww-hero-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.ww-hero-title em { font-style: normal; color: var(--ww-lime); }

.ww-hero-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 34px;
    max-width: 520px;
}

.ww-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.ww-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    font-size: 15px;
    letter-spacing: 2px;
    transition: all .25s;
}

.ww-btn:hover { background: rgba(255, 255, 255, 0.12); }

.ww-btn--lime {
    background: var(--ww-lime);
    border-color: var(--ww-lime);
    color: #1d3300;
    font-weight: 700;
}

.ww-btn--lime:hover { background: var(--ww-lime-deep); border-color: var(--ww-lime-deep); color: #fff; }

/* 气泡装饰 */
.ww-bubble {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

.ww-bubble--a { width: 220px; height: 220px; right: 8%; top: -60px; }
.ww-bubble--b { width: 120px; height: 120px; right: 22%; top: 130px; background: rgba(143, 195, 31, 0.10); border-color: rgba(143, 195, 31, 0.35); }
.ww-bubble--c { width: 66px; height: 66px; right: 12%; top: 250px; background: rgba(255, 255, 255, 0.07); }
.ww-bubble--d { width: 300px; height: 300px; left: -110px; bottom: -140px; }

/* ---------- 数字带（上浮卡） ---------- */
.ww-stats { margin-top: -86px; position: relative; z-index: 3; }

.ww-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--ww-white);
    border-radius: var(--ww-radius);
    box-shadow: 0 14px 40px rgba(12, 79, 124, 0.14);
    overflow: hidden;
}

.ww-stat {
    padding: 28px 18px;
    text-align: center;
    border-right: 1px solid var(--ww-ice-deep);
}

.ww-stat:last-child { border-right: none; }

.ww-stat-num { font-size: 32px; font-weight: 800; color: var(--ww-navy); line-height: 1.2; }
.ww-stat-num i { font-style: normal; font-size: 15px; color: var(--ww-lime-deep); font-weight: 700; margin-left: 2px; }
.ww-stat-label { font-size: 13px; color: var(--ww-text-soft); margin-top: 6px; }

/* ---------- 通用区块 ---------- */
.ww-section { padding: 76px 0; }
.ww-section--ice { background: var(--ww-ice); }

.ww-section--navy {
    background: linear-gradient(125deg, var(--ww-navy-deep), var(--ww-navy));
    color: #fff;
}

.ww-head { margin-bottom: 44px; }
.ww-head-kicker { font-size: 13px; letter-spacing: 4px; color: var(--ww-lime-deep); font-weight: 700; }
.ww-section--navy .ww-head-kicker { color: var(--ww-lime); }

.ww-head-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--ww-navy);
    letter-spacing: 1px;
    margin-top: 6px;
    padding-left: 16px;
    border-left: 5px solid var(--ww-lime);
    line-height: 1.35;
}

.ww-section--navy .ww-head-title { color: #fff; }
.ww-head-sub { margin-top: 12px; color: var(--ww-text-soft); max-width: 640px; font-size: 15px; }
.ww-section--navy .ww-head-sub { color: rgba(255, 255, 255, 0.75); }

/* ---------- 产品卡 ---------- */
.ww-prodgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.ww-prod {
    background: var(--ww-white);
    border: 1px solid var(--ww-ice-deep);
    border-radius: var(--ww-radius);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}

.ww-prod:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(12, 79, 124, 0.15); }

.ww-prod-visual {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 4px;
    position: relative;
    overflow: hidden;
}

.ww-prod-visual::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 14px solid rgba(255, 255, 255, 0.14);
    right: -46px;
    bottom: -60px;
}

.ww-prod-visual--a { background: linear-gradient(135deg, #1179b8, #0c4f7c); }
.ww-prod-visual--b { background: linear-gradient(135deg, #3fa9dc, #1179b8); }
.ww-prod-visual--c { background: linear-gradient(135deg, #8fc31f, #5f8f0e); }
.ww-prod-visual--d { background: linear-gradient(135deg, #17a89b, #0d7a70); }

.ww-prod-body { padding: 20px 20px 24px; }
.ww-prod-body h3 { font-size: 18px; color: var(--ww-navy); margin-bottom: 8px; }
.ww-prod-body p { font-size: 14px; color: var(--ww-text-soft); line-height: 1.7; }

.ww-prod-tag {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
    color: var(--ww-lime-deep);
    border: 1px solid var(--ww-lime);
    border-radius: 20px;
    padding: 2px 12px;
}

/* ---------- 应用领域 ---------- */
.ww-fieldgrid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.ww-field {
    background: var(--ww-white);
    border-radius: var(--ww-radius);
    padding: 30px 14px 26px;
    text-align: center;
    border-bottom: 4px solid transparent;
    transition: border-color .25s, transform .25s;
}

.ww-field:hover { border-bottom-color: var(--ww-lime); transform: translateY(-4px); }

.ww-field-ring {
    width: 68px;
    height: 68px;
    margin: 0 auto 14px;
    border-radius: 50%;
    border: 3px solid var(--ww-sky);
    color: var(--ww-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    background: var(--ww-ice);
}

.ww-field h3 { font-size: 16px; color: var(--ww-navy); margin-bottom: 6px; }
.ww-field p { font-size: 13px; color: var(--ww-text-soft); line-height: 1.65; }

/* ---------- 实力三柱（深蓝区） ---------- */
.ww-strengths {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ww-strength {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--ww-radius);
    padding: 30px 26px;
    background: rgba(255, 255, 255, 0.05);
}

.ww-strength-no {
    font-size: 15px;
    font-weight: 800;
    color: var(--ww-lime);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.ww-strength h3 { font-size: 19px; margin-bottom: 10px; }
.ww-strength p { font-size: 14px; color: rgba(255, 255, 255, 0.78); }

/* ---------- 理念卡 ---------- */
.ww-ideals {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ww-ideal {
    background: var(--ww-white);
    border-left: 4px solid var(--ww-sky);
    border-radius: 0 var(--ww-radius) var(--ww-radius) 0;
    padding: 24px 22px;
    box-shadow: 0 4px 16px rgba(12, 79, 124, 0.07);
}

.ww-ideal:nth-child(even) { border-left-color: var(--ww-lime); }
.ww-ideal h3 { font-size: 17px; color: var(--ww-navy); margin-bottom: 8px; }
.ww-ideal p { font-size: 14px; color: var(--ww-text-soft); }

/* ---------- 经销合作 CTA 色带 ---------- */
.ww-coopband {
    background: linear-gradient(112deg, var(--ww-lime) 0%, #6ea314 60%, #55850c 100%);
    clip-path: polygon(0 22px, 100% 0, 100% 100%, 0 100%);
    color: #fff;
    padding: 74px 0 52px;
}

.ww-coop-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
}

.ww-coop-inner h2 { font-size: 28px; font-weight: 800; letter-spacing: 1px; }
.ww-coop-inner p { color: rgba(255, 255, 255, 0.88); margin-top: 8px; font-size: 15px; }

.ww-tel-big {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--ww-white);
    color: var(--ww-navy);
    font-size: 24px;
    font-weight: 800;
    padding: 14px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
    transition: transform .25s;
}

.ww-tel-big:hover { transform: scale(1.04); }
.ww-tel-big small { font-size: 13px; font-weight: 500; color: var(--ww-text-soft); }

/* ---------- 关于页版块 ---------- */
.ww-block { padding: 66px 0; }
.ww-block--ice { background: var(--ww-ice); }

.ww-lead {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 44px;
    align-items: start;
}

.ww-lead-text p { margin-bottom: 14px; font-size: 15.5px; color: var(--ww-text); }

.ww-lead-card {
    background: linear-gradient(150deg, var(--ww-navy), var(--ww-blue));
    border-radius: var(--ww-radius);
    color: #fff;
    padding: 34px 30px;
    position: relative;
    overflow: hidden;
}

.ww-lead-card::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 16px solid rgba(143, 195, 31, 0.25);
    right: -70px;
    top: -70px;
}

.ww-lead-card h3 { font-size: 19px; margin-bottom: 16px; }

.ww-lead-card li {
    padding: 9px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.22);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.ww-lead-card li:last-child { border-bottom: none; }
.ww-lead-card li b { color: var(--ww-lime); white-space: nowrap; }

/* 服务承诺清单 */
.ww-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; margin-top: 20px; }

.ww-checks li {
    background: var(--ww-white);
    border-radius: 8px;
    padding: 14px 18px 14px 46px;
    position: relative;
    font-size: 14.5px;
    box-shadow: 0 3px 12px rgba(12, 79, 124, 0.06);
}

.ww-checks li::before {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ww-lime);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 联系卡 */
.ww-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

.ww-contact-card {
    background: var(--ww-white);
    border-top: 4px solid var(--ww-blue);
    border-radius: var(--ww-radius);
    padding: 30px 28px;
    box-shadow: 0 6px 20px rgba(12, 79, 124, 0.08);
}

.ww-contact-card:last-child { border-top-color: var(--ww-lime); }
.ww-contact-card h3 { font-size: 18px; color: var(--ww-navy); margin-bottom: 14px; }
.ww-contact-card p { font-size: 14.5px; color: var(--ww-text-soft); margin-bottom: 8px; }

.ww-contact-tel {
    display: inline-block;
    margin-top: 8px;
    font-size: 26px;
    font-weight: 800;
    color: var(--ww-navy);
}

.ww-contact-tel:hover { color: var(--ww-blue); }

/* ---------- 页脚 ---------- */
.ww-footer { background: var(--ww-navy-deep); color: rgba(255, 255, 255, 0.75); }

.ww-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding: 52px 0 36px;
}

.ww-footer-brand .ww-logo-mark { margin-bottom: 12px; }
.ww-footer-brand b { color: #fff; font-size: 17px; display: block; margin-bottom: 10px; }
.ww-footer-brand p { font-size: 13.5px; line-height: 1.8; }

.ww-footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ww-lime);
    display: inline-block;
}

.ww-footer-col a, .ww-footer-col p { display: block; font-size: 13.5px; padding: 4px 0; }
.ww-footer-col a:hover { color: var(--ww-lime); }

.ww-footer-tel { font-size: 21px; font-weight: 800; color: #fff !important; }

.ww-footer-base {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0;
    text-align: center;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.5);
}

.ww-footer-base a { color: rgba(255, 255, 255, 0.6); }
.ww-footer-base a:hover { color: var(--ww-lime); }

/* ---------- 滚动渐显（.ww-js 门控，无 JS 全显） ---------- */
.ww-js .ww-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.ww-js .ww-reveal.ww-shown { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
    .ww-prodgrid { grid-template-columns: repeat(2, 1fr); }
    .ww-fieldgrid { grid-template-columns: repeat(3, 1fr); }
    .ww-ideals { grid-template-columns: repeat(2, 1fr); }
    .ww-strengths { grid-template-columns: 1fr; }
    .ww-lead { grid-template-columns: 1fr; }
    .ww-hero-title { font-size: 36px; }
}

@media (max-width: 768px) {
    .ww-toggle { display: block; }

    /* 无 JS 时导航平铺；.ww-js 下折叠为汉堡开合 */
    .ww-nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--ww-white);
        flex-direction: column;
        padding: 10px 22px 16px;
        border-bottom: 3px solid var(--ww-lime);
        box-shadow: 0 12px 24px rgba(12, 79, 124, 0.12);
    }

    .ww-js .ww-nav { display: none; }
    .ww-js .ww-nav.ww-open { display: flex; }

    .ww-hero { padding: 64px 0 120px; }
    .ww-hero-title { font-size: 29px; }

    .ww-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .ww-stat { border-bottom: 1px solid var(--ww-ice-deep); }
    .ww-stat:nth-child(even) { border-right: none; }

    .ww-section { padding: 52px 0; }
    .ww-head-title { font-size: 24px; }

    .ww-prodgrid { grid-template-columns: 1fr; }
    .ww-fieldgrid { grid-template-columns: repeat(2, 1fr); }
    .ww-ideals { grid-template-columns: 1fr; }
    .ww-checks { grid-template-columns: 1fr; }
    .ww-contact-grid { grid-template-columns: 1fr; }

    .ww-coop-inner { flex-direction: column; align-items: flex-start; }
    .ww-tel-big { font-size: 20px; }

    .ww-footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 40px 0 26px; }
}
