/* ==========================================================================
   Xinyuan Corporate Presentation — Luxury Manufacturing Aesthetic
   Version: 2.3.0
   ========================================================================== */

:root {
    --xy-gold: #b49863;
    --xy-gold-dark: #8c7344;
    --xy-gold-light: #d6be90;
    --xy-gold-soft: rgba(180, 152, 99, 0.12);
    --xy-ink: #222326;
    --xy-ink-light: #55575c;
    --xy-muted: #888b94;
    --xy-border: #eae6dc;
    --xy-border-light: #f0ece3;
    --xy-surface: #faf9f6;
    --xy-surface-alt: #f4f1ea;
    --xy-white: #ffffff;
    --xy-radius: 8px;
    --xy-transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.xy-company {
    color: var(--xy-ink);
    background: var(--xy-white);
    font-size: 16px;
    line-height: 1.85;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.xy-company * {
    box-sizing: border-box;
}

.xy-company h1, .xy-company h2, .xy-company h3, .xy-company h4, .xy-company p, .xy-company figure {
    margin: 0;
}

.xy-company img {
    display: block;
    max-width: 100%;
    height: auto;
}

.xy-company a {
    text-decoration: none;
    color: inherit;
}

/* Ast theme container resets */
.xy-company-page .entry-header,
.xy-company-page .ast-single-entry-banner {
    display: none !important;
}

.xy-company-page #primary {
    margin: 0 !important;
    width: 100% !important;
}

.xy-company-page #secondary {
    display: none !important;
}

.xy-company-page .site-content > .ast-container {
    max-width: none !important;
    padding: 0 !important;
    display: block !important;
}

.xy-company-page .site-main article.page {
    padding: 0 !important;
    margin: 0 !important;
    background: white;
}

.xy-company-page .entry-content {
    max-width: none !important;
}

/* --------------------------------------------------------------------------
   Header Hero & Navigation (Luminous European Architectural Standard)
   -------------------------------------------------------------------------- */
.xy-hero {
    min-height: 360px;
    background: #f8fafc;
    background-image: 
        radial-gradient(rgba(15, 23, 42, 0.07) 1.2px, transparent 1.2px),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #edf2f7 100%);
    background-size: 24px 24px, 100% 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
}

.xy-hero-inner {
    width: min(1280px, 90%);
    margin: auto;
    position: relative;
    z-index: 2;
    padding: 60px 0 65px;
}

.xy-company .xy-eyebrow {
    font-size: 12px;
    letter-spacing: 2px;
    color: #df2020;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(223, 32, 32, 0.08);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 6px;
}

.xy-company .xy-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #df2020;
    display: inline-block;
}

.xy-company .xy-hero h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 12px 0 12px;
    color: #0f172a;
    line-height: 1.25;
}

.xy-hero-inner > p:last-child {
    font-size: clamp(15px, 1.5vw, 18px);
    color: #475569;
    font-weight: 400;
    letter-spacing: 0.2px;
    max-width: 820px;
    line-height: 1.6;
}

.xy-hero-word {
    font-size: clamp(90px, 18vw, 240px);
    font-weight: 900;
    position: absolute;
    right: 20px;
    bottom: -40px;
    letter-spacing: 8px;
    color: rgba(15, 23, 42, 0.035);
    pointer-events: none;
    line-height: 1;
    user-select: none;
}

/* ==========================================================================
   Hero Showcase Carousel Slider (Luminous European Industrial Grandeur)
   ========================================================================== */
.xy-hero-slider {
    position: relative;
    width: 100%;
    min-height: 520px;
    height: 560px;
    max-height: 620px;
    overflow: hidden;
    background: #090d16;
    color: #ffffff;
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
    .xy-hero-slider {
        height: auto;
        min-height: 480px;
    }
}

@media (max-width: 640px) {
    .xy-hero-slider {
        min-height: 440px;
    }
}

.xy-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.xy-slide-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
    z-index: 1;
    display: flex;
    align-items: center;
}

.xy-slide-item.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.xy-hero-slider.xy-hero-static {
    height: auto;
    min-height: 0;
    max-height: none;
}

.xy-hero-static .xy-slide-item {
    position: relative;
    min-height: clamp(240px, 30vw, 460px);
}

.xy-hero-static .xy-slide-content {
    padding-block: clamp(48px, 7vw, 104px);
}

.xy-hero-static .xy-slide-title {
    overflow-wrap: anywhere;
}

.xy-hero-static .xy-slide-desc:last-child {
    margin-bottom: 0;
}

/* Background image with Ken Burns subtle cinematic zoom */
.xy-slide-bg {
    position: absolute;
    inset: 0;
    background-image: var(--xy-hero-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.06);
    transition: transform 6s cubic-bezier(0.1, 0.5, 0.1, 1);
    will-change: transform;
}

@media (max-width: 768px) {
    .xy-slide-bg { background-image: var(--xy-hero-mobile-image, var(--xy-hero-image)); }
}

@media (max-width: 900px) {
    .xy-company .xy-hero-slider { max-height: none; }
    .xy-company .xy-slider-track { display: grid; grid-template-columns: minmax(0, 1fr); height: auto; }
    .xy-company .xy-slide-item { position: relative; grid-area: 1 / 1; height: auto; }
    .xy-company .xy-slide-content { min-width: 0; padding-block: 32px 100px; overflow-wrap: anywhere; }
    .xy-company .xy-slider-tab { min-width: 0; }
    .xy-company .xy-tab-text { overflow-wrap: anywhere; }
    .xy-company .xy-section-nav { overflow-x: auto; justify-content: flex-start; }
}

@media (max-width: 360px) {
    body:is(.xy-company-page, .xinyuan-catalog-page) :is(#masthead, .lkl-corporate-footer) .xy-brand-mfg-pill { display: none !important; }
    body:is(.xy-company-page, .xinyuan-catalog-page) .lkl-corporate-footer :is(.lkl-nl-text, .lkl-nl-form) { min-width: 0; }
}

.xy-slide-item.is-active .xy-slide-bg {
    transform: scale(1);
}

/* High-contrast premium overlay: deep slate/navy gradient guaranteeing crisp readability */
.xy-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg, 
        rgba(9, 13, 22, 0.94) 0%, 
        rgba(9, 13, 22, 0.82) 48%, 
        rgba(9, 13, 22, 0.45) 80%,
        rgba(9, 13, 22, 0.25) 100%
    );
    z-index: 2;
}

@media (max-width: 768px) {
    .xy-slide-overlay {
        background: linear-gradient(
            180deg, 
            rgba(9, 13, 22, 0.75) 0%, 
            rgba(9, 13, 22, 0.92) 50%,
            rgba(9, 13, 22, 0.97) 100%
        );
    }
}

/* Slide Content Container */
.xy-slide-content {
    position: relative;
    z-index: 3;
    width: min(1280px, 92%);
    margin: 0 auto;
    padding: 60px 0 100px;
}

@media (max-width: 768px) {
    .xy-slide-content {
        padding: 40px 0 90px;
    }
}

/* Badge pill */
.xy-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #ffd166;
    background: rgba(255, 209, 102, 0.12);
    border: 1px solid rgba(255, 209, 102, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 9999px;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    transform: translateY(18px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, opacity 0.6s ease 0.1s;
}

.xy-slide-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff5252;
    box-shadow: 0 0 10px #ff5252;
    display: inline-block;
}

.xy-slide-item.is-active .xy-slide-badge {
    transform: translateY(0);
    opacity: 1;
}

/* Title */
.xy-slide-title {
    font-size: clamp(28px, 3.8vw, 46px);
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    max-width: 880px;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
    transform: translateY(22px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, opacity 0.6s ease 0.2s;
}

.xy-slide-item.is-active .xy-slide-title {
    transform: translateY(0);
    opacity: 1;
}

/* Description */
.xy-slide-desc {
    font-size: clamp(14px, 1.4vw, 17px);
    line-height: 1.75;
    color: rgba(241, 245, 249, 0.88);
    max-width: 780px;
    margin: 0 0 24px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    transform: translateY(22px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, opacity 0.6s ease 0.3s;
}

.xy-slide-item.is-active .xy-slide-desc {
    transform: translateY(0);
    opacity: 1;
}

/* Metric pills */
.xy-slide-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
    transform: translateY(22px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s, opacity 0.6s ease 0.4s;
}

.xy-slide-item.is-active .xy-slide-metrics {
    transform: translateY(0);
    opacity: 1;
}

.xy-slide-metric-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.xy-metric-icon-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #df2020;
    box-shadow: 0 0 6px rgba(223, 32, 32, 0.8);
    display: inline-block;
}

/* CTA Action Buttons */
.xy-slide-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    transform: translateY(22px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.45s, opacity 0.6s ease 0.45s;
}

.xy-slide-item.is-active .xy-slide-actions {
    transform: translateY(0);
    opacity: 1;
}

.xy-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.xy-slide-btn-primary {
    background: #df2020;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(223, 32, 32, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.xy-slide-btn-primary:hover {
    background: #c61a1a;
    box-shadow: 0 6px 22px rgba(223, 32, 32, 0.6);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.xy-slide-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.xy-slide-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* Arrows */
.xy-slider-arrow {
    position: absolute;
    top: calc(50% - 24px);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(15, 23, 42, 0.45);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 0;
}

.xy-slider-arrow svg {
    width: 22px;
    height: 22px;
}

.xy-slider-arrow:hover {
    background: rgba(223, 32, 32, 0.9);
    border-color: rgba(223, 32, 32, 0.9);
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(223, 32, 32, 0.5);
}

.xy-slider-prev {
    left: 24px;
}

.xy-slider-next {
    right: 24px;
}

@media (max-width: 768px) {
    .xy-slider-arrow {
        display: none;
    }
}

/* Bottom Progress Tabs */
.xy-slider-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: min(1280px, 92%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 640px) {
    .xy-slider-pagination {
        gap: 8px;
        bottom: 12px;
    }
}

.xy-slider-tab {
    background: transparent;
    border: none;
    padding: 8px 4px;
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.xy-slider-tab:hover {
    color: #ffffff;
}

.xy-slider-tab.is-active {
    color: #ffffff;
}

.xy-company .xy-slider-tab:is(:hover, :focus) {
    background-color: transparent;
}

.xy-company .xy-slider-tab:focus-visible {
    outline: 2px solid #d6be90;
    outline-offset: 2px;
}

.xy-tab-progress {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.xy-tab-bar {
    width: 0%;
    height: 100%;
    background: #df2020;
    border-radius: 2px;
    transition: width 0.1s linear;
}

.xy-slider-tab.is-active .xy-tab-bar {
    background: #df2020;
}

.xy-tab-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.xy-tab-num {
    font-weight: 800;
    color: #df2020;
    font-family: monospace;
    font-size: 13px;
}

.xy-slider-tab:not(.is-active) .xy-tab-num {
    color: rgba(255, 255, 255, 0.5);
}

.xy-tab-text {
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640px) {
    .xy-tab-text {
        font-size: 11px;
    }
}

/* Watermark */
.xy-slider-watermark {
    position: absolute;
    right: 24px;
    bottom: 30px;
    font-size: clamp(80px, 14vw, 180px);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.035);
    letter-spacing: 8px;
    pointer-events: none;
    line-height: 1;
    z-index: 2;
    user-select: none;
}

.xy-section-nav {
    display: flex;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid #e2e8f0;
}

.xy-section-nav a {
    min-width: 170px;
    padding: 16px 20px;
    color: #64748b;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.xy-section-nav svg {
    width: 20px;
    height: 20px;
    color: #94a3b8;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.xy-section-nav a:hover {
    color: #df2020;
    background: rgba(223, 32, 32, 0.03);
}

.xy-section-nav a:hover svg {
    color: #df2020;
}

.xy-section-nav a[aria-current],
.xy-section-nav a[aria-current="page"] {
    color: #df2020 !important;
    border-bottom-color: #df2020 !important;
    background: rgba(223, 32, 32, 0.05) !important;
    font-weight: 700;
}

.xy-section-nav a[aria-current] svg,
.xy-section-nav a[aria-current="page"] svg {
    color: #df2020 !important;
}

.xy-company .xy-company-sections a {
    flex: 0 1 134px;
    min-width: 0;
    width: auto;
    min-height: 52px;
    padding: 12px 8px;
    line-height: 1.35;
}

.xy-company .xy-company-sections a:focus-visible {
    outline: 2px solid #0288d1;
    outline-offset: -4px;
}

@media (max-width: 860px) {
    .xy-company .xy-company-sections {
        justify-content: flex-start;
        overflow-x: auto;
    }
    .xy-company .xy-company-sections a {
        flex: 0 0 auto;
        gap: 6px;
        padding-inline: 10px;
        white-space: nowrap;
    }
    .xy-company .xy-company-sections svg {
        width: 16px;
        height: 16px;
    }
}

/* --------------------------------------------------------------------------
   Section Layout & Headings
   -------------------------------------------------------------------------- */
.xy-section {
    padding: 100px max(5%, calc((100% - 1280px) / 2));
    scroll-margin-top: 90px;
}

.xy-heading {
    text-align: center;
    margin-bottom: 50px;
}

.xy-heading > span {
    font-size: 11px;
    letter-spacing: 2.5px;
    color: #df2020;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 10px;
    background: rgba(223, 32, 32, 0.06);
    padding: 4px 12px;
    border-radius: 12px;
}

.xy-company .xy-heading h2 {
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.35;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.xy-heading i {
    display: block;
    width: 48px;
    height: 3px;
    background: #df2020;
    margin: 0 auto;
    border-radius: 2px;
}

.xy-heading > p {
    color: #64748b;
    margin-top: 16px;
    font-size: clamp(15px, 1.3vw, 17px);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.xy-subheading {
    text-align: center;
    margin: 90px auto 45px;
    max-width: 820px;
}

.xy-subheading span {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--xy-gold-dark);
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.xy-subheading h3 {
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: 400;
    color: var(--xy-ink);
    margin: 0 0 10px;
    letter-spacing: 1px;
}

.xy-subheading p {
    font-size: 15px;
    color: var(--xy-ink-light);
    margin: 0;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Reserved Photo Slot Placeholder (Architectural Blueprint Style)
   -------------------------------------------------------------------------- */
.xy-slot-placeholder {
    aspect-ratio: var(--xy-ratio, 16/9);
    min-height: 220px;
    background: linear-gradient(135deg, #fbfaf7 0%, #f4f0e6 100%);
    border: 1.5px dashed #d6cebe;
    border-radius: var(--xy-radius);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 24px;
    text-align: center;
    transition: var(--xy-transition);
}

.xy-slot-placeholder:hover {
    border-color: var(--xy-gold);
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(180, 152, 99, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f6f3eb 100%);
}

.xy-slot-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(180, 152, 99, 0.18) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.7;
}

.xy-slot-inner {
    position: relative;
    z-index: 2;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.xy-slot-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(180, 152, 99, 0.12);
    color: var(--xy-gold-dark);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 12px;
    border: 1px solid rgba(180, 152, 99, 0.28);
}

.xy-slot-badge svg {
    color: var(--xy-gold-dark);
}

.xy-slot-icon {
    color: var(--xy-gold);
    margin-bottom: 12px;
    opacity: 0.9;
    transition: var(--xy-transition);
}

.xy-slot-placeholder:hover .xy-slot-icon {
    transform: scale(1.1);
    color: var(--xy-gold-dark);
}

.xy-slot-title {
    font-size: clamp(16px, 1.8vw, 19px);
    font-weight: 500;
    color: var(--xy-ink);
    margin: 0 0 8px;
    line-height: 1.4;
}

.xy-slot-desc {
    font-size: 13px;
    color: var(--xy-ink-light);
    line-height: 1.65;
    margin: 0 auto 12px;
    max-width: 480px;
}

.xy-slot-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--xy-muted);
    flex-wrap: wrap;
    justify-content: center;
}

.xy-slot-meta code {
    background: #eae5d7;
    color: #6d5b35;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: Consolas, Monaco, "Courier New", monospace;
    font-size: 11px;
    font-weight: 600;
}

.xy-slot-dim {
    background: rgba(0, 0, 0, 0.05);
    padding: 3px 10px;
    border-radius: 4px;
    color: #555;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Real Image Display Container (.xy-media-wrap)
   -------------------------------------------------------------------------- */
.xy-media-wrap {
    aspect-ratio: var(--xy-ratio, 16/9);
    position: relative;
    overflow: hidden;
    border-radius: var(--xy-radius);
    margin: 0;
    background: #222;
}

.xy-media-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.xy-media-wrap:hover img {
    transform: scale(1.04);
}

.xy-media-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(18, 18, 20, 0.88) 0%, transparent 100%);
    padding: 35px 22px 16px;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* --------------------------------------------------------------------------
   SECTION 1: Profile (企业概况)
   -------------------------------------------------------------------------- */
.xy-campus-hero-wrap {
    margin-bottom: 70px;
    border-radius: var(--xy-radius);
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

.xy-profile-overview {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.xy-lead-title {
    font-size: 26px;
    font-weight: 400;
    color: var(--xy-ink);
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.xy-company .xy-lead {
    font-size: 19px;
    line-height: 1.85;
    color: #222;
    margin-bottom: 18px;
    font-weight: 400;
}

.xy-profile-lead-col p {
    color: var(--xy-ink-light);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 16px;
}

.xy-profile-metrics-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.xy-metric-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 24px 22px;
    border-radius: 10px;
    transition: all 0.28s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.xy-metric-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #df2020;
    opacity: 0.9;
}

.xy-metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border-color: rgba(223, 32, 32, 0.3);
}

.xy-metric-card strong {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    display: block;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.xy-metric-card strong small {
    font-size: 14px;
    font-weight: 600;
    color: #df2020;
    margin-left: 2px;
}

.xy-metric-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 8px 0 4px;
}

.xy-metric-card p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Dual Bases Grid */
.xy-dual-bases {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-bottom: 80px;
}

.xy-base-box {
    background: var(--xy-surface);
    border: 1px solid var(--xy-border);
    border-radius: var(--xy-radius);
    overflow: hidden;
    transition: var(--xy-transition);
}

.xy-base-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    border-color: var(--xy-gold-light);
}

.xy-base-body {
    padding: 32px;
}

.xy-base-tag {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--xy-gold-dark);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.xy-base-box h4 {
    font-size: 22px;
    font-weight: 400;
    color: var(--xy-ink);
    margin: 0 0 6px;
}

.xy-base-loc {
    font-size: 13px;
    color: var(--xy-muted);
    margin: 0 0 20px;
}

.xy-base-spec {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 16px 0;
    border-top: 1px solid var(--xy-border);
    border-bottom: 1px solid var(--xy-border);
    margin-bottom: 20px;
}

.xy-base-spec span {
    font-size: 12px;
    color: var(--xy-muted);
    display: block;
    margin-bottom: 4px;
}

.xy-base-spec strong {
    font-size: 20px;
    color: var(--xy-gold-dark);
    font-weight: 400;
}

.xy-base-spec strong small {
    font-size: 14px;
}

.xy-base-bullets {
    margin: 0;
    padding-left: 18px;
    color: var(--xy-ink-light);
    font-size: 13px;
    line-height: 1.85;
}

/* Crafts Grid */
.xy-crafts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 70px;
}

.xy-craft-card {
    background: #fff;
    border: 1px solid var(--xy-border);
    border-radius: var(--xy-radius);
    overflow: hidden;
    transition: var(--xy-transition);
}

.xy-craft-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--xy-gold-light);
}

.xy-craft-info {
    padding: 22px 18px;
    position: relative;
}

.xy-craft-no {
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 28px;
    font-weight: 200;
    color: #e4dec8;
}

.xy-craft-info h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--xy-ink);
    margin: 0 0 10px;
    max-width: 80%;
    line-height: 1.4;
}

.xy-craft-info p {
    font-size: 12px;
    color: var(--xy-ink-light);
    line-height: 1.7;
    margin: 0;
}

/* Custom Ecosystem Dark Strip */
.xy-custom-strip {
    background: linear-gradient(135deg, #24252a 0%, #17181c 100%);
    color: #fff;
    border-radius: 10px;
    padding: 50px;
    margin-top: 50px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.xy-custom-intro {
    text-align: center;
    margin-bottom: 40px;
}

.xy-custom-intro span {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--xy-gold);
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.xy-custom-intro h3 {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 400;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: 1px;
}

.xy-custom-intro p {
    font-size: 14px;
    color: #9c9ea4;
    margin: 0;
}

.xy-custom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.xy-custom-grid > div {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
}

.xy-custom-grid i {
    font-size: 12px;
    color: var(--xy-gold);
    font-style: normal;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.xy-custom-grid h4 {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 8px;
}

.xy-custom-grid p {
    font-size: 12px;
    color: #9c9ea4;
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------------------
   SECTION 2: Culture (企业文化)
   -------------------------------------------------------------------------- */
.xy-culture-motto-banner {
    background: var(--xy-surface);
    border-left: 4px solid var(--xy-gold);
    padding: 45px 50px;
    border-radius: 0 var(--xy-radius) var(--xy-radius) 0;
    margin-bottom: 60px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.xy-motto-tag {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--xy-gold-dark);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.xy-motto-inner h3 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 400;
    color: var(--xy-ink);
    margin: 0 0 16px;
    line-height: 1.4;
    letter-spacing: 1px;
}

.xy-motto-inner p {
    font-size: 16px;
    color: var(--xy-ink-light);
    line-height: 1.85;
    max-width: 900px;
    margin: 0;
}

.xy-culture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 80px;
}

.xy-culture-card {
    background: var(--xy-surface);
    border: 1px solid var(--xy-border);
    border-radius: var(--xy-radius);
    padding: 38px 34px;
    position: relative;
    transition: var(--xy-transition);
}

.xy-culture-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
    border-color: var(--xy-gold-light);
    background: #fff;
}

.xy-card-no {
    position: absolute;
    right: 28px;
    top: 24px;
    font-size: 38px;
    color: #e2dcce;
    font-weight: 300;
}

.xy-card-tag {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--xy-gold-dark);
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.xy-company .xy-culture-card h3 {
    font-size: 24px;
    font-weight: 400;
    color: var(--xy-ink);
    margin: 0 0 12px;
}

.xy-company .xy-culture-card h4 {
    font-size: 18px;
    font-weight: 500;
    color: var(--xy-gold-dark);
    margin-bottom: 12px;
    max-width: 88%;
}

.xy-culture-card > p:last-child {
    color: var(--xy-ink-light);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

/* Team Showcase */
.xy-team-subheading {
    margin-top: 90px;
}

.xy-team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.xy-team-item {
    background: var(--xy-surface);
    border: 1px solid var(--xy-border);
    border-radius: var(--xy-radius);
    overflow: hidden;
    transition: var(--xy-transition);
}

.xy-team-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--xy-gold-light);
}

.xy-team-meta {
    padding: 24px;
}

.xy-team-meta h4 {
    font-size: 18px;
    font-weight: 500;
    color: var(--xy-ink);
    margin: 0 0 8px;
}

.xy-team-meta p {
    font-size: 13px;
    color: var(--xy-ink-light);
    margin: 0;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   SECTION 3: History (发展历程)
   -------------------------------------------------------------------------- */
.xy-timeline-container {
    position: relative;
    max-width: 1100px;
    margin: 70px auto 40px;
    padding: 20px 0;
}

.xy-timeline-axis {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #b49863 0%, #ded8c8 50%, #b49863 100%);
    transform: translateX(-50%);
}

.xy-timeline-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    margin-bottom: 75px;
    align-items: center;
}

.xy-timeline-badge {
    position: absolute;
    left: 50%;
    top: 36px;
    transform: translate(-50%, -50%);
    z-index: 3;
    background: #fff;
    border: 2px solid var(--xy-gold);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(180, 152, 99, 0.28);
}

.xy-timeline-badge span {
    font-size: 14px;
    font-weight: 700;
    color: var(--xy-gold-dark);
    letter-spacing: 0.5px;
}

.xy-timeline-card {
    background: var(--xy-surface);
    border: 1px solid var(--xy-border);
    border-radius: var(--xy-radius);
    overflow: hidden;
    transition: var(--xy-transition);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.xy-timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    border-color: var(--xy-gold-light);
    background: #fff;
}

.xy-timeline-left .xy-timeline-card {
    grid-column: 1;
    margin-right: 55px;
}

.xy-timeline-right .xy-timeline-card {
    grid-column: 2;
    margin-left: 55px;
}

.xy-timeline-body {
    padding: 26px 24px;
}

.xy-timeline-year {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--xy-gold-dark);
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.xy-timeline-card h3 {
    font-size: 20px;
    font-weight: 400;
    color: var(--xy-ink);
    margin: 0 0 12px;
}

.xy-timeline-lead {
    font-size: 14px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 10px;
    font-weight: 500;
}

.xy-timeline-card p:last-child {
    font-size: 13px;
    color: var(--xy-ink-light);
    line-height: 1.7;
    margin: 0;
}

.xy-timeline-future .xy-timeline-badge {
    background: var(--xy-gold);
    border-color: var(--xy-gold-dark);
}

.xy-timeline-future .xy-timeline-badge span {
    color: #fff;
}

/* ==========================================================================
   Bilingual Milestone Timeline & Roadmap (2017 — 2026)
   ========================================================================== */
.xy-history-roadmap-wrap {
    max-width: 1180px;
    margin: 40px auto 60px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.xy-roadmap-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #0f172a;
    color: #ffffff;
}

.xy-roadmap-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.xy-roadmap-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #df2020;
    box-shadow: 0 0 8px #df2020;
}

.xy-roadmap-hint {
    font-size: 13px;
    color: #94a3b8;
}

.xy-roadmap-link {
    display: block;
    position: relative;
    overflow: hidden;
    background: #f8fafc;
}

.xy-roadmap-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.xy-roadmap-link:hover .xy-roadmap-img {
    transform: scale(1.02);
}

.xy-roadmap-overlay {
    position: absolute;
    bottom: 16px;
    right: 20px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.xy-roadmap-link:hover .xy-roadmap-overlay {
    background: #df2020;
}

/* Central Continuous Timeline Container */
.xy-bilingual-timeline {
    position: relative;
    max-width: 1180px;
    margin: 50px auto 70px;
    padding: 20px 0;
}

.xy-btimeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #df2020 0%, #0284c7 50%, #0f172a 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.xy-btimeline-item {
    position: relative;
    margin-bottom: 60px;
}

.xy-btimeline-item:last-child {
    margin-bottom: 0;
}

/* Center Year Node */
.xy-btimeline-node {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 3;
    margin-bottom: 24px;
}

.xy-node-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: #ffffff;
    border: 3px solid #df2020;
    padding: 8px 24px;
    border-radius: 9999px;
    box-shadow: 0 4px 20px rgba(223, 32, 32, 0.35);
    transition: all 0.3s ease;
}

.xy-btimeline-item:hover .xy-node-circle {
    background: #df2020;
    border-color: #ffffff;
    box-shadow: 0 6px 24px rgba(223, 32, 32, 0.55);
    transform: scale(1.05);
}

.xy-node-circle strong {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Content Grid with Dual Cards */
.xy-btimeline-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    position: relative;
    z-index: 2;
}

.xy-bcard {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.xy-bcard::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.xy-bcard-zh::before {
    background: linear-gradient(90deg, #df2020, #f87171);
}

.xy-bcard-en::before {
    background: linear-gradient(90deg, #0284c7, #38bdf8);
}

.xy-bcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.xy-bcard-zh:hover {
    border-color: rgba(223, 32, 32, 0.3);
}

.xy-bcard-en:hover {
    border-color: rgba(2, 132, 199, 0.3);
}

.xy-bcard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.xy-bcard-lang {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.xy-bcard-zh .xy-bcard-lang {
    background: rgba(223, 32, 32, 0.08);
    color: #df2020;
}

.xy-bcard-en .xy-bcard-lang {
    background: rgba(2, 132, 199, 0.08);
    color: #0284c7;
}

.xy-bcard-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.35;
    text-align: right;
}

.xy-bcard-figure {
    width: 100%;
    height: 240px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #f1f5f9;
}

.xy-bcard-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.xy-bcard:hover .xy-bcard-figure img {
    transform: scale(1.05);
}

.xy-bcard-body {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.xy-bcard-body p {
    font-size: 14px;
    line-height: 1.75;
    color: #475569;
    margin: 0;
}

/* Responsive bilingual timeline */
@media (max-width: 860px) {
    .xy-btimeline-content {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .xy-bcard-figure {
        height: 200px;
    }
    .xy-bcard-title {
        font-size: 16px;
    }
    .xy-btimeline-line {
        display: none;
    }
}

/* Capstone Card: GM Message & Dual Bases */
.xy-history-capstone {
    max-width: 1180px;
    margin: 70px auto 30px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 16px;
    padding: 44px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

@media (max-width: 900px) {
    .xy-history-capstone {
        grid-template-columns: 1fr;
        padding: 30px 24px;
    }
}

.xy-capstone-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #ffd166;
    background: rgba(255, 209, 102, 0.12);
    border: 1px solid rgba(255, 209, 102, 0.25);
    padding: 5px 14px;
    border-radius: 9999px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.xy-capstone-lead h3 {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 20px;
    line-height: 1.35;
}

.xy-capstone-quote-zh {
    margin: 0 0 16px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #df2020;
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    line-height: 1.8;
    color: #f1f5f9;
}

.xy-capstone-quote-en {
    margin: 0;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid #0284c7;
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    line-height: 1.7;
    color: #cbd5e1;
    font-style: italic;
}

.xy-capstone-bases h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px;
    letter-spacing: 0.5px;
}

.xy-base-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.xy-base-card:last-child {
    margin-bottom: 0;
}

.xy-base-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateX(4px);
}

.xy-base-icon {
    font-size: 22px;
    line-height: 1;
}

.xy-base-info strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.xy-base-info span {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 6px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.xy-base-info small {
    display: block;
    font-size: 12px;
    color: #e2e8f0;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   SECTION 4: Honor & Certifications (国际准入与企业荣誉)
   -------------------------------------------------------------------------- */
.xy-honor-standards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-bottom: 50px;
}

.xy-standard-badge {
    background: var(--xy-surface);
    border: 1px solid var(--xy-border);
    border-radius: 6px;
    padding: 22px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--xy-transition);
}

.xy-standard-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
    border-color: var(--xy-gold-light);
    background: #fff;
}

.xy-standard-badge svg {
    color: #df2020;
}

.xy-standard-badge strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--xy-ink);
}

.xy-standard-badge span {
    font-size: 11px;
    color: var(--xy-muted);
    line-height: 1.4;
}

/* 4.1 International Compliance Certifications Grid */
.xy-intl-certs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 20px;
}

.xy-intl-cert-card {
    background: #fff;
    border: 1px solid var(--xy-border);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 200px 1fr;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.xy-intl-cert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    border-color: rgba(223, 32, 32, 0.35);
}

.xy-intl-cert-visual {
    background: linear-gradient(145deg, #f8f9fa 0%, #eceef2 100%);
    position: relative;
    padding: 22px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--xy-border-light);
}

.xy-intl-cert-visual img {
    height: 220px;
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));
    transition: transform 0.35s ease;
}

.xy-intl-cert-card:hover .xy-intl-cert-visual img {
    transform: scale(1.04);
}

.xy-intl-cert-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 2;
}

.xy-cert-tag-badge {
    background: #df2020;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}

.xy-cert-tag-pages {
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    font-size: 10px;
    padding: 3px 7px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
}

.xy-intl-cert-info {
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.xy-intl-cert-std {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #b49863;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.xy-intl-cert-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--xy-ink);
    line-height: 1.4;
    margin: 0 0 10px;
}

.xy-intl-cert-desc {
    font-size: 13px;
    color: var(--xy-muted);
    line-height: 1.6;
    margin: 0 0 18px;
    flex-grow: 1;
}

.xy-intl-cert-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0f172a !important;
    color: #fff !important;
    border: 1px solid #0f172a !important;
    padding: 10px 18px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease !important;
    box-shadow: none !important;
    width: auto !important;
    align-self: flex-start;
}

.xy-intl-cert-btn:hover {
    background: #df2020 !important;
    border-color: #df2020 !important;
    color: #fff !important;
    transform: none !important;
    box-shadow: 0 4px 14px rgba(223, 32, 32, 0.3) !important;
}

/* 4.2 Corporate Credit Honor Grid (11 Cards) */
.xy-honor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px 26px;
    margin-bottom: 50px;
}

.xy-honor-card {
    margin: 0;
}

.xy-honor-open {
    display: block;
    width: 100%;
    background: #fff !important;
    border: 1px solid var(--xy-border) !important;
    padding: 24px 18px 20px !important;
    border-radius: var(--xy-radius) !important;
    color: var(--xy-ink) !important;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
    transition: var(--xy-transition) !important;
}

.xy-honor-open:hover {
    background: #fff !important;
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08) !important;
    border-color: var(--xy-gold-light) !important;
}

.xy-honor-frame {
    background: var(--xy-surface);
    padding: 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    border: 1px solid var(--xy-border-light);
    transition: var(--xy-transition);
}

.xy-honor-open:hover .xy-honor-frame {
    background: #fff;
    border-color: var(--xy-gold-light);
}

.xy-honor-open img {
    height: 240px;
    width: 100%;
    object-fit: contain;
    transition: transform 0.4s;
}

.xy-honor-open:hover img {
    transform: scale(1.05);
}

.xy-honor-title {
    display: block;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--xy-ink);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xy-honor-more {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--xy-gold-dark);
    margin-top: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(180, 152, 99, 0.08);
}

.xy-honor-hall-wrap {
    margin-top: 25px;
    border-radius: var(--xy-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Lightbox Dialog Enhanced */
.xy-honor-dialog {
    width: 92vw;
    max-width: 1440px;
    height: 88vh;
    max-height: 900px;
    padding: 0;
    border: 0;
    background: #15171c;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 25px 90px rgba(0, 0, 0, 0.75);
    border-radius: 12px;
}

.xy-honor-dialog:not([open]) {
    display: none;
}

.xy-honor-dialog::backdrop {
    background: rgba(8, 10, 15, 0.88);
    backdrop-filter: blur(10px);
}

.xy-honor-close {
    position: absolute;
    right: 22px;
    top: 18px;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 28px !important;
    line-height: 1 !important;
    font-weight: 200 !important;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xy-honor-close:hover {
    color: #fff !important;
    background: #df2020 !important;
    border-color: #df2020 !important;
    transform: rotate(90deg);
}

.xy-honor-dialog-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    height: 100%;
    min-height: 100%;
}

.xy-honor-dialog-info {
    padding: 50px 32px 40px;
    background: #1a1c23;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.xy-dialog-badge {
    display: inline-block;
    align-self: flex-start;
    background: #df2020;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.xy-honor-dialog-info h2 {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    margin: 0 0 10px !important;
}

.xy-dialog-standard {
    font-size: 11px;
    color: #b49863;
    font-family: monospace;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.xy-honor-dialog-info i {
    display: block;
    width: 36px;
    height: 2px;
    background: #df2020;
    margin: 20px 0 22px;
}

.xy-honor-dialog-info p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.7;
    margin: 0 0 24px;
}

/* Multi-page controls in sidebar */
.xy-dialog-page-ctrls {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.xy-page-counter {
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.xy-page-counter strong {
    color: #fff;
    font-size: 15px;
}

.xy-dialog-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.xy-dialog-thumb-btn {
    width: 48px;
    height: 64px;
    padding: 2px;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: #111317;
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden;
}

.xy-dialog-thumb-btn.is-active {
    border-color: #df2020;
    box-shadow: 0 0 10px rgba(223, 32, 32, 0.5);
}

.xy-dialog-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lightbox Stage */
.xy-honor-dialog-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f1115;
    padding: 40px;
    min-width: 0;
    overflow: hidden;
}

.xy-lightbox-stage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xy-honor-dialog .xy-honor-full {
    max-width: 90%;
    max-height: 74vh;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: opacity 0.2s ease;
}

.xy-lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s ease;
}

.xy-lightbox-prev {
    left: 20px;
}

.xy-lightbox-next {
    right: 20px;
}

.xy-lightbox-btn:hover {
    background: #df2020;
    border-color: #df2020;
    transform: translateY(-50%) scale(1.08);
}

@media (max-width: 1100px) {
    .xy-intl-certs-grid {
        grid-template-columns: 1fr;
    }
    .xy-honor-dialog-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        overflow-y: auto;
    }
    .xy-honor-dialog-info {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 30px 24px;
    }
    .xy-honor-dialog-media {
        padding: 24px;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .xy-honor-standards {
        grid-template-columns: repeat(2, 1fr);
    }
    .xy-intl-cert-card {
        grid-template-columns: 1fr;
    }
    .xy-intl-cert-visual {
        border-right: none;
        border-bottom: 1px solid var(--xy-border-light);
    }
    .xy-honor-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   SECTION 5: Message (领导致辞)
   -------------------------------------------------------------------------- */
.xy-message-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: start;
    background: var(--xy-surface);
    padding: 65px;
    border-radius: 12px;
    border: 1px solid var(--xy-border);
    margin-bottom: 40px;
}

.xy-message-portrait-wrap {
    position: relative;
    border-radius: var(--xy-radius);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--xy-border);
}

.xy-message-portrait-wrap img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    object-position: 50% 30%;
    display: block;
}

.xy-portrait-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(18, 18, 20, 0.94) 0%, transparent 100%);
    padding: 35px 25px 22px;
    color: #fff;
}

.xy-portrait-badge span {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--xy-gold-light);
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.xy-portrait-badge strong {
    font-size: 20px;
    font-weight: 400;
    color: #fff;
}

.xy-company .xy-left {
    text-align: left;
    margin-bottom: 10px;
}

.xy-company .xy-left i {
    margin-left: 0;
}

.xy-company .xy-quote-mark {
    font-family: Georgia, serif !important;
    font-size: 88px;
    line-height: 1;
    color: var(--xy-gold);
    margin-top: 15px;
}

.xy-message-lead-quote {
    border: 0;
    margin: 10px 0 35px;
    padding: 0;
    font-size: 22px;
    line-height: 1.85;
    color: var(--xy-ink);
    font-style: normal;
    font-weight: 400;
}

.xy-message-pillars {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 35px;
}

.xy-pillar-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 15px;
    border-top: 1px solid var(--xy-border);
    padding-top: 18px;
}

.xy-pillar-num {
    font-size: 18px;
    font-weight: 300;
    color: var(--xy-gold-dark);
}

.xy-pillar-item h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--xy-ink);
    margin: 0 0 6px;
}

.xy-pillar-item p {
    font-size: 13px;
    color: var(--xy-ink-light);
    line-height: 1.75;
    margin: 0;
}

.xy-message-sign-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 2px solid var(--xy-border);
    padding-top: 24px;
    margin-top: 15px;
}

.xy-sign-text strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--xy-ink);
    display: block;
    margin-bottom: 4px;
}

.xy-sign-text span {
    font-size: 13px;
    color: var(--xy-gold-dark);
}

.xy-sign-seal {
    color: var(--xy-gold);
    opacity: 0.65;
}

.xy-message-subslot {
    margin-top: 80px;
}

.xy-message-slot-wrap {
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

/* Match the message card width and let the complete panorama set its height. */
.xy-message-slot-wrap .xy-media-wrap {
    aspect-ratio: auto;
    background: var(--xy-surface);
}

.xy-message-slot-wrap .xy-media-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: none;
}

.xy-message-slot-wrap .xy-media-caption {
    position: static;
    background: var(--xy-surface);
    color: var(--xy-ink);
    padding: 14px 20px;
}

/* --------------------------------------------------------------------------
   Footer CTA Strip
   -------------------------------------------------------------------------- */
.xy-company-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 50px max(5%, calc((100% - 1280px) / 2));
    border-top: 1px solid var(--xy-border);
    background: #faf9f6;
}

.xy-company-cta p {
    font-size: 22px;
    color: var(--xy-ink);
    font-weight: 400;
}

.xy-company-cta a {
    color: var(--xy-gold-dark);
    border-bottom: 2px solid var(--xy-gold);
    padding-bottom: 6px;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 500;
    transition: var(--xy-transition);
}

.xy-company-cta a:hover {
    color: var(--xy-ink);
    border-bottom-color: var(--xy-ink);
}

.xy-company-cta a span {
    margin-left: 12px;
    display: inline-block;
    transition: transform 0.3s;
}

.xy-company-cta a:hover span {
    transform: translate(3px, -3px);
}

/* Dropdown & Navigation utilities */
.xy-company-submenu > a > svg {
    width: 28px;
    height: 28px;
    margin-bottom: 8px;
}

.apex-blueprint-download-box {
    display: none !important;
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
    .xy-profile-overview {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .xy-crafts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .xy-custom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .xy-message-container {
        grid-template-columns: 1fr;
        gap: 45px;
        padding: 40px 30px;
    }
    .xy-message-portrait-wrap img {
        height: 480px;
    }
    .xy-honor-standards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 860px) {
    .xy-section {
        padding: 70px 5%;
        scroll-margin-top: 80px;
    }
    .xy-section-nav a {
        font-size: 12px;
        padding: 18px 6px;
        width: 20%;
    }
    .xy-section-nav svg {
        width: 22px;
        height: 22px;
    }
    .xy-dual-bases {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .xy-culture-grid {
        grid-template-columns: 1fr;
    }
    .xy-team-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .xy-timeline-axis {
        left: 28px;
    }
    .xy-timeline-row {
        grid-template-columns: 1fr;
        margin-bottom: 50px;
    }
    .xy-timeline-badge {
        left: 28px;
        top: 28px;
        width: 56px;
        height: 56px;
    }
    .xy-timeline-badge span {
        font-size: 12px;
    }
    .xy-timeline-left .xy-timeline-card,
    .xy-timeline-right .xy-timeline-card {
        grid-column: 1;
        margin-left: 70px;
        margin-right: 0;
    }
    .xy-honor-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 18px;
    }
    .xy-honor-standards {
        grid-template-columns: repeat(2, 1fr);
    }
    .xy-honor-dialog-layout {
        grid-template-columns: 1fr;
        padding: 60px 25px 30px;
        gap: 25px;
    }
    .xy-honor-dialog-info {
        padding: 0;
        display: grid;
        grid-template-columns: 60px 1fr;
        gap: 10px 18px;
        align-items: center;
    }
    .xy-honor-dialog .xy-honor-thumb {
        width: 60px;
        height: 80px;
        grid-row: 1/3;
    }
    .xy-honor-dialog-info i {
        display: none;
    }
    .xy-honor-dialog-info h2 {
        font-size: 20px;
        margin: 0;
    }
    .xy-honor-dialog-info p {
        font-size: 12px;
    }
    .xy-honor-dialog .xy-honor-full {
        height: 50vh;
    }
}

@media (max-width: 580px) {
    .xy-section-nav {
        overflow-x: auto;
        justify-content: flex-start;
    }
    .xy-section-nav a {
        min-width: 90px;
        flex-shrink: 0;
        padding: 14px 4px;
        font-size: 11px;
    }
    .xy-profile-metrics-col {
        grid-template-columns: 1fr;
    }
    .xy-crafts-grid {
        grid-template-columns: 1fr;
    }
    .xy-custom-grid {
        grid-template-columns: 1fr;
    }
    .xy-honor-grid {
        grid-template-columns: 1fr;
    }
    .xy-honor-standards {
        grid-template-columns: 1fr;
    }
    .xy-culture-motto-banner {
        padding: 30px 22px;
    }
    .xy-company-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 35px 5%;
    }
}
