      :root {
            --main-color: #4116DF; 
            --sub-color: #0963eb;
			--darkblue-color:#0033A0;/*e다크블루*/
			--base-color: #E6F0FA;  /* 연한 파랑 (배경용) */
            --point-color: #D73C2C; /* 오렌지 (전통적인 보조/포인트 컬러) */
		    --footer-bg: #111827;
            --panel-bg: #22252a;
            --border-color: #e9ecef;
            --bg-light: #f8f9fc;
            --form-bg: #ffffff;  
			--text-on-main: #ffffff;
            --text-on-sub: #ffffff;
            --text-on-point: #ffffff;
        }

        body {
            font-family: 'Pretendard', sans-serif;
            background-color: #ffffff;
            color: #333;font-weight: 500;
            word-break: keep-all;
            padding-bottom: 0;
        }
        
        @media (max-width: 991px) {
            body { padding-bottom: 60px; } 
        }



        .badge.bg-primary { background-color: var(--main-color) !important; color: var(--text-on-main); }
        .badge.bg-secondary { background-color:var(--darkblue-color) !important; color: var(--text-on-sub); }
        .badge.bg-warning { background-color: var(--point-color) !important; color: var(--text-on-point); }
        
        .badge {
            padding: 0.4em 0.8em;
            border-radius: 6px;
            font-weight: 600;
            letter-spacing: 0.02em;
        }

        .text-primary { color: var(--main-color) !important; }
        .text-secondary { color: var(--sub-color) !important; }
a {color: inherit;
   text-decoration: none;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  outline: none;
}
a:hover, a:focus {
  color: var(--sub-color);
  text-decoration: none;
  outline: none;
}


.container {
  max-width: 1200px;
}

.container-m {
  max-width: 1000px;
}

.container-s {
  max-width: 960px;
}

.container-xs {
  max-width: 900px;
}

@media (max-width: 991px) {
  .container {
    max-width: 100%;
  }

.container-s,.container-xs {
  max-width: 100%;
}
.container-m {
 max-width: 100%;
}


}

        .text-sub { color: var(--sub-color); }
        .text-main { color: var(--main-color); }
        
        .top-bar { background-color: #f8f9fa; border-bottom: 1px solid #eeeeee; display: block; }
        .top-bar-inner { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; font-size: 0.85rem; }
        .top-bar-title { font-weight: 700; color: #555; letter-spacing: -0.3px; }
        .top-bar-links { display: flex; align-items: center; }
        .top-bar-links a { position: relative; color: #666; text-decoration: none; font-weight: 500; transition: color 0.2s; padding-right: 0.8rem; margin-right: 0.8rem; }
        .top-bar-links a:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 12px; background-color: #ccc; }
        .top-bar-links a:last-child { padding-right: 0; margin-right: 0; }
        .top-bar-links a:hover { color: var(--main-color); }

        @media (max-width: 991px) { .top-bar { display: none; } }

        .header-nav { 
            background-color: rgba(255, 255, 255, 0.98); 
            backdrop-filter: blur(5px);
            padding-top: 1.25rem; padding-bottom: 1.00rem; 
            box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
            position: sticky; top: 0; z-index: 1020; 
        }
        .header-container { position: relative; display: flex; align-items: center; justify-content: space-between; width: 100%; }

        @media (max-width: 991px) { .header-nav { padding-top: 0.6rem; padding-bottom: 0.6rem; } }
        
        .logo-placeholder { 
            width: 120px; height: 35px; background-color: #e0e0e0; 
            display: flex; align-items: center; justify-content: center; 
            font-size: 14px; color: #666; font-weight: 600; text-decoration: none; border-radius: 4px; 
        }
        .pc-logo { margin: 0; display: flex; } 
        .mobile-logo { margin: 0; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: none; } 
        .mobile-menu-toggle { border: none; padding: 0; box-shadow: none; background: transparent; cursor: pointer; display: none; } 
        .mobile-menu-icon { font-size: 2rem; color: #333; }
        
        @media (max-width: 991px) {
            .pc-logo { display: none; }
            .mobile-logo { display: flex; }
            .mobile-menu-toggle { display: block; }
        }

        .mobile-phone-link { text-decoration: none; display: none; align-items: center; font-size: 1.4rem; color: #333; }
        .mobile-phone-img { width: 22px; height: 22px; object-fit: contain; }
        
        @media (max-width: 991px) { .mobile-phone-link { display: flex; } }

        .pc-nav-list { margin-left: auto; display: flex; gap: 0.5rem; flex-direction: row; }
        .navbar-nav .nav-link { font-weight: 500; padding: 0.2rem 1rem !important; transition: color 0.3s ease; color: #333 !important; }
        .navbar-nav .nav-link:hover { color: var(--main-color) !important; }
        .navbar-nav .nav-link.active-custom { color: var(--main-color) !important; font-weight: 700; }
        
        .pc-search-item { display: flex; align-items: center; margin-left: 0.5rem; } 
        .search-icon-size { font-size: 1.25rem; }

        @media (max-width: 991px) { .pc-search-item { display: none; } }
        
        .search-collapse-panel { position: absolute; top: 100%; left: 0; width: 100%; background-color: #ffffff; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); border-top: 1px solid #e0e0e0; z-index: 1020; }
        .search-panel-inner { padding: 1.5rem 0; }
        .search-input-wrap { position: relative; max-width: 600px; margin: 0 auto; }
        .search-input { width: 100%; border-radius: 50rem; padding: 1rem 1.5rem 1rem 1.5rem; padding-right: 3.5rem; border: 2px solid var(--main-color); font-size: 1.05rem; outline: none; transition: box-shadow 0.3s; }
        .search-input:focus { box-shadow: 0 0 0 0.25rem rgba(29, 60, 250, 0.2); }
        .search-submit-btn { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 1.3rem; color: var(--main-color); cursor: pointer; padding: 0; }
        
        .search-toggle-btn[aria-expanded="true"] .search-icon { display: none !important; }
        .search-toggle-btn[aria-expanded="true"] .close-icon { display: inline-block !important; }
        .search-toggle-btn[aria-expanded="false"] .search-icon { display: inline-block !important; }
        .search-toggle-btn[aria-expanded="false"] .close-icon { display: none !important; }

        main { min-height: calc(100vh - 250px); padding-bottom: 80px; }

        .hero-section {
            position: relative;
            background-image: url('/common/img_24/services/int_bg.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            padding: 5rem 0;
            overflow: hidden;
        }

        /* 배경 어둡게 처리하여 가독성 확보 */
        .hero-section::before {
            content: "";
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
            z-index: 1;
        }

        .hero-container {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 2rem;
            min-height: 500px;
        }

        .hero-text-area {
            color: #ffffff;
            flex: 1;
            padding-right: 2rem;
        }

        .hero-title {
            font-size: 3rem;
            font-weight: 800;
            line-height: 1.3;
            letter-spacing: -1px;
            margin-bottom: 1rem;
        }
        
        .hero-title .highlight {
            /* color: #60a5fa; 시각적 포인트를 위한 파스텔톤 블루 */
			color:#e8bd32; /* 시각적 포인트를 위한 옐로루 */
			/*color: #00E676; /* 시각적 포인트를 그린 */
        }

        .hero-desc {
            font-size: 1.1rem;
            color: #cbd5e1;
            line-height: 1.6;
            margin-bottom: 2rem;
            word-break: keep-all;
        }

        .hero-badges {
            display: flex;
            gap: 1rem;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 600;
            backdrop-filter: blur(4px);
        }
        .hero-badge i { margin-right: 0.5rem; color: #60a5fa; }

        .hero-form-area {
            flex: 0 0 480px; /* 폼 고정 너비 지정 */
            width: 100%;
        }

        .quote-card {
            background: var(--form-bg);
            border-radius: 16px;
            padding: 2.5rem 2rem;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }

        .quote-header { text-align: center; margin-bottom: 1.5rem; }
        .quote-title { font-size: 1.5rem; font-weight: 800; color: #1e293b; margin-bottom: 0.5rem; letter-spacing: -0.5px; }
        .quote-subtitle-badge {
            display: inline-block;
            background: #e0f2fe;
            color: #0284c7;
            padding: 0.25rem 0.75rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
        }

        /* 스텝 인디케이터 (참조2 반영) */
        .step-indicator {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 2rem;
            gap: 0.5rem;
        }
        .step-item { display: flex; align-items: center; font-size: 0.85rem; font-weight: 600; color: #94a3b8; }
        .step-item.active { color: #0f172a; }
        .step-number {
            width: 24px; height: 24px;
            display: flex; align-items: center; justify-content: center;
            border-radius: 50%;
            background: #e2e8f0;
            color: #64748b;
            margin-right: 0.4rem;
            font-size: 0.75rem;
        }
        .step-item.active .step-number { background:#0033A0; color: white; }
        .step-divider { width: 30px; height: 1px; background: #e2e8f0; }

        .form-group-title { font-size: 0.9rem; font-weight: 700; color: #334155; margin-bottom: 0.5rem; display: block;width: 100%; text-align: left; }
        .form-group-title .req { color: #ef4444; margin-left: 2px; }

        /* 접근성을 고려한 커스텀 라디오 박스 */
        .custom-radio2-group {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }
        
        /* 4개짜리 그리드 (공간유형) */
        .grid-4 { grid-template-columns: repeat(4, 1fr); }

        .custom-radio2 { position: relative; }
        
        /* 실제 인풋은 시각적으로만 숨김 (스크린리더 작동) */
        .custom-radio2 input[type="radio"] {
            position: absolute;
            opacity: 0;
            width: 100%; height: 100%;
            cursor: pointer;
            z-index: 2;
        }

        .custom-radio2 label {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            padding: 1rem 0.5rem;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
            text-align: center;
            height: 100%;
        }

        .custom-radio2 label i { font-size: 1.4rem; color: #64748b; margin-bottom: 0.4rem; }
        .custom-radio2 label span { font-size: 0.85rem; font-weight: 600; color: #475569; }

        /* 선택되었을 때의 스타일 변화 */
        .custom-radio2 input[type="radio"]:checked + label {
            background: #f0f9ff;
            border-color: #60a5fa;
            box-shadow: 0 0 0 1px #60a5fa;
        }
        .custom-radio2 input[type="radio"]:checked + label i,
        .custom-radio2 input[type="radio"]:checked + label span { color: #384bd9;/*아이콘 및 구분이름*/ }
        
        /* 포커스 접근성 (키보드 탭 이동 시) */
        .custom-radio2 input[type="radio"]:focus-visible + label {
            outline: 2px solid var(--main-color);
            outline-offset: 2px;
        }

        /* 텍스트만 있는 라디오 타입 */
        .custom-radio2.text-only label { padding: 0.8rem 0.7rem; flex-direction: row; }
        .custom-radio2.text-only label span { margin: 0; font-size: 0.9rem; }

        .form-select-custom {
            width: 100%; padding: 0.7rem 1rem; font-size: 0.95rem; font-weight: 500;
            color: #334155; background-color: #fff; border: 1px solid #cbd5e1;
            border-radius: 8px; margin-bottom: 1.5rem;
            appearance: none;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
            background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px 12px;
        }
        .form-select-custom:focus { border-color: #60a5fa; outline: none; box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1); }
        
        .form-input-custom {
             width: 100%; padding: 0.8rem 1rem; font-size: 0.95rem;
             border: 1px solid #cbd5e1; border-radius: 8px; margin-bottom: 1rem;
        }
        .form-input-custom:focus { border-color: #60a5fa; outline: none; box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1); }

       .btn-submit-quote {
            width: 100%; background: #3208cd; /* 참조2 버튼 색상 유사 계열 */
            background: linear-gradient(135deg, #3208cd 0%, #384bd9 100%);
            color: #fff; border: none; padding: 1rem;
            border-radius: 8px; font-size: 1.1rem; font-weight: 700;
            transition: transform 0.2s, box-shadow 0.2s;
            text-shadow: 0 1px 2px rgba(0,0,0,0.1);
        }
        
        .btn-submit-quote:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3); }

        @media (max-width: 991px) {/*모바일*/
            .hero-section { padding: 2rem 0; }
            .hero-container { flex-direction: column; text-align: center; }
            .hero-text-area { padding-right: 0; }
            .hero-title { font-size: 1.5rem; }
            .hero-badges { justify-content: center; }
            .hero-form-area { flex: auto; max-width: 100%; }
		   .custom-radio2 label i { display: none;  font-size:1.5rem; color: #64748b; margin-bottom: 0.2rem; }
           .custom-radio2 label span { font-size:0.9rem; font-weight: 600; color: #475569; }
		    /* 텍스트만 있는 라디오 타입 */
        .custom-radio2.text-only label { padding: 0.6rem 0.5rem; flex-direction: row; }
        .custom-radio2.text-only label span { margin: 0; font-size:0.9rem; }
		   .hero-desc {
            font-size: 0.9rem;
            color: #cbd5e1;
            line-height: 1.2;
            margin-bottom: 1.6rem;
            word-break: keep-all;
        }


    .quote-card {
            background: var(--form-bg);
            border-radius: 16px;
            padding: 1.5rem 1rem;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }

        }

          /* ==================================================
           4. Features & Partners 
        ================================================== */
        .features-section { background-color: #ffffff; padding: 5rem 0; border-top: 1px solid #f1f5f9; }
        .feature-box { text-align: center; padding: 2rem 1.5rem; background: #fff; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); height: 100%; border: 1px solid #f1f5f9; }
        .feature-icon { width: 64px; height: 64px; background-color: rgba(29, 60, 250, 0.1); color: var(--main-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 1.5rem; }
        .feature-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; color: #1e293b; }
        .feature-desc { font-size: 0.95rem; color: #64748b; line-height: 1.6; word-break: keep-all; }

        .partner-section { background-color: #f8fafc; padding: 3.5rem 0; overflow: hidden; border-top: 1px solid #e2e8f0;margin-bottom:-80px; }
        .partner-title-wrap { text-align: center; margin-bottom: 2.5rem; }
        .partner-title-wrap h3 { font-size: 1.2rem; font-weight: 700; color: #64748b; letter-spacing: -0.5px; }
    




/* ==========================================
           [필수 CSS] 무한 롤링 방어 레이아웃 
           ========================================== */
        .marquee-container {
            width: 100%;
            overflow: hidden; /* 영역 밖으로 나가는 로고 숨김 */
            background-color: #f8fafc;
            padding: 20px 0;
            display: flex; /* 자식 요소 가로 배치 */
        }

        .marquee-track {
            display: flex;
            width: max-content; /* 내부 콘텐츠 길이만큼 트랙 너비 자동 확장 (매우 중요) */
            /* 
               JS에서 4배(repeat(4))로 복사했으므로, 
               원본 1세트의 위치인 -25%까지만 이동해야 끊김 없는 루프가 완성됩니다. 
               속도(20s)는 기호에 맞게 조절하세요.
            */
            animation: marqueeRolling 20s linear infinite; 
        }

        /* 마우스 오버 시 일시정지 (UX 향상) */
        .marquee-track:hover {
            animation-play-state: paused;
        }

        .partner-logo-box {
            flex-shrink: 0; /* 로고 찌그러짐 방지 */
            margin: 0 15px; /* 로고 간격 (좌우 마진) */
        }

        .partner-logo-box img {
            display: block;
            width: 200px;
            height: height:145px;border-radius: 12px;
            object-fit: contain;
        }

        @keyframes marqueeRolling {
            0% {
                transform: translateX(0);
            }
            100% {
                /* 4세트 중 딱 1세트(-25%)만큼만 이동 후 0%로 순간이동 */
                transform: translateX(-25%);
            }
        }






              /* --- Common Section Styles --- */
        .section-padding { padding: 5rem 0; }
        .section-title-wrap { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
        .section-title-wrap h2 { font-size: 2rem; font-weight: 800; letter-spacing: -1px; margin: 0; color: #1e293b; }
        .section-title-wrap .btn-view-all { font-size: 0.9rem; color: #64748b; text-decoration: none; font-weight: 600; display: flex; align-items: center; transition: color 0.2s; }
        .section-title-wrap .btn-view-all:hover { color: var(--main-color); }

        /* --- Live Reception & Receipt Cards --- */
        .receipt-card { background: #fff; border-radius: 12px; border: 1px solid #e2e8f0; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
        .receipt-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
        .receipt-img { width: 100%;height:180px; background-color: #f1f5f9; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-weight: 600;; }
		.receipt-img img { width: 100%;height:auto }
        .receipt-body {background: #fff; padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
        .receipt-badge { font-size: 0.75rem; background: #f1f5f9; color: #475569; padding: 0.3rem 0.6rem; border-radius: 4px; align-self: flex-start; margin-bottom: 0.8rem; font-weight: 600; }
        .receipt-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: #1e293b; }
        
		.receipt-desc { font-size: 0.9rem; color: #64748b; line-height: 1.5; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
  
        /* .receipt-desc { font-size: 0.9rem; color: #64748b; line-height: 1.5; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } 말 줄일 때*/

        .receipt-footer { margin-top: auto; border-top: 1px solid #f8f9fc; padding-top: 1rem; display: flex; justify-content: space-between; font-size: 0.85rem; color: #94a3b8; }

        .rolling-card { background: #fff; border-radius: 12px; border: 2px solid var(--darkblue-color); box-shadow: 0 10px 30px rgba(29, 60, 250, 0.1); height: 100%; display: flex; flex-direction: column; }
        .rolling-header { padding: 1.5rem; border-bottom: 1px solid #e2e8f0; text-align: center; background-color: #f8fafc; border-radius: 10px 10px 0 0; }
        .rolling-header h3 { font-size: 1.2rem; font-weight: 800; color: var(--darkblue-color); margin: 0; }
        
        /* Swiper 적용을 위해 높이는 유지하되, 내부 리스트 관련 불필요한 속성 제거 */
        .rolling-container { flex-grow: 1; padding: 1rem 0; overflow: hidden; position: relative; height: 350px; }
        
        /* rolling-item이 이제 swiper-slide 역할을 수행
        .rolling-item { padding: 12px 1.5rem; font-size: 0.95rem; color: #334155; border-bottom: 1px dashed #e2e8f0; display: flex; align-items: center; font-weight: 500; height: 55px; box-sizing: border-box; }
        .rolling-item:last-child { border-bottom: none; }
        .rolling-item .badge { font-weight: normal; margin-right: 10px; }

		/* ==========================================
   [신규/수정] 리스트 아이템 내부 그리드(Grid/Flex) 레이아웃
   ========================================== */
.rolling-item { 
    padding: 12px 1.5rem; 
    font-size: 0.95rem; 
    color: #334155; 
    border-bottom: 1px dashed #e2e8f0; 
    display: flex; 
    align-items: center; 
    font-weight: 500; 
    height: 55px; 
    box-sizing: border-box; 
    width: 100%; /* 부모 너비 채움 */
}
.rolling-item:last-child { border-bottom: none; }

/* 레이아웃 분할 클래스 (JS에서 사용) */
.rolling-item-badge {
    flex: 0 0 50px; /* 뱃지 고정 너비 */
}
.rolling-item-badge .badge {
    width: 100%;
    text-align: center;
    font-weight: normal; 
}
.rolling-item-service {
    flex: 1 1 auto; /* 남은 영역 모두 차지 */
    padding-left: 15px; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; /* 글자 길어지면 말줄임(...) 처리 */
}
.rolling-item-name {
    flex: 0 0 60px; /* 이름 영역 고정 너비 */
    text-align: center; 
    color: #666;
}
.rolling-item-date {
    flex: 0 0 80px; /* 날짜 영역 고정 너비 */
    text-align: right;
}

/* ==================================================
   3. Swiper Standard Branch Section (리셋 및 밸런스 완벽 복구)
================================================== */
.branch-section { background-color: #f1f5f9; padding: 5rem 0; border-top: 1px solid #e2e8f0; }

/* 좌측 배너: 강제 높이 조절 삭제, 자연스럽게 100% 채움 */
.branch-banner {
    /*background: linear-gradient(145deg, #0354d1 0%, #430dbf 100%); */
	background: linear-gradient(145deg, #4116df 0%, #1653df 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    color: #fff;
    height: 100%; /* 군더더기 없이 100% 유지 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(29, 60, 250, 0.2);
    position: relative;
    overflow: hidden;
}
/* PC 화면(992px 이상)에서 좌측 배너의 위아래를 우측 카드 사이즈에 맞춰 줄임 */
@media (min-width: 992px) {
    .branch-banner {
        /* 우측의 상하 그림자 여백(15px + 15px = 30px)만큼 깎아냄 */
        height: calc(100% - 30px) !important; 
        
        /* 깎아낸 만큼 위아래 여백을 주어 우측 카드와 수평선을 완벽히 맞춤 */
        margin: 0px 0 !important; 
    }


}

.branch-badge {
    background-color: rgba(255, 255, 255, 0.2); color: #fff;
    padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.85rem;
    font-weight: 600; display: inline-block; align-self: flex-start; margin-bottom: 1.5rem;
}
.branch-banner h3 { font-size: 2.2rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.3; letter-spacing: -1px; }
.branch-banner p { font-size: 1.05rem; color: rgba(255, 255, 255, 0.8); line-height: 1.6; margin-bottom: 2rem; word-break: keep-all; }
.branch-btn {
    background-color: #fff; color: var(--darkblue-color);
    padding: 1rem 1.5rem; border-radius: 8px; font-weight: 700;
    text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.3s ease; align-self: flex-start;
}
.branch-btn:hover { background-color: #f8f9fa; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); color: var(--main-color); }

/* 우측 슬라이더: 그림자 잘림 방지 + 강제 높이 맞춤 */
.branch-slider-wrapper { position: relative; height: 100%; display: block; }
.branch-swiper {
    width: 100%; height: 100%;
    padding: 15px 5px !important; 
    margin: -15px -5px !important; 
}

/* 슬라이드가 부모 높이를 상속받아 유연하게 늘어나도록 flex 처리 */
.branch-swiper .swiper-slide {
    height: auto; 
    display: flex; 
}

/* 카드가 남는 공간을 100% 꽉 채우도록 flex-grow: 1 부여 */
.branch-card {
    background-color: #fff; border-radius: 12px; overflow: hidden;
    width: 100%; 
    flex-grow: 1; /* 핵심: 카드가 좌측 배너 높이만큼 쭉 늘어남 */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0; display: flex; flex-direction: column;
}
.branch-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
.branch-card-img { width: 100%; height: 160px; background-color: #e2e8f0; display: flex; justify-content: center; align-items: center; color: #94a3b8; font-weight: 600;; }
.branch-card-img img{ width: 100%; height:auto;  }
.branch-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.branch-location { font-size: 0.8rem; color: var(--darkblue-color); font-weight:600; margin-bottom: 0.5rem; display: block; }
.branch-card-title { font-size: 1.15rem; font-weight: 800; color: #1e293b; margin-bottom: 0.8rem; letter-spacing: -0.5px; }

/*branch-card-desc { font-size: 0.9rem; color: #64748b; line-height: 1.5; margin-bottom: 1.5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }/*글자수 제한할 때 사용*/
.branch-card-desc { font-size: 0.9rem; color: #64748b; line-height: 1.5; margin-bottom: 1.5rem; }

.branch-card-footer { margin-top: auto; border-top: 1px solid #f1f5f9; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; }
.branch-status { font-size: 0.8rem; font-weight: 600; padding: 4px 10px; border-radius: 4px; }
.status-open { background-color: var(--base-color); color: var(--main-color); }
.status-ready { background-color: #fef9c3; color: #854d0e; }
.status-red { background-color: #fff2f2; color: #ff5452; }
.branch-card-link { font-size: 0.85rem; font-weight: 600; color: #333; text-decoration: none; }

/* 네비게이션 버튼 */
.branch-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%; 
    background-color: rgba(255, 255, 255, 0.95); 
    border: 1px solid #e2e8f0; color: #333; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.15); 
    transition: all 0.2s ease; z-index: 10;
}
.branch-nav-btn.swiper-button-disabled { opacity: 0; pointer-events: none; }
.branch-nav-btn:hover:not(.swiper-button-disabled) { background-color: var(--main-color); color: #fff; }
.branch-nav-btn.prev { left: -10px; }
.branch-nav-btn.next { right: -10px; }

/*모바일 포함작은 디바이스*/
@media (max-width: 991px) {
    .branch-banner { padding: 2.5rem 1.5rem;  }
    .branch-banner h3 { font-size: 1.8rem; }
	.branch-card-img img{ width: 100%; height:auto;max-height:160px;  }
     .branch-slider-wrapper { margin-top:60px; }
	 .branch-card:hover { transform: translateY(0px);/*모바일에서는 움직임 없게*/ }
    
}
        /* PC Floating Sidebar */
        .pc-floating-sidebar { position: fixed; right: 30px; top: 50%; transform: translateY(-50%); z-index: 1035; display: flex; flex-direction: column; gap: 12px; width: 170px; }
        .floating-contact-card { background-color: #1e2126; border-radius: 20px; padding: 24px 16px; text-align: center; color: #ffffff; box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
        .floating-icon-circle { width: 48px; height: 48px; background-color: #2a2d34; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.3rem; color: #ffffff; }
        .floating-contact-title { font-size: 0.85rem; color: #8c92a0; margin-bottom: 4px; font-weight: 700; }
        .floating-contact-number { font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.5px; }
        .floating-contact-hours { font-size: 0.75rem; color: #737885; font-weight: 500; }
        
        .floating-action-btn { background-color: #1e2126; border-radius: 16px; padding: 12px 14px 12px 18px; display: flex; align-items: center; justify-content: space-between; color: #ffffff; text-decoration: none; box-shadow: 0 5px 15px rgba(0,0,0,0.15); transition: transform 0.2s ease, background-color 0.2s ease; }
        .floating-action-btn:hover { background-color: #2a2d34; color: #ffffff; transform: translateY(-3px); }
        .floating-action-text { font-size: 0.95rem; font-weight: 800; letter-spacing: -0.5px; }
        .floating-action-icon { width: 34px; height: 34px; background-color: #2a2d34; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
        
        /* Scroll to Top Btn */
        .scroll-top-btn { width: 48px; height: 48px; background-color: #ffffff; color: #333; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: 0 5px 15px rgba(0,0,0,0.15); border: 1px solid #eaeaea; border-radius: 50%; cursor: pointer; align-self: flex-end; transition: opacity 0.3s ease, visibility 0.3s, transform 0.3s ease, background-color 0.2s, color 0.2s; opacity: 0; visibility: hidden; transform: translateY(15px); }
        .scroll-top-btn.show { opacity: 1; visibility: visible; transform: translateY(0); }
        .scroll-top-btn:hover { background-color: var(--main-color); color: #ffffff; border-color: var(--main-color); }
        
        /* 유틸리티 */
        .d-none-custom { display: none !important; }

/* ==================================================
           4. Features & Partners 
        ================================================== */
       
        .feature-box { text-align: center; padding: 2rem 1.5rem; background: #fff; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); height: 100%; border: 1px solid #f1f5f9; }
        .feature-icon { width: 64px; height: 64px; background-color: rgba(29, 60, 250, 0.1); color: var(--main-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 1.5rem; }
        .feature-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; color: #1e293b; }
        .feature-desc { font-size: 0.95rem; color: #64748b; line-height: 1.6; word-break: keep-all; }

        .partner-section {padding: 20px 0;  background-color: #eaecee;  overflow: hidden; border-top:1px solid #d7dde4;box-shadow: 0 10px 30px rgba(0,0,0,0.03);margin-bottom:-80px; }
        .partner-title-wrap { text-align: center; margin-bottom: 2.5rem; }
        .partner-title-wrap h3 { font-size: 1.2rem; font-weight: 700; color: #64748b; letter-spacing: -0.5px; }
    


/* ==========================================
           [최소화된 CSS] Swiper 구조에 맞춘 스타일
           ========================================== */
    
        .partner-marquee-swiper .swiper-wrapper {
            transition-timing-function: linear !important; /* 끊김 없는 롤링을 위한 필수 속성 */
        }
      .partner-marquee-swiper .swiper-slide {
            width:160px; /* 로고 고정 너비 지정 */
            height:auto;
            display: flex;
            justify-content: center;
            align-items: center;
        }

      /*  .partner-marquee-swiper .swiper-slide img {
            width: 100%;
            height: 100%;border-radius: 12px;
            object-fit: contain;
        }*/

      .partner-marquee-swiper .swiper-slide img {    
	 width: 100%;    height: 100%;    border-radius: 12px;    object-fit: contain;    
    /* 추가: 기본 상태에서 흑백(Grayscale) 처리 및 호버 애니메이션용 트랜지션 설정 */
    filter: grayscale(100%);
    /* hover 시 부드럽게 전환되도록 transition 추가 */
    transition: filter 0.4s ease; 
}

/* 추가: 이미지 호버 시 흑백 필터 제거 (본연의 컬러 노출) */
   .partner-marquee-swiper .swiper-slide img:hover {
    filter: grayscale(0%);}
  

      
        .page-header { text-align: center; margin-bottom: 3rem; }
        .page-title { font-weight: 700; font-size: 1.8rem; color: #212529; margin-bottom: 0.5rem; letter-spacing: -0.5px; }

        /* FAQ 그리드 컨테이너 (이미지 참조 완벽 구현) */
        .faq-grid-wrapper {
            border-top: 1px solid #e0e0e0;
            border-left: 1px solid #e0e0e0;
            display: grid;
            /* 기본적으로 5칸 배치 */
            grid-template-columns: repeat(5, 1fr); 
            background-color: #fff;
        }

        .faq-item {
            border-right: 1px solid #e0e0e0;
            border-bottom: 1px solid #e0e0e0;
            padding: 2.5rem 1rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s ease-in-out;
            background-color: #ffffff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: #333;
        }

        /* Hover 및 Active 효과 (어두운 반전) */
        .faq-item:hover {
            background-color: #262626;
            color: #ffffff;
        }

        .faq-num {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 0.8rem;
            transition: color 0.2s;
        }
        
        .faq-text {
            font-size: 0.9rem;
            line-height: 1.5;
            transition: color 0.2s;
        }
        
   /* ========================================================== */
        /* 네비 */
        /* ========================================================== */		
		.top-bar {
            background-color: #f7f2f2;
            border-bottom: 1px solid #fae5e4;
            display: none; 
        }
        @media (min-width: 992px) {
            .top-bar { display: block; } 
        }
        .top-bar-inner { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; font-size: 0.85rem; }
        .top-bar-title { font-weight:600; color: #333; letter-spacing: -0.3px; }
        .top-bar-links { display: flex; align-items: center; }
        .top-bar-links a { position: relative; color: #333; text-decoration: none; font-weight: 500; transition: color 0.2s; padding-right: 0.4rem; margin-right: 0.4rem; }
        .top-bar-links a:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 12px; background-color: #ccc; }
        .top-bar-links a:last-child { padding-right: 0; margin-right: 0; }
        .top-bar-links a:hover { color: var(--main-color); }

        .header-nav { 
            background-color: rgba(255, 255, 255, 1); 
            backdrop-filter: blur(5px);
            padding-top: 0.5rem; padding-bottom:0.5rem; /*네비 세로 굵기*/
            box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
            position: sticky; top: 0; z-index: 1020; 
        }
        .header-container { position: relative; }
        
        .mobile-menu-toggle { border: none; padding: 0; box-shadow: none; background: transparent; }
        .mobile-menu-toggle:focus { box-shadow: none; }
        .mobile-menu-icon { font-size: 1.8rem; color: #333;font-weight:500; }
        
       /* .logo-placeholder { 
            width: 120px; height: 35px; background-color: #e0e0e0; 
            display: flex; align-items: center; justify-content: center; 
            font-size: 14px; color: #666; font-weight: 600; text-decoration: none; border-radius: 4px; 
        }*/
        .pc-logo { margin: 0; display: none; }
		.pc-logo img { width:100px; height:60px;object-fit: contain; vertical-align: middle; }
        .mobile-logo { margin: 0; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; }
        .mobile-logo img { width: 130px; height: 30px; object-fit: contain; vertical-align: middle; }


        @media (min-width: 992px) {
            .pc-logo { display: flex; }
            .mobile-logo { display: none; }
            .mobile-menu-toggle { display: none; }
        }

        .mobile-phone-link { text-decoration: none; display: inline-block; }
        .mobile-phone-icon { width: 30px; height: 30px; object-fit: contain; vertical-align: middle; }
        @media (min-width: 992px) { .mobile-phone-link { display: none; } }

        .pc-nav-list { margin-left: auto; display: flex; gap: 0.5rem; }
        .navbar-nav .nav-link {font-size: 1rem; font-weight: 600; padding: 0.5rem 1rem !important; transition: color 0.3s ease; color: #121212 !important; }
        .navbar-nav .nav-link:hover{ color: var(--main-color) !important; }
        
 
       
        /* 메뉴 열림 시 뒤에 깔리는 어두운 배경 */
        .menu-backdrop {
            position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
            background-color: rgba(0,0,0,0.8); z-index: 1040;
            opacity: 0; visibility: hidden; transition: all 0.3s ease-in-out;
        }
        /* active 클래스가 붙으면 배경 노출 */
        .menu-backdrop.active { 
            opacity: 1; 
            visibility: visible; 
        }








        /* ========================================================== */
        /* 커스텀 레프트 패널 (모바일 전용 디자인) */
        /* ========================================================== */
        /* 1. 모바일 기본 설정 (뷰포트의 90% 적용) */
.custom-left-panel { 
    --bs-offcanvas-width: 90vw; /* 100vw -> 90vw로 변경 */
    --bs-offcanvas-bg: #161619; 
    border-right: none;
    visibility: hidden; 
    transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out !important; 
    z-index: 1050;
}

/* 2. 미디어 쿼리 분리 (태블릿/PC 환경) */
@media (min-width: 480px) { 
    .custom-left-panel {
        --bs-offcanvas-width: 360px; 
    }
}
        .custom-left-panel.active { visibility: visible !important; transform: translateX(0) !important; }
        
        .panel-header { 
            padding: 20px 15px; 
            border-bottom: none; 
            display: flex; 
            justify-content: center; 
            align-items: center; 
            position: relative;
        }
        
        .custom-close-btn { 
            position: absolute; 
            right: 20px; 
            top: 50%; 
            transform: translateY(-50%); 
            box-shadow: none; 
            filter: invert(1) grayscale(100%) brightness(200%); 
            cursor: pointer; 
            opacity: 0.6; 
            transition: opacity 0.2s;
        }
        .custom-close-btn:hover { opacity: 1; }

        .custom-left-panel .offcanvas-title { 
            color: #ddd; 
            font-size: 1.4rem; 
            font-weight: 600; 
            display: flex; 
            align-items: center; 
            margin: 0;
            letter-spacing: -0.5px;
        }
   .custom-left-panel .offcanvas-title img { 
          max-height:30px;
        }
        .custom-left-panel .offcanvas-body { padding: 0; }
        .left-menu-list { padding: 0; margin: 0; list-style: none; }
        
        .custom-left-panel .nav-item { 
            margin-bottom: 0; 
            border-bottom: 1px solid rgba(255,255,255,0.06); 
        }
        .custom-left-panel .nav-item:first-child { 
            border-top: 1px solid rgba(255,255,255,0.06); 
        }

        .custom-left-panel .nav-link { 
            color: #ddd !important; 
            font-weight:600; 
            padding: 15px 24px !important; 
            border-radius: 0; 
            display: flex; 
            align-items: center; 
            justify-content: space-between; 
            transition: background-color 0.2s ease; 
            text-decoration: none; 
            font-size: 0.875rem; 
        }
        
        .chevron-icon { 
            font-size: 0.85rem; 
            color: #888; 
            transition: color 0.2s; 
            font-weight: bold;
        }
        
        .custom-left-panel .nav-link:hover { background-color: rgba(255, 255, 255, 0.03); }
        .custom-left-panel .nav-link:hover .chevron-icon { color: #fff; }
        .custom-left-panel .nav-link.active { background-color: rgba(255, 255, 255, 0.04);color: var(--sub-color)  !important;  box-shadow: none;   }
       /*main { min-height: calc(100vh - 250px); padding-top: 40px; padding-bottom: 60px; }*/
        
       

	      /* ==========================================
           1. Core Variables & Base Styles
           ======================================
 .site-footer { background-color: #fafafa; border-top: 1px solid #eeeeee; color: #666; font-size: 0.85rem; line-height: 1.7; padding:1rem 0; }
        .footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom:1.5rem; flex-wrap: wrap; gap: 1.5rem; }
        .footer-logo { width: 100px;  background-color: none; display: flex; font-weight: 600; color: #555; text-decoration: none; border-radius: 2px; }
		.footer-logo img { width: 90px;  }
        .footer-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
        .footer-link-btn { display: inline-block; padding: 0.6rem 1.8rem; border: 1px solid #e0e0e0; background-color: #fffff; color: #333; 
		text-decoration: none; font-weight: 500; font-size: 0.85rem; transition: background-color 0.2s; letter-spacing: -0.3px;border-radius: 8px; }
        .footer-link-btn:hover { background-color: #f0f0f0; }
        .footer-bottom { text-align: left; }
        .footer-bottom p { margin: 0; color: #555; }
        .site-footer .copyright { margin-top: 1rem; font-size: 0.8rem; color: #444; }
        .footer-divider { margin: 0 0.4rem; color: #bbb; }
        
        @media (max-width: 767px) {
            .footer-top { flex-direction: column; align-items: flex-start; margin-bottom: 2rem; }
            .footer-links { width: 100%; justify-content: space-between; gap: 0.3rem; }
            .footer-link-btn { flex: 1; text-align: center; padding: 0.7rem 0.5rem; font-size: 0.8rem; }
			.footer-link-btn{ display: none; }
			.footer-logo { display: none; }
        }
        

 /* ==========================================
           4. Footer & Floating Elements
           ========================================== */
        .site-footer { background-color: var(--footer-bg); border-top: 1px solid #eeeeee; color: #ddd; font-size: 0.85rem; line-height: 1.7; padding: 2rem 0; }
        .footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1.5rem; }
		.footer-logo img { width: 90px; }
        .footer-logo { width: 140px; height: auto;  font-weight: 600; color: #999; text-decoration: none; border-radius: 2px; }
        .footer-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
        
		/*.footer-link-btn { display: inline-block; padding: 0.7rem 1.8rem; border: 1px solid #e0e0e0; background-color: #fafafa; color: #333; text-decoration: none; font-weight: 500; font-size: 0.85rem; transition: background-color 0.2s; letter-spacing: -0.3px; }
        .footer-link-btn:hover { background-color: #f0f0f0; }*/


       .footer-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
        .footer-link-btn { 
            display: inline-block; padding: 0.7rem 1.8rem; 
            border: 1px solid rgba(255, 255, 255, 0.1); /* 투명도 보더 */
            background-color: transparent; 
            color: #d1d5db; text-decoration: none; font-weight: 500; font-size: 0.85rem; 
            transition: all 0.2s; letter-spacing: -0.3px; border-radius: 6px;
        }
        .footer-link-btn:hover { 
            background-color: rgba(255, 255, 255, 0.1); 
            color: #ffffff;
        }


        .footer-bottom { text-align: left; }
        .footer-bottom p { margin-bottom: 0.35rem; color: #999; }
        .site-footer .copyright { margin-top: 1.5rem; font-size: 0.8rem; color: #888; }
        .footer-divider { margin: 0 0.4rem; color: #bbb; }
        
        @media (max-width: 767px) {
            .footer-top { flex-direction: column; align-items: flex-start; margin-bottom:1rem; }
            .footer-links { width: 100%; justify-content: space-between; gap: 0.3rem; }
            .footer-link-btn { flex: 1; text-align: center; padding: 0.7rem 0.5rem; font-size: 0.8rem; }
        }

        /* Mobile Sticky Nav */
        .mobile-sticky-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030; background-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); box-shadow: 0 -4px 20px rgba(0,0,0,0.08); border-top: 1px solid #e0e0e0; display: flex; justify-content: space-around; padding: 5px 0; padding-bottom: env(safe-area-inset-bottom); }
           .mobile-sticky-nav .nav-btn { color: #999; font-size: 0.75rem; font-weight: 500; text-decoration: none; flex: 1; text-align: center; }
        .mobile-sticky-nav .nav-btn i { font-size: 1.3rem; display: block; margin-bottom: 2px; }
        .mobile-sticky-nav .nav-btn.active { color: var(--main-color); }
        .mobile-sticky-nav .nav-btn:hover, .mobile-sticky-nav .nav-btn.active { color: var(--main-color); }

		 /* ==========================================
           비교 UI: 버티컬 탭 섹션 스타일 추가
           ========================================== */
        .vertical-tab-section { padding: 5rem 0 9rem 0; background-color: #ffffff; border-top: 1px solid #e9ecef; }
        
        /* 좌측 간략 소개 박스 수정: 배경 컬러 및 여백 조정 */
        .intro-box-simple { background-color: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 12px; padding: 2rem; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
        .intro-box-badge { display: inline-block; padding: 0.35rem 0.8rem; background-color: #ffffff; color: var(--main-color); border: 1px solid #cbd5e1; border-radius: 50px; font-size: 0.8rem; font-weight: 700; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
        .intro-box-title { font-size: 1.8rem; font-weight:700; color: #0f172a; margin-bottom: 0.75rem; letter-spacing: -0.5px; line-height: 1.4; }
        .intro-box-text { font-size: 0.95rem; color: #475569; line-height: 1.6; margin-bottom: 0; word-break: keep-all; }
        
        /* 세로형 탭 버튼 */
        .custom-v-tabs { gap: 0.5rem; }
        .custom-v-tabs .nav-link { 
            text-align: left; padding: 1rem 1.5rem; border-radius: 12px; 
            font-size: 1rem; font-weight: 600; color: #475569; 
            background-color: #ffffff; border: 1px solid #e2e8f0; 
            transition: all 0.2s ease; display: flex; align-items: center; justify-content: space-between;
        }
        .custom-v-tabs .nav-link i.icon-left { font-size: 1.2rem; color: #94a3b8; margin-right: 0.75rem; transition: color 0.2s; }
        .custom-v-tabs .nav-link i.icon-right { font-size: 0.9rem; color: #cbd5e1; transition: transform 0.2s, color 0.2s; }
        
        .custom-v-tabs .nav-link:hover { border-color: #cbd5e1; background-color: #f8fafc; }
        .custom-v-tabs .nav-link.active { 
            background-color: var(--main-color); color: #ffffff; border-color: var(--main-color);
            box-shadow: 0 10px 20px rgba(29, 60, 250, 0.15); 
        }
        .custom-v-tabs .nav-link.active i.icon-left, .custom-v-tabs .nav-link.active i.icon-right { color: #ffffff; }
        .custom-v-tabs .nav-link.active i.icon-right { transform: translateX(5px); }

        /* 우측 상세 정보 카드 (단일 포커스) */
        .v-tab-pane-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #e2e8f0; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
        .v-tab-img-area { height: 350px; overflow: hidden; position: relative; }
        .v-tab-img-area img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
        .v-tab-pane-card:hover .v-tab-img-area img { transform: scale(1.05); }
        .v-tab-content-area { padding: 2.5rem; }
        .v-tab-badge { display: inline-block; padding: 0.35rem 0.8rem; background-color: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; border-radius: 50px; font-size: 0.8rem; font-weight: 700; margin-bottom: 1rem; }
        .v-tab-title { font-size: 1.8rem; font-weight: 800; color: #0f172a; margin-bottom: 1rem; letter-spacing: -1px; }
        .v-tab-desc { font-size: 1.05rem; color: #475569; line-height: 1.7; margin-bottom: 1.5rem; word-break: keep-all; }
        
       /* 스펙 리스트 */
        .v-tab-feature-list { list-style: none; padding: 0; margin: 0 0 2rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: #f8fafc; padding: 1.5rem; border-radius: 12px; }
        .v-tab-feature-list li { font-size: 0.95rem; font-weight: 500; color: #334155; display: flex; align-items: center; }
        .v-tab-feature-list li i { color: var(--main-color); margin-right: 0.5rem; font-size: 1.1rem; }
        
        /* 갤러리 형태 아이템 (병원/특수시설 탭 용도) */
        .gallery-item-card {
            display: block; text-decoration: none; border-radius: 12px; overflow: hidden;
            border: 1px solid #e2e8f0; background: #fff; transition: transform 0.2s, box-shadow 0.2s; height: 100%;
        }
        .gallery-item-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
        .gallery-img-wrap { aspect-ratio: 4/3; overflow: hidden; background: #f1f5f9; position: relative; }
        .gallery-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
        .gallery-item-card:hover .gallery-img-wrap img { transform: scale(1.05); }
        .gallery-info { padding: 1rem; }
        .gallery-title { font-size: 0.95rem; font-weight: 700; color: #1e293b; margin-bottom: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .gallery-desc { font-size: 0.8rem; color: #64748b; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

      

@media (max-width: 991px) {
.vertical-tab-section { padding: 5rem 0 3rem 0; background-color: #ffffff; border-top: 1px solid #e9ecef; }
            .v-tab-img-area { height: 220px; }
            .v-tab-content-area { padding: 1.5rem; }
            .v-tab-feature-list { grid-template-columns: 1fr; gap: 0.5rem; }
            
            /* ==========================================
               모바일 UI: 세로형 탭 -> 가로형 스와이프 탭으로 변환
               ========================================== */
            /* 부트스트랩 flex-column 강제 해제 및 스크롤 설정 */
            .custom-v-tabs { 
                flex-direction: row !important; 
                flex-wrap: nowrap; 
                overflow-x: auto; 
                -webkit-overflow-scrolling: touch; /* iOS 부드러운 스크롤 */
                padding-bottom: 5px; 
                margin-bottom: 1.5rem;
            }
            
            /* 미관을 위해 네이티브 스크롤바 숨김 */
            .custom-v-tabs::-webkit-scrollbar { display: none; }
            
            .custom-v-tabs .nav-link { 
                white-space: nowrap; /* 글자 줄바꿈 방지 */
                flex: 0 0 auto;      /* 내부 콘텐츠만큼만 너비 차지 (스크롤 유도) */
                padding: 0.7rem 1.2rem; 
                border-radius: 8px;  /* 요청사항: 라운딩 축소 */
                justify-content: center;
            }
            
            /* 모바일 가로 탭에서는 아이콘 여백 축소 및 우측 화살표 숨김 */
            .custom-v-tabs .nav-link i.icon-left { margin-right: 0.4rem; font-size: 1.1rem; }
            .custom-v-tabs .nav-link i.icon-right { display: none; }
        }



.portfolio-card {position: relative;}
        
   
        /* 이미지 우측 상단 담백한 배지 (요청사항) */
        .portfolio-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background-color: rgba(30, 41, 59, 0.4); /* 진한 회색계열 반투명 */
            backdrop-filter: blur(4px);
            color: #ffffff;
            padding: 6px 12px;
            border-radius: 4px; /* 심플한 느낌을 위해 약간의 라운딩만 */
            font-size: 0.65rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            gap: 5px;
            z-index: 10;
        }