/* ===========================
   深圳市金骊数字科技有限公司 - 企业官网
   主样式文件
   =========================== */

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

:root {
    --primary: #1a2d60;
    --primary-light: #3d5a99;
    --primary-dark: #11214a;
    --accent: #c8a04e;
    --accent-light: #e0b860;
    --accent-dark: #a07d34;
    --gradient: linear-gradient(135deg, #1a2d60 0%, #3d5a99 100%);
    --gradient-light: linear-gradient(135deg, #2a4a8a 0%, #5a78b8 100%);
    --text-dark: #142850;
    --text-body: #4a4a5a;
    --text-light: #8a8a9a;
    --bg-white: #ffffff;
    --bg-light: #f5f7fa;
    --bg-gray: #eef1f5;
    --border-color: #e0e4ea;
    --shadow-sm: 0 2px 8px rgba(26, 45, 96, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 45, 96, 0.08);
    --shadow-lg: 0 8px 40px rgba(26, 45, 96, 0.12);
    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-lg: 16px;
    --max-width: 1200px;
    --header-h: 88px;
}

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

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-body);
    background: var(--bg-white);
    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 20px;
}

.section {
    padding: 80px 0;
}

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

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

.section-title h2 {
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 12px;
    letter-spacing: 2px;
}

/* ===== 导航栏 ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    height: 64px;
    box-shadow: var(--shadow-md);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.header.scrolled .logo-img {
    height: 50px;
}

.logo-text {
    display: none;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(26, 58, 107, 0.06);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-body);
}

.nav-dropdown a:hover {
    color: var(--primary);
    background: var(--bg-light);
}

.nav-cta {
    margin-left: 12px;
    padding: 10px 24px;
    background: var(--accent);
    color: #fff;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.nav-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

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

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

/* ===== Hero 区域 ===== */
.hero {
    position: relative;
    min-height: 600px;
    height: calc(100vh - var(--header-h));
    max-height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-dark);
    overflow: hidden;
    padding-top: var(--header-h);
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 30, 70, 0.65) 0%,
        rgba(20, 40, 90, 0.55) 50%,
        rgba(15, 30, 70, 0.75) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
}

.hero-tagline {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(200, 160, 78, 0.15);
    border: 1px solid rgba(200, 160, 78, 0.5);
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--accent-light);
    margin-bottom: 32px;
    letter-spacing: 3px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.hero-title .highlight {
    color: var(--accent-light);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
    letter-spacing: 1px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 160, 78, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.btn-dark {
    background: var(--primary);
    color: #fff;
}

.btn-dark:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* hero-stats 已废弃（改为简短文字风格） */

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

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

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

.about-preview-text .btn {
    margin-top: 12px;
}

.about-preview-visual {
    position: relative;
}

.about-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: #fff;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.about-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(200, 160, 78, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.about-card-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.about-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.8;
}

.about-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.about-card-stat-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-light);
}

.about-card-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== 业务领域 ===== */
.business-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.business-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: var(--transition);
}

.business-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.business-card:hover::before {
    transform: scaleY(1);
}

.business-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: #fff;
}

.business-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.business-card p {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 16px;
}

.business-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.business-card-features span {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ===== 服务优势 ===== */
.advantages-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-item {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.advantage-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.advantage-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.advantage-item h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.advantage-item p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== 工程保函类型 ===== */
.bond-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bond-type-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.bond-type-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.bond-type-header {
    padding: 28px 24px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.bond-type-header::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(200, 160, 78, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.bond-type-header h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.bond-type-header p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
}

.bond-type-body {
    padding: 20px 24px;
}

.bond-type-body p {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.7;
}

.bond-type-body ul {
    margin-top: 12px;
}

.bond-type-body ul li {
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.bond-type-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ===== 成功案例 ===== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.case-card-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

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

.case-card-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(200, 160, 78, 0.1);
    color: var(--accent-dark);
    border-radius: 4px;
    font-size: 0.78rem;
    margin-bottom: 10px;
}

.case-card-body h3 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

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

.case-card-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

/* ===== 合作伙伴 ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.partner-item {
    height: 80px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
    padding: 10px;
}

.partner-item:hover {
    border-color: var(--accent);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* ===== 新闻中心 ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.news-card-img {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.2);
    position: relative;
}

.news-card-img::after {
    content: attr(data-category);
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: rgba(200, 160, 78, 0.9);
    color: #fff;
    border-radius: 4px;
    font-size: 0.75rem;
}

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

.news-card-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.news-card-body h3 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-body p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.contact-info-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-info-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -30%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(200, 160, 78, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-item-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-item-text h4 {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.contact-info-item-text p {
    font-size: 1rem;
    color: #fff;
}

.contact-form-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 24px;
}

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.1);
}

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

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

/* ===== 页面横幅 ===== */
.page-banner {
    position: relative;
    padding: calc(var(--header-h) + 80px) 0 60px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

/* 暗色蒙层，让白色文字清晰可读 */
.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 30, 70, 0.78) 0%,
        rgba(20, 40, 90, 0.65) 50%,
        rgba(15, 30, 70, 0.78) 100%
    );
    z-index: 1;
}

.page-banner h1 {
    position: relative;
    z-index: 2;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
    letter-spacing: 4px;
}

.page-banner p {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    letter-spacing: 4px;
}

/* ===== 关于我们页面 ===== */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 16px;
    line-height: 1.9;
}

.about-text ul {
    margin-top: 20px;
}

.about-text ul li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-body);
}

.about-text ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.about-visual {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-visual::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(200, 160, 78, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.about-visual h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.about-visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about-visual-stat {
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
}

.about-visual-stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-light);
}

.about-visual-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.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-content {
    width: 45%;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-item-content:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

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

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

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

.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 24px;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border: 3px solid #fff;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 2px var(--accent);
}

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

.culture-card {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.culture-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

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

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

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

/* ===== CTA 区域 ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(200, 160, 78, 0.12) 0%, transparent 70%);
}

.cta-section h2 {
    position: relative;
    font-size: 2rem;
    margin-bottom: 12px;
}

.cta-section p {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
    font-size: 1rem;
}

.cta-section .btn {
    position: relative;
}

/* ===== 页脚 ===== */
.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;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
}

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

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

.footer-col ul li a:hover {
    color: var(--accent-light);
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.88rem;
}

.footer-contact-item span:first-child {
    color: var(--accent-light);
}

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

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: var(--accent-light);
}

/* ===== 动画 ===== */
/* 注意：fade-up 默认是可见的，避免JS未加载或截图时元素不可见 */
.fade-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 只有在JS启动并添加 .js-animated 类后，才隐藏等待动画 */
.js-animated .fade-up:not(.visible) {
    opacity: 0;
    transform: translateY(30px);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        gap: 0;
    }

    .nav.open .nav-link {
        width: 100%;
        padding: 12px 16px;
    }

    .nav.open .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .about-preview,
    .about-section,
    .contact-section {
        grid-template-columns: 1fr;
    }

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

    .bond-types,
    .cases-grid,
    .news-grid,
    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

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

    .section {
        padding: 50px 0;
    }

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

    .bond-types,
    .cases-grid,
    .news-grid,
    .culture-grid,
    .advantages-list,
    .partners-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .timeline-item {
        flex-direction: row !important;
        text-align: left !important;
    }

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

    .timeline-item::after {
        left: 20px;
    }
}
