* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a8a;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-light);
    font-weight: 700;
    text-decoration: none;
}

.logo-text {
    font-size: 1.5rem;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-light);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.language-group {
    display: flex;
    gap: 0.5rem;
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.9rem;
    border: 1.5px solid #7ec6ff;
    background: rgba(126, 198, 255, 0.12);
    color: #1e90ff;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.language-toggle:hover,
.language-toggle.active {
    background: #1e90ff;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}


.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #000;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Hero区域 */
.hero {
    padding-top: 100px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.2) 100%);
    background-image: url('images/hero/背景.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.15) 100%);
    z-index: 0;
}

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

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 1024px) {
    .hero-content {
        max-width: 1100px;
        padding: 3rem 3.5rem;
    }

    .hero-title {
        white-space: nowrap;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 优势特点 */
.features {
    padding: 5rem 20px;
    background: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 产品预览 */
.products-preview {
    padding: 5rem 20px;
}

/* 产品图片网格 */
.products-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.875rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-image-item {
    position: relative;
    overflow: visible;
    border-radius: 6px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    background: #f5f5f5;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-image-item .image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 6px 6px 0 0;
    aspect-ratio: 4/3;
}

.product-image-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.product-image-item .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.product-image-item .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
}

.product-image-item:hover .image-wrapper img {
    transform: scale(1.03);
}

.product-image-item:hover .image-overlay {
    opacity: 1;
}

.product-image-item .view-icon {
    font-size: 2rem;
    color: white;
}

.product-image-label {
    background: white;
    color: var(--text-dark);
    padding: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 0 0 6px 6px;
    border-top: 2px solid var(--border-color);
    transition: all 0.3s ease;
    margin-top: 0;
}

.product-image-item:hover .product-image-label {
    color: var(--primary-color);
    border-top-color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.rd {
    padding: 5rem 20px;
    background: white;
}

.rd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.rd-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rd-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.rd-icon {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.rd-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.rd-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.product-card {
    background: white;
    padding: 0.9rem 0.6rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.product-icon {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.product-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.product-card p {
    color: var(--text-light);
    line-height: 1.4;
    font-size: 0.75rem;
}

/* 关于我们 */
.about {
    padding: 5rem 20px;
    background: var(--bg-light);
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.about-intro h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.company-name-en {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.intro-text {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    text-align: left;
}

.company-values {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: left;
}

.value-item {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

/* 服务行业 */
.service-industries {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.service-industries-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.25rem;
}

.service-industries-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.industry-card {
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid #9ca3af;
    text-align: center;
}

.industry-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.industry-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.industry-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.industry-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.85rem;
    text-align: left;
}
    padding: 0.25rem 0;
}

.value-item strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* 我们的优势 */
.company-advantages {
    max-width: 1200px;
    margin: 3rem auto;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.advantages-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2.5rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    align-items: stretch;
}

.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.advantage-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 140px;
    margin: 0 auto 1rem;
    min-height: 140px;
}

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

.advantage-card:nth-child(2) .advantage-icon {
    background: var(--bg-light);
    padding: 12px;
}

.advantage-card:nth-child(2) .advantage-icon img {
    object-fit: contain;
}

/* 服务行业图标放大（保留类名，方便兼容已有 HTML） */
.advantage-icon-large {
    width: 100% !important;
    height: 140px !important;
    min-height: 140px !important;
}

.advantage-icon-large img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
}


.advantage-icon .icon-placeholder {
    width: 80px;
    height: 80px;
    background: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    text-align: center;
    padding: 5px;
    box-sizing: border-box;
}

.advantage-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.8;
    text-align: left;
    flex: 1;
    margin-bottom: 1rem;
    min-height: 0;
}

.advantage-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
}

.advantage-list li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.advantage-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.advantage-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.advantage-link-spacer {
    margin-top: auto;
    height: 2.5rem;
}

.advantage-link:hover {
    color: var(--primary-dark);
}

/* 服务行业页面 */
.services-page {
    padding-top: 100px;
    padding-bottom: 5rem;
    background: var(--bg-light);
    min-height: 100vh;
}

/* 设计研发详细内容 */
.rd-details-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #e0e0e0;
}

.rd-advantages-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.rd-advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rd-advantage-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.rd-advantage-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.rd-advantage-content {
    flex: 1;
}

.rd-advantage-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.rd-advantage-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.services-header {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 20px;
}

.services-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.services-back:hover {
    color: var(--primary-dark);
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.services-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2rem;
}

.company-showcase {
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-section {
    margin-bottom: 3rem;
}

.showcase-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.showcase-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.showcase-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.showcase-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.company-gallery-section {
    padding: 5rem 20px;
    background: white;
}

.company-gallery {
    margin-top: 3rem;
}

.company-gallery-carousel {
    position: relative;
    border: 2px solid #9ca3af;
    border-radius: 12px;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    padding: 14px 64px;
    width: calc(100% + 320px);
    margin-left: -160px;
    margin-right: -160px;
}

.company-gallery-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.company-gallery-track {
    display: flex;
    gap: 1.5rem;
    will-change: transform;
    transition: transform 0.6s ease;
}

.company-gallery-slide {
    flex: 0 0 calc((100% - 1.5rem * 4) / 5);
}

.company-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    box-shadow: var(--shadow);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 2;
}

.company-gallery-nav:hover {
    transform: translateY(-50%) scale(1.06);
    background: rgba(255, 255, 255, 1);
}

.company-gallery-nav:active {
    transform: translateY(-50%) scale(0.98);
}

.company-gallery-nav-prev {
    left: 12px;
}

.company-gallery-nav-next {
    right: 12px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
    cursor: pointer;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item:hover .image-overlay {
    opacity: 1;
}

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

.gallery-item .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item .view-icon {
    font-size: 2rem;
    color: white;
}

.why-choose-us {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 2px solid var(--border-color);
}

.why-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.why-choose-us .features-grid {
    margin-top: 2rem;
}

.why-choose-us .feature-card {
    padding: 2rem;
}

.why-choose-us .feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.why-choose-us .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

/* 设备展示 */
.equipment {
    padding: 5rem 20px;
    background: var(--bg-light);
}

.equipment-text {
    max-width: 900px;
    margin: 3rem auto 0;
}

.equipment-item {
    margin-bottom: 2.5rem;
    text-align: left;
}

.equipment-item:last-child {
    margin-bottom: 0;
}

.equipment-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.4;
}

.equipment-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.equipment-photos {
    margin-top: 3rem;
}

.equipment-photos-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.equipment-photos-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.equipment-photos-subtitle code {
    background: var(--bg-light);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.equipment-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.equipment-photo-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--bg-light);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

.equipment-photo-caption {
    background: white;
    color: var(--text-dark);
    padding: 0.75rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    border-top: 2px solid var(--border-color);
    transition: all 0.3s ease;
    width: 100%;
}

.equipment-photo-item:hover .equipment-photo-caption {
    color: var(--primary-color);
    border-top-color: var(--primary-color);
}

.equipment-photo-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    display: block;
}

.equipment-photo-item .image-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.equipment-photo-item:hover .image-overlay {
    opacity: 1;
}

/* 新闻动态 */

/* 新闻详情页 */
.news-detail-page {
    padding-top: 100px;
    padding-bottom: 5rem;
    background: var(--bg-light);
}

.news-detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-detail-header {
    margin-bottom: 2rem;
}

.news-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.news-detail-back:hover {
    color: var(--primary-dark);
}

.news-detail-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.news-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.news-detail-header {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.news-detail-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-detail-text p {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

.news-detail-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.news-detail-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
    cursor: pointer;
    background: var(--bg-light);
}

.news-detail-image:hover {
    transform: scale(1.02);
}

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

@media (max-width: 768px) {
    .news-detail-title {
        font-size: 1.5rem;
    }

    .news-detail-text p {
        font-size: 0.95rem;
    }

    .news-detail-images {
        grid-template-columns: 1fr;
    }
}


.news {
    padding: 5rem 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.news-date {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

.news-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.4;
}

.news-card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;

    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: var(--primary-dark);
}

.news-card-featured {
    grid-column: auto;
    padding: 2rem;
}

.news-card-featured h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.news-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.news-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
    cursor: pointer;
}

.news-image:hover {
    transform: scale(1.02);
}

.news-image:hover .image-overlay {
    opacity: 1;
}

.news-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    min-height: 150px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
}

.news-image-short {
    height: 260px;
}

.news-image-short img {
    height: 100%;
    min-height: 0;
}

.news-image img[src^="data:image/svg"] {
    background: var(--bg-light);
    border: 2px dashed var(--border-color);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.view-icon {
    font-size: 2rem;
    color: white;
}

/* 图片查看器 */
.image-viewer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.image-viewer-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-viewer-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.1s ease-out;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: none;
}

.image-viewer-content img:active {
    cursor: grabbing;
}

.image-viewer-content {
    overflow: hidden;
}

.image-viewer-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.image-viewer-close:hover {
    transform: scale(1.2);
}

.image-viewer-caption {
    color: white;
    font-size: 1.25rem;
    margin-top: 1rem;
    text-align: center;
    display: none; /* 隐藏标题 */
}

.image-viewer-prev,
.image-viewer-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.image-viewer-prev {
    left: -80px;
}

.image-viewer-next {
    right: -80px;
}

.image-viewer-prev:hover,
.image-viewer-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .company-gallery-carousel {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 12px 52px;
    }

    .hero-content {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }

    .image-viewer-prev,
    .image-viewer-next {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .image-viewer-prev {
        left: 10px;
    }

    .image-viewer-next {
        right: 10px;
    }

    .image-viewer-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
    }
}

/* 联系我们 */
.contact {
    padding: 5rem 20px;
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.contact-info {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-company-en {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.125rem;
    font-style: italic;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    font-size: 1.125rem;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    padding: 3rem 20px 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .product-card {
        padding: 1.25rem;
    }

    .product-icon {
        font-size: 2.25rem;
        margin-bottom: 0.75rem;
    }

    .product-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .product-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .company-gallery-track {
        gap: 0.75rem;
    }

    .company-gallery-slide {
        flex: 0 0 calc((100% - 0.75rem * 1) / 2);
    }

    .gallery-item {
        height: 240px;
    }

    .menu-toggle {
        display: flex;
    }

    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero-title {
        font-size: 2rem;
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-images-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.625rem;
        margin-top: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .company-gallery {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card-featured {
        grid-column: 1;
    }

    .news-images {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .language-toggle {
        margin-left: 0.5rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        min-width: 45px;
    }

    .company-advantages {
        margin-top: 2rem;
        padding-top: 2rem;
    }

    .advantages-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .advantage-card {
        padding: 1.5rem;
    }

    .advantage-icon {
        font-size: 2.5rem;
    }

    .advantage-card h4 {
        font-size: 1.25rem;
    }

    .advantage-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .service-industries {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .service-industries-title {
        font-size: 1.25rem;
    }

    .service-industries-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .industry-card {
        padding: 1rem;
    }

    .industry-icon {
        font-size: 1.5rem;
        margin-bottom: 0.4rem;
    }

    .industry-card h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .industry-card p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}
