:root{
    --bg:#0b0b0c;
    --card:#151516;
    --gold:#d7b46a;
    --gold2:#9b742f;
    --text:#f7f2e8;
    --muted:#c9bfae;
    --line:rgba(215,180,106,.25);
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",Arial,sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.7;
}

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

/* 顶部导航 */

.topbar{
    position:fixed;
    z-index:20;
    top:0;
    left:0;
    right:0;
    background:rgba(8,8,9,.78);
    backdrop-filter:blur(12px);
    border-bottom:1px solid var(--line);
}

.nav{
    max-width:1100px;
    margin:auto;
    padding:12px 16px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.brand{
    font-weight:800;
    letter-spacing:.5px;
    color:var(--gold);
    font-size:18px;
}

.navlinks{
    display:flex;
    gap:16px;
    font-size:14px;
    color:#eee;
}

/* 首页大图 */

.hero{
    min-height:92vh;
    padding:94px 18px 42px;
    display:flex;
    align-items:center;
    background:
    linear-gradient(180deg,rgba(0,0,0,.35),#0b0b0c 88%),
    url('hero.jpg') center/cover no-repeat;
}

.hero-inner{
    max-width:1040px;
    margin:auto;
    width:100%;
}

.tag{
    display:inline-flex;
    padding:6px 12px;
    border:1px solid var(--line);
    border-radius:999px;
    color:var(--gold);
    background:rgba(0,0,0,.35);
    font-size:13px;
}

.hero h1{
    font-size:38px;
    line-height:1.18;
    margin:18px 0 12px;
    max-width:780px;
}

.hero p{
    max-width:720px;
    color:#e7ddcf;
    font-size:16px;
}

/* 按钮 */

.btns{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:24px;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 18px;
    border-radius:999px;
    background:linear-gradient(135deg,var(--gold),#f3d991);
    color:#17110a;
    font-weight:800;
}

.btn.outline{
    background:rgba(0,0,0,.25);
    color:var(--gold);
    border:1px solid var(--line);
}

/* 通用布局 */

.wrap{
    max-width:1080px;
    margin:auto;
    padding:54px 16px;
}

.section-title{
    text-align:center;
    margin-bottom:28px;
}

.section-title h2{
    font-size:27px;
    margin:0 0 8px;
    color:#fff;
}

.section-title p{
    margin:0;
    color:var(--muted);
}

/* 卡片 */

.grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.card{
    background:linear-gradient(180deg,#181818,#101010);
    border:1px solid var(--line);
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 14px 34px rgba(0,0,0,.22);
}

.card img{
    width:100%;
    height:176px;
    object-fit:cover;
    display:block;
}

.card-body{
    padding:18px;
}

.card h3{
    margin:0 0 8px;
    color:var(--gold);
}

.card p{
    margin:0;
    color:#d6ccbd;
    font-size:14px;
}

/* 关于我们 */

.about{
    display:grid;
    grid-template-columns:1.08fr .92fr;
    gap:24px;
    align-items:center;
}

.about-box{
    background:#121213;
    border:1px solid var(--line);
    border-radius:22px;
    padding:24px;
}

.about-box h2{
    margin-top:0;
    color:var(--gold);
}

.about-img{
    border-radius:22px;
    overflow:hidden;
    border:1px solid var(--line);
}

.about-img img{
    width:100%;
    display:block;
}

/* 服务模块 */

.features{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
}

.feature{
    padding:18px;
    border-radius:16px;
    background:#141414;
    border:1px solid var(--line);
    text-align:center;
}

.feature strong{
    display:block;
    color:var(--gold);
    font-size:20px;
}

/* 新闻 */

.news-list{
    display:grid;
    gap:14px;
}

.news-item{
    padding:18px;
    border-radius:16px;
    background:#131313;
    border:1px solid var(--line);
}

.news-item time{
    color:var(--gold);
    font-size:12px;
}

.news-item h3{
    margin:5px 0;
    color:#fff;
}

.news-item p{
    margin:0;
    color:var(--muted);
}

/* 底部 */

.footer{
    padding:32px 16px;
    text-align:center;
    color:#a89f91;
    border-top:1px solid var(--line);
    background:#080808;
}

/* 客服按钮 */

.float-chat{
    position:fixed;
    right:16px;
    bottom:24px;
    z-index:30;
}
.chat-tip{
    position:absolute;
    right:0;
    bottom:66px;
    background:linear-gradient(135deg,#ff2d55,#ff6b6b);
    color:#fff;
    padding:10px 16px;
    border-radius:16px;
    box-shadow:0 0 18px rgba(255,45,85,.75);
    white-space:nowrap;
    font-size:13px;
    font-weight:700;
    animation:tipGlow 1.4s infinite;
}

@keyframes tipPulse{
    0%{
        transform:scale(1);
        box-shadow:0 0 10px rgba(255,59,48,.35);
    }

    50%{
        transform:scale(1.08);
        box-shadow:0 0 25px rgba(255,59,48,.75);
    }

    100%{
        transform:scale(1);
        box-shadow:0 0 10px rgba(255,59,48,.35);
    }
}

.chat-btn{
    width:58px;
    height:58px;
    border-radius:50%;
    background:linear-gradient(135deg,#d7b46a,#fff0ad);
    display:grid;
    place-items:center;
    color:#111;
    font-weight:900;
    box-shadow:0 0 0 0 rgba(215,180,106,.55);
    animation:pulse 1.7s infinite;
}

@keyframes pulse{
    70%{
        box-shadow:0 0 0 18px rgba(215,180,106,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(215,180,106,0);
    }
}

/* 手机端 */

@media(max-width:760px){

    .navlinks{
        display:none;
    }

    .hero{
        min-height:82vh;
        padding-top:86px;
    }

    .hero h1{
        font-size:30px;
    }

    .grid,
    .about,
    .features{
        grid-template-columns:1fr;
    }

    .card img{
        height:190px;
    }

    .wrap{
        padding:42px 14px;
    }

    .btn{
        width:100%;
    }

    .chat-tip{
        font-size:12px;
        right:0;
    }

    .section-title h2{
        font-size:24px;
    }
}
@keyframes tipGlow{
    0%{
        transform:scale(1);
        box-shadow:0 0 10px rgba(255,45,85,.5);
    }
    50%{
        transform:scale(1.08);
        box-shadow:0 0 28px rgba(255,45,85,.95);
    }
    100%{
        transform:scale(1);
        box-shadow:0 0 10px rgba(255,45,85,.5);
    }
}