.cursor-pointer {
    cursor : pointer;
}

.text-gradient-orange {
    background: linear-gradient(to right, #FF6800, #FF3A00); /* 배경에 그라데이션 */
    -webkit-background-clip: text;                           /* 크롬/사파리용 */
    -webkit-text-fill-color: transparent;                    /* 글자색을 투명 처리 */
}


/* 초기 투명 */
.bg-transparent-custom {
    background: transparent !important;
    transition: background 0.3s ease, border-color 0.3s ease;
}

/* 스크롤 후 white 배경 */
.navbar-scrolled {
    background: #ffffff !important;
    border-color: rgba(0,0,0,0.1) !important; /* 선 살짝 바꿈 (선택) */
}

/* 스크롤 후 메뉴 폰트 dark */
.navbar-scrolled .nav-link,
.navbar-scrolled .navbar-brand,
.navbar-scrolled span {
    color: #000 !important;
}

.navbar-brand {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.logo {
    position: absolute;
    top: -12px;
    left: 0;
    transition: opacity .3s ease;
}

/* 초기: 화이트 로고 보여주기 */
.logo-white { opacity: 1; }
.logo-black { opacity: 0; }

/* 스크롤 후: 블랙 로고 */
.navbar-scrolled .logo-white { opacity: 0; }
.navbar-scrolled .logo-black { opacity: 1; }


/* 버튼 스타일 */
.btn-orange {
    background: var(--brand-primary);
    border-radius: 20px;
    padding: 6px 18px;
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    border: none;
}
.btn-orange:hover {
    background: var(--brand-primary);
}

.hero-section {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-section::before {
    content: "";
    position: absolute;
    top:0; left:0;
    width:100%; height:100%;
    z-index:1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* ========== before/after slider ========== */
.compare-wrapper {
    width: 420px;
    height: 540px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding-bottom: 56.25%; /* 16:9 */
}

/* 이미지 공통 */
.compare-img img {
    position: absolute;
    top:0; left:0;
    width:100%;
    height:100%;
    object-fit: cover;
}

/* After: 항상 풀 화면 */
.compare-after {
    position: absolute;
    top:0; left:0;
    width:100%; height:100%;
    z-index:1;
}

/* Before: clip-path로 잘라냄 */
.compare-before {
    position: absolute;
    top:0; left:0;
    width:100%; height:100%;
    z-index:3;
    clip-path: inset(0 50% 0 0); /* 초기: 반반 */
}

/* 슬라이더 (투명) */
.compare-slider {
    position: absolute;
    top:0; left:0;
    width:100%; height:100%;
    -webkit-appearance: none;
    background: transparent;
    cursor: ew-resize;
    z-index:5;
}

/* 핸들 */
.compare-handle {
    position: absolute;
    top:50%;
    left:50%;
    width: 40px; /* 원 크기 키우고 싶으면 수정 */
    height: 40px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    border: 3px solid #fff;
    transform: translate(-50%, -50%);
    z-index:10;
    pointer-events:none;
    display: flex;              /* ✅ 아이콘 중앙 배치 */
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

/* 중앙 라인 */
.compare-wrapper:after {
    content:"";
    position:absolute;
    top:0; bottom:0;
    left:50%;
    width:0px;
    background: #222;
    transform:translateX(-50%);
    z-index:4;
}

.layout-border-bottom {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4); /* white + 40% opacity */
}


.scroll-bounce img {
    animation: scrollBounce 1.4s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%   { transform: translateY(0); }
    30%  { transform: translateY(6px); }
    60%  { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}

/* === 탭 스타일 Nav === */
/* === 탭 스타일 Nav === */
.nav-underline {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-underline .nav-link {
    position: relative;
    padding: 12px 0;
    font-weight: 400;
    color: rgba(0,0,0,0.6);
    transition: color .2s ease;
}

/* hover 시 색만 */
.nav-underline .nav-link:hover {
}

/* active 텍스트 */
.nav-underline .nav-link.active {
    color: #000;
    font-weight: 600;
}

/* underline 기본 상태 */
.nav-underline .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: var(--brand-primary); /* 브랜드 컬러 */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

/* ✅ active일 때만 underline 표시 */
.nav-underline .nav-link.active::after {
    transform: scaleX(1);
}

.stat-section {
    background: #121212; /* 다크 배경 */
    padding: 120px 0px 0px 0px;
}


.stat-block {
    margin-bottom: 80px;
}

.stat-number {
    font-size: 80px;
    font-weight: 800;
    line-height: 1.1;
}

.stat-divider {
    width: 100px;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin: 32px auto 0;
}

.text-gray-light {
    color: rgba(255,255,255,0.75);
}
.text-gray {
    color: rgba(255,255,255,0.45);
}



.case-section {
    padding: 132px 0px 140px 0px;
}


/* 카드 설명 영역 */
.case-info {
    background: rgba(0,0,0,0.4);
    padding: 20px 16px 16px 16px;
    border-radius: 0 0 16px 16px;
    text-align: left;
}

.case-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-top: 48px;
}

.case-card-track {
    display: flex;
    animation: marqueeSlide 20s linear infinite;
    width: max-content;
}

.case-card-wrap {
    display: flex;
    flex-wrap: nowrap !important;
}

.case-card {
    width: 260px; /* 고정 */
    margin-right: 24px; /* 카드 간격 */
}

/* 이미지 placeholder */
.case-thumb {
    width: 260px;
    height: 360px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px 12px 0 0;
}

.case-thumb img {
    border-radius: 12px 12px 0 0;
}


/* 텍스트 */
.text-gray-light {
    color: rgba(255,255,255,0.6);
}

/* 애니메이션 */
@keyframes marqueeSlide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}


/* 섹션 */
.guide-section {
    background: #fff;
}


/* 상단 작은 라벨 */
.badge-guide {
    background: var(--brand-primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 500;
    font-size: var(--font-16);
}

/* 설명 텍스트 컬러 */
.text-gray {
    color: rgba(0,0,0,0.55);
}

/* 카드 박스 */
.guide-box {
    border-radius: 12px;
    padding: 28px;
}

/* Step Tag */
.step-tag {
    background: var(--brand-primary-opacity);
    color: var(--brand-primary);
    font-size: var(--font-18);
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    display: inline-block;
}

/* 썸네일 placeholder */
.guide-thumb {
    width: 100%;/*
    aspect-ratio: 16 / 10;*/
    border-radius: 12px;
}

/* 버튼 */
.btn-guide {
    font-size: var(--font-14);
    color: var(--brand-primary);
    padding: 8px 16px;
    font-weight: 600;
    border: 1px solid rgba(255,104,0,0.4);
    border-radius: 50px;
    transition: 0.2s;
}

.btn-guide:hover {
    background: #FF6800;
    color: #fff;
}

.guide-line {
    border-bottom: 1px solid #DBDBDB; /* 연회색 */
    margin: 40px 0 24px 0; /* 위아래 여백 */
}


.guide-line.price {
    border-bottom: 1px solid #DBDBDB; /* 연회색 */
    margin: 40px 0 24px 0; /* 위아래 여백 */
}


.pricing-section {
    background: #fff;
}

.nav-pills .pricing-tab {
    padding: 10px 24px;
    border-radius: 30px;
    background: #eee;
    color: #333;
    margin: 0 8px;
    cursor: pointer;
}

.nav-pills .pricing-tab.active {
    background: var(--brand-primary);
    color: #fff;
}

.pricing-box {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
}

.list-check li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
}

.list-check li:before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-primary);
}

.text-orange {
    color: var(--brand-primary);
}

.badge-event {
    background: var(--brand-primary-opacity);
    color: var(--brand-primary);
    font-size: var(--font-12);
    padding: 4px 6px;
    margin-bottom: 6px;
    margin-left: 4px;
    border-radius: 4px;
    font-weight: 600;
}

.pricing-content { display: none; }
.pricing-content.active { display: block; }

.pricing-tabs-wrap {
    display: inline-flex;
    background: #ffffff;
    border-radius: 50px;
    padding: 4px;
    margin-bottom: 28px;
}

.pricing-pill {
    border: none;
    background: transparent;
    padding: 12px 32px;
    border-radius: 50px;
    color: #777;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.pricing-pill.active {
    background: var(--brand-primary);
    color: #fff;
}

.list-check-item {
    display: flex;
    align-items: center; /* 세로 가운데 정렬 */
    margin-bottom: 24px;
}

.list-check-item img {
    width: 18px;
    height: 18px;
    display: block;
}

.list-check-item span{
    margin-left: 8px;
}

.list-check-item p{
    display: flex;
    align-items: center; /* 세로 가운데 정렬 */
    margin-bottom: 0px;
}


.btn-dark-consult {
    display: inline-block;
    padding: 16px 32px;
    background: rgba(255,255,255,0.05); /* 투명한 어두운 박스 */
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08); /* subtle border */
    transition: all .25s ease-in-out;
    text-align: center;
}

.btn-dark-consult:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}

.scroll-image-wrap {
    width: 100%;
    height: 800px; /* 보여줄 영역 크기 */
    overflow: hidden;
    position: relative;
    border-radius: 20px;
}

.scroll-image {
    width: 100%;
    height: auto;
    animation: scrollUp 30s linear infinite;
}

/* 아래 → 위로 이동 애니메이션 */
@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-2500px); /* 이미지 한 장 높이만큼 이동 */
    }
}


.consult-box {
    max-width: 460px;
    border-radius: 16px;
    background: #fff;
    padding: 40px 28px;
    box-shadow: 0 0 12px rgba(0,0,0,0.06);
}

.consult-inner {
    text-align: center;
}

.consult-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    width: 100%;
    text-decoration: none;
    gap: 12px;
    transition: .2s ease;
}

.consult-btn img {
    width: 24px;
    height: 24px;
}

/* 오렌지 */
.consult-orange {
    background: var(--brand-primary);
    color: #fff !important;
}
.consult-orange:hover {
    background: #E34900;
    color: #fff !important;
}

/* 그린 */
.consult-green {
    background: #00CD46;
    color: #fff !important;
}
.consult-green:hover {
    background: #00A83A;
    color: #fff !important;
}

/* 옐로 */
.consult-yellow {
    background: #FFE001;
    color:#411D1D !important;
}
.consult-yellow:hover {
    background: #E6CA00;
    color:#411D1D !important;
}

.consult-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.consult-info {
    font-size: 14px;
    color: #555;
    margin-top: 8px;
}

/* 링크 기본 처리 */
.consult-btn {
    text-decoration: none !important;
    display: inline-block;
}
.consult-btn:hover {
    text-decoration: none !important;
}

.footer-link{
    color: var(--basic-white-FFFFFF);
}

/* Backdrop */
.sheet-backdrop {
    position: fixed;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.45);
    display: none;
    z-index: 9999;
}

/* 중앙 팝업 */
.sheet {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 640px;
    max-width: 90vw;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
    padding: 24px;
    max-height: 90vh;
    overflow-y: auto;
    opacity: 0;
    transition: opacity .25s ease;
}

.sheet-open {
    opacity: 1;
}
.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* ✅ 세로 중앙 정렬 */
    font-weight: bold;
    font-size: 20px;
    padding: 8px 0; /* 추천: 높이 균형 */
}

.sheet-close img {
    width: 22px;
    height: 22px;
    display: block; /* baseline 제거 → 정확한 정렬 */
    cursor: pointer;
}
/* 라벨 */
.form-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
    display: block;
}

/* 인풋 */
.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
}

/* 라디오 그룹 */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 15px;
}

.radio-group input[type="radio"] {
    accent-color: var(--brand-primary); /* 주황 */
}


.accordion-item {
    background: #fafafa;
    border-radius: 4px;
    overflow: hidden; /* ✅ 아래 라인 제거 핵심 */
    margin-bottom: 8px;
    border: 1px solid #eee;

}

/* 헤더 영역 */
.accordion-header {
    padding: 14px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

/* 펼쳐지는 내용 */
.accordion-content {
    font-size: 13px;
    color: #222;
    line-height: 1.5;

    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;

    padding: 0 14px; /* ✅ 기본 padding only left/right */
}

/* 펼쳐짐 상태 스타일 */
.accordion-item.active .accordion-content {
    padding: 12px 14px 14px; /* ✅ 열릴 때만 padding */
}

/* 화살표 아이콘 */
.accordion-icon {
    width: 18px;
    height: 18px;
    transition: transform .2s;
    opacity: .7;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    opacity: 1;
}

.consent-box-static {
    display: flex;
    align-items: flex-start;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 14px 16px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    margin-top: 12px;
}

.consent-icon-static {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    margin-top: 2px;
}

/* CTA */
.submit-btn {
    background: var(--brand-primary);
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.submit-btn:hover {
    background: #e34900;
}

.floating-consult-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;

    width: 100%;
    max-width: 640px;     /* ✅ 최대 640px */
    padding: 0 16px;      /* 양쪽 여백 */
    pointer-events: none; /* 자식만 클릭되게 */
}

.floating-consult-btn {
    width: 100%;
    background: var(--brand-primary);
    color: #fff;
    font-weight: 700;
    padding: 16px 16px 24px 16px;
    border: none;
    border-radius: 8px;
    font-size: 18px;

    pointer-events: auto;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    cursor: pointer;
}

/* 기본 위치 */
#mainNav {
    background: #fff;
    z-index: 100;
}

/* 헤더 영역에 올라갔을 때 */
.sticky-tab {
    position: fixed;
    top: 56px; /* ✅ 모바일 헤더 높이(조절 가능) */
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 5000;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* 기본 dot */
.carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.2);
    margin: 0 6px;
}

/* active dot */
.carousel-indicators .active {
    background-color: var(--brand-primary) !important;
}

/* 버튼 wrapper */
.custom-prev, .custom-next {
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    top: 14%;
    transform: translateY(-50%);
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 좌우 위치 조정 */
.custom-prev { left: 10px; }
.custom-next { right: 10px; }

/* 화살표 스타일 */
.custom-arrow {
    font-size: 20px;
    color: #fff;
    line-height: 1;
}

@media (max-width: 768px) {

    /* 초기 상태: 투명 */
    .bg-transparent-custom {
        background: transparent;
        transition: all .25s ease;
    }

    /* 스크롤 후 */
    .mobile-header-scrolled {
        background: #fff !important;
        border-bottom: 1px solid rgba(0,0,0,0.1) !important;
    }

    /* 텍스트 컬러 전환 */
    .mobile-header-scrolled .navbar-brand,
    .mobile-header-scrolled span {
        color: #000 !important;
    }

    .compare-wrapper{
        width: 290px;
        height: 400px;
    }
    .nav-underline{
        gap: 24px;
    }

    .stat-number {
        font-size: 64px;
        font-weight: 800;
        line-height: 1.1;
    }

    .stat-block{
        margin-bottom: 40px;
    }

    .badge-guide{
        font-size: var(--font-14);
    }

    /* 카드 박스 */
    .guide-box {
        border-radius: 12px;
        padding: 16px;
    }
    .step-tag{
        font-size: 14px;
    }
    .guide-line.event{
        margin: 40px 160px 24px 160px;
    }

    .pricing-pill {
        border: none;
        background: transparent;
        padding: 8px 24px;
        border-radius: 50px;
        color: #777;
        font-weight: 600;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.25s ease;
    }

    .btn-dark-consult {
        display: inline-block;
        padding: 12px 28px;
        background: rgba(255,255,255,0.05); /* 투명한 어두운 박스 */
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,0.08); /* subtle border */
        transition: all .25s ease-in-out;
        text-align: center;
    }

    .scroll-image-wrap{
        height: 560px;
    }

    /* 아래 → 위로 이동 애니메이션 */
    @keyframes scrollUp {
        0% {
            transform: translateY(0);
        }
        100% {
            transform: translateY(-1800px); /* 이미지 한 장 높이만큼 이동 */
        }
    }


    .consult-box {
        max-width: 360px;
        border-radius: 16px;
        background: #fff;
        padding: 32px 20px;
        box-shadow: 0 0 12px rgba(0,0,0,0.06);
    }


    .consult-btn {
        padding: 16px 20px;
        font-size: 16px;
    }
    .consult-btn img{
        width: 18px;
        height: 18px;
    }


    /* Backdrop */
    .sheet-backdrop {
        position: fixed;
        left: 0; top: 0;
        width: 100%; height: 100%;
        background: rgba(0,0,0,0.45);
        display: none;
        z-index: 9999;
    }

    /* 중앙 팝업 */
    .sheet {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 640px;
        max-width: 100vw;
        background: #fff;
        border-radius: 0px;
        box-shadow: 0 4px 30px rgba(0,0,0,0.2);
        padding: 40px 20px 32px 20px;
        max-height: 100vh;
        overflow-y: auto;
        opacity: 0;
        transition: opacity .25s ease;
    }

    .sheet-open {
        opacity: 1;
    }
    .sheet-header {
        display: flex;
        justify-content: space-between;
        align-items: center; /* ✅ 세로 중앙 정렬 */
        font-weight: bold;
        font-size: 20px;
        padding: 8px 0; /* 추천: 높이 균형 */
    }

    .sheet-close img {
        width: 22px;
        height: 22px;
        display: block; /* baseline 제거 → 정확한 정렬 */
        cursor: pointer;
    }

    .floating-consult-btn {
        font-size: 16px;
        padding: 12px 12px 20px 12px;
        border-radius: 0px;
    }

    .floating-consult-bar {
        position: fixed;
        bottom: 0px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2000;
        width: 101%;
        max-width: 680px;     /* ✅ 최대 640px */
        padding: 0;      /* 양쪽 여백 */
        pointer-events: none; /* 자식만 클릭되게 */
    }

    /* 버튼 wrapper */
    .custom-prev, .custom-next {
        width: 32px;
        height: 32px;
        background: rgba(0,0,0,0.4);
        border-radius: 50%;
        top: 13%;
        transform: translateY(-50%);
        opacity: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }


    .hero-section {
        height: 100%;
        background-size: cover;
        background-position: center;
        position: relative;
    }

    /* 헤더 영역에 올라갔을 때 */
    .sticky-tab {
        position: fixed;
        top: 0; /* ✅ 모바일 헤더 높이(조절 가능) */
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 5000;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }


    .list-check-item {
        display: flex;
        align-items: center; /* 세로 가운데 정렬 */
        margin-bottom: 16px;
    }

    .guide-line.price {
        border-bottom: 1px solid #DBDBDB; /* 연회색 */
        margin: 24px 0 24px 0; /* 위아래 여백 */
    }

    /* 기본 dot */
    .carousel-indicators li {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: rgba(0,0,0,0.2);
        margin: 0 4px;
    }

    .case-section {
        padding: 132px 0px 80px 0px;
    }


}



