/* =========================================================
   服务列表页专属样式
   文件：css/fuwulist.css
   依赖：css/style.css、css/aboutus.css、css/product.css（复用 .pd-cta 可考虑独立）
   ========================================================= */

/* ========== Section 1：左右布局（左大标题 + CTA / 右描述） ========== */
.fw-hero {
    padding: 100px 20px;
    background: var(--bg-white);
}
.fw-hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 72px;
    align-items: center;
}

/* 左侧 */
.fw-hero-left .fw-hero-en {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #70b52c;
    letter-spacing: 4px;
    margin-bottom: 18px;
}
.fw-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.25;
    letter-spacing: -1px;
    margin-bottom: 14px;
}
.fw-hero-title .accent {
    color: #70b52c;
    position: relative;
}

.fw-hero-sub {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* CTA 按钮组 */
.fw-hero-ctas {
    display: flex; gap: 14px; flex-wrap: wrap;
}
.fw-cta-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 30px;
    font-size: 15px; font-weight: 500;
    border-radius: 50px;
    cursor: pointer; border: none;
    text-decoration: none;
    transition: all 0.3s ease;
}
.fw-cta-btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(26,95,160,0.35);
}
.fw-cta-btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,95,160,0.45);
}
.fw-cta-btn--outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.fw-cta-btn--outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* 右侧描述 */
.fw-hero-right {
    position: relative;
}
.fw-hero-right::before {
    content: '';
    position: absolute;
    left: -36px; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #70b52c 0%, var(--primary) 100%);
    border-radius: 2px;
}
.fw-hero-right p {
    font-size: 15.5px;
    line-height: 2;
    color: #4b5563;
    margin-bottom: 20px;
    text-align: justify;
}
.fw-hero-right p:first-of-type { text-indent: 2em; }

/* ========== Section 2：服务品类 3 列卡片 ========== */
.fw-cats {
    padding: 100px 20px;
    background: var(--bg-light);
}
.fw-cats-inner {
    max-width: var(--container);
    margin: 0 auto;
}
.fw-cats-header {
    text-align: center;
    margin-bottom: 56px;
}
.fw-cats-en {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #70b52c;
    letter-spacing: 4px;
    margin-bottom: 14px;
}
.fw-cats-title {
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 700;
    color: #333;
    margin-bottom: 14px;
}
.fw-cats-sub {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.8;
}

.fw-cats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.fw-cat-card {
    position: relative;
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
}
.fw-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.12);
    border-color: rgba(26,95,160,0.25);
}

.fw-cat-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #e6ebf3 center/cover no-repeat;
    overflow: hidden;
}
.fw-cat-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
        rgba(26,95,160,0) 40%,
        rgba(26,95,160,0.35) 100%);
    transition: background 0.35s ease;
}
.fw-cat-card:hover .fw-cat-img::after {
    background: linear-gradient(180deg,
        rgba(26,95,160,0.2) 0%,
        rgba(19,71,120,0.65) 100%);
}
.fw-cat-card:hover .fw-cat-img {
    transform: scale(1.04);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fw-cat-body {
    padding: 24px 26px 28px;
    position: relative;
}

/* 默认显示：标题 + 按钮 */
.fw-cat-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    display: flex; align-items: center; gap: 10px;
    transition: color 0.25s ease;
}
.fw-cat-title i {
    width: 28px; height: 28px;
    background: #e8f1fc;
    color: var(--primary);
    border-radius: 8px;
    font-size: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.fw-cat-card:hover .fw-cat-title { color: var(--primary); }
.fw-cat-card:hover .fw-cat-title i {
    background: var(--primary);
    color: #fff;
    transform: rotate(-8deg) scale(1.1);
}

.fw-cat-desc {
    font-size: 13.5px;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(10px);
    max-height: 0;
    overflow: hidden;
    transition:
        opacity 0.35s ease 0.05s,
        transform 0.35s ease 0.05s,
        max-height 0.35s ease;
}
.fw-cat-card:hover .fw-cat-desc {
    opacity: 1;
    transform: translateY(0);
    max-height: 200px;
}

.fw-cat-more {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    display: inline-flex; align-items: center; gap: 6px;
    transition: gap 0.25s ease;
}
.fw-cat-more i {
    font-size: 10px;
    transition: transform 0.25s ease;
}
.fw-cat-card:hover .fw-cat-more { gap: 10px; }
.fw-cat-card:hover .fw-cat-more i { transform: translateX(3px); }

/* ========== Section 3：咨询 CTA（独立，不依赖 product.css） ========== */
.fw-cta {
    position: relative;
    padding: 96px 20px;
    background: url('/uploads/20261110/3a6e9392f82a9618a9218ec12f8bf9a0.jpg') center/cover no-repeat fixed;
    overflow: hidden;
}
.fw-cta::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgb(94 169 97 / 88%) 0%, rgb(117 188 255 / 18%) 50%, rgb(55 115 133) 100%);
}
.fw-cta-inner {
    position: relative; z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}
.fw-cta-icon {
    width: 72px; height: 72px;
    background: #70b52c;
    border-radius: 50%;
    margin: 0 auto 28px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 32px rgba(112,181,44,0.5);
    animation: fwFloat 3s ease-in-out infinite;
}
@keyframes fwFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.fw-cta h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}
.fw-cta-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    line-height: 1.9;
    margin-bottom: 36px;
}
.fw-cta-buttons {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.fw-cta-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 36px;
    font-size: 15px; font-weight: 600;
    border-radius: 50px;
    cursor: pointer; border: none;
    text-decoration: none;
    transition: all 0.3s ease;
}
.fw-cta-btn--primary {
    background: #70b52c;
    color: #fff;
    box-shadow: 0 6px 24px rgba(112,181,44,0.45);
}
.fw-cta-btn--primary:hover {
    background: #5c9a23;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(112,181,44,0.55);
}
.fw-cta-btn--ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}
.fw-cta-btn--ghost:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    transform: translateY(-2px);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .fw-hero { padding: 72px 20px; }
    .fw-hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .fw-hero-title { font-size: 40px; }
    .fw-hero-right::before {
        left: 0; top: -16px; bottom: auto;
        width: 48px; height: 3px;
    }
    .fw-cats { padding: 72px 20px; }
    .fw-cats-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (max-width: 768px) {
    .fw-hero { padding: 56px 16px; }
    .fw-hero-title { font-size: 34px; }
    .fw-cats { padding: 56px 16px; }
    .fw-cats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .fw-cats-header { margin-bottom: 40px; }
    .fw-cta { padding: 64px 20px; }
    .fw-cta-icon { width: 56px; height: 56px; font-size: 22px; }
}
@media (max-width: 480px) {
    .fw-cats-grid { grid-template-columns: 1fr; }
}
