/* 메인 비주얼: 업로드 원본에 이미 네이비 그라데이션이 포함되어 있습니다. */
.woori_hero {
    position: relative;
    overflow: hidden;
    background: var(--woori-navy);
    border-radius: 40px;
}

.woori_hero_slide {
    position: relative;
    display: flex;
    min-height: clamp(380px, 28.5vw, 550px);
    align-items: center;
    background: var(--woori-navy);
    flex: 0 0 100%;
}

.woori_hero .swiper-wrapper {
    display: flex;
}

.woori_hero .woori_hero_image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.woori_hero_copy {
    position: relative;
    z-index: 1;
    max-width: 72%;
    padding: 60px clamp(28px, 5.2vw, 100px);
    color: #fff;
}

.woori_hero_copy .woori_eyebrow {
    margin-bottom: 24px;
    color: #fff;
    font-family: var(--woori-font-display);
    font-size: var(--woori-small-size);
    font-weight: 700;
    letter-spacing: 0;
}

.woori_hero_copy h1 {
    margin: 0;
    font-family: var(--woori-font-display);
    font-size: var(--woori-hero-title-size);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -.035em;
    word-break: keep-all;
}

.woori_hero_copy > p:last-child {
    font-size: var(--woori-description-size);
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: -.02em;
}

.woori_accent_line {
    display: block;
    width: 76px;
    height: 3px;
    margin: 36px 0 24px;
    background: var(--woori-teal);
}

@media (max-width: 700px) {
    .woori_hero {
        border-radius: 24px;
    }
    .woori_hero_copy {
        max-width: 100%;
        padding: 40px 24px;
    }
    .woori_hero_image {
        object-position: 65% center;
    }
    .woori_hero_slide::after {
        position: absolute;
        inset: 0;
        content: '';
        background: linear-gradient(90deg, #102f6dcc, #102f6d33);
    }
}

/* 원본 경로를 그대로 사용하며 확대가 끝나면 transform을 해제합니다. */
.woori_hero_slide { overflow: hidden; }
.woori_hero .woori_hero_image {
    filter: none;
    opacity: 1;
    image-rendering: auto;
    transform-origin: center;
}
.woori_hero:not(.swiper-initialized) .woori_visual_ready:first-child .woori_hero_image,
.woori_hero .woori_visual_ready.swiper-slide-active .woori_hero_image {
    animation: woori_visual_scale 6s ease-in-out both;
}
.woori_hero:not(.swiper-initialized) .woori_visual_ready:first-child .woori_hero_copy > *,
.woori_hero .woori_visual_ready.swiper-slide-active .woori_hero_copy > * {
    animation: woori_visual_text 900ms cubic-bezier(.22,.61,.36,1) both;
}
.woori_hero_copy > :nth-child(2) { animation-delay: 120ms !important; }
.woori_hero_copy > :nth-child(3) { animation-delay: 240ms !important; }
.woori_hero_copy > :nth-child(4) { animation-delay: 360ms !important; }
.woori_hero_copy > :nth-child(5) { animation-delay: 480ms !important; }
@keyframes woori_visual_scale {
    0% { transform: none; }
    55% { transform: scale(1.07); }
    100% { transform: none; }
}
@keyframes woori_visual_text {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .woori_hero .woori_hero_slide .woori_hero_image,
    .woori_hero .woori_hero_slide .woori_hero_copy > * {
        animation: none !important;
    }
}
