*{padding:0;margin:0;box-sizing:border-box;}
.inner{max-width:1200px;margin:0 auto;}
ul li{list-style-type:none;}
a{text-decoration:none;color:inherit;}
.flex{display:flex;}
html{scroll-behavior:smooth;}

body{
    font-family:'Pretendard', sans-serif;
    font-weight:400;
}
h1,h2,h3{font-weight:700;}

.sec02-title .mbbr{display: block;}
/* 레이아웃 */
.wrap{display:flex;}

.content{
    width:100%;
    margin-right:360px;
}

/* 상담바 */
.consult{
    position:fixed;
    top:0;
    right:0;
    width:360px;
    height:100vh;
    display:flex;
    flex-direction:column;
    background:#fff;
    box-shadow:-10px 0 30px rgba(0,0,0,0.08);
}

/* 로고 */
.consult-logo{
    background:#0b1a3a;
    padding:20px;
    text-align:center;
    flex-shrink:0;
}

.consult-logo img{max-width:150px;}

/* 내부 */
.consult-inner{
    flex:1;
    display:flex;
    flex-direction:column;
}

/* 스크롤 영역 */
.consult-content{
    flex:1;
    overflow-y:auto;
}

/* 버튼 */
.consult-actions{
    display:flex;
    flex-direction:column;
    gap:10px;
    padding:20px 20px 20px; /* 여기로 이동 */
    border-bottom:1px solid #e5e5e5;
    margin-bottom:20px;
}
form{margin-top:70px;}
.btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:100%;
    padding:15px;
    font-weight:bold;
    border-radius:6px;
    font-size:1.1rem;
}

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

.kakao{
    background:#EED823;
    box-shadow:0 4px 10px rgba(238,216,35,0.4);
}
.case{border:1px solid #ddd;}

/* 폼 */
.consult-form{
    display:flex;
    flex-direction:column;
    padding:0 20px 20px; /* 여기로 이동 */
}

.form-group{margin-bottom:15px;}

.form-group label{
    display:block;
    font-size:1rem;
    margin-bottom:5px;
    font-weight:500;
}

.form-group.required label::after{
    content:" *";
    color:red;
}

.consult-form input{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:6px;
    font-size:1rem;
    margin-top:5px;
}

/* 체크박스 */
.agree{
    display:flex;
    align-items:center;
    gap:6px;
    font-size:1rem;
    margin:10px 0 15px;
}

.agree input{
    width:15px;
    height:15px;
}

/* 버튼 */
.submit-btn{
    width:100%;
    padding:15px;
    background:#0b1a3a;
    color:#fff;
    border:none;
    border-radius:6px;
    font-weight:bold;
    cursor:pointer;
    font-size:1rem;
    margin-top:10px;
}

/* 하단 */
.consult-footer{
    font-size:0.85rem;
    color:#888;
    line-height:1.6;
    padding:15px;
    flex-shrink:0;
}

.consult-footer .copy{
    margin-top:5px;
    font-size:0.75rem;
    color:#aaa;
}

.consult-form input:focus{
    outline:none;
    border-color:#0b1a3a;
    box-shadow:0 0 0 2px rgba(11,26,58,0.1);
}

.btn:hover{
    transform:translateY(-1px);
    transition:0.2s;
}

.submit-btn:hover{
    background:#45557c;
}

.white{color: #fff;}
/* sec01 */
.sec01{
    height:100vh;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;

    background:
        linear-gradient(rgba(3, 10, 26, 0.85), rgba(1, 11, 31, 0.85)),
        url('../img/sec01back.jpg') no-repeat center;

    background-size:cover;
}

.sec01-inner{
    position:relative;
    z-index:2;
    text-align:center;
    color:#fff;
    width:95%;
}

/* 상단 뱃지 */
.badge{
    display:inline-block;
    background:#ffd400;
    color:#000;
    padding:20px 50px;
    border-radius:30px;
    font-weight:bold;
    font-size:2rem;
    box-shadow:0 0 20px rgba(255,212,0,0.6);
}

/* 메인 타이틀 */
.main-title {
    font-size: 5rem;
    line-height: 1.25;
    margin: 100px 0;
}

/* 새로운 커서 */
.cursor::after {
    content: "|";
    margin-left: 5px;
    animation: blink 0.8s infinite;
}


/* 패키지 박스 */
.package-box{
    border:3px solid #ffd400;
    border-radius:20px;
    padding:40px;
    display:inline-block;

    box-shadow:0 0 30px rgba(255,212,0,0.4);
}

.package-box h2{
    color:#ffd400;
    font-size:3rem;
    margin-bottom:30px;
}

/* 리스트 */
.package-list{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
}

.package-list span{
    background:#2a2a2a;
    padding:10px 15px;
    border-radius:8px;
    font-size:1.5rem;
}

.package-list .full{
    width:95%;
    text-align:center;
    color: #ffd400;
}

.package-list span:nth-child(1){ animation-delay:0s; color: #ffd400;}
.package-list span:nth-child(2){ animation-delay:0.2s; }
.package-list span:nth-child(3){ animation-delay:0.4s; }
.package-list span:nth-child(4){ animation-delay:0.6s; }
.package-list span:nth-child(5){ animation-delay:0.8s; }

@keyframes bounceText{
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px) scale(1.05); }
}



@keyframes bounceItem{
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.05); }
}



@keyframes blink{
    0%,100%{opacity:1;}
    50%{opacity:0;}
}

.highlight{
    color:#ffd400 !important;
}
/* sec01 종료 */

/* sec02 시작 */

.sec02{
    padding:120px 20px;
    background:#f7f9fc;
    text-align:center;
}

.sec02-inner{
    max-width:1200px;
    margin:0 auto;
    overflow:hidden; /* 🔥 안전장치 */
}

.sec02-title{
    font-size:3rem;
    font-weight:700;
}

.sec02-title span{
    color:#6c5cff;
}

.sec02-sub{
    margin-top:10px;
    color:#888;
}

/* 슬라이드 */
.review-marquee{
    overflow:hidden;
    margin-top:60px;
    width:100%;   
}

.review-track{
    display:flex;
    gap:30px;
    width:max-content;

    animation: scrollLeft 20s linear infinite;
}

/* 카드 */
.review-card{
    width:350px;
    flex-shrink:0;
    background:#fff;
    padding:50px 25px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.review-top{
    display:flex;
    align-items:center;
    gap:15px;
}

.review-result{
    border-top:1px solid #eee;
    padding-top:15px;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction: column;
    gap:15px;
}

.review-result em{
    color:#6c5cff;
    font-style:normal;
    font-weight:700;
}

.review-result b{
   font-size:1.25rem;
    font-weight:700;
    color: #45557c;
}

.review-marquee:hover .review-track{
    animation-play-state: paused;
}



.review-top .name{
    display: flex;
    gap:15px;
    align-items: center;
}

.review-top .name strong{
    font-size:1rem;
}

.review-top .name p{
    font-size:1rem;
}

.review-text{
    margin:20px 0;
    line-height:1.6;
    color:#555;
    font-size:1.15rem;
}

.review-result span{
    font-size:1.15rem;
}

.review-result strong{
    font-size:1.25rem;
}

.review-top img{
    width:70px;
    height:70px;
    border-radius:50%;
}

/* 🔥 무한 흐름 핵심 */
@keyframes scrollLeft{
    0%{
        transform:translateX(0);
    }
    100%{
        transform:translateX(-50%);
    }
}

/* sec02 종료 */

/* sec03 시작 */
.sec03{
    padding:120px 20px;
    background:#ffffff;
    text-align:center;
}

.sec03-inner{
    max-width:1200px;
    margin:0 auto;
    overflow:hidden; /* 🔥 안전장치 */
}

.sec03-title{
    font-size:3rem;
    font-weight:700;
}

.sec03-title span{
    color:#6c5cff;
}

/* 카드 */
/* 카드 리스트 */
.feature-list{
    display:flex;
    gap:25px;
    align-items:flex-end; /* 🔥 높이 차이 */
}

/* 카드 */
.feature-card{
    flex:1;
    padding:50px 25px;
    border-radius:24px;
    color:#fff;

    /* 🔥 가운데 정렬 */
    text-align:center;

    background:linear-gradient(135deg, #5b6b9a, #3f4f78);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.1);

    transition:0.3s;
}

/* 🔥 높이 랜덤 느낌 */
.feature-card:nth-child(1){ margin-top:40px; }
.feature-card:nth-child(2){ margin-top:40px; }
.feature-card:nth-child(3){ margin-top:60px; }
.feature-card:nth-child(4){ margin-top:40px; }
.feature-card:nth-child(5){ margin-top:40px; }
.feature-card:nth-child(1),
.feature-card:nth-child(3){
    background:linear-gradient(135deg, #2e8bff, #00c6ff);
}
/* 기존 강조 카드 유지 */
.feature-card:last-child{
    background:linear-gradient(135deg, #2e8bff, #00c6ff);
}

/* hover */
.feature-card:hover{
    transform:translateY(-10px) scale(1.03);
}

.feature-card:last-child:hover{
    transform:translateY(-10px) scale(1.08);
}
/* 타이틀 */
.feature-card h3{
    font-size:1.5rem;
    margin-bottom:15px;
}

/* 설명 */
.feature-card p{
    font-size:1.05rem;
    line-height:1.6;
    opacity:0.9;
}

/* 포인트 카드 */
.feature-card:last-child{
    background:linear-gradient(135deg, #2e8bff, #00c6ff);
}

/* hover */
.feature-card:hover{
    transform:translateY(-10px) scale(1.03);
}

/* 마지막 카드 hover 유지 */
.feature-card:last-child:hover{
    transform:translateY(-10px) scale(1.08);
}

/* 아이콘 */
.feature-card .icon{
    font-size:2.2rem;
    margin-bottom:20px;

    /* 🔥 살짝 강조 */
    display:inline-flex;
    align-items:center;
    justify-content:center;

    width:60px;
    height:60px;

    border-radius:50%;
    background:rgba(255,255,255,0.15);

    backdrop-filter: blur(4px);
}
/* sec03 종료 */

/* sec04 */
.sec04 {
    padding:120px 20px;
    background:#f5f7fb;
    text-align:center;
}

.sec04-inner {
    max-width:1200px;
    margin:0 auto;
}

.sec04-title {
    font-size:3rem;
    font-weight:700;
}

.sec04-desc {
    margin-top:20px;
    color:#666;
    font-size:1.5rem;
    line-height:1.6;
}

/* 그룹 */
.info-wrapper {
    margin-top:80px;
    display:flex;
    flex-direction:column;
    gap:60px;
}

/* 4개 카드 묶음 */
.info-grid {
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap:20px;
}

/* 카드 */
.info-card {
    background:#fff;
    padding:30px 20px;
    border-radius:16px;
    font-size:1.25rem;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    border:1px solid #eee;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:15px;

    transition:0.3s;
}

.top-line{
    white-space: nowrap;
}

/* 아이콘 */
.info-card .icon{
    width:50px;
    height:50px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;

    font-size:1.5rem;

    background:linear-gradient(135deg, #6c5cff, #8f7bff);
    color:#fff;

    box-shadow:0 5px 15px rgba(108,92,255,0.3);
}

/* hover */
.info-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(0,0,0,0.12);
}

/* 강조 텍스트 */
.info-card b{
    color:#6c5cff;
}

.sec04 .redline{
    text-decoration: underline;
     text-decoration-color: red; /* 원하는 색 */
     text-underline-offset: 5px; /* 글자와 간격 */
}

.sec04 .bold{font-weight:700;}
.sec04 .small{font-size:1.15rem;}

/* sec05 */
.sec05{
    padding:120px 20px;
    background:#f0f2f5;
    text-align:center;
}

.sec05-inner{
    max-width:1200px;
    margin:0 auto;
}

.sec05-title{
    font-size:3rem;
    font-weight:700;
}

.sec05-title span{
    color:#6c5cff; /* 파란색 */
}

/* 카드 */
/* 섹션5 카드 전체 */
.sec05 .condition-wrap{
    display:flex;
    justify-content:center;
    gap:50px;
    margin-top:100px;
    flex-wrap:nowrap; /* 🔥 이거 */
}
.sec05 .condition-card{
    flex:0 0 300px;
}

/* 카드 */
.sec05 .condition-card{
    width:100%;
    max-width:300px; /* 🔥 변경 */
    padding:40px 30px;
    border-radius:16px;
    background: linear-gradient(135deg, #6a5cff, #4b6bff);
    color:#fff;
    text-align:center;
    transition:all 0.3s ease;
    position:relative;
    overflow:hidden;
}

/* 살짝 빛나는 효과 */
.sec05 .condition-card::before{
    content:"";
    position:absolute;
    top:-50%;
    left:-50%;
    width:200%;
    height:200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 60%);
    opacity:0;
    transition:0.4s;
}

/* hover 효과 */
.sec05 .condition-card:hover{
    transform:translateY(-10px) scale(1.03);
    box-shadow:0 20px 40px rgba(0,0,0,0.2);
}

.sec05 .condition-card:hover::before{
    opacity:1;
}

/* 텍스트 */
.sec05 .condition-card p{
    font-size:1.25rem;
    line-height:1.6;
}

.sec05 .condition-card:nth-child(2){
    transform: translateY(-10px) scale(1.05);
}

/* 강조 텍스트 */
.sec05 .condition-card .highlight{
    color:#7fffd4;
    font-weight:700;
    font-size:20px;
}

/* 강조 */
.mint{
    color:#6fe3dc;
    font-weight:700;
}

.condition-card small{
    display:block;
    margin-top:10px;
    font-size:1rem;
    opacity:0.9;
}

/* 🔥 공통 초기 상태 */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.6s ease;
}

/* 🔥 등장 상태 */
.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1.05);
}

/* 약간 튀는 느낌 */
.reveal.active {
    transition: all 0.6s cubic-bezier(0.22, 1.2, 0.36, 1);
}

/* sec06 */
.sec06{
    padding:120px 20px;
    background:#fff;
}

.sec06-inner{
    max-width:900px;
    margin:0 auto;
}

.sec06-title{
    font-size:3rem;
    font-weight:700;
    margin-bottom:60px;
}

/* 리스트 */
.faq-item{
    border-bottom:1px solid #ddd;
    padding:20px 0;
}

/* 질문 */
.faq-question{
    font-size:1.5rem;
    font-weight:600;
    cursor:pointer;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* 화살표 */
.arrow{
    transition:0.3s;
}

/* 답변 */
.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:all 0.4s ease;
    color:#555;
    line-height:1.6;
    margin-top:0;
}

/* 활성화 */
.faq-item.active .faq-answer{
    max-height:200px;
    margin-top:15px;
    font-size:1.25rem;
}

/* 화살표 회전 */
.faq-item.active .arrow{
    transform:rotate(180deg);
}

.sec06-title span{
    color:#6c5cff; /* 파란색 */
}

.sec07{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    background-color: #000;
    padding:80px 0;
}
.footfix{display: none;}

.sec07-inner{
    position:relative;
    z-index:2;
    text-align:center;
    color:#fff;
    width:95%;
}

/* 🔥 모바일 대응 */
@media (max-width: 768px){

    /* 레이아웃 */
    .wrap{
        flex-direction:column;
    }

    .content{
        margin-right:0;
    }

    /* 🔥 상담폼 → 하단 섹션화 */
    .consult{
        position:relative; /* fixed 제거 */
        width:100%;
        height:auto;
        box-shadow:none;
        margin-top:80px;
    }

    /* 내부 스크롤 제거 */
    .consult-content{
        overflow:visible;
    }

    .consult-inner{
        height:auto;
    }

    /* 로고 제거 or 축소 */
    .consult-logo{
        padding:15px;
    }

    .consult-logo img{
        max-width:120px;
    }

    /* 버튼 영역 */
    .consult-actions{
        padding:20px;
    }

    /* 폼 */
    .consult-form{
        padding:0 20px 30px;
    }

    /* 하단 정보 */
    .consult-footer{
        padding:20px;
        text-align:center;
    }
     .consult{
        background:#f7f9fc;
        padding-top:40px;
    }
     .review-track{
        animation:none !important;
    }
}

/* =========================
   📱 MOBILE FULL FIX
========================= */
@media (max-width: 768px){

    /* 전체 폰트 스케일 다운 */
    h1 { font-size: 2.2rem !important; }
    h2 { font-size: 1.8rem !important; }
    h3 { font-size: 1.3rem !important; }

    /* sec01 */
    .main-title{
        font-size:2.2rem;
        margin:40px 0;
    }

    .package-box{
        padding:20px;
    }

    .package-box h2{
        font-size:1.5rem;
    }

    .package-list span{
        font-size:0.9rem;
        padding:8px 10px;
    }

    /* sec02 카드 */
    .review-card{
        width:260px;
        padding:25px 15px;
    }

    /* sec03 👉 4개 → 1열 */
    .feature-list{
        flex-direction:column;
    }

  

    /* sec04 👉 4열 → 2열 */
    .info-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .info-card{
        font-size:0.95rem;
        padding:20px;
    }

    .sec04-desc{
        font-size:1rem;
    }

    /* sec05 👉 3열 → 1열 */
    .condition-card{
        padding:30px 20px;
        font-size:1rem;
    }

    /* sec06 */
    .faq-question{
        font-size:1.1rem;
    }

    .faq-answer{
        font-size:1rem;
    }

    /* 🔥 상담폼 = 섹션7 */
    .consult{
        position:relative;
        width:100%;
        height:auto;
        margin-top:60px;
        background:#f7f9fc;
    }

    .consult-content{
        overflow:visible;
    }

    .consult-inner{
        height:auto;
    }

    .consult-form{
        padding:0 20px 30px;
    }

    .consult-footer{
        text-align:center;
    }
    .mobile-cta{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    background:#0b1a3a;
    color:#fff;
    padding:15px;
    text-align:center;
    z-index:999;
}
}

@media (max-width: 768px){
    .sec05 .condition-wrap{
        flex-wrap:wrap;   /* 🔥 추가 */
        justify-content:center;
        gap:20px;
    }
    .mbbr{display: block;}
}

@media (max-width: 768px){

    /* sec05 카드 모바일 */
    .sec05 .condition-wrap{
        flex-direction:column;
        align-items:center;
        gap:20px;
    }
    .sec05 .condition-card{
        width:100%;
        max-width:100%;
    }

    /* 가운데 카드 튀어나온거 제거 */
    .sec05 .condition-card:nth-child(2){
        transform:none;
    }

    .info-wrapper{gap:20px;}
}

@media (max-width: 768px){

    /* sec03 카드 정상화 */
    .feature-list{
        flex-direction:column;
        align-items:center; /* 🔥 중앙 정렬 */
        gap:20px;
    }

    .badge{font-size:1.5rem;}

    .feature-card{
        width:100%;
        max-width:100%;
        margin-top:0 !important; /* 🔥 계단 제거 */
    }

    /* 높이 차이 제거 */
    .feature-card:nth-child(n){
        margin-top:0 !important;
    }
}

@media (max-width: 768px){

    .inner{
        width:90%;
        max-width:none;
        margin:0 auto;
    }

    /* ❌ 기존 개별 width 제거 */
    .sec01-inner,
    .sec02-inner,
    .sec03-inner,
    .sec04-inner,
    .sec05-inner{
        width:100%;
    }

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

@media (max-width: 768px){

    .info-grid{
        grid-template-columns: 1fr; /* 🔥 1개씩 */
        gap:15px;
    }

    .info-card{
        width:100%;
        min-width:0;
        padding:20px 15px;
    }

    .sec04{
        overflow:hidden;
    }

    body{
    overflow-x:hidden;
}
.review-marquee{
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling: touch;
}

.review-track{
    display:flex;
    gap:15px;
    width:auto;
    animation:none; /* 🔥 애니메이션 제거 */
}
.review-card{
    flex:0 0 260px; /* 🔥 핵심 */
}
.review-marquee::-webkit-scrollbar{
    display:none;
}
.review-result strong{font-size:1rem;}
}

@media (max-width: 768px){
    .sec02{padding:80px 0;}
    .sec03{padding:80px 20px;}
    .sec03-title{font-size:1.8rem;margin-bottom:50px;}
    .sec04{padding:80px 25px;}
    .sec04 .small{font-size:0.95rem;}
    .sec05{padding:80px 20px;}
    .sec05 .condition-wrap{
        margin-top:50px; /* 🔥 100 → 40으로 줄이기 */
    }
    .sec05 .condition-card{
    padding:25px 20px; /* 🔥 40 → 25 */
}
    .sec06{padding:80px 20px;}
    
}

@media (max-width:768px){
    .footfix{display:block;}
    .sec05 .condition-card{
        padding:20px 15px;
    }

    .sec05 .condition-card p{
        font-size:1rem;
        line-height:1.4;
    }

    .sec05 .condition-wrap{
    align-items:flex-start; /* 🔥 핵심 변경 */
}

.sec05 .condition-card{
    height:auto;        /* 🔥 명확히 지정 */
    display:inline-block; /* 🔥 flex 영향 제거 */
}

.sec05 .condition-card{
    padding:20px 18px; /* 🔥 슬림 */
}

.sec05 .condition-card p{
    line-height:1.3;
    margin:0;
}
.faq-item.active .faq-answer{font-size:1.1rem;}
.sec05 .condition-card{
    flex:none;              /* 🔥 이거 중요 */           /* 🔥 고정폭 제거 */
    max-width:260px;        /* 🔥 적당한 카드 크기 */
    margin:0 auto;
}
.sec05 .condition-wrap{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:20px;

    flex-wrap:wrap; /* 🔥 추가 (핵심) */
}
.footfix{
    position: fixed;
    right:25px;
    bottom:25px;
    z-index: 9;
}
.footfix .icona{
    font-size:3.25rem;
}
}