/* =========================================================
   花南山设计 H5
   完整统一版 style.css
========================================================= */


/* =========================================================
   01 全局
========================================================= */

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


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        "PingFang SC",
        "Microsoft YaHei",
        Arial,
        sans-serif;

    color: #1c1c1c;
    background: #ffffff;

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}


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


img {
    display: block;
    max-width: 100%;
}


.container {
    width: calc(100% - 80px);
    max-width: 1380px;

    margin: 0 auto;
}





/* =========================================================
   02 顶部导航
========================================================= */

.site-header {
    height: 76px;

    padding: 0 42px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #ffffff;

    border-bottom: 1px solid #eeeeeb;

    position: relative;
    z-index: 100;
}


/* LOGO */

.logo {
    height: 66px;

    display: flex;
    align-items: center;
}


.logo img {
    width: auto;
    height: 58px;

    max-width: 180px;

    object-fit: contain;
}


/* 首页导航 */

.desktop-nav {
    display: flex;
    align-items: center;

    gap: 30px;
}


.desktop-nav a {
    position: relative;

    padding: 27px 0;

    font-size: 13px;

    color: #555;

    transition: .25s;
}


.desktop-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 20px;

    width: 0;
    height: 1px;

    background: #aa8350;

    transition: .25s;
}


.desktop-nav a:hover {
    color: #9b7546;
}


.desktop-nav a:hover::after {
    width: 100%;
}


/* 返回首页 */

.back {
    font-size: 13px;

    color: #777;

    transition: .25s;
}


.back:hover {
    color: #9d7849;
}


/* 手机菜单 */

.mobile-menu {
    display: none;

    font-size: 25px;
}





/* =========================================================
   03 首页 Hero
========================================================= */

.hero {
    height: 550px;

    position: relative;

    overflow: hidden;

    background-image: url("images/banner.png");
    background-size: cover;
    background-position: center;
}


.hero-shade {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(13,15,11,.72) 0%,
            rgba(13,15,11,.48) 31%,
            rgba(13,15,11,.10) 62%,
            rgba(13,15,11,0) 100%
        );
}


.hero-inner {
    max-width: 1380px;
    height: 100%;

    margin: auto;

    padding: 0 55px;

    display: flex;
    align-items: center;

    position: relative;
    z-index: 2;
}


.hero-content {
    width: 490px;

    color: #fff;
}


.hero-en {
    margin-bottom: 18px;

    font-size: 9px;

    letter-spacing: 5px;

    color: rgba(255,255,255,.65);
}


.hero h1 {
    margin-bottom: 25px;

    font-size: 45px;

    line-height: 1.2;

    letter-spacing: 6px;
}


.hero h2 {
    font-size: 25px;

    line-height: 1.65;

    font-weight: 400;
}


.hero-service {
    margin: 22px 0 32px;

    font-size: 13px;

    color: rgba(255,255,255,.75);
}


.hero-button {
    width: 172px;
    height: 48px;

    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #d5b983;

    color: #181818;

    font-size: 13px;

    transition: .3s;
}


.hero-button:hover {
    background: #e5ca94;

    transform: translateY(-2px);
}





/* =========================================================
   04 首页简介
========================================================= */

.intro {
    padding: 85px 0 65px;
}


.intro-inner {
    display: flex;

    justify-content: space-between;
    align-items: flex-end;
}


.section-en {
    margin-bottom: 12px;

    font-size: 10px;

    letter-spacing: 5px;

    color: #b08754;
}


.intro h2,
.cases-title h2,
.service-title h2 {
    font-size: 32px;

    font-weight: 600;

    letter-spacing: 2px;
}


.intro-text {
    width: 430px;

    font-size: 14px;

    line-height: 2;

    color: #777;
}





/* =========================================================
   05 首页案例分类
========================================================= */

.cases {
    padding: 30px 0 105px;
}


.cases-title {
    margin-bottom: 38px;

    display: flex;

    justify-content: space-between;
    align-items: flex-end;
}


.cases-title > p {
    font-size: 12px;

    color: #999;
}


.case-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}


.case-card {
    min-width: 0;

    transition: .3s;
}


.case-picture {
    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #f1f1f1;
}


.case-picture img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}


.case-card:hover .case-picture img {
    transform: scale(1.045);
}


.case-info {
    position: relative;

    padding: 20px 3px 5px;
}


.case-index {
    margin-bottom: 10px;

    font-size: 9px;

    letter-spacing: 2px;

    color: #b38d58;
}


.case-info h3 {
    margin-bottom: 7px;

    font-size: 21px;

    font-weight: 600;
}


.case-type {
    padding-right: 42px;

    font-size: 12px;

    color: #888;
}


.case-arrow {
    width: 34px;
    height: 34px;

    position: absolute;

    right: 2px;
    bottom: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #ddd;

    border-radius: 50%;

    font-size: 14px;

    transition: .25s;
}


.case-card:hover .case-arrow {
    background: #171717;

    color: #fff;

    border-color: #171717;
}





/* =========================================================
   07 分类页统一标题
   Brand / Package / Food / PPT
========================================================= */

.category-projects {
    width: 100%;
}


.better-projects {
    padding: 80px 0 110px;
}


.better-heading {
    margin-bottom: 48px;

    display: flex;

    justify-content: space-between;
    align-items: flex-end;

    gap: 40px;
}


.better-heading .section-en {
    margin-bottom: 14px;

    font-size: 11px;

    letter-spacing: 6px;

    color: #b08a57;
}


.better-heading h2 {
    font-family:
        "Songti SC",
        "STSong",
        "Noto Serif SC",
        "Times New Roman",
        serif;

    font-size: 52px;

    font-weight: 700;

    line-height: 1.2;

    letter-spacing: 3px;

    color: #171717;
}


.heading-note {
    padding-bottom: 8px;

    font-size: 11px;

    letter-spacing: 6px;

    color: #aaa;
}





/* =========================================================
   08 分类页案例卡片
========================================================= */

.project-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 24px;
}


.project-card {
    display: block;
}


.better-card {
    background: #fff;

    border: 1px solid #eceae4;

    overflow: hidden;

    transition: .3s;
}


.better-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 16px 40px
        rgba(0,0,0,.06);
}


/* 文字区 */

.project-text {
    min-height: 220px;

    padding: 28px 26px 26px;
}


.project-top {
    margin-bottom: 15px;

    display: flex;

    align-items: center;

    gap: 12px;
}


.project-no {
    font-size: 10px;

    letter-spacing: 2px;

    color: #b18d59;
}


.project-tag {
    padding: 5px 11px;

    border-radius: 999px;

    background: #f5f1e9;

    color: #876a42;

    font-size: 11px;
}


.project-text h3 {
    margin-bottom: 12px;

    font-size: 27px;

    font-weight: 600;

    line-height: 1.35;

    color: #171717;
}


.project-meta {
    margin-bottom: 15px;

    font-size: 13px;

    color: #999;
}


.project-desc {
    max-width: 760px;

    font-size: 14px;

    line-height: 1.95;

    color: #666;
}


/* 重要：
   案例整张图完整显示
   不再强制4:3裁切 */

.better-card > img,
.project-card.better-card > img {
    width: 100%;

    height: auto;

    aspect-ratio: auto;

    object-fit: contain;

    object-position: center;

    display: block;

    background: #f2f2f2;

    border-top: 1px solid #eee;
}





/* =========================================================
   09 Package 包装页
========================================================= */

.package-case-card {
    width: 100%;

    margin-bottom: 70px;
}


/* Package 页面通常一套案例较大，
   强制一列显示 */

.package-case-card.project-card {
    display: block;
}


.package-main-img {
    width: 100%;

    height: auto;

    object-fit: contain;

    display: block;
}


.package-detail-grid {
    padding: 18px;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 18px;

    background: #faf9f6;
}


.package-detail-grid img {
    width: 100%;

    height: auto;

    object-fit: contain;

    display: block;
}





/* =========================================================
   10 Food 餐饮页
========================================================= */

.food-case-card {
    width: 100%;

    margin-bottom: 70px;
}


.food-main-img {
    width: 100%;

    height: auto;

    object-fit: contain;

    display: block;

    border-top: 1px solid #eee;
}





/* =========================================================
   11 PPT 页面
========================================================= */

.ppt-case-card {
    width: 100%;

    margin-bottom: 70px;
}


.ppt-main-img {
    width: 100%;

    height: auto;

    object-fit: contain;

    display: block;

    border-top: 1px solid #eee;
}





/* =========================================================
   12 包装 / 餐饮 / PPT 大案例纵向模式
========================================================= */

/*
   brand.html 使用 project-grid 三列。

   package / food / ppt 如果 HTML 没有 project-grid，
   就天然是纵向。

   如果以后也用了 project-grid，可以给父级增加：
   class="project-grid project-grid-single"
*/

.project-grid-single {
    grid-template-columns: 1fr;
}





/* =========================================================
   13 联系咨询区
========================================================= */

.contact {
    padding: 100px 0;

    text-align: center;

    background: #151515;

    color: #fff;
}


.contact-inner {
    max-width: 760px;
}


.contact-en {
    margin-bottom: 18px;

    font-size: 9px;

    letter-spacing: 5px;

    color: #d0aa70;
}


.contact h2 {
    margin-bottom: 15px;

    font-size: 38px;

    letter-spacing: 2px;
}


.contact > .contact-inner > p:not(.contact-en) {
    margin-bottom: 25px;

    color: #999;

    font-size: 14px;
}


/* 联系区域 */

.contact-action {
    margin-top: 38px;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 52px;
}


/* 二维码 */

.contact-qr {
    display: flex;

    flex-direction: column;

    align-items: center;
}


.contact-qr img {
    width: 130px;
    height: 130px;

    padding: 7px;

    background: #ffffff;

    object-fit: contain;
}


.contact-qr span {
    margin-top: 12px;

    font-size: 12px;

    color: #999;
}


/* 右侧文字 */

.contact-action-right {
    text-align: left;
}


.contact-action-right > p {
    margin-bottom: 22px !important;

    font-size: 13px !important;

    line-height: 2;

    color: #aaa !important;
}


/* 按钮 */

.contact-button {
    width: 182px;
    height: 56px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #d8b87c;

    color: #151515;

    font-size: 15px;

    transition: .25s;
}


.contact-action-right .contact-button {
    margin: 0;
}


.contact-button:hover {
    background: #e6c88f;

    transform: translateY(-2px);
}





/* =========================================================
   14 Footer
========================================================= */

footer {
    padding: 28px 0;

    background: #0c0c0c;

    color: #fff;
}


.footer-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;
}


.copyright {
    font-size: 11px;

    letter-spacing: 1px;

    color: #666;
}


.footer-inner > span {
    font-size: 8px;

    letter-spacing: 3px;

    color: #555;
}





/* =========================================================
   15 普通分类页旧样式兼容
========================================================= */

.category-hero {
    padding: 90px 0 70px;

    background: #f8f7f3;
}


.category-hero h1 {
    margin: 8px 0 18px;

    font-family:
        "Songti SC",
        "STSong",
        serif;

    font-size: 46px;

    font-weight: 500;

    letter-spacing: 3px;
}


.category-hero > .container > p:last-child {
    max-width: 600px;

    color: #777;

    font-size: 15px;

    line-height: 2;
}





/* =========================================================
   16 平板
========================================================= */

@media (max-width: 1000px) {


    .desktop-nav {
        display: none;
    }


    .mobile-menu {
        display: block;
    }


    /* 首页四列 → 两列 */

    .case-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 35px 20px;
    }


    /* Brand案例 */

    .project-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .better-heading h2 {
        font-size: 46px;
    }


}





/* =========================================================
   17 手机 H5
========================================================= */

@media (max-width: 700px) {


    .container {
        width: calc(100% - 40px);
    }



    /* -----------------
       Header
    ----------------- */

    .site-header {
        height: 64px;

        padding: 0 18px;
    }


    .logo {
        height: 56px;
    }


    .logo img {
        height: 48px;

        max-width: 150px;
    }



    /* -----------------
       Hero
    ----------------- */

    .hero {
        height: 520px;

        background-position: 64% center;
    }


    .hero-shade {
        background:
            linear-gradient(
                90deg,
                rgba(0,0,0,.75),
                rgba(0,0,0,.26)
            );
    }


    .hero-inner {
        padding: 0 22px 55px;

        align-items: flex-end;
    }


    .hero-content {
        width: 100%;
    }


    .hero h1 {
        margin-bottom: 20px;

        font-size: 34px;
    }


    .hero h2 {
        font-size: 20px;
    }


    .hero-service {
        font-size: 11px;
    }



    /* -----------------
       首页简介
    ----------------- */

    .intro {
        padding: 65px 0 45px;
    }


    .intro-inner {
        display: block;
    }


    .intro h2,
    .cases-title h2,
    .service-title h2 {
        font-size: 27px;
    }


    .intro-text {
        width: auto;

        margin-top: 20px;
    }



    /* -----------------
       首页案例
    ----------------- */

    .cases {
        padding: 25px 0 75px;
    }


    .cases-title > p {
        display: none;
    }


    .case-grid {
        grid-template-columns: 1fr;

        gap: 38px;
    }


    .case-picture {
        aspect-ratio: 4 / 3;
    }
/* -----------------
       分类页标题
    ----------------- */

    .better-projects {
        padding: 58px 0 75px;
    }


    .better-heading {
        margin-bottom: 35px;

        display: block;
    }


    .better-heading .section-en {
        font-size: 9px;

        letter-spacing: 4px;
    }


    .better-heading h2 {
        font-size: 36px;

        letter-spacing: 2px;
    }


    .heading-note {
        margin-top: 12px;

        padding: 0;

        font-size: 9px;

        letter-spacing: 4px;
    }



    /* -----------------
       分类项目
    ----------------- */

    .project-grid {
        grid-template-columns: 1fr;

        gap: 32px;
    }


    .project-text {
        min-height: auto;

        padding: 24px 21px 23px;
    }


    .project-text h3 {
        font-size: 23px;
    }


    .project-desc {
        font-size: 13px;
    }



    /* -----------------
       Package
    ----------------- */

    .package-case-card {
        margin-bottom: 45px;
    }


    .package-detail-grid {
        padding: 12px;

        grid-template-columns: 1fr;

        gap: 12px;
    }



    /* -----------------
       Food
    ----------------- */

    .food-case-card {
        margin-bottom: 45px;
    }



    /* -----------------
       PPT
    ----------------- */

    .ppt-case-card {
        margin-bottom: 45px;
    }



    /* -----------------
       联系区域
    ----------------- */

    /* =========================================
    联系咨询区
    ========================================= */

    .contact {
        padding: 90px 0 85px;
        background: #151515;
        color: #fff;
        text-align: center;
    }

    .contact-inner {
        max-width: 760px;
    }

    .contact-en {
        margin-bottom: 15px;
        font-size: 10px;
        letter-spacing: 6px;
        color: #d0aa70;
    }

    .contact h2 {
        margin-bottom: 14px;
        font-size: 42px;
        letter-spacing: 2px;
    }

    .contact-desc {
        margin-bottom: 42px;
        font-size: 14px;
        color: #999;
    }


    /* 外框整体 */
    .contact-box {
        max-width: 620px;
        margin: 0 auto;
        padding: 34px 36px;

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 46px;

        background: rgba(255,255,255,.03);
        border: 1px solid rgba(255,255,255,.08);
    }


    /* 左侧二维码 */
    .contact-qr {
        flex-shrink: 0;

        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-qr img {
        width: 130px;
        height: 130px;
        padding: 7px;
        background: #fff;
        object-fit: contain;
    }

    .contact-qr span {
        margin-top: 12px;
        font-size: 12px;
        color: #999;
    }


    /* 右侧文字+按钮 */
    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .contact-info h3 {
        margin-bottom: 12px;
        font-size: 18px;
        font-weight: 600;
        color: #fff;
    }

    .contact-info p {
        margin-bottom: 20px;
        font-size: 13px;
        line-height: 2;
        color: #aaa;
    }


    /* 按钮 */
    .contact-button {
        width: 170px;
        height: 48px;

        display: flex;
        align-items: center;
        justify-content: center;

        background: #d8b87c;
        color: #171717;
        font-size: 14px;

        margin: 0;              /* 关键：防止被别的样式影响 */
        align-self: flex-start; /* 关键：按钮跟着右侧文字一起 */

        transition: .25s;
    }

    .contact-button:hover {
        background: #e6c88f;
        transform: translateY(-2px);
    }


    /* 手机端 */
    @media (max-width: 700px) {
        .contact {
            padding: 70px 0;
        }

        .contact h2 {
            font-size: 32px;
        }

        .contact-box {
            padding: 28px 22px;
            flex-direction: column;
            gap: 24px;
        }

        .contact-info {
            align-items: center;
            text-align: center;
        }

        .contact-button {
            align-self: center;
        }

        .contact-qr img {
            width: 140px;
            height: 140px;
        }
    }


    /* -----------------
       Footer
    ----------------- */

    .footer-inner {
        flex-direction: column;

        align-items: flex-start;

        gap: 18px;
    }



    /* -----------------
       兼容旧分类标题
    ----------------- */

    .category-hero {
        padding: 65px 0 55px;
    }


    .category-hero h1 {
        font-size: 34px;
    }


}

/* 底部联系二维码 */

.contact-qr-only {

    margin: 30px auto 0;

    display: flex;

    flex-direction: column;

    align-items: center;

}


.contact-qr-only img {

    width: 150px;

    height: 150px;

    padding: 8px;

    background: #fff;

    object-fit: contain;

}


.contact-qr-only p {

    margin-top: 12px !important;

    margin-bottom: 0 !important;

    font-size: 12px !important;

    color: #999 !important;

}

/* =========================================================
   首页设计流程｜暖米灰高级版
   独立类名，不与旧 service 样式冲突
========================================================= */

.service-premium {
    position: relative;
    overflow: hidden;

    padding: 108px 0 112px;

    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(188, 151, 96, .10),
            transparent 28%
        ),
        #f4f1ea;

    border-top: 1px solid #e9e2d7;
    border-bottom: 1px solid #e6ded2;
}


/* 背景极淡装饰 */

.service-premium::before {
    content: "";

    position: absolute;
    right: -150px;
    top: -190px;

    width: 420px;
    height: 420px;

    border: 1px solid rgba(176, 140, 87, .09);
    border-radius: 50%;

    pointer-events: none;
}


.service-premium::after {
    content: "";

    position: absolute;
    right: 62px;
    top: 58px;

    width: 74px;
    height: 1px;

    background: rgba(176, 140, 87, .35);

    pointer-events: none;
}


/* 标题区 */

.service-premium-head {
    position: relative;
    z-index: 2;

    margin-bottom: 52px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 70px;
}


.service-premium-head .section-en {
    margin-bottom: 14px;

    font-size: 10px;
    letter-spacing: 6px;

    color: #b08a57;
}


.service-premium-head h2 {
    font-family:
        "Songti SC",
        "STSong",
        "Noto Serif SC",
        "Microsoft YaHei",
        serif;

    font-size: 46px;

    font-weight: 700;

    line-height: 1.25;

    letter-spacing: 2px;

    color: #171717;
}


.service-premium-intro {
    max-width: 390px;

    padding-bottom: 4px;

    font-size: 13px;
    line-height: 2;

    color: #847f77;
}


/* 三列 */

.service-premium-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


/* 卡片 */

.service-premium-card {
    position: relative;
    overflow: hidden;

    min-height: 286px;

    padding: 32px 30px 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.96),
            rgba(253,252,249,.90)
        );

    border: 1px solid #e5ded3;

    box-shadow:
        0 14px 38px rgba(62, 49, 31, .04);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


/* 金色短线 */

.service-premium-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 30px;

    width: 56px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            #c8a26b,
            #d6bd96
        );
}


/* 超淡装饰圆 */

.service-premium-card::after {
    content: "";

    position: absolute;
    right: -34px;
    top: -42px;

    width: 132px;
    height: 132px;

    border: 1px solid rgba(181, 145, 92, .08);
    border-radius: 50%;
}


.service-premium-card:hover {
    transform: translateY(-6px);

    border-color: #d9cebd;

    box-shadow:
        0 22px 48px rgba(62, 49, 31, .075);
}


/* 卡片顶部 */

.service-premium-top {
    position: relative;
    z-index: 2;

    margin-bottom: 34px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 12px;
}


.service-premium-no {
    width: 46px;
    height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #c7a16a;
    border-radius: 50%;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 13px;
    letter-spacing: 1px;

    color: #a77d45;
}


.service-premium-tag {
    padding: 6px 12px;

    border-radius: 999px;

    background: #f2ece2;

    font-size: 11px;

    color: #8c6c43;
}


/* 标题 */

.service-premium-card h3 {
    position: relative;
    z-index: 2;

    margin-bottom: 14px;

    font-family:
        "PingFang SC",
        "Microsoft YaHei",
        "Noto Sans SC",
        sans-serif;

    font-size: 28px;

    font-weight: 700;

    line-height: 1.35;

    color: #171717;
}


/* 描述 */

.service-premium-card > p {
    position: relative;
    z-index: 2;

    max-width: 330px;

    font-size: 14px;
    line-height: 1.95;

    color: #74706a;
}


/* 底部关键词 */

.service-premium-keywords {
    position: absolute;
    z-index: 2;

    left: 30px;
    right: 30px;
    bottom: 27px;

    padding-top: 16px;

    border-top: 1px solid #ebe5dc;

    font-size: 10px;
    letter-spacing: 1.35px;

    color: #aaa197;
}


/* 平板 */

@media (max-width: 1000px) {

    .service-premium-head {
        gap: 38px;
    }


    .service-premium-grid {
        gap: 16px;
    }


    .service-premium-card {
        padding: 28px 24px 25px;
    }


    .service-premium-card::before {
        left: 24px;
    }


    .service-premium-keywords {
        left: 24px;
        right: 24px;
    }


    .service-premium-card h3 {
        font-size: 24px;
    }

}


/* 手机 */

@media (max-width: 700px) {

    .service-premium {
        padding: 72px 0 78px;
    }


    .service-premium-head {
        margin-bottom: 34px;

        display: block;
    }


    .service-premium-head h2 {
        font-size: 32px;
        letter-spacing: 1px;
    }


    .service-premium-intro {
        max-width: none;

        margin-top: 18px;

        font-size: 13px;
    }


    .service-premium-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .service-premium-card {
        min-height: 260px;

        padding: 28px 22px 24px;
    }


    .service-premium-card::before {
        left: 22px;

        width: 48px;
    }


    .service-premium-top {
        margin-bottom: 26px;
    }


    .service-premium-card h3 {
        font-size: 24px;
    }


    .service-premium-card > p {
        max-width: none;
    }


    .service-premium-keywords {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }

}

/* =========================================================
   18 首页手机端收尾优化
   - 收紧首页模块间距
   - 真正的移动端菜单
========================================================= */

body.menu-open {
    overflow: hidden;
}


/* ---------------------------------------------------------
   手机菜单按钮
--------------------------------------------------------- */

.mobile-menu-button {
    display: none;

    width: 44px;
    height: 44px;

    padding: 10px 8px;

    border: 0;

    background: transparent;

    cursor: pointer;
}


.mobile-menu-button span {
    display: block;

    width: 26px;
    height: 2px;

    margin: 5px auto;

    background: #181818;

    transition: .25s;
}


/* ---------------------------------------------------------
   手机抽屉菜单
--------------------------------------------------------- */

.mobile-nav {
    position: fixed;

    inset: 0;

    z-index: 1000;

    visibility: hidden;

    opacity: 0;

    pointer-events: none;

    transition:
        opacity .28s ease,
        visibility .28s ease;
}


.mobile-nav.is-open {
    visibility: visible;

    opacity: 1;

    pointer-events: auto;
}


.mobile-nav-backdrop {
    position: absolute;

    inset: 0;

    background: rgba(14, 14, 14, .42);

    backdrop-filter: blur(3px);
}


.mobile-nav-panel {
    position: absolute;

    top: 0;
    right: 0;

    width: min(88vw, 430px);
    height: 100%;

    padding: 0 28px 30px;

    display: flex;

    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f7f4ed 100%
        );

    transform: translateX(100%);

    transition:
        transform .36s
        cubic-bezier(.22,.8,.25,1);
}


.mobile-nav.is-open
.mobile-nav-panel {
    transform: translateX(0);
}


/* 菜单头部 */

.mobile-nav-head {
    height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid #e8e2d8;
}


.mobile-nav-logo img {
    width: auto;

    height: 52px;

    object-fit: contain;
}


.mobile-nav-close {
    position: relative;

    width: 42px;
    height: 42px;

    border: 0;

    background: transparent;

    cursor: pointer;
}


.mobile-nav-close span {
    position: absolute;

    left: 9px;
    top: 20px;

    width: 25px;
    height: 1.5px;

    background: #1d1d1d;
}


.mobile-nav-close span:first-child {
    transform: rotate(45deg);
}


.mobile-nav-close span:last-child {
    transform: rotate(-45deg);
}


/* 菜单链接 */

.mobile-nav-links {
    margin-top: 24px;

    display: flex;

    flex-direction: column;
}


.mobile-nav-links a {
    position: relative;

    min-height: 76px;

    padding: 16px 8px 14px 43px;

    display: grid;

    grid-template-columns: 1fr auto;

    align-items: center;

    border-bottom: 1px solid #e6dfd4;

    transition:
        padding-left .25s ease,
        color .25s ease;
}


.mobile-nav-links a:hover {
    padding-left: 49px;

    color: #9c7544;
}


.mobile-nav-no {
    position: absolute;

    left: 8px;
    top: 20px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 10px;

    color: #b28b59;
}


.mobile-nav-links strong {
    font-family:
        "Songti SC",
        "STSong",
        "Noto Serif SC",
        "Microsoft YaHei",
        serif;

    font-size: 24px;

    font-weight: 600;

    letter-spacing: 1px;
}


.mobile-nav-links em {
    font-style: normal;

    font-size: 8px;

    letter-spacing: 2px;

    color: #aaa39a;
}


.mobile-nav-foot {
    margin-top: auto;

    padding: 22px 8px 0;

    border-top: 1px solid #e8e2d8;

    font-size: 8px;

    letter-spacing: 4px;

    color: #ad9d89;
}


/* ---------------------------------------------------------
   平板 / 手机启用菜单
--------------------------------------------------------- */

@media (max-width: 1000px) {

    .mobile-menu {
        display: none !important;
    }


    .mobile-menu-button {
        display: block;
    }

}


/* ---------------------------------------------------------
   手机：首页间距精修
--------------------------------------------------------- */

@media (max-width: 700px) {

    /* 顶部 */
    .site-header {
        height: 64px;
    }


    .mobile-menu-button {
        width: 42px;
        height: 42px;

        padding-right: 4px;
    }


    /* Hero 底部稍微收紧 */
    .hero {
        height: 500px;
    }


    .hero-inner {
        padding:
            0
            22px
            48px;
    }


    .hero h1 {
        margin-bottom: 17px;
    }


    .hero-service {
        margin:
            18px
            0
            27px;
    }


    /* “找你需要的设计”区域更紧凑 */
    .intro {
        padding:
            52px
            0
            36px;
    }


    .intro-text {
        margin-top: 16px;

        line-height: 1.9;
    }


    /* 案例标题与卡片间距 */
    .cases {
        padding:
            10px
            0
            62px;
    }


    .cases-title {
        margin-bottom: 27px;
    }


    .case-grid {
        gap: 27px;
    }


    .case-info {
        padding:
            16px
            4px
            2px;
    }


    .case-index {
        margin-bottom: 7px;
    }


    .case-info h3 {
        margin-bottom: 5px;

        font-size: 20px;
    }


    .case-arrow {
        width: 36px;
        height: 36px;

        bottom: 4px;
    }


    /* 设计流程整体略收紧 */
    .service-premium {
        padding:
            64px
            0
            68px;
    }


    .service-premium-head {
        margin-bottom: 28px;
    }


    .service-premium-intro {
        margin-top: 14px;
    }


    .service-premium-grid {
        gap: 14px;
    }


    /* 咨询区手机端减少无意义空白 */
    .contact {
        padding:
            64px
            0
            68px !important;
    }


    .contact-desc {
        margin-bottom: 30px !important;
    }


    .contact-box {
        width: 100%;

        padding:
            26px
            18px !important;
    }


    .contact-qr img {
        width: 132px !important;
        height: 132px !important;
    }


    /* 手机菜单进一步适配窄屏 */
    .mobile-nav-panel {
        width: min(90vw, 390px);

        padding:
            0
            22px
            26px;
    }


    .mobile-nav-head {
        height: 64px;
    }


    .mobile-nav-logo img {
        height: 46px;
    }


    .mobile-nav-links {
        margin-top: 18px;
    }


    .mobile-nav-links a {
        min-height: 70px;

        padding:
            14px
            5px
            13px
            39px;
    }


    .mobile-nav-links strong {
        font-size: 22px;
    }


    .mobile-nav-no {
        left: 5px;

        top: 19px;
    }

}

/* =========================================================
   页脚备案信息
========================================================= */

.footer-record {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 5px;
}


.footer-record .copyright {
    margin: 0;
}


.footer-record a {
    font-size: 11px;

    line-height: 1.6;

    color: #666;

    transition: color .25s ease;
}


.footer-record a:hover {
    color: #b08a57;
}


@media (max-width: 700px) {

    footer {
        padding: 24px 0;
    }


    .footer-record {
        gap: 4px;
    }


    .footer-record a {
        font-size: 10px;
    }

}

