/* =====================================================================
   广州小树苗文化传播有限公司 官网 — 前台样式
   设计说明：品牌主色为「墨青绿」，取沉稳、可信赖之意，配暖金点缀；
   沉香频道与软件业务使用独立辅助色，形成频道识别。整体大留白、
   细边框、轻阴影，避免花哨渐变，符合企业官网的正式感。
   适配：桌面 / 平板 / 手机（移动优先断点 1024 / 768 / 480）
   ===================================================================== */

:root {
    --primary: #10504A;
    --primary-d: #0A3A36;
    --primary-l: #E9F2F0;
    --gold: #C29B4A;
    --gold-l: #F5EFE0;
    --cx: #8A5A28;
    --cx-soft: #FBF6EF;
    --sw: #1D5FA6;
    --sw-soft: #EFF5FC;
    --ink: #14262A;
    --text: #43565A;
    --muted: #7B8C90;
    --line: #E3EAE9;
    --soft: #F5F8F7;
    --white: #fff;
    --radius: 10px;
    --radius-l: 16px;
    --shadow: 0 2px 10px rgba(16, 80, 74, .06);
    --shadow-h: 0 10px 30px rgba(16, 80, 74, .12);
    --wrap: 1200px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
    background: var(--white);
}

a { color: inherit; text-decoration: none; transition: color .2s, border-color .2s, background .2s; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.35; letter-spacing: .2px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.hide { display: none !important; }

/* ---------------- 通用按钮 ---------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 12px 26px; border-radius: 6px; border: 1px solid transparent;
    font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap;
    transition: all .22s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-d); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #B08A3C; color: #fff; }
.btn-line { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-line:hover { background: var(--primary); color: #fff; }
.btn-ghost-l { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost-l:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------------- 顶部信息条 ---------------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.72); font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar-l .tb-item { letter-spacing: .3px; }
.topbar-r { display: flex; gap: 22px; }
.topbar-r b { color: var(--gold); font-weight: 600; letter-spacing: .5px; }

/* ---------------- 头部导航 ---------------- */
.header {
    background: #fff; border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 60;
}
.header.is-stuck { box-shadow: var(--shadow); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { max-height: 54px; width: auto; }
.logo-mark {
    width: 44px; height: 44px; border-radius: 10px; background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700;
    letter-spacing: 0; white-space: nowrap; overflow: hidden; flex-shrink: 0;
}
.logo-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.logo-txt b { font-size: 19px; color: var(--ink); letter-spacing: 1px; }
.logo-txt em { font-size: 12px; color: var(--muted); font-style: normal; letter-spacing: .3px; max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-a {
    display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
    padding: 10px 14px; font-size: 15px; color: var(--ink); border-radius: 6px;
    position: relative;
}
.nav-a:hover, .nav-a.on { color: var(--primary); background: var(--primary-l); }
.nav-a.on { font-weight: 600; }
.caret { width: 0; height: 0; border: 4px solid transparent; border-top-color: currentColor; margin-top: 3px; }
.nav-drop { position: relative; }
.nav-sub {
    position: absolute; left: 0; top: 100%; min-width: 190px;
    background: #fff; border: 1px solid var(--line); border-radius: 8px;
    box-shadow: var(--shadow-h); padding: 8px; opacity: 0; visibility: hidden;
    transform: translateY(6px); transition: all .2s; z-index: 20;
}
.nav-drop:hover .nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-sub a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 14.5px; color: var(--text); }
.nav-sub a:hover { background: var(--soft); color: var(--primary); }
.nav-btn {
    margin-left: 12px; padding: 10px 20px; background: var(--gold); color: #fff;
    border-radius: 6px; font-size: 14.5px; font-weight: 500;
}
.nav-btn:hover { background: #B08A3C; color: #fff; }

/* 汉堡图标用按钮自身背景条纹绘制，不依赖子元素 flex 布局（兼容微信/手机内核） */
.nav-toggle {
    display: none; width: 44px; height: 44px; border: 1px solid var(--line);
    -webkit-appearance: none; appearance: none; padding: 0; cursor: pointer; border-radius: 8px;
    background-image:
        linear-gradient(var(--ink), var(--ink)),
        linear-gradient(var(--ink), var(--ink)),
        linear-gradient(var(--ink), var(--ink));
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: center 14px, center 21px, center 28px;
    background-size: 20px 2px, 20px 2px, 20px 2px;
    background-color: #fff;
}

.notice-bar { background: var(--gold-l); color: #6B5220; font-size: 14px; padding: 9px 0; border-bottom: 1px solid #EADFC4; }
.notice-bar .wrap { display: flex; align-items: center; gap: 10px; }
.notice-tag { background: var(--gold); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; flex-shrink: 0; }

/* ---------------- 首屏轮播 ---------------- */
.hero { position: relative; background: var(--primary-d); overflow: hidden; }
.hero-slides { position: relative; }
.hero-slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity .7s;
    background-size: cover; background-position: center;
    pointer-events: none;
}
.hero-slide.on { opacity: 1; pointer-events: auto; position: relative; }
.hero-slide::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(10,58,54,.92) 0%, rgba(10,58,54,.72) 45%, rgba(10,58,54,.42) 100%);
}
.hero-slide.hero-noimg { background: linear-gradient(120deg, #0A3A36 0%, #10504A 55%, #1C6B62 100%); }
.hero-slide.hero-noimg::after { background: linear-gradient(100deg, rgba(6,42,39,.55) 0%, rgba(6,42,39,0) 70%); }
.hero-in {
    position: relative; z-index: 2; padding: 92px 0 88px; max-width: 640px; color: #fff;
}
.hero-tag {
    display: inline-block; font-size: 13px; letter-spacing: 1px; color: #E7D9B4;
    border: 1px solid rgba(226,203,148,.55); border-radius: 20px; padding: 4px 14px; margin-bottom: 20px;
}
.hero-in h1, .hero-in .h1 { font-size: 40px; color: #fff; line-height: 1.28; margin-bottom: 16px; }
.hero-in p { font-size: 16.5px; color: rgba(255,255,255,.86); margin-bottom: 30px; max-width: 560px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3; display: flex; gap: 9px; justify-content: center; }
.hero-dots i {
    width: 26px; height: 3px; background: rgba(255,255,255,.38); border-radius: 2px; cursor: pointer; transition: all .25s;
}
.hero-dots i.on { background: var(--gold); width: 42px; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 76px 0; }
.section-soft { background: var(--soft); }
.section-ink { background: var(--ink); color: rgba(255,255,255,.78); }
.section-ink h2, .section-ink h3 { color: #fff; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 42px; }
.sec-head .sec-tag { font-size: 13px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.sec-head h2 { font-size: 30px; }
.sec-head .sec-sub { margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 640px; }
.sec-more { font-size: 14.5px; color: var(--muted); flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; }
.sec-more:hover { color: var(--primary); }
.sec-more::after { content: "→"; }
.sec-center { text-align: center; }
.sec-center .sec-head { flex-direction: column; align-items: center; text-align: center; }
.sec-center .sec-sub { margin-left: auto; margin-right: auto; }

/* ---------------- 服务卡片 ---------------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.svc {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 26px; position: relative; overflow: hidden; transition: all .25s;
}
.svc::before {
    content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--gold); transition: width .3s;
}
.svc:hover { border-color: transparent; box-shadow: var(--shadow-h); transform: translateY(-3px); }
.svc:hover::before { width: 100%; }
.svc-no { font-size: 13px; color: var(--gold); font-weight: 600; letter-spacing: 1px; }
.svc h3 { font-size: 19px; margin: 10px 0 10px; }
.svc p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; min-height: 44px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags span { font-size: 12.5px; color: var(--primary); background: var(--primary-l); padding: 3px 10px; border-radius: 4px; }
.svc-link { font-size: 14px; color: var(--primary); font-weight: 500; }

/* ---------------- 数字亮点 ---------------- */
.stats { background: var(--primary); color: #fff; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 52px 0; }
.stat { text-align: center; border-right: 1px solid rgba(255,255,255,.16); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 40px; font-weight: 700; letter-spacing: 1px; line-height: 1.1; }
.stat b em { font-size: 18px; font-style: normal; margin-left: 3px; }
.stat span { font-size: 14.5px; color: rgba(255,255,255,.78); }

/* ---------------- 场地卡片 ---------------- */
.venue-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: all .25s; display: flex; flex-direction: column;
}
.venue-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.venue-thumb { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.venue-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.venue-card:hover .venue-thumb img { transform: scale(1.05); }
.venue-badge {
    position: absolute; left: 12px; top: 12px; background: rgba(10,58,54,.82); color: #fff;
    font-size: 12.5px; padding: 3px 10px; border-radius: 4px; backdrop-filter: blur(4px);
}
.venue-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.venue-body h3 { font-size: 17px; margin-bottom: 8px; }
.venue-body h3 a { color: var(--ink); }
.venue-body h3 a:hover { color: var(--primary); }
.venue-meta { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 12px; }
.venue-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px dashed var(--line); }
.venue-price { color: #C0392B; font-weight: 600; font-size: 16px; }
.venue-price small { font-weight: 400; font-size: 12.5px; color: var(--muted); }
.venue-city { font-size: 13px; color: var(--muted); }

/* ---------------- 服务流程 ---------------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.flow-item { text-align: center; position: relative; padding: 0 6px; }
.flow-no {
    width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
    background: #fff; border: 2px solid var(--primary); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700;
}
.flow-item h4 { font-size: 16.5px; margin-bottom: 6px; }
.flow-item p { font-size: 14px; color: var(--muted); margin: 0; }
.flow-item:not(:last-child)::after {
    content: ""; position: absolute; top: 26px; right: -8px; width: 16px; height: 1px; background: var(--line);
}

/* ---------------- 案例 ---------------- */
.case-card { position: relative; border-radius: var(--radius); overflow: hidden; display: block; background: var(--ink); }
.case-img { aspect-ratio: 4 / 3; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: transform .5s, opacity .3s; }
.case-card:hover .case-img img { transform: scale(1.05); opacity: 1; }
.case-txt {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 20px 18px; color: #fff;
    background: linear-gradient(to top, rgba(8,32,30,.92), rgba(8,32,30,0));
}
.case-txt h3 { color: #fff; font-size: 17px; margin-bottom: 6px; }
.case-txt span { font-size: 13px; color: rgba(255,255,255,.76); }
.case-txt .case-city {
    display: inline-block; font-size: 12px; color: #F0E2C0; border: 1px solid rgba(240,226,192,.5);
    padding: 1px 8px; border-radius: 3px; margin-bottom: 8px;
}

/* ---------------- 双业务板块 ---------------- */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card {
    border-radius: var(--radius-l); padding: 40px 36px; position: relative; overflow: hidden;
    border: 1px solid var(--line); background: #fff;
}
.duo-card.d-sw { background: var(--sw-soft); border-color: #D7E6F5; }
.duo-card.d-cx { background: var(--cx-soft); border-color: #EEE0CC; }
.duo-card h3 { font-size: 24px; margin-bottom: 12px; }
.duo-card .duo-tag { font-size: 13px; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.d-sw .duo-tag { color: var(--sw); }
.d-cx .duo-tag { color: var(--cx); }
.duo-card p { color: var(--text); font-size: 15px; margin-bottom: 18px; }
.duo-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.duo-list span { font-size: 13.5px; background: rgba(255,255,255,.75); border: 1px solid rgba(0,0,0,.05); padding: 5px 12px; border-radius: 20px; }

/* ---------------- 新闻 ---------------- */
.news-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; }
.news-feat { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.news-feat .nf-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.news-feat .nf-img img { width: 100%; height: 100%; object-fit: cover; }
.news-feat .nf-body { padding: 22px 24px 26px; }
.news-feat h3 { font-size: 20px; margin-bottom: 10px; }
.news-feat p { color: var(--muted); font-size: 14.5px; }
.news-date { font-size: 13px; color: var(--muted); }
.news-list { display: flex; flex-direction: column; }
.news-item { padding: 16px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 16px; align-items: flex-start; }
.news-item:first-child { padding-top: 0; }
.news-item time { font-size: 13px; color: var(--muted); flex-shrink: 0; padding-top: 3px; }
.news-item h4 { font-size: 15.5px; font-weight: 500; margin-bottom: 4px; }
.news-item h4 a { color: var(--ink); }
.news-item p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------------- 咨询表单 ---------------- */
.form-band { background: var(--primary-d); color: #fff; }
.form-band h2 { color: #fff; }
.form-band .sec-sub { color: rgba(255,255,255,.74); }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; margin-bottom: 7px; color: inherit; }
.field label .req { color: #E2705F; margin-left: 3px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px;
    background: #fff; color: var(--ink); font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(16,80,74,.12);
}
.field textarea { min-height: 108px; resize: vertical; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.form-band .field .hint { color: rgba(255,255,255,.6); }
.form-tip { font-size: 13px; color: rgba(255,255,255,.66); margin-top: 14px; }
.form-errors { background: #FDECEA; border: 1px solid #F5C6C0; color: #A93B2B; border-radius: 6px; padding: 12px 16px; margin-bottom: 20px; font-size: 14.5px; }
.captcha-row { display: flex; gap: 12px; align-items: flex-start; }
.captcha-row img { border-radius: 6px; border: 1px solid var(--line); cursor: pointer; height: 46px; }

/* ---------------- 面包屑 ---------------- */
.crumb-bar { background: var(--soft); border-bottom: 1px solid var(--line); padding: 16px 0; }
.crumb { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--primary); }
.crumb .sep { color: #C3CFCE; }
.crumb .cur { color: var(--ink); }

/* 栏目头图 */
.page-hero { background: var(--primary-d); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.page-hero.has-img { background-size: cover; background-position: center; }
.page-hero.has-img::after { content: ""; position: absolute; inset: 0; background: rgba(8,40,37,.72); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 32px; }
.page-hero p { color: rgba(255,255,255,.78); margin: 12px 0 0; max-width: 720px; font-size: 15.5px; }

/* ---------------- 列表页 ---------------- */
.layout-side { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.art-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.art-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .25s; }
.art-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.art-card .ac-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); display: block; }
.art-card .ac-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.art-card:hover .ac-img img { transform: scale(1.04); }
.art-card .ac-body { padding: 18px 20px 22px; }
.art-card h3 { font-size: 17px; margin-bottom: 9px; }
.art-card h3 a { color: var(--ink); }
.art-card h3 a:hover { color: var(--primary); }
.art-card p { font-size: 14px; color: var(--muted); margin: 0; }
.art-card .ac-meta { margin-top: 14px; display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }

/* 侧栏 */
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.side-box h3 { font-size: 17px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); position: relative; }
.side-box h3::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 34px; height: 2px; background: var(--gold); }
.side-nav a { display: block; padding: 10px 12px; border-radius: 6px; font-size: 14.5px; color: var(--text); border-left: 2px solid transparent; }
.side-nav a:hover { background: var(--soft); color: var(--primary); }
.side-nav a.on { background: var(--primary-l); color: var(--primary); border-left-color: var(--primary); font-weight: 500; }
.side-rec a { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.side-rec a:last-child { border-bottom: 0; }
.side-rec img { width: 84px; height: 60px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: var(--soft); }
.side-rec b { font-size: 14px; font-weight: 500; color: var(--ink); display: block; line-height: 1.5; }
.side-rec span { font-size: 12.5px; color: var(--muted); }
.side-cta { background: var(--primary); color: rgba(255,255,255,.85); border: 0; }
.side-cta h3 { color: #fff; border-bottom-color: rgba(255,255,255,.2); }
.side-cta h3::after { background: var(--gold); }
.side-cta p { font-size: 14px; }
.side-cta .tel { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: .5px; margin: 8px 0 16px; display: block; }

/* 筛选条 */
.filter-bar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 20px; margin-bottom: 26px; }
.filter-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.filter-row:last-child { border-bottom: 0; }
.filter-row .fr-label { font-size: 14px; color: var(--muted); flex-shrink: 0; width: 64px; }
.filter-row a { font-size: 14px; padding: 4px 12px; border-radius: 4px; color: var(--text); }
.filter-row a:hover { background: var(--soft); color: var(--primary); }
.filter-row a.on { background: var(--primary); color: #fff; }
.filter-empty { padding: 60px 0; text-align: center; color: var(--muted); }

/* ---------------- 分页 ---------------- */
.pager { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.pager a, .pager span {
    min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 6px; font-size: 14px; background: #fff; color: var(--text);
}
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager .pg-cur { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.pager .disabled { color: #B9C4C3; background: var(--soft); }
.pager .pg-info { border: 0; color: var(--muted); font-size: 13.5px; margin-left: 6px; }
.pager .pg-dot { border: 0; color: var(--muted); }

/* ---------------- 详情页 ---------------- */
.detail-head { padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.detail-head h1 { font-size: 28px; margin-bottom: 14px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--muted); }
.detail-meta b { font-weight: 400; color: var(--text); }

.article-body { font-size: 15.5px; line-height: 1.95; color: #3B4A4E; }
.article-body h2 { font-size: 21px; margin: 34px 0 14px; padding-left: 12px; border-left: 3px solid var(--gold); }
.article-body h3 { font-size: 18px; margin: 26px 0 12px; }
.article-body p { margin: 0 0 18px; }
.article-body img { border-radius: 8px; margin: 10px 0; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 22px; list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body table { margin: 18px 0; border: 1px solid var(--line); }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 14px; font-size: 14.5px; text-align: left; }
.article-body th { background: var(--soft); font-weight: 600; color: var(--ink); }
.article-body blockquote {
    margin: 20px 0; padding: 14px 20px; background: var(--soft); border-left: 3px solid var(--primary);
    color: var(--text); border-radius: 0 6px 6px 0;
}
.article-body a { color: var(--primary); border-bottom: 1px solid rgba(16,80,74,.3); }
.article-body a:hover { border-bottom-color: var(--primary); }

.prev-next { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.prev-next a { font-size: 14.5px; color: var(--text); display: flex; gap: 10px; }
.prev-next a span { color: var(--muted); flex-shrink: 0; }
.prev-next a:hover { color: var(--primary); }

/* 图集 */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; }
.gallery-grid a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--soft); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-grid a:hover img { transform: scale(1.06); }

/* 场地参数表 */
.spec-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 8px; }
.spec-table tr td { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { width: 120px; background: var(--soft); color: var(--muted); }
.spec-table td b { color: var(--ink); }
.facility-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.facility-list span { font-size: 13.5px; background: var(--primary-l); color: var(--primary); padding: 5px 14px; border-radius: 20px; }

/* 单页（关于我们 / 联系我们） */
.page-side-contact p { font-size: 14.5px; margin-bottom: 10px; }
.page-side-contact b { color: var(--ink); }
.map-box { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 24px; }
.map-box iframe { display: block; width: 100%; height: 300px; border: 0; }

/* 成功提示 */
.success-box { max-width: 620px; margin: 40px auto; text-align: center; padding: 50px 30px; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; }
.success-icon { width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; background: var(--primary-l); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 32px; }
.success-box h2 { font-size: 24px; margin-bottom: 12px; }
.success-box p { color: var(--muted); }

/* 站点地图 */
.map-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.map-col h3 { font-size: 17px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.map-col h3 a { color: var(--ink); }
.map-col li { font-size: 14px; padding: 5px 0; }
.map-col li a { color: var(--muted); }
.map-col li a:hover { color: var(--primary); }

/* ---------------- 行动区 / 页脚 ---------------- */
.cta-band { background: var(--primary); color: #fff; padding: 52px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-txt h2 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.cta-txt p { color: rgba(255,255,255,.8); margin: 0; }
.cta-act { display: flex; gap: 14px; flex-wrap: wrap; }

.footer { background: var(--ink); color: rgba(255,255,255,.68); padding-top: 56px; font-size: 14.5px; }
.foot-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto; gap: 40px; padding-bottom: 40px; }
.foot-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; font-weight: 600; }
.foot-brand img { max-height: 44px; margin-bottom: 16px; }
.foot-brand b { display: block; color: #fff; font-size: 18px; margin-bottom: 14px; letter-spacing: .5px; }
.foot-desc { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.foot-contact p { margin: 0 0 8px; font-size: 14px; }
.foot-contact b { color: var(--gold); font-size: 16px; letter-spacing: .5px; }
.foot-links { display: flex; flex-direction: column; gap: 11px; }
.foot-links a { color: rgba(255,255,255,.68); }
.foot-links a:hover { color: #fff; }
.qr-box { background: #fff; border-radius: 8px; padding: 10px; width: 132px; text-align: center; }
.qr-box img { width: 112px; height: 112px; object-fit: contain; }
.qr-box span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.qr-empty { background: rgba(255,255,255,.08); color: rgba(255,255,255,.5); height: 132px; display: flex; align-items: center; justify-content: center; font-size: 12.5px; text-align: center; line-height: 1.6; }
.foot-links-row { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 13.5px; }
.fl-label { color: rgba(255,255,255,.45); }
.foot-links-row a { color: rgba(255,255,255,.68); }
.foot-links-row a:hover { color: var(--gold); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: 13.5px; color: rgba(255,255,255,.5); }
.foot-bottom p { margin: 0; }
.foot-bottom a { color: rgba(255,255,255,.6); }

.mobile-bar { display: none; }
.to-top {
    position: fixed; right: 22px; bottom: 30px; width: 44px; height: 44px; border-radius: 50%;
    background: #fff; border: 1px solid var(--line); color: var(--primary); font-size: 18px; cursor: pointer;
    box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: all .25s; z-index: 50;
}
.to-top.on { opacity: 1; visibility: visible; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1360px) and (min-width: 769px) {
    .nav { gap: 0; }
    .nav-a { padding: 10px 9px; font-size: 14px; }
    .nav-btn { margin-left: 6px; padding: 9px 14px; font-size: 13.5px; }
    .logo-txt b { font-size: 17px; }
    .logo-txt em { font-size: 11px; }
}

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3, .art-list { grid-template-columns: repeat(2, 1fr); }
    .layout-side { grid-template-columns: 1fr; }
    .news-wrap { grid-template-columns: 1fr; gap: 26px; }
    .flow { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
    .flow-item::after { display: none; }
    .foot-main { grid-template-columns: 1fr 1fr; gap: 30px; }
    .stats-in { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
    .stat:nth-child(2) { border-right: 0; }
    .hero-in h1, .hero-in .h1 { font-size: 32px; }
    .hero-in { padding: 70px 0 68px; }
    .map-cols { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    body { font-size: 15px; }
    .tb-hide-sm { display: none; }
    .topbar-in { justify-content: center; height: auto; padding: 6px 0; }
    .topbar-l { display: none; }
    .header-in { height: 66px; }
    .logo img { max-height: 40px; }
    .logo-mark { width: 38px; height: 38px; font-size: 14px; }
    .logo-txt b { font-size: 17px; }
    .logo-txt em { display: none; }

    /* 头部抬到全屏菜单之上，保证按钮始终可见可点（展开时变 × 用于关闭） */
    .header { z-index: 95; }
    .nav-toggle { display: block; }
    .nav {
        position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 90;
        background: #fff; flex-direction: column; align-items: stretch; padding: 84px 20px 40px;
        gap: 2px; overflow-y: auto; transform: translateX(102%); transition: transform .28s;
    }
    .nav.open { transform: translateX(0); }
    /* 展开时汉堡变 × */
    .nav.open + .nav-toggle {
        background-image:
            linear-gradient(45deg, transparent calc(50% - 1px), var(--ink) calc(50% - 1px), var(--ink) calc(50% + 1px), transparent calc(50% + 1px)),
            linear-gradient(-45deg, transparent calc(50% - 1px), var(--ink) calc(50% - 1px), var(--ink) calc(50% + 1px), transparent calc(50% + 1px));
        background-position: center center, center center;
        background-size: 100% 100%, 100% 100%;
    }
    .nav-a { padding: 14px 6px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .nav-a.on { background: transparent; }
    .nav-drop { position: relative; }
    .nav-sub {
        position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
        border: 0; border-left: 2px solid var(--primary-l); border-radius: 0; padding: 4px 0 4px 14px;
        display: none;
    }
    .nav-drop.open .nav-sub { display: block; }
    .nav-btn { margin: 20px 0 0; text-align: center; }

    .section { padding: 50px 0; }
    .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 30px; }
    .sec-head h2 { font-size: 24px; }
    .grid, .grid-2, .grid-3, .grid-4, .art-list { grid-template-columns: 1fr; }
    .dual { grid-template-columns: 1fr; }
    .duo-card { padding: 28px 24px; }
    .flow { grid-template-columns: repeat(2, 1fr); }
    .hero-in { padding: 54px 0 60px; }
    .hero-in h1, .hero-in .h1 { font-size: 26px; }
    .hero-in p { font-size: 15px; }
    .stats-in { padding: 36px 0; }
    .stat b { font-size: 30px; }
    .cta-in { flex-direction: column; align-items: flex-start; }
    .cta-txt h2 { font-size: 22px; }
    .cta-act { width: 100%; }
    .cta-act .btn { flex: 1; justify-content: center; }
    .foot-main { grid-template-columns: 1fr; gap: 26px; }
    .form-grid { grid-template-columns: 1fr; }
    .detail-head h1 { font-size: 22px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .map-cols { grid-template-columns: 1fr; }
    .footer { padding-bottom: 62px; }
    .to-top { bottom: 78px; right: 14px; }

    .mobile-bar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
        background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -2px 10px rgba(0,0,0,.05);
    }
    .mobile-bar a {
        flex: 1; text-align: center; padding: 12px 0; font-size: 14.5px; color: var(--text);
        border-right: 1px solid var(--line);
    }
    .mobile-bar a:last-child { border-right: 0; }
    .mobile-bar .mb-main { background: var(--gold); color: #fff; font-weight: 500; }
}

@media (max-width: 480px) {
    .filter-row .fr-label { width: 100%; }
    .spec-table td:first-child { width: 92px; padding: 10px 12px; }
    .spec-table tr td { padding: 10px 12px; font-size: 14px; }
}

/* =====================================================
   旅行社信息化系统落地页（/software/ 专属模板）
   ===================================================== */
.sw-hero { background: linear-gradient(135deg, #0E4C8F 0%, #1D5FA6 55%, #2E77C4 100%); color: #fff; overflow: hidden; }
.sw-hero-in { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; padding: 72px 0 64px; }
.sw-partner { display: flex; align-items: center; gap: 10px; font-size: 13.5px; letter-spacing: 1px; color: #CFE2F7; margin-bottom: 18px; }
.sw-partner i { width: 26px; height: 1px; background: rgba(255,255,255,.5); }
.sw-hero h1 { font-size: 40px; line-height: 1.28; margin-bottom: 18px; color: #fff; }
.sw-hero h1 em { font-style: normal; font-size: 24px; font-weight: 600; color: #FFD98A; display: inline-block; margin-top: 8px; }
.sw-lead { font-size: 16px; line-height: 1.9; color: #E8F1FB; margin-bottom: 26px; }
.sw-lead b { color: #FFD98A; }
.sw-acts { display: flex; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.sw-hero .btn-line2 { border-color: rgba(255,255,255,.6); color: #fff; }
.sw-hero .btn-line2:hover { background: rgba(255,255,255,.12); }
.sw-points { display: flex; gap: 10px; flex-wrap: wrap; }
.sw-points span { font-size: 13px; padding: 5px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: #DCEAF9; }
.sw-hero-img img { width: 100%; border-radius: 12px; box-shadow: 0 24px 60px rgba(4, 30, 64, .45); }

.sw-stats { background: #0C3E77; color: #fff; }
.sw-stats-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 30px 0; }
.sw-stat { text-align: center; }
.sw-stat b { display: block; font-size: 26px; color: #FFD98A; margin-bottom: 6px; }
.sw-stat span { font-size: 13px; color: #BBD4EE; }

.sw-pain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; }
.sw-pain i { font-style: normal; font-size: 13px; font-weight: 700; color: var(--sw); background: var(--sw-soft); border-radius: 6px; padding: 3px 9px; position: absolute; top: 22px; right: 20px; }
.sw-pain h3 { font-size: 18px; margin-bottom: 10px; color: var(--title); }
.sw-pain p { font-size: 14px; line-height: 1.8; color: var(--muted); }

.sw-feat { background: #fff; border: 1px solid #D7E6F5; border-top: 3px solid var(--sw); border-radius: var(--radius); padding: 24px 22px; }
.sw-feat h3 { font-size: 17px; color: var(--sw); margin-bottom: 10px; }
.sw-feat p { font-size: 14px; line-height: 1.85; color: var(--text); }

.sw-shots { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sw-shots:has(.sw-shot:only-child) { grid-template-columns: 1fr; }
.sw-shot { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sw-shot img { display: block; width: 100%; }
.sw-shot figcaption { font-size: 13px; color: var(--muted); padding: 12px 16px; border-top: 1px solid var(--line); }

.sec-head { position: relative; }
.sw-logo { position: absolute; right: 0; bottom: 4px; }
.sw-logo img { height: 44px; opacity: .9; }

.sw-case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; }
.sw-case-tag { display: inline-block; font-size: 12.5px; color: var(--sw); background: var(--sw-soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }
.sw-case h3 { font-size: 19px; margin-bottom: 6px; color: var(--title); }
.sw-case-num { font-size: 14px; font-weight: 600; color: var(--gold); margin-bottom: 14px; }
.sw-case ul { margin: 0; padding-left: 18px; }
.sw-case li { font-size: 14px; line-height: 1.8; color: var(--text); margin-bottom: 8px; }
.sw-note { margin-top: 24px; font-size: 14px; line-height: 1.9; color: var(--muted); background: var(--sw-soft); border: 1px dashed #BBD4EE; border-radius: var(--radius); padding: 16px 20px; }

.sw-free { background: #fff; border: 1px solid #EEE0CC; border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 24px 22px; }
.sw-free h3 { font-size: 17px; color: var(--title); margin-bottom: 10px; }
.sw-free p { font-size: 14px; line-height: 1.85; color: var(--text); }

.sw-cta-acts { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
    .sw-hero-in { grid-template-columns: 1fr; padding: 48px 0 44px; gap: 32px; }
    .sw-hero h1 { font-size: 30px; }
    .sw-hero h1 em { font-size: 19px; }
    .sw-stats-in { grid-template-columns: repeat(2, 1fr); }
    .sw-shots { grid-template-columns: 1fr; }
    .sw-logo { position: static; display: inline-block; margin-top: 10px; }
}

/* 门店端实操 */
.sw-store { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sw-step { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: relative; }
.sw-step img { display: block; width: 100%; }
.sw-step-no { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--sw); color: #fff; font-size: 13px; font-weight: 700; border-radius: 8px; padding: 3px 10px; box-shadow: 0 4px 12px rgba(13,60,110,.35); }
.sw-step figcaption { font-size: 13.5px; line-height: 1.8; color: var(--muted); padding: 14px 16px; border-top: 1px solid var(--line); }
.sw-step figcaption b { display: block; font-size: 15px; color: var(--title); margin-bottom: 4px; }
@media (max-width: 900px) { .sw-store { grid-template-columns: 1fr; } }
