@charset "utf-8";

/* [1] 큐브 위치 및 레이어 조정 */
.cube-adjust { margin-top: 30px; position: relative; z-index: 1; }
.about-header_content { position: relative; z-index: 10; }
@media (max-width: 767px) { .cube-adjust { margin-top: 0 !important; } }

/* [2] 빠른 상담 접수 */
.section-quick-inquiry { position: relative; z-index: 100; margin-top: 50px; margin-bottom: 50px; }
.quick-inquiry-box { background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); padding: 30px 40px; border: 1px solid #eee; }
.quick-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f1f1f1; padding-bottom: 20px; margin-bottom: 20px; }
.quick-head h3 { font-size: 20px; font-weight: 700; color: #333; margin: 0; }
.quick-head .highlight { color: #3b82f6; }
.quick-head p { font-size: 14px; color: #666; margin: 0; }
.quick-form-layout { display: flex; flex-direction: column; gap: 15px; }
.quick-inputs { display: grid; grid-template-columns: 1fr 2fr 1fr 1fr; gap: 10px; }
.quick-input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-size: 14px; }
.quick-agree { font-size: 13px; color: #666; text-align: right; }
.btn-quick-submit { background: #ef4444; color: white; font-weight: bold; border: none; padding: 15px; border-radius: 5px; cursor: pointer; font-size: 16px; transition: 0.3s; }
.btn-quick-submit:hover { background: #dc2626; }
@media (max-width: 768px) {
    .section-quick-inquiry { margin-top: 20px; }
    .quick-head { flex-direction: column; text-align: center; gap: 10px; }
    .quick-inputs { grid-template-columns: 1fr; }
}

/* [3] 브랜드 슬라이더 */
.brands_list-wrapper { overflow: hidden; width: 100%; margin-bottom: 30px; }
.banner-row { display: flex; width: 100%; overflow: hidden; margin-bottom: 15px; }
.banner-track { display: flex; gap: 30px; width: max-content; }
.brands_item-card img { height: 50px; width: auto; opacity: 0.8; filter: grayscale(100%); transition: 0.3s; }
.brands_item-card img:hover { filter: grayscale(0%); opacity: 1; }
.scroll-left .banner-track { animation: scroll-left 40s linear infinite; }
.scroll-right .banner-track { animation: scroll-right 40s linear infinite; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scroll-right { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* [4] 리뷰 및 차량 리스트 공통 */
.section-reviews { background-color: #f9fafb; padding-top: 60px; padding-bottom: 60px; position: relative; }
.section-cars { background-color: #fff; padding-top: 60px; padding-bottom: 60px; position: relative; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; border-bottom: 2px solid #333; padding-bottom: 10px; }
.section-head h2 { font-size: 24px; font-weight: bold; color: #111; margin: 0; }
.section-head .sub-text { font-size: 14px; color: #3b82f6; margin-left: 10px; font-weight: normal; }
.section-head.center { justify-content: center; flex-direction: column; align-items: center; border-bottom: none; }
.more-link { font-size: 14px; color: #666; text-decoration: none; }

/* Swiper 컨테이너 조정 */
.swiper { width: 100%; padding-bottom: 20px !important; overflow: visible !important; }
.swiper-slide { height: auto; transition: transform 0.3s; }
.swiper-slide:hover { transform: translateY(-5px); }

/* ★ 수정된 화살표 디자인 (배경 없음, 심플한 꺽쇠) ★ */
.swiper-button-next, .swiper-button-prev {
    background: none !important; /* 배경 제거 */
    border: none !important;
    color: #000 !important; /* 화살표 색상 (잘 보이게 검정, 필요시 #fff) */
    width: 40px; height: 40px;
    margin-top: -50px; /* 위치 미세 조정 */
}
/* 화살표 두께 및 크기 조정 */
.swiper-button-next:after, .swiper-button-prev:after { 
    font-size: 30px !important; 
    font-weight: 300; /* 얇고 세련되게 */
}

/* ★ 가격대별 탭 스타일 (스샷2 반영) ★ */
.price-tabs-wrapper {
    display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap;
}
.price-tab-btn {
    padding: 10px 25px;
    border: 1px solid #ddd;
    border-radius: 30px; /* 둥근 버튼 */
    background: #fff;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.price-tab-btn:hover { border-color: #333; color: #333; }
.price-tab-btn.active {
    background: #222; /* 선택된 탭 검정 배경 */
    color: #fff;
    border-color: #222;
}


/* 리뷰 카드 */
.review-card { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.review-img { 
    width: 100%;
    height: 220px; /* 높이 고정 (원하는 크기로 조절 가능) */
    background-size: cover; /* 이미지가 잘리더라도 꽉 채움 */
    background-position: center; 
    position: relative; 
    background-color: #f0f0f0; /* 이미지가 없을 때 회색 배경 */
}
.review-img .badge { position: absolute; top: 15px; left: 15px; background: #3b82f6; color: white; font-size: 11px; padding: 5px 10px; border-radius: 20px; font-weight: bold; }
.review-info { padding: 20px; }
.review-info h4 { font-size: 16px; font-weight: bold; margin-bottom: 8px; color: #333; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.review-info p { font-size: 13px; color: #666; line-height: 1.5; height: 40px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* 차량 카드 */
.car-card { border: 1px solid #eee; border-radius: 15px; overflow: hidden; text-align: center; position: relative; background: #fff;}
/* [수정] 차량 이미지 영역 - 크기 고정 및 비율 유지 */
.car-img-area { 
    width: 100%;
    height: 250px; /* 높이 고정 (원하는대로 조절 가능) */
    background: #f8f9fa; 
    position: relative; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.car-img-area img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; /* 비율 유지하며 틀 안에 맞춤 (잘림 없음) */
    display: block; 
    transition: transform 0.3s;
}
.car-card:hover .car-img-area img { transform: scale(1.05); }

.car-info { padding: 25px 20px; background: #fff; }
.car-info h3 { font-size: 22px; font-weight: bold; color: #222; margin-bottom: 5px; }
.car-info h3 span { font-size: 14px; color: #888; font-weight: normal; margin-left: 5px; }
.car-spec { font-size: 13px; color: #666; margin-bottom: 20px; }
.price-box { margin-bottom: 20px; color: #3b82f6; }
.price-box .month { font-size: 14px; color: #333; margin-right: 5px; }
.price-box .amount { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.price-box .won { font-size: 16px; font-weight: bold; }
.btn-car-inquiry { width: 100%; padding: 14px; background: #3b82f6; color: #fff; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; font-size: 16px; transition: 0.2s; }
.btn-car-inquiry:hover { background: #2563eb; }

/* [5] Footer 모션 그래픽 */
.anim-brand {
    font-size: 15vw;
    font-weight: 900;
    color: #000;
    display: flex;
    justify-content: center;
    overflow: hidden;
    line-height: 1;
    margin-top: 50px;
    letter-spacing: -5px;
}
.anim-brand span { display: inline-block; }
@media (max-width: 768px) { .anim-brand { font-size: 18vw; } }