/*
 * Shared page chrome for every front-end page that includes include/site-header.php
 * (top.php, both homepage templates and business.php). Merged 2026-11-23 from:
 *   search.css, navigation.css, guide-navigation.css, section-banner.css, consult.css
 * The site footer (include/site-footer.php) was added 2026-11-24 from the homepage stylesheets,
 * the contact bars from desktop-contact.css and mobile-contact.css.
 * Section order follows the old <link> order; the sections share no selectors with each other.
 */

/* ===== Global search (was search.css) ===== */
.st-global-search { display: flex; align-items: stretch; width: 360px; max-width: 100%; margin: 0; box-sizing: border-box; border: 1px solid #d5c7c7; border-radius: 5px; overflow: hidden; background: #fff; }
.st-global-search input { flex: 1; min-width: 0; width: 0; height: 40px; border: 0; padding: 0 12px; background: #fff; color: #292323; font: 14px/1.4 "Microsoft YaHei", sans-serif; }
.st-global-search button { flex: 0 0 auto; padding: 0 18px; border: 0; background: #9d2121; color: #fff; font: 14px/1.4 "Microsoft YaHei", sans-serif; cursor: pointer; }
.st-global-search:focus-within { outline: 2px solid #b4532c; outline-offset: 2px; }
.st-global-search button:hover { background: #7d1717; }
.st-search-main { width: 100%; max-width: 1080px; min-height: 55vh; padding: 28px 24px 64px; margin: 0 auto; box-sizing: border-box; font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.st-search-breadcrumb { font-size: 14px; color: #777; margin-bottom: 22px; }
.st-search-main a { color: #752323; }
.st-search-main a:hover { text-decoration: underline; }
.st-search-main h1 { font-size: 30px; color: #302525; }
.st-search-intro { color: #777; margin: 6px 0 28px; }
.st-search-count { padding-bottom: 20px; border-bottom: 1px solid #e6dddd; }
.st-search-count strong { color: #9d2121; }
.st-search-result { padding: 24px 0; border-bottom: 1px solid #e6dddd; }
.st-search-meta { display: flex; gap: 16px; font-size: 13px; color: #777; }
.st-search-meta span { color: #9d2121; }
.st-search-result h2 { font-size: 21px; line-height: 1.6; margin: 7px 0 10px; }
.st-search-result p { color: #666; }
.st-search-keywords { margin-top: 12px; color: #777; font-size: 14px; }
.st-search-main mark { background: #fff0b3; color: #8c201d; padding: 0 2px; border-radius: 2px; }
.st-search-empty { margin: 28px 0; padding: 40px 24px; background: #f8f5f3; border-radius: 6px; }
.st-search-empty h2 { font-size: 20px; margin-bottom: 10px; }
.st-search-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; font-size: 14px; }
.st-search-pagination a { padding: 7px 13px; border: 1px solid #ddcece; border-radius: 4px; }
.st-search-pagination a[aria-current] { color: #fff; background: #9d2121; border-color: #9d2121; }
@media (max-width: 767px) {
    .st-global-search { width: 100%; }
    .st-search-main { padding: 22px 16px 40px; }
    .st-search-main h1 { font-size: 26px; }
    .st-search-result h2 { font-size: 18px; }
}

/* ===== Masthead and primary navigation (was navigation.css) ===== */
.st-header { --st-red: #a51e25; --st-paper: #f7f6f3; --st-muted: #697078; --st-line: #e8e5e2; position: relative; z-index: 100; margin: 0; background: #fff; color: #23282f; font: 16px/1.65 "Microsoft YaHei", "PingFang SC", Arial, sans-serif; -webkit-text-size-adjust: 100%; }
.st-header *, .st-header *::before, .st-header *::after { box-sizing: border-box; }
.st-header a { color: inherit; text-decoration: none; }
.st-header img { display: block; max-width: 100%; border: 0; }
.st-header .st-container { width: min(1280px, calc(100% - 96px)); margin: 0 auto; }
.st-header .st-masthead { display: flex; align-items: center; gap: 28px; min-height: 108px; }
.st-header .st-logo { flex: 0 1 310px; }
.st-header .st-logo img { width: 100%; height: 68px; object-fit: contain; object-position: left center; }
.st-header .st-header-note { display: none; }
.st-header .st-home-search { margin-left: auto; }
.st-header .st-header-phone { margin-left: auto; white-space: nowrap; }
.st-header .st-header-phone span { display: block; font-size: 12px; color: var(--st-muted); letter-spacing: 3px; }
.st-header .st-header-phone strong { color: var(--st-red); font-size: 29px; letter-spacing: .5px; line-height: 1.3; }
@media (min-width: 768px) {
    .st-header:not(.is-mobile) .st-header-phone { display: flex; flex-direction: column; gap: 4px; padding-left: 24px; border-left: 1px solid var(--st-line); }
    .st-header:not(.is-mobile) .st-header-phone span { font-size: 14px; letter-spacing: 1px; }
    .st-header:not(.is-mobile) .st-header-phone strong { font-size: 36px; font-weight: 700; line-height: 1.15; }
}
.st-header .st-navigation { display: block; color: #fff; background: var(--st-red); }
.st-header a:focus-visible { outline: 3px solid #bf6e2e; outline-offset: 4px; }
.st-site-menu, .st-site-submenu { margin: 0; padding: 0; list-style: none; }
.st-site-menu, .st-site-menu * { box-sizing: border-box; }
.st-site-menu { display: flex; justify-content: space-between; color: #fff; }
.st-site-item { position: relative; }
.st-site-row { display: flex; align-items: stretch; }
.st-site-row > a { display: block; padding: 15px 10px; color: inherit; font-size: 15px; font-weight: 700; line-height: 1.65; white-space: nowrap; text-decoration: none; }
.st-site-toggle { display: none; }
.st-nav-title-mobile { display: none; }
.st-site-row:hover, .st-site-item.is-current > .st-site-row, .st-site-item.is-expanded > .st-site-row { background: #7d161c; color: #fff; }
.st-header .st-site-row > a:hover, .st-header .st-site-row > a:focus, .st-site-item.is-expanded > .st-site-row > a, .st-site-item.is-current > .st-site-row > a { color: #fff; }
.st-site-submenu { position: absolute; z-index: 50; top: 100%; left: 0; min-width: 200px; max-height: calc(100vh - 170px); overflow-y: auto; padding: 0; border-top: 3px solid #c9a175; background: #fff; box-shadow: 0 10px 28px #0003; color: #30343a; }
.st-site-submenu[hidden] { display: none !important; }
.st-site-submenu a { display: block; padding: 10px 20px; font-size: 14px; font-weight: normal; line-height: 1.65; white-space: nowrap; color: #30343a; text-align: left; text-decoration: none; }
.st-header .st-site-submenu a:hover, .st-header .st-site-submenu a:focus { background: #faf0ee; color: #a51e25; }
.st-site-menu a:focus-visible, .st-site-menu button:focus-visible { outline: 2px solid #c99a65; outline-offset: -3px; }
@media (max-width: 1100px) {
    .st-nav-title-desktop { display: none; }
    .st-nav-title-mobile { display: inline; }
    .st-header .st-container { width: calc(100% - 64px); }
    .st-header .st-navigation { background: #f3f3f3; }
    .st-header .st-navigation > .st-container { width: 100%; }
    .st-site-menu { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: #fff; }
    .st-site-item { min-width: 0; background: #f3f3f3; }
    .st-site-row { height: 100%; }
    .st-site-row > a { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; padding: 8px 5px; font-size: 14px; line-height: 1.5; white-space: normal; text-align: center; color: #a51e25; }
    .st-header .st-site-row > a { color: #a51e25; }
    .st-site-row:hover, .st-site-item.is-current > .st-site-row { background: #a51e25; }
    .st-header .st-site-row > a:hover, .st-header .st-site-row > a:focus, .st-header .st-site-item.is-current > .st-site-row > a { color: #fff; }
    .st-site-toggle, .st-site-submenu { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1100px) {
    .st-header .st-masthead { flex-wrap: wrap; gap: 14px 28px; padding-top: 16px; padding-bottom: 16px; }
    .st-header .st-home-search { order: 4; width: 100%; margin-left: 0; }
    .st-header .st-home-search .st-global-search { width: 100%; }
}
@media (max-width: 767px) {
    .st-header { position: sticky; top: 0; border-bottom: 1px solid var(--st-line); }
    .st-header .st-container { width: calc(100% - 32px); }
    .st-header .st-masthead { flex-wrap: wrap; min-height: 72px; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
    .st-header .st-logo { flex: 1; min-width: 0; max-width: 180px; }
    .st-header .st-logo img { height: 48px; }
    .st-header .st-header-phone span { font-size: 10px; letter-spacing: 0; }
    .st-header .st-header-phone strong { font-size: 16px; letter-spacing: 0; }
    .st-header .st-home-search { order: 4; width: 100%; margin: 4px 0 0; }
}
@media (max-width: 360px) {
    .st-header .st-masthead { gap: 8px; }
    .st-header .st-header-phone strong { font-size: 14px; }
    .st-site-row > a { font-size: 12px; }
}

/* Shared homepage masthead variants, also used by columns and articles. */
.st-header .st-home-header-actions { display: none; }
.st-header .st-home-header-actions button { font: inherit; cursor: pointer; }
@media (max-width: 1100px) {
    .st-header.is-mobile { position: relative; }
    .st-header.is-mobile .st-masthead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 23px; min-height: 0; padding: 12px 0; }
    .st-header.is-mobile .st-logo { grid-area: 1 / 1 / 3 / 2; width: calc(100% + 20px); max-width: 224px; margin-left: -8px; }
    .st-header.is-mobile .st-logo img { height: auto; }
    .st-header.is-mobile .st-header-phone { grid-area: 1 / 2; display: flex; flex-direction: row; align-items: baseline; justify-content: flex-end; gap: 6px; min-height: 24px; margin: 0; text-align: right; }
    .st-header.is-mobile .st-header-phone span { font-size: 10px; letter-spacing: 0; }
    .st-header.is-mobile .st-header-phone strong { font-size: 14px; line-height: 1.4; letter-spacing: 0; }
    .st-header.is-mobile .st-home-search { grid-area: 2 / 2; justify-self: end; order: 0; width: calc(100% + 7px); margin: 0; }
    .st-header.is-mobile .st-global-search { width: 100%; }
    .st-header.is-mobile .st-global-search input { height: 22px; padding: 0 6px; font-size: 16px; }
    .st-header.is-mobile .st-global-search input::placeholder { color: #697078; opacity: 1; font-size: 10px; }
    .st-header.is-mobile .st-global-search button { display: grid; place-items: center; min-width: 32px; padding: 0; }
    .st-header.is-mobile .st-global-search button svg { width: 14px; height: 14px; }
    .st-header.is-mobile .st-navigation { background: var(--st-paper); border-top: 1px solid var(--st-line); border-bottom: 1px solid var(--st-line); }
    .st-header.is-mobile .st-navigation > .st-container { width: calc(100% - 24px); }
    .st-header.is-mobile .st-site-menu { position: relative; grid-auto-rows: 1fr; gap: 8px 4px; padding: 4px 0; background: transparent; }
    .st-header.is-mobile .st-site-menu:has(> .st-site-item:nth-child(6))::after { content: ""; position: absolute; top: 50%; right: 0; left: 0; height: 1px; background: var(--st-line); pointer-events: none; }
    .st-header.is-mobile .st-site-item { background: transparent; }
    .st-header.is-mobile .st-site-row { height: 100%; border-radius: 4px; }
    .st-header.is-mobile .st-site-row > a { position: relative; height: 100%; min-height: 48px; padding: 6px 2px; border-radius: 4px; color: #23282f; font-size: 14px; font-weight: 400; line-height: 1.45; text-wrap: balance; }
    .st-header.is-mobile .st-site-row:hover,
    .st-header.is-mobile .st-site-item.is-expanded > .st-site-row { background: #faf0ee; color: var(--st-red); }
    .st-header.is-mobile .st-site-row > a:hover,
    .st-header.is-mobile .st-site-row > a:focus { color: var(--st-red); }
    .st-header.is-mobile .st-site-item.is-current > .st-site-row { background: #faf0ee; color: var(--st-red); }
    .st-header.is-mobile .st-site-item.is-current > .st-site-row > a { color: var(--st-red); font-weight: 600; }
    .st-header.is-mobile .st-site-item.is-current > .st-site-row > a::after { content: ""; position: absolute; bottom: 5px; left: calc(50% - 9px); width: 18px; height: 2px; background: currentColor; }
    .st-header.is-mobile .st-site-row > a:active { background: var(--st-line); }
}
@media (max-width: 360px) {
    .st-header.is-mobile .st-masthead { column-gap: 19px; }
    .st-header.is-mobile .st-logo { width: calc(100% + 16px); }
}
/* Keep four-character labels readable at 320px; enlarged text can still wrap. */
@media (max-width: 374px) {
    .st-header.is-mobile .st-site-menu { column-gap: 2px; }
    .st-header.is-mobile .st-site-row > a { padding-right: 1px; padding-left: 1px; font-size: 13px; }
}
@media (max-width: 767px) {
    .st-header.is-home-enhanced .st-masthead { min-height: 64px; padding: 8px 0; gap: 8px; }
    .st-header.is-home-enhanced .st-logo { max-width: 180px; }
    .st-header.is-home-enhanced .st-header-phone { display: none; }
    .st-header.is-home-enhanced .st-home-header-actions { display: flex; gap: 4px; margin-left: auto; }
    .st-header .st-home-header-actions button { min-width: 44px; min-height: 44px; padding: 6px; border: 0; background: transparent; color: var(--st-red); font-size: 13px; }
    .st-header .st-home-header-actions button[aria-expanded="true"] { background: var(--st-paper); }
    .st-header.is-home-enhanced .st-home-search, .st-header.is-home-enhanced .st-navigation { display: none; }
    .st-header.is-search-open .st-home-search { display: block; padding-bottom: 6px; }
    .st-header.is-menu-open .st-navigation { display: block; max-height: calc(100vh - 130px); overflow-y: auto; }
}

/* Mobile template (homepage and inner pages): the logo + hotline + search row stays pinned to the top; the menu grid scrolls away with the page.
   display: contents lets the row stick against the whole page rather than only the header box. */
@media (max-width: 1100px) {
    .st-header.is-mobile { display: contents; }
    .st-header.is-mobile .st-masthead { position: -webkit-sticky; position: sticky; top: 0; z-index: 100; width: 100%; padding: 12px 32px; border-bottom: 1px solid var(--st-line); background: #fff; }
    .st-header.is-mobile .st-navigation { border-top: 0; }
    .st-header.is-mobile ~ #main { scroll-margin-top: 80px; }
    /* Homepage-style sections already carry their own scroll-margin; elsewhere keep anchors and focus clear of the row. */
    :root:has(> body:not(.st-home) > .st-header.is-mobile) { scroll-padding-top: 80px; }
}
@media (max-width: 767px) {
    .st-header.is-mobile .st-masthead { padding-right: 16px; padding-left: 16px; }
}

/* ===== Column sub-navigation, .st-guide-navigation (was guide-navigation.css) ===== */
.st-guide-navigation.mune_warp { height: auto; background: #fff; }
.st-guide-navigation .mune { width: min(1200px, 98%); height: auto; padding-top: 0; overflow: hidden; }
.st-guide-navigation .mune_left { display: flex; flex-wrap: wrap; float: none; width: 100%; height: auto; padding-bottom: 0; border-bottom: 1px solid #eee; }
.st-guide-navigation .mune_left a { flex: 1 0 auto; box-sizing: border-box; width: auto; height: auto; min-height: 66px; padding: 0 18px; border-bottom: 3px solid transparent; background: none; line-height: 63px; white-space: nowrap; }
.st-guide-navigation .mune_left a:hover, .st-guide-navigation .mune_left a.mune_left_a { border-bottom: 3px solid #d6281c; background: none; color: #d6281c; }
.st-guide-navigation .mune_right { float: none; box-sizing: border-box; width: 100%; height: auto; min-height: 48px; margin-bottom: 0; padding: 12px 0; background: none; line-height: 24px; text-align: right; }
@media (max-width: 767px) {
    .st-guide-navigation .mune_left { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .st-guide-navigation .mune_left a { min-width: 0; min-height: 44px; padding: 8px 2px; font-size: 13px; line-height: 24px; white-space: normal; }
    .st-guide-navigation .mune_right { min-height: 40px; padding: 10px 4px; background: none; font-size: 12px; line-height: 20px; text-align: center; }
}
@media (max-width: 360px) {
    .st-guide-navigation .mune_left a { font-size: 12px; }
}

/* ===== Column banners, n_big.php and the business hero (was section-banner.css) ===== */
@media (min-width: 768px) {
    .n_big,
    .st-business-hero {
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-sizing: border-box;
        height: auto;
        min-height: 240px;
        padding: 24px 0;
        background-size: cover;
    }

    .n_big .n_big_1 {
        height: auto;
        padding-top: 0;
        line-height: 1.4;
    }
}

.st-section-banner-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 12px;
    width: max-content;
    min-width: min(430px, calc(100% - 32px));
    max-width: calc(100% - 32px);
    margin-inline: auto;
    text-align: center;
    overflow-wrap: anywhere;
}

.st-section-banner-subtitle::before,
.st-section-banner-subtitle::after {
    content: "";
    flex: 1 0 0;
    max-width: 152px;
    height: 1px;
    background: currentColor;
}

/* ===== Consultation dialog (was consult.css) ===== */
/* Shared consultation dialog, isolated from legacy page styles. */
.st-consult-dialog { --st-red: #a51e25; --st-red-dark: #7d161c; --st-ink: #23282f; --st-muted: #697078; --st-line: #e8e5e2; --st-paper: #f7f6f3; width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); margin: auto; padding: 0; overflow-x: hidden; border: 0; border-radius: 12px; color: var(--st-ink); background: #fff; font: 16px/1.65 "Microsoft YaHei", "PingFang SC", Arial, sans-serif; text-align: left; box-shadow: 0 24px 80px #0003; }
.st-consult-dialog, .st-consult-dialog *, .st-consult-dialog *::before, .st-consult-dialog *::after { box-sizing: border-box; }
.st-consult-dialog h2, .st-consult-dialog p { margin: 0; }
.st-consult-dialog a { color: inherit; text-decoration: none; }
.st-consult-dialog button { font: inherit; cursor: pointer; }
.st-consult-dialog img { display: block; max-width: 100%; }
.st-consult-dialog a:focus-visible, .st-consult-dialog button:focus-visible { outline: 3px solid #bf6e2e; outline-offset: -5px; }
.st-consult-dialog::backdrop { background: rgb(23 28 33 / 58%); }
.st-consult-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 32px 32px 24px; border-bottom: 1px solid var(--st-line); }
.st-consult-heading h2 { font-size: 24px; font-weight: 600; line-height: 1.4; }
.st-consult-dialog .st-consult-heading p { margin-top: 8px; color: var(--st-muted); font-size: 14px; }
.st-consult-heading button { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; margin: -6px -8px 0 0; padding: 10px; border: 0; border-radius: 50%; color: var(--st-muted); background: transparent; }
.st-consult-heading button:hover { color: var(--st-red); background: var(--st-paper); }
.st-consult-dialog svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.st-consult-heading svg { width: 20px; height: 20px; }
.st-consult-dialog .st-consult-option { display: grid; grid-template-columns: 32px minmax(0, 1fr) 24px; align-items: center; gap: 20px; padding: 28px 32px; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.st-consult-icon { width: 32px; height: 32px; }
.st-consult-arrow { width: 24px; height: 24px; }
.st-consult-option-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.st-consult-dialog .st-consult-call { color: var(--st-red); }
.st-consult-dialog .st-consult-call:hover { color: var(--st-red-dark); background: var(--st-paper); }
.st-consult-label { color: var(--st-muted); font-size: 14px; }
.st-consult-number { font-family: Arial, sans-serif; font-size: 34px; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-consult-hint { font-size: 13px; line-height: 1.6; }
.st-consult-wecom { display: grid; grid-template-columns: minmax(0, 1fr) 136px; align-items: center; gap: 24px; padding: 24px 32px; color: #fff; background: var(--st-red); }
.st-consult-dialog .st-consult-wecom .st-consult-option { grid-template-columns: 32px minmax(0, 1fr); gap: 20px; min-height: 100px; padding: 0; color: #fff; }
.st-consult-dialog .st-consult-wecom a:hover { color: #fff; }
.st-consult-wecom .st-consult-option:hover .st-consult-wecom-title { text-decoration: underline; text-underline-offset: 5px; }
.st-consult-wecom-title { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 600; line-height: 1.5; }
.st-consult-wecom-title svg { flex: 0 0 18px; width: 18px; height: 18px; }
.st-consult-wecom .st-consult-hint { color: #fff; opacity: .85; }
.st-consult-dialog .st-consult-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; font-size: 12px; line-height: 1.5; text-decoration: none; }
.st-consult-qr-image { display: block; width: 136px; padding: 8px; border-radius: 4px; background: #fff; }
.st-consult-qr-image img { width: 100%; height: auto; aspect-ratio: 1; }
.st-consult-qr:hover > span:last-child { text-decoration: underline; text-underline-offset: 4px; }
.st-consult-dialog .st-consult-call:focus-visible { outline-offset: -5px; }
.st-consult-dialog::selection, .st-consult-dialog ::selection { color: #fff; background: var(--st-red-dark); }
@media (max-width: 480px) {
    .st-consult-heading { padding: 24px 24px 20px; }
    .st-consult-dialog .st-consult-option { grid-template-columns: 28px minmax(0, 1fr) 20px; gap: 14px; padding: 24px; }
    .st-consult-icon { width: 28px; height: 28px; }
    .st-consult-arrow { width: 20px; height: 20px; }
    .st-consult-number { font-size: 28px; }
    .st-consult-wecom-title { font-size: 18px; }
    .st-consult-wecom { grid-template-columns: minmax(0, 1fr) 112px; gap: 16px; padding: 24px; }
    .st-consult-dialog .st-consult-wecom .st-consult-option { grid-template-columns: minmax(0, 1fr); min-height: 88px; }
    .st-consult-wecom .st-consult-icon, .st-consult-wecom-title svg { display: none; }
    .st-consult-qr-image { width: 112px; }
}
@media (max-width: 360px) {
    .st-consult-heading { padding-right: 20px; padding-left: 20px; }
    .st-consult-dialog .st-consult-option { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding-right: 20px; padding-left: 20px; }
    .st-consult-icon { width: 24px; height: 24px; }
    .st-consult-arrow { display: none; }
    .st-consult-number { font-size: 26px; }
    .st-consult-label { font-size: 13px; }
    .st-consult-wecom { grid-template-columns: minmax(0, 1fr) 104px; gap: 12px; padding-right: 16px; padding-left: 16px; }
    .st-consult-wecom-title { font-size: 16px; }
    .st-consult-qr-image { width: 104px; }
}

/* ===== Contact bars, include/site-consult.php (was desktop-contact.css and mobile-contact.css) ===== */
/* The server prints one bar per visitor: the desktop rail or the mobile bar. Both are isolated from legacy page styles.
 * From 1290px to 1607px it narrows to a 44px rail; below 1290px it sits at the bottom of the screen and the site footer's bottom padding keeps it clear ("Site footer"). */
.st-desktop-contact { position: fixed; z-index: 100000; right: 0; top: clamp(16px, 48%, calc(100% - 400px)); display: grid; width: 144px; max-height: calc(100vh - 32px); margin: 0; padding: 0; overflow-y: auto; color: #23282f; background: #fff; box-shadow: 0 2px 12px #00000012; font: 12px/1.65 "Microsoft YaHei", "PingFang SC", Arial, sans-serif; text-align: center; }
.st-desktop-contact, .st-desktop-contact * { box-sizing: border-box; }
.st-desktop-contact > a { display: block; margin: 0; padding: 14px 10px; border: 0; border-bottom: 1px solid #e8e5e2; color: inherit; font: inherit; text-decoration: none; }
.st-desktop-contact > a:hover { color: #a51e25; background: #f7f6f3; }
.st-desktop-contact > a:first-child { color: #fff; background: #a51e25; }
.st-desktop-contact > a:first-child:hover { color: #fff; background: #7d161c; }
.st-desktop-contact > a:focus-visible { outline: 3px solid #bf6e2e; outline-offset: -4px; }
.st-desktop-contact-arrow { display: block; font-size: 22px; line-height: 1.2; }
.st-desktop-contact-phone { display: block; margin-top: 6px; color: #a51e25; font-size: 16px; line-height: 1.4; white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-desktop-contact img { display: block; width: 112px; height: 112px; max-width: 100%; margin: 10px auto 0; border: 0; }
/* Keep the 144px rail outside the widest 1280px content area. */
/* 1290–1607px: a 44px rail with vertical labels fits the side margin, which is at least 48px beside the min(1280px, 100% - 96px) pages and 45px beside the fixed 1200px CMS pages.
 * The phone number and QR code pop out to the left on hover or keyboard focus; clicking still calls or opens the consult dialog. */
@media (min-width: 1290px) and (max-width: 1607px) {
    .st-desktop-contact { top: 50%; width: 44px; max-height: none; overflow: visible; transform: translateY(-50%); }
    .st-desktop-contact > a { position: relative; padding: 14px 12px; line-height: 20px; letter-spacing: 2px; writing-mode: vertical-rl; text-orientation: upright; }
    /* Vertical text turns the arrows sideways. */
    .st-desktop-contact-arrow, .st-desktop-contact-up { display: none; }
    .st-desktop-contact-phone, .st-desktop-contact img { position: absolute; top: 50%; right: calc(100% + 8px); margin: 0; background: #fff; box-shadow: 0 2px 12px #0000001f; letter-spacing: 0; writing-mode: horizontal-tb; visibility: hidden; opacity: 0; transform: translateY(-50%); transition: opacity .15s, visibility .15s; pointer-events: none; }
    .st-desktop-contact-phone { padding: 10px 14px; }
    .st-desktop-contact img { width: 128px; height: 128px; max-width: none; padding: 8px; }
    .st-desktop-contact > a:hover > .st-desktop-contact-phone, .st-desktop-contact > a:focus-visible > .st-desktop-contact-phone,
    .st-desktop-contact > a:hover > img, .st-desktop-contact > a:focus-visible > img { visibility: visible; opacity: 1; }
}
@media (min-width: 1290px) and (max-width: 1607px) and (prefers-reduced-motion: reduce) {
    .st-desktop-contact-phone, .st-desktop-contact img { transition: none; }
}
@media (max-width: 1289px) {
    .st-desktop-contact { right: 0; bottom: 0; left: 0; top: auto; display: flex; justify-content: center; width: auto; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -2px 12px #00000010; }
    /* One line per item: the phone number sits beside its label so the bar stays 50px tall. */
    .st-desktop-contact > a { display: flex; flex: 0 1 220px; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 50px; padding: 0 20px; border: 0; border-right: 1px solid #e8e5e2; white-space: nowrap; }
    .st-desktop-contact > a:last-child { border-right: 0; }
    .st-desktop-contact-phone { margin-top: 0; font-size: 15px; }
    .st-desktop-contact-arrow, .st-desktop-contact img { display: none; }
}
@media (max-width: 767px) {
    .st-desktop-contact > a { flex: 1; gap: 6px; padding: 0 6px; font-size: 13px; }
    .st-desktop-contact > .st-desktop-contact-top { display: none; }
    .st-desktop-contact-phone { font-size: 12px; }
}
@media (max-width: 480px) {
    .st-desktop-contact-phone { display: none; }
}
.st-mobile-contact { position: fixed; z-index: 100000; right: 0; bottom: 0; left: 0; display: flex; margin: 0; padding: 0 0 env(safe-area-inset-bottom); color: #23282f; background: #fff; box-shadow: 0 -2px 12px #00000010; font: 13px/1.65 "Microsoft YaHei", "PingFang SC", Arial, sans-serif; text-align: center; -webkit-text-size-adjust: 100%; }
.st-mobile-contact, .st-mobile-contact * { box-sizing: border-box; }
.st-mobile-contact > a { display: flex; flex: 1 1 0; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 50px; margin: 0; padding: 14px 6px; border: 0; border-right: 1px solid #e8e5e2; color: inherit; font: inherit; text-decoration: none; white-space: nowrap; }
.st-mobile-contact > a:last-child { border-right: 0; }
.st-mobile-contact > a:hover { color: #a51e25; background: #f7f6f3; }
.st-mobile-contact > a:first-child { color: #fff; background: #a51e25; }
.st-mobile-contact > a:first-child:hover { color: #fff; background: #7d161c; }
.st-mobile-contact > a:focus-visible { outline: 3px solid #bf6e2e; outline-offset: -4px; }
.st-mobile-contact svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Site footer: include/site-footer.php, the homepage footer on every front page (was in homepage.css, homepage-pc.css and homepage-mobile.css) ===== */
/* .st-site-footer wraps the footer and brings the homepage type, resets and container widths with it, so CMS pages render it the same way. */
/* Rules keep their homepage order; each gained the same .st-site-footer prefix (.st-home-pc / .st-home-mobile became .st-site-footer.is-pc / .is-mobile). */
.st-site-footer { --st-red: #a51e25; clear: both; margin: 0; color: #23282f; font: 16px/1.65 "Microsoft YaHei", "PingFang SC", Arial, sans-serif; text-align: start; -webkit-text-size-adjust: 100%; }
.st-site-footer, .st-site-footer *, .st-site-footer *::before, .st-site-footer *::after { box-sizing: border-box; }
.st-site-footer img { display: block; max-width: 100%; }
.st-site-footer a { color: inherit; text-decoration: none; }
.st-site-footer a:hover { color: var(--st-red); }
.st-site-footer a:focus-visible { outline: 3px solid #bf6e2e; outline-offset: 4px; }
.st-site-footer h2, .st-site-footer figure { margin: 0; }
.st-site-footer section, .st-site-footer #wechat { scroll-margin-top: 110px; }
.st-site-footer .st-container { width: min(1280px, calc(100% - 96px)); margin: 0 auto; }
.st-site-footer .st-eyebrow { display: block; margin-bottom: 10px; color: var(--st-red); font-size: 12px; font-weight: 700; letter-spacing: 4px; }
.st-site-footer .st-contact h2 { font-size: 32px; line-height: 1.4; font-weight: 600; letter-spacing: 0; }
.st-site-footer .st-contact { background: #292725; color: #fff; }
.st-site-footer .st-contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; }
.st-site-footer .st-contact .st-eyebrow { color: #e5aaa0; }
.st-site-footer .st-contact-phone { display: block; font-size: 38px; font-weight: 700; color: #fff !important; }
.st-site-footer .st-contact dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 22px; margin: 28px 0 0; font-size: 13px; }
.st-site-footer .st-contact dt { color: #bdb4ae; }
.st-site-footer .st-contact dd { margin: 0; overflow-wrap: anywhere; }
.st-site-footer .st-contact a:hover { color: #efb6ae; }
.st-site-footer .st-qr-list { flex: 0 0 120px; display: grid; gap: 18px; }
.st-site-footer .st-qr-list img { background: #fff; padding: 5px; width: 120px; height: 120px; object-fit: contain; }
.st-site-footer .st-qr-list figcaption { font-size: 11px; text-align: center; color: #d2cbc6; margin-top: 7px; }
.st-site-footer .st-footer { background: #211f1e; padding: 36px 0 24px; color: #c2bab3; font-size: 12px; }
.st-site-footer .st-footer a:hover { color: #fff; }
.st-site-footer .st-footer-nav, .st-site-footer .st-footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 18px; }
.st-site-footer .st-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 22px; margin-top: 22px; border-top: 1px solid #46403b; color: #b0a59c; }
@media (max-width: 1100px) {
    .st-site-footer .st-container { width: calc(100% - 64px); }
    .st-site-footer .st-contact-layout { gap: 32px; }
}
@media (max-width: 767px) {
    .st-site-footer .st-container { width: calc(100% - 32px); }
    .st-site-footer .st-contact h2 { font-size: 24px; letter-spacing: 0; }
    .st-site-footer .st-eyebrow { font-size: 12px; letter-spacing: 2px; margin-bottom: 8px; }
    .st-site-footer section, .st-site-footer #wechat { scroll-margin-top: 80px; }
    .st-site-footer .st-contact-layout { grid-template-columns: 1fr; gap: 32px; }
    .st-site-footer .st-contact h2 { font-size: 25px; }
    .st-site-footer .st-contact-phone { font-size: 31px; }
    .st-site-footer .st-qr-list { flex-basis: 100px; gap: 14px; }
    .st-site-footer .st-qr-list img { width: 100px; height: 100px; }
    .st-site-footer .st-footer-nav, .st-site-footer .st-footer-links { gap: 10px 16px; }
    .st-site-footer .st-footer-bottom { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .st-site-footer *, .st-site-footer *::before, .st-site-footer *::after { scroll-behavior: auto !important; transition: none !important; }
}
.st-site-footer .st-contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
.st-site-footer .st-contact-copy { min-width: 0; }
.st-site-footer .st-qr-list { display: flex; flex: none; flex-wrap: wrap; justify-content: flex-start; gap: 24px; margin-top: 28px; }
.st-site-footer .st-qr-list figure { flex: 0 0 132px; }
.st-site-footer .st-qr-list img { width: 132px; height: 132px; }
.st-site-footer .st-qr-list figcaption { font-size: 13px; margin-top: 12px; }
@media (max-width: 767px) {
    .st-site-footer .st-footer-bottom { font-size: 12px; }
    .st-site-footer .st-contact-layout { grid-template-columns: minmax(0, 1fr); }
    .st-site-footer .st-qr-list { display: grid; grid-template-columns: repeat(2, minmax(0, 128px)); gap: 24px; }
    .st-site-footer .st-qr-list img { width: 100%; height: auto; aspect-ratio: 1; }
}

/* Desktop footer: logo, hotline and office on the left, menu and QR codes beside them, links and copyright below. */
.st-site-footer.is-pc .st-footer { padding: 14px 0 8px; background: #2b2624; color: #eee8e2; }
.st-site-footer.is-pc .st-footer-layout {
    display: grid; grid-template-columns: clamp(216px, 21vw, 296px) minmax(0, 1fr);
    column-gap: clamp(20px, 3vw, 48px); align-items: center;
}
.st-site-footer.is-pc .st-footer-layout:has(.st-qr-list) {
    grid-template-columns: clamp(216px, 21vw, 296px) minmax(0, 1fr) auto;
}
.st-site-footer.is-pc .st-contact { grid-area: 1 / 1 / 3 / 2; min-width: 0; background: transparent; color: #fbf8f4; }
.st-site-footer.is-pc .st-footer-logo { display: block; width: fit-content; max-width: 100%; padding: 4px 8px; background: #fff; }
.st-site-footer.is-pc .st-footer-logo img { width: 192px; height: 30px; object-fit: contain; }
.st-site-footer.is-pc .st-contact > strong { font-size: 16px; }
.st-site-footer.is-pc .st-contact-phone {
    width: fit-content; margin-top: 10px; font: 400 clamp(29px, 2.7vw, 39px)/1.08 Georgia, "Times New Roman", serif;
    font-variant-numeric: lining-nums tabular-nums;
}
.st-site-footer.is-pc .st-contact h2 { margin-top: 4px; color: #dcd0c6; font-size: 15px; line-height: 1.4; font-weight: 500; text-wrap: balance; }
.st-site-footer.is-pc .st-contact-office {
    grid-area: 1 / 2; align-self: end; display: grid; grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline; gap: 4px 16px; margin: 0; font-size: 14px; line-height: 1.55;
}
.st-site-footer.is-pc .st-contact-office dt { color: #d6b99d; font-size: 12px; }
.st-site-footer.is-pc .st-contact-office dd { margin: 0; overflow-wrap: anywhere; }
.st-site-footer.is-pc .st-footer-nav {
    grid-area: 2 / 2; align-self: start; display: grid; grid-template-columns: repeat(5, max-content);
    gap: 0 clamp(12px, 1.6vw, 24px); margin: 8px 0 0; padding-top: 6px; border-top: 1px solid #504641;
    color: #e8e0d9; font-size: 13px;
}
.st-site-footer.is-pc .st-qr-list {
    grid-area: 1 / 3 / 3 / 4; display: flex; gap: 12px; width: 308px; max-width: 100%; margin: 0;
}
.st-site-footer.is-pc .st-qr-list figure { flex: 0 1 148px; }
.st-site-footer.is-pc .st-qr-list img { width: 108px; margin-inline: auto; height: auto; aspect-ratio: 1; padding: 4px; }
.st-site-footer.is-pc .st-qr-list figcaption { margin-top: 4px; color: #e0d6ce; font-size: 12px; line-height: 1.5; }
.st-site-footer.is-pc .st-footer-bottom {
    grid-column: 1 / -1; align-items: baseline; gap: 2px 16px; margin-top: 10px; padding-top: 6px;
    border-color: #514741; color: #c6b9ae;
}
.st-site-footer.is-pc .st-footer-links { gap: 2px 16px; margin: 0; }
.st-site-footer.is-pc .st-footer-nav a, .st-site-footer.is-pc .st-footer-links a { display: inline-block; padding-block: 2px; }
.st-site-footer.is-pc .st-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1120px) {
    .st-site-footer.is-pc .st-footer-layout { grid-template-columns: minmax(172px, .85fr) minmax(0, 1fr); }
    .st-site-footer.is-pc .st-footer-layout:has(.st-qr-list) { grid-template-columns: minmax(172px, .85fr) minmax(0, 1fr) auto; }
    .st-site-footer.is-pc .st-contact { grid-row: 1; }
    .st-site-footer.is-pc .st-contact-office { align-self: center; gap: 4px 10px; }
    .st-site-footer.is-pc .st-qr-list { grid-row: 1; }
    .st-site-footer.is-pc .st-footer-nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; }
}
@media (max-width: 800px) {
    .st-site-footer.is-pc .st-footer-layout, .st-site-footer.is-pc .st-footer-layout:has(.st-qr-list) { grid-template-columns: minmax(0, 1fr) auto; }
    .st-site-footer.is-pc .st-contact-office { grid-area: 2 / 1; margin-top: 12px; }
    .st-site-footer.is-pc .st-qr-list { grid-area: 1 / 2 / 3 / 3; }
    .st-site-footer.is-pc .st-footer-nav { grid-row: 3; justify-content: flex-start; }
}
@media (max-width: 600px) {
    .st-site-footer.is-pc .st-footer-layout, .st-site-footer.is-pc .st-footer-layout:has(.st-qr-list) { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
    .st-site-footer.is-pc .st-contact-office { align-self: stretch; margin: 0; }
    .st-site-footer.is-pc .st-footer-nav, .st-site-footer.is-pc .st-footer-bottom { margin-top: 0; }
}

/* The desktop contact rail drops to the bottom of the screen below 1290px: keep the end of the page clear of it.
 * White like the page body, which held this space before; CMS pages nest the footer in grey containers. */
@media (max-width: 1289px) {
    .st-site-footer.is-pc { padding-bottom: calc(58px + env(safe-area-inset-bottom)); background: #fff; }
}

/* Mobile footer: contact block, then menu, links and copyright. Two columns: hotline and address stack on the left; the two QR codes stack in a narrow right rail spanning both rows. */
.st-site-footer.is-mobile .st-contact { padding: 22px 0 18px; }
.st-site-footer.is-mobile .st-contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 84px; grid-template-areas: "copy qr" "info qr"; align-items: start; gap: 14px 14px; }
.st-site-footer.is-mobile .st-contact-copy { grid-area: copy; min-width: 0; }
.st-site-footer.is-mobile .st-contact .st-eyebrow { margin-bottom: 4px; }
.st-site-footer.is-mobile .st-contact h2 { font-size: 22px; line-height: 1.4; text-wrap: balance; }
.st-site-footer.is-mobile .st-contact-phone { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 52px; margin-top: 12px; padding: 6px 10px 6px 52px; border: 1px solid rgb(255 255 255 / 16%); background: rgb(255 255 255 / 4%); font-size: 12px; font-weight: 400; line-height: 1.4; transition: border-color .2s cubic-bezier(.22, .61, .36, 1), background-color .2s cubic-bezier(.22, .61, .36, 1); }
.st-site-footer.is-mobile .st-contact-phone::before { content: ""; position: absolute; left: 11px; top: 50%; width: 30px; height: 30px; border-radius: 50%; transform: translateY(-50%); background: var(--st-red, #a51e25) center / 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.st-site-footer.is-mobile .st-contact-phone span { color: #d2cbc6; letter-spacing: 1px; }
.st-site-footer.is-mobile .st-contact-phone strong { margin-top: 1px; color: #fff; font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: .5px; font-variant-numeric: tabular-nums; }
.st-site-footer.is-mobile .st-contact-phone:active { border-color: rgb(255 255 255 / 32%); background: rgb(255 255 255 / 8%); }
.st-site-footer.is-mobile .st-qr-list { grid-area: qr; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.st-site-footer.is-mobile .st-qr-list figure { display: flex; flex: none; flex-direction: column; align-items: center; min-width: 0; margin: 0; }
.st-site-footer.is-mobile .st-qr-list img { width: 76px; height: 76px; padding: 3px; background: #fff; object-fit: contain; }
/* 7 characters per line at 11px: the caption breaks after the firm name. */
.st-site-footer.is-mobile .st-qr-list figcaption { margin-top: 5px; color: #d2cbc6; font-size: 11px; line-height: 1.4; text-align: center; }
.st-site-footer.is-mobile .st-contact-info { grid-area: info; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; margin: 0; padding-top: 12px; border-top: 1px solid rgb(255 255 255 / 12%); font-size: 13px; line-height: 1.7; }
.st-site-footer.is-mobile .st-contact-info dt { color: #bdb4ae; }
.st-site-footer.is-mobile .st-contact-info dd a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* The bottom padding clears the fixed mobile contact bar ("Contact bars" above). */
.st-site-footer.is-mobile .st-footer { padding-top: 16px; padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
.st-site-footer.is-mobile .st-footer-nav { gap: 2px 16px; margin-bottom: 8px; line-height: 1.8; }
/* Partner links are the least-used row: one quieter line under a hairline. */
.st-site-footer.is-mobile .st-footer-links { gap: 2px 12px; margin-bottom: 0; padding-top: 8px; border-top: 1px solid #36312d; color: #a1968d; font-size: 11px; line-height: 1.8; }
.st-site-footer.is-mobile .st-footer-bottom { justify-content: space-between; gap: 2px 12px; margin-top: 0; padding-top: 4px; border-top: 0; font-size: 11px; line-height: 1.7; }
.st-site-footer.is-mobile .st-footer-bottom > * { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
    .st-site-footer.is-mobile .st-contact-phone { transition: none; }
}
@media (max-width: 340px) {
    /* Narrow phones: slimmer QR rail and hotline so the number keeps one line. */
    .st-site-footer.is-mobile .st-contact-layout { grid-template-columns: minmax(0, 1fr) 74px; gap: 12px 10px; }
    .st-site-footer.is-mobile .st-qr-list img { width: 70px; height: 70px; }
    .st-site-footer.is-mobile .st-qr-list figcaption { font-size: 10px; }
    .st-site-footer.is-mobile .st-contact-phone { padding-left: 46px; }
    .st-site-footer.is-mobile .st-contact-phone::before { left: 9px; width: 28px; height: 28px; }
    .st-site-footer.is-mobile .st-contact-phone strong { font-size: 19px; }
    /* Label above value so the site URL never breaks mid-word in the narrow column. */
    .st-site-footer.is-mobile .st-contact-info { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .st-site-footer.is-mobile .st-contact-info dt { font-size: 11px; line-height: 1.6; }
    .st-site-footer.is-mobile .st-contact-info dd + dt { margin-top: 4px; }
    /* Copyright and ICP stay on one line. */
    .st-site-footer.is-mobile .st-footer-bottom { gap: 2px 6px; font-size: 10px; }
}
