/* 全局变量 */
:root {
    /* 品牌核心色 */
    --ht-dark-black: rgb(68, 84, 106);
    --ht-matte-gold: #B89C68;
    --ht-seal-red: #D32F2F;
    
    --ht-white-pure: #ffffff;

    /* 背景体系 */
    --ht-bg-main-warm: #FDFCF9;
    --ht-bg-block-oat: #FCF7EF;
    --ht-bg-footer-base: #F9F2E7;
    --ht-bg-hover-oat: #F5EAD9;
    --ht-bg-modal-nude: #FDF3ED;

    /* 辅助功能色 */
    --ht-gray-base: #E1E6EB;
    --ht-gold-hover: #CFAE7A;
    --ht-red-500: #ef4444;
    --ht-gray-500: #6b7280;
    --ht-gray-600: #4b5563;
    --ht-gray-700: #374151;

    /* 动效与阴影 */
    --ht-transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ht-soft-shadow: 0 2px 12px rgba(var(--ht-dark-black), 0.03);
    --ht-drop-shadow: 0 8px 24px rgba(var(--ht-dark-black), 0.12);
}

/* 基础重置与全局 */
html {
    scroll-behavior: smooth;
}
body {
    background-color: var(--ht-bg-main-warm);
    color: var(--ht-dark-black);
    font-family: system-ui, -apple-system, "Microsoft Yahei", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
::selection {
    background: var(--ht-matte-gold);
    color: var(--ht-white-pure);
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--ht-bg-main-warm);
}
::-webkit-scrollbar-thumb {
    background: var(--ht-gray-base);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--ht-matte-gold);
}

/* 通用容器 */
.ht-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}


/* 面包屑 */
.ht-breadcrumb {
    margin-top: 80px; 
    padding: 40px 60px;
    font-size: 15px;
    max-width: 100%;
    border-bottom: 1px solid var(--color-gray-eee);
    background-color: var(--bg-bread-full);
}
.ht-breadcrumb a {
    color: var(--dark-black);
}
.ht-breadcrumb a:hover {
    color: var(--ht-gold-hover);
}
.ht-breadcrumb-split {
    margin: 0 8px;
    color: var(--color-gray-ccc);
}
.ht-breadcrumb-current {
    color: var(--dark-black);
}


/* 网格布局 */
.ht-grid {
    display: grid;
    gap: 32px;
}
.ht-grid-2 { grid-template-columns: 1fr; }
.ht-grid-3 { grid-template-columns: 1fr; }
.ht-grid-4 { grid-template-columns: 1fr; }

/* 图标尺寸工具类 */
.ht-icon-sm { font-size: 14px; }
.ht-icon-md { font-size: 20px; }
.ht-icon-lg { font-size: 24px; }

/* 通用工具 */
.hidden { display: none !important; }

/* 动画 */
.fade-in-up {
    animation: ht-fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}
@keyframes ht-fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 通用按钮 */
.ht-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    border-radius: 999px;
    text-align: center;
    cursor: pointer;
    transition: var(--ht-transition-smooth);
    font-size: 16px;
}
.ht-btn-lg {
    padding: 16px 32px;
    border-radius: 8px;
}
.ht-btn-block { width: 100%; display: block; border:none;}

.ht-btn-primary {
    background-color: var(--ht-matte-gold);
    color: var(--ht-white-pure);
    box-shadow: var(--ht-drop-shadow);
}
.ht-btn-primary:hover {
    background-color: var(--ht-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(var(--ht-dark-black), 0.15);
}

.ht-btn-outline {
    background: transparent;
    color: var(--ht-matte-gold);
    border: 2px solid var(--ht-matte-gold);
    border-radius: 8px;
}
.ht-btn-outline:hover {
    background-color: var(--ht-bg-hover-oat);
}

.ht-btn-default {
    background: var(--ht-white-pure);
    color: var(--ht-gray-700);
    border: 1px solid var(--ht-gray-base);
}
.ht-btn-default:hover {
    background-color: var(--ht-gray-base);
}

/* 区块通用 */
.ht-section { padding: 80px 0; }
.ht-bg-block-oat { background-color: var(--ht-bg-block-oat); }
.ht-bg-footer-base { background-color: var(--ht-bg-footer-base); }

.ht-section-header {
    text-align: center;
    margin-bottom: 64px;
}

.ht-section-title {
    font-size: 24px;
    color: var(--ht-dark-black);
    margin-bottom: 8px;
}
.ht-section-divider {
    width: 64px;
    height: 4px;
    background-color: var(--ht-matte-gold);
    margin: 16px auto 0;
}

/* ========== 首屏Banner ========== */
.ht-banner {
    position: relative;
    padding: 128px 0 80px;
    padding: 40px 0;
    overflow: hidden;
}
.ht-banner-bg {
    position: absolute;
    inset: 0;
    background: url('/cshp-web/upload/holistic_thinking-bg.jpg') center / cover no-repeat;
}
.ht-banner-inner {
    position: relative;
    z-index: 10;
    text-align: center;
}
.ht-banner-title {
    font-size:24px;
    margin-bottom: 24px;
    line-height: 1.2;
    transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.ht-banner-main-title { display: block; color: var(--ht-dark-black); }

/* 核心：鼠标移入banner容器，文字变为白色 */
.ht-banner:hover .ht-banner-main-title {
    color: var(--ht-white-pure);
}


.ht-banner-desc {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: var(--ht-gray-600);
      transition: color 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.ht-banner:hover .ht-banner-desc {
    color:var(--ht-white-pure);
}
.ht-banner-btns {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

/* ========== 行业痛点卡片 ========== */
.ht-pain-card {
    background-color: var(--ht-bg-main-warm);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--ht-soft-shadow);
    border: 1px solid transparent;
    transition: var(--ht-transition-smooth);
}
.ht-pain-card:hover {
    box-shadow: var(--ht-drop-shadow);
    border-color: var(--ht-gray-base);
}
.ht-pain-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--ht-transition-smooth);
}
.ht-pain-card:hover .ht-pain-icon { transform: scale(1.05); }
.ht-pain-icon-red { background: #fee2e2; color: var(--ht-seal-red); }
.ht-pain-icon-orange { background: #ffedd5; color: #ea580c; }
.ht-pain-icon-gray { background: #f3f4f6; color: var(--ht-gray-600); }

.ht-card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
}
.ht-card-desc {
    color: var(--ht-gray-600);
    margin-bottom: 8px;
}

/* ========== 核心优势 ========== */
.ht-advantage-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}
.ht-advantage-item {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}
.ht-advantage-reverse { flex-direction: column-reverse; }
.ht-advantage-img {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--ht-drop-shadow);
}
.ht-advantage-img img {
    width: 100%;
    height: 256px;
    object-fit: cover;
}
.ht-advantage-content { width: 100%; }
.ht-advantage-tag {
    display: inline-block;
    background-color: var(--ht-bg-block-oat);
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--ht-matte-gold);
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.ht-advantage-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 16px;
}
.ht-advantage-desc {
    color: var(--ht-gray-600);
    margin-bottom: 8px;
}
.ht-advantage-list-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
}
.ht-advantage-list-items li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--ht-gray-500);
}
.ht-advantage-list-items li i { color: var(--ht-matte-gold); }

/* ========== 落地流程 ========== */
.ht-process-wrapper { position: relative; }
.ht-process-line {
    display: none;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--ht-gray-base);
    transform: translateY(-50%);
    z-index: 0;
}
.ht-process-card {
    background-color: var(--ht-white-pure);
    padding: 24px;
    border-radius: 8px;
    box-shadow: var(--ht-soft-shadow);
    text-align: center;
    transition: var(--ht-transition-smooth);
    position: relative;
    z-index: 10;
}
.ht-process-card:hover { box-shadow: var(--ht-drop-shadow); }
.ht-process-num {
    width: 48px;
    height: 48px;
    background-color: var(--ht-matte-gold);
    color: var(--ht-white-pure);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-weight: bold;
    font-size: 18px;
    transition: var(--ht-transition-smooth);
}
.ht-process-card:hover .ht-process-num { transform: scale(1.1); }
.ht-process-title {
    margin-bottom: 8px;
}
.ht-process-desc {
    font-size: 14px;
    color: var(--ht-gray-500);
}

/* ========== 案例板块 ========== */
.ht-filter-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}
.ht-filter-btn {
    padding: 8px 16px;
    border-radius: 9999px;
    border: 1px solid var(--ht-gray-base);
    background-color: var(--ht-white-pure);
    color: var(--ht-gray-600);
    font-size: 14px;
    cursor: pointer;
    transition: var(--ht-transition-smooth);
}
.ht-filter-btn.active {
    background-color: var(--ht-matte-gold);
    color: var(--ht-white-pure);
    border-color: var(--ht-matte-gold);
}
.ht-filter-btn:hover:not(.active) {
    border-color: var(--ht-matte-gold);
    color: var(--ht-matte-gold);
}

.ht-case-card {
    background-color: var(--ht-white-pure);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--ht-soft-shadow);
    transition: var(--ht-transition-smooth);
}
.ht-case-card:hover { box-shadow: var(--ht-drop-shadow); }
.ht-case-img {
    position: relative;
    height: 192px;
    overflow: hidden;
}
.ht-case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.ht-case-card:hover .ht-case-img img { transform: scale(1.05); }
.ht-case-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--ht-transition-smooth);
}
.ht-case-card:hover .ht-case-overlay { opacity: 1; }
.ht-case-overlay-text {
    color: var(--ht-white-pure);
}
.ht-case-content { padding: 24px; }
.ht-case-title {
    font-size: 18px;
    margin-bottom: 8px;
}
.ht-case-desc {
    font-size: 14px;
    color: var(--ht-gray-500);
    margin-bottom: 16px;
}
.ht-case-stats {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--ht-matte-gold);
}
.ht-case-stats i { margin-right: 4px; }

/* ========== 表单转化 ========== */
.ht-conversion-header { margin-bottom: 32px; }
.ht-conversion-desc {
    color: var(--ht-gray-600);
    margin-top: 16px;
}
.ht-form-card {
    background-color: var(--ht-white-pure);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--ht-drop-shadow);
    width: 100%;
}
.ht-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}
.ht-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ht-form-label {
    font-size: 14px;
    color: var(--ht-gray-700);
}
.ht-form-input, .ht-form-select, .ht-form-textarea {
    width: 100%;
    padding: 12px 16px;
    color: var(--ht-dark-black) ;
    border: 1px solid var(--ht-gray-500);
    border-radius: 8px;
    outline: none;
    transition: var(--ht-transition-smooth);
    font-size: 16px;
}

.ht-form-input:focus, .ht-form-select:focus, .ht-form-textarea:focus {
    box-shadow: 0 0 0 2px var(--ht-matte-gold);
    border-color: transparent;
}
.ht-form-textarea { resize: vertical; }
.ht-form-input.border-red-500 { border-color: var(--ht-red-500); }

/* ========== 模态框 ========== */
.ht-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16;
}
.ht-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0.65);
    cursor: pointer;
}
.ht-modal-content {
    background-color: var(--ht-white-pure);
    border-radius: 16px;
    width: 100%;
    max-width: 560px;
    position: relative;
    z-index: 10;
    box-shadow: var(--ht-drop-shadow);
}
.ht-modal-header {
    padding: 24px;
    display: flex;
    gap: 16px;
}
.ht-modal-icon {
    width: 40px;
    height: 40px;
    background-color: var(--ht-bg-hover-oat);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--ht-matte-gold);
}
.ht-modal-body { flex: 1; }
.ht-modal-title {
    font-size: 18px;
    color: var(--ht-gray-700);
    margin-bottom: 8px;
}
.ht-modal-desc {
    font-size: 14px;
    color: var(--ht-gray-500);
    margin-bottom: 16px;
}
.ht-modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ht-modal-footer {
    background-color: #f9fafb;
    padding: 16px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    border-top: 1px solid var(--ht-gray-base);
}

/* ========== 响应式统一媒体查询 ========== */
@media (min-width: 768px) {
    .ht-banner {
        padding: 192px 0 128px;
    }
    .ht-banner-btns {
        flex-direction: row;
        justify-content: center;
    }
    .ht-grid-2 { grid-template-columns: repeat(2, 1fr); }
    .ht-grid-3 { grid-template-columns: repeat(3, 1fr); }
    .ht-grid-4 { grid-template-columns: repeat(4, 1fr); }
    .ht-advantage-item { flex-direction: row; }
    .ht-advantage-reverse { flex-direction: row; }
    .ht-advantage-content,
    .ht-advantage-img { width: 50%; }
    .ht-process-line { display: block; }
}
@media (max-width: 768px) {
    .ht-modal-footer {
        flex-direction: column-reverse;
    }
    .ht-modal-footer .ht-btn {
        width: 100%;
    }
}