/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

/* 通用容器 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 品牌色：川西藏蓝（主色）、高级灰（辅助色）、青绿（点缀） */
:root {
    --primary-color: #1a365d; /* 主色：藏蓝 */
    --secondary-color: #f5f5f5; /* 辅助色：浅灰 */
    --accent-color: #2a9d8f; /* 点缀色：青绿 */
    --text-color: #333;
    --text-light: #666;
    --white: #fff;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 通用板块标题 */
.section-title {
    text-align: center;
    font-size: 30px;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

/* 导航栏 */
.header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.logo h1 {
    font-size: 22px;
    color: var(--primary-color);
    font-weight: 700;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
    transition: color 0.3s;
}

.nav a.active, .nav a:hover {
    color: var(--accent-color);
}

/* 咨询按钮通用样式 */
.consult-btn {
    background-color: var(--accent-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.consult-btn:hover {
    background-color: #248277;
}

.menu-toggle {
    display: none; /* PC端隐藏 */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}
.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

/* Banner区 */
.banner {
    background: url("../images/askobanner.webp") no-repeat center center;
    background-size: cover;
    height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    position: relative;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.banner .container {
    position: relative;
    z-index: 1;
}

.banner h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* 核心优势 */
.advantages {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.advantage-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.advantage-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* 服务场景板块（4列布局） */
.scenes {
    padding: 80px 0;
    background-color: var(--white);
}

.scene-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 从3列改为4列 */
    gap: 20px; /* 缩小间距，适配4列布局 */
}

.scene-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    height: 320px; /* 略微降低高度，适配4列 */
}

.scene-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scene-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
}

.scene-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.scene-content p {
    font-size: 13px;
    margin-bottom: 10px;
    opacity: 0.9;
    line-height: 1.5;
}

.scene-btn {
    background-color: var(--accent-color);
    padding: 5px 12px;
    font-size: 13px;
}

/* 核心服务板块 */
.services {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-item h4 {
    padding: 20px 20px 10px;
    color: var(--primary-color);
    font-size: 18px;
}

.service-item p {
    padding: 0 20px 20px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.service-btn {
    display: block;
    margin: 0 20px 20px;
    text-align: center;
    padding: 8px 0;
    text-decoration: none;
    border-radius: 4px;
}

/* 本土资源优势 */
.resources {
    padding: 80px 0;
    background-color: var(--white);
}

.resource-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.resource-item {
    text-align: center;
    padding: 20px;
}

.resource-item h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.resource-item h4::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
}

.resource-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 14px;
}

/* 定制流程 */
.process {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-item {
    text-align: center;
    padding: 20px;
}

.process-num {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.process-item h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 10px;
}

.process-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* 文化体验模块（新增） */
.culture {
    padding: 80px 0;
    background-color: var(--white);
}

.culture-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.culture-item {
    background-color: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    padding-bottom: 15px;
}

.culture-item:hover {
    transform: translateY(-5px);
}

.culture-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.culture-item h4 {
    color: var(--primary-color);
    font-size: 16px;
    padding: 15px 15px 8px;
}

.culture-item p {
    color: var(--text-light);
    font-size: 13px;
    padding: 0 15px 15px;
    line-height: 1.5;
}

.culture-btn {
    display: block;
    text-align: center;
    margin: 0 15px;
    padding: 6px 0;
    font-size: 13px;
}

/* 客户口碑 */
.reviews {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.review-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-item {
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    position: relative;
}

.review-item::before {
    content: "“";
    font-size: 50px;
    color: var(--accent-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
}

.review-item p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 20px;
}

.review-item span {
    color: var(--text-light);
    font-size: 13px;
    font-style: italic;
}

/* 最新攻略板块 */
.strategy-section {
    padding: 80px 0;
    background-color: var(--white);
}

.strategy-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.strategy-item {
    border-radius: 12px; 
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    height: 340px; 
}

.strategy-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.strategy-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px; 
    background: linear-gradient(transparent, rgba(0,0,0,0.85)); 
    color: var(--white);
}

.strategy-content h4 {
    font-size: 17px; 
    margin-bottom: 10px;
}

.strategy-content p {
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.95;
    line-height: 1.5;
}

.strategy-btn {
  display: inline-block;
  text-decoration: none;
  background-color: var(--accent-color);
  color: #fff;
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.strategy-btn:hover {
  background-color: #000;
  text-decoration: none;
}

/* 咨询入口 */
.consult {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.consult .section-title {
    color: var(--white);
}

.consult .section-title::after {
    background-color: var(--white);
}

.consult-desc {
    text-align: center;
    margin-bottom: 40px;
    opacity: 0.9;
    font-size: 16px;
}

.wechat-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.wechat-box img {
    height: 200px;
    border: 5px solid var(--white);
    border-radius: 8px;
}

.wechat-text {
    text-align: left;
}

.wechat-text h4 {
    font-size: 22px;
    margin-bottom: 15px;
}

.wechat-text p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.wechat-link {
    padding: 10px 25px;
    font-size: 16px;
}

/* 页脚 */
.footer {
    padding: 50px 0 30px;
    background-color: #0f2440;
    color: var(--white);
}

.footer-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    height: 40px;
}

.footer-logo h2 {
    font-size: 20px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .advantage-list, .scene-list, .service-list, 
    .resource-list, .process-list, .culture-list, .review-list, .strategy-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .scene-item, .culture-item {
        height: 350px;
    }
    
    .banner h2 {
        font-size: 30px;
    }
    
    .wechat-box {
        flex-direction: column;
        text-align: center;
    }
    
    .wechat-text {
        text-align: center;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
    }
    .container {
        flex-wrap: wrap; 
        padding: 10px 15px;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        width: 100%;
        display: none;
        margin-top: 10px;
    }
    .nav.show {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
        background: #f8f8f8;
        border-radius: 4px;
    }
    .nav li {
        width: 100%;
        text-align: center;
        border-bottom: 5px solid #eee;
    }
    .nav li:last-child {
        border-bottom: none;
    }
    .nav a {
        width: 100%;
        padding: 12px 0;
    }
}