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

:root {
    --bg-deep: #080808;
    --surface: #0E0E0E;
    --bg-elevated: #161616;
    /* 板块分层：纯黑带 vs 灰色带（替代原蓝/白交替） */
    --section-black: #080808;
    --section-gray: #242424;
    --section-gray-soft: #2E2E2E;
    --bg-warm: #2A2A2A;
    --gold: #B09A72;
    --gold-deep: #8B7755;
    --gold-bright: #E8DCC4;
    --nav-bg: #191919;
    --nav-bg-alt: #252525;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.88);
    --border-color: rgba(176, 154, 114, 0.35);
    /* legacy token aliases (blue → gold, white surfaces → black) */
    --primary-blue: var(--gold);
    --dark-blue: var(--gold-bright);
    --light-blue: var(--section-gray-soft);
    --text-dark: var(--text-primary);
    --text-gray: var(--text-secondary);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--section-black);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: linear-gradient(90deg, var(--nav-bg) 0%, var(--nav-bg-alt) 100%);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    width: 78px;
    height: 78px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: brightness(1.12) contrast(1.12) saturate(1.08)
        drop-shadow(0 0 8px rgba(245, 239, 227, 0.55))
        drop-shadow(0 0 18px rgba(245, 239, 227, 0.28));
}

.logo a {
    font-size: 1.38rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.6rem;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.08rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(165deg, var(--section-black) 0%, #101010 40%, #181818 100%);
    padding: 0;
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    z-index: 0;
    opacity: 0.35;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 4 / 3;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: -1px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title-line {
    display: block;
    width: 100%;
    color: var(--text-primary);
}

.hero-title-brand {
    color: #D1C4A8;
    background: linear-gradient(
        105deg,
        #F2EAD8 0%,
        #D4C4A0 28%,
        #B8976A 55%,
        #8E7550 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@supports not (background-clip: text) {
    .hero-title-brand {
        background: none;
        -webkit-text-fill-color: unset;
        color: #D1C4A8;
    }
}

.hero-title-orange {
    color: var(--gold-bright);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Mission Statement Section */
.mission-statement {
    padding: 80px 0;
    background: var(--section-gray);
}

.mission-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.mission-text {
    font-size: 1.8rem;
    line-height: 1.9;
    color: var(--text-primary);
    max-width: 70%;
    text-align: left;
    margin: 0;
    font-weight: 400;
    flex-shrink: 0;
}

.mission-highlight {
    color: var(--gold-bright);
    font-weight: 400;
}

.mission-statement .btn-primary {
    flex-shrink: 0;
    white-space: nowrap;
    margin-left: auto;
    background: var(--gold);
    color: var(--text-primary);
}

.mission-statement .btn-primary:hover {
    background: var(--gold-deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(176, 154, 114, 0.35);
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--gold);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--gold-deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(176, 154, 114, 0.35);
}

/* Stats Section */
.stats {
    background: var(--section-gray);
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--gold-bright);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 400;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--section-black);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    text-align: justify;
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--section-black);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-elevated);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.service-card-with-image {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
    padding: 0;
    overflow: hidden;
}

.service-image-placeholder {
    flex-shrink: 0;
    width: 400px;
    height: 300px;
    aspect-ratio: 4 / 3;
    background: var(--light-blue);
    position: relative;
    overflow: hidden;
}

.service-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

#prepare-image,
#growth-image,
#protection-image {
    filter: contrast(0.8) brightness(1.1) saturate(0.85) blur(0.5px);
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.service-content-right {
    flex: 1;
    padding: 1.5rem 2.5rem;
    text-align: left;
}

.service-content-right h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-content-right p {
    color: var(--text-gray);
    line-height: 1.7;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Detailed Services */
.detailed-services {
    padding: 100px 0;
    background: var(--section-gray);
}

.service-detail {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-color);
}

.service-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-detail h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-detail p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    text-align: justify;
}

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

.service-link:hover {
    color: var(--gold-bright);
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: var(--section-gray);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--bg-elevated);
    padding: 2.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.project-category {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(176, 154, 114, 0.15);
    color: var(--gold-bright);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 4px;
    margin-bottom: 1rem;
}

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

.project-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Insights Section */
.insights {
    padding: 100px 0;
    background: var(--section-gray);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.insight-card {
    background: var(--bg-elevated);
    padding: 2.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--gold);
}

.insight-type {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(176, 154, 114, 0.12);
    color: var(--gold-bright);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 4px;
    margin-bottom: 1rem;
}

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

.insight-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--section-gray);
    text-align: center;
    color: var(--text-primary);
}

.cta h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.cta .btn-primary {
    background: var(--gold);
    color: var(--text-primary);
}

.cta .btn-primary:hover {
    background: var(--gold-deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(176, 154, 114, 0.35);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--section-black);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-info p {
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.contact-info p:first-of-type {
    margin-bottom: 0;
}

.contact-details {
    margin-top: 3rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.social-media {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    align-items: flex-end;
    padding-top: 2rem;
}

.social-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: var(--light-blue);
}

.social-icon:hover {
    color: var(--text-primary);
    background: var(--gold);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon .tooltip {
    position: absolute;
    background: var(--gold-deep);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-icon .tooltip::before {
    content: '';
    position: absolute;
    border: 5px solid transparent;
}

.social-icon.linkedin .tooltip {
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
}

.social-icon.linkedin .tooltip::before {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top-color: var(--gold-deep);
}

.social-icon.linkedin:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.social-icon.twitter .tooltip {
    bottom: calc(100% + 10px);
    right: 0;
    transform: translateY(5px);
}

.social-icon.twitter .tooltip::before {
    top: 100%;
    right: 20px;
    border-top-color: var(--gold-deep);
}

.social-icon.twitter:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.social-icon.facebook .tooltip {
    bottom: calc(100% + 10px);
    left: 0;
    transform: translateY(5px);
}

.social-icon.facebook .tooltip::before {
    top: 100%;
    left: 20px;
    border-top-color: var(--gold-deep);
}

.social-icon.facebook:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.find-us h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border-color);
}

.map-container #map {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 8px;
}

.map-container .leaflet-container {
    border-radius: 8px;
    font-family: Arial, Helvetica, sans-serif;
    height: 100% !important;
    min-height: 300px;
}

.map-container .leaflet-control-attribution {
    display: none !important;
}

.map-container .leaflet-control:not(.leaflet-control-zoom) {
    display: none !important;
}

.map-container .leaflet-control-zoom {
    display: block !important;
}

.map-container .leaflet-control-zoom a {
    background-color: var(--bg-elevated) !important;
    color: var(--gold-bright) !important;
    border: 1px solid var(--border-color) !important;
    width: 30px;
    height: 30px;
    line-height: 30px;
}

.map-container .leaflet-control-zoom a:hover {
    background-color: var(--section-gray-soft) !important;
    color: var(--gold) !important;
}

/* Footer */
.footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--gold-bright);
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(180deg, var(--nav-bg) 0%, var(--nav-bg-alt) 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
        border-bottom: 1px solid var(--border-color);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

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

    .mission-statement {
        padding: 60px 0;
    }

    .mission-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .mission-text {
        font-size: 1.5rem;
        text-align: left;
        max-width: 100%;
        color: var(--text-primary);
    }

    .mission-statement .btn-primary {
        align-self: flex-start;
        margin-left: 0;
    }

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

    .services-grid,
    .projects-grid,
    .insights-grid {
        grid-template-columns: 1fr;
    }

    .service-card-with-image {
        flex-direction: column;
    }

    .service-image-placeholder {
        width: 100%;
        aspect-ratio: 4 / 3;
    }

    .service-content-right {
        padding: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .social-media {
        margin-top: 2rem;
        padding-top: 0;
    }

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

@media (max-width: 600px) {
    .hero {
        min-height: calc(100vh - 70px);
        padding: 0;
    }

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

    .mission-statement {
        padding: 50px 0;
    }

    .mission-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .mission-text {
        font-size: 1.3rem;
        text-align: left;
        max-width: 100%;
        color: var(--text-primary);
    }

    .mission-statement .btn-primary {
        align-self: flex-start;
        margin-left: 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 2.5rem;
    }

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

    .stat-number {
        font-size: 3.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

