/* ==========================================================
   首页 · 参考稿重构
   衬线字体 + 品牌棕（#331d1e）
========================================================== */

#hhHome,
#hhHome * {
    box-sizing: border-box;
}

#hhHome {
    --ink: #331d1e;
    --ink-2: #6b5553;
    --ink-3: #9c8683;
    --line: #e8dcd8;
    --soft: #faf7f5;
    --brand: #331d1e;

    width: 100%;
    overflow: hidden;

    background: #ffffff;
    color: var(--ink);

    /* 跟随全站默认字体（思源宋体） */
    font-family: inherit;
}

#hhHome a {
    color: inherit;
    text-decoration: none;
}

#hhHome img {
    display: block;

    max-width: 100%;
}

#hhHome ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

#hhHome h1,
#hhHome h2,
#hhHome h3,
#hhHome p {
    margin: 0;

    font-weight: 500;
}

/* ==========================================================
   容器 / 按钮 / 通用元素
========================================================== */

#hhHome .hh-container {
    width: calc(100% - 40px);
    max-width: 1200px;

    margin: 0 auto;
}

#hhHome .hh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 148px;
    height: 46px;

    padding: 0 26px;

    border: 1px solid transparent;

    font-size: 14px;
    font-weight: 400;

    letter-spacing: .1em;

    white-space: nowrap;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

#hhHome .hh-btn-light {
    background: #ffffff;

    color: var(--brand);
}

#hhHome .hh-btn-light:hover {
    background: rgba(255, 255, 255, .84);
}

#hhHome .hh-btn-ghost {
    border-color: rgba(255, 255, 255, .48);

    color: #ffffff;
}

#hhHome .hh-btn-ghost:hover {
    border-color: rgba(255, 255, 255, .8);

    background: rgba(255, 255, 255, .1);
}

#hhHome .hh-btn-dark {
    background: var(--brand);

    color: #ffffff;
}

#hhHome .hh-btn-dark:hover {
    background: #4a2d2e;
}

#hhHome .hh-en {
    font-size: 11px;

    letter-spacing: .32em;

    text-transform: uppercase;

    color: var(--ink-3);
}

#hhHome .hh-h2 {
    margin-top: 14px;

    font-size: 30px;

    letter-spacing: .14em;

    line-height: 1.4;
}

/* ==========================================================
   Hero
========================================================== */

#hhHome .hh-hero {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 600px;
    height: 82vh;
    max-height: 780px;

    overflow: hidden;

    background: #2a1a1a;
}

#hhHome .hh-hero-bg {
    position: absolute;
    z-index: 0;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    background-image: url("/uploads/20260910/00e68a91c7e665e6d9f52dffbf0d6fda.png");
    background-position: center center;
    background-size: cover;
}

#hhHome .hh-hero::after {
    content: "";
    position: absolute;
    z-index: 1;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    background:
        linear-gradient(90deg,
            rgba(26, 15, 15, .86) 0%,
            rgba(26, 15, 15, .64) 44%,
            rgba(26, 15, 15, .14) 80%,
            rgba(26, 15, 15, .3) 100%);
}

#hhHome .hh-hero-inner {
    position: relative;
    z-index: 2;

    width: calc(100% - 40px);
    max-width: 1200px;

    margin: 0 auto;

    padding: 110px 0 130px;

    color: #ffffff;
}

#hhHome .hh-hero-eyebrow {
    display: flex;
    align-items: center;

    gap: 14px;

    font-size: 11px;

    letter-spacing: .3em;

    text-transform: uppercase;

    color: rgba(255, 255, 255, .78);
}

#hhHome .hh-hero-eyebrow-cn {
    font-size: 13px;

    letter-spacing: .34em;
}

#hhHome .hh-hero-eyebrow-line {
    width: 42px;
    height: 1px;

    background: rgba(255, 255, 255, .45);
}

#hhHome .hh-hero-title {
    margin-top: 28px;

    font-size: 60px;

    font-weight: 500;

    letter-spacing: .1em;

    line-height: 1.3;
}

#hhHome .hh-hero-desc {
    max-width: 520px;

    margin-top: 24px;

    font-size: 16px;

    line-height: 2;

    letter-spacing: .04em;

    color: rgba(255, 255, 255, .82);
}

#hhHome .hh-hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 42px;
}

#hhHome .hh-hero-foot {
    position: absolute;
    z-index: 2;

    right: 0;
    bottom: 0;
    left: 0;

    border-top: 1px solid rgba(255, 255, 255, .16);
}

#hhHome .hh-hero-foot-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: calc(100% - 40px);
    max-width: 1200px;
    height: 56px;

    margin: 0 auto;

    font-size: 11px;

    letter-spacing: .26em;

    color: rgba(255, 255, 255, .6);
}

/* ==========================================================
   区块通用
========================================================== */

#hhHome .hh-sec {
    padding: 96px 0;
}

#hhHome .hh-sec-soft {
    background: var(--soft);
}

#hhHome .hh-sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 24px;

    padding-bottom: 30px;

    border-bottom: 1px solid var(--line);
}

#hhHome .hh-more {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding-bottom: 4px;

    font-size: 13px;

    letter-spacing: .14em;

    color: var(--ink-2);
}

#hhHome .hh-more-arrow {
    position: relative;

    width: 24px;
    height: 1px;

    background: currentColor;

    transition: width .2s ease;
}

#hhHome .hh-more-arrow::after {
    content: "";
    position: absolute;
    top: -3px;
    right: 0;

    width: 6px;
    height: 6px;

    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;

    transform: rotate(45deg);
}

#hhHome .hh-more:hover {
    color: var(--ink);
}

#hhHome .hh-more:hover .hh-more-arrow {
    width: 34px;
}

/* ==========================================================
   图片占位（可替换为真实照片）
========================================================== */

#hhHome .hh-media {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(140deg,
            #f0e6e0 0%,
            #dfcdc5 48%,
            #cbb2a9 100%);
}

#hhHome .hh-media::after {
    content: "";
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    background:
        radial-gradient(120% 90% at 18% 0%,
            rgba(255, 255, 255, .5) 0%,
            rgba(255, 255, 255, 0) 62%);
}

#hhHome .hh-media-mark {
    position: absolute;
    z-index: 1;

    left: 50%;
    top: 50%;

    font-size: 62px;

    letter-spacing: .1em;

    color: rgba(51, 29, 30, .14);

    transform: translate(-50%, -50%);

    transition: color .3s ease;
}

#hhHome .hh-media-portrait {
    aspect-ratio: 3 / 4;
}

#hhHome .hh-media-landscape {
    aspect-ratio: 4 / 3;
}

#hhHome .hh-media-wide {
    aspect-ratio: 21 / 9;
}

/* ==========================================================
   美业商学课程
========================================================== */

#hhHome .hh-course-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 28px;

    margin-top: 42px;
}

#hhHome .hh-course .hh-media {
    transition: transform .5s ease;
}

#hhHome .hh-course:hover .hh-media-mark {
    color: rgba(51, 29, 30, .26);
}

#hhHome .hh-course-body {
    padding-top: 18px;

    border-top: 1px solid transparent;
}

#hhHome .hh-course-en {
    font-size: 10px;

    letter-spacing: .26em;

    color: var(--ink-3);
}

#hhHome .hh-course-title {
    margin-top: 10px;

    font-size: 17px;

    letter-spacing: .08em;
}

#hhHome .hh-course-text {
    margin-top: 10px;

    font-size: 13px;

    line-height: 1.9;

    color: var(--ink-2);
}

#hhHome .hh-course:hover .hh-course-title {
    color: #7a5b58;
}

/* ==========================================================
   往期活动
========================================================== */

#hhHome .hh-event-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;

    margin-top: 42px;
}

#hhHome .hh-event {
    display: block;
}

#hhHome .hh-event-body {
    padding-top: 18px;
}

#hhHome .hh-event-title {
    font-size: 17px;

    letter-spacing: .08em;
}

#hhHome .hh-event-meta {
    margin-top: 8px;

    font-size: 12px;

    letter-spacing: .12em;

    color: var(--ink-3);
}

#hhHome .hh-event-no {
    margin-top: 14px;

    font-size: 34px;

    letter-spacing: .1em;

    line-height: 1;

    color: #dccbc6;

    transition: color .25s ease;
}

#hhHome .hh-event:hover .hh-event-no {
    color: var(--brand);
}

/* ==========================================================
   成功案例
========================================================== */

#hhHome .hh-case-lead {
    position: relative;

    display: block;

    margin-top: 42px;
}

#hhHome .hh-case-lead::after {
    content: "";
    position: absolute;
    z-index: 1;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    background:
        linear-gradient(0deg,
            rgba(26, 15, 15, .76) 0%,
            rgba(26, 15, 15, .2) 46%,
            rgba(26, 15, 15, 0) 72%);
}

#hhHome .hh-case-lead .hh-media-mark {
    font-size: 96px;

    color: rgba(51, 29, 30, .1);
}

#hhHome .hh-case-lead-body {
    position: absolute;
    z-index: 2;

    right: 48px;
    bottom: 44px;
    left: 48px;

    color: #ffffff;
}

#hhHome .hh-case-lead-en {
    font-size: 11px;

    letter-spacing: .3em;

    color: rgba(255, 255, 255, .7);
}

#hhHome .hh-case-lead-title {
    margin-top: 14px;

    font-size: 34px;

    letter-spacing: .1em;
}

#hhHome .hh-case-lead-text {
    max-width: 560px;

    margin-top: 14px;

    font-size: 14px;

    line-height: 1.9;

    color: rgba(255, 255, 255, .82);
}

#hhHome .hh-case-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 28px;

    margin-top: 28px;
}

#hhHome .hh-case-body {
    padding-top: 18px;
}

#hhHome .hh-case-en {
    font-size: 10px;

    letter-spacing: .26em;

    color: var(--ink-3);
}

#hhHome .hh-case-title {
    margin-top: 10px;

    font-size: 19px;

    letter-spacing: .08em;
}

#hhHome .hh-case-text {
    margin-top: 10px;

    font-size: 13px;

    line-height: 1.9;

    color: var(--ink-2);
}

/* ==========================================================
   解决方案
========================================================== */

#hhHome .hh-solve {
    display: grid;

    grid-template-columns: 320px 1fr;

    gap: 64px;

    align-items: start;
}

#hhHome .hh-solve-desc {
    margin-top: 20px;

    font-size: 13px;

    line-height: 2.1;

    color: var(--ink-2);
}

#hhHome .hh-solve-lead .hh-btn {
    margin-top: 32px;
}

#hhHome .hh-solve-list {
    border-top: 1px solid var(--line);
}

#hhHome .hh-solve-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) minmax(0, 1fr) 24px;
    align-items: center;

    gap: 18px;

    padding: 24px 0;

    border-bottom: 1px solid var(--line);

    transition:
        padding-left .22s ease,
        color .22s ease;
}

#hhHome .hh-solve-no {
    font-size: 12px;

    letter-spacing: .16em;

    color: var(--ink-3);
}

#hhHome .hh-solve-name {
    font-size: 17px;

    letter-spacing: .08em;
}

#hhHome .hh-solve-text {
    font-size: 12px;

    line-height: 1.7;

    letter-spacing: .04em;

    color: var(--ink-3);
}

#hhHome .hh-solve-arrow {
    position: relative;

    width: 24px;
    height: 1px;

    background: currentColor;

    opacity: .35;

    transition:
        width .22s ease,
        opacity .22s ease;
}

#hhHome .hh-solve-arrow::after {
    content: "";
    position: absolute;
    top: -3px;
    right: 0;

    width: 6px;
    height: 6px;

    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;

    transform: rotate(45deg);
}

#hhHome .hh-solve-item:hover {
    padding-left: 10px;

    color: #7a5b58;
}

#hhHome .hh-solve-item:hover .hh-solve-arrow {
    width: 32px;

    opacity: 1;
}

#hhHome .hh-solve-item:hover .hh-solve-no {
    color: #7a5b58;
}

/* ==========================================================
   美业智库
========================================================== */

#hhHome .hh-insight-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;

    margin-top: 42px;
}

#hhHome .hh-insight-body {
    padding-top: 18px;
}

#hhHome .hh-insight-date {
    font-size: 11px;

    letter-spacing: .18em;

    color: var(--ink-3);
}

#hhHome .hh-insight-title {
    margin-top: 12px;

    font-size: 18px;

    line-height: 1.6;

    letter-spacing: .06em;
}

#hhHome .hh-insight-text {
    margin-top: 10px;

    font-size: 13px;

    line-height: 1.9;

    color: var(--ink-2);
}

#hhHome .hh-insight:hover .hh-insight-title {
    color: #7a5b58;
}

/* ==========================================================
   联系我们
========================================================== */

#hhHome .hh-cta {
    position: relative;

    overflow: hidden;

    padding: 100px 0;

    background: var(--brand);

    color: #ffffff;

    text-align: center;
}

#hhHome .hh-cta::before {
    content: "昊";
    position: absolute;

    left: 50%;
    top: 50%;

    font-size: 420px;

    line-height: 1;

    color: rgba(255, 255, 255, .04);

    transform: translate(-50%, -50%);

    pointer-events: none;
}

#hhHome .hh-cta-inner {
    position: relative;
    z-index: 1;

    width: calc(100% - 40px);
    max-width: 760px;

    margin: 0 auto;
}

#hhHome .hh-cta-en {
    font-size: 11px;

    letter-spacing: .34em;

    color: rgba(255, 255, 255, .55);
}

#hhHome .hh-cta-title {
    margin-top: 18px;

    font-size: 38px;

    letter-spacing: .2em;
}

#hhHome .hh-cta-text {
    max-width: 560px;

    margin: 22px auto 0;

    font-size: 14px;

    line-height: 2;

    color: rgba(255, 255, 255, .78);
}

#hhHome .hh-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 14px;

    margin-top: 38px;
}

#hhHome .hh-cta-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 12px 32px;

    margin-top: 38px;
    padding-top: 28px;

    border-top: 1px solid rgba(255, 255, 255, .14);

    font-size: 12px;

    letter-spacing: .1em;

    color: rgba(255, 255, 255, .62);
}

/* ==========================================================
   1200 以下
========================================================== */

@media screen and (max-width: 1200px) {

    #hhHome .hh-hero-title {
        font-size: 52px;
    }

    #hhHome .hh-course-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #hhHome .hh-solve {
        grid-template-columns: 280px 1fr;

        gap: 40px;
    }

}

/* ==========================================================
   平板
========================================================== */

@media screen and (max-width: 992px) {

    #hhHome .hh-hero {
        min-height: 520px;
        height: auto;

        padding: 60px 0 0;
    }

    #hhHome .hh-hero-inner {
        padding: 80px 0 120px;
    }

    #hhHome .hh-hero-title {
        font-size: 42px;
    }

    #hhHome .hh-sec {
        padding: 64px 0;
    }

    #hhHome .hh-event-grid,
    #hhHome .hh-insight-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #hhHome .hh-solve {
        grid-template-columns: 1fr;

        gap: 32px;
    }

    #hhHome .hh-solve-lead .hh-btn {
        margin-top: 24px;
    }

    #hhHome .hh-case-lead-body {
        right: 28px;
        bottom: 26px;
        left: 28px;
    }

    #hhHome .hh-case-lead-title {
        font-size: 26px;
    }

}

/* ==========================================================
   手机
========================================================== */

@media screen and (max-width: 768px) {

    #hhHome .hh-container {
        width: calc(100% - 32px);
    }

    #hhHome .hh-hero-inner,
    #hhHome .hh-hero-foot-inner {
        width: calc(100% - 32px);
    }

    #hhHome .hh-hero::after {
        background:
            linear-gradient(180deg,
                rgba(26, 15, 15, .72) 0%,
                rgba(26, 15, 15, .58) 46%,
                rgba(26, 15, 15, .82) 100%);
    }

    #hhHome .hh-hero-inner {
        padding: 64px 0 104px;
    }

    #hhHome .hh-hero-eyebrow-en {
        display: none;
    }

    #hhHome .hh-hero-title {
        font-size: 32px;

        letter-spacing: .08em;
    }

    #hhHome .hh-hero-desc {
        font-size: 14px;
    }

    #hhHome .hh-hero-actions {
        margin-top: 30px;
    }

    #hhHome .hh-btn {
        min-width: 132px;
        height: 42px;

        padding: 0 20px;

        font-size: 13px;
    }

    #hhHome .hh-h2 {
        font-size: 24px;
    }

    #hhHome .hh-sec {
        padding: 52px 0;
    }

    #hhHome .hh-sec-head {
        align-items: flex-start;

        padding-bottom: 22px;
    }

    #hhHome .hh-course-grid,
    #hhHome .hh-event-grid,
    #hhHome .hh-case-grid,
    #hhHome .hh-insight-grid {
        grid-template-columns: 1fr;

        gap: 32px;

        margin-top: 28px;
    }

    #hhHome .hh-media-wide {
        aspect-ratio: 16 / 10;
    }

    #hhHome .hh-case-lead-body {
        right: 20px;
        bottom: 20px;
        left: 20px;
    }

    #hhHome .hh-case-lead-title {
        margin-top: 10px;

        font-size: 21px;
    }

    #hhHome .hh-case-lead-text {
        display: none;
    }

    #hhHome .hh-solve-item {
        grid-template-columns: 40px 1fr 20px;

        gap: 12px;

        padding: 18px 0;
    }

    #hhHome .hh-solve-text {
        display: none;
    }

    #hhHome .hh-solve-name {
        font-size: 16px;
    }

    #hhHome .hh-event-no {
        font-size: 28px;
    }

    #hhHome .hh-cta {
        padding: 64px 0;
    }

    #hhHome .hh-cta::before {
        font-size: 280px;
    }

    #hhHome .hh-cta-title {
        font-size: 28px;
    }

    #hhHome .hh-cta-meta {
        flex-direction: column;

        gap: 10px;
    }

}
