/* ========== 全局重置与变量 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a2b4e;
    --primary-light: #1e3a5f;
    --accent: #e8b86b;
    --accent-dark: #c99d4a;
    --gray-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --white: #ffffff;
    --radius: 24px;
    --radius-sm: 12px;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', Roboto, 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.5;
}

/* ========== 全局容器 ========== */
.container,
.content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== 导航栏 ========== */
.navbar {
    background: var(--primary);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}
.logo span {
    color: var(--accent);
}
.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent);
}
/* 下拉菜单 */
.nav-menu li {
    position: relative;
}
.nav-menu li .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary);
    min-width: 180px;
    border-radius: 8px;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
    list-style: none;
}
.nav-menu li:hover .sub-menu {
    display: block;
}
.nav-menu .sub-menu li {
    display: block;
    width: 100%;
}
.nav-menu .sub-menu a {
    display: block;
    padding: 8px 20px;
    color: #e2e8f0;
    white-space: nowrap;
}
.nav-menu .sub-menu a:hover {
    background-color: var(--primary-light);
    color: var(--accent);
}
.user-links a {
    color: white;
    margin-left: 1rem;
    text-decoration: none;
}
.user-links a:hover {
    color: var(--accent);
}
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
    }
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-menu li .sub-menu {
        position: static;
        display: none;
        background-color: #1e3a5f;
        padding-left: 1rem;
    }
    .nav-menu li.active .sub-menu,
    .nav-menu li:hover .sub-menu {
        display: block;
    }
    .nav-menu .sub-menu a {
        white-space: normal;
    }
}

/* ========== 页脚 ========== */
.footer {
    background: var(--primary);
    color: white;
    margin-top: 2rem;
}
.footer-main {
    padding: 3rem 0 2rem;
}
.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.footer-col {
    flex: 1;
    min-width: 200px;
}
.footer-col h3, .footer-col h4 {
    color: var(--accent);
    margin-bottom: 1rem;
}
.footer-col p, .footer-col ul, .footer-col li {
    color: #cbd5e1;
}
.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
}
.footer-col a:hover {
    color: var(--accent);
}
.footer-links {
    background: #0f3a5e;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links h4 {
    color: var(--accent);
    margin-bottom: 1rem;
}
.friend-links-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.friend-links-text, .friend-links-image {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.friend-links-text li a {
    color: #cbd5e1;
    text-decoration: none;
}
.friend-links-text li a:hover {
    color: var(--accent);
}
.friend-links-image img {
    max-height: 30px;
    width: auto;
}
.footer-bottom {
    background: var(--primary);
    padding: 1.5rem 0;
    text-align: center;
    color: #94a3b8;
}
.footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
}
.footer-bottom a:hover {
    color: var(--accent);
}

/* ========== 按钮 ========== */
.btn-primary {
    background: var(--accent);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    transition: 0.3s;
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: scale(1.02);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 0.7rem 1.5rem;
    border-radius: 40px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

/* 统一测评卡片内的两个按钮样式 - 关键修复 */
.assessment-card .card-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}
.assessment-card .btn-detail,
.assessment-card .btn-start {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    line-height: 1;
    padding: 0 16px;
    border-radius: 40px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    border: none;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    background: var(--primary);
    color: white;
}
.assessment-card .btn-start {
    background: var(--accent);
    color: var(--primary);
}
.assessment-card .btn-detail:hover {
    background: var(--primary-light);
}
.assessment-card .btn-start:hover {
    background: var(--accent-dark);
}

/* ========== 卡片通用 ========== */
.card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

/* ========== 首页样式 ========== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0f3b5e 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.stats {
    background: white;
    padding: 2rem;
    text-align: center;
}
.stats-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}
.stats-item strong {
    font-size: 2rem;
    color: var(--accent);
    display: block;
}
.services {
    background: var(--gray-bg);
    padding: 3rem 2rem;
    text-align: center;
}
.services h2 {
    margin-bottom: 2rem;
}
.services-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.methodology {
    padding: 3rem 2rem;
    text-align: center;
}
.methodology h2 {
    margin-bottom: 1rem;
}
.methodology p {
    margin-bottom: 2rem;
}
.cases {
    background: var(--gray-bg);
    padding: 3rem 2rem;
    text-align: center;
}
.cases h2 {
    margin-bottom: 2rem;
}
.cases-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}
.case-card {
    text-align: left;
}
.result {
    font-weight: bold;
    color: var(--accent-dark);
    margin: 1rem 0;
}

/* ========== 轮播图样式 ========== */
.home-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f0f2f5;
}
.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}
.slide.active {
    opacity: 1;
    z-index: 2;
}
.slide a {
    display: block;
    width: 100%;
    height: 100%;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 8px;
    font-size: 1.2rem;
    z-index: 3;
}
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 4px;
}
.slider-prev { left: 10px; }
.slider-next { right: 10px; }
.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}
.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
}
.dot.active {
    background: var(--accent);
}
@media (max-width: 768px) {
    .slider-container { height: 300px; }
}

/* ========== 为什么选择我们 ========== */
.why-us {
    padding: 4rem 0;
    background: var(--gray-bg);
    text-align: center;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.why-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ========== 专家团队 ========== */
.expert-team {
    padding: 4rem 0;
    text-align: center;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.team-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}
.team-card .title {
    color: var(--accent);
    font-weight: bold;
    margin: 0.5rem 0;
}
.team-card .bio {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========== 测评工具首页模块 ========== */
.assessment-tools {
    padding: 4rem 0;
    background: #fff;
}
.assessment-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.assessment-card {
    background: var(--gray-bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}
.assessment-card .card-icon {
    font-size: 3rem;
}
/* 统一按钮高度 - 首页测评卡片 */
.assessment-tools .assessment-card .btn-start {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    margin-top: 1rem;
}

/* ========== 测评列表页样式 ========== */
.assessment-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0f3b5e 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}
.assessment-list {
    padding: 3rem 0;
    background: var(--gray-bg);
}
.assessment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}
.assessment-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}
.assessment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.card-icon .icon {
    font-size: 3rem;
}
.card-meta {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    font-size: 0.85rem;
}
.price { color: var(--accent); font-weight: bold; }
.free { color: #10b981; font-weight: bold; }
.card-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}
/* 统一按钮高度 - 测评列表页关键修复 */
.assessment-card .btn-detail,
.assessment-card .btn-start {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    line-height: 1;
    padding: 0 16px;
    border-radius: 40px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    border: none;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    background: var(--primary);
    color: white;
}
.assessment-card .btn-start {
    background: var(--accent);
    color: var(--primary);
}
.assessment-card .btn-detail:hover {
    background: var(--primary-light);
}
.assessment-card .btn-start:hover {
    background: var(--accent-dark);
}

/* ========== 底部滚动咨询横条 ========== */
.bottom-consult-bar {
    background: #1e2a3a;
    border-top: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    padding: 16px 0;
    margin-top: 2rem;
}
.bottom-consult-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}
.bar-left .title {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
}
.bar-left .subtitle {
    font-size: 0.75rem;
    color: #cbd5e1;
}
.bar-middle {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0,0,0,0.3);
    padding: 6px 20px;
    border-radius: 40px;
}
.middle-item {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.middle-item .label,
.middle-item .unit {
    font-size: 0.8rem;
    color: #cbd5e1;
}
.middle-item .number {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent);
}
.scroll-area {
    min-width: 260px;
    overflow: hidden;
    height: 32px;
    position: relative;
}
.scroll-list {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    animation: scrollUp 12s linear infinite;
}
.scroll-list span {
    display: block;
    height: 32px;
    line-height: 32px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.85rem;
    color: #fff;
}
@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}
.bar-right .consult-link {
    background: var(--accent);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}
.bar-right .consult-link:hover {
    background: var(--accent-dark);
}
@media (max-width: 768px) {
    .bottom-consult-bar .container {
        flex-direction: column;
        text-align: center;
    }
    .bar-middle {
        flex-wrap: wrap;
        justify-content: center;
        background: transparent;
        padding: 0;
    }
    .scroll-area {
        min-width: 280px;
    }
}

/* ========== 侧边固定栏 ========== */
.fixed-sidebar {
    position: fixed;
    right: 20px;
    bottom: 120px !important;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sidebar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
    font-size: 12px;
    cursor: pointer;
    border: none;
    position: relative;
}
.sidebar-item i {
    font-size: 20px;
    margin-bottom: 2px;
}
.sidebar-item:hover {
    background: var(--accent);
    color: var(--primary);
}
/* 侧边栏悬停提示 */
.fixed-sidebar .tooltip-text,
.fixed-sidebar .tooltip-img {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s;
}
.fixed-sidebar .tooltip-img {
    background: white;
    padding: 5px;
    white-space: normal;
    width: 130px;
    text-align: center;
}
.fixed-sidebar .tooltip-img img {
    width: 100%;
    height: auto;
}
.fixed-sidebar .sidebar-item:hover .tooltip-text,
.fixed-sidebar .sidebar-item:hover .tooltip-img {
    opacity: 1;
    visibility: visible;
}
.fixed-sidebar .phone .tooltip-text {
    background: #0a2b4e;
    color: var(--accent);
}

/* ========== 弹窗模态框 ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 25px;
    border-radius: var(--radius);
    width: 90%;
    max-width: 550px;
}
.modal-content textarea {
    min-height: 100px;
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.form-row input {
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
}
.form-message {
    margin-top: 10px;
}

/* ========== 新闻模块 ========== */
.latest-news {
    padding: 4rem 0;
    background: var(--gray-bg);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.news-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.news-card h3 {
    font-size: 1.1rem;
    margin: 1rem 1rem 0.5rem;
    color: var(--primary);
}
.news-card p {
    margin: 0 1rem 1rem;
    color: var(--text-light);
    line-height: 1.4;
}
.news-card a {
    display: inline-block;
    margin: 0 1rem 1rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
}
.news-card a:hover {
    text-decoration: underline;
}
.news-list-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0f3b5e 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}
.news-list-container {
    padding: 3rem 0;
    background: var(--gray-bg);
}
.news-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}
.news-list-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.news-list-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.news-list-content {
    padding: 1.5rem;
}
.news-list-content h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}
.news-list-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}
.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
    font-size: 0.85rem;
}
.news-meta a {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}
.pagination a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: var(--primary);
    border: 1px solid #e2e8f0;
}
.pagination a.active {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}

/* ========== 其他页面公用样式 ========== */
.methodology-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0f3b5e 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}
.methodology-content {
    max-width: 1280px;
    margin: 2rem auto;
    padding: 0 2rem;
}
.model {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}
.model-text { flex: 1; }
.model-image { flex: 1; text-align: center; background: var(--gray-bg); border-radius: var(--radius); padding: 2rem; }
.flying-wheel { background: var(--gray-bg); padding: 2rem; border-radius: var(--radius); text-align: center; }

.solutions-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0f3b5e 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}
.solutions-grid {
    max-width: 1280px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}
.solution-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.solution-card .tag {
    background: var(--accent);
    color: var(--primary);
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.cases-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0f3b5e 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}
.cases-filter {
    max-width: 1280px;
    margin: 2rem auto 0;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 40px;
    cursor: pointer;
}
.filter-btn.active, .filter-btn:hover {
    background: var(--accent);
    color: var(--primary);
}

.about-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0f3b5e 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}
.about-content {
    max-width: 1280px;
    margin: 2rem auto;
    padding: 0 2rem;
}
.two-column {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}
.two-column > div { flex: 1; }

.resources-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0f3b5e 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}
.resource-tabs {
    max-width: 1280px;
    margin: 2rem auto 0;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.tab-btn {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    cursor: pointer;
}
.tab-btn.active, .tab-btn:hover {
    background: var(--accent);
    color: var(--primary);
}
.resource-list {
    max-width: 1280px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: none;
}
.resource-list.active { display: block; }
.resource-item {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.assessment-detail-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0f3b5e 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}
.assessment-detail-hero .hero-icon { font-size: 4rem; margin-bottom: 1rem; }
.assessment-detail-content { padding: 3rem 0; background: var(--gray-bg); }
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.detail-section { background: white; border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2rem; }
.sidebar-card { background: white; border-radius: var(--radius); padding: 1.5rem; text-align: center; position: sticky; top: 100px; }
@media (max-width: 768px) {
    .detail-grid { grid-template-columns: 1fr; }
    .assessment-detail-hero .hero-meta { flex-direction: column; gap: 0.5rem; }
}

.form-container {
    max-width: 500px;
    margin: 2rem auto;
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.form-container input, .form-container button {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.form-container button {
    background: var(--primary);
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.question {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .container, .content-wrapper, .footer-container, .methodology-content, .about-content,
    .solutions-grid, .cases-filter, .resource-tabs, .resource-list {
        padding: 0 1rem;
    }
    .hero h1 { font-size: 1.8rem; }
    .stats-grid { flex-direction: column; align-items: center; }
    .services-grid, .solutions-grid, .cases-grid, .why-grid, .team-grid, .assessment-grid-home,
    .assessment-grid, .news-grid, .news-list-grid {
        grid-template-columns: 1fr;
    }
    .two-column { flex-direction: column; }
    .card-actions { flex-direction: column; }
    .assessment-card .btn-detail, .assessment-card .btn-start {
        width: 100%;
    }
}