* { box-sizing: border-box; }
body { margin: 0; font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif; background: #f4f8f6; color: #22312c; font-size: 17px; line-height: 1.8; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 18px; }

/* 顶栏 */
.topbar { background: linear-gradient(90deg, #0a4f3d 0%, #107a5c 100%); color: #fff; position: relative; z-index: 30; }
.topbar-in { display: flex; align-items: center; gap: 14px; height: 72px; }
.logo { display: flex; align-items: baseline; gap: 10px; margin-right: auto; min-width: 0; }
.logo-m { font-size: 26px; font-weight: 700; letter-spacing: 2px; color: #f3d79b; }
.logo-s { font-size: 16px; opacity: .92; white-space: nowrap; }
.topbar-r { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.tlink { font-size: 15px; opacity: .95; white-space: nowrap; }
.tbtn { background: #f3d79b; color: #0a4f3d; font-weight: 700; font-size: 15px; padding: 8px 16px; border-radius: 22px; white-space: nowrap; }

/* 汉堡按钮（仅窄屏显示） */
.nav-toggle { display: none; flex: 0 0 auto; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 10px; background: rgba(255,255,255,.16); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: #fff; border-radius: 2px; }

/* 导航栏 */
.navbar { background: #fff; border-bottom: 1px solid #e3ece8; position: relative; z-index: 20; }
.navlist { display: flex; justify-content: center; gap: 4px; overflow-x: auto; }
.nlink { padding: 15px 20px; font-size: 17px; color: #39544b; white-space: nowrap; }
.nlink.on { color: #0a4f3d; font-weight: 700; box-shadow: inset 0 -3px 0 #c8a35b; }
.nav-head { display: none; }
.nav-foot { display: none; }
.nav-mask { display: none; }
.backlink { display: inline-block; margin: 14px 0; color: #107a5c; font-size: 16px; }

/* 首页横幅 */
.hero { position: relative; background: #0a4f3d; overflow: hidden; }
.hero picture { display: block; font-size: 0; line-height: 0; }
.hero-img { width: 100%; height: 460px; object-fit: cover; object-position: center; display: block; }
.hero:after { content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(6,44,34,.88) 0%, rgba(6,44,34,.55) 48%, rgba(6,44,34,.10) 100%); }
.hero-txt { position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 2; display: flex; align-items: center; }
.hero-in { max-width: 620px; }
.hero-h1 { font-size: 40px; font-weight: 700; margin: 0 0 14px; color: #fff; line-height: 1.3; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-p { font-size: 18px; margin: 0 0 26px; color: #eaf3ef; opacity: .95; line-height: 1.7; }
.btn { display: inline-block; background: #c8a35b; color: #fff; font-size: 18px; font-weight: 700; padding: 13px 34px; border-radius: 30px; border: none; cursor: pointer; }
.btn-o { display: inline-block; color: #107a5c; border: 1px solid #107a5c; padding: 10px 24px; border-radius: 26px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 15px; border-radius: 20px; }

.card { background: #fff; border-radius: 14px; box-shadow: 0 4px 18px rgba(16,80,60,.07); padding: 26px; margin-bottom: 22px; }
.grid2 > .card { margin-bottom: 0; }
/* 入口卡片 */
.ent { display: flex; align-items: flex-start; gap: 16px; }
.ent-ic { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(135deg, #12866a 0%, #0a4f3d 100%); color: #f3d79b; font-size: 21px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ent-b { flex: 1 1 auto; min-width: 0; }
.ent-p { color: #5b6f67; font-size: 15px; margin: 0 0 16px; line-height: 1.7; }
.sec { margin: 30px 0; }
.sec-h { font-size: 24px; font-weight: 700; color: #0a4f3d; margin: 0 0 16px; padding-left: 12px; border-left: 5px solid #c8a35b; }
.sec-more { font-size: 16px; color: #6b7f77; float: right; font-weight: 400; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pcard { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 18px rgba(16,80,60,.07); }
.pcard img { width: 100%; height: 190px; object-fit: cover; }
.pcard-b { padding: 18px; }
.pcard-t { font-size: 20px; font-weight: 700; color: #0a4f3d; margin: 0 0 8px; }
.pcard-s { font-size: 15px; color: #6b7f77; min-height: 46px; }
.price { color: #c0392b; font-size: 18px; font-weight: 700; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.inp { width: 100%; padding: 13px 14px; font-size: 17px; border: 1px solid #d5e2dd; border-radius: 10px; background: #fbfdfc; }
.inp:focus { outline: none; border-color: #107a5c; }
.code-row { display: flex; align-items: center; gap: 10px; }
.code-row .inp { flex: 1 1 auto; min-width: 0; }
.code-row .btn-o { flex: 0 0 auto; padding: 12px 18px; white-space: nowrap; }
.cap-img { flex: 0 0 auto; width: 96px; height: 40px; border-radius: 8px; border: 1px solid #d5e2dd; cursor: pointer; }
textarea.inp { min-height: 110px; }
.tabs { display: flex; border-bottom: 2px solid #e6eee9; margin-bottom: 22px; }
.tab { padding: 14px 22px; font-size: 18px; color: #6b7f77; cursor: pointer; border-bottom: 3px solid transparent; }
.tab.on { color: #0a4f3d; font-weight: 700; border-bottom-color: #c8a35b; }
.pane { display: none; }
.pane.on { display: block; }

.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 14px 0; border-bottom: 1px dashed #e3ece8; display: flex; justify-content: space-between; gap: 12px; }
.list .lt { font-size: 17px; }
.list .ld { font-size: 15px; color: #96a49e; }
.tag { display: inline-block; padding: 3px 12px; border-radius: 14px; font-size: 14px; background: #eaf3ef; color: #107a5c; }
.tag.y { background: #fdf3e0; color: #b8860b; }
.tag.r { background: #fdeceb; color: #c0392b; }

table.tb { width: 100%; border-collapse: collapse; font-size: 16px; }
table.tb th { background: #eef5f1; color: #0a4f3d; padding: 12px 10px; text-align: left; }
table.tb td { padding: 12px 10px; border-bottom: 1px solid #eef3f0; }

.footer { background: #0a4f3d; color: #cfe0d8; margin-top: 40px; padding: 30px 0; text-align: center; }
.f-t { font-size: 16px; margin: 0 0 6px; }
.f-s { font-size: 15px; margin: 0; opacity: .85; }

.empty { text-align: center; padding: 40px 0; color: #96a49e; font-size: 17px; }
.msg { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-size: 16px; }
.msg.err { background: #fdeceb; color: #c0392b; }
.msg.ok { background: #eaf3ef; color: #107a5c; }
.qrbox { text-align: center; }
.qrbox img { width: 220px; margin: 0 auto 14px; border-radius: 10px; }
.detail img { margin: 14px 0; border-radius: 10px; }
.steps { counter-reset: s; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 10px 0 10px 44px; font-size: 17px; }
.steps li:before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 12px; width: 28px; height: 28px; line-height: 28px; text-align: center; border-radius: 50%; background: #107a5c; color: #fff; }
.ul-s { padding-left: 22px; margin: 0; }

@media (max-width: 900px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
    .hero-img { height: 320px; }
    .hero-h1 { font-size: 30px; }
    .hero-p { font-size: 16px; }
}
@media (max-width: 860px) {
    /* 手机端横幅：整图 + 悬浮信息卡 */
    .hero { background: #f4f8f6; overflow: visible; }
    .hero-img { height: 260px; }
    .hero:after { display: none; }
    .hero-txt { position: static; display: block; margin-top: -58px; }
    .hero-in { max-width: none; position: relative; z-index: 3; background: #fff; border-radius: 16px;
        box-shadow: 0 10px 26px rgba(16,80,60,.14); padding: 20px 18px; text-align: center; }
    .hero-h1 { font-size: 22px; color: #0a4f3d; text-shadow: none; margin-bottom: 8px; }
    .hero-p { font-size: 14px; color: #6b7f77; margin-bottom: 16px; }
    .hero .btn { display: block; width: 100%; text-align: center; padding: 13px 0; font-size: 17px; }

    /* 导航切换为侧边抽屉 */
    .nav-toggle { display: block; }
    .navbar { position: fixed; top: 0; left: 0; bottom: 0; width: 80%; max-width: 320px; z-index: 60;
        border-bottom: 0; overflow-y: auto; box-shadow: 2px 0 22px rgba(0,0,0,.2);
        transform: translateX(-100%); transition: transform .26s ease; }
    .navbar.open { transform: translateX(0); }
    .navbar .wrap { padding: 0; min-height: 100%; display: flex; flex-direction: column; }
    .nav-head { display: flex; align-items: center; justify-content: space-between; padding: 18px;
        background: linear-gradient(90deg, #0a4f3d 0%, #107a5c 100%); color: #fff; font-size: 17px; font-weight: 700; }
    .nav-close { border: 0; background: none; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
    .navlist { flex-direction: column; justify-content: flex-start; gap: 0; overflow-x: visible; flex: 1 1 auto; }
    .nlink { position: relative; padding: 16px 20px; font-size: 17px; border-bottom: 1px solid #eef3f0; }
    .nlink:after { content: "\203A"; position: absolute; right: 20px; top: 12px; color: #b6c4be; font-size: 20px; }
    .nlink.on { box-shadow: none; background: #eaf3ef; border-left: 4px solid #c8a35b; }
    .nav-foot { display: block; padding: 16px 20px 24px; font-size: 14px; color: #6b7f77; line-height: 1.7; border-top: 1px solid #eef3f0; }
    .nav-mask.show { display: block; position: fixed; left: 0; right: 0; top: 0; bottom: 0; background: rgba(0,0,0,.45); z-index: 50; }
    body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .grid, .grid2 { grid-template-columns: 1fr; }
    .wrap { padding: 0 14px; }
    .topbar-in { position: relative; height: 56px; gap: 8px; }
    .nav-toggle { width: 38px; height: 38px; }
    .logo { position: absolute; left: 50%; transform: translateX(-50%); margin-right: 0; }
    .logo-m { font-size: 21px; }
    .logo-s { display: none; }
    .topbar-r { margin-left: auto; }
    .tbtn { padding: 6px 13px; font-size: 14px; }
    .sec { margin: 22px 0; }
    .sec.grid2 { gap: 14px; }
    .sec-h { font-size: 20px; margin-bottom: 12px; }
    .card { padding: 16px; border-radius: 12px; margin-bottom: 16px; }
    .ent { gap: 12px; }
    .ent-ic { width: 40px; height: 40px; border-radius: 11px; font-size: 18px; }
    .ent-p { font-size: 14px; margin-bottom: 12px; }
    .hero-img { height: 220px; }
    .hero-txt { margin-top: -48px; }
    .hero-in { padding: 18px 16px; border-radius: 14px; }
    .hero-h1 { font-size: 20px; }
    .hero-p { font-size: 13px; }
    .pcard img { height: 200px; }
    .pcard-s { min-height: 0; }
    .list li { gap: 10px; align-items: center; padding: 12px 0; }
    .list .lt { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .list .ld { flex: 0 0 auto; font-size: 13px; }
    .footer { padding: 22px 0; margin-top: 26px; }
    .empty { padding: 28px 0; font-size: 15px; }
}
