/*
Theme Name: 汇思达企业版
Theme URI: https://www.wisemc.com
Description: 西安中交汇思达企业管理咨询有限公司 - 基于Agencyup的企业主题
Author: 汇思达技术团队
Version: 1.0.0
Template: agencyup
Text Domain: agencyup-hsd
*/

/* ===================== 品牌变量 ===================== */
:root {
    --hsd-primary: #212c67;
    --hsd-secondary: #27347d;
    --hsd-accent: #e42c64;
    --hsd-text: #333333;
    --hsd-text-light: #666666;
    --hsd-bg: #ffffff;
    --hsd-bg-light: #f5f7fa;
    --hsd-bg-dark: #212c67;
    --hsd-border: #e0e0e0;
}

/* ===================== 全局重置 ===================== */
* { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    color: var(--hsd-text);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    min-width: 320px;
}
a {
    color: var(--hsd-primary);
    text-decoration: none;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}
a:hover { color: var(--hsd-accent); }
a:focus {
    outline: 2px solid var(--hsd-accent);
    outline-offset: 2px;
    border-radius: 2px;
}
img { max-width: 100%; height: auto; }
button {
    font-family: inherit;
    cursor: pointer;
}
button:focus {
    outline: 2px solid var(--hsd-accent);
    outline-offset: 2px;
}

/* ===================== 顶部导航 ===================== */
.hsd-top-bar {
    background: linear-gradient(135deg, var(--hsd-primary) 0%, var(--hsd-secondary) 100%);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
    position: relative;
    z-index: 1001;
}
.hsd-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}
.hsd-top-bar .welcome-msg {
    font-weight: 500;
    letter-spacing: 0.3px;
}
.hsd-top-bar .contact-us {
    display: flex;
    gap: 20px;
    align-items: center;
}
.hsd-top-bar .contact-us span {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    opacity: 0.95;
}
.hsd-top-bar .contact-us span:hover {
    opacity: 1;
    transform: translateY(-1px);
}
.hsd-top-bar .contact-us svg {
    flex-shrink: 0;
}
.hsd-top-bar a { color: rgba(255,255,255,0.9); }
.hsd-top-bar a:hover { color: #fff; }

/* Header - 现代化设计 */
.hsd-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
    width: 100%;
}
.hsd-header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}
.hsd-header.scrolled {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.06);
}
.hsd-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    position: relative;
}
.hsd-header .container > *:not(.hsd-logo):not(.hsd-mobile-toggle) {
    flex: 1;
}

/* Logo - 现代化 */
.hsd-logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--hsd-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}
.hsd-logo:hover {
    transform: scale(1.02);
}
.hsd-logo img {
    height: 38px;
    margin-right: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.hsd-logo span {
    color: var(--hsd-accent);
    position: relative;
}
.hsd-logo span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--hsd-accent), var(--hsd-secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.hsd-logo:hover span::after {
    transform: scaleX(1);
}

/* 导航菜单 - 现代化 */
.hsd-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    position: static;
    opacity: 1;
    visibility: visible;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}
.hsd-nav > li {
    position: relative;
}
.hsd-nav > li > a {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 15px;
    color: var(--hsd-text);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    position: relative;
}
.hsd-nav > li > a::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--hsd-accent), var(--hsd-secondary));
    transform: translateX(-50%);
    transition: width 0.3s ease;
}
.hsd-nav > li > a:hover {
    color: var(--hsd-accent);
    background: rgba(228, 44, 100, 0.05);
}
.hsd-nav > li > a:hover::before {
    width: calc(100% - 32px);
}
.hsd-nav > li.current-menu-item > a,
.hsd-nav > li.current-page-item > a {
    color: var(--hsd-accent);
}
.hsd-nav > li.current-menu-item > a::before,
.hsd-nav > li.current-page-item > a::before {
    width: calc(100% - 32px);
}

/* 下拉菜单 - 现代化 */
.hsd-nav .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 0 40px rgba(0,0,0,0.05);
    border-radius: 12px;
    list-style: none;
    padding: 8px;
    margin: 0;
    z-index: 1001;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.06);
}
.hsd-nav > li:hover > .sub-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.hsd-nav .sub-menu li {
    position: relative;
}
.hsd-nav .sub-menu li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--hsd-text);
    white-space: nowrap;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.hsd-nav .sub-menu li a:hover {
    background: linear-gradient(135deg, rgba(228, 44, 100, 0.08), rgba(33, 44, 103, 0.06));
    color: var(--hsd-accent);
    transform: translateX(4px);
}
.hsd-nav .sub-menu li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--hsd-accent), var(--hsd-secondary));
    border-radius: 2px;
    transition: height 0.2s ease;
}
.hsd-nav .sub-menu li:hover::before {
    height: 20px;
}

/* "更多"下拉菜单 */
.hsd-nav-more {
    display: none;
}
.hsd-nav-more > a {
    color: var(--hsd-primary);
    background: linear-gradient(135deg, rgba(33, 44, 103, 0.06), rgba(39, 52, 125, 0.04));
    padding: 8px 14px;
    font-size: 14px;
}
.hsd-nav-more > a:hover {
    background: linear-gradient(135deg, rgba(33, 44, 103, 0.1), rgba(39, 52, 125, 0.08));
}
.hsd-nav-more .sub-menu {
    min-width: 180px;
    right: 0;
    left: auto;
}
.hsd-nav-more .sub-menu li::before {
    right: 8px;
    left: auto;
}

/* 移动端菜单按钮 - 现代化汉堡菜单 */
.hsd-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1002;
}
.hsd-mobile-toggle:hover {
    background: rgba(33, 44, 103, 0.05);
}
.hsd-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--hsd-primary);
    margin: 5px auto;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.hsd-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hsd-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}
.hsd-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
.hsd-header .container {
    flex-wrap: wrap;
}
.hsd-header nav {
    display: flex;
    order: 3;
    flex-basis: 100%;
    flex: 1 0 auto;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 1;
}

/* 移动端菜单遮罩 */
.hsd-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hsd-mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* 中等屏幕优化 */
@media (max-width: 1280px) {
    .hsd-header .container,
    .hsd-top-bar .container {
        max-width: 100%;
        padding: 0 20px;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hsd-top-bar {
        font-size: 12px;
        padding: 10px 0;
    }
    .hsd-top-bar .container {
        flex-direction: column;
        gap: 8px;
        padding: 0 16px;
    }
    .hsd-top-bar .welcome-msg {
        font-size: 11px;
    }
    .hsd-top-bar .contact-us {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hsd-top-bar .contact-us span {
        font-size: 12px;
        white-space: nowrap;
    }

    .hsd-header .container {
        height: 60px;
        padding: 0 16px;
        position: relative;
    }
    .hsd-header .container nav {
        position: absolute;
        left: -9999px;
        width: 0;
        height: 0;
        overflow: hidden;
    }
    .hsd-header .container .hsd-logo {
        flex: 0 0 auto;
        margin-right: auto;
    }
    .hsd-header .container .hsd-mobile-toggle {
        flex: 0 0 auto;
    }

    .hsd-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: #fff;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        padding: 70px 0 20px;
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
    }
    .hsd-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
    .hsd-nav > li {
        width: 100%;
        border: none;
    }
    .hsd-nav > li > a {
        padding: 14px 24px;
        border-radius: 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        justify-content: space-between;
    }
    .hsd-nav > li > a::before {
        display: none;
    }
    .hsd-nav > li > a:hover {
        background: rgba(33, 44, 103, 0.04);
        transform: translateX(4px);
    }
    .hsd-nav .sub-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        display: none;
        opacity: 1;
        transform: none;
        background: rgba(33, 44, 103, 0.02);
        border: none;
        padding: 0;
        margin: 0;
    }
    .hsd-nav > li:hover > .sub-menu {
        display: none;
    }
    .hsd-nav .sub-menu.show {
        display: block;
    }
    .hsd-nav .sub-menu li {
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }
    .hsd-nav .sub-menu li:last-child {
        border-bottom: none;
    }
    .hsd-nav .sub-menu li a {
        padding: 12px 24px 12px 36px;
        font-size: 14px;
    }
    .hsd-nav .sub-menu li a:hover {
        transform: none;
        background: rgba(33, 44, 103, 0.06);
    }
    .hsd-nav .sub-menu li::before {
        display: none;
    }
    .hsd-mobile-toggle {
        display: block;
    }
}

@media (max-width: 480px) {
    .hsd-top-bar .contact-us {
        gap: 12px;
    }
    .hsd-logo {
        font-size: 15px;
    }
    .hsd-logo img {
        height: 30px;
        margin-right: 8px;
    }
    .hsd-header .container {
        padding: 0 12px;
    }
}

/* ===================== Banner ===================== */
.hsd-banner {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #1a2456 0%, #212c67 30%, #27347d 60%, #2d3d8f 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hsd-banner::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(228,44,100,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hsd-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 85% 30%, rgba(255,255,255,0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 70%, rgba(228,44,100,0.06) 0%, transparent 40%);
    pointer-events: none;
}
.hsd-banner-decor {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}
.hsd-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(255,255,255,0.03)"/><circle cx="20" cy="80" r="30" fill="rgba(255,255,255,0.03)"/></svg>');
}
.hsd-banner .container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.hsd-banner h1 {
    font-size: 42px;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.4;
}
.hsd-banner p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin: 0 0 30px;
    max-width: 600px;
}
.hsd-banner .btn-primary {
    display: inline-block;
    background: var(--hsd-accent);
    color: #fff;
    padding: 14px 36px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}
.hsd-banner .btn-primary:hover {
    background: #c92458;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(228,44,100,0.4);
}

/* ===================== 板块通用 ===================== */
.hsd-section {
    padding: 80px 0;
}
.hsd-section-gray { background: var(--hsd-bg-light); }
.hsd-section-dark {
    background: var(--hsd-bg-dark);
    color: #fff;
}
.hsd-section-dark h2 { color: #fff; }
.hsd-section-dark p { color: rgba(255,255,255,0.7); }
.hsd-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.hsd-section-header {
    text-align: center;
    margin-bottom: 50px;
}
.hsd-section-header h2 {
    font-size: 32px;
    color: var(--hsd-primary);
    margin: 0 0 15px;
    position: relative;
    display: inline-block;
}
.hsd-section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--hsd-accent);
    margin: 12px auto 0;
}
.hsd-section-header p {
    font-size: 16px;
    color: var(--hsd-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================== 服务板块 ===================== */
.hsd-services-grid {
    display: grid;
    grid-template-columns: repeat(5, 2fr);
    gap: 20px;
}
.hsd-service-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 16px 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--hsd-border);
    display: block;
    text-decoration: none;
    color: inherit;
}
.hsd-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(33,44,103,0.12);
    border-color: var(--hsd-accent);
}
.hsd-service-card .icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hsd-primary), var(--hsd-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 28px;
    color: #fff;
}
.hsd-service-card h3 {
    font-size: 15px;
    margin: 0 0 8px;
    color: var(--hsd-primary);
    font-weight: 600;
}
.hsd-service-card p {
    font-size: 12px;
    color: var(--hsd-text-light);
    margin: 0;
    line-height: 1.6;
}

/* ===================== 关于我们 ===================== */
.hsd-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hsd-about-img {
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--hsd-primary), var(--hsd-secondary));
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 80px;
}
.hsd-about-content h3 {
    font-size: 28px;
    color: var(--hsd-primary);
    margin: 0 0 20px;
}
.hsd-about-content p {
    font-size: 15px;
    color: var(--hsd-text-light);
    margin: 0 0 15px;
    line-height: 1.8;
}
.hsd-about-content .btn-outline {
    display: inline-block;
    border: 2px solid var(--hsd-primary);
    color: var(--hsd-primary);
    padding: 10px 28px;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 10px;
}
.hsd-about-content .btn-outline:hover {
    background: var(--hsd-primary);
    color: #fff;
}

/* ===================== 数据统计 ===================== */
.hsd-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    padding: 40px 0;
}
.hsd-stat-item .number {
    font-size: 48px;
    font-weight: bold;
    color: var(--hsd-accent);
    display: block;
    line-height: 1.2;
}
.hsd-stat-item .label {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin-top: 8px;
    display: block;
}

/* ===================== 新闻/案例 ===================== */
.hsd-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.hsd-news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.hsd-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.hsd-news-card .thumb {
    height: 200px;
    background: linear-gradient(135deg, var(--hsd-primary), var(--hsd-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 48px;
    overflow: hidden;
}
.hsd-news-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hsd-news-card .info {
    padding: 20px;
}
.hsd-news-card .date {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}
.hsd-news-card h3 {
    font-size: 16px;
    margin: 0 0 10px;
    color: var(--hsd-text);
    line-height: 1.5;
}
.hsd-news-card h3 a { color: var(--hsd-text); }
.hsd-news-card h3 a:hover { color: var(--hsd-accent); }
.hsd-news-card p {
    font-size: 14px;
    color: var(--hsd-text-light);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===================== 案例展示 ===================== */
.hsd-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.hsd-case-card {
    position: relative;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--hsd-primary), var(--hsd-secondary));
    cursor: pointer;
}
.hsd-case-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}
.hsd-case-card .overlay h4 {
    margin: 0 0 5px;
    font-size: 15px;
}
.hsd-case-card .overlay span {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}
.hsd-case-card:nth-child(2) { background: linear-gradient(135deg, #27347d, #3a4a9e); }
.hsd-case-card:nth-child(3) { background: linear-gradient(135deg, #e42c64, #f06090); }
.hsd-case-card:nth-child(4) { background: linear-gradient(135deg, #1a234e, #212c67); }

/* ===================== 联系我们 ===================== */
.hsd-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.hsd-contact-info h3 {
    font-size: 24px;
    color: var(--hsd-primary);
    margin: 0 0 20px;
}
.hsd-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}
.hsd-contact-item .icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--hsd-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    color: var(--hsd-primary);
}
.hsd-contact-item .text strong {
    display: block;
    font-size: 14px;
    color: var(--hsd-text);
    margin-bottom: 2px;
}
.hsd-contact-item .text span {
    font-size: 14px;
    color: var(--hsd-text-light);
}
.hsd-contact-form { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.hsd-contact-form h3 { font-size: 24px; color: var(--hsd-primary); margin: 0 0 20px; }
.hsd-contact-form input,
.hsd-contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--hsd-border);
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}
.hsd-contact-form input:focus,
.hsd-contact-form textarea:focus {
    outline: none;
    border-color: var(--hsd-primary);
}
.hsd-contact-form textarea { height: 120px; resize: vertical; }
.hsd-contact-form .btn-submit {
    background: var(--hsd-primary);
    color: #fff;
    border: none;
    padding: 12px 36px;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}
.hsd-contact-form .btn-submit:hover {
    background: var(--hsd-accent);
}

/* ===================== Footer ===================== */
.hsd-footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.7);
    padding: 50px 0 0;
}
.hsd-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.hsd-footer h4 {
    color: #fff;
    font-size: 16px;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--hsd-accent);
    display: inline-block;
}
.hsd-footer p { font-size: 14px; line-height: 1.8; margin: 0 0 10px; }
.hsd-footer ul { list-style: none; padding: 0; margin: 0; }
.hsd-footer ul li { margin-bottom: 8px; }
.hsd-footer ul li a { color: rgba(255,255,255,0.7); font-size: 14px; }
.hsd-footer ul li a:hover { color: var(--hsd-accent); }
.hsd-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    font-size: 13px;
}

/* ===================== 轮播 Banner ===================== */
.hsd-slider { position: relative; width: 100%; height: 360px; overflow: hidden; background: #212c67; }
.hsd-slider .slides { display: flex; height: 100%; transition: transform 0.6s ease; }
.hsd-slider .slide { min-width: 100%; height: 100%; position: relative; }
.hsd-slider .slide img { width: 100%; height: 100%; object-fit: cover; }
.hsd-slider .slide-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(33,44,103,0.85)); padding: 40px 40px 30px; }
.hsd-slider .slide-overlay h1 { color: #fff; font-size: 28px; margin: 0 0 8px; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.hsd-slider .slide-overlay .breadcrumb { font-size: 13px; color: rgba(255,255,255,0.8); }
.hsd-slider .slide-overlay .breadcrumb a { color: rgba(255,255,255,0.9); text-decoration: none; }
.hsd-slider .slide-overlay .breadcrumb a:hover { text-decoration: underline; }
.hsd-slider .dots { position: absolute; bottom: 16px; right: 40px; display: flex; gap: 8px; }
.hsd-slider .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: background .3s; }
.hsd-slider .dot.active { background: #e42c64; }
.hsd-slider .arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: rgba(0,0,0,0.3); color: #fff; border: none; cursor: pointer; font-size: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .2s; z-index: 2; }
.hsd-slider .arrow:hover { background: rgba(0,0,0,0.6); }
.hsd-slider .arrow.prev { left: 16px; }
.hsd-slider .arrow.next { right: 16px; }
@media (max-width: 768px) {
    .hsd-slider { height: 220px; }
    .hsd-slider .slide-overlay { padding: 20px; }
    .hsd-slider .slide-overlay h1 { font-size: 20px; }
    .hsd-slider .arrow { display: none; }
}

/* ===================== Service/文章 双栏布局 ===================== */
.hsd-service-page { max-width: 1200px; margin: 0 auto; padding: 40px 20px; display: flex !important; gap: 40px; }
.hsd-service-main { flex: 1; min-width: 0; }
.hsd-service-sidebar { width: 260px; flex-shrink: 0; }
.hsd-service-sidebar.fixed { position: fixed; top: 110px; width: 260px; z-index: 100; max-height: calc(100vh - 120px); overflow-y: auto; }
.hsd-service-main h2 { font-size: 20px; color: #27347d; margin-top: 40px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid #f0f2f8; position: relative; }
.hsd-service-main h2::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 50px; height: 2px; background: #e42c64; }
.hsd-service-main h3 { font-size: 17px; color: #212c67; margin-top: 20px; margin-bottom: 10px; }
.hsd-service-main p { line-height: 2; margin-bottom: 14px; color: #444; font-size: 15px; }
.hsd-service-main p img { max-width: 100%; height: auto; display: block; margin: 16px auto; border-radius: 6px; }
.hsd-service-main .hsd-service-breadcrumb { font-size: 13px; color: #999; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #f0f2f8; }
.hsd-service-main .hsd-service-breadcrumb a { color: #27347d; text-decoration: none; }
.hsd-service-main .hsd-service-breadcrumb a:hover { color: #e42c64; }
.hsd-service-main ol, .hsd-service-main ul { padding-left: 2em; margin-bottom: 20px; }
.hsd-service-main li { line-height: 2; margin-bottom: 4px; color: #444; font-size: 15px; }
.hsd-back-btn { display: inline-block; margin-bottom: 20px; padding: 8px 20px; background: #f0f2f8; color: #27347d; border-radius: 6px; text-decoration: none; font-size: 13px; transition: all .2s; }
.hsd-back-btn:hover { background: #212c67; color: #fff; }
.hsd-sidebar-card { background: #f8f9fc; border-radius: 10px; padding: 20px; border: 1px solid #e8eaf0; }
.hsd-sidebar-card h4 { color: #212c67; font-size: 15px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid #e42c64; }
.hsd-sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.hsd-sidebar-card li { margin-bottom: 2px; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; }
.hsd-sidebar-card li a { display: block; padding: 8px 12px; color: #555; text-decoration: none; border-radius: 6px; font-size: 13px; transition: all .2s; flex: 1;}
.hsd-sidebar-card li a:hover { background: #212c67; color: #fff; }
.hsd-sidebar-card li a.current { background: #e42c64; color: #fff; font-weight: 600; }
.hsd-service-content.short-content { text-align: center; padding: 40px 0; }
.hsd-service-content.short-content p { font-size: 16px; color: #555; }

/* ===================== 页面横幅 ===================== */
.hsd-page-banner {
    padding: 50px 0;
    color: #fff;
    text-align: center;
}
.hsd-page-banner h1 {
    font-size: 32px;
    margin: 0 0 12px;
    font-weight: 700;
}
.hsd-page-banner .hsd-post-meta {
    font-size: 14px;
    opacity: 0.8;
}
.hsd-page-banner .hsd-post-meta span + span::before {
    content: ' | ';
}

/* ===================== 文章详情（复用service双栏布局） ===================== */
/* 文章body复用service-main的排版 */
.hsd-article-body {
    font-size: 15px;
    line-height: 2;
    color: #444;
}
/* 清理Word残留样式（内联样式优先级高，需要!important） */
.hsd-article-body .MsoNormal,
.hsd-article-body p[class] {
    background: none !important;
    font-size: 15px !important;
    line-height: 2 !important;
}
.hsd-article-body span[style*='font-size'] {
    font-size: inherit !important;
}
.hsd-article-body h2 { font-size: 20px; color: #27347d; margin: 30px 0 15px; border-bottom: 2px solid #f0f2f8; padding-bottom: 10px; position: relative; }
.hsd-article-body h2::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 50px; height: 2px; background: #e42c64; }
.hsd-article-body h3 { font-size: 17px; color: #212c67; margin: 25px 0 12px; }
.hsd-article-body p { margin: 0 0 14px; text-indent: 2em !important; }
.hsd-article-body p[style*='text-align:center'] { text-indent: 0 !important; }
.hsd-article-body img { max-width: 100%; height: auto; border-radius: 6px; margin: 16px auto; display: block; }
.hsd-article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.hsd-article-body table th, .hsd-article-body table td { border: 1px solid #ddd; padding: 10px 12px; font-size: 14px; }
.hsd-article-body table th { background: #212c67; color: #fff; }
.hsd-post-nav {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}
.hsd-post-nav-prev,
.hsd-post-nav-next {
    flex: 1;
    background: #f8f9fc;
    border: 1px solid #e8eaf0;
    border-radius: 8px;
    padding: 16px;
    transition: all .2s;
}
.hsd-post-nav-prev:hover,
.hsd-post-nav-next:hover {
    border-color: #212c67;
    background: #fff;
}
.hsd-post-nav-prev a,
.hsd-post-nav-next a {
    color: #27347d;
    text-decoration: none;
    font-size: 14px;
    display: block;
}
.hsd-post-nav-prev a:hover,
.hsd-post-nav-next a:hover { color: #e42c64; }
.hsd-post-nav-next { text-align: right; }

/* ===================== 文章列表 ===================== */
.hsd-news-list {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}
.hsd-news-card {
    border-bottom: 1px solid #eee;
    padding: 24px 0;
}
.hsd-news-card:first-child { padding-top: 0; }
.hsd-news-card a {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-decoration: none;
    color: inherit;
}
.hsd-news-card a:hover h2 { color: var(--hsd-accent); }
.hsd-news-date {
    flex-shrink: 0;
    width: 70px;
    text-align: center;
    padding: 12px 8px;
    background: var(--hsd-bg-light);
    border-radius: 8px;
    border-left: 3px solid var(--hsd-accent);
}
.hsd-news-day { display: block; font-size: 28px; font-weight: 700; color: var(--hsd-primary); line-height: 1; }
.hsd-news-month { display: block; font-size: 12px; color: var(--hsd-text-light); margin-top: 4px; }
.hsd-news-info { flex: 1; min-width: 0; }
.hsd-news-info h2 { font-size: 18px; font-weight: 600; margin: 0 0 8px; color: var(--hsd-text); transition: color 0.2s; }
.hsd-news-info p { font-size: 14px; color: var(--hsd-text-light); margin: 0; line-height: 1.6; }
.hsd-pagination {
    text-align: center;
    margin-top: 30px;
}
.hsd-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: var(--hsd-text);
    text-decoration: none;
    font-size: 14px;
}
.hsd-pagination .page-numbers.current {
    background: var(--hsd-primary);
    color: #fff;
    border-color: var(--hsd-primary);
}
.hsd-pagination .page-numbers:hover {
    border-color: var(--hsd-accent);
    color: var(--hsd-accent);
}

/* 响应式补充 */
@media (max-width: 768px) {
    .hsd-page-banner { padding: 30px 0; }
    .hsd-page-banner h1 { font-size: 24px; }
    .hsd-post-nav { flex-direction: column; gap: 10px; }
    .hsd-news-card a { flex-direction: column; gap: 12px; }
    .hsd-service-page { flex-direction: column; padding: 20px 15px; gap: 24px; }
    .hsd-service-sidebar { width: 100%; }
}

/* ===================== 响应式 ===================== */
@media (max-width: 1024px) {
    .hsd-services-grid { grid-template-columns: repeat(3, 1fr); }
    .hsd-cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hsd-mobile-toggle { display: block; }
    .hsd-banner { height: 350px; }
    .hsd-banner h1 { font-size: 28px; }
    .hsd-services-grid { grid-template-columns: repeat(2, 1fr); }
    .hsd-about-grid { grid-template-columns: 1fr; }
    .hsd-stats { grid-template-columns: repeat(2, 1fr); }
    .hsd-news-grid { grid-template-columns: 1fr; }
    .hsd-contact-grid { grid-template-columns: 1fr; }
    .hsd-footer-grid { grid-template-columns: 1fr; }
    .hsd-section { padding: 50px 0; }
}

/* ===================== 内页通用布局 ===================== */
/* 复刻 bothink.com.cn 内页布局
   内容宽度 1200px，侧边栏 252px + 内容区 948px
*/

.hsd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===================== 子页面 Banner 区域 ===================== */
/* bothink 源码：
   <div style="background:#000000;">
     <div class="content">
       <table width="1200" height="307" bgcolor="#000000">
         <tr>
           <td style="padding-left:35px;">
             <div class="index_ti1">功能咨询</div>
             <div class="index_ti2" style="width:610px;">描述文字</div>
           </td>
           <td><img height="307" style="max-width:500px;" /></td>
         </tr>
       </table>
     </div>
   </div>
*/
.hsd-inner-banner {
    background-color: #000000;
    width: 100%;
}
.hsd-inner-banner .hsd-container {
    max-width: 1200px;
    margin: 0 auto;
}
.hsd-banner-table {
    display: flex;
    align-items: center;
    height: 307px;
    min-height: 307px;
}
.hsd-banner-left {
    flex: 1;
    padding-left: 35px;
    padding-right: 20px;
}
.hsd-banner-title {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 14px 0;
    line-height: 1.2;
}
.hsd-banner-desc {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.6;
    max-width: 610px;
}
.hsd-banner-right {
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.hsd-banner-right img {
    height: 307px;
    max-width: 500px;
    width: auto;
    object-fit: cover;
}

/* ===================== 面包屑导航栏 ===================== */
/* bothink 源码：
   <div class="content" style="margin-top:16px; border-bottom:#d2d2d2 2px solid;">
     <table width="1200">
       <tr>
         <td><span class="inside_ti1">功能咨询 </span><span class="inside_ti2">/FUNCTIONAL CONSULTING</span></td>
         <td class="inside_ti3">您现在的位置：首页 > 功能咨询 > 人力资源管理咨询</td>
       </tr>
     </table>
   </div>
*/
.hsd-breadcrumb-bar {
    margin-top: 16px;
    border-bottom: #d2d2d2 2px solid;
    padding-bottom: 0;
}
.hsd-breadcrumb-bar .hsd-container {
    max-width: 1200px;
}
.hsd-breadcrumb-table {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 15px 10px;
}
.hsd-breadcrumb-left {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.hsd-section-title-cn {
    font-size: 24px;
    font-weight: bold;
    color: #333333;
}
.hsd-section-title-en {
    font-size: 14px;
    color: #999999;
}
.hsd-breadcrumb-right {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #666666;
}
.hsd-breadcrumb-prefix {
    color: #666666;
}
.hsd-breadcrumb-right a {
    color: #666666;
    text-decoration: none;
}
.hsd-breadcrumb-right a:hover {
    color: #cb0c0c;
    text-decoration: underline;
}

/* ===================== 内页内容布局 ===================== */
/* 左侧边栏 252px + 右侧内容 948px */
.hsd-inner-content {
    display: flex;
    gap: 30px;
    margin-top: 15px;
    margin-bottom: 50px;
}
.hsd-inner-content .hsd-container {
    max-width: 1200px;
    display: flex;
    gap: 30px;
    padding: 0 15px;
}
.hsd-main-content {
    flex: 1;
    min-width: 0;
    width: 948px;
}
.hsd-sidebar {
    width: 252px;
    flex-shrink: 0;
}

/* ===================== 侧边栏 ===================== */
/* bothink 源码：
   <div style="width:232px; border-top:#cb0c0c 2px solid;">
     <table style="border:#d2d2d2 1px solid; padding-top:6px;">
       <div class="subNavBox">
         <div><a href="..." class="subNav">战略管理咨询</a></div>
         <ul class="navContent"><li><a href="...">中长期战略规划咨询</a></li></ul>
         <div class="subNav currentDd currentDt">人力资源管理咨询</a></div>
         <ul class="navContent" style="display:block">
           <li><a href="...">人力资源规划咨询</a></li>
         </ul>
       </div>
     </table>
   </div>
*/
.hsd-sidebar-section {
    margin-bottom: 14px;
}

/* 手风琴导航 */
.hsd-sidebar-nav {
    border-top: #cb0c0c 2px solid;
}
.hsd-sidebar-nav-inner {
    border: #d2d2d2 1px solid;
    border-top: none;
    padding: 6px 0;
}
.hsd-subnav-box {
    width: 232px;
}
.hsd-subnav {
    display: block;
    padding: 12px 18px;
    font-size: 14px;
    color: #333333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
    cursor: pointer;
}
.hsd-subnav:hover {
    color: #cb0c0c;
    background-color: #f9f9f9;
}
.hsd-subnav--active {
    color: #cb0c0c;
    font-weight: bold;
}
.hsd-navcontent {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fafafa;
}
.hsd-navcontent--expanded {
    display: block;
}
.hsd-navcontent li {
    border-bottom: 1px solid #f0f0f0;
}
.hsd-navcontent li:last-child {
    border-bottom: none;
}
.hsd-navcontent-link {
    display: block;
    padding: 10px 18px 10px 30px;
    font-size: 13px;
    color: #666666;
    text-decoration: none;
    transition: all 0.2s;
}
.hsd-navcontent-link:hover {
    color: #cb0c0c;
    background-color: #f5f5f5;
}
.hsd-navcontent-link--active {
    color: #cb0c0c;
    font-weight: 500;
}

/* 侧边栏标题 */
.hsd-sidebar-title {
    display: flex;
    align-items: flex-end;
    margin-bottom: 7px;
    padding-bottom: 4px;
}
.hsd-sidebar-title-text {
    font-size: 14px;
    font-weight: bold;
    color: #333333;
    padding-right: 18px;
    border-bottom: #cb0c0c 2px solid;
}
.hsd-sidebar-title-line {
    flex: 1;
    height: 2px;
    background-color: #d2d2d2;
    border-bottom: #d2d2d2 2px solid;
}

/* 侧边栏列表 */
.hsd-sidebar-list {
    width: 232px;
}
.hsd-sidebar-list-item {
    display: flex;
    align-items: center;
    height: 30px;
    border-bottom: 1px solid #dcdcdc;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1" height="1"><line x1="0" y1="1" x2="1" y2="1" stroke="%23dcdcdc" stroke-width="1"/></svg>') center bottom no-repeat;
}
.hsd-list-icon {
    flex-shrink: 0;
    width: 6px;
    height: 29px;
    background-color: #cb0c0c;
    margin-right: 6px;
}
.hsd-list-link {
    flex: 1;
    font-size: 12px;
    color: #333333;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hsd-list-link:hover {
    color: #cb0c0c;
    text-decoration: underline;
}
.hsd-no-posts {
    font-size: 13px;
    color: #999999;
    text-align: center;
    padding: 20px 0;
}

/* ===================== 响应式 - 内页 ===================== */
@media (max-width: 1024px) {
    .hsd-inner-content .hsd-container {
        flex-direction: column;
        gap: 20px;
    }
    .hsd-sidebar {
        width: 100%;
    }
    .hsd-main-content {
        width: 100%;
    }
    .hsd-banner-table {
        flex-direction: column;
        height: auto;
        padding: 30px 15px;
    }
    .hsd-banner-left {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 20px;
    }
    .hsd-banner-right img {
        max-width: 100%;
        height: auto;
    }
    .hsd-breadcrumb-table {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hsd-banner-title {
        font-size: 24px;
    }
    .hsd-section-title-cn {
        font-size: 18px;
    }
    .hsd-breadcrumb-right {
        font-size: 11px;
    }
}
