/* =========================================================
   招商加盟页 · 专属样式
   依赖 css/style.css 的设计令牌与基础样式
   ========================================================= */

/* ---------- 顶栏微调 ---------- */
.jh .hdr__linkback {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: var(--fs-sm);
    color: var(--txt-2);
    padding: 9px 4px;
    transition: color .25s var(--ease);
}
.jh .hdr__linkback svg { width: 15px; height: 15px; transform: rotate(180deg); }
.jh .hdr__linkback:hover { color: var(--ink); }

/* ---------- 首屏 ---------- */
.jh-hero {
    padding-top: clamp(140px, 17vh, 190px);
    padding-bottom: clamp(48px, 7vw, 88px);
    background:
        radial-gradient(70% 90% at 82% 8%, rgba(200, 169, 106, .1) 0%, transparent 62%),
        linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
    border-bottom: 1px solid var(--line-soft);
}

.jh-hero__title {
    font-family: var(--serif);
    font-size: clamp(2.1rem, 5.4vw, 3.9rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .06em;
    color: var(--ink);
}

.jh-hero__lede {
    margin-top: clamp(16px, 2vw, 24px);
    max-width: 54ch;
    font-size: var(--fs-lede);
    line-height: 1.85;
    color: var(--txt-2);
}

/* ---------- 状态卡 ---------- */
.jh-status {
    margin-top: clamp(32px, 4.4vw, 52px);
    display: grid;
    gap: 18px;
    padding: clamp(24px, 3vw, 32px);
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    border-radius: var(--r);
    box-shadow: var(--sh-2);
}

.jh-status__tag {
    justify-self: start;
    padding: 4px 12px;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: .18em;
    color: var(--ink);
    background: var(--paper-2);
    border-radius: 999px;
}

.jh-status__main {
    font-family: var(--serif);
    font-size: clamp(1.25rem, 2.3vw, 1.7rem);
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--ink);
}

.jh-status__sub {
    margin-top: 10px;
    font-size: var(--fs-sm);
    line-height: 1.85;
    color: var(--txt-2);
    max-width: 60ch;
}

.jh-status__acts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* 描边按钮（浅底用） */
.btn--line {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn--line:hover {
    border-color: var(--brand);
    background: var(--brand-soft);
}

/* ---------- 首屏数据条 ---------- */
.jh-facts {
    margin-top: clamp(36px, 5vw, 56px);
    padding-top: clamp(22px, 3vw, 30px);
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 0;
}

.jh-facts dt {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: .16em;
    color: var(--txt-3);
}

.jh-facts dd {
    margin: 7px 0 0;
    font-family: var(--serif);
    font-size: clamp(.9375rem, 1.4vw, 1.0625rem);
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--ink);
    line-height: 1.5;
}

/* ---------- 备案公示 ---------- */
.rec {
    display: grid;
    gap: clamp(16px, 2.2vw, 24px);
}

.rec__block {
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    overflow: hidden;
}

.rec__title {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 18px clamp(20px, 2.6vw, 28px);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    background: var(--paper-2);
    border-bottom: 1px solid var(--line-soft);
}
.rec__title svg { width: 17px; height: 17px; color: var(--gold); }

.rec__table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-sm);
}

.rec__table th,
.rec__table td {
    padding: 15px clamp(20px, 2.6vw, 28px);
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line-soft);
}
.rec__table tbody tr:last-child th,
.rec__table tbody tr:last-child td { border-bottom: 0; }

.rec__table tbody th {
    width: 34%;
    min-width: 110px;
    font-weight: 400;
    color: var(--txt-3);
    background: rgba(243, 239, 232, .45);
}

.rec__table td { color: var(--txt); }

.rec__table code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .9375rem;
    letter-spacing: .04em;
    color: var(--ink);
    background: var(--paper-2);
    padding: 3px 8px;
    border-radius: 3px;
}

.rec__table a { color: var(--brand); border-bottom: 1px solid var(--brand-soft); }
.rec__table a:hover { border-bottom-color: var(--brand); }

/* 窄屏：表格转成键值行 */
@media (max-width: 620px) {
    .rec__table thead { display: none; }
    .rec__table tbody th {
        width: auto;
        padding-bottom: 4px;
        background: none;
    }
    .rec__table tbody td { padding-top: 0; padding-bottom: 18px; }
    .rec__table tbody tr:last-child td { padding-bottom: 0; }
}

.rec__note {
    padding: 0 clamp(20px, 2.6vw, 28px) 20px;
    font-size: var(--fs-xs);
    line-height: 1.8;
    color: var(--txt-3);
}

/* ---------- 官方核验渠道 ---------- */
.verify {
    margin-top: clamp(32px, 4.4vw, 52px);
}

.verify__title {
    font-family: var(--serif);
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
}

.verify__lede {
    font-size: var(--fs-sm);
    line-height: 1.85;
    color: var(--txt-2);
    max-width: 64ch;
    margin-bottom: clamp(18px, 2.4vw, 24px);
}

.verify__grid {
    display: grid;
    gap: 12px;
}

.vcard {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    transition: all .28s var(--ease);
}
.vcard:hover {
    border-color: var(--brand);
    box-shadow: var(--sh-2);
    transform: translateY(-2px);
}

.vcard__ico {
    width: 40px; height: 40px;
    display: grid;
    place-content: center;
    color: var(--brand);
    background: var(--brand-soft);
    border-radius: 50%;
    flex: none;
}
.vcard__ico svg { width: 18px; height: 18px; }

.vcard__body { display: grid; gap: 4px; }
.vcard__body b {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
}
.vcard__body em {
    font-style: normal;
    font-size: var(--fs-xs);
    line-height: 1.6;
    color: var(--txt-3);
}

.vcard__go { width: 17px; height: 17px; color: var(--txt-3); flex: none; }
.vcard:hover .vcard__go { color: var(--brand); }

/* ---------- 官方截图 ---------- */
.shot {
    margin: clamp(32px, 4.4vw, 52px) 0 0;
    padding: clamp(20px, 2.6vw, 28px);
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
}

.shot__cap {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--txt-2);
    margin-bottom: 18px;
}
.shot__cap svg { width: 15px; height: 15px; color: var(--gold); flex: none; }

.shot img {
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
}

.shot__tip {
    margin-top: 14px;
    font-size: var(--fs-xs);
    color: var(--txt-3);
}

/* ---------- 合作方要求 ---------- */
.exp {
    display: grid;
    gap: clamp(16px, 2.2vw, 24px);
}

.exp__col {
    padding: clamp(24px, 3vw, 34px);
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
}

.exp__h {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ink);
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line-soft);
}
.exp__h svg { width: 19px; height: 19px; flex: none; }
.exp__h--ok svg { color: var(--brand); }
.exp__h--no svg { color: #B4684E; }

.exp__list { display: grid; gap: 13px; }

.exp__list li {
    position: relative;
    padding-left: 22px;
    font-size: var(--fs-sm);
    line-height: 1.8;
    color: var(--txt-2);
}
.exp__list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: .72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
}
.exp__list--no li::before { background: #C9A227; }

.exp__note {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
    font-size: var(--fs-xs);
    line-height: 1.8;
    color: var(--txt-3);
}

/* ---------- 流程 ---------- */
.jh-flow {
    display: grid;
    gap: clamp(12px, 1.6vw, 16px);
    margin-bottom: clamp(36px, 5vw, 60px);
}

.jh-flow li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 16px;
    align-items: baseline;
    padding: 20px clamp(20px, 2.4vw, 26px);
    background: var(--card);
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.jh-flow li:hover {
    border-color: var(--brand-soft);
    transform: translateX(3px);
}

.jh-flow__no {
    grid-row: 1 / 3;
    font-family: var(--serif);
    font-size: .9375rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--gold);
    min-width: 2.4ch;
}

.jh-flow b {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
}

.jh-flow em {
    font-style: normal;
    font-size: var(--fs-xs);
    line-height: 1.7;
    color: var(--txt-3);
}

/* ---------- 意向登记（仅邮箱咨询，不设表单） ---------- */
.mailbox {
    display: grid;
    gap: clamp(24px, 3.4vw, 40px);
    padding: clamp(26px, 3.6vw, 44px);
    background: var(--paper-2);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
}

.mailbox__intro h3 {
    font-family: var(--serif);
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
}

.mailbox__intro p {
    font-size: var(--fs-sm);
    line-height: 1.85;
    color: var(--txt-2);
    max-width: 46ch;
}

.mailbox__facts {
    margin-top: 20px;
    display: grid;
    gap: 11px;
}
.mailbox__facts li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: var(--fs-xs);
    line-height: 1.7;
    color: var(--txt-2);
}
.mailbox__facts svg {
    width: 15px; height: 15px;
    color: var(--brand);
    flex: none;
    margin-top: 3px;
}

/* 邮箱面板 */
.mailbox__panel {
    padding: clamp(24px, 3vw, 34px);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--sh-1);
}

.mailbox__label {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: .18em;
    color: var(--txt-3);
}

.mailbox__addr {
    margin-top: 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: clamp(1.15rem, 2.6vw, 1.6rem);
    font-weight: 700;
    color: var(--ink);
    word-break: break-all;
}

.mailbox__acts {
    margin-top: clamp(20px, 2.6vw, 28px);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mailbox__tip {
    margin-top: clamp(22px, 2.8vw, 30px);
    padding-top: clamp(20px, 2.4vw, 26px);
    border-top: 1px solid var(--line-soft);
}
.mailbox__tip p {
    font-size: var(--fs-xs);
    line-height: 1.75;
    color: var(--txt-2);
}
.mailbox__tip ul {
    margin-top: 10px;
    display: grid;
    gap: 7px;
    list-style: none;
}
.mailbox__tip li {
    position: relative;
    padding-left: 18px;
    font-size: var(--fs-xs);
    line-height: 1.7;
    color: var(--txt-3);
}
.mailbox__tip li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: .66em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand);
}

.mailbox__note { margin-top: 16px; color: var(--txt-3); }

.mailbox__ok {
    margin-top: 16px;
    padding: 12px 16px;
    font-size: var(--fs-xs);
    line-height: 1.8;
    color: var(--ink);
    background: var(--brand-soft);
    border-left: 3px solid var(--brand);
    border-radius: var(--r);
}

/* ---------- 防伪声明 ---------- */
.jh-anti__head { max-width: 68ch; }

.jh-anti__title {
    font-family: var(--serif);
    font-size: var(--fs-h2);
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    text-wrap: balance;
}

.jh-anti__lede {
    margin-top: 18px;
    font-size: var(--fs-lede);
    line-height: 1.85;
    color: var(--on-dark-2);
    padding-left: 20px;
    border-left: 2px solid var(--gold);
}

.jh-anti__grid {
    margin-top: clamp(34px, 4.6vw, 54px);
    display: grid;
    gap: clamp(14px, 1.8vw, 20px);
}

.jh-anti__grid article {
    padding: clamp(24px, 3vw, 32px);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: var(--r-lg);
    transition: background .3s var(--ease), border-color .3s var(--ease);
}
.jh-anti__grid article:hover {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(200, 169, 106, .4);
}

.jh-anti__no {
    display: block;
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(200, 169, 106, .5);
    margin-bottom: 16px;
}

.jh-anti__grid h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 9px;
}

.jh-anti__grid p {
    font-size: var(--fs-sm);
    line-height: 1.85;
    color: var(--on-dark-2);
}

.jh-anti__report {
    margin-top: clamp(24px, 3vw, 34px);
    display: grid;
    gap: 20px;
    padding: clamp(24px, 3vw, 32px);
    background: rgba(200, 169, 106, .1);
    border: 1px solid rgba(200, 169, 106, .28);
    border-radius: var(--r-lg);
}

.jh-anti__report h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.jh-anti__report p {
    font-size: var(--fs-sm);
    line-height: 1.85;
    color: var(--on-dark-2);
    max-width: 62ch;
}
.jh-anti__report a:not(.btn) {
    color: var(--gold);
    border-bottom: 1px solid rgba(200, 169, 106, .4);
}
.jh-anti__report a:not(.btn):hover { border-bottom-color: var(--gold); }

.jh-anti__report .btn { justify-self: start; }

/* ---------- 页脚 ---------- */
.jh-ftr {
    display: grid;
    gap: clamp(28px, 4vw, 44px);
    padding-bottom: clamp(20px, 2.6vw, 32px);
}

.jh-ftr .wmark {
    display: inline-flex;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(200, 169, 106, .35);
}

.jh-ftr__links {
    display: grid;
    gap: 12px;
    align-content: start;
}
.jh-ftr__links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-sm);
    color: var(--on-dark-2);
    transition: color .25s var(--ease);
}
.jh-ftr__links a::before {
    content: "";
    width: 0; height: 1px;
    background: var(--gold);
    transition: width .3s var(--ease);
}
.jh-ftr__links a:hover { color: #fff; }
.jh-ftr__links a:hover::before { width: 12px; }

/* =========================================================
   响应式
   ========================================================= */
@media (min-width: 560px) {
    .jh-facts { grid-template-columns: repeat(4, 1fr); }
    .jh-flow { grid-template-columns: repeat(2, 1fr); }
    .jh-anti__grid { grid-template-columns: repeat(3, 1fr); }
    .jh-ftr { grid-template-columns: repeat(3, 1fr); }
    .jh-anti__report {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

@media (min-width: 768px) {
    .mailbox { grid-template-columns: .85fr 1.15fr; align-items: start; }
    .mailbox__intro { position: sticky; top: 108px; }
}

@media (min-width: 992px) {
    .rec { grid-template-columns: 1fr 1fr; align-items: start; }
    /* 经营资源信息表列多，右侧给更宽空间 */
    .rec__block:first-child { grid-column: 1; }
    .verify__grid { grid-template-columns: repeat(3, 1fr); }
    .verify__grid .vcard {
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto;
        align-items: start;
    }
    .vcard__go { display: none; }
    .exp { grid-template-columns: repeat(2, 1fr); }
    .jh-flow { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
    .jh-flow { grid-template-columns: repeat(3, 1fr); }
}

/* 窄屏修正 */
@media (max-width: 480px) {
    .mailbox__panel { padding: 22px 20px; }
    .jh-status__acts .btn { flex: 1 1 100%; }
    .jh-facts { gap: 20px 0; }
    .vcard {
        grid-template-columns: 36px 1fr;
        padding: 16px 18px;
        gap: 12px;
    }
    .vcard__ico { width: 36px; height: 36px; }
    .vcard__go { display: none; }
}
