/* Homepage sections. Brand chrome lives in sanhui-brand.css. */

.sanhui-home-v2.sanhui-premium-home {
    color: var(--sh-ink, #102A43);
    background: var(--sh-paper, #F7F4EE);
}

.sanhui-home-v2 {
    --sh-navy: #071B31;
    --sh-navy-mid: #08213B;
    --sh-navy-soft: #0D2B4A;
    --sh-gold: #d9b46d;
    --sh-gold-soft: #d9b46d;
    --sh-paper: #F7F4EE;
    --sh-white: #fffdf8;
    --sh-ink: #102A43;
    --sh-body: #102A43;
    --sh-muted: #64748B;
    --sh-line: #e6dcc8;
    --sh-blue: #36a3ff;
    --sh-card-radius: 12px;
    --sh-gap: 20px;
    font-size: 16px;
    line-height: 1.7;
}

.sanhui-home-v2 a { color: inherit; }
.sanhui-home-v2 img { max-width: 100%; height: auto; }

.sanhui-home-v2 .sh-band--paper,
.sanhui-home-v2 .sh-band--white,
.sanhui-home-v2 .sh-stats {
    color: var(--sh-ink);
}

.sanhui-home-v2 .sh-band { padding: 56px 0; }
.sanhui-home-v2 .sh-band--paper {
    background: linear-gradient(180deg, #EDE7DB 0%, var(--sh-paper) 36px, var(--sh-paper) 100%);
}
.sanhui-home-v2 .sh-band--white {
    background: linear-gradient(180deg, #F3EEE4 0%, var(--sh-white) 28px, var(--sh-white) 100%);
}
.sanhui-home-v2 .sh-band--navy {
    position: relative;
    padding-top: 64px;
    color: #f4f7fb;
    background:
        linear-gradient(180deg, #EDE7DB 0%, #1a3d57 36px, var(--sh-navy-mid) 72px, var(--sh-navy) 78%, #1a3d57 100%);
}

.sanhui-home-v2 .sh-hero + .sh-band--paper {
    margin-top: 0;
    padding-top: 48px;
    background: var(--sh-paper);
}

.sanhui-home-v2 .sh-band--navy + .sh-band--paper {
    margin-top: 0;
    padding-top: 64px;
    background: linear-gradient(180deg, #1a3d57 0%, var(--sh-paper) 40px, var(--sh-paper) 100%);
}

.sanhui-home-v2 .sh-kicker {
    margin: 0 0 12px;
    color: var(--sh-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.sanhui-home-v2 .sh-head--light .sh-kicker { color: #e8c98a; }
.sanhui-home-v2 .sh-method__num { color: #e8c98a; }
.sanhui-home-v2 .sh-head { max-width: 720px; margin: 0 0 32px; }
.sanhui-home-v2 .sh-head h2,
.sanhui-home-v2 .sh-who h2,
.sanhui-home-v2 .sh-cta h2 {
    margin: 0 0 12px;
    color: var(--sh-navy);
    font-size: clamp(24px, 4.6vw, 36px);
    line-height: 1.28;
    font-weight: 750;
    overflow-wrap: break-word;
}
.sanhui-home-v2 .sh-head--light h2 { color: #fff; }
.sanhui-home-v2 .sh-head p,
.sanhui-home-v2 .sh-who__copy > p {
    margin: 0 0 12px;
    color: var(--sh-muted);
    font-size: 16px;
    line-height: 1.7;
}
.sanhui-home-v2 .sh-head--light p { color: #d5deea; }
.sanhui-home-v2 .sh-more { margin: 28px 0 0; text-align: center; }
.sanhui-home-v2 .sh-more a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--sh-blue);
    font-weight: 700;
    border-bottom: 1px solid rgba(54, 163, 255, 0.35);
}

/* Hero */
.sanhui-home-v2 .sh-hero {
    position: relative;
    isolation: isolate;
    min-height: auto;
    padding: 72px 0 80px;
    color: #f7fbff;
    overflow: hidden;
}
.sanhui-home-v2 .sh-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 88px;
    background: linear-gradient(180deg, rgba(247, 244, 238, 0) 0%, var(--sh-paper) 100%);
    z-index: 2;
    pointer-events: none;
}
.sanhui-home-v2 .sh-hero__media,
.sanhui-home-v2 .sh-hero__shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.sanhui-home-v2 .sh-hero__media img,
.sanhui-home-v2 .sh-hero__media picture,
.sanhui-home-v2 .sh-hero__media picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
}
.sanhui-home-v2 .sh-hero__shade {
    background:
        linear-gradient(90deg, rgba(7, 27, 49, 0.78) 0%, rgba(7, 27, 49, 0.42) 46%, rgba(7, 27, 49, 0.1) 78%, transparent 100%),
        linear-gradient(180deg, rgba(7, 27, 49, 0.08) 0%, rgba(7, 27, 49, 0.22) 100%);
}
.sanhui-home-v2 .sh-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.sanhui-home-v2 .sh-hero__title {
    margin: 0 0 16px;
    font-size: clamp(32px, 6vw, 52px);
    line-height: 1.18;
    font-weight: 780;
    color: #fff;
}
.sanhui-home-v2 .sh-hero__title span { display: block; }
.sanhui-home-v2 .sh-hero__title .is-gold { color: var(--sh-gold); }
.sanhui-home-v2 .sh-hero__lead {
    margin: 0 0 18px;
    max-width: 36em;
    color: #e8eef6;
    font-size: 16px;
    line-height: 1.7;
}
.sanhui-home-v2 .sh-hero__proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 20px;
    max-width: 420px;
    width: 100%;
    min-width: 0;
}
.sanhui-home-v2 .sh-hero__stat {
    min-width: 0;
    padding: 10px 6px;
    text-align: center;
    background: rgba(7, 27, 49, 0.42);
    border: 1px solid rgba(217, 180, 109, 0.28);
    border-radius: 8px;
}
.sanhui-home-v2 .sh-hero__stat strong {
    display: block;
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
    white-space: nowrap;
}
.sanhui-home-v2 .sh-hero__stat span {
    display: block;
    margin-top: 2px;
    color: #d5deea;
    font-size: 12px;
}
.sanhui-home-v2 .sh-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.sanhui-home-v2 .sh-hero__actions .sanhui-btn {
    min-height: 48px;
    height: 48px;
    padding: 0 22px;
}
.sanhui-home-v2 .sh-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 16px 0 0;
    color: #c9d5e3;
    font-size: 14px;
}

.sanhui-home-v2 .sh-who { display: grid; gap: 28px; }
.sanhui-home-v2 .sh-who__points { margin: 18px 0 0; padding: 0; list-style: none; }
.sanhui-home-v2 .sh-who__points li {
    position: relative;
    padding: 8px 0 8px 18px;
    color: var(--sh-ink);
    border-bottom: 1px solid var(--sh-line);
}
.sanhui-home-v2 .sh-who__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sh-gold);
}
.sanhui-home-v2 .sh-who__photo {
    margin: 0;
    overflow: hidden;
    border-radius: var(--sh-card-radius);
    background: #fff;
    box-shadow: 0 8px 24px rgba(7, 27, 49, 0.08);
}
.sanhui-home-v2 .sh-who__photo img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center 42%;
}
.sanhui-home-v2 .sh-who__photo figcaption,
.sanhui-home-v2 .sh-scene figcaption {
    padding: 10px 14px 14px;
    color: var(--sh-muted);
    font-size: 13px;
}

.sanhui-home-v2 .sh-stats {
    background: linear-gradient(180deg, #EFE8D8 0%, #E9E1CF 100%);
    border-top: 1px solid var(--sh-line);
    border-bottom: 1px solid var(--sh-line);
    padding: 28px 0;
}
.sanhui-home-v2 .sh-stats__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
}
.sanhui-home-v2 .sh-stats__item strong {
    display: block;
    color: var(--sh-navy);
    font-size: 28px;
    line-height: 1.1;
}
.sanhui-home-v2 .sh-stats__item span {
    display: block;
    margin-top: 4px;
    color: var(--sh-muted);
    font-size: 13px;
}

.sanhui-home-v2 .sh-method { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.sanhui-home-v2 .sh-method__item {
    padding: 20px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(217, 180, 109, 0.22);
    border-radius: 14px;
    min-height: 168px;
}
.sanhui-home-v2 .sh-method__num {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--sh-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
}
.sanhui-home-v2 .sh-method__item h3 { margin: 0 0 8px; color: #fff; font-size: 22px; }
.sanhui-home-v2 .sh-method__item p { margin: 0; color: #d7e0eb; font-size: 16px; }

.sanhui-home-v2 .sh-products,
.sanhui-home-v2 .sh-specials,
.sanhui-home-v2 .sh-scenes,
.sanhui-home-v2 .sh-cases,
.sanhui-home-v2 .sh-caps,
.sanhui-home-v2 .sh-articles,
.sanhui-home-v2 .sh-mentors {
    display: grid;
    gap: var(--sh-gap);
    width: 100%;
}

.sanhui-home-v2 .sh-product,
.sanhui-home-v2 .sh-special,
.sanhui-home-v2 .sh-cap,
.sanhui-home-v2 .sh-article,
.sanhui-home-v2 .sh-case,
.sanhui-home-v2 .sh-mentor {
    background: #fff;
    border: 1px solid var(--sh-line);
    border-radius: var(--sh-card-radius);
    overflow: hidden;
    min-width: 0;
}

.sanhui-home-v2 .sh-product,
.sanhui-home-v2 .sh-special,
.sanhui-home-v2 .sh-cap {
    display: flex;
    flex-direction: column;
    padding: 22px 20px;
}
.sanhui-home-v2 .sh-product { min-height: 228px; }
.sanhui-home-v2 .sh-special { min-height: 148px; }
.sanhui-home-v2 .sh-product span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--sh-gold-deep, #a67b32);
    font-size: 12px;
    font-weight: 700;
}
.sanhui-home-v2 .sh-product h3,
.sanhui-home-v2 .sh-special h3,
.sanhui-home-v2 .sh-cap h3,
.sanhui-home-v2 .sh-case h3,
.sanhui-home-v2 .sh-article h3 {
    margin: 0 0 10px;
    color: var(--sh-navy);
    font-size: 20px;
    line-height: 1.35;
}
.sanhui-home-v2 .sh-product p,
.sanhui-home-v2 .sh-special p,
.sanhui-home-v2 .sh-cap p,
.sanhui-home-v2 .sh-case p,
.sanhui-home-v2 .sh-article p {
    margin: 0;
    color: var(--sh-ink);
    font-size: 16px;
}
.sanhui-home-v2 .sh-product a {
    display: inline-block;
    margin-top: auto;
    padding-top: 14px;
    color: var(--sh-blue);
    font-weight: 700;
}
.sanhui-home-v2 .sh-specials { margin-top: 20px; }
.sanhui-home-v2 .sh-entries { margin-top: 0; }
.sanhui-home-v2 .sh-entries .sh-special {
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.sanhui-home-v2 .sh-entries .sh-special:hover {
    border-color: rgba(217, 180, 109, 0.55);
    transform: translateY(-2px);
}
.sanhui-home-v2 .sh-scene {
    margin: 0;
    overflow: hidden;
    border-radius: var(--sh-card-radius);
    background: #fff;
    border: 1px solid var(--sh-line);
}
.sanhui-home-v2 .sh-scene img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center 40%;
}

.sanhui-home-v2 .sh-mentors .sh-mentor {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.sanhui-home-v2 .sh-mentors .sh-mentor__desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sanhui-home-v2 .sh-case__photo img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center 36%;
}
.sanhui-home-v2 .sh-case__body { padding: 18px 18px 22px; }
.sanhui-home-v2 .sh-case__body > span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--sh-blue);
    font-size: 12px;
    font-weight: 700;
}
.sanhui-home-v2 .sh-case p { margin: 8px 0 0; }
.sanhui-home-v2 .sh-case strong {
    display: inline-block;
    min-width: 2.4em;
    margin-right: 6px;
    color: var(--sh-navy);
}

.sanhui-home-v2 .sh-article__thumb { display: block; background: var(--sh-navy); min-height: 160px; }
.sanhui-home-v2 .sh-article__thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 30%; }
.sanhui-home-v2 .sh-article__thumb span {
    display: flex; align-items: center; justify-content: center; height: 168px; color: var(--sh-gold);
}
.sanhui-home-v2 .sh-article__body { padding: 16px 16px 20px; }
.sanhui-home-v2 .sh-article time { color: var(--sh-muted); font-size: 12px; }

.sanhui-home-v2 .sh-cta {
    padding: 20px 0 0;
    margin-bottom: 0;
    background: linear-gradient(180deg, #F7F4EE 0%, #1a3d57 20px, var(--sh-navy) 40px, var(--sh-navy) 100%);
    color: #f4f7fb;
}
.sanhui-home-v2 .sh-cta__panel {
    display: grid;
    gap: 22px;
    padding: 28px 22px;
    border: 1px solid rgba(217, 180, 109, 0.28);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}
.sanhui-home-v2 .sh-cta h2 { color: #fff; }
.sanhui-home-v2 .sh-cta p { margin: 0 0 10px; color: #d5deea; }
.sanhui-home-v2 .sh-cta__contact { color: var(--sh-gold); }
.sanhui-home-v2 .sh-cta .sanhui-btn {
    justify-self: start;
    min-height: 48px;
    height: 48px;
    color: var(--sh-navy);
    box-shadow: none !important;
    filter: none !important;
    background: #d9b46d !important;
    background-image: none !important;
}

@media (min-width: 640px) {
    .sanhui-home-v2 .sh-stats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sanhui-home-v2 .sh-stats__item:nth-child(4),
    .sanhui-home-v2 .sh-stats__item:nth-child(5) { grid-column: span 1; }
    .sanhui-home-v2 .sh-specials,
    .sanhui-home-v2 .sh-scenes,
    .sanhui-home-v2 .sh-cases,
    .sanhui-home-v2 .sh-caps,
    .sanhui-home-v2 .sh-articles,
    .sanhui-home-v2 .sh-mentors,
    .sanhui-home-v2 .sh-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .sanhui-home-v2 .sh-hero {
        min-height: 560px;
        display: flex;
        align-items: center;
        padding: 96px 0 104px;
    }
    .sanhui-home-v2 .sh-method { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sanhui-home-v2 .sh-cta__panel {
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: 36px 40px;
    }
}

@media (min-width: 1024px) {
    .sanhui-home-v2 .sh-who {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 48px;
    }
    .sanhui-home-v2 .sh-stats__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .sanhui-home-v2 .sh-method { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sanhui-home-v2 .sh-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sanhui-home-v2 .sh-specials { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sanhui-home-v2 .sh-entries { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sanhui-home-v2 .sh-caps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sanhui-home-v2 .sh-mentors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sanhui-home-v2 .sh-scenes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sanhui-home-v2 .sh-articles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sanhui-home-v2 .sh-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sanhui-home-v2 .sh-band { padding: 72px 0; }
    .sanhui-home-v2 .sh-hero + .sh-band--paper { padding-top: 64px; }
    .sanhui-home-v2 .sh-band--navy + .sh-band--paper { padding-top: 72px; }
}

@media (max-width: 880px) {
    .sanhui-home-v2 .sh-hero {
        min-height: 0;
        height: auto;
        padding: 16px 0 28px;
        display: flex;
        align-items: flex-start;
    }
    .sanhui-home-v2 .sh-hero__inner { padding-bottom: 4px; }
    .sanhui-home-v2 .sh-hero__media img,
    .sanhui-home-v2 .sh-hero__media picture img {
        object-position: center 30%;
    }
    .sanhui-home-v2 .sh-hero__shade {
        background:
            linear-gradient(180deg, rgba(7, 27, 49, 0.62) 0%, rgba(7, 27, 49, 0.48) 55%, rgba(7, 27, 49, 0.22) 100%);
    }
    .sanhui-home-v2 .sh-hero::after { height: 40px; }
    .sanhui-home-v2 .sh-hero__title {
        margin-bottom: 8px;
        font-size: clamp(26px, 7vw, 34px);
        line-height: 1.2;
    }
    .sanhui-home-v2 .sh-kicker { margin-bottom: 6px; font-size: 12px; }
    .sanhui-home-v2 .sh-hero__lead {
        margin-bottom: 12px;
        font-size: 14px;
        line-height: 1.5;
        overflow: visible;
    }
    .sanhui-home-v2 .sh-hero__proof { display: none; }
    .sanhui-home-v2 .sh-hero__meta { display: none; }
    .sanhui-home-v2 .sh-hero__actions {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        margin: 0;
        position: relative;
        z-index: 3;
    }
    .sanhui-home-v2 .sh-hero__actions .sanhui-btn {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        height: 48px;
        min-height: 48px;
        padding: 0 8px;
        font-size: 13px;
        justify-content: center;
        white-space: nowrap;
        overflow: hidden;
    }
    .sanhui-home-v2 .sh-cta .sanhui-btn {
        width: 100%;
        justify-content: center;
        height: 48px;
    }
    .sanhui-home-v2 .sh-hero + .sh-band--paper {
        margin-top: 0;
        padding-top: 28px;
        border-radius: 0;
    }
    .sanhui-home-v2 .sh-band { padding: 32px 0; }
    .sanhui-home-v2 .sh-band--navy { padding-top: 40px; padding-bottom: 40px; }
    .sanhui-home-v2 .sh-band--navy + .sh-band--paper {
        margin-top: 0;
        padding-top: 36px;
    }
    .sanhui-home-v2 .sh-stats__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 14px 8px;
    }
    .sanhui-home-v2 .sh-stats__item:nth-child(-n+3) { grid-column: span 2; }
    .sanhui-home-v2 .sh-stats__item:nth-child(n+4) { grid-column: span 3; }
    .sanhui-home-v2 .sh-method {
        grid-template-columns: 1fr;
        gap: 0;
        margin-left: 8px;
        padding-left: 18px;
        border-left: 2px solid rgba(217, 180, 109, 0.45);
        padding-bottom: 8px;
    }
    .sanhui-home-v2 .sh-method__item {
        position: relative;
        min-height: 0;
        padding: 14px 0 16px 8px;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
    .sanhui-home-v2 .sh-method__item::before {
        content: "";
        position: absolute;
        left: -24px;
        top: 22px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--sh-gold);
    }
    .sanhui-home-v2 .sh-products,
    .sanhui-home-v2 .sh-specials,
    .sanhui-home-v2 .sh-caps {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        overflow: visible;
    }
    .sanhui-home-v2 .sh-product,
    .sanhui-home-v2 .sh-special {
        flex: none;
        width: auto;
        min-height: 0;
    }
    .sanhui-home-v2 .sh-product { min-height: 0; padding: 16px 16px; }
    .sanhui-home-v2 .sh-special { min-height: 0; padding: 14px 16px; }
    .sanhui-home-v2 .sh-mentors {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 0;
        padding-bottom: 8px;
        grid-template-columns: none;
    }
    .sanhui-home-v2 .sh-mentor {
        flex: 0 0 100%;
        max-height: none;
        scroll-snap-align: start;
        min-height: 0;
    }
    .sanhui-home-v2 .sh-mentors .sh-mentor__photo {
        aspect-ratio: 3 / 4;
        height: auto;
        max-height: none;
    }
    .sanhui-home-v2 .sh-mentors .sh-mentor__desc {
        -webkit-line-clamp: 2;
    }
    .sanhui-home-v2 .sh-case {
        max-height: 70vh;
    }
    .sanhui-home-v2 .sh-case__photo img {
        aspect-ratio: 16 / 9;
        max-height: 28vh;
        object-position: center 32%;
    }
    .sanhui-home-v2 .sh-case__body { padding: 12px 14px 14px; }
    .sanhui-home-v2 .sh-case p { margin: 4px 0 0; font-size: 14px; }
    .sanhui-home-v2 .sh-scene img {
        aspect-ratio: 16 / 10;
        object-position: center 40%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sanhui-home-v2 * { scroll-behavior: auto; transition: none; }
}
