.pill-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 0.75rem 1rem;
}

.pill-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: #f7f7f7;
    color: #111111;
    font-weight: 600;
    white-space: nowrap;
}

.intro-card-right {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.intro-image {
    border-radius: 1.8rem;
    overflow: hidden;
    min-height: 320px;
    background: #f3f3f3;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-banner h1 {
    margin: 0;
    font-size: clamp(2.8rem, 4vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: #ffffff;
}


.banner-actions .btn-primary i {
    margin-left: 0.75rem;
}

.panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-banner .banner-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 70%;
    height: 140px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(248, 180, 0, 0.24) 0%, rgba(248, 180, 0, 0) 70%);
    pointer-events: none;
}


.btn-cta {
    width: fit-content;
}
.banner-stats div,
.hero-stat {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.banner-stats strong,
.hero-stat .stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.visual-panel h3 {
    margin: 0;
    font-size: clamp(1.75rem, 2.5vw, 2.4rem);
    line-height: 1.1;
    color: #ffffff;
}

.visual-panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
}

.visual-features span {
    padding: 0.9rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.95rem;
}

.overview-section {
    padding: 2rem 0 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.overview-card {
    padding: 1.5rem;
    background: #f0f0f0;
    border: 1px solid rgba(248, 180, 0, 0.15);
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 18px 45px rgba(17, 17, 17, 0.05);
}

.overview-card strong {
    display: block;
    font-size: 2rem;
    color: #FFFFFF;
    margin-bottom: 0.6rem;
}

.overview-card span {
    color: #5f5f5f;
}

.section-header {
    max-width: 58rem;
    margin-bottom: 2rem;
}




.hero-badges span {
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: rgba(248, 180, 0, 0.12);
    color: #5f5f5f;
    font-size: 0.95rem;
    font-weight: 600;
}


.home-banner .banner-bg {
    background-image: url('');
    background-size: cover;
    background-position: center;
    filter: saturate(1.05) brightness(0.85);
}

.home-banner .banner-overlay {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.60) 0%, rgba(245, 122, 23, 0.20) 100%);
}

.home-banner .banner-content {
    padding: 3rem 0;
}

.home-banner .banner-title,
.home-banner .banner-subtitle {
    color: #ffffff;
}

.home-banner .banner-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.home-banner .banner-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.home-banner .banner-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
}

.home-banner .banner-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.home-banner .banner-stats div {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
}

.home-banner .banner-stats strong {
    display: block;
    font-size: 1.7rem;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.home-banner .banner-stats span {
    color: rgba(255, 255, 255, 0.72);
}

.overview-section {
    padding: 2rem 0 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.overview-card {
    padding: 1.5rem;
    background: #FFFFFF;
    border: 1px solid #111111;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 18px 45px rgba(17, 17, 17, 0.05);
}

.overview-card strong {
    display: block;
    font-size: 2rem;
    color: #111111;
    margin-bottom: 0.6rem;
}

.overview-card span {
    color: #5f5f5f;
}

.section-header {
    margin-top: 2rem;
    max-width: 58rem;
    margin-bottom: 2rem;
}

.section-tag {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.78rem;
    color: #f8b400;
    margin-bottom: 0.8rem;
    display: inline-block;
}

.service-section h2,
.impact-section h2,
.partners-section h2,
.cta-section h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    line-height: 1.08;
    margin: 0;
}

.service-section .section-header p,
.impact-section .section-header p,
.partners-section .section-header p,
.cta-section .cta-copy p {
    max-width: 44rem;
    color: #545454;
    /*margin-top: 5rem;*/
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border-top: 4px solid #f59e0b;
    transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
/* 不同服务用不同边框色 */
.card-om { border-top-color: #3b82f6; }
.card-epc { border-top-color: #f59e0b; }
.card-td { border-top-color: #10b981; }
.card-repair { border-top-color: #ef4444; }

.service-card-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.service-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #1e293b;
}
.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}
.service-tagline {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    margin: 0 0 14px 0;
}
.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #475569;
}
.service-features li {
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.service-features i {
    color: #22c55e;
    font-size: 14px;
}
.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.impact-card {
    display: grid;
    gap: 0.75rem;
    padding: 1.6rem 1.5rem;
    border-radius: 1.6rem;
    background: #ffffff;
    color: #111111;
    border: 1px solid #0a0a0a;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.impact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(17, 17, 17, 0.07);
}

.impact-card strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.impact-card p {
    margin: 0;
    color: #555555;
    font-weight: 400;
    line-height: 1.8;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.partner-logo {
    padding: 1.5rem;
    border-radius: 1.4rem;
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.05);
    display: grid;
    place-items: center;
    min-height: 140px;
    box-shadow: 0 18px 45px rgba(17, 17, 17, 0.05);
}

.partner-logo img {
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
}

.projects-section {
    padding: 3rem 0;
}

.projects-carousel {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.75rem;
}

.projects-track {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.project-card {
    position: relative;
    width: 280px;
    min-width: 280px;
    max-width: 320px;
    min-height: 280px;
    border-radius: 2rem;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 4px 5px rgba(17, 17, 17, 0.08);
    scroll-snap-align: start;
    display: grid;
    grid-template-rows: 1fr auto;
    flex: 0 0 auto;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-card-copy {
    padding: 1.4rem 1.5rem 1.6rem;
    display: grid;
    gap: 0.75rem;
    background: #ffffff;
}

.project-card-copy strong {
    display: block;
    font-size: 1.25rem;
    line-height: 1.3;
    color: #111111;
}

.project-card-copy span {
    color: #5a5a5a;
    line-height: 1.8;
    font-size: 0.98rem;
}

.carousel-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(17, 17, 17, 0.12);
    color: #111111;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carousel-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(17, 17, 17, 0.16);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.project-thumb {
    border-radius: 1.8rem;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 18px 45px rgba(17, 17, 17, 0.08);
    display: grid;
    gap: 0.8rem;
}

.project-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.project-thumb span {
    display: block;
    padding: 1rem 1.2rem 1.25rem;
    font-weight: 600;
    color: #111111;
}

.cta-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
    padding: 3rem 0 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.cta-copy h2 {
    margin: 0;
    font-size: clamp(2.2rem, 3vw, 3rem);
}

.cta-copy p {
    margin: 1rem 0 0;
    max-width: 36rem;
    color: #545454;
}

@media (max-width: 992px) {
    .intro-card {
        grid-template-columns: 1fr;
    }

    .intro-card-right {
        grid-template-columns: 1fr;
    }

    .intro-card-right .intro-image {
        min-height: 260px;
    }

    .intro-card-left h3 {
        font-size: clamp(1.8rem, 5vw, 2.4rem);
    }

    .impact-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .hero-media {
        min-height: 320px;
    }
}

.abouts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.abouts-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    border-radius: 14px;
    border-left: 4px solid #18ff32;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.abouts-item:hover {
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(24,144,255,0.12);
    border-left-color: #f8b400;
}

.abouts-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.abouts-content h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.abouts-content p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}
/* ==================== 按钮基础样式 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.4);
}

.btn:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

.btn:active {
    transform: scale(0.98);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* ==================== 主要按钮样式 ==================== */
.btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    border-color: #f59e0b;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    border-color: #d97706;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

/* ==================== CTA 按钮专用样式 ==================== */
.btn-cta {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
    position: relative;
    overflow: hidden;
    animation: ctaPulse 2s infinite;
}

.btn-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-cta:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.45);
    transform: translateY(-3px) scale(1.02);
    animation-play-state: paused;
}

.btn-cta:hover::after {
    width: 300px;
    height: 300px;
}

.btn-cta:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
    }
    50% {
        box-shadow: 0 8px 35px rgba(245, 158, 11, 0.5);
    }
}

/* ==================== 次要按钮样式 ==================== */
.btn-secondary {
    background: #ffffff;
    color: #f59e0b;
    border-color: #f59e0b;
}

.btn-secondary:hover {
    background: #fef3c7;
    border-color: #d97706;
    color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

/* ==================== 轮廓按钮样式 ==================== */
.btn-outline {
    background: transparent;
    color: #f59e0b;
    border-color: #f59e0b;
}

.btn-outline:hover {
    background: #f59e0b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* ==================== 幽灵按钮（深色背景上使用） ==================== */
.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* ==================== 链接按钮样式 ==================== */
.btn-link {
    background: none;
    color: #f59e0b;
    border: none;
    padding: 0.5rem 1rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.btn-link:hover {
    color: #d97706;
    text-decoration-thickness: 2px;
}

/* ==================== 大小变体 ==================== */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

/* ==================== 响应式调整 ==================== */
@media (max-width: 768px) {
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9375rem;
    }

    .btn-cta {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .btn-lg {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .btn-cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
}

/* ==================== 图标在按钮中的样式 ==================== */
.btn i,
.btn svg {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn:hover i,
.btn:hover svg {
    transform: translateX(3px);
}

.btn-icon-left i,
.btn-icon-left svg {
    margin-left: 0;
    margin-right: 0.5rem;
}

.btn-icon-left:hover i,
.btn-icon-left:hover svg {
    transform: translateX(-3px);
}

/* ==================== 加载状态 ==================== */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: btnSpin 0.6s linear infinite;
}
.partner-logo img {
    width: 120px;      /* 统一宽度 */
    height: 80px;      /* 统一高度 */
    object-fit: contain; /* 保持比例，完整显示图片 */
}
@keyframes btnSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ==================== 深色模式适配 ==================== */
@media (prefers-color-scheme: dark) {
    .btn-secondary {
        background: #1f2937;
        color: #fbbf24;
        border-color: #fbbf24;
    }

    .btn-outline {
        color: #fbbf24;
        border-color: #fbbf24;
    }

    .btn-outline:hover {
        background: #fbbf24;
        color: #1f2937;
    }
}

/* ==================== 打印样式 ==================== */
@media print {
    .btn {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-section {
        gap: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-section h1 {
        font-size: 2.4rem;
    }

    .service-card,
    .impact-card,
    .partner-logo {
        padding: 1.25rem;
    }
}
