*{margin:0;padding:0;box-sizing:border-box}

body{font-family:"Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;color:#333;line-height:1.6;background:#f5f5f5;font-size:15px;}

a{text-decoration:none;color:inherit}

.rwbuk-container{max-width:1130px;margin:0 auto;padding:0 20px}

.rwbuk-header{background:hsl(327, 53%, 29%);color:#fff;padding:18px 0;position:sticky;top:0;z-index:100}

.rwbuk-header-inner{display:flex;justify-content:space-between;align-items:center}

.rwbuk-logo{font-size:22px;font-weight:700}

.rwbuk-nav{display:flex;gap:25px}

.rwbuk-nav-link{color:rgba(255,255,255,.85);font-size:15px;padding:5px 0;border-bottom:2px solid transparent;transition:.3s}

.rwbuk-nav-link:hover,.rwbuk-nav-link.rwbuk-active{color:#fff;border-bottom-color:hsl(142, 57%, 52%)}

.rwbuk-banner,.rwbuk-page-banner{min-height:320px;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff}

.rwbuk-banner-mask{background:rgba(0,0,0,.45);padding:50px 30px;border-radius:10px}

.rwbuk-banner h1,.rwbuk-page-banner h1{font-size:32px;margin-bottom:12px}

.rwbuk-banner p{font-size:16px;opacity:.9}

.rwbuk-section{padding:73px 0}

.rwbuk-bg-light{background:#f7f7f7}

.rwbuk-section-title{text-align:center;font-size:26px;margin-bottom:40px;color:hsl(327, 48%, 17%);position:relative}

.rwbuk-section-title::after{content:"";display:block;width:80px;height:3px;background:linear-gradient(90deg,hsl(142, 57%, 52%),hsl(327, 53%, 29%));margin:12px auto 0}

.rwbuk-content{max-width:800px;margin:0 auto;font-size:15px;line-height:1.6;white-space:pre-wrap}

.rwbuk-product-grid,.rwbuk-case-grid,.rwbuk-service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}

.rwbuk-product-card,.rwbuk-case-card,.rwbuk-service-card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.08);transition:.3s;border:none}

.rwbuk-product-card:hover,.rwbuk-case-card:hover,.rwbuk-service-card:hover{transform:translateY(-4px);box-shadow:0 6px 20px rgba(0,0,0,.12)}

.rwbuk-product-card img,.rwbuk-case-card img,.rwbuk-service-card img{width:100%;height:200px;object-fit:cover}

.rwbuk-product-card h3,.rwbuk-case-card h3,.rwbuk-service-card h3{padding:15px 18px 8px;font-size:17px}

.rwbuk-news-list{max-width:800px;margin:0 auto}

.rwbuk-news-item{background:#fff;padding:20px 25px;margin-bottom:15px;border-radius:10px;box-shadow:0 2px 8px rgba(0,0,0,.06)}

.rwbuk-news-item h3{font-size:17px;margin-bottom:8px}

.rwbuk-news-date{color:#999;font-size:13px}

.rwbuk-product-detail{display:flex;gap:30px;align-items:flex-start;flex-wrap:wrap}

.rwbuk-detail-img{width:400px;height:300px;object-fit:cover;overflow:hidden;border-radius:10px;box-shadow:0 4px 16px rgba(0,0,0,.1)}
.rwbuk-detail-img img{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}

.rwbuk-product-detail .rwbuk-content{flex:1;min-width:280px;margin:0}

.rwbuk-footer{background:hsl(327, 48%, 17%);color:rgba(255,255,255,.7);text-align:center;padding:30px 0;font-size:14px}



/* 汉堡菜单按钮 */

.rwbuk-hamburger{display:none;flex-direction:column;justify-content:space-around;width:28px;height:24px;background:transparent;border:none;cursor:pointer;padding:0;z-index:110}

.rwbuk-hamburger span{display:block;width:100%;height:3px;background:#fff;border-radius:2px;transition:.3s}

.rwbuk-hamburger-active span:nth-child(1){transform:rotate(45deg) translate(6px,6px)}

.rwbuk-hamburger-active span:nth-child(2){opacity:0}

.rwbuk-hamburger-active span:nth-child(3){transform:rotate(-45deg) translate(6px,-6px)}



.rwbuk-header{background:linear-gradient(120deg,hsl(327, 53%, 29%),hsl(142, 57%, 52%),hsl(327, 53%, 29%));background-size:220% 220%;animation:rwbuk-hg 9s ease infinite}@keyframes rwbuk-hg{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
@media(max-width:768px){

    .rwbuk-hamburger{display:flex}

    .rwbuk-nav{display:none;flex-direction:column;width:100%;gap:0;background:hsl(327, 53%, 29%);padding:0;position:absolute;top:100%;left:0}

    .rwbuk-nav.rwbuk-nav-open{display:flex}

    .rwbuk-nav-link{display:block;padding:12px 20px;border-bottom:1px solid rgba(255,255,255,.1)}

    .rwbuk-header-inner{flex-direction:row;justify-content:space-between;align-items:center;gap:8px;flex-wrap:nowrap;padding:0 2px}

    .rwbuk-banner h1,.rwbuk-page-banner h1{font-size:24px}

    .rwbuk-product-grid,.rwbuk-case-grid,.rwbuk-service-grid{grid-template-columns:1fr}

    .rwbuk-product-detail{flex-direction:column}

    .rwbuk-detail-img{width:100%}
}
