﻿
:root {
    --brand: #303296;
    --primary-green: #303296;
    --dark: #1f2937;
    --text: #374151;
    --muted: #6b7280;
    --bg: #f6f6f6;
    --white: #fff;
    --container-max: 1400px;
    --container-padding: 10px;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Header (from contact) */
.header {
    background: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.nav {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 40px;
    display: flex;
    align-items: center;
}

    .logo img {
        height: 100%;
        max-height: 40px;
        width: auto;
    }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

    .nav-links a {
        text-decoration: none;
        color: #374151;
        display: flex;
        align-items: center;
        gap: .3rem;
        font-weight: 500;
    }

        .nav-links a.active, .nav-links a:hover {
            color: var(--brand);
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dropdown-arrow {
    font-size: .8rem;
}

.search-icon {
    width: 16px;
    height: 16px;
    border: 2px solid #374151;
    border-radius: 50%;
    position: relative;
}

    .search-icon::after {
        content: "";
        position: absolute;
        bottom: -4px;
        right: -4px;
        width: 6px;
        height: 2px;
        background: #374151;
        transform: rotate(45deg);
    }

.spacer {
    height: 80px;
}

/* Hero banner */
.hero {
    position: relative;
}

    .hero img {
        width: 100%;
        height: 600px;
        object-fit: cover;
        display: block;
    }

.hero-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: min(calc(100% - calc(var(--container-padding) * 2)), var(--container-max));
    padding-left: var(--container-padding);
    top: 120px;
    color: #fff;
    font-size: 52px;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 6px 18px rgba(0,0,0,.35);
    z-index: 5;
}

.breadcrumb-bar {
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

.breadcrumb {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6b7280;
    font-size: 14px;
}

    .breadcrumb a {
        color: #6b7280;
        text-decoration: none;
    }

        .breadcrumb a:hover {
            color: var(--brand);
        }

.crumb-sep {
    color: #9ca3af;
}

/* Intro block */
.intro {
    background: transparent;
    padding: 0;
}

.about-main {
    position: relative;
    z-index: 3;
    margin-top: -90px;
    padding-bottom: 40px;
}

.about-card {
    background: transparent;
    box-shadow: none;
    padding: 0;
    border: none;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    grid-template-rows: auto 1fr;
    gap: 2rem 3rem;
    align-items: center;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 18px 40px rgba(0,0,0,.10);
    padding: 28px 30px;
    border: 1px solid rgba(17,24,39,.06);
}

    .intro-grid > .breadcrumb {
        grid-column: 1 / -1;
    }

.intro p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.about-text {
    column-count: 1;
    column-gap: 2.2rem;
}

    .about-text p {
        break-inside: avoid;
    }

        .about-text p:first-child {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--dark);
            line-height: 1.2;
            margin-bottom: 2rem;
        }

        .about-text p:nth-child(2) {
            font-size: 18px;
            letter-spacing: .18em;
            text-transform: uppercase;
            color: #111827;
            position: relative;
            padding-bottom: 12px;
            margin-bottom: 18px;
        }

            .about-text p:nth-child(2)::after {
                content: "";
                position: absolute;
                left: 0;
                bottom: 0;
                width: 120px;
                height: 4px;
                background: #c53442;
                border-radius: 2px;
            }

.intro-figure {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    justify-self: center;
    display: grid;
    place-items: center;
    margin: 0 auto;
}

    .intro-figure::before {
        content: "";
        position: absolute;
        width: calc(100% + 60px);
        height: calc(100% + 60px);
        border-radius: 50%;
        background: conic-gradient(#ffd43b 0deg 300deg, transparent 300deg 360deg);
        z-index: 1;
    }

    .intro-figure img {
        position: relative;
        z-index: 2;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        box-shadow: 0 10px 30px rgba(0,0,0,.18);
    }

/* Certificate dark block */
.cert {
    background: linear-gradient(180deg,#1a1d22 0%, #21262d 100%);
    color: #e5e7eb;
    padding: 72px 0;
}

.cert-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.frame {
    width: 500px;
    aspect-ratio: 1000 / 796;
    height: auto;
    background: #ffffff url(/images/ISO.png) center/contain no-repeat;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,.45);
    justify-self: center;
    overflow: hidden;
}

.cert h3 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 12px;
}

.cert p {
    color: #c7cbd1;
}

/* What We Do section */
.what-we-do {
    background: #fff;
    padding: 80px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 2rem;
}

.intro-paragraph {
    max-width: 1400px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.intro-left, .intro-right {
    text-align: left;
}

.intro-paragraph p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #000;
    margin: 0;
}

.feature-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem;
    text-align: left;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border-color: var(--primary-green);
    }

.feature-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: flex-start;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #000;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

/* Values and Development sections */
.values-development {
    background: rgba(246, 246, 246, 1);
}

.vd-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: auto auto auto auto;
    gap: 0;
    max-width: 100%;
    margin: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Row 1: Left image (edge) + Right content */
.team-image {
    grid-column: 1;
    grid-row: 1;
}

.values-text {
    grid-column: 2;
    grid-row: 1;
    padding: 40px 60px 40px 100px;
}

/* Row 2: Left content + Right image (edge) */
.development-text {
    grid-column: 1;
    grid-row: 2;
    padding: 40px 100px 40px 60px;
}

.ski-image {
    grid-column: 2;
    grid-row: 2;
}

/* Row 3: Left image (edge) + Right content */
.family-image {
    grid-column: 1;
    grid-row: 3;
}

.future-text {
    grid-column: 2;
    grid-row: 3;
    padding: 40px 60px 40px 100px;
}

/* Row 4: Left content + Right image (edge) */
.development-text-duplicate {
    grid-column: 1;
    grid-row: 4;
    padding: 40px 100px 40px 60px;
}

.right-image {
    grid-column: 2;
    grid-row: 4;
}

.vd-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.vd-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: left;
}

.vd-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1rem;
    text-align: left;
}

/* Set specific heights for images */
.team-image {
    height: auto;
    min-height: 300px;
}

.ski-image {
    height: auto;
    min-height: 300px;
}

.family-image {
    height: auto;
    min-height: 300px;
}

.right-image {
    height: auto;
    min-height: 300px;
}

/* Text content styling */
.values-text, .development-text, .future-text, .development-text-duplicate {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Footer (same as contact) */
.footer {
    background: #1f2937;
    color: #fff;
    padding: 3rem 0 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}

.footer-mission {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 3rem;
    color: rgba(204,204,204,1);
    line-height: 1.6;
    max-width: 600px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: .5rem;
}

.footer-column a {
    color: #d1d5db;
    text-decoration: none;
    font-size: .9rem;
    transition: color .3s;
}

    .footer-column a:hover {
        color: #fff;
    }

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform .3s;
    overflow: hidden;
}

    .social-icon:hover {
        transform: scale(1.1);
    }

    .social-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
    font-size: .9rem;
}

@media (max-width: 900px) {
    .intro-grid, .cert-grid, .feature-cards, .intro-paragraph, .zz {
        grid-template-columns: 1fr;
    }

    .about-text {
        column-count: 1;
    }

    .intro-figure {
        width: 260px;
        height: 260px;
    }

    .zz img {
        height: 220px;
    }

    .hero-title {
        left: 50%;
        transform: translateX(-50%);
        top: 80px;
        font-size: 36px;
        width: calc(100% - 30px);
        padding-left: 15px;
    }

    .nav-links {
        display: none;
    }

    .feature-cards {
        gap: 2rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .intro-paragraph {
        margin-bottom: 3rem;
        gap: 2rem;
    }

    /* 手机端 Values and Development 区域 - 上图下文交替布局 */
    .vd-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto auto;
        width: 100%;
        margin-left: 0;
    }

    /* 重新排列为上下布局 - 图片-文字-图片-文字-图片-文字 */
    .team-image {
        grid-column: 1;
        grid-row: 1;
    }

    .values-text {
        grid-column: 1;
        grid-row: 2;
        padding: 30px 20px;
    }

    .ski-image {
        grid-column: 1;
        grid-row: 3;
    }

    .development-text {
        grid-column: 1;
        grid-row: 4;
        padding: 30px 20px;
    }

    .family-image {
        grid-column: 1;
        grid-row: 5;
    }

    .future-text {
        grid-column: 1;
        grid-row: 6;
        padding: 30px 20px;
    }

    /* 图片高度调整 */
    .team-image, .ski-image, .family-image, .right-image {
        height: 250px;
        min-height: 250px;
    }

    /* 文字样式调整 */
    .vd-item h3 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .vd-item p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Quality Policy 区域手机端适配 */
    .cert {
        padding: 40px 0;
    }

    .cert-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .frame {
        width: 100%;
        max-width: 300px;
        height: auto;
        aspect-ratio: 1000 / 796;
        margin: 0 auto;
    }

    .cert h3 {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .cert p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 12px;
    }
}

