/* ============================================
   辰旨顾问 - 响应式网站样式表
   兼容：桌面端、平板端、移动端
   ============================================ */

/* 基础重置与变量定义 */
:root {
    --primary-color: #0F2E59;
    --secondary-color: #2C3E50;
    --accent-color: #0F2E59;
    --gold-accent: #D4AF37;
    --text-dark: #2C3E50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    margin: 0;
    padding: 0 2%;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================
   导航栏样式
   ============================================ */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text {
    display: inline-block;
}

/* 移动端隐藏logo文字，只显示图片 */
@media (max-width: 768px) {
    .logo-text {
        display: none;
    }
    
    .logo-img {
        height: 36px;
    }
}

.logo:hover {
    color: var(--secondary-color);
}

.logo:hover .logo-img {
    opacity: 0.9;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.navbar-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--primary-color);
}

.navbar-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.btn-contact {
    background-color: var(--primary-color);
    color: var(--bg-white) !important;
    padding: 8px 15px;
    border-radius: 5px;
    transition: var(--transition);
    font-size: 14px;
}

.btn-contact:hover {
    background-color: var(--secondary-color);
}

.btn-contact.active {
    background-color: var(--secondary-color);
}

/* ============================================
   Hero区域样式
   ============================================ */
.hero {
    background: linear-gradient(135deg, rgba(15, 46, 89, 0.9) 0%, rgba(44, 62, 80, 0.9) 100%), url('images/banner_home.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--bg-white);
    padding: 20px 0;
    text-align: center;
    position: relative;
    margin: 0 0 20px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.95;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   按钮样式
   ============================================ */
.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.btn-large {
    padding: 12px 25px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
    display: block;
}

/* ============================================
   服务预览区域
   ============================================ */
.services-preview {
    padding: 20px 0;
    background-color: var(--bg-light);
    margin: 20px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-white);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
    margin: 10px 0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0;
    box-shadow: none;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-card > .service-icon {
    font-size: 3rem;
    margin: 1.5rem 0 1rem;
}

.service-card > h3 {
    padding: 0 15px;
    margin-bottom: 10px;
    font-size: 20px;
}

.service-card > p {
    padding: 0 15px;
    font-size: 16px;
    margin-bottom: 1.5rem;
}

.service-card > .service-link {
    padding: 0 2rem 2rem;
    display: block;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary-color);
}

/* ============================================
   资质展示区域
   ============================================ */
.credentials {
    padding: 20px 0;
    background-color: var(--bg-white);
    margin: 20px 0;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.credential-item {
    text-align: center;
    padding: 15px;
    margin: 10px 0;
}

.credential-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.credential-label {
    font-size: 1.1rem;
    color: var(--text-light);
}

.partners {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 10px;
}

.partners h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* ============================================
   CTA区域
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 20px 0;
    text-align: center;
    margin: 20px 0;
}

.cta-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.95;
}

/* ============================================
   页面标题区域
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 20px 0;
    text-align: center;
    margin: 0 0 20px 0;
}

.page-header h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.95;
}

/* ============================================
   关于我们页面样式
   ============================================ */
.about-section {
    padding: 20px 0;
    margin: 20px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.content-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.content-image {
    text-align: center;
}

/* 图片响应式样式 - B2B金融咨询行业标准 */
img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* 专业商务风格：适度圆角、轻微阴影 */
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* 图片悬停效果（提升交互体验） */
img:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Logo图片特殊处理（无圆角） */
.logo-img {
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.logo-img:hover {
    transform: none;
    box-shadow: none;
}

/* 图片性能优化 */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* 图片加载失败时的占位样式 */
img:not([src]) {
    background-color: var(--bg-light);
    border: 2px dashed var(--border-color);
}

/* 企业形象图 - 优化排版间距 */
.about-company-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    margin-bottom: 2rem;
}

/* 内容包装器 - 优化图文间距 */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 2rem 0;
}

.content-text {
    padding-right: 2rem;
}

.content-image {
    padding-left: 2rem;
}

@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .content-text,
    .content-image {
        padding: 0;
    }
}

/* 团队成员头像 */
.member-avatar-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow);
    margin: 0 auto;
    display: block;
}

/* 案例图片容器 */
.case-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
}

/* 案例图片 - 提升质感和可信度 */
.case-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
    transition: transform 0.3s ease;
}

.case-card:hover .case-image-img {
    transform: scale(1.05);
}

/* 案例卡片优化排版 */
.case-card {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.case-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.case-content {
    padding-top: 1.5rem;
}

/* 微信二维码 */
.wechat-qr-img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin: 1rem auto 0;
    display: block;
}

/* 页脚Logo */
.footer-logo-img {
    margin-bottom: 1rem;
    border-radius: 0;
    box-shadow: none;
}

.footer-logo-img:hover {
    transform: none;
    box-shadow: none;
}

/* 办公地址图片 */
.office-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: block;
}

.map-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    color: var(--bg-white);
    padding: 2rem;
    text-align: center;
}

.map-overlay p {
    margin: 0.5rem 0;
    color: var(--bg-white);
}

/* 占位符样式（保留用于兼容） */
.placeholder-image,
.placeholder-avatar,
.placeholder-qr {
    background-color: var(--bg-light);
    border: 2px dashed var(--border-color);
    padding: 3rem;
    border-radius: 10px;
    color: var(--text-light);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto;
    padding: 0;
    min-height: auto;
}

.placeholder-qr {
    width: 150px;
    height: 150px;
    margin: 1rem auto 0;
    padding: 0;
    min-height: auto;
}

/* 发展历程 */
.timeline-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.timeline-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid var(--bg-white);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-light);
}

/* 团队展示 */
.team-section {
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    margin-bottom: 2rem;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.member-avatar {
    margin-bottom: 1.5rem;
    padding: 0.5rem;
}

.member-avatar .placeholder-avatar {
    margin: 0 auto;
}

.team-member h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.member-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.member-desc {
    color: var(--text-light);
    line-height: 1.6;
}

/* 资质荣誉 */
.honors-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.honor-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.honor-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.honor-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.honor-item p {
    color: var(--text-light);
}

/* 资质荣誉图片样式 */
.honors-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.honor-decor-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .honors-content-wrapper {
        grid-template-columns: 1fr;
    }
}

/* 合作伙伴/资质板块图片 */
.partners-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.partners-text {
    padding-right: 2rem;
}

.partners-image {
    padding-left: 2rem;
}

.credential-decor-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .partners-content {
        grid-template-columns: 1fr;
    }
    .partners-text,
    .partners-image {
        padding: 0;
    }
}

/* ============================================
   服务详情页面样式
   ============================================ */
.service-detail {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-article {
    max-width: 900px;
    margin: 0 auto;
}

.service-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.service-header h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.service-list,
.process-list {
    margin-left: 1.5rem;
    margin-bottom: 2rem;
}

.service-list li,
.process-list li {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.service-list li strong,
.process-list li strong {
    color: var(--text-dark);
}

/* 服务流程带图片样式 */
.process-with-images {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.process-step-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.process-step-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.process-step-image {
    width: 100%;
    height: auto;
}

.process-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.process-step-content {
    line-height: 1.8;
    color: var(--text-light);
}

.process-step-content strong {
    color: var(--text-dark);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .process-step-item {
        grid-template-columns: 1fr;
    }
}

.value-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* 价值亮点带图片样式 */
.value-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.value-image {
    width: 100%;
}

.value-data-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .value-section {
        grid-template-columns: 1fr;
    }
}

.value-item {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    line-height: 1.8;
}

.value-item strong {
    color: var(--primary-color);
}

.service-process {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-step h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-light);
}

/* ============================================
   成功案例页面样式
   ============================================ */
.case-filter {
    padding: 2rem 0;
    background-color: var(--bg-light);
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    color: var(--text-dark);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.cases-section {
    padding: 3rem 0;
}

.cases-grid {
    display: grid;
    gap: 3rem;
}

/* 案例卡片样式已在上面定义，这里移除重复定义 */

.case-image .placeholder-image {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    padding: 0;
    min-height: auto;
}

/* case-content样式已在上面定义 */

.case-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 3px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.case-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.case-industry {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.case-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.case-results {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.case-results h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.case-results ul {
    margin-left: 1.5rem;
}

.case-results li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.case-testimonial {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.testimonial-author {
    color: var(--text-dark);
    font-weight: 500;
}

.testimonials-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-rating {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-content {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-name {
    color: var(--text-dark);
    font-weight: 500;
}

/* ============================================
   联系方式页面样式
   ============================================ */
.contact-section {
    padding: 4rem 0;
    position: relative;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.contact-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: grayscale(30%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-form-wrapper p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* 表单样式 */
.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.required {
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.error-message {
    display: block;
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    min-height: 1.2rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #f0f4f8;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    display: block;
}

.form-message.error {
    background-color: #fff5f5;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    display: block;
}

/* 联系信息 */
.contact-info {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.wechat-qr {
    margin-top: 1rem;
}

.map-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.map-placeholder {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    color: var(--text-light);
    border: 2px dashed var(--border-color);
}

/* ============================================
   页脚样式
   ============================================ */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%), url('images/bg_footer.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--bg-white);
    padding: 3rem 0 1rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   回到顶部按钮
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ============================================
   响应式设计 - 平板端 (768px - 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* ============================================
   响应式设计 - 移动端 (< 768px)
   ============================================ */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    body {
        padding: 0 2%;
    }

    /* 导航栏移动端 */
    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 10px 0;
        box-shadow: var(--shadow);
        display: none;
        gap: 10px;
        z-index: 999;
        width: 100%;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu li {
        width: 100%;
        text-align: center;
    }

    .navbar-menu a {
        display: block;
        padding: 10px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    .service-card > h3 {
        font-size: 18px;
    }
    
    .service-card > p {
        font-size: 14px;
    }
    
    .cta-content h2 {
        font-size: 20px;
    }
    
    .cta-content p {
        font-size: 14px;
    }
    
    .page-header h1 {
        font-size: 20px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }

    .btn-contact {
        margin: 0.5rem 1rem;
        width: calc(100% - 2rem);
    }

    /* Hero区域 */
    .hero {
        padding: 20px 0;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    /* 服务网格 */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* 资质展示 */
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .credential-number {
        font-size: 2rem;
    }

    /* 页面标题 */
    .page-header h1 {
        font-size: 20px;
    }

    .page-header p {
        font-size: 14px;
    }

    /* 关于我们 */
    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .honors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* 服务详情 */
    .service-header h2 {
        font-size: 1.8rem;
    }

    .value-points {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    /* 案例筛选 */
    .filter-buttons {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }

    /* 联系信息 */
    .info-item {
        flex-direction: column;
        text-align: center;
    }

    .info-icon {
        margin: 0 auto;
    }

    /* 页脚 */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* 回到顶部按钮 */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }

    /* 图片响应式优化 */
    .logo-img {
        height: 32px;
    }

    .service-image-wrapper {
        height: 180px;
    }

    .case-image-img {
        height: 250px;
    }

    .about-company-image {
        margin-top: 2rem;
    }

    .office-image {
        height: 300px;
    }

    .map-overlay {
        padding: 1.5rem;
    }
}

/* ============================================
   响应式设计 - 小屏手机 (< 480px)
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* 图片移动端优化 */
    .logo-img {
        height: 28px;
    }

    .service-image-wrapper {
        height: 150px;
    }

    .case-image-img {
        height: 200px;
    }

    .office-image {
        height: 250px;
    }

    .member-avatar-img {
        width: 120px;
        height: 120px;
    }
}

/* ============================================
   超小屏手机适配 (≤375px - iPhone SE, 小屏安卓)
   ============================================ */
@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.3rem;
        line-height: 1.4;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .navbar-menu {
        gap: 10px;
    }

    .navbar-menu a {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .logo-img {
        height: 24px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .case-card h3 {
        font-size: 1.1rem;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

/* ============================================
   极小屏手机适配 (≤320px - 老款小屏设备)
   ============================================ */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }

    .hero-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .navbar-menu a {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    .logo-img {
        height: 20px;
    }

    .btn {
        font-size: 0.85rem;
        padding: 10px 16px;
    }

    .service-card,
    .case-card {
        padding: 15px;
    }
}

/* ============================================
   横屏适配
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}
