/* ==========================================================
   成长之路 journey.css
   - 继承 home.css :root 变量
   ========================================================== */

/* ============ Hero ============ */
.iti-jn-hero {
    position: relative;
    background: var(--iti-bg);
    overflow: hidden;
    padding: 32px 0 0;
}
.iti-hero-image-journey {
      position: relative;
    min-height: 360px;
    border-radius: 0;
    overflow: hidden;
    background-image: url(/assets/images/journey/banner.png);
    background-size: cover;
    background-position: center;
}

.iti-jn-hero-deco-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 280px;
    height: 80px;
    background:
        linear-gradient(135deg, transparent 50%, #0F1F3D 50%) 0 0/50% 100% no-repeat,
        linear-gradient(45deg,  #0F1F3D 50%, transparent 50%) 100% 0/50% 100% no-repeat,
        var(--iti-primary);
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    opacity: 0.92;
    z-index: 0;
}

.iti-jn-hero-deco-right {
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    height: 80px;
    background: var(--iti-yellow);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    opacity: 0.92;
    z-index: 0;
}

.iti-jn-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    min-height: 320px;
}

.iti-jn-hero-badge {
    display: inline-block;
    background: var(--iti-bg-soft-2);
    color: var(--iti-primary);
    font-size: 13px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.iti-jn-hero-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--iti-navy);
    line-height: 1.25;
    margin: 0 0 16px;
}

.iti-jn-hero-desc {
    font-size: 15px;
    color: var(--iti-text-light);
    margin: 0;
    max-width: 480px;
}

.iti-jn-hero-image {
    height: 320px;
    border-radius: var(--iti-radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--iti-bg-soft), var(--iti-bg-soft-2));
    margin-top: 24px;
}

.iti-jn-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============ 4 个阶段 ============ */
.iti-jn-stages {
    background: var(--iti-bg);
    padding: 24px 0 0;
}

.iti-jn-stages .iti-container {
    display: flex;
    flex-direction: column;

    max-width: 100%!important;
    padding: 0;
    
}

.iti-jn-stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
    padding: 32px;
    transition: transform var(--iti-transition), box-shadow var(--iti-transition);
    position: relative;
    overflow: hidden;
}
article:nth-of-type(2) {
    background-image: url(/assets/images/journey/sekuai.png);
    background-size: 30%;
    background-position: right  bottom ;  /* 右下角 */
    background-repeat: no-repeat;  
}

.iti-jn-stage--white { background: var(--iti-bg);  width: 100%;padding: 40px 15%;}
.iti-jn-stage--soft  { background: var(--iti-bg-soft); width: 100%;padding: 40px 15%;}



/* 交替：right = 文左图右，left = 图左文右 */
.iti-jn-stage--right { direction: rtl; }
.iti-jn-stage--right > * { direction: ltr; }

.iti-jn-stage--right img {
    margin-left: 100px;
}
.iti-jn-stage-image {
    height: 260px;
    overflow: hidden;
    
}
.iti-jn-stage-image img {
    height: 100%;

    display: block;
}

.iti-jn-stage-body {
    padding: 8px 16px;
}
.iti-jn-stage--soft .iti-jn-stage-badge {
    background: #fff;
    color: #000;
}

.iti-jn-stage-badge {
    display: inline-block;
    background: var(--iti-bg-soft);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.iti-jn-stage-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--iti-navy);
    margin: 0 0 12px;
    line-height: 1.3;
}

.iti-jn-stage-desc {
    font-size: 13px;
    line-height: 1.8;
    color: #000;
    margin: 0;
}

/* ============ CTA ============ */
.iti-jn-cta {
    position: relative;
    background: #fff;
    padding: 56px 0 72px;
    overflow: hidden;
    border-bottom: 4px solid;
    border-image: linear-gradient(to right, 
    #02569B 0%, #02569B 40%,
    #00b2b8 40%, #00b2b8 80%,
    #d2da16 80%, #d2da16 100%
) 1;
}

.iti-jn-cta-deco-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 280px;
    height: 80px;
    background: var(--iti-primary);
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    opacity: 0.95;
}

.iti-jn-cta-deco-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 80px;
    background: var(--iti-yellow);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    opacity: 0.95;
}

.iti-jn-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.iti-jn-cta-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--iti-navy);
    margin: 0 0 24px;
}

/* ============ 按钮微调 ============ */
.iti-btn-pill { border-radius: 999px; }

/* ============ 响应式 ============ */
@media (max-width: 1023px) {
    .iti-jn-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .iti-jn-hero-title { font-size: 24px; }
    .iti-jn-hero-desc  { margin: 0 auto; }
    .iti-jn-hero-image { height: 220px; order: -1; }
    .iti-jn-hero-deco-left,
    .iti-jn-hero-deco-right { display: none; }

    .iti-jn-stage { grid-template-columns: 1fr; padding: 20px; }
    .iti-jn-stage--right { direction: ltr; }
    .iti-jn-stage-image  { height: 180px; }
    .iti-jn-stage-body   { padding: 8px 0; }
    .iti-jn-cta-deco-left,
    .iti-jn-cta-deco-right { display: none; }
}