/* =========================================
   1. 기본 설정 및 변수
   ========================================= */
:root {
    --deep-blue: #0A2540;  
    --white: #FFFFFF;      
    --orange: #FF6B00;     
    --text-dark: #222222;
    --text-light: #F8F9FA;
    --bg-gray: #f4f5f7; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-family: 'Pretendard', -apple-system, sans-serif; scroll-behavior: smooth; }
body { background-color: var(--white); color: var(--text-dark); line-height: 1.6; }

/* =========================================
   2. 공통 헤더
   ========================================= */
header {
    position: fixed; top: 0; left: 0; width: 100%; padding: 20px 60px; 
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); 
    z-index: 1000; border-bottom: 1px solid #eee;
}
.header-logo { font-size: 1.4rem; font-weight: 900; color: var(--deep-blue); text-decoration: none; }
.back-btn { font-weight: 700; color: var(--text-dark); text-decoration: none; display: flex; align-items: center; gap: 5px; transition: color 0.3s; }
.back-btn:hover { color: var(--orange); }

/* =========================================
   3. 섹션 공통 스타일
   ========================================= */
.sub-section { padding: 100px 20px; text-align: center; }
.container { max-width: 1200px; margin: 0 auto; }

h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 20px; color: var(--deep-blue); letter-spacing: -1px; }
h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 15px; color: var(--deep-blue); }
p { font-size: 1.1rem; color: #555; word-break: keep-all; }

.divider { width: 50px; height: 4px; background-color: var(--orange); margin: 0 auto 40px auto; }
.badge { display: inline-block; color: var(--orange); border: 2px solid var(--orange); padding: 5px 15px; border-radius: 30px; font-size: 0.9rem; font-weight: 800; margin-bottom: 15px; }
.bg-gray { background-color: var(--bg-gray); }

/* =========================================
   4. 상단 히어로 섹션
   ========================================= */
.sub-hero { padding: 180px 20px 100px; background-color: var(--deep-blue); color: var(--white); }
.sub-hero.gradient-bg { background: linear-gradient(135deg, var(--deep-blue) 0%, #1a3c61 100%); }
.sub-hero h1 { font-size: 3.5rem; font-weight: 900; margin-bottom: 20px; }
.sub-hero p { color: rgba(255,255,255,0.8); font-size: 1.3rem; }

/* =========================================
   5. 콘텐츠 레이아웃 모듈
   ========================================= */
.desc-container { display: flex; align-items: center; gap: 50px; text-align: left; margin-top: 40px; }
.desc-text { flex: 1; }
.desc-text p { margin-bottom: 15px; }
.desc-image { flex: 1; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.desc-image img { width: 100%; display: block; }

/* =========================================
   6. 센터모드 슬라이더
   ========================================= */
.benefits-slider-wrapper { 
    position: relative; 
    width: 100%; 
    margin-top: 50px; 
    padding: 0; 
}

.swiper-container {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 50px;
    overflow: hidden;
}

/* 슬라이드 뼈대에는 애니메이션 삭제 */
.swiper-slide {
    width: 350px; 
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 실제 카드 디자인과 크기 조절은 내부 래퍼(card-inner)에서 처리 */
.card-inner {
    width: 100%;
    background: var(--white); 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.06); 
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left; 
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(0.85); 
    opacity: 0.5; 
}

/* 중앙에 온 활성화 카드만 100% 확대 */
.swiper-slide-active .card-inner {
    transform: scale(1); 
    opacity: 1; 
    box-shadow: 0 20px 50px rgba(10, 37, 64, 0.15); 
}

.benefit-card-img { width: 100%; height: 220px; object-fit: contain; background-color: var(--white); padding: 10%; box-sizing: border-box;}
.benefit-card-content { padding: 30px; display: flex; flex-direction: column; flex: 1; border-top: 1px solid #f0f0f0;}
.benefit-card-content h4 { font-size: 1.3rem; font-weight: 800; color: var(--deep-blue); margin-bottom: 15px; }
.benefit-card-content p { font-size: 1.05rem; color: #555; line-height: 1.6; word-break: keep-all; }

/* 화살표 버튼 디자인 */
.swiper-button-next, .swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    background-color: var(--white);
    color: var(--deep-blue) !important;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.swiper-button-next:hover, .swiper-button-prev:hover { 
    background-color: var(--orange); 
    color: var(--white) !important; 
}
.swiper-button-next:after, .swiper-button-prev:after { font-size: 1.2rem !important; font-weight: bold; }

/* 프로세스 스텝 */
.process-steps { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; position: relative; }
.step { flex: 1; text-align: center; padding: 30px; border: 1px solid #eee; border-radius: 15px; }
.step-num { font-size: 2rem; font-weight: 900; color: #eee; margin-bottom: 10px; display: block; }
.step h4 { font-size: 1.2rem; color: var(--deep-blue); margin-bottom: 10px; font-weight: 700; }

/* =========================================
   6. 하단 연락처 CTA
   ========================================= */
.bottom-cta { background-color: var(--orange); color: var(--white); padding: 80px 20px; }
.bottom-cta h2 { color: var(--white); margin-bottom: 30px; }
.cta-btn-large { display: inline-block; background-color: var(--white); color: var(--orange); padding: 20px 50px; border-radius: 50px; font-size: 1.3rem; font-weight: 800; text-decoration: none; transition: transform 0.3s, box-shadow 0.3s; }
.cta-btn-large:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }

/* =========================================
   7. 반응형 설정
   ========================================= */
@media (max-width: 992px) {
    .desc-container { flex-direction: column; }
    .process-steps { flex-direction: column; }
}

@media (max-width: 768px) {
    header { padding: 15px 20px; }
    .sub-hero h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    /* 🌟 모바일 화면에 맞춰 카드 기본 너비를 정확한 수치로 강제 고정 */
    .swiper-slide { 
        width: 80vw !important; 
        max-width: 320px; 
    } 
    .benefit-card-img { height: 180px; }
    .swiper-button-next, .swiper-button-prev { display: none !important; } 
    .cta-btn-large { font-size: 1.1rem; padding: 15px 30px; }
}