﻿
/* ===== 首页样式（自 style.css 第 611–2299 行抽离） ===== */
/* ==========================================
   企业文化理念 Culture
   ========================================== */
.culture {
    background: #fff;
    padding-bottom: 0;
    overflow: hidden;
}

.culture-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
        "vision mission core"
        "vision manage spirit";
    height: 620px;
    width: 100%;
    overflow: hidden;
}

.culture-cell {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    display: block;
    transition: all 0.4s ease;
}

/* 仅首页栅格内「愿景」格，勿与 culture.html 的 section.culture-vision 混用 */
.culture-grid .culture-cell.culture-vision {
    grid-area: vision;
}

.culture-cell::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(22, 52, 140, 0.55);
    transition: background 0.35s ease;
}

/* 核心价值：纯蓝色 */
.culture-solid {
    background-color: #1e3a8a;
}

.culture-solid::before {
    background: transparent;
}

.culture-cell:hover::before {
    background: rgba(15, 40, 120, 0.72);
}

.culture-solid:hover::before {
    background: rgba(255, 255, 255, 0.05);
}

.culture-cell:hover .culture-inner {
    transform: translateY(-4px);
}

.culture-inner {
    transition: transform 0.35s ease;
}

.culture-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
}

.culture-inner.center {
    align-items: center;
    text-align: center;
    padding: 40px 24px;
}

.culture-cn {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 4px;
    line-height: 1.2;
}

.culture-vision .culture-cn {
    font-size: 44px;
    letter-spacing: 6px;
}

.culture-en {
    font-size: 14px;
    letter-spacing: 3px;
    opacity: 0.9;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.culture-vision .culture-en {
    font-size: 18px;
    letter-spacing: 4px;
}

.culture-line {
    display: block;
    width: 30px;
    height: 2px;
    background: #fff;
    margin: 4px 0;
    opacity: 0.9;
}

.culture-inner.center .culture-line {
    margin: 4px auto;
}

.culture-tagline {
    font-size: 14px;
    letter-spacing: 1px;
    opacity: 0.9;
    line-height: 1.7;
}

.culture-vision .culture-tagline {
    margin-top: auto;
    font-size: 14px;
}

.culture-vision .culture-inner {
    justify-content: space-between;
    padding: 60px 50px;
    align-items: flex-start;
}

/* 标题放上半部分，tagline 放底部 */
.culture-vision .culture-cn,
.culture-vision .culture-en,
.culture-vision .culture-line {
    align-self: flex-start;
}

/* ==========================================
   运营目的与结果（首页）
   ========================================== */
.ops-result {
    background: #fff;
    padding: 56px 20px 72px;
}

.ops-result-card {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.12);
    background: #fff;
}

.ops-result-text {
    padding: 48px 44px 48px 48px;
}

.ops-result-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    line-height: 1.45;
    letter-spacing: 0.02em;
}

.ops-result-dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-top: 9px;
    border-radius: 50%;
    background: #1e3a8a;
}

.ops-result-list {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.ops-result-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 14px;
    font-size: 15px;
    color: #4b5563;
    line-height: 1.75;
}

.ops-result-list li:last-child {
    margin-bottom: 0;
}

.ops-result-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1e3a8a;
}

.ops-result-media {
    position: relative;
    min-height: 280px;
    overflow: hidden;
}

.ops-result-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    object-position: center;
}

/* ==========================================
   招商合作 Investment
   ========================================== */
.investment {
    background: #fff;
    padding-bottom: 0;
    position: relative;
}

/* 总部信息 */
.hq-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 20px 40px;
}

.hq-logo {
    width: 70px;
    height: auto;
    display: block;
}

.hq-text h3 {
    font-size: 28px;
    color: #1e3a8a;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.hq-text p {
    font-size: 14px;
    color: #6b7280;
    letter-spacing: 1px;
}

/* 8 城市 */
.city-list {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 60px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
}

.city-item {
    background: #f5f7fa;
    border-radius: 6px;
    padding: 18px 10px;
    text-align: center;
    transition: all 0.25s ease;
    cursor: pointer;
}

.city-item:hover {
    background: #1e3a8a;
    color: #fff;
    transform: translateY(-3px);
}

.city-item:hover .city-en,
.city-item:hover .city-cn {
    color: inherit;
}

.city-en {
    display: block;
    font-size: 12px;
    color: #9aa4b7;
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.city-cn {
    display: block;
    font-size: 16px;
    color: #374151;
    font-weight: bold;
    letter-spacing: 2px;
}

/* 加盟信息椭圆卡片 - 背景图仅作装饰切图，卡片顶部会向上溢出容器 */
.ellipse-wrap {
    position: relative;
    width: 100%;
    height: 620px;
    margin: 140px 0 0;
    background: url("https://bucket.tzgj333.cn/gwtp/img_pt.png") no-repeat center center;
    background-size: cover;
    overflow: visible;
}

.ellipse-inner {
    position: relative;
    max-width: 1600px;
    height: 620px;
    margin: 0 auto;
    padding: 0 40px;
}

.ellipse-floor {
    display: none;
}

/* 椭圆路径上的定位图钉 */
.ellipse-pin {
    position: absolute;
    width: 22px;
    height: 28px;
    z-index: 2;
    background: linear-gradient(160deg, #ff6b8a 0%, #e8395d 100%);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 6px 12px rgba(232, 57, 93, 0.35);
}

.ellipse-pin::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
}

/* 图钉椭圆底部的投影 */
.ellipse-pin::before {
    content: "";
    position: absolute;
    left: -6px;
    bottom: -10px;
    width: 32px;
    height: 8px;
    background: radial-gradient(ellipse, rgba(232, 57, 93, 0.35) 0%, transparent 70%);
    transform: rotate(45deg);
    z-index: -1;
}

/* 5 个图钉沿椭圆下半弧分布（与卡片底边对应） */
.ellipse-pin.pin-1 { left: 17%; top: 60%; }
.ellipse-pin.pin-2 { left: 33%; top: 50%; }
.ellipse-pin.pin-3 { left: 50%; top: 75%; transform: translateX(-50%) rotate(-45deg); }
.ellipse-pin.pin-4 { right: 33%; top: 50%; }
.ellipse-pin.pin-5 { right: 17%; top: 60%; }

/* 卡片通用样式 */
.ellipse-card {
    position: absolute;
    width: 220px;
    height: 300px;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 0 30px 0 rgba(204, 204, 204, 0.5);
    padding: 40px 24px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 3;
}

.ellipse-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(30, 58, 138, 0.22);
}

.ec-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ec-icon img {
    max-width: 100%;
    max-height: 100%;
}

.ellipse-card h4 {
    font-size: 20px;
    color: #1e3a8a;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.ellipse-card p {
    font-size: 13px;
    color: #8a93a5;
    line-height: 1.9;
    letter-spacing: 1px;
}

/* 5 张卡片按椭圆透视布局（卡片顶部向上溢出容器，呈现"立在椭圆上"的透视感）
   - 加盟流程 / 加盟支持（pos-2 / pos-4）：最远最高，top -80（向上突出容器 80px）
   - 品牌覆盖 / 供应链观念（pos-1 / pos-5）：中间，top -20
   - 加盟条件（pos-3）：最前最下，top 35（容器内部）
   - pos-2 到 pos-3 的垂直落差 = -80 + 115 = 35，刚好 115px
*/
.ellipse-card.pos-1 { left: 6%;    top: -20px; }
.ellipse-card.pos-2 { left: 24%;   top: -80px; }
.ellipse-card.pos-3 { left: 50%;   top: 35px;  transform: translateX(-50%); }
.ellipse-card.pos-4 { right: 24%;  top: -80px; }
.ellipse-card.pos-5 { right: 6%;   top: -20px; }

.ellipse-card.pos-3:hover {
    transform: translateX(-50%) translateY(-6px);
}

/* 立即加盟按钮 - 位于椭圆底图下方居中 */
.invest-cta {
    text-align: center;
    padding: 40px 0 80px;
}

.btn-apply {
    display: inline-block;
    padding: 14px 56px;
    background: #1e3a8a;
    color: #fff;
    font-size: 16px;
    letter-spacing: 3px;
    border-radius: 4px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.25);
}

.btn-apply:hover {
    background: #2647a8;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(30, 58, 138, 0.35);
}

/* ==========================================
   新闻动态 News
   ========================================== */
.news {
    background: #fff;
    padding-bottom: 80px;
}

.news-list {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(30, 58, 138, 0.08);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    color: inherit;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(30, 58, 138, 0.18);
}

.news-cover {
    position: relative;
    width: 100%;
    padding-bottom: 56%;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    overflow: hidden;
}

.news-cover::before {
    content: attr(data-title);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #93a5c6;
    font-size: 14px;
    letter-spacing: 2px;
    z-index: 0;
}

.news-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.news-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-body h4 {
    font-size: 16px;
    color: #1e3a8a;
    font-weight: bold;
    letter-spacing: 1px;
}

.news-body p {
    font-size: 12px;
    color: #8a93a5;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-btn {
    align-self: flex-end;
    display: inline-block;
    padding: 6px 16px;
    background: #1e3a8a;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    margin-top: 4px;
    letter-spacing: 1px;
    transition: background 0.25s ease;
}

.news-card:hover .news-btn {
    background: #2647a8;
}

.news-more {
    text-align: center;
    margin-top: 30px;
}

.news-more a {
    font-size: 13px;
    color: #8a93a5;
    letter-spacing: 2px;
    transition: color 0.25s ease;
}

.news-more a:hover {
    color: #1e3a8a;
}

/* ==========================================
   响应式（顶栏见 common.css）
   ========================================== */
@media (max-width: 992px) {
    .hero {
        margin-top: 64px;
        height: 420px;
    }

    .hero-content {
        padding: 80px 24px 0;
    }

    .hero-title {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .hero-title .gap {
        width: 20px;
    }

    .hero-sub {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .stats-card {
        width: calc(100% - 32px);
        bottom: -120px;
    }

    .stats-list {
        flex-wrap: wrap;
        padding: 20px 10px;
    }

    .stats-list li {
        flex: 0 0 50%;
        padding: 18px 10px;
    }

    .stats-list li:nth-child(2n+1)::before {
        display: none;
    }

    .stats-list li:nth-child(3)::before,
    .stats-list li:nth-child(4)::before {
        display: none;
    }

    .stats-num {
        font-size: 28px;
    }

    .stats-num i {
        font-size: 16px;
        top: 2px;
    }

    .stats-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 10px;
    }

    .stats-label {
        font-size: 13px;
    }

    .section-head {
        padding-top: 50px;
        padding-bottom: 30px;
    }

    .section-cn {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .section-en {
        font-size: 13px;
    }

    .brand-story {
        padding-bottom: 60px;
    }

    .story-card {
        margin: 0 16px;
        grid-template-columns: 1fr;
    }

    .story-text {
        padding: 30px 24px;
    }

    .story-text h3 {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .story-text p {
        font-size: 13px;
        line-height: 1.9;
    }

    .story-img {
        order: -1;
        max-height: 220px;
    }

    .ops-result {
        padding: 40px 16px 56px;
    }

    .ops-result-card {
        margin: 0;
        grid-template-columns: 1fr;
    }

    .ops-result-text {
        padding: 28px 24px 32px;
    }

    .ops-result-title {
        font-size: 18px;
    }

    .ops-result-dot {
        margin-top: 7px;
    }

    .ops-result-list {
        margin-top: 20px;
    }

    .ops-result-list li {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .ops-result-media {
        order: -1;
        min-height: 0;
        max-height: 240px;
    }

    .ops-result-media img {
        min-height: 0;
        height: 240px;
    }

    .product-center {
        padding-bottom: 50px;
    }

    .product-wrap {
        padding: 0 16px;
        gap: 8px;
    }

    .product-nav {
        width: 32px;
        height: 32px;
    }

    .product-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-cover {
        height: 180px;
    }

    .product-cover-text h4 {
        font-size: 18px;
    }

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

    .product-body h3 {
        font-size: 18px;
    }

    .btn-more {
        padding: 12px 40px;
        font-size: 14px;
    }

    .culture-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "vision vision"
            "mission core"
            "manage spirit";
        height: auto;
    }

    .culture-grid .culture-cell.culture-vision {
        min-height: 260px;
    }

    .culture-cell {
        min-height: 180px;
    }

    .culture-cn {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .culture-vision .culture-cn {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .culture-en {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .culture-vision .culture-en {
        font-size: 14px;
    }

    .culture-tagline {
        font-size: 12px;
    }

    .culture-inner,
    .culture-vision .culture-inner {
        padding: 24px 18px;
    }

    .culture-inner.center {
        padding: 24px 18px;
    }

    /* 招商合作 - 移动端 */
    .hq-info {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 0 16px 30px;
    }

    .hq-text h3 {
        font-size: 20px;
    }

    .city-list {
        grid-template-columns: repeat(4, 1fr);
        padding: 0 16px 40px;
        gap: 10px;
    }

    .city-item {
        padding: 12px 6px;
    }

    .city-cn {
        font-size: 14px;
    }

    /* 椭圆布局在小屏上改成 grid */
    .ellipse-wrap {
        aspect-ratio: auto;
        height: auto;
        min-height: 0;
        max-height: none;
        margin: 30px 0 0;
        padding: 20px 16px;
        background-size: cover;
    }

    .ellipse-inner {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 0;
    }

    .ellipse-pin {
        display: none;
    }

    .ellipse-floor {
        display: none;
    }

    .ellipse-card,
    .ellipse-card.pos-1,
    .ellipse-card.pos-2,
    .ellipse-card.pos-3,
    .ellipse-card.pos-4,
    .ellipse-card.pos-5 {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        height: auto;
        min-height: 200px;
        padding: 24px 16px;
    }

    .ellipse-card.pos-3 {
        grid-column: 1 / -1;
    }

    .ellipse-card.pos-1:hover,
    .ellipse-card.pos-2:hover,
    .ellipse-card.pos-3:hover,
    .ellipse-card.pos-4:hover,
    .ellipse-card.pos-5:hover {
        transform: translateY(-4px);
    }

    .invest-cta {
        padding: 24px 0 40px;
    }

    .btn-apply {
        padding: 12px 40px;
        font-size: 14px;
    }

    /* 新闻动态 - 移动端 */
    .news {
        padding-bottom: 50px;
    }

    .news-list {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0 16px;
    }

    .news-body {
        padding: 16px 18px 20px;
    }
}

