/* =======================================
   幸福膜结构 · 区域分站共享样式
   通过 :root CSS变量 实现多主题
   通过 body.layout-X 实现多布局
   ======================================== */
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
    font-family:"Microsoft YaHei","PingFang SC","Helvetica Neue",Arial,sans-serif;
    color:#333; line-height:1.7; background:#fff; overflow-x:hidden;
}
a { text-decoration:none; color:inherit; transition:color .3s; }
img { display:block; max-width:100%; }
ul { list-style:none; }
.container { max-width:1240px; margin:0 auto; padding:0 20px; }

:root{
    --c1:#1a6fc0; --c1d:#12507e; --c2:#e8302a; --csoft:#eef5fc;
    --cwt:#fff; --ctext:#333; --csub:#888; --grad:linear-gradient(135deg,#1a6fc0,#2a9be0);
    --hero:url('/img/mjgtcp/mjgtcp40.png');
}

.topbar { background:var(--c1d); color:#d4e4f5; font-size:13px; padding:7px 0; }
.topbar .container { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; align-items:center; }
.topbar a { color:#d4e4f5; }
.topbar a:hover { color:#ffd9a0; }
.topbar .tl span { margin-right:20px; }

.header { position:sticky; top:0; z-index:100; background:#fff; box-shadow:0 2px 12px rgba(0,0,0,.08); }
.header .container { display:flex; align-items:center; justify-content:space-between; padding:13px 20px; }
.logo { display:flex; align-items:center; gap:12px; }
.logo .lm {
    width:50px; height:50px; border-radius:11px; background:var(--grad); color:#fff;
    font-size:24px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
}
.logo .lt .brand { font-size:24px; font-weight:800; color:var(--c2); letter-spacing:1px; }
.logo .lt .brand sup { font-size:11px; vertical-align:super; margin-left:1px; }
.logo .lt .sep { color:#ccc; margin:0 5px; font-size:20px; }
.logo .lt .tag { font-size:15px; color:var(--c1); font-weight:700; }
.nav-toggle { display:none; font-size:24px; background:none; border:none; cursor:pointer; color:var(--c1); }
.nav { display:flex; gap:2px; align-items:center; }
.nav a { padding:9px 15px; font-size:15px; font-weight:500; color:#333; border-radius:6px; position:relative; }
.nav a::after { content:''; position:absolute; left:15px; right:15px; bottom:3px; height:2px; background:var(--c2); transform:scaleX(0); transition:transform .3s; }
.nav a:hover,.nav a.active { color:var(--c2); }
.nav a:hover::after,.nav a.active::after { transform:scaleX(1); }

.hero { position:relative; overflow:hidden; }
.hero-bg { position:absolute; inset:0; z-index:1; background:var(--hero) center/cover no-repeat; }
.hero-bg::after { content:''; position:absolute; inset:0; }
.hero-inner { position:relative; z-index:3; color:#fff; }
.hero h1 { font-size:40px; font-weight:800; line-height:1.3; margin-bottom:14px; }
.hero .hsub { font-size:18px; margin-bottom:22px; }
.hero .htags { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:26px; }
.hero .htags span { background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.3); padding:6px 15px; border-radius:30px; font-size:13px; }
.hero .hbtns { display:flex; gap:14px; flex-wrap:wrap; }
.hero .hbtns a { padding:12px 30px; border-radius:30px; font-size:15px; font-weight:600; }
.btn-p { background:var(--c2); color:#fff!important; box-shadow:0 6px 18px rgba(0,0,0,.25); }
.btn-p:hover { transform:translateY(-2px); }
.btn-o { background:transparent; border:2px solid #fff; color:#fff!important; }
.btn-o:hover { background:rgba(255,255,255,.15); }

.layout-A .hero { min-height:480px; display:flex; align-items:center; }
.layout-A .hero-bg::after { background:linear-gradient(120deg,rgba(15,35,75,.82),rgba(15,35,75,.4) 60%,rgba(232,48,42,.3)); }
.layout-A .hero-inner { max-width:720px; padding:40px 0; }
.layout-A .hero h1,.layout-A .hero .hsub,.layout-A .hero .htags,.layout-A .hero .hbtns { opacity:0; animation:rise .8s forwards; }
.layout-A .hero h1 { animation-delay:.15s; }
.layout-A .hero .hsub { animation-delay:.4s; }
.layout-A .hero .htags { animation-delay:.6s; }
.layout-A .hero .hbtns { animation-delay:.8s; }
@keyframes rise { from{opacity:0;transform:translateY(28px);} to{opacity:1;transform:translateY(0);} }

.layout-B .hero { display:grid; grid-template-columns:1fr 1fr; min-height:460px; }
.layout-B .hero-bg::after { background:linear-gradient(90deg,rgba(15,35,75,.92),rgba(15,35,75,.35)); }
.layout-B .hero-inner { grid-column:1; padding:60px 0; max-width:560px; }

.layout-C .hero { min-height:560px; display:flex; align-items:flex-end; padding-bottom:0; }
.layout-C .hero-bg::after { background:linear-gradient(180deg,rgba(15,35,75,.5),rgba(15,35,75,.85)); }
.layout-C .hero-inner { padding:40px 0 50px; max-width:760px; }
.layout-C .hero .hcards { display:flex; gap:14px; margin-top:24px; flex-wrap:wrap; }
.layout-C .hero .hcards .hc { background:rgba(255,255,255,.12); border-radius:10px; padding:14px 18px; backdrop-filter:blur(4px); }
.layout-C .hero .hcards .hc b { font-size:22px; color:#ffd9a0; display:block; }
.layout-C .hero .hcards .hc small { font-size:12px; color:#e0eaf8; }

.layout-D .hero-strip { background:var(--grad); color:#fff; padding:10px 0; font-size:14px; }
.layout-D .hero-strip .container { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.layout-D .hero { min-height:440px; display:flex; align-items:center; }
.layout-D .hero-bg::after { background:linear-gradient(135deg,rgba(20,50,100,.8),rgba(232,48,42,.35)); }
.layout-D .hero-inner { max-width:700px; padding:36px 0; }

.sec { padding:64px 0; }
.sec-soft { background:var(--csoft); }
.sec-title { text-align:center; margin-bottom:40px; }
.sec-title h2 { font-size:30px; font-weight:700; color:var(--c1d); display:inline-block; position:relative; padding-bottom:12px; }
.sec-title h2::after { content:''; position:absolute; left:50%; bottom:0; transform:translateX(-50%); width:56px; height:4px; background:var(--c2); border-radius:2px; }
.sec-title p { margin-top:12px; color:var(--csub); font-size:14px; }

.about-wrap { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; }
.about-img { border-radius:12px; overflow:hidden; box-shadow:0 8px 30px rgba(0,0,0,.12); position:relative; }
.about-img img { width:100%; height:300px; object-fit:cover; }
.about-img .badge { position:absolute; bottom:16px; left:16px; background:rgba(232,48,42,.92); color:#fff; padding:12px 18px; border-radius:8px; }
.about-img .badge b { font-size:26px; }
.about-txt h2 { font-size:26px; color:var(--c1d); margin-bottom:6px; }
.about-txt .en { color:#ccc; font-size:13px; letter-spacing:1px; text-transform:uppercase; margin-bottom:14px; }
.about-txt p { color:#555; margin-bottom:12px; font-size:14px; }
.about-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.about-tags span { background:#fff; border:1px solid #e0e8f0; color:var(--c1); padding:6px 14px; border-radius:30px; font-size:12px; font-weight:600; }
.about-tags span:hover { background:var(--c1); color:#fff; border-color:var(--c1); }

.pgrid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.pcard { background:#fff; border-radius:10px; overflow:hidden; cursor:pointer; box-shadow:0 3px 10px rgba(0,0,0,.06); transition:transform .3s,box-shadow .3s; }
.pcard:hover { transform:translateY(-5px); box-shadow:0 10px 26px rgba(0,0,0,.12); }
.pcard .pw { overflow:hidden; height:170px; position:relative; }
.pcard .pw img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.pcard:hover .pw img { transform:scale(1.1); }
.pcard .pw .zi { position:absolute; top:8px; right:8px; width:30px; height:30px; border-radius:50%; background:rgba(0,0,0,.5); color:#fff; display:flex; align-items:center; justify-content:center; font-size:15px; opacity:0; transition:opacity .3s; }
.pcard:hover .pw .zi { opacity:1; }
.pcard .pi { padding:11px 13px; }
.pcard .pi .pn { font-size:14px; font-weight:700; color:#333; margin-bottom:3px; }
.pcard .pi .pd { font-size:12px; color:var(--csub); }

.adv-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.adv-card { background:#fff; border-radius:12px; padding:26px 18px; text-align:center; transition:transform .3s,box-shadow .3s; border-top:4px solid transparent; }
.adv-card:hover { transform:translateY(-5px); box-shadow:0 10px 26px rgba(0,0,0,.1); border-top-color:var(--c2); }
.adv-card .ai { font-size:36px; margin-bottom:12px; }
.adv-card h3 { font-size:16px; color:var(--c1d); margin-bottom:6px; }
.adv-card p { font-size:12px; color:var(--csub); }

.flow { display:grid; grid-template-columns:repeat(6,1fr); gap:12px; }
.flow-item { text-align:center; position:relative; }
.flow-item .fn { width:46px; height:46px; border-radius:50%; background:var(--grad); color:#fff; font-size:18px; font-weight:700; display:flex; align-items:center; justify-content:center; margin:0 auto 10px; }
.flow-item h4 { font-size:14px; color:var(--c1d); margin-bottom:2px; }
.flow-item p { font-size:11px; color:var(--csub); }
.flow-item::after { content:'→'; position:absolute; top:14px; right:-8px; color:#ccc; font-size:16px; }
.flow-item:last-child::after { display:none; }

.faq-list { max-width:880px; margin:0 auto; }
.faq-item { background:#fff; border-radius:10px; margin-bottom:10px; overflow:hidden; border:1px solid #eef2f5; box-shadow:0 2px 6px rgba(0,0,0,.03); }
.faq-q { padding:15px 18px; cursor:pointer; display:flex; align-items:center; justify-content:space-between; font-weight:600; font-size:14px; color:var(--c1d); }
.faq-q:hover { background:#f7faff; }
.faq-q .qi { font-size:18px; color:var(--c2); transition:transform .3s; flex-shrink:0; margin-left:10px; }
.faq-item.open .faq-q .qi { transform:rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .4s,padding .4s; padding:0 18px; color:#666; font-size:13px; }
.faq-item.open .faq-a { max-height:280px; padding:0 18px 14px; }

.contact { background:linear-gradient(135deg,var(--c1d),var(--c1)); color:#fff; }
.contact-wrap { display:grid; grid-template-columns:1.4fr 1fr; gap:40px; align-items:center; }
.contact-info h2 { font-size:28px; margin-bottom:20px; }
.contact-list li { display:flex; align-items:center; gap:12px; margin-bottom:14px; font-size:15px; }
.contact-list .ci-ic { width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,.12); display:flex; align-items:center; justify-content:center; font-size:18px; flex-shrink:0; }
.contact-list .ci-lb { color:#c4d4f0; font-size:12px; }
.contact-list .ci-vl { font-size:16px; font-weight:600; }
.contact-list a { color:#fff; }
.contact-list a:hover { color:#ffd9a0; }
.contact-qr { text-align:center; background:rgba(255,255,255,.08); border-radius:14px; padding:26px; }
.contact-qr img { width:180px; height:180px; border-radius:10px; margin:0 auto 12px; }
.contact-qr p { color:#c4d4f0; font-size:13px; }

.city-links { background:#f7f9fc; }
.city-links .cl-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:8px; }
.city-links a { background:#fff; border:1px solid #e8eef5; border-radius:6px; padding:8px 6px; text-align:center; font-size:13px; color:#555; transition:all .25s; }
.city-links a:hover { background:var(--c1); color:#fff; border-color:var(--c1); transform:translateY(-2px); }
.city-links .cl-title { font-size:16px; font-weight:700; color:var(--c1d); margin-bottom:18px; text-align:center; }

.footer { background:#0d1b35; color:#8898b8; padding:32px 0 18px; }
.footer-main { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; }
.footer-links a { color:#8898b8; margin:0 7px; font-size:13px; }
.footer-links a:hover { color:#ffd9a0; }
.footer-copy { text-align:center; margin-top:18px; padding-top:16px; border-top:1px solid #1c2f55; font-size:12px; line-height:2; }
.footer-copy a { color:#8898b8; }
.footer-copy a:hover { color:#ffd9a0; }

.lightbox { position:fixed; inset:0; z-index:9999; background:rgba(0,0,0,.88); display:none; align-items:center; justify-content:center; padding:40px; }
.lightbox.show { display:flex; }
.lightbox img { max-width:90%; max-height:88vh; border-radius:8px; }
.lightbox .lb-close { position:absolute; top:24px; right:30px; font-size:34px; color:#fff; cursor:pointer; background:rgba(255,255,255,.15); width:48px; height:48px; border-radius:50%; display:flex; align-items:center; justify-content:center; line-height:1; }
.lightbox .lb-cap { position:absolute; bottom:28px; left:50%; transform:translateX(-50%); color:#ddd; font-size:14px; }

.back-top { position:fixed; right:24px; bottom:24px; width:46px; height:46px; border-radius:50%; background:var(--c2); color:#fff; border:none; font-size:20px; cursor:pointer; opacity:0; transform:translateY(20px); transition:all .3s; z-index:500; box-shadow:0 4px 12px rgba(0,0,0,.3); }
.back-top.show { opacity:1; transform:translateY(0); }

@media (max-width:1024px){
    .pgrid,.adv-grid { grid-template-columns:repeat(3,1fr); }
    .flow { grid-template-columns:repeat(3,1fr); }
    .flow-item::after { display:none; }
    .city-links .cl-grid { grid-template-columns:repeat(5,1fr); }
}
@media (max-width:900px){
    .nav-toggle { display:block; }
    .nav { position:absolute; top:100%; left:0; right:0; background:#fff; flex-direction:column; padding:8px; box-shadow:0 6px 18px rgba(0,0,0,.12); display:none; }
    .nav.show { display:flex; }
    .nav a { width:100%; padding:11px 16px; }
    .nav a::after { display:none; }
    .about-wrap,.contact-wrap { grid-template-columns:1fr; gap:26px; }
    .layout-B .hero { grid-template-columns:1fr; }
    .layout-B .hero-inner { grid-column:1; padding:40px 0; }
    .hero h1 { font-size:30px; }
}
@media (max-width:768px){
    .pgrid,.adv-grid { grid-template-columns:repeat(2,1fr); }
    .flow { grid-template-columns:repeat(2,1fr); }
    .city-links .cl-grid { grid-template-columns:repeat(4,1fr); }
    .sec-title h2 { font-size:24px; }
    .hero h1 { font-size:26px; }
    .logo .lt .brand { font-size:20px; }
}
@media (max-width:560px){
    .pgrid,.adv-grid { grid-template-columns:1fr; }
    .city-links .cl-grid { grid-template-columns:repeat(3,1fr); }
    .sec { padding:46px 0; }
    .hero .hbtns a { padding:10px 22px; font-size:14px; }
}