@charset "utf-8";

/* 애니메이션 키프레임 정의 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes borderAnim {
    0% {
        width: 0;
    }

    100% {
        width: 50px;
    }
}

@keyframes slowZoom {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* 애니메이션 클래스 */
.animate {
    opacity: 0;
}

.animate.show {
    opacity: 1;
}

.animate.fadeInUp {
    animation: none;
}

.animate.fadeInUp.show {
    animation: fadeInUp 1s ease forwards;
}

.animate.fadeInRight {
    animation: none;
}

.animate.fadeInRight.show {
    animation: fadeInRight 1s ease forwards;
}

.animate.fadeInLeft {
    animation: none;
}

.animate.fadeInLeft.show {
    animation: fadeInLeft 1s ease forwards;
}

.animate.scaleUp {
    animation: none;
}

.animate.scaleUp.show {
    animation: scaleUp 1s ease forwards;
}

.animate.delay-200.show {
    animation-delay: 0.2s;
}

.animate.delay-400.show {
    animation-delay: 0.4s;
}

.animate.delay-600.show {
    animation-delay: 0.6s;
}

.animate.delay-800.show {
    animation-delay: 0.8s;
}

/* 고객지원 페이지 스타일 */
.sub_visual {
    position: relative;
    width: 100%;
    height: 550px;
    /* 서브메뉴 높이를 포함하도록 높이 증가 + 100px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    overflow: hidden;
    /* 우측 하단 라운드 컷 */
    border-bottom-right-radius: 120px;
}

.sub_visual::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../../images/customer_bg.jpg') no-repeat center;
    background-size: cover;
    animation: slowZoom 2s ease-out forwards;
    z-index: 0;
    border-bottom-right-radius: inherit;
}

.sub_visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    z-index: 1;
    border-bottom-right-radius: inherit;
}

.sub_visual_txt {
    /* 중앙 정렬로 변경 */
    position: relative;
    width: 1200px;
    margin: 0 auto;
    padding: 250px 0 100px;
    /* 서브메뉴가 아래로 내려가므로 패딩 조정 */

    z-index: 2;
    text-align: center;
    /* 중앙 정렬로 변경 */
    color: #fff;
    /* 텍스트 색상을 흰색으로 변경 */
}

.sub_visual_txt h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
    /* 텍스트 색상을 흰색으로 변경 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* 텍스트 그림자 강화 */

    /* 첫 번째로 올라오는 애니메이션 */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.2s;
}

.sub_visual_txt p {
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff;
    /* 텍스트 색상을 흰색으로 변경 */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    /* 텍스트 그림자 강화 */

    /* 두 번째로 올라오는 애니메이션 */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}



/* 서브 메뉴 */
.sub_menu {
    background: rgba(22, 22, 22, 0.1);
    border-bottom: 1px solid rgba(12, 57, 170, 0.1);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.sub_menu_inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 서브메뉴 중앙 정렬 */
}

.home_btn {
    display: none;
    /* 홈 아이콘 숨김 */
    color: #fff;
    font-size: 16px;
    margin-right: 20px;
    text-decoration: none;
}

.sub_menu_list {
    display: flex;
}

.sub_menu_list li {
    position: relative;
    overflow: hidden;
}

.sub_menu_list li a {
    display: block;
    padding: 0 30px;
    height: 60px;
    line-height: 60px;
    font-size: 16px;
    color: #fff;
    /* border-right 제거 */
    transition: all 0.3s;
    position: relative;
}

/* 호버 시 하단 라인 애니메이션 */
.sub_menu_list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.sub_menu_list li a:hover::after {
    width: 80%;
}

/* 선택된 메뉴 항목 스타일 */
.sub_menu_list li.on a {
    color: #ffffff;
    font-weight: 600;
}

.sub_menu_list li.on a::after {
    width: 80%;
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
}

.sub_menu_list li a:hover {
    color: #ffffff;
}

.sub_menu_list li.on a {
    color: #ffffff;
    font-weight: 500;
}

/* 호버 시 배경 오버레이 제거 - 밑줄만 유지 */

/* 컨텐츠 영역 */
.sub_content {
    padding: 80px 0;
}

.sub_content_inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 반응형 서브비주얼 스타일 */
@media (max-width: 1024px) {
    .sub_visual {
        height: 350px;
        /* 반응형에서도 100px 추가 */
        border-bottom-right-radius: 80px;
    }

    .sub_visual_txt h2 {
        font-size: 32px;
    }

    .sub_visual_txt p {
        font-size: 16px;
    }

    .sub_content {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .sub_visual {
        height: 300px;
        /* 모바일에서도 100px 추가 */
        border-bottom-right-radius: 48px;
    }

    .sub_visual_txt h2 {
        font-size: 28px;
    }

    .sub_visual_txt p {
        font-size: 14px;
    }

    .sub_menu_list li a {
        padding: 0 20px;
        font-size: 14px;
    }

    .sub_content {
        padding: 40px 0;
    }
}

#way_container .sub_content {
    padding-top: 70px;
    /* 기존 60px → 20px */
}

/* 프로세스 소개 카드 섹션 */
.proc_intro {
    padding: 0px 5px 0px;
    text-align: center;
}

.proc_intro .intro_title {
    font-size: 35px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.proc_intro .intro_subtitle {
    font-size: 17px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 60px;
    line-height: 1.6;
}

.feature_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature_card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all .3s ease;
    overflow: hidden;
    opacity: 0;
    transform: translateY(24px);
}

.feature_card.show {
    opacity: 1;
    transform: translateY(0);
}

.feature_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: #cbd5e1;
}

.feature_card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.feature_body {
    padding: 28px 24px 32px;
}

.feature_body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px;
    letter-spacing: -0.3px;
}

.feature_body .divider {
    width: 50px;
    height: 3px;
    background: #0d5db8;
    border-radius: 2px;
    margin: 0 0 16px;
}

.feature_body p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
}

/* 반응형 */
@media (max-width: 1024px) {
    .feature_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature_card img {
        height: 180px;
    }
}

@media (max-width: 640px) {
    .feature_grid {
        grid-template-columns: 1fr;
    }

    .feature_card img {
        height: 170px;
    }
}

/* OEM/ODM 탭 버튼 */
.tab_btns {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px auto 24px;
}

.tab_btns button {
    appearance: none;
    border: 1px solid #d6dbe1;
    background: #f6f8fb;
    color: #3e4755;
    font-weight: 600;
    letter-spacing: .2px;
    padding: 10px 24px;
    border-radius: 999px;
    cursor: pointer;
    transition: all .2s ease;
}

.tab_btns button:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.tab_btns button.active {
    background: #0d5db8;
    color: #fff;
    border-color: #0d5db8;
}

/* 탭 패널 가시성 */
.tab_panel {
    display: none;
}

.tab_panel.active {
    display: block;
}

/* 패널 헤더 */
.panel_title {
    font-size: 32px;
    text-align: center;
    color: #1e293b;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.panel_sub {
    text-align: center;
    color: #64748b;
    margin-top: 12px;
    margin-bottom: 36px;
    font-size: 16px;
    line-height: 1.6;
}

/* 상단 아이콘 3개 */
.panel_icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto 40px;
}

.icon_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.icon_item i {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #0d5db8;
    color: #fff;
    font-size: 38px;
    box-shadow: 0 8px 24px rgba(13, 93, 184, 0.3);
    transition: transform 0.3s ease;
}

.icon_item i:hover {
    transform: scale(1.05);
}

.icon_item span {
    color: #475569;
    font-weight: 600;
    font-size: 16px;
}

/* PROCESS 타이틀 */
.process_head {
    text-align: center;
    margin-top: 12px;
    font-size: 20px;
    color: #1e293b;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.process_sub {
    text-align: center;
    color: #64748b;
    margin: 12px 0 24px;
    font-size: 15px;
    line-height: 1.6;
}

/* 단계 그리드 */
.step_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.step_box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 20px 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
    transition: all 0.3s ease;
}

.step_box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
    border-color: #cbd5e1;
}

.step_box strong {
    color: #1e40af;
    display: block;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
}

.step_box ul {
    padding-left: 16px;
    color: #64748b;
    line-height: 1.7;
}

.step_box ul li {
    list-style: '→ ';
    margin: 6px 0;
    font-size: 14px;
}

/* 반응형 */
@media (max-width: 1024px) {
    .panel_icons {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

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

@media (max-width: 640px) {
    .panel_icons {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .icon_item i {
        width: 78px;
        height: 78px;
        font-size: 28px;
    }

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

/* ================= LOCATION 인트로 카드 (process.php 스타일 재사용) ================= */
.process-intro {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.process-intro .intro-header {
    text-align: center;
    margin-bottom: 32px;
}

.process-intro .intro-title {
    font-size: 32px;
    color: #1e293b;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.process-intro .intro-subtitle {
    margin-top: 12px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
}

.process-intro .intro-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.process-intro .intro-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
    text-align: center;
    transition: all .3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.process-intro .intro-card.show {
    opacity: 1;
    transform: translateY(0);
}

.process-intro .intro-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
    border-color: #cbd5e1;
}

.process-intro .intro-card .icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #0d5db8;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(13, 93, 184, 0.3);
}

.process-intro .intro-card h4 {
    font-size: 20px;
    color: #1e293b;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.3px;
}

.process-intro .intro-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 15px;
}

/* 반응형 - LOCATION 인트로 카드 */
@media (max-width: 1024px) {
    .process-intro .intro-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .process-intro .intro-cards {
        grid-template-columns: 1fr;
    }

    .process-intro .intro-title {
        font-size: 24px;
    }
}