@charset "utf-8";
/* ==========================================================================
   JX FITNESS — Company Partner page (detail_parter)
   Depends on style.css (design tokens, header, footer, buttons, reveal).
   Content column 1520px centered. Breakpoints: 1520 / 1200 / 992 / 768 / 576
   ========================================================================== */

/* current nav item (design: PARTNER red) */
.main-nav > li.is-active > a { color: var(--red); }

/* header placeholder: reserves the absolute header's height (76px) */
.header-placeholder { height: 76px; }

/* ---------- plain label (red text, no underline) ---------- */
.sec-label--plain { padding-bottom: 0; }
.sec-label--plain::after { display: none; }

/* ==========================================================================
   PAGE HERO (sub-page banner + breadcrumb)
   ========================================================================== */
.page-hero {
    position: relative;
    height: 408px;
    display: flex;
    align-items: center;
    color: #fff;
    background: var(--dark) center / cover no-repeat;
    overflow: hidden;
}

.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
    font-size: var(--fs-h2);
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.15;
    animation: pageHeroIn .8s cubic-bezier(.2,.6,.2,1) both;
}
.page-breadcrumb {
    margin-top: 26px;
    font-size: var(--fs-xs);
    color: rgba(255,255,255,.82);
    animation: pageHeroIn .8s .12s cubic-bezier(.2,.6,.2,1) both;
}
.page-breadcrumb a:hover { color: #fff; }
.page-breadcrumb .sep { margin: 0 8px; color: rgba(255,255,255,.55); }
.page-breadcrumb [aria-current] { color: #fff; }
@keyframes pageHeroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    .page-hero h1, .page-breadcrumb { animation: none; }
}

/* ==========================================================================
   ABOUT (intro text + photo + stats)
   ========================================================================== */
.partner-about { padding: 72px 0; }
.partner-about-grid {
    display: grid;
    grid-template-columns: 1fr 660px;
    gap: 56px;
    align-items: stretch;
}
.partner-about-text .sec-title {  font-size: var(--fs-h2); }
.partner-about-text .about-copy { margin-top: 22px; }
.partner-about-text .about-copy p {
    color: inherit;
    font-size: var(--fs-body);
    line-height: 1.75;
}
.partner-about-text .about-copy p + p { margin-top: 20px; }
.partner-about-photo { overflow: hidden; }
.partner-about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.partner-about-photo:hover img { transform: scale(1.04); }

.partner-stats {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.partner-stat {
    padding: 26px 24px;
    background: #f4f5f7;
    text-align: center;
    transition: background-color var(--ease);
}
.partner-stat:hover {
    background: var(--red);
}
.partner-stat:hover .stat-num,
.partner-stat:hover .stat-label { color: #fff; }
.partner-stat .stat-num {
    font-size: var(--fs-h3);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.1;
    transition: color var(--ease);
}
.partner-stat .stat-label {
    margin-top: 8px;
    font-size: var(--fs-xs);
    line-height: 1.5;
    color: var(--body);
    transition: color var(--ease);
}

/* ==========================================================================
   CUSTOMER TYPE (dark, bg photo, 3x2 icon cards)
   ========================================================================== */
.ctype {
    position: relative;
    padding: 70px 0 70px;
    color: #fff;
    background: center / cover no-repeat;
    /* background: var(--dark) center / cover no-repeat; */
}
.ctype .container { position: relative; z-index: 2; }
.ctype .sec-title { color: #fff;margin-top: 0; }
.ctype-grid {
    margin-top: 54px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px 48px;
}
.ctype-card { text-align: center; }
.ctype-card .ctype-icon {
    display: flex;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0 auto;
    color: var(--red);
}
.ctype-card .ctype-icon svg { width: 100%; height: 100%; }
.ctype-card h3 {
    margin-top: 16px;
    font-size: var(--fs-h3);
    font-weight: 700;
    color: #fff;
}
.ctype-card p {
    margin: 12px auto 0;
    max-width: 375px;
    font-size: var(--fs-body);
    line-height: 1.65;
    color: rgba(255,255,255,.72);
}

/* ==========================================================================
   WE CAN PROVIDE YOU (white, 4x2 icon cards)
   ========================================================================== */
.provide { padding: 70px 0 70px; }
.provide .sec-title { text-align: center; margin-top: 0;}
.provide-grid {
    margin-top: 52px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 64px 30px;
}
.provide-card { text-align: center; }
.provide-card .provide-icon {
    display: block;
    width: 60px;
    height: 60px;
    margin: 0 auto;
}
.provide-card .provide-icon svg { width: 100%; height: 100%; }
.provide-card .provide-icon img { width: 100%; height: 100%; object-fit: contain; }
.provide-card h3 {
    margin-top: 16px;
    font-size: var(--fs-h3);
    font-weight: 700;
    color: var(--ink);
}
.provide-card p {
    margin: 10px auto 0;
    max-width: 340px;
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--body);
}

/* ==========================================================================
   DEALER PROGRAM — Grow margin. Differentiate (dark split)
   ========================================================================== */
.grow {
    padding: 45px 0 70px;
    background: #14181d;
    color: #fff;
}
.grow-grid {
    display: grid;
    grid-template-columns: 1fr 660px;
    gap: 60px;
    align-items: start;
}
.grow .sec-label--plain { color: var(--red); }
.grow .sec-title { color: #fff; font-size: var(--fs-h2); margin-top: 20px; }
/* align the photo's top edge with the sec-title, not the label above it */
.grow-photo { margin-top: calc(15px + 16px + 3px + 14px); }
.grow-intro {
    margin-top: 18px;
    font-size: var(--fs-small);
    line-height: 1.7;
    color: rgba(255,255,255,.78);
    max-width: 700px;
}
.grow-list { margin-top: 26px; }
.grow-item {
    display: flex;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
}
.grow-check {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    margin-top: 2px;
    border: 2px solid rgba(255,255,255,.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.grow-check svg { width: 14px; height: 14px; }
.grow-item h4 { font-size: var(--fs-h5); font-weight: 700; color: #fff; }
.grow-item p {
    margin-top: 8px;
    font-size: var(--fs-body);
    line-height: 1.65;
    color: rgba(255,255,255,.62);
}
.grow-actions {
    margin-top: 38px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.btn-dealer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 24px;
    background: var(--red);
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 3px;
    transition: background-color var(--ease);
}
.btn-dealer:hover { background: var(--red-dark); color: #fff; }
.btn-dealer svg { width: 14px; height: 14px; transition: transform var(--ease); }
.btn-dealer:hover svg { transform: translateX(4px); }
.btn-login {
    display: inline-flex;
    align-items: center;
    height: 48px;
    padding: 0 28px;
    border: 1.5px solid rgba(255,255,255,.85);
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 3px;
    transition: background-color var(--ease), color var(--ease);
}
.btn-login:hover { background: #fff; color: var(--ink); }
.grow-photo { overflow: hidden; }
.grow-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   PRODUCE PROCESS (light, 3x3 numbered steps)
   ========================================================================== */
.process {
    padding: 70px 0 70px;
    background: #f7f8fa;
}
.process .sec-title { text-align: center; margin-top: 0;}
.process-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px 28px;
}
.process-step { text-align: center; }
.process-num {
    font-size: var(--fs-h5);
    font-weight: 800;
    color: var(--red);
    line-height: 1;
}
.process-step h3 {
    margin-top: 6px;
    font-size: var(--fs-h4);
    font-weight: 700;
    color: var(--ink);
}
.process-step .process-img {
    margin-top: 16px;
    overflow: hidden;
}
.process-step img {
    width: 100%;
    aspect-ratio: 488 / 250;
    object-fit: cover;
    transition: transform .7s var(--ease);
}
.process-step:hover img { transform: scale(1.05); }

/* ==========================================================================
   NATIONWIDE SERVICES (dark split + white logo card)
   ========================================================================== */
.nationwide {
    padding: 70px 0 0;
    background: var(--dark);
    color: #fff;
}
.nationwide-grid {
    display: grid;
    grid-template-columns: 1fr 917px;
    gap: 56px;
    align-items: start;
}
.nationwide .sec-title { color: #fff; font-size: var(--fs-h2); }
.nationwide-text {
    margin-top: 22px;
    font-size: var(--fs-small);
    line-height: 1.75;
    color: rgba(255,255,255,.72);
    max-width: 560px;
}
.nationwide-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    color: var(--red);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.nationwide-link:hover { color: #e11a38; }
.logo-card {
    background: #fff;
    padding: 34px 36px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px 26px;
    align-items: center;
    justify-items: center;
}
.logo-card .logo-cell img {
    max-width: 158px;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform var(--ease), opacity var(--ease);
    opacity: .92;
}
.logo-card .logo-cell:hover img { transform: scale(1.06); opacity: 1; }

/* ==========================================================================
   BUCHANAN REVIEWS (dark, carousel)
   ========================================================================== */
.reviews {
    padding: 60px 0 70px;
    background: var(--dark);
    color: #fff;
}
.reviews .sec-title {
    color: #fff;
    font-size: var(--fs-h2);
    padding-bottom: 10px;
    margin-top: 0;
    border-bottom: 1px solid rgba(255,255,255);
}
.reviews-viewport { overflow: hidden; margin-top: 52px; }
.reviews-track {
    display: flex;
    transition: transform .55s cubic-bezier(.25,.46,.45,.94);
}
.review-page {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
/* JS 运行前卡片是 track 的直接子元素（平铺），按当前断点给出占位宽度，
   避免页面加载瞬间所有卡片挤在一行；JS 分页后卡片被包进 .review-page，此规则自动失效 */
.reviews-track > .review-card { flex: 0 0 calc(100% / 3); }
.review-card { text-align: center; padding: 0 14px; }
.review-card h3 { font-size: var(--fs-h4); font-weight: 700; color: #fff; }
.review-card p {
    margin: 14px auto 0;
    max-width: 360px;
    font-size: var(--fs-xs);
    line-height: 1.7;
    color: rgba(255,255,255,.66);
}
.reviews-dots {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.reviews-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.32);
    transition: background-color var(--ease), transform var(--ease);
}
.reviews-dots button.is-active { background: #fff; transform: scale(1.15); }
.reviews-arrows {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    gap: 16px;
}
.reviews-arrows button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--ease), color var(--ease);
}
.reviews-arrows button:hover { background: var(--red); color: #fff; }
.reviews-arrows svg { width: 15px; height: 15px; }

/* ==========================================================================
   START WITH OUR EQUIPMENTS (white, 4 vertical cards + red inquiry card)
   ========================================================================== */
.pequip { padding: 70px 0 70px; }
.pequip .sec-title { font-size: var(--fs-h2);margin-top: 0; }
.pequip-sub {
    margin-top: 12px;
    font-size: var(--fs-small);
    color: var(--body);
}
.pequip-grid {
    margin-top: 46px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px 22px;
}
.pequip-card { position: relative; }
.pequip-card .pequip-img { overflow: hidden; display: block; }
.pequip-card img {
    width: 100%;
    aspect-ratio: 364 / 403;
    object-fit: cover;
    transition: transform .7s var(--ease);
}
.pequip-card:hover img { transform: scale(1.05); }
/* red CTA panel covering the card image — revealed on hover */
.pequip-cover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    aspect-ratio: 364 / 403;
    background: var(--red);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 26px;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    /* use the easing curve directly — var(--ease) embeds a .35s duration that
       would be parsed as a transition-delay in this shorthand */
    transition: opacity .18s cubic-bezier(.25, .46, .45, .94), visibility 0s linear .18s;
    z-index: 2;
}
.pequip-card:hover .pequip-cover {
    opacity: 1;
    visibility: visible;
    /* 悬停时立即显示：同时清除 visibility 的 .18s 延迟和淡化时长 */
    transition-delay: 0s;
    transition-duration: 0s;
}
.pequip-cover p {
    font-size: var(--fs-lead);
    line-height: 1.5;
    font-weight: 500;
    max-width: 240px;
    color: #fff;
}
.pequip-card h3 {
    margin-top: 18px;
    text-align: center;
    font-size: var(--fs-body);
    font-weight: 700;
    color: var(--ink);
}
.pequip-card h3 a:hover { color: var(--red); }
.pequip-more {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: var(--fs-xs);
}
.pequip-more svg { width: 16px; height: 13px; transition: transform var(--ease); }
.pequip-more:hover svg { transform: translateX(4px); }

/* ==========================================================================
   CONTACT (light gray split: info + inquiry form)
   ========================================================================== */
.pcontact {
    padding: 70px 0 75px;
    background: #f4f4f4;
}
.pcontact-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    /* 桌面端：左 550px / 右 600px；空间不足时按 minmax 等比收缩，避免横向溢出 */
    grid-template-columns: minmax(0, 550px) minmax(0, 600px);
    justify-content: center;
    gap: 56px;
    align-items: start;
}
.pcontact-title {
    font-size: clamp(20px, 2.24vw, 30px);
    font-weight: 800;
    line-height: 1.35;
    color: var(--ink);
}
.pcontact-title .is-red { color: var(--red); }
.pcontact-item { margin-top: 32px; }
.pcontact-item h4 {
    font-size: clamp(15px, 1.45vw, 22px);
    font-weight: 700;
    color: var(--ink);
}
.pcontact-item p {
    margin-top: 6px;
    font-size: clamp(14px, 1.18vw, 18px);
    color: var(--body);
}
.pcontact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pfield { position: relative; min-width: 0; }
.pfield-full { grid-column: 1 / -1; }
.pcontact-form .form-control {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #e2e4e8;
    background: #fff;
    font-family: inherit;
    font-size: var(--fs-xs);
    color: var(--ink);
    border-radius: 2px;
    transition: border-color var(--ease);
    appearance: none;
}
.pcontact-form .form-control::placeholder { color: #9aa0a6; }
.pcontact-form .form-control:focus {
    outline: none;
    border-color: var(--red);
}
.pcontact-form textarea.form-control {
    height: 92px;
    padding: 12px 16px 12px 30px;
    resize: vertical;
}
/* placeholder 无法局部着色，改为在输入框左侧叠加红色星号，文字整体右移留出位置 */
.pfield > .form-control { padding-left: 30px; }
.req-mark {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--red);
    font-size: var(--fs-xs);
    line-height: 1;
    pointer-events: none;
    transition: opacity var(--ease);
}
.pfield > textarea ~ .req-mark { top: 20px; transform: none; }
/* 已有输入内容时隐藏星号，避免遮挡内容 */
.pfield > .form-control:not(:placeholder-shown) ~ .req-mark { opacity: 0; }
.pcontact-captcha {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
}
.pcontact-captcha .pfield { flex: 1 1 auto; }
.pcontact-captcha img {
    height: 42px;
    width: 118px;
    border-radius: 2px;
    cursor: pointer;
    object-fit: cover;
}
.btn-submit {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 42px;
    background: var(--red);
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: 600;
    border-radius: 2px;
    transition: background-color var(--ease);
}
.btn-submit:hover { background: var(--red-dark); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1519px) {
    .partner-about-grid { grid-template-columns: 1fr 44%; gap: 40px; }
    .grow-grid { grid-template-columns: 1fr 44%; gap: 44px; }
    .nationwide-grid { grid-template-columns: 1fr 56%; gap: 40px; }
}

@media (max-width: 1199px) {
    .page-hero { height: 340px; }
    .page-hero h1 { font-size: 38px; }
    .partner-about { padding: 56px 0; }
    .partner-about-text .sec-title, .grow .sec-title,
    .nationwide .sec-title, .reviews .sec-title,
    .pequip .sec-title { font-size: 34px; }
    .ctype { padding: 68px 0 72px; }
    .ctype-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 32px; margin-top: 40px; }
    .provide { padding: 68px 0; }
    .provide-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 30px; margin-top: 40px; }
    .grow { padding: 68px 0; }
    .process { padding: 68px 0 90px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; }
    .nationwide { padding-top: 68px; }
    .logo-card { grid-template-columns: repeat(3, 1fr); gap: 26px 20px; padding: 28px; }
    .reviews { padding: 64px 0 72px; }
    .pequip { padding: 68px 0 56px; }
    .pequip-grid { grid-template-columns: repeat(2, 1fr); }
    .pcontact { padding: 52px 0 60px; }
    .pcontact-title { font-size: 26px; }
}

@media (max-width: 991px) {
    .partner-about-grid { grid-template-columns: 1fr; }
    .partner-about-photo { order: -1; }
    .partner-about-photo img { max-height: 460px; }
    .partner-stats { margin-top: 32px; }
    .ctype-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .nationwide-grid { grid-template-columns: 1fr; }
    .logo-card { grid-template-columns: repeat(4, 1fr); }
    .logo-card .logo-cell img { max-width: 120px; max-height: 44px; }
    .grow-grid { grid-template-columns: 1fr; }
    .grow-photo { order: -1; max-height: 420px; margin-top: 0; }
    /* 每页卡片数由 partner.js 按视口动态设置（行内 grid-template-columns），此处不再固定 */
    .reviews-track > .review-card { flex-basis: 50%; }
    .review-card p { max-width: 480px; }
    .pcontact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .page-hero { height: 260px; }
    .page-hero h1 { font-size: 30px; }
    .page-breadcrumb { margin-top: 18px; font-size: 13px; }
    .partner-about { padding: 48px 0; }
    .partner-about-text .sec-title, .grow .sec-title,
    .nationwide .sec-title, .reviews .sec-title,
    .pequip .sec-title { font-size: 28px; }
    .partner-about-text .about-copy p { font-size: 15px; }
    .partner-stats { grid-template-columns: 1fr; gap: 14px; }
    .partner-stat { padding: 20px; }
    .partner-stat .stat-num { font-size: 28px; }
    .ctype { padding: 52px 0 56px; }
    .ctype-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 32px; }
    .ctype-card h3 { font-size: 21px; }
    .provide { padding: 52px 0 48px; }
    .provide-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 18px; margin-top: 32px; }
    .provide-card h3 { font-size: 17px; }
    .provide-card p { font-size: 14px; }
    .grow { padding: 52px 0; }
    .grow-item { padding: 18px 0; gap: 14px; }
    .grow-item h4 { font-size: 17px; }
    .grow-photo { max-height: 300px; }
    .process { padding: 52px 0 60px; }
    .process-grid { grid-template-columns: 1fr; gap: 36px; }
    .process-step h3 { font-size: 19px; }
    .nationwide { padding-top: 52px; }
    .logo-card { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; padding: 22px 18px; }
    .logo-card .logo-cell img { max-width: 110px; max-height: 40px; }
    .reviews { padding: 48px 0 56px; }
    .reviews .sec-title { padding-bottom: 18px; }
    .reviews-viewport { margin-top: 34px; }
    .review-card h3 { font-size: 19px; }
    .pequip { padding: 52px 0 48px; }
    .pequip-grid { grid-template-columns: 1fr; gap: 30px; }
    .pequip-cover p { font-size: 18px; }
    .pcontact { padding: 44px 0 52px; }
    .pcontact-title { font-size: 22px; }
    .pcontact-form { grid-template-columns: 1fr; gap: 12px; }
    .pcontact-captcha { flex-wrap: wrap; }
}

@media (max-width: 575px) {
    .provide-grid { grid-template-columns: 1fr; }
    .provide-card p { max-width: 340px; }
    .partner-stats { grid-template-columns: 1fr; }
    .reviews-track > .review-card { flex-basis: 100%; }
}
