@charset "utf-8";
/* ==========================================================================
   绛韵鼓乐艺术团 · 站点样式
   ========================================================================== */

:root {
    --ink: #1b1a17;
    --ink-soft: #3a352d;
    --paper: #f7f4ee;
    --paper-deep: #efe9dd;
    --line: #e5dfd2;
    --red: #9d2b22;
    --red-dark: #82211a;
    --gold: #b29257;
    --muted: #7d7568;
    --white: #fff;
    --head-h: 78px;
    --wrap: 1200px;
    --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    padding-top: var(--head-h);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.8;
    color: var(--ink-soft);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; -webkit-user-drag: none; -khtml-user-drag: none; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 500; }
p { margin: 0; }
button { font-family: inherit; }

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------------- 顶部导航 ---------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    height: var(--head-h);
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s ease, height .3s ease;
}

.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(30, 24, 16, .07); }

.head-inner {
    display: flex;
    align-items: center;
    height: var(--head-h);
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand:hover { color: inherit; }

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: var(--red);
    color: #fdf8ef;
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1;
    letter-spacing: 0;
    border-radius: 2px;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text b {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--ink);
}
.brand-text span {
    font-size: 9.5px;
    letter-spacing: 2.4px;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 2px;
}

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 30px; }
.nav a {
    position: relative;
    display: block;
    padding: 8px 0;
    font-size: 15px;
    color: #443f36;
    letter-spacing: 1px;
}
.nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--red);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform .28s ease;
}
.nav a:hover::after,
.nav a.is-active::after { transform: translateX(-50%) scaleX(1); }
.nav a.is-active { color: var(--red); }

.head-tel {
    margin-left: 34px;
    padding-left: 26px;
    border-left: 1px solid var(--line);
    text-align: right;
    line-height: 1.3;
}
.head-tel span { display: block; font-size: 11px; color: var(--muted); letter-spacing: 1px; }
.head-tel b {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 500;
    color: var(--red);
    letter-spacing: .5px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0;
    background: none;
    border: 1px solid var(--line);
    border-radius: 2px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    margin: 4px auto;
    background: var(--ink);
    transition: .25s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------------- 首页轮播 ---------------- */
.hero {
    position: relative;
    height: clamp(420px, 64vh, 660px);
    overflow: hidden;
    background: #14110d;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}
.hero-slide.is-active img { animation: heroZoom 9s ease-out forwards; }
@keyframes heroZoom {
    from { transform: scale(1.02); }
    to { transform: scale(1.09); }
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 10, 7, .78) 0%, rgba(13, 10, 7, .42) 48%, rgba(13, 10, 7, .08) 100%);
}

.hero-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 86px;
    color: #fff;
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
}
.hero-kicker::before { content: ""; width: 34px; height: 2px; background: var(--red); }

.hero-title {
    margin: 14px 0 10px;
    font-family: var(--serif);
    max-width: 760px;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.3;
    letter-spacing: 4px;
    font-weight: 500;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hero-sub {
    max-width: 560px;
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .8);
    letter-spacing: .5px;
}
.hero-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-ui { position: absolute; left: 0; right: 0; bottom: 26px; }
.hero-ui-inner { display: flex; align-items: center; justify-content: space-between; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button {
    width: 34px;
    height: 3px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, .32);
    cursor: pointer;
    transition: background .3s ease;
}
.hero-dots button.is-active { background: #fff; }
.hero-count { font-size: 12px; letter-spacing: 1px; color: rgba(255, 255, 255, .6); }
.hero-count b { font-family: var(--serif); font-size: 20px; color: #fff; font-weight: 500; margin-right: 4px; }

.hero-arrow {
    position: absolute;
    top: 50%;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(0, 0, 0, .12);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: .3s ease;
}
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: var(--red); border-color: var(--red); }
.hero-arrow.prev { left: 28px; }
.hero-arrow.next { right: 28px; }

/* ---------------- 通用按钮 ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--red);
    border: 1px solid var(--red);
    color: #fff;
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 2px;
    transition: .28s ease;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn i { font-style: normal; transition: transform .28s ease; }
.btn:hover i { transform: translateX(4px); }

.btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn--line {
    background: transparent;
    border-color: #cfc6b6;
    color: var(--ink);
}
.btn--line:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------------- 区块与标题 ---------------- */
.sec { padding: 78px 0; }
.sec--paper { background: var(--paper); }
.sec--tight { padding: 58px 0; }

.sec-head { text-align: center; margin-bottom: 46px; }
.sec-head .en {
    display: block;
    font-size: 11px;
    letter-spacing: 5px;
    color: var(--gold);
    text-transform: uppercase;
}
.sec-head h2 {
    margin: 10px 0 16px;
    font-family: var(--serif);
    font-size: 30px;
    letter-spacing: 4px;
    color: var(--ink);
}
.sec-head .bar { width: 36px; height: 2px; margin: 0 auto; background: var(--red); }
.sec-head p { margin-top: 16px; font-size: 14px; color: var(--muted); letter-spacing: .5px; }

.sec-foot { margin-top: 44px; text-align: center; }
.sec-foot a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--muted);
}
.sec-foot a::after { content: "→"; transition: transform .25s ease; }
.sec-foot a:hover { color: var(--red); }
.sec-foot a:hover::after { transform: translateX(4px); }

/* ---------------- 首页演出项目 ---------------- */
.project-section {
    position: relative;
    overflow: hidden;
    background: #f7f4ee;
}
.project-section::before {
    content: "";
    position: absolute;
    top: 86px;
    left: calc(50% - 660px);
    width: 310px;
    height: 310px;
    border: 1px solid rgba(178, 146, 87, .14);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(178, 146, 87, .025), 0 0 0 84px rgba(178, 146, 87, .018);
    pointer-events: none;
}
.project-section .wrap { position: relative; z-index: 1; }
.project-section-head { margin-bottom: 36px; }

/* ---------------- 活动场景 ---------------- */
.scene-guide {
    margin: 0 0 46px;
    padding: 28px 30px 0;
    background: rgba(255, 255, 255, .76);
    border: 1px solid var(--line);
}
.scene-guide-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 22px; }
.scene-guide-head .en { display: block; font-size: 10px; letter-spacing: 4px; color: var(--gold); }
.scene-guide-head h3 { margin-top: 7px; font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: 2px; color: var(--ink); }
.scene-guide-head p { max-width: 530px; margin: 0; font-size: 13px; line-height: 1.85; color: var(--muted); text-align: right; }
.scene-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 -30px;
    border-top: 1px solid var(--line);
}
.scene-card {
    position: relative;
    min-height: 166px;
    padding: 24px 27px;
    background: transparent;
    border-right: 1px solid var(--line);
    transition: background .28s ease, color .28s ease;
}
.scene-card:last-child { border-right: 0; }
.scene-card::after { content: ""; position: absolute; left: 27px; bottom: 0; width: 0; height: 3px; background: var(--red); transition: width .28s ease; }
.scene-card:hover { background: #fff; color: inherit; }
.scene-card:hover::after { width: calc(100% - 54px); }
.scene-no { display: block; color: var(--gold); font-size: 12px; letter-spacing: 2px; }
.scene-card h4 { margin: 20px 0 7px; font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: 2px; color: var(--ink); }
.scene-card p { font-size: 13px; line-height: 1.9; color: var(--muted); }
.scene-link { display: inline-flex; gap: 8px; margin-top: 13px; font-size: 12px; letter-spacing: 1px; color: var(--red); }
.scene-link i { font-style: normal; transition: transform .25s ease; }
.scene-card:hover .scene-link i { transform: translateX(4px); }

/* ---------------- 演出项目卡片 ---------------- */
.proj-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}

.proj-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--line);
    transition: .3s ease;
}
.proj-card:hover {
    border-color: #d9cfba;
    box-shadow: 0 14px 30px -18px rgba(60, 45, 25, .45);
    color: inherit;
}
.proj-card .pic {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--paper-deep);
}
.proj-card .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}
.proj-card:hover .pic img { transform: scale(1.06); }
.proj-card .pic::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 15, 10, .18);
    opacity: 0;
    transition: opacity .35s ease;
}
.proj-card:hover .pic::after { opacity: 1; }

.proj-card .cap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 14px 18px;
    text-align: center;
    border-top: 1px solid var(--line);
}
.proj-card h3 {
    font-family: var(--serif);
    font-size: 17px;
    letter-spacing: 2px;
    color: var(--ink);
}
.proj-card .sub {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.7;
    color: var(--muted);
    letter-spacing: .3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.proj-card .tag {
    position: absolute;
    z-index: 2;
    left: 12px;
    top: 12px;
    padding: 3px 10px;
    background: rgba(157, 43, 34, .92);
    color: #fff;
    font-size: 11px;
    letter-spacing: 1px;
    border-radius: 1px;
}

/* ---------------- 资讯卡片 ---------------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}
.news-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--line);
    transition: .3s ease;
}
.news-card:hover { border-color: #d9cfba; box-shadow: 0 14px 30px -20px rgba(60, 45, 25, .4); color: inherit; }
.news-card .pic { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-deep); }
.news-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.news-card:hover .pic img { transform: scale(1.05); }
.news-card .txt { padding: 18px 18px 20px; }
.news-card .date { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.content-kind { display: inline-block; margin-right: 9px; padding-right: 9px; border-right: 1px solid var(--line); color: var(--red); letter-spacing: .5px; }
.news-card h3 {
    margin: 8px 0 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card:hover h3 { color: var(--red); }
.news-card p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------------- 关于我们 ---------------- */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}
.about-media { position: relative; }
.about-media .frame {
    position: absolute;
    left: -18px;
    bottom: -18px;
    width: 62%;
    height: 62%;
    border: 1px solid rgba(157, 43, 34, .45);
    z-index: 0;
}
.about-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    display: block;
}
.about-copy .en {
    display: block;
    font-size: 11px;
    letter-spacing: 5px;
    color: var(--gold);
    text-transform: uppercase;
}
.about-copy h2 {
    margin: 12px 0 22px;
    font-family: var(--serif);
    font-size: 30px;
    letter-spacing: 3px;
    color: var(--ink);
}
.about-copy p { font-size: 14.5px; line-height: 2; color: #57503f; margin-bottom: 14px; }
.about-stats {
    display: flex;
    gap: 42px;
    margin: 28px 0 30px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.about-stat b {
    display: block;
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 500;
    color: var(--red);
    line-height: 1.1;
}
.about-stat b small { font-size: 15px; margin-left: 2px; }
.about-stat span { font-size: 12.5px; color: var(--muted); letter-spacing: 1px; }

/* ---------------- 联系方式 ---------------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
}
.contact-card {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--line);
    padding: 38px 40px;
}
.contact-card--guide { background: var(--paper); }
.contact-card h3 {
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: 3px;
    color: var(--ink);
    padding-bottom: 16px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}
.contact-card h3 small { font-family: var(--sans); font-size: 11px; letter-spacing: 3px; color: var(--gold); }
.contact-row { display: flex; gap: 18px; padding: 12px 0; border-bottom: 1px dashed #e9e2d4; }
.contact-row:last-child { border-bottom: 0; }
.contact-row dt {
    width: 62px;
    flex-shrink: 0;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 1px;
}
.contact-row dd { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.9; }
.contact-row dd a { color: var(--red); }
.contact-row dd strong { font-weight: 500; font-family: var(--serif); font-size: 19px; color: var(--red); letter-spacing: 1px; }
.wechat-qr {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed #e9e2d4;
}
.wechat-qr img {
    width: 118px;
    height: 118px;
    flex: 0 0 118px;
    padding: 5px;
    background: #fff;
    border: 1px solid var(--line);
    object-fit: contain;
}
.wechat-qr b { display: block; color: var(--ink); font-family: var(--serif); font-size: 18px; font-weight: 500; letter-spacing: 2px; }
.wechat-qr p { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.8; }

/* 首页：联系方式 + 在线留言并列 */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.contact-cards { display: grid; gap: 24px; min-width: 0; }
.contact-layout > .form-card { min-width: 0; }

/* ---------------- 内页横幅 ---------------- */
.page-banner {
    position: relative;
    height: 280px;
    background: #1a1611 center 42% / cover no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}
.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 11, 8, .82), rgba(15, 11, 8, .46) 60%, rgba(15, 11, 8, .28));
}
.page-banner .wrap { position: relative; z-index: 1; }
.page-banner .en { font-size: 11px; letter-spacing: 5px; color: rgba(255, 255, 255, .65); text-transform: uppercase; }
.page-banner h1,
.page-banner .banner-title {
    margin: 12px 0 14px;
    font-family: var(--serif);
    font-size: 34px;
    letter-spacing: 5px;
    font-weight: 500;
}
.page-banner p { font-size: 14px; color: rgba(255, 255, 255, .72); letter-spacing: 1px; }
.page-banner .crumbs { margin-top: 20px; font-size: 12.5px; color: rgba(255, 255, 255, .62); letter-spacing: 1px; }
.page-banner .crumbs a { color: rgba(255, 255, 255, .8); }
.page-banner .crumbs a:hover { color: #fff; }
.page-banner .crumbs span { margin: 0 8px; color: rgba(255, 255, 255, .35); }

/* ---------------- 内页布局 ---------------- */
.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 318px;
    gap: 40px;
    padding: 56px 0 72px;
    align-items: start;
}
.layout--single { display: block; max-width: 940px; margin: 0 auto; }

.side-col { display: flex; flex-direction: column; gap: 24px; }

.widget { background: #fff; border: 1px solid var(--line); }
.widget h3 {
    padding: 16px 22px;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 17px;
    letter-spacing: 2px;
    color: var(--ink);
    position: relative;
}
.widget h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 3px;
    background: var(--red);
}
.widget .list li { border-bottom: 1px dashed #ece5d8; }
.widget .list li:last-child { border-bottom: 0; }
.widget .list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 22px;
    font-size: 14px;
    color: #4c463b;
}
.widget .list a::after { content: "›"; color: #c9c0ae; font-size: 16px; }
.widget .list a:hover { color: var(--red); background: #fbf8f2; }
.widget .list a.is-active { color: var(--red); font-weight: 500; }
.widget .list .num { font-size: 12px; color: #b6ac99; }

.widget--contact { background: var(--ink); border-color: var(--ink); color: #d9d2c4; padding: 28px 24px; }
.widget--contact h3 { padding: 0 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; }
.widget--contact h3::before { display: none; }
.widget--contact .label { font-size: 12px; letter-spacing: 2px; color: rgba(255, 255, 255, .5); margin-top: 22px; }
.widget--contact .tel { font-family: var(--serif); font-size: 25px; color: #fff; letter-spacing: 1px; line-height: 1.4; }
.widget--contact .mail { font-size: 13.5px; margin-top: 6px; word-break: break-all; }
.widget--contact .btn { width: 100%; margin-top: 24px; }

/* ---------------- 文章 ---------------- */
.article { background: #fff; border: 1px solid var(--line); padding: 42px 48px 46px; }
.article-head { text-align: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.article-head .cat {
    display: inline-block;
    padding: 3px 12px;
    border: 1px solid rgba(157, 43, 34, .35);
    color: var(--red);
    font-size: 12px;
    letter-spacing: 1px;
}
.article-head h1 {
    margin: 16px 0 14px;
    font-family: var(--serif);
    font-size: 29px;
    line-height: 1.5;
    letter-spacing: 2px;
    color: var(--ink);
}
.article-meta { font-size: 12.5px; color: var(--muted); letter-spacing: 1px; }
.article-meta span + span { margin-left: 18px; }

.article-cover { margin: 0 0 28px; }
.article-cover img { width: 100%; max-height: 460px; object-fit: cover; display: block; }

.article-body { font-size: 15.5px; line-height: 2.05; color: #3f3a31; }
.article-body p { margin-bottom: 18px; text-indent: 2em; }
.article-body h2, .article-body h3 {
    margin: 32px 0 14px;
    font-family: var(--serif);
    font-size: 21px;
    letter-spacing: 1px;
    color: var(--ink);
    padding-left: 14px;
    border-left: 3px solid var(--red);
    line-height: 1.5;
}
.article-body h4 { margin: 24px 0 10px; font-size: 17px; color: var(--ink); }
.article-body img { max-width: 100%; height: auto; display: block; margin: 24px auto; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 1.4em; }
.article-body ul li { list-style: disc; margin-bottom: 8px; }
.article-body ol li { list-style: decimal; margin-bottom: 8px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.article-body th { background: var(--paper); font-weight: 500; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body blockquote {
    margin: 22px 0;
    padding: 16px 20px;
    background: var(--paper);
    border-left: 3px solid var(--gold);
    color: #6b6353;
}
.article-body a { color: var(--red); text-decoration: underline; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.service-summary { max-width: 860px; margin: 0 auto; color: var(--muted); line-height: 2; }
.service-summary p { margin: 0 0 10px; }
.service-summary .btn { margin-top: 12px; }
.article-intro { margin: 10px 0 0; color: var(--muted); line-height: 1.8; }
.faq-list { margin-top: 28px; border-top: 1px solid var(--line); }
.faq-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq-item h2 { margin: 0 0 10px; font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--ink); }
.faq-item p { margin: 0; color: #4f493e; line-height: 1.95; }
.case-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 15px 0 0; color: var(--muted); font-size: 13px; }
.case-facts div { display: flex; gap: 7px; }
.case-facts dt { color: #8a8173; }
.case-facts dd { margin: 0; color: #4f493e; }

.article-foot { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.article-nav { display: grid; gap: 10px; margin-top: 26px; }
.article-nav a { font-size: 14px; color: #5c5548; display: flex; gap: 10px; }
.article-nav a span { color: var(--muted); flex-shrink: 0; }
.article-nav a:hover { color: var(--red); }

/* ---------------- 列表 ---------------- */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.filter-bar a {
    padding: 8px 20px;
    border: 1px solid var(--line);
    font-size: 13.5px;
    color: #5b5446;
    background: #fff;
    letter-spacing: 1px;
}
.filter-bar a:hover { border-color: #cfc4ae; color: var(--red); }
.filter-bar a.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}
.list-card { min-width: 0; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: .3s ease; }
.list-card:hover { box-shadow: 0 14px 30px -20px rgba(60, 45, 25, .42); border-color: #d9cfba; color: inherit; }
.list-card .pic { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-deep); }
.list-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.list-card:hover .pic img { transform: scale(1.05); }
.list-card .txt { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.list-card h3 { font-size: 16.5px; font-weight: 500; color: var(--ink); letter-spacing: .5px; }
.list-card .date { font-size: 12px; color: var(--muted); margin-top: 6px; }
.list-card p { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-card .more { margin-top: 14px; font-size: 12.5px; color: var(--red); letter-spacing: 1px; }

.news-list { display: flex; flex-direction: column; gap: 0; background: #fff; border: 1px solid var(--line); }
.news-item { display: flex; gap: 24px; padding: 24px; border-bottom: 1px solid var(--line); transition: background .25s ease; }
.news-item:last-child { border-bottom: 0; }
.news-item:hover { background: #fbf8f2; color: inherit; }
.news-item .thumb { width: 220px; aspect-ratio: 3 / 2; flex-shrink: 0; overflow: hidden; background: var(--paper-deep); }
.news-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.news-item:hover .thumb img { transform: scale(1.05); }
.news-item .txt { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.news-item .date { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.news-item h3 { margin: 8px 0 8px; font-size: 17.5px; font-weight: 500; color: var(--ink); }
.news-item:hover h3 { color: var(--red); }
.news-item p { font-size: 13.5px; color: var(--muted); line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.empty {
    padding: 80px 20px;
    text-align: center;
    color: var(--muted);
    background: #fff;
    border: 1px solid var(--line);
    font-size: 14px;
}
.empty a { color: var(--red); }

/* ---------------- 分页 ---------------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; 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);
    background: #fff;
    font-size: 13.5px;
    color: #5c5548;
}
.pager a:hover { border-color: var(--red); color: var(--red); }
.pager .is-active { background: var(--red); border-color: var(--red); color: #fff; }
.pager-info { border: 0; background: none; color: var(--muted); font-size: 12.5px; margin-left: 6px; }

/* ---------------- 表单 ---------------- */
.form-card { background: #fff; border: 1px solid var(--line); padding: 40px 44px; }
.form-card h2 { font-family: var(--serif); font-size: 22px; letter-spacing: 2px; color: var(--ink); margin-bottom: 6px; }
.form-card .hint { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: 13px; color: #5d5647; letter-spacing: .5px; }
.field label i { color: var(--red); font-style: normal; }
.field input, .field textarea, .field select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd5c5;
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.7;
    border-radius: 2px;
    transition: border-color .25s ease;
}
@media (max-width: 640px) {
    .field input, .field textarea, .field select { min-height: 44px; font-size: 16px; }
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--red); }
.field textarea { resize: vertical; min-height: 120px; }
.field .tip { margin-top: 6px; font-size: 12px; color: #a49a88; }

.notice { padding: 13px 18px; margin-bottom: 22px; font-size: 13.5px; border-left: 3px solid; }
.notice--ok { background: #f2f6ec; border-color: #5c8a3c; color: #3f6127; }
.notice--err { background: #fbeeec; border-color: var(--red); color: #8a2a21; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #14120e; color: #a9a193; font-size: 13.5px; }
.foot-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 48px;
    padding: 62px 24px 52px;
}
.foot-logo { font-family: var(--serif); font-size: 23px; letter-spacing: 3px; color: #f6f1e6; }
.foot-brand p { margin-top: 16px; line-height: 2; color: #948b7c; font-size: 13px; }
.foot-brand .foot-slogan { margin-top: 18px; color: var(--gold); letter-spacing: 2px; font-size: 12px; }
.foot-grid h4 {
    font-family: var(--serif);
    font-size: 16px;
    letter-spacing: 2px;
    color: #f2ece0;
    margin-bottom: 20px;
    padding-bottom: 12px;
    position: relative;
}
.foot-grid h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 22px; height: 1px; background: var(--red); }
.foot-grid li { margin-bottom: 11px; }
.foot-grid li a:hover { color: #f2ece0; }
.foot-contact li { color: #948b7c; line-height: 1.9; }
.foot-contact b { color: #e9e0cf; font-weight: 400; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: 12.5px; color: #79715f; }
.foot-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.foot-bottom a:hover { color: #d8cebb; }
.foot-bottom .sep { font-style: normal; margin: 0 8px; color: #4c4739; }
.foot-visit b {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 13.5px;
    color: #d3c8b3;
    letter-spacing: .5px;
}

.to-top {
    position: fixed;
    right: 24px;
    bottom: 28px;
    z-index: 50;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: rgba(27, 26, 23, .82);
    color: #fff;
    font-size: 18px;
    border-radius: 2px;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
}
.to-top.is-show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--red); color: #fff; }

/* ---------------- 左右悬浮快捷导航 ---------------- */
.dock-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.site-dock {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 45;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px -30px rgba(0, 0, 0, .6);
}
.site-dock--left { left: 0; border-left: 0; }
.site-dock--right { right: 0; border-right: 0; }
.dock-item {
    position: relative;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #6d6454;
    border-bottom: 1px solid var(--line);
    transition: background .25s ease, color .25s ease;
}
button.dock-item { padding: 0; border-top: 0; border-right: 0; border-left: 0; background: #fff; font: inherit; cursor: pointer; }
.dock-item:last-child { border-bottom: 0; }
.dock-item svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.dock-item span {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: var(--ink);
    color: #f3eee3;
    font-size: 12.5px;
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s ease;
}
.site-dock--left .dock-item span { left: 100%; transform: translateX(-8px); }
.site-dock--right .dock-item span { right: 100%; transform: translateX(8px); }
.dock-item:hover { background: var(--paper); color: var(--red); z-index: 2; }
.dock-item:hover span { opacity: 1; visibility: visible; transform: none; }
.dock-item--wechat {
    cursor: pointer;
}
.dock-qr-panel {
    position: absolute;
    top: 50%;
    right: calc(100% + 10px);
    width: 160px;
    padding: 12px 12px 10px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 16px 32px -20px rgba(0, 0, 0, .55);
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-8px, -50%);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.dock-qr-panel img { display: block; width: 100%; height: auto; padding: 3px; border: 1px solid #edf0f3; }
.dock-qr-panel b { display: block; margin-top: 7px; color: var(--ink-soft); font-size: 12px; font-weight: 500; letter-spacing: 1px; }
.dock-item--wechat:hover .dock-qr-panel,
.dock-item--wechat:focus-visible .dock-qr-panel,
.dock-item--wechat.is-open .dock-qr-panel { opacity: 1; visibility: visible; transform: translate(0, -50%); }
.dock-item.is-active { color: var(--red); }
.dock-item.is-active::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: var(--red);
}
.site-dock--right .dock-item.is-active::before { left: auto; right: 0; }

/* 手机端替代左右悬浮栏：固定在底部，保证咨询与留言始终可达。 */
.mobile-contact-bar { display: none; }

/* ---------------- 全站在线留言弹窗 ---------------- */
.message-modal { position: fixed; inset: 0; z-index: 100; display: none; }
.message-modal.is-open { display: block; }
.message-modal-backdrop { position: absolute; inset: 0; background: rgba(16, 13, 10, .58); backdrop-filter: blur(2px); }
.message-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100% - 32px));
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    margin: 20px auto;
    padding: 36px 40px 40px;
    background: #fff;
    box-shadow: 0 26px 70px -30px rgba(0, 0, 0, .62);
}
.message-modal-close {
    position: absolute;
    top: 13px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}
.message-modal-close:hover { color: var(--red); }
.message-modal-en { display: block; color: var(--gold); font-size: 10px; letter-spacing: 4px; }
.message-modal-dialog h2 { margin: 7px 0 4px; color: var(--ink); font-family: var(--serif); font-size: 27px; font-weight: 500; letter-spacing: 3px; }
.message-modal-dialog > p { margin-bottom: 23px; color: var(--muted); font-size: 13px; }
.message-modal-notice { display: none; margin: -2px 0 16px; padding: 10px 12px; border-left: 3px solid; font-size: 13px; line-height: 1.7; }
.message-modal-notice.is-ok { display: block; background: #f2f6ec; border-color: #5c8a3c; color: #3f6127; }
.message-modal-notice.is-err { display: block; background: #fbeeec; border-color: var(--red); color: #8a2a21; }
body.modal-open { overflow: hidden; }

/* 侧栏贴到内容区时隐藏，避免遮挡正文 */
@media (max-width: 1240px) {
    .site-dock { display: none; }
    body { padding-bottom: 58px; }
    .mobile-contact-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 55;
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 56px;
        background: #1b1915;
        box-shadow: 0 -6px 20px rgba(0, 0, 0, .16);
    }
    .mobile-contact-bar a,
    .mobile-contact-bar button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 56px;
        border: 0;
        color: #f8f4ea;
        background: transparent;
        font: inherit;
        font-size: 14px;
        letter-spacing: 1px;
    }
    .mobile-contact-bar a { border-right: 1px solid rgba(255, 255, 255, .14); }
    .mobile-contact-bar button { background: var(--red); cursor: pointer; }
    .mobile-contact-bar svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
    .to-top { bottom: 72px; }
}

/* ---------------- 滚动进场 ---------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------- 搜索 ---------------- */
.search-form { display: flex; border: 1px solid var(--line); background: #fff; max-width: 520px; }
.search-form input { flex: 1; border: 0; padding: 12px 16px; font-size: 14px; font-family: inherit; color: var(--ink); }
.search-form input:focus { outline: none; }
.search-form button { border: 0; background: var(--red); color: #fff; padding: 0 24px; font-size: 13.5px; letter-spacing: 1px; cursor: pointer; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1120px) {
    .nav ul { gap: 22px; }
    .head-tel { margin-left: 22px; padding-left: 20px; }
    .proj-grid, .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .about-grid { gap: 44px; }
    /* 窄屏下联系卡并排在上、留言板通栏，避免表单双列被挤窄 */
    .contact-layout { grid-template-columns: minmax(0, 1fr); }
    .contact-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 980px) {
    :root { --head-h: 68px; }
    .brand-text b { font-size: 19px; }
    .brand-text span { font-size: 8.5px; letter-spacing: 1.8px; }
    .head-tel { display: none; }
    .nav-toggle { display: block; }
    .nav {
        position: fixed;
        left: 0;
        right: 0;
        top: var(--head-h);
        background: #fff;
        border-bottom: 1px solid var(--line);
        margin: 0;
        padding: 8px 24px 18px;
        display: none;
        box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .3);
    }
    body.nav-open .nav { display: block; }
    .nav ul { display: block; }
    .nav ul li { border-bottom: 1px dashed #eee7d9; }
    .nav a { padding: 14px 2px; }
    .nav a::after { display: none; }
    .hero { height: clamp(360px, 56vh, 520px); }
    .hero-title { font-size: 32px; letter-spacing: 2px; }
    .hero-caption { bottom: 68px; }
    .hero-arrow { display: none; }
    .sec { padding: 58px 0; }
    .sec-head { margin-bottom: 34px; }
    .sec-head h2 { font-size: 25px; }
    .proj-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .scene-card:nth-child(2) { border-right: 0; }
    .scene-card:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
    .scene-guide-head { align-items: start; flex-direction: column; gap: 10px; }
    .scene-guide-head p { max-width: none; text-align: left; }
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-media img { aspect-ratio: 16 / 10; }
    .contact-grid { grid-template-columns: 1fr; gap: 20px; }
    .contact-layout { grid-template-columns: 1fr; gap: 24px; }
    .contact-cards { grid-template-columns: 1fr; }
    .contact-card { padding: 30px 26px; }
    .layout { grid-template-columns: 1fr; gap: 30px; padding: 40px 0 56px; }
    .list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-banner { height: 220px; }
    .page-banner h1,
    .page-banner .banner-title { font-size: 27px; }
    .article { padding: 30px 24px 34px; }
    .article-head h1 { font-size: 23px; }
    .news-item { gap: 16px; padding: 18px; }
    .news-item .thumb { width: 150px; }
    .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; padding: 46px 24px 38px; }
}

@media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .brand-mark { width: 34px; height: 34px; font-size: 18px; }
    .brand-text b { font-size: 17px; letter-spacing: 2px; }
    .hero { height: 420px; }
    .hero-title { font-size: 27px; }
    .hero-sub { font-size: 13.5px; }
    .hero-actions .btn { padding: 10px 20px; font-size: 13px; }
    .nav { max-height: calc(100vh - var(--head-h)); overflow-y: auto; }
    .nav a { min-height: 46px; display: flex; align-items: center; }
    .proj-grid, .news-grid, .list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .scene-grid { grid-template-columns: 1fr; margin: 0 -20px; }
    .scene-guide { margin-bottom: 32px; padding: 24px 20px 0; }
    .scene-card { min-height: 0; padding: 20px; border-right: 0; border-bottom: 1px solid var(--line); }
    .scene-card:last-child { border-bottom: 0; }
    .scene-card::after { left: 20px; }
    .scene-card:hover::after { width: calc(100% - 40px); }
    .scene-card h4 { margin-top: 18px; }
    .proj-card .cap { padding: 12px 10px 14px; }
    .proj-card h3 { font-size: 15px; letter-spacing: 1px; }
    .proj-card .sub { display: none; }
    .news-card .txt { padding: 12px 12px 16px; }
    .news-card h3 { font-size: 14px; }
    .news-card p { display: none; }
    .about-stats { gap: 20px; justify-content: space-between; }
    .about-stat b { font-size: 26px; }
    .contact-card { padding: 24px 20px; }
    .contact-card h3 { font-size: 19px; }
    .contact-row { gap: 12px; }
    .contact-row dt { width: 48px; }
    .wechat-qr { gap: 13px; }
    .wechat-qr img { width: 104px; height: 104px; flex-basis: 104px; }
    .message-modal-dialog { width: min(100% - 24px, 560px); max-height: calc(100vh - 24px); margin: 12px auto; padding: 30px 20px 26px; }
    .message-modal-dialog h2 { font-size: 23px; }
    .message-modal-dialog .form-grid { grid-template-columns: 1fr; }
    .message-modal-dialog .btn[type="submit"] { width: 100%; min-height: 46px; }
    .news-item { flex-direction: column; }
    .news-item .thumb { width: 100%; }
    .form-card { padding: 26px 20px; }
    .form-card .btn[type=submit] { width: 100%; min-height: 46px; }
    .form-grid { grid-template-columns: 1fr; }
    .article { padding: 24px 18px 28px; }
    .article-body { font-size: 15px; }
    .article-body p { text-indent: 0; }
    .foot-grid { grid-template-columns: 1fr; gap: 28px; padding: 38px 16px 30px; }
    .page-banner { height: 190px; }
    .page-banner h1,
    .page-banner .banner-title { font-size: 23px; letter-spacing: 3px; }
    .page-banner .crumbs { margin-top: 12px; }
    .sec-foot { margin-top: 30px; }
    .hero-ui { bottom: 16px; }
    .hero-count { display: none; }
    .to-top { right: 14px; bottom: 16px; width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
