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

body{font-family:"Segoe UI", "Microsoft YaHei", "WenQuanYi Zen Hei", sans-serif;color:#333;line-height:1.7;background:#f5f5f5;font-size:16px;}

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

.madfu-container{max-width:1144px;margin:0 auto;padding:0 20px}

.madfu-header{background:hsl(124, 61%, 39%);color:#fff;padding:10px 0;position:sticky;top:0;z-index:100}

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

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

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

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

.madfu-nav-link:hover,.madfu-nav-link.madfu-active{color:#fff;border-bottom-color:hsl(166, 83%, 55%)}

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

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

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

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

.madfu-section{padding:54px 0}

.madfu-bg-light{background:#fefefe}

.madfu-section-title{text-align:center;font-size:26px;margin-bottom:40px;color:hsl(124, 56%, 27%);position:relative}

.madfu-section-title::after{content:"";display:block;width:80px;height:3px;background:linear-gradient(90deg,hsl(166, 83%, 55%),hsl(124, 61%, 39%));margin:12px auto 0}

.madfu-content{max-width:800px;margin:0 auto;font-size:16px;line-height:1.7;white-space:pre-wrap}

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

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

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

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

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

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

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

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

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

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

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

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

.madfu-footer{background:hsl(124, 56%, 27%);color:rgba(255,255,255,.7);text-align:center;padding:30px 0;font-size:14px}



/* 汉堡菜单按钮 */

.madfu-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}

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

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

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

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



.madfu-nav-link{text-shadow:0 0 0 transparent;transition:all .35s ease}.madfu-nav-link:hover{text-shadow:0 0 10px rgba(255,255,255,.9);transform:translateY(-2px)}
@media(max-width:768px){

    .madfu-hamburger{display:flex}

    .madfu-nav{display:none;flex-direction:column;width:100%;gap:0;background:hsl(124, 61%, 39%);padding:0;position:absolute;top:100%;left:0}

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

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

    .madfu-header-inner{flex-direction:row;justify-content:space-between;align-items:center;gap:6px}

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

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

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

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