/* ============================================
   南京启梦仪器有限公司 - 企业官网样式表
   设计理念：简约大气、科技感、精密感
   ============================================ */

/* ===== 基础重置 ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主色调 */
    --primary: #0d3b66;
    --primary-light: #1a5599;
    --primary-dark: #082544;
    /* 点缀色 */
    --accent: #16c79a;
    --accent-light: #2dd4b8;
    --accent-dark: #0fa17e;
    /* 中性色 */
    --bg: #f7f9fc;
    --bg-alt: #eef2f7;
    --white: #ffffff;
    --text: #2c3e50;
    --text-light: #6b7c8c;
    --text-lighter: #9aaab8;
    --border: #e2e8f0;
    --shadow: rgba(13, 59, 102, 0.08);
    --shadow-hover: rgba(13, 59, 102, 0.15);
    /* 尺寸 */
    --max-width: 1200px;
    --nav-height: 72px;
    /* 过渡 */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", "Source Han Sans SC", "Noto Sans SC", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== 通用容器 ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    text-align: center;
    margin-bottom: 56px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.section-title .subtitle {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.section-title .divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 199, 154, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 12px var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    height: 64px;
    box-shadow: 0 2px 20px var(--shadow-hover);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-logo .logo-icon-img {
    height: 38px;
    width: auto;
    display: block;
}

.nav-logo .logo-text {
    line-height: 1.3;
}

.nav-logo .logo-text small {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-menu a {
    padding: 8px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    border-radius: 4px;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== 页面头部（内页 Banner） ===== */
.page-banner {
    height: 340px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(22, 199, 154, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(22, 199, 154, 0.1) 0%, transparent 50%);
}

.page-banner .banner-content {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: 2.4rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.breadcrumb {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    margin: 0 8px;
}

/* ===== 首页 Hero ===== */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: calc(-1 * var(--nav-height));
    padding-top: var(--nav-height);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 85%, rgba(22, 199, 154, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(22, 199, 154, 0.15) 0%, transparent 40%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--bg), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 640px;
}

.hero-content .tagline {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(22, 199, 154, 0.2);
    border: 1px solid rgba(22, 199, 154, 0.4);
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--accent-light);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-content h1 .highlight {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero 装饰图形 */
.hero-graphic {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    z-index: 1;
    opacity: 0.15;
}

/* ===== 统计数字 ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 60px 0;
    background: var(--white);
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .number .unit {
    font-size: 1.2rem;
    color: var(--accent);
}

.stat-item .label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== 卡片网格 ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

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

.card-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: var(--white);
    border-radius: 12px;
    padding: 36px 28px;
    box-shadow: 0 2px 12px var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent);
    transition: height 0.4s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px var(--shadow-hover);
    border-color: var(--border);
}

.card:hover::before {
    height: 100%;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition);
}

.card:hover .card-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== 产品分类卡片 ===== */
.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px var(--shadow-hover);
}

.product-card .product-image {
    height: 200px;
    background: linear-gradient(135deg, var(--bg-alt), var(--border));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card .product-image .product-icon {
    font-size: 3.5rem;
    transition: var(--transition);
}

.product-card:hover .product-image .product-icon {
    transform: scale(1.15);
}

.product-card .product-body {
    padding: 24px;
}

.product-card .product-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.product-card .product-body p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.product-card .product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.product-tag {
    padding: 3px 10px;
    background: var(--bg-alt);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ===== 关于我们 - 公司简介 ===== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro .about-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-intro .about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.9;
}

.about-intro .about-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px var(--shadow-hover);
}

.about-intro .about-visual .visual-box {
    height: 380px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-intro .about-visual .visual-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(22, 199, 154, 0.15) 0%, transparent 60%);
}

.about-intro .about-visual .visual-box .visual-icon {
    font-size: 6rem;
    position: relative;
    z-index: 1;
}

/* ===== 发展历程时间线 ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--primary));
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-item .timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--accent);
    z-index: 1;
}

.timeline-item .timeline-content {
    width: calc(50% - 40px);
    background: var(--white);
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 2px 12px var(--shadow);
}

.timeline-item .timeline-content .year {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 6px;
}

.timeline-item .timeline-content h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.timeline-item .timeline-content p {
    font-size: 0.88rem;
    color: var(--text-light);
}

/* ===== 企业文化 ===== */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.culture-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px var(--shadow);
    transition: var(--transition);
}

.culture-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px var(--shadow-hover);
}

.culture-card .culture-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
}

.culture-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.culture-card p {
    color: var(--text-light);
    font-size: 0.92rem;
}

/* ===== 产品详情列表 ===== */
.product-group-title {
    text-align: center;
    margin: 50px 0 40px;
    padding: 24px 0;
    border-top: 2px solid var(--primary);
    border-bottom: 1px solid var(--border);
}

.product-group-title:first-of-type {
    margin-top: 20px;
}

.product-group-title h3 {
    font-size: 1.6rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.product-group-title p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.product-category {
    margin-bottom: 60px;
}

.product-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.product-category-header .cat-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    flex-shrink: 0;
}

.product-category-header h3 {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 600;
}

.product-category-header .cat-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    transition: var(--transition);
}

.product-item:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px var(--shadow);
    transform: translateY(-3px);
}

.product-item .item-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.product-item h4 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.product-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

.product-item .item-features {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ===== 服务流程 ===== */
.service-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.service-step {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px var(--shadow);
    position: relative;
    transition: var(--transition);
}

.service-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--shadow-hover);
}

.service-step .step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(22, 199, 154, 0.4);
}

.service-step .step-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    margin-top: 8px;
}

.service-step h4 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.service-step p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== 联系我们 ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-info-item .info-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    flex-shrink: 0;
}

.contact-info-item .info-content h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-info-item .info-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* 联系表单 */
.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
}

.contact-form h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group label .required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.92rem;
    color: var(--text);
    background: var(--bg);
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(22, 199, 154, 0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-submit {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    letter-spacing: 1px;
}

.form-submit:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(22, 199, 154, 0.3);
}

/* 地图区域 */
.map-section {
    height: 380px;
    background: linear-gradient(135deg, var(--bg-alt), var(--border));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    position: relative;
}

.map-section .map-placeholder {
    text-align: center;
    color: var(--text-light);
}

.map-section .map-placeholder .map-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.map-section .map-placeholder p {
    font-size: 0.95rem;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== CTA 区域 ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(22, 199, 154, 0.15) 0%, transparent 50%);
}

.cta-section .cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 700;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand .nav-logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand .nav-logo .logo-icon-img {
    height: 34px;
    filter: brightness(0) invert(1);
}

.footer-brand .nav-logo .logo-text small {
    color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact p .contact-label {
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== 滚动动画 ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.delay-4 { transition-delay: 0.4s; }

/* ===== 中标业绩 ===== */
.bid-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 2px 12px var(--shadow);
    background: var(--white);
}

.bid-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.bid-table thead {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.bid-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.bid-table th:first-child {
    border-radius: 12px 0 0 0;
}

.bid-table th:last-child {
    border-radius: 0 12px 0 0;
}

.bid-table td {
    padding: 14px 20px;
    font-size: 0.9rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.bid-table tbody tr {
    transition: var(--transition);
}

.bid-table tbody tr:hover {
    background: var(--bg-alt);
}

.bid-table tbody tr:last-child td {
    border-bottom: none;
}

.bid-table .bid-amount {
    font-weight: 600;
    color: var(--accent-dark);
}

.bid-table .bid-client {
    font-weight: 500;
    color: var(--primary);
}

.bid-table .bid-date {
    color: var(--text-light);
    font-size: 0.85rem;
    white-space: nowrap;
}

/* ===== 企业资质信息卡 ===== */
.company-info-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px var(--shadow);
}

.info-row {
    display: flex;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.info-row:nth-child(2n) {
    border-right: none;
}

.info-row:nth-last-child(-n+2) {
    border-bottom: none;
}

.info-row .info-label {
    width: 120px;
    flex-shrink: 0;
    font-size: 0.88rem;
    color: var(--text-light);
    font-weight: 500;
}

.info-row .info-value {
    font-size: 0.92rem;
    color: var(--text);
    font-weight: 500;
}

/* ===== 响应式 ===== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        box-shadow: 0 4px 20px var(--shadow);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        height: auto;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu a {
        width: 100%;
        padding: 12px 18px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-graphic {
        display: none;
    }

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

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 1px solid var(--border);
        padding-bottom: 24px;
    }

    .card-grid,
    .card-grid.cols-4,
    .culture-grid,
    .service-flow,
    .product-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-intro,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .about-intro .about-visual {
        order: -1;
    }

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

    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        text-align: left;
    }

    .timeline-item .timeline-dot {
        left: 30px;
    }

    .timeline-item .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .page-banner h1 {
        font-size: 1.8rem;
    }

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

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .card-grid,
    .card-grid.cols-2,
    .card-grid.cols-4,
    .culture-grid,
    .service-flow,
    .product-list {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

    .info-row {
        border-right: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        text-align: center;
        justify-content: center;
    }
}

/* ===== 产品页锚点导航 ===== */
.product-nav {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px var(--shadow);
}
.product-nav-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
}
.nav-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.nav-group-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.nav-divider {
    width: 1px;
    background: var(--border);
    min-height: 40px;
    align-self: stretch;
}
.product-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.product-nav-list a {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    background: #f5f5f5;
    transition: all 0.2s;
    white-space: nowrap;
}
.product-nav-list a:hover {
    background: var(--primary);
    color: #fff;
}

/* ===== 合作品牌墙 ===== */
/* ===== 合作院校卡片 ===== */
.uni-card {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px 12px;
    text-align: center;
    transition: all 0.3s;
}
.uni-card:hover {
    border-color: #0d3b66;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(13,59,102,0.1);
}
.uni-logo {
    display: block;
    font-size: 42px !important;
    color: #0d3b66;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1;
}
.uni-logo-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d3b66, #1a5a9e);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin: 0 auto 10px;
    letter-spacing: 1px;
}
.uni-name {
    font-weight: 600;
    color: #0d3b66;
    font-size: 14px;
    line-height: 1.4;
}
.uni-sub {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.brand-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}
.brand-item {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    padding: 18px 12px;
    text-align: center;
    transition: all 0.3s;
}
.brand-item:hover {
    border-color: #0d3b66;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(13,59,102,0.1);
}
.brand-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.brand-origin {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

/* ===== 资质证书展示 ===== */
.qualification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.qualification-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid #e8e8e8;
    transition: all 0.3s;
}
.qualification-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.qualification-icon {
    font-size: 36px;
    margin-bottom: 12px;
}
.qualification-title {
    font-size: 14px;
    font-weight: 600;
    color: #0d3b66;
    margin-bottom: 6px;
}
.qualification-desc {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
}

/* ===== FAQ 常见问题 ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item:hover {
    border-color: #c5d4e8;
}
.faq-item.active {
    border-color: #0d3b66;
}
.faq-question {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #333;
    font-size: 15px;
    user-select: none;
}
.faq-question:hover {
    color: #0d3b66;
}
.faq-toggle {
    font-size: 20px;
    color: #16c79a;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 12px;
}
.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}
.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 24px 18px;
}

/* ===== 微信二维码 ===== */
.wechat-qr {
    text-align: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 32px 20px;
}
.wechat-qr-img {
    width: 160px;
    height: 160px;
    background: #fff;
    border: 2px dashed #ccc;
    border-radius: 12px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
    text-align: center;
    line-height: 1.5;
}

/* ===== 返回顶部按钮 ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #0d3b66;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    font-size: 20px;
    line-height: 1;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: #16c79a;
    transform: translateY(-4px);
}

@media (max-width: 600px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .product-nav-inner {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .nav-divider {
        width: 60px;
        height: 1px;
        min-height: auto;
        align-self: center;
    }
    .product-nav {
        padding: 20px 16px;
    }
    .brand-wall {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}
