/*
Theme Name: huishoubatanseo
Author: huishoubatan.com
Author URI: https://www.huishoubatan.com
Description: Precious metal recycling WordPress theme.
Version: 3.0.0
Text Domain: xs
*/

:root {
    --graphite: #11161c;
    --graphite-2: #1e252c;
    --gold: #c99a3d;
    --gold-light: #f1dfb8;
    --silver: #dfe5e9;
    --palladium: #8ea0ac;
    --ink: #172028;
    --muted: #6d7781;
    --line: #dbe1e5;
    --paper: #ffffff;
    --bg: #f4f6f7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 0, rgba(201,154,61,.12), transparent 28%),
        linear-gradient(180deg, #fbfcfc 0, #eef2f4 55%, #f7f6f1 100%);
    font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif;
    line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #9f6e22; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button, input { font: inherit; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid rgba(17,22,28,.09);
    box-shadow: 0 14px 38px rgba(17,22,28,.08);
    backdrop-filter: blur(14px);
}
.top-strip { color: #dfe6eb; background: var(--graphite); font-size: 13px; }
.top-strip .container,
.header-main,
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.top-strip .container { min-height: 36px; }
.top-strip a { color: var(--gold-light); font-weight: 800; }
.header-main { min-height: 82px; }
.brand-link { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.brand-link img { max-height: 54px; width: auto; }
.brand-link strong { display: block; font-size: 24px; line-height: 1.1; font-weight: 900; }
.brand-link em { display: block; margin-top: 4px; color: #9f6e22; font-size: 11px; font-style: normal; text-transform: uppercase; font-weight: 800; }
.header-menu-con { display: flex; align-items: center; gap: 6px; }
.header-menu-con > li { position: relative; }
.header-menu-con > li > a {
    display: block;
    padding: 13px 14px;
    color: var(--ink);
    border-bottom: 2px solid transparent;
    font-size: 15px;
    font-weight: 800;
}
.header-menu-con > li > a:hover,
.header-menu-con > li.current-menu-item > a {
    color: #9f6e22;
    border-bottom-color: var(--gold);
}
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 42px rgba(17,22,28,.14);
}
.sub-menu a { display: block; padding: 11px 14px; white-space: nowrap; }
.slicknav_menu { display: none; background: var(--graphite); }

.pm-hero {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    color: #fff;
    background: var(--graphite);
}
.pm-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.pm-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(.72) contrast(1.08) brightness(.78);
    opacity: .44;
}
.pm-hero-media:before,
.pm-hero-media:after {
    content: "";
    position: absolute;
    inset: 0;
}
.pm-hero-media:before {
    background:
        radial-gradient(circle at 75% 38%, rgba(201,154,61,.28), transparent 24%),
        linear-gradient(90deg, rgba(12,15,18,.98), rgba(17,22,28,.86) 52%, rgba(17,22,28,.32));
}
.pm-hero-media:after {
    background-image:
        linear-gradient(rgba(241,223,184,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(241,223,184,.06) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.5), transparent 82%);
}
.pm-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 58px;
    align-items: center;
    min-height: 720px;
    padding-top: 88px;
    padding-bottom: 108px;
}
.pm-kicker,
.pm-section-head span,
.pm-final-box span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}
.pm-kicker:before,
.pm-section-head span:before,
.pm-final-box span:before {
    content: "";
    width: 42px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.pm-hero-copy h1 {
    max-width: 920px;
    margin: 20px 0 20px;
    color: #fff;
    font-size: 58px;
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: 0;
}
.pm-hero-copy p {
    max-width: 720px;
    margin: 0;
    color: #d9e0e5;
    border-left: 3px solid var(--gold);
    padding-left: 18px;
    font-size: 18px;
}
.pm-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.pm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 3px;
    font-weight: 900;
}
.pm-btn-gold {
    color: var(--graphite);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    box-shadow: 0 14px 32px rgba(201,154,61,.24);
}
.pm-btn-ghost {
    color: var(--gold-light);
    border: 1px solid rgba(241,223,184,.45);
    background: rgba(255,255,255,.06);
}
.pm-btn-dark {
    color: var(--gold-light);
    background: var(--graphite);
}
.pm-quote-box {
    padding: 30px;
    color: var(--ink);
    background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(241,223,184,.78));
    border: 1px solid rgba(201,154,61,.34);
    border-radius: 10px;
    box-shadow: 0 28px 80px rgba(0,0,0,.30);
}
.pm-quote-box > span {
    display: inline-flex;
    padding: 5px 10px;
    color: #fff;
    background: var(--graphite);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}
.pm-quote-box h2 { margin: 14px 0 16px; font-size: 28px; line-height: 1.25; font-weight: 900; }
.pm-quote-box ol { display: grid; gap: 12px; list-style: decimal; padding-left: 20px; color: #3f4850; font-weight: 700; }

.pm-metal-strip {
    position: relative;
    z-index: 5;
    margin-top: -42px;
}
.pm-metal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #fff;
    border: 1px solid rgba(201,154,61,.28);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 22px 56px rgba(17,22,28,.12);
}
.pm-metal-grid div {
    min-height: 104px;
    display: grid;
    place-items: center;
    gap: 6px;
    border-right: 1px solid rgba(17,22,28,.08);
    background: linear-gradient(180deg, #fff, #f7f1e4);
}
.pm-metal-grid div:last-child { border-right: 0; }
.pm-metal-grid strong { color: #9f6e22; font-size: 34px; line-height: 1; }
.pm-metal-grid span { color: var(--ink); font-weight: 900; }

.pm-section { padding: 86px 0; }
.pm-section-head {
    max-width: 800px;
    margin-bottom: 34px;
}
.pm-section-head h2,
.pm-final-box h2 {
    margin: 10px 0 10px;
    color: var(--ink);
    font-size: 40px;
    line-height: 1.24;
    font-weight: 900;
}
.pm-section-head p,
.pm-final-box p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}
.pm-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.pm-service-card {
    min-height: 270px;
    padding: 26px;
    background: #fff;
    border: 1px solid rgba(17,22,28,.10);
    border-top: 4px solid var(--gold);
    border-radius: 10px;
    box-shadow: 0 18px 46px rgba(17,22,28,.08);
}
.pm-symbol {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: var(--graphite);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border-radius: 50%;
    font-size: 18px;
    font-weight: 900;
}
.pm-service-card h3 { margin: 22px 0 10px; font-size: 23px; line-height: 1.28; font-weight: 900; }
.pm-service-card p { color: var(--muted); margin: 0 0 18px; }
.pm-service-card a { color: #9f6e22; font-weight: 900; border-bottom: 1px solid currentColor; }

.pm-process {
    color: #fff;
    background: linear-gradient(120deg, rgba(17,22,28,.97), rgba(30,37,44,.92)), var(--graphite);
}
.pm-process .pm-section-head h2,
.pm-process .pm-section-head p { color: #fff; }
.pm-process-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 44px;
    align-items: start;
}
.pm-process-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.pm-process-steps div {
    min-height: 162px;
    padding: 24px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(241,223,184,.18);
    border-left: 4px solid var(--gold);
    border-radius: 10px;
}
.pm-process-steps span { color: var(--gold-light); font-weight: 900; }
.pm-process-steps strong { display: block; margin: 8px 0; color: #fff; font-size: 22px; }
.pm-process-steps p { margin: 0; color: #cfd7dd; }

.pm-posts { background: #fff; }
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.post-card,
.single-article,
.archive-header,
.widget {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(17,22,28,.10);
    border-radius: 10px;
    box-shadow: 0 16px 42px rgba(17,22,28,.07);
}
.post-thumb { display: block; aspect-ratio: 16 / 10; background: #dfe5e9; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .22s ease; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-card-body { padding: 20px; }
.post-card time { color: var(--muted); font-size: 12px; font-weight: 800; }
.post-card h2 { margin: 8px 0 10px; font-size: 19px; line-height: 1.36; font-weight: 900; }
.post-card p { color: var(--muted); }
.read-more { display: inline-flex; margin-top: 12px; padding: 7px 11px; color: var(--graphite); background: var(--gold-light); border-radius: 4px; font-weight: 900; }

.pm-final-cta { padding: 80px 0; }
.pm-final-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 42px;
    background: linear-gradient(135deg, #fff, var(--gold-light));
    border: 1px solid rgba(201,154,61,.30);
    border-radius: 12px;
    box-shadow: 0 22px 60px rgba(17,22,28,.10);
}
.pm-final-box span { color: #9f6e22; }

.page-hero { padding: 56px 0; color: #fff; background: linear-gradient(135deg, var(--graphite), var(--graphite-2)); }
.page-hero p { color: var(--gold-light); margin: 0 0 8px; font-weight: 900; }
.page-hero h1 { margin: 0; font-size: 34px; font-weight: 900; }
.content-area { padding: 64px 0; }
.content-list { display: grid; gap: 18px; }
.content-list .post-card { display: grid; grid-template-columns: 260px 1fr; }
.crumbs { margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.crumbs a { color: var(--ink); font-weight: 900; }
.crumbs span { margin: 0 8px; }
.single-article,
.archive-header,
.widget { padding: 28px; }
.single-header p,
.archive-header p { color: #9f6e22; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.single-header h1,
.archive-header h1 { margin: 8px 0 12px; font-size: 34px; line-height: 1.25; font-weight: 900; }
.single-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 24px; }
.entry-content { color: #2f3740; font-size: 16px; }
.entry-content p { margin: 0 0 18px; }
.entry-content img { margin: 18px auto; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin: 24px 0; }
.post-nav a { color: #9f6e22; font-weight: 900; }
.page-nav { text-align: center; margin-top: 26px; }
.page-nav ul { display: inline-flex; gap: 6px; }
.page-nav a,
.page-nav span { display: inline-flex; min-width: 34px; min-height: 34px; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; padding: 0 10px; }
.page-nav .current { color: var(--graphite); background: var(--gold-light); border-color: var(--gold); }
.widget-title { margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 900; }
.widget li { margin-bottom: 10px; color: var(--muted); }
.tagcloud a { display: inline-flex; margin: 0 6px 8px 0; padding: 5px 9px; border: 1px solid var(--line); color: var(--muted); font-size: 13px !important; }

.site-footer {
    color: #dce3e9;
    background: var(--graphite);
    border-top: 4px solid var(--gold);
    padding: 44px 0 22px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 34px; }
.site-footer h3 { margin: 0 0 14px; color: #fff; font-size: 18px; font-weight: 900; }
.site-footer p,
.site-footer li { color: #b9c4ce; }
.footer-search { display: flex; margin-top: 14px; background: #fff; }
.footer-search input { width: 100%; min-width: 0; border: 0; padding: 11px 12px; color: var(--ink); }
.footer-search button { width: 46px; border: 0; color: var(--graphite); background: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 28px; padding-top: 18px; color: #aeb9c4; }

.floating-contact {
    position: fixed;
    right: 14px;
    top: 42%;
    z-index: 70;
    display: grid;
    gap: 8px;
}
.floating-contact a,
.floating-contact button {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    border: 0;
    border-radius: 4px;
    padding: 0 12px;
    color: var(--graphite);
    background: var(--gold-light);
    box-shadow: 0 10px 26px rgba(0,0,0,.16);
    cursor: pointer;
}
.mobile-cta { display: none; }
.wechat-modal { display: none; position: fixed; inset: 0; z-index: 120; background: rgba(10,13,16,.62); }
.wechat-panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(360px, calc(100% - 34px)); padding: 28px; text-align: center; background: #fff; border-radius: 10px; box-shadow: 0 24px 80px rgba(0,0,0,.32); }
.wechat-panel p { color: var(--muted); margin: 0; }
.wechat-panel strong { display: block; color: #9f6e22; font-size: 30px; margin: 10px 0 16px; }
.wechat-panel img { width: 190px; margin: 0 auto 14px; }
.wechat-close { position: absolute; right: 10px; top: 8px; width: 34px; height: 34px; border: 0; background: transparent; font-size: 24px; cursor: pointer; }

@media (max-width: 991px) {
    .site-nav { display: none; }
    .slicknav_menu { display: block; }
    .pm-hero-layout,
    .pm-process-layout,
    .pm-final-box,
    .footer-grid { grid-template-columns: 1fr; }
    .pm-hero-copy h1 { font-size: 42px; }
    .pm-metal-grid,
    .pm-service-grid,
    .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    body { padding-bottom: 62px; }
    .top-strip span { display: none; }
    .top-strip .container { justify-content: center; }
    .brand-link strong { font-size: 20px; }
    .pm-hero { min-height: auto; }
    .pm-hero-layout { min-height: auto; padding-top: 56px; padding-bottom: 56px; }
    .pm-hero-copy h1 { font-size: 32px; }
    .pm-metal-strip { margin-top: 0; }
    .pm-metal-grid,
    .pm-service-grid,
    .pm-process-steps,
    .article-grid,
    .content-list .post-card { grid-template-columns: 1fr; }
    .pm-section { padding: 50px 0; }
    .pm-section-head h2,
    .pm-final-box h2 { font-size: 28px; }
    .floating-contact { display: none; }
    .mobile-cta {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        background: var(--graphite);
        border-top: 1px solid rgba(241,223,184,.24);
    }
    .mobile-cta a,
    .mobile-cta button {
        display: grid;
        place-items: center;
        gap: 2px;
        min-height: 58px;
        border: 0;
        color: #fff;
        background: transparent;
        font-size: 12px;
    }
}
