@charset "UTF-8";

/* 首页「为什么选择我们」「服务流程」「新闻资讯」独立样式（单独文件，避免服务器旧 site.css 缓存导致布局失效） */

.why-us-section,
.process-section,
.news-section {
    scroll-margin-top: var(--header-h);
}

/* —— 区块标题统一风格：英文小标 + 中文大标 + 强调线 —— */
.section-kicker {
    display: block;
    margin-bottom: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    color: var(--accent);
    text-transform: uppercase;
}

.section-head-center .section-kicker {
    margin-bottom: 12px;
}

.why-us-section {
    padding: 72px 0 88px;
    border-top: 1px solid var(--line);
    /* 实色底，避免整屏滚动时透出页面深蓝底 */
    background: #f7fafc;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.why-us-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 22px 36px;
    min-height: 280px;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(18, 53, 94, 0.05), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(18, 53, 94, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-us-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(18, 53, 94, 0.12);
}

.why-us-num {
    position: absolute;
    top: 18px;
    right: 20px;
    font-family: "Songti SC", "SimSun", serif;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(18, 53, 94, 0.1);
    transition: color 0.25s ease;
}

.why-us-card:hover .why-us-num {
    color: rgba(168, 132, 59, 0.28);
}

.why-us-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    border: 1px solid rgba(18, 53, 94, 0.28);
    border-radius: 50%;
    color: var(--ink-soft);
    background: var(--white);
}

.why-us-card h3 {
    font-family: "Songti SC", "SimSun", serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--ink);
    margin-bottom: 16px;
}

.why-us-card p {
    font-size: 0.92rem;
    line-height: 1.9;
    color: var(--muted);
}

/* 白底流程区：与上下区块色调统一，去掉深色实验室底图 */
.process-section {
    position: relative;
    padding: 72px 0;
    overflow: hidden;
    color: var(--ink);
    background: #fff;
    border-top: 1px solid var(--line);
}

/* 保留类名避免旧缓存 HTML 残留节点露底，白底方案下彻底隐藏 */
.process-bg {
    display: none;
}

.process-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(180px, 0.9fr) minmax(0, 3.1fr);
    gap: 36px;
    align-items: stretch;
}

.process-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 12px 8px 12px 0;
}

.process-intro-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border: 1px solid rgba(18, 53, 94, 0.28);
    color: var(--ink);
    background: var(--surface);
}

.process-intro-title {
    font-family: "Songti SC", "SimSun", serif;
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.08em;
    color: var(--ink);
}

.process-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--muted);
    text-transform: uppercase;
}

.process-kicker::before {
    content: "";
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.process-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
}

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(18, 53, 94, 0.1);
}

/* 步骤间的连接箭头：位于标签条高度，暗示流程递进 */
.process-step:not(:last-child)::after {
    content: "›";
    position: absolute;
    right: -18px;
    top: calc(100% - 38px);
    font-size: 22px;
    line-height: 1;
    color: var(--ink-soft);
    z-index: 2;
}

.process-step-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface);
}

.process-step-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.process-step:hover .process-step-media img {
    transform: scale(1.05);
}

.process-step-label {
    margin: 0;
    padding: 14px 12px;
    text-align: center;
    background: #fff;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.process-step-label span {
    color: var(--accent);
    margin-right: 4px;
    font-family: "Songti SC", "SimSun", serif;
}

/* —— 新闻资讯：三列卡片，服务端渲染最新文章 —— */
.news-section {
    padding: 72px 0 96px;
    border-top: 1px solid var(--line);
    background:
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(18, 53, 94, 0.05), transparent 55%),
        linear-gradient(180deg, var(--surface) 0%, #f2f7f8 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-card {
    min-width: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(18, 53, 94, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(18, 53, 94, 0.14);
}

.news-card-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 26px 26px 24px;
    color: inherit;
    text-decoration: none;
}

.news-card-title {
    font-family: "Songti SC", "SimSun", serif;
    font-size: 1.14rem;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: 0.03em;
    color: var(--ink);
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.news-card:hover .news-card-title {
    color: var(--accent);
}

.news-card-summary {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-date {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 14px;
}

.news-card-more {
    margin-top: auto;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    color: var(--accent);
}

.news-card-more::after {
    content: "";
    display: block;
    width: 26px;
    height: 2px;
    margin-top: 6px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.news-card:hover .news-card-more::after {
    width: 46px;
}

.news-empty {
    padding: 44px 0;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--line);
    background: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1024px) and (min-width: 861px) {
    .process-inner {
        gap: 20px;
    }

    .process-intro-title {
        font-size: 1.45rem;
    }

    .why-us-card {
        min-height: 260px;
        padding: 32px 16px 28px;
    }
}

@media (max-width: 860px) {
    .why-us-section,
    .process-section,
    .news-section {
        padding: 48px 0 64px;
    }

    .why-us-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .why-us-card {
        min-height: 260px;
    }

    .process-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .process-intro {
        align-items: center;
        text-align: center;
        padding: 0;
    }

    .process-intro-title {
        font-size: 1.5rem;
    }

    /* 双列布局下隐藏步骤间箭头，避免错位 */
    .process-step:not(:last-child)::after {
        display: none;
    }

    .process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .section-kicker {
        letter-spacing: 0.22em;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .why-us-card {
        min-height: 240px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .news-card-link {
        padding: 22px 20px 20px;
    }
}

/* 首页报价计算器入口卡片 */
.home-quote-entry {
    margin-top: 2rem;
}
.home-quote-entry-link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background: linear-gradient(90deg, #eff6ff 0%, #fff 100%);
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.home-quote-entry-link:hover {
    border-color: #60a5fa;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}
.home-quote-entry-label {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.8rem;
    font-weight: 600;
}
.home-quote-entry-link strong {
    flex: 1;
    min-width: 12rem;
    color: #0f172a;
    font-size: 1.05rem;
}
.home-quote-entry-more {
    color: #2563eb;
    font-weight: 600;
    white-space: nowrap;
}

