/* ==========================================================
   尧图网站开发 · 行业方案页样式
   ========================================================== */

.ind-grid-section {
    background: var(--paper);
}

.ind-matrix {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ind-card {
    background: var(--cream);
    border: 1px solid rgba(228, 216, 196, 0.7);
    border-radius: 18px;
    padding: 30px 22px;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.ind-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--clay), var(--blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.ind-card:hover::after {
    transform: scaleX(1);
}

.ind-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    background: var(--paper);
}

.ind-icon {
    font-size: 38px;
    margin-bottom: 14px;
}

.ind-card h3 {
    font-size: 19px;
    margin-bottom: 6px;
}

.ind-card p {
    font-size: 13px;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .ind-matrix {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ind-matrix {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ind-matrix {
        grid-template-columns: 1fr;
    }
}

/* ---------- 行业详情页 ---------- */
.ind-method {
    background: var(--cream);
}

.ind-cases {
    background: var(--paper);
}

.ind-pain {
    background: var(--paper);
}

.pain-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.pain-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--cream);
    border: 1px solid rgba(228, 216, 196, 0.7);
    border-radius: 16px;
    padding: 22px 24px;
}

.pain-item .pi-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(200, 121, 76, 0.12);
    color: var(--clay);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.pain-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.pain-item p {
    font-size: 13.5px;
    color: var(--text-light);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .pain-list {
        grid-template-columns: 1fr;
    }
}

/* 行业特色流程 */
.ind-scene {
    background: var(--cream);
}

.scene-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 22px;
}

.scene-card {
    background: var(--paper);
    border: 1px solid rgba(228, 216, 196, 0.7);
    border-radius: 18px;
    padding: 28px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.scene-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.scene-card .sc-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--brown), var(--clay));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.scene-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.scene-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.85;
}

@media (max-width: 992px) {
    .scene-row {
        grid-template-columns: 1fr;
    }
}

/* 行业案例横条 */
.ind-case-strip {
    background: var(--paper);
}

/* ---------- 通用组件补充 ---------- */

/* 可点击卡片 */
a.link-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a.link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(200, 121, 76, 0.45);
}

.mc-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--clay);
    font-weight: 600;
}

/* 侧边栏 */
.side-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-links li {
    padding: 9px 0;
    border-bottom: 1px dashed rgba(228, 216, 196, 0.8);
}

.side-links li:last-child {
    border-bottom: none;
}

.side-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.25s ease;
}

.side-links a:hover {
    color: var(--clay);
}

.clay-card {
    background: linear-gradient(135deg, var(--brown), var(--clay));
    color: #fff;
    border-radius: 18px;
    padding: 26px;
    margin-top: 18px;
}

.clay-card h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
}

.clay-card p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* 联系页/通用按钮补充 */
.btn-light {
    background: #fff;
    color: var(--brown);
}

.btn-light:hover {
    background: #f6efe4;
}
