/* =========================================
   1. Reset & Base Styles (기본 설정)
   ========================================= */
:root {
    --bg-color: #f8f9fa;
    --text-color: #333;
    --primary-color: #007bff;
    --accent-color: #c5a059;
    --navy: #0a1930;
    --white: #ffffff;
    --gray-light: #e9ecef;
    --gray-dark: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 15px;
}




body {
    font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
    padding-bottom: 0px;
    max-width: 600px;
    margin: 0 auto; /* 중앙 정렬 추가 */
}


a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }



   /* 2. Header & Navigation (헤더 및 메뉴)  */
   /*
header {
    position: relative; 
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    height: 55px;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    3. 내부 정렬: 양끝 정렬 
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 0 20px;
}


 로고 설정 
.logo {
    position: fixed;     
    top: 0;              
    height: auto;        
    left: 50%;
    transform: translateX(-300px); 
    width: auto;
    padding: 3.7px 5px;   
    background-color: transparent; 
    z-index: 10001;       
    
    display: flex;
    align-items: flex-start;
    line-height: 0;
}

 로고 이미지 설정 
.logo img {
    height: 50px;        
    width: auto;
    object-fit: contain;
    display: block;
}

 모바일 대응 (600px 이하) 
@media (max-width: 600px) {
    .logo {
        left: 0;          
        transform: none;
        padding: 4px; 
    }
    
    .logo img {
        height: 50px;     
    }
}



 메뉴 설정 
nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

nav a:hover {
    color: var(--primary-color);
}
*/

/* =========================================
   헤더 설정 (기본: 하얀색 배경)
   ========================================= */
header {
    /* [핵심] 헤더 전체를 화면에 고정 */
    position: fixed; 
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    
    width: 100%;
    max-width: 600px;
    height: 55px;
    
    /* [처음 상태] 하얀색 배경 + 그림자 (원래 있던 부분만큼 주기) */
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    
    z-index: 1000;
    transition: all 0.3s ease-in-out; /* 배경과 위치 모두 부드럽게 변환 */
    
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 2. 스크롤 내렸을 때 (투명 모드) */
/* 자바스크립트가 스크롤을 감지하면 이 클래스를 붙입니다 */
header.transparent {
    background: transparent !important; /* 배경 제거 */
    border-bottom: none !important;     /* 테두리 제거 */
    box-shadow: none !important;        /* 그림자 제거 */
    pointer-events: none;               /* 빈 공간 터치 통과 */
}

/* 3. 헤더 숨김 (더 많이 내렸을 때 위로 숨기기) */
header.nav-up {
    top: -60px; 
}


/* =========================================
   4. 로고 설정 (위치 및 정렬 수정)
   ========================================= */
.logo {
    /* [핵심 1] 위아래 여백 동일하게 중앙 정렬 */
    display: flex;
    align-items: center; /* 기존 flex-start에서 center로 변경! */
    
    height: 100%; 
    width: auto;
    
    /* [핵심 2] 왼쪽으로 10px 이동 */
    margin-left: -10px; 
    
    padding: 3.7px 5px; 
    background-color: transparent;
    z-index: 10001;
    pointer-events: auto; 
}

/* 로고 이미지 설정 (기존 유지) */
.logo img {
    height: 50px;       
    width: auto;
    object-fit: contain;
    display: block;
}

/* 모바일 대응 */
@media (max-width: 600px) {
    header {
        padding: 0 10px; 
    }
    
    .logo {
        /* 모바일에서도 왼쪽으로 당김 유지 */
        margin-left: -10px; 
        
        padding: 4px 8px;
        left: 0;
        transform: none;
    }
    
    .logo img {
        height: 50px; 
    }
}

#main-content {
    /* ★ 여기가 핵심입니다 ★ */
    /* 헤더 높이만큼 메인 영역 전체를 아래로 밀어냅니다. */
    /* 로고(50px) + 여유분을 고려해 80px로 설정했습니다. */
    padding-top: 50px; 
    
    width: 100%;
}

















/* =========================================
   3. Section 1: Hero (메인 비주얼)
   ========================================= */
.section-hero {
    padding-top: 0px;
    background-color: white;
}

.hero-banner {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    background: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 21px;
    margin-bottom: 50px;
}





/* 아래에서 위로 부드럽게 올라오는 효과 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px); /* 30px 아래에서 시작 */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* 제자리로 */
    }
}



.hero-title {
    font-size: 2.0rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);

    /* 애니메이션 추가: 0.2초 딜레이 */
    opacity: 0; 
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFCFA3;
    background: transparent;
    border: 1px solid rgba(255, 207, 163, 0.8);
    border-radius: 50px;
    padding: 10px 30px;
    display: inline-block;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
    margin-bottom: 0;
    letter-spacing: -0.5px;

    /* 애니메이션 추가: 0.5초 딜레이 (제목보다 늦게) */
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}







/* 1. 애니메이션 정의 (수정됨: 200% -> 0%로 변경하여 방향 반전) */
@keyframes goldFlow {
    0% { background-position: 200% 50%; }
    100% { background-position: 0% 50%; }
}

/* 2. 버튼 스타일 정의 */
.btn-hero {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    
    /* 레이아웃 */
    display: inline-flex; 
    align-items: center; 
    justify-content: center;

    /* 텍스트 및 모양 */
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.3rem;
    white-space: nowrap;
    padding: 12px 25px;
    color: #4A4A4A; /* 가독성을 위해 짙은 회색 유지 */
    border: none;
    box-shadow: 0 5px 20px rgba(255, 207, 163, 0.7);
    
    /* [핵심] 로즈 골드 물결 그라데이션 적용 */
    /* 색상 배치: 연한베이지 -> 진한골드 -> 연한베이지 (반복) */
    background: linear-gradient(90deg, #FFE4C4, #FFCFA3, #FAD7A0, #FFE4C4);
    background-size: 200% auto; /* 배경을 2배로 늘려서 흐르게 만듦 */
    animation: goldFlow 4s linear infinite; /* 4초마다 부드럽게 흐름 */
    
    transition: all 0.3s ease;
}

/* 3. 호버 효과 (마우스 올렸을 때) */
.btn-hero:hover {
    /* 기존 위치 유지하면서 크기 확대 */
    transform: translateX(-50%) scale(1.05); 
    
    /* 밝기만 살짝 올려서 빛나는 느낌 */
    filter: brightness(1.05); 
}

/* 4. 화살표 아이콘 (기존 유지) */
.arrow-icon {
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #4A4A4A; 
    border-right: 2px solid #4A4A4A; 
    transform: rotate(45deg);
    margin-left: 10px;
    margin-bottom: 0px; 
    margin-top: 0.6px;
    transition: transform 0.3s ease;
}

/* 호버 시 화살표 이동 */
.btn-hero:hover .arrow-icon {
    transform: rotate(45deg) translate(2px, -2px); 
}

/* 5. 모바일 반응형 (기존 유지) */
@media (max-width: 768px) {
    .hero-banner { height: 450px !important; }
    .hero-content { margin-bottom: 80px; padding: 15px; }
    .hero-title { font-size: 1.4rem; margin-bottom: 10px; }
    .hero-subtitle { font-size: 1rem; padding: 8px 20px; }
    .btn-hero { bottom: 35px; padding: 8px 22px; font-size: 1.1rem; }
}









/***************** low_title_start    ************/

        .promo-card {
            background-color: #ffffff; /* 투명도 제거하고 완전한 흰색으로 변경 */
            padding: 0.8rem; /* 1rem으로 변경 */
            border-radius: 0.5rem;
            width: 100%;
            max-width: 100%; /* 카드 최대 너비 */
            
            /* 중앙 정렬을 위해 margin auto 추가 */
            margin: 0px auto; 
            
            border: 1px solid rgba(0,0,0,0.05);
            box-shadow: 0 10px 25px rgba(0, 0, 0.1, 0.2); /* 그림자 강화 */
            box-sizing: border-box;
            font-family: 'Noto Sans KR', sans-serif;
        }

        /* ----------------------------------------------------- */











        .low-title {
        font-family: 'Malgun Gothic', sans-serif;
        font-size: 1.875rem;
        font-weight: 700;
        color: #111827;
        letter-spacing: -0.025em;
        margin: 0;

        /* 애니메이션 추가: 1.0초 딜레이 (위쪽 섹션이 다 끝나고 등장) */
        opacity: 0;
        animation: fadeInUp 0.8s ease-out 1.0s forwards;
    }

    .subtitle-wrapper {
        margin-top: 0.1rem;
        display: inline-block;
        border-bottom: 2px solid #dc2626;
        padding-bottom: 0.25rem;

        /* 애니메이션 추가: 1.3초 딜레이 (제목 나오고 바로 뒤따라서) */
        opacity: 0;
        animation: fadeInUp 0.8s ease-out 1.3s forwards;
    }

    /* .sub-title은 .subtitle-wrapper 안에 있으므로 별도 애니메이션 불필요 (같이 올라옴) */
    .sub-title {
        color: #dc2626;
        font-weight: 700;
        font-size: 1.6rem;
        margin: 0;
    }
     

        /* 콘텐츠 박스 (회색 배경) */
        .content-box {
            background-color: #f3f4f6;
            color: #1f2937;
            padding: 1.5rem; /* 1.5rem으로 변경 */
            border-radius: 0.75rem;
            text-align: center;
            margin: 0px 10px; /* 0px 10px으로 변경 */
        }

        /* 통계/정보 텍스트 */
        .info-text { margin-bottom: 1rem; 
        opacity: 0;
        animation: fadeInUp 0.8s ease-out 1.5s forwards;
        } /* 1rem으로 변경 */



        .approval-rate {
            font-size: 1.5rem;
            font-weight: 500;
            color: #374151;
            margin: 0 0 0.5rem 0;
        }

        .highlight-red {
            color: #dc2626;
            font-weight: 700;
            font-size: 1.875rem;
        }

        .product-desc {
            font-weight: 450; /* 450으로 변경 */
            font-size: 1.3rem; /* 1.3rem으로 변경 */
            color: #4b5563;
            margin: 0;
        }

        /* 파란색 그라데이션 강조 박스 (blue-box로 복귀) */
        .blue-box {
            background: linear-gradient(to bottom right, #dbeafe, #bfdbfe, #93c5fd);
            border-radius: 0.5rem;
            padding: 0.5rem; /* 1.1rem으로 변경 */
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            border: 1px solid #bfdbfe;
            transition: transform 0.3s ease;
            cursor: default;
            margin: 5px 15px;
        }

        .blue-box:hover { transform: scale(1.05); }

        .blue-box-text {
            color: #1e3a8a;
            font-weight: 700;
            font-size: 1.25rem;
            line-height: 1.6;
            text-align: center;
            margin: 0;
        }

/***************** low_title_end    ************/






















/* =========================================
   4. Section 2: Calculator (견적 계산기)
   ========================================= */
.section-calculator {
    padding: 30px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.calculator-wrapper {
    background: white;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}




.calculator-header {
    text-align: center;
    margin-bottom: 10px;
}


/* 브랜드 로고 선택 영역 스타일 */
.brand-selector {
    display: flex;
    /* PC에서도 자리가 부족하면 다음 줄로 넘어가게 wrap을 쓰거나, 
       무조건 한 줄을 원하시면 nowrap을 유지하세요. */
    flex-wrap: nowrap; 
   /* [수정] 모든 여백을 동일하게 배분 */
    justify-content: space-evenly;
    gap: 2%; /* 고정 px 대신 %를 쓰면 화면 크기에 따라 간격도 변합니다 */
    margin: 20px 0;
    width: 100%;
}


.brand-btn {
    /* [핵심] 가로 너비를 유연하게 설정 */
    flex: 0 1 15%; /* 전체의 약 12%를 차지하되 상황에 따라 줄어듦 */
    min-width: 65px; /* 너무 작아지는 것 방지 */
    max-width: 110px; /* 너무 커지는 것 방지 (기존 75px에서 조금 상향) */
    
    /* [핵심] 높이를 가로에 맞춤 */
    height: auto;
    aspect-ratio: 1 / 1; 

    background: #fff;
    border: 2px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.brand-btn img {
    /* 이미지가 원 안에서 일정한 비율을 유지하도록 */
    width: 80%; 
    height: 80%;
    object-fit: contain; /* cover보다 로고 전체를 보여주는 데 유리함 */
    display: block;
}

/* 마우스 올렸을 때와 활성화 상태는 기존 유지 */
.brand-btn:hover {
    border-color: #007bff;
    transform: translateY(-2px);
}

.brand-btn.active {
    border-color: #007bff;
    background-color: #f0f7ff;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}





@media (max-width: 480px) {
    .brand-selector {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-evenly;/* 중앙 정렬로 변경하여 간격 일정하게 유지 */
        gap: 8px; /* 버튼 사이의 간격 */
        width: 100%;
        max-width: 100%;
        padding: 10px 0;
        box-sizing: border-box;
    }


    .brand-btn {
        flex: 1 1 0;
        min-width: 0; 
        
        /* [수정 1] 높이를 지정하지 않거나 auto로 명시 */
        height: auto; 
        aspect-ratio: 1 / 1;

        /* [수정 2] flex 자식으로서의 세로 정렬 영향 차단 */
        align-self: center; 

        /* [수정 3] 최대 크기 제한 시 비율 유지 보장 */
        max-width: 85px;
        width: 100%; /* 부모가 허용하는 N분의 1 공간을 꽉 채우도록 함 */

        /* 기존 스타일 그대로 유지 */
        border-radius: 50%; 
        background-color: #fff;
        border: 1px solid #e0e0e0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        padding: 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }


    .brand-btn img {
        /* 로고가 원 테두리에 붙지 않도록 안쪽 여백 효과 */
        width: 80%;
        height: 80%;
        object-fit: contain; /* 로고 전체가 다 보이도록 설정 */
    }
}













 .calc-label {
     font-weight: 600;
     color: var(--navy);
     font-size: 0.95rem;
 }







.calculator-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--navy);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.calculator-subtitle {
    color: #666;
    font-size: 1rem;
}









/* 옵션 전체 레이아웃 */
.calc-options {
    display: grid;
    /* 핵심: 가로를 정확히 2등분(1fr 1fr)으로 설정 */
    grid-template-columns: 1fr 1fr; 
    gap: 15px;
    margin-bottom: 25px;
}

/* 1. 차량 선택: 혼자서 2칸을 다 차지 (한 줄 전체) */
.calc-option-group:nth-child(1) {
    grid-column: span 2;
}

/* 2. 계약기간: 왼쪽 (자동으로 1칸 차지) */
.calc-option-group:nth-child(2) {
    grid-column: span 1;
}

/* 3. 선수금: 오른쪽 (자동으로 1칸 차지) */
.calc-option-group:nth-child(3) {
    grid-column: span 1;
}

/* 공통 스타일: 박스가 밖으로 나가지 않게 설정 */
.calc-select {
    width: 100%;
    box-sizing: border-box; /* 패딩이 너비에 영향을 주지 않도록 함 */
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
}


 .calc-select {
     padding: 12px 15px;
     border: 2px solid #e0e0e0;
     border-radius: 10px;
     font-size: 1rem;
     background: white;
     cursor: pointer;
     transition: all 0.3s;
 }





/* 모바일 대응 */
@media (max-width: 480px) {
    .calc-options {
        gap: 10px;
        /* 모바일에서도 한 줄에 두 개가 너무 좁다면 아래 주석을 해제하세요 */
        /* grid-template-columns: 1fr 1fr; */
    }
}













/* 계산기 결과 영역 */
/* [통합] 계산기 결과 영역 */
.calc-result {
    height: auto; 
    /* 첫 번째 CSS의 넉넉한 높이(300px) 적용 */
    min-height: 300px; 
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    /* 첫 번째 CSS의 넉넉한 패딩 적용 */
    padding: 40px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 차량 선택 전 손가락 모양 디자인 (첫 번째 CSS 기준) */
.result-placeholder {
    text-align: center;
    color: #999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-placeholder i {
    font-size: 3rem;       /* 첫 번째 CSS와 동일한 크기 */
    margin-bottom: 15px;
    opacity: 0.5;          /* 첫 번째 CSS와 동일한 투명도 */
}

.result-placeholder p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 차량 선택 후 결과 데이터 디자인 (두 번째 CSS 유지) */
.result-content {
    width: 100%;
}

.result-car-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--navy);
    margin-bottom: 15px;
    text-align: center;
}


 .result-car-price-label {
     font-size: 1.2rem;
     color: #666;
     text-align: center;
     margin-bottom: 20px;
 }


.result-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    margin-bottom: 15px;
}

.result-option-card {
    background: white;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}


.result-option-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.result-option-title { font-size: 0.9rem; color: #6d6d6d; margin-bottom: 8px; }
.result-option-value { font-size: 1.1rem; font-weight: bold; color: var(--navy); }

.result-price-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 10px;
    border-radius: 15px;
    text-align: center;
    color: white;
    width: 100%;
}



/* 계산기 반응형 */
@media (max-width: 600px) {
    .calc-result { 
        padding: 20px; 
        min-height: 250px; /* 모바일에서도 너무 작지 않게 유지 */
    }
    .result-options { 
        grid-template-columns: repeat(3, 1fr) !important; 
        gap: 5px !important; 
    }
    .result-car-name { font-size: 1.3rem; }
    .result-price-value { font-size: 1.8rem; }
    .result-option-value { font-size: 0.95rem; }
}

.result-price-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    color: white;
    width: 100%;
}

.result-price-value {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 0;
}

 .result-price-unit {
     font-size: 0.9rem;
     word-break: keep-all;
     white-space: nowrap;
     text-align: center;
     display: block;
     width: 100%;
 }



.calc-notice {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #856404;
}

/* 계산기 반응형 */
@media (max-width: 600px) {
    .calc-options { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
    .calc-option-group:nth-child(1) { grid-column: span 2; }
    .result-options { grid-template-columns: repeat(3, 1fr) !important; gap: 4px !important; }
    .result-car-name { font-size: 1.3rem; }
    .result-price-value { font-size: 1.8rem; }
    .calc-result { padding: 15px; min-height: 200px; }
}





/* =========================================
   5. Section 3: Car List (차량 목록)
   ========================================= */
.section-cars {
    padding: 25px 0 50px;
    background-color: white;
}

.section-header {
    margin: 15px ;
    text-align: left;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000; /* '구매 고객 리뷰' 텍스트를 검은색으로 변경 */
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

/* =========================================================
   [오른쪽] 작성 버튼 (연필)
   : 평소 빨간 배경 -> 호버 시 흰색 배경
   ========================================================= */
.review-write {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative; /* 밑줄 위치 기준점 */
    
    /* [1] 테두리 원 만들기 */
    width: 40px;
    height: 40px;
    
    /* ▼▼ [변경] 평소 배경색: 빨간색 ▼▼ */
    background-color: #dc2626; 
    border: 1px solid #dc2626; /* 테두리는 계속 빨간색 유지 (크기 변화 방지) */
    border-radius: 50%;        /* 원형 */
    
    /* ▼▼ [변경] 평소 아이콘 색상: 흰색 ▼▼ */
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    
    /* 오른쪽 정렬 */
    margin-left: auto;
    margin-right: 0;
    padding-bottom: 4px;

    transition: all 0.3s ease;
}

/* [2] 연필 아래 밑줄 만들기 (가상 요소) */
.review-write::after {
    content: '';
    position: absolute;
    
    /* 연필 바로 아래 위치 조정 */
    bottom: 8px; /* 밑줄 위치 미세 조정 (필요시 숫자 변경) */
    left: 50%;
    transform: translateX(-50%);
    
    /* 밑줄 스타일 */
    width: 20px;  /* 연필 너비 정도 */
    height: 2px;
    
    /* ▼▼ [변경] 평소 밑줄 색상: 흰색 ▼▼ */
    background-color: #fff; 
}

/* [3] 마우스 올렸을 때 효과 */
.review-write:hover {
    /* ▼▼ [변경] 호버 시 배경: 흰색 ▼▼ */
    background-color: #fff; 
    
    /* ▼▼ [변경] 호버 시 아이콘: 빨간색 ▼▼ */
    color: #dc2626;                
    transform: rotate(15deg);  /* 살짝 회전 */
}

/* 호버 시 밑줄 색상 변경 */
.review-write:hover::after {
    /* ▼▼ [변경] 호버 시 밑줄: 빨간색 ▼▼ */
    background-color: #dc2626;
}

















.section-subtitle { font-size: 0.9rem; color: #666; margin-top: 5px; margin-bottom: 0px; }








.tab-menu {
     display: flex;
     gap: 5px;
     margin-bottom: 10px;
     overflow-x: auto;
     padding-bottom: 5px;
     -webkit-overflow-scrolling: touch;
}

.tab-btn {
    padding: 7px 7px;
    border-radius: 20px;
    border: 1px solid #eee;
    background: #f8f9fa;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.2s;
}

.tab-btn.active { background: var(--primary-color); color: white; border-color: var(--primary-color); }




@media (max-width: 768px) {
    .tab-scroll .tab-btn {
        padding-left: 0;
        border-radius: 20px;
        padding-right: 24x;
        padding: 8px 10px;
        font-size: 1.0rem;
    }
}










.car-list { display: none; flex-direction: column; gap: 15px; }
.car-list.active { display: flex; }

.car-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 7px 0;
    border-bottom: 1px solid #f0f0f0;
}

.car-img {
    width: 120px; height: 80px; flex-shrink: 0;
    margin-right: 20px; border-radius: 8px; overflow: hidden; background: #f8f9fa;
}

.car-img img { width: 100%; height: 100%; object-fit: contain; }

.car-brand { font-size: 0.85rem; color: #888; margin-bottom: 2px; }
.car-name { font-size: 1.1rem; font-weight: bold; color: var(--text-color); margin-bottom: 5px; }
.car-price { font-size: 1.1rem; color: var(--navy); font-weight: 800; }
.car-price span { font-size: 0.9rem; font-weight: normal; color: #666; }







/* =========================================================
   [안전 모드] 장기렌트 섹션(#cars-new) 전용 스타일
   ※ ID를 'cars-new'로 바꾼 섹션에만 적용됩니다.
   ========================================================= */

/* 1. 기본적으로 모든 리스트 숨기기 */
#cars-new .car-list {
    display: none;
}

/* 2. 활성화된(.active) 리스트만 보여주기 (세로 나열) */
#cars-new .car-list.active {
    display: flex;
    flex-direction: column;
    gap: 15px; /* 차와 차 사이 간격 */
}

/* 3. 개별 차량 카드 (좌우 배치 디자인) */
#cars-new .car-item {
    display: flex;            /* 왼쪽(사진)-오른쪽(글자) 가로 배치 */
    align-items: center;      /* 수직 가운데 정렬 */
    background: white;
    
    border: 1px solid #eaeaea; /* 테두리 */
    border-radius: 12px;       /* 둥근 모서리 */
    padding: 15px;             /* 안쪽 여백 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: transform 0.2s;
}

/* 클릭 효과 */
#cars-new .car-item:active {
    transform: scale(0.98);
    background-color: #f9f9f9;
}

/* 4. 차량 이미지 (120px 고정) */
#cars-new .car-img {
    width: 120px;             
    height: 80px;             
    min-width: 120px;         /* 찌그러짐 방지 */
    margin-right: 20px;       /* 글자와의 간격 */
    
    border-radius: 8px;
    overflow: hidden;
    background-color: #f8f9fa;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

#cars-new .car-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;      /* 비율 유지 */
}

/* 5. 텍스트 정보 영역 */
#cars-new .car-info {
    flex: 1;                  /* 남은 공간 채우기 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

/* 6. 텍스트 스타일 (기존 변수 유지) */
#cars-new .car-brand {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 2px;
}

#cars-new .car-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-color); 
    margin-bottom: 5px;
}

#cars-new .car-price {
    font-size: 1.1rem;
    color: var(--navy);       
    font-weight: 800;
    
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

#cars-new .car-price span {
    font-size: 0.9rem;
    font-weight: normal;
    color: #666;
}



















.calc-contact-btn {
     display: inline-block;
     padding: 15px 40px;
     /* 이미지 속 버튼의 노란색(#ffcf5d)을 반영한 그래디언트 */
     background: linear-gradient(135deg, #ffd266 0%, #ffb822 100%);
     /* 가독성과 포인트 컬러를 위해 짙은 보라빛 갈색 사용 */
     color: #4a3461; 
     text-decoration: none;
     border-radius: 30px;
     font-size: 1.1rem;
     font-weight: bold;
     transition: all 0.3s;
     /* 버튼 하단 보라색 그림자로 입체감 부여 */
     box-shadow: 0 4px 15px rgba(74, 52, 97, 0.2);
}

.calc-contact-btn:hover {
     transform: translateY(-3px);
     box-shadow: 0 8px 25px rgba(74, 52, 97, 0.3);
     filter: brightness(1.08); /* 호버 시 조금 더 선명하게 */
}

 .calc-contact-btn i {
     margin-right: 8px;
 }






/* 견적 버튼용 황금빛 물결 애니메이션 (더 느리고 부드럽게) */
@keyframes goldFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.calc-contact-btn {
    display: inline-block;
    padding: 10px 30px;
/* [수정 포인트] 밝은 부분(#fffceb)을 주변 노란색과 더 비슷하게 맞추고 범위를 조절했습니다 */
    background: linear-gradient(90deg, #ffd266, #ffdf8c, #ffb822, #ffdf8c, #ffd266);
    background-size: 200% auto;
    
    /* 속도는 8~10초 정도로 느리게 유지하여 티가 덜 나게 합니다 */
    animation: goldFlow 10s linear infinite;
    
    color: #4a3461; 
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    /* 그림자도 너무 진하지 않게 투명도를 조절했습니다 */
    box-shadow: 0 4px 12px rgba(74, 52, 97, 0.15);
}

.calc-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(74, 52, 97, 0.2);
    filter: brightness(1.05); /* 호버 시 아주 살짝만 밝아지게 조정 */
}

.calc-contact-btn i {
    margin-right: 8px;
}




@keyframes oceanFlow {

    0% { background-position: 0% 50%; }

    100% { background-position: 200% 50%; }

}

.btn-more {

    display: block; width: 100%; max-width: 200px; margin: 30px auto 0;

    padding: 12px; text-align: center; border-radius: 25px; font-weight: 650;

    color: #486684; border: none;

    background: linear-gradient(90deg, #5dade2, #aed6f1, #5dade2);

    background-size: 200% auto;

    animation: oceanFlow 6s linear infinite;

    box-shadow: 0 4px 15px rgba(93, 173, 226, 0.3);

    transition: all 0.3s ease-in-out;

    font-size: 18px;

}













/* =========================================
   6. Section 4: Reviews (고객 리뷰)
   ========================================= */
.section-reviews {
    padding: 20px 0 50px;
    background-color: #f8f9fa;
}
/*  패딩공간 1~ 페이지 번호 */

.review-list { 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
}

/* 리뷰 아이템에 마우스를 올리면 클릭 가능한 손가락 모양으로 변경 */
.review-item {
    cursor: pointer;
    transition: background-color 0.2s;    
    display: flex;
    background: white;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    gap: 20px;
    overflow: hidden; /* 넘치는 내용 강제 숨김 */
    max-width: 100%; /* 부모 너비 초과 방지 */
    box-sizing: border-box; /* 패딩 포함 계산 */
}

/* 마우스 올렸을 때 효과 추가 */
.review-item:hover {
    background-color: #f9f9f9;
    transform: translateY(-2px); /* 살짝 위로 떠오르는 효과를 주면 더 클릭하고 싶어집니다 */
}

.review-thumb {
    width: 100px; 
    height: 100px; 
    border-radius: 10px;
    overflow: hidden; 
    flex-shrink: 0; /* 이미지는 절대 줄어들지 않음 */
    background: #eee;
}

.review-thumb img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.review-content { 
    flex: 1; 
    min-width: 0; /* flex 아이템 너비 초과 방지 핵심! */
    overflow: hidden; /* 넘치는 내용 숨김 */
    max-width: calc(100% - 120px); /* 이미지(100px) + gap(20px) 제외 */
}

.review-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; /* center에서 flex-start로 변경 */
    margin-bottom: 3px; 
    gap: 8px; /* 간격을 조금 줄임 */
    overflow: hidden; /* 넘치는 내용 숨김 */
}

.review-title { 
    font-weight: bold; 
    font-size: 1.05rem; 
    
    /* 말줄임 처리 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1; 
    min-width: 0; 
}

.review-date { 
    font-size: 0.8rem; 
    color: #707070; 
    flex-shrink: 0; 
    white-space: nowrap; 
    min-width: 70px; /* 최소 너비 명시 */
    text-align: right; /* 오른쪽 정렬 */
}

.review-meta { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 3px; 
    font-size: 0.9rem;
    overflow: hidden; /* 넘치는 내용 숨김 */
}

.review-rating { 
    color: #ffc107; 
}

.review-author { 
    color: #545454; 
}

.review-text {
    font-size: 0.95rem; 
    color: #555; 
    line-height: 1.5;
    
    /* 2줄 말줄임 처리 강화 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: keep-all;
    max-height: 3em; /* line-height * 2줄 = 1.5 * 2 */
    max-width: 100%; /* 부모 너비 초과 방지 */
    
    /* 추가 안전장치 */
    white-space: normal;
    word-wrap: break-word;
}

.review-write:active {
    background-color: #fff;
    color: #dc2626;
    transform: none;
}









/* [상세 팝업용] 리뷰 본문 스타일 */
.brm-review { 
    font-size: 15px; 
    line-height: 1.7;        /* 줄 간격을 살짝 넓혀 가독성 향상 */
    color: #333333; 
    margin: 0;
    display: block;          /* 2줄 제한 해제 (auto) */
    overflow: visible;       /* 숨겨진 글자 모두 표시 */
    word-break: keep-all;    /* 한글 단어 단위로 줄바꿈 (깔끔함) */
    text-align: left;     /* 양쪽 정렬로 정돈된 느낌 */
}







/* 리뷰 더보기 버튼 (배경 #4a6987 + 글씨 흰색 적용) */
@keyframes oceanFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}
.btn-more {
    display: block; width: 100%; max-width: 200px; margin: 30px auto 0;
    padding: 12px; text-align: center; border-radius: 25px; font-weight: 650;
    color: #486684; border: none;
    background: linear-gradient(90deg, #5dade2, #aed6f1, #5dade2);
    background-size: 200% auto;
    animation: oceanFlow 6s linear infinite;
    box-shadow: 0 4px 15px rgba(93, 173, 226, 0.3);
    transition: all 0.3s ease-in-out;
    font-size: 18px;
}


.btn-more:hover { 
    transform: translateY(-2px); 
    filter: brightness(1.1); /* 밝기 조절로 충분히 효과가 납니다 */
    color: #fff !important;  /* 흰색을 강제로 유지하세요 */
}






/* =========================================
   7. Section 5: Banner Slide & Rent Info (정보성 섹션)
   ========================================= */
/* Section 5: Bottom Slide */
.section-slide1 {
    margin-top: 8px;
    margin-bottom: 8px;
    padding: 15px 0;
    background: #000; /* 바탕색: 흰색 */
   /*  border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;*/
    overflow: hidden;
    width: 100%;
}

.slide-track1 {
    display: flex;
    width: max-content; /* 내용물 길이에 맞게 자동으로 늘어남 */
    animation: slide-scroll 30s linear infinite; /* 애니메이션 이름 확인 */
}

.slide-item1 {
    display: flex;
    flex-direction: column; /* 모바일 2줄 정렬을 위해 필요 */
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    padding: 0 60px; /* 문구 사이 간격 */
    
    /* 글씨 스타일 설정 */
    color: #fff; /* 글씨색: 짙은 회색(검정에 가까움) */
    font-size: 1.0rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
}

/* 📢 아이콘이나 강조 문구만 파란색으로 포인트를 주고 싶을 때 (선택사항) */
.slide-item1 {
    border-right: 1px solid #eee; /* 문구 사이 구분선 (선택사항) */
}

/* PC에서는 줄바꿈 무시 */
.mo-only {
    display: none;
}

/* 모바일 반응형 (600px 이하) */
@media (max-width: 600px) {
    .mo-only {
        display: block; /* 모바일에서만 2줄로 */
    }
    .slide-item1 {
        font-size: 0.95rem;
        padding: 0 40px;
    }
}

/* 애니메이션 설정 - 이름이 겹치지 않게 slide-scroll로 명명 */
@keyframes slide-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* 트랙 내용의 절반이 지나가면 다시 처음으로 돌아와 무한 반복됨 */
        transform: translateX(-50%);
    }
}


































/* 로고 슬라이더 */
        .logo-slider {
            background: #fff;
            padding: 0 0 10px;
            overflow: hidden;
            border-top: none;
            border-bottom: 1px solid #eee;
        }
        
        .slide-track {
            display: flex;
            animation: scroll 30s linear infinite;
            width: calc(200px * 24);
        }
        
        .slide-track img {
            width: 130px;
            height: 40px;
            object-fit: contain;
            margin: 0 25px;
            opacity: 0.7;
            transition: opacity 0.3s;
        }
        
        .slide-track img:hover {
            opacity: 1;
        }
        
        @keyframes scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(calc(-200px * 12));
            }
        }



        /* Preserved Contact Form Styles */
        .contact {
            background-color: var(--navy);
            padding: 80px 0;
            color: white;
        }

        .contact h2 {
            display: none;
        }

        .contact-form-wrapper {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 50px;
            max-width: 600px;
            margin: 0 auto;
        }

        .contact-header-custom {
            text-align: center;
            margin-bottom: 40px;
        }

        .contact-header-custom h3 {
            font-size: 1.5rem;
            color: var(--gold);
            margin-bottom: 10px;
        }

        .contact-header-custom p {
            font-size: 1.2rem;
            color: #ddd;
        }

        .contact-form-inner {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 30px;
        }

        .contact-info-top {
            text-align: center;
            margin-bottom: 20px;
        }

        .contact-info-text {
            font-size: 1.2rem;
            margin-bottom: 10px;
        }

        .contact-fields-wrapper {
            width: 100%;
            max-width: 600px;
        }

        .contact-input {
            height: 50px;
            border-radius: 5px;
            border: none;
            margin-bottom: 10px;
            font-size: 0.9rem;
            padding: 0 15px;
            width: 100%;
        }

        .phone-input-group {
            display: flex;
            gap: 10px;
            width: 100%;
        }

        .phone-input-group .contact-input {
            flex: 1;
        }

        .phone-dash {
            line-height: 50px;
            color: white;
        }

        .consult-button {
            /*background: linear-gradient(45deg, var(--gold), var(--gold-light));*/
            color: var(--navy);
            width: 100%;
            height: 60px;
            font-size: 1.3rem;
            font-weight: bold;
            border-radius: 10px;
            margin-top: 20px;
            border: none;
            cursor: pointer;
            transition: all 0.3s;
        }

        .consult-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(197, 160, 89, 0.4);
        }
        
         /* 폼 위 문장 */
        .responsive-text {
            color: #1e3a8a;
            text-align: center;              /* 가운데 정렬 */
            padding-bottom: 15px;            /* 아래 패딩 15px */
            font-size: clamp(1rem, 2.5vw, 1.25rem); /* 반응형 텍스트 크기 */
            line-height: 1.4;
            font-weight: bold;               /* 굵게 */
          }
          
        .service {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 00px;
        }









/* 상담 폼 CSS 시작 (삭제 금지) */
        /* 상담 신청 섹션 */
        .inquiry-section {
        padding: 20px;
        background: #3ee5a2;
        
        border-radius: 10px;
        margin: 0px 10px 10px 10px;
        }
        
        .inquiry-container {
            max-width: 500px;
            margin: 0 auto;
        }
        


        .tab-buttons {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .tab-btn {
            flex: 1;
            padding: 15px;
            border: 2px solid #ddd;
            background: #fff;
            color: #666;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            border-radius: 8px;
        }
        
        .tab-btn.active {
            background: #dc3545;
            color: #fff;
            border-color: #dc3545;
        }
        
        /* .tab-buttons 안에 있는 active 버튼만 남색으로 변경 */
        .tab-buttons .tab-btn.active {
            background: #1e2a3b;
            border-color: #1e2a3b;
            color: #fff;
        }

        
        .form-group {
            margin-bottom: 5px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #333;
            font-size: 14px;
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 7px 16px;
            border: 1.2px solid #bbb;
            border-radius: 8px;
            font-size: 15px;
            transition: border-color 0.3s;
        }
        
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #1a73e8;
        }
        
        .form-group textarea {
            min-height: 60px;
            overflow: hidden;
            resize: vertical;
        }
        
        .agreement-box {
            background: transparent;
          /*  border: 1px solid #ddd;*/
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 5px;
            max-height: 200px;
            overflow-y: auto;
            font-size: 13px;
            line-height: 1.8;
            color: #555;
        }
        
        .agreement-box p {
            margin: 0;
        }
        
        .checkbox-group {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 5px;
        padding: 5px;
        background: transparent;
        border-radius: 8px;
        border: 0px;
    
        }
        
        .checkbox-group input[type="checkbox"] {
            width: 20px;
            height: 20px;
            margin-right: 10px;
            cursor: pointer;
        }
        
        .checkbox-group label {
            font-size: 15px;
            color: #333;
            font-weight: 600;
            cursor: pointer;
            margin: 0;
        }
        




        .submit-btn {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
        }
        
        .submit-btn:hover {
            background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 100%);
            box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
            transform: translateY(-2px);
        }
        
        .submit-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            box-shadow: none;
            transform: none;
        }
        
 








/* 모달 스타일 CSS 시작 (삭제 금지) */
        /* 모달 스타일 */

    /* 뒷 배경 (어두운 막) */
    #baroReviewModal { 
        display: none; position: fixed; z-index: 2147483647; 
        position: fixed; 
        z-index: 2147483647; 
        left: 0; top: 0; width: 100%; height: 100%; 
        background-color: rgba(0, 0, 0, 0.80); 
    }

    /* 팝업 박스 */
    .brm-content { 
        position: absolute; top: 50%; left: 50%; 
        transform: translate(-50%, -50%); 
        background-color: #fff; 
        width: 90%; max-width: 500px; 
        max-height: 90vh; /* 높이가 너무 길면 화면 밖으로 나가는 것 방지 */
        border-radius: 12px; 
        display: flex; flex-direction: column; 
        overflow: hidden; 
        box-shadow: 0 4px 20px rgba(0,0,0,0.5); 
    }

    /* 이미지 구역 */
    .brm-image-section { 
        width: 100%; height: 300px; /* 높이 고정 */
        background-color: #f0f0f0; 
        position: relative; 
        display: flex; align-items: center; justify-content: center;
        padding: 0; margin: 0;
        flex-shrink: 0; /* 세로 사이즈 줄어들지 않도록 고정 */
    }

    /* 큰 이미지 */
    .brm-image-section img#brmImg { 
        width: 100%; height: 100%; 
        object-fit: contain; display: block; 
    }

    /* 닫기 버튼 */
    .brm-close { 
        position: absolute; top: 15px; right: 15px; 
        width: 32px; height: 32px; 
        background: rgba(0, 0, 0, 0.6); 
        border-radius: 50%; 
        text-align: center; line-height: 30px;
        color: #fff; font-size: 20px; cursor: pointer; z-index: 10;
        border: 2px solid rgba(255,255,255,0.8);
    }

.brm-close-special { 
    position: absolute;
    right: 8px;  
    bottom: 8px; 
    width: 37px; 
    height: 37px; 
    
    /* 배경색 및 그라데이션 제거 */
    background: none;
    
    /* 유리 효과(blur) 제거 */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    
    /* 테두리 제거 */
    border: none; 
    
    /* 그림자 제거 */
    box-shadow: none;

    /* X 표시 설정 */
    color: #454444FF;          
    font-size: 25px; 
    font-weight: bold; /* font-weight는 보통 900이 최대치입니다 */
    
    display: flex; 
    align-items: center; 
    justify-content: center;
    cursor: pointer; 
    z-index: 100;
    
    transition: opacity 0.2s ease-in-out;
    line-height: 1;
}

/* 마우스 올렸을 때 효과 */
.brm-close-special:hover {
    opacity: 0.6;
    border-color: rgba(0, 0, 0, 0.3);
    /* 호버 시 투명도를 살짝 낮춰 더 선명하게 만듦 */
    background: linear-gradient(135deg, rgba(220, 220, 220, 0.8) 0%, rgba(180, 180, 180, 0.6) 100%);
    transform: scale(1.05);
}

    /* 갤러리 (썸네일 리스트) */
    .brm-gallery {
        padding: 15px; 
        display: flex; gap: 5px;
        overflow-x: auto; 
        background: #fff;
        justify-content: center; 
        flex-shrink: 0; /* 세로 사이즈 줄어들지 않도록 고정 */
        
        /* [수정] 스크롤바 숨기기 (기능은 유지, 회색 막대 제거) */
        -ms-overflow-style: none;  /* IE, Edge */
        scrollbar-width: none;  /* Firefox */
    }
    /* [수정] 크롬, 사파리, 오페라 스크롤바 숨김 */
    .brm-gallery::-webkit-scrollbar {
        display: none;
    }

    /* 작은 썸네일 사진 */
    .brm-thumb {
        width: 85px; height: 85px; 
        object-fit: cover; border-radius: 4px;
        cursor: pointer; opacity: 0.6;
        border: 2px solid transparent; 
        flex-shrink: 0; 
    }

    /* 선택된 썸네일 강조 */
    .brm-thumb.active { opacity: 1; border: 2px solid #FFD700; }

    /* 텍스트 영역 */
    .brm-text-section { 
        padding: 0 20px 30px 20px; 
        background-color: #fff; 
        overflow-y: auto; /* 내용이 많을 때만 스크롤 */
        flex-grow: 1; /* 남은 공간 채우기 */
    }
    
    .brm-title { font-size: 20px; font-weight: bold; color: #222; margin: 15px 0 5px 0; }
    .brm-meta { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #888; margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
    .pop-star-color { color: #ffc107; font-weight: bold; font-size: 15px; margin-right: 8px; }
    .brm-review { font-size: 15px; line-height: 1.6; color: #333; margin: 0; }


























































.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #fff;
    padding: 0;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes slideDown {
    from {
        opacity: 0;
        top: 45%;
    }
    to {
        opacity: 1;
        top: 50%;
    }
}

.modal-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: #1e3a8a;;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 18px;
}

.close {
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s;
}

.close:hover {
    color: #000;
    transform: scale(1.1);
}





.modal-body {
    padding: 25px;
    max-height: 800px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.8;
    color: #555;
}

.modal-footer {
    padding: 15px 25px;
    border-top: 1px solid #eee;
    text-align: right;
}

.modal-close-btn {
    padding: 10px 30px;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.modal-close-btn:hover {
    background: #0d47a1;
}















/* 체크박스 그룹 수정 */
.checkbox-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    padding: 5px;
    background: transparent;
    border-radius: 8px;
    border: 0px;/*1px solid #ddd;*/
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
}

.view-agreement-btn {

    background: transparent;/*#f0f0f0;*/
    color: #333;
    border: 0px;/*1px solid #ddd;*/
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.view-agreement-btn:hover {
    background: transparent;/*#e0e0e0;*/
    border-color: #ccc;
}







.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.submit-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 100%);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
    transform: translateY(-2px);
}

.submit-btn:hover svg {
    transform: scale(1.1);
    transition: transform 0.3s;
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* 반응형 추가 */
@media (max-width: 600px) {
    .modal-content {
        background: #fff;
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-body {
        max-height: 300px;
        padding: 20px;
        font-size: 12px;
    }
    
    .checkbox-group {
        gap: 5px;
/*        padding: 10px 5px;*/
    }
    
    .checkbox-wrapper {
        width: 100%; /* 수정 */
        justify-content: flex-start; /* 추가 */
    }
    
    .checkbox-wrapper label {
        font-size: 14px; /* 수정 */
    }
    
    .view-agreement-btn {
        font-size: 13px; /* 수정 */
        padding: 3px 8px; /* 수정 */
    }
}

/* 버튼 그룹 스타일 */
.btn-group {
    display: flex;
    gap: 4px;
    justify-content: center;
    flex-wrap: nowrap;
}

.btn-group .btn {
    flex-shrink: 0;
    min-width: 32px;
    padding: 6px 8px;
}









/* 모바일에서 버튼 크기 조정 */
@media (max-width: 768px) {
    .btn-group {
        gap: 2px;
    }
    
    .btn-group .btn {
        min-width: 28px;
        padding: 4px 6px;
        font-size: 12px;
    }
    
    .btn-group .btn i {
        font-size: 21px;
    }
    
    /* 관리 컬럼 최소 너비 설정 */
    #consultationsTable td:last-child {
        min-width: 100px !important;
        white-space: nowrap;
    }
}




/* 매우 작은 화면 */
@media (max-width: 480px) {
    .btn-group .btn {
        min-width: 26px;
        padding: 3px 5px;
        font-size: 11px;
    }
    
    .btn-group .btn i {
        font-size: 11px;
    }
}












/* 상담 폼 모달 */
#inquiryModal .modal-content {
    max-width: 600px;
    width: 95%;
    padding: 0;
    background: transparent;
    box-shadow: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#inquiryModal .modal-body {
    padding: 0;
    max-height: none;
    overflow: visible;
}

#inquiryModal .inquiry-section {
    margin: 0;
    border-radius: 10px;
}

#inquiryModal .modal-close-x {
    position: absolute;
    top: -40px;  /* 15px에서 -15px로 변경 (위로 올림) */
    right: 0px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,1);
    border: none;
    border-radius: 50%;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
#inquiryModal .modal-close-x:hover {
    background:rgba(255,255,255,0.7);
}






/* 새로 추가할 메인 전용 스타일 */

.main-submit-btn {
    position: relative;
    width: 100%;
    padding: 18px; 
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: #fff !important;
    border: none;
    border-radius: 8px; 
    font-size: 18px; 
    font-weight: bold; 
    cursor: pointer;
    overflow: hidden; 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 1;
    /* 버튼 자체에도 은은한 광택 부여 */
    box-shadow: 0 0 15px rgba(66, 133, 244, 0.2);
}

/* 1층:  혜성 광원 */
.main-submit-btn::before {
    content: '';
    position: absolute;
    top: -150%; left: -150%; width: 400%; height: 400%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        /* 1. 파랑 (35%) - 시작과 끝을 흐릿하게 처리 */
        rgba(26, 223, 253, 0) 5%,
        rgba(26, 223, 253, 0) 10%, 
        rgba(26, 223, 253, 1) 30%, 
        
        /* 2. 빨강 (20%) - 파랑과 부드럽게 겹침 */
        #EA4335 35%,
        #EA4335 45%, 
        
        /* 3. 노랑 (20%) */
        #FBBC05 50%,
        #FBBC05 65%, 
        
        /* 4. 초록 (25%) - 꼬리를 길게 빼면서 투명하게 소멸 */
        #34A853 70%,
        #34A853 90%, 
        rgba(52, 168, 83, 0) 95%,
        transparent 100%
    );
    /*  느낌의 핵심: 블러를 높여서 선이 아닌 '빛의 띠'처럼 만듦 */
    filter: blur(8px); 
    animation: rainbow-rotate 4s linear infinite; /* 속도를 조금 늦춰서 우아하게 */
    z-index: -2;
    opacity: 0.8; /* 너무 진하지 않게 조절 */
}

/* 2층: 버튼 몸통 (테두리를 더 미세하게 노출) */
.main-submit-btn::after {
    content: '';
    position: absolute;
    inset: 2.1px; /* 테두리를 더 가늘게(1px) 하면 더 스러워짐 */
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    border-radius: 7.5px;
    z-index: -1;
}

/* 박동하는 빛 효과 추가 (선택 사항) */
@keyframes rainbow-rotate {
    0% { transform: rotate(0deg); opacity: 0.6; }
    50% { opacity: 1; } /* 회전하면서 빛이 밝아졌다가 */
    100% { transform: rotate(360deg); opacity: 0.6; } /* 다시 어두워짐 */
}

.main-submit-btn svg {
    width: 24px;
    height: 24px;
    fill: white !important;
}
/* 새로 추가할 메인 전용 스타일 */








/* 로고 슬라이더 */
        .logo-slider {
            background: #fff;
            padding: 0 0 10px;
            overflow: hidden;
            border-top: none;
            border-bottom: 1px solid #eee;
        }
        
        .slide-track {
            display: flex;
            animation: scroll 30s linear infinite;
            width: calc(200px * 24);
        }
        
        .slide-track img {
            width: 130px;
            height: 40px;
            object-fit: contain;
            margin: 0 25px;
            opacity: 0.7;
            transition: opacity 0.3s;
        }
        
        .slide-track img:hover {
            opacity: 1;
        }
        
        @keyframes scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(calc(-200px * 12));
            }
        }



        /* Preserved Contact Form Styles */
        .contact {
            background-color: var(--navy);
            padding: 80px 0;
            color: white;
        }

        .contact h2 {
            display: none;
        }

        .contact-form-wrapper {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 50px;
            max-width: 600px;
            margin: 0 auto;
        }

        .contact-header-custom {
            text-align: center;
            margin-bottom: 40px;
        }

        .contact-header-custom h3 {
            font-size: 1.5rem;
            color: var(--gold);
            margin-bottom: 10px;
        }

        .contact-header-custom p {
            font-size: 1.2rem;
            color: #ddd;
        }

        .contact-form-inner {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 30px;
        }

        .contact-info-top {
            text-align: center;
            margin-bottom: 20px;
        }

        .contact-info-text {
            font-size: 1.2rem;
            margin-bottom: 10px;
        }

        .contact-fields-wrapper {
            width: 100%;
            max-width: 600px;
        }

        .contact-input {
            height: 50px;
            border-radius: 5px;
            border: none;
            margin-bottom: 10px;
            font-size: 0.9rem;
            padding: 0 15px;
            width: 100%;
        }

        .phone-input-group {
            display: flex;
            gap: 10px;
            width: 100%;
        }

        .phone-input-group .contact-input {
            flex: 1;
        }

        .phone-dash {
            line-height: 50px;
            color: white;
        }

        .consult-button {
            /*background: linear-gradient(45deg, var(--gold), var(--gold-light));*/
            color: var(--navy);
            width: 100%;
            height: 60px;
            font-size: 1.3rem;
            font-weight: bold;
            border-radius: 10px;
            margin-top: 20px;
            border: none;
            cursor: pointer;
            transition: all 0.3s;
        }

        .consult-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(197, 160, 89, 0.4);
        }
        
         /* 폼 위 문장 */
        .responsive-text {
            color: #1e3a8a;
            text-align: center;              /* 가운데 정렬 */
            padding-bottom: 15px;            /* 아래 패딩 15px */
            font-size: clamp(1.1rem, 2.5vw, 1.4rem); /* 반응형 텍스트 크기 */
            line-height: 1.4;
            font-weight: bold;               /* 굵게 */
          }
          
        .service {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 00px;
        }







/* 장기렌트 통합 섹션 */
.rent-info-section {
    background: #f8f9fa; max-width: 800px; margin: 40px auto 0; padding: 0 20px;
}

.rent-tab-container {
    display: flex; background: #f0f0f0; padding: 5px; border-radius: 25px; margin-bottom: 17px; gap: 6px;
}

.rent-info-btn {
    flex: 1; padding: 14px; border: none; background: none; font-size: 17px; font-weight: 700; color: #777; border-radius: 30px; transition: 0.3s;
}

.rent-info-btn.is-active { background: #ffffff; color: #007bff; box-shadow: 0 4px 10px rgba(0,0,0,0.08); }

.rent-tab-panel { display: none; width: 100%; }
.rent-tab-panel.is-active { display: block; animation: rentFadeIn 0.4s; }

.rent-benefit-list li {
    background: #f0f0f0; padding: 5px 20px; border-radius: 10px; margin-bottom: 8px; border: 1px solid #eee;
}


/* 추가/수정할 위치 */
.rent-benefit-list li p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5; /* 이 숫자를 작게 조절하면 줄간격이 줄어듭니다 (기본값은 보통 1.5~1.6) */
    color: #333;
    word-break: keep-all;
    padding-top: 1.5px; /* 제목(strong)과의 간격을 미세하게 조정할 때 사용 */
}


.rent-benefit-list li strong { display: block; font-size: 16px; font-weight: 700; color: #007bff; margin-bottom: 5px; }


/* FAQ 아코디언 */
.rent-faq-header {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 15px; background: #fff; border: 1px solid #eee; border-radius: 10px;
    margin-bottom: 8px; font-size: 16px; font-weight: 600;
}

.rent-accordion-item.is-open .rent-faq-header {
    border-color: #007bff; border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: 0;
}

.rent-faq-body {
    max-height: 0; overflow: hidden; transition: max-height 0.4s; background: #e9f4fb;
 border-radius: 0 0 10px 10px; margin-top: -1px;
}

.rent-accordion-item.is-open .rent-faq-body { padding: 4px 20px; border: 1px solid #007bff; border-top: none; margin-bottom: 15px; }








/* =========================================
   8. Sticky Bottom Nav (하단 고정 바)
   ========================================= */
/* 하단 네비게이션: 타원형 & 투명 스타일 */
.sticky-bottom-nav {
    position: fixed;
    bottom: 6px; 
    left: 50%;
    transform: translateX(-50%);
    
    width: 88%; 
    max-width: 570px; 
    
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 40px; 

    display: flex;
    justify-content: space-around;
    align-items: center; /* 아이템 세로 중앙 정렬 */
    padding: 5px 10px; /* 내부 여백 살짝 최적화 */
    z-index: 9999;

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    /* 전체 높이가 너무 커지지 않도록 명시적으로 제한 (필요시 조절) */
    height: 53px;
}

/* 2. 네비게이션 아이템 공통 (a 태그와 button 태그 스타일 통합) */
.nav-item {
    text-decoration: none;
    color: inherit;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1; /* 아이템별 균등 배분 */
    
    /* [중요] 모바일 터치 시 파란색 하이라이트 제거 */
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

/* 3. 아이콘 스타일 (SVG 및 FontAwesome 통합) */
.nav-item svg, 
.nav-item i {
    width: 26px !important;
    height: 26px !important;
    font-size: 20px !important; /* i 태그용 크기 */
    margin-bottom: 2px !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.1s ease; /* 클릭 효과용 애니메이션 */
}

/* 4. 텍스트 폰트 설정 (기존 요청대로 가독성 위주) */
.nav-item span {
    font-size: 0.75rem !important;
    font-weight: 550;
    line-height: 1;
    display: block;
    text-align: center;
    letter-spacing: -0.02em;
}

/* 5. 빠른 견적/특가 전용 색상 */
.ai-nav span {
    color: #e57373; 
}

/* 6. 클릭 시 반응 효과 (파란 테두리 대신 주는 세련된 피드백) */
.nav-item:active svg, 
.nav-item:active i {
    transform: scale(0.9); /* 누를 때 아이콘이 살짝 작아짐 */
}

.nav-item:focus {
    outline: none;
}


/* 번개 아이콘(ai-nav) 전용 크기 조절 */
.nav-item.ai-nav svg {
    width: 30px !important;  /* 기존 24px에서 30px로 확대 */
    height: 30px !important;
    margin-bottom: 0px !important; /* 커진 만큼 글자와 겹치지 않게 간격 미세 조정 */
    transform: translateY(-2px); /* 약간 위로 올려서 강조 효과 */
}


.review-btn i {
    margin-bottom: 0 !important; /* 리뷰만 특별 관리 */
}


/* 리뷰 아이콘만 콕 집어서 아래로 내리기 */
.nav-item i.fa-comments {
    /* 1. 상단 마진을 줘서 아래로 밀어냅니다 (기존 3px -> 6px 정도로 확대) */
    margin-top: 3px !important; 

    /* 2. 아까 잡았던 하단 간격은 그대로 유지하거나 더 줄입니다 */
    margin-bottom: -1px !important; 

    /* 아이콘 크기는 동일하게 유지 */
    font-size: 20px !important;
}



/*********   FLOW  *************/


/* --- PC 기준 스타일 --- */
.circle-process-section {
    padding: 40px 10px;
    display: flex;
    justify-content: center;
    background-color: #f8f9fa;
    overflow: hidden;
}

.circle-process-container {
    position: relative;
    width: 390px;
    height: 390px;
    display: flex;
    justify-content: center;
    align-items: center;
}



/* 1. 메인 컨테이너: 중앙 로고 박스 */
.center-logo-box {
    position: absolute;
    width: 135px;
    height: 135px;
    background: #fff;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    cursor: pointer;

    /* 기본 위치: 살짝 위로 띄움 */
    transform: translateY(-6px);

    /* 애니메이션: 3초 간격으로 은은한 흰색 광채 (움직임 없음) */
    animation: pulse-white-only 3s infinite ease-in-out;

    /* 마우스 호버 시 부드러운 변화 */
    transition: all 0.3s ease;

    /* 기본 입체감 그림자 */
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28), 0 4px 6px rgba(0, 0, 0, 0.18);
}

/* 2. 내부 이미지 설정 */
.center-logo-box img {
    width: 100%;
    height: auto;
    display: block;
}

/* 3. 은은한 하이라이트 (원 상단에 빛 반사 효과) */
.center-logo-box::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

/* 4. 마우스 올렸을 때 (Hover) 반응 */
.center-logo-box:hover {
    /* 조금 더 위로 떠오르고 살짝 커짐 */
    transform: translateY(-12px) scale(1.05);
    /* 그림자도 더 깊게 변화 */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* 5. 광채 애니메이션 (기존보다 30% 축소된 14px 버전) */
@keyframes pulse-white-only {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7), 0 14px 30px rgba(0, 0, 0, 0.28);
    }
    70% {
        /* 빛이 14px만큼 퍼짐 */
        box-shadow: 0 0 0 14px rgba(255, 255, 255, 0), 0 14px 30px rgba(0, 0, 0, 0.28);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 14px 30px rgba(0, 0, 0, 0.28);
    }
}





.step-piece {
    position: absolute;
    width: 190px;
    height: 190px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    transition: transform 0.3s ease;
}

.step-inner i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

/* 요청하신 폰트 크기 18px 및 굵기 800 반영 */
.step-txt {
    font-size: 18px; 
    line-height: 1.4;
    font-weight: 790; 
    word-break: keep-all;
    white-space: nowrap; /* 텍스트 줄바꿈 방지하여 위치 유지 */
}

/* 조각 위치 및 패딩 (요청하신 기준) */
.step-blue { background-color: #3f6eb4; top: 0; left: 0; border-radius: 190px 0 0 0; padding: 15px 0 0 12px; }
.step-green { background-color: #8cc63f; top: 0; right: 0; border-radius: 0 190px 0 0; padding: 15px 0 0 1px; }
.step-orange { background-color: #f7941d; bottom: 0; left: 0; border-radius: 0 0 0 190px; padding: 0 0 15px 40px; }
.step-red { background-color: #ed1c24; bottom: 0; right: 0; border-radius: 0 0 190px 0; padding: 0 15px 20px 0; }

.step-piece:hover { transform: scale(1.03); z-index: 5; }

/* --- 모바일 대응 (좌우 겹침 해결) --- */
@media (max-width: 430px) {
    .circle-process-container {
        width: 320px; /* 컨테이너 축소 */
        height: 320px;
    }

    .step-piece {
        width: 155px; /* 조각 크기 축소하여 간격 확보 */
        height: 155px;
    }

    /* 모바일 비율에 맞춰 곡률 및 패딩 조정 */
    .step-blue { border-radius: 155px 0 0 0; padding: 10px 0 0 5px; }
    .step-green { border-radius: 0 155px 0 0; padding: 10px 5px 0 0; }
    .step-orange { border-radius: 0 0 0 155px; padding: 0 0 10px 10px; }
    .step-red { border-radius: 0 0 155px 0; padding: 0 2px 10px 0; }

    .center-logo-box {
        width: 110px; /* 로고 박스 축소 */
        height: 110px;
    }

    /* 모바일 가독성을 위해 텍스트 크기 소폭 조정 (겹침 방지 핵심) */
    .step-txt {
        font-size: 16px; /* 모바일에서는 18px이 너무 커서 겹치므로 15px 권장 */
    }
    .step-inner i {
        font-size: 24px;
    }
}

/* 아주 작은 기기 대응 */
@media (max-width: 340px) {
    .circle-process-container {
        transform: scale(0.9);
    }
}


/*********   FLOW  *************/













/* =========================================
     Footer (푸터)
   ========================================= */

.footer {
    background: #2c3e50 !important;    /* 바탕화면:  */
    color: #ecf0f1 !important;         /* 글씨 */
    padding: 20px 10px 0 10px !important; /* 위쪽 여백은 유지, 아래는 copyright에서 조절 */
    text-align: center !important;     /* 모든 텍스트 가운데 정렬 */
    font-size: 14.5px;
    line-height: 1.6;
    border-top: 0.3px solid #CACBCDFF;
}

.footer p { 
    margin-bottom: 8px !important; 
    white-space: nowrap; 
}

/* 푸터 내 링크 설정 */
.footer a {
    color: #2086C9FF !important;         /* 링크: 하늘색 포인트 */
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #5dade2 !important;         /* 마우스 올리면 더 밝은 하늘색 */
}

/* 카피라이트 영역: 하단 메뉴 가려짐 방지 포함 */
.copyright { 
    margin-top: 20px; 
    padding-top: 10px; 
    /* ★ 하단 고정 바 높이만큼 여백을 주어 글자가 가려지지 않게 함 */
    padding-bottom: 100px !important; 
    border-top: 0.5px solid #CACBCDFF; 
    color: #ecf0f1;                    
    font-size: 14.2px;
    text-align: center !important;     /* 가운데 정렬 */
}

/* 모바일 반응형 (768px 이하) */
@media (max-width: 768px) {
    .footer p { 
        white-space: normal;           /* 모바일에서는 자연스럽게 줄바꿈 */
        word-break: keep-all; 
    }
    .copyright {
        padding-bottom: 100px !important; /* 모바일 하단바 높이에 맞춘 여백 */
    }
}





/* =========================================
   푸터 스타일 통합 (어두운 배경 + 가운데 정렬)
   ========================================= */
  
/***********  구버전  **************
@supports (not (display: none)) {

.footer {
    background: #2c3e50 !important;    
    color: #ecf0f1 !important;        
    padding: 30px 20px 0 20px !important; 
    text-align: center !important;    
    font-size: 13px;
    line-height: 1.6;
    border-top: 1px solid #34495e;
}

.footer p { 
    margin-bottom: 8px !important; 
    white-space: nowrap; 
}


.footer a { 
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #5dade2 !important;         
}


.copyright { 
    margin-top: 15px; 
    padding-top: 10px; 
    
    padding-bottom: 90px !important; 
    border-top: 1px solid #34495e; 
    color: #95a5a6;                    
    font-size: 12px;
    text-align: center !important;    
}

@media (max-width: 768px) {
    .footer p { 
        white-space: normal;           
        word-break: keep-all; 
    }
    .copyright {
        padding-bottom: 100px !important; /
    }
}

*/



/* 푸터 CSS 시작 (삭제 금지) */
        /* 푸터 */
        /*
        .footer {
            background: #2c3e50;
            color: #ecf0f1;
            padding: 7px 5px;
            text-align: center;
            font-size: 13px;
            line-height: 1.5;
        }
        
        .footer p {
            margin-bottom: 7px;
        }
        
        .footer a {
            color: #3498db;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer a:hover {
            color: #5dade2;
        }
        
        .copyright {
            margin-top: 5px;
            padding-top: 10px;
            border-top: 1px solid #34495e;
            color: #95a5a6;
            text-align: center;
        }
        */















/* 페이지네이션 버튼 */
.pagination-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-btn.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.pagination-btn:hover:not(.active) {
    background: #f8f9fa;
}

/* 별점 스타일 */
.star-rating .star {
    cursor: pointer;
    color: #ddd;
    transition: color 0.2s;
}

.star-rating .star:hover {
    color: #ffc107;
}







/* ========================================
   리뷰 작성 모달 스타일 (PC + 모바일 통합)
   ======================================== */
#reviewWriteModal {
    z-index: 10000 !important;
}

#reviewWriteModal .modal-content {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 450px;
    max-width: 90%;
    max-height: 90vh; /* 85vh에서 90vh로 증가 */
    overflow-y: auto;
    border-radius: 12px;
    margin: 0 !important;
    z-index: 10001 !important;
}

#reviewWriteModal .modal-body {
    padding: 20px; /* 15px에서 20px로 증가 */
    min-height: 400px; /* 최소 높이 추가 */
}

/* 모바일 반응형 */
@media (max-width: 600px) {
    #reviewWriteModal .modal-content {
        width: 92%;
        max-height: 85vh; /* 모바일에서는 85vh 유지 */
        top: 50% !important;
    }
    
    #reviewWriteModal .modal-body {
        padding: 15px; /* 모바일에서는 15px 유지 */
        min-height: 350px; /* 모바일 최소 높이 */
    }
}

    

.image-upload-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.image-slot {
    aspect-ratio: 1;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    background: #f9f9f9;
    overflow: hidden;
}
.image-slot.has-image {
    border: 2px solid #4CAF50;
}
.image-slot .add-icon {
    font-size: 24px;
    color: #aaa;
}
.image-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-slot .remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,0,0,0.8);
    color: #fff;
    border: none;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}
    
    
    
    
/* 리뷰 폼 컴팩트 레이아웃 */
.review-form-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}
.review-form-row label {
    width: 60px;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}
.review-form-row input[type="text"],
.review-form-row textarea {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}
.review-form-row textarea {
    resize: none;
}

/* 별점 인라인 */
.star-rating-inline {
    display: flex;
    gap: 5px;
}
.star-rating-inline .star {
    font-size: 24px;
    color: #ffc107;
    cursor: pointer;
}

/* 이미지 업로드 그리드 */
.image-upload-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    flex: 1;
}
.image-slot {
    aspect-ratio: 1;
    border: 2px dashed #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    background: #f9f9f9;
    overflow: hidden;
}
.image-slot.has-image {
    border: 2px solid #4CAF50;
}
.image-slot .add-icon {
    font-size: 20px;
    color: #bbb;
}
.image-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-slot .remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255,0,0,0.8);
    color: #fff;
    border: none;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
}   

/* 리뷰 모달 중앙 정렬 */
#reviewWriteModal {
    display: none;
}
#reviewWriteModal.show {
    display: flex !important;
}


/* 리뷰 작성 아이콘 강제 초기화 */
.review-write.reset-state {
    background-color: #fff !important;
    color: #dc2626 !important;
    transform: none !important;
    transition: none !important;
}

.review-write.reset-state::after {
    background-color: #dc2626 !important;
}